/* EK-Mitr design tokens. Midnight, light greys and cyan for the product.
   Green is reserved for the logo and scores; red only for errors and overdue items. */
:root {
  --ink:#111827; --ink-2:#1F2937; --bg:#F3F4F6; --card:#FFFFFF; --line:#E5E7EB; --line-2:#D1D5DB;
  --muted:#4B5563; --soft:#6B7280;
  --cyan:#0891B2; --cyan-text:#0E7490; --cyan-tint:#ECFEFF; --cyan-line:#A5F3FC;
  --red:#B91C1C; --red-tint:#FEF2F2; --red-line:#FECACA;
  --score:#15803D;
}
* { box-sizing:border-box; }
body { margin:0; font-family:"Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; color:var(--ink); background:var(--bg); font-size:15px; line-height:1.5; -webkit-font-smoothing:antialiased; }
a { color:var(--cyan-text); }
.shell { display:grid; grid-template-columns:240px minmax(0,1fr); min-height:100vh; background:linear-gradient(90deg, var(--ink) 0 240px, var(--bg) 240px); }
#side { background:var(--ink); color:#D1D5DB; display:flex; flex-direction:column; padding:20px 14px; position:sticky; top:0; height:100vh; }
.side-logo { padding:4px 10px 22px; display:block; } .side-logo img { height:40px; width:auto; display:block; }
#side nav { display:flex; flex-direction:column; gap:4px; flex:1; }
#side a, .side-out { display:flex; align-items:center; gap:12px; padding:10px 12px; border-radius:10px; color:#D1D5DB; text-decoration:none; font-weight:500; background:none; border:none; width:100%; font-size:15px; }
#side a:hover, .side-out:hover { background:#1F2937; color:#fff; }
#side a.on { background:#fff; color:var(--ink); font-weight:600; }
.side-foot { display:flex; flex-direction:column; gap:4px; border-top:1px solid #1F2937; padding-top:12px; }
.mainwrap { min-width:0; display:flex; flex-direction:column; }
.top { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:14px 28px; background:var(--card); border-bottom:1px solid var(--line); position:sticky; top:0; z-index:5; }
#orgbar { display:flex; align-items:center; gap:10px; min-width:0; } .orgname { font-weight:600; font-size:16px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
#who { display:flex; gap:14px; align-items:center; color:var(--muted); font-size:14px; }
.me { display:flex; align-items:center; gap:10px; } .me > span:last-child { display:flex; flex-direction:column; line-height:1.25; } .me b { color:var(--ink); font-weight:600; } .me > span:last-child span { font-size:12px; color:var(--soft); }
.av { width:36px; height:36px; border-radius:50%; background:var(--ink); color:#fff; display:grid; place-items:center; font-size:13px; font-weight:600; }
@media (max-width:900px) { .shell { grid-template-columns:1fr; background:var(--bg); } #side { position:static; height:auto; flex-direction:row; flex-wrap:wrap; align-items:center; gap:6px; padding:10px; } #side nav { flex-direction:row; flex-wrap:wrap; } .side-logo { padding:0 8px; } .side-foot { flex-direction:row; border:none; padding:0; } #side a span, .side-out span { display:none; } #side a, .side-out { width:auto; padding:9px; } #side nav { flex:1; gap:2px; } .me > span:last-child { display:none; } .top { padding:10px 14px; } .orgname { font-size:14px; } #orgbar .pill { display:none; } }
.authmode #side, .authmode .top { display:none; }
.authmode .shell { display:block; }
main { width:100%; max-width:1240px; margin:0 auto; padding:28px; box-sizing:border-box; }
h1 { font-size:26px; font-weight:600; letter-spacing:-0.015em; margin:0 0 6px; } h2 { font-size:18px; font-weight:600; letter-spacing:-0.01em; margin:28px 0 12px; } h3 { font-size:16px; font-weight:600; margin:0 0 6px; }
p.sub { color:var(--muted); margin:0 0 22px; }
.card { background:var(--card); border:1px solid var(--line); border-radius:12px; padding:20px; }
.grid { display:grid; gap:16px; } .g2 { grid-template-columns:1fr 1fr; } .g3 { grid-template-columns:repeat(3,1fr); } .g4 { grid-template-columns:repeat(4,1fr); }
@media (max-width:820px) { .g2,.g3,.g4 { grid-template-columns:1fr; } .top { flex-wrap:wrap; } }
.stat .n { font-size:28px; font-weight:600; letter-spacing:-0.02em; } .stat .l { color:var(--muted); font-size:13px; }
label { display:block; font-weight:500; font-size:13px; margin:12px 0 4px; color:var(--ink-2); }
input, select, textarea { width:100%; padding:10px 12px; border:1px solid var(--line-2); border-radius:8px; font:inherit; background:#fff; color:var(--ink); }
textarea { min-height:90px; }
input:focus, select:focus, textarea:focus { outline:2px solid var(--cyan); outline-offset:0; border-color:var(--cyan); }
button:focus-visible, a:focus-visible { outline:2px solid var(--cyan); outline-offset:2px; }
.row { display:flex; gap:12px; } .row > * { flex:1; }
button, .btn { display:inline-flex; align-items:center; gap:6px; padding:9px 16px; border-radius:8px; border:1px solid var(--ink); background:var(--ink); color:#fff; font:inherit; font-weight:600; cursor:pointer; text-decoration:none; }
button:hover, .btn:hover { background:var(--ink-2); border-color:var(--ink-2); }
button.ghost { background:#fff; color:var(--ink); border-color:var(--line-2); }
button.ghost:hover { background:var(--bg); }
button.warn { background:#fff; border-color:var(--red-line); color:var(--red); }
button.warn:hover { background:var(--red-tint); }
button.sm, .btn.sm { padding:5px 10px; font-size:13px; }
button:disabled { opacity:.45; cursor:not-allowed; }
table { width:100%; border-collapse:collapse; background:var(--card); border:1px solid var(--line); border-radius:12px; overflow:hidden; }
th { text-align:left; font-size:12px; font-weight:600; text-transform:uppercase; letter-spacing:.05em; color:var(--soft); background:#F9FAFB; padding:10px 12px; border-bottom:1px solid var(--line); }
td { padding:11px 12px; border-bottom:1px solid var(--line); vertical-align:top; }
tr:last-child td { border-bottom:none; }
td.n { text-align:right; white-space:nowrap; font-variant-numeric:tabular-nums; }
.pill { display:inline-block; padding:2px 9px; border-radius:99px; font-size:12px; font-weight:600; background:var(--bg); color:#374151; border:1px solid var(--line-2); }
.pill.ok { background:var(--cyan-tint); color:#155E75; border-color:var(--cyan-line); }
.pill.bad { background:var(--red-tint); color:var(--red); border-color:var(--red-line); }
.pill.wait { background:#F9FAFB; color:#374151; border-color:var(--line-2); }
.banner { padding:12px 16px; border-radius:10px; margin-bottom:18px; border:1px solid; }
.banner.ok { background:var(--cyan-tint); border-color:var(--cyan-line); color:#155E75; }
.banner.wait { background:#F9FAFB; border-color:var(--line-2); color:var(--ink-2); }
.muted { color:var(--muted); } .small { font-size:13px; }
.err { color:var(--red); font-size:13px; margin-top:8px; min-height:18px; }
.roles { display:grid; grid-template-columns:repeat(4,1fr); gap:10px; } @media (max-width:820px){ .roles{grid-template-columns:1fr 1fr;} }
.roles label { margin:0; border:1px solid var(--line); border-radius:10px; padding:12px; cursor:pointer; background:#fff; font-weight:500; }
.roles input { width:auto; margin-right:6px; accent-color:var(--ink); }
.roles label:has(input:checked) { border-color:var(--ink); background:#F9FAFB; box-shadow:inset 0 0 0 1px var(--ink); }
.hero { display:grid; grid-template-columns:1.2fr 1fr; gap:32px; align-items:start; } @media (max-width:820px){ .hero{grid-template-columns:1fr;} }
.hero h1 { font-size:40px; line-height:1.12; letter-spacing:-0.025em; }
.score { font-weight:700; color:var(--score); }   /* green: scores only */
.actions { display:flex; gap:6px; flex-wrap:wrap; align-items:center; }
#toast { position:fixed; bottom:20px; left:50%; transform:translateX(-50%); background:var(--ink); color:#fff; padding:10px 18px; border-radius:10px; opacity:0; transition:opacity .2s; pointer-events:none; }
#toast.on { opacity:1; }
.empty { padding:24px; text-align:center; color:var(--muted); background:var(--card); border:1px dashed var(--line-2); border-radius:12px; }
.tabs { display:flex; gap:4px; margin-bottom:10px; border-bottom:1px solid var(--line); }
.tab, .tab:hover { background:none; border:none; border-bottom:2px solid transparent; color:var(--muted); border-radius:0; padding:8px 12px; }
.tab.on { color:var(--ink); border-bottom-color:var(--ink); }
.bell { position:relative; display:inline-flex; color:var(--ink-2); text-decoration:none; padding:4px; border-radius:8px; }
.bell:hover { background:var(--bg); }
.bell .badge { position:absolute; top:-3px; right:-5px; background:var(--cyan-text); color:#fff; border-radius:99px; font-size:11px; font-weight:700; padding:0 6px; line-height:17px; }
.list .note { padding:10px 0; border-bottom:1px solid var(--line); } .list .note:last-child { border-bottom:none; }
.note.new { font-weight:600; }
.sandbox { background:#F9FAFB; color:var(--ink-2); padding:6px 10px; border-radius:8px; border:1px dashed var(--line-2); margin:8px 0 0; }
.methods { border:1px solid var(--line); border-radius:10px; padding:10px 14px; }
.methods label { display:inline-flex; gap:6px; align-items:center; margin:6px 16px 6px 0; font-weight:500; }
.methods input { width:auto; accent-color:var(--ink); }
.invoice table { border:1px solid var(--line); }
@media print { .top, .noprint, #toast { display:none !important; } body { background:#fff; } main { padding:0; } .card { border:none; } }

/* ---------- sign-in and onboarding (Figma flow) ---------- */
.authmode .top { display:none; }
.authmode main { max-width:none; padding:0; }
.sr { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
.auth { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,0.92fr); min-height:100vh; background:#fff; }
.auth-left { display:flex; flex-direction:column; padding:28px 40px 20px; }
.auth-logo img { height:44px; width:auto; display:block; }
.auth-form { width:100%; max-width:400px; margin:48px auto 32px; flex:1; }
.auth-form h1 { font-size:26px; margin-bottom:6px; }
.auth-form .sub { margin-bottom:20px; }
.auth-form button.wide, .auth-form .btn.wide { width:100%; justify-content:center; padding:12px 16px; margin-top:16px; }
.btn.outline { background:#fff; color:var(--ink); border:1px solid var(--line-2); }
.btn.outline:hover { background:var(--bg); }
.auth-foot { display:flex; justify-content:space-between; gap:12px; flex-wrap:wrap; font-size:12px; color:var(--soft); }
.auth-foot a { color:var(--ink-2); font-weight:500; text-decoration:none; }
.auth-panel { margin:16px; border-radius:28px; background:var(--ink); color:#E5E7EB; padding:56px 52px; display:flex; flex-direction:column; justify-content:flex-end; gap:18px; position:relative; overflow:hidden; }
.auth-panel img { position:absolute; top:52px; left:52px; }
.auth-panel h2 { color:#fff; font-size:34px; line-height:1.15; letter-spacing:-0.02em; margin:0; max-width:460px; }
.auth-panel .mitr { margin:0; color:#9CA3AF; font-size:14px; } .auth-panel .mitr b { color:#fff; }
.auth-panel ul { list-style:none; padding:0; margin:8px 0 0; display:flex; flex-direction:column; gap:12px; }
.auth-panel li { display:flex; gap:10px; align-items:flex-start; font-size:15px; line-height:1.45; }
.auth-panel li svg { color:#67E8F9; flex:none; margin-top:2px; }
@media (max-width:900px) { .auth { grid-template-columns:1fr; } .auth-panel { display:none; } .auth-left { padding:20px; } .auth-form { margin:28px auto; } }
.steps { font-size:12px; font-weight:600; letter-spacing:.06em; text-transform:uppercase; color:var(--soft); margin:0 0 10px; }
.req { color:var(--red); }
.between { display:flex; justify-content:space-between; align-items:center; margin-top:12px; font-size:13px; }
.between a { color:var(--ink-2); font-weight:500; text-decoration:none; }
label.check { display:inline-flex; align-items:center; gap:8px; margin:12px 0 0; font-weight:400; font-size:13px; color:var(--muted); }
label.check input { width:auto; margin:0; accent-color:var(--ink); }
.divider { display:flex; align-items:center; gap:12px; margin:22px 0 2px; color:var(--soft); font-size:13px; }
.divider::before, .divider::after { content:""; flex:1; height:1px; background:var(--line); }
.center { text-align:center; }
.pw { position:relative; } .pw input { padding-right:44px; }
.eye, .eye:hover { position:absolute; right:4px; top:50%; transform:translateY(-50%); background:none; border:none; color:var(--soft); padding:8px; }
.eye:hover { color:var(--ink); }
.phone { display:flex; border:1px solid var(--line-2); border-radius:8px; overflow:hidden; }
.phone span { padding:10px 12px; background:#F9FAFB; border-right:1px solid var(--line-2); color:var(--muted); }
.phone input { border:none; border-radius:0; }
.phone:focus-within { outline:2px solid var(--cyan); border-color:var(--cyan); }
.phone input:focus { outline:none; }
.rolelist { border:none; padding:0; margin:0; display:flex; flex-direction:column; gap:10px; }
.rolecard { display:flex; align-items:center; gap:12px; margin:0; padding:12px 14px; border:1px solid var(--line); border-radius:12px; cursor:pointer; font-weight:400; background:#fff; }
.rolecard:hover { border-color:var(--line-2); background:#F9FAFB; }
.rolecard:has(input:checked) { border-color:var(--ink); box-shadow:inset 0 0 0 1px var(--ink); }
.rolecard .ri { width:38px; height:38px; border-radius:10px; background:var(--bg); color:var(--ink); display:grid; place-items:center; flex:none; }
.rolecard:has(input:checked) .ri { background:var(--ink); color:#fff; }
.rolecard .rt { flex:1; display:flex; flex-direction:column; font-size:13px; color:var(--muted); }
.rolecard .rt b { font-size:15px; font-weight:600; color:var(--ink); }
.rolecard input { width:18px; height:18px; accent-color:var(--ink); flex:none; }
.otp { display:flex; gap:10px; margin-top:6px; }
.otp input { width:52px; height:56px; text-align:center; font-size:22px; font-weight:600; padding:0; }
button.link, button.link:hover { background:none; border:none; color:var(--cyan-text); padding:0; font-weight:600; }
button.link:disabled { color:var(--soft); opacity:1; }
.mobile { display:flex; align-items:center; gap:6px; margin:0 0 6px; color:var(--muted); }
.mobile svg { color:var(--cyan); }
fieldset.yn { border:none; padding:0; margin:14px 0 0; }
fieldset.yn legend { font-weight:500; font-size:13px; color:var(--ink-2); padding:0; }
fieldset.yn label.check { margin-right:18px; }
.result { text-align:center; margin-top:40px; }
.result .badge { width:72px; height:72px; border-radius:50%; display:grid; place-items:center; margin:0 auto 18px; }
.result .badge.ok { background:var(--cyan-tint); color:var(--cyan-text); border:1px solid var(--cyan-line); }
.result .badge.wait { background:var(--bg); color:var(--ink-2); border:1px solid var(--line-2); }
.legal p { font-size:14px; line-height:1.6; }

/* ---------- dashboard ---------- */
.dash { display:flex; flex-direction:column; gap:22px; }
.cards4 { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; }
.cards4 .stat .l { margin-bottom:4px; }
.dgrid { display:grid; grid-template-columns:minmax(0,1.7fr) minmax(0,1fr); gap:20px; }
@media (max-width:1000px) { .cards4 { grid-template-columns:1fr 1fr; } .dgrid { grid-template-columns:1fr; } }
.panel .ph { display:flex; justify-content:space-between; align-items:baseline; margin-bottom:10px; } .panel .ph h2 { margin:0; font-size:16px; } .panel .ph a { font-size:13px; }
.chart .legend { display:flex; gap:18px; justify-content:flex-end; font-size:13px; color:var(--muted); margin-bottom:12px; }
.chart .legend i { display:inline-block; width:10px; height:10px; border-radius:3px; margin-right:6px; vertical-align:-1px; }
.k1 { background:var(--ink); } .k2 { background:var(--cyan); }
.chart .bars { display:grid; grid-template-columns:repeat(12,1fr); gap:6px; align-items:end; height:180px; border-bottom:1px solid var(--line); }
.chart .col { display:flex; flex-direction:column; align-items:center; justify-content:flex-end; height:100%; }
.chart .pair { display:flex; gap:3px; align-items:flex-end; height:150px; }
.chart .pair i { width:9px; border-radius:3px 3px 0 0; min-height:2px; }
.chart .col span { font-size:11px; color:var(--soft); margin-top:6px; }

.meter { width:70px; height:6px; border-radius:6px; background:var(--line); display:inline-block; vertical-align:middle; margin-right:8px; overflow:hidden; }
.meter i { display:block; height:100%; background:var(--score); }
.todo { list-style:none; margin:0; padding:0; } .todo li { padding:10px 0 10px 18px; border-bottom:1px solid var(--line); position:relative; font-size:14px; }
.todo li:last-child { border-bottom:none; } .todo li::before { content:""; position:absolute; left:0; top:16px; width:8px; height:8px; border-radius:50%; background:var(--cyan); }
.todo li.urgent::before { background:var(--red); } .todo a { color:var(--ink); text-decoration:none; } .todo a:hover { text-decoration:underline; }
.panel table a, .dash table a { color:var(--ink); text-decoration:none; } .panel table a:hover { text-decoration:underline; }

/* ---------- interviews and calendar ---------- */
.dgrid.top1 { align-items:start; }
.cards2 { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.ivtabs { display:flex; gap:6px; flex-wrap:wrap; margin-bottom:10px; }
.ivtabs button, .ivtabs button:hover { background:var(--bg); color:var(--muted); border:1px solid transparent; padding:5px 10px; font-size:13px; font-weight:500; border-radius:8px; }
.ivtabs button.on { background:var(--ink); color:#fff; }
.ivtabs button span { font-size:11px; opacity:.8; }
.ivlist { list-style:none; margin:0; padding:0; }
.ivlist li { display:flex; align-items:center; gap:10px; padding:9px 0; border-bottom:1px solid var(--line); }
.ivlist li:last-child { border-bottom:none; }
.av.sm { width:30px; height:30px; font-size:11px; flex:none; }
.ivw { flex:1; display:flex; flex-direction:column; line-height:1.3; min-width:0; } .ivw b { font-weight:600; } .ivw span { font-size:12px; color:var(--soft); }
.ivt { font-size:12px; text-align:right; color:var(--ink-2); white-space:nowrap; }
.empty-s { color:var(--muted); font-size:14px; margin:10px 0; }
.calbar { display:flex; align-items:center; gap:10px; margin-bottom:12px; } .calbar h2 { margin:0 8px; min-width:170px; text-align:center; }
.cal { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); border:1px solid var(--line); border-radius:12px; overflow:hidden; background:var(--card); }
.cw { padding:8px 10px; font-size:12px; font-weight:600; color:var(--soft); text-transform:uppercase; letter-spacing:.05em; background:#F9FAFB; border-bottom:1px solid var(--line); }
.cd, .cd:hover { min-height:96px; display:flex; flex-direction:column; align-items:stretch; gap:3px; padding:6px 8px; background:#fff; color:var(--ink); border:none; border-right:1px solid var(--line); border-bottom:1px solid var(--line); border-radius:0; text-align:left; font-weight:400; cursor:pointer; }
.cd:hover { background:#F9FAFB; }
.cd.pad { background:#FAFAFB; cursor:default; }
.cd .dn { font-size:13px; font-weight:600; color:var(--ink-2); }
.cd.today .dn { background:var(--ink); color:#fff; border-radius:99px; width:24px; height:24px; display:grid; place-items:center; }
.cd.sel { box-shadow:inset 0 0 0 2px var(--cyan); }
.ev { font-size:11px; padding:2px 6px; border-radius:5px; background:#EEF0F3; color:var(--ink); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.ev.completed { background:var(--cyan-tint); color:#155E75; } .ev.cancelled, .ev.no_show { background:#F3F4F6; color:var(--soft); text-decoration:line-through; }
.more { font-size:11px; color:var(--soft); }
.ivrow td { background:#F9FAFB; } .ivform { padding:4px 0; } .ivform .actions { margin-top:12px; }
.ivnext { color:var(--cyan-text); font-weight:500; }
.ivcards { display:grid; gap:10px; } .ivcard { padding:14px 18px; }
@media (max-width:700px) { .cd { min-height:60px; } .ev { display:none; } .cards2 { grid-template-columns:1fr 1fr; } }
td.actions { display:table-cell; white-space:nowrap; } td.actions > * { margin:2px 6px 2px 0; }

pre.mailbody { white-space:pre-wrap; font:13px/1.5 'Inter',system-ui,sans-serif; background:#F9FAFB; border:1px solid var(--line); border-radius:8px; padding:10px 12px; margin:8px 0 0; }
details summary { cursor:pointer; }

/* ---------- company pages ---------- */
.crumb { display:flex; align-items:center; gap:8px; font-size:13px; color:var(--soft); margin-bottom:14px; }
.crumb a { color:var(--muted); text-decoration:none; display:inline-flex; } .crumb a:hover { color:var(--ink); }
.crumb [aria-current] { color:var(--ink); font-weight:500; }
.pagehead { display:flex; justify-content:space-between; align-items:flex-start; gap:16px; flex-wrap:wrap; }
a.strong { color:var(--ink); font-weight:600; text-decoration:none; } a.strong:hover { text-decoration:underline; }
.vform h2 { font-size:16px; margin:24px 0 10px; } .vform h2:first-child { margin-top:0; }
.lblrow { display:flex; justify-content:space-between; align-items:center; } .lblrow label { margin-top:12px; }
label.mini { display:inline-flex; align-items:center; gap:6px; font-size:12px; font-weight:500; color:var(--muted); cursor:pointer; }
label.mini input, .swcard input { position:absolute; opacity:0; width:1px; height:1px; }
.sw { width:38px; height:22px; border-radius:99px; background:var(--line-2); position:relative; flex:none; transition:background .15s; }
.sw::after { content:""; position:absolute; top:3px; left:3px; width:16px; height:16px; border-radius:50%; background:#fff; transition:transform .15s; box-shadow:0 1px 2px rgba(0,0,0,.2); }
.sw.sm { width:30px; height:18px; } .sw.sm::after { width:12px; height:12px; }
input:checked + .sw { background:var(--ink); } input:checked + .sw::after { transform:translateX(16px); } input:checked + .sw.sm::after { transform:translateX(12px); }
input:focus-visible + .sw { outline:2px solid var(--cyan); outline-offset:2px; }
.swlist { display:flex; flex-direction:column; gap:10px; margin-top:16px; }
.swcard { position:relative; display:flex; align-items:center; gap:12px; margin:0; padding:12px 14px; border:1px solid var(--line); border-radius:12px; cursor:pointer; font-weight:400; }
.swcard .swi { color:var(--ink-2); display:inline-flex; } .swcard .swt { flex:1; display:flex; flex-direction:column; font-size:13px; color:var(--muted); } .swcard .swt b { font-size:14px; font-weight:600; color:var(--ink); }
.chips { display:flex; flex-wrap:wrap; gap:10px; align-items:center; }
.chip { position:relative; margin:0; cursor:pointer; font-weight:500; }
.chip input { position:absolute; opacity:0; width:1px; height:1px; }
.chip span { display:inline-block; min-width:110px; text-align:center; padding:10px 16px; border-radius:10px; background:#F3F4F6; border:1px solid var(--line); color:var(--ink-2); font-size:14px; }
.chip input:checked + span { background:var(--ink); color:#fff; border-color:var(--ink); }
.chip input:focus-visible + span { outline:2px solid var(--cyan); outline-offset:2px; }
.addloc { display:inline-flex; gap:6px; } .addloc input { width:170px; }
.toolbar { display:flex; gap:10px; padding:12px; margin-bottom:14px; flex-wrap:wrap; } .toolbar input[type=search] { flex:1; min-width:220px; } .toolbar select { width:auto; }
.tabs2 { display:flex; gap:6px; flex-wrap:wrap; margin:6px 0 12px; }
.tabs2 button, .tabs2 button:hover { background:#fff; color:var(--muted); border:1px solid var(--line); padding:7px 12px; font-size:14px; font-weight:500; }
.tabs2 button.on { background:var(--ink); color:#fff; border-color:var(--ink); }
.tabs2 button span { font-size:12px; opacity:.75; margin-left:2px; }
a.who { display:inline-flex; align-items:center; gap:10px; color:var(--ink); text-decoration:none; } a.who:hover b { text-decoration:underline; }
td.contact a { display:inline-flex; width:32px; height:32px; border-radius:8px; background:var(--bg); color:var(--ink-2); align-items:center; justify-content:center; margin-right:6px; }
td.contact a:hover { background:var(--ink); color:#fff; }
.pager { display:flex; justify-content:space-between; align-items:center; margin-top:12px; } .pager span button { margin-left:4px; min-width:32px; justify-content:center; }
.apphead { display:flex; gap:18px; align-items:center; margin-bottom:12px; }
.av.lg { width:64px; height:64px; font-size:22px; flex:none; }
.apphead .ah { flex:1; } .apphead h1 { margin:0; } .apphead p { margin:4px 0 12px; }
.apphead .match { display:flex; flex-direction:column; align-items:center; gap:2px; }
.ivrow2 { background:#fff; border:1px solid var(--line); border-radius:12px; padding:14px 18px; margin-bottom:12px; }
dl.kv { display:grid; grid-template-columns:150px 1fr; gap:8px 12px; margin:10px 0 0; } dl.kv dt { color:var(--soft); font-size:13px; } dl.kv dd { margin:0; }
ul.plain { list-style:none; padding:0; margin:8px 0; } ul.plain li { padding:6px 0; }
ol.timeline { list-style:none; padding:0; margin:0 0 18px; position:relative; }
ol.timeline li { display:flex; gap:14px; padding:0 0 18px; position:relative; }
ol.timeline li::before { content:""; position:absolute; left:6px; top:14px; bottom:0; width:2px; background:var(--line); }
ol.timeline li:last-child::before { display:none; }
ol.timeline .dot { width:14px; height:14px; border-radius:50%; background:var(--ink); flex:none; margin-top:3px; }
ol.timeline li div { display:flex; flex-direction:column; }
iframe.pdf { width:100%; height:640px; border:1px solid var(--line); border-radius:8px; margin-top:10px; }
img.resimg { max-width:100%; border:1px solid var(--line); border-radius:8px; margin-top:10px; }
.filebtn { position:relative; cursor:pointer; }
table.offers td.actions { white-space:normal; min-width:150px; } table.offers td.actions select { width:140px; display:block; margin-bottom:6px; }

/* ---------- vacancy channels ---------- */
.chans { margin-top:18px; display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:18px; }
@media (max-width:1100px) { .chans { grid-template-columns:1fr; } }
.chan { display:flex; flex-direction:column; gap:12px; }
.chan.on { border-color:var(--cyan-line); }
.chan > button, .chan > .btn { align-self:flex-start; }
.chead { display:flex; gap:12px; align-items:flex-start; }
.chead > div { flex:1; } .chead h2 { margin:0 0 2px; font-size:17px; } .chead p { margin:0; color:var(--muted); font-size:13px; }
.cnum { width:26px; height:26px; flex:none; border-radius:50%; background:var(--ink); color:#fff; display:grid; place-items:center; font-size:13px; font-weight:600; }
.cico { width:40px; height:40px; flex:none; border-radius:10px; background:var(--bg); display:grid; place-items:center; color:var(--ink-2); }
.chan h3 { font-size:14px; margin:6px 0 0; }
.chan table { font-size:14px; }
.copyrow { display:flex; gap:8px; } .copyrow input { font-size:13px; background:#F9FAFB; }
.hrms code { background:var(--bg); padding:1px 5px; border-radius:4px; font-size:12px; word-break:break-all; }
.hrms summary { cursor:pointer; color:var(--cyan-text); font-weight:500; }
dialog#hdlg { width:min(860px, 94vw); max-height:88vh; padding:0; border:1px solid var(--line); border-radius:14px; box-shadow:0 24px 60px rgba(17,24,39,.25); color:var(--ink); }
dialog#hdlg::backdrop { background:rgba(17,24,39,.45); }
.dhead { display:flex; justify-content:space-between; align-items:center; padding:16px 20px; border-bottom:1px solid var(--line); position:sticky; top:0; background:#fff; z-index:1; }
.dhead h2 { margin:0; font-size:18px; }
.dbody { padding:16px 20px; }
.dfoot { display:flex; justify-content:space-between; align-items:center; gap:14px; padding:14px 20px; border-top:1px solid var(--line); position:sticky; bottom:0; background:#fff; flex-wrap:wrap; }
.dfoot.inline { position:static; padding:14px 0 0; border:none; }
.row3 { display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:12px; } @media (max-width:700px) { .row3 { grid-template-columns:1fr; } }
.chip.sm span { min-width:0; padding:6px 12px; font-size:13px; }
.addloc { display:inline-flex; gap:6px; } .addloc input { width:160px; padding:6px 10px; }
.tbar { display:flex; gap:10px; align-items:center; justify-content:space-between; margin:12px 0 10px; flex-wrap:wrap; }
.tbar input[type=search] { flex:1; min-width:180px; } .tbar select { width:auto; }
label.tick { position:relative; display:inline-flex; align-items:center; gap:8px; margin:0; font-weight:500; cursor:pointer; }
label.tick > span::before { content:""; width:16px; height:16px; border:1.5px solid var(--line-2); border-radius:4px; display:inline-block; vertical-align:-3px; margin-right:8px; background:#fff; }
label.tick > input:checked + span::before { background:var(--ink); border-color:var(--ink); box-shadow:inset 0 0 0 3px #fff; }
label.tick > input:focus-visible + span::before { outline:2px solid var(--cyan); outline-offset:2px; }
.plist { border:1px solid var(--line); border-radius:10px; max-height:46vh; overflow:auto; }
.prow { display:flex; align-items:center; gap:12px; padding:10px 14px; border-bottom:1px solid var(--line); }
.prow:last-child { border-bottom:none; } .prow.sent { background:#F9FAFB; }
.prow label { flex:1; display:flex; align-items:center; gap:12px; margin:0; cursor:pointer; font-weight:400; }
.prow label input { width:16px; height:16px; accent-color:var(--ink); }
.prow label > span { display:flex; flex-direction:column; }
.star { background:none; border:none; color:var(--soft); font-size:20px; padding:2px 6px; line-height:1; }
.star:hover { background:var(--bg); color:var(--ink); } .star.on { color:var(--ink); }
input.hpick { width:16px; height:16px; accent-color:var(--ink); }
.vreq { margin-bottom:14px; } .vreqh { display:flex; justify-content:space-between; gap:14px; } .vreq h2 { margin:0 0 4px; font-size:17px; } .vreq p { margin:2px 0; }
.ask { display:flex; gap:12px; align-items:center; margin-top:12px; padding:12px 14px; background:var(--cyan-tint); border:1px solid var(--cyan-line); border-radius:10px; font-size:14px; flex-wrap:wrap; }
.ask > span:nth-child(2) { flex:1; min-width:240px; }
.subbox { margin-top:12px; padding:12px; border:1px solid var(--line); border-radius:10px; display:flex; flex-direction:column; gap:8px; align-items:flex-start; }
.fsec { font-size:15px; margin:22px 0 0; }
label.check { display:flex; gap:10px; align-items:flex-start; font-weight:400; margin-top:16px; } label.check input { width:auto; margin-top:3px; }
.card.done { text-align:left; } .card.done h2 { margin-top:0; }
dialog#hdlg { overflow:auto; }
.dfoot.sticky { margin:14px -20px -16px; }
.slist { border:1px solid var(--line); border-radius:10px; }
.srow { display:flex; flex-wrap:wrap; align-items:center; gap:6px 12px; padding:10px 14px; border-bottom:1px solid var(--line); }
.srow:last-child { border-bottom:none; }
.sname { flex:1; min-width:180px; display:flex; flex-direction:column; } .sname b { font-size:14px; }
.spills { display:flex; gap:6px; flex-wrap:wrap; }
.sact { flex-basis:100%; }
label.tick > input { position:absolute; opacity:0; width:1px; height:1px; }
label.tick { font-size:14px; color:var(--ink-2); }
.subbox[hidden] { display:none; }
.consent .swcard { background:#F9FAFB; } .consent.on .swcard { background:var(--cyan-tint); border-color:var(--cyan-line); }

/* ---------- bulk upload ---------- */
.bsteps { list-style:none; display:flex; gap:24px; padding:0; margin:0 0 18px; color:var(--soft); font-size:14px; font-weight:500; }
.bsteps li { display:flex; align-items:center; gap:8px; } .bsteps span { width:24px; height:24px; border-radius:50%; border:1.5px solid var(--line-2); display:grid; place-items:center; font-size:12px; }
.bsteps li.on { color:var(--ink); } .bsteps li.on span { background:var(--ink); border-color:var(--ink); color:#fff; } .bsteps li.done span { background:var(--cyan-tint); border-color:var(--cyan-line); color:#155E75; }
.bcard { display:flex; flex-direction:column; gap:16px; }
.btpl { display:flex; align-items:center; gap:12px; flex-wrap:wrap; padding-bottom:16px; border-bottom:1px solid var(--line); }
.btpl > div { flex:1; min-width:220px; display:flex; flex-direction:column; }
.drop { margin:0; display:flex; flex-direction:column; align-items:center; gap:6px; padding:34px 20px; border:1.5px dashed var(--line-2); border-radius:12px; background:#F9FAFB; cursor:pointer; text-align:center; font-weight:400; }
.drop:hover, .drop.over { border-color:var(--cyan); background:var(--cyan-tint); }
.drop:focus-within { outline:2px solid var(--cyan); outline-offset:2px; }
.dico { width:44px; height:44px; border-radius:50%; background:#fff; border:1px solid var(--line); display:grid; place-items:center; color:var(--ink-2); }
.bsum { display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:14px; margin:22px 0 6px; }
.stat.warnstat .n { color:var(--red); }
.seg { display:inline-flex; border:1px solid var(--line-2); border-radius:8px; overflow:hidden; }
.seg button { background:#fff; color:var(--ink-2); border:none; border-radius:0; padding:7px 14px; font-weight:500; font-size:13px; }
.seg button + button { border-left:1px solid var(--line-2); } .seg button.on { background:var(--ink); color:#fff; }
.tablewrap { overflow-x:auto; }
.btable tr.bad td { background:#FFFBFB; } .berr { color:var(--red); }
.bconfirm { margin-top:16px; } .bconfirm .check { margin-top:0; }
.bcard .err:empty { display:none; }

/* ---------- MITR score ---------- */
.mitr { display:inline-flex; align-items:baseline; gap:4px; padding:1px 8px; border-radius:99px; background:#F0FDF4; border:1px solid #BBF7D0; vertical-align:1px; white-space:nowrap; }
.mitr b { color:var(--score); font-size:13px; font-weight:700; } .mitr small { color:#166534; font-size:11px; font-weight:500; }
.mitr.prov { background:#F9FAFB; border-color:var(--line-2); } .mitr.prov b { color:#374151; } .mitr.prov small { color:var(--soft); }
.mitr.big { padding:4px 14px; } .mitr.big b { font-size:22px; } .mitr.big small { font-size:13px; }
.mitr.inline { vertical-align:2px; }
.mstrip { display:flex; align-items:center; gap:14px; flex-wrap:wrap; margin-bottom:18px; padding:14px 20px; text-decoration:none; color:var(--ink); }
.mstrip:hover { border-color:var(--line-2); } .mlabel { font-weight:600; } .mtip { flex:1; min-width:200px; } .mgo { color:var(--cyan-text); font-weight:500; font-size:14px; }
.sgrid { display:grid; grid-template-columns:300px minmax(0,1fr); gap:18px; margin-bottom:18px; } @media (max-width:900px) { .sgrid { grid-template-columns:1fr; } }
.shead { text-align:center; } .gauge { width:100%; max-width:240px; } .gnum { font-size:34px; font-weight:700; fill:var(--ink); font-family:Inter, system-ui, sans-serif; } .gend { font-size:10px; fill:var(--soft); }
.sband { font-size:18px; font-weight:600; color:var(--score); margin:2px 0 8px; }
.boost { font-size:14px; margin:8px 0 0; } .boost b { color:var(--score); }
.factors { list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:16px; }
.fh { display:flex; justify-content:space-between; gap:10px; font-size:14px; }
.bar { height:8px; border-radius:99px; background:var(--line); margin:6px 0 4px; overflow:hidden; } .bar span { display:block; height:100%; background:var(--ink); border-radius:99px; }
.tip { color:var(--cyan-text); }
.hrmsnote { display:flex; align-items:center; gap:14px; margin-bottom:18px; } .hrmsnote > div { flex:1; display:flex; flex-direction:column; }
.howto summary { cursor:pointer; } .howto ul { margin:10px 0 0; padding-left:18px; } .howto li { margin:4px 0; }
.cards4 { display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); gap:14px; margin-bottom:14px; } @media (max-width:900px) { .cards4 { grid-template-columns:1fr 1fr; } }
.stat .n.small2 { font-size:20px; }
.sband.prov { color:#374151; }
.prow .mitr { align-self:flex-start; margin:2px 0; } .tablewrap table { min-width:560px; }
.busyfull { color:var(--red); }

/* ---------- resume reading ---------- */
.rdrop { padding:20px; margin-bottom:6px; flex-direction:row; justify-content:flex-start; text-align:left; gap:14px; }
.rdrop.busy { opacity:.7; } .rdrop.done { border-style:solid; border-color:var(--cyan-line); background:var(--cyan-tint); }
input.auto { background:#F0F9FF; border-color:var(--cyan-line); }
.autokey { display:inline-block; width:14px; height:14px; border-radius:4px; background:#F0F9FF; border:1px solid var(--cyan-line); vertical-align:-2px; margin-right:4px; }
.rbt td { vertical-align:top; } .rbt .cellin { padding:6px 8px; font-size:13px; }
.rbt tr.added td { background:#F9FAFB; opacity:.75; } .rbt tr.bad td { background:#FFFBFB; }
#rbdrop { margin-bottom:18px; }
.restext { white-space:pre-wrap; font-size:13px; line-height:1.55; max-height:520px; overflow:auto; background:#F9FAFB; border:1px solid var(--line); border-radius:8px; padding:14px 16px; margin-top:10px; }
.rtx { display:flex; flex-direction:column; gap:2px; }
.big2 { font-size:40px; font-weight:700; letter-spacing:-0.02em; margin:4px 0; color:var(--ink); }
.ptable { font-size:13px; } .ptable td, .ptable th { padding:6px 10px; }

/* ---------- partners ---------- */
.tabs2 a { display:inline-flex; align-items:center; padding:8px 14px; border-radius:8px; text-decoration:none; color:var(--ink-2); font-weight:500; font-size:14px; border:1px solid var(--line); background:#fff; }
.tabs2 a.on { background:var(--ink); color:#fff; border-color:var(--ink); }
.tabs2 { margin-bottom:18px; }
.ptab td { vertical-align:top; }
.hfilter { display:flex; gap:10px; flex-wrap:wrap; padding:14px; margin-bottom:14px; } .hfilter input { flex:1; min-width:200px; } .hfilter select { width:auto; }
.grid.g2r { display:grid; grid-template-columns:minmax(0,2fr) minmax(260px,1fr); gap:18px; align-items:start; } @media (max-width:1000px) { .grid.g2r { grid-template-columns:1fr; } }
.toplist { margin:0; padding-left:20px; } .toplist li { margin:6px 0; } .toplist li > span:last-child { display:block; }
.plainfs { border:none; margin:0; padding:0; display:flex; flex-direction:column; gap:8px; }
.radiorow { display:flex; gap:10px; align-items:flex-start; margin:0; padding:10px 12px; border:1px solid var(--line); border-radius:10px; font-weight:400; cursor:pointer; }
.radiorow input { width:auto; margin-top:4px; accent-color:var(--ink); }
#pdlg { width:min(560px, 94vw); max-height:88vh; padding:0; border:1px solid var(--line); border-radius:14px; box-shadow:0 24px 60px rgba(17,24,39,.25); overflow:auto; }
#pdlg::backdrop { background:rgba(17,24,39,.45); }

/* ---------- consultant earnings ---------- */
.revchart { display:flex; align-items:flex-end; gap:8px; height:200px; padding:0 4px; }
.rc { flex:1; display:flex; flex-direction:column; align-items:center; gap:4px; min-width:0; }
.rc .rb { display:flex; flex-direction:column; justify-content:flex-end; width:70%; max-width:34px; height:140px; }
.rc .rb i { display:block; width:100%; } .rc .rb i:last-child { border-radius:0 0 3px 3px; } .rc .rb i:first-child { border-radius:4px 4px 0 0; }
.rc i.pd, .legend i.pd { background:var(--ink); } .rc i.sch, .legend i.sch { background:var(--cyan); }
.rc .rv { font-size:10px; color:var(--soft); height:14px; white-space:nowrap; } .rc .rl { font-size:11px; color:var(--muted); }
.rc.now .rl { color:var(--ink); font-weight:600; } .rc.future .rb { opacity:.8; }
.legend { display:flex; gap:16px; margin-top:10px; color:var(--muted); } .legend i { display:inline-block; width:10px; height:10px; border-radius:2px; margin-right:6px; vertical-align:-1px; }
.why { display:block; max-width:300px; margin-top:4px; }
table.flat { border:none; border-radius:12px; }
.revfilters { display:flex; gap:8px; flex-wrap:wrap; } .revfilters select { width:auto; }

/* College › Placements */
.deptgrid { display:grid; grid-template-columns:repeat(auto-fill,minmax(320px,1fr)); gap:16px; }
.dept h3 { font-size:16px; }
.funnel > div { display:grid; grid-template-columns:128px 1fr 34px; align-items:center; gap:8px; font-size:13px; margin:5px 0; }
.funnel .fl { color:var(--muted); } .funnel b { text-align:right; }
.funnel .fb { height:8px; border-radius:6px; background:var(--line); overflow:hidden; } .funnel .fb i { display:block; height:100%; background:var(--score); border-radius:6px; }
.funnel > div:last-child .fb i { background:var(--cyan, #06B6D4); }
.pagehead .actions:has(#cpb) { display:flex; gap:10px; align-items:center; flex-wrap:wrap; } #cpb { width:auto; }
td .pill { white-space:nowrap; }

/* Test-mode code (no SMS provider yet): impossible to miss */
.testcode { display:flex; align-items:center; gap:14px; flex-wrap:wrap; background:#ECFEFF; border:1.5px solid var(--cyan, #06B6D4); color:var(--ink); padding:12px 14px; border-radius:12px; margin:12px 0 16px; font-size:14px; line-height:1.35; }
.testcode .tc { font-size:26px; font-weight:700; letter-spacing:.18em; font-variant-numeric:tabular-nums; }
.testcode button { margin-left:auto; }

/* MoU terms and company brief */
dl.terms { display:grid; grid-template-columns:minmax(150px, 42%) 1fr; gap:8px 14px; margin:12px 0 14px; font-size:14px; }
dl.terms dt { color:var(--muted); } dl.terms dd { margin:0; }
.pre { white-space:pre-wrap; margin:4px 0 12px; }
.example { background:var(--bg-2, #F9FAFB); border-radius:8px; padding:8px 10px; }
#mbrief { width:100%; font-family:inherit; font-size:13px; }
fieldset.seg { border:0; padding:0; margin:0 0 8px; display:flex; gap:16px; flex-wrap:wrap; } fieldset.seg legend { font-weight:600; margin-bottom:6px; font-size:14px; }
[data-for][hidden] { display:none !important; }
fieldset.seg label.tick { display:inline-flex; align-items:center; gap:6px; cursor:pointer; }
fieldset.seg input[type=radio] { appearance:auto; -webkit-appearance:radio; width:auto; height:auto; margin:0; position:static; opacity:1; }
.g2r > div > .card + .card { margin-top:16px; }

/* Candidates put up for a vacancy, under the vacancy row */
tr.subrow td { background:var(--bg-2, #F9FAFB); padding-top:8px; padding-bottom:10px; }
.subcands { display:flex; flex-wrap:wrap; gap:8px 18px; align-items:center; }
.subcand { display:inline-flex; gap:6px; align-items:center; background:#fff; border:1px solid var(--line); border-radius:8px; padding:4px 10px; }
dl.terms dd { overflow-wrap:anywhere; }
.assign { margin-top:8px; display:flex; flex-wrap:wrap; gap:6px; align-items:center; }
.assign select { width:auto; max-width:200px; padding:4px 8px; font-size:13px; }
.achip { background:var(--bg-2, #F3F4F6); border-radius:12px; padding:2px 8px; }
.cdover { margin:0 0 20px; } .cdover h3 { margin:18px 0 8px; }
.opening { margin-bottom:12px; } .cdepts { display:flex; flex-wrap:wrap; gap:6px 16px; margin-bottom:8px; }
.elig { border-top:1px solid var(--line); margin-top:14px; padding-top:4px; }
.wsswitch { display:inline-flex; margin-left:14px; border:1px solid var(--line); border-radius:999px; padding:2px; background:#fff; }
.wsswitch button { border:0; background:transparent; color:var(--muted); font-size:13px; padding:5px 12px; border-radius:999px; min-height:0; box-shadow:none; }
.wsswitch button.on { background:var(--ink, #0F172A); color:#fff; }
.wsgrid { margin-top:20px; } .wscard { text-align:left; cursor:pointer; border:1.5px solid var(--line); background:#fff; padding:22px; display:block; width:100%; font:inherit; color:inherit; }
.wscard:hover, .wscard:focus-visible { border-color:var(--cyan, #06B6D4); } .wscard.on { border-color:var(--ink, #0F172A); } .wscard h2 { margin:0 0 6px; } .wscard .btn { margin-top:10px; display:inline-block; }

/* Best for you: consultants and colleges ranked by results in this company's own hiring */
.besttag { display:inline-block; font-size:11px; font-weight:700; color:#92400E; background:#FEF3C7; border:1px solid #FDE68A; border-radius:999px; padding:1px 8px; white-space:nowrap; }
.perfline { color:#155E75; }
tr.bestrow td { background:#FFFBEB; }
.bestbox { border-color:#FDE68A; }
.bestgrid { display:grid; grid-template-columns:repeat(auto-fit, minmax(240px, 1fr)); gap:12px; }
.bestcard { border:1px solid var(--line); border-radius:10px; padding:12px 14px; display:flex; flex-direction:column; gap:6px; background:#fff; }
.bestcard p { margin:0; }
.bestcard button { align-self:flex-start; }
.prow label > span > .besttag { align-self:flex-start; margin:2px 0; }

/* Job levels and fees by level */
.lvl { display:inline-block; font-size:11px; font-weight:600; color:#3730A3; background:#EEF2FF; border:1px solid #C7D2FE; border-radius:999px; padding:0 7px; white-space:nowrap; }
.slabbox { margin:4px 0 12px; } .slabbox summary { cursor:pointer; }
.slabrow { align-items:center; margin-bottom:6px; } .slabrow label { margin:0; }
table.slabs { margin:4px 0; width:auto; } table.slabs th { text-transform:none; letter-spacing:0; font-size:12px; }

.slablist { display:flex; flex-direction:column; gap:8px; margin-bottom:12px; }
.slablist > div { display:flex; flex-direction:column; gap:2px; padding:8px 10px; border:1px solid var(--line); border-radius:8px; }
.slablist .lvl { align-self:flex-start; }
