/* ============================================================
   InternDoor's own job posting and applications (11 Nov 2026): /post-a-job ("Two doors", his pick of three
   previews), /apply (a student applies to a role posted on InternDoor) and /employer (the employer reads the
   applications). Loaded by those three pages only (HOSTED_ASSETS in src/pages.js), after job.css, whose .jb-lg
   glass layer the floating capsule uses.

   InternDoor's own tokens throughout (styles.css). Inputs drawn as the old form drew them (46px, 12px radius,
   an ink focus ring). Glass only on what floats or chooses: the capsule and the path switch (IDGlass.tabs).
   No hover lift anywhere (his rule); motion kept for everyone (his rule, no reduced-motion branch).
   Class prefixes pk- (shared), pka- (post a job), ap- (apply), em- (employer): checked free in every
   stylesheet and script on 11 Nov.

   Hand-committed with the markup that uses it; bump ?v= in HOSTED_ASSETS when both must ship together.
   ============================================================ */

.pk { --pk-ease: var(--ease-out); --pk-press: .14s; --pk-ui: .22s; }
.pk .wrap { position: relative; }
.pk-sr { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.pk [hidden] { display: none !important; }

/* ---------- fields ---------- */
.pk-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 16px; }
.pk-grid > [data-f="link"], .pk-grid > [data-f="title"], .pk-grid > [data-f="about"], .pk-grid > [data-f="skills"],
.pk-grid > [data-f="batches"], .pk-grid > [data-f="questions"], .pk-grid > .pk-fixed, .pk-grid > [data-f="notes"],
.pk-grid > [data-f="notify"], .pk-grid > [data-f="email"] { grid-column: 1 / -1; }
@media (max-width: 640px) { .pk-grid { grid-template-columns: minmax(0, 1fr); } }

.pk-group { margin: 0; padding: 0; border: 0; min-width: 0; }
.pk-group > legend { float: left; width: 100%; padding: 0; margin: 0 0 16px; font-size: 15px; font-weight: 600; letter-spacing: -.01em; color: var(--ink); }
.pk-group > .pk-grid { clear: both; }

.pk-f { display: grid; gap: 7px; align-content: start; min-width: 0; }
.pk-l { font-size: 14px; font-weight: 600; color: var(--ink); }
.pk-opt { margin-left: 6px; font-weight: 400; color: var(--ink-2); }
.pk-hint, .pk-err, .pk-count { margin: 0; font-size: 13px; line-height: 1.45; }
.pk-hint, .pk-count { color: var(--ink-2); }
.pk-count { font-variant-numeric: tabular-nums; }
.pk-count:empty { display: none; }
.pk-err { color: var(--hot); }
.pk-err:empty { display: none; }

.pk-in, .pk-money, .pk-seg, .pk-stepper, .pk-chips {
  box-sizing: border-box; min-height: 46px; border: 1px solid var(--rule-2);
  border-radius: var(--r); background: var(--card); color: var(--ink);
  transition: border-color .16s ease, box-shadow .16s ease, background-color .16s ease;
}
.pk-in { width: 100%; min-width: 0; height: 46px; padding: 0 14px; font: 400 16px/1.25 var(--ui); }
.pk-in::placeholder, .pk-chip-in::placeholder { color: var(--ink-3); opacity: 1; }
textarea.pk-ta { height: auto; min-height: 150px; max-height: 420px; padding: 12px 14px; line-height: 1.5; resize: vertical; field-sizing: content; }
textarea.pk-ta-s { min-height: 76px; }
@media (hover: hover) and (pointer: fine) {
  .pk-in:hover, .pk-money:hover, .pk-stepper:hover, .pk-chips:hover { border-color: var(--ink-3); }
}
.pk-in:focus-visible, .pk-money:focus-within, .pk-chips:focus-within, .pk-stepper:focus-within {
  outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px color-mix(in oklab, var(--ink) 22%, transparent);
}
.pk-in[aria-invalid="true"], .pk-money:has([aria-invalid="true"]), .pk-chips:has([aria-invalid="true"]) { border-color: var(--hot); }
.pk-in[aria-invalid="true"]:focus-visible, .pk-money:has([aria-invalid="true"]):focus-within { box-shadow: 0 0 0 3px color-mix(in oklab, var(--hot) 28%, transparent); }
.pk-in[type="date"] { color-scheme: inherit; }

/* A select drawn like the inputs, with its own chevron. */
.pk-selw { position: relative; }
.pk-sel { appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer; }
.pk-selw::after, .pk-money::after {
  content: ""; position: absolute; right: 16px; top: 50%; width: 6px; height: 6px; pointer-events: none;
  border-right: 1.5px solid var(--ink-2); border-bottom: 1.5px solid var(--ink-2); transform: translateY(-70%) rotate(45deg);
}
.pk-sel option, .pk-per option { background: var(--card); color: var(--ink); }

/* Pay: rupee sign, figure, period as one control. The figure is grouped the Indian way as you type. */
.pk-money { position: relative; display: flex; align-items: stretch; height: 46px; }
.pk-cur { display: flex; align-items: center; padding-left: 14px; font-size: 16px; color: var(--ink-2); }
.pk-in.pk-amt { flex: 1 1 0; width: 0; height: 100%; padding: 0 10px 0 6px; border: 0; background: transparent; box-shadow: none; font-variant-numeric: tabular-nums; }
.pk-in.pk-amt:focus-visible { box-shadow: none; }
.pk-per {
  appearance: none; -webkit-appearance: none; height: 100%; margin: 0; padding: 0 38px 0 14px;
  border: 0; border-left: 1px solid var(--rule-2); border-radius: 0 var(--r) var(--r) 0;
  background: transparent; color: var(--ink); font: 500 15px var(--ui); cursor: pointer;
}
.pk-per:focus-visible { outline: 2px solid var(--ink); outline-offset: -3px; }

