
 /* New styles for support tab layout and helper list */
.support-layout {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--pad);
}
.settings-layout {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--pad);
}

.settings-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.settings-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: var(--pad);
  align-items: end;
}

@media (max-width: 900px) {
  .settings-row {
    grid-template-columns: 1fr;
  }

  .grid:not(.pantry-layout) .col-5,
  .grid:not(.pantry-layout) .col-7 {
    grid-column: span 12;
  }
}

.settings-action {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
}

.muted.tiny {
  font-size: 11px;
  color: rgba(var(--muted), 0.8);
}

.preferences-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.diagnostic-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 14px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.diagnostic-list .meta-value {
  font-size: 15px;
}


.debug-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(var(--accent), 0.7);
  background: linear-gradient(130deg, rgba(var(--accent), 0.25), rgba(255, 255, 255, 0.05));
  color: rgb(var(--text));
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border 0.15s ease;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

.debug-toggle-btn .debug-toggle-icon {
  display: inline-flex;
  gap: 4px;
}

.debug-toggle-btn .dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(var(--text), 0.75);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.debug-toggle-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45);
}

.debug-toggle-btn.is-active {
  border-color: rgba(var(--accent), 0.95);
  background: linear-gradient(130deg, rgba(var(--accent), 0.5), rgba(0, 0, 0, 0.35));
}

.debug-toggle-btn.is-active .dot:nth-child(2) {
  transform: translateY(-3px);
}

.debug-toggle-btn.is-active .dot:nth-child(3) {
  transform: translateY(-6px);
}

.support-layout .card {
  height: 100%;
}

.support-info {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.support-hints {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 0;
  margin: 0;
}

.support-hints li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.support-hints li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.support-hints strong {
  font-size: 14px;
}

.support-hints span {
  color: rgb(var(--muted));
  font-size: 13px;
}

.support-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.meta-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: rgba(255, 255, 255, 0.55);
}

.meta-value {
  font-size: 16px;
  font-weight: 600;
}

.field.two-up,
.field.two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--pad);
}

.field.two-up .field,
.field.two-col .field {
  margin-top: 0;
}

@media (max-width: 1024px) {
  .support-layout {
    grid-template-columns: 1fr;
  }
}
:root {
  --bg1: 7, 18, 41;
  --bg2: 16, 42, 82;
  --accent: 91, 141, 239;
  --text: 240, 246, 255;
  --muted: 170, 190, 215;
  --ok: 40, 199, 111;
  --warn: 255, 184, 0;
  --danger: 255, 90, 90;
  --pad: 18px;
  --tap-size: 56px;
  --nav-height: 92px;
}

:root[data-theme="light"] {
  --bg1: 238, 243, 247;
  --bg2: 255, 255, 255;
  --text: 18, 26, 33;
  --muted: 105, 120, 135;
  --accent: 84, 133, 228;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  background: radial-gradient(circle at top left,
      rgba(6, 15, 40, 0.9),
      rgba(2, 6, 16, 1)),
    linear-gradient(160deg,
      rgba(0, 5, 20, 1),
      rgba(4, 9, 30, 1));
  color: rgb(var(--text));
  font: 16px system-ui, -apple-system, Segoe UI, sans-serif;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-tap-highlight-color: transparent;
}

/* Custom Scrollbar */
*::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

*::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
}

*::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, 
    rgba(var(--accent), 0.6), 
    rgba(var(--accent), 0.3));
  border-radius: 10px;
  border: 2px solid rgba(0, 0, 0, 0.3);
}

*::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, 
    rgba(var(--accent), 0.8), 
    rgba(var(--accent), 0.5));
}

*::-webkit-scrollbar-thumb:active {
  background: rgba(var(--accent), 0.9);
}

/* Firefox scrollbar */
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(var(--accent), 0.5) rgba(0, 0, 0, 0.3);
}

.wrap {
  min-height: 100dvh;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

/* HEADER */
.header {
  position: sticky;
  top: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 18px;
  background: linear-gradient(
      120deg,
      rgba(0, 200, 200, 0.08),
      rgba(0, 0, 0, 0.4)
  );
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
  z-index: 30;
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-icon {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 30% 0,
      rgba(var(--accent), 0.7),
      rgba(0, 0, 0, 0.8));
}

.brand-icon svg {
  width: 18px;
  height: 18px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.brand-title {
  font-weight: 700;
  font-size: 15px;
}

.version-chip {
  font-size: 11px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid rgba(var(--accent), 0.7);
  color: rgba(255, 255, 255, 0.85);
  background: rgba(var(--accent), 0.2);
}


.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--pad);
}

