/* look.css: the look (My career's): colours, the bar, the workflow, cards, buttons (recruit.html loads it in this order) */
  /* the look of My career (web/career.html): its colours, banner, workflow bar, cards and buttons */
  :root {
    --bg: #f4f6fa; --surface: #ffffff; --surface-alt: #eef1f7; --border: #dbe1ec; --border-strong: #c3cbdc;
    --text: #16202e; --text-muted: #5b6779; --text-faint: #8b96a8;
    --accent: #1f9c7e; --accent-strong: #167a63; --accent-soft: #dcf5ee;
    --draft: #b7791f; --draft-soft: #fdf2dc; --private: #6b5bd6; --private-soft: #ece9fb;
    --ui-blue: #3b5bab; --ui-arrow: #5f86e0; --error: #c2412d; --on-accent: #ffffff;
    --menu-bg: #eef3fb; --menu-on: #dbe6f8; --menu-ink: #1f3f7a; --menu-line: #8fb0e3; --add-bg: #eef5fc; --add-line: #a9c7ea;
    --flow-bg: #b4c2d8; --flow-line: #a8b5cb; --flow-link: #1a4478; --flow-ink: #1f4f8a; --flow-dot: #2f6fbf; --flow-muted: #6b7f99; --flow-ok: #167a62; --flow-ok-ink: #fff; --flow-half: #dcaa2a; --flow-half-ink: #3a2d02;   /* My career's bar (its layout.css; 1.14.1) */
    --guide-bg: #fbf7ee; --guide-line: #e8d9b5; --guide-ink: #a67c2e; --bar-sand: #f2ede4;   /* the heading bars across the page: warm sand (1.51.4) */
    color-scheme: light;
  }
  @media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
    --bg: #0e1320; --surface: #161d2e; --surface-alt: #1c2438; --border: #2a3350; --border-strong: #3a4566;
    --text: #e8ecf4; --text-muted: #93a0ba; --text-faint: #66718c;
    --accent: #7fe0c4; --accent-strong: #5cc9ab; --accent-soft: #17352f;
    --draft: #e8c55a; --draft-soft: #3a3016; --private: #b3a8ff; --private-soft: #2a2550; --ui-blue: #a8c2ff; --ui-arrow: #9db8f2; --on-accent: #0e1320;
    --menu-bg: #172036; --menu-on: #24365c; --menu-ink: #c9d8ff; --menu-line: #3d5a94; --add-bg: #17243a; --add-line: #34507a;
    --flow-bg: #1f2c42; --flow-line: #2c3b55; --flow-link: #8fb4ec; --flow-ink: #b9d3f5; --flow-dot: #6aa4ec; --flow-muted: #8299b8; --flow-ok: #3fae8f; --flow-ok-ink: #0d2a22; --flow-half: #d9b44a; --flow-half-ink: #2e2302;
    --guide-bg: #221d12; --guide-line: #4a3d1f; --guide-ink: #d9b06a; --bar-sand: #2b2721;
    color-scheme: dark; } }
  :root[data-theme="dark"] {
    --bg: #0e1320; --surface: #161d2e; --surface-alt: #1c2438; --border: #2a3350; --border-strong: #3a4566;
    --text: #e8ecf4; --text-muted: #93a0ba; --text-faint: #66718c;
    --accent: #7fe0c4; --accent-strong: #5cc9ab; --accent-soft: #17352f;
    --draft: #e8c55a; --draft-soft: #3a3016; --private: #b3a8ff; --private-soft: #2a2550; --ui-blue: #a8c2ff; --ui-arrow: #9db8f2; --on-accent: #0e1320;
    --menu-bg: #172036; --menu-on: #24365c; --menu-ink: #c9d8ff; --menu-line: #3d5a94; --add-bg: #17243a; --add-line: #34507a;
    --flow-bg: #1f2c42; --flow-line: #2c3b55; --flow-link: #8fb4ec; --flow-ink: #b9d3f5; --flow-dot: #6aa4ec; --flow-muted: #8299b8; --flow-ok: #3fae8f; --flow-ok-ink: #0d2a22; --flow-half: #d9b44a; --flow-half-ink: #2e2302;
    --guide-bg: #221d12; --guide-line: #4a3d1f; --guide-ink: #d9b06a; --bar-sand: #2b2721;
    color-scheme: dark; }
  * { box-sizing: border-box; }
  [hidden] { display: none !important; }
  html, body { height: 100%; }
  body { margin: 0; background: var(--bg); color: var(--text); font: 14px "IBM Plex Sans", system-ui, sans-serif; }
  h1, h2, h3 { font-family: "Sora", system-ui, sans-serif; margin: 0; }
  button { font: inherit; cursor: pointer; }

  .page { max-width: 1440px; margin: 0 auto; padding: 12px 16px; height: 100%; display: flex; flex-direction: column; gap: 5px; }   /* the gap between the banner, the Steps bar and the cards: My career's 5px (its layout.css; 1.14.4) */

  /* the bar: My career's banner */
  .bar { position: relative; overflow: hidden; border-radius: 14px; color: #fff; padding: 8px 16px;
    background: var(--brand-bar);   /* brand.css */ display: flex; align-items: center; gap: 14px; flex: 0 0 auto; }
  .bar img { width: 34px; height: 34px; border-radius: 9px; box-shadow: 0 2px 10px rgba(0,0,0,.2); }
  .bar h1 { font-size: 18px; white-space: nowrap; text-shadow: 0 1px 2px rgba(0,0,0,.25); }
  .bar .sub { font-size: 11px; opacity: .9; }
  .bar img + div { min-width: 90px; }   /* the name block one width on both sites (owner 2026-11-11), so the tabs start at the same place */
  .tabs { display: flex; gap: 8px; margin-left: 24px; }
  .tab { border: 1px solid rgba(255,255,255,.6); background: rgba(255,255,255,.14); color: #fff; border-radius: 8px; padding: 5px 12px; font-size: 13px; font-weight: 500; }
  .tab:hover { background: rgba(255,255,255,.28); }
  .tab.active, .tab.active:hover, .icon-btn.on, .icon-btn.on:hover { color: #f5d76e; font-weight: 600; }   /* the open tab and icon: gold text, the icon drawn in gold, as Admin was; the button as the others (owner 2026-11-14, 1.25.5; 1.25.4 a blue fill; 1.24.0 a yellow dot) */
  .bar .right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
  .icon-btn { width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.6); background: rgba(255,255,255,.14); color: #fff; border-radius: 8px; padding: 0; }
  .icon-btn svg { width: 17px; height: 17px; }
  .signin-btn { flex: none; display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; font-variant-numeric: tabular-nums; min-width: 96px; justify-content: center; }
  .who-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #7fe0c4; box-shadow: 0 0 0 2px rgba(255,255,255,.35); }
  .signin-btn.soon .who-dot { background: #f2a93b; box-shadow: none; }   /* the last 5 minutes: click to stay signed in. The button keeps the Banner bar's style; only the dot changes (My career's, owner 2026-11-05; here 1.15.0) */
  .signin-btn.out .who-dot { background: #fff; box-shadow: none; }   /* signed out (or ended): sign in, the box; a white dot */

  /* the workflow: the job, its requirements, the report; one line, always the same height */
  .admin-tab { border-color: #f5d76e; }   /* Admin: admins only, marked by a gold edge; its text turns gold when open, as every open tab (owner 2026-11-14, 1.25.5; was gold text) */
  .adm-nav { flex: 0 0 auto; display: flex; align-items: center; gap: 6px; height: 44px; padding: 0 12px; border-radius: 14px; background: var(--flow-bg); border: 1px solid var(--flow-line); overflow-x: auto; }   /* where the steps bar is on Check a job */
  .adm-nav button { all: unset; box-sizing: border-box; cursor: pointer; white-space: nowrap; padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 500; border: 1px solid var(--border); background: var(--surface); color: var(--text); }
  .adm-nav button.active { border-color: var(--accent); background: var(--accent-soft); font-weight: 600; }
  .adm-nav .n { color: var(--text-faint); margin-left: 5px; font-weight: 400; }
  .fit { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 11.5px; font-weight: 600; background: var(--accent-soft); white-space: nowrap; }
  .sr-tbl td, .sr-tbl th { vertical-align: top; }
  .sr h4 { font-size: 13.5px; margin: 14px 0 6px; } .sr ul, .sr ol { margin: 0; padding-left: 20px; line-height: 1.5; }
  .sr .jd { white-space: pre-wrap; max-height: 260px; overflow-y: auto; font-size: 12.5px; color: var(--text-muted); border: 1px solid var(--border); border-radius: 10px; padding: 10px; }
  /* the Steps bar: My career's (web/shared/layout.css there): the letters A to D, finished green, started yellow, the step
     you're viewing a white pill with a blue edge, one steady line between steps; a step not reachable yet is greyed */
  .flow { flex: 0 0 auto; display: flex; align-items: center; height: 44px; padding: 0 16px; border-radius: 14px; background: var(--flow-bg); border: 1px solid var(--flow-line); }
  .flow .step { all: unset; box-sizing: border-box; display: flex; align-items: center; gap: 8px; min-width: 0; flex: 0 1 auto; padding: 3px 8px; border-radius: 10px; color: var(--text); cursor: pointer; }
  .flow .step:hover:not(:disabled) { box-shadow: inset 0 0 0 1.5px #fff; }
  .flow .step:disabled { cursor: default; color: var(--flow-muted); }
  .flow .step:focus-visible { outline: 2px solid var(--flow-dot); }
  .flow .num { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; border: 1.5px solid var(--flow-dot); background: var(--surface); color: var(--text); }
  .flow .txt { min-width: 0; line-height: 1.15; }
  .flow .nm { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .flow .st { font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .flow .step.done .num { background: var(--flow-ok); border-color: var(--flow-ok); color: var(--flow-ok-ink); }
  .flow .step.half .num { background: var(--accent-soft); border-color: var(--accent); color: var(--accent-strong); }   /* part done: the lighter green, the selection's (owner 2026-11-16, 1.29.4; was amber) */
  .flow .step.view, .flow .step.view:hover:not(:disabled) { background: var(--surface); box-shadow: inset 0 0 0 1px var(--menu-line); } .flow .step.view .nm { font-weight: 700; }
  .flow .link-line { flex: 1 1 16px; min-width: 12px; height: 2px; margin: 0 4px; background: var(--flow-link); border-radius: 1px; }
  .flow .flow-tag, .tasks .flow-tag { flex: none; align-self: center; min-width: 42px; font-size: 9px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--text); margin-right: 10px; padding-bottom: 2px; border-bottom: 1px solid var(--text); line-height: 1; }
  /* Match a candidate: the step's card on the left, the AI panel on the right (My career's talk-right columns) */
  .cols { flex: 1 1 auto; min-height: 0; display: grid; grid-template-columns: 7fr minmax(380px, 5fr); gap: 14px; }
  .cols > .card { min-width: 0; }
  .cols .card-head { background: var(--q-row, var(--menu-bg)); border-radius: 15px 15px 0 0; }   /* every page head in the panels' heading colour (owner 2026-11-14, 1.25.1) */
  /* template 3a (1.19.0, owner 2026-11-11): one panel on the left, the task's form or actions on top and what it produced
     under it, all in one box (the list box's colours: white, the chat box's line); the head the AI Q&A head's colour and
     height, with the two head buttons on step 1; the footnote a boxed note level with the chat's buttons; a drawn scroll
     bar beside the box (shared/vbar.js). The 1.14.0 split (a step card over a content card) is template 2b; see docs/site-templates.md */
  .pcol { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
  .pcol > #cv-card { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; position: relative; border-radius: 16px; }
  #cv-card > .card-head { background: var(--q-row); height: 35px; padding: 0 18px 0 16px; border-radius: 15px 15px 0 0; gap: 14px; }
  .pill { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; height: 30px; padding: 2px; box-sizing: border-box; border: 1px solid var(--border); border-radius: 999px; background: var(--surface-alt); }   /* one pill, two ways (owner 2026-11-13): the slider on the one that is open */
  .pill .pill-thumb { position: absolute; top: 2px; bottom: 2px; left: 2px; width: calc(50% - 2px); border-radius: 999px; background: var(--ui-blue); transition: transform .2s ease; }
  .pill.two .pill-thumb { transform: translateX(100%); }
  .pill.three { grid-template-columns: 1fr 1fr 1fr; } .pill.three .pill-thumb { width: calc(33.333% - 2px); } .pill.three.third .pill-thumb { transform: translateX(200%); }   /* a three-way pill (the requirement's kind, 1.21.8) */
  .pill.vert { grid-template-columns: 1fr; grid-template-rows: 1fr 1fr 1fr; height: auto; border-radius: 10px; } .pill.vert .pill-thumb, .pill.vert button { border-radius: 8px; } .pill.vert .pill-thumb { width: auto; left: 2px; right: 2px; top: 2px; bottom: auto; height: calc(33.333% - 2px); } .pill.vert.two .pill-thumb { transform: translateY(100%); } .pill.vert.third .pill-thumb { transform: translateY(200%); } .pill.vert button { height: 26px; }   /* the same pill stacked (owner 2026-11-13): the words get the width */
  .pill button { position: relative; z-index: 1; border: 0; background: none; color: var(--text); font: inherit; font-size: 13px; font-weight: 500; padding: 0 14px; border-radius: 999px; cursor: pointer; white-space: nowrap; }
  .pill button.on { color: var(--on-accent); font-weight: 600; }
  .pill.locked { opacity: .55; } .pill button:disabled { cursor: default; }   /* fixed while a choice is in (owner 2026-11-13) */
  #cv-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; margin: 12px 27px 0 18px; border: 1px solid var(--talk-line); border-radius: 12px; background: var(--surface); padding: 12px 14px; box-sizing: border-box; scrollbar-width: none; }
  .cv-sub { display: flex; align-items: center; gap: 10px; margin: 18px 0 8px; padding-top: 12px; border-top: 1px solid var(--border); }
  .cv-sub .label { font-size: 13px; font-weight: 600; } .cv-sub .meta { margin-left: auto; font-size: 12px; color: var(--text-faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  #cv-body::-webkit-scrollbar { display: none; }
  .vbar[hidden] { display: none; }
  .vbar { position: absolute; right: 8px; width: 8px; border-radius: 4px; background: var(--border); }
  .vbar i { position: absolute; left: 0; right: 0; border-radius: 4px; background: var(--text-faint); min-height: 24px; cursor: grab; }
  .pf-tip { position: absolute; left: 18px; right: 27px; bottom: 8px;   /* at the panel's foot until lineUp places it level with the chat's buttons (1.34.1: never at the top) */ box-sizing: border-box; padding: 6px 12px; border: 1px solid var(--talk-line); border-radius: 10px; background: var(--surface); font-size: 11.5px; line-height: 1.45; color: var(--text-muted); overflow: hidden; }
  .pf-tip b { color: var(--text); } .pf-tip p { margin: 0; }
  #ck-tip.pf-tip { overflow: visible; }   /* 1.87.21: the bar outside the outline (its text still scrolls in p, two lines) */
  .pf-tip .ck-beta { display: block; margin-bottom: 2px; color: #a07400; font-weight: 600; }   /* 1.87.21: the beta line, in the reports' Possible amber, its own line, first (owner: "make this amber one the first") */
  .jobform { max-width: none; } .jobform textarea.jf-body { background: var(--surface); }
  /* step 1, Add a role (1.19.0): a file first, then the job ad's address, then the text; the role's details last, as the check */
  .jf-url { display: flex; gap: 10px; align-items: center; margin-bottom: 12px; } .jf-url .inp { flex: 1 1 auto; height: 30px; }
  .jobform textarea.jf-body { min-height: 72px; }
  /* the job as downloaded: its text on the left, the page as a PDF on the right */
  .got { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; height: 100%; min-height: 0; }
  .got > div { min-height: 0; display: flex; flex-direction: column; }
  .got .paper { max-width: none; flex: 1 1 auto; min-height: 120px; overflow: auto; font-size: 13px; }
  .got .pdf { flex: 1 1 auto; min-height: 120px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface-alt); display: flex; flex-direction: column; overflow: hidden; }
  .got .pdf iframe { flex: 1 1 auto; width: 100%; border: 0; background: #fff; } .got .pdf .mt { padding: 8px 10px; text-align: center; }
  .got-meta { font-size: 12px; color: var(--text-muted); margin-bottom: 8px; display: flex; gap: 10px; align-items: center; } .got-meta .link { margin-left: auto; }
  /* step C: the candidates to match against */
  .cand { all: unset; box-sizing: border-box; cursor: pointer; display: flex; align-items: center; gap: 12px; width: 100%; max-width: 760px; padding: 12px 14px; border: 1px solid var(--border); border-radius: 12px; margin-bottom: 8px; background: var(--surface); }
  .cand:hover { border-color: var(--border-strong); } .cand.sel { border-color: var(--accent); background: var(--accent-soft); }
  .cand .dot { flex: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--border-strong); } .cand.sel .dot { border-color: var(--accent); background: var(--accent); box-shadow: inset 0 0 0 3px var(--surface); }
  .cand .nm { font-size: 14px; } .cand .mt { white-space: normal; }
  /* My dashboard: the numbers, then the latest matches */
  .dash-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin-bottom: 18px; }
  .stat { border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; background: var(--surface-alt); }
  .stat b { display: block; font-family: "Sora", system-ui, sans-serif; font-size: 26px; line-height: 1.1; } .stat span { font-size: 12px; color: var(--text-muted); }
  .dash-grid.six { grid-template-columns: repeat(6, minmax(0, 1fr)); } .dash-grid.six .stat b { font-size: 24px; } .dash-grid.six .stat { background: var(--menu-bg); }   /* the six counts in the third band's colour, the Tasks row's (owner 2026-11-14, 1.25.3; 1.25.1: pale blue) */   /* My dashboard 1.24.0 (the OK'd mockup of 2026-11-14): six counts */
  .dl-h { display: flex; justify-content: space-between; align-items: center; margin: 6px 0 12px; padding: 10px 12px; border-radius: 10px; background: var(--bar-sand); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted); }   /* a bar across the page, as My folder's (owner 2026-11-19, 1.51.4) */
  .dl-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 18px; }
  .dl-card { display: flex; flex-direction: column; gap: 6px; min-width: 0; padding: 12px 14px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); }
  .dl-card.last .dl-head { margin: -12px -14px 0; padding: 10px 14px 9px; border-radius: 12px 12px 0 0; border-bottom: 1px solid var(--border); background: var(--surface-alt); display: flex; flex-direction: column; gap: 4px; } .dl-card.last .dl-list { border-top: 0; }   /* the last-5 cards' heads on a band (owner 2026-11-14, 1.25.1) */
  .dl-top { font-size: 13px; font-weight: 600; } .dl-sub { margin-top: -2px; font-size: 11.5px; color: var(--text-muted); }
  .dl-list { display: flex; flex-direction: column; gap: 3px; margin-top: 4px; padding-top: 6px; border-top: 1px solid var(--border); }
  .dl-row { all: unset; box-sizing: border-box; display: flex; justify-content: space-between; gap: 8px; font-size: 12.5px; border-radius: 4px; } button.dl-row { cursor: pointer; } button.dl-row:hover .dl-nm { text-decoration: underline; }
  .dl-row .dl-nm { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; } .dl-row .at, .dl-row.none { flex: none; color: var(--text-faint); }
  .dl-chart { display: flex; align-items: flex-end; gap: 3px; height: 70px; padding-top: 4px; border-bottom: 1px solid var(--border); }
  .dl-chart i { flex: 1; min-height: 1px; border-radius: 2px 2px 0 0; background: var(--ui-blue); opacity: .85; } .dl-axis { display: flex; justify-content: space-between; font-size: 10.5px; color: var(--text-faint); }
  .dash-list .item { max-width: 760px; }
  .dash-cols:not(:has(.item)) { grid-auto-rows: 1fr; } .dash-cols > div { display: flex; flex-direction: column; } .dash-cols .dash-list:has(> .empty-card) { flex: 1; display: flex; flex-direction: column; } .dash-cols .dash-list > .empty-card { flex: 1; display: flex; flex-direction: column; justify-content: center; }   /* the two empty boxes one height, side by side (owner 2026-11-14, 1.25.1) */
  .dash-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; margin-bottom: 18px; }   /* the gap below as the other groups now that it sits above them (1.51.4); Latest matches · To follow up (the OK'd mockup of 2026-11-10, 1.16.1) */
  .score.mark { font-size: 16px; font-weight: 700; display: grid; place-items: center; }   /* a follow-up row's mark: an envelope, a star, PL, DOC */

  /* cards: a light blue heading band, one height everywhere */
  .card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; min-height: 0; display: flex; flex-direction: column; }
  .card-head { flex-shrink: 0; display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 18px; border-bottom: 1px solid var(--border); background: var(--q-row, var(--menu-bg)); border-radius: 15px 15px 0 0; }   /* the panels' heading colour on every head (owner 2026-11-14, 1.25.1) */
  .label { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); }
  .card-head .meta { margin-left: auto; font-size: 12px; color: var(--text-faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  /* bands 1 and 2 across the site (owner 2026-11-14, 1.25.2): the band right under the banner in the Steps bar's colour: Match a
     candidate's Steps bar, every other page's head(s); the heads below it (Match a candidate's panels, the AI panels) and the
     pop-up heads stay in the panels' heading colour */
  .card-head, .cols .card-head { background: var(--flow-bg); } .card-head .label { color: var(--flow-ink); } .card-head .meta { color: var(--flow-muted); }
  #cv-card > .card-head, [data-aipanel] > .card-head, .help-chat > .card-head { background: var(--q-row); }   /* Help's chat sits under another card: not band 2 */
  #cv-card > .card-head .label, [data-aipanel] > .card-head .label, .help-chat > .card-head .label { color: var(--text-muted); } #cv-card > .card-head .meta, [data-aipanel] > .card-head .meta, .help-chat > .card-head .meta { color: var(--text-faint); }
  .wide { flex: 1 1 auto; min-height: 0; }
  .wide-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 14px 22px 22px; }
  .fold { flex: 1 1 auto; min-height: 0; display: grid; grid-template-columns: minmax(340px, 4fr) 7fr; gap: 14px; }
  .fold > .card { min-width: 0; }
  .items { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 10px 14px 14px; }
  .grp { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-faint); margin: 10px 4px 6px; }
  .item { all: unset; box-sizing: border-box; cursor: pointer; width: 100%; display: grid; grid-template-columns: 46px 1fr; gap: 12px; align-items: center; padding: 10px 12px; border: 1px solid var(--border); border-radius: 12px; margin-bottom: 8px; }
  .item:hover { border-color: var(--border-strong); }
  .item.sel { border-color: var(--accent); background: var(--accent-soft); }
  .item:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
  .item.plain { cursor: default; grid-template-columns: 1fr; } .item.plain:hover { border-color: var(--border); }
  .nm { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .mt { font-size: 12px; color: var(--text-muted); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .score { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font-weight: 700; font-size: 12.5px; font-variant-numeric: tabular-nums; line-height: 1.1; text-align: center;
    background: var(--surface-alt); color: var(--text-muted); border: 1px solid var(--border); }
  .score.hi { background: var(--accent-soft); color: var(--accent-strong); border-color: transparent; }
  .score small { display: block; font-size: 9.5px; font-weight: 600; }
  .empty-card { border: 1.5px dashed var(--border-strong); border-radius: 14px; padding: 22px; margin: 14px 0; text-align: center; color: var(--text-muted); line-height: 1.5; }
  .empty-card.left, .dash-cols .dash-list > .empty-card.left { text-align: left; justify-content: flex-start; }
  .empty-card h3 { color: var(--text); font-size: 15px; margin-bottom: 6px; }

  /* buttons and boxes */
  .btn { border: 1px solid var(--text); background: var(--surface); color: var(--text); border-radius: 8px; padding: 7px 13px; font-size: 13px; font-weight: 500; }
  .btn:hover:not(:disabled) { border-color: var(--accent); }
  .btn.primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); font-weight: 600; }
  .btn.primary:hover:not(:disabled) { background: var(--accent-strong); }
  .btn:disabled { cursor: default; border-color: var(--border); }
  .btn.small { padding: 4px 10px; font-size: 12px; }
  .link { border: 0; background: none; color: var(--ui-blue); padding: 0; font-size: 13px; text-decoration: underline; text-underline-offset: 2px; }
  .inp { border: 1px solid var(--border-strong); border-radius: 8px; padding: 6px 10px; font: 13px "IBM Plex Sans", system-ui, sans-serif; background: var(--surface); color: var(--text); min-width: 0; }
  .inp:focus, textarea:focus, select:focus { outline: 2px solid var(--accent); outline-offset: -1px; border-color: transparent; }
  textarea { font: 14px "IBM Plex Sans", system-ui, sans-serif; background: var(--surface); color: var(--text); }
  .err { color: var(--error); font-size: 13px; margin-top: 10px; }
  .okmsg { color: var(--accent-strong); font-size: 13px; margin-top: 10px; }

  /* the Tasks row (1.19.0, template 3a): the lit step's tasks under the Steps bar, one block with it; the same measurements
     as the steps (the tag's width, the 22px circle, the text, the padding), so the first elements line up */
  .flow.has-tasks { border-radius: 14px 14px 0 0; }
  .tasks { flex: 0 0 auto; display: flex; align-items: center; height: 40px; padding: 0 16px; margin-top: -5px; border-radius: 0 0 14px 14px; background: var(--menu-bg); border: 1px solid var(--flow-line); border-top: 0; }   /* joined to the Steps bar across the page's 5px gap, as ai-career's (owner 2026-11-12) */
  .tasks .flow-tag { margin-right: 12px; }
  .flow .flow-tag, .tasks .flow-tag { border-bottom: 0; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }   /* STEPS: the underline under the word only, not the tag's width (owner 2026-11-13) */   /* as the Steps bar's tag ends up (the module's questions.css sets 12px on .flow .flow-tag): the first circles line up */
  .tasks .task { all: unset; box-sizing: border-box; display: flex; align-items: center; gap: 8px; min-width: 0; padding: 3px 8px; border-radius: 10px; font-size: 13px; font-weight: 600; color: var(--text); cursor: pointer; white-space: nowrap; }
  .tasks .task:hover { box-shadow: inset 0 0 0 1.5px #fff; } .tasks .task:focus-visible { outline: 2px solid var(--flow-dot); }
  .tasks .task.view { background: var(--surface); box-shadow: inset 0 0 0 1px var(--menu-line); font-weight: 700; }
  .tasks .tl { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; border: 1.5px solid var(--flow-dot); background: var(--surface); }
  .tasks .task.done .tl { background: var(--flow-ok); border-color: var(--flow-ok); color: var(--flow-ok-ink); }
  .tasks .task .n { font-size: 11px; font-weight: 500; color: var(--text-muted); }
  .tasks .link-line { flex: 1 1 16px; min-width: 12px; height: 2px; margin: 0 4px; background: var(--flow-link); border-radius: 1px; }   /* the tasks spread as the steps do (the OK'd mockup) */
  /* the button standard (owner 2026-11-11; docs/site-templates.md): sizes XS 30 · S 100 · M 125 · L 150 · XL as the text needs;
     heights 30 on the banner, 34 on a page; colours: white/black (other) · blue/white (the step along, .primary) · green/white
     (final, .final) · grey (unavailable, disabled) · red outline (delete, .del). Only the sized classes take the standard:
     the AI panel's buttons are the module's own and keep theirs */
  .card-head .btn { height: 30px; padding-top: 0; padding-bottom: 0; box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; }   /* a button on a heading: the banner's height (owner 2026-11-12); since 1.19.6 every page button is */
  .btn.xs, .btn.s, .btn.m, .btn.l, .btn.xl { height: 30px; padding-top: 0; padding-bottom: 0; box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; white-space: nowrap; }
  /* one height everywhere (owner 2026-11-12: "30 everywhere"): every button and every input box on a page is 30px, as the banner's;
     the AI panel (#rc-talk) and Help's chat (its copy) keep the module's own; text areas and the folder's tiles are not boxes */
  .page :where(.card:not(#rc-talk):not(.help-chat), .fm-card, .gate-box, .srcs, .acct) :is(.btn, .inp:not(textarea), select, .req .x, .a-btn) { height: 30px; min-height: 30px; padding-top: 0; padding-bottom: 0; box-sizing: border-box; }
  .page :where(.card:not(#rc-talk):not(.help-chat), .fm-card, .gate-box, .srcs, .acct) :is(.btn, .a-btn) { display: inline-flex; align-items: center; justify-content: center; white-space: nowrap; }
  .srcs .btn, dialog .btn, dialog .inp:not(textarea) { height: 30px; min-height: 30px; padding-top: 0; padding-bottom: 0; box-sizing: border-box; }
  .btn.xs { width: 30px; padding: 0; } .btn.s { min-width: 100px; } .btn.m { min-width: 125px; } .btn.l { min-width: 150px; }
  .tab { height: 30px; box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; }
  .tab.s { min-width: 100px; } .tab.m { min-width: 125px; } .tab.l { min-width: 150px; }
  .btn.final { background: var(--flow-ok); border-color: var(--flow-ok); color: var(--flow-ok-ink); font-weight: 600; } .btn.final:hover:not(:disabled) { filter: brightness(.94); }
  .btn.del { border-color: var(--error); color: var(--error); background: var(--surface); }
  .btn.xs:disabled, .btn.s:disabled, .btn.m:disabled, .btn.l:disabled, .btn.xl:disabled { background: var(--surface-alt); border-color: var(--border); color: var(--text-faint); font-weight: 500; }
  /* Finalize's box (1.18.0; mine/final.js): under a report on My matches and on step D */
  .rp-foot .foot { max-width: 980px; }
  .fz { max-width: 980px; margin-top: 14px; border: 1.5px solid var(--border-strong); border-radius: 14px; padding: 12px 18px 14px; background: var(--surface-alt); }
  .fz .grp { margin: 0 0 8px; }
  .fz-opts { display: flex; gap: 18px; flex-wrap: wrap; margin: 0 0 10px; } .fz-opts label { display: flex; gap: 8px; align-items: center; cursor: pointer; }
  .fz-note { display: block; width: 100%; min-height: 56px; resize: vertical; box-sizing: border-box; }
  .fz-acts { display: flex; align-items: center; gap: 10px; justify-content: flex-end; margin-top: 10px; } .fz-acts .mt { margin-right: auto; } .fz-acts .err { color: var(--error); }
  .chip.final { margin-left: 8px; background: #173563; color: #fff; font-size: 10.5px; vertical-align: middle; }
  .dash-col .dash-list { margin-top: 10px; display: flex; flex-direction: column; } .dash-col .item { margin-bottom: 8px; } .dash-col .item:last-child { margin-bottom: 0; }   /* Latest matches, To follow up: cards as Jobs added (owner 2026-11-14, 1.25.9) */
  .dash-cols .dash-col .dash-list > .empty-card { border: 0; padding: 2px 0; margin: 0; min-height: 0; background: none; } .dash-col .empty-card h3 { margin: 0 0 2px; font-size: 14px; }
  .adm-view #v-recruiters > .card-head, .adm-view #v-lists > .card-head, .adm-view #v-list > .card > .card-head { background: var(--menu-bg); }   /* Admin: the third bar, the panel heads, in the Tasks bar's colour (owner 2026-11-15) */
  .adm-nav .adm-sep { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--text-faint); margin-left: 10px; white-space: nowrap; }   /* 1.43.0: Shared with My career */
  .pf-tip p { max-height: calc(2 * 1.45em); overflow-y: auto; scrollbar-width: none; } .pf-tip p::-webkit-scrollbar { display: none; } .pf-tip p { padding-right: 12px; } .pf-tip .vbar { right: 5px; width: 6px; } #ck-tip.pf-tip .vbar { right: -20px; width: 8px; }   /* 1.87.21 (owner 2026-12-01: "it should be in the designated scroll section like the detail section scroll outside the gray outline"): the body's bar's column */   /* two lines; longer: the drawn bar just outside, as the detail section's (owner 2026-11-22) */
/* 1.73.1 (owner 2026-11-25: "make sign in the same width"; "Lets keep it 125"; "make it all 125"): Sign in 125px at every width, as the site buttons */
.signin-btn, .bar .right .signin-btn, #bar .signin-btn { width: 125px; min-width: 125px; flex: 0 0 125px; padding-left: 8px; padding-right: 8px; }
/* 1.76.2 (owner 2026-11-26: "can we have a sticker that says beta vertically after ai-recruit .. to show the site is till in beta version"; look B):
   a vertical BETA tag after the name in the banner, the yellow of the logo's star, as an outline */
.bar-name { display: flex; align-items: center; gap: 8px; min-width: 0; }
.beta-tag { flex: none; writing-mode: vertical-rl; transform: rotate(180deg); padding: 5px 2px; border: 1.5px solid #f2c94c; border-radius: 5px; color: #f2c94c;
  font: 700 9.5px/1 'IBM Plex Sans', system-ui, sans-serif; letter-spacing: .14em; text-transform: uppercase; user-select: none; }
/* 2026-11-26 (owner: "the beta should be placed at the end after the signed in .. so the sites dont jump"): BETA last on the banner, after
   Sign in, so the name and the site buttons sit in the same place on every site; on a phone (the banner in rows) it stays by the name */
.beta-tag.beta-name { display: none; } .beta-tag.beta-end { display: inline-block; margin-left: 2px; }
@media (max-width: 900px) { .beta-tag.beta-name { display: inline-block; writing-mode: horizontal-tb; transform: none; padding: 2px 6px; align-self: center; } .beta-tag.beta-end { display: none; } }   /* 1.80.0 (owner: "in phone BETA can be horizontal") */
/* 1.85.7 (owner 2026-11-29: "it exists in ai-studio's every service's setting , re-use its icon and its function"; "mark it as our standard
   section open and close button for future reference"): THE STANDARD SECTION OPEN AND CLOSE BUTTON, copied from AI Studio's Settings toggle
   (ai-studio studio/css/03-app-shell.css .settings-toggle, 04-services.css's drawn arrow): a pill holding the section's summary and a blue solid
   triangle that turns over when the section is open; its heading row opens and closes it too. Made with secToggle() (shared/core.js);
   docs/build-standards.md says so. */
.sec-toggle { display: inline-flex; align-items: center; gap: 6px; min-width: 0; max-width: 75%; border: 1px solid var(--border); background: var(--surface-alt); color: var(--text-muted);
  border-radius: 8px; padding: 6px 10px; font: inherit; font-size: 12px; line-height: 1.2; cursor: pointer; }
.sec-toggle:hover { border-color: var(--ui-arrow); }
.sec-toggle .sec-sum { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sec-toggle .sec-arr { font-size: 0; width: 12px; height: 12px; display: inline-block; flex: none; align-self: center; transition: transform .18s ease; }
.sec-toggle .sec-arr::before { content: ""; display: block; width: 12px; height: 12px; background: var(--ui-arrow); clip-path: polygon(0 25%, 100% 25%, 50% 100%); }
.sec-toggle[aria-expanded="true"] .sec-arr { transform: rotate(180deg); }
.sec-head { cursor: pointer; }
.sec-part { margin-top: 14px; } .sec-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; } .sec-row .sec-title { font-size: 13.5px; } .sec-part > :not(.sec-row) { margin-top: 8px; }
