/* PassPath app: one stylesheet for phones, tablets and laptops. Light and dark themes.
   No web fonts or images to download: it stays fast on mobile data. */
:root {
  --brand: #0b6e4f; --brand-2: #12a170; --brand-soft: #e7f6ef; --gold: #f5b301; --gold-soft: #fff6db;
  --bg: #f4f6f8; --surface: #ffffff; --surface-2: #f8fafb; --line: #e4e8ec;
  --ink: #0f1d17; --muted: #5f6c7b; --good: #0a8a5a; --good-soft: #e6f7ef; --bad: #c4321f; --bad-soft: #fdecea;
  --radius: 18px; --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(16,24,40,.04), 0 4px 16px rgba(16,24,40,.06);
  --shadow-lg: 0 12px 40px rgba(11,110,79,.18);
  --nav-h: 68px; --side-w: 248px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --brand: #2fcf95; --brand-2: #16a874; --brand-soft: #10291f; --gold: #fcd34d; --gold-soft: #2b2410;
    --bg: #0b1210; --surface: #121b18; --surface-2: #17221e; --line: #23302b;
    --ink: #e8f0ec; --muted: #93a39c; --good: #3ddc97; --good-soft: #0f2a1f; --bad: #ff7a66; --bad-soft: #2d1512;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 4px 16px rgba(0,0,0,.25);
    --shadow-lg: 0 12px 40px rgba(0,0,0,.4);
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.55 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
a { color: var(--brand); }
h1, h2, h3 { line-height: 1.2; letter-spacing: -.015em; margin: 0 0 .4em; }
h1 { font-size: clamp(24px, 4.5vw, 32px); font-weight: 800; }
h2 { font-size: 19px; font-weight: 750; margin-top: 28px; }
h3 { font-size: 16px; font-weight: 700; }
p { margin: 0 0 .8em; }
.muted { color: var(--muted); } .small { font-size: 14px; } .tiny { font-size: 12.5px; }
.good { color: var(--good); } .bad { color: var(--bad); } .error { color: var(--bad); font-weight: 600; }
.center { text-align: center; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---- layout: top bar + bottom tabs on phones, sidebar on laptops ---- */
.topbar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 10px; padding: 10px 16px;
  background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent); }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 18px; letter-spacing: -.02em; }
.logo img { width: 32px; height: 32px; border-radius: 9px; }
.topbar .spacer { flex: 1; }
.main { max-width: 760px; margin: 0 auto; padding: 18px 16px calc(var(--nav-h) + 28px); }
.tabs { position: fixed; z-index: 30; left: 0; right: 0; bottom: 0; height: calc(var(--nav-h) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom); display: grid; grid-template-columns: repeat(5, 1fr);
  background: color-mix(in srgb, var(--surface) 90%, transparent); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--line); }
.tabs a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; text-decoration: none;
  color: var(--muted); font-size: 11.5px; font-weight: 650; }
.tabs a svg { width: 24px; height: 24px; }
.tabs a.on { color: var(--brand); }
.tabs a.on svg { filter: drop-shadow(0 4px 8px color-mix(in srgb, var(--brand) 35%, transparent)); }
.side { display: none; }
@media (min-width: 960px) {
  .with-side .topbar { display: none; }
  .bare .topbar { padding: 14px 28px; }
  .tabs { display: none; }
  .side { display: flex; flex-direction: column; gap: 4px; position: fixed; inset: 0 auto 0 0; width: var(--side-w); padding: 22px 14px;
    background: var(--surface); border-right: 1px solid var(--line); }
  .side .logo { padding: 4px 10px 22px; }
  .side a.item { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 12px; text-decoration: none; color: var(--muted); font-weight: 650; }
  .side a.item svg { width: 22px; height: 22px; }
  .side a.item:hover { background: var(--surface-2); color: var(--ink); }
  .side a.item.on { background: var(--brand-soft); color: var(--brand); }
  .side .foot { margin-top: auto; padding: 10px; }
  .with-side .main { margin-left: calc(var(--side-w) + max(0px, (100vw - var(--side-w) - 820px) / 2)); padding: 34px 30px 60px; max-width: 820px; }
  .bare .main { padding-top: 32px; }
}