.col-4 { grid-column: span 4; }
.col-5 { grid-column: span 5; }
.col-6 { grid-column: span 6; }
.col-7 { grid-column: span 7; }
.col-8 { grid-column: span 8; }
.col-12 { grid-column: span 12; }

@media (max-width: 1024px) {
  .col-6 {
    grid-column: span 12;
  }
  .grid:not(.pantry-layout) .col-4,
  .grid:not(.pantry-layout) .col-8 {
    grid-column: span 12;
  }
}

/* Cards */
.card {
  background: linear-gradient(155deg,
      rgba(5, 12, 28, 0.95),
      rgba(1, 4, 12, 0.92));
  border-radius: 16px;
  padding: 18px 18px 16px;
  border: 1px solid rgba(64, 92, 150, 0.35);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(18px);
}

.card .btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 14px;
}

.card-header h2 {
  font-size: 16px;
  font-weight: 700;
}

.card-header .muted {
  font-size: 12px;
}

/* Common elements */
.muted {
  color: rgb(var(--muted));
}

.muted.small {
  font-size: 11px;
}

.row {
  display: flex;
  align-items: center;
}

.row.spaced {
  justify-content: space-between;
  margin-top: 8px;
  margin-bottom: 12px;
}

.row.right {
  justify-content: flex-end;
}

.row.equal > * {
  flex: 1;
}

.row.align-center {
  align-items: center;
  gap: 8px;
}

.row.gap-top {
  margin-top: 16px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 8px;
  border-radius: 14px;
  border: 1px solid rgba(70, 90, 140, 0.5);
  background: rgba(18, 28, 58, 0.85);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: transform 0.08s ease, box-shadow 0.08s ease, background 0.12s ease;
  min-height: 44px;  /* Enforce minimum touch target */
  min-width: 44px;   /* Enforce minimum touch target */
}

.btn:hover {
  box-shadow: 0 0 18px rgba(var(--accent), 0.35);
}

.btn:active {
  transform: scale(0.96);  /* Add touch feedback */
  background: rgba(0, 0, 0, 0.1);  /* Add touch feedback */
}

.btn.primary {
  background: linear-gradient(
      135deg,
      rgba(var(--accent), 0.85),
      rgba(30, 54, 120, 0.95)
  );
}

.btn.success {
  background: linear-gradient(
      135deg,
      rgba(var(--ok), 0.85),
      rgba(8, 60, 35, 0.95)
  );
}

.btn.warn {
  background: linear-gradient(135deg, rgba(var(--warn), 0.92), rgba(120, 70, 6, 0.95));
  color: #fff;
}

.btn.icon {
  width: var(--tap-size);
  padding: 0;
}

/* Fields */
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}

.field label,
.field-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: rgb(var(--muted));
  font-weight: 600;
}

.input,
textarea {
  min-height: var(--tap-size);
  border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  padding: 10px 14px;
  font-size: 14px;
}

textarea {
  resize: vertical;
  min-height: 110px;
}

/* Select */
.select-wrap {
  border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  overflow: visible;
  position: relative;
}

/* Dropdown arrow indicator */
.select-wrap::after {
  content: "▼";
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  font-size: 10px;
  color: rgb(var(--text));
  opacity: 0.6;
}

select {
  width: 100%;
  border: none;
  background: transparent;
  color: rgb(var(--text));
  font-size: 14px;
  padding: 10px 14px;
  padding-right: 30px;
  -webkit-appearance: menulist;
  -moz-appearance: menulist;
  appearance: menulist;
  cursor: pointer;
}

/* For Cisco/embedded browsers - ensure dropdown is visible */
select:focus {
  outline: 2px solid rgb(var(--accent));
  outline-offset: -2px;
}

select option {
  color: #0f1a2c;
  background: #fefefe;
}

html[data-theme="dark"] select option {
  color: #f4f6ff;
  background: #050b18;
}

/* Pills */
.pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  font-size: 13px;
 font-weight: 500;
 cursor: pointer;
  color: #eeeaea;
  min-height: 36px;  /* Enforce minimum touch target */
  min-width: 50px;   /* Enforce minimum touch target */
}

.pill.active {
  background: rgba(var(--accent), 0.65);
  border-color: rgba(var(--accent), 0.9);
}

