:root {
  --page: #f5f6f4;
  --surface: #ffffff;
  --ink: #191919;
  --ink-2: #5f6368;
  --line: #e3e5e1;
  --brand: #146c54;
  --brand-dark: #0e5240;
  --good: #006c10;   --good-bg: #e3f6e5;
  --warn: #7a5200;   --warn-bg: #fdf0cf;
  --bad: #a82426;    --bad-bg: #fbe3e3;
  --info: #17549c;   --info-bg: #e2eefc;
  /* chart: income / expense */
  --series-1: #257de0;
  --series-2: #f47230;
  --grid: #e7e7e7;
  --axis: #c2c2c2;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; font: 15px/1.5 system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--ink); background: var(--page); }
a { color: var(--brand); }
h1 { font-size: 1.45rem; margin: 0; }
h2 { font-size: 1.08rem; margin: 0 0 .6rem; }
h3 { font-size: .98rem; margin: 1.2rem 0 .5rem; }
.muted { color: var(--ink-2); }
p.muted { margin: .2rem 0 .8rem; }
.empty { color: var(--ink-2); margin: .4rem 0; }
.loss { color: var(--bad); }
.desc { margin: -.4rem 0 1rem; max-width: 75ch; }

/* layout */
.topbar { position: fixed; inset: 0 0 auto 0; height: 56px; display: flex; align-items: center; gap: .8rem; padding: 0 1rem; background: var(--brand-dark); color: #fff; z-index: 20; }
.topbar a { color: #fff; text-decoration: none; }
.brand { font-weight: 700; font-size: 1.05rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.spacer { flex: 1; }
.sidebar { position: fixed; top: 56px; bottom: 0; left: 0; width: 210px; overflow-y: auto; background: var(--surface); border-right: 1px solid var(--line); padding: .6rem 0; z-index: 15; }
.sidebar a { display: block; padding: .6rem 1.1rem; color: var(--ink); text-decoration: none; border-left: 3px solid transparent; }
.sidebar a:hover { background: var(--page); }
.sidebar a.active { border-left-color: var(--brand); background: #e8f2ee; font-weight: 600; }
.app main { margin-left: 210px; padding: 76px 1.4rem 2rem; max-width: 1480px; }
.bare main { padding: 8vh 1rem; }

.page-head { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: space-between; align-items: flex-start; margin-bottom: 1rem; }
.page-head p { margin: .1rem 0 0; }
.actions { display: flex; flex-wrap: wrap; gap: .4rem; }
.section { margin: 1rem 0 .5rem; }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 1.1rem 1.2rem; margin: 0 0 1rem; min-width: 0; }
.card.narrow { max-width: 420px; margin-inline: auto; }
.card.narrow-wide { max-width: 720px; }
.card-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .6rem; margin-bottom: .5rem; }
.card-head h2 { margin: 0; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 0 1rem; align-items: start; }

.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: .8rem; margin-bottom: 1rem; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: .8rem 1rem; display: flex; flex-direction: column; }
.stat-label { color: var(--ink-2); font-size: .85rem; }
.stat-value { font-size: 1.5rem; font-weight: 650; overflow-wrap: anywhere; }
.stat-hint { color: var(--ink-2); font-size: .8rem; }

/* tables */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .92rem; }
th, td { text-align: left; padding: .5rem .6rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--ink-2); font-weight: 600; font-size: .82rem; white-space: nowrap; }
.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
tfoot td { font-weight: 700; }
.row-actions { text-align: right; white-space: nowrap; }
.edit-table td { padding: .35rem .3rem; vertical-align: middle; }
.edit-table input, .edit-table select { min-width: 110px; }
.edit-table .short { min-width: 80px; }
.stock-hint { display: block; color: var(--ink-2); font-size: .78rem; }
.stock-hint.loss { color: var(--bad); font-weight: 600; }
.stock-hint:empty { display: none; }
.narrow-table { max-width: 560px; }

