/* styles for hiring-ui.js. Two halves: the application page and interview a
   stranger sees (phone first: bigger type, touch targets never smaller than a
   thumb, one column), and the office's Hiring screen. Every colour is a theme
   variable, so light and dark both work. */

/* ================= the public pages ================= */
body[data-auth="public"] .toast{z-index:210}
.hr-pub{min-height:100dvh;display:flex;flex-direction:column;font-size:15px;line-height:1.5;color:var(--ink);text-align:left}
.hr-pub i{font-style:normal;font-weight:400;color:var(--ink-3)}
.hr-top{display:flex;align-items:center;gap:10px;width:100%;max-width:632px;margin:0 auto;padding:12px 16px 4px;min-height:60px}
.hr-mark{flex:none;min-width:36px;height:36px;padding:0 8px;border-radius:10px;display:grid;place-items:center;
  background:var(--accent-soft);color:var(--accent);font:700 13px var(--display);letter-spacing:.02em}
.hr-biz{font:600 16px var(--display);letter-spacing:-.02em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
.hr-main{flex:1;width:100%;max-width:632px;margin:0 auto;padding:6px 16px 56px;min-width:0}
.hr-pub h1{font:700 26px/1.15 var(--display);letter-spacing:-.03em;margin:6px 0 8px;text-wrap:balance}
.hr-pub h1:focus{outline:none;box-shadow:none}
.hr-pub h2{font:600 16px var(--display);letter-spacing:-.01em;margin:0 0 12px}
.hr-lead{margin:0 0 18px;font-size:15px;color:var(--ink-2);text-wrap:pretty}
.hr-p{margin:0 0 12px;font-size:15px;color:var(--ink-2);text-wrap:pretty}
.hr-p b{color:var(--ink);font-weight:600}
.hr-small{margin:8px 0 0;font-size:13px;color:var(--ink-3);text-wrap:pretty}
.hr-mid{text-align:center;margin-top:12px}
.hr-card{background:var(--s1);border:1px solid var(--line);border-radius:16px;padding:16px;margin:0 0 14px}
.hr-card>:last-child{margin-bottom:0}
.hr-narrow{max-width:460px;margin:18px auto 14px;padding:22px 20px}
.hr-narrow h1{margin-top:0}
.hr-note{margin:0 0 14px;padding:12px 14px;border-radius:14px;border:1px solid var(--line-2);background:var(--s2);font-size:14px;color:var(--ink-2);text-wrap:pretty}

/* things to type */
.hr-f{display:block;margin:0 0 14px;min-width:0}
.hr-f>span{display:block;margin-bottom:5px;font-weight:600;font-size:14px;text-wrap:pretty}
.hr-f>small{display:block;margin-top:5px;font-size:13px;color:var(--ink-3)}
.hr-f input,.hr-f textarea{display:block;width:100%;min-width:0;min-height:48px;padding:11px 13px;border-radius:12px;border:1px solid var(--line-2);
  background:var(--s1);color:var(--ink);font:inherit;font-size:16px}
.hr-f textarea{min-height:84px;resize:vertical;line-height:1.45}
.hr-f input:focus,.hr-f textarea:focus{outline:2px solid var(--accent);outline-offset:1px;box-shadow:none}

/* things to choose: a row of tappable answers. The tick is a shape as well as a colour. */
.hr-set{border:0;margin:0 0 16px;padding:0;min-width:0}
.hr-set legend{padding:0;margin:0 0 6px;font-weight:600;font-size:14px;text-wrap:pretty}
.hr-set>small{display:block;margin:-2px 0 8px;font-size:13px;color:var(--ink-3)}
.hr-ticks{display:flex;flex-wrap:wrap;gap:8px}
.hr-tick{position:relative;display:inline-flex;cursor:pointer}
.hr-tick input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}
.hr-tick span{display:inline-flex;align-items:center;justify-content:center;min-height:46px;min-width:58px;padding:0 14px;border-radius:12px;
  border:1px solid var(--line-2);background:var(--s1);font-size:15px;font-weight:600;color:var(--ink-2);transition:border-color .14s,background .14s}
.hr-tick input:checked+span{border-color:var(--accent);background:var(--accent-soft);color:var(--ink)}
.hr-tick input:checked+span::before{content:"\2713";margin-right:6px;color:var(--accent)}
.hr-tick input:focus-visible+span{outline:2px solid var(--accent);outline-offset:2px}
/* the box only a program fills in: off the page, out of the tab order, hidden from screen readers */
.hr-hp{position:absolute;left:-9999px;top:auto;width:1px;height:1px;overflow:hidden}