/* Toggles */
.toggle {
  position: relative;
  width: 60px;
  height: 32px;
  border-radius: 32px;
  background: rgba(var(--danger), 0.2);
  border: 1px solid rgba(var(--danger), 0.5);
  cursor: pointer;
}

.toggle::before {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 18px;
  background: rgba(var(--danger), 0.15);
  transition: background 0.12s ease;
}

.toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 4px;
  width: 26px;
  height: 26px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: #fff;
  transition: left 0.12s ease;
}

.toggle.active {
  background: rgba(var(--ok), 0.2);
  border-color: rgba(var(--ok), 0.5);
}

.toggle.active::before {
  background: rgba(var(--ok), 0.18);
}

.toggle.active::after {
  left: 30px;
}

/* Sliders */
.slider {
  width: 100%;
  background: transparent;
}

.slider::-webkit-slider-runnable-track {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 26px;
  height: 26px;
  margin-top: -9px;
  border-radius: 50%;
  background: #fff;
  border: none;
  box-shadow: 0 0 12px rgba(var(--accent), 0.5);
}

/* Temp block */
.temp-block {
  margin-top: 12px;
  padding: 14px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(4, 8, 20, 0.9), rgba(10, 28, 48, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 25px rgba(0, 0, 0, 0.35);
}

.temp-label {
  font-size: 11px;
  text-align: center;
  color: rgb(var(--muted));
  margin-bottom: 8px;
}

.temp-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  flex-wrap: wrap;
}

.temp-value {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 140px;
  padding: 10px ;
  border-radius: 20px;
  background: radial-gradient(circle at top, rgba(var(--accent), 0.25), rgba(0, 0, 0, 0.2));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.45);
}

.temp-value-reading {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  font-weight: 700;
  font-size: 48px;
  color: rgba(var(--accent), 1);
}

.temp-unit {
  font-size: 20px;
  opacity: 0.8;
}

.temp-annotation {
  font-size: 12px;
  letter-spacing: 0.2px;
  color: rgba(var(--text), 0.7);
  text-transform: uppercase;
}

.temp-btn {
  width: 90px;
  min-height: 90px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
  color: rgb(var(--text));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
}

.temp-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}

.temp-btn-main {
  font-size: 32px;
}

.temp-btn-sub {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: rgba(var(--text), 0.65);
}

@media (max-width: 600px) {
  .temp-btn {
    width: 100px;
    min-height: 80px;
  }

  .temp-value {
    min-width: 100%;
  }
}

/* Pantry */
.pantry-layout {
  display: grid;
  grid-template-columns: 1fr minmax(300px, 400px);
  gap: var(--pad);
  align-items: start;
}

.pantry-card,
.cart-card {
  grid-column: auto;
}

.pantry-card {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.pantry-header {
  align-items: flex-end;
  gap: 12px;
}

.pantry-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px;
}

.pantry-title-row h1 {
  margin: 0;
}

.cart-card {
  max-width: 400px;
  justify-self: end;
  width: 100%;
}

.pantry-scroll {
  max-height: calc(100vh - 280px);
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 8px;
}

.pantry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

@media (max-width: 1280px) {
  .pantry-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .pantry-layout {
    grid-template-columns: 1fr;
  }
  .cart-card {
    max-width: 100%;
  }
  .pantry-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


.pantry-eyebrow {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  font-weight: 700;
  color: rgba(var(--accent), 0.9);
  margin-bottom: 6px;
}

.pantry-controls-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
}

.pantry-filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.filter-pill {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.14);
  color: rgb(var(--text));
  backdrop-filter: blur(10px);
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: border 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.filter-pill.active {
  background: linear-gradient(135deg, rgba(var(--accent), 0.75), rgba(var(--accent), 0.4));
  border-color: rgba(var(--accent), 0.95);
  box-shadow: 0 0 22px rgba(var(--accent), 0.55);
}

.pantry-controls-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.pantry-live-indicator {
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(var(--text), 0.7);
}

.pantry-live-indicator .ping {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgb(var(--ok));
  box-shadow: 0 0 12px rgba(var(--ok), 0.8);
}

.btn.ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.25);
  color: rgb(var(--text));
  min-height: 44px;
  padding: 0 18px;
  box-shadow: none;
}

