/* Stark Career, by Stark. Accent: teal. Dark by default, light theme via [data-theme=light]. */
:root {
  --bg: #0a1115; --bg-2: #0f181d; --panel: #121e25; --panel-2: #192832; --panel-3: #20323d; --line: #24384350; --line-2: #2c4350;
  --text: #e6f0f2; --muted: #93abb4; --accent: #2dd4bf; --accent-2: #7ff0e0; --accent-ink: #042521; --accent-soft: rgba(45, 212, 191, .12);
  --good: #6ee7a0; --bad: #ff9b8f; --warn: #f4c86a; --focus: #9ff5e9; --mark: rgba(244, 200, 106, .28);
  --shadow: 0 1px 0 rgba(255, 255, 255, .03) inset, 0 10px 30px rgba(0, 0, 0, .35); --shadow-lg: 0 24px 60px rgba(0, 0, 0, .55);
  --radius: 16px; --radius-sm: 10px; --side: 248px; --ease: cubic-bezier(.2, .8, .2, 1);
  --sans: "Inter", "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif; --mono: "Cascadia Mono", Consolas, "SF Mono", Menlo, monospace;
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: #f3f7f8; --bg-2: #e9f0f2; --panel: #ffffff; --panel-2: #eef4f5; --panel-3: #e2ecee; --line: #d3e1e5; --line-2: #bfd2d8;
  --text: #10232b; --muted: #4c6872; --accent: #0b7a6d; --accent-2: #0b6f64; --accent-ink: #ffffff; --accent-soft: rgba(11, 122, 109, .1);
  --good: #167a44; --bad: #b3362b; --warn: #8a5a00; --focus: #0b6f64; --mark: rgba(244, 190, 60, .35);
  --shadow: 0 1px 2px rgba(16, 40, 50, .06), 0 8px 24px rgba(16, 40, 50, .07); --shadow-lg: 0 24px 60px rgba(16, 40, 50, .22); color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; font: 15.5px/1.55 var(--sans); color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { line-height: 1.2; margin: .2em 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(1.6rem, 2.6vw, 2.15rem); letter-spacing: -.02em; } h2 { font-size: 1.22rem; } h3 { font-size: 1.04rem; }
a { color: var(--accent-2); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; inset-inline-start: 8px; top: -4rem; background: var(--accent); color: var(--accent-ink); padding: .5rem 1rem; z-index: 99; border: 0; }
.skip-link:focus { top: 8px; }
.muted { color: var(--muted); } .fine { font-size: .87rem; color: var(--muted); max-width: 78ch; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .75rem; color: var(--accent); margin: 0 0 .35em; font-weight: 750; }
kbd { font: 600 .75rem/1 var(--mono); padding: .2rem .4rem; border-radius: 6px; border: 1px solid var(--line-2); border-bottom-width: 2px; background: var(--panel-2); color: var(--muted); white-space: nowrap; }
mark { background: var(--mark); color: inherit; border-radius: 4px; padding: 0 .15em; }
.ok-text { color: var(--good); } .warn-text { color: var(--warn); }

/* ---------- 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; display: flex; flex-direction: column; gap: .8rem; padding: 1.1rem .8rem 1rem; background: var(--bg-2); border-right: 1px solid var(--line-2); }
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--text); padding: 0 .35rem; }
.brand-mark { width: 38px; height: 38px; border-radius: 11px; background: linear-gradient(135deg, var(--accent), #14b8a6); color: var(--accent-ink); display: grid; place-items: center; font-weight: 850; font-size: 1.05rem; box-shadow: 0 6px 18px rgba(45, 212, 191, .25); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-weight: 800; font-size: 1.05rem; } .brand-by { font-size: .75rem; color: var(--muted); letter-spacing: .06em; }
.search-btn { display: flex; align-items: center; justify-content: space-between; gap: .5rem; width: 100%; font: inherit; font-size: .88rem; color: var(--muted); background: var(--panel); border: 1px solid var(--line-2); border-radius: 10px; padding: .5rem .6rem; cursor: pointer; transition: border-color .15s, color .15s; }
.search-btn:hover { border-color: var(--accent); color: var(--text); }
.mainnav { display: flex; flex-direction: column; gap: .7rem; flex: 1; }
.nav-group { display: flex; flex-direction: column; gap: 1px; }
.nav-label { margin: 0 0 .2rem .6rem; font-size: .75rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); font-weight: 700; opacity: .8; }
.mainnav a { position: relative; display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--muted); padding: .42rem .6rem; border-radius: 9px; font-weight: 600; font-size: .93rem; transition: background .15s, color .15s; }
.mainnav a:hover { color: var(--text); background: var(--panel-2); }
.mainnav a.on { color: var(--text); background: var(--accent-soft); }
.nav-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--line-2); flex: none; transition: background .15s, transform .15s; }
.mainnav a.on .nav-dot { background: var(--accent); transform: scale(1.25); box-shadow: 0 0 0 4px var(--accent-soft); }
.nav-badge { margin-left: auto; min-width: 1.3rem; text-align: center; font-size: .75rem; font-weight: 800; padding: .05rem .35rem; border-radius: 999px; background: #f4c86a; color: #241a00; }
.side-foot { display: flex; flex-wrap: wrap; gap: .4rem; }
.content { min-width: 0; display: flex; flex-direction: column; }
main { width: 100%; max-width: 1320px; margin: 0 auto; padding: 1.6rem clamp(1rem, 2.4vw, 2.2rem) 2rem; flex: 1; }
main.enter > * { animation: viewIn .32s var(--ease) both; }
main.enter > *:nth-child(2) { animation-delay: .04s; } main.enter > *:nth-child(3) { animation-delay: .08s; } main.enter > *:nth-child(n+4) { animation-delay: .11s; }
.enter { animation: viewIn .3s var(--ease) both; }
@keyframes viewIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
.footer { text-align: center; color: var(--muted); font-size: .84rem; padding: 1rem 1rem 1.6rem; border-top: 1px solid var(--line-2); }
.view-head { margin-bottom: 1.2rem; } .lede { color: var(--muted); max-width: 76ch; font-size: 1.02rem; margin: .2rem 0 0; }
.section-title { margin: 1.6rem 0 .7rem; font-size: 1.05rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; font-size: .8rem; }

@media (max-width: 860px) {
  .shell { grid-template-columns: minmax(0, 1fr); }
  .side { position: sticky; z-index: 20; height: auto; flex-direction: row; flex-wrap: wrap; align-items: center; gap: .5rem; padding: .6rem .8rem; border-right: 0; border-bottom: 1px solid var(--line-2); overflow: visible; }
  .brand-by, .side-foot #keys-btn { display: none; }
  .search-btn { width: auto; flex: 1; min-width: 0; } .search-btn span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .side-foot { order: 2; }
  .mainnav { order: 3; flex-direction: row; flex: 1 1 100%; overflow-x: auto; gap: .25rem; scrollbar-width: none; }
  .nav-group { flex-direction: row; gap: .25rem; } .nav-label, .nav-dot { display: none; }
  .mainnav a { white-space: nowrap; padding: .35rem .7rem; border-radius: 999px; font-size: .88rem; }
  .mainnav a.on { background: var(--accent); color: var(--accent-ink); }
}

/* ---------- building blocks ---------- */
.card { background: var(--panel); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 1.1rem 1.25rem; margin: 0 0 1rem; box-shadow: var(--shadow); }
.card-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem; margin-bottom: .4rem; }
.card-head h2, .card-head h3 { margin: 0; }
.grid { display: grid; gap: .9rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.tool-card { position: relative; display: block; text-decoration: none; color: var(--text); background: var(--panel); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 1.05rem 1.15rem; transition: transform .18s var(--ease), border-color .18s, box-shadow .18s; }
.tool-card:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: var(--shadow); }
.tool-card h3 { color: var(--text); margin: 0 0 .35rem; } .tool-card p { margin: 0; color: var(--muted); font-size: .92rem; }
.tool-card.hot { background: linear-gradient(160deg, var(--accent-soft), transparent 60%), var(--panel); }
.tool-card.hot h3 { color: var(--accent-2); }
.kbd-hint { display: block; margin-top: .6rem; }
.two { display: grid; gap: 1.2rem; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
.two.wide-right { grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); }
.hero-grid { display: grid; gap: 1rem; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: stretch; }
@media (max-width: 1000px) { .two, .two.wide-right, .hero-grid { grid-template-columns: minmax(0, 1fr); } }

