/* KSRTC NextGen — Internship Portal
   Tokens: signal red, depot navy, warm white; ticket yellow, route teal, lilac accents. */
:root {
  --red: #C21F30;
  --red-dark: #9E1626;
  --navy: #15223F;
  --navy-2: #22335A;
  --white: #FFFDF8;
  --paper: #FFFFFF;
  --yellow: #F4B400;
  --yellow-soft: #FFF3CF;
  --teal: #0B8F86;
  --teal-soft: #DDF3F0;
  --lilac: #B8A4EE;
  --lilac-soft: #EFEAFD;
  --ink: #15223F;
  --ink-2: #4A5671;
  --line: #E3DED3;
  --line-2: #CFC8BA;
  --ok: #157A3E;
  --warn: #9A5B00;
  --err: #B3141F;
  --focus: #F4B400;
  --font: "Archivo", "Noto Sans Malayalam", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-ml: "Noto Sans Malayalam", "Archivo", system-ui, sans-serif;
  --r-sm: 8px;
  --r: 14px;
  --r-lg: 22px;
  --shadow: 0 1px 0 rgba(21,34,63,.06), 0 8px 24px -12px rgba(21,34,63,.25);
}
html[lang="ml"] body { font-family: var(--font-ml); line-height: 1.75; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font-family: var(--font); font-size: 17px; line-height: 1.6;
  font-variation-settings: "wdth" 100;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--red-dark); text-underline-offset: 3px; }
a:hover { color: var(--red); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; font-weight: 800; font-stretch: 112%; font-variation-settings: "wdth" 112; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.45rem, 3vw, 2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--ink-2); }
.small { font-size: .875rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--yellow); color: var(--navy); padding: 10px 16px; border-radius: var(--r-sm); z-index: 100; font-weight: 700; }
.skip:focus { top: 12px; }
mark.ph { background: var(--yellow-soft); color: var(--warn); padding: 0 .3em; border-radius: 4px; font-weight: 600; }

/* ---------- Header ---------- */
.site-head { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 40; }
.site-head .wrap { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); }
.brand img { height: 42px; width: auto; }
.brand b { display: block; font-stretch: 115%; font-variation-settings: "wdth" 115; font-size: 1.05rem; line-height: 1.1; }
.brand span { font-size: .78rem; color: var(--ink-2); }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--navy); text-decoration: none; padding: 8px 12px; border-radius: 999px; font-weight: 600; font-size: .95rem; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--yellow-soft); color: var(--navy); }
.lang-switch { border: 1.5px solid var(--navy); border-radius: 999px; padding: 6px 12px !important; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1.5px solid var(--navy); border-radius: 999px; padding: 8px 14px; font: inherit; font-weight: 700; color: var(--navy); }
@media (max-width: 900px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 68px; background: var(--paper); flex-direction: column; align-items: stretch; padding: 12px 16px 20px; border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .nav a { padding: 12px; }
}