.btn.ghost:disabled,
.btn.ghost.is-disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.pantry-item {
  position: relative;
  background: linear-gradient(140deg,
      rgba(3, 8, 20, 0.95),
      rgba(0, 2, 8, 0.92));
  border-radius: 20px;
  border: 1px solid rgba(51, 78, 135, 0.35);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 160px;
  overflow: visible;
}

.pantry-item::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  opacity: 0.4;
  background: radial-gradient(circle at 80% 0%, rgba(255, 255, 255, 0.08), transparent 55%);
}

.pantry-item > * {
  position: relative;
  z-index: 1;
}

.pantry-item--hot {
  background: linear-gradient(135deg, rgba(40, 6, 14, 0.95), rgba(12, 2, 6, 0.95));
}

.pantry-item--cold {
  background: linear-gradient(135deg, rgba(8, 20, 42, 0.96), rgba(2, 6, 18, 0.96));
}

.pantry-item--snack {
  background: linear-gradient(135deg, rgba(32, 12, 4, 0.96), rgba(10, 2, 0, 0.95));
}

.pantry-body {
  display: grid;
  grid-template-columns: minmax(150px, 0.9fr) 1fr;
  gap: 22px;
  align-items: stretch;
}

@media (max-width: 1100px) {
  .pantry-body {
    grid-template-columns: minmax(140px, 0.8fr) 1fr;
  }
}

@media (max-width: 900px) {
  .pantry-body {
    grid-template-columns: 1fr;
  }
}

.pantry-media {
  position: relative;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.2), transparent 60%),
    rgba(3, 8, 20, 0.55);
  padding: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  min-height: 150px;
}

.pantry-media::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: inherit;
  background: radial-gradient(circle at 20% 10%, rgba(255, 255, 255, 0.45), transparent 55%);
  opacity: 0.35;
  filter: blur(6px);
}

.pantry-icon {
  position: relative;
  width: min(140px, 90%);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.pantry-icon svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.55));
}

.pantry-letter {
  font-size: 48px;
  font-weight: 700;
  color: rgb(var(--text));
}

html[data-theme="light"] .pantry-media {
  background: radial-gradient(circle at 20% 10%, rgba(255, 255, 255, 0.9), transparent 55%),
    rgba(255, 255, 255, 0.7);
  border-color: rgba(0, 0, 0, 0.08);
}

.pantry-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 100%;
}

.pantry-name {
  font-size: 18px;
  font-weight: 700;
}

.pantry-name-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.pantry-size {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  min-width: 78px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.85);
  background: rgba(20, 30, 60, 0.5);
}

.pantry-size--ghost {
  visibility: hidden;
}

.pantry-chip {
  align-self: flex-start;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.pantry-chip--accent {
  background: rgba(var(--accent), 0.2);
  border-color: rgba(var(--accent), 0.5);
}

.pantry-chip--warn {
  background: rgba(var(--warn), 0.2);
  border-color: rgba(var(--warn), 0.5);
  color: #ffdc8f;
}

.pantry-chip--calm {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
}


.pantry-item-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.qty-control {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px;
  border-radius: 999px;
  border: 1px solid rgba(50, 70, 115, 0.45);
  background: rgba(8, 14, 30, 0.85);
}

.qty-control.has-qty {
  border-color: rgba(var(--accent), 0.8);
  background: rgba(var(--accent), 0.15);
  box-shadow: 0 0 20px rgba(var(--accent), 0.35);
}

.pantry-item-footer .qty-control {
  margin-left: auto;
}

.qty-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(120, 150, 220, 0.85);
  background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.2), rgba(10, 16, 38, 0.95));
  color: rgba(255, 255, 255, 0.98);
  font-size: 24px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.08s ease, border 0.12s ease, box-shadow 0.12s ease;
}

.qty-btn:active {
  transform: scale(0.94);
}

.qty-btn:hover {
  box-shadow: 0 0 16px rgba(var(--accent), 0.35);
}

.qty-btn.is-disabled,
.qty-btn:disabled {
  opacity: 0.35;
  border-color: rgba(255, 255, 255, 0.1);
  cursor: not-allowed;
}

.qty-num {
  min-width: 38px;
  text-align: center;
  font-weight: 700;
  font-size: 18px;
}

.qty-control.has-qty .qty-num {
  color: rgba(var(--accent), 0.95);
}


.pantry-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  border-radius: 20px;
  border: 1px dashed rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 18px;
}

/* Cart */
.cart-list {
  margin: 16px 0;
  min-height: 120px;
  font-size: 16px;
  padding: 12px 0;
  font-weight: 500;
}