/* A segmented choice on real radios; one lens slides under the chosen label (kit.js seg). */
.pk-seg {
  position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr);
  height: 46px; padding: 3px; isolation: isolate; background: var(--bg-2);
}
.pk-seg input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.pk-seg label {
  position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; padding: 0 10px;
  border-radius: calc(var(--r) - 4px); font-size: 14.5px; font-weight: 500; color: var(--ink-2);
  white-space: nowrap; cursor: pointer; transition: color .2s ease, scale .35s var(--spring);
  -webkit-tap-highlight-color: transparent; user-select: none; -webkit-user-select: none;
}
.pk-seg label:active { scale: .97; }
.pk-seg input:checked + label { color: var(--ink); }
.pk-seg input:focus-visible + label { outline: 2px solid var(--ink); outline-offset: 1px; }
.pk-seg-ind {
  position: absolute; z-index: 0; top: 3px; left: 0; bottom: 3px; width: 0; border-radius: calc(var(--r) - 4px);
  background: color-mix(in oklab, var(--ink) 11%, var(--card));
  box-shadow: inset 0 0 0 .5px var(--lg-rim), inset 1px 1.5px 0 -.5px var(--lg-lens-hi), 0 4px 12px -4px rgba(0, 0, 0, .4);
  opacity: 0;
}
.pk-seg.is-ready .pk-seg-ind { opacity: 1; transition: transform .42s var(--spring), width .42s var(--spring); }
.pk-seg.is-ready input:checked + label { background: transparent; }
:root[data-theme="light"] .pk-seg-ind { background: #fff; box-shadow: 0 0 0 .5px rgba(9, 9, 11, .1), 0 2px 8px -2px rgba(9, 9, 11, .18); }

/* Openings: a stepper; the figure rolls when it changes (kit.js). */
.pk-stepper { display: grid; grid-template-columns: 46px minmax(0, 1fr) 46px; align-items: stretch; height: 46px; overflow: hidden; }
.pk-st-b { appearance: none; border: 0; background: transparent; color: var(--ink); font: 500 20px/1 var(--ui); cursor: pointer; transition: background-color .16s ease; -webkit-tap-highlight-color: transparent; }
.pk-st-b i { display: inline-block; font-style: normal; transition: scale .3s var(--spring); }
.pk-st-b:active i { scale: .8; }
.pk-st-b:focus-visible { outline: 2px solid var(--ink); outline-offset: -4px; border-radius: 10px; }
@media (hover: hover) and (pointer: fine) { .pk-st-b:hover { background: var(--lg-hover); } }
.pk-in.pk-st-n { height: 100%; border: 0; border-radius: 0; background: transparent; text-align: center; font-variant-numeric: tabular-nums; box-shadow: none; }

/* Skills: chips inside the field, suggestions under it. Chips arrive from .95 with a fade, never from 0. */
.pk-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; height: auto; padding: 6px 8px; cursor: text; }
.pk-chip-list { display: contents; margin: 0; padding: 0; list-style: none; }
.pk-chip {
  display: inline-flex; align-items: center; gap: 4px; height: 32px; padding: 0 4px 0 12px; border-radius: var(--r-pill);
  background: color-mix(in oklab, var(--ink) 9%, var(--card)); color: var(--ink); font-size: 14px;
  animation: pk-in .26s var(--ease-out) both;
}
.pk-chip button { appearance: none; display: grid; place-items: center; width: 26px; height: 26px; border: 0; border-radius: 50%; background: transparent; color: var(--ink-2); cursor: pointer; font-size: 15px; }
.pk-chip button:hover { color: var(--ink); background: var(--lg-hover); }
.pk-chip button:focus-visible { outline: 2px solid var(--ink); }
.pk-chip.is-out { animation: pk-out .16s ease-in both; }
.pk-chip-in { flex: 1 1 140px; min-width: 120px; height: 32px; padding: 0 6px; border: 0; background: transparent; color: var(--ink); font: 400 16px var(--ui); outline: none; }
.pk-sugg { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.pk-sg, .pk-tg {
  appearance: none; height: 34px; padding: 0 13px; border: 1px solid var(--rule-2); border-radius: var(--r-pill);
  background: transparent; color: var(--ink-15); font: 500 13.5px var(--ui); cursor: pointer;
  transition: border-color .16s ease, background-color .16s ease, color .16s ease, scale .3s var(--spring);
  -webkit-tap-highlight-color: transparent;
}
.pk-sg::before { content: "+"; margin-right: 6px; color: var(--ink-2); }
.pk-sg:active, .pk-tg:active { scale: .96; }
.pk-sg:focus-visible, .pk-tg:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.pk-sg.is-used { display: none; }
@media (hover: hover) and (pointer: fine) { .pk-sg:hover, .pk-tg:hover { border-color: var(--ink-3); color: var(--ink); } }
.pk-toggles { display: flex; flex-wrap: wrap; gap: 8px; }
.pk-tg { height: 40px; min-width: 72px; font-variant-numeric: tabular-nums; }
.pk-tg[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: var(--bg); }
.pk-f:has(.pk-tg) .pk-err:not(:empty) ~ * { color: inherit; }

/* Screening questions: rows that arrive and leave with a fold. */
.pk-qs { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; counter-reset: pkq; }
.pk-q { display: grid; grid-template-columns: 26px minmax(0, 1fr) 40px; align-items: center; gap: 8px; animation: pk-in .28s var(--ease-out) both; }
.pk-q::before { counter-increment: pkq; content: counter(pkq); color: var(--ink-2); font: 500 13px var(--mono); text-align: center; }
.pk-q.is-out { animation: pk-out .16s ease-in both; }
.pk-q-x { appearance: none; width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; color: var(--ink-2); cursor: pointer; font-size: 18px; }
.pk-q-x:hover { color: var(--ink); background: var(--lg-hover); }
.pk-q-x:focus-visible { outline: 2px solid var(--ink); }
.pk-add {
  appearance: none; justify-self: start; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px 0 12px;
  border: 1px dashed var(--rule-2); border-radius: var(--r-pill); background: transparent; color: var(--ink); font: 500 14px var(--ui);
  cursor: pointer; transition: border-color .16s ease, scale .3s var(--spring);
}
.pk-add:active { scale: .97; }
.pk-add:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .pk-add:hover { border-color: var(--ink-3); } }
.pk-plus { position: relative; width: 18px; height: 18px; border-radius: 50%; background: var(--cta); }
.pk-plus::before, .pk-plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 1.6px; margin: -.8px 0 0 -4px; border-radius: 1px; background: var(--cta-ink); }
.pk-plus::after { transform: rotate(90deg); }

