/* Dispatch Duck — warehouse workwear: concrete floor, navy ink, duck yellow */
@font-face { font-family: 'Barlow'; font-weight: 400; font-display: swap; src: url(/fonts/barlow-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Barlow'; font-weight: 500; font-display: swap; src: url(/fonts/barlow-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: 'Barlow'; font-weight: 600; font-display: swap; src: url(/fonts/barlow-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: 'Barlow'; font-weight: 700; font-display: swap; src: url(/fonts/barlow-latin-700-normal.woff2) format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-weight: 600; font-display: swap; src: url(/fonts/barlow-condensed-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-weight: 700; font-display: swap; src: url(/fonts/barlow-condensed-latin-700-normal.woff2) format('woff2'); }

:root {
  --floor: #E7EAEE;      /* concrete */
  --surface: #FFFFFF;
  --navy: #1B2B44;       /* ink + chrome */
  --navy-2: #2A3E5E;
  --steel: #5E6B7D;      /* secondary text */
  --line: #CBD2DB;
  --duck: #F5C518;       /* primary action */
  --duck-deep: #D9A800;
  --go: #23774A;         /* listed / profit */
  --stop: #B42318;       /* loss / delete */
  --amber: #B45309;      /* ended / attention */
  --radius-s: 4px;
  --radius-m: 8px;
  --cond: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --body: 'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --rail: 208px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--floor); color: var(--navy);
  font: 400 16px/1.45 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--navy-2); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--duck-deep); outline-offset: 2px; }
.hidden { display: none !important; }
.muted { color: var(--steel); }
.num { font-variant-numeric: tabular-nums; }
.pos { color: var(--go); }
.neg { color: var(--stop); }

h1, h2, h3 { font-family: var(--cond); font-weight: 700; line-height: 1.05; margin: 0; letter-spacing: 0.005em; }
h1 { font-size: 2rem; }
h2 { font-size: 1.375rem; }
h3 { font-size: 1.125rem; }