.cart-item {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  line-height: 1.6;
  font-size: 16px;
}

html[data-theme="light"] body {
  background: linear-gradient(
      120deg,
      rgba(var(--bg2), 1),
      rgba(var(--accent), 0.18)
  );
  color: rgb(var(--text));
}

html[data-theme="light"] .card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(15, 30, 45, 0.08);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
}

html[data-theme="light"] .muted {
  color: rgba(20, 30, 40, 0.65);
}

html[data-theme="light"] .pantry-item {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(15, 30, 45, 0.08);
}

html[data-theme="light"] .filter-pill {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.08);
}

html[data-theme="light"] .filter-pill.active {
  background: rgba(var(--accent), 0.25);
  border-color: rgba(var(--accent), 0.6);
}

html[data-theme="light"] .pantry-live-indicator {
  color: rgba(20, 30, 40, 0.7);
}

html[data-theme="light"] .temp-block {
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(12, 24, 40, 0.08);
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.05);
}

html[data-theme="light"] .temp-value {
  background: radial-gradient(circle at top, rgba(40, 90, 180, 0.12), rgba(0, 0, 0, 0.01));
  border-color: rgba(12, 24, 40, 0.08);
}

html[data-theme="light"] .temp-annotation {
  color: rgba(20, 30, 44, 0.65);
}

html[data-theme="light"] .temp-btn {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(235, 239, 245, 0.9));
  border-color: rgba(12, 24, 40, 0.12);
  color: #152030;
  box-shadow: 0 8px 20px rgba(15, 25, 45, 0.15);
}

html[data-theme="light"] .temp-btn-sub {
  color: rgba(21, 32, 50, 0.6);
}

html[data-theme="light"] .status-chip,
html[data-theme="light"] .support-meta,
html[data-theme="light"] .diagnostic-list {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.08);
}

html[data-theme="light"] .version-chip {
  color: #0f1a2c;
  background: rgba(var(--accent), 0.18);
  border-color: rgba(var(--accent), 0.5);
}

html[data-theme="light"] .debug-toggle-btn {
  border-color: rgba(var(--accent), 0.7);
  background: linear-gradient(130deg, rgba(var(--accent), 0.2), rgba(255, 255, 255, 0.9));
  color: #112033;
  box-shadow: 0 10px 24px rgba(15, 30, 55, 0.15);
}

html[data-theme="light"] .debug-toggle-btn .dot {
  background: rgba(20, 35, 60, 0.8);
}

html[data-theme="light"] .debug-toggle-btn.is-active {
  background: linear-gradient(130deg, rgba(var(--accent), 0.35), rgba(255, 255, 255, 0.75));
}

html[data-theme="light"] .status-label,
html[data-theme="light"] .meta-label {
  color: rgba(20, 30, 40, 0.6);
}

html[data-theme="light"] .btn.ghost {
  border-color: rgba(0, 0, 0, 0.12);
}

html[data-theme="light"] .pantry-item--hot,
html[data-theme="light"] .pantry-item--cold,
html[data-theme="light"] .pantry-item--snack {
  background: rgba(255, 255, 255, 0.92);
}

html[data-theme="light"] .pantry-size {
  border-color: rgba(0, 0, 0, 0.08);
  background: rgba(0, 0, 0, 0.04);
  color: rgba(20, 30, 40, 0.75);
}


html[data-theme="light"] .qty-control {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.08);
}

html[data-theme="light"] .qty-btn {
  background: rgb(198 226 229 / 90%);
  border-color: rgba(0, 0, 0, 0.08);
  color: rgba(20, 30, 40, 0.9);
}

html[data-theme="light"] .qty-control.has-qty {
  background: rgba(var(--accent), 0.15);
  border-color: rgba(var(--accent), 0.5);
  box-shadow: 0 0 16px rgba(var(--accent), 0.25);
}

html[data-theme="light"] .pantry-empty {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(0, 0, 0, 0.12);
}

html[data-theme="light"] .pill {
  background: rgb(198 226 229 / 90%);
  border-color: rgba(0, 0, 0, 0.08);
  color: rgb(var(--text));
}

html[data-theme="light"] .pill.active {
  background: rgba(var(--accent), 0.25);
  border-color: rgba(var(--accent), 0.8);
}

