/* ==========================================================================
   Job Portal — base stylesheet
   Brand colours are injected as --brand / --brand-2 / --accent from settings.
   ========================================================================== */

@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/inter-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Noto Sans Bengali"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/noto-sans-bengali-bengali-400-normal.woff2") format("woff2"); unicode-range: U+0951-0952, U+0964-0965, U+0980-09FE, U+1CD0, U+1CD2, U+1CD5-1CD6, U+1CD8, U+1CE1, U+1CEA, U+1CED, U+1CF2, U+1CF5-1CF7, U+200C-200D, U+20B9, U+25CC, U+A8F1; }
@font-face { font-family: "Noto Sans Bengali"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/noto-sans-bengali-bengali-500-normal.woff2") format("woff2"); unicode-range: U+0951-0952, U+0964-0965, U+0980-09FE, U+200C-200D, U+25CC; }
@font-face { font-family: "Noto Sans Bengali"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/noto-sans-bengali-bengali-600-normal.woff2") format("woff2"); unicode-range: U+0951-0952, U+0964-0965, U+0980-09FE, U+200C-200D, U+25CC; }
@font-face { font-family: "Noto Sans Bengali"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/noto-sans-bengali-bengali-700-normal.woff2") format("woff2"); unicode-range: U+0951-0952, U+0964-0965, U+0980-09FE, U+200C-200D, U+25CC; }

:root {
  --brand: #0f766e;
  --brand-2: #1e293b;
  --accent: #f59e0b;
  --brand-ink: #ffffff;
  --brand-soft: color-mix(in srgb, var(--brand) 10%, white);
  --brand-strong: color-mix(in srgb, var(--brand) 82%, black);

  --bg: #f6f7f9;
  --surface: #ffffff;
  --surface-2: #f1f3f6;
  --line: #e3e7ec;
  --line-strong: #cfd6de;
  --ink: #16202b;
  --ink-2: #44515f;
  --ink-3: #6b7785;

  --ok: #15803d;   --ok-soft: #e7f6ec;
  --warn: #b45309; --warn-soft: #fdf3e2;
  --bad: #b91c1c;  --bad-soft: #fdecec;
  --info: #1d4ed8; --info-soft: #e8efff;

  --radius: 10px;
  --radius-sm: 7px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 1px 3px rgba(16, 24, 40, .06);
  --shadow-lg: 0 12px 32px -12px rgba(16, 24, 40, .22);
  --font: "Inter", "Noto Sans Bengali", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --sidebar-w: 248px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 15px; line-height: 1.55; color: var(--ink); background: var(--bg); }
html[lang="bn"] body { font-family: "Noto Sans Bengali", "Inter", system-ui, sans-serif; font-size: 15.5px; line-height: 1.7; }
img { max-width: 100%; height: auto; }
a { color: var(--brand-strong); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--brand); }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .5em; color: var(--ink); letter-spacing: -0.01em; }
h1 { font-size: 1.65rem; } h2 { font-size: 1.25rem; } h3 { font-size: 1.05rem; }
p { margin: 0 0 1em; }
code { font-size: .9em; background: var(--surface-2); padding: .1em .35em; border-radius: 4px; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 55%, white); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 12px; z-index: 100; border-radius: 6px; }
.skip-link:focus { left: 8px; }
.icon { width: 18px; height: 18px; flex: none; vertical-align: -3px; }
.muted { color: var(--ink-3); }
.small { font-size: .86rem; }
.nowrap { white-space: nowrap; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .85em; }
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.stack > * + * { margin-top: 16px; }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.row.between { justify-content: space-between; }
.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 8px 16px;
  border: 1px solid transparent; border-radius: var(--radius-sm); background: var(--brand); color: var(--brand-ink);
  font: inherit; font-weight: 600; font-size: .94rem; text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s; }
.btn:hover { background: var(--brand-strong); color: var(--brand-ink); }
.btn-secondary { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
.btn-secondary:hover { background: var(--surface-2); color: var(--ink); }
.btn-ghost { background: transparent; color: var(--ink-2); }
.btn-ghost:hover { background: var(--surface-2); color: var(--ink); }
.btn-danger { background: var(--bad); }
.btn-danger:hover { background: #991b1b; }
.btn-sm { min-height: 32px; padding: 4px 11px; font-size: .86rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.link-btn { background: none; border: 0; padding: 0; color: var(--brand-strong); font: inherit; cursor: pointer; text-decoration: underline; }

/* ---------- Forms ---------- */
.form-grid { display: grid; gap: 16px 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field > label, .label { font-weight: 600; font-size: .9rem; color: var(--ink-2); }
.field .hint { font-size: .82rem; color: var(--ink-3); margin: 0; }
.req::after { content: " *"; color: var(--bad); }
input[type=text], input[type=email], input[type=password], input[type=url], input[type=tel], input[type=number], input[type=date], input[type=search], select, textarea {
  width: 100%; min-height: 42px; padding: 9px 12px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  background: var(--surface); color: var(--ink); font: inherit; font-size: .95rem; transition: border-color .15s, box-shadow .15s; }
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 18%, transparent); }
input[type=color] { width: 48px; height: 40px; padding: 2px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--surface); }
input[type=file] { font: inherit; font-size: .9rem; }
.is-invalid { border-color: var(--bad) !important; }
.field-error { color: var(--bad); font-size: .84rem; margin: 0; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .93rem; color: var(--ink-2); }
.check input { margin-top: 4px; width: 17px; height: 17px; accent-color: var(--brand); }
.input-group { position: relative; }
.input-group .toggle-pw { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); }
.otp-input { font-size: 1.6rem !important; letter-spacing: .5em; text-align: center; font-variant-numeric: tabular-nums; }
fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; margin: 0; }
legend { padding: 0 6px; font-weight: 600; color: var(--ink-2); }

