:root {
  --g: #1f5b46; --g2: #2f7d5f; --g3: #174536; --sage: #e4ebdc; --sage2: #f0f4ea; --cream: #fbf7ee; --paper: #fff;
  --ink: #1d2b25; --muted: #6c7b73; --line: #e7eadf; --bdr: #d5ddd2; --lemon: #f1c94b; --blush: #f6dcd3; --danger: #c4553d;
  --on-primary: #fbf7ee; --bg: var(--cream);
  --r: 20px; --shadow: 0 1px 2px rgba(31, 91, 70, .05), 0 8px 24px -12px rgba(31, 91, 70, .18);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
:root[data-typo="modern"] {
  --serif: var(--sans);
}
:root[data-typo="compact"] {
  --r: 14px;
}
:root[data-typo="compact"] .card { padding: 12px 14px; gap: 8px; }
:root[data-typo="compact"] .page { gap: 10px; }
:root[data-typo="compact"] .hero { padding: 16px 18px; border-radius: 20px; }
:root[data-typo="compact"] h1 { font-size: 22px; }
:root[data-typo="compact"] h2 { font-size: 16px; }

/* Duotone SVG icons */
.ico .ico-duo { opacity: 0; transition: opacity .15s ease; }
:root[data-icons="duotone"] .on .ico-duo,
:root[data-icons="duotone"] .tool .ico-duo,
:root[data-icons="duotone"] .tile .ico-duo,
:root[data-icons="duotone"] .quick-tile .ico-duo,
:root[data-icons="duotone"] .sidebar-nav a:hover .ico-duo,
:root[data-icons="duotone"] .hero .ico-duo { opacity: .24; }
:root[data-icons="line"] .ico .ico-duo { display: none; }

/* Dark Mode Surface & Component Polish */
:root[data-mode="dark"] html,
:root[data-mode="dark"] body { background: var(--cream); color: var(--ink); color-scheme: dark; }
:root[data-mode="dark"] .hero { background: linear-gradient(135deg, color-mix(in srgb, var(--g) 20%, var(--paper)), var(--paper)); color: var(--ink); border: 1px solid color-mix(in srgb, var(--g) 40%, var(--line)); }
:root[data-mode="dark"] .hero h1 { color: var(--g-text, var(--g)); }
:root[data-mode="dark"] .stat b,
:root[data-mode="dark"] .kc b,
:root[data-mode="dark"] .nav a.on,
:root[data-mode="dark"] .desktop-sidebar .sidebar-nav a.on,
:root[data-mode="dark"] .desktop-sidebar .sidebar-nav a:hover,
:root[data-mode="dark"] .sidebar-recent a.on,
:root[data-mode="dark"] .sidebar-recent a:hover,
:root[data-mode="dark"] .eyebrow,
:root[data-mode="dark"] .cmd-item.sel,
:root[data-mode="dark"] .cmd-ico { color: var(--g-text, var(--g)); }
:root[data-mode="dark"] .tipcard { background: linear-gradient(160deg, color-mix(in srgb, var(--lemon) 14%, var(--paper)), var(--paper)); }
:root[data-mode="dark"] .setup { background: linear-gradient(160deg, color-mix(in srgb, var(--g) 16%, var(--paper)), var(--paper)); color: var(--ink); }
:root[data-mode="dark"] .note { background: color-mix(in srgb, var(--lemon) 14%, var(--paper)); color: var(--ink); }
:root[data-mode="dark"] .tile { background: var(--sage); color: var(--g2); }
:root[data-mode="dark"] .tile:nth-child(2) { background: rgba(244, 143, 177, .14); color: #f8b4c8; }
:root[data-mode="dark"] .tile:nth-child(3) { background: rgba(245, 196, 81, .14); color: #f6d57a; }
:root[data-mode="dark"] .tile:nth-child(4) { background: rgba(96, 165, 250, .14); color: #93c5fd; }
:root[data-mode="dark"] .tool:nth-child(2) .tool-i { background: rgba(245, 196, 81, .16); color: #f6d57a; }
:root[data-mode="dark"] .tool:nth-child(3) .tool-i { background: rgba(244, 143, 177, .16); color: #f8b4c8; }
:root[data-mode="dark"] .tool:nth-child(4) .tool-i { background: rgba(96, 165, 250, .16); color: #93c5fd; }
:root[data-mode="dark"] .tag.x { background: rgba(248, 113, 113, .16); color: #fca5a5; }
:root[data-mode="dark"] .tag.v { background: rgba(52, 211, 153, .16); color: #6ee7b7; }
:root[data-mode="dark"] .btn.ghost { background: var(--sage); color: var(--ink); }
:root[data-mode="dark"] .btn.ghost:hover { background: var(--sage2); }
:root[data-mode="dark"] .btn.danger { background: rgba(248, 113, 113, .15); color: #fca5a5; }
:root[data-mode="dark"] .glasses button.on { background: rgba(56, 189, 248, .22); color: #7dd3fc; }
:root[data-mode="dark"] .addfood { border-color: var(--line); color: var(--g2); }
:root[data-mode="dark"] .ct.b { stroke: var(--paper); }
:root[data-mode="dark"] .pill.kcal { background: rgba(52, 211, 153, .15); color: #6ee7b7; border-color: rgba(52, 211, 153, .3); }
:root[data-mode="dark"] .pill.p { background: rgba(129, 140, 248, .15); color: #a5b4fc; border-color: rgba(129, 140, 248, .3); }
:root[data-mode="dark"] .pill.c { background: rgba(251, 191, 36, .15); color: #fcd34d; border-color: rgba(251, 191, 36, .3); }
:root[data-mode="dark"] .pill.f { background: rgba(248, 113, 113, .15); color: #fca5a5; border-color: rgba(248, 113, 113, .3); }
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { background: var(--cream); overflow-x: hidden; transition: background .2s ease; }
body { margin: 0; font: 16px/1.45 var(--sans); color: var(--ink); background: var(--cream); min-height: 100dvh; max-width: 560px; margin-inline: auto; position: relative; box-shadow: 0 0 60px rgba(31, 91, 70, .08); overflow-x: hidden; }
body.noscroll { overflow: hidden; }
h1, h2, h3, h4 { margin: 0; font-family: var(--serif); font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: 26px; line-height: 1.15; } h2 { font-size: 18px; display: flex; align-items: center; gap: 8px; } h3 { font-size: 16px; } h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-family: var(--sans); margin: 14px 0 4px; }
p { margin: 0; } a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--g2) 55%, transparent); outline-offset: 2px; border-radius: 10px; }
.ico { display: inline-flex; flex: none; } .ico svg { display: block; }
.muted { color: var(--muted); } .small { font-size: 13px; } .center { text-align: center; } .grow { flex: 1; min-width: 0; }
.pos { color: var(--g2); } .neg { color: var(--danger); }
small { font-size: 13px; }

/* Code Snippet Inline Pill */
.code-pill {
  display: inline-block;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  background: var(--paper, #fff);
  border: 1.5px solid var(--line, #ccd7c4);
  border-radius: 6px;
  padding: 1px 7px;
  font-size: 12.5px;
  color: var(--g, #1f5b46);
  font-weight: 700;
  vertical-align: baseline;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

/* shell */
#app { min-height: 100dvh; padding-bottom: 92px; overflow-x: hidden; }
.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; padding-top: max(10px, env(safe-area-inset-top)); background: color-mix(in srgb, var(--cream) 92%, transparent); backdrop-filter: blur(14px); gap: 8px; max-width: 100%; box-sizing: border-box; }
.brand { display: flex; align-items: center; gap: 8px; min-width: 0; flex: 1; overflow: hidden; }
.brand > div { min-width: 0; overflow: hidden; }
.brand b { font-family: var(--serif); font-size: 16px; display: block; line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand small { color: var(--muted); font-size: 11.5px; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.header-right-slot { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.pill-short { display: none; }
.sync-short { display: none; }
.mono { width: 36px; height: 36px; border-radius: 50%; background: var(--g); color: var(--on-primary, var(--cream)); display: grid; place-items: center; font: 700 14px var(--serif); letter-spacing: .02em; box-shadow: inset 0 0 0 2px var(--lemon); flex-shrink: 0; }
.lang { display: flex; background: var(--sage); border-radius: 999px; padding: 3px; }
.lang button { padding: 5px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 700; color: var(--g); letter-spacing: .04em; }
.lang button.on { background: var(--g); color: var(--on-primary, var(--cream)); }
.nav { position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); width: min(560px, 100%); display: flex; justify-content: space-around; align-items: center; gap: 4px; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-top: 1px solid var(--line); z-index: 30; transition: all .2s ease; }
.nav.nav-studio { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 56px minmax(0, 1fr) minmax(0, 1fr); align-items: center; justify-items: stretch; gap: 2px; }
.nav.nav-studio .nav-fab { justify-self: center; }
.nav a { position: relative; flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 4px; border-radius: 14px; color: var(--muted); font-size: 11px; font-weight: 600; transition: all .18s ease; }
.nav a span { max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nav a.on { color: var(--g); background: var(--sage2); }
.nav-fab { flex: 0 0 48px; width: 48px; height: 48px; border-radius: 18px; background: var(--g); color: var(--on-primary, #fff); display: grid; place-items: center; box-shadow: 0 8px 20px -4px color-mix(in srgb, var(--g) 55%, transparent); transition: transform .15s ease, background .15s ease; }
.nav-fab:active { transform: scale(.93); }
:root:not([data-nav="classic"]) .nav { bottom: max(12px, env(safe-area-inset-bottom)); width: min(520px, calc(100% - 24px)); border: 1px solid var(--line); border-radius: 26px; padding: 6px 8px; box-shadow: 0 12px 32px -8px rgba(0, 0, 0, .22); }
:root:not([data-nav="classic"]) .nav .nav-fab { margin-top: -20px; width: 52px; height: 52px; border-radius: 50%; border: 3px solid var(--paper); }
.nav-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; background: var(--g); color: var(--on-primary, #fff); font-style: normal; font-size: 10.5px; font-weight: 800; margin-left: auto; }
.nav-badge.mob { position: absolute; top: 3px; right: calc(50% - 20px); margin: 0; min-width: 16px; height: 16px; font-size: 9.5px; padding: 0 4px; }

.cmd-trigger { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; height: 34px; border-radius: 99px; background: var(--sage2); border: 1px solid var(--line); color: var(--ink); font-size: 12.5px; font-weight: 600; transition: all .15s; }
.cmd-trigger:hover { border-color: var(--g2); background: var(--sage); color: var(--g-text, var(--g)); }
@media (max-width: 520px) { .cmd-trigger .cmd-lbl { display: none; } .cmd-trigger { width: 34px; height: 34px; padding: 0; justify-content: center; border-radius: 50%; } }

@media (max-width: 520px) {
  .top { padding: 8px 10px; padding-top: max(8px, env(safe-area-inset-top)); gap: 5px; }
  .brand .mono { width: 30px; height: 30px; font-size: 11px; }
  .brand b { font-size: 14px; }
  .brand small { display: none; }
  .header-right-slot { gap: 3px; }
  .icon-btn.theme-toggle-btn, .cmd-trigger { width: 32px; height: 32px; padding: 0; justify-content: center; }
  .pill-full { display: none; }
  .pill-short { display: inline; }
  .sync-status-badge { padding: 3px 6px !important; font-size: 10px !important; }
  .sync-full { display: none; }
  .sync-short { display: inline; }
  .chip { padding: 4px 7px !important; font-size: 11px !important; }
}

.page { padding: 6px 16px 24px; display: flex; flex-direction: column; gap: 14px; animation: in .14s ease both; box-sizing: border-box; }
@keyframes in { from { opacity: .65; transform: translateY(4px); } }
.page-h { display: flex; align-items: center; gap: 10px; justify-content: space-between; padding-top: 4px; }
.page-h h1 { flex: 1; }
.stack { display: flex; flex-direction: column; gap: 14px; } .stack-sm { display: flex; flex-direction: column; gap: 10px; }

/* hero */
.hero { position: relative; overflow: hidden; background: var(--g); color: var(--on-primary, #fff); border-radius: 28px; padding: 22px 22px 24px; box-shadow: var(--shadow); }
.hero small { opacity: .8; font-size: 14px; } .hero h1 { font-size: 34px; margin: 2px 0 10px; }
.hero .quote { font-family: var(--serif); font-style: italic; font-size: 15.5px; max-width: 78%; opacity: .92; }
.hero-leaf { position: absolute; right: -14px; bottom: -22px; color: var(--lemon); opacity: .28; transform: rotate(-12deg); }
.hero.small { padding: 18px 22px; } .hero.small h1 { font-size: 30px; margin-bottom: 4px; } .hero.small .quote { font-style: normal; font-family: var(--sans); }

/* cards & rows */
.card { background: var(--paper); border-radius: var(--r); padding: 16px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 10px; }
.card-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.row { display: flex; align-items: center; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); }
.card > .row:first-of-type, .card-h + .row { border-top: 0; }
.card-row { background: var(--paper); border-radius: 18px; padding: 12px 14px; border: 0; box-shadow: var(--shadow); }
.list { display: flex; flex-direction: column; gap: 10px; }
.row .right { text-align: right; display: flex; flex-direction: column; } .row b { font-weight: 650; } .row small { display: block; }
.row.pick { width: 100%; text-align: left; } .row.pick:active { background: var(--sage2); }
.avatar { border-radius: 50%; display: grid; place-items: center; font-family: var(--serif); font-weight: 700; flex: none; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.stat { background: var(--paper); border-radius: 18px; padding: 12px 8px; text-align: center; box-shadow: var(--shadow); }
.stat b { display: block; font: 700 24px var(--serif); color: var(--g); } .stat small { color: var(--muted); font-size: 12px; line-height: 1.2; display: block; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.tile { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 4px; border-radius: 18px; background: var(--sage); color: var(--g); font-size: 12px; font-weight: 700; text-align: center; line-height: 1.15; }
.tile:nth-child(2) { background: var(--blush); color: #7a3f2e; } .tile:nth-child(3) { background: #f7edbc; color: #6b5412; } .tile:nth-child(4) { background: #dfe8f0; color: #2e4a63; }
.banner { display: flex; gap: 12px; align-items: center; background: #26323d; color: #fff; padding: 14px 16px; border-radius: 18px; } .banner small { display: block; opacity: .75; }
.mythcard .myth { display: flex; gap: 10px; align-items: flex-start; padding: 4px 0; } .tag { flex: none; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; padding: 3px 9px; border-radius: 99px; margin-top: 2px; }
.tag.x { background: var(--blush); color: #8a3a27; } .tag.v { background: var(--sage); color: var(--g); }
.tipcard { background: linear-gradient(160deg, #f7edbc, #fbf7ee); } .tipcard b { font: 700 17px var(--serif); }
.tool { display: flex; align-items: center; gap: 14px; background: var(--paper); border-radius: var(--r); padding: 16px; box-shadow: var(--shadow); }
.tool > div:nth-child(2) { flex: 1; } .tool b { display: block; font-family: var(--serif); font-size: 17px; } .tool small { color: var(--muted); }
.tool > .ico:last-child { transform: rotate(180deg); color: var(--muted); }
.tool-i { width: 50px; height: 50px; border-radius: 16px; background: var(--sage); color: var(--g); display: grid; place-items: center; }
.tool:nth-child(2) .tool-i { background: #f7edbc; color: #6b5412; } .tool:nth-child(3) .tool-i { background: var(--blush); color: #7a3f2e; } .tool:nth-child(4) .tool-i { background: #dfe8f0; color: #2e4a63; }

/* controls */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 999px; background: var(--g); color: var(--on-primary, #fff); font-weight: 700; font-size: 15px; transition: transform .1s, background .15s; text-align: center; }
.btn:active { transform: scale(.97); } .btn:hover { background: var(--g3); }
.btn.small { padding: 8px 14px; font-size: 13.5px; } .btn.block { width: 100%; }
.btn.ghost { background: var(--sage); color: var(--g); } .btn.ghost:hover { background: #d8e3cd; }
.btn.danger { background: #fbe9e4; color: var(--danger); } .btn[disabled] { opacity: .5; pointer-events: none; }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--ink); flex: none; font-size: 20px; font-weight: 700; }
.icon-btn:hover { background: var(--sage2); } .icon-btn.tint { background: var(--sage); color: var(--g); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; } .chips.scroll { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: var(--sage2); color: var(--g); font-weight: 650; font-size: 14px; border: 1.5px solid transparent; white-space: nowrap; }
.chip.on { background: var(--g); color: var(--on-primary, #fff); }
.tabs, .days { display: flex; gap: 4px; background: var(--sage); border-radius: 16px; padding: 4px; }
.tabs button, .days button { flex: 1; padding: 9px 4px; border-radius: 12px; font-weight: 700; font-size: 14px; color: var(--g); display: flex; flex-direction: column; align-items: center; gap: 3px; }
.tabs button.on, .days button.on { background: var(--paper); box-shadow: 0 2px 8px rgba(31, 91, 70, .14); }
.days button { font-size: 13px; } .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--g2); display: block; }
.field { display: flex; flex-direction: column; gap: 6px; } .field > span { font-size: 13px; font-weight: 650; color: var(--muted); }
input, select, textarea { width: 100%; padding: 12px 14px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--paper); outline: none; transition: border-color .15s; }
input:focus, select:focus, textarea:focus { border-color: var(--g2); }
textarea { resize: vertical; } input[type=checkbox] { width: 20px; height: 20px; accent-color: var(--g); flex: none; }
.form { display: flex; flex-direction: column; gap: 14px; } .two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.two > .btn, .two > .field { min-width: 0; }
.search { position: relative; } .search .ico { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); } .search input { padding-left: 42px; border-radius: 999px; }
.mini { width: 110px; padding: 8px 12px; text-align: right; } .row-sm { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.inline { display: flex; gap: 10px; } .inline input { flex: 1; }
.check { display: flex; align-items: center; gap: 12px; padding: 8px 0; }

/* kpis, ring, bars */
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.kpi { background: var(--sage2); border-radius: 14px; padding: 10px 10px 8px; display: flex; flex-direction: column; } .kpi small { color: var(--muted); font-size: 11.5px; line-height: 1.15; }
.kpi b { font: 700 20px var(--serif); line-height: 1.2; margin-top: 2px; } .kpi em { font-style: normal; font-size: 11.5px; color: var(--muted); }
.kpi.hi { background: var(--g); color: var(--on-primary, #fff); } .kpi.hi small, .kpi.hi em { color: color-mix(in srgb, var(--on-primary, #fff) 78%, transparent); }
.ring { position: relative; flex: none; } .ring-t { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.1; } .ring-t b { font: 700 20px var(--serif); } .ring-t small { color: var(--muted); font-size: 11.5px; }
.totals { flex-direction: row; align-items: center; gap: 16px; }
.mb { margin: 2px 0 8px; } .mb-h { display: flex; justify-content: space-between; font-size: 13px; gap: 8px; } .mb-h span { color: var(--muted); }
.mb-bar { height: 7px; background: var(--sage); border-radius: 9px; overflow: hidden; margin-top: 4px; } .mb-bar i { display: block; height: 100%; border-radius: 9px; background: var(--g2); transition: width .3s; }
.mb-bar i.c { background: var(--lemon); } .mb-bar i.f { background: #e59a86; }
.chart { width: 100%; height: auto; } .ct { font: 10.5px var(--sans); fill: var(--muted); } .ct.b { font-weight: 700; fill: var(--g); font-size: 12px; stroke: #fff; stroke-width: 4px; paint-order: stroke; stroke-linejoin: round; }

/* client / plan */
.chead { display: flex; align-items: center; gap: 10px; } .chead h1 { font-size: 22px; }
.plan-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.kc { display: flex; align-items: center; gap: 4px; } .kc b { font: 700 32px var(--serif); color: var(--g); } .kc .icon-btn { background: var(--sage); width: 34px; height: 34px; }
.actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; } .actions .btn { padding-inline: 10px; }
.actions-sm { display: flex; gap: 6px; align-items: center; }
.days button { text-transform: capitalize; }
.meal .row.item { padding: 7px 0; } .meal .item small { margin-top: 0; }
.step { display: flex; align-items: center; gap: 4px; } .step button { width: 30px; height: 30px; border-radius: 50%; background: var(--sage); color: var(--g); font-weight: 800; font-size: 18px; line-height: 1; }
.step input { width: 58px; padding: 6px 4px; text-align: center; border-radius: 10px; -moz-appearance: textfield; } .step span { font-size: 13px; color: var(--muted); margin-right: 2px; }
.addfood { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 10px; border-radius: 14px; border: 1.5px dashed #c8d4bd; color: var(--g2); font-weight: 700; font-size: 14px; }
.addfood:hover { background: var(--sage2); }
.empty { text-align: center; padding: 34px 16px; display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--g2); } .empty h3 { font-size: 20px; color: var(--ink); } .empty p { color: var(--muted); max-width: 300px; }
.meal-h { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; } .meal-h b { flex: 1; font-family: var(--serif); font-size: 16.5px; }
.tick { width: 28px; height: 28px; border-radius: 50%; border: 2px solid #c8d4bd; display: grid; place-items: center; color: #fff; flex: none; transition: all .15s; }
.meal.done .tick { background: var(--g2); border-color: var(--g2); } .meal.done { background: var(--sage2); } .meal.done .ro { opacity: .65; }
.row.ro { padding: 5px 0 5px 40px; border-top: 0; font-size: 15px; }
.glasses { display: grid; grid-template-columns: repeat(8, 1fr); gap: 4px; } .glasses button { aspect-ratio: 1; border-radius: 12px; display: grid; place-items: center; background: var(--sage2); color: #b9c9b0; transition: all .15s; } .glasses button.on { background: #dcebf5; color: #3a86b8; }
.note { flex-direction: row; gap: 12px; align-items: flex-start; background: #f7edbc; }
.tipline { display: flex; gap: 8px; align-items: flex-start; background: var(--sage2); padding: 10px 12px; border-radius: 14px; color: var(--g); } .tipline .ico { margin-top: 2px; }

/* scan & cards */
.drop { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 30px 16px; border-radius: 24px; border: 2px dashed #b9c9b0; background: var(--sage2); color: var(--g); } .drop small { color: var(--muted); }
.scan-prev { display: flex; flex-direction: column; gap: 10px; } .scan-prev img { width: 100%; max-height: 340px; object-fit: cover; border-radius: 22px; }
.err { color: var(--danger); font-size: 14px; word-break: break-word; } .setup { align-items: flex-start; background: linear-gradient(160deg, #dfe8f0, #fbf7ee); color: #2e4a63; } .setup h3 { color: var(--ink); }
.spin { width: 16px; height: 16px; flex: none; border: 2.5px solid rgba(255, 255, 255, .4); border-top-color: #fff; border-radius: 50%; animation: sp .8s linear infinite; }
.spin.dark { width: 22px; height: 22px; border-color: color-mix(in srgb, var(--g) 22%, transparent); border-top-color: var(--g); }
@keyframes sp { to { transform: rotate(360deg); } }
.wait-card { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; background: var(--sage2); border: 1.5px solid color-mix(in srgb, var(--g) 30%, var(--line)); color: var(--ink); box-shadow: var(--shadow); }
.wait-card b { display: block; font-size: 14.5px; color: var(--g-text, var(--g)); }
.wait-card small { display: block; margin-top: 2px; font-size: 12.5px; }
.wait-timer { flex: none; font-family: ui-monospace, monospace; font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 99px; background: var(--paper); border: 1px solid var(--line); color: var(--g-text, var(--g)); }
.cv-wrap { border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); display: flex; justify-content: center; background: var(--sage2); }
.card-cv { width: auto; max-width: 100%; max-height: 620px; height: auto; display: block; border-radius: 20px; }
.pal-grid { display: flex; flex-wrap: wrap; gap: 7px; }
.pal-swatch { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 99px; font-size: 12.5px; font-weight: 600; border: 2px solid transparent; cursor: pointer; transition: transform .12s; }
.pal-swatch.on { transform: scale(1.04); box-shadow: 0 2px 10px rgba(0,0,0,.15); }
.pal-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; flex: none; }
.divider { height: 1px; background: var(--line, #e7eadf); margin: 4px 0; }

/* sheet & toast */
.sheet-back { position: fixed; inset: 0; background: rgba(15, 23, 20, .52); z-index: 100; display: flex; align-items: flex-end; justify-content: center; animation: fade .15s both; }
.sheet { width: min(560px, 100%); max-height: 92dvh; background: var(--cream); border: 1px solid var(--line); border-radius: 28px 28px 0 0; display: flex; flex-direction: column; animation: up .18s cubic-bezier(.2, .8, .2, 1) both; }
.sheet-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px 6px 22px; } .sheet-body { padding: 8px 18px calc(22px + env(safe-area-inset-bottom)); overflow: auto; display: flex; flex-direction: column; gap: 12px; }
@keyframes fade { from { background-color: transparent; } } @keyframes up { from { transform: translateY(24px); } }
#toast { position: fixed; left: 50%; bottom: 100px; transform: translate(-50%, 20px); background: var(--g3); color: #fff; padding: 11px 18px; border-radius: 999px; font-size: 14px; font-weight: 600; opacity: 0; pointer-events: none; transition: all .25s; z-index: 200; max-width: 90vw; }
#toast.show { opacity: 1; transform: translate(-50%, 0); }
.foot { padding-top: 8px; }
.kv-dev-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 0 20px;
  margin-top: 6px;
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  opacity: 0.78;
  text-align: center;
}
.kv-dev-badge a {
  color: var(--ink);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
  transition: opacity .15s, color .15s;
}
.kv-dev-badge a:hover {
  color: var(--g);
  text-decoration: underline;
  opacity: 1;
}
.kv-dev-badge .kv-logo-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--g2);
  display: inline-block;
}

/* Official K&V Systems Brand Footer */
.kv-brand-footer {
  margin-top: 24px;
  padding: 16px 12px;
  text-align: center;
  border-top: 1px solid var(--line, #e7eadf);
}
.kv-brand-content {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted, #6c7b73);
}
.kv-brand-name {
  font-weight: 700;
  color: var(--ink, #1d2b25);
}
.kv-sep {
  opacity: 0.5;
}
.kv-brand-link {
  color: var(--g, #1f5b46);
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.15s;
}
.kv-brand-link:hover {
  opacity: 0.8;
  text-decoration: underline;
}

/* Sync Badge */
.sync-status-badge {
  transition: all 0.2s ease;
}
.sync-status-badge:hover {
  filter: brightness(0.95);
}

/* Responsive Adaptive Navigation: Mobile Bottom Bar vs Tablet/Desktop Sidebar (Rule 6) */
.desktop-sidebar {
  display: none;
}

@media (min-width: 768px) {
  body {
    max-width: 100% !important;
    margin: 0 !important;
    background: var(--cream);
    display: flex;
    flex-direction: row;
    min-height: 100vh;
  }
  #app {
    display: flex;
    flex-direction: row;
    width: 100%;
    min-height: 100vh;
    padding-bottom: 0;
  }
  .desktop-sidebar {
    display: flex;
    flex-direction: column;
    width: 248px;
    background: var(--paper);
    border-right: 1px solid var(--line);
    padding: 16px 12px;
    flex: none;
    position: sticky;
    top: 0;
    height: 100vh;
    box-sizing: border-box;
    z-index: 25;
    transition: width .2s ease, padding .2s ease;
    overflow-y: auto;
    overflow-x: hidden;
  }
  .sidebar-head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
  }
  .desktop-sidebar .brand {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
  }
  .sidebar-collapse-btn {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    color: var(--muted);
  }
  .sidebar-actions {
    display: flex;
    gap: 6px;
    margin-bottom: 14px;
  }
  .sidebar-search-btn {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 8px 10px;
    border-radius: 12px;
    background: var(--sage2);
    border: 1px solid var(--line);
    color: var(--muted);
    font-size: 12.5px;
    font-weight: 600;
    transition: all .15s;
  }
  .sidebar-search-btn:hover { border-color: var(--g2); color: var(--ink); }
  .sidebar-search-btn kbd {
    margin-left: auto;
    font-family: ui-monospace, monospace;
    font-size: 10px;
    padding: 1px 5px;
    border-radius: 5px;
    background: var(--paper);
    border: 1px solid var(--line);
    color: var(--muted);
  }
  .sidebar-plus-btn {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: var(--g);
    color: var(--on-primary, #fff);
    display: grid;
    place-items: center;
    flex-shrink: 0;
  }
  .desktop-sidebar .sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
  .desktop-sidebar .sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 9px 12px;
    border-radius: 12px;
    color: var(--muted);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all .15s;
    white-space: nowrap;
  }
  .desktop-sidebar .sidebar-nav a:hover {
    background: var(--sage2);
    color: var(--g);
  }
  .desktop-sidebar .sidebar-nav a.on {
    background: var(--sage);
    color: var(--g);
    font-weight: 700;
  }
  .sidebar-sub {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 2px 0 4px 20px;
    margin-left: 14px;
    border-left: 1.5px solid var(--line);
  }
  .desktop-sidebar .sidebar-sub a {
    padding: 6px 10px;
    font-size: 12.5px;
    gap: 8px;
  }
  .sidebar-recent {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    gap: 3px;
  }
  .sidebar-sec-lbl {
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: var(--muted);
    padding: 0 8px 4px;
  }
  .sidebar-recent a {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 6px 8px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
    transition: background .15s;
  }
  .sidebar-recent a:hover, .sidebar-recent a.on { background: var(--sage2); color: var(--g); }
  .recent-ini {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--sage);
    color: var(--g);
    display: grid;
    place-items: center;
    font: 700 11px var(--serif);
    flex-shrink: 0;
  }
  .recent-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .desktop-sidebar .sidebar-foot {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .sidebar-mode-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 10px;
    background: var(--sage2);
    color: var(--ink);
    font-size: 12.5px;
    font-weight: 600;
    width: 100%;
    transition: background .15s;
  }
  .sidebar-mode-btn:hover { background: var(--sage); }
  .sidebar-badges { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }

  /* Collapsed Sidebar Rail */
  body.sidebar-collapsed .desktop-sidebar { width: 76px; padding: 16px 8px; }
  body.sidebar-collapsed .sidebar-head { flex-direction: column; }
  body.sidebar-collapsed .desktop-sidebar .brand > div,
  body.sidebar-collapsed .sidebar-sub,
  body.sidebar-collapsed .sidebar-sec-lbl,
  body.sidebar-collapsed .recent-name,
  body.sidebar-collapsed .sidebar-search-btn span,
  body.sidebar-collapsed .sidebar-search-btn kbd,
  body.sidebar-collapsed .sidebar-nav a span,
  body.sidebar-collapsed .sidebar-nav .nav-badge,
  body.sidebar-collapsed .sidebar-mode-btn span,
  body.sidebar-collapsed .sidebar-badges,
  body.sidebar-collapsed .kv-brand-footer { display: none; }
  body.sidebar-collapsed .sidebar-actions { flex-direction: column; }
  body.sidebar-collapsed .sidebar-search-btn,
  body.sidebar-collapsed .sidebar-plus-btn,
  body.sidebar-collapsed .sidebar-nav a,
  body.sidebar-collapsed .sidebar-recent a,
  body.sidebar-collapsed .sidebar-mode-btn { justify-content: center; padding-inline: 0; width: 100%; }

  .app-main-wrap {
    flex: 1;
    min-width: 0;
    max-width: 820px;
    margin: 0 auto;
    padding: 54px 20px 24px;
    box-sizing: border-box;
  }
  .app-main-wrap .top {
    border-radius: 18px;
    margin-bottom: 6px;
    border: 1px solid var(--line);
  }
  /* Hide fixed mobile bottom nav on desktop */
  .nav {
    display: none !important;
  }
}

/* Breadcrumbs */
.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 2px;
}
.breadcrumbs a:hover { color: var(--g); text-decoration: underline; }
.breadcrumbs .crumb-cur { color: var(--ink); font-weight: 700; }
.breadcrumbs-bar { padding-bottom: 0; margin-bottom: -6px; }

/* Command Palette & Quick Action Grid */
.cmd-back {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 20, .52);
  backdrop-filter: blur(4px);
  z-index: 140;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: min(12vh, 96px) 16px 24px;
  animation: fade .14s ease both;
}
.cmd-box {
  width: min(560px, 100%);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 24px 60px -12px rgba(0, 0, 0, .38);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.cmd-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}
.cmd-input {
  flex: 1;
  border: 0 !important;
  background: transparent !important;
  padding: 4px 0 !important;
  font-size: 15px;
  color: var(--ink);
}
.cmd-esc {
  font-family: ui-monospace, monospace;
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 6px;
  background: var(--sage2);
  color: var(--muted);
  border: 1px solid var(--line);
}
.cmd-list {
  max-height: 360px;
  overflow-y: auto;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.cmd-group {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--muted);
  padding: 8px 10px 3px;
}
.cmd-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 10px;
  border-radius: 12px;
  text-align: left;
  transition: background .1s;
}
.cmd-item:hover, .cmd-item.sel { background: var(--sage2); color: var(--g); }
.cmd-ico {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--sage);
  color: var(--g);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.cmd-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.cmd-txt b { font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cmd-txt small { font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cmd-foot {
  display: flex;
  justify-content: space-between;
  padding: 8px 14px;
  border-top: 1px solid var(--line);
  background: var(--sage2);
  font-size: 11.5px;
}

.quick-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
@media (max-width: 440px) { .quick-grid { grid-template-columns: 1fr; } }
.quick-tile {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  border-radius: 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  text-align: left;
  transition: transform .12s, border-color .15s;
}
.quick-tile:hover { border-color: var(--g2); transform: translateY(-1px); }
.quick-tile-ico {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--sage);
  color: var(--g);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.quick-tile-txt { display: flex; flex-direction: column; gap: 1px; }
.quick-tile-txt b { font-size: 14px; }
.quick-tile-txt small { font-size: 11.5px; line-height: 1.25; }

/* Feature additions: Progress Photos, Habits, Micros, Intake, Clinical PDF */
.three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.micro-strip { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.pill { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 99px; font-size: .74rem; font-weight: 600; background: var(--sage2, #f0f4ea); color: var(--g, #1f5b46); border: 1px solid var(--line, #e7eadf); }
.pill.kcal { background: #e8f5ee; color: #1f5b46; border-color: #c7e4d3; }
.pill.p { background: #eef2ff; color: #3730a3; border-color: #d7defe; }
.pill.c { background: #fef9c3; color: #854d0e; border-color: #fde68a; }
.pill.f { background: #fee2e2; color: #991b1b; border-color: #fecaca; }

.ba-stage { position: relative; width: 100%; height: 340px; border-radius: 16px; overflow: hidden; background: #141a16; user-select: none; }
.ba-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba-divider { position: absolute; top: 0; bottom: 0; width: 2px; background: #fff; box-shadow: 0 0 8px rgba(0,0,0,.4); transform: translateX(-1px); pointer-events: none; }
.ba-handle { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 32px; height: 32px; border-radius: 50%; background: var(--g, #1f5b46); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; box-shadow: 0 2px 8px rgba(0,0,0,.3); border: 2px solid #fff; }
.ba-tag { position: absolute; bottom: 10px; padding: 3px 9px; border-radius: 99px; font-size: 11px; font-weight: 700; background: rgba(0,0,0,.62); color: #fff; }
.ba-tag.left { left: 10px; }
.ba-tag.right { right: 10px; }
.ba-privacy-blur { position: absolute; top: 4%; left: 50%; transform: translateX(-50%); width: 32%; height: 22%; border-radius: 50%; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); background: rgba(255,255,255,.15); pointer-events: none; }

.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.photo-tile { background: var(--bg, #f7f4ec); border-radius: 12px; padding: 6px; border: 1px solid var(--line, #e7eadf); }
.photo-thumb-wrap { position: relative; width: 100%; aspect-ratio: 3/4; overflow: hidden; border-radius: 8px; background: #111; }
.photo-thumb-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }

.habit-pills { display: flex; gap: 6px; flex-wrap: wrap; }
.meal-thumb-row { display: flex; align-items: center; gap: 10px; padding: 8px 14px 12px; }
.meal-thumb { width: 58px; height: 58px; border-radius: 10px; object-fit: cover; border: 1px solid var(--line); }

.intake-shell { max-width: 680px; margin: 0 auto; padding: 14px 0 40px; }
.intake-head { margin-bottom: 14px; }
.eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--g, #1f5b46); }
.url-box { background: var(--bg, #f7f4ec); padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); font-family: monospace; font-size: .8rem; word-break: break-all; }

/* print */
#print-area { display: none; }
@media print {
  html, body { background: #fff !important; box-shadow: none; max-width: none; }
  #app, #toast, .sheet-back { display: none !important; }
  #print-area { display: block; font: 11.5px/1.42 var(--sans); color: #161c18; padding: 6mm 8mm; }
  .p-head { display: flex; justify-content: space-between; align-items: flex-start; border-bottom: 2.5px solid #1f5b46; padding-bottom: 10px; margin-bottom: 12px; gap: 16px; }
  .p-brand-wrap { display: flex; align-items: center; gap: 12px; }
  .p-logo { width: 48px; height: 48px; object-fit: contain; border-radius: 8px; }
  .p-head h1 { color: #1f5b46; font-size: 20px; margin: 0 0 2px; font-family: var(--serif); }
  .p-sub, .p-contact { font-size: 10.5px; color: #526058; margin: 1px 0; }
  .p-client { background: #f4f7f2; border: 1px solid #d5e2d9; border-radius: 8px; padding: 8px 12px; text-align: right; min-width: 180px; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .p-client p { margin: 2px 0 0; }
  .p-summary { display: grid; grid-template-columns: 1.4fr 1fr; gap: 10px; margin-bottom: 12px; break-inside: avoid; }
  .p-sum-box { border: 1px solid #d9e2dc; border-radius: 8px; padding: 8px 10px; background: #fbfdf9; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .p-sum-box small { display: block; font-size: 9px; font-weight: 700; letter-spacing: .06em; color: #5d6b63; margin-bottom: 6px; }
  .p-sum-grid { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 11px; }
  .p-macros-bar { display: flex; justify-content: space-between; gap: 6px; }
  .p-macros-bar > div { text-align: center; }
  .p-macros-bar b { display: block; font-size: 13px; color: #1f5b46; }
  .p-macros-bar span { font-size: 9.5px; color: #5d6b63; }
  .p-sec-title { font-size: 13.5px; color: #1f5b46; border-bottom: 1.5px solid #1f5b46; padding-bottom: 3px; margin: 10px 0 8px; font-family: var(--serif); }
  .p-day { width: 100%; border-collapse: collapse; margin-bottom: 9px; break-inside: avoid; }
  .p-day th { background: #1f5b46; color: #fff; text-align: left; padding: 4px 8px; font-size: 11px; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .p-day th:last-child { text-align: right; }
  .p-day td { padding: 4px 8px; border-bottom: 1px solid #e5eae6; vertical-align: top; }
  .p-day .pm { width: 20%; font-weight: 700; color: #1f5b46; }
  .p-day .pk { width: 12%; text-align: right; white-space: nowrap; font-weight: 600; }
  .p-note { margin: 8px 0 10px; padding: 8px 10px; background: #f7edbc; border-left: 3px solid #1f5b46; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .p-grocery-page { margin-top: 14px; page-break-before: auto; break-inside: avoid; }
  .p-aisles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .p-aisle-card { border: 1px solid #e2e8e3; border-radius: 6px; padding: 7px 9px; break-inside: avoid; }
  .p-aisle-card h4 { margin: 0 0 4px; font-size: 11px; color: #1f5b46; }
  .p-aisle-card ul { list-style: none; margin: 0; padding: 0; font-size: 10.5px; }
  .p-aisle-card li { display: flex; justify-content: space-between; gap: 6px; padding: 1px 0; }
  .p-chk { margin-right: 4px; }
  .p-iname { flex: 1; }
  .p-iqty { color: #526058; font-weight: 600; white-space: nowrap; }
  .p-footer { display: flex; justify-content: space-between; margin-top: 14px; padding-top: 8px; border-top: 1px solid #d7dfda; font-size: 10px; color: #5b6961; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