html[data-theme="light"] .btn {
  background: rgb(198 226 229 / 90%);
  border-color: rgba(0, 0, 0, 0.08);
  color: rgb(var(--text));
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

html[data-theme="light"] .btn.success,
html[data-theme="light"] .btn.primary {
  color: #fff;
}

html[data-theme="light"] .btn.primary {
  background: linear-gradient(135deg,
      rgba(var(--accent), 0.95),
      rgba(var(--accent), 0.65));
  border-color: rgba(var(--accent), 0.35);
}

html[data-theme="light"] .btn.success {
  background: linear-gradient(135deg,
      rgba(var(--ok), 0.95),
      rgba(var(--ok), 0.6));
  border-color: rgba(var(--ok), 0.4);
}

html[data-theme="light"] .btn.warn {
  background: linear-gradient(135deg,
      rgba(var(--warn), 0.95),
      rgba(var(--warn), 0.65));
  color: #3d2f04;
  border-color: rgba(var(--warn), 0.4);
}

html[data-theme="light"] .nav {
  background: rgba(255, 255, 255, 0.9);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

html[data-theme="light"] .tab-btn {
  border-color: rgba(0, 0, 0, 0.1);
  background: radial-gradient(circle at 15% 0%, rgba(255, 255, 255, 0.8), transparent 60%),
    linear-gradient(150deg, rgba(255, 255, 255, 0.98), rgba(232, 240, 248, 0.9));
  color: rgb(var(--text));
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.12);
}

html[data-theme="light"] .tab-btn.active {
  outline: 2px solid rgba(var(--accent), 0.6);
  background: linear-gradient(145deg,
      rgba(var(--accent), 0.4),
      rgba(255, 255, 255, 0.95));
  box-shadow: 0 0 18px rgba(var(--accent), 0.45);
}

html[data-theme="light"] .tab-emoji {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.04);
}

html[data-theme="light"] .tab-btn.active .tab-emoji {
  background: rgba(var(--accent), 0.2);
  border-color: rgba(var(--accent), 0.5);
  box-shadow: 0 0 16px rgba(var(--accent), 0.3);
}

html[data-theme="light"] #debugPanel {
  background: rgba(255, 255, 255, 0.98);
  color: #024a5a;
  border-color: rgba(var(--accent), 0.5);
}

html[data-theme="light"] .cart-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

html[data-theme="light"] .cart-row {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

html[data-theme="light"] .chip {
    background: rgb(87 78 78 / 65%);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.35);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
    padding: 6px;
    border-radius: 19%;
}

/* KPI */
.kpi-block {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.kpi-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 16px;
}

.kpi-label {
  font-size: 12px;
  color: rgb(var(--muted));
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.kpi-value {
  font-size: 32px;
  font-weight: 700;
  color: rgb(var(--accent));
}

.cart-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cart-info {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-label {
  font-size: 12px;
  color: rgb(var(--muted));
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.cart-count {
  font-size: 36px;
  font-weight: 700;
  color: rgb(var(--accent));
  min-width: 50px;
}

.cart-row .btn {
  flex: 0 0 auto;
  min-width: 140px;
}

.btn-block {
  width: 100%;
  justify-content: center;
  margin-bottom: 12px;
}

/* Meta line */
.meta-line {
  margin-top: 0;
  padding-top: 12px;
  border-top: 1px dashed rgba(255, 255, 255, 0.15);
  font-size: 11px;
  color: rgb(var(--muted));
  text-align: center;
}

/* Tab Sections */
.tab-section {
  display: none;
  margin: 18px 0 24px;
  padding: 8px 6px 26px;
}

.tab-section.active {
  display: block;
}

.tab-section-lead {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.tab-section-lead h1 {
  font-size: 24px;
  margin-bottom: 6px;
}

.control-status-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.status-chip {
  min-width: 140px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.status-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: rgba(255, 255, 255, 0.6);
}

.status-value {
  font-size: 15px;
  font-weight: 600;
}

@media (max-width: 768px) {
  .tab-section-lead {
    flex-direction: column;
  }

  .control-status-chips {
    width: 100%;
  }

  .status-chip {
    flex: 1;
  }
}

#tab-pantry {
  margin-top: 15px;
  margin-bottom: 15px;
}

/* Nav */
.nav {
  position: sticky;
  bottom: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
  padding: 8px 10px 10px;
  min-height: var(--nav-height);
  background: linear-gradient(165deg,
      rgba(2, 6, 16, 0.98),
      rgba(0, 0, 0, 0.92));
  border-top: 1px solid rgba(42, 70, 130, 0.5);
}

.tab-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 8px 6px;
  border-radius: 12px;
  border: 1px solid rgba(60, 88, 150, 0.55);
  background: radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.15), transparent 60%),
    linear-gradient(155deg, rgba(14, 24, 46, 0.95), rgba(3, 6, 18, 0.95));
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.tab-emoji {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px; 
  font-size: 24px; 
}

.tab-btn.active {
  outline: 2px solid rgba(var(--accent), 0.7);
  background: linear-gradient(145deg,
      rgba(var(--accent), 0.35),
      rgba(12, 20, 44, 0.95));
  box-shadow: 0 0 22px rgba(var(--accent), 0.45);
  transform: translateY(-1px);
}

.tab-btn.active .tab-emoji {
  background: rgba(var(--accent), 0.25);
  border-color: rgba(var(--accent), 0.6);
  box-shadow: 0 0 18px rgba(var(--accent), 0.45);
}

/* Small layouts */
.grid.two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--pad);
}

