/* The careers form (apply.js; Docs/Systems/Recruitment.md): the client dashboard's world, Poppins headlines in navy
   and red as the one accent, on a light page, one column on every screen. Its host sends a CSP with no inline style,
   so every rule is here. */
@font-face { font-family: "Poppins"; src: url(/static/vendor/poppins-800.woff2?v=60bf0aba6526) format("woff2"); font-weight: 700 800; font-display: swap; }
@font-face { font-family: "Figtree"; src: url(/static/vendor/figtree.woff2?v=4ba7d3d09669) format("woff2"); font-weight: 300 900; font-display: swap; }
:root { --navy: #0e1a38; --ink: #1b2233; --ink2: #3f4860; --ink3: #5f6880; --rule: #e4e7ee; --line: #cfd4df; --wash: #f6f7fa;
  --red: #e21c2c; --redd: #c01523; --bad: #b4232f; --ok: #0f7f4e; --title: "Poppins", Arial, sans-serif;
  --sans: "Figtree", system-ui, sans-serif; --lift: 0 1px 2px rgba(14, 26, 56, .06), 0 8px 24px rgba(14, 26, 56, .06); color-scheme: light; }
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--wash); color: var(--ink); font: 400 15px/1.5 var(--sans); -webkit-font-smoothing: antialiased; }
::selection { background: rgba(226, 28, 44, .16); }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }
.bar { display: flex; align-items: center; gap: 16px; padding: 14px 32px; background: #fff; border-bottom: 1px solid var(--rule); }
.brand { display: flex; align-items: center; font: 700 17px var(--title); color: var(--navy); letter-spacing: -.01em; }
.brand img { margin-right: 9px; } .brand i { font-style: normal; color: var(--red); }
.where { font: 700 15px var(--title); color: var(--navy); padding-left: 16px; border-left: 1px solid var(--rule); }
main { max-width: 700px; margin: 0 auto; padding: 40px 24px 72px; }
.wait { color: var(--ink2); font-size: 16px; }
h1 { margin: 0 0 8px; font: 800 36px/1.12 var(--title); color: var(--navy); letter-spacing: -.02em; }
.lede { margin: 0 0 28px; font-size: 17px; color: var(--ink2); max-width: 56ch; }
.card { background: #fff; border-radius: 14px; padding: 24px 26px 8px; box-shadow: var(--lift); margin-bottom: 18px; }
.card h2 { margin: 0 0 16px; font: 800 17px var(--title); color: var(--navy); }
.f { margin-bottom: 20px; } fieldset.f { border: 0; padding: 0; margin-inline: 0; min-width: 0; } legend.l { padding: 0; }
.l { display: flex; align-items: baseline; gap: 8px; margin-bottom: 7px; font-weight: 600; color: var(--navy); }
.l small { font-weight: 400; font-size: 12.5px; color: var(--ink3); }
.help { display: block; margin: -2px 0 8px; font-size: 13px; color: var(--ink3); }
input[type=text], input[type=email], input[type=tel], input[type=url], textarea {
  width: 100%; height: 46px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff;
  color: var(--ink); font: 400 15px var(--sans); transition: border-color .15s; }
textarea { height: auto; min-height: 120px; padding: 11px 14px; line-height: 1.5; resize: vertical; }
input::placeholder, textarea::placeholder { color: #9aa1b2; }
input:hover, textarea:hover { border-color: #b3bacb; }
input:focus-visible, textarea:focus-visible { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(14, 26, 56, .1); }
.f.bad input, .f.bad textarea { border-color: var(--bad); }
.err { display: none; margin-top: 7px; font-size: 13px; font-weight: 600; color: var(--bad); }
.f.bad .err { display: block; }
.count { display: block; margin-top: 5px; text-align: right; font-size: 12px; color: var(--ink3); font-variant-numeric: tabular-nums; }
/* A choice: its answers as buttons that wrap; the role's are tall cards, one per open role */
.opts { display: flex; flex-wrap: wrap; gap: 8px; border: 0; margin: 0; padding: 0; }
.opt { position: relative; display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border: 1.5px solid var(--line);
  border-radius: 999px; background: #fff; color: var(--ink2); font-weight: 600; cursor: pointer; transition: border-color .15s, background .15s, color .15s; }
.opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.opt:hover { border-color: #b3bacb; color: var(--navy); }
.opt:has(input:checked) { border-color: var(--navy); background: var(--navy); color: #fff; }
.opt:has(input:focus-visible) { outline: 2px solid var(--navy); outline-offset: 2px; }
.roles { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; }
.roles .opt { min-height: 64px; border-radius: 12px; padding: 8px 16px 8px 18px; gap: 10px; font: 700 15px/1.25 var(--title); color: var(--navy); }
.roles .opt::after { content: ""; margin-left: auto; width: 18px; height: 18px; border: 1.5px solid var(--line); border-radius: 50%; flex: none; }
.roles .opt:has(input:checked) { background: #fff; color: var(--navy); box-shadow: 0 0 0 1.5px var(--navy) inset; }
.roles .opt:has(input:checked)::after { border: 5px solid var(--red); }
/* The resume: one button that opens the file picker, then the file's name with Remove */
.file { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.pick { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border: 1.5px dashed #aab1c2; border-radius: 10px;
  background: var(--wash); color: var(--navy); font: 700 14px var(--title); cursor: pointer; }
.pick:hover { border-color: var(--navy); }
.pick svg, .drop svg { width: 16px; height: 16px; }
.got { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--navy); overflow-wrap: anywhere; }
.got small { font-weight: 400; color: var(--ink3); }
.drop { display: inline-flex; align-items: center; gap: 4px; border: 0; background: none; color: var(--ink2); font: 600 13px var(--sans); cursor: pointer; text-decoration: underline; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* The foot: Send, and what is still missing */
.foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 8px; }
.send { height: 52px; padding: 0 30px; border: 0; border-radius: 999px; background: var(--red); color: #fff; font: 800 16px var(--title);
  cursor: pointer; transition: background .15s; }
.send:hover { background: var(--redd); } .send:disabled { cursor: progress; background: #e9737c; }
.left { margin: 0; font-size: 14px; color: var(--ink2); } .left.bad { color: var(--bad); font-weight: 600; }
.done { text-align: left; padding: 32px 30px; }
.done svg { width: 44px; height: 44px; margin-bottom: 12px; }
.done h1 { font-size: 30px; } .done p { margin: 0; font-size: 16px; color: var(--ink2); }
@media (max-width: 640px) {
  .bar { padding: 12px 16px; } main { padding: 24px 16px 56px; } h1 { font-size: 28px; } .lede { font-size: 16px; }
  .card { padding: 20px 18px 4px; } .roles { grid-template-columns: 1fr; } .send { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
