  /* A button that reads as a link. The returning-reader block is one of these
     until somebody wants it, so the panel offers one action and not three. */
  .linkish {
    display: inline; padding: 0; border: 0; background: none;
    font: inherit; font-size: 14px; font-weight: 600;
    color: var(--primary); text-decoration: underline; cursor: pointer;
  }
  .linkish:hover { color: var(--primary-dark); }

  /* The panel's own copy. The paragraph inherited margin-bottom 0 and sat
     flush against the first label, and a 24px heading leading at 1.55 reads
     as two separate lines rather than one wrapped sentence. */
  #seeker-ask > h2 { line-height: 1.25; margin-bottom: 10px; }
  #seeker-ask > p { margin: 0 0 20px; }

  .gate-return { margin-top: 20px; border-top: 1px solid var(--line); padding-top: 16px; }
  .gate-return #returning { margin-top: 14px; }
  .gate-return-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
  .gate-return-row > input { flex: 1 1 190px; min-width: 0; }
  .gate-return #si-mode { margin-top: 12px; font-size: 13.5px; font-weight: 500; }

  :root {
    /* Metanlytics design system. Five colours actually run it: ink, primary,
       secondary, mist, and a little teal. The duplicated and unused tokens in
       the source system (primaryDark, tealDark, secondaryDark, azure) are
       deliberately not carried over. */
    --ink: #0B1B2B;
    --primary: #026595;
    --primary-dark: #013E5C;
    --secondary: #EC974B;
    --secondary-dark: #DD9A4F;
    --teal: #1BA1BF;
    --mist: #EAF2F7;

    --bg: #FFFFFF;
    --bg-soft: #F7FAFC;
    --bg-tint: var(--mist);

    /* No separate grey ramp: secondary text is ink at reduced opacity. */
    --ink-soft: rgba(11, 27, 43, 0.70);
    --ink-mute: rgba(11, 27, 43, 0.64);
    --line: rgba(11, 27, 43, 0.10);
    --line-soft: rgba(11, 27, 43, 0.06);
    --line-strong: rgba(11, 27, 43, 0.22);

    --accent: #C4531A;
    --accent-soft: #FDF0E4;
    --shadow-sm: 0 1px 2px rgba(11, 27, 43, 0.06);
    --shadow-md: 0 4px 14px rgba(11, 27, 43, 0.09);
  }
  * { margin: 0; padding: 0; box-sizing: border-box; }
  /* the hidden attribute only works through a UA default rule, so any author
     display value beats it. .btn sets display:inline-flex, which silently
     defeated hidden on the nav CTA. */
  [hidden] { display: none !important; }
  html { scroll-behavior: smooth; }
  body {
    background: var(--bg);
    color: var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }
  ::selection { background: var(--primary); color: #fff; }
  a { text-decoration: none; color: inherit; }

  nav {
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 16px 48px;
    display: flex; justify-content: space-between; align-items: center;
    position: sticky; top: 0; z-index: 100;
  }
  .logo {
    font-family: 'Tenor Sans', serif;
    font-weight: 700; font-size: 24px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    -webkit-text-stroke: 0.6px var(--ink);
    display: inline-flex; align-items: center;
  }
  .logo-bolt { width: 18px; height: 22px; fill: var(--primary); flex-shrink: 0; }
  .nav-links { display: flex; gap: 28px; align-items: center; }
  .nav-links > a { color: var(--ink-soft); font-size: 15px; font-weight: 500; transition: color 0.2s; }
  .nav-links > a:hover { color: var(--primary); }
  /* the link rule above outranks .btn-primary, so restate the button colour */
  .nav-links > a.btn-primary,
  .nav-links > a.btn-primary:hover { color: #fff; }

  .btn {
    padding: 14px 24px;
    border-radius: 6px;
    font-size: 15px; font-weight: 600;
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    transition: all 0.2s;
    cursor: pointer; border: none;
    font-family: inherit;
  }
  .btn-primary { background: var(--primary); color: #fff; box-shadow: var(--shadow-sm); }
  .btn-primary:hover { background: var(--primary-dark); }
  .btn-outline { background: transparent; border: 1px solid rgba(2, 101, 149,.3); color: var(--primary); }
  .btn-outline:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
  .btn-block { width: 100%; }
  .btn-sm { padding: 9px 16px; font-size: 14px; }

  /* ---------- hero: two paths ---------- */
  .hero {
    background: linear-gradient(180deg, var(--mist) 0%, var(--bg) 100%);
    padding: 44px 48px 26px;
    text-align: center;
  }
  .hero-inner { max-width: 1180px; margin: 0 auto; }
  .tagline {
    font-size: 12px; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.22em;
    color: var(--primary);
    margin-bottom: 10px;
  }
  h1 {
    font-size: clamp(26px, 4.5vw, 62px);
    font-weight: 700; line-height: 1.02;
    letter-spacing: -0.025em;
    margin-bottom: 10px;
  }
  /* the headline is sized to sit on one line; below this it cannot, so let it wrap */
  @media (min-width: 640px) { h1 { white-space: nowrap; } }
  h1 .accent { color: var(--primary); }
  .hero-sub {
    font-size: 18px; color: var(--ink-soft);
    max-width: 760px; margin: 0 auto;   /* the hero's own padding closes it */
  }

  /* ---------- panel + audience tabs ---------- */
  .panel-wrap { padding: 0 48px 80px; }
  /* signed in, the hero is a page header, not a pitch */
  body.dash .hero { padding: 24px 48px 14px; }
  body.dash .hero h1 { font-size: clamp(26px, 3vw, 34px); margin-bottom: 6px; }
  body.dash .hero .tagline { margin-bottom: 8px; }
  body.dash .hero-sub { font-size: 15px; margin-bottom: 0; max-width: 620px; }
  body.dash .panel-wrap { padding-top: 22px; }

  .solo { max-width: 720px; margin: 0 auto; }
  /* signed in, the page has three panels and room to lay them out */
  /* Signed in: the posting form on the left, everything else stacked on the
     right. The right-hand panels live in .dash-side rather than in grid rows,
     because a left panel spanning two rows hands its height to those rows: a
     130px "Your postings" sat in a 360px row and left 230px of white under it. */
  .solo.dash {
    max-width: 1180px;
    display: grid; grid-template-columns: 1.3fr 0.7fr;
    grid-template-areas: "tabs tabs" "main side";
    gap: 20px; align-items: start;
  }
  .dash-tabs { grid-area: tabs; }
  .dash-main { grid-area: main; min-width: 0; }
  .dash-side { grid-area: side; display: flex; flex-direction: column; gap: 20px; min-width: 0; }
  .dash-main > .panel, .dash-side > .panel { margin-top: 0; }
  .dash-tabs[hidden] { display: none; }
  /* Company is a short form with nothing to sit beside it, so it takes the
     whole width rather than being squeezed next to an empty lane. */
  .solo.dash.no-side { grid-template-columns: 1fr; grid-template-areas: "tabs" "main"; }
  .solo.dash.no-side .dash-side { display: none; }

  .figures { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .figure {
    border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px;
  }
  .figure .n { font-size: 24px; font-weight: 700; color: var(--tx1); line-height: 1.1; }
  .figure .l { font-size: 12.5px; color: var(--ink-mute); margin-top: 3px; }

  /* Post a role and Your bench are both full-height forms and cannot share a
     column, so they take turns in it. Your postings stays pinned beside them:
     it is a glance, not a task, and losing sight of live roles while writing
     the next one is a downgrade. */
  .dash-tabs {
    display: flex; gap: 4px; flex-wrap: wrap;
    border-bottom: 1px solid var(--line); padding-bottom: 0;
  }
  .dash-tab {
    display: inline-flex; align-items: center; gap: 7px;
    border: none; background: none; cursor: pointer; font-family: inherit;
    font-size: 14.5px; font-weight: 600; color: var(--ink-soft);
    padding: 10px 14px; border-radius: 8px 8px 0 0;
    border-bottom: 2px solid transparent; margin-bottom: -1px;
  }
  .dash-tab:hover { color: var(--tx1); background: rgba(2, 101, 149, 0.05); }
  .dash-tab.is-on { color: var(--primary); border-bottom-color: var(--primary); }
  .tab-note { font-weight: 400; font-size: 12.5px; color: var(--ink-mute); }
  .dash-tab.is-on .tab-note { color: var(--primary); opacity: 0.75; }
  .tab-dot {
    width: 7px; height: 7px; border-radius: 50%; background: #C0392B;
  }
  .tab-dot[hidden] { display: none; }
  .home-wrap { padding: 0 48px 80px; }
  .home-grid {
    max-width: 1340px; margin: 0 auto;
    display: grid; grid-template-columns: 1.15fr 0.85fr;
    gap: 32px; align-items: start;
  }
  .home-side { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 88px; }
  /* two classes so this beats .jobs, which is defined later in the file.
     No heading on the home page: the hero already said what these are, and
     without one the first card starts level with the signup panel beside it. */
  .jobs.jobs-plain { background: transparent; padding: 0; }
  .home-main .job-card:first-child { margin-top: 0; }
  .jobs.jobs-plain .jobs-inner { max-width: none; }
  .jobs.jobs-plain .jobs-head h2 { font-size: clamp(26px, 2.6vw, 32px); }
  .duo {
    max-width: 1340px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 24px; align-items: stretch;
  }
  .panel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    padding: 24px;
    display: flex; flex-direction: column;
  }
  .panel-foot { margin-top: auto; padding-top: 8px; }
  /* scroll-margin-top is what scroll anchoring honours; position/top is not */
  .anchor { display: block; height: 0; scroll-margin-top: 120px; }
  @keyframes arrive {
    0%, 100% { box-shadow: 0 16px 44px rgba(11, 31, 58, 0.08); }
    12%, 62% { box-shadow: 0 0 0 3px rgba(11, 91, 211, 0.38), 0 16px 44px rgba(11, 31, 58, 0.08); }
  }
  .panel:has(.anchor:target) { animation: arrive 2.6s ease-in-out 1; }
  @media (prefers-reduced-motion: reduce) {
    .panel:has(.anchor:target) { animation: none; box-shadow: 0 0 0 3px rgba(11, 91, 211, 0.38), 0 16px 44px rgba(11, 31, 58, 0.08); }
  }
  .panel-foot .form-legal { margin-bottom: 0; }
  .panel[hidden] { display: none; }
  .panel-kicker {
    display: inline-block;
    font-size: 12px; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.22em;
    color: var(--primary);
    margin-bottom: 12px;
  }
  .panel-head { margin-bottom: 20px; }
  .panel-head h2 {
    font-size: 26px; font-weight: 700;
    letter-spacing: -0.025em; margin-bottom: 8px;
  }
  .panel-head p { color: var(--ink-soft); font-size: 15px; }

  /* One vertical step for the whole form, so a row of two fields and a
     single field leave the same space behind them. */
  .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .field { margin-bottom: 16px; }
  /* Direct children only. This is the caption above an input, and as
     ".field label" it also hit every label nested inside the field, forcing
     display:block onto checkbox and chip controls that need to be flex. */
  .field > label, .field > .label {
    display: block; font-size: 13px; font-weight: 600;
    margin-bottom: 8px;
  }
  /* A small toggle beside a normal field. The pill is deliberately shorter
     than the input; both are explicit heights so nothing depends on how flex
     resolves stretch, and the label is a flex item because inline-flex adds
     descender space under it. */
  /* One box. The toggle lives inside the field's border rather than beside
     it, so there are no two boxes to align: the border is drawn once and
     everything within it is centred by the same container. */
  .taxid-row {
    display: flex; align-items: center; height: 44px;
    border: 1px solid var(--line); border-radius: 6px; background: #fff;
    overflow: hidden; transition: border-color 0.2s, box-shadow 0.2s;
  }
  .taxid-row:focus-within {
    border-color: var(--primary); box-shadow: 0 0 0 3px rgba(2, 101, 149, 0.12);
  }
  .taxid-row .chips { flex: 0 0 auto; flex-wrap: nowrap; gap: 4px; padding: 0 6px;
                      align-items: center; align-self: center; }
  /* .chip carries margin-bottom: 8px for the wrapping rows elsewhere. Flex
     centres the margin box, so 30 + 8 was centred and the pill sat 4px high. */
  .taxid-row .chip { display: flex; align-self: center; margin: 0; }
  .taxid-row .chip span {
    display: flex; align-items: center; justify-content: center;
    height: 30px; padding: 0 12px; font-size: 12px; border-radius: 4px;
    line-height: 1; box-sizing: border-box;
  }
  .taxid-row input,
  .taxid-row input:focus {
    flex: 1 1 auto; min-width: 0; height: 100%;
    border: none; border-radius: 0; background: transparent;
    box-shadow: none; outline: none; padding: 0 12px;
  }
  /* a hairline between the toggle and the value, inside the shared border */
  .taxid-row input { border-left: 1px solid var(--line); }
  /* The mirror sits behind a transparent textarea and carries the marks.
     Everything that affects wrapping has to match on both, or the highlight
     lands on the wrong words. */
  .screen-wrap { position: relative; }
  .screen-wrap textarea,
  .screen-mirror {
    font-family: inherit; font-size: 15px; line-height: 1.5;
    padding: 11px 12px; border: 1px solid transparent; border-radius: 6px;
    box-sizing: border-box; white-space: pre-wrap; overflow-wrap: break-word;
    margin: 0; letter-spacing: normal;
  }
  .screen-wrap textarea {
    position: relative; z-index: 1; width: 100%;
    border-color: var(--line); background: transparent; color: var(--tx1);
    resize: vertical; display: block;
  }
  .screen-wrap textarea:focus {
    outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(2, 101, 149, 0.12);
  }
  .screen-mirror {
    position: absolute; inset: 0; z-index: 0; overflow: hidden;
    color: transparent; background: #fff; pointer-events: none;
  }
  .screen-mirror mark {
    color: transparent; border-radius: 2px; padding: 1px 0;
  }
  .screen-mirror mark.high { background: rgba(192, 57, 43, 0.22); box-shadow: 0 1px 0 #C0392B; }
  .screen-mirror mark.note { background: rgba(214, 154, 24, 0.20); box-shadow: 0 1px 0 #B8860B; }

  .review-row { display: flex; align-items: center; gap: 10px; margin-top: 8px; flex-wrap: wrap; }
  .review-row .picked-note { margin: 0; }
  .flags { margin-top: 10px; display: flex; flex-direction: column; gap: 8px; }
  .flag {
    border-left: 3px solid var(--line); padding: 8px 0 8px 11px;
    font-size: 13px; line-height: 1.55; color: var(--tx2);
  }
  .flag.high { border-left-color: #C0392B; }
  .flag.note { border-left-color: #B8860B; }
  .flag b { color: var(--tx1); }
  .flag q { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12.5px; }

  /* A real checkbox with its label beside it, for a question where a reader
     needs to see at a glance which boxes are already ticked. The toggle-pill
     version read as four buttons, and a ticked pill and an unticked one are
     told apart only by colour. */
  /* A gate has to look like one. The text fading out says there is more
     behind it far better than an ellipsis does, and the list names what. */
  .gated { position: relative; max-height: 190px; overflow: hidden; }
  .gated::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 96px;
    background: linear-gradient(to bottom, rgba(255,255,255,0), var(--bg) 88%);
    pointer-events: none;
  }
  /* gate-list, not locked: employer.js already toggles a class called "locked"
     on the company details panel when it is verified, and these rules were
     landing on it, stripping its padding and turning it into a flex column. */
  /* Three padlocked lines down the left was a third block of equal weight in
     a panel that already had two too many. Wrapping row, one line on a wide
     screen, and the heading follows straight after it. */
  .gate-list {
    list-style: none; margin: 0 0 16px; padding: 0;
    display: flex; flex-wrap: wrap; gap: 8px 18px;
  }
  .gate-list li {
    display: flex; align-items: center; gap: 7px;
    font-size: 13.5px; font-weight: 600; color: var(--tx2);
  }
  .gate-list li::before {
    content: ''; flex: 0 0 auto; width: 13px; height: 13px;
    background: currentColor; opacity: 0.55;
    -webkit-mask: var(--lock) center / contain no-repeat;
            mask: var(--lock) center / contain no-repeat;
  }
  :root {
    --lock: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M17 9V7a5 5 0 0 0-10 0v2H5v13h14V9h-2zM9 7a3 3 0 0 1 6 0v2H9V7z'/%3E%3C/svg%3E");
  }

  /* Your postings, as a list. One row is title, place, state and two actions;
     six rows fit where a single card used to sit. */
  .post-list { list-style: none; margin: 0; padding: 0; }
  .post-row {
    display: flex; align-items: flex-start; gap: 10px;
    padding: 11px 0; border-top: 1px solid var(--line);
  }
  .post-row:first-child { border-top: none; padding-top: 2px; }
  .post-dot {
    flex: 0 0 auto; width: 8px; height: 8px; border-radius: 50%;
    margin-top: 6px; background: var(--ink-mute);
  }
  .is-live .post-dot   { background: #1E9E63; }
  .is-review .post-dot { background: #D6941A; }
  .post-main { flex: 1 1 auto; min-width: 0; }
  .post-title {
    display: block; font-size: 14.5px; font-weight: 600; color: var(--tx1);
    line-height: 1.35; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    text-decoration: none;
  }
  a.post-title:hover { color: var(--primary); text-decoration: underline; }
  .post-meta {
    font-size: 12.5px; color: var(--ink-mute); margin-top: 2px;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  }
  .is-done .post-title, .is-done .post-meta { color: var(--ink-mute); }
  .post-acts { flex: 0 0 auto; display: flex; gap: 10px; padding-top: 2px; }

  /* a button that reads as a link, for actions that sit inside dense rows */
  .linkish {
    border: none; background: none; padding: 0; cursor: pointer;
    font-family: inherit; font-size: 12.5px; font-weight: 600;
    color: var(--primary); white-space: nowrap;
  }
  .linkish:hover { text-decoration: underline; }
  .linkish:disabled { opacity: 0.45; cursor: default; text-decoration: none; }
  .show-all { margin-top: 12px; }

  .check-row { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-bottom: 6px; }
  .check {
    display: inline-flex; align-items: center; gap: 9px;
    font-size: 14px; font-weight: 600; color: var(--tx1);
    cursor: pointer; white-space: nowrap;
  }
  .check input {
    width: 18px; height: 18px; margin: 0; flex: 0 0 auto;
    accent-color: var(--primary); cursor: pointer;
  }
  /* The label has to be a block for align-items to centre it against the box.
     Left inline, its bounding box is the 16px text run inside a 23px line, and
     the checkbox lands 4px high. */
  .check > span { display: block; line-height: 1.3; }
  .check small { font-weight: 400; color: var(--tx3); font-size: 13px; }
  .check:has(input:disabled) { opacity: 0.45; cursor: not-allowed; }

  .consent {
    display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 6px;
    font-size: 13.5px; line-height: 1.55; color: var(--tx2); cursor: pointer;
  }
  .consent input { width: 17px; height: 17px; margin: 1px 0 0; flex: 0 0 auto; accent-color: var(--primary); }
  textarea {
    width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-radius: 6px;
    font-family: inherit; font-size: 15px; line-height: 1.5; color: var(--tx1);
    background: #fff; box-sizing: border-box; resize: vertical;
  }
  textarea:focus {
    outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(2, 101, 149, 0.12);
  }
  .ref-block {
    margin: 10px 0 0; padding: 12px 14px; border-radius: 6px;
    background: var(--mist); border: 1px solid var(--line);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 12.5px; line-height: 1.55; color: var(--tx2);
    white-space: pre-wrap; word-break: break-word; overflow-x: auto;
  }
  /* A value plus a button that copies exactly it. Selecting a block element
     by hand drags in the trailing newline, which is how a key ends up pasted
     with a line break in it. */
  .copy-row {
    display: flex; align-items: stretch; gap: 0; margin-top: 8px;
    border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: var(--mist);
  }
  .copy-row code {
    flex: 1 1 auto; min-width: 0; padding: 10px 12px; background: none;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12.5px;
    color: var(--tx1); overflow-x: auto; white-space: nowrap; line-height: 1.5;
  }
  .copy-row button {
    flex: 0 0 auto; border: none; border-left: 1px solid var(--line);
    background: #fff; color: var(--primary); cursor: pointer; font-family: inherit;
    font-size: 12.5px; font-weight: 600; padding: 0 14px; white-space: nowrap;
  }
  .copy-row button:hover { background: rgba(2, 101, 149, 0.06); }
  .copy-row button.done { color: #1E9E63; }

  .api-table { width: 100%; border-collapse: collapse; margin: 14px 0 22px; font-size: 14.5px; }
  .api-table th, .api-table td {
    text-align: left; padding: 9px 12px 9px 0; border-bottom: 1px solid var(--line);
    vertical-align: top;
  }
  .api-table th { font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-mute); }
  .api-table td:first-child, .api-table th:first-child { width: 30%; }
  .api-table code, .legal code {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 13px; background: var(--mist); padding: 2px 6px; border-radius: 4px;
  }
  .req { color: #C0392B; font-weight: 700; margin-left: 2px; }
  .field .hint { font-weight: 400; color: var(--ink-mute); font-size: 12px; margin-left: 4px; }
  textarea,
  /* Every text-entry type, not a list that has to be extended each time one
     is used. A password field left out fell back to the browser default. */
  input[type="email"], input[type="text"], input[type="password"],
  input[type="url"], input[type="tel"], input[type="search"],
  input[type="number"], select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 6px;
    font-family: inherit; font-size: 15px;
    color: var(--ink); background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
    -webkit-appearance: none; appearance: none;
  }
  select {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='%237B8AA3' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 14px center; background-size: 11px;
    padding-right: 36px;
  }
  textarea { resize: vertical; min-height: 120px; line-height: 1.6; }
  textarea:focus,
  input:focus, select:focus {
    outline: none; border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(11, 91, 211, 0.12);
  }

  /* shared skill type-ahead, used by both sides */
  .picker { position: relative; }
  .picker-pills { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 10px; }
  .picker-pills:empty { display: none; }
  /* holds the hidden inputs the form posts; nothing in it is meant to be seen */
  .picker-values { display: none; }
  /* A tag: label and a close icon on one line, in a bordered rectangle.
     Named tag-chip rather than pill because employers.html carries its own
     .pill rule for status badges, and that one was winning: the tag rendered
     as display:block, so the label and the icon stacked.

     flex-shrink and nowrap are the other load-bearing bits. Without them a
     narrow column squeezes the tag until the label wraps. */
  .tag-chip {
    display: inline-flex; align-items: center; gap: 8px;
    flex: 0 0 auto; max-width: 100%;
    padding: 0 10px 0 12px; min-height: 34px;
    background: #fff; color: var(--primary);
    border: 1px solid var(--primary); border-radius: 6px;
    font-size: 13.5px; font-weight: 600; line-height: 1;
    white-space: nowrap;
  }
  .tag-chip > span {
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  }
  .tag-chip button {
    flex: 0 0 auto;
    border: none; background: none; color: var(--primary);
    width: 18px; height: 18px; padding: 0; border-radius: 3px;
    font-size: 15px; line-height: 1; opacity: 0.65;
    cursor: pointer; font-family: inherit;
    display: flex; align-items: center; justify-content: center;
    transition: opacity 0.15s, background 0.15s;
  }
  .tag-chip button:hover { opacity: 1; background: rgba(2, 101, 149, 0.10); }
  .tag-chip button:focus-visible {
    outline: none; opacity: 1; box-shadow: 0 0 0 2px rgba(2, 101, 149, 0.35);
  }
  .picker-menu {
    position: absolute; left: 0; right: 0; top: 100%;
    margin-top: 6px; z-index: 40;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: 0 14px 36px rgba(11, 31, 58, 0.14);
    max-height: 268px; overflow-y: auto;
    padding: 6px;
  }
  .picker-menu[hidden] { display: none; }
  .picker-opt {
    display: flex; justify-content: space-between; align-items: center; gap: 12px;
    padding: 9px 12px; border-radius: 7px;
    font-size: 14px; cursor: pointer;
  }
  .picker-opt small { color: var(--ink-mute); font-size: 12px; white-space: nowrap; }
  .picker-opt.active, .picker-opt:hover { background: var(--bg-tint); }
  .picker-opt.active { box-shadow: inset 0 0 0 1px rgba(11, 91, 211, 0.3); }
  .picker-none { padding: 12px; font-size: 14px; color: var(--ink-mute); }
  .picker-msg { margin-top: 7px; font-size: 12.5px; color: #9A5716; }
  .picker-msg[hidden] { display: none; }
  .chips { display: flex; flex-wrap: wrap; gap: 7px; }
  .chip { position: relative; display: inline-flex; }
  .chip input { position: absolute; opacity: 0; width: 0; height: 0; }
  .chip span {
    display: inline-block;
    padding: 6px 12px;
    border: 1px solid rgba(11, 27, 43, 0.15);
    background: rgba(234, 242, 247, 0.6);
    border-radius: 100px;
    font-size: 13px; font-weight: 500;
    color: var(--ink-soft);
    cursor: pointer; user-select: none;
    transition: all 0.15s;
  }
  .chip span:hover { border-color: var(--ink-mute); }
  .chip input:checked + span {
    background: var(--primary); border-color: var(--primary);
    color: #fff; font-weight: 600;
  }
  .chip input:disabled + span { opacity: 0.4; cursor: not-allowed; }
  .chip input:focus-visible + span { box-shadow: 0 0 0 3px rgba(11, 91, 211, 0.25); }
  .radio-row { display: flex; gap: 8px; }
  .radio-row .chip { flex: 1; }
  /* flex:1 so the coloured span fills the slot the chip was given. Without
     it the label sizes to its text and the row looks ragged. */
  .radio-row .chip span { flex: 1; display: block; text-align: center; padding: 10px 8px; }
  .send-list { list-style: none; margin: 0 0 4px; }
  /* not flex: a <b> lead-in would become its own flex item and break the line */
  .send-list li {
    position: relative; padding: 9px 0 9px 20px;
    font-size: 15px; color: var(--ink-soft); line-height: 1.6;
  }
  .send-list li::before {
    content: ''; position: absolute; left: 0; top: 18px;
    width: 6px; height: 6px;
    background: var(--primary); border-radius: 50%;
  }
  .send-list li b { color: var(--ink); font-weight: 600; }
  .picked-note { font-size: 12px; color: var(--ink-mute); margin-top: 9px; }
  .picked-note:empty { display: none; }

  .form-legal { font-size: 12px; color: var(--ink-mute); margin-top: 12px; text-align: center; }
  .form-msg {
    display: none; margin-top: 14px;
    padding: 12px 14px; border-radius: 8px;
    font-size: 14px;
    background: var(--bg-tint); border: 1px solid var(--line);
  }
  /* honeypot: off-screen rather than display:none, which some bots skip */
  .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
  .form-msg.show { display: block; }
  .form-msg.good { background: var(--green-soft, #E8F6EE); border-color: #BFE3CE; color: #16603A; }
  .form-msg.bad  { background: #FFF1E8; border-color: #F3CDB6; color: #A6431B; }
  .panel-note { font-size: 13px; color: var(--ink-mute); margin-top: 14px; }

  /* ---------- jobs ---------- */
  .jobs { background: var(--mist); padding: 80px 48px; }
  .jobs-inner { max-width: 940px; margin: 0 auto; }
  .jobs-head {
    display: flex; justify-content: space-between;
    align-items: flex-end; gap: 20px; flex-wrap: wrap;
    margin-bottom: 18px;
  }
  .jobs-head h2 {
    font-size: clamp(28px, 3vw, 38px);
    font-weight: 700; letter-spacing: -0.025em;
  }
  .jobs-head p { color: var(--ink-soft); font-size: 15px; margin-top: 4px; }
  .jobs-count {
    font-size: 13px; font-weight: 600;
    color: var(--primary); background: var(--bg-tint);
    padding: 6px 14px; border-radius: 100px; white-space: nowrap;
  }
  .job-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 22px 24px;
    margin-bottom: 12px;
    display: grid; grid-template-columns: 1fr auto;
    gap: 20px; align-items: center;
    transition: border-color 0.2s, box-shadow 0.2s;
  }
  .job-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow-md); }
  .job-title {
    font-size: 17px; font-weight: 600; margin-bottom: 4px;
    display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap;
  }
  .job-age {
    font-size: 12px; font-weight: 600; letter-spacing: 0.02em;
    color: var(--ink-mute); white-space: nowrap;
  }
  .job-age.warn { color: #9A5716; }
  .job-meta { font-size: 14px; color: var(--ink-soft); margin-bottom: 10px; }
  .job-tags { display: flex; flex-wrap: wrap; gap: 6px; }
  .job-side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
  .job-side .btn-sm { white-space: nowrap; }
  .job-tags span {
    padding: 3px 10px;
    background: rgba(234, 242, 247, 0.75); color: var(--primary);
    border-radius: 100px; font-size: 12px; font-weight: 600;
  }
  .job-tags span.role { background: var(--primary); color: #fff; }
  .job-tags span.expiry { background: rgba(236, 151, 75, 0.16); color: #9A5716; }
  .job-tags span.hf { background: rgba(27, 161, 191, 0.16); color: #0A5566; }
  .job-tags span.wa { background: rgba(236,151,75,.14); color: #8A4E12; }
  .job-title a { color: inherit; }
  .job-title a:hover { color: var(--primary); }
  .job-more { display: inline-block; margin-top: 10px; font-size: 13px; font-weight: 600; color: var(--primary); }
  .job-more:hover { text-decoration: underline; }
  .job-desc { margin-top: 12px; border: none; }
  .job-desc summary {
    padding: 6px 0; font-size: 13px; font-weight: 600; color: var(--primary);
    list-style: none; display: inline-flex; align-items: center; gap: 6px; cursor: pointer;
  }
  .job-desc summary::-webkit-details-marker { display: none; }
  .job-desc summary::after { content: '+'; font-size: 15px; font-weight: 400; }
  .job-desc[open] summary::after { content: '−'; }
  .job-desc > div {
    white-space: pre-wrap; font-size: 14px; color: var(--ink-soft);
    line-height: 1.65; padding: 6px 0 4px; max-width: 60ch;
  }
  .job-side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
  .job-pay { font-size: 15px; font-weight: 600; white-space: nowrap; }

  .jobs-more {
    background: #fff;
    border: 1px solid var(--primary);
    border-radius: 12px;
    padding: 26px 24px;
    text-align: center;
    margin-top: 16px;
  }
  .jobs-more h3 { font-size: 18px; font-weight: 600; margin-bottom: 6px; }
  .jobs-more p { color: var(--ink-soft); font-size: 15px; max-width: 460px; margin: 0 auto 16px; }
  .jobs-empty {
    background: #fff;
    border: 1px dashed var(--line);
    border-radius: 12px;
    padding: 44px 28px; text-align: center;
  }
  .jobs-empty h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
  .jobs-empty p { color: var(--ink-soft); font-size: 15px; max-width: 420px; margin: 0 auto 18px; }
  .jobs-foot { font-size: 13px; color: var(--ink-mute); margin-top: 18px; text-align: center; }

  /* ---------- trust strip ---------- */
  .trust { background: var(--primary); color: #fff; padding: 64px 48px; }
  .trust-inner {
    max-width: 1340px; margin: 0 auto;
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
  }
  .trust-item h4 { font-size: 15px; font-weight: 600; margin-bottom: 5px; }
  .trust-item p { color: rgba(255,255,255,0.86); font-size: 14px; }

  /* ---------- faq ---------- */
  .crosslink { padding: 0 48px 56px; }
  .crosslink-inner {
    max-width: 680px; margin: 0 auto;
    background: var(--bg-tint);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 26px 28px;
    display: flex; align-items: center; justify-content: space-between;
    gap: 20px; flex-wrap: wrap;
  }
  .crosslink h3 { font-size: 17px; font-weight: 600; margin-bottom: 3px; }
  .crosslink p { color: var(--ink-soft); font-size: 15px; }
  .faq { padding: 80px 48px; }
  .faq-inner { max-width: 760px; margin: 0 auto; }
  .faq h2 {
    font-size: 32px; font-weight: 600;
    letter-spacing: -0.02em; margin-bottom: 24px; text-align: center;
  }
  details { border-bottom: 1px solid var(--line); }
  summary {
    padding: 16px 0;
    font-weight: 600; font-size: 16px;
    cursor: pointer; list-style: none;
    display: flex; justify-content: space-between; align-items: center; gap: 16px;
  }
  summary::-webkit-details-marker { display: none; }
  summary::after { content: '+'; color: var(--primary); font-size: 20px; font-weight: 400; flex-shrink: 0; }
  details[open] summary::after { content: '−'; }
  details p { padding: 0 0 18px; color: var(--ink-soft); font-size: 15px; }

  footer {
    background: var(--bg-soft);
    padding: 36px 48px;
    border-top: 1px solid var(--line);
  }
  .footer-inner {
    max-width: 1340px; margin: 0 auto;
    display: flex; justify-content: space-between;
    align-items: center; gap: 20px; flex-wrap: wrap;
    font-size: 13px; color: var(--ink-mute);
  }
  .footer-inner a { color: var(--ink-soft); }
  .footer-inner a:hover { color: var(--primary); }
  .footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
  .footer-tagline {
    font-size: 12px; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.22em;
    color: var(--primary);
    margin-bottom: 6px;
  }

  @media (max-width: 900px) {
    nav { padding: 13px 20px; }
    .logo { font-size: 19px; }
    .logo-bolt { width: 15px; height: 18px; }
    .nav-links { gap: 16px; }
    .nav-links > a:not(.btn) { display: none; }
    /* The account control is a button in a div, not a link, so it survives
       the rule above and sign out stays reachable inside it. */
    .hero { padding: 30px 20px 22px; }
    .paths { grid-template-columns: 1fr; gap: 14px; }
    .path { padding: 22px 20px; }
    .panel-wrap { padding: 0 20px 32px; }
    /* signed in, the hero is a page header, not a pitch */
    body.dash .hero { padding: 18px 20px 12px; }
    body.dash .panel-wrap { padding-top: 16px; }

  .solo { max-width: 720px; margin: 0 auto; }
    .duo { grid-template-columns: 1fr; gap: 16px; }
    .solo.dash { grid-template-columns: 1fr; grid-template-areas: "tabs" "main" "side"; }
    .dash-tabs { overflow-x: auto; flex-wrap: nowrap; }
    .dash-tab { padding: 10px 12px; white-space: nowrap; }
    .home-wrap { padding: 0 20px 48px; }
    .home-grid { grid-template-columns: 1fr; gap: 22px; }
    /* on a phone the signup comes first: the job list is long and the form is the point */
    .home-side { position: static; order: -1; }
    .panel { padding: 24px 20px; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .jobs { padding: 40px 20px; }
    .job-card { grid-template-columns: 1fr; gap: 14px; }
    .job-side { align-items: flex-start; flex-direction: row; justify-content: space-between; width: 100%; }
    .trust { padding: 36px 20px; }
    .trust-inner { grid-template-columns: 1fr 1fr; gap: 24px; }
    .faq { padding: 40px 20px; }
    .crosslink { padding: 0 20px 36px; }
    .crosslink-inner { padding: 22px 20px; text-align: center; justify-content: center; }
    footer { padding: 28px 20px; }
    .footer-inner { justify-content: center; text-align: center; }
  }
  @media (max-width: 520px) {
    .trust-inner { grid-template-columns: 1fr; gap: 18px; }
  }

/* ---------- legal pages ---------- */
.legal { padding: 56px 48px 80px; }
.legal-inner { max-width: 760px; margin: 0 auto; }
.legal h1 { font-size: clamp(30px, 3.4vw, 40px); margin-bottom: 10px; white-space: normal; }
.legal .updated { color: var(--ink-mute); font-size: 14px; margin-bottom: 34px; }
.legal .toc {
  background: var(--mist); border: 1px solid var(--line);
  border-radius: 12px; padding: 20px 24px; margin-bottom: 40px;
}
.legal .toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 32px; }
.legal .toc li { font-size: 14px; padding: 3px 0; break-inside: avoid; }
.legal .toc a { color: var(--primary); }
.legal .toc a:hover { text-decoration: underline; }
.legal h2 {
  font-size: 20px; font-weight: 700; letter-spacing: -0.015em;
  margin: 40px 0 12px; padding-top: 18px; border-top: 1px solid var(--line);
  scroll-margin-top: 96px;
}
.legal h3 { font-size: 16px; font-weight: 600; margin: 22px 0 8px; }
.legal p, .legal li { font-size: 15px; line-height: 1.7; color: var(--ink-soft); }
.legal p { margin-bottom: 14px; }
.legal ul, .legal ol.body { margin: 0 0 16px 0; padding-left: 22px; }
.legal ul li, .legal ol.body li { margin-bottom: 8px; }
.legal strong { color: var(--ink); font-weight: 600; }
.legal .callout {
  background: var(--mist); border-left: 3px solid var(--primary);
  border-radius: 0 8px 8px 0; padding: 16px 20px; margin: 18px 0;
}
.legal .callout p:last-child { margin-bottom: 0; }
.legal address { font-style: normal; }
@media (max-width: 900px) {
  .legal { padding: 40px 20px 60px; }
  .legal .toc ol { columns: 1; }
}