label { display: block; font-weight: 600; font-size: .86rem; margin: .65rem 0 .25rem; }
input, textarea, select { width: 100%; font: inherit; font-size: .95rem; color: var(--text); background: var(--bg-2); border: 1px solid var(--line-2); border-radius: var(--radius-sm); padding: .52rem .7rem; transition: border-color .15s, box-shadow .15s, background .15s; }
input:hover, textarea:hover, select:hover { border-color: var(--muted); }
input:focus, textarea:focus, select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); background: var(--panel); }
input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; }
[aria-invalid="true"] { border-color: var(--bad); } .field-err { color: var(--bad); font-size: .86rem; font-weight: 650; margin: .2rem 0 0; }
.save-banner { display: flex; gap: .8rem; align-items: center; flex-wrap: wrap; margin: .8rem 1.2rem 0; padding: .7rem 1rem; border: 1px solid var(--bad); border-left-width: 5px; border-radius: 10px; background: var(--panel); color: var(--text); } .save-banner p { margin: 0; flex: 1 1 22rem; }
.toast.bad { background: var(--bad); color: #fff; display: flex; gap: .8rem; align-items: center; } .toast-x { font: inherit; font-size: 1.2rem; line-height: 1; background: transparent; color: inherit; border: 1px solid currentColor; border-radius: 8px; min-width: 32px; min-height: 32px; cursor: pointer; }
@media (pointer: coarse) { .btn, .mainnav a { min-height: 44px; } }
textarea { resize: vertical; min-height: 4.5rem; line-height: 1.5; }
input[type=checkbox] { width: auto; accent-color: var(--accent); }
select.inline { width: auto; }
input.num { width: 4.2rem; padding: .3rem .4rem; }
.check { display: flex; align-items: center; gap: .5rem; font-weight: 500; margin: .55rem 0; }
.row { display: flex; flex-wrap: wrap; gap: .55rem; align-items: center; }
.row.end { justify-content: flex-end; } .row.between { justify-content: space-between; align-items: flex-end; } .row > .grow, .grow { flex: 1; min-width: 0; }
.cols { display: grid; gap: .1rem .7rem; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.btn { display: inline-flex; align-items: center; gap: .4rem; font: inherit; font-size: .92rem; font-weight: 650; cursor: pointer; text-decoration: none; border: 1px solid var(--line-2); background: var(--panel-2); color: var(--text); border-radius: 10px; padding: .5rem 1rem; transition: transform .12s, background .15s, border-color .15s, box-shadow .15s; }
.btn:hover { border-color: var(--accent); }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); box-shadow: 0 6px 16px rgba(45, 212, 191, .18); }
.btn.primary:hover { filter: brightness(1.06); }
.btn.primary kbd { background: rgba(0, 0, 0, .12); border-color: rgba(0, 0, 0, .18); color: inherit; }
.btn.ghost { background: transparent; }
.btn.danger { border-color: color-mix(in srgb, var(--bad) 60%, transparent); color: var(--bad); background: transparent; }
.btn.small { padding: .32rem .75rem; font-size: .84rem; } .btn.tiny { padding: .18rem .55rem; font-size: .78rem; border-radius: 8px; }
.btn.on { border-color: var(--accent); background: var(--accent-soft); }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.chip { display: inline-flex; align-items: center; gap: .25rem; padding: .12rem .6rem; border-radius: 999px; font: inherit; font-size: .83rem; font-weight: 600; margin: .15rem .25rem .15rem 0; border: 1px solid var(--line-2); background: var(--panel-2); color: var(--text); }
.chip.ok { border-color: color-mix(in srgb, var(--good) 55%, transparent); color: var(--good); } .chip.no { border-color: color-mix(in srgb, var(--bad) 55%, transparent); color: var(--bad); }
.chip.ghost { background: transparent; color: var(--muted); font-weight: 500; }
button.chip { cursor: pointer; } button.chip:hover { border-color: var(--accent); color: var(--accent-2); }
.chips { line-height: 2; }
.tabs { display: inline-flex; flex-wrap: wrap; gap: .25rem; margin: 0 0 1rem; padding: .25rem; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line-2); }
.tabs button { font: inherit; font-size: .9rem; font-weight: 650; cursor: pointer; padding: .4rem .95rem; border-radius: 9px; border: 0; background: transparent; color: var(--muted); transition: background .15s, color .15s; }
.tabs button:hover { color: var(--text); } .tabs button.on { background: var(--panel); color: var(--text); box-shadow: var(--shadow); }
.seg { display: inline-flex; padding: .2rem; border-radius: 10px; background: var(--bg-2); border: 1px solid var(--line-2); gap: .15rem; margin: .7rem 0 .3rem; }
.seg button { font: inherit; font-size: .85rem; font-weight: 650; cursor: pointer; padding: .3rem .8rem; border-radius: 8px; border: 0; background: transparent; color: var(--muted); }
.seg button.on { background: var(--panel); color: var(--text); box-shadow: var(--shadow); }
.seg.sm { margin: 0; } .seg.sm button { padding: .2rem .6rem; font-size: .8rem; }
.seg.sm button.on { background: var(--accent); color: var(--accent-ink); }

