@font-face { font-family: Khand; src: url(/assets/fonts/Khand-Medium.ttf) format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: Khand; src: url(/assets/fonts/Khand-SemiBold.ttf) format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: Khand; src: url(/assets/fonts/Khand-Bold.ttf) format("truetype"); font-weight: 700; font-display: swap; }

:root {
  color-scheme: light;
  --ink: #1f2a2e; --muted: #5f6f74; --faint: #8a979b; --line: #e1e7e7; --bg: #f3f6f6; --card: #fff;
  --teal: #007d84; --teal-dark: #00646a; --teal-soft: #e3f3f3;
  --red: #c4312b; --red-soft: #fcebe9; --amber: #a86400; --amber-soft: #fff3da; --green: #12804a; --green-soft: #e3f5ea;
  --c-red: #e4322b; --c-orange: #f47b2a; --c-yellow: #fbb616; --c-green: #14a651; --c-teal: #1797a6; --c-sky: #19b5ea; --c-purple: #6c4da1; --c-magenta: #df1683;
  --rainbow: linear-gradient(90deg, var(--c-red) 0 12.5%, var(--c-orange) 0 25%, var(--c-yellow) 0 37.5%, var(--c-green) 0 50%, var(--c-teal) 0 62.5%, var(--c-sky) 0 75%, var(--c-purple) 0 87.5%, var(--c-magenta) 0);
  --display: Khand, "Arial Narrow", system-ui, sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 14px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --nav-h: 66px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.4 var(--body); overscroll-behavior-y: none; -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; touch-action: manipulation; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.1; margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--c-sky); outline-offset: 2px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* ---------- shell ---------- */
.shell { min-height: 100dvh; }
.topbar { position: sticky; top: 0; z-index: 20; background: var(--card); border-bottom: 1px solid var(--line); padding-top: env(safe-area-inset-top, 0px); }
.topbar::after { content: ""; display: block; height: 3px; background: var(--rainbow); }
.topbar-in { display: flex; align-items: center; gap: 10px; height: 62px; padding: 0 14px; }
.topbar .logo { height: 54px; width: auto; display: block; flex: none; }
.topbar h1 { font-size: 24px; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-top: 3px; }
.back { flex: none; width: 40px; height: 40px; margin-left: -8px; display: grid; place-items: center; border-radius: 50%; }
.back:hover { background: var(--bg); }
.topbar-action { flex: none; }
.content { padding: 14px 14px calc(var(--nav-h) + var(--safe-b) + 24px); max-width: 1080px; margin: 0 auto; }
.flow .content { padding-bottom: calc(96px + var(--safe-b)); }