/* ---------- shell ---------- */
.rail {
  position: fixed; inset: 0 auto 0 0; width: var(--rail); background: var(--navy); color: #fff;
  display: flex; flex-direction: column; padding: 18px 12px; z-index: 20;
}
.brand { display: flex; align-items: center; gap: 10px; padding: 4px 8px 22px; text-decoration: none; color: #fff; }
.brand svg { width: 34px; height: 34px; flex: none; }
.brand span { font-family: var(--cond); font-weight: 700; font-size: 1.45rem; line-height: 0.9; }
.nav { display: flex; flex-direction: column; gap: 2px; }
.nav a {
  display: flex; align-items: center; gap: 12px; padding: 10px 10px; border-radius: var(--radius-s);
  color: #C9D3E1; text-decoration: none; font-weight: 500;
}
.nav a svg { width: 20px; height: 20px; flex: none; }
.nav a:hover { background: var(--navy-2); color: #fff; }
.nav a.on { background: var(--duck); color: var(--navy); font-weight: 600; }
.nav .badge { margin-left: auto; background: rgba(255,255,255,.14); border-radius: 10px; padding: 0 8px; font-size: .8rem; }
.nav a.on .badge { background: rgba(27,43,68,.15); }
.rail .who { margin-top: auto; padding: 10px; font-size: .85rem; color: #9FB0C6; }
.rail .who button { background: none; border: 0; color: #fff; text-decoration: underline; padding: 0; cursor: pointer; }

.main { margin-left: var(--rail); min-height: 100vh; }

/* scan bar — the one loud element */
.scanbar {
  position: sticky; top: 0; z-index: 15; background: var(--navy); padding: 12px 24px;
  display: flex; gap: 10px; align-items: center; border-bottom: 4px solid var(--duck);
}
.scanbar form { flex: 1; display: flex; position: relative; max-width: 760px; }
.scanbar .ready {
  position: absolute; left: 14px; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%;
  background: #6B7C93;
}
.scanbar.armed .ready { background: var(--duck); box-shadow: 0 0 0 3px rgba(245,197,24,.25); }
.scanbar.hit .ready { animation: hit .6s ease-out; }
@keyframes hit { 0% { transform: scale(1); background: #fff; } 40% { transform: scale(1.9); } 100% { transform: scale(1); } }
.scanbar input {
  flex: 1; min-width: 0; height: 46px; border: 0; border-radius: var(--radius-s) 0 0 var(--radius-s);
  padding: 0 14px 0 34px; background: #fff; font-size: 1.05rem;
}
.scanbar input::placeholder { color: #8391A5; }
.scanbar .go {
  height: 46px; border: 0; padding: 0 18px; background: var(--duck); color: var(--navy); font-weight: 700;
  border-radius: 0 var(--radius-s) var(--radius-s) 0; cursor: pointer;
}
.scanbar .cam {
  height: 46px; width: 50px; border-radius: var(--radius-s); border: 2px solid #3E557A; background: transparent;
  color: #fff; display: grid; place-items: center; cursor: pointer; flex: none;
}
.scanbar .cam svg { width: 24px; height: 24px; }
.scanbar .hint { color: #9FB0C6; font-size: .85rem; white-space: nowrap; }

.page { padding: 24px; max-width: 1180px; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.page-head p { margin: 4px 0 0; color: var(--steel); }

.tabbar { display: none; }

/* ---------- controls ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 0 16px;
  border-radius: var(--radius-s); border: 2px solid var(--navy); background: var(--surface); color: var(--navy);
  font-weight: 600; cursor: pointer; text-decoration: none; white-space: nowrap;
}
.btn:hover { background: #F2F4F7; }
.btn svg { width: 18px; height: 18px; }
.btn.primary { background: var(--duck); border-color: var(--duck); }
.btn.primary:hover { background: var(--duck-deep); border-color: var(--duck-deep); }
.btn.dark { background: var(--navy); color: #fff; }
.btn.dark:hover { background: var(--navy-2); }
.btn.quiet { border-color: transparent; background: transparent; }
.btn.quiet:hover { background: rgba(27,43,68,.07); }
.btn.danger { border-color: var(--stop); color: var(--stop); }
.btn.small { min-height: 34px; padding: 0 10px; font-size: .9rem; }
.btn[disabled] { opacity: .5; cursor: progress; }
.btn-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

label.f { display: flex; flex-direction: column; gap: 5px; font-weight: 600; font-size: .9rem; min-width: 0; }
label.f > span.sub { font-weight: 400; color: var(--steel); }
input.t, select.t, textarea.t {
  width: 100%; min-height: 42px; padding: 8px 11px; border: 1.5px solid var(--line); border-radius: var(--radius-s);
  background: #fff; font-weight: 400; font-size: 1rem;
}
textarea.t { min-height: 120px; resize: vertical; line-height: 1.5; }
input.t:focus, select.t:focus, textarea.t:focus { border-color: var(--navy-2); outline: 2px solid rgba(42,62,94,.18); outline-offset: 0; }
.money { position: relative; }
.money::before { content: '$'; position: absolute; left: 11px; top: 50%; transform: translateY(-50%); color: var(--steel); }
.money input.t { padding-left: 22px; }
.lab-row { display: flex; align-items: baseline; gap: 6px; }
.counter { font-weight: 400; font-size: .8rem; color: var(--steel); margin-left: auto; }
.counter.over { color: var(--stop); font-weight: 600; }

.grid { display: grid; gap: 14px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.span2 { grid-column: span 2; }
.span-all { grid-column: 1 / -1; }

/* panels: plain white sheets, hierarchy by heading not shadow */
.panel { background: var(--surface); border-radius: var(--radius-m); padding: 18px; margin-bottom: 16px; border: 1px solid #D9DEE5; }
.panel > h2 { margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.panel > h2 .aside { margin-left: auto; font-family: var(--body); font-size: .9rem; font-weight: 500; color: var(--steel); }

/* thermal label chip for SKUs */
.sku {
  display: inline-block; font-family: var(--cond); font-weight: 700; font-size: .95rem; letter-spacing: .02em;
  background: #fff; color: #000; padding: 1px 7px; border: 1.5px solid #000; border-radius: 2px; white-space: nowrap;
  line-height: 1.35;
}
.sku.big { font-size: 1.5rem; padding: 2px 12px; }

.pill { display: inline-block; padding: 1px 9px; border-radius: 999px; font-size: .8rem; font-weight: 600; background: #E3E7ED; color: var(--navy); white-space: nowrap; }
.pill.listed { background: #DCEFE3; color: var(--go); }
.pill.sold { background: var(--navy); color: #fff; }
.pill.ready { background: #FFF3C4; color: #7A5B00; }
.pill.archived { background: #EEF0F3; color: var(--steel); }
.pill.ended { background: #FDE8D7; color: var(--amber); }

/* channel marks */
.chans { display: inline-flex; gap: 4px; }
.ch { width: 24px; height: 24px; border-radius: 4px; display: grid; place-items: center; font: 700 .72rem/1 var(--body); color: #fff; }
.ch.off { background: transparent !important; border: 1.5px dashed #AEB8C5; color: #AEB8C5; }
.ch.c-ebay { background: #2E5BBA; } .ch.c-poshmark { background: #7F0353; } .ch.c-vinted { background: #077A80; }
.ch.c-mercari { background: #4D51D6; } .ch.c-facebook { background: #1D4ED8; } .ch.c-other { background: #5E6B7D; }
.ch.st-sold { outline: 2px solid var(--navy); outline-offset: 1px; }
.ch.st-ended { opacity: .45; }

/* ---------- home ---------- */
.tally { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); background: var(--surface); border: 1px solid #D9DEE5; border-radius: var(--radius-m); margin-bottom: 16px; }
.tally div { padding: 16px 18px; border-left: 1px solid #E4E8EE; }
.tally div:first-child { border-left: 0; }
.tally b { display: block; font-family: var(--cond); font-weight: 700; font-size: 2rem; line-height: 1; font-variant-numeric: tabular-nums; }
.tally span { color: var(--steel); font-size: .9rem; }
.todo { list-style: none; margin: 0; padding: 0; }
.todo li a { display: flex; align-items: center; gap: 12px; padding: 12px 4px; border-top: 1px solid #E4E8EE; text-decoration: none; color: var(--navy); }
.todo li:first-child a { border-top: 0; }
.todo li a b { font-family: var(--cond); font-size: 1.5rem; min-width: 46px; text-align: right; font-variant-numeric: tabular-nums; }
.todo li a:hover { background: #F6F8FA; }
.todo li a.zero { color: var(--steel); }
.home-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 16px; }
.bars { display: grid; gap: 8px; }
.bars .row { display: grid; grid-template-columns: 140px 1fr 36px; gap: 10px; align-items: center; font-size: .92rem; }
.bars .bar { height: 10px; background: #EEF1F4; border-radius: 5px; overflow: hidden; }
.bars .bar i { display: block; height: 100%; background: var(--navy-2); }

/* ---------- item list ---------- */
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.filters .search { flex: 1 1 260px; }
.filters select.t { width: auto; min-width: 140px; }
.list { background: var(--surface); border-radius: var(--radius-m); border: 1px solid #D9DEE5; overflow: hidden; }
.row-item {
  display: grid; grid-template-columns: 64px minmax(0, 1fr) auto auto 110px; gap: 14px; align-items: center;
  padding: 10px 14px; border-top: 1px solid #E8EBEF; text-decoration: none; color: var(--navy);
}
.row-item:first-child { border-top: 0; }
.row-item:hover { background: #F7F9FB; }
.thumb { width: 64px; height: 64px; border-radius: var(--radius-s); background: #EEF1F4 center/cover no-repeat; display: grid; place-items: center; color: #9AA6B6; }
.thumb svg { width: 26px; height: 26px; }
.row-item .t1 { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row-item .t2 { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: .88rem; color: var(--steel); margin-top: 3px; }
.row-item .price { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.row-item .price small { display: block; font-weight: 500; font-size: .8rem; }
.empty { padding: 40px 20px; text-align: center; color: var(--steel); }
.empty h3 { color: var(--navy); margin-bottom: 6px; }
.more { display: flex; justify-content: center; padding: 14px; }

/* ---------- item editor ---------- */
.ed-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.ed-head .grow { flex: 1; min-width: 200px; }
.ed-head h1 { font-size: 1.6rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ed-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(300px, 1fr); gap: 16px; align-items: start; }
.photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px; }
.ph { position: relative; aspect-ratio: 1; border-radius: var(--radius-s); background: #EEF1F4 center/cover no-repeat; overflow: hidden; }
.ph .cover-tag { position: absolute; left: 6px; top: 6px; background: var(--duck); color: var(--navy); font-size: .72rem; font-weight: 700; padding: 1px 6px; border-radius: 3px; }
.ph .tools { position: absolute; inset: auto 0 0 0; display: flex; justify-content: space-between; padding: 4px; background: linear-gradient(transparent, rgba(0,0,0,.55)); opacity: 0; transition: opacity .15s; }
.ph:hover .tools, .ph:focus-within .tools { opacity: 1; }
.ph .tools button { width: 28px; height: 28px; border: 0; border-radius: 4px; background: rgba(255,255,255,.92); cursor: pointer; display: grid; place-items: center; }
.ph .tools svg { width: 16px; height: 16px; }
.addph { aspect-ratio: 1; border: 2px dashed #AEB8C5; border-radius: var(--radius-s); display: grid; place-items: center; text-align: center; color: var(--steel); cursor: pointer; font-weight: 600; font-size: .9rem; background: #FAFBFC; }
.addph:hover { border-color: var(--navy-2); color: var(--navy); }
.addph svg { width: 26px; height: 26px; margin: 0 auto 4px; }
.fill-from { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.inline { display: flex; gap: 6px; }
.inline .t { flex: 1; }
.found { margin-top: 12px; border: 1.5px solid var(--duck); background: #FFFBEA; border-radius: var(--radius-s); padding: 12px; }
.found .imgs { display: flex; gap: 6px; flex-wrap: wrap; margin: 8px 0; }
.found .imgs label { position: relative; cursor: pointer; }
.found .imgs img { width: 64px; height: 64px; object-fit: cover; border-radius: 3px; border: 2px solid transparent; }
.found .imgs input { position: absolute; top: 3px; left: 3px; }
.found .imgs input:checked + img { border-color: var(--navy); }
.calc { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; padding: 12px; background: #F4F6F8; border-radius: var(--radius-s); margin-top: 12px; font-variant-numeric: tabular-nums; }
.calc .k { color: var(--steel); }
.calc .v { text-align: right; font-weight: 700; }
.calc .big { font-size: 1.25rem; font-family: var(--cond); }
.chan-rows { display: grid; gap: 10px; }
.chan-row { display: grid; grid-template-columns: 28px 132px minmax(0, 1fr) 96px 34px; gap: 8px; align-items: center; }
.chan-row .open { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 4px; color: var(--navy-2); }
.chan-row .open svg { width: 18px; height: 18px; }
.spec-row { display: grid; grid-template-columns: 1fr 1.4fr 34px; gap: 6px; margin-bottom: 6px; }
.icon-btn { width: 34px; height: 34px; border: 0; background: transparent; border-radius: 4px; cursor: pointer; display: grid; place-items: center; color: var(--steel); }
.icon-btn:hover { background: #EEF1F4; color: var(--navy); }
.icon-btn svg { width: 18px; height: 18px; }
.savebar { position: sticky; bottom: 0; background: rgba(231,234,238,.94); backdrop-filter: blur(6px); padding: 12px 0; display: flex; gap: 8px; justify-content: flex-end; border-top: 1px solid var(--line); margin-top: 8px; z-index: 5; }
.savebar .dirty { margin-right: auto; align-self: center; color: var(--amber); font-weight: 600; font-size: .9rem; }

/* ---------- labels ---------- */
.label-list { display: grid; gap: 0; }
.label-row { display: grid; grid-template-columns: 32px auto minmax(0,1fr) auto; gap: 12px; align-items: center; padding: 10px 14px; border-top: 1px solid #E8EBEF; }
.label-row:first-child { border-top: 0; }
.label-preview { background: #fff; border: 1px solid #000; display: inline-flex; flex-direction: column; justify-content: center; padding: 6px 10px; gap: 3px; width: 248px; height: 116px; box-shadow: 3px 3px 0 #C3CAD3; }
.label-preview img { height: 38px; width: 100%; object-fit: fill; image-rendering: pixelated; }
.label-preview .ls { font-family: var(--cond); font-weight: 700; font-size: 1.2rem; line-height: 1; color: #000; }
.label-preview .lt { font-size: .75rem; line-height: 1.15; color: #000; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }

/* ---------- import ---------- */
.map-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.map-table th, .map-table td { text-align: left; padding: 8px; border-top: 1px solid #E8EBEF; vertical-align: top; }
.map-table th { font-weight: 600; color: var(--steel); }
.map-table td.sample { color: var(--steel); max-width: 280px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.drop { display: block; border: 2px dashed #AEB8C5; border-radius: var(--radius-m); padding: 34px; text-align: center; background: #FAFBFC; cursor: pointer; }
.drop:hover, .drop.over { border-color: var(--navy-2); background: #F3F6F9; }

/* ---------- auth ---------- */
.auth { min-height: 100vh; display: grid; place-items: center; padding: 20px; background: var(--navy); }
.auth-card { width: 100%; max-width: 380px; background: #fff; border-radius: var(--radius-m); padding: 28px; border-top: 6px solid var(--duck); }
.auth-card .brand { color: var(--navy); padding: 0 0 18px; }
.auth-card form { display: grid; gap: 14px; }
.err { color: var(--stop); font-weight: 600; font-size: .92rem; min-height: 1.2em; }

/* ---------- toast / modal / camera ---------- */
.toasts { position: fixed; right: 18px; bottom: 18px; display: grid; gap: 8px; z-index: 100; max-width: min(420px, calc(100vw - 36px)); }
.toast { background: var(--navy); color: #fff; padding: 12px 16px; border-radius: var(--radius-s); border-left: 5px solid var(--duck); font-weight: 500; animation: tin .18s ease-out; }
.toast.bad { border-left-color: #F97066; }
@keyframes tin { from { transform: translateY(8px); opacity: 0; } }
.modal-back { position: fixed; inset: 0; background: rgba(15,24,38,.55); z-index: 60; display: grid; place-items: center; padding: 16px; }
.modal { background: #fff; border-radius: var(--radius-m); width: 100%; max-width: 480px; max-height: calc(100vh - 32px); overflow: auto; padding: 22px; }
.modal h2 { margin-bottom: 14px; }
.modal .btn-row { justify-content: flex-end; margin-top: 18px; }
.cam-wrap { position: fixed; inset: 0; background: #000; z-index: 80; display: flex; flex-direction: column; }
.cam-wrap #reader { flex: 1; width: 100%; }
.cam-wrap #reader video { object-fit: cover; }
.cam-top { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; color: #fff; }
.cam-top b { font-family: var(--cond); font-size: 1.3rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- tablet ---------- */
@media (max-width: 1100px) {
  .ed-layout { grid-template-columns: minmax(0, 1fr); }
  .home-cols { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- phone ---------- */
@media (max-width: 760px) {
  .rail { display: none; }
  .main { margin-left: 0; padding-bottom: 76px; }
  .scanbar { padding: 10px 12px; padding-top: max(10px, env(safe-area-inset-top)); }
  .scanbar .hint { display: none; }
  .scanbar .go { display: none; }
  .scanbar input { border-radius: var(--radius-s); }
  .page { padding: 14px 12px; }
  h1 { font-size: 1.7rem; }
  .tabbar {
    display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; inset: auto 0 0 0; z-index: 30;
    background: var(--navy); padding-bottom: env(safe-area-inset-bottom); border-top: 3px solid var(--duck);
  }
  .tabbar a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 0 7px; color: #AFBDD0; text-decoration: none; font-size: .72rem; font-weight: 600; }
  .tabbar a svg { width: 22px; height: 22px; }
  .tabbar a.on { color: var(--duck); }
  .tabbar a.add svg { background: var(--duck); color: var(--navy); border-radius: 50%; padding: 4px; width: 32px; height: 32px; margin-top: -6px; }
  .g2, .g3, .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g2 > .span2, .g3 > .span2 { grid-column: 1 / -1; }
  .fill-from { grid-template-columns: 1fr; }
  .tally { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .tally div:nth-child(3) { border-left: 0; }
  .tally div:nth-child(n+3) { border-top: 1px solid #E4E8EE; }
  .tally b { font-size: 1.6rem; }
  .row-item { grid-template-columns: 56px minmax(0, 1fr) auto; gap: 10px; padding: 10px; }
  .row-item .thumb { width: 56px; height: 56px; }
  .row-item .chans, .row-item .st { display: none; }
  .chan-row { grid-template-columns: 28px minmax(0, 1fr) 96px; row-gap: 6px; padding-bottom: 6px; border-bottom: 1px solid #EEF1F4; }
  .chan-row select.t { grid-column: 2; grid-row: 1; }
  .chan-row .open { grid-column: 3; grid-row: 1; justify-self: end; }
  .chan-row .url { grid-column: 2; grid-row: 2; }
  .chan-row .cprice { grid-column: 3; grid-row: 2; }
  .photos { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .filters select.t { flex: 1 1 45%; min-width: 0; }
  .ph .tools { opacity: 1; }
  .savebar { bottom: 64px; margin: 8px -12px 0; padding: 10px 12px; }
  .label-row { grid-template-columns: 28px minmax(0,1fr); }
  .label-row .label-preview { grid-column: 2; width: 100%; max-width: 260px; }
  .bars .row { grid-template-columns: 110px 1fr 30px; }
  .toasts { left: 12px; right: 12px; bottom: 84px; }
}