.checks { list-style: none; padding: 0; margin: .4rem 0; }
.checks li { padding: .15rem 0 .15rem 1.5rem; position: relative; font-size: .9rem; }
.checks li::before { content: "\2715"; position: absolute; left: .1rem; color: var(--bad); font-weight: 800; }
.checks li.ok::before { content: "\2713"; color: var(--good); }
.hint { background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); padding: .55rem .85rem; border-radius: 10px; font-size: .9rem; margin: .5rem 0; }
.hint.warn { background: color-mix(in srgb, var(--warn) 12%, transparent); border-color: color-mix(in srgb, var(--warn) 40%, transparent); }
.toast { position: fixed; left: 50%; bottom: calc(1.2rem + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); background: var(--text); color: var(--bg); padding: .6rem 1.2rem; border-radius: 12px; font-weight: 650; font-size: .92rem; z-index: 60; box-shadow: var(--shadow-lg); max-width: calc(100vw - 2rem); }
.toast.pop { animation: toastIn .28s var(--ease); }
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, 10px); } }
.stat { display: flex; flex-wrap: wrap; gap: .6rem; margin: .4rem 0 1rem; }
.stat div { background: var(--panel-2); border: 1px solid var(--line-2); border-radius: 12px; padding: .5rem .9rem; min-width: 110px; font-size: .85rem; color: var(--muted); }
.stat b { display: block; font-size: 1.35rem; color: var(--accent-2); letter-spacing: -.01em; }
.bar { height: 8px; border-radius: 999px; background: var(--panel-3); overflow: hidden; flex: 1; }
.bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transition: width .5s var(--ease); }
.bar i.good { background: var(--good); } .bar i.mid { background: var(--warn); } .bar i.low { background: var(--bad); }