.nav { position: fixed; z-index: 30; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(5, 1fr); background: var(--card); border-top: 1px solid var(--line); padding-bottom: var(--safe-b); height: calc(var(--nav-h) + var(--safe-b)); }
.flow .nav { display: none; }
.nav a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 11.5px; font-weight: 500; color: var(--muted); position: relative; }
.nav a svg { width: 24px; height: 24px; }
.nav a.on { color: var(--teal); }
.nav a.on::before { content: ""; position: absolute; top: -1px; width: 32px; height: 3px; border-radius: 0 0 3px 3px; background: var(--teal); }
.nav a .badge { position: absolute; top: 7px; left: calc(50% + 7px); }
.nav .act { color: var(--ink); }
.nav .act .plus { width: 44px; height: 44px; border-radius: 50%; background: var(--teal); color: #fff; display: grid; place-items: center; margin-top: -8px; box-shadow: 0 4px 12px rgb(0 125 132 / .35); }
.nav .act.on::before { display: none; }
.badge { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--c-red); color: #fff; font: 700 11px/18px var(--body); text-align: center; }
.nav a.side-logo, .side-user { display: none; }

@media (min-width: 900px) {
  .shell { display: grid; grid-template-columns: 236px minmax(0, 1fr); }
  .nav { position: sticky; top: 0; left: auto; right: auto; bottom: auto; height: 100dvh; display: flex; flex-direction: column; align-items: stretch; gap: 2px; padding: 0 12px 16px; border-top: 0; border-right: 1px solid var(--line); overflow-y: auto; }
  .flow .nav { display: flex; }
  .nav::before { content: ""; display: block; height: 3px; margin: 0 -12px; background: var(--rainbow); flex: none; order: -3; }
  .nav a.side-logo { display: block; padding: 18px 10px 16px; flex: none; }
  .nav a.side-logo img { width: 164px; height: auto; display: block; }
  .nav a:not(.side-logo) { flex-direction: row; justify-content: flex-start; gap: 12px; padding: 0 12px; height: 44px; flex: none; border-radius: 10px; font-size: 15px; }
  .nav a:not(.side-logo):hover { background: var(--bg); }
  .nav a.on { background: var(--teal-soft); }
  .nav a.on::before { display: none; }
  .nav a .badge { position: static; margin-left: auto; }
  .nav .act { order: -1; background: var(--teal); color: #fff; font-weight: 600; margin-bottom: 10px; }
  .nav a.act:hover { background: var(--teal-dark); }
  .nav a.act.on { background: var(--teal-dark); color: #fff; }
  .nav .act .plus { width: 24px; height: 24px; background: none; box-shadow: none; margin: 0; }
  .nav a.side-logo { order: -2; }
  .side-user { display: block; margin-top: auto; padding: 12px; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); }
  .side-user b { display: block; color: var(--ink); }
  .topbar .logo { display: none; }
  .topbar { z-index: 10; }
  .topbar::after { display: none; }
  .topbar-in { height: 64px; padding: 0 24px; }
  .topbar h1 { font-size: 30px; }
  .content { padding: 20px 24px 40px; }
  .flow .content { padding-bottom: 110px; }
}

/* ---------- common ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 18px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); font-weight: 600; text-align: center; transition: background .12s; }
.btn:hover { background: var(--bg); }
.btn.primary { background: var(--teal); border-color: var(--teal); color: #fff; }
.btn.primary:hover { background: var(--teal-dark); }
.btn.danger { color: var(--red); }
.btn.danger:hover { background: var(--red-soft); }
.btn.danger.solid { background: var(--red); border-color: var(--red); color: #fff; }
.btn.small { min-height: 38px; padding: 0 12px; font-size: 14px; border-radius: 10px; }
.btn.block { width: 100%; }
.btn:disabled { opacity: .5; cursor: default; }
.btn svg { width: 20px; height: 20px; flex: none; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { display: inline-flex; align-items: center; gap: 5px; padding: 2px 9px; border-radius: 999px; font-size: 12.5px; font-weight: 600; white-space: nowrap; background: var(--bg); color: var(--muted); }
.tag.open { background: var(--amber-soft); color: var(--amber); }
.tag.closed { background: var(--green-soft); color: var(--green); }
.tag.cancelled, .tag.bad { background: var(--red-soft); color: var(--red); }
.muted { color: var(--muted); }
.small-text { font-size: 13px; }
.empty { text-align: center; padding: 44px 20px; color: var(--muted); }
.empty h2 { color: var(--ink); font-size: 24px; margin-bottom: 6px; }
.empty .btn { margin-top: 14px; }
.section-title { font-size: 21px; margin: 22px 2px 8px; }
.notice { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; background: var(--red-soft); color: var(--red); font-weight: 500; margin-bottom: 12px; }
.notice.info { background: var(--teal-soft); color: var(--teal-dark); }
.notice .btn { margin-left: auto; flex: none; }

.search { position: relative; }
.search input { width: 100%; height: 48px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); padding: 0 40px 0 42px; font-size: 16px; }
.search input:focus { outline: 2px solid var(--teal); outline-offset: -1px; border-color: transparent; }
.search svg { position: absolute; left: 13px; top: 13px; width: 22px; height: 22px; color: var(--faint); pointer-events: none; }
.search .clear { position: absolute; right: 4px; top: 4px; width: 40px; height: 40px; border-radius: 50%; color: var(--muted); font-size: 22px; line-height: 1; }

label.field { display: block; margin-bottom: 12px; font-weight: 500; font-size: 14px; }
label.field > span { display: block; margin-bottom: 4px; }
label.field > small { display: block; margin-top: 4px; font-weight: 400; color: var(--muted); }
.input, label.field input, label.field select, label.field textarea { width: 100%; min-height: 48px; border: 1px solid #cfd8d9; border-radius: 10px; background: #fff; padding: 11px 12px; font-size: 16px; font-weight: 400; }
label.field textarea { min-height: 76px; resize: vertical; }
label.field input:focus, label.field select:focus, label.field textarea:focus { outline: 2px solid var(--teal); outline-offset: -1px; border-color: transparent; }
.form-error { background: var(--red-soft); color: var(--red); padding: 10px 12px; border-radius: 10px; font-weight: 500; margin-bottom: 12px; }

#dialog { border: 0; padding: 0; width: min(440px, calc(100vw - 24px)); border-radius: 18px; color: var(--ink); max-height: calc(100dvh - 32px); }
#dialog::backdrop { background: rgb(15 30 34 / .5); }
#dialog form { padding: 20px; }
#dialog h2 { font-size: 26px; margin-bottom: 6px; }
#dialog p { margin: 0 0 14px; color: var(--muted); }
#dialog .actions { justify-content: flex-end; margin-top: 4px; }
#dialog .actions .btn { flex: 1; }

#toast { position: fixed; z-index: 60; left: 50%; bottom: calc(var(--nav-h) + var(--safe-b) + 14px); transform: translate(-50%, 16px); background: var(--ink); color: #fff; padding: 11px 16px; border-radius: 12px; font-weight: 500; opacity: 0; pointer-events: none; transition: opacity .18s, transform .18s; max-width: calc(100vw - 28px); width: max-content; text-align: center; }
#toast.show { opacity: 1; transform: translate(-50%, 0); }
#toast.bad { background: var(--red); }

/* ---------- login ---------- */
.login { min-height: 100dvh; display: grid; place-items: center; padding: 24px 18px; background: #fff; position: relative; }
.login::before { content: ""; position: fixed; inset: 0 0 auto; height: 6px; background: var(--rainbow); }
.login-in { width: min(380px, 100%); }
.login img { width: 236px; max-width: 72%; display: block; margin: 0 auto 22px; }
.login h1 { font-size: 30px; text-align: center; margin-bottom: 20px; }
@media (min-width: 900px) { .login { background: var(--bg); } .login-in { background: #fff; padding: 34px; border-radius: 22px; border: 1px solid var(--line); width: 440px; } }

/* ---------- stock ---------- */
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.stat { display: block; padding: 11px 14px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.stat b { display: block; font: 700 32px/1 var(--display); padding-top: 3px; }
.stat span { font-size: 13px; color: var(--muted); }
a.stat:hover { border-color: var(--teal); }
.stat.warm b { color: var(--amber); }

.tiles { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 -14px 12px; padding: 2px 14px; scroll-padding: 14px; }
.tiles::-webkit-scrollbar { display: none; }
.tile { --c: var(--teal); flex: none; width: 108px; height: 84px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); padding: 10px 11px; display: flex; flex-direction: column; justify-content: space-between; text-align: left; position: relative; overflow: hidden; transition: background .12s, color .12s; }
.tile::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: var(--c); }
.tile b { font: 700 27px/1 var(--display); padding-top: 4px; }
.tile span { font-size: 13px; font-weight: 600; line-height: 1.15; }
.tile.on { background: var(--c); border-color: var(--c); color: #fff; }
.tile.on.dark-text { color: var(--ink); }
.c-majice { --c: var(--c-red); } .c-totemi { --c: var(--c-orange); } .c-roll-upovi { --c: var(--c-yellow); } .c-baneri { --c: var(--c-green); }
.c-markeri { --c: var(--c-teal); } .c-navlake-za-tribine { --c: var(--c-sky); } .c-stolici { --c: var(--c-purple); } .c-narukvice { --c: var(--c-magenta); }
.c-all { --c: var(--ink); }
@media (min-width: 900px) {
  .stats { grid-template-columns: repeat(2, 240px); }
  .tiles { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); margin: 0 0 14px; padding: 0; overflow: visible; }
  .tile { width: auto; }
  .tile span { font-size: 12.5px; }
}

.filters { display: flex; gap: 8px; margin-bottom: 12px; }
.filters .search { flex: 1; min-width: 0; }
.filters select { flex: none; width: 118px; height: 48px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); padding: 0 8px; font-size: 15px; }
.result-count { font-size: 13px; color: var(--muted); margin: 0 2px 8px; }

.group { margin-bottom: 14px; }
.group-head { position: sticky; top: 65px; z-index: 5; display: flex; justify-content: space-between; align-items: baseline; font: 600 19px/1 var(--display); padding: 10px 4px 6px; background: var(--bg); }
.group-head small { font: 400 13px var(--body); color: var(--muted); }
@media (min-width: 900px) { .group-head { top: 64px; } }
.list { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.row { display: flex; align-items: center; gap: 12px; padding: 11px 14px; min-height: 58px; border-top: 1px solid var(--line); }
.row:first-child { border-top: 0; }
a.row:hover, button.row:hover { background: #fafcfc; }
button.row { width: 100%; text-align: left; }
.row-main { flex: 1; min-width: 0; }
.row-title { font-weight: 600; overflow-wrap: anywhere; }
.row-sub { font-size: 13px; color: var(--muted); margin-top: 2px; }
.row.zero .row-title, .row.zero .strip { opacity: .55; }
.qty { flex: none; text-align: right; line-height: 1; min-width: 48px; }
.qty b { font: 700 27px/1 var(--display); }
.qty small { font-size: 12px; color: var(--muted); margin-left: 3px; }
.qty .out { display: block; margin-top: 3px; font-size: 12px; font-weight: 600; color: var(--amber); white-space: nowrap; }
.qty.zero b { color: var(--faint); }

.strip { display: flex; flex-wrap: wrap; gap: 2px; }
.strip span { padding: 3px 9px; font-size: 13px; font-weight: 600; color: var(--ink); background: var(--teal-soft); }
.strip span:nth-child(even) { background: #d3e9ea; }
.strip span:first-child { border-radius: 6px 0 0 6px; }
.strip span:last-child { border-radius: 0 6px 6px 0; }
.nums { display: flex; flex-wrap: wrap; gap: 3px; margin-top: 6px; }
.nums span { min-width: 22px; height: 22px; padding: 0 4px; border-radius: 6px; background: var(--teal-soft); color: var(--teal-dark); font: 700 12px/22px var(--body); text-align: center; }
.nums span.gone { background: var(--red-soft); color: var(--red); text-decoration: line-through; }

.sizes { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.size { display: inline-flex; align-items: baseline; gap: 6px; padding: 6px 10px; border-radius: 9px; background: var(--bg); border: 1px solid var(--line); }
.size:hover { border-color: var(--teal); }
.size span { font-size: 12.5px; font-weight: 600; color: var(--muted); }
.size b { font: 700 19px/1 var(--display); }
.size i { font-style: normal; font-size: 11.5px; font-weight: 600; color: var(--amber); }
.size.zero b { color: var(--faint); }

/* ---------- pick items ---------- */
.flow-to { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 8px 8px 14px; background: var(--teal-soft); border-radius: 12px; margin-bottom: 10px; color: var(--teal-dark); font-weight: 600; }
.chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 0 -14px 10px; padding: 2px 14px; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 12px; border-radius: 19px; background: var(--card); border: 1px solid var(--line); font-size: 14px; font-weight: 600; white-space: nowrap; }
.chip::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--c); }
.chip.on { background: var(--ink); border-color: var(--ink); color: #fff; }
@media (min-width: 900px) { .chips { flex-wrap: wrap; margin: 0 0 10px; padding: 0; } }
.pick { display: flex; align-items: center; gap: 10px; padding: 9px 10px 9px 14px; min-height: 60px; border-top: 1px solid var(--line); }
.pick:first-child { border-top: 0; }
.pick.has { background: #f1fafa; }
.pick .avail { font-size: 13px; color: var(--muted); margin-top: 2px; }
.pick.none .row-title, .pick.none .strip { opacity: .5; }
.pick-size { display: inline-block; min-width: 38px; padding: 5px 7px; border-radius: 8px; background: var(--bg); font-weight: 700; font-size: 14px; text-align: center; flex: none; }
.stepper { flex: none; display: flex; align-items: center; border: 1px solid #cfd8d9; border-radius: 12px; background: #fff; overflow: hidden; }
.stepper button { width: 42px; height: 44px; font-size: 22px; color: var(--teal-dark); font-weight: 500; }
.stepper button:hover:not(:disabled) { background: var(--teal-soft); }
.stepper button:disabled { color: #c3cdce; cursor: default; }
.stepper input { width: 46px; height: 44px; border: 0; text-align: center; font: 700 19px var(--display); padding: 2px 0 0; background: none; -moz-appearance: textfield; appearance: textfield; }
.stepper input::-webkit-inner-spin-button { display: none; }
.stepper input:focus { outline: 2px solid var(--teal); outline-offset: -2px; }
.bar { position: fixed; z-index: 25; left: 0; right: 0; bottom: 0; background: var(--card); border-top: 1px solid var(--line); padding: 10px 14px calc(10px + var(--safe-b)); display: flex; align-items: center; gap: 12px; }
.bar-info { flex: 1; min-width: 0; font-size: 13px; color: var(--muted); }
.bar-info b { display: block; color: var(--ink); font: 700 21px/1.05 var(--display); }
.bar .btn { flex: none; min-width: 148px; }
@media (min-width: 900px) { .bar { left: 236px; padding-inline: 24px; } }

/* ---------- documents ---------- */
.seg { display: flex; padding: 3px; gap: 2px; background: #e6ecec; border-radius: 12px; margin-bottom: 12px; }
.seg button { flex: 1; min-height: 40px; padding: 0 6px; border-radius: 10px; font-size: 14px; font-weight: 600; color: var(--muted); }
.seg button.on { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgb(0 0 0 / .12); }
.doc-head { padding: 16px; margin-bottom: 12px; }
.doc-head .num { font: 700 28px/1.05 var(--display); }
.doc-head .meta { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.doc-head .meta small { display: block; color: var(--muted); font-size: 12px; font-weight: 500; }
.doc-head .meta b { font-weight: 600; overflow-wrap: anywhere; }
.doc-head .top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.mail-state { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 12px; font-size: 13px; color: var(--muted); }
.note-box { margin-top: 12px; padding: 10px 12px; border-radius: 10px; background: var(--bg); white-space: pre-wrap; overflow-wrap: anywhere; }
.done-hero { text-align: center; padding: 22px 16px; margin-bottom: 12px; }
.done-hero .tick { width: 56px; height: 56px; margin: 0 auto 10px; border-radius: 50%; display: grid; place-items: center; background: var(--green-soft); color: var(--green); }
.done-hero h2 { font-size: 28px; }

/* ---------- return ---------- */
.ret { padding: 13px 14px; border-top: 1px solid var(--line); }
.ret:first-child { border-top: 0; }
.ret-head { display: flex; justify-content: space-between; gap: 10px; }
.ret-rows { margin-top: 10px; display: grid; gap: 8px; }
.ret-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ret-row > span { font-weight: 500; font-size: 14px; }
.ret-left { margin-top: 10px; padding: 7px 10px; border-radius: 9px; font-size: 13.5px; font-weight: 600; background: var(--green-soft); color: var(--green); }
.ret-left.bad { background: var(--red-soft); color: var(--red); }
.partial { margin-top: 8px; padding: 10px; border-radius: 10px; background: var(--bg); }
.partial-head { display: flex; align-items: center; justify-content: space-between; font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.partial-head button { color: var(--red); padding: 4px 6px; font-size: 13px; }
.numpick { display: flex; flex-wrap: wrap; gap: 6px; }
.numpick button { width: 42px; height: 42px; border-radius: 10px; background: #fff; border: 1px solid #cfd8d9; font: 700 17px var(--display); padding-top: 2px; }
.numpick button.on { background: var(--red); border-color: var(--red); color: #fff; text-decoration: line-through; }
.debt-check { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-top: 1px solid var(--line); cursor: pointer; }
.debt-check:first-child { border-top: 0; }
.debt-check input { width: 24px; height: 24px; accent-color: var(--teal); flex: none; }

/* ---------- debts ---------- */
.person { margin-bottom: 12px; overflow: hidden; }
.person-head { display: flex; align-items: center; gap: 12px; padding: 13px 14px; border-bottom: 1px solid var(--line); }
.avatar { width: 40px; height: 40px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--teal-soft); color: var(--teal-dark); font: 700 18px var(--display); padding-top: 2px; }
.debt-doc { padding: 10px 14px 12px; border-top: 1px solid var(--line); }
.debt-doc:first-of-type { border-top: 0; }
.debt-doc-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.debt-doc-head a:first-child { font-weight: 600; color: var(--teal-dark); }
.debt-line { display: flex; align-items: center; gap: 10px; padding: 6px 0; }
.debt-line .row-main { font-size: 14.5px; overflow-wrap: anywhere; }
.debt-line b { font: 700 21px/1 var(--display); color: var(--amber); white-space: nowrap; }
.debt-line .link { color: var(--muted); font-size: 13px; text-decoration: underline; padding: 8px 2px; flex: none; }
.history .delta { font: 700 21px/1 var(--display); flex: none; }
.history .delta.plus { color: var(--green); }
.history .delta.minus { color: var(--red); }
.item-hero { padding: 16px; margin-bottom: 12px; }
.item-hero h2 { font-size: 26px; overflow-wrap: anywhere; }
.triple { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
.triple div { background: var(--bg); border-radius: 11px; padding: 10px 11px; }
.triple b { display: block; font: 700 30px/1 var(--display); padding-top: 3px; }
.triple span { font-size: 12.5px; color: var(--muted); }
.more-list .row { font-weight: 600; }
.more-list .row svg { width: 22px; height: 22px; color: var(--teal); flex: none; }
.two-col { display: grid; gap: 12px; }
@media (min-width: 1100px) { .two-col { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; } .two-col .section-title:first-child { margin-top: 0; } }

.mt { margin-top: 12px; }
.mb { margin-bottom: 12px; }
.row-sub, .row-title { display: block; }
.sized { padding: 11px 14px 2px; }
.pick-group .pick { border-top: 0; min-height: 52px; padding-block: 5px; }
.pick-group { border-top: 1px solid var(--line); padding-bottom: 6px; }
.pick-group:first-child { border-top: 0; }
.btn.disabled { opacity: .5; }
.link-teal { color: var(--teal-dark); font-weight: 600; text-decoration: underline; }
.item-hero .tag { max-width: 100%; white-space: normal; }
.item-hero h2.mt { margin-top: 10px; }
.item-hero p { margin: 8px 0 0; }