/* ---- surfaces ---- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin: 12px 0; box-shadow: var(--shadow); }
.card.flat { box-shadow: none; }
.card.tight { padding: 14px 16px; }
.hero { position: relative; overflow: hidden; border-radius: 22px; padding: 22px; margin: 6px 0 14px; color: #fff;
  background: radial-gradient(120% 140% at 100% 0%, #1fc88c 0%, transparent 55%), linear-gradient(135deg, #0b6e4f, #0a5a42); box-shadow: var(--shadow-lg); }
.hero::after { content: ""; position: absolute; right: -40px; bottom: -60px; width: 200px; height: 200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(252,211,77,.35), transparent 65%); }
.hero h1, .hero h2 { color: #fff; } .hero p { color: rgba(255,255,255,.86); }
.hero .btn { background: #fff; color: #0b6e4f; border-color: #fff; }
.hero .btn.ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); }
.grid.two { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px; }
.stat .n { font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.stat .l { color: var(--muted); font-size: 13px; font-weight: 600; }
.row { display: flex; align-items: center; gap: 12px; } .row.between { justify-content: space-between; } .row.wrap { flex-wrap: wrap; }
.stack > * + * { margin-top: 10px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; font-size: 13px; font-weight: 700; white-space: nowrap;
  background: var(--brand-soft); color: var(--brand); }
.chip.gold { background: var(--gold-soft); color: #9a6700; }
@media (prefers-color-scheme: dark) { .chip.gold { color: var(--gold); } }
.chip.bad { background: var(--bad-soft); color: var(--bad); }
.note { border-radius: var(--radius-sm); padding: 14px 16px; background: var(--gold-soft); border: 1px solid color-mix(in srgb, var(--gold) 40%, transparent); margin: 12px 0; }
.note.ok { background: var(--good-soft); border-color: color-mix(in srgb, var(--good) 35%, transparent); }

/* ---- buttons and forms ---- */
.btn, button { -webkit-appearance: none; appearance: none; font: inherit; font-weight: 700; font-size: 15.5px; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 11px 18px; border-radius: 14px; border: 1.5px solid var(--brand); background: var(--brand); color: #fff;
  cursor: pointer; text-decoration: none; transition: transform .12s ease, box-shadow .2s ease, background .2s; }
