/* Lifted from the prototype by scripts/port-prototype.js. Do not edit by hand: the app's own styles are in app.css. */
/* ───────────── the looks: every colour and face is a token ─────────────
   --dark is the frame where Make-Bot talks, --on-dark what sits on it, --on-dark-rgb the colour of its quiet fills
   (white at a low alpha on a dark frame; in the editorial look the frame is paper and they are ink). */
body[data-look="family"] {
  --bg: #faf8f3; --desk: #efeadf; --surface: #ffffff; --surface-2: #f1ede3;
  --ink: #233a36; --ink-2: #5e6d68; --ink-3: #95a19c; --line: rgba(35, 58, 54, .12); --tint: rgba(35, 58, 54, .07);
  --dark: #233a36; --dark-2: #2f4b46; --on-dark: #faf8f3; --on-dark-2: rgba(250, 248, 243, .66); --on-dark-3: rgba(250, 248, 243, .42); --on-dark-rgb: 255, 255, 255;
  --btn: #233a36; --btn-ink: #faf8f3; --btn-dark: #f2c94c; --btn-dark-ink: #233a36;
  --proof: #2f8f6a; --logo-ai: #ef8ab6; --st1: #d99a1e; --st2: #8a6fe8;
  --p1: #f2c94c; --p2: #ef8ab6; --p3: #ff8f5a; --p4: #b9a7ff; --p5: #86c2ad;
  --c1: #c99400; --c2: #d6478f; --c3: #e8662a; --c4: #7f63e6; --c5: #2f9a78;
  --font: 'Onest', system-ui, -apple-system, sans-serif;
  --display: 'Onest', system-ui, sans-serif; --display-w: 600; --display-track: -0.035em; --display-k: 1;
  --logo-font: 'Onest', system-ui, sans-serif; --logo-w: 700; --logo-size: 21px; --logo-track: -0.03em;
  --btn-r: 999px; --card-r: 28px; --tile-r: 30px; --frame-r: 32px;
  --band: #e9e2f9;
}
body[data-look="own"] {
  --bg: #f4f3ef; --desk: #e9e8e2; --surface: #ffffff; --surface-2: #ebeae5;
  --ink: #151a30; --ink-2: #5a5f74; --ink-3: #9296a6; --line: rgba(21, 26, 48, .1); --tint: rgba(21, 26, 48, .06);
  --dark: #151a30; --dark-2: #1f2540; --on-dark: #f4f3ef; --on-dark-2: rgba(244, 243, 239, .64); --on-dark-3: rgba(244, 243, 239, .4); --on-dark-rgb: 255, 255, 255;
  --btn: #151a30; --btn-ink: #f4f3ef; --btn-dark: #6ee7b0; --btn-dark-ink: #0b2a1d;
  --proof: #14946a; --logo-ai: #14946a; --st1: #d18f12; --st2: #6c5ce0;
  --p1: #ffd84d; --p2: #8ab4ff; --p3: #ff9e85; --p4: #c4abff; --p5: #79d9bd;
  --c1: #c79a00; --c2: #3f7fe8; --c3: #e8603f; --c4: #8a63e0; --c5: #1f9e7e;
  --font: 'Inter Tight', system-ui, -apple-system, sans-serif;
  --display: 'Instrument Serif', Georgia, serif; --display-w: 400; --display-track: -0.012em; --display-k: 1.2;
  --logo-font: 'Instrument Serif', Georgia, serif; --logo-w: 400; --logo-size: 27px; --logo-track: -0.01em;
  --btn-r: 10px; --card-r: 20px; --tile-r: 22px; --frame-r: 24px;
  --band: #e3e6ef;
}
/* editorial (Na'il, 2026-11-24: "a medium editorial style ui language"): paper and ink. White pages and black type, a serif
   for headlines (Newsreader) and for reading (Charis SIL, --read), a quiet sans for controls (Inter). The frame is paper too,
   so Make-Bot's column is set off by a hairline, not a colour. Part colours are the family's (validated on #fff). */