.pk-fixed .pk-incl { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.pk-fixed .pk-incl li { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 12px; border-radius: var(--r-pill); background: var(--bg-2); border: 1px solid var(--rule); font-size: 13.5px; color: var(--ink-15); }
.pk-fixed .pk-incl li::before { content: ""; width: 7px; height: 4px; margin-top: -2px; border: solid var(--ink); border-width: 0 0 1.6px 1.6px; transform: rotate(-45deg); }

@keyframes pk-in { from { opacity: 0; transform: scale(.95); } }
@keyframes pk-out { to { opacity: 0; transform: scale(.95); } }

/* The error summary at the top of a refused send: its links move focus to the field. */
.pk-sum { margin: 0 0 20px; padding: 12px 14px; border-radius: var(--r); border: 1px solid color-mix(in oklab, var(--hot) 60%, transparent); background: color-mix(in oklab, var(--hot) 9%, var(--card)); color: var(--ink); font-size: 14px; }
.pk-sum a { color: var(--ink); }

/* ---------- the one action ---------- */
.pk-send {
  position: relative; appearance: none; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 28px; border-radius: var(--r-pill); border: 1px solid var(--cta); background: var(--cta); color: var(--cta-ink);
  font: 600 16px var(--ui); white-space: nowrap; cursor: pointer;
  transition: transform .14s cubic-bezier(.23, 1, .32, 1), filter .16s ease, box-shadow .16s ease;
  -webkit-tap-highlight-color: transparent;
}
.pk-send:active:not(:disabled) { transform: scale(.97); }
.pk-send:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { .pk-send:not(:disabled):hover { filter: brightness(1.06); box-shadow: 0 0 0 4px color-mix(in oklab, var(--cta) 22%, transparent); } }
.pk-send.is-busy { cursor: progress; }
.pk-send.is-busy .pk-send-t { opacity: .0; }
.pk-send.is-busy::after {
  content: ""; position: absolute; width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid color-mix(in oklab, var(--cta-ink) 30%, transparent); border-top-color: var(--cta-ink); animation: pk-spin .7s linear infinite;
}
@keyframes pk-spin { to { transform: rotate(1turn); } }
.pk-assure { margin: 0; font-size: 13.5px; color: var(--ink-2); }

/* ---------- the folded reads ---------- */
.pk-more { display: grid; }
.pk-d { border-top: 1px solid var(--rule); }
.pk-d:last-child { border-bottom: 1px solid var(--rule); }
.pk-d > summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 6px 2px;
  list-style: none; cursor: pointer; font-size: 15.5px; font-weight: 500; color: var(--ink); -webkit-tap-highlight-color: transparent;
}
.pk-d > summary::-webkit-details-marker { display: none; }
.pk-d > summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 8px; }
.pk-chev { flex: none; position: relative; width: 28px; height: 28px; border-radius: 50%; background: var(--bg-2); border: 1px solid var(--rule); transition: rotate .32s var(--ease-out), background-color .16s ease; }
.pk-chev::before { content: ""; position: absolute; left: 50%; top: 50%; width: 6px; height: 6px; margin: -5px 0 0 -3px; border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: rotate(45deg); }
.pk-d[open] .pk-chev { rotate: 180deg; }
@media (hover: hover) and (pointer: fine) { .pk-d > summary:hover .pk-chev { background: var(--card-2); } }
.pk-d-b { padding: 0 2px 18px; }
.pk-d-b ul { display: grid; gap: 8px; margin: 0; padding: 0 0 0 18px; max-width: 64ch; font-size: 15px; line-height: 1.55; color: var(--ink-15); }
.pk-d-b li::marker { color: var(--ink-3); }

/* ---------- NVIDIA Inception program (badge at its own size, never larger than our brand) ---------- */
.pk-inc-b { display: flex; align-items: center; gap: 14px; }
.pk-inc-b p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--ink-15); }
.pk-inc .inc-badge { flex: none; display: block; width: 111px; height: 48px; }
@media (max-width: 480px) { .pk-inc .inc-badge { width: 88px; height: 38px; } }
.pk-inc-legal { margin: 10px 0 0; max-width: 72ch; font-size: 11.5px; line-height: 1.5; color: var(--ink-2); }

/* ---------- sent ---------- */
.pk-done { display: grid; justify-items: start; gap: 6px; padding: 8px 0 4px; outline: none; }
.pk-done h3 { margin: 10px 0 0; font-size: 22px; letter-spacing: -.02em; }
.pk-done p { margin: 0; max-width: 54ch; font-size: 15px; line-height: 1.55; color: var(--ink-15); }
.pk-done p a { color: var(--ink); }
.pk-done-ring { stroke-dasharray: 1; stroke-dashoffset: 1; transform: rotate(-90deg); transform-origin: 24px 24px; }
.pk-done-tick { stroke-dasharray: 1; stroke-dashoffset: 1; }
.pk-done.is-in .pk-done-ring { animation: pk-draw .7s var(--ease-out) .05s forwards; }
.pk-done.is-in .pk-done-tick { animation: pk-draw .36s var(--ease-out) .5s forwards; }
.pk-done.is-in > * { animation: pk-rise .5s var(--ease-out) both; }
.pk-done.is-in > :nth-child(2), .pk-done.is-in > :nth-child(3) { animation-delay: .12s; }
.pk-done.is-in > :last-child { animation-delay: .2s; }
@keyframes pk-draw { to { stroke-dashoffset: 0; } }
@keyframes pk-rise { from { opacity: 0; transform: translateY(8px); } }
.pk-again { appearance: none; margin-top: 14px; height: 40px; padding: 0 16px; border: 1px solid var(--rule-2); border-radius: var(--r-pill); background: transparent; color: var(--ink); font: 500 14px var(--ui); cursor: pointer; }
.pk-again:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