/* rings */
.ring { --p: 0; --sz: 112px; width: var(--sz); height: var(--sz); flex: none; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--accent) calc(var(--p) * 1%), var(--panel-3) 0); transition: background .3s; }
.ring span { width: calc(var(--sz) - 22px); height: calc(var(--sz) - 22px); border-radius: 50%; background: var(--panel); display: grid; place-items: center; font-size: 1.6rem; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.ring.sm { --sz: 76px; } .ring.sm span { font-size: 1rem; width: calc(var(--sz) - 14px); height: calc(var(--sz) - 14px); }
.ring.lg { --sz: 140px; } .ring.lg span { font-size: 2rem; }
.ring.think { background: conic-gradient(var(--warn) calc(var(--p) * 1%), var(--panel-3) 0); }
.ring.low { background: conic-gradient(var(--bad) calc(var(--p) * 1%), var(--panel-3) 0); }
.rings { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-around; margin: .5rem 0; }
.ring-cell { display: flex; flex-direction: column; align-items: center; gap: .35rem; } .ring-cell small { color: var(--muted); font-size: .8rem; text-align: center; }
.streak { color: var(--warn); }

/* today list */
.todo { list-style: none; margin: .3rem 0 0; padding: 0; display: flex; flex-direction: column; gap: .4rem; }
.todo a { display: flex; justify-content: space-between; gap: .8rem; align-items: center; text-decoration: none; color: var(--text); padding: .6rem .8rem; border-radius: 10px; background: var(--bg-2); border: 1px solid var(--line-2); border-left: 4px solid var(--accent); transition: transform .15s var(--ease), border-color .15s; }
.todo a:hover { transform: translateX(3px); border-color: var(--accent); }
.todo span { color: var(--muted); font-size: .82rem; white-space: nowrap; }
.todo .k-follow a { border-left-color: var(--warn); } .todo .k-prep a { border-left-color: #a78bfa; } .todo .k-apply a { border-left-color: var(--bad); }

/* ---------- resume builder ---------- */
.coach { margin-top: .5rem; border-top: 1px dashed var(--line-2); padding-top: .4rem; }
.coach .b { margin: .45rem 0; padding: .5rem .65rem; border-left: 4px solid var(--line-2); background: var(--panel); border-radius: 0 10px 10px 0; font-size: .9rem; }
.coach .b.strong { border-color: var(--good); } .coach .b.ok { border-color: var(--warn); } .coach .b.weak { border-color: var(--bad); }
.b-top { display: flex; gap: .55rem; align-items: baseline; } .b-text { flex: 1; min-width: 0; }
.score { font-weight: 800; font-variant-numeric: tabular-nums; min-width: 1.9rem; }
.weak-row { margin: .3rem 0 0; display: flex; flex-wrap: wrap; gap: .2rem .7rem; font-size: .84rem; }
.wk s { color: var(--bad); text-decoration-thickness: 2px; margin-right: .2rem; }
.pu { margin-top: .4rem; padding: .5rem .6rem; border-radius: 10px; background: var(--bg-2); animation: viewIn .22s var(--ease); }
.sug { margin: .3rem 0; padding-left: 1.2rem; } .sug li { margin: .3rem 0; } .sug li span { margin-right: .4rem; }
.qz { margin: .2rem 0; padding-left: 1.1rem; font-size: .86rem; color: var(--muted); }
.entry { border: 1px solid var(--line-2); border-radius: 12px; padding: .75rem .9rem; margin: .7rem 0; background: var(--bg-2); }
.entry-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .4rem; }
.tpl-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: .55rem; }
.tpl-pick button { text-align: left; font: inherit; cursor: pointer; background: var(--bg-2); color: var(--text); border: 2px solid var(--line-2); border-radius: 12px; padding: .45rem; transition: border-color .15s, transform .15s var(--ease); }
.tpl-pick button:hover { transform: translateY(-2px); border-color: var(--muted); }
.tpl-pick button.on { border-color: var(--accent); background: var(--accent-soft); }
.tpl-pick b { display: block; font-size: .86rem; margin-top: .35rem; } .tpl-pick small { display: block; color: var(--muted); font-size: .75rem; line-height: 1.3; }
.tpl-pick .new { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; padding: .05rem .35rem; border-radius: 6px; background: var(--accent); color: var(--accent-ink); vertical-align: 2px; }
.thumb { display: block; height: 104px; overflow: hidden; border-radius: 6px; background: #fff; position: relative; }
.thumb-in { position: absolute; left: 0; top: 0; width: 816px; padding: 40px 44px; transform: scale(.155); transform-origin: top left; pointer-events: none; }
.tpl-pick.strip { grid-auto-flow: column; grid-auto-columns: 124px; grid-template-columns: none; overflow-x: auto; padding: .15rem .1rem .6rem; scroll-snap-type: x proximity; }
.tpl-pick.strip button { scroll-snap-align: start; } .tpl-pick.strip small { display: none; }
.tpl-pick.small { grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); }
.preview-card { position: sticky; top: 1rem; }
:root[data-theme="light"] .preview-card { background: var(--panel-2); } .preview-card.mini { padding: .8rem; }
.stats { margin: .2rem 0 .5rem; }
.paper-wrap { position: relative; overflow: hidden; border-radius: 6px; }
.paper-scale { width: 816px; transform-origin: top left; }
.paper-mini { width: 816px; transform: scale(.5); transform-origin: top left; height: 0; }
.preview-card.mini .paper-wrap { height: 560px; }
.tpv .paper-wrap { height: 520px; margin-top: .6rem; } .tpv summary { cursor: pointer; font-weight: 650; margin-top: .8rem; }
.pbreak { position: absolute; left: 0; right: 0; border-top: 2px dashed #94a3b8; pointer-events: none; }
.pbreak span { position: absolute; right: 8px; top: -11px; background: #94a3b8; color: #fff; font: 600 11px/1 var(--sans); padding: 4px 7px; border-radius: 6px; }
.design-note { margin: .5rem 0; padding: .6rem .8rem; border-radius: 10px; background: color-mix(in srgb, var(--warn) 14%, transparent); border: 1px solid color-mix(in srgb, var(--warn) 45%, transparent); font-size: .88rem; }
.swatches { display: flex; gap: .45rem; margin: .4rem 0; }
.swatches button { width: 26px; height: 26px; border-radius: 50%; background: var(--sw); border: 3px solid var(--panel); box-shadow: 0 0 0 1px var(--line-2); cursor: pointer; }
.swatches button.on { box-shadow: 0 0 0 2px var(--text); }
details.ats summary { cursor: pointer; margin-top: .6rem; }

/* ---------- guided flow ---------- */
.stepper { list-style: none; display: flex; flex-wrap: wrap; gap: .3rem; margin: 0 0 .8rem; padding: 0; }
.stepper button { display: flex; align-items: center; gap: .4rem; font: inherit; font-size: .82rem; font-weight: 600; cursor: pointer; padding: .28rem .65rem .28rem .3rem; border-radius: 999px; border: 1px solid var(--line-2); background: var(--panel); color: var(--muted); }
.stepper span { display: grid; place-items: center; width: 1.4rem; height: 1.4rem; border-radius: 50%; background: var(--panel-3); font-size: .75rem; }
.stepper .done button { color: var(--text); } .stepper .done span { background: var(--good); color: #052414; }
.stepper .on button { color: var(--text); border-color: var(--accent); } .stepper .on span { background: var(--accent); color: var(--accent-ink); }
.gbar { height: 4px; border-radius: 4px; background: var(--panel-3); margin: 0 0 1rem; overflow: hidden; }
.gbar span { display: block; height: 100%; width: calc(var(--p) * 1%); background: linear-gradient(90deg, var(--accent), var(--accent-2)); transition: width .45s var(--ease); }
.flow-card { animation: viewIn .28s var(--ease); } .flow-nav { margin-top: 1.1rem; }
.clock { text-align: right; } .clock span { display: block; font-size: 2rem; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--accent-2); } .clock small { color: var(--muted); }
.fb { margin: .3rem 0 .8rem; } .fb-coach { font-size: .85rem; margin-top: .3rem; color: var(--muted); min-height: 1.2em; }
.fb-sug { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; margin-top: .3rem; padding: .35rem .55rem; border-radius: 8px; background: var(--bg-2); color: var(--text); }
.score-pill { display: inline-block; min-width: 2.2rem; text-align: center; font-weight: 800; border-radius: 999px; padding: 0 .4rem; color: #10232b; background: var(--warn); }
.score-pill.strong { background: var(--good); } .score-pill.weak { background: var(--bad); }

/* ---------- tailor ---------- */
.kw { list-style: none; margin: .3rem 0; padding: 0; display: flex; flex-direction: column; gap: .4rem; }
.kw li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; padding: .55rem .7rem; border-radius: 10px; background: var(--bg-2); border: 1px solid var(--line-2); }
.kw li > div:first-child { flex: 1; min-width: 200px; } .kw b { display: block; } .kw span { display: block; font-size: .85rem; color: var(--muted); } .kw .frame { color: var(--accent-2); }
.kw.rep li { display: block; overflow-wrap: anywhere; } .kw.rep li span { margin-top: .15rem; } details.posting pre.letter { max-height: 14rem; overflow: auto; }
.vlist { list-style: none; margin: 0; padding: 0; } .vlist li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; align-items: center; padding: .55rem 0; border-bottom: 1px solid var(--line-2); }
.vlist li > div:first-child { min-width: 0; } .vlist b { display: block; } .vlist li:last-child { border-bottom: 0; }
.vtag { display: flex; align-items: center; justify-content: space-between; gap: .4rem; margin-top: .35rem; font-size: .8rem; color: var(--muted); }

/* ---------- tracker ---------- */
.board { display: grid; gap: .8rem; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); align-items: start; }
.col { background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 14px; padding: .6rem; min-height: 6rem; }
.col h3 { margin: 0 0 .4rem; font-size: .9rem; display: flex; justify-content: space-between; align-items: center; }
.acard { background: var(--panel); border: 1px solid var(--line-2); border-radius: 11px; padding: .6rem .7rem; margin: .5rem 0; font-size: .9rem; transition: border-color .15s, transform .15s var(--ease); }
.acard:hover { border-color: var(--muted); }
.acard.due { border-color: var(--warn); box-shadow: 0 0 0 1px var(--warn); }
.acard > b { display: block; } .acard details { margin-top: .3rem; } .acard summary { cursor: pointer; color: var(--accent-2); font-size: .83rem; }