body[data-look="editorial"] {
  --bg: #ffffff; --desk: #f6f6f4; --surface: #ffffff; --surface-2: #f6f6f4;
  --ink: #242424; --ink-2: #6b6b6b; --ink-3: #9b9b9b; --line: rgba(0, 0, 0, .09); --tint: rgba(0, 0, 0, .045);
  --dark: #ffffff; --dark-2: #ffffff; --on-dark: #242424; --on-dark-2: #6b6b6b; --on-dark-3: #9b9b9b; --on-dark-rgb: 36, 36, 36;
  --btn: #242424; --btn-ink: #ffffff; --btn-dark: #242424; --btn-dark-ink: #ffffff;
  --proof: #1f7a52; --logo-ai: #242424; --st1: #c98a12; --st2: #6c5ce0;
  --p1: #f2c94c; --p2: #ef8ab6; --p3: #ff8f5a; --p4: #b9a7ff; --p5: #86c2ad;
  --c1: #c99400; --c2: #d6478f; --c3: #e8662a; --c4: #7f63e6; --c5: #2f9a78;
  --font: 'Inter', system-ui, -apple-system, sans-serif; --read: 'Charis SIL', Charter, Georgia, serif;
  --display: 'Newsreader', Georgia, serif; --display-w: 600; --display-track: -0.02em; --display-k: 1.06;
  --logo-font: 'Newsreader', Georgia, serif; --logo-w: 700; --logo-size: 25px; --logo-track: -0.025em;
  --btn-r: 999px; --card-r: 14px; --tile-r: 14px; --frame-r: 0px;
  --band: #f6f6f4;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: var(--font); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; font-size: 15px; line-height: 1.45; }
body.in-app { background: var(--dark); overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

/* ───────────── shared pieces ───────────── */
.display { font-family: var(--display); font-weight: var(--display-w); letter-spacing: var(--display-track); line-height: 1.02; margin: 0; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border: 0; border-radius: var(--btn-r);
  font-size: 15px; font-weight: 600; cursor: pointer; white-space: nowrap; transition: filter .15s, background .15s, opacity .15s; }
.btn:hover { filter: brightness(1.06); }
.btn[disabled] { opacity: .35; pointer-events: none; }
.btn--main { background: var(--btn); color: var(--btn-ink); }
.btn--soft { background: var(--tint); color: var(--ink); }
.btn--lg { height: 52px; padding: 0 26px; font-size: 16px; }
.btn--sm { height: 36px; padding: 0 15px; font-size: 14px; }
.dark .btn--main { background: var(--btn-dark); color: var(--btn-dark-ink); }
.dark .btn--soft { background: rgba(var(--on-dark-rgb), .1); color: var(--on-dark); }
.bubble .btn--main { background: #111; color: #fff; }
.bubble .btn--soft { background: rgba(0, 0, 0, .06); color: #111; }
.tag { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--tint); color: var(--ink-2); white-space: nowrap; }
.tag.must { background: color-mix(in srgb, var(--ink) 11%, transparent); color: var(--ink); }
.tag.best { background: color-mix(in srgb, var(--proof) 15%, transparent); color: var(--proof); }
.dark .tag { background: rgba(var(--on-dark-rgb), .1); color: var(--on-dark-2); }
.dark .tag.must { background: rgba(var(--on-dark-rgb), .16); color: var(--on-dark); }
.dark .mcard .tag { background: var(--tint); color: var(--ink-2); }
.dark .mcard .tag.must { background: color-mix(in srgb, var(--ink) 11%, transparent); color: var(--ink); }
.inp { width: 100%; height: 44px; border-radius: 20px; border: 0; padding: 0 16px; font: inherit; font-size: 15px; background: rgba(0, 0, 0, .055); color: #111; outline: none; }
.inp:focus { background: rgba(0, 0, 0, .08); }
textarea.inp { display: block; height: auto; min-height: 44px; padding: 11px 16px; line-height: 1.4; resize: none; }
.sw { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--pc); color: var(--ink); font-size: 13px; font-weight: 700; }
.ico { width: 18px; height: 18px; flex: none; }
.k { display: block; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.seg { display: inline-flex; background: var(--tint); border-radius: var(--btn-r); padding: 3px; gap: 2px; }
.seg button { height: 34px; padding: 0 16px; border: 0; border-radius: var(--btn-r); background: transparent; font-size: 14px; font-weight: 600; color: var(--ink-2); cursor: pointer; }
.seg button.on { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .08); }
.dark .seg { background: rgba(0, 0, 0, .22); }
.dark .seg button { color: var(--on-dark-2); }
.dark .seg button.on { background: var(--on-dark); color: var(--dark); box-shadow: none; }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--pc, var(--p4)); display: grid; place-items: center; font-weight: 700; font-size: 14px; flex: none; color: var(--ink); }
.rank-b { display: inline-grid; place-items: center; height: 22px; padding: 0 8px; border-radius: 999px; background: var(--ink); color: var(--bg); font-size: 11.5px; font-weight: 700; flex: none; }

/* ───────────── the skill mix: one stacked bar, and rows like a rating breakdown ───────────── */
.mix { display: flex; gap: 2px; height: 12px; min-width: 0; }
.mix span { position: relative; border-radius: 6px; background: var(--cc); min-width: 4px; }
.mix span.off { background: repeating-linear-gradient(135deg, color-mix(in srgb, var(--cc) 50%, transparent) 0 2px, transparent 2px 5px); }
.mix span::after { content: ''; position: absolute; inset: -7px 0; }
.mix.lg { height: 16px; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--cc); flex: none; display: inline-block; }
.mrows { display: flex; flex-direction: column; gap: 12px; }
.mr { display: grid; grid-template-columns: 10px 132px minmax(0, 1fr) 40px; align-items: center; gap: 10px; font-size: 14px; }
.mr .lbl { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.trk { position: relative; height: 12px; border-radius: 6px; background: var(--tint); }
.trk b { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 6px; background: var(--cc); transition: width .12s; }
.trk::after { content: ''; position: absolute; inset: -8px 0; }
.trk.wf { height: 20px; border-radius: 10px; background: repeating-linear-gradient(135deg, color-mix(in srgb, var(--ink) 16%, transparent) 0 1.5px, transparent 1.5px 6px); }
.trk.wf b { border-radius: 10px; }
.mrows.drag .trk.wf { height: 22px; }
/* in the narrow panel: name and share on one line, the full-width track under it */
.mrows.drag { gap: 16px; }
.mrows.drag .mr { grid-template-columns: 10px minmax(0, 1fr) 40px; row-gap: 8px; }
.mrows.drag .mr .trk { grid-column: 1 / -1; grid-row: 2; }
.mr em { font-style: normal; text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.mrows.drag .trk { cursor: ew-resize; height: 14px; }
/* the handle sits inside the end of its slice, like a switch's knob: never over the track, never past it; it shrinks with a thin slice */
.mrows.drag .trk b::after { content: ''; position: absolute; right: 3px; top: 50%; width: min(16px, calc(100% - 6px)); aspect-ratio: 1; transform: translateY(-50%); border-radius: 50%; background: #fff; }
.rd { display: inline-flex; gap: 4px; flex: none; }
.rd i { width: 9px; height: 9px; border-radius: 50%; background: var(--tint); }
.rd i.on { background: var(--ink); }
.bubble .rd i { background: rgba(0, 0, 0, .08); } .bubble .rd i.on { background: #111; }
.rd.sm { gap: 3px; } .rd.sm i { width: 7px; height: 7px; }
.rd-none { font-size: 13px; color: var(--ink-3); }
.tip { position: fixed; z-index: 120; transform: translate(-50%, calc(-100% - 8px)); background: #111; color: #fff; font: 500 12.5px/1.3 var(--font); padding: 6px 9px; border-radius: 8px; pointer-events: none; white-space: nowrap; }

/* the wordmark: Make-Bot is the logo */
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--logo-font); font-weight: var(--logo-w); font-size: var(--logo-size); letter-spacing: var(--logo-track); color: var(--ink); line-height: 1; }
.logo .ai { color: var(--logo-ai); }
.dark .logo { color: var(--on-dark); }

/* Make-Bot: the box is his head; the drawing hangs off it (line-bot.js draws in a 380 box, the head is 212 of it) */
.bot { --h: 64px; width: var(--h); height: var(--h); position: relative; flex: none; --lb-ink: #D2C2FF; --lb-feature: #4A2545; --lb-shadow: transparent; }
.bot .lb { position: absolute; width: calc(var(--h) * 380 / 212); height: calc(var(--h) * 380 / 212); left: calc(var(--h) * -84 / 212); top: calc(var(--h) * -124 / 212); pointer-events: none; }
.bot .lb-shadow { display: none; }

/* his words: black-and-white frosted glass */
.bubble { position: relative; background: color-mix(in srgb, #fff 93%, var(--dark));   /* solid, so the tail is the same shade */
  color: #111; border-radius: 20px; padding: 16px 18px 18px; font-size: 16px; line-height: 1.45; box-shadow: 0 10px 34px rgba(0, 0, 0, .16); font-family: 'Onest', system-ui, sans-serif; }
.bubble::before { content: ''; position: absolute; left: 24px; top: -6px; width: 16px; height: 16px; border-radius: 4px; transform: rotate(45deg); background: inherit; }
.bubble.tail-left::before { left: -6px; top: 22px; }
.bubble p { margin: 0; }
.bubble .q + .q, .bubble .q + .read, .bubble .read + .q, .bubble .read + .rate-q, .bubble .rate-q + .q { margin-top: 12px; }
.bubble .inp { margin-top: 12px; }
.bubble .row { display: flex; gap: 8px; align-items: center; margin-top: 14px; flex-wrap: wrap; }
.bubble .fine { font-size: 13px; color: #666; margin-top: 12px; }
.rate { display: flex; gap: 8px; margin-top: 10px; }
.rate button { width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .06); font-size: 14px; font-weight: 600; color: #333; cursor: pointer; transition: background .12s, color .12s; }
.rate button:hover { background: rgba(0, 0, 0, .1); }
.rate button.on { background: rgba(0, 0, 0, .16); color: #111; }
.rate button.sel { background: #111; color: #fff; }
.rate-ends { display: flex; justify-content: space-between; width: 232px; font-size: 12px; color: #777; margin-top: 6px; }
.rank-list { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.rank-list button { display: flex; align-items: center; gap: 10px; width: 100%; height: 44px; padding: 0 14px 0 8px; border: 0; border-radius: 14px; background: rgba(0, 0, 0, .045); font-size: 14.5px; color: #111; cursor: pointer; text-align: left; }
.rank-list button:hover { background: rgba(0, 0, 0, .07); }
.rank-list button.picked { background: rgba(0, 0, 0, .1); font-weight: 600; }
.rank-list .rk { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 12.5px; font-weight: 700; background: #fff; color: #999; flex: none; }
.rank-list button.picked .rk { background: #111; color: #fff; }
.rank-list .lbl { flex: 1; }

/* every scroll overflow fades */
[data-fade] { overflow: auto; scrollbar-width: none; }
[data-fade]::-webkit-scrollbar { display: none; }
[data-fade].f-top { -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 36px, #000 100%); mask-image: linear-gradient(to bottom, transparent 0, #000 36px, #000 100%); }
[data-fade].f-bot { -webkit-mask-image: linear-gradient(to bottom, #000 0, #000 calc(100% - 36px), transparent 100%); mask-image: linear-gradient(to bottom, #000 0, #000 calc(100% - 36px), transparent 100%); }
[data-fade].f-top.f-bot { -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 36px, #000 calc(100% - 36px), transparent 100%); mask-image: linear-gradient(to bottom, transparent 0, #000 36px, #000 calc(100% - 36px), transparent 100%); }
/* the same, sideways (data-fade="x") */
[data-fade="x"].f-right { -webkit-mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 36px), transparent 100%); mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 36px), transparent 100%); }
[data-fade="x"].f-left { -webkit-mask-image: linear-gradient(to right, transparent 0, #000 36px, #000 100%); mask-image: linear-gradient(to right, transparent 0, #000 36px, #000 100%); }
[data-fade="x"].f-left.f-right { -webkit-mask-image: linear-gradient(to right, transparent 0, #000 36px, #000 calc(100% - 36px), transparent 100%); mask-image: linear-gradient(to right, transparent 0, #000 36px, #000 calc(100% - 36px), transparent 100%); }

.caret { display: inline-block; width: 2px; height: 1.1em; vertical-align: -0.2em; background: currentColor; margin-left: 2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.still *, .still *::before, .still *::after { transition: none !important; animation: none !important; }
.still .tip { display: none; }

/* ───────────── HOME (the public site: no frame) ───────────── */
.nav { display: flex; align-items: center; gap: 32px; height: 84px; padding: 0 56px; }
.nav-links { display: flex; gap: 28px; font-size: 15px; font-weight: 500; color: var(--ink-2); margin-left: 24px; }
.nav-links a:hover { color: var(--ink); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 22px; font-size: 15px; font-weight: 500; }
.hero { display: grid; grid-template-columns: 1fr 600px; gap: 56px; padding: 40px 56px 88px; align-items: center; max-width: 1440px; margin: 0 auto; }
.eyebrow { display: inline-flex; height: 30px; align-items: center; padding: 0 14px; border-radius: 999px; background: color-mix(in srgb, var(--p1) 45%, transparent); font-size: 13.5px; font-weight: 600; }
.hero h1 { font-size: calc(68px * var(--display-k)); margin-top: 22px; }
.lede { font-size: 20px; line-height: 1.5; color: var(--ink-2); max-width: 540px; margin: 24px 0 0; }
.cta { display: flex; gap: 12px; margin-top: 34px; }
.scene { border-radius: 28px; padding: 40px 40px 36px; background: radial-gradient(120% 80% at 0% 0%, var(--dark-2), var(--dark) 62%); min-height: 560px; display: flex; flex-direction: column; }
.scene-top { display: flex; gap: 26px; align-items: flex-start; }
.scene-top .bubble { margin-top: 18px; font-size: 18px; max-width: 330px; }
/* the answer as it's typed: what Make-Bot picked out of it is tagged right in the sentence */
.answer { margin-top: 26px; border-radius: 26px; background: rgba(var(--on-dark-rgb), .09); color: var(--on-dark); display: flex; align-items: flex-end; gap: 14px; padding: 14px 12px 12px 20px; font-size: 15.5px; }
.answer .a-text { flex: 1; min-width: 0; line-height: 2; color: var(--on-dark-2); }
.answer .a-tag { display: inline-block; padding: 0 11px; margin: 0 1px; border-radius: 999px; background: rgba(var(--on-dark-rgb), .14); color: var(--on-dark); font-weight: 500; line-height: 1.85; }
.scene .answer { margin-bottom: 24px; }
.send { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--btn-dark); color: var(--btn-dark-ink); }
.mcard { margin-top: auto; background: var(--surface); border-radius: var(--card-r); padding: 18px 20px 8px; color: var(--ink); }
.mcard-h { display: flex; align-items: baseline; gap: 10px; margin-bottom: 6px; }
.mcard-h b { font-size: 15px; }
.mcard-h span { color: var(--ink-2); font-size: 14px; }
.mcard-h em { margin-left: auto; font-style: normal; font-size: 13px; color: var(--ink-3); }
.mrow { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.mcard-h + .mrow { border-top: 0; }
.mrow b { font-weight: 600; font-size: 15px; flex: 1; }
.mrow .sw { width: 24px; height: 24px; font-size: 12px; }
.mrow.new b::after { content: 'New'; margin-left: 8px; font-size: 11.5px; font-weight: 700; color: var(--proof); }
.how { padding: 24px 56px 72px; max-width: 1440px; margin: 0 auto; }
.how h2 { font-family: var(--display); font-weight: var(--display-w); letter-spacing: var(--display-track); font-size: calc(40px * var(--display-k)); margin: 0; }
.how > p { color: var(--ink-2); font-size: 17px; margin: 10px 0 0; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 36px; }
/* the How it works pictures: all on the darker paper, for contrast with the page (Na'il, 2026-11-25) */
.tile { height: 210px; border-radius: var(--tile-r); background: var(--desk); overflow: hidden; position: relative; display: flex; flex-direction: column; justify-content: center; padding: 22px; }
.step-n { margin-top: 20px; font-size: 13px; font-weight: 700; color: var(--ink-3); letter-spacing: .04em; }
.step h3 { margin: 6px 0 0; font-size: 19px; letter-spacing: -.01em; }
.step p { margin: 8px 0 0; color: var(--ink-2); font-size: 15px; }
.t1 { gap: 14px; justify-content: flex-start; }
.t1-top { display: flex; align-items: flex-start; gap: 14px; }
.t1 .bubble { font-size: 13.5px; padding: 10px 13px; border-radius: 14px; box-shadow: 0 4px 18px rgba(0, 0, 0, .1); }
.t1 .bubble::before { width: 11px; height: 11px; left: -4px; top: 14px; border-radius: 3px; }
.t1-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.t2 { align-items: stretch; gap: 14px; }
.linkpill { height: 46px; border-radius: 20px; background: var(--surface); display: flex; align-items: center; gap: 10px; padding: 0 6px 0 16px; font-size: 13.5px; font-weight: 500; }
.linkpill .url { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.linkpill .btn { height: 34px; padding: 0 12px; font-size: 13px; }
.t2-to { display: flex; gap: 6px; flex-wrap: wrap; }
.t3 { padding: 0; justify-content: flex-start; align-items: center; }
.t3 .mini { --gap: 22px; width: calc(100% - var(--gap) * 2); margin-top: var(--gap); flex: none; }   /* the same gap above as at the sides */
.t3 .mini .sheet { transform: scale(var(--s, .4)); transform-origin: 0 0; border-radius: calc(10px / var(--s, .4)); box-shadow: 0 6px 30px rgba(0, 0, 0, .12); }
.t4 { gap: 4px; justify-content: center; }
.lb-row { display: flex; align-items: center; gap: 12px; padding: 7px 0; font-size: 13.5px; }
.lb-row b { width: 92px; font-weight: 600; white-space: nowrap; }
.lb-row .mix { flex: 1; }
.lb-row em { font-style: normal; color: var(--ink-2); width: 38px; text-align: right; font-variant-numeric: tabular-nums; }
.band { margin: 0 56px 56px; border-radius: 26px; background: var(--band); padding: 30px 40px; display: flex; align-items: center; gap: 26px; max-width: 1328px; }
.band h3 { margin: 0; font-size: 22px; letter-spacing: -.01em; }
.band p { margin: 4px 0 0; color: var(--ink-2); font-size: 16px; }
.band .btn { margin-left: auto; }
.foot { padding: 0 56px 40px; color: var(--ink-3); font-size: 13.5px; display: flex; gap: 8px; }

/* ───────────── THE FRAME: the dark is where Make-Bot talks; the work sits in a light block nested in it.
   The window never scrolls: the 10px gap shows on every side, and content scrolls inside its own column. ───────────── */
.app { height: 100vh; height: 100dvh; display: grid; grid-template-rows: minmax(0, 1fr); padding: 10px 10px 10px 0; background: radial-gradient(70% 55% at 0% 0%, var(--dark-2), var(--dark) 70%); }
.app.split { grid-template-columns: 340px minmax(0, 1fr); }
.app.emp { grid-template-columns: 276px minmax(0, 1fr); }
.app > * { min-height: 0; }
.block { background: var(--bg); color: var(--ink); border-radius: var(--frame-r); min-width: 0; min-height: 0; overflow: hidden; display: flex; flex-direction: column; position: relative; }
.block.desk { background: var(--desk); }
.scroll { flex: 1; min-height: 0; }

/* the dark column: the logo on top, then its own scrolling body */
.guide, .rail { color: var(--on-dark); display: flex; flex-direction: column; }
.g-logo { flex: none; padding: 18px 20px 0 26px; }
.rail .g-logo { padding: 18px 20px 0 26px; }
.col-body { flex: 1; min-height: 0; display: flex; flex-direction: column; padding: 30px 18px 20px 26px; }
.thread { flex: 1 0 auto; display: flex; flex-direction: column; }   /* history from the top; the live question and Make-Bot at the foot */
.thread > .bubble { margin-top: auto; }
.thread > .bot { order: 99; margin-top: 14px; }            /* Make-Bot sits at the foot, under his latest message */
.thread > .bubble::before { top: auto; bottom: -6px; }   /* the tail points down at him */
.bubble .drop { margin-top: 14px; border-color: rgba(0, 0, 0, .16); padding: 20px; }
.bubble .drop:hover, .bubble .drop.over { border-color: rgba(0, 0, 0, .45); }
.bubble .drop .ico { color: #666; width: 26px; height: 26px; }
.bubble .drop b { font-size: 15.5px; }
.bubble .drop span { color: #777; }
/* the conversation so far, as a quiet list: Make-Bot's question small and grey, your answer under it. Any line takes you back. */
.past { display: flex; flex-direction: column; gap: 8px; margin-bottom: 22px; }
.past:empty { display: none; }
/* one past step: an icon for what kind of step it was, Make-Bot's question small, your answer under it. The whole row takes you back. */
.hstep { display: grid; grid-template-columns: 30px minmax(0, 1fr); column-gap: 12px; align-items: start; padding: 14px; border-radius: 22px; background: rgba(var(--on-dark-rgb), .05); cursor: pointer; transition: background .15s; font-family: 'Onest', system-ui, sans-serif; }
.hstep:hover { background: rgba(var(--on-dark-rgb), .09); }
.st-ic { width: 30px; height: 30px; border-radius: 50%; background: rgba(var(--on-dark-rgb), .08); color: var(--on-dark-2); display: grid; place-items: center; }
.st-ic .ico { width: 15px; height: 15px; }
.st-ic.st-part { font-size: 12.5px; font-weight: 700; }
.st-q { font-size: 13px; line-height: 1.4; color: var(--on-dark-3); padding-top: 1px; }
.st-a { margin-top: 3px; font-size: 14.5px; line-height: 1.4; color: var(--on-dark); }
.hstep:hover .st-a::after { content: '↩ change'; margin-left: 8px; font-size: 12.5px; color: var(--on-dark-3); white-space: nowrap; }
.why-btn { border: 0; background: none; color: #666; font-size: 13.5px; cursor: pointer; padding: 0 4px; margin-left: auto; text-decoration: underline; text-underline-offset: 3px; }
.bubble .why { margin-top: 12px; font-size: 14px; line-height: 1.45; color: #555; }

/* the account: a floating card at the top right of the light block (under 60px tall), a dropdown to switch */
.acct { position: absolute; top: 12px; right: 12px; z-index: 20; display: flex; align-items: center; gap: 10px; height: 56px; padding: 0 14px 0 8px; border: 0; border-radius: 24px;
  background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 8px 24px rgba(0, 0, 0, .08); cursor: pointer; text-align: left; transition: box-shadow .15s; }
.nav .acct { position: relative; top: auto; right: auto; height: 46px; padding: 0 12px 0 6px; border-radius: 23px; }   /* the homepage's Sign in: the same dropdown */
.avatar.anon { background: var(--tint); color: var(--ink-2); }
.avatar.anon .ico { width: 18px; height: 18px; }
.acct:hover { box-shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 10px 28px rgba(0, 0, 0, .13); }
.acct b { display: block; font-size: 14.5px; font-weight: 600; line-height: 1.2; white-space: nowrap; }
.acct small { display: block; font-size: 12.5px; color: var(--ink-2); line-height: 1.3; white-space: nowrap; }
.acct svg { opacity: .5; margin-left: 2px; transition: transform .15s; }
.acct.open svg { transform: rotate(180deg); }
.menu.acct-menu { min-width: 290px; padding: 8px; }
.acct-menu .mk { font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #999; padding: 6px 10px 6px; }
.acct-menu button.acc { height: 58px; gap: 12px; }
.acct-menu .acc .avatar { width: 38px; height: 38px; font-size: 13px; color: #1a1a1a; }
.acct-menu .acc span:nth-child(2) { flex: 1; }
.acct-menu .acc b { display: block; font-size: 14px; font-weight: 600; }
.acct-menu .acc small { display: block; font-size: 12.5px; color: #777; font-weight: 400; }
.g-k { display: block; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--on-dark-3); }
.g-role b { display: block; margin-top: 6px; font-size: 17px; font-weight: 600; }
.file { display: inline-flex; align-items: center; gap: 8px; height: 30px; margin-top: 12px; padding: 0 12px; border-radius: 999px; background: rgba(var(--on-dark-rgb), .09); font-size: 13px; color: var(--on-dark-2); }
.file .ico { width: 15px; height: 15px; }
.g-ask { margin-top: 32px; }
.g-ask .bubble { margin-top: 20px; }
.g-why { margin-top: 24px; }
.g-why p { margin: 8px 0 10px; color: var(--on-dark-2); font-size: 15px; line-height: 1.5; }
.g-foot { margin-top: auto; padding: 18px 0 2px; font-size: 13px; color: var(--on-dark-3); display: flex; justify-content: space-between; gap: 12px; }
.g-bottom { margin-top: auto; padding-top: 24px; }
.convo { margin-top: 28px; display: flex; flex-direction: column; gap: 16px; }
.convo div b { display: block; margin-top: 4px; font-weight: 500; font-size: 15px; color: var(--on-dark-2); line-height: 1.45; }
.done-list { list-style: none; margin: 12px 0 0; padding: 0; }
.done-list li { display: flex; align-items: center; gap: 10px; padding: 7px 0; font-size: 14.5px; border-top: 1px solid rgba(0, 0, 0, .07); }
.done-list li:first-child { border-top: 0; }
.done-list .sw { width: 22px; height: 22px; font-size: 11px; color: #222; }
.done-list li > span:nth-child(2) { flex: 1; }
.done-list em { font-style: normal; font-size: 13px; color: #555; width: 62px; text-align: right; }
.done-list em.ok { color: #1d7a55; font-weight: 600; }
.done-list .rank-b { background: #111; color: #fff; }

/* the employer's rail */
.rail > .rail-say { flex: none; padding: 0 18px 20px 26px; }   /* Make-Bot at the foot of the side column, saying what to do here */
.rail-body { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 2px; padding: 22px 10px 8px 14px; }
.nav-i { display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 12px; border-radius: 12px; font-size: 14.5px; font-weight: 500; color: var(--on-dark-2); flex: none; }
.nav-i:hover { color: var(--on-dark); }
.nav-i.on { background: rgba(var(--on-dark-rgb), .1); color: var(--on-dark); font-weight: 600; }
.nav-i em { margin-left: auto; font-style: normal; font-size: 12.5px; color: var(--on-dark-3); }
.rail .rk { font-size: 11.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--on-dark-3); padding: 20px 12px 6px; }
.m-i { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 12px; font-size: 14px; color: var(--on-dark-2); flex: none; }
.m-i.on { color: var(--on-dark); font-weight: 600; background: rgba(var(--on-dark-rgb), .06); }
.m-i em { margin-left: auto; font-style: normal; font-size: 12.5px; color: var(--on-dark-3); font-weight: 500; }

/* ───────────── the resume pane + stepper ───────────── */
.stepbar { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; min-height: 80px; padding: 12px 212px 12px 24px; flex: none; }
.chip { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px 0 7px; border-radius: 999px; border: 0; font-size: 13.5px; font-weight: 500; cursor: pointer;
  background: var(--tint); color: var(--ink-2); transition: background .2s, color .2s; white-space: nowrap; }
.chip .n { width: 23px; height: 23px; border-radius: 50%; display: grid; place-items: center; font-size: 11.5px; font-weight: 700; background: color-mix(in srgb, var(--pc) 55%, transparent); color: var(--ink); }
.chip.current { background: color-mix(in srgb, var(--pc) 34%, var(--surface)); color: var(--ink); font-weight: 600; }
.chip.proven { background: var(--pc); color: var(--ink); }
.chip.proven .n { background: rgba(255, 255, 255, .7); }
.chip.missing { color: var(--ink-3); }
.chip.missing .n { background: var(--tint); color: var(--ink-3); }
.pane { flex: 1; min-height: 0; padding: 4px 0 40px; }
.sheet-wrap { display: flex; justify-content: center; }

/* ───────────── THE RESUME (the candidate's own document: its own type) ───────────── */
.sheet { position: relative; width: 600px; min-height: 776px; background: #fff; border-radius: 3px; padding: 44px 48px 40px; box-shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 14px 44px rgba(0, 0, 0, .09); flex: none; }
.rz { font-family: 'Lato', 'Helvetica Neue', Arial, sans-serif; color: #222; font-size: 12px; line-height: 1.5; }
.rz h1 { margin: 0; font-size: 25px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #1F3864; line-height: 1.1; }
.rz .contact { margin: 6px 0 0; font-size: 11.5px; color: #555; }
.rz h2 { margin: 18px 0 8px; padding-bottom: 4px; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #1F3864; border-bottom: 1px solid #cdd5e4; }
.rz p, .step .rz p:not(.contact) { margin: 0; font-size: inherit; color: inherit; }
.rz .job { margin-bottom: 10px; }
.rz .job-h { display: flex; justify-content: space-between; font-size: 12.5px; }
.rz .job-h span { color: #555; }
.rz .job-sub { font-size: 11.5px; font-style: italic; color: #666; }
.rz ul { margin: 3px 0 0; padding-left: 16px; }
.rz li { margin: 3px 0; }
.rz li::marker { color: #1F3864; }
.sheet .hl, .sheet .hm { position: absolute; inset: 0; pointer-events: none; }
.sheet .hl { mix-blend-mode: multiply; }
.hbox { position: absolute; border-radius: 4px; background: color-mix(in srgb, var(--pc) 50%, transparent); transition: opacity .25s, background .25s; }
.hmark { position: absolute; left: 13px; width: 21px; height: 21px; border-radius: 50%; background: var(--pc); display: grid; place-items: center; font: 700 11px/1 var(--font); color: var(--ink); transition: opacity .25s, transform .25s; }
/* a computer picks the same parts as a phone (each line, bullet and skill): each is a card on the page, filled, with a gap
   to the next; it deepens under the pointer and takes its part's colour when picked. The bullet sits inside its card. */
#sheet:not(.reader) [data-b] { position: relative; margin: 5px -9px; padding: 5px 9px; border-radius: 8px; background: rgba(0, 122, 255, .09); cursor: pointer; user-select: none; transition: background .15s; }
#sheet:not(.reader) .rz ul { list-style: none; padding-left: 0; }
#sheet:not(.reader) li[data-b] { padding-left: 22px; }
#sheet:not(.reader) li[data-b]::before { content: ''; position: absolute; left: 10px; top: 12px; width: 4px; height: 4px; border-radius: 50%; background: #1F3864; }
#sheet:not(.reader) .skills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
#sheet:not(.reader) .skills .sep { display: none; }
#sheet:not(.reader) .skills .sk { margin: 0; padding: 5px 11px; border-radius: 999px; }
#sheet:not(.reader) [data-b]:hover { background: rgba(0, 122, 255, .14); }
#sheet:not(.reader) [data-b].pick { background: color-mix(in srgb, var(--pc) 58%, transparent); }
#sheet:not(.reader) [data-b].pick.dim { background: color-mix(in srgb, var(--pc) 24%, transparent); }
#sheet:not(.reader) [data-b].pick::after { content: attr(data-mk); position: absolute; top: 5px; right: -29px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
  background: var(--pc); font: 700 10.5px/18px var(--font); color: #222; text-align: center; word-spacing: 2px; }
#sheet:not(.reader) [data-b].pick.hb-sel::after { content: ''; top: 4px; right: -30px; width: 20px; min-width: 0; height: 20px; padding: 0; border-radius: 50%;
  background: #007AFF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.6 8.3l2.9 2.9 5.9-6.4' fill='none' stroke='white' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat; }
#sheet:not(.reader) .sk.pick::after { top: -8px; right: -7px; box-shadow: 0 0 0 2px #fff; }
.fcursor { position: absolute; width: 20px; height: 20px; margin: -2px 0 0 -4px; pointer-events: none; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .3)); }
.fcursor svg { display: block; width: 100%; height: 100%; }
/* the upload is read: a band passes down the page, and each part it passes lights up as something you can pick */
.scanwrap { position: absolute; inset: 0; overflow: hidden; border-radius: inherit; pointer-events: none; z-index: 3; }
.scanbar { position: absolute; left: 0; right: 0; top: -64px; height: 64px; background: linear-gradient(rgba(0, 122, 255, 0), rgba(0, 122, 255, .12)); border-bottom: 2px solid rgba(0, 122, 255, .6); }
#sheet.scanning, #sheet.scanning [data-b] { cursor: progress; }
#sheet.scanning [data-b]:not(.lit) { background: transparent; }
#sheet [data-b].lit { animation: blit .7s ease-out; }
@keyframes blit { from { background: rgba(0, 122, 255, .24); } }
.focus .hbox:not(.on) { opacity: .16; }
.focus .hmark:not(.on) { opacity: .25; }
.hbox.on { background: color-mix(in srgb, var(--pc) 70%, transparent); }
.hmark.on { transform: scale(1.15); }

/* ───────────── a model's parts ───────────── */
.w-head { padding: 34px 40px 6px 40px; display: flex; align-items: flex-end; gap: 24px; flex: none; }
.w-head h1 { font-family: var(--display); font-weight: var(--display-w); letter-spacing: var(--display-track); font-size: calc(36px * var(--display-k)); margin: 0; line-height: 1.05; }
.w-head .meta { margin: 8px 0 0; color: var(--ink-2); font-size: 15px; display: flex; align-items: center; gap: 10px; }
.mix-col { position: sticky; top: 0; }
.w-head-acts { display: flex; gap: 8px; margin-top: 16px; }
.w-head-right { margin-left: auto; display: flex; align-items: center; gap: 10px; padding-bottom: 4px; }
.parts { display: flex; flex-direction: column; gap: 10px; }
.group-k { font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); margin: 14px 0 2px; }
.group-k:first-child { margin-top: 0; }
.part { display: flex; align-items: flex-start; gap: 14px; padding: 16px 18px; border-radius: var(--card-r); background: var(--surface); }
.part .sw { margin-top: 1px; }
.part-t { flex: 1; min-width: 0; }
.part-t b { display: block; font-size: 16px; font-weight: 600; letter-spacing: -.005em; }
.part-t p { margin: 3px 0 0; color: var(--ink-2); font-size: 14.5px; }
.part-t small { display: inline-flex; align-items: center; gap: 6px; margin-top: 7px; font-size: 12.5px; color: var(--ink-3); font-weight: 500; }
.part-t small.changed { color: var(--st1); }
.part-t small.new { color: var(--proof); }
.part-t small i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.part .wt { font-style: normal; font-size: 14px; font-weight: 600; margin-top: 3px; font-variant-numeric: tabular-nums; }
.part .tag { margin-top: 1px; cursor: pointer; }
.part .edit { opacity: 0; transition: opacity .15s; width: 32px; height: 32px; border: 0; border-radius: 10px; background: transparent; color: var(--ink-3); display: grid; place-items: center; cursor: pointer; margin: -2px -6px 0 -6px; }
.part:hover .edit { opacity: 1; }
.part .edit:hover { background: var(--tint); color: var(--ink); }
.part.draft { background: color-mix(in srgb, var(--pc) 26%, var(--surface)); }
.part.arrive { animation: arrive .5s cubic-bezier(.2, .8, .2, 1); }
@keyframes arrive { from { opacity: 0; transform: translateY(10px); } }
.addpart { min-height: 58px; border-radius: var(--card-r); border: 1.5px dashed var(--line); display: flex; align-items: center; gap: 10px; padding: 0 20px; color: var(--ink-3); font-weight: 500; font-size: 14.5px; }
.mgrid { display: grid; grid-template-columns: minmax(0, 1fr) 344px; gap: 22px; padding: 20px 40px 32px; align-items: start; }
.mixpanel { background: var(--surface); border-radius: var(--card-r); padding: 20px; display: flex; flex-direction: column; gap: 18px; }
.mixpanel h3 { margin: 0; font-size: 16px; letter-spacing: -.01em; }
.mixpanel p { margin: 4px 0 0; font-size: 13.5px; color: var(--ink-2); line-height: 1.4; }
.mp-total { font-size: 13px; color: var(--ink-2); display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 12px; }
.mp-total b { color: var(--ink); font-variant-numeric: tabular-nums; }
.linkfield { display: flex; align-items: center; gap: 8px; height: 44px; border-radius: 20px; background: rgba(0, 0, 0, .055); padding: 0 6px 0 14px; margin-top: 12px; font-size: 14px; font-weight: 500; }
.linkfield span { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.linkfield button { width: 34px; height: 34px; border: 0; border-radius: 15px; background: #fff; display: grid; place-items: center; cursor: pointer; }

/* the employer's mark + the apply link */
.emp-mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: #1e2a5a; color: #fff; font: 600 19px/1 'Instrument Serif', Georgia, serif; flex: none; }
.emp-mark.big { width: 60px; height: 60px; border-radius: 16px; font-size: 34px; }
.emp-row { display: flex; align-items: center; gap: 12px; }
.emp-row b { font-size: 17px; }
.emp-row small { display: block; font-size: 12.5px; color: var(--on-dark-3); margin-top: 2px; }
.drop { margin-top: 22px; border: 1.5px dashed rgba(255, 255, 255, .28); border-radius: 22px; padding: 26px 24px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; cursor: pointer; transition: border-color .2s; flex: none; }
.drop:hover, .drop.over { border-color: var(--btn-dark); }
.drop .ico { width: 30px; height: 30px; color: var(--on-dark-2); }
.drop b { font-size: 17px; margin-top: 4px; }
.drop span { font-size: 13.5px; color: var(--on-dark-3); }
.drop .btn { margin-top: 12px; }
.apply-head { padding: 36px 40px 4px; display: flex; gap: 22px; align-items: center; flex: none; }
.apply-head p { margin: 0; color: var(--ink-2); font-size: 16px; }
.apply-head h1 { font-family: var(--display); font-weight: var(--display-w); letter-spacing: var(--display-track); font-size: calc(36px * var(--display-k)); margin: 2px 0 0; line-height: 1.05; }
.apply-head .meta { margin-top: 6px; font-size: 14.5px; }
.apply-mix { padding: 24px 40px 0; flex: none; }
.apply-mix-h { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 10px; }
.apply-mix-h b { font-size: 18px; letter-spacing: -.01em; }
.apply-mix-h span { font-size: 13.5px; color: var(--ink-2); }
.apply-mix-h { flex-direction: column; align-items: flex-start; gap: 2px; margin-bottom: 14px; }
/* the mix: stacked bars (each part's share, named) beside a radar of the same numbers */
.mixviz { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 16px; align-items: stretch; }
.mixviz > div { background: var(--surface); border-radius: var(--card-r); padding: 20px 22px; }
.mixviz .mrows { gap: 22px; }
.mixviz .mr { grid-template-columns: 10px minmax(0, 210px) minmax(0, 1fr) 44px; font-size: 14.5px; }
.mixviz .mr em { font-size: 15px; }
.mixviz .k { margin-bottom: 14px; }
.radar { display: block; width: 100%; max-width: 340px; height: auto; overflow: visible; margin: 0 auto; }
.radar text { font: 500 13.5px var(--font); fill: var(--ink-2); }
.rkey { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 6px; font-size: 13px; color: var(--ink-2); }
.rkey span { display: inline-flex; align-items: center; gap: 7px; }
.rkey i { width: 16px; height: 0; border-top: 2px solid var(--ink); }
.rkey .o i { border-top: 2px dashed var(--proof); }
.radar text.v { font-size: 14px; font-weight: 700; fill: var(--ink); }
.apply-parts { padding: 18px 40px 32px; }

/* ───────────── employer pages ───────────── */
.ehead { padding: 28px 40px 16px; display: flex; align-items: flex-end; gap: 20px; flex: none; }
.ehead h1 { font-family: var(--display); font-weight: var(--display-w); letter-spacing: var(--display-track); font-size: calc(34px * var(--display-k)); margin: 0; line-height: 1.05; }
.ehead p { margin: 8px 0 0; color: var(--ink-2); font-size: 15px; }
.ehead .right { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.ehead > div:first-child { min-width: 0; max-width: calc(100% - 260px); }   /* the title column clears the account card */
.crumb { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--ink-2); font-weight: 500; margin-bottom: 12px; }
.crumb a:hover { color: var(--ink); }
.tabs { display: flex; gap: 6px; padding: 0 40px 16px; flex: none; flex-wrap: wrap; align-items: center; }
.tab { height: 34px; padding: 0 14px; border: 0; border-radius: 999px; background: transparent; font-size: 14px; font-weight: 500; color: var(--ink-2); cursor: pointer; display: inline-flex; align-items: center; gap: 7px; }
.tab em { font-style: normal; color: var(--ink-3); font-weight: 500; }
.tab:hover { background: var(--tint); }
.tab.on { background: var(--ink); color: var(--bg); }
.tab.on em { color: inherit; opacity: .6; }
.tabs .seg { margin-left: auto; }
.tabs > .seg:first-child { margin: 0 10px 0 0; }   /* the computer: the view toggle leads the toolbar row */
.tabs > .btn { margin-left: auto; }

/* templates: a card per saved model */
.tgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding: 0 40px 36px; }
.tcard { background: var(--surface); border-radius: var(--card-r); padding: 20px; display: flex; flex-direction: column; gap: 16px; }
.tcard-h { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.tcard h3 { margin: 0; font-size: 18px; letter-spacing: -.01em; }
.tcard .meta { margin: 4px 0 0; font-size: 13px; color: var(--ink-3); }
.tgroup { display: flex; flex-direction: column; gap: 9px; }
.tk { font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 1px; }
.tp { display: flex; align-items: center; gap: 10px; font-size: 14.5px; line-height: 1.3; }
.tp span { flex: 1; min-width: 0; }
.tp em { font-style: normal; font-size: 13px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.tfoot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-2); }
.tcard.scratch { background: transparent; border: 1.5px dashed var(--line); align-items: center; justify-content: center; text-align: center; color: var(--ink-2); cursor: pointer; gap: 8px; }
.tcard.scratch b { font-size: 16px; color: var(--ink); }
.tcard.scratch .ico { width: 26px; height: 26px; }

/* ───────────── WHERE YOU STAND (candidate) ───────────── */
.ws { padding: 32px 40px 40px; }
.ws-head { display: flex; align-items: center; gap: 20px; }
.ws-head p { margin: 0; color: var(--ink-2); font-size: 15.5px; }
.ws-head h1 { font-family: var(--display); font-weight: var(--display-w); letter-spacing: var(--display-track); font-size: calc(34px * var(--display-k)); margin: 2px 0 0; line-height: 1.05; }
.ws-sec { margin-top: 30px; }
.ws-sec h2 { margin: 6px 0 0; font-size: 20px; letter-spacing: -.01em; }
.stages { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 20px; }
.stage { position: relative; padding-right: 12px; }
.stage::before { content: ''; position: absolute; top: 15px; left: 38px; right: 8px; height: 2px; border-radius: 1px; background: var(--line); }
.stage.done::before { background: var(--proof); }
.stage:last-child::before { display: none; }
.stage .dot { width: 32px; height: 32px; display: grid; place-items: center; background: var(--tint); color: var(--ink-3); font-size: 13px; font-weight: 700; position: relative; }
.stage.done .dot { background: var(--proof); color: #fff; }
.stage.now .dot { background: var(--ink); color: var(--bg); box-shadow: 0 0 0 6px color-mix(in srgb, var(--ink) 12%, transparent); }
.stage b { display: block; margin-top: 12px; font-size: 15.5px; }
.stage span { display: block; margin-top: 2px; font-size: 13.5px; color: var(--ink-2); }
.stage.later b { color: var(--ink-2); font-weight: 600; }
.next { margin-top: 20px; padding: 16px 20px; border-radius: var(--card-r); background: var(--band); font-size: 15.5px; display: flex; gap: 12px; align-items: center; }
.next b { font-weight: 600; }
.ws-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 48px; margin-top: 32px; }
.ws-grid .mix { margin-top: 14px; }
.ws-sub { margin-top: 8px; font-size: 13.5px; color: var(--ink-2); }
.mlist { list-style: none; margin: 14px 0 0; padding: 0; }
.mlist li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 15px; }
.mlist li:first-child { border-top: 0; }
.mlist li b { flex: 1; font-weight: 500; min-width: 0; }
.mlist .sw { width: 24px; height: 24px; font-size: 12px; }
.mlist .status { width: 92px; justify-content: center; }
.top3 { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.top3-k { margin-top: 18px; }
.top3 > span { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px 0 5px; border-radius: 999px; background: var(--tint); font-size: 14px; font-weight: 500; }

/* where someone sits against everyone who applied: an arrow on a bar, never a number */
.rel { position: relative; padding-top: 16px; }
.rel-track { height: 16px; border-radius: 8px; background: linear-gradient(90deg, color-mix(in srgb, var(--proof) 7%, var(--surface-2)), color-mix(in srgb, var(--proof) 75%, var(--surface-2))); }
.rel-arrow { position: absolute; top: 0; width: 18px; height: 14px; margin-left: -9px; color: var(--ink); }
.rel-you { position: absolute; top: -12px; transform: translateX(-50%); font-size: 13px; font-weight: 700; color: var(--ink); white-space: nowrap; }
.rel.big { padding-top: 44px; margin-top: 18px; }
.rel.big .rel-arrow { top: 26px; }
.rel.big .rel-you { top: 0; }
.rel-ends { display: flex; justify-content: space-between; margin-top: 10px; font-size: 13px; color: var(--ink-2); }
.rel.mini { padding-top: 9px; width: 100%; }
.rel.mini .rel-track { height: 6px; border-radius: 3px; }
.rel.mini .rel-arrow { width: 12px; height: 9px; margin-left: -6px; }
.rel-say { margin-top: 18px; font-size: 15px; color: var(--ink-2); }

/* ───────────── EVERYONE WHO APPLIED (employer) ───────────── */
.ctable { padding: 0 32px 28px; }
.crow { display: grid; grid-template-columns: minmax(0, 1fr) 170px 78px 150px 150px 60px; align-items: center; gap: 22px; padding: 12px 10px; border-top: 1px solid var(--line); border-radius: 12px; }
.crow.head { border-top: 0; padding-top: 0; padding-bottom: 8px; }
.crow.head span { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.crow.link { cursor: pointer; }
.crow.link:hover { background: var(--tint); }
.crow.link:hover + .crow { border-top-color: transparent; }
.who { display: flex; align-items: center; gap: 12px; min-width: 0; }
.who b { display: block; font-size: 15px; font-weight: 600; white-space: nowrap; }
.who small { display: block; font-size: 13px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.who > div { min-width: 0; }
.mix-cell { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ink-2); white-space: nowrap; font-variant-numeric: tabular-nums; }
.mix-cell .mix { flex: 1; }
.mix-cell em { font-style: normal; width: 34px; text-align: right; }
.crow .date { font-size: 13.5px; color: var(--ink-2); }
.more { padding: 14px 10px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-2); display: flex; gap: 12px; align-items: center; }
.more button { border: 0; background: none; font-weight: 600; color: var(--ink); cursor: pointer; padding: 0; }
.stage-pill { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 10px 0 12px; border: 0; border-radius: 999px; background: var(--tint); font-size: 13.5px; font-weight: 600; color: var(--ink); cursor: pointer; white-space: nowrap; }
.stage-pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--sc); flex: none; }
.stage-pill svg { opacity: .5; }
.stage-pill:hover { background: color-mix(in srgb, var(--ink) 11%, transparent); }
.board { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; padding: 0 28px 24px; }
.col { display: flex; flex-direction: column; gap: 10px; border-radius: 24px; padding: 6px; transition: background .15s; }
.col.over { background: var(--tint); }
.col-h { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14.5px; padding: 4px 6px 4px; }
.col-h i { width: 9px; height: 9px; border-radius: 50%; background: var(--sc); }
.col-h em { font-style: normal; color: var(--ink-3); font-weight: 500; }
.col-list { display: flex; flex-direction: column; gap: 10px; min-height: 60px; }
.kcard { background: var(--surface); border-radius: 20px; padding: 14px 14px 12px; box-shadow: 0 1px 2px rgba(0, 0, 0, .05), 0 6px 18px rgba(0, 0, 0, .05); cursor: grab; user-select: none; }
.kcard .who b { font-size: 14.5px; }
.kcard .avatar { width: 32px; height: 32px; font-size: 12px; }
.kcard .mix-cell { margin-top: 12px; }
.kcard.lifted { opacity: .3; }
.kghost { position: fixed; z-index: 95; pointer-events: none; transform: rotate(2deg); box-shadow: 0 18px 44px rgba(0, 0, 0, .2); cursor: grabbing; }
.kmore { font-size: 13px; color: var(--ink-3); padding: 2px 8px; }
.drag-hint { font-size: 13.5px; color: var(--ink-3); }

/* the stage menu */
.menu { position: fixed; z-index: 90; background: #fff; border-radius: 14px; padding: 6px; min-width: 210px; box-shadow: 0 8px 32px rgba(0, 0, 0, .14), 0 2px 8px rgba(0, 0, 0, .08); font-family: var(--font); }
.menu button { display: flex; align-items: center; gap: 10px; width: 100%; height: 38px; padding: 0 12px; border: 0; border-radius: 9px; background: transparent; font-size: 14px; font-weight: 500; color: #1a1a1a; cursor: pointer; text-align: left; }
.menu button:hover { background: rgba(0, 0, 0, .05); }
.menu button i { width: 8px; height: 8px; border-radius: 50%; background: var(--sc); }
.menu button svg { margin-left: auto; }
.menu hr { border: 0; height: 1px; background: rgba(0, 0, 0, .08); margin: 5px 8px; }

/* ───────────── ONE CANDIDATE (employer) ───────────── */
.pmain { padding: 30px 40px 48px; }
.phead { display: flex; align-items: center; gap: 20px; }
.phead .avatar { width: 64px; height: 64px; font-size: 21px; }
.pwho { min-width: 0; }
.pwho h1 { font-family: var(--display); font-weight: var(--display-w); letter-spacing: var(--display-track); font-size: calc(34px * var(--display-k)); margin: 0; line-height: 1.05; }
.pwho p { margin: 6px 0 0; color: var(--ink-2); font-size: 15px; }
.pact { display: flex; gap: 10px; margin-left: auto; align-items: center; }
.pact .stage-pill { height: 44px; padding: 0 14px 0 16px; font-size: 15px; }
.pstats { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; margin-top: 24px; padding: 18px 22px; border-radius: var(--card-r); background: var(--surface); }
.pm-num { font-size: 15px; color: var(--ink-2); font-weight: 500; }
.pm-num b { color: var(--ink); font-size: 20px; font-weight: 700; margin: 0 4px; letter-spacing: -.01em; }
.pstats .mix { margin-top: 12px; }
.pm-sub { margin-top: 9px; font-size: 13px; color: var(--ink-2); }
.pstats .rel-ends { margin-top: 8px; }
.mixcard { margin-top: 14px; padding: 18px 22px 12px; border-radius: var(--card-r); background: var(--surface); }
.mx-h { display: flex; align-items: baseline; gap: 12px; margin-bottom: 10px; flex-wrap: wrap; }
.mx-h b { font-size: 16px; }
.mx-h span { font-size: 13.5px; color: var(--ink-2); }
.mixcard-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 32px; align-items: center; }
.mixcard-radar { border-left: 1px solid var(--line); padding-left: 28px; }
.mx-row { display: grid; grid-template-columns: minmax(0, 1fr) 200px 110px 44px; gap: 22px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); font-size: 14.5px; }
.mx-row.head { border-top: 0; padding-top: 0; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.mx-row .pl { display: flex; align-items: center; gap: 10px; min-width: 0; }
.mx-row .wcell { display: grid; grid-template-columns: minmax(0, 1fr) 40px; gap: 10px; align-items: center; }
.mx-row .wcell em { font-style: normal; text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.pbody { display: grid; grid-template-columns: minmax(0, 1fr) 520px; gap: 40px; margin-top: 28px; align-items: start; }
.plist .group-k { margin: 0 0 4px; }
.plist .group-k.second { margin-top: 26px; }
.prow { padding: 18px 0 20px; border-top: 1px solid var(--line); cursor: default; }
.plist .group-k + .prow { border-top: 0; }
.pr-top { display: flex; align-items: center; gap: 12px; }
.pr-top b { font-size: 16.5px; font-weight: 600; flex: 1; letter-spacing: -.005em; }
.status { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 11px; border-radius: 999px; font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.status.ok { background: color-mix(in srgb, var(--proof) 14%, transparent); color: var(--proof); }
.status.no { background: var(--tint); color: var(--ink-2); }
.snip { margin: 12px 0 0 40px; padding: 12px 16px; border-radius: 18px; background: color-mix(in srgb, var(--pc) 30%, var(--surface)); transition: background .2s; }
.prow:hover .snip { background: color-mix(in srgb, var(--pc) 48%, var(--surface)); }
.snip.rz { font-size: 13px; }
.snip ul { margin: 0; }
.snip .job-h { font-size: 13px; } .snip .job-sub { font-size: 12.5px; }
.note { margin: 10px 0 0 40px; font-size: 14.5px; color: var(--ink-2); line-height: 1.45; }
.note span { font-weight: 600; color: var(--ink); margin-right: 6px; }
.prow .btn { margin: 12px 0 0 40px; }
.sent { margin: 12px 0 0 40px; font-size: 14px; color: var(--proof); font-weight: 600; }
.presume { position: sticky; top: 0; }
/* their talent, in their own words: apart from the skills and Ledgerline's parts, what comes naturally to them */
.talent { margin-top: 24px; padding: 20px 24px 22px; border-radius: var(--card-r); background: var(--surface); }
.talent p { margin: 10px 0 0; max-width: 780px; font-family: var(--display); font-weight: 500; font-size: calc(21px * var(--display-k)); line-height: 1.38; letter-spacing: -0.01em; }
.talent + .pstats { margin-top: 14px; }
/* the AI match (the employer's only): the score, then what the AI checked */
.status.aim { gap: 5px; background: var(--tint); color: var(--ink); font-variant-numeric: tabular-nums; }
.status.aim i { font-style: normal; color: var(--ink-3); font-weight: 600; }
.status.aim.flag { background: color-mix(in srgb, #E8590C 16%, transparent); color: #A8400A; }
.status.aim.flag i { color: inherit; opacity: .7; }
.kcard .who .status.aim { margin-left: auto; flex: none; }
.aicard { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 40px; margin-top: 14px; padding: 20px 22px; border-radius: var(--card-r); background: var(--surface); }
.ai-score b { display: block; margin-top: 6px; font-family: var(--display); font-weight: var(--display-w); font-size: calc(44px * var(--display-k)); line-height: 1; letter-spacing: var(--display-track); }
.ai-score small { display: block; margin-top: 10px; font-size: 13px; color: var(--ink-2); line-height: 1.45; }
.ai-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; align-content: center; }
.ai-checks li { display: flex; gap: 10px; font-size: 14.5px; line-height: 1.45; color: var(--ink-2); }
.ai-checks li svg { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--proof); }
.ai-checks li.warn svg { color: #A8400A; }   /* something to look at before deciding: the flag's orange */
.ai-checks b { color: var(--ink); font-weight: 600; }
.aiv { display: flex; gap: 10px; margin: 10px 0 0 40px; font-size: 14.5px; line-height: 1.45; color: var(--ink-2); }
.aiv > i { flex: none; height: 22px; padding: 0 8px; border-radius: 999px; background: var(--tint); font-style: normal; font-size: 11.5px; font-weight: 700; line-height: 22px; color: var(--ink); }
.aiv b { color: var(--ink); font-weight: 600; }
.aiv em { font-style: normal; color: var(--ink); }
.pr-label { font-size: 13px; color: var(--ink-2); font-weight: 500; margin-bottom: 10px; display: flex; justify-content: space-between; }
.sheet-scale { width: calc(600px * .866); }
.sheet-scale .sheet { transform: scale(.866); transform-origin: 0 0; }

/* ───────────── the prototype's guidance (for whoever this is shared with; not part of the design) ─────────────
   Na'il, 2026-11-25: "it just needs to have the hotspots ... 1 popup in the beginning ... remove all the backdoors". One popup
   when it opens (what to do, with a looping demo); then on every step ONE hotspot, a pulsing ring on the thing that moves
   on. Anything else that would leave the screen is off: it keeps its look, and a click on it makes the hotspot pulse.
   Make-Bot's words say what to do on each step. */
.gring { position: fixed; z-index: 99; pointer-events: none; box-shadow: 0 0 0 2px #007AFF; opacity: 0; transition: opacity .2s ease; }
.gring.on { opacity: 1; }
.gring::after { content: ''; position: absolute; inset: 0; border-radius: inherit; animation: gpulse 1.6s ease-out infinite; }
@keyframes gpulse { from { box-shadow: 0 0 0 2px rgba(0, 122, 255, .55); } to { box-shadow: 0 0 0 14px rgba(0, 122, 255, 0); } }
.gring.nudge::before { content: ''; position: absolute; inset: 0; border-radius: inherit; animation: gnudge .6s ease-out 2; }   /* a click on something that's off: here */
@keyframes gnudge { from { box-shadow: 0 0 0 3px rgba(0, 122, 255, .9); } to { box-shadow: 0 0 0 28px rgba(0, 122, 255, 0); } }
/* the opening popup: a looping demo (a pointer opens the menu, picks a side, clicks the pulsing spot), what to do, Got it */
.intro-wrap { position: fixed; inset: 0; z-index: 130; display: grid; place-items: center; padding: 16px; background: rgba(10, 12, 14, .42);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: opacity .25s ease; }
.intro-wrap.out { opacity: 0; pointer-events: none; }
.intro { width: min(440px, 100%); padding: 20px 20px 18px; border-radius: 26px; background: rgba(16, 16, 18, .94); color: #fff; font-family: 'Onest', system-ui, sans-serif;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .35); }
.intro h2 { margin: 18px 2px 0; font-size: 19px; font-weight: 600; }
.intro p { margin: 8px 2px 0; font-size: 15px; line-height: 1.5; color: rgba(255, 255, 255, .78); }
.intro .i-f { display: flex; justify-content: flex-end; margin-top: 18px; }
.intro .i-ok { height: 42px; padding: 0 22px; border: 0; border-radius: 21px; background: #fff; color: #111; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
.demo { position: relative; height: 196px; border-radius: 16px; background: var(--bg); color: var(--ink); overflow: hidden; font-family: var(--font); }
.d-bar { position: absolute; left: 0; right: 0; top: 0; height: 46px; display: flex; align-items: center; padding: 0 12px 0 16px; font-size: 13px; font-weight: 700; }
.d-bar b span { color: #e0457b; }
.d-pill { margin-left: auto; display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 9px 0 4px; border-radius: 15px; background: var(--surface);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 4px 12px rgba(0, 0, 0, .08); font-size: 12px; font-weight: 600; }
.d-pill i { width: 22px; height: 22px; border-radius: 50%; background: var(--tint); }
.d-s1 { position: absolute; left: 16px; right: 16px; top: 64px; }
.d-s1 .d-h { height: 15px; width: 72%; border-radius: 8px; background: var(--ink); opacity: .85; }
.d-s1 .d-h + .d-h { width: 48%; margin-top: 9px; }
.d-s1 .d-cta { width: 132px; height: 28px; margin-top: 20px; border-radius: 14px; background: var(--tint); }
.d-s2 { position: absolute; left: 12px; right: 12px; top: 52px; bottom: 12px; border-radius: 14px; background: var(--surface); padding: 16px; opacity: 0; }
.d-s2 .d-l { height: 9px; border-radius: 5px; background: var(--tint); }
.d-s2 .d-l + .d-l { margin-top: 10px; width: 86%; } .d-s2 .d-l.short { width: 58%; }
.d-btn { position: absolute; right: 14px; bottom: 14px; height: 30px; padding: 0 16px; border-radius: 15px; background: var(--btn); color: var(--btn-ink); font-size: 12px; font-weight: 600; display: flex; align-items: center; }
.d-ring { position: absolute; inset: -4px; border-radius: 19px; box-shadow: 0 0 0 2px #007AFF; }
.d-ring::after { content: ''; position: absolute; inset: 0; border-radius: inherit; animation: gpulse 1.6s ease-out infinite; }
.d-menu { position: absolute; right: 12px; top: 48px; width: 190px; padding: 5px; border-radius: 12px; background: #fff; color: #1a1a1a; box-shadow: 0 8px 26px rgba(0, 0, 0, .16); opacity: 0; }
.d-row { display: flex; align-items: center; gap: 8px; padding: 6px; border-radius: 8px; }
.d-row i { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--pc); }
.d-row b { display: block; font-size: 12px; } .d-row small { display: block; font-size: 10.5px; color: #777; }
.d-cur { position: absolute; left: 0; top: 0; width: 22px; height: 22px; opacity: 0; z-index: 2; }
.d-cur svg { display: block; width: 22px; height: 22px; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .3)); }
.d-tap { position: absolute; left: 0; top: 0; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; box-shadow: 0 0 0 2px #007AFF; opacity: 0; }
/* the note that only shows on Jordan's page: drops in at the top, leaves after 3s, nothing to press */
.toast { position: fixed; top: 16px; left: 50%; z-index: 125; display: flex; gap: 10px; align-items: flex-start; width: max-content; max-width: min(460px, calc(100vw - 32px)); padding: 12px 18px 12px 14px;
  border-radius: 18px; background: rgba(16, 16, 18, .92); color: #fff; font: 500 14.5px/1.45 'Onest', system-ui, sans-serif; box-shadow: 0 10px 34px rgba(0, 0, 0, .3);
  opacity: 0; transform: translate(-50%, -12px); transition: opacity .3s ease, transform .3s ease; pointer-events: none; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }
.toast .ico { flex: none; width: 18px; height: 18px; margin-top: 2px; color: #8fb8ff; }
.still :is(.gring, .intro-wrap, .toast) { display: none; }

/* ───────────── A PHONE (under 700px wide: body.phone, set by the router) ─────────────
   The same frame turned upright: the logo and the account on top, the work in the light block, and under it on the frame's
   dark what you answer with, the buttons at the foot where the thumb is. On the resume nothing is drawn: every line, bullet
   and skill is a block you tap to pick.
   Make-Bot sits at the left of the row of buttons (Na'il, 2026-11-25: "the scrim always on screen takes up too much space",
   then "put Make-Bot on the left side in the row with the action buttons"). His words have no bubble: they come in word by
   word on a scrim, the dark of the frame rising over the foot of the block, while he talks; they stay a moment, then go with
   it. A tap on him says it again.
   The scrim is the design system's (design-system/index.html#scrim): an eased curve over --scrim, never a quick linear ramp,
   which shows a hard start line and a muddy band. */
body.phone .app.split, body.phone .app.emp { grid-template-columns: minmax(0, 1fr); padding: 0; }   /* the light block runs the full width: no frame at its sides (Na'il, 2026-11-24) */
body.phone .app.split { grid-template-rows: auto minmax(0, 1fr) auto; }
body.phone :is(.app.split, .app.emp) { --scrim: 96px;
  --scrim-fade: linear-gradient(to bottom, transparent, rgba(0, 0, 0, .05) calc(var(--scrim) * .155), rgba(0, 0, 0, .18) calc(var(--scrim) * .29), rgba(0, 0, 0, .35) calc(var(--scrim) * .41),
    rgba(0, 0, 0, .55) calc(var(--scrim) * .53), rgba(0, 0, 0, .74) calc(var(--scrim) * .65), rgba(0, 0, 0, .9) calc(var(--scrim) * .78), rgba(0, 0, 0, .99) calc(var(--scrim) * .92), #000 var(--scrim)); }
body.phone .app.emp { grid-template-rows: auto auto minmax(0, 1fr); }
body.phone .guide, body.phone .rail { display: contents; }
body.phone .logo > .bot { display: none; }   /* on a phone the logo is the word alone (Na'il, 2026-11-24) */
body.phone .g-logo { grid-row: 1; height: 64px; padding: 0 20px; display: flex; align-items: center; }
body.phone .app.emp > .block, body.phone.ask-top .app.split > .block { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }   /* it runs to the foot of the screen */
body.phone .app.split > .block { grid-row: 2; grid-column: 1; }   /* Make-Bot and his words share its cell */
body.phone .app.emp > .block { grid-row: 3; }
body.phone .col-body { grid-row: 3; position: relative; z-index: 6; flex: none; max-height: 64dvh; padding: 14px 20px 22px; }   /* what you answer with, on the dark */
body.phone .past { display: none; }                                                   /* the stepper is the way back */
body.phone .thread { display: block; font-size: 18.5px; line-height: 1.5; }
body.phone .bubble { padding: 18px 16px 21px; font-size: 16.5px; }
body.phone .thread > .bubble { display: contents; color: var(--on-dark); font-size: 18.5px; line-height: 1.5; }           /* no bubble */
body.phone .thread > .bubble::before { display: none; }
body.phone .thread > .bubble > :first-child { margin-top: 0; }
/* his words lie over the foot of the light block, in the frame's grid (the dark column is display: contents) */
body.phone .say { z-index: 7; padding: var(--scrim) 20px 16px; background: var(--dark); -webkit-mask-image: var(--scrim-fade); mask-image: var(--scrim-fade);
  color: var(--on-dark); font-size: 18.5px; line-height: 1.5; opacity: 0; pointer-events: none; transition: opacity .5s ease; }
body.phone .say.on { opacity: 1; transition-duration: .25s; }
body.phone .guide > .say { grid-row: 2; grid-column: 1; align-self: end; }
body.phone .afoot > .say { position: absolute; left: 0; right: 0; bottom: 100%; background: var(--bg); color: var(--ink); }   /* Ledgerline's pages: the page's own light */
body.phone .afoot > .say :is(.why-btn, .why) { color: var(--ink-2); }
body.phone .rail > .rail-say.thread { display: none; }   /* his words and he move to the floating buttons (placeSay); stronger than the top version's .thread */
body.phone .say.on .why-btn { pointer-events: auto; }   /* only "Why?" takes a touch: a tap anywhere else, on his words too, reaches the work (a hotspot under them included) and puts them away */
body.phone .say p { margin: 0; }
body.phone .say .why-btn { margin: 0; padding: 0 2px; font-size: 16px; color: var(--on-dark-2); }
body.phone .say .why { margin-top: 14px; font-size: 16px; line-height: 1.45; color: var(--on-dark-2); }
body.phone .say .w { display: inline-block; animation: sayw .34s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--d, 0ms) + var(--i) * 95ms); }   /* a word at a time, as he says it */
@keyframes sayw { from { opacity: 0; transform: translateY(.3em); filter: blur(3px); } }
/* what sits in his words, light on the dark */
body.phone .thread .btn--main { background: var(--on-dark); color: var(--dark); }
body.phone .thread .btn--main[disabled] { opacity: 1; background: rgba(var(--on-dark-rgb), .1); color: var(--on-dark-3); }
body.phone .thread .btn--soft { background: rgba(var(--on-dark-rgb), .1); color: var(--on-dark); }
body.phone .thread .why-btn, body.phone .thread .note-btn, body.phone .thread .why { color: var(--on-dark-2); }
body.phone .thread .row-note { font-size: 14.5px; color: var(--on-dark-2); }
body.phone .thread .inp, body.phone .thread .linkfield { background: rgba(var(--on-dark-rgb), .09); color: var(--on-dark); }
body.phone .thread .inp:focus { background: rgba(var(--on-dark-rgb), .13); }
body.phone .thread .inp::placeholder { color: var(--on-dark-3); }
body.phone .thread .linkfield button { background: rgba(var(--on-dark-rgb), .14); color: var(--on-dark); }
body.phone .thread .rate button { background: rgba(var(--on-dark-rgb), .1); color: var(--on-dark); }
body.phone .thread .rate button.on { background: rgba(var(--on-dark-rgb), .22); }
body.phone .thread .rate button.sel { background: var(--on-dark); color: var(--dark); }
body.phone .thread .rate-ends { color: var(--on-dark-3); }
body.phone .thread .rank-list button { background: rgba(var(--on-dark-rgb), .07); color: var(--on-dark); }
body.phone .thread .rank-list button.picked { background: rgba(var(--on-dark-rgb), .15); }
body.phone .thread .rank-list .rk { background: rgba(var(--on-dark-rgb), .1); color: var(--on-dark-3); }
body.phone .thread .rank-list button.picked .rk { background: var(--on-dark); color: var(--dark); }
body.phone .thread .rd i { background: rgba(var(--on-dark-rgb), .16); }
body.phone .thread .rd i.on { background: var(--on-dark); }
/* buttons on a phone: big and bubbly, with room (Na'il, 2026-11-24): 50px pills, 16px words, in every look. A pair under
   Make-Bot's words shares the row; "Why?" moved into his question (inlineWhy). The homepage's drawn link pill keeps its own. */
body.phone .btn:not(.btn--lg, .linkpill .btn) { height: 54px; padding: 0 24px; font-size: 17.5px; border-radius: 999px; }
body.phone .thread .row { flex-wrap: nowrap; gap: 10px; }
body.phone .thread .row > .bot { --h: 44px !important; flex: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }   /* Make-Bot, first in the row */
body.phone .thread .row > .btn { flex: 1 1 auto; padding: 0 14px; font-size: 16px; }   /* beside him, each from its own width: "Use this line" + "Not on my resume" fit at 375 */
body.phone .thread .q > .why-btn { margin: 0; padding: 0 2px; font-size: 16px; }
body.phone .thread .row { margin-top: 28.5px; }
body.phone .thread .inp, body.phone .thread .linkfield, body.phone .thread .rank-list, body.phone .thread .note-btn { margin-top: 23.5px; }
body.phone .thread .rate-q, body.phone .thread .why { margin-top: 23.5px; }
body.phone .thread .rate { margin-top: 18px; }
body.phone .thread .rank-list { gap: 10.5px; }
body.phone .rate { justify-content: space-between; gap: 8px; }   /* always 5: they spread across the row, evenly */
body.phone .rate button { width: 58px; height: 58px; font-size: 19px; }
body.phone .rate-ends { width: auto; margin-top: 10px; font-size: 14px; }   /* the ends sit under the first and last circle */
body.phone .rank-list button { height: 54px; padding-left: 6px; gap: 14px; font-size: 17.5px; border-radius: 27px; }
body.phone .rank-list .rk { width: 42px; height: 42px; font-size: 16px; }   /* the circle sits 6px from the row's top, bottom and side alike */
/* the phone type scale (Na'il, 2026-11-24: "mobile needs to be more airy … bigger text, more spacing, and bigger buttons"):
   every small size a step up. Uppercase labels 13, notes and meta 14 to 15, row text and values 16, toggles 40 high. */
body.phone :is(.k, .group-k, .tk, .g-k) { font-size: 14px; }
body.phone .tag { height: 28px; padding: 0 12px; font-size: 14px; }
body.phone :is(.part-t small, .rel-ends, .rel-you, .rkey, .kmore, .mp-total, .pr-label, .mcard-h em) { font-size: 15px; }
body.phone :is(.tcard .meta, .tp em, .who small, .mix-cell, .pm-sub, .mixpanel p, .sent) { font-size: 15.5px; }
body.phone :is(.ws-sub, .stage span, .mx-h span, .drag-hint, .apply-mix-h span, .crumb, .more, .note) { font-size: 15px; line-height: 1.5; }
body.phone :is(.tp, .mr, .mixviz .mr, .part .wt, .kcard .who b, .who b, .col-h, .mcard-h span, .pwho p, .step p) { font-size: 17.5px; }
body.phone :is(.snip.rz, .snip .job-h) { font-size: 15.5px; } body.phone .snip .job-sub { font-size: 14.5px; }
body.phone .chip { font-size: 15px; }
body.phone .rel-ends { gap: 21px; line-height: 1.35; } body.phone .rel-ends > :last-child { text-align: right; }
body.phone :is(.tab, .seg button) { height: 40px; padding: 0 16px; font-size: 16px; }
body.phone .stage-pill { height: 38px; font-size: 15.5px; }
body.phone .step h3 { font-size: 22.5px; }
body.phone .inp { font-size: 17.5px; }                                                  /* under 16px a phone zooms in on the field */
body.phone .acct { position: fixed; top: 11px; right: 18px; height: 42px; padding: 0 9px 0 5px; gap: 4px; border-radius: 21px; }
body.phone .acct > span:not(.avatar) { display: none; }
body.phone .acct .avatar { width: 32px; height: 32px; font-size: 12px; }
body.phone .rail-body { grid-row: 2; flex-direction: row; gap: 4px; padding: 0 12px 14px; }
body.phone .rail-body .rk, body.phone .rail-body .m-i, body.phone .nav-i .ico { display: none; }
body.phone .nav-i { height: 40px; padding: 0 12px; font-size: 14.5px; }
body.phone .nav-i em { margin-left: 5px; }
.note-btn { display: block; margin-top: 12px; padding: 0; border: 0; background: none; font-size: 14px; color: #555; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* the stepper: a dot per part, the one being asked with its name (.here, proven or not) */
body.phone .stepbar { min-height: 0; padding: 14px 20px 12px; gap: 6px; flex-wrap: nowrap; }
body.phone .stepbar .chip:not(.here) { flex: 1 1 0; min-width: 38px; height: 38px; padding: 0; justify-content: center; }   /* the steps share the width, never bunched at the left (Na'il, 2026-11-24) */
body.phone .stepbar .chip.here { flex: 0 1 auto; height: 38px; padding-right: 12px; }
/* only the step being asked keeps a circle inside its circle; on the others the number or check sits on the chip, which wears the part's colour */
body.phone .stepbar .chip:not(.here) .n { width: auto; height: auto; background: none; font-size: 16px; }
body.phone .stepbar .chip:not(.here) .n svg { width: 22px; height: 22px; }   /* the check or dash reads at a glance */
body.phone .stepbar .chip.here .n svg { width: 16px; height: 16px; }
body.phone .stepbar .chip:not(.here, .proven, .missing) { background: color-mix(in srgb, var(--pc) 45%, var(--surface)); color: var(--ink); }
body.phone .stepbar .chip:not(.here) .cl { display: none; }
body.phone .stepbar .chip.here { min-width: 0; }
body.phone .stepbar .chip .cl { overflow: hidden; text-overflow: ellipsis; }
body.phone .pane { padding: 0 0 24px; }

/* the resume on a phone: the same document reflowed to the screen, read as blocks (a line, a bullet, a skill) */
.sheet.reader { width: auto; min-height: 0; flex: 1; margin: 0 5px; padding: 36.5px 20px 39px; border-radius: 22px; }
.reader .rz { font-size: 16.5px; line-height: 1.55; }
.reader .rz h1 { font-size: 27px; }
.reader .rz .contact { margin-top: 10.5px; font-size: 14.5px; line-height: 1.5; }
.reader .rz h2 { margin: 41.5px 0 15.5px; }
.reader .rz .job { margin-bottom: 26px; }
.reader .rz .job-h { flex-wrap: wrap; column-gap: 13px; font-size: 16.5px; }
.reader .rz .job-sub { font-size: 15px; }
.reader .rz ul { margin: 0; padding: 0; list-style: none; }
.reader [data-b] { position: relative; margin: 10.5px -12px; padding: 14.5px 28px 14.5px 12px; border-radius: 18px; background: rgba(0, 122, 255, .09); cursor: pointer;
  -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent; transition: background .15s; }
.reader li[data-b] { padding-left: 30px; }
.reader li[data-b]::before { content: ''; position: absolute; left: 14px; top: 21px; width: 5px; height: 5px; border-radius: 50%; background: #1F3864; }
.reader .skills { display: flex; flex-wrap: wrap; gap: 13px 10.5px; margin-top: 5px; }
.reader .skills .sep { display: none; }
.reader .skills .sk { margin: 0; padding: 13px 16px; border-radius: 999px; font-size: 15.5px; line-height: 1.2; }
.reader [data-b]:active { background: rgba(0, 122, 255, .14); }
.reader [data-b].pick { background: color-mix(in srgb, var(--pc) 58%, transparent); }
.reader [data-b].pick.dim { background: color-mix(in srgb, var(--pc) 24%, transparent); }
.reader [data-b].pick::after { content: attr(data-mk); position: absolute; top: -6px; right: -5px; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px;
  background: var(--pc); box-shadow: 0 0 0 2px #fff; font: 700 11px/20px var(--font); color: #222; text-align: center; word-spacing: 2px; }
.reader [data-b].pick.hb-sel::after { content: ''; top: -9px; right: -7px; width: 28px; min-width: 0; height: 28px; padding: 0; border-radius: 50%;
  background: #007AFF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.6 8.3l2.9 2.9 5.9-6.4' fill='none' stroke='white' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 17px no-repeat; }
.ftap { position: absolute; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; background: rgba(17, 17, 17, .14); box-shadow: 0 0 0 7px rgba(17, 17, 17, .06); pointer-events: none; }

/* the apply link and where you stand */
body.phone .apply-head { padding: 28px 20px 8px; gap: 16px; }
body.phone .emp-mark.big { width: 52px; height: 52px; border-radius: 13px; font-size: 29px; }
body.phone .apply-head p { font-size: 15px; }
body.phone .apply-head h1, body.phone .ws-head h1, body.phone .ehead h1, body.phone .w-head h1, body.phone .pwho h1 { font-size: calc(30px * var(--display-k)); }
body.phone .apply-mix { padding: 28px 20px 0; }
body.phone .mixviz { grid-template-columns: minmax(0, 1fr); }
body.phone .mixviz > div { padding: 28px 24px; }
body.phone .mixviz .mr { grid-template-columns: 10px minmax(0, 1fr) 40px; row-gap: 13px; }
body.phone .mixviz .mrows { gap: 26px; }
body.phone .mixviz .mr .trk { grid-column: 1 / -1; grid-row: 2; }
/* bars on a phone: ONE height for every bar, the mix, the weights and where they sit (Na'il, 2026-11-24: "inconsistencies on the bar heights") */
body.phone :is(.trk, .trk.wf, .mrows.drag .trk, .mrows.drag .trk.wf, .mix, .mix.lg, .rel-track, .rel.mini .rel-track) { height: 22px; border-radius: 11px; }
body.phone :is(.trk b, .trk.wf b, .mix span, .mix.lg span) { border-radius: 11px; }
body.phone .rel.mini { padding-top: 16px; }
body.phone .rel.mini .rel-arrow { width: 18px; height: 14px; margin-left: -9px; }
body.phone .apply-parts { padding: 24px 20px 32px; }
body.phone .ws { padding: 39px 20px 52px; }
body.phone .ws-head { gap: 18px; }
body.phone .ws-sec { margin-top: 49.5px; }
body.phone .stages { grid-template-columns: minmax(0, 1fr); row-gap: 31px; margin-top: 26px; }
body.phone .stage { display: grid; grid-template-columns: 32px minmax(0, 1fr); column-gap: 18px; padding: 0; }
body.phone .stage .dot { grid-row: span 2; }
body.phone .stage b { margin-top: 6.5px; }
body.phone .stage::before { top: 40px; bottom: -22px; left: 15px; right: auto; width: 2px; height: auto; }
body.phone .next { margin-top: 34px; padding: 23.5px 20px; font-size: 17.5px; line-height: 1.5; align-items: flex-start; }
body.phone .ws-grid { grid-template-columns: minmax(0, 1fr); gap: 52px; margin-top: 47px; }

/* the employer's pages, one column */
body.phone .ehead { flex-wrap: wrap; align-items: flex-start; gap: 21px; padding: 36.5px 20px 26px; }
body.phone .ehead > div:first-child { max-width: none; }
body.phone .ehead p { margin-top: 10.5px; font-size: 16.5px; line-height: 1.5; }
body.phone .ehead .right { margin-left: 0; }
body.phone .tabs { padding: 0 20px 23.5px; }
body.phone .tgrid { grid-template-columns: minmax(0, 1fr); gap: 26px; padding: 5px 20px 41.5px; }
body.phone .w-head { padding: 36.5px 20px 10.5px; }
body.phone .w-head .meta, body.phone .w-head-acts { flex-wrap: wrap; font-size: 16px; }
body.phone .w-head-acts { gap: 13px; margin-top: 23.5px; }
body.phone .mgrid { grid-template-columns: minmax(0, 1fr); gap: 41.5px; padding: 28.5px 20px 41.5px; }
body.phone .parts { gap: 18px; }
body.phone .part { padding: 26px 24px; }
body.phone .part p { font-size: 16.5px; line-height: 1.55; }
body.phone .mix-col { position: static; }
body.phone .part .edit { opacity: 1; }                                                /* no hover on a phone */
body.phone .mrows.drag .trk { touch-action: pan-y; }                                  /* a sideways drag moves the slice, an upward one scrolls */
body.phone .ctable { padding: 0 12px 36.5px; }
body.phone .crow.head, body.phone .crow > .date { display: none; }
body.phone .crow { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "who stage" "mix ai" "rel rel"; gap: 18px 21px; padding: 28.5px 8px; }
body.phone .crow > :nth-child(1) { grid-area: who; }
body.phone .crow > :nth-child(2) { grid-area: mix; }
body.phone .crow > .aic { grid-area: ai; justify-self: end; }   /* the AI match at the end of the mix's line */
body.phone .crow > :nth-child(4) { grid-area: rel; margin-top: -10px; }   /* under the mix, as on the board's cards (Na'il, 2026-11-24) */
body.phone .crow > :nth-child(5) { grid-area: stage; }
body.phone .board { display: flex; gap: 18px; padding: 5px 20px 36.5px; scroll-snap-type: x mandatory; scroll-padding: 0 20px; }
body.phone .board .col { flex: 0 0 80%; min-width: 0; scroll-snap-align: start; }   /* 80% whatever is in it: the next stage always peeks in */
body.phone .kcard .who b { overflow: hidden; text-overflow: ellipsis; }
body.phone .kcard .who { gap: 10px; }
body.phone .kcard .status.aim { height: 28px; padding: 0 10px; font-size: 14px; }   /* a little smaller on a card, so the name stays whole */
body.phone .kcard { -webkit-touch-callout: none; }
body.phone .pmain { padding: 36.5px 20px 52px; }
body.phone .phead { flex-wrap: wrap; gap: 23.5px; }
body.phone .phead .avatar { width: 52px; height: 52px; font-size: 19.5px; }
body.phone .pwho { flex: 1; }
body.phone .pact { margin-left: 0; width: 100%; }
/* a page's main actions float at the block's foot, the full width, as the candidate's buttons do (footActs) */
body.phone .afoot { position: relative; flex: none; display: flex; gap: 10px; padding: 14px 20px 22px; }
body.phone .afoot > .bot { --h: 44px !important; flex: none; align-self: center; cursor: pointer; -webkit-tap-highlight-color: transparent; }
body.phone .afoot > :is(.btn, #pstage) { flex: 1 1 auto; justify-content: center; }   /* each from its own width, sharing the rest: the stage keeps its arrow */
body.phone .afoot #pstage { display: flex; }
body.phone .afoot :is(.stage-pill, .status) { width: 100%; height: 54px; justify-content: center; font-size: 17.5px; border-radius: 999px; }
body.phone .pstats { grid-template-columns: minmax(0, 1fr); gap: 34px; margin-top: 36.5px; padding: 28px 24px; }
body.phone .talent { margin-top: 36.5px; padding: 28px 24px 30px; }
body.phone .talent p { font-size: calc(20px * var(--display-k)); }
body.phone .talent + .pstats { margin-top: 23.5px; }
body.phone .aicard { grid-template-columns: minmax(0, 1fr); gap: 22px; margin-top: 23.5px; padding: 28px 24px; }
body.phone .ai-checks li, body.phone .aiv { font-size: 16px; }
body.phone .status.aim { height: 32px; padding: 0 12px; font-size: 15px; }
body.phone .ai-score small { font-size: 15.5px; }
body.phone .aiv { margin-left: 0; }
body.phone .mixcard { margin-top: 23.5px; padding: 28px 24px 18px; }
body.phone .mixcard-grid { grid-template-columns: minmax(0, 1fr); gap: 26px; }
body.phone .mixcard-radar { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 20px; }
body.phone :is(.mixpanel, .tcard, .pstats, .mixcard, .talent, .mixviz, .part, .tile, .mcard) { margin-left: -15px; margin-right: -15px; }   /* every white card sits 5px from the block's sides; the page's words keep the 20px edge (Na'il, 2026-11-24) */
body.phone :is(.tcard, .mixpanel) { padding: 26px 24px; }
/* a phone is small: only what's needed now (Na'il, 2026-11-24: "more minimal where it makes sense"). Gone: a page's explaining line under its title, the
   breadcrumb the nav tabs already give, a card label that repeats its heading, "PDF or Word", a template's part list (its mix bar stays) */
body.phone :is(.ehead p, .ehead .crumb, .apply-mix-h span, .mixviz > div:first-child > .k, .thread .row-note, .tcard.scratch span, .tcard .tgroup) { display: none; }
body.phone .mx-row.head { display: none; }
body.phone .mx-row { grid-template-columns: minmax(0, 1fr) auto 40px; grid-template-areas: "pl pl pl" "wc rd rk"; gap: 13px 18px; padding: 21px 0; }
body.phone .mx-row > :nth-child(1) { grid-area: pl; }
body.phone .mx-row > :nth-child(2) { grid-area: wc; }
body.phone .mx-row > :nth-child(3) { grid-area: rd; }
body.phone .mx-row > :nth-child(4) { grid-area: rk; }
body.phone .pbody { grid-template-columns: minmax(0, 1fr); gap: 52px; margin-top: 47px; }
body.phone .presume { position: static; }
body.phone .snip, body.phone .note, body.phone .prow .btn, body.phone .sent { margin-left: 0; }
body.phone .pr-label { flex-wrap: wrap; gap: 5px 15.5px; }

/* the homepage, one column */
body.phone .nav { height: 68px; padding: 0 22px; gap: 15.5px; }
body.phone .nav-links, body.phone .nav-right .btn { display: none; }
body.phone .hero { grid-template-columns: minmax(0, 1fr); gap: 57px; padding: 21px 22px 83px; }
body.phone .hero h1 { font-size: calc(44px * var(--display-k)); margin-top: 23.5px; }
body.phone .lede { font-size: 19.5px; line-height: 1.55; margin-top: 28.5px; }
body.phone .cta { flex-direction: column; gap: 15.5px; margin-top: 41.5px; }
body.phone .scene { min-height: 0; padding: 34px 20px 31px; border-radius: 24px; }
body.phone .scene-top { gap: 18px; }
body.phone .scene-top .bot { --h: 64px !important; }
body.phone .scene-top .bubble { margin-top: 8px; font-size: 17.5px; }
body.phone .answer { font-size: 15.5px; padding: 15.5px 10px 13px 16px; }
body.phone .answer .nw { white-space: nowrap; }
body.phone .mcard-h { flex-wrap: wrap; }
body.phone .how { padding: 31px 22px 83px; }
body.phone .how > h2 { font-size: calc(32px * var(--display-k)); }   /* the section's own heading, not the mini resume's */
body.phone .steps { grid-template-columns: minmax(0, 1fr); gap: 67.5px; margin-top: 47px; }
body.phone .band { flex-direction: column; align-items: flex-start; gap: 23.5px; margin: 0 22px 73px; padding: 39px 24px; }
body.phone .band .btn { margin-left: 0; }
body.phone .foot { padding: 0 22px 52px; }

/* the prototype's popups on a phone */
body.phone .intro { padding: 18px 18px 16px; border-radius: 24px; }
body.phone .intro p { font-size: 15.5px; }
body.phone .intro .i-ok { height: 50px; padding: 0 26px; border-radius: 25px; font-size: 16px; }
body.phone .toast { top: 128px; font-size: 15px; }   /* under the nav row, clear of its hotspot */

/* ───────────── THE EDITORIAL LOOK: what its tokens alone cannot say ─────────────
   The pages are paper, so Make-Bot's column, the top bar and the work are set apart by hairlines, not a frame colour; no gap
   and no rounded block. No shadows: a card is a white sheet with a hairline edge. Make-Bot's words and the reading text are
   in the reading serif; buttons, chips and labels stay in the sans. */
body[data-look="editorial"] .app { padding: 0; background: var(--bg); }
body[data-look="editorial"] .app > .block { border-radius: 0; border-left: 1px solid var(--line); }
body[data-look="editorial"].phone .app > .block { border-left: 0; border-top: 1px solid var(--line); }
body[data-look="editorial"] .bubble { background: var(--surface-2); box-shadow: none; border-radius: 14px; }
body[data-look="editorial"] .scene .bubble { background: var(--surface); }
body[data-look="editorial"] :is(.bubble .q, .bubble .read, .bubble .why, .say .q, .say .read, .say .why) { font-family: var(--read); font-size: 17px; line-height: 1.5; }
body[data-look="editorial"] :is(.lede, .part p, .next, .band p) { font-family: var(--read); }
body[data-look="editorial"] :is(.part, .tcard, .mixviz > div, .pstats, .talent, .mixcard, .mcard, .tile, .kcard, .acct) { box-shadow: none; outline: 1px solid var(--line); outline-offset: -1px; }
body[data-look="editorial"] .sheet { box-shadow: 0 0 0 1px var(--line); }
body[data-look="editorial"] .scene { background: var(--surface-2); }
body[data-look="editorial"] .logo .ai { font-style: italic; font-weight: 400; }
body[data-look="editorial"] .talent p { font-style: italic; font-weight: 400; }   /* their words, set like a pull quote */
/* last, so it wins over the phone rules above */
@media (max-width: 380px) {   /* a small phone: the nav row and the stepper's dots give back a little width so names stay whole */
  body.phone .nav-i { padding: 0 10px; }
  body.phone .kcard { padding-left: 12px; padding-right: 12px; } body.phone .kcard .who { gap: 8px; }
  body.phone .stepbar { gap: 5px; } body.phone .stepbar .chip:not(.here) { min-width: 36px; height: 36px; } body.phone .stepbar .chip.here { height: 36px; }
}
@media (max-height: 700px) {   /* a short phone (an SE): Make-Bot's question keeps its air but gives back a little, so the longest ones stay clear of the fade */
  body.phone .col-body { max-height: 70dvh; }
  body.phone .thread, body.phone .thread > .bubble, body.phone .say { font-size: 17px; }
  body.phone .thread .row { margin-top: 20px; }
  body.phone :is(.thread .inp, .thread .linkfield, .thread .rank-list, .thread .note-btn, .thread .rate-q, .thread .why) { margin-top: 16px; }
  body.phone .thread .rate { margin-top: 12px; }
  body.phone .thread .rank-list { gap: 6px; }
  body.phone .thread .rank-list button { height: 46px; padding-left: 5px; border-radius: 23px; }
  body.phone .thread .rank-list .rk { width: 36px; height: 36px; }
  body.phone .thread .rate button { width: 52px; height: 52px; }
  body.phone .thread .btn:not(.btn--lg, .linkpill .btn) { height: 50px; }
}
/* ───────────── A PHONE WITH THE ASK AT THE TOP (?ask=top, or the prototype menu; Na'il, 2026-11-24) ─────────────
   His words: "why is the resume even in the background here, the question has nothing to do with it", and "the layering of
   the scrim often feels like it may not even be needed". Make-Bot sits under the logo with his ask, 3 lines at most, on the
   frame's dark; nothing is layered. The light block holds only what you act on: the resume when he asks you to tap lines,
   otherwise the rating, the note, the top 3 or your words, with nothing behind them. The buttons sit at the block's foot.
   (round 14, his words: "reduce the card height ... bring Make-Bot down too if there is extra space", "his text at least 3x
   bigger", "as terse as possible", "a way to swipe up to get him out of the way") The block is as tall as what's in it, and
   the buttons sit the same 30px under its last thing; spare room goes ABOVE Make-Bot, so he sits on the block. His words are
   3x (52px), a few words each. A swipe up (on him, or scrolling the work) folds him away; scrolling back to the top brings
   him back, and so does every new question. Rows: logo / spare room / his words / the block. */
body.phone.ask-top .app.split { --scrim: 0px; grid-template-rows: auto minmax(0, 1fr) auto auto; }
body.phone.ask-top .app.split > .block { grid-row: 4; min-height: 0; }
body.phone.ask-top .col-body { grid-row: 3; min-height: min-content; max-height: none; margin-top: 0; padding: 0 20px; background: none; -webkit-mask-image: none; mask-image: none; overflow: visible;
  transition: max-height .36s cubic-bezier(.22, .8, .24, 1), opacity .26s ease; }
body.phone.ask-top .app.fold .col-body { min-height: 0; overflow: hidden; }
body.phone.ask-top .app.tuck .col-body { opacity: 0; }
body.phone.ask-top .thread { display: block; position: relative; padding: 4px 0 28px; font-size: 17.5px; line-height: 1.45; }
body.phone.ask-top .thread > .bubble { font-size: 17.5px; line-height: 1.45; }
body.phone.ask-top .thread > .bot { --h: 46px !important; position: absolute; left: 0; top: calc(4px + (52px * var(--display-k) * 1.08 - 46px) / 2); margin: 0; }
body.phone.ask-top .thread > .bubble > .q { margin: 0; text-indent: 60px; color: var(--on-dark); font-family: var(--display); font-weight: 400;
  font-size: calc(52px * var(--display-k)); line-height: 1.08; letter-spacing: var(--display-track); }
body.phone.ask-top .thread > .bubble > .q > .why-btn { font-family: var(--font); font-size: 16px; letter-spacing: 0; }
body.phone.ask-top .thread > .bubble > .why { margin: 14px 0 0; font-size: 16px; }
body.phone.ask-top .pane { padding-bottom: 28px; }
.work, .wfoot { display: none; }
body.phone.ask-top .block.own { background: var(--bg); }
body.phone.ask-top .block.own > .pane { display: none; }
body.phone.ask-top .block.own > .work { display: block; flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 18px 20px 16px; }   /* 16 + the foot's 14: 30px to the buttons */
body.phone.ask-top .wfoot { display: block; flex: none; padding: 14px 20px 22px; }
body.phone.ask-top .wfoot:empty { display: none; }
body.phone.ask-top .wfoot .row { display: flex; gap: 10px; margin: 0; }
body.phone.ask-top .wfoot .row > .btn { flex: 1 1 0; padding: 0 16px; }
body.phone.ask-top .wfoot :is(.inp, .linkfield) { margin: 0 0 14px; }
body.phone.ask-top .wfoot .linkfield { height: 54px; border-radius: 27px; padding: 0 8px 0 20px; font-size: 15.5px; }
body.phone.ask-top .wfoot .linkfield button { width: 40px; height: 40px; border-radius: 20px; }
/* what you answer with, on the light block */
body.phone.ask-top .work p { margin: 0; }
body.phone.ask-top .work > * + * { margin-top: 30px; }
body.phone.ask-top .work textarea.inp { min-height: 0; padding: 18px 20px; border-radius: 24px; line-height: 1.5; }   /* as tall as what's in it */
body.phone.ask-top .work .rate-q .q { font-size: 17.5px; font-weight: 600; }
body.phone.ask-top .work .rate { margin-top: 16px; }
body.phone.ask-top .work .rate button { background: var(--tint); color: var(--ink); }
body.phone.ask-top .work .rate button.on { background: color-mix(in srgb, var(--ink) 16%, transparent); }
body.phone.ask-top .work .rate button.sel { background: var(--btn); color: var(--btn-ink); }
body.phone.ask-top .work .rate-ends { color: var(--ink-3); }
body.phone.ask-top .work .note-btn { font-size: 16px; color: var(--ink-2); }
body.phone.ask-top .work .plines p { padding: 18px 20px; border-radius: 22px; background: color-mix(in srgb, var(--pc) 45%, var(--surface)); font-size: 16.5px; line-height: 1.5; }
body.phone.ask-top .work .plines p + p { margin-top: 10px; }
body.phone.ask-top .work .rank-list { margin: 0; gap: 10px; }
body.phone.ask-top .work .rank-list button { background: var(--tint); color: var(--ink); }
body.phone.ask-top .work .rank-list button.picked { background: color-mix(in srgb, var(--ink) 12%, transparent); }
body.phone.ask-top .work .rank-list .rk { background: var(--surface); color: var(--ink-3); }
body.phone.ask-top .work .rank-list button.picked .rk { background: var(--btn); color: var(--btn-ink); }
body.phone.ask-top .work .past.recap { display: flex; gap: 10px; margin-bottom: 0; }
body.phone.ask-top .work .hstep { padding: 16px 18px; background: var(--surface); }
body.phone.ask-top .work .st-ic { background: var(--tint); color: var(--ink-2); }
body.phone.ask-top .wfoot .row-note { display: none; }
body.phone.ask-top .work .st-q { font-size: 14px; color: var(--ink-3); }
body.phone.ask-top .work .st-a { font-size: 16px; color: var(--ink); }
body[data-look="editorial"].ask-top .work .hstep { outline: 1px solid var(--line); outline-offset: -1px; }