/* ---------- the glass switch (IDGlass.tabs lens) shared by A and B ---------- */
.pk-switch { display: inline-grid; grid-auto-flow: column; padding: 4px; border-radius: var(--r-pill); }
.pk-switch > [role="tab"] {
  appearance: none; display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 18px; border: 0; border-radius: var(--r-pill);
  background: transparent; color: var(--ink-2); font: 500 14.5px var(--ui); white-space: nowrap; cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.pk-switch > [role="tab"][aria-selected="true"] { color: var(--ink); background: var(--lg-pill); }
.pk-switch > [role="tab"]:focus-visible { outline: 2px solid var(--ink); outline-offset: 1px; }
.pk-switch.has-ind .seg-ind { border-radius: var(--r-pill); }

/* A "New" chip: ink on a faint accent tint (accent on its own tint fails contrast). */
.pk-new {
  display: inline-flex; align-items: center; height: 20px; padding: 0 8px; border-radius: var(--r-pill);
  background: color-mix(in oklab, var(--accent) 16%, transparent); color: var(--ink); font: 500 11.5px var(--ui);
}

/* page.css draws .page h2 as a 13px label; these pages use real headings. */
.page.pk h2 { display: block; margin: 0; font-family: var(--display); font-size: 22px; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; color: var(--ink); text-wrap: balance; }
.page.pk h1 { text-wrap: balance; }
.page.pk p { text-wrap: pretty; }

/* Without script the form cannot send (it has no action), so the page offers the email instead. */
.pk-noscript { margin: 32px 0 0; font-size: 15px; color: var(--ink-15); }
.pk-js .pk-noscript { display: none; }
.pk-msg { margin: 0; font-size: 14px; color: var(--hot); }
.pk-msg:empty { display: none; }

/* ---------- /post-a-job: "Two doors". One question before any form; the open door grows into the form. ---------- */
.pka { padding-bottom: 72px; }
.pka-head { max-width: 760px; margin-top: 18px; }
.page.pka h1 { font-size: clamp(32px, 4.6vw, 54px); line-height: 1.02; letter-spacing: -.04em; font-weight: 600; }
.pka-lede { margin: 14px 0 0; max-width: 54ch; font-size: 17.5px; line-height: 1.55; color: var(--ink-15); }

/* Who sees it: three figures in type, the Inception badge beside them. No boxes. */
.pka-proof { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 28px 56px; align-items: end; margin-top: 36px; padding-bottom: 36px; border-bottom: 1px solid var(--rule); }
.pka-figs { display: flex; flex-wrap: wrap; gap: 18px 44px; margin: 0; }
.pka-figs > div { display: flex; flex-direction: column-reverse; gap: 2px; }
.pka-figs dd { margin: 0; font: 600 clamp(28px, 3vw, 36px)/1 var(--display); letter-spacing: -.035em; color: var(--ink); font-variant-numeric: tabular-nums; }
.pka-figs dd.is-lead { color: var(--accent); }
.pka-figs dt { font-size: 14px; color: var(--ink-2); }
.pka-figs-note { grid-column: 1; margin: -14px 0 0; font-size: 12.5px; color: var(--ink-2); }
.pka-inc { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
@media (max-width: 900px) {
  .pka-proof { grid-template-columns: minmax(0, 1fr); }
  .pka-inc { grid-column: 1; grid-row: auto; }
  .pka-figs-note { margin: -16px 0 0; }
}

/* ---------- the doors ---------- */
.pka-pick { margin-top: 44px; }
.pka-doors { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; margin-top: 18px; }
@media (max-width: 760px) { .pka-doors { grid-template-columns: minmax(0, 1fr); } }
.pka-door {
  appearance: none; position: relative; display: grid; grid-template-rows: auto auto auto 1fr auto; gap: 12px; align-content: stretch;
  padding: 22px 22px 20px; border: 1px solid var(--rule-2); border-radius: 20px; background: var(--card); color: var(--ink);
  text-align: left; font: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: border-color .2s ease, background-color .2s ease, scale .35s var(--spring);
}
.pka-door:active { scale: .985; }
.pka-door:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) {
  .pka-door:hover { border-color: var(--ink-3); background: var(--card-2); }
  .pka-door:hover .pka-door-go { background: var(--ink); color: var(--bg); border-color: var(--ink); }
}
.pka-door-top { display: flex; align-items: center; gap: 12px; }
.pka-art { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--rule); }
.pka-door-t { font: 600 19px/1.2 var(--display); letter-spacing: -.02em; }
.pka-new { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: var(--r-pill); background: color-mix(in oklab, var(--accent) 18%, transparent); color: var(--ink); font-size: 12px; font-weight: 500; }
.pka-door-l { max-width: 44ch; font-size: 15px; line-height: 1.5; color: var(--ink-15); }