/* forms */
label { display: flex; flex-direction: column; gap: .25rem; font-size: .85rem; font-weight: 600; color: var(--ink-2); }
label small { font-weight: 400; }
input, select, textarea { font: inherit; color: var(--ink); font-weight: 400; padding: .45rem .6rem; border: 1px solid #c9ccc6; border-radius: 7px; background: #fff; width: 100%; }
input:focus, select:focus, textarea:focus, .btn:focus-visible, a:focus-visible, summary:focus-visible { outline: 2px solid var(--series-1); outline-offset: 1px; }
input[type=checkbox] { width: auto; }
input.short, select.short { width: 8rem; }
input[readonly] { background: #eef0ec; color: var(--ink-2); }
.form { display: flex; flex-direction: column; gap: .9rem; max-width: 680px; }
.form.wide { max-width: none; }
.form.compact { gap: .5rem; margin: .5rem 0; min-width: 210px; }
.row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: .8rem; align-items: start; }
.filters { display: flex; flex-wrap: wrap; gap: .7rem; align-items: flex-end; margin-bottom: 1rem; }
.filters label { min-width: 150px; }
.filters > span { padding-bottom: .5rem; }
label.check { flex-direction: row; align-items: center; gap: .4rem; font-weight: 400; color: var(--ink); min-width: 0; }
.filters label.check { padding-bottom: .5rem; }
.inline-label { flex-direction: row; align-items: center; margin-bottom: .6rem; }
.checks { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; align-items: center; }
.checks > span { font-size: .85rem; font-weight: 600; color: var(--ink-2); width: 100%; }
fieldset.entry { margin: 0; display: flex; flex-direction: column; gap: .8rem; }
fieldset.entry legend { font-weight: 700; padding: 0 .4rem; }
.totals { font-size: 1.05rem; margin: .8rem 0; }
.totals strong { margin-right: 1.2rem; }
form.inline { display: inline; }
.inline-form { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.inline-form input:not([type=checkbox]) { width: 16rem; max-width: 100%; }
.price-row { border-top: 1px solid var(--line); padding: .8rem 0 .6rem; }
.price-row .filters { margin-bottom: .5rem; }
.price-actions { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.manage-list { list-style: none; padding: 0; margin: 0; }
.manage-list li { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; padding: .45rem 0; border-top: 1px solid var(--line); }

.btn { display: inline-block; font: inherit; font-size: .9rem; font-weight: 600; padding: .45rem .9rem; border: 1px solid #c9ccc6; border-radius: 7px; background: #fff; color: var(--ink); text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--page); }
.btn-sm { padding: .2rem .6rem; font-size: .8rem; }
.btn-primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); }
.btn-danger { color: var(--bad); border-color: #e5b8b9; }
/* Buttons that sit together are one size, whether they are links or small action forms. */
.actions form { display: flex; }
.actions .btn, .price-actions .btn { display: inline-flex; align-items: center; font-size: .9rem; padding: .45rem .9rem; }
.topbar .btn { background: transparent; border-color: rgba(255,255,255,.5); color: #fff; }

.badge { display: inline-block; font-size: .75rem; font-weight: 600; padding: .05rem .5rem; border-radius: 99px; background: #eceeea; color: var(--ink-2); white-space: nowrap; vertical-align: middle; }
.badge-good { background: var(--good-bg); color: var(--good); }
.badge-warn { background: var(--warn-bg); color: var(--warn); }
.badge-bad { background: var(--bad-bg); color: var(--bad); }
.badge-info { background: var(--info-bg); color: var(--info); }
.alert { padding: .7rem 1rem; border-radius: 8px; margin-bottom: .8rem; }
.alert ul { margin: .3rem 0 0; padding-left: 1.2rem; }
.alert-good { background: var(--good-bg); color: var(--good); }
.alert-warn { background: var(--warn-bg); color: var(--warn); }
.alert-bad { background: var(--bad-bg); color: var(--bad); }
.alert a { color: inherit; font-weight: 700; }

.tabs { display: flex; gap: .2rem; overflow-x: auto; border-bottom: 1px solid var(--line); margin-bottom: 1rem; }
.tabs a { padding: .55rem .9rem; text-decoration: none; color: var(--ink-2); border-bottom: 3px solid transparent; white-space: nowrap; }
.tabs a.active { color: var(--ink); font-weight: 600; border-bottom-color: var(--brand); }

.pager { display: flex; gap: .8rem; align-items: center; justify-content: flex-end; margin-top: .8rem; }
.facts { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: .3rem 1.2rem; margin: 0; }
.facts dt { color: var(--ink-2); }
.facts dd { margin: 0; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1rem; }
.product-card { text-decoration: none; color: var(--ink); margin: 0; }
.product-card:hover { border-color: var(--brand); }
.product-card h2 { margin: .7rem 0 0; }
.product-img { height: 130px; border-radius: 8px; background: #e8f2ee; display: flex; align-items: center; justify-content: center; overflow: hidden; font-size: 2.6rem; font-weight: 700; color: var(--brand); }
.product-img img { width: 100%; height: 100%; object-fit: contain; }

.gallery { display: flex; flex-wrap: wrap; gap: .8rem; }
.tile { width: 170px; margin: 0; border: 1px solid var(--line); border-radius: 8px; padding: .5rem; text-align: center; }
.tile a { display: flex; height: 130px; align-items: center; justify-content: center; background: var(--page); border-radius: 6px; overflow: hidden; text-decoration: none; }
.tile img { max-width: 100%; max-height: 100%; }
.pdf-icon { font-weight: 800; color: var(--bad); border: 2px solid currentColor; border-radius: 6px; padding: .8rem .6rem; }
.tile figcaption { font-size: .78rem; margin: .35rem 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

details summary { cursor: pointer; color: var(--brand); font-size: .88rem; margin-top: .5rem; }

/* chart */
.legend { display: flex; gap: 1rem; font-size: .85rem; color: var(--ink-2); }
.swatch { display: inline-block; width: 11px; height: 11px; border-radius: 3px; margin-right: .35rem; }
.s1 { background: var(--series-1); }
.s2 { background: var(--series-2); }
.chart { position: relative; height: 290px; }
.chart svg { display: block; overflow: visible; }
.chart text { font-size: 12px; fill: var(--ink-2); font-variant-numeric: tabular-nums; }
.chart .grid { stroke: var(--grid); stroke-width: 1; }
.chart .axis { stroke: var(--axis); stroke-width: 1; }
.chart .bar-income { fill: var(--series-1); }
.chart .bar-expense { fill: var(--series-2); }
.chart .hit { fill: transparent; outline: none; }
.chart .hit:hover, .chart .hit:focus { fill: rgba(0, 0, 0, .05); }
.tooltip { position: absolute; pointer-events: none; background: #fff; border: 1px solid var(--axis); border-radius: 8px; padding: .5rem .7rem; font-size: .84rem; box-shadow: 0 4px 14px rgba(0,0,0,.12); white-space: nowrap; z-index: 5; }
.tooltip div { display: flex; gap: 1.2rem; justify-content: space-between; }
.tooltip b { font-variant-numeric: tabular-nums; }

/* Long names and numbers wrap instead of pushing the page sideways. */
main { overflow-wrap: break-word; }
h1, h2, h3, .facts dd, .alert, .muted, .desc { overflow-wrap: anywhere; }
.page-head > div, .card-head > *, .grid-2 > *, .row > *, .stat { min-width: 0; }

.icon { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
/* Parts of the phone app layout, not shown on a computer. */
.appbar-btn, .appbar-title, .avatar, .bottomnav, .sheet, .quick-home, .filter-toggle, .app-icon { display: none; }

/* Touch screens: 16px text stops iPhones zooming into a field, and controls are big enough to tap. */
@media (max-width: 860px), (pointer: coarse) {
  input, select, textarea, .edit-table input, .edit-table select { font-size: 16px; }
  input:not([type=checkbox]), select { min-height: 46px; min-width: 0; }
  input[type=date] { -webkit-appearance: none; appearance: none; display: block; }
  input[type=date]::-webkit-date-and-time-value { text-align: left; }
  input[type=checkbox] { width: 22px; height: 22px; flex: none; accent-color: var(--brand); }
  label.check { min-height: 42px; }
  .btn, .btn-sm, .actions .btn, .price-actions .btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; min-height: 44px; }
  details summary { padding: .6rem 0; }
}

/* ============================================================
   Phones and small tablets: an app-style layout
   ============================================================ */
@media (max-width: 860px) {
  :root { --nav-h: 64px; --radius: 16px; --shadow: 0 1px 2px rgba(16,40,32,.07), 0 4px 16px rgba(16,40,32,.06); --page: #eef2f0; --nav-space: calc(var(--nav-h) + env(safe-area-inset-bottom, 0px)); }
  html { -webkit-text-size-adjust: 100%; }
  body { -webkit-tap-highlight-color: transparent; }
  main { overflow-wrap: anywhere; }
  h1 { font-size: 1.3rem; }

  /* ---------- top app bar ---------- */
  .topbar { height: calc(56px + env(safe-area-inset-top, 0px)); padding: env(safe-area-inset-top, 0px) .75rem 0; gap: .35rem; box-shadow: 0 2px 10px rgba(0,0,0,.12); }
  .topbar .brand, .topbar .who, .topbar form, .sidebar { display: none; }
  .appbar-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-left: -.5rem; border-radius: 50%; }
  .appbar-btn:active { background: rgba(255,255,255,.18); }
  .appbar-title { display: block; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 1.12rem; font-weight: 700; }
  .avatar { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.18); font-weight: 700; }
  .app main { margin: 0; max-width: none; padding: calc(68px + env(safe-area-inset-top, 0px)) .75rem calc(var(--nav-space) + 1.5rem); }
  .dup-title .page-head h1 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

  /* ---------- bottom tab bar ---------- */
  .bottomnav { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; height: var(--nav-space); padding-bottom: env(safe-area-inset-bottom, 0px); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -4px 18px rgba(0,0,0,.06); }
  .bottomnav > * { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 0; border: 0; background: none; font: 600 .72rem/1.2 system-ui, -apple-system, sans-serif; color: var(--ink-2); text-decoration: none; cursor: pointer; }
  .bottomnav .icon { width: 56px; height: 30px; padding: 3px 16px; border-radius: 999px; }
  .bottomnav .active { color: var(--brand); }
  .bottomnav .active .icon { background: #d8ede4; }
  .bottomnav .add { color: var(--brand); }
  .bottomnav .add .icon { width: 52px; height: 52px; margin-top: -24px; padding: 13px; border: 3px solid #fff; border-radius: 50%; background: var(--brand); color: #fff; stroke-width: 2.4; box-shadow: 0 6px 16px rgba(20,108,84,.38); }

  /* ---------- slide-up sheets ---------- */
  .sheet { display: block; position: fixed; inset: 0; z-index: 40; }
  .sheet-backdrop { position: absolute; inset: 0; width: 100%; border: 0; background: rgba(8,24,18,.48); }
  .sheet-panel { position: absolute; left: 0; right: 0; bottom: 0; max-height: 85vh; max-height: 85dvh; overflow-y: auto; overscroll-behavior: contain; background: #fff; border-radius: 22px 22px 0 0; padding: .4rem 1rem calc(1rem + env(safe-area-inset-bottom, 0px)); animation: sheet-up .22s ease-out; outline: none; }
  .sheet-panel::before { content: ""; display: block; width: 40px; height: 4px; margin: .2rem auto .3rem; border-radius: 4px; background: #d5dbd8; }
  .sheet-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .4rem; }
  .sheet-head h2 { margin: 0; font-size: 1.15rem; }
  .sheet-x { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-right: -.5rem; border: 0; border-radius: 50%; background: none; color: var(--ink-2); cursor: pointer; }
  body.sheet-open { overflow: hidden; }
  .profile { display: flex; align-items: center; gap: .75rem; padding: .7rem; margin-bottom: .7rem; border-radius: 14px; background: var(--page); color: var(--ink); text-decoration: none; }
  .profile small { display: block; color: var(--ink-2); }
  .avatar-lg { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; background: var(--brand); color: #fff; font-size: 1.2rem; font-weight: 700; }
  .btn-block { width: 100%; margin-top: .9rem; }

  /* ---------- icon tiles ---------- */
  .tile-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(70px, 1fr)); gap: .35rem .15rem; }
  .tile-link { display: flex; flex-direction: column; align-items: center; gap: .4rem; padding: .65rem .2rem; border-radius: 14px; color: var(--ink); font-size: .76rem; font-weight: 600; line-height: 1.25; text-align: center; text-decoration: none; }
  .tile-link .icon { width: 50px; height: 50px; padding: 13px; border-radius: 16px; background: #e2f1ea; color: var(--brand); }
  .tile-link.active { background: var(--page); }
  .card.quick-home { display: block; padding: .5rem .3rem; }
  .page-dashboard .page-head .actions { display: none; }

  /* ---------- cards, buttons and fields ---------- */
  .card, .stat { border: 0; border-radius: var(--radius); box-shadow: var(--shadow); }
  .card { padding: 1rem .85rem; margin-bottom: .75rem; }
  .alert { border-radius: 14px; }
  .btn { border-radius: 12px; text-align: center; }
  .btn-primary { box-shadow: 0 3px 10px rgba(20,108,84,.25); }
  input, select, textarea { border-radius: 12px; border-color: #d2dad6; background-color: #fbfcfb; }
  .btn:active, .tile-link:active, .product-card:active, .bottomnav > :active { transform: scale(.96); }

  .nav-back, .actions .btn.nav-back { display: none; }
  .page-head { margin-bottom: .75rem; }
  .page-head > div:first-child { flex: 1 1 100%; }
  .actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(135px, 1fr)); width: 100%; }
  .actions:empty { display: none; }
  .actions .btn { width: 100%; }

  /* tabs as swipeable pills */
  .tabs { gap: .45rem; margin: 0 -.75rem .75rem; padding: 0 .75rem .35rem; border: 0; scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .tabs a { display: inline-flex; align-items: center; min-height: 42px; padding: 0 1rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
  .tabs a.active { border-color: var(--brand); background: var(--brand); color: #fff; }

  /* stat cards share each row, and a card left alone on a row fills it */
  .tiles { display: flex; flex-wrap: wrap; gap: .55rem; }
  .stat { flex: 1 1 135px; padding: .75rem; }
  .stat-value { font-size: 1.2rem; }
  .stat-wide { flex-basis: 100%; }

  /* list filters fold away behind one button */
  .filter-toggle { display: inline-flex; width: 100%; margin-bottom: .75rem; }
  .filters.collapsed { display: none; }
  .filter-toggle + .filters { padding: .9rem; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
  .filters label { flex: 1 1 140px; }
  .filters > .btn { flex: 1 1 120px; }
  .filters > span { flex: 1 1 100%; padding: 0; }

  /* the main save button of a long form stays within reach */
  .sticky-save { position: sticky; bottom: calc(var(--nav-space) + .5rem); z-index: 5; }
  div.sticky-save { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 -.4rem; padding: .5rem .4rem; border-radius: 14px; background: rgba(255,255,255,.95); box-shadow: 0 -2px 14px rgba(0,0,0,.08); }
  div.sticky-save .btn { flex: 1 1 130px; }
  button.sticky-save { width: 100%; }

  .inline-form { flex: 1 1 100%; }
  .inline-form input:not([type=checkbox]) { width: 100%; }
  input.short, select.short { width: 100%; }
  .inline-label { flex-direction: column; align-items: stretch; }
  .badge { white-space: normal; max-width: 100%; }
  .pager { justify-content: space-between; }

  .product-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .65rem; }
  .product-card { padding: .65rem; }
  .product-card h2 { font-size: .98rem; }
  .product-img { height: 104px; }
  .product-card .facts { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .product-card .facts dt { font-size: .72rem; margin-top: .3rem; }
  .product-card .facts dd { font-weight: 600; }
  .tile { width: calc(50% - .4rem); }

  /* sign-in screens */
  .bare main { padding: calc(8vh + env(safe-area-inset-top, 0px)) 1rem 2rem; }
  .app-icon { display: block; margin: 0 auto .8rem; border-radius: 18px; }
  .bare h1 { text-align: center; }
  .bare .muted { text-align: center; }

  /* Tables become one card per row. app.js adds .stack and each cell's column name. */
  table.stack, table.stack > tbody, table.stack > tfoot { display: block; max-width: none; }
  table.stack > thead { display: none; }
  table.stack tr { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: .5rem .8rem; margin-bottom: .6rem; padding: .75rem; border: 1px solid #e1e7e4; border-radius: 14px; background: #fff; }
  table.stack td { display: block; min-width: 0; padding: 0; border: 0; text-align: left; white-space: normal; }
  table.stack td[data-label]::before { content: attr(data-label); display: block; font-size: .72rem; font-weight: 600; color: var(--ink-2); }
  table.stack td:first-child, table.stack td.span2, table.stack td.row-actions { grid-column: 1 / -1; }
  table.stack td:first-child { font-weight: 600; }
  table.stack td.row-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
  table.stack td.blank { display: none; }
  table.stack.edit-table input, table.stack.edit-table select { min-width: 0; width: 100%; font-weight: 400; }
  /* The remove button sits at the bottom right of its card. */
  table.stack.edit-table td:last-child { display: flex; grid-column: 1 / -1; justify-content: flex-end; }
}

@media (max-width: 600px) {
  .row { grid-template-columns: minmax(0, 1fr); }
}

@keyframes sheet-up { from { transform: translateY(100%); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .sheet-panel { animation: none; }
  .btn:active, .tile-link:active, .product-card:active, .bottomnav > :active { transform: none; }
}