/* ---------- Buttons & forms ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 2px solid transparent; border-radius: 999px; padding: 12px 22px; font: inherit; font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer; line-height: 1.2; min-height: 48px; }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); color: #fff; }
.btn-ghost { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.btn-light { background: #fff; color: var(--navy); border-color: var(--line-2); }
.btn-light:hover { border-color: var(--navy); color: var(--navy); }
.btn-danger { background: #fff; color: var(--red-dark); border-color: var(--red); }
.btn-danger:hover { background: var(--red); color: #fff; }
.box-danger { border-color: var(--red); }
.btn-yellow { background: var(--yellow); color: var(--navy); }
.btn-sm { padding: 6px 14px; min-height: 36px; font-size: .9rem; }
.btn[disabled], .btn.disabled { opacity: .5; cursor: not-allowed; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.field { margin-bottom: 18px; }
.field label, .label { display: block; font-weight: 700; margin-bottom: 6px; font-size: .95rem; }
.field .hint { font-size: .85rem; color: var(--ink-2); margin-top: 4px; }
.req::after { content: " *"; color: var(--red); }
input[type=text], input[type=email], input[type=tel], input[type=password], input[type=date], input[type=month],
input[type=number], input[type=url], input[type=datetime-local], input[type=search], select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: #fff;
  border: 1.5px solid var(--line-2); border-radius: var(--r-sm); padding: 11px 12px; min-height: 46px;
}
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--navy); outline: 3px solid rgba(244,180,0,.45); outline-offset: 0; }
input[aria-invalid=true], select[aria-invalid=true], textarea[aria-invalid=true] { border-color: var(--err); }
.field-error { color: var(--err); font-size: .875rem; margin-top: 4px; font-weight: 600; }
.check { display: flex; gap: 10px; align-items: flex-start; }
.check input { width: 22px; height: 22px; margin-top: 3px; accent-color: var(--red); flex: none; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 18px; }
@media (max-width: 680px) { .grid2, .grid3 { grid-template-columns: 1fr; } }

/* ---------- Alerts ---------- */
.alert { border-radius: var(--r-sm); padding: 12px 16px; margin: 0 0 16px; border-left: 5px solid; background: #fff; }
.alert-success { border-color: var(--ok); background: #EAF6EE; }
.alert-error { border-color: var(--err); background: #FDECEC; }
.alert-warn { border-color: var(--yellow); background: var(--yellow-soft); }
.alert-info { border-color: var(--teal); background: var(--teal-soft); }
.alert ul { margin: 6px 0 0; padding-left: 20px; }
.demo-banner { background: repeating-linear-gradient(-45deg, var(--yellow) 0 14px, #FFD24D 14px 28px); color: var(--navy); font-weight: 700; text-align: center; padding: 8px 16px; font-size: .92rem; }

/* ---------- Hero: route line ---------- */
.hero { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.hero .wrap { padding: 56px 0 64px; display: grid; grid-template-columns: 1.25fr 1fr; gap: 40px; align-items: center; }
.hero-grid-bg { position: absolute; inset: 0; opacity: .12; pointer-events: none; }
.route { list-style: none; margin: 0 0 28px; padding: 0 0 0 44px; position: relative; }
.route::before { content: ""; position: absolute; left: 14px; top: 18px; bottom: 18px; width: 8px; border-radius: 8px; background: var(--red); }
.route li { position: relative; font-weight: 900; font-stretch: 125%; font-variation-settings: "wdth" 125; font-size: clamp(2.1rem, 6.2vw, 4.2rem); line-height: 1.05; letter-spacing: -.02em; padding: 6px 0; }
.route li::before { content: ""; position: absolute; left: -40px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--white); border: 7px solid var(--red); }
.route li:nth-child(2)::before { border-color: var(--yellow); }
.route li:nth-child(3)::before { border-color: var(--teal); }
.hero-tag { font-size: clamp(1.15rem, 2.4vw, 1.5rem); font-weight: 700; color: var(--yellow); margin-bottom: 10px; }
.hero-desc { color: #D7DEEE; max-width: 54ch; font-size: 1.08rem; }
.hero .btn-ghost { border-color: #fff; color: #fff; }
.hero .btn-ghost:hover { background: #fff; color: var(--navy); }
.hero-art { position: relative; }
.hero-art svg { width: 100%; height: auto; }
.bus-drive { animation: drive 2.4s cubic-bezier(.3,.7,.3,1) .3s both; }
@keyframes drive { from { transform: translateX(-440px); } to { transform: translateX(0); } }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; padding: 36px 0 44px; } .hero-art { order: -1; max-width: 420px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* ---------- Sections ---------- */
.section { padding: 56px 0; }
.section-alt { background: var(--paper); border-block: 1px solid var(--line); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.section-head p { margin: 0; color: var(--ink-2); max-width: 60ch; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding-top: 52px; }
.steps li::before { content: counter(s); position: absolute; top: 0; left: 0; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; background: var(--yellow); color: var(--navy); }
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 19px; left: 48px; right: -12px; border-top: 3px dashed var(--line-2); }
.steps h3 { margin-bottom: 4px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } .steps li::after { display: none; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Ticket cards ---------- */
.tickets { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 22px; }
.ticket {
  --notch: 14px;
  position: relative; background: var(--paper); border: 1.5px solid var(--line-2); border-radius: var(--r-lg);
  display: grid; grid-template-rows: auto auto 1fr auto; overflow: hidden;
  -webkit-mask: radial-gradient(circle var(--notch) at 0 132px, transparent 98%, #000) , radial-gradient(circle var(--notch) at 100% 132px, transparent 98%, #000);
  -webkit-mask-composite: source-in; mask-composite: intersect;
}
.ticket-top { background: var(--navy); color: #fff; padding: 18px 22px 16px; min-height: 132px; position: relative; }
.ticket-top .dept { color: var(--yellow); font-weight: 700; font-size: .88rem; }
.ticket-top h3 { margin: 4px 0 0; font-size: 1.3rem; }
.ticket-top a { color: #fff; text-decoration: none; }
.ticket-top a::after { content: ""; position: absolute; inset: 0; } /* whole top clickable */
.ticket-tear { border-top: 2px dashed var(--line-2); margin: 0 22px; }
.ticket-body { padding: 16px 22px; }
.ticket-foot { padding: 14px 22px 18px; display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; border-top: 1px solid var(--line); }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; margin: 0; font-size: .93rem; }
.facts dt { color: var(--ink-2); }
.facts dd { margin: 0; font-weight: 600; }

.seats-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px dotted var(--line-2); font-size: .95rem; }
.seats-row:last-child { border-bottom: 0; }
.pips { display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.pip { width: 14px; height: 16px; border-radius: 4px 4px 2px 2px; background: var(--teal); box-shadow: inset 0 -4px 0 rgba(0,0,0,.18); }
.pip.marketing { background: var(--red); } .pip.operations { background: var(--teal); } .pip.hr { background: var(--lilac); } .pip.finance { background: var(--yellow); }

.chip { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 3px 11px; font-size: .82rem; font-weight: 700; border: 1.5px solid currentColor; }
.chip-open { color: var(--ok); background: #EAF6EE; }
.chip-upcoming, .chip-dates_tbc { color: var(--warn); background: var(--yellow-soft); }
.chip-closed, .chip-paused, .chip-unpublished { color: var(--ink-2); background: #F2F0EB; }
.chip-demo { color: var(--navy); background: var(--yellow); border-color: var(--yellow); }
.chip-job { color: #fff; background: var(--navy); border-color: var(--navy); }

/* ---------- Filters ---------- */
.filters { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; display: grid; grid-template-columns: repeat(5, 1fr) auto; gap: 12px; align-items: end; margin-bottom: 26px; }
.filters .field { margin: 0; }
@media (max-width: 1000px) { .filters { grid-template-columns: 1fr 1fr; } }

/* ---------- Detail page ---------- */
.detail-head { background: var(--navy); color: #fff; padding: 40px 0 32px; }
.detail-head .crumbs a { color: #D7DEEE; }
.detail-head p { color: #D7DEEE; max-width: 70ch; }
.detail-grid { display: grid; grid-template-columns: 1fr 340px; gap: 36px; padding: 36px 0 60px; }
.detail-grid aside { position: sticky; top: 90px; align-self: start; }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; margin-bottom: 20px; }
.panel h2 { font-size: 1.3rem; }
.panel-accent { border-top: 6px solid var(--red); }
.track-card { border: 1.5px solid var(--line-2); border-radius: var(--r); padding: 16px 18px; margin-bottom: 12px; }
.track-card h3 { display: flex; justify-content: space-between; gap: 10px; align-items: center; }
@media (max-width: 900px) { .detail-grid { grid-template-columns: 1fr; } .detail-grid aside { position: static; } }

/* ---------- Content pages, FAQ ---------- */
.prose { max-width: 72ch; }
.prose h2 { margin-top: 1.6em; }
.prose li { margin-bottom: .35em; }
details.faq { border-bottom: 1px solid var(--line); padding: 4px 0; }
details.faq summary { cursor: pointer; font-weight: 700; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
details.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--red); }
details.faq[open] summary::after { content: "–"; }

/* ---------- Auth ---------- */
.auth { min-height: calc(100vh - 160px); display: grid; place-items: center; padding: 40px 16px; }
.auth-card { width: min(480px, 100%); background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px; box-shadow: var(--shadow); }
.auth-card h1 { font-size: 1.8rem; }

/* ---------- Dashboard ---------- */
.dash-head { padding: 34px 0 10px; }
.app-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; margin-bottom: 20px; }
.app-card header { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: start; margin-bottom: 14px; }
.journey { list-style: none; display: flex; padding: 0; margin: 14px 0 6px; gap: 0; overflow-x: auto; }
.journey li { flex: 1; min-width: 92px; text-align: center; position: relative; font-size: .78rem; color: var(--ink-2); padding-top: 26px; }
.journey li::before { content: ""; position: absolute; top: 4px; left: 50%; transform: translateX(-50%); width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 4px solid var(--line-2); z-index: 1; }
.journey li::after { content: ""; position: absolute; top: 10px; left: 50%; width: 100%; height: 4px; background: var(--line-2); }
.journey li:last-child::after { display: none; }
.journey li.done::before { border-color: var(--teal); background: var(--teal); }
.journey li.done::after { background: var(--teal); }
.journey li.now::before { border-color: var(--red); width: 20px; height: 20px; top: 2px; }
.journey li.now { color: var(--navy); font-weight: 800; }
.status { display: inline-block; border-radius: 999px; padding: 3px 12px; font-size: .82rem; font-weight: 700; white-space: nowrap; }
.st-grey { background: #EEEBE4; color: #4A4A4A; }
.st-blue { background: #E4EBFA; color: #22335A; }
.st-amber { background: var(--yellow-soft); color: #7A4A00; }
.st-teal { background: var(--teal-soft); color: #06625C; }
.st-green { background: #E2F4E8; color: #12602F; }
.st-lilac { background: var(--lilac-soft); color: #4B3A8C; }
.st-red { background: #FBE6E8; color: #8E1220; }
.notice { border-radius: var(--r); padding: 16px 18px; margin-top: 14px; }
.notice-clarify { background: var(--yellow-soft); border: 1.5px solid var(--yellow); }
.notice-interview { background: var(--teal-soft); border: 1.5px solid var(--teal); }
.notice-offer { background: #FFF; border: 2px solid var(--red); }

/* ---------- Wizard ---------- */
.wizard { display: grid; grid-template-columns: 260px 1fr; gap: 32px; padding: 28px 0 70px; }
.wz-steps { list-style: none; margin: 0; padding: 0; position: sticky; top: 88px; align-self: start; }
.wz-steps li a { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: var(--r-sm); text-decoration: none; color: var(--ink); font-weight: 600; font-size: .95rem; }
.wz-steps li a:hover { background: var(--yellow-soft); }
.wz-steps .n { width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--line-2); display: grid; place-items: center; font-size: .85rem; flex: none; background: #fff; }
.wz-steps li.done .n { background: var(--teal); border-color: var(--teal); color: #fff; }
.wz-steps li.err .n { border-color: var(--err); color: var(--err); }
.wz-steps li.current a { background: var(--navy); color: #fff; }
.wz-steps li.current .n { border-color: var(--yellow); background: var(--yellow); color: var(--navy); }
.progress { height: 10px; background: #ECE7DC; border-radius: 99px; overflow: hidden; margin: 6px 0 18px; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--red), var(--yellow)); border-radius: 99px; }
.saved { font-size: .88rem; color: var(--ink-2); min-height: 1.4em; }
.saved.ok { color: var(--ok); }
.saved.fail { color: var(--err); }
.wz-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; }
.repeat-item { border: 1.5px dashed var(--line-2); border-radius: var(--r); padding: 18px 18px 4px; margin-bottom: 16px; position: relative; background: var(--white); }
.repeat-item .remove-row { position: absolute; top: 10px; right: 10px; }
.repeat-item legend { font-weight: 800; padding: 0 6px; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.wz-nav { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
@media (max-width: 900px) {
  .wizard { grid-template-columns: 1fr; }
  .wz-steps { position: static; display: flex; overflow-x: auto; gap: 6px; padding-bottom: 6px; }
  .wz-steps li a { white-space: nowrap; }
  .wz-steps li:not(.current) .t { display: none; }
}

/* Uploads */
.uploader { border: 2px dashed var(--line-2); border-radius: var(--r); padding: 18px; margin-bottom: 18px; background: #fff; }
.uploader.drag { border-color: var(--teal); background: var(--teal-soft); }
.uploader h3 { font-size: 1.05rem; margin-bottom: 2px; }
.upl-list { list-style: none; padding: 0; margin: 12px 0 0; }
.upl-list li { display: flex; align-items: center; gap: 12px; padding: 10px; border: 1px solid var(--line); border-radius: var(--r-sm); margin-bottom: 8px; background: var(--white); flex-wrap: wrap; }
.upl-thumb { width: 52px; height: 52px; border-radius: 6px; object-fit: cover; background: var(--lilac-soft); display: grid; place-items: center; font-weight: 800; font-size: .75rem; color: var(--navy); flex: none; }
.upl-meta { flex: 1; min-width: 160px; }
.upl-bar { height: 6px; background: #ECE7DC; border-radius: 99px; overflow: hidden; margin-top: 6px; }
.upl-bar span { display: block; height: 100%; background: var(--teal); width: 0; transition: width .2s; }

/* Review */
.review-block { border-bottom: 1px solid var(--line); padding: 14px 0; }
.review-block h3 { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.kv { display: grid; grid-template-columns: 200px 1fr; gap: 4px 16px; margin: 0; }
.kv dt { color: var(--ink-2); }
.kv dd { margin: 0; }
@media (max-width: 600px) { .kv { grid-template-columns: 1fr; } .kv dd { margin-bottom: 8px; } }

/* ---------- Footer ---------- */
.site-foot { background: var(--navy); color: #C9D2E6; padding: 36px 0 28px; margin-top: 40px; font-size: .92rem; }
.site-foot a { color: #fff; }
.site-foot .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.foot-links { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- Tables (shared) ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; }
table.t { width: 100%; border-collapse: collapse; font-size: .92rem; }
table.t th, table.t td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
table.t th { background: #F7F4EE; font-weight: 700; white-space: nowrap; position: sticky; top: 0; }
table.t tr:last-child td { border-bottom: 0; }
table.t td.num, table.t th.num { text-align: right; font-variant-numeric: tabular-nums; }
table.t tbody tr:hover { background: #FCFAF5; }

/* ---------- Print (acknowledgement) ---------- */
@media print {
  .site-head, .site-foot, .no-print, .demo-banner { display: none !important; }
  body { background: #fff; font-size: 12pt; }
  .panel { border: 1px solid #999; }
}

/* Career Portal: two sides on the home page */
.sides { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.side { display: block; text-decoration: none; color: var(--navy); background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; border-top: 8px solid var(--red); transition: transform .15s, box-shadow .15s; }
.side:hover, .side:focus-visible { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(21,34,63,.12); color: var(--navy); }
.side h3 { font-size: 1.6rem; margin: 6px 0 8px; }
.side p { color: var(--ink-2); margin: 0 0 14px; }
.side-jobs { border-top-color: var(--teal); }
.side-kicker { display: inline-block; font-size: .85rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--yellow-soft); color: var(--warn); }
.side-go { font-weight: 700; color: var(--red-dark); }
.side-jobs .side-go { color: var(--teal); }

/* ---------- November 2026: two-door home page ---------- */
.hero-doors .wrap.doors-wrap { display: block; padding: 52px 0 40px; position: relative; }
.doors-head { max-width: 760px; margin-bottom: 30px; }
.doors-kicker { color: var(--yellow); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; font-size: .85rem; margin: 0 0 8px; }
.doors-head h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); line-height: 1.12; margin: 0 0 12px; color: #fff; }
.doors { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.door { position: relative; display: flex; flex-direction: column; text-decoration: none; color: var(--navy); background: var(--paper, #FFFDF8); border-radius: 18px; padding: 26px 26px 24px; border-top: 10px solid var(--red); transition: transform .15s, box-shadow .15s; }
.door-jobs { border-top-color: var(--teal); }
.door:hover, .door:focus-visible { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(0,0,0,.28); color: var(--navy); }
.door h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 4px 0 10px; }
.door-who { font-weight: 700; color: var(--ink-2, #4A5675); font-size: .95rem; }
.door-count { position: absolute; top: 18px; right: 18px; font-size: .8rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--yellow-soft); color: var(--warn, #7A5200); }
.door ul { list-style: none; padding: 0; margin: 0 0 20px; flex: 1; }
.door li { padding: 6px 0 6px 26px; position: relative; border-bottom: 1px dashed var(--line, #E6E1D4); }
.door li::before { content: ""; position: absolute; left: 4px; top: 13px; width: 10px; height: 10px; border-radius: 50%; border: 3px solid var(--red); }
.door-jobs li::before { border-color: var(--teal); }
.door-btn { align-self: flex-start; }
.btn-teal { background: var(--teal); color: #fff; }
.btn-teal:hover { background: #087068; color: #fff; }
.doors-continue { margin: 22px 0 0; }
.doors-continue a { color: #fff; font-weight: 700; }
.doors-continue a:hover { color: var(--yellow); }
.two-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: start; }
.list-col .section-head { border-bottom: 4px solid var(--red); padding-bottom: 10px; margin-bottom: 18px; }
.list-jobs .section-head { border-bottom-color: var(--teal); }
.list-col .section-head h2 { font-size: 1.6rem; margin: 0; }
.tickets-col { grid-template-columns: 1fr; }
@media (max-width: 860px) { .doors, .two-lists { grid-template-columns: 1fr; } .hero-doors .wrap.doors-wrap { padding: 36px 0 30px; } }

/* ---------- Published qualifications ---------- */
.qual-block { background: var(--teal-soft); border-radius: 14px; padding: 18px 20px; margin-bottom: 8px; }
.qual-item { border: 1px solid #BFE3DE; background: #fff; border-radius: 12px; padding: 12px 16px 6px; margin: 0 0 12px; }
.qual-item legend { font-weight: 700; padding: 0 6px; }
.qual-no { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--teal); color: #fff; font-size: .85rem; margin-right: 4px; }
.qual-list { padding-left: 22px; margin: 0; }
.qual-list li { margin-bottom: 10px; }
.panel-quals { border-left: 6px solid var(--teal); }

/* ---------- Interview marking (staff) ---------- */
.mark-grid { width: 100%; border-collapse: collapse; }
.mark-grid th, .mark-grid td { border-bottom: 1px solid var(--line, #E6E1D4); padding: 10px 8px; text-align: left; vertical-align: top; }
.mark-grid .mk-max { width: 70px; text-align: center; font-weight: 700; }
.mark-grid .mk-in { width: 120px; }
.mark-grid .mk-in input { width: 100px; text-align: right; font-weight: 700; font-size: 1.05rem; }
.mark-grid tfoot td { font-weight: 700; background: #F6F3EA; }
.mk-total { font-size: 1.3rem; }
.mk-bar { height: 8px; background: #E9E4D6; border-radius: 99px; overflow: hidden; margin-top: 6px; }
.mk-bar span { display: block; height: 100%; background: var(--teal); }
.rank-ex td { color: #6B7280; background: #FAFAF7; }
.stmt { font-size: .9rem; }
.stmt th, .stmt td { border: 1px solid #999; padding: 5px 6px; }
.stmt-sign { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 60px; text-align: center; font-size: .85rem; }
.stmt-sign div { border-top: 1px solid #333; padding-top: 6px; }
@media print { .no-print { display: none !important; } .stmt-page { padding: 0 !important; } }
