/* Playground Jobs. Dark navy, solid brand colours, white text only.
   Fredoka for display, Inter for everything else. No tints, no glass, no coloured rails.
   Visual spec: docs/mockups/playground. Class names are shared with lib/html.js. */

@font-face { font-family: "Fredoka"; src: url("/assets/fonts/fredoka.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter-400.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --bg: #0F1623; --side: #0F1623; --panel: #172133; --panel-2: #1E2A40; --panel-3: #26344E;
  --hair: #2A3851; --hair-2: #3A4A68;
  --ink: #FFFFFF; --ink-2: #FFFFFF; --ink-3: #FFFFFF;
  --pink: #DE0B57; --orange: #FE9202; --green: #7FC230; --sky: #00ACF6; --yellow: #FEB702;
  --on: #0F1623;
  --accent: var(--sky); --accent-ink: var(--sky); --on-accent: var(--on);
  --ok: var(--green); --warn: var(--yellow); --bad: var(--pink);
  --fill: var(--panel-2); --fill-h: var(--panel-3);
  --r: 6px; --ease: cubic-bezier(.32,.72,0,1);
  --display: "Fredoka", "Inter", system-ui, sans-serif;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --hdr: 72px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.55 var(--font); -webkit-font-smoothing: antialiased; font-variant-numeric: tabular-nums; }
a { color: var(--accent-ink); }
h1, h2, h3, h4, p, dl, dd, ul { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--sky); color: var(--on); }
.sr { position: absolute; left: -9999px; }
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; }
.disp, .lt, .sec h2, .hero h1 { font-family: var(--display); font-weight: 600; letter-spacing: -0.01em; }

/* Header --------------------------------------------------------------- */
.hdr { height: var(--hdr); border-bottom: 1px solid var(--hair); display: flex; align-items: center; gap: 24px; padding: 0 24px; background: var(--bg); position: sticky; top: 0; z-index: 20; }
.hdr .logo img { height: 36px; width: auto; display: block; }
.hdr nav { display: flex; gap: 4px; }
.hdr nav a { text-decoration: none; color: var(--ink); font-size: 15px; font-weight: 500; padding: 7px 12px; border-radius: var(--r); }
.hdr nav a:hover { background: var(--panel-2); }
.hdr nav a.on { background: var(--panel-2); font-weight: 600; }
.hdr .sp { flex: 1; }
.hdr .acct { font-size: 14px; }
.hdr .acct b { font-weight: 600; }

/* Buttons --------------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-size: 15px; font-weight: 600; min-height: 38px; padding: 0 16px; border-radius: var(--r); border: 0; cursor: pointer; text-decoration: none; white-space: nowrap; background: var(--panel-2); color: var(--ink); transition: transform 180ms var(--ease), background .15s; }
.btn:hover { background: var(--panel-3); }
.btn:active { transform: scale(.97); transition-duration: 80ms; }
.btn.pri { background: var(--sky); color: var(--on); }
.btn.pri:hover { background: #33BDF8; }
.btn.yel { background: var(--yellow); color: var(--on); }
.btn.yel:hover { background: #FEC535; }
.btn.lg { min-height: 48px; font-size: 16px; padding: 0 22px; }
.btn.sm { min-height: 30px; font-size: 13.5px; padding: 0 12px; }
.btn.plain { background: transparent; color: var(--accent-ink); padding: 0 6px; }
.btn.plain:hover { background: var(--panel-2); }
.btn svg { width: 16px; height: 16px; }

/* Controls ------------------------------------------------------------- */
.field { position: relative; }
.field svg { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); width: 15px; height: 15px; color: var(--ink); pointer-events: none; }
.in, .sel { width: 100%; background: var(--panel-2); border: 1px solid var(--hair-2); border-radius: var(--r); min-height: 40px; padding: 7px 12px; font-size: 15px; outline: 0; appearance: none; -webkit-appearance: none; color-scheme: dark; transition: border-color .15s; }
.field .in { padding-left: 33px; }
.in:focus, .sel:focus { border-color: var(--sky); }
.in::placeholder { color: var(--ink); opacity: .7; }
textarea.in { min-height: 90px; resize: vertical; line-height: 1.5; }
.sel { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath d='M2 3.5l3 3 3-3' fill='none' stroke='%23FFFFFF' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 11px center; padding-right: 30px; }
.sel.auto { width: auto; }
input[type="date"]::-webkit-calendar-picker-indicator { filter: invert(1); }
.seg { display: inline-flex; background: var(--panel-2); border-radius: 8px; padding: 3px; gap: 2px; width: 100%; }
.seg > * { flex: 1; text-align: center; font-size: 13.5px; font-weight: 600; color: var(--ink); padding: 5px 9px; border-radius: 5px; border: 0; background: transparent; cursor: pointer; text-decoration: none; white-space: nowrap; transition: background .18s var(--ease); }
.seg > *:hover { background: var(--panel-3); }
.seg .on, .seg .on:hover { background: var(--yellow); color: var(--on); }
.seg.auto { width: auto; }
.lbl { font-size: 13px; font-weight: 700; margin: 0 0 6px; }
.toggle { flex: none; width: 44px; height: 26px; border-radius: 13px; background: var(--panel-3); position: relative; border: 0; cursor: pointer; transition: background .2s; }
.toggle::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .22s var(--ease); }
.toggle.on { background: var(--green); }
.toggle.on::after { transform: translateX(18px); }
.chk { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; padding: 6px 11px; border-radius: var(--r); background: var(--panel-2); cursor: pointer; }
.chk input { width: 15px; height: 15px; margin: 0; accent-color: var(--sky); }
.chk.on, .chk:has(input:checked) { background: var(--sky); color: var(--on); font-weight: 600; }