/* ---------- Cards, alerts, badges ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; }
.card-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.card-head h2, .card-head h3 { margin: 0; }
.card.flush { padding: 0; overflow: hidden; }
.card.flush .card-head { padding: 16px 20px 0; }
.alert { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--radius-sm); border: 1px solid; font-size: .93rem; margin-bottom: 16px; }
.alert .icon { margin-top: 2px; }
.alert-success { background: var(--ok-soft); border-color: #bfe5cc; color: #14532d; }
.alert-error { background: var(--bad-soft); border-color: #f5c2c2; color: #7f1d1d; }
.alert-warning { background: var(--warn-soft); border-color: #f3d9a8; color: #78350f; }
.alert-info { background: var(--info-soft); border-color: #c7d6fb; color: #1e3a8a; }
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 2px 9px; border-radius: 999px; font-size: .78rem; font-weight: 600; background: var(--surface-2); color: var(--ink-2); white-space: nowrap; }
.badge-ok { background: var(--ok-soft); color: var(--ok); }
.badge-warn { background: var(--warn-soft); color: var(--warn); }
.badge-bad { background: var(--bad-soft); color: var(--bad); }
.badge-info { background: var(--info-soft); color: var(--info); }
.badge-brand { background: var(--brand-soft); color: var(--brand-strong); }

/* ---------- Tables ---------- */
.table-wrap { width: 100%; overflow-x: auto; }
table.table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.table th { text-align: left; font-weight: 600; color: var(--ink-3); font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--surface-2); white-space: nowrap; }
html[lang="bn"] .table th { text-transform: none; letter-spacing: 0; font-size: .84rem; }
.table td { padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr:hover { background: #fafbfc; }
.table .actions { text-align: right; white-space: nowrap; }
.empty { text-align: center; padding: 36px 16px; color: var(--ink-3); }
.empty .icon { width: 32px; height: 32px; margin-bottom: 8px; color: var(--line-strong); }
@media (max-width: 720px) {
  .table.responsive thead { display: none; }
  .table.responsive tr { display: block; border-bottom: 1px solid var(--line); padding: 8px 0; }
  .table.responsive td { display: flex; justify-content: space-between; gap: 12px; border: 0; padding: 6px 14px; }
  .table.responsive td::before { content: attr(data-label); font-weight: 600; color: var(--ink-3); font-size: .82rem; }
  .table.responsive .actions { justify-content: flex-end; }
  .table.responsive .actions::before { content: none; }
}
.pagination { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; justify-content: space-between; padding: 14px 20px; border-top: 1px solid var(--line); font-size: .88rem; }
.pagination .pages { display: flex; gap: 4px; flex-wrap: wrap; }
.pagination a, .pagination span.cur { min-width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; padding: 0 9px; border-radius: 6px; border: 1px solid var(--line); text-decoration: none; color: var(--ink-2); background: var(--surface); }
.pagination span.cur { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 600; }

.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; padding: 16px 20px; border-bottom: 1px solid var(--line); background: var(--surface); }
.filters .field { min-width: 150px; flex: 1 1 150px; }
.filters .field.grow { flex: 3 1 220px; }

/* ---------- Public header / footer ---------- */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 40; }
.site-header .container { display: flex; align-items: center; gap: 20px; min-height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.12rem; color: var(--ink); text-decoration: none; }
.brand img { max-height: 38px; width: auto; }
.brand-mark { width: 34px; height: 34px; border-radius: 9px; background: var(--brand); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; }
.main-nav { display: flex; gap: 4px; margin-left: 8px; }
.main-nav a { padding: 8px 12px; border-radius: 7px; color: var(--ink-2); text-decoration: none; font-weight: 500; }
.main-nav a:hover, .main-nav a.active { background: var(--surface-2); color: var(--ink); }
.header-actions { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.lang-switch { display: inline-flex; border: 1px solid var(--line-strong); border-radius: 999px; overflow: hidden; }
.lang-switch a { padding: 5px 11px; font-size: .82rem; font-weight: 600; text-decoration: none; color: var(--ink-2); }
.lang-switch a[aria-current="true"] { background: var(--brand-2); color: #fff; }
.nav-toggle { display: none; }
@media (max-width: 860px) {
  .main-nav { display: none; position: absolute; top: 66px; left: 0; right: 0; background: var(--surface); flex-direction: column; padding: 10px 20px 16px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); }
  .main-nav.open { display: flex; }
  .nav-toggle { display: inline-flex; }
  .header-actions .hide-sm { display: none; }
}
.site-footer { background: var(--brand-2); color: #cbd5e1; margin-top: 64px; padding: 44px 0 24px; font-size: .92rem; }
.site-footer a { color: #e2e8f0; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer h3 { color: #fff; font-size: .98rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 28px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 32px; padding-top: 18px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .85rem; }
.social { display: flex; gap: 8px; margin-top: 12px; }
.social a { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; background: rgba(255,255,255,.08); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Home ---------- */
.hero { background: linear-gradient(160deg, var(--brand-2) 0%, color-mix(in srgb, var(--brand-2) 70%, var(--brand)) 100%); color: #fff; padding: 72px 0 84px; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 45%, transparent), transparent 70%); opacity: .5; }
.hero .container { position: relative; z-index: 1; }
.hero h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.9rem); max-width: 760px; letter-spacing: -0.02em; }
.hero p.lead { font-size: 1.12rem; color: #dbe4ee; max-width: 640px; }
.hero-search { margin-top: 26px; background: #fff; border-radius: 14px; padding: 8px; display: flex; gap: 8px; max-width: 760px; box-shadow: var(--shadow-lg); flex-wrap: wrap; }
.hero-search input { border: 0; min-height: 48px; flex: 1 1 220px; }
.hero-search input:focus { box-shadow: none; }
.hero-search .btn { min-height: 48px; padding: 0 22px; }
.hero-cta { display: flex; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
.hero-cta .btn-secondary { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.hero-cta .btn-secondary:hover { background: rgba(255,255,255,.08); }
.section { padding: 56px 0 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.section-head p { margin: 0; color: var(--ink-3); }
.stat-band { margin-top: -38px; position: relative; z-index: 2; }
.stat-band .card { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 22px 26px; }
.stat-band .num { font-size: 1.7rem; font-weight: 700; color: var(--ink); }
.stat-band .lbl { color: var(--ink-3); font-size: .9rem; }
@media (max-width: 620px) { .stat-band .card { grid-template-columns: 1fr; } }
.feature { display: flex; gap: 14px; align-items: flex-start; }
.feature .ic { width: 44px; height: 44px; border-radius: 11px; background: var(--brand-soft); color: var(--brand-strong); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.feature .ic .icon { width: 22px; height: 22px; }
.cta-split { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.cta-split .card { padding: 28px; }
.cta-split .card.dark { background: var(--brand-2); color: #e2e8f0; border-color: var(--brand-2); }
.cta-split .card.dark h3 { color: #fff; }
@media (max-width: 720px) { .cta-split { grid-template-columns: 1fr; } }

/* ---------- Auth pages ---------- */
.auth-wrap { min-height: 100vh; display: grid; grid-template-columns: 1fr minmax(420px, 520px); }
.auth-aside { background: linear-gradient(170deg, var(--brand-2), color-mix(in srgb, var(--brand-2) 65%, var(--brand))); color: #e2e8f0; padding: 48px; display: flex; flex-direction: column; justify-content: space-between; }
.auth-aside .brand { color: #fff; }
.auth-aside h2 { color: #fff; font-size: 1.9rem; max-width: 460px; }
.auth-aside ul { list-style: none; padding: 0; display: grid; gap: 12px; }
.auth-aside li { display: flex; gap: 10px; }
.auth-main { background: var(--surface); padding: 40px 44px; display: flex; flex-direction: column; justify-content: center; }
.auth-main .top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 36px; }
.auth-main h1 { font-size: 1.5rem; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; background: var(--surface-2); padding: 4px; border-radius: 9px; margin-bottom: 20px; }
.auth-tabs a { text-align: center; padding: 8px; border-radius: 7px; text-decoration: none; color: var(--ink-2); font-weight: 600; font-size: .9rem; }
.auth-tabs a.active { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.choice-card { display: flex; gap: 14px; align-items: center; padding: 18px; border: 1px solid var(--line-strong); border-radius: var(--radius); text-decoration: none; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.choice-card:hover { border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 14%, transparent); color: var(--ink); }
.choice-card .ic { width: 46px; height: 46px; border-radius: 11px; background: var(--brand-soft); color: var(--brand-strong); display: inline-flex; align-items: center; justify-content: center; }
@media (max-width: 900px) { .auth-wrap { grid-template-columns: 1fr; } .auth-aside { display: none; } .auth-main { padding: 28px 20px; } }

/* ---------- Dashboard shell ---------- */
.dash { display: grid; grid-template-columns: var(--sidebar-w) 1fr; min-height: 100vh; }
.sidebar { background: var(--brand-2); color: #cbd5e1; position: sticky; top: 0; height: 100vh; overflow-y: auto; display: flex; flex-direction: column; }
.sidebar .brand { color: #fff; padding: 18px 20px; min-height: 66px; border-bottom: 1px solid rgba(255,255,255,.08); }
.side-nav { padding: 12px 10px; display: flex; flex-direction: column; gap: 2px; flex: 1; }
.side-nav .group { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: #8494a7; padding: 14px 12px 6px; }
html[lang="bn"] .side-nav .group { text-transform: none; letter-spacing: 0; font-size: .8rem; }
.side-nav a { display: flex; gap: 11px; align-items: center; padding: 9px 12px; border-radius: 8px; color: #cbd5e1; text-decoration: none; font-weight: 500; font-size: .93rem; }
.side-nav a:hover { background: rgba(255,255,255,.06); color: #fff; }
.side-nav a.active { background: color-mix(in srgb, var(--brand) 40%, transparent); color: #fff; }
.side-nav .count { margin-left: auto; background: var(--accent); color: #111; border-radius: 999px; font-size: .72rem; padding: 0 7px; font-weight: 700; }
.side-foot { padding: 14px 20px; border-top: 1px solid rgba(255,255,255,.08); font-size: .8rem; color: #8494a7; }
.dash-main { min-width: 0; display: flex; flex-direction: column; }
.topbar { background: var(--surface); border-bottom: 1px solid var(--line); min-height: 66px; display: flex; align-items: center; gap: 14px; padding: 0 26px; position: sticky; top: 0; z-index: 30; }
.topbar .spacer { flex: 1; }
.topbar .user-chip { display: flex; align-items: center; gap: 10px; }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-strong); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: .9rem; overflow: hidden; flex: none; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar.lg { width: 64px; height: 64px; font-size: 1.4rem; }
.bell { position: relative; }
.bell .dot { position: absolute; top: 4px; right: 4px; min-width: 16px; height: 16px; border-radius: 999px; background: var(--bad); color: #fff; font-size: .66rem; display: inline-flex; align-items: center; justify-content: center; padding: 0 4px; font-weight: 700; }
.content { padding: 26px; max-width: 1280px; width: 100%; }
.page-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.page-head h1 { margin: 0; font-size: 1.45rem; }
.page-head p { margin: 4px 0 0; color: var(--ink-3); }
.breadcrumb { font-size: .84rem; color: var(--ink-3); margin-bottom: 4px; }
.breadcrumb a { color: var(--ink-3); }
.sidebar-toggle { display: none; }
.scrim { display: none; }
@media (max-width: 980px) {
  .dash { grid-template-columns: 1fr; }
  .sidebar { position: fixed; left: 0; top: 0; bottom: 0; width: var(--sidebar-w); transform: translateX(-100%); transition: transform .2s ease; z-index: 60; }
  .sidebar.open { transform: none; box-shadow: var(--shadow-lg); }
  .sidebar-toggle { display: inline-flex; }
  .content { padding: 18px 16px; }
  .topbar { padding: 0 14px; }
  .topbar .hide-sm { display: none; }
  .scrim { position: fixed; inset: 0; background: rgba(15,23,42,.45); z-index: 55; display: none; }
  .scrim.show { display: block; }
}

/* ---------- Dashboard widgets ---------- */
.kpi { display: flex; flex-direction: column; gap: 4px; }
.kpi .lbl { color: var(--ink-3); font-size: .86rem; display: flex; align-items: center; gap: 8px; }
.kpi .val { font-size: 1.75rem; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.kpi .sub { font-size: .82rem; color: var(--ink-3); }
.kpi .sub b { color: var(--ok); font-weight: 600; }
.bars { display: flex; align-items: flex-end; gap: 3px; height: 160px; padding-top: 10px; }
.bars .bar { flex: 1; display: flex; flex-direction: column-reverse; min-width: 3px; border-radius: 3px 3px 0 0; overflow: hidden; background: var(--surface-2); position: relative; }
.bars .bar span { display: block; width: 100%; }
.bars .bar .c { background: var(--brand); }
.bars .bar .e { background: var(--accent); }
.bars .bar:hover { outline: 2px solid var(--line-strong); }
.legend { display: flex; gap: 16px; font-size: .84rem; color: var(--ink-3); }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: 0; }
.progress { height: 8px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.progress > span { display: block; height: 100%; background: var(--brand); border-radius: 999px; }
.list { list-style: none; margin: 0; padding: 0; }
.list li { padding: 11px 0; border-bottom: 1px solid var(--line); display: flex; gap: 12px; justify-content: space-between; align-items: flex-start; font-size: .92rem; }
.list li:last-child { border-bottom: 0; }
.dl { display: grid; grid-template-columns: 170px 1fr; gap: 10px 16px; font-size: .93rem; margin: 0; }
.dl dt { color: var(--ink-3); }
.dl dd { margin: 0; word-break: break-word; }
@media (max-width: 560px) { .dl { grid-template-columns: 1fr; gap: 2px; } .dl dd { margin-bottom: 8px; } }
.tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--line); margin-bottom: 20px; overflow-x: auto; }
.tabs a { padding: 10px 14px; text-decoration: none; color: var(--ink-3); font-weight: 600; font-size: .92rem; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tabs a.active { color: var(--ink); border-color: var(--brand); }
.perm-module { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; }
.perm-module h4 { margin: 0 0 8px; font-size: .92rem; display: flex; justify-content: space-between; }
.perm-module .opts { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.danger-zone { border-color: #f5c2c2; }
.danger-zone h2 { color: var(--bad); }
details.inline-form summary { cursor: pointer; list-style: none; }
details.inline-form summary::-webkit-details-marker { display: none; }
details.inline-form[open] { flex-basis: 100%; }
.swatch { display: inline-block; width: 14px; height: 14px; border-radius: 4px; vertical-align: -2px; border: 1px solid rgba(0,0,0,.1); }

/* ---------- Errors / minimal ---------- */
.center-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px; text-align: center; }
.center-page .code { font-size: 4.5rem; font-weight: 700; color: var(--brand); line-height: 1; letter-spacing: -0.03em; }

@media print { .sidebar, .topbar, .site-header, .site-footer { display: none !important; } .dash { display: block; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* Main + side column layout that stacks on small screens */
.split { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); }
@media (max-width: 980px) { .split { grid-template-columns: minmax(0, 1fr); } }
.grid > * { min-width: 0; }
.list li > span:first-child { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 560px) { .list li { flex-wrap: wrap; } }

/* ==========================================================================
   Jobs, applications, billing, CV builder, CMS, community, ads, operations
   ========================================================================== */
.narrow { max-width: 860px; }
.center { text-align: center; }
.right { text-align: right; }
.table td.num, .table th.num { text-align: right; font-variant-numeric: tabular-nums; }
.table.compact td, .table.compact th { padding: 7px 10px; }
.text-bad { color: var(--bad); }
.small { font-size: .86rem; } .muted { color: var(--ink-3); } .mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.h2 { font-size: 1.25rem; } .h3 { font-size: 1.05rem; margin: 0 0 .6em; }
.card-pad { padding: 16px 20px; margin: 0; }
.row-actions { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.row-actions form, .inline-form { display: inline-flex; gap: 6px; align-items: center; flex-wrap: wrap; margin: 0; }
.inline-form input, .inline-form select { width: auto; min-width: 0; }
.w-sm { width: 80px !important; }
.btn.danger, .btn-ghost.danger { color: var(--bad); }
.btn.is-disabled { pointer-events: none; opacity: .65; }
.btn-light { background: #fff; color: var(--brand-2); }
.btn-light:hover { background: #f1f5f9; color: var(--brand-2); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn-outline-light:hover { background: rgba(255,255,255,.1); color: #fff; }
button.link { background: none; border: 0; padding: 0; color: var(--brand-strong); cursor: pointer; font: inherit; }
dl.compact { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0; font-size: .93rem; }
dl.compact dt { color: var(--ink-3); } dl.compact dd { margin: 0; overflow-wrap: anywhere; }
dl.compact.inline { max-width: 420px; margin: 16px auto; text-align: left; }
ul.plain { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 4px; }
.check-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px 16px; }
.inline-fields { display: flex; gap: 12px; align-items: center; }
.inline-fields input[type=number] { max-width: 140px; }
pre.code { background: var(--surface-2); padding: 10px 12px; border-radius: var(--radius-sm); overflow-x: auto; white-space: pre-wrap; word-break: break-all; margin: 6px 0 0; }
.thumb { display: block; max-width: 220px; max-height: 120px; border-radius: 6px; border: 1px solid var(--line); margin: 6px 0; object-fit: cover; }
.sub-card { border: 1px dashed var(--line-strong); border-radius: var(--radius-sm); padding: 12px; margin-bottom: 10px; }
.tabs.sub { margin-top: -12px; } .tabs.center { justify-content: center; border: 0; } .tabs.compact a { padding: 6px 10px; }
.page-banner { background: linear-gradient(160deg, var(--brand-2), color-mix(in srgb, var(--brand-2) 75%, var(--brand))); color: #e2e8f0; padding: 40px 0 34px; }
.page-banner h1 { color: #fff; margin-bottom: 6px; } .page-banner p { color: #cbd5e1; max-width: 680px; }
.page-banner .tabs a { color: #cbd5e1; } .page-banner .tabs a.active { color: #fff; border-color: var(--accent); }
.search-inline { display: flex; gap: 8px; max-width: 520px; margin-top: 14px; }
.search-inline input { flex: 1; }
.breadcrumbs { margin-bottom: 10px; color: var(--ink-3); }
.eyebrow { text-transform: uppercase; letter-spacing: .06em; font-weight: 600; color: var(--brand-strong); text-decoration: none; }
.preview-bar { background: var(--warn-soft); color: #78350f; padding: 8px 16px; text-align: center; font-size: .9rem; border-bottom: 1px solid #f3d9a8; }
.filters-bar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 16px; padding: 12px 16px; }
.filters-bar input[type=search], .filters-bar input[type=text] { flex: 1 1 200px; width: auto; }
.filters-bar select, .filters-bar input[type=date], .filters-bar input[type=number], .filters-bar input[type=email] { flex: 0 1 auto; width: auto; }
.export-form { margin: -6px 0 14px; justify-content: flex-end; display: flex; }

/* Job listing */
.listing { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 22px; align-items: start; }
@media (max-width: 960px) { .listing { grid-template-columns: minmax(0, 1fr); } }
.filters-panel { position: sticky; top: 84px; }
@media (max-width: 960px) { .filters-panel { position: static; } }
.filters-panel .field { margin-bottom: 12px; }
.job-list { display: grid; gap: 12px; }
.job-list.two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 820px) { .job-list.two-col { grid-template-columns: minmax(0, 1fr); } }
.job-card { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 14px; align-items: start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); transition: border-color .15s, box-shadow .15s; }
.job-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow-lg); }
.job-card.is-featured { border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); background: linear-gradient(0deg, var(--surface), color-mix(in srgb, var(--accent) 5%, var(--surface))); }
.job-logo { width: 48px; height: 48px; border-radius: 10px; background: var(--brand-soft); color: var(--brand-strong); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; overflow: hidden; flex: none; }
.job-logo img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.job-main h3 { margin: 0 0 2px; font-size: 1.02rem; } .job-main h3 a { color: var(--ink); text-decoration: none; } .job-main h3 a:hover { color: var(--brand-strong); }
.job-company { margin: 0 0 6px; color: var(--ink-2); font-size: .92rem; }
.job-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 0; color: var(--ink-3); font-size: .86rem; }
.job-meta span { display: inline-flex; align-items: center; gap: 4px; } .job-meta .icon { width: 15px; height: 15px; }
.job-side { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
@media (max-width: 560px) { .job-card { grid-template-columns: 44px minmax(0, 1fr); } .job-side { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: center; } }
.verified { color: var(--ok); display: inline-flex; vertical-align: -2px; } .verified .icon { width: 16px; height: 16px; }
.saved-row { display: grid; gap: 4px; } .saved-row form { justify-self: end; }
.job-page { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 22px; align-items: start; }
@media (max-width: 960px) { .job-page { grid-template-columns: minmax(0, 1fr); } }
.job-head { display: flex; gap: 16px; align-items: flex-start; }
.job-head .job-logo { width: 64px; height: 64px; }
.job-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.prose { line-height: 1.7; overflow-wrap: anywhere; }
.prose h2 { font-size: 1.2rem; margin-top: 1.4em; } .prose h3 { font-size: 1.05rem; margin-top: 1.2em; }
.prose ul, .prose ol { padding-left: 1.3em; } .prose img { border-radius: 8px; }
.prose blockquote { margin: 1em 0; padding: 4px 16px; border-left: 3px solid var(--brand); color: var(--ink-2); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; } .tag { background: var(--surface-2); border-radius: 999px; padding: 3px 10px; font-size: .84rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.chip { border: 1px solid var(--line-strong); background: var(--surface); padding: 5px 12px; border-radius: 999px; font-size: .86rem; text-decoration: none; color: var(--ink-2); }
.chip.active, .chip:hover { background: var(--brand-2); color: #fff; border-color: var(--brand-2); }
.share-row { display: flex; gap: 6px; flex-wrap: wrap; }
.company-grid, .cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.company-card, .cat-card { display: flex; gap: 12px; align-items: center; text-decoration: none; color: var(--ink); padding: 14px 16px; }
.company-card > span:last-child, .cat-card > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.cat-card .ic { width: 40px; height: 40px; border-radius: 10px; background: var(--brand-soft); color: var(--brand-strong); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.company-card:hover, .cat-card:hover { border-color: var(--brand); }
.section.alt { background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--brand) 4%, transparent)); padding-bottom: 8px; }
.hero[style*="--hero-img"] { background-image: linear-gradient(160deg, color-mix(in srgb, var(--brand-2) 88%, transparent), color-mix(in srgb, var(--brand-2) 70%, transparent)), var(--hero-img); background-size: cover; background-position: center; }
.hero-center .container { text-align: center; } .hero-center h1, .hero-center p.lead, .hero-center .hero-search { margin-left: auto; margin-right: auto; } .hero-center .hero-cta { justify-content: center; }
.promo { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding: 26px 28px; }
.promo h2 { margin-bottom: 4px; } .promo p { margin: 0; }
.promo.dark { background: var(--brand-2); color: #cbd5e1; border-color: var(--brand-2); } .promo.dark h2 { color: #fff; }
figure.quote { margin: 0; }
.section-head h2 { margin: 0; }
.quote blockquote { margin: 0 0 10px; font-size: 1.02rem; color: var(--ink-2); }
.newsletter { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; } .newsletter h2 { margin-bottom: 2px; } .newsletter p { margin: 0; }
.newsletter .inline-form input[type=email] { min-width: 240px; }

/* Profiles, timelines */
.profile-head { display: flex; gap: 14px; align-items: center; }
.avatar-lg { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; font-size: 1.6rem; display: inline-flex; align-items: center; justify-content: center; background: var(--brand-soft); color: var(--brand-strong); font-weight: 700; flex: none; }
.entries { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.timeline { list-style: none; margin: 0; padding: 0 0 0 14px; border-left: 2px solid var(--line); display: grid; gap: 6px; }
.timeline li { position: relative; font-size: .9rem; } .timeline li::before { content: ""; position: absolute; left: -20px; top: 7px; width: 10px; height: 10px; border-radius: 50%; background: var(--brand); border: 2px solid var(--surface); }
.list li.selected { background: var(--brand-soft); margin: 0 -20px; padding-left: 20px; padding-right: 20px; }
.card.flush .list li { padding-left: 20px; padding-right: 20px; }
.topics li { align-items: center; }
.comment { border-bottom: 1px solid var(--line); padding: 10px 0; } .comment:last-of-type { border-bottom: 0; }
.reply { margin-top: 10px; } .reply.is-answer { border-color: var(--ok); background: color-mix(in srgb, var(--ok) 4%, var(--surface)); } .reply.is-hidden { opacity: .55; }

/* Blog */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.post-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.post-img { display: block; aspect-ratio: 16 / 9; background: var(--surface-2); overflow: hidden; } .post-img img { width: 100%; height: 100%; object-fit: cover; }
.post-body { padding: 16px; } .post-body h2 a, .post-body h3 a { color: var(--ink); text-decoration: none; }
.post-hero { width: 100%; border-radius: var(--radius); margin: 10px 0 20px; aspect-ratio: 16 / 9; object-fit: cover; }

/* Pricing & billing */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; align-items: stretch; }
.price-card { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 24px; }
.price-card.highlighted { border: 2px solid var(--brand); box-shadow: var(--shadow-lg); }
.ribbon { position: absolute; top: -12px; right: 18px; background: var(--accent); color: #1f2937; font-size: .76rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin: 6px 0; }
.price .amount { font-size: 1.9rem; font-weight: 700; letter-spacing: -0.02em; } .price .per { color: var(--ink-3); font-size: .9rem; }
.features { list-style: none; padding: 0; margin: 8px 0 16px; display: grid; gap: 7px; font-size: .92rem; flex: 1; }
.features li { display: flex; gap: 8px; align-items: flex-start; } .features li .icon { color: var(--ok); margin-top: 2px; }
.features li.off { color: var(--ink-3); } .features li.off .icon { color: var(--line-strong); }
.features.compact { gap: 4px; font-size: .88rem; }
.price-cta .btn { width: 100%; }
.table.summary th { background: none; text-transform: none; font-size: .93rem; color: var(--ink-2); letter-spacing: 0; }
.table.summary tr.total td, .table.summary tr.total th { border-top: 2px solid var(--line-strong); color: var(--ink); }
.gateway-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.gateway-option { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); padding: 12px; cursor: pointer; font-weight: 600; }
.gateway-option:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
.result-card { max-width: 620px; margin: 0 auto; padding: 32px; }
.result-icon { width: 64px; height: 64px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.result-icon .icon { width: 32px; height: 32px; } .result-icon.ok { background: var(--ok-soft); color: var(--ok); } .result-icon.wait { background: var(--info-soft); color: var(--info); } .result-icon.bad { background: var(--bad-soft); color: var(--bad); }
.progress.sm { height: 5px; margin-top: 4px; }
.table.usage td { width: 45%; }
.spinner { width: 36px; height: 36px; border: 4px solid var(--line); border-top-color: var(--brand); border-radius: 50%; margin: 0 auto 10px; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* CV builder */
.cv-editor { grid-template-columns: minmax(0, 420px) minmax(0, 1fr); }
@media (max-width: 1100px) { .cv-editor { grid-template-columns: minmax(0, 1fr); } }
.tpl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; border: 0; padding: 0; margin: 0; }
.tpl-grid legend, fieldset legend { font-weight: 600; font-size: .9rem; margin-bottom: 8px; padding: 0; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.tpl-option { display: flex; flex-direction: column; gap: 6px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); padding: 8px; cursor: pointer; font-size: .86rem; }
.tpl-option input { position: absolute; opacity: 0; pointer-events: none; }
.tpl-option:has(input:checked) { border-color: var(--brand); box-shadow: 0 0 0 2px var(--brand-soft); }
.tpl-option:has(input:focus-visible) { outline: 3px solid color-mix(in srgb, var(--brand) 55%, white); }
.tpl-option.locked { opacity: .7; }
.tpl-swatch { height: 46px; border-radius: 5px; background: linear-gradient(var(--sw) 0 22%, #fff 22%), repeating-linear-gradient(180deg, #e5e7eb 0 3px, #fff 3px 8px); border: 1px solid var(--line); }
.tpl-swatch[data-family="sidebar"] { background: linear-gradient(90deg, var(--sw) 0 30%, #fff 30%), #fff; }
.tpl-swatch[data-family="two_column"] { background: linear-gradient(90deg, #fff 0 64%, color-mix(in srgb, var(--sw) 20%, #fff) 64%); }
.colors { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.color-dot { width: 28px; height: 28px; border-radius: 50%; background: var(--c); cursor: pointer; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line-strong); }
.color-dot input { position: absolute; opacity: 0; } .color-dot:has(input:checked) { box-shadow: 0 0 0 2px var(--ink); }
.color-custom input { width: 36px; height: 30px; padding: 0; border: 0; background: none; }
.sortable { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.sortable li { display: flex; justify-content: space-between; align-items: center; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 4px 8px; background: var(--surface); }
.sortable .move { display: inline-flex; gap: 2px; }
.cv-preview-card { position: sticky; top: 80px; }
.preview-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.cv-frame { width: 100%; height: 78vh; min-height: 520px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #e5e7eb; }

/* Rich text editor */
.rte-toolbar { display: flex; flex-wrap: wrap; gap: 2px; border: 1px solid var(--line-strong); border-bottom: 0; border-radius: var(--radius-sm) var(--radius-sm) 0 0; padding: 4px; background: var(--surface-2); }
.rte-toolbar button { min-width: 32px; height: 30px; border: 0; background: transparent; border-radius: 5px; cursor: pointer; font-size: .9rem; color: var(--ink-2); }
.rte-toolbar button:hover, .rte-toolbar button[aria-pressed="true"] { background: var(--surface); color: var(--ink); }
.rte-area { min-height: 220px; border: 1px solid var(--line-strong); border-radius: 0 0 var(--radius-sm) var(--radius-sm); padding: 12px 14px; background: var(--surface); }
.rte-area:focus { outline: 3px solid color-mix(in srgb, var(--brand) 35%, white); }
.rte-source { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .85rem; border-radius: 0 0 var(--radius-sm) var(--radius-sm); }

/* Ads, consent */
.ad-slot { margin: 16px auto; text-align: center; max-width: 100%; }
.ad-slot img { border-radius: 8px; display: inline-block; }
.ad-label { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); margin-bottom: 4px; }
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; max-width: 760px; margin: 0 auto; background: var(--brand-2); color: #e2e8f0; border-radius: var(--radius); padding: 14px 18px; display: flex; gap: 14px; align-items: center; justify-content: space-between; box-shadow: var(--shadow-lg); flex-wrap: wrap; }
.consent[hidden] { display: none; } .consent p { margin: 0; font-size: .9rem; } .consent a { color: #fff; }

/* Reports */
.spark { display: flex; align-items: flex-end; gap: 1px; height: 46px; margin-top: 8px; }
.spark span { flex: 1; background: color-mix(in srgb, var(--brand) 65%, white); border-radius: 2px 2px 0 0; min-width: 1px; }
.funnel { display: grid; gap: 10px; } .funnel > div { display: grid; grid-template-columns: 200px 1fr 90px; gap: 12px; align-items: center; }
.funnel .bar { height: 12px; background: var(--surface-2); border-radius: 999px; overflow: hidden; } .funnel .bar span { display: block; height: 100%; background: var(--brand); }
@media (max-width: 620px) { .funnel > div { grid-template-columns: 1fr 70px; } .funnel .bar { grid-column: 1 / -1; grid-row: 2; } }
.footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr 1.3fr; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .form-grid { grid-template-columns: minmax(0, 1fr); } }
.form-grid > * { min-width: 0; }
.hint .mono, .mono { overflow-wrap: anywhere; }
