@font-face { font-family: "Archivo"; src: url("/assets/fonts/archivo-var-latin.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "Bricolage"; src: url("/assets/fonts/bricolage-latin.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }

:root {
  --void: #070b18; --void-2: #0f1428; --void-3: #1c2440;
  --chalk: #eef2f9; --chalk-2: #93a1b8;
  --paper: #f4f6fa; --paper-2: #e6eaf2; --card: #ffffff;
  --ink: #0a0f1e; --ink-2: #4a5568; --line: #dde2ec;
  --deep: #202060; --brand: #50b0e0; --brand-mid: #1e5a8f; --brand-ink: #04101f;
  --green: #1d6b3a; --green-bg: #e3f3e8;
  --amber: #8a5a00; --amber-bg: #fff1d6;
  --red: #a3201d; --red-bg: #fde4e2;
  --grey-bg: #eceff4;
  --side: 248px;
  color-scheme: light;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 15px/1.5 "Archivo", system-ui, sans-serif; }
h1, h2, h3 { font-family: "Bricolage", "Archivo", sans-serif; letter-spacing: -.01em; margin: 0; font-weight: 700; }
button, input, select, textarea { font: inherit; }
a { color: var(--brand-mid); }
:focus-visible { outline: 2px solid var(--brand-mid); outline-offset: 2px; }
[hidden] { display: none !important; }

/* ---- sign in ---- */
.login { min-height: 100vh; display: grid; place-items: center; padding: 1rem; background: var(--void); }
.login__card { width: min(24rem, 100%); background: var(--card); border-radius: 16px; padding: 2rem; display: grid; gap: .6rem; }
.login__card h1 { font-size: 1.5rem; margin-top: .5rem; }
.login__card p { margin: 0 0 .5rem; color: var(--ink-2); font-size: .9rem; }
.login__card label { font-weight: 600; font-size: .85rem; }
.login__card input { min-height: 46px; padding: .6rem .8rem; border: 1px solid var(--line); border-radius: 10px; }
.login__card button { min-height: 46px; border: 0; border-radius: 10px; background: var(--deep); color: #fff; font-weight: 650; cursor: pointer; margin-top: .4rem; }
.login__err { color: var(--red) !important; min-height: 1.2em; }

/* ---- shell ---- */
.shell { display: grid; grid-template-columns: var(--side) minmax(0, 1fr); min-height: 100vh; }
.side { position: sticky; top: 0; height: 100vh; overflow-y: auto; background: var(--void); color: var(--chalk); display: flex; flex-direction: column; padding: 1rem .75rem; }
.side__brand { display: flex; gap: .65rem; align-items: center; padding: .25rem .5rem 1.1rem; border-bottom: 1px solid var(--void-3); margin-bottom: .6rem; }
.side__brand b { display: block; font-family: "Bricolage", sans-serif; font-size: 1.02rem; }
.side__brand span { display: block; font-size: .72rem; color: var(--chalk-2); }
.side nav { display: flex; flex-direction: column; gap: 2px; }
.side__group { margin: 1rem .6rem .3rem; font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #64708a; }
.side nav a { display: flex; align-items: center; gap: .65rem; min-height: 40px; padding: .45rem .65rem; border-radius: 8px; color: var(--chalk-2); text-decoration: none; font-weight: 550; font-size: .92rem; }
.side nav a:hover { background: var(--void-2); color: var(--chalk); }
.side nav a[aria-current="page"] { background: var(--void-3); color: #fff; box-shadow: inset 3px 0 0 var(--brand); }
.side nav i { width: 18px; height: 18px; flex: none; display: grid; place-items: center; }
.side nav i svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.side__foot { margin-top: auto; padding: 1rem .6rem 0; border-top: 1px solid var(--void-3); display: flex; flex-wrap: wrap; gap: .2rem .9rem; justify-content: space-between; align-items: center; font-size: .85rem; color: var(--chalk-2); }
.pill { margin-left: auto; min-width: 1.4rem; height: 1.35rem; padding: 0 .4rem; border-radius: 999px; display: inline-grid; place-items: center; background: var(--void-3); color: var(--chalk); font-size: .72rem; }
.pill--hot { background: #ffb020; color: #1a1000; }
.link { border: 0; background: none; color: inherit; text-decoration: underline; cursor: pointer; padding: .3rem 0; }

.main { min-width: 0; display: flex; flex-direction: column; }
.top { position: sticky; top: 0; z-index: 4; display: flex; align-items: center; gap: 1rem; padding: .85rem clamp(1rem, 3vw, 2rem); background: rgba(244,246,250,.92); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.top__menu { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); cursor: pointer; font-size: 1.1rem; }
.top__title { font-size: 1.35rem; }
.top__status { margin-left: auto; display: flex; gap: .5rem; align-items: center; font-size: .82rem; color: var(--ink-2); }
.dot { width: .55rem; height: .55rem; border-radius: 50%; background: var(--green); display: inline-block; }
.dot--run { background: var(--brand); animation: pulse 1s infinite alternate; }
.dot--off { background: #9aa3b5; }
@keyframes pulse { to { opacity: .3; } }
.mode { margin: 0; padding: .55rem clamp(1rem, 3vw, 2rem); background: var(--amber-bg); color: var(--amber); font-size: .85rem; }
.view { padding: clamp(1rem, 3vw, 2rem); outline: 0; width: 100%; max-width: 92rem; }
.lede { color: var(--ink-2); margin: 0 0 1.25rem; max-width: 70ch; }

@media (max-width: 900px) {
  .shell { grid-template-columns: 1fr; }
  .side { position: fixed; inset: 0 auto 0 0; width: var(--side); z-index: 20; transform: translateX(-100%); transition: transform .25s ease; }
  .side.open { transform: none; box-shadow: 0 0 0 100vmax rgba(7,11,24,.45); }
  .top__menu { display: grid; place-items: center; }
}

/* ---- building blocks ---- */
.grid { display: grid; gap: 1rem; }
.g-kpi { grid-template-columns: repeat(auto-fit, minmax(8.75rem, 1fr)); margin-bottom: 1.25rem; }
.g-2 { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
.g-2e { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 1100px) { .g-2, .g-2e { grid-template-columns: 1fr; } }

.card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 1.05rem 1.15rem; min-width: 0; }
.card > h2 { font-size: 1.02rem; margin-bottom: .7rem; display: flex; align-items: center; gap: .5rem; }
.card > h2 .grow { flex: 1; }
.card + .card { margin-top: 0; }
.stack > * + * { margin-top: 1rem; }

.kpi { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: .9rem 1rem; text-decoration: none; color: inherit; display: block; }
a.kpi:hover { border-color: var(--brand); }
.kpi b { display: block; font-family: "Bricolage", sans-serif; font-size: 1.9rem; line-height: 1.1; font-variant-numeric: tabular-nums; }
.kpi span { color: var(--ink-2); font-size: .82rem; }
.kpi.hot b { color: var(--amber); }
.kpi.bad b { color: var(--red); }

.empty { color: var(--ink-2); font-style: italic; margin: 0; }
.meta { color: var(--ink-2); font-size: .84rem; }
.row { display: flex; gap: .75rem; align-items: center; flex-wrap: wrap; }
.row .grow { flex: 1; min-width: 10rem; }

.tag { display: inline-block; padding: .08rem .48rem; border-radius: 6px; font-size: .7rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; background: var(--grey-bg); color: var(--ink-2); }
.t-green, .f-strong { background: var(--green-bg); color: var(--green); }
.t-amber, .f-possible { background: var(--amber-bg); color: var(--amber); }
.t-red, .f-poor { background: var(--red-bg); color: var(--red); }
.t-system { background: var(--grey-bg); color: var(--ink-2); }
.k-tender { background: #e3f1fa; color: var(--brand-mid); }
.k-prospect { background: #ece9ff; color: var(--deep); }
.k-illus { background: transparent; border: 1px dashed #9aa3b5; color: var(--ink-2); }
.r-bid { background: var(--deep); color: #fff; }
.p-high { background: #e1e6ff; color: var(--deep); }
.p-medium { background: #e3f1fa; color: var(--brand-mid); }
.p-low { background: var(--grey-bg); color: var(--ink-2); }
.score { font-family: "Bricolage", sans-serif; font-weight: 700; font-size: 1.2rem; min-width: 2.2rem; font-variant-numeric: tabular-nums; }

.btn { min-height: 40px; padding: .45rem 1rem; border-radius: 9px; border: 1px solid var(--line); background: var(--card); cursor: pointer; font-weight: 600; color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; gap: .4rem; }
.btn:hover { border-color: var(--ink-2); }
.btn--go { background: var(--deep); color: #fff; border-color: var(--deep); }
.btn--go:hover { background: #2c2c80; }
.btn--no:hover { border-color: var(--red); color: var(--red); }
.btn--sm { min-height: 32px; padding: .2rem .65rem; font-size: .84rem; }
.btn:disabled { opacity: .55; cursor: progress; }
.actions { display: flex; gap: .5rem; flex-wrap: wrap; }

/* tables */
.table-wrap { overflow-x: auto; background: var(--card); border: 1px solid var(--line); border-radius: 12px; }
table { border-collapse: collapse; width: 100%; font-size: .88rem; }
th, td { text-align: left; padding: .55rem .75rem; border-bottom: 1px solid var(--paper-2); vertical-align: top; }
th { font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); background: #fafbfd; white-space: nowrap; }
tr.click { cursor: pointer; }
tr.click:hover td { background: #f5f8fd; }
tr.dim td { color: var(--ink-2); }
td code { font-size: .76rem; color: var(--ink-2); word-break: break-all; }
td.num { font-variant-numeric: tabular-nums; white-space: nowrap; }

/* pipeline funnel */
.funnel { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
/* The stage colour is a bar inside the tile, clipped by its rounded corners,
   rather than a border that would fight them. */
.funnel a { --bar: var(--brand); position: relative; overflow: hidden; text-decoration: none; color: inherit; background: var(--paper); border-radius: 8px; padding: calc(.6rem + 3px) .65rem .6rem; }
.funnel a::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--bar); }
.funnel a:nth-child(n+3) { --bar: var(--brand-mid); }
.funnel a:nth-child(n+5) { --bar: var(--deep); }
.funnel a:last-child { --bar: var(--green); }
.funnel b { display: block; font-family: "Bricolage", sans-serif; font-size: 1.45rem; line-height: 1.1; }
.funnel span { font-size: .74rem; color: var(--ink-2); line-height: 1.25; display: block; }
@media (max-width: 700px) { .funnel { grid-template-columns: repeat(2, 1fr); } }

/* lists */
.list { list-style: none; margin: 0; padding: 0; }
.list li { display: flex; gap: .7rem; align-items: baseline; padding: .55rem 0; border-bottom: 1px solid var(--paper-2); }
.list li:last-child { border-bottom: 0; }
.list .when { margin-left: auto; white-space: nowrap; font-size: .8rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.list .when.late { color: var(--red); font-weight: 650; }
.list a { color: var(--ink); text-decoration: none; }
.list a:hover { text-decoration: underline; }
.feed li { font-size: .86rem; }

/* engine card */
.engine dl { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; margin: .4rem 0 .9rem; }
.engine dt { font-size: .72rem; color: var(--ink-2); text-transform: uppercase; letter-spacing: .05em; }
.engine dd { margin: 0; font-family: "Bricolage", sans-serif; font-size: 1.4rem; font-weight: 700; }

/* board */
.filters { display: flex; gap: .4rem; flex-wrap: wrap; margin-bottom: 1rem; align-items: center; }
.chipbtn { min-height: 34px; padding: .25rem .8rem; border-radius: 999px; border: 1px solid var(--line); background: var(--card); cursor: pointer; font-size: .85rem; color: var(--ink-2); }
.chipbtn[aria-pressed="true"] { background: var(--deep); border-color: var(--deep); color: #fff; }
.board { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(16rem, 1fr); gap: .8rem; overflow-x: auto; padding-bottom: .5rem; align-items: start; }
.col { background: var(--paper-2); border-radius: 12px; padding: .65rem; min-height: 8rem; }
.col > h3 { font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); font-family: "Archivo", sans-serif; display: flex; justify-content: space-between; padding: .15rem .2rem .55rem; }
.lcard { display: block; background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: .7rem .8rem; text-decoration: none; color: inherit; margin-bottom: .5rem; }
.lcard:hover { border-color: var(--brand); }
.lcard .top-line { display: flex; gap: .35rem; align-items: center; flex-wrap: wrap; margin-bottom: .35rem; }
.lcard .top-line .score { margin-left: auto; font-size: 1.05rem; }
.lcard b { display: block; font-size: .92rem; line-height: 1.3; }
.lcard p { margin: .25rem 0 0; font-size: .8rem; color: var(--ink-2); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.lcard .due { margin-top: .4rem; font-size: .76rem; color: var(--ink-2); }
.lcard .due.late { color: var(--red); font-weight: 650; }

/* dossier */
.dossier { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 1rem; align-items: start; }
@media (max-width: 1100px) { .dossier { grid-template-columns: 1fr; } }
.dossier h1 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.15; margin: .4rem 0 .3rem; }
.bullets { margin: 0; padding-left: 1.1rem; }
.bullets li { margin: .25rem 0; }
dl.facts { display: grid; grid-template-columns: 9rem 1fr; gap: .35rem .75rem; margin: 0; font-size: .92rem; }
dl.facts dt { color: var(--ink-2); font-size: .84rem; }
dl.facts dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }

/* tender pack and pre-filled forms */
.pack-card { margin-bottom: 1rem; }
.pack-card > p { max-width: 75ch; }
.pack-card dl.facts { margin: .4rem 0 .9rem; }
.card h3 { font-size: .92rem; margin: 1rem 0 .45rem; }
.card details { margin: .8rem 0; }
.card summary { cursor: pointer; font-weight: 600; font-size: .9rem; }
.card summary + .list { margin-top: .5rem; }
.flags { margin: 0; padding-left: 1.1rem; color: var(--red); font-size: .9rem; }
.flags li { margin: .2rem 0; }
table.form-fill td:first-child { width: 58%; color: var(--ink-2); }
table.form-fill td.owner { font-style: normal; }
table.form-fill td.late:not(.owner) { font-style: italic; font-weight: 500; }
table.form-fill td.sign { color: var(--ink-2); font-style: italic; }
.pack table.form-fill td:first-child { width: 58%; }
/* uploads under checklist items */
.item-files { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .6rem; margin-top: .4rem; font-size: .84rem; }
.item-upload label { display: inline-flex; align-items: center; gap: .3rem; color: var(--ink-2); font-size: .78rem; }
.item-upload input[type=date], .item-upload input:not([type]) { min-height: 32px; padding: .2rem .45rem; border: 1px solid var(--line); border-radius: 7px; font-size: .82rem; max-width: 11rem; }
.file-chip { display: inline-flex; align-items: center; gap: .2rem; padding: .1rem .5rem; background: var(--paper); border-radius: 999px; }
.file-chip .link { padding: 0 .2rem; text-decoration: none; font-size: 1rem; line-height: 1; }
img.sig { display: block; height: 56px; width: auto; max-width: 220px; margin: .3rem 0; }
.reasons { list-style: none; margin: 0; padding: 0; font-size: .86rem; }
.reasons li { display: flex; gap: .6rem; padding: .25rem 0; border-bottom: 1px dashed var(--paper-2); }
.reasons b { min-width: 2.2rem; text-align: right; color: var(--brand-mid); }
.back { display: inline-block; margin-bottom: .4rem; font-size: .9rem; }

.approval textarea { width: 100%; min-height: 13rem; margin: .6rem 0; padding: .75rem; border: 1px solid var(--line); border-radius: 10px; font: 13.5px/1.5 "Archivo", sans-serif; resize: vertical; }
.approval input[type=text] { width: 100%; min-height: 40px; padding: .45rem .7rem; border: 1px solid var(--line); border-radius: 9px; margin-bottom: .6rem; }
.approval + .approval { margin-top: .75rem; }
.approval h3 { font-size: 1rem; }

/* forms */
.form { display: grid; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); gap: .6rem; align-items: end; }
.form label { display: grid; gap: .2rem; font-size: .78rem; font-weight: 600; color: var(--ink-2); }
.form input, .form select { min-height: 40px; padding: .4rem .6rem; border: 1px solid var(--line); border-radius: 9px; background: var(--card); color: var(--ink); }
select { min-height: 38px; padding: .3rem .6rem; border: 1px solid var(--line); border-radius: 8px; background: var(--card); }

/* diary */
.day { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; padding: .75rem 0; border-bottom: 1px solid var(--paper-2); }
.day:last-child { border-bottom: 0; }
.day h3 { font-family: "Archivo", sans-serif; font-size: .88rem; }
.day h3 span { display: block; color: var(--ink-2); font-weight: 500; font-size: .78rem; }
.day.today h3 { color: var(--brand-mid); }

.chat { display: flex; flex-direction: column; gap: .5rem; max-height: 32rem; overflow-y: auto; }
.chat p { margin: 0; padding: .55rem .75rem; border-radius: 10px; max-width: 90%; white-space: pre-wrap; font-size: .9rem; }
.chat .v { align-self: flex-end; background: #e3f1fa; }
.chat .a { align-self: flex-start; background: var(--grey-bg); }
.chat .a.blocked { background: var(--red-bg); }

.pre { white-space: pre-wrap; font: 12.5px/1.55 ui-monospace, "Cascadia Mono", Consolas, monospace; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 1rem 1.15rem; overflow-x: auto; margin: 0; }
.chain-ok { color: var(--green); font-weight: 650; }
.chain-bad { color: var(--red); font-weight: 650; }
.note { background: #eef4fb; border: 1px solid #cfe0f2; color: var(--brand-mid); border-radius: 10px; padding: .6rem .85rem; font-size: .86rem; margin-bottom: 1rem; }
.note--ok { background: #e8f5ec; border: 1px solid #bfe3c9; color: var(--green); border-radius: 10px; padding: .6rem .85rem; font-size: .86rem; margin-bottom: 1rem; }
/* review and approve */
ol.review { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: 1rem; max-width: 60rem; }
ol.review > li { counter-increment: step; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 1rem 1.15rem; }
ol.review > li > h2 { font-size: 1.02rem; margin-bottom: .5rem; }
ol.review > li > h2::before { content: counter(step) ". "; color: var(--ink-2); }
.decls li { display: grid; gap: .45rem; align-items: start; }
.decl__answer { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1rem; }
.decls textarea, .decls input:not([type]) { width: 100%; padding: .45rem .6rem; border: 1px solid var(--line); border-radius: 8px; font: inherit; font-size: .88rem; }
.note--warn { background: var(--amber-bg); border-color: #f0d9a8; color: var(--amber); }
.k-private { background: #e6f4ea; color: #1d5a3a; }
.missing { color: var(--red); font-weight: 600; font-size: .74rem; }
td.late, .late { color: var(--red); font-weight: 600; }
label.check { display: inline-flex; flex-direction: row; align-items: center; gap: .45rem; font-size: .88rem; color: var(--ink); cursor: pointer; }
label.check input { width: 18px; height: 18px; min-height: 0; accent-color: var(--deep); }
.form textarea, .approval textarea { font: 13.5px/1.5 "Archivo", sans-serif; }

/* bid guide */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.steps li { position: relative; padding: .65rem 0 .65rem 2.4rem; border-bottom: 1px solid var(--paper-2); counter-increment: s; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: .7rem; width: 1.6rem; height: 1.6rem; border-radius: 50%; display: grid; place-items: center; background: var(--paper-2); font-size: .78rem; font-weight: 700; color: var(--ink-2); }
.steps li.done::before { content: "✓"; background: var(--green-bg); color: var(--green); }
.steps li.current::before { background: var(--deep); color: #fff; }
.steps li p { margin: .2rem 0 0; }
.steps li:last-child { border-bottom: 0; }

/* printable bid pack */
.pack__bar { display: flex; gap: .5rem; margin-bottom: 1rem; }
.pack { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 2rem clamp(1rem, 4vw, 3rem); max-width: 52rem; }
.pack h1 { font-size: 1.7rem; margin: .2rem 0 .4rem; }
.pack__kicker { margin: 0; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.pack__h { font-size: 1.1rem; margin: 1.6rem 0 .5rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.pack__text { white-space: pre-wrap; font: 14px/1.6 "Archivo", sans-serif; margin: 0; }
.pack table { width: 100%; table-layout: fixed; }
.pack td { overflow-wrap: anywhere; }
.pack td:first-child { width: 22%; }
.printing .side, .printing .top, .printing .mode { display: none !important; }
.printing .shell { grid-template-columns: 1fr; }
@media print {
  .side, .top, .mode, .pack__bar, .toast { display: none !important; }
  .shell { display: block; }
  body, .view { background: #fff; padding: 0; }
  .pack { border: 0; padding: 0; max-width: none; }
  .pack__h { break-after: avoid; }
}

/* ---- narrow screens: nothing may push the page wider than the phone ---- */
select, input, textarea { max-width: 100%; }
.day > *, .dossier > *, .grid > * { min-width: 0; }
/* In a list row only the title may shrink; a tag or a date keeps its full width. */
.list li > * { min-width: 0; }
.list li > .tag, .list li > .when, .list li > .btn, .list li > .score { flex: none; }
@media (max-width: 1100px) {
  .g-2, .g-2e, .dossier { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 700px) {
  .list li { flex-wrap: wrap; }
  .list .grow { flex: 1 1 100%; }
  .list li > .when { margin-left: 0; white-space: normal; flex: 0 1 auto; }
  .form { grid-template-columns: minmax(0, 1fr); }
  .form label, .form button { grid-column: auto !important; }
  .day { grid-template-columns: minmax(0, 1fr); gap: .3rem; }
  .engine dl { grid-template-columns: repeat(2, 1fr); }
  .row .grow { min-width: 0; }
  dl.facts { grid-template-columns: 6.5rem minmax(0, 1fr); }
  .pack { padding: 1.2rem 1rem; }
}

.toast { position: fixed; bottom: 1rem; left: 50%; transform: translateX(-50%); background: var(--void); color: var(--chalk); padding: .7rem 1.1rem; border-radius: 10px; z-index: 30; }