/* Mail layout (search) ------------------------------------------------- */
.app { display: grid; grid-template-columns: 264px 420px minmax(0, 1fr); height: calc(100vh - var(--hdr)); }
.app.two { grid-template-columns: 264px minmax(0, 1fr); }
.pane { overflow-y: auto; overscroll-behavior: contain; min-width: 0; }
.side { background: var(--bg); border-right: 1px solid var(--hair); padding: 16px 16px 28px; }
.list { border-right: 1px solid var(--hair); }
.detail { padding: 28px 36px 56px; }
@media (max-width: 1180px) { .app { grid-template-columns: 240px 360px minmax(0,1fr); } }
@media (max-width: 900px) { .app, .app.two { grid-template-columns: 1fr; height: auto; } .side, .detail { display: none; } .list { border-right: 0; } .pane { overflow: visible; } .m-only { display: inline-flex !important; } }
.m-only { display: none; }

/* Sidebar ---------------------------------------------------------------- */
.side .grp { padding: 14px 0 4px; }
.side .grp + .grp { border-top: 1px solid var(--hair); margin-top: 10px; }
.side h3 { font-size: 13px; font-weight: 700; margin: 0 0 8px; }
.side .stack { display: grid; gap: 8px; }
.opt { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 8px; margin: 0 -8px; border-radius: var(--r); font-size: 14px; cursor: pointer; color: var(--ink); text-decoration: none; }
.opt:hover { background: var(--panel-2); }
.opt.on { background: var(--sky); color: var(--on); font-weight: 600; }
.opt .n { font-size: 12.5px; font-weight: 600; }
.opt .tick { width: 14px; height: 14px; margin-right: 6px; display: none; }
.opt.on .tick { display: inline-block; }
.opt .l { display: flex; align-items: center; flex: 1; }
.side .more { font-size: 13px; font-weight: 600; color: var(--sky); text-decoration: none; display: inline-block; margin-top: 4px; }
.saved { display: flex; align-items: center; justify-content: space-between; padding: 7px 8px; margin: 0 -8px; border-radius: var(--r); font-size: 14px; text-decoration: none; color: var(--ink); }
.saved.on { background: var(--sky); color: var(--on); font-weight: 600; }
.saved .n { font-size: 12px; font-weight: 700; background: var(--panel-3); border-radius: 4px; padding: 0 7px; }
.sectors { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 6px; }
.sectors a { display: flex; justify-content: space-between; gap: 6px; padding: 7px 9px; border-radius: 4px; font-size: 13px; font-weight: 600; text-decoration: none; color: var(--ink); background: var(--panel-2); }
.sectors a.on.x-ey { background: var(--pink); color: #fff; }
.sectors a.on.x-pri { background: var(--orange); color: var(--on); }
.sectors a.on.x-sec { background: var(--green); color: var(--on); }
.sectors a.on.x-sen { background: var(--sky); color: var(--on); }
.sectors a.on.x-sup { background: var(--yellow); color: var(--on); }
.sectors a.on.x-lead { background: #fff; color: var(--on); }

/* List pane ------------------------------------------------------------- */
.tool { position: sticky; top: 0; background: var(--bg); z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 18px; border-bottom: 1px solid var(--hair); font-size: 14px; }
.tool b { color: var(--yellow); font-family: var(--display); font-weight: 600; font-size: 20px; margin-right: 4px; }
.tool .sel { min-height: 32px; padding: 3px 28px 3px 10px; font-size: 13.5px; }
.rows { list-style: none; margin: 0; padding: 0; }
.row { display: block; padding: 15px 18px; border-bottom: 1px solid var(--hair); text-decoration: none; color: inherit; cursor: pointer; }
.row:hover { background: var(--panel); }
.row.on { background: var(--panel-2); }
.row .t { font-size: 16px; font-weight: 600; line-height: 1.3; display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.row .t time { font-size: 12.5px; font-weight: 500; white-space: nowrap; flex: none; }
.row .s { font-size: 13.5px; margin-top: 3px; }
.row .m { font-size: 13.5px; margin-top: 7px; display: flex; flex-wrap: wrap; gap: 3px 12px; align-items: center; }
.row .m b { color: var(--yellow); font-weight: 700; }
.row .b { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 6px; }

/* Solid tags ------------------------------------------------------------- */
.badge, .tag { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 600; padding: 2px 8px; border-radius: 4px; background: var(--panel-3); color: var(--ink); white-space: nowrap; line-height: 1.5; }
.badge.ok { background: var(--green); color: var(--on); }
.badge.warn { background: var(--yellow); color: var(--on); }
.badge.bad { background: var(--pink); color: #fff; }
.badge.acc, .badge.new { background: var(--sky); color: var(--on); }
.badge.line { background: transparent; border: 1px solid var(--hair-2); }
.badge svg { width: 12px; height: 12px; }
.tag.x-ey { background: var(--pink); color: #fff; }
.tag.x-pri { background: var(--orange); color: var(--on); }
.tag.x-sec { background: var(--green); color: var(--on); }
.tag.x-sen { background: var(--sky); color: var(--on); }
.tag.x-sup { background: var(--yellow); color: var(--on); }
.tag.x-lead { background: #fff; color: var(--on); }
.pay-text, .kpi { color: var(--yellow); font-weight: 700; }
.match { font-weight: 700; color: var(--green); }
.match.mid { color: var(--yellow); }
.pager { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; font-size: 13.5px; }
.pager .seg { width: auto; }

/* Detail -------------------------------------------------------------------- */
.lt { font-size: 32px; line-height: 1.1; }
.lt-sub { font-size: 15.5px; margin-top: 8px; display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; }
.lt-sub .dot::before { content: "·"; margin-right: 10px; }
.lt-sub a { color: var(--sky); }
.lt-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.acts { display: flex; gap: 10px; flex-wrap: wrap; margin: 22px 0 0; align-items: center; }
.strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin: 24px 0 4px; }
.strip > div { border-radius: 8px; padding: 14px 16px; color: var(--on); }
.strip > div:nth-child(6n+1) { background: var(--yellow); }
.strip > div:nth-child(6n+2) { background: var(--sky); }
.strip > div:nth-child(6n+3) { background: var(--green); }
.strip > div:nth-child(6n+4) { background: var(--orange); }
.strip > div:nth-child(6n+5) { background: var(--pink); color: #fff; }
.strip > div:nth-child(6n+6) { background: #fff; }
.strip .k { font-size: 12.5px; font-weight: 700; }
.strip .v { font-size: 17px; font-weight: 700; margin-top: 6px; line-height: 1.25; }
.strip .v small { font-weight: 600; font-size: 13px; display: block; }
.sec { padding: 24px 0; border-bottom: 1px solid var(--hair); }
.sec:last-child { border-bottom: 0; }
.sec h2 { font-size: 23px; margin-bottom: 12px; }
.sec h2 small { font-family: var(--font); font-weight: 500; font-size: 13.5px; margin-left: 8px; letter-spacing: 0; }
.prose p { font-size: 16px; line-height: 1.6; margin: 0 0 12px; max-width: 68ch; }
.prose ul, .prose ol { padding-left: 20px; line-height: 1.6; margin: 0 0 12px; max-width: 68ch; font-size: 16px; }
.prose li { margin: 0 0 5px; }
.prose h3 { font-size: 17px; font-weight: 700; margin: 18px 0 6px; }
.fine { font-size: 13px; line-height: 1.55; max-width: 72ch; }

/* Pay compare bar */
.pay { display: grid; gap: 6px; max-width: 540px; }
.pay .bar { position: relative; height: 8px; border-radius: 4px; background: var(--panel-2); margin: 10px 0 2px; }
.pay .typ { position: absolute; top: 0; height: 8px; border-radius: 4px; background: var(--hair-2); }
.pay .job { position: absolute; top: -4px; height: 16px; border-radius: 4px; background: var(--yellow); }
.pay .ax { display: flex; justify-content: space-between; font-size: 12px; }
.pay .leg { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 13px; align-items: center; }
.pay .leg i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; vertical-align: -1px; margin-right: 5px; }

/* Facts list */
.facts { display: grid; border-top: 1px solid var(--hair); }
.facts > div { display: grid; grid-template-columns: 170px 1fr; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--hair); font-size: 15px; }
.facts dt { font-weight: 600; }
.facts dd { font-weight: 400; }
@media (max-width: 600px) { .facts > div { grid-template-columns: 120px 1fr; } }

/* Checklist (match) */
.chklist { display: grid; }
.chklist > div { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--hair); font-size: 14.5px; }
.chklist > div:last-child { border-bottom: 0; }
.chklist .ic { width: 20px; height: 20px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; flex: none; color: var(--on); }
.chklist .ic svg { width: 12px; height: 12px; }
.chklist .y .ic { background: var(--green); }
.chklist .p .ic { background: var(--yellow); }
.chklist .n .ic { background: var(--pink); color: #fff; }
.chklist span.r { margin-left: auto; font-size: 13.5px; }

/* Widgets: big numbers on solid colour ---------------------------------- */
.nums { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.nums > div { border-radius: 10px; padding: 16px 18px; color: var(--on); display: flex; flex-direction: column; gap: 6px; min-height: 120px; }
.nums > div:nth-child(4n+1) { background: var(--yellow); }
.nums > div:nth-child(4n+2) { background: var(--pink); color: #fff; }
.nums > div:nth-child(4n+3) { background: var(--sky); }
.nums > div:nth-child(4n+4) { background: var(--green); }
.nums .k { font-size: 14px; font-weight: 700; order: -1; }
.nums .n { font-family: var(--display); font-size: 40px; font-weight: 600; line-height: 1; letter-spacing: -0.01em; }
.nums .n small { font-size: 18px; margin-left: 4px; letter-spacing: 0; }
.nums .so { font-size: 13.5px; font-weight: 600; margin-top: auto; }
.nums.plain > div { background: transparent !important; color: var(--ink) !important; border: 1px solid var(--hair); }
.counts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.counts > div { padding: 22px 24px; }
.counts > div + div { border-left: 1px solid var(--hair); }
.counts b { display: block; font-family: var(--display); font-weight: 600; font-size: 46px; line-height: 1; }
.counts span { display: block; margin-top: 8px; font-weight: 500; }
.counts > div:nth-child(1) b { color: var(--yellow); } .counts > div:nth-child(2) b { color: var(--sky); }
.counts > div:nth-child(3) b { color: var(--green); } .counts > div:nth-child(4) b { color: var(--pink); }
@media (max-width: 700px) { .counts { grid-template-columns: 1fr 1fr; } .counts > div:nth-child(3) { border-left: 0; } .counts > div:nth-child(n+3) { border-top: 1px solid var(--hair); } .counts b { font-size: 36px; } }

/* Panels (inset grouped) -------------------------------------------------- */
.panel { background: var(--panel); border: 1px solid var(--hair); border-radius: 10px; overflow: hidden; }
.panel > .hd { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--hair); }
.panel > .hd h2 { font-family: var(--display); font-weight: 600; font-size: 21px; }
.panel > .hd a { font-weight: 600; font-size: 14px; white-space: nowrap; text-decoration: none; }
.panel > .bd { padding: 16px 18px; }

/* Tables ------------------------------------------------------------------ */
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { text-align: left; font-size: 12.5px; font-weight: 700; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--hair); white-space: nowrap; }
.tbl td { padding: 12px 12px 12px 0; border-bottom: 1px solid var(--hair); vertical-align: top; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl tbody tr:hover td { background: var(--panel); }
.panel .tbl th:first-child, .panel .tbl td:first-child { padding-left: 18px; }
.tbl td.k { font-weight: 600; }
.tbl .sub { display: block; font-size: 13px; font-weight: 400; margin-top: 2px; }
.tbl .num { text-align: right; white-space: nowrap; }
.tbl .act { text-align: right; white-space: nowrap; }
.tbl a { text-decoration: none; font-weight: 600; }
.tbl .sel { min-height: 30px; padding: 3px 28px 3px 10px; font-size: 13px; width: auto; }
.spark { display: inline-flex; align-items: flex-end; gap: 2px; height: 18px; vertical-align: middle; }
.spark i { width: 4px; background: var(--hair-2); border-radius: 1px; display: block; }
.spark i.hi { background: var(--yellow); }
.tbl-wrap { overflow-x: auto; }

/* Page layouts -------------------------------------------------------------- */
.page { max-width: 1200px; margin: 0 auto; padding: 28px 24px 72px; }
.page.narrow { max-width: 1040px; }
.crumbs { font-size: 13.5px; margin-bottom: 16px; font-weight: 500; }
.crumbs a { text-decoration: none; color: var(--ink); }
.crumbs span { margin: 0 6px; }
.scope { display: flex; align-items: center; gap: 14px; margin: 18px 0 0; flex-wrap: wrap; }
.rail { display: grid; grid-template-columns: minmax(0,1fr) 330px; gap: 48px; }
@media (max-width: 900px) { .rail { grid-template-columns: 1fr; gap: 24px; } }
.sticky { position: sticky; top: calc(var(--hdr) + 18px); }
.plan { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; font-size: 14px; padding: 12px 0; border-bottom: 1px solid var(--hair); margin-top: 16px; }
.plan b { font-weight: 700; }
.meter { display: block; height: 8px; border-radius: 4px; background: var(--on); overflow: hidden; }
.meter i { display: block; height: 100%; background: #fff; }
.note { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; padding: 12px 0; border-bottom: 1px solid var(--hair); }
.note svg { width: 17px; height: 17px; flex: none; color: var(--sky); margin-top: 2px; }

/* Settings layout (forms) ------------------------------------------------- */
.set { display: grid; }
.set > div { display: grid; grid-template-columns: 230px minmax(0,1fr); gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--hair); align-items: start; }
.set > div:last-child { border-bottom: 0; }
.set .k { font-size: 15px; font-weight: 600; padding-top: 7px; }
.set .k small { display: block; font-weight: 400; font-size: 13px; margin-top: 3px; line-height: 1.45; }
.set .v { display: grid; gap: 8px; }
.set .v .in, .set .v .sel { max-width: 440px; }
.set .v.row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
@media (max-width: 700px) { .set > div { grid-template-columns: 1fr; gap: 8px; } }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.upload { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 14px; max-width: 540px; }
.upload .f { display: flex; align-items: center; gap: 10px; }
.upload .f svg { width: 20px; height: 20px; }
.upload small { display: block; font-size: 12.5px; }
.savebar { position: sticky; bottom: 0; background: var(--bg); border-top: 1px solid var(--hair); padding: 12px 0; display: flex; justify-content: flex-end; gap: 8px; margin-top: 8px; }
.preview { border-top: 1px solid var(--hair); }
.preview .h { font-size: 12.5px; font-weight: 700; padding: 10px 0 4px; }
.progress { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 14px; }
.progress .meter { width: 160px; background: var(--panel-3); }
.progress .meter i { background: var(--green); }

/* Footer -------------------------------------------------------------------- */
.ftr { border-top: 1px solid var(--hair); padding: 22px 24px; font-size: 13px; display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; }
.ftr img { height: 24px; display: block; }
.ftr a { color: var(--ink); text-decoration: none; font-weight: 500; }
.ftr a:hover { color: var(--sky); }
.app + .ftr { display: none; }

/* Flash ------------------------------------------------------------------- */
.flash { padding: 11px 24px; font-size: 14.5px; font-weight: 600; background: var(--sky); color: var(--on); }
.flash.bad { background: var(--pink); color: #fff; }
.flash.ok { background: var(--green); color: var(--on); }
.page .flash { border-radius: var(--r); padding: 11px 14px; }

/* Misc ---------------------------------------------------------------------- */
.links-grid { columns: 2; column-gap: 28px; font-size: 15px; }
@media (min-width: 700px) { .links-grid { columns: 4; } }
.links-grid a { display: block; padding: 5px 0; text-decoration: none; color: var(--ink); }
.links-grid a .n { font-size: 12.5px; font-weight: 700; color: var(--yellow); margin-left: 5px; }
.stack { display: grid; gap: 8px; }
.side form.stack .seg button { font: inherit; }
@media (max-width: 900px) { .side[style*="block"] { display: block; } }
.kv { font-size: 14px; }
.elogo { width: 30px; height: 30px; border-radius: 4px; object-fit: contain; background: #fff; padding: 2px; flex: none; vertical-align: middle; }
.elogo.lg { width: 60px; height: 60px; border-radius: 6px; padding: 4px; }
.row .t .elogo { margin-right: 8px; }
.row .hd { display: flex; align-items: center; gap: 10px; }
.row .hd .t { flex: 1; }
.lt-row { display: flex; align-items: center; gap: 14px; }
.chips-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chips-row a { text-decoration: none; color: var(--ink); background: var(--panel-2); border: 1px solid var(--hair-2); border-radius: 4px; padding: 5px 10px; font-size: 14px; font-weight: 500; }
.chips-row a .n { color: var(--yellow); font-weight: 700; margin-left: 5px; }
.chips-row a:hover { background: var(--panel-3); }
.step h3 { font-size: 17px; margin-bottom: 6px; }
.step .num { font-family: var(--display); font-weight: 700; font-size: 18px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: var(--on); margin-bottom: 12px; }
.price { font-family: var(--display); color: inherit; font-size: 56px; font-weight: 700; line-height: 1; }
.price small { font-family: var(--font); font-size: 15px; font-weight: 600; margin-left: 6px; }

/* Plans --------------------------------------------------------------------- */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.plans > div { border-radius: 10px; padding: 26px 24px; color: var(--on); display: flex; flex-direction: column; gap: 6px; }
.plans > div:nth-child(1) { background: var(--pink); color: #fff; }
.plans > div:nth-child(2) { background: var(--sky); }
.plans .name { font-weight: 700; font-size: 15px; }
.plans ul { list-style: none; padding: 0; margin: 14px 0 18px; display: grid; gap: 7px; font-weight: 600; }
.plans li::before { content: "✓"; margin-right: 8px; }
.plans .btn { background: var(--bg); color: #fff; margin-top: auto; }

/* Landing ------------------------------------------------------------------- */
.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 40px; align-items: center; padding: 56px 0 36px; }
.hero h1 { font-size: 62px; line-height: 1.04; text-wrap: balance; }
.hero h1 .c1 { color: var(--pink); } .hero h1 .c2 { color: var(--sky); }
.hero .lede { font-size: 19px; margin: 18px 0 26px; max-width: 34em; }
.hero .search { display: grid; grid-template-columns: 1.3fr 1fr auto; gap: 10px; background: var(--panel); border: 1px solid var(--hair); border-radius: 10px; padding: 10px; }
.hero .search .in { min-height: 50px; font-size: 16px; }
.hero .art { position: relative; }
.hero .art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero .art img { position: relative; width: 100%; height: auto; display: block; padding: 64px 4% 44px; }
@media (prefers-reduced-motion: no-preference) { .hero .art img { animation: bob 5s ease-in-out infinite; } }
@keyframes bob { 50% { transform: translateY(-8px); } }
.sec-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.sec-h h2 { font-family: var(--display); font-weight: 600; font-size: 34px; }
.sec-h a { font-weight: 600; text-decoration: none; }
.tiles { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.tile { border-radius: 8px; padding: 18px 16px 16px; color: var(--on); display: flex; flex-direction: column; justify-content: space-between; gap: 26px; min-height: 150px; text-decoration: none; transition: transform 220ms var(--ease); }
.tile:hover { transform: translateY(-4px); }
.tile svg { width: 30px; height: 30px; }
.tile b { font-family: var(--display); font-weight: 600; font-size: 21px; line-height: 1.1; display: block; }
.tile span { font-weight: 600; font-size: 14px; }
.tile.x-ey { background: var(--pink); color: #fff; } .tile.x-pri { background: var(--orange); } .tile.x-sec { background: var(--green); }
.tile.x-sen { background: var(--sky); } .tile.x-sup { background: var(--yellow); } .tile.x-lead { background: #fff; }
.band { background: var(--panel); border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); padding: 64px 0; }
.band .in-wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
.band h2 { font-family: var(--display); font-weight: 600; font-size: 44px; line-height: 1.08; margin-bottom: 16px; text-wrap: balance; }
.ticks { list-style: none; padding: 0; display: grid; gap: 12px; margin-top: 20px; }
.ticks li { display: flex; gap: 12px; font-weight: 500; }
.ticks li::before { content: "✓"; color: var(--green); font-weight: 700; }
.how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; padding-top: 28px; }
  .hero h1 { font-size: 44px; }
  .hero .art { order: -1; max-width: 520px; }
  .tiles { grid-template-columns: repeat(3, 1fr); }
  .band .in-wrap { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 640px) {
  .hero h1 { font-size: 36px; }
  .hero .lede { font-size: 17px; }
  .hero .search { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .how { grid-template-columns: 1fr; }
  .band h2 { font-size: 34px; }
  .sec-h h2 { font-size: 26px; }
  .lt { font-size: 28px; }
  .price { font-size: 46px; }
}

/* Employer shell: side nav + main --------------------------------------------- */
.shell { display: grid; grid-template-columns: 236px minmax(0, 1fr); min-height: calc(100vh - var(--hdr)); }
.snav { border-right: 1px solid var(--hair); padding: 18px 12px; display: grid; gap: 2px; align-content: start; }
.snav .org { padding: 6px 10px 16px; border-bottom: 1px solid var(--hair); margin-bottom: 10px; }
.snav .org b { display: block; font-size: 15px; }
.snav .org span { font-size: 13px; }
.snav .org select { margin-top: 8px; }
.snav a { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 500; padding: 9px 10px; border-radius: var(--r); text-decoration: none; }
.snav a:hover { background: var(--panel); }
.snav a.on { background: var(--panel-2); font-weight: 700; }
.snav a svg { width: 19px; height: 19px; flex: none; }
.snav a em { margin-left: auto; font-style: normal; font-size: 12px; font-weight: 700; background: var(--pink); color: #fff; border-radius: 4px; padding: 1px 6px; }
.smain { padding: 28px 36px 64px; min-width: 0; }
.ph { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.ph h1 { font-family: var(--display); font-weight: 600; font-size: 38px; line-height: 1.1; }
.ph p { margin-top: 4px; }
.ph .acts { margin: 0; }
.cols { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.colstack { display: grid; gap: 24px; }
@media (max-width: 1100px) { .cols { grid-template-columns: 1fr; } }
@media (max-width: 800px) {
  .shell { display: block; }
  .snav { display: flex; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--hair); padding: 8px 12px; gap: 4px; }
  .snav .org { display: none; }
  .snav a { white-space: nowrap; }
  .smain { padding: 22px 16px 48px; }
  .ph h1 { font-size: 30px; }
  .hide-s { display: none !important; }
}

@media (max-width: 760px) {
  .hdr { gap: 12px; padding: 0 16px; height: 62px; }
  :root { --hdr: 62px; }
  .hdr .logo img { height: 28px; }
  .hdr nav, .hdr .acct { display: none; }
  .page { padding: 20px 16px 56px; }
  .detail { padding: 22px 16px 48px; }
}
@media (max-width: 420px) { .hdr .btn:not(.yel) { display: none; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }
.plans .name svg, .ph svg, .panel > .hd h2 svg, .acts .btn svg { width: 20px; height: 20px; flex: none; }
.panel > .hd h2 { display: flex; align-items: center; gap: 9px; }
@media (max-width: 800px) { .snav form { margin: 0 !important; } .snav form .btn { width: auto !important; } }