/* A small, true picture of what students will see. */
.pka-shot { display: grid; gap: 8px; align-content: start; margin-top: 4px; padding: 12px; border-radius: 14px; background: var(--bg); border: 1px solid var(--rule); }
.pka-row { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; align-items: center; gap: 12px; }
.pka-crest { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: #f4f4f5; color: #18181b; font: 700 12.5px var(--display); letter-spacing: -.02em; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); }
.pka-rt { display: grid; min-width: 0; }
.pka-rt b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; font-weight: 600; }
.pka-rt i { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12.5px; font-style: normal; color: var(--ink-2); }
.pka-apply { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: var(--r-pill); background: var(--cta); color: var(--cta-ink); font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.pka-apply.is-out { background: transparent; color: var(--ink); border: 1px solid var(--rule-2); }
.pka-pipe { display: grid; gap: 4px; padding-top: 8px; border-top: 1px dashed var(--rule); }
.pka-cand { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; align-items: center; gap: 10px; height: 30px; }
.pka-cand i { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--card-2); color: var(--ink-15); font: 600 10.5px var(--ui); font-style: normal; }
.pka-cand b { font-size: 13px; font-weight: 500; color: var(--ink-15); }
.pka-cand em { height: 22px; padding: 0 9px; border-radius: var(--r-pill); font: 500 11.5px/22px var(--ui); font-style: normal; }
.pka-cand em.is-new { border: 1px solid var(--rule-2); color: var(--ink-15); line-height: 20px; }
.pka-cand em.is-short { background: color-mix(in oklab, var(--accent) 18%, transparent); color: var(--ink); }
.pka-cand em.is-int { background: var(--ink); color: var(--bg); }
.pka-door-go {
  grid-row: 5; align-self: end; justify-self: start; display: inline-flex; align-items: center; height: 40px; margin-top: 4px; padding: 0 18px;
  border: 1px solid var(--rule-2); border-radius: var(--r-pill); font-size: 14.5px; font-weight: 600; color: var(--ink);
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.pka-door[aria-checked="true"] { border-color: var(--ink); }

/* ---------- the form ---------- */
.pka-formwrap { margin-top: 44px; scroll-margin-top: 80px; }
.pka-card { max-width: 820px; padding: 28px 32px 32px; border: 1px solid var(--rule); border-radius: 20px; background: var(--card); }
@media (max-width: 560px) { .pka-card { padding: 22px 16px 24px; margin-inline: -6px; border-radius: 18px; } }
.pka-card-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 20px; padding-bottom: 22px; margin-bottom: 26px; border-bottom: 1px solid var(--rule); }
.page.pka .pka-card-head h2 { font-size: 24px; }
.pka-switch { display: inline-grid; grid-auto-flow: column; padding: 4px; border-radius: var(--r-pill); }
.pka-switch > [role="tab"] {
  appearance: none; display: inline-flex; align-items: center; height: 38px; padding: 0 18px; border: 0; border-radius: var(--r-pill);
  background: transparent; color: var(--ink-2); font: 500 14.5px var(--ui); white-space: nowrap; cursor: pointer;
}
.pka-switch > [role="tab"][aria-selected="true"] { color: var(--ink); background: var(--lg-pill); }
.pka-switch > [role="tab"]:focus-visible { outline: 2px solid var(--ink); outline-offset: 1px; }
.pka-switch.has-ind > .seg-ind { border-radius: var(--r-pill); }
@media (max-width: 560px) { .pka-switch { width: 100%; grid-auto-columns: minmax(0, 1fr); } .pka-switch > [role="tab"] { justify-content: center; padding: 0 10px; } }
.pka .pk-form { display: grid; gap: 34px; }
.pka .pk-group + .pk-group { padding-top: 30px; border-top: 1px solid var(--rule); }
.pka-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; padding-top: 6px; }

/* While the chosen door turns into the form (view transition): the morph is the door's box becoming the card's. */
::view-transition-group(pka-chosen) { animation-duration: .5s; animation-timing-function: cubic-bezier(.16, 1, .3, 1); }
::view-transition-old(pka-chosen), ::view-transition-new(pka-chosen) { animation-duration: .5s; height: 100%; object-fit: cover; object-position: top left; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .32s; }

/* ---------- the more ---------- */
.pka-more { max-width: 820px; margin-top: 64px; }
.pka-more h2 { margin-bottom: 14px !important; }