/* ---------- interviews ---------- */
.qcard { font-size: 1.3rem; font-family: var(--serif); line-height: 1.4; padding: .8rem 0; }
.timer { font-size: 3rem; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--accent-2); }
.timer.over { color: var(--bad); }
.rate button { font: inherit; font-weight: 800; width: 2.6rem; height: 2.6rem; border-radius: 50%; border: 2px solid var(--line-2); background: var(--bg-2); color: var(--text); cursor: pointer; margin-right: .3rem; transition: transform .12s; }
.rate button:hover { transform: scale(1.08); } .rate button.on { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.star-grid { display: grid; gap: .6rem; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.star-grid h4 { margin: 0; color: var(--accent-2); }
video.rec { width: 100%; max-height: 320px; background: #000; border-radius: 10px; } audio { width: 100%; margin: .4rem 0; }
.mock-run { padding: 1.4rem 1.5rem; }
.mock-q { font-family: var(--serif); font-size: clamp(1.35rem, 2.6vw, 1.9rem); line-height: 1.35; margin: .6rem 0 1.2rem; animation: viewIn .35s var(--ease); }
.mock-clock { display: flex; flex-wrap: wrap; gap: 1.2rem; align-items: center; }
.phase { font-size: 1.2rem; font-weight: 800; margin: 0; }
.dots { display: flex; gap: .3rem; } .dots span { width: 22px; height: 6px; border-radius: 4px; background: var(--panel-3); } .dots .done { background: var(--good); } .dots .on { background: var(--accent); }
.rec-dot { color: var(--bad); font-weight: 700; } .rec-dot::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--bad); margin-right: .3rem; animation: blink 1s infinite; }
@keyframes blink { 50% { opacity: .2; } }
.rubric { display: flex; flex-direction: column; gap: .35rem; margin-top: .6rem; }
.rub-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .5rem; padding: .4rem 0; border-top: 1px solid var(--line-2); }
.rub-row > span { flex: 1; min-width: 200px; } .rub-row small { display: block; color: var(--muted); font-size: .8rem; }
.bars { margin: 1rem 0; display: flex; flex-direction: column; gap: .5rem; }
.bar-row, .f-row { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr) 3rem; gap: .6rem; align-items: center; font-size: .9rem; }
.f-row { grid-template-columns: 6.5rem minmax(0, 1fr) 2rem 2.6rem; } .f-row small { color: var(--muted); }
.funnel { display: flex; flex-direction: column; gap: .5rem; margin: .4rem 0 .6rem; }
.drills li { margin: .5rem 0; }

/* ---------- sprint ---------- */
.goals { display: flex; flex-direction: column; gap: .8rem; margin-top: 1rem; }
.goal-top { display: flex; justify-content: space-between; gap: .5rem; margin-bottom: .3rem; }
.goal-ctl { margin-top: .4rem; } .goal-ctl label { margin: 0 0 0 .4rem; }
.heat { display: flex; gap: 4px; overflow-x: auto; padding: .3rem 0; }
.hcol { display: flex; flex-direction: column; gap: 4px; }
.heat i { width: 15px; height: 15px; border-radius: 4px; background: var(--panel-3); display: block; }
.heat .l1 { background: color-mix(in srgb, var(--accent) 30%, var(--panel-3)); } .heat .l2 { background: color-mix(in srgb, var(--accent) 55%, var(--panel-3)); }
.heat .l3 { background: color-mix(in srgb, var(--accent) 78%, var(--panel-3)); } .heat .l4 { background: var(--accent); } .heat .lf { background: transparent; border: 1px dashed var(--line-2); }