.hr-btn{min-height:48px;padding:0 18px;font-size:15px;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;text-align:center;text-decoration:none;gap:8px}
.hr-btn2{min-height:44px;font-size:14px;margin-top:10px}
.hr-wide{width:100%}
.hr-err{display:none;margin:4px 0 14px;padding:12px 14px;border-radius:12px;background:var(--crit-soft);color:var(--crit);font-size:14px;font-weight:600;scroll-margin:90px}
.hr-err.on{display:block}
.hr-vh{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.hr-inl{padding:0;font:inherit;font-weight:600;display:inline}
.hr-later{margin:18px 0 0;font-size:14px;color:var(--ink-2)}
.hr-later summary{cursor:pointer;min-height:44px;display:flex;align-items:center;color:var(--accent);font-weight:600}
.hr-later .secret{margin-top:8px}

/* the interview as a conversation */
.hr-chat{display:flex;flex-direction:column;gap:10px;margin:0 0 6px}
.hr-b{max-width:88%;padding:10px 13px;border-radius:14px;border:1px solid var(--line);background:var(--s1);scroll-margin:120px}
.hr-b[data-who="them"]{align-self:flex-start}
.hr-b[data-who="me"]{align-self:flex-end;background:var(--accent-soft);border-color:color-mix(in srgb,var(--accent) 30%,transparent)}
.hr-who{display:block;font-size:11.5px;font-weight:700;color:var(--ink-3);margin-bottom:2px}
.hr-b p{margin:0;font-size:15px;overflow-wrap:anywhere}
.hr-wait p{color:var(--ink-3)}
.hr-compose{display:flex;gap:8px;align-items:flex-end;position:sticky;bottom:0;z-index:1;padding:12px 0 12px;background:linear-gradient(transparent,var(--bg) 26%)}
.hr-compose textarea{flex:1;width:auto;min-width:0;min-height:48px;max-height:40dvh;padding:11px 13px;border-radius:12px;border:1px solid var(--line-2);
  background:var(--s1);color:var(--ink);font:inherit;font-size:16px;line-height:1.4;resize:none}
.hr-compose textarea:focus{outline:2px solid var(--accent);outline-offset:1px}
.hr-compose .hr-btn{flex:none}

/* ================= the office: the Hiring screen ================= */
.hr-answer{display:flex;align-items:center;gap:16px;padding:16px 18px;margin-bottom:var(--gap)}
.hr-n{flex:none;font:700 46px/1 var(--display);letter-spacing:-.04em;font-variant-numeric:tabular-nums;color:var(--ink-3);min-width:1ch;text-align:right}
.hr-answer[data-k="you"] .hr-n{color:var(--warn)}
.hr-a1{margin:0;font:600 17px var(--display);letter-spacing:-.02em}
.hr-a2{margin:3px 0 0;font-size:12.5px;color:var(--ink-2);line-height:1.5;text-wrap:pretty}
.hr-share,.hr-qs{margin-bottom:var(--gap)}
.hr-pad{padding:12px 14px}
.hr-pad:empty{display:none}
.hr-say{font-size:12.5px;color:var(--ink-2);line-height:1.55;margin:0 0 8px;text-wrap:pretty}
.hr-say b{color:var(--ink);font-weight:600}
.hr-pad>.hr-say:last-child{margin-bottom:0}
.hr-share .banner{margin-bottom:10px}
.hr-share a.btn{color:var(--ink);text-decoration:none}
.hr-ai{margin:12px 0 0}
.hr-chips{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 12px}
.hr-qs .lines{border-top:1px solid var(--line);border-bottom:1px solid var(--line)}

/* the board: six stages across on a wide screen, three by two on a laptop, one under another on a phone. It never scrolls sideways. */
.hr-board{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:var(--gap);align-items:start}
@media(max-width:1500px){.hr-board{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:820px){.hr-board{grid-template-columns:minmax(0,1fr)}}
.hr-col{background:var(--s2);border:1px solid var(--line);border-radius:var(--r);display:flex;flex-direction:column;min-width:0}
.hr-colh{display:flex;align-items:center;gap:7px;padding:10px 12px 0;font-size:10px;letter-spacing:.09em;text-transform:uppercase;font-weight:700;color:var(--ink-3)}
.hr-colh b{margin-left:auto;font-family:var(--mono);color:var(--ink-2)}
.hr-colx{margin:2px 12px 8px;font-size:11.5px;color:var(--ink-3);line-height:1.4}
.hr-colb{padding:0 8px 8px;display:flex;flex-direction:column;gap:8px}
.hr-colb>.btn{align-self:flex-start}
.hr-none{margin:0;padding:2px 4px 6px;font-size:11.5px;color:var(--ink-3)}
.hr-app{background:var(--s1);border:1px solid var(--line);border-radius:10px;box-shadow:var(--el-1);display:flex;flex-direction:column;min-width:0}
.hr-app[data-ball="you"]{border-color:color-mix(in srgb,var(--warn) 45%,transparent)}
.hr-open{display:flex;flex-direction:column;gap:3px;width:100%;min-width:0;padding:10px 11px 7px;border-radius:10px 10px 0 0}
.hr-open:hover .hr-nm{color:var(--accent)}
.hr-nm{font-size:13px;font-weight:600;overflow-wrap:anywhere}
.hr-wh{font-size:11.5px;color:var(--ink-3);line-height:1.4;overflow-wrap:anywhere}
.hr-nx{font-size:11.5px;color:var(--ink-2);line-height:1.4}
.hr-tags{display:flex;align-items:center;gap:5px;flex-wrap:wrap;padding:0 11px 9px}
.hr-tags .chip{white-space:normal}
.hr-mv{margin-left:auto;display:flex;gap:4px}
.hr-mv button{width:28px;height:28px;border-radius:7px;border:1px solid var(--line);background:var(--s2);color:var(--ink-2);font-size:14px;line-height:1;text-align:center}
.hr-mv button:hover{border-color:var(--line-2);color:var(--ink)}

/* one applicant, in the drawer */
.hr-qa{padding:10px 13px;border-top:1px solid var(--line)}
.hr-q{margin:0 0 3px;font-size:11.5px;font-weight:600;color:var(--ink-3);text-wrap:pretty}
.hr-an{margin:0;font-size:13px;line-height:1.55;color:var(--ink);overflow-wrap:anywhere}
.hr-pad .hr-an{margin-bottom:8px}
.hr-pre{margin-top:6px;color:var(--ink-2)}
.hr-talk{display:flex;flex-direction:column;gap:8px;padding:2px 13px 12px}
.hr-line{max-width:92%;padding:8px 11px;border-radius:12px;border:1px solid var(--line);background:var(--s1);align-self:flex-start}
.hr-line[data-who="me"]{align-self:flex-end;background:var(--accent-soft);border-color:color-mix(in srgb,var(--accent) 28%,transparent)}
.hr-line p{margin:0;font-size:13px;line-height:1.5;overflow-wrap:anywhere}
.hr-score{display:flex;align-items:baseline;gap:8px;margin:0 0 8px}
.hr-score b{font:700 30px/1 var(--display);letter-spacing:-.03em;font-variant-numeric:tabular-nums}
.hr-score span{font-size:12.5px;color:var(--ink-2)}
.hr-ul{margin:0 0 8px;padding-left:18px;font-size:13px;line-height:1.55}
.hr-op .hint{display:block;margin-top:4px;line-height:1.5}
.hr-notebox{display:block;min-height:60px;resize:vertical;line-height:1.5}
.li .hr-nb{font-weight:400}
.hr-stage{display:flex;align-items:center;gap:8px;font-size:11.5px;font-weight:600;color:var(--ink-3)}
.hr-stage .bkq{min-width:130px;flex:none}

/* second review: long words wrap, the basics as switches, the interview's questions */
.hr-brk{overflow-wrap:anywhere}
.hr-basics{display:flex;flex-direction:column;gap:6px;margin:0 0 14px}
.hr-basic{display:flex;align-items:flex-start;gap:9px;font-size:13px;color:var(--ink);line-height:1.45;cursor:pointer}
.hr-basic input{margin:2px 0 0;flex:none;width:16px;height:16px;accent-color:var(--accent)}
.hr-ivq{border-top:1px solid var(--line)}
.hr-ol{margin:0 0 10px;padding-left:20px;font-size:13px;line-height:1.6;color:var(--ink)}
.hr-ol li{overflow-wrap:anywhere}