.flex {
  flex: 1;
}

.range-label {
  font-size: 12px;
}

/* Debug panel */
#debugPanel {
  position: fixed;
  bottom: 10px;
  left: 10px;
  width: 330px;
  max-height: 220px;
  background: rgba(0, 0, 0, 0.82);
  border-radius: 10px;
  border: 1px solid rgba(var(--accent), 0.9);
  padding: 8px;
  font-size: 11px;
  color: #0ff;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.debug-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#debugToggle {
  font-size: 11px;
  background: transparent;
  border: 1px solid rgba(var(--accent), 0.8);
  color: #0ff;
  border-radius: 999px;
  padding: 2px 8px;
  cursor: pointer;
}

#debugLog {
  overflow-y: auto;
  max-height: 170px;
}

/* === DEVICE REGISTRATION === */
.device-reg-card {
  grid-column: span 12;
}

.device-reg-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--pad);
}

.device-reg-status {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.device-reg-status .diagnostic-list {
  flex: 1;
}

.device-reg-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.device-reg-manual {
  grid-column: span 2;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 8px;
}

.device-reg-manual .row {
  display: flex;
  gap: 10px;
}

.device-reg-manual .input.flex {
  flex: 1;
}

/* Status indicator colors */
.status-ok {
  color: rgb(var(--ok)) !important;
}

.status-warn {
  color: rgb(var(--warn)) !important;
}

.status-danger {
  color: rgb(var(--danger)) !important;
}

.status-pending {
  color: rgb(var(--accent)) !important;
}

/* Monospace for device IDs/tokens */
.mono {
  font-family: "SF Mono", "Consolas", "Monaco", monospace;
  font-size: 12px;
  letter-spacing: -0.3px;
}

/* Row with gap utility */
.row.gap {
  display: flex;
  gap: 10px;
  align-items: center;
}

@media (max-width: 700px) {
  .device-reg-content {
    grid-template-columns: 1fr;
  }
  
  .device-reg-manual {
    grid-column: span 1;
  }
}

/* === QR CODE / INFO TAB === */
.info-tab-layout {
  display: flex;
  flex-direction: column;
  height: 100%;
  gap: var(--pad);
}

.info-hero {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: calc(var(--pad) * 2);
  align-items: center;
  padding: calc(var(--pad) * 1.5);
  background: linear-gradient(135deg, rgba(var(--accent), 0.15), rgba(0,0,0,0.4));
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.08);
}

.info-guides {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--pad);
  padding: 4px;
}

.info-guide {
  display: flex;
  gap: var(--pad);
  padding: 16px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(0,0,0,0.22);
  box-shadow: inset 0 0 30px rgba(0,0,0,0.25);
  align-items: stretch;
}

.guide-visual {
  width: 120px;
  flex-shrink: 0;
  border-radius: 12px;
  padding: 6px;
  background: rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
}

.guide-visual img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.guide-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #fff;
}