/* ---------- the capsule that follows a long form ---------- */
.pka-cap {
  position: fixed; z-index: 40; left: 50%; bottom: 22px; display: flex; align-items: center; gap: 12px;
  padding: 7px 7px 7px 10px; border-radius: var(--r-pill);
  transform: translate(-50%, calc(100% + 140px)); transition: transform .5s var(--spring);
}
.pka-cap.is-up { transform: translate(-50%, 0); }
html.has-tabbar .pka-cap { bottom: calc(var(--tb-h) + 22px + env(safe-area-inset-bottom)); }
.pka-ring { display: grid; place-items: center; width: 36px; height: 36px; }
.pka-ring svg { transform: rotate(-90deg); }
.pka-ring-v { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .6s var(--ease-out); }
.pka-cap-t { display: grid; min-width: 112px; text-shadow: var(--jb-lg-halo); }
.pka-cap-t b { font-size: 14px; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.pka-cap-t i { font-size: 12px; font-style: normal; color: var(--ink-15); }
.pka-cap-go {
  appearance: none; height: 44px; padding: 0 20px; border: 0; border-radius: var(--r-pill); background: var(--cta); color: var(--cta-ink);
  font: 600 15px var(--ui); white-space: nowrap; cursor: pointer; transition: transform .14s cubic-bezier(.23, 1, .32, 1);
}
.pka-cap-go:active { transform: scale(.96); }
.pka-cap-go:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.pka-cap-go.is-busy { color: transparent; position: relative; }
.pka-cap-go.is-busy::after { content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 16px; margin: -8px; border-radius: 50%; border: 2px solid color-mix(in oklab, var(--cta-ink) 30%, transparent); border-top-color: var(--cta-ink); animation: pk-spin .7s linear infinite; }
.pka-goes { display: flex; align-items: center; gap: 8px; padding-top: 8px; border-top: 1px dashed var(--rule); font-size: 12.5px; color: var(--ink-2); }
.pka-goes svg { flex: none; color: var(--ink-2); }
.pka-goes b { font-weight: 500; color: var(--ink-15); }

/* Once a door is open, the reads sit beside the form on wide screens (the empty half of the page earns its keep),
   with the Inception line repeated there because the header has scrolled away. */
.pka-inc-side { display: none; }
@media (min-width: 1180px) {
  .pka.is-open .pka-after { display: grid; grid-template-columns: minmax(0, 820px) minmax(0, 1fr); gap: 56px; align-items: start; margin-top: 44px; }
  .pka.is-open .pka-formwrap { margin-top: 0; }
  .pka.is-open .pka-more { position: sticky; top: 92px; margin-top: 0; }
  .pka.is-open .page.pka .pka-more h2, .pka.is-open .pka-more h2 { font-size: 18px; }
  .pka.is-open .pka-inc-side { display: block; margin-top: 28px; }
  .pka.is-open .pka-inc-side .pk-inc-b { align-items: flex-start; flex-direction: column; gap: 10px; }
}

/* ---------- shared by /apply and /employer ---------- */
.pk a.pk-send { text-decoration: none; }
.ap-card { margin-top: 24px; padding: 26px 28px 28px; border: 1px solid var(--rule); border-radius: 20px; background: var(--card); }
@media (max-width: 560px) { .ap-card { padding: 22px 16px 24px; margin-inline: -6px; border-radius: 18px; } }
.ap-card > h2 { margin-bottom: 10px !important; }
.ap-card > p { margin: 0; max-width: 60ch; font-size: 15.5px; line-height: 1.55; color: var(--ink-15); }
.ap-card > p a, .ap-missing a, .ap-read a { color: var(--ink); }
.ap-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; margin-top: 20px !important; }
.ap-alt {
  appearance: none; position: relative; display: inline-flex; align-items: center; justify-content: center; height: 44px; padding: 0 18px;
  border: 1px solid var(--rule-2); border-radius: var(--r-pill); background: transparent; color: var(--ink); font: 500 14.5px var(--ui);
  text-decoration: none; white-space: nowrap; cursor: pointer; transition: border-color .16s ease, background-color .16s ease, transform .14s cubic-bezier(.23, 1, .32, 1);
  -webkit-tap-highlight-color: transparent;
}
.ap-alt:active { transform: scale(.97); }
.ap-alt:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .ap-alt:hover { border-color: var(--ink-3); background: var(--lg-hover); } }
.ap-alt.is-busy { color: transparent; pointer-events: none; }
.ap-alt.is-busy::after { content: ""; position: absolute; width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--rule-2); border-top-color: var(--ink); animation: pk-spin .7s linear infinite; }
.ap-load { display: grid; gap: 12px; margin-top: 24px; max-width: 560px; }
.ap-load span { display: block; height: 18px; border-radius: 8px; background: var(--card-2); animation: ap-pulse 1.2s ease-in-out infinite alternate; }
.ap-load span:first-child { height: 40px; width: 70%; }
.ap-load span:last-child { width: 45%; }
@keyframes ap-pulse { to { background: var(--rule); } }
.ap-missing { margin: 28px 0 0; font-size: 16px; color: var(--ink-15); }
.ap-sent.is-in .pk-done-ring { animation: pk-draw .7s var(--ease-out) .05s forwards; }
.ap-sent.is-in .pk-done-tick { animation: pk-draw .36s var(--ease-out) .5s forwards; }
.ap-sent.is-in > * { animation: pk-rise .5s var(--ease-out) both; }
.ap-sent.is-in > :nth-child(2) { animation-delay: .1s; }
.ap-sent.is-in > :nth-child(n+3) { animation-delay: .18s; }
.ap-sent { outline: none; }
.ap-sent > h2 { margin-top: 12px !important; }

/* Status chips: the employer's own word. Never colour alone: the word is always there. */
.ap-chip { display: inline-flex; align-items: center; height: 26px; padding: 0 11px; border-radius: var(--r-pill); font-size: 13px; font-weight: 500; white-space: nowrap; border: 1px solid var(--rule-2); color: var(--ink-15); }
.ap-chip.is-shortlisted { border-color: transparent; background: color-mix(in oklab, var(--accent) 18%, transparent); color: var(--ink); }
.ap-chip.is-interview { border-color: transparent; background: var(--ink); color: var(--bg); }
.ap-chip.is-offer, .ap-chip.is-hired { border-color: transparent; background: var(--cta); color: var(--cta-ink); }
.ap-chip.is-rejected { border-color: transparent; background: var(--bg-2); color: var(--ink-2); }