/* ---------- network ---------- */
.net { display: grid; gap: 1rem; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr) minmax(0, 1.1fr); align-items: start; }
@media (max-width: 1150px) { .net { grid-template-columns: minmax(0, 1fr); } }
.tlist ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .3rem; }
.tlist button, .formula button { width: 100%; text-align: left; font: inherit; cursor: pointer; background: var(--bg-2); color: var(--text); border: 1px solid var(--line-2); border-radius: 10px; padding: .5rem .65rem; transition: border-color .15s; }
.tlist button:hover, .formula button:hover { border-color: var(--muted); }
.tlist button.on, .formula button.on { border-color: var(--accent); background: var(--accent-soft); }
.tlist small, .formula small { display: block; color: var(--muted); font-size: .78rem; }
.formula { display: grid; gap: .4rem; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.meter { display: flex; align-items: center; gap: .6rem; font-size: .82rem; color: var(--muted); margin: .4rem 0; }
.meter .bar { max-width: 220px; } .meter.near .bar i { background: var(--warn); } .meter.over .bar i { background: var(--bad); } .meter.over span { color: var(--bad); font-weight: 700; }
mark.blank { background: color-mix(in srgb, var(--warn) 25%, transparent); }
pre.about .above { background: var(--accent-soft); border-radius: 4px; } pre.about .fold { opacity: .75; }
.checklist { list-style: none; padding: 0; margin: 0; } .checklist .check { margin: .35rem 0; font-size: .92rem; align-items: flex-start; }

/* ---------- overlays ---------- */
.overlay { position: fixed; inset: 0; z-index: 80; background: rgba(4, 10, 13, .55); backdrop-filter: blur(4px); display: flex; justify-content: center; align-items: flex-start; padding: 12vh 1rem 1rem; animation: fadeIn .15s ease; }
.overlay[hidden] { display: none; }
@keyframes fadeIn { from { opacity: 0; } }
.dialog { width: min(620px, 100%); background: var(--panel); border: 1px solid var(--line-2); border-radius: 16px; box-shadow: var(--shadow-lg); animation: dlgIn .2s var(--ease); overflow: hidden; }
@keyframes dlgIn { from { opacity: 0; transform: translateY(-8px) scale(.98); } }
.palette input { border: 0; border-bottom: 1px solid var(--line-2); border-radius: 0; padding: 1rem 1.1rem; font-size: 1.05rem; background: transparent; box-shadow: none; }
.palette ul { list-style: none; margin: 0; padding: .35rem; max-height: 52vh; overflow-y: auto; }
.palette li { display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: .55rem .75rem; border-radius: 9px; cursor: pointer; }
.palette li small { color: var(--muted); font-size: .78rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 45%; }
.palette li.on { background: var(--accent-soft); box-shadow: inset 3px 0 0 var(--accent); } .palette li.empty { color: var(--muted); cursor: default; }
.pal-foot { margin: 0; padding: .55rem 1rem; border-top: 1px solid var(--line-2); font-size: .78rem; color: var(--muted); display: flex; gap: .35rem; align-items: center; }
.keys { padding: 1.1rem 1.3rem; } .keys dl { display: grid; grid-template-columns: max-content 1fr; gap: .55rem 1rem; margin: .6rem 0 0; } .keys dd { margin: 0; color: var(--muted); font-size: .92rem; }

/* ---------- misc (bank, letters) ---------- */
pre.letter, pre.script { white-space: pre-wrap; word-wrap: break-word; font: .93rem/1.55 var(--sans); background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 10px; padding: .8rem 1rem; margin: .4rem 0; }
.bank li { padding: .35rem 0; border-bottom: 1px solid var(--line-2); } .bank { list-style: none; margin: 0; padding: 0; }
.bank button { all: unset; cursor: pointer; color: var(--accent-2); } .bank button:hover { text-decoration: underline; }

#print-sheet { display: none; }
@media print {
  html, body { background: #fff; }
  body > *:not(#print-sheet) { display: none !important; }
  #print-sheet { display: block !important; }
  @page { margin: 0.5in; }
}

.safe-banner{margin:0 0 1rem;padding:.8rem 1rem;border:1px solid #d97706;border-radius:10px;background:rgba(217,119,6,.14);display:flex;gap:.8rem;align-items:center;flex-wrap:wrap}.safe-banner p{margin:0;flex:1 1 20rem}

/* ---------- 2.1: salary benchmark, offers, contacts, references, growth, freelance, portfolio ---------- */
.span-all { grid-column: 1 / -1; }
.todo .k-net a { border-left-color: var(--accent); }
.rangebar { position: relative; height: 14px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line-2); margin: .9rem 0 .3rem; }
.rangebar .band { position: absolute; top: 0; bottom: 0; background: var(--accent-soft); border: 1px solid var(--accent); border-radius: 999px; }
.rangebar .mid { position: absolute; top: -5px; bottom: -5px; width: 3px; margin-left: -1px; background: var(--accent-2); border-radius: 2px; }
.tbl-wrap { overflow-x: auto; margin: .4rem 0 .6rem; border: 1px solid var(--line-2); border-radius: 12px; }
.tbl { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 600px; }
.tbl thead th { white-space: normal; vertical-align: bottom; }
.tbl th, .tbl td { text-align: left; padding: .5rem .7rem; border-bottom: 1px solid var(--line-2); white-space: nowrap; }
.tbl thead th { color: var(--muted); font-size: .76rem; text-transform: uppercase; letter-spacing: .06em; background: var(--bg-2); }
.tbl tbody tr:last-child th, .tbl tbody tr:last-child td { border-bottom: 0; }
.tbl td.best { color: var(--good); font-weight: 800; }
.offers { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); align-items: start; }
.offers .card { margin: 0; } .offer h4 { margin: .9rem 0 .1rem; font-size: .9rem; color: var(--muted); }
.hist { list-style: none; margin: .2rem 0 .5rem; padding: 0; font-size: .87rem; color: var(--muted); } .hist li { padding: .2rem 0; border-bottom: 1px dashed var(--line-2); } .hist b { color: var(--text); font-weight: 650; }
.check.inline { display: inline-flex; margin: 0 0 0 .4rem; font-size: .82rem; }
.checkrow { display: flex; flex-wrap: wrap; gap: 0 1.1rem; }
.skill-row, .proj { border-top: 1px solid var(--line-2); padding: .5rem 0 .3rem; } .skill-row:first-child, .proj:first-of-type { border-top: 0; }
.skill-row.done { opacity: .6; }
.gantt { display: flex; flex-direction: column; gap: .45rem; margin: .4rem 0 .8rem; }
.g-row { display: grid; grid-template-columns: minmax(6rem, 9rem) minmax(0, 1fr); gap: .2rem .7rem; align-items: center; font-size: .9rem; }
.g-row .fine { grid-column: 2; margin: 0; }
.g-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 650; }
.g-track { position: relative; height: 12px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line-2); }
.g-track i { position: absolute; top: 1px; bottom: 1px; border-radius: 999px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.phase-card h3 { margin-bottom: .3rem; }
.step { display: flex; align-items: center; gap: .5rem; padding: .3rem 0; border-bottom: 1px dashed var(--line-2); }
.step input[type=checkbox] { flex: none; }
.step .grow { flex: 1; min-width: 0; padding: .35rem .5rem; } .step .due { width: 10.5rem; flex: none; padding: .35rem .5rem; }
.step.done .grow { text-decoration: line-through; color: var(--muted); } .step.late .due { border-color: var(--warn); }
.win { padding: .55rem 0; border-bottom: 1px solid var(--line-2); } .win p { margin: 0 0 .2rem; } .q-head { margin: .9rem 0 .2rem; color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; }
.board.stages { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.pf-frame { border: 1px solid var(--line-2); border-radius: 12px; overflow: hidden; max-height: 78vh; overflow-y: auto; }
.pf-frame .pf .pf-wrap { padding: 28px 18px 24px; }
@media (max-width: 560px) {
  .step { flex-wrap: wrap; } .step .grow { flex-basis: calc(100% - 2.2rem); } .step .due { width: auto; flex: 1; }
  .g-row { grid-template-columns: minmax(0, 1fr); } .g-row .fine { grid-column: 1; }
  .offers { grid-template-columns: minmax(0, 1fr); }
}

/* screen language picker (js/i18n.js) */
.lang-pick { max-width: 10em; font: inherit; font-size: .85rem; padding: 5px 8px; border-radius: 8px; border: 1px solid var(--line-2); background: var(--panel); color: var(--text); cursor: pointer; }
.lang-pick:focus-visible { outline: 2px solid var(--focus, var(--accent, currentColor)); outline-offset: 2px; }
@media (max-width: 600px) { .lang-pick { max-width: 7.5em; font-size: .8rem; padding: 4px 6px; } }
[dir="rtl"] .side, [dir="rtl"] .mainnav { direction: rtl; }

/* long translated text wraps instead of widening the page */
button, label, a, h1, h2, h3, h4, p, li, td, th, summary, .tabs button, .nav-badge, .chip, .pill { overflow-wrap: anywhere; }
.tabs { max-width: 100%; }
.tabs button { min-width: 0; }
.mainnav a { overflow-wrap: normal; }
.shell > *, .content, main, .card, .board > *, .step > *, .row > *, .g-row > *, .offers > * { min-width: 0; }
@media (max-width: 560px) { .tabs { display: flex; } .tabs button { flex: 1 1 auto; } }
@media (max-width: 860px) { .side { max-width: 100vw; } .mainnav { min-width: 0; max-width: 100%; } .side > * { min-width: 0; } }

/* 2.2: forecast, pipeline river, ask */
.fc-hero { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: flex-end; justify-content: space-between; margin-bottom: .4rem; }
.fc-big { display: block; font-size: clamp(2.6rem, 6vw, 4rem); line-height: 1; font-weight: 850; letter-spacing: -.03em; color: var(--accent-2); font-variant-numeric: tabular-nums; }
.fc-sub { display: block; color: var(--muted); font-size: .9rem; max-width: 34ch; margin-top: .3rem; }
.fc-facts { display: flex; gap: .6rem; flex-wrap: wrap; } .fc-facts div { background: var(--panel-2); border: 1px solid var(--line-2); border-radius: 10px; padding: .45rem .7rem; font-size: .8rem; color: var(--muted); } .fc-facts b { display: block; color: var(--text); font-size: 1.02rem; }
.fc-svg, .rv-svg { width: 100%; height: auto; display: block; }
.fc-grid { stroke: var(--line-2); stroke-width: 1; } .fc-axis { fill: var(--muted); font-size: 12px; font-family: var(--mono); }
.fc-line { fill: none; stroke: var(--accent); stroke-width: 3.5; stroke-linejoin: round; stroke-dasharray: 2000; animation: fc-draw .9s var(--ease) both; }
.fc-base { fill: none; stroke: var(--muted); stroke-width: 2; stroke-dasharray: 6 5; }
.fc-area { fill: var(--accent-soft); stroke: none; } .fc-mark { stroke: var(--accent-2); stroke-width: 1.5; stroke-dasharray: 3 3; } .fc-dot { fill: var(--accent-2); stroke: var(--bg); stroke-width: 2; }
@keyframes fc-draw { from { stroke-dashoffset: 2000; } to { stroke-dashoffset: 0; } }
.fc-card input[type=range], #fc-pw, #fc-mult { padding: 0; height: 1.6rem; accent-color: var(--accent); background: transparent; border: 0; }
.fc-rates { display: grid; gap: .35rem; font-size: .9rem; } .fc-rates div { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--line); padding: .25rem 0; } .fc-rates span { color: var(--muted); text-align: end; }
.fc-table summary { cursor: pointer; color: var(--accent-2); margin-top: .6rem; } .fc-table table { width: 100%; border-collapse: collapse; font-size: .86rem; margin-top: .5rem; } .fc-table th, .fc-table td { text-align: start; padding: .2rem .4rem; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.rv-link { fill: none; stroke: var(--muted); opacity: .35; transition: opacity .15s; } .rv-link:hover { opacity: .8; }
.rv-link.to-interview, .rv-link.to-offer, .rv-link.to-accepted { stroke: var(--accent); opacity: .5; } .rv-link.to-rejected, .rv-link.to-withdrawn { stroke: var(--bad); opacity: .35; }
.rv-node { fill: var(--accent-2); } .rv-node.st-rejected, .rv-node.st-withdrawn { fill: var(--bad); } .rv-node.st-wishlist { fill: var(--muted); } .rv-label { fill: var(--text); font-size: 12px; font-weight: 600; }
.rv-list { columns: 2; font-size: .85rem; color: var(--muted); padding-inline-start: 1.1rem; }
.ask-ex { margin-top: .6rem; } .chip.ex { cursor: pointer; } .chip.ex:hover, .chip.ex:focus-visible { border-color: var(--accent); }
.ask-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; } .ask-list a { display: flex; justify-content: space-between; gap: 1rem; text-decoration: none; color: var(--text); background: var(--panel-2); border: 1px solid var(--line-2); border-radius: 10px; padding: .55rem .8rem; } .ask-list a:hover, .ask-list a:focus-visible { border-color: var(--accent); } .ask-list span { color: var(--muted); font-size: .85rem; text-align: end; }
@media (prefers-reduced-motion: reduce) { .fc-line { animation: none; stroke-dasharray: none; } }
.xray-score { margin: .4rem 0; } .xray-score b { font-size: 1.3rem; color: var(--accent-2); }
.xray-tbl { width: 100%; border-collapse: collapse; font-size: .85rem; margin: .3rem 0 .5rem; } .xray-tbl th, .xray-tbl td { text-align: start; padding: .3rem .4rem; border-bottom: 1px solid var(--line); vertical-align: top; overflow-wrap: anywhere; }
.xray-tbl tr.miss td { color: var(--bad); } .xray-tbl tr.ok td:last-child { color: var(--good); }
.live-file .row { margin-top: .5rem; }

/* ---------- feedback and free trial ---------- */
.linklike { background: none; border: 0; padding: 0; font: inherit; color: var(--accent); text-decoration: underline; cursor: pointer; }
.dlg-body { padding: 1rem 1.1rem 1.2rem; display: grid; gap: .5rem; max-height: 75vh; overflow-y: auto; }
.dlg-body textarea { width: 100%; }
.fb-rate { border: 0; margin: 0; padding: 0; }
.fb-rate legend { padding: 0; font-weight: 600; margin-bottom: .3rem; }
.fb-star { display: inline-flex; cursor: pointer; }
.fb-star input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.fb-star span { min-width: 2.4rem; text-align: center; padding: .45rem .6rem; border: 1px solid var(--line-2); border-radius: 9px; background: var(--panel-2); font-weight: 600; }
.fb-star input:checked + span { background: var(--accent); color: #052a26; border-color: var(--accent); }
.fb-star input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.trial-badge { display: inline-block; margin-top: .35rem; padding: .15rem .55rem; border-radius: 999px; background: var(--accent); color: #052a26; font-size: .75rem; font-weight: 700; letter-spacing: .02em; }
.trial-card { border-color: var(--accent); }
.trial-bar { position: relative; height: .5rem; border-radius: 99px; background: var(--panel-2); overflow: hidden; margin: .4rem 0; }
.trial-bar > i { position: absolute; inset: 0 auto 0 0; background: var(--accent); }

/* stark-wm: Stark wordmark (CSS mask, follows the text colour; solid cut for sizes under 24 px) */
.stark-wm{display:inline-block;vertical-align:middle;width:72.2px;height:14px;background-color:currentColor;-webkit-mask:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1MTUuOTMzIDEwMCIgd2lkdGg9IjUxNS45IiBoZWlnaHQ9IjEwMCI+PHRpdGxlPlN0YXJrPC90aXRsZT48ZGVmcz48Y2xpcFBhdGggaWQ9IndtayI+PHJlY3QgeD0iLTIwMCIgeT0iMCIgd2lkdGg9IjkxNS45IiBoZWlnaHQ9IjEwMCIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCN3bWspIiBmaWxsPSJub25lIiBzdHJva2U9IiNFOUVERjIiIHN0cm9rZS13aWR0aD0iNi42IiBzdHJva2UtbGluZWNhcD0iYnV0dCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCI+PGcgaWQ9IlMiPjxwYXRoIGQ9Ik01MS4zMTUgMTUuNjg4IEEyNS41MDAgMjMuMzUwIDAgMCAwIDYuOTQyIDE0LjYyNCBBMjUuNTAwIDIzLjM1MCAwIDAgMCAyOC44MDAgNTAuMDAwIEEyNS41MDAgMjMuMzUwIDAgMCAxIDUwLjY1OCA4NS4zNzYgQTI1LjUwMCAyMy4zNTAgMCAwIDEgNi4yODUgODQuMzEyIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgwLjAwMCAwKSIvPjwvZz48ZyBpZD0iVCI+PHBhdGggZD0iTTAuMDAwIDMuMzAw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{forced-color-adjust:none}

/* 2.4 country formats */
.fmt-pick { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); } .fmt-pick small { display: block; }
.fmt-claim { color: var(--text); font-weight: 600; } .fmt-opts { margin: .5rem 0; } .fmt-pages { margin: .2rem 0 .5rem; }
.toast[hidden] { display: none !important; }
.paper-wrap { direction: ltr; }