@media (prefers-color-scheme: dark) { .btn, button { color: #062016; } }
.btn:hover, button:hover { box-shadow: 0 6px 18px color-mix(in srgb, var(--brand) 30%, transparent); }
.btn:active, button:active { transform: scale(.98); }
.btn.ghost, button.ghost { background: transparent; color: var(--brand); border-color: color-mix(in srgb, var(--brand) 40%, transparent); }
.btn.plain, button.plain { background: var(--surface-2); color: var(--ink); border-color: var(--line); }
.btn.danger, button.danger { background: var(--bad); border-color: var(--bad); color: #fff; }
.btn.block, button.block { width: 100%; }
.btn.sm, button.sm { min-height: 36px; padding: 6px 12px; font-size: 14px; border-radius: 11px; }
label.field { display: block; font-weight: 650; margin: 14px 0 6px; }
input[type=tel], input[type=text], input[type=number], input[type=search], input[type=email], input[type=date], select, textarea {
  font: inherit; font-size: 17px; width: 100%; padding: 12px 14px; color: var(--ink); background: var(--surface);
  border: 1.5px solid var(--line); border-radius: 13px; outline: none; transition: border-color .15s, box-shadow .15s; }
input:focus, select:focus, textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 18%, transparent); }
textarea { min-height: 120px; resize: vertical; }
input.code { font-size: 28px; letter-spacing: .35em; text-align: center; font-weight: 800; }
.checks { display: grid; gap: 8px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.check { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 13px; background: var(--surface); cursor: pointer; font-weight: 600; }
.check:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
.check input { width: 18px; height: 18px; accent-color: var(--brand); }

/* ---- questions ---- */
.qhead { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.steps { display: flex; gap: 5px; margin: 6px 0 14px; }
.steps span { flex: 1; height: 6px; border-radius: 6px; background: var(--line); }
.steps span.done { background: var(--brand); } .steps span.now { background: color-mix(in srgb, var(--brand) 45%, var(--line)); }
.stem { font-size: 18.5px; line-height: 1.55; font-weight: 600; white-space: pre-wrap; margin: 4px 0 16px; }
.options { display: grid; gap: 10px; }
.opt { display: flex; width: 100%; align-items: center; justify-content: flex-start; gap: 14px; text-align: left; padding: 14px 16px; min-height: 58px; border-radius: 15px;
  border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); font-weight: 600; font-size: 16.5px; box-shadow: none; }
.opt:hover { border-color: var(--brand); box-shadow: none; background: var(--surface-2); }
.opt .key { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line); font-weight: 800; color: var(--muted); }
.opt.correct { border-color: var(--good); background: var(--good-soft); } .opt.correct .key { background: var(--good); color: #fff; border-color: var(--good); }
.opt.wrong { border-color: var(--bad); background: var(--bad-soft); } .opt.wrong .key { background: var(--bad); color: #fff; border-color: var(--bad); }
label.opt { cursor: pointer; } label.opt input { position: absolute; opacity: 0; }
label.opt:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
label.opt:has(input:checked) .key { background: var(--brand); color: #fff; border-color: var(--brand); }
.verdict { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 15px; font-weight: 750; margin-bottom: 14px; }
.verdict.ok { background: var(--good-soft); color: var(--good); } .verdict.no { background: var(--bad-soft); color: var(--bad); }
.explain { background: var(--surface-2); border-radius: 14px; padding: 14px 16px; white-space: pre-wrap; }
details.more { margin-top: 12px; } details.more summary { cursor: pointer; color: var(--muted); font-weight: 650; font-size: 14px; }

/* ---- progress ---- */
.ring { --p: 0; width: 76px; height: 76px; flex: none; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(closest-side, var(--surface) 76%, transparent 78% 100%), conic-gradient(var(--brand) calc(var(--p) * 1%), var(--line) 0); }
.ring b { font-size: 18px; font-weight: 800; }
.bar { height: 9px; border-radius: 9px; background: var(--line); overflow: hidden; margin: 8px 0 4px; }
.bar > span { display: block; height: 100%; border-radius: 9px; background: linear-gradient(90deg, var(--brand-2), var(--brand)); }
.bar.low > span { background: linear-gradient(90deg, #f59e0b, #ef4444); }
.list { list-style: none; padding: 0; margin: 0; }
.list li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.list li:last-child { border-bottom: 0; }
.list .grow { flex: 1; min-width: 0; }
.icon-tile { flex: none; width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); }
.icon-tile svg { width: 22px; height: 22px; }
.action { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); transition: transform .15s ease, border-color .15s; }
.action:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); }
.action .t { font-weight: 750; } .action .d { color: var(--muted); font-size: 14px; }
table { width: 100%; border-collapse: collapse; } td, th { text-align: left; padding: 10px 6px; border-bottom: 1px solid var(--line); } th { color: var(--muted); font-size: 13px; }

/* ---- timer (mock exams) ---- */
.timer { position: sticky; top: 0; z-index: 25; display: flex; justify-content: space-between; align-items: center; gap: 10px;
  padding: 10px 16px; margin: -18px -16px 14px; background: var(--surface); border-bottom: 1px solid var(--line); font-weight: 800; }
.timer.low { color: var(--bad); }
@media (min-width: 960px) { .timer { margin: -34px -30px 18px; padding: 12px 30px; } }
.legal { margin-top: 36px; font-size: 12.5px; color: var(--muted); }

/* install banner */
.install { display: none; align-items: center; gap: 12px; }
.install.show { display: flex; }

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

/* icons inside buttons and chips */
.btn svg, button svg, .chip svg { width: 18px; height: 18px; flex: none; }
.chip svg { width: 15px; height: 15px; }
.action > svg { width: 20px; height: 20px; flex: none; color: var(--muted); }
/* badges, leaderboards, segmented tabs, countdown, read-aloud */
.badges { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.badge { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px; text-align: center; }
.badge .e { font-size: 34px; line-height: 1.2; }
.badge.off { opacity: .55; filter: grayscale(.8); }
.badge.on { border-color: color-mix(in srgb, var(--gold) 55%, transparent); background: var(--gold-soft); }
.seg { display: flex; gap: 6px; background: var(--line); padding: 4px; border-radius: 999px; margin: 12px 0; width: fit-content; max-width: 100%; overflow-x: auto; }
.seg a { padding: 7px 14px; border-radius: 999px; font-weight: 700; font-size: 14px; color: var(--muted); text-decoration: none; white-space: nowrap; }
.seg a.on { background: var(--surface); color: var(--ink, inherit); box-shadow: var(--shadow); }
.board li.me { background: var(--good-soft); border-radius: 10px; padding-left: 8px; padding-right: 8px; }
.board .rank { width: 34px; text-align: center; font-weight: 800; }
.countdown { display: flex; align-items: center; gap: 16px; }
.countdown .days { font-size: 40px; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.speak { padding: 2px 6px; font-size: 15px; vertical-align: middle; }

/* ---- polish (2026-11-27): warmer background, livelier controls, gentle motion ---- */
body { background:
  radial-gradient(900px 420px at 100% -120px, color-mix(in srgb, var(--brand-2) 13%, transparent), transparent 70%),
  radial-gradient(700px 360px at -10% -80px, color-mix(in srgb, var(--gold) 10%, transparent), transparent 70%),
  var(--bg);
  background-attachment: fixed; }
h1 { letter-spacing: -.03em; }
h2 { letter-spacing: -.02em; }
.main > * { animation: rise .32s ease both; }
.main > *:nth-child(2) { animation-delay: .03s; } .main > *:nth-child(3) { animation-delay: .06s; }
.main > *:nth-child(4) { animation-delay: .09s; } .main > *:nth-child(n+5) { animation-delay: .12s; }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* primary buttons: a soft gradient with a light top edge */
.btn:not(.ghost):not(.plain):not(.danger):not(.action),
button:not(.ghost):not(.plain):not(.danger):not(.opt):not(.speak):not(.action) {
  background: linear-gradient(180deg, color-mix(in srgb, var(--brand-2) 55%, var(--brand)), var(--brand));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 2px 6px color-mix(in srgb, var(--brand) 22%, transparent); }
.hero .btn:not(.ghost):not(.plain):not(.danger):not(.action),
.hero button:not(.ghost):not(.plain):not(.danger):not(.opt):not(.speak):not(.action) {
  background: #fff; color: #0b6e4f; border-color: #fff; box-shadow: 0 4px 14px rgba(0,0,0,.15); }
.btn.plain:hover, button.plain:hover, .btn.ghost:hover, button.ghost:hover { background: var(--brand-soft); box-shadow: none; }
.hero .btn.ghost:hover, .hero button.ghost:hover { background: rgba(255,255,255,.12); }

/* cards and tiles */
.card { border-color: color-mix(in srgb, var(--line) 80%, transparent); }
a.card, .action { will-change: transform; }
.action:hover { box-shadow: 0 10px 28px -12px color-mix(in srgb, var(--brand) 40%, transparent); }
.stat { position: relative; overflow: hidden; box-shadow: var(--shadow);
  background: linear-gradient(160deg, var(--surface) 60%, color-mix(in srgb, var(--brand-soft) 70%, var(--surface))); }
.stat .n { color: var(--brand); }
.stat::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--brand-2), var(--gold)); opacity: .8; }
.icon-tile { background: linear-gradient(145deg, var(--brand-soft), color-mix(in srgb, var(--brand-soft) 60%, var(--surface))); }
.badge.on { box-shadow: 0 8px 22px -12px color-mix(in srgb, var(--gold) 80%, transparent); }
.ring { background: radial-gradient(closest-side, var(--surface) 76%, transparent 78% 100%),
  conic-gradient(var(--brand-2), var(--brand) calc(var(--p) * 1%), var(--line) 0); }
.opt { transition: border-color .15s, background .15s, transform .12s; }
.opt:active { transform: scale(.99); }

/* bottom tabs: a pill behind the active icon */
.tabs a svg { box-sizing: content-box; padding: 4px 16px; border-radius: 999px; transition: background .2s; }
.tabs a.on svg { background: var(--brand-soft); filter: none; }
.tabs a.on { font-weight: 800; }
.side a.item.on { box-shadow: inset 3px 0 0 var(--brand); }

/* sign-in page */
.auth { max-width: 440px; margin: 3vh auto 0; }
.auth-logo { margin-bottom: 18px; }
.auth-logo img { border-radius: 20px; box-shadow: var(--shadow-lg); }
.auth .card { padding: 22px; box-shadow: 0 18px 50px -24px color-mix(in srgb, var(--brand) 45%, transparent), var(--shadow); }
.perks { list-style: none; padding: 0; margin: 18px 0 14px; display: grid; gap: 8px; }
.perks li { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 14px; font-weight: 650; font-size: 15px;
  background: color-mix(in srgb, var(--surface) 70%, transparent); border: 1px solid var(--line); }
.perks li span { font-size: 20px; width: 28px; text-align: center; }

/* Navigation helpers */
.back { margin: 0 0 6px; }
.back a { color: var(--muted, #667); font-weight: 600; text-decoration: none; }
.back a:hover { color: var(--brand); }
.tr-logo { display:inline-grid; place-items:center; width:22px; height:22px; border-radius:7px; background:linear-gradient(135deg,#1d4ed8,#0b6e4f); color:#fff; font-weight:800; font-size:12px; }
.side .item.switch { margin-top: 10px; border-top: 1px solid var(--line, #e5e7eb); padding-top: 12px; gap: 10px; }
.more-menu { margin-bottom: 18px; }
/* Subject switching */
.subj-pick { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 12px; position: relative; z-index: 1; }
.subj-pick .tiny { color: rgba(255,255,255,.8); margin-right: 2px; }
.hero .subj-pick button.plain { background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; padding: 5px 12px; font-weight: 600; }
.hero .subj-pick button.plain:hover { background: rgba(255,255,255,.25); }
@media (max-width: 720px) { .seg { flex-wrap: wrap; width: auto; border-radius: 16px; } }
.hero .subj-pick a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.subj-pick .pill { cursor: pointer; }
.subj-pick .pill input { position: absolute; opacity: 0; pointer-events: none; }
.subj-pick .pill span { display: inline-block; padding: 6px 13px; border-radius: 999px; font-size: 14px; font-weight: 600;
  background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.35); transition: background .15s, color .15s; }
.subj-pick .pill input:checked + span { background: #fff; color: #0b6e4f; border-color: #fff; font-weight: 800; }
.subj-pick .pill input:checked + span::before { content: "✓ "; }
.subj-pick .pill input:focus-visible + span { outline: 2px solid #fff; outline-offset: 2px; }
.subj-select { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 12px; position: relative; z-index: 1; }
.subj-select label { font-weight: 700; font-size: 14px; color: rgba(255,255,255,.9); }
.subj-select select { width: auto; min-width: 200px; flex: 1; max-width: 320px; background: #fff; color: #0b6e4f; font-weight: 700; border: 0; border-radius: 12px; padding: 9px 12px; }
.subj-select a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* Tender page */
.tender-head h1 { margin: 0 0 6px; line-height: 1.25; }
.chip.left.urgent { background: var(--bad-soft); color: var(--bad); font-weight: 700; }
.chip.left.soon { background: #fff4e0; color: #9a5b00; font-weight: 700; }
.chip.left.closed { background: var(--line); color: var(--muted); }
@media (prefers-color-scheme: dark) { .chip.left.soon { background: #2d2210; color: #f5b955; } }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; margin: 16px 0; }
.fact { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; }
.fact .label { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); font-weight: 700; }
.tender-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.tender-actions form { margin: 0; }
.prose { white-space: pre-line; line-height: 1.55; }
a.card.similar { display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: inherit; }
a.card.similar:hover { border-color: var(--brand); }
@media (max-width: 720px) { .tender-actions .btn, .tender-actions button { flex: 1 1 auto; justify-content: center; } }
.tr-hero { background: linear-gradient(135deg,#0b2a5c,#1d4ed8 60%,#0b6e4f); }
.tr-hero .btn:not(.ghost) { background:#fff; color:#1d4ed8; border-color:#fff; }
.tr-benefits { margin: 6px 0 18px; } .tr-benefits .card { margin: 0; }
.hero.tr-hero .btn:not(.ghost):not(.plain):not(.danger):not(.action) { background:#fff; color:#1d4ed8; }

/* sign-in alternatives */
.or { display:flex; align-items:center; gap:10px; margin:16px 0 12px; color:var(--muted); font-size:13px; }
.or::before, .or::after { content:""; flex:1; height:1px; background:var(--line); }
.alt-signin { display:grid; gap:8px; }
.alt-signin form { margin:0; }
.profile-pick { display:grid; gap:10px; grid-template-columns:repeat(auto-fill, minmax(150px, 1fr)); }
.profile-pick button, .profile-pick a { display:flex; flex-direction:column; align-items:center; gap:6px; padding:16px 10px; width:100%; }
.profile-pick .av { width:48px; height:48px; border-radius:50%; display:grid; place-items:center; font-weight:700; font-size:20px; background:var(--brand-soft); color:var(--brand); }
.pin-list { width:100%; border-collapse:collapse; }
.pin-list td, .pin-list th { padding:8px; border-bottom:1px solid var(--line); text-align:left; }
.pin-list .pin { font-family:ui-monospace, monospace; font-size:18px; letter-spacing:3px; font-weight:700; }
@media print { .side, .tabs, .no-print, header { display:none !important; } }