/* ---------- /apply ---------- */
.ap .ap-wrap { max-width: 760px; padding-bottom: 72px; }
.ap-role { margin-top: 18px; }
.ap-co { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; font-size: 15px; font-weight: 500; color: var(--ink-15); }
.ap-crest { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: #f4f4f5; color: #18181b; font: 700 13.5px var(--display); letter-spacing: -.02em; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); }
.page.ap h1 { font-size: clamp(28px, 4vw, 42px); line-height: 1.06; letter-spacing: -.035em; font-weight: 600; }
.ap-facts { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 0; padding: 0; list-style: none; }
.ap-facts li { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: var(--r-pill); background: var(--bg-2); border: 1px solid var(--rule); font-size: 13.5px; color: var(--ink-15); }
.ap-read { margin: 14px 0 0; font-size: 14.5px; }
.ap-form { display: grid; gap: 22px; }
.ap-form > h2 { margin-bottom: 0 !important; }
.ap .pk-grid > .ap-span { grid-column: 1 / -1; }
.ap-qs { display: grid; gap: 20px; }
.ap-qs .pk-l { line-height: 1.45; }
.pk textarea.ap-ans { min-height: 104px; }
.ap-resume { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 10px 10px 12px; border: 1px dashed var(--rule-2); border-radius: var(--r); background: var(--bg-2); transition: border-color .2s ease, background-color .2s ease; }
.ap-resume.has-file { border-style: solid; background: var(--card); }
.ap-file { position: relative; width: 30px; height: 36px; margin: 0 auto; border-radius: 4px 9px 4px 4px; background: linear-gradient(#fafafa, #e4e4e7); box-shadow: inset 0 0 0 1px #a1a1aa; }
.ap-file::before { content: ""; position: absolute; left: 6px; right: 8px; top: 12px; height: 2px; border-radius: 1px; background: #a1a1aa; box-shadow: 0 6px 0 #a1a1aa, 0 12px 0 #d4d4d8; }
.ap-resume.has-file .ap-file::after { content: ""; position: absolute; right: -5px; bottom: -4px; width: 14px; height: 14px; border-radius: 50%; background: var(--cta); box-shadow: 0 0 0 2px var(--card); }
.ap-file-t { display: grid; min-width: 0; }
.ap-file-n { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14.5px; font-weight: 600; }
.ap-file-s { font-size: 12.5px; font-style: normal; color: var(--ink-2); }
.ap-pickfile { position: relative; display: inline-flex; align-items: center; height: 38px; padding: 0 16px; border: 1px solid var(--rule-2); border-radius: var(--r-pill); font: 500 14px var(--ui); cursor: pointer; transition: border-color .16s ease; }
.ap-pickfile input { position: absolute; inset: 0; opacity: 0; width: 100%; cursor: pointer; }
.ap-pickfile:focus-within { outline: 2px solid var(--ink); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .ap-pickfile:hover { border-color: var(--ink-3); } }
.ap-consent { display: flex; align-items: flex-start; gap: 12px; font-size: 14.5px; line-height: 1.5; color: var(--ink-15); cursor: pointer; }
.ap-consent input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--ink); cursor: pointer; }
.ap-consent input:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.ap-consent b { color: var(--ink); font-weight: 600; }
.ap-status { margin-top: 8px !important; }
.ap-withdraw { appearance: none; height: 44px; padding: 0 6px; border: 0; background: transparent; color: var(--ink-2); font: 500 14px var(--ui); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.ap-withdraw:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 6px; }
.ap-withdraw.is-armed { color: var(--hot); }

/* ---------- /applications: sent through InternDoor ---------- */
.ap-mine { margin: 26px 0 8px; padding: 20px 22px; border: 1px solid var(--rule); border-radius: 18px; background: var(--card); }
.page .ap-mine h2 { display: block; margin: 0; font-family: var(--display); font-size: 18px; font-weight: 600; letter-spacing: -.01em; color: var(--ink); }
.ap-mine-s { margin: 6px 0 12px; font-size: 14px; color: var(--ink-2); }
.ap-mine-l { display: grid; margin: 0; padding: 0; list-style: none; }
.ap-mine-i { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "w s" "d s"; gap: 2px 14px; align-items: center; padding: 12px 0; border-top: 1px solid var(--rule); }
.ap-mine-w { grid-area: w; display: grid; min-width: 0; }
.ap-mine-t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; font-weight: 600; color: var(--ink); }
.ap-mine-c { font-size: 13.5px; color: var(--ink-2); }
.ap-mine-i .ap-chip { grid-area: s; }
.ap-mine-d { grid-area: d; font-size: 12.5px; color: var(--ink-2); }

/* ---------- /employer ---------- */
.em .wrap { padding-bottom: 72px; }
.em-head { margin-top: 18px; }
.page.em h1 { font-size: clamp(28px, 3.6vw, 42px); line-height: 1.06; letter-spacing: -.035em; font-weight: 600; }
.em-who { margin: 8px 0 0; font-size: 14.5px; color: var(--ink-2); }
.em-review { margin-top: 26px; }
.page.em .em-review h2 { font-size: 16px; }
.em-review-l { display: grid; gap: 6px; margin: 10px 0 0; padding: 0; list-style: none; }
.em-rv { display: flex; flex-wrap: wrap; gap: 4px 12px; padding: 12px 14px; border: 1px dashed var(--rule-2); border-radius: 14px; font-size: 14px; }
.em-rv span { color: var(--ink-2); }
.em-layout { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 28px; align-items: start; margin-top: 28px; }
@media (max-width: 900px) { .em-layout { grid-template-columns: minmax(0, 1fr); gap: 18px; } }
.em-roles { position: sticky; top: 84px; }
@media (max-width: 900px) { .em-roles { position: static; } }
.em-roles-l { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.em-rb {
  appearance: none; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "t n" "s n"; gap: 2px 10px; width: 100%;
  padding: 12px 14px; border: 1px solid transparent; border-radius: 14px; background: transparent; color: var(--ink); text-align: left; font: inherit; cursor: pointer;
  transition: background-color .16s ease, border-color .16s ease;
}
.em-rb[aria-current="true"] { background: var(--card); border-color: var(--rule); }
.em-rb:focus-visible { outline: 2px solid var(--ink); outline-offset: 1px; }
@media (hover: hover) and (pointer: fine) { .em-rb:hover { background: var(--lg-hover); } }
.em-rb-t { grid-area: t; font-size: 15px; font-weight: 600; line-height: 1.3; }
.em-rb-s { grid-area: s; font-size: 12.5px; color: var(--ink-2); }
.em-rb-n { grid-area: n; align-self: center; min-width: 30px; height: 26px; padding: 0 8px; border-radius: var(--r-pill); background: var(--bg-2); font: 600 13px/26px var(--ui); text-align: center; font-variant-numeric: tabular-nums; }
.em-rb-new { display: inline-flex; align-items: center; height: 20px; padding: 0 7px; margin-left: 2px; border-radius: var(--r-pill); background: color-mix(in oklab, var(--accent) 18%, transparent); color: var(--ink); font-size: 11.5px; font-weight: 500; vertical-align: 1px; }
.em-role { padding: 22px 24px 18px; border: 1px solid var(--rule); border-radius: 20px; background: var(--card); transition: opacity .2s ease; }
.em-role.is-loading { opacity: .55; }
@media (max-width: 560px) { .em-role { padding: 18px 14px 12px; margin-inline: -6px; border-radius: 18px; } }
.em-role-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 20px; padding-bottom: 16px; border-bottom: 1px solid var(--rule); }
.page.em .em-role-head h2 { font-size: 22px; }
.em-role-s { margin: 4px 0 0; font-size: 13.5px; color: var(--ink-2); }
.em-tools { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.em-tools .ap-alt { height: 38px; padding: 0 14px; font-size: 13.5px; }
.em-tabs { display: inline-grid; grid-auto-flow: column; gap: 2px; max-width: 100%; margin: 16px 0 6px; padding: 4px; border-radius: var(--r-pill); overflow-x: auto; scrollbar-width: none; }
.em-tabs::-webkit-scrollbar { display: none; }
.em-tabs > [role="tab"] {
  appearance: none; display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 13px; border: 0; border-radius: var(--r-pill);
  background: transparent; color: var(--ink-2); font: 500 14px var(--ui); white-space: nowrap; cursor: pointer;
}
.em-tabs > [role="tab"][aria-selected="true"] { color: var(--ink); background: var(--lg-pill); }
.em-tabs > [role="tab"]:focus-visible { outline: 2px solid var(--ink); outline-offset: 1px; }
.em-tabs.has-ind > .seg-ind { border-radius: var(--r-pill); }
.em-tn { font-size: 12px; font-weight: 600; color: var(--ink-2); font-variant-numeric: tabular-nums; }
[aria-selected="true"] > .em-tn { color: var(--ink); }
.em-none { margin: 18px 0 8px; font-size: 15px; color: var(--ink-2); }
.em-apps { display: grid; margin: 6px 0 0; padding: 0; list-style: none; }
.em-app { border-top: 1px solid var(--rule); }
.em-app:first-child { border-top: 0; }
.em-app-h { display: grid; grid-template-columns: minmax(0, 1fr) 168px; gap: 12px; align-items: center; padding: 6px 0; }
@media (max-width: 560px) { .em-app-h { grid-template-columns: minmax(0, 1fr); gap: 4px; padding-bottom: 10px; } }
.em-app-o {
  appearance: none; display: grid; grid-template-columns: minmax(0, 1fr) 28px; grid-template-areas: "n c" "m c" "d c"; gap: 1px 10px; align-items: center;
  width: 100%; padding: 10px 6px; border: 0; border-radius: 12px; background: transparent; color: var(--ink); text-align: left; font: inherit; cursor: pointer;
  transition: background-color .16s ease;
}
.em-app-o:focus-visible { outline: 2px solid var(--ink); outline-offset: -2px; }
@media (hover: hover) and (pointer: fine) { .em-app-o:hover { background: var(--lg-hover); } }
.em-app-n { grid-area: n; font-size: 15.5px; font-weight: 600; overflow-wrap: anywhere; }
.em-app-m { grid-area: m; font-size: 13.5px; color: var(--ink-15); overflow-wrap: anywhere; }
.em-app-d { grid-area: d; font-size: 12.5px; color: var(--ink-2); }
.em-app-o .pk-chev { grid-area: c; }
.em-app.is-open .pk-chev { rotate: 180deg; }
.em-st { height: 40px; min-height: 40px; font-size: 14.5px; }
.em-app-b { display: grid; gap: 16px; padding: 4px 6px 20px; }
.em-dl, .em-qa { display: grid; gap: 10px 20px; margin: 0; }
.em-dl { grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); }
.em-dl dt, .em-qa dt { font-size: 12.5px; color: var(--ink-2); }
.em-dl dd, .em-qa dd { margin: 2px 0 0; font-size: 14.5px; line-height: 1.5; overflow-wrap: anywhere; }
.em-dl a { color: var(--ink); }
.em-qa { padding-top: 14px; border-top: 1px dashed var(--rule); }
.em-qa dt { font-weight: 600; color: var(--ink-15); font-size: 13.5px; }
.em-qa dd { white-space: pre-line; color: var(--ink); }
.em-app-acts { margin: 0; }
.em-resume { height: 44px; padding: 0 20px; font-size: 14.5px; }
.em-note .pk-opt { margin-left: 8px; }
.em-note-s { min-height: 1.2em; }
.em-msg { margin-top: 14px; color: var(--ink-15); }

/* The confirm dialog floats, so it is glass (the site's dialog material). */
.em-dlg {
  max-width: min(440px, calc(100vw - 32px)); padding: 24px; border: 0; border-radius: 22px; color: var(--ink);
  background: var(--lg-sheet); -webkit-backdrop-filter: blur(16px) saturate(1.7); backdrop-filter: blur(16px) saturate(1.7);
  box-shadow: inset 0 0 0 .5px var(--lg-rim), inset 0 1px 0 var(--lg-hi), var(--lg-shade);
}
.em-dlg[open] { animation: em-in .24s var(--ease-out); }
.em-dlg::backdrop { background: var(--lg-veil); }
.em-dlg h2 { font-size: 20px !important; }
.em-dlg p { margin: 10px 0 0; font-size: 15px; line-height: 1.55; color: var(--ink-15); }
@keyframes em-in { from { opacity: 0; transform: scale(.96); } }

/* Invited to apply, on /applications (19 Nov 2026): an employer who found the student asks them to apply. */
.ap-inv-i { grid-template-areas: "w s"; }
.ap-inv-note { margin-top: 6px; font-size: 14px; line-height: 1.5; color: var(--ink-15); white-space: pre-wrap; overflow-wrap: anywhere; }
.ap-inv-acts { grid-area: s; display: inline-flex; gap: 8px; align-items: center; }
.ap-inv-i > .ap-mine-d { grid-area: s; }
.ap-inv-go { text-decoration: none; }
@media (max-width: 560px) {
  .ap-inv-i { grid-template-columns: minmax(0, 1fr); grid-template-areas: "w" "s"; }
  .ap-inv-acts { justify-self: start; }
}