.guide-body h3 {
  margin: 0;

.guide-body ol li ol {
  gap: 2px;
  padding-left: 16px;
}
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.guide-body p {
  margin: 0;
  font-size: 13px;
  color: rgb(var(--muted));
}

.guide-body ul,
.guide-body ol {
  margin: 0;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: rgb(var(--muted));
  font-size: 12px;
}

.guide-body ol span {
  font-style: italic;
  font-size: 11px;
  color: rgba(255,255,255,0.65);
}

html[data-theme="light"] .info-guide {
  background: rgba(255,255,255,0.98);
  border-color: rgba(0,0,0,0.08);
  box-shadow: 0 10px 26px rgba(15,15,15,0.08);
}

html[data-theme="light"] .guide-visual {
  background: rgba(0,0,0,0.04);
}

html[data-theme="light"] .guide-body {
  color: #0f1726;
}

html[data-theme="light"] .guide-body p,
html[data-theme="light"] .guide-body ul,
html[data-theme="light"] .guide-body ol {
  color: #3f4a63;
}

html[data-theme="light"] .info-hero {
  background: linear-gradient(135deg, #f3f6fb, #e0e8f6);
  border-color: rgba(15, 23, 42, 0.08);
  color: #0f1726;
}

html[data-theme="light"] .info-content {
  color: #0f1726;
}

html[data-theme="light"] .info-steps {
  color: #1e293b;
}

.qr-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.qr-code {
  width: 180px;
  height: 180px;
  background: #fff;
  border-radius: 16px;
  padding: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.qr-code svg,
.qr-code img {
  width: 100%;
  height: 100%;
}

.qr-placeholder {
  background: rgba(0,0,0,0.05);
  border-radius: 8px;
}

.qr-label {
  font-size: 13px;
  color: rgb(var(--muted));
  font-weight: 500;
}

.info-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.info-steps {
  margin: 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: rgb(var(--muted));
  font-size: 13px;
}

.info-steps ol {
  padding-left: 18px;
}

.info-title {
  font-size: 28px;
  font-weight: 700;
  margin: 0;
  line-height: 1.2;
}

.info-title span {
  color: rgb(var(--accent));
}

.info-subtitle {
  font-size: 15px;
  color: rgb(var(--muted));
  margin: 0;
}

/* === ROOM BOOKING TAB (Lightweight) === */
.booking-layout {
  display: flex;
  flex-direction: column;
  gap: var(--pad);
}

.booking-status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  background: rgba(0,0,0,0.35);
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.08);
}

.booking-room-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.booking-room-name {
  font-size: 20px;
  font-weight: 600;
  margin: 0;
}

.booking-room-capacity {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: rgb(var(--muted));
}

.booking-availability {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: rgba(0,0,0,0.25);
  border-radius: 10px;
}

.availability-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.availability-indicator.available {
  background: rgb(var(--ok));
}

.availability-indicator.busy {
  background: rgb(var(--danger));
}

.availability-indicator.soon {
  background: rgb(var(--warn));
}

.availability-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.availability-status {
  font-size: 14px;
  font-weight: 600;
}

.availability-indicator.available + .availability-text .availability-status {
  color: rgb(var(--ok));
}

.availability-indicator.busy + .availability-text .availability-status {
  color: rgb(var(--danger));
}

.availability-until {
  font-size: 11px;
  color: rgb(var(--muted));
}

/* Simple Booking Grid */
.booking-simple-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--pad);
}

.booking-quick-card,
.booking-current-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.quick-book-options {
  display: flex;
  gap: 8px;
}

.quick-book-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 14px 6px;
  background: rgba(var(--ok), 0.12);
  border: 1px solid rgba(var(--ok), 0.25);
  border-radius: 10px;
  cursor: pointer;
}

.quick-book-btn:active {
  background: rgba(var(--ok), 0.3);
  border-color: rgb(var(--ok));
}

.quick-book-time {
  font-size: 20px;
  font-weight: 700;
  color: rgb(var(--ok));
  line-height: 1;
}

.quick-book-unit {
  font-size: 10px;
  color: rgb(var(--muted));
  margin-top: 2px;
}

/* Current Meeting */
.current-meeting {
  padding: 14px;
  background: rgba(0,0,0,0.2);
  border-radius: 10px;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.meeting-empty {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgb(var(--muted));
  font-size: 14px;
}

.meeting-empty-icon {
  font-size: 18px;
  color: rgb(var(--ok));
}

.meeting-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}

.meeting-title {
  font-size: 15px;
  font-weight: 600;
}

.meeting-meta {
  font-size: 12px;
  color: rgb(var(--muted));
}

.booking-meeting-actions {
  display: flex;
  gap: 8px;
}

@media (max-width: 700px) {
  .booking-status-bar {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
  
  .booking-simple-grid {
    grid-template-columns: 1fr;
  }
}