/* EduHunt Exam Operations R120 | isolated, responsive view-only styling.
   Applies to authorised role dashboards, not to result uploads or WhatsApp. */
body[data-portal-role] .r120-quick,
body[data-portal-role] .r120-schoolwise {--r120-text:#edf7ff;--r120-muted:#a5c3d6;--r120-border:#2b5677;--r120-card:#0b243a; color:var(--r120-text)}
body[data-portal-role] .r120-quick .exam-v3-coordinator-quick-controls {
  display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;align-items:end!important;gap:12px!important;margin-bottom:12px!important
}
body[data-portal-role] .r120-quick .exam-v3-coordinator-quick-controls:has(#examV3CoordinatorQuickCoordinator){grid-template-columns:repeat(4,minmax(0,1fr))!important}
body[data-portal-role] .r120-quick .exam-v3-coordinator-quick-controls label,
body[data-portal-role] .r120-school-toolbar label{display:flex!important;flex-direction:column;gap:6px;min-width:0;font-size:12px!important;font-weight:750;letter-spacing:.04em;color:var(--r120-muted)}
body[data-portal-role] .r120-quick .exam-v3-coordinator-quick-controls label>span,
body[data-portal-role] .r120-school-toolbar label>span{text-transform:uppercase;font-size:11px!important;white-space:nowrap}
body[data-portal-role] .r120-quick select,
body[data-portal-role] .r120-schoolwise select,
body[data-portal-role] .r120-schoolwise input{
  width:100%!important;min-width:0!important;height:44px!important;padding:9px 12px!important;color:var(--r120-text)!important;background:#0b2840!important;border:1px solid #3b6786!important;border-radius:10px!important;font-weight:650!important;font-size:14px!important
}
body[data-portal-role] .r120-quick select:focus-visible,
body[data-portal-role] .r120-schoolwise input:focus-visible,
body[data-portal-role] .r120-schoolwise select:focus-visible {outline:2px solid #66c9ff!important;outline-offset:1px}
body[data-portal-role] .r120-quick .exam-v3-coordinator-quick-stages{
  display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:10px!important;max-width:none!important;margin-top:12px!important
}
body[data-portal-role] .r120-quick .exam-v3-coordinator-quick-stage{
  appearance:none!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;gap:5px!important;min-width:0!important;min-height:88px!important;padding:13px 14px!important;border:1px solid var(--r120-border)!important;border-radius:13px!important;background:linear-gradient(145deg,#12364f,#0b243a)!important;color:var(--r120-text)!important;box-shadow:none!important;cursor:pointer!important;transform:none!important
}
body[data-portal-role] .r120-quick .exam-v3-coordinator-quick-stage b{font-size:26px!important;line-height:1.1!important;order:0!important;font-variant-numeric:tabular-nums!important;color:#eff9ff!important}
body[data-portal-role] .r120-quick .exam-v3-coordinator-quick-stage span{font-size:12px!important;line-height:1.3!important;white-space:normal!important;order:1!important;color:#b5d3e8!important;text-align:left!important;font-weight:750!important}
body[data-portal-role] .r120-quick .exam-v3-coordinator-quick-stage:is(:hover,:focus-visible,.is-active){outline:none!important;border-color:#54b9fa!important;background:linear-gradient(145deg,#164d70,#0c2945)!important;box-shadow:0 0 0 2px rgba(84,185,250,.15)!important}
body[data-portal-role] .r120-quick .exam-v3-coordinator-quick-stage:nth-child(4),
body[data-portal-role] .r120-quick .exam-v3-coordinator-quick-stage:nth-child(6){border-color:#9e693b!important}
body[data-portal-role] .r120-source-note{margin:8px 0!important;color:#a6c2d4!important;font-size:12px!important;line-height:1.55!important}
body[data-portal-role] .r120-inline-details{margin:15px 0 4px;padding:16px;border-radius:14px;border:1px solid #2d607e;background:linear-gradient(155deg,#09243a,#071e31);color:#eaf6ff}
body[data-portal-role] .r120-inline-details>header{display:flex;align-items:start;justify-content:space-between;gap:12px;padding-bottom:12px;border-bottom:1px solid #234a66;margin-bottom:10px}
body[data-portal-role] .r120-inline-details>header>div{display:flex;flex-direction:column;gap:5px}
body[data-portal-role] .r120-inline-details>header strong{font-size:16px;font-weight:800}
body[data-portal-role] .r120-inline-details>header small{font-size:12px;color:#afcee2}
body[data-portal-role] button.r120-close-detail{min-width:35px;height:35px;font-size:22px;border-radius:10px;border:1px solid #315979;background:#123a54;color:#eefbff;cursor:pointer}
body[data-portal-role] .r120-table-scroll{overflow:auto;max-height:500px;scrollbar-width:thin}
body[data-portal-role] .r120-table-scroll table{width:100%;border-collapse:collapse;min-width:570px;color:#ebf7ff;font-size:13px}
body[data-portal-role] .r120-table-scroll th{text-align:left;position:sticky;top:0;background:#12364c;color:#dceeff;white-space:nowrap;font-size:11px;letter-spacing:.04em;text-transform:uppercase}
body[data-portal-role] .r120-table-scroll th,body[data-portal-role] .r120-table-scroll td{padding:10px 11px;border-bottom:1px solid #20475f;vertical-align:middle}
body[data-portal-role] .r120-table-scroll tr:hover td{background:#103249}
body[data-portal-role] .r120-table-scroll td small{display:block;margin-top:3px;font-size:12px;color:#b7d3e5}
body[data-portal-role] button.r120-open{border:1px solid #559bc5;border-radius:9px;padding:9px 11px;white-space:nowrap;cursor:pointer;color:#eaf8ff;background:#144363;font-weight:700}
body[data-portal-role] button.r120-open:hover{background:#176089}
body[data-portal-role] .r120-none{padding:14px!important;color:#9bbbd0!important;font-size:13px!important;margin:0!important}
body[data-portal-role] .r120-school-search{margin-bottom:10px;position:relative;max-width:none}
body[data-portal-role] .r120-school-search>label{display:block;margin-bottom:5px;color:#b0cedc;font-size:11px;font-weight:850;text-transform:uppercase;letter-spacing:.05em}
body[data-portal-role] .r120-school-search-wrap{position:relative}
body[data-portal-role] .r120-school-dropdown{position:absolute;z-index:90;top:calc(100% + 4px);left:0;right:0;max-height:310px;overflow-y:auto;background:#082137;border:1px solid #5095c1;border-radius:11px;box-shadow:0 16px 34px rgba(0,0,0,.42);padding:5px}
body[data-portal-role] .r120-school-dropdown[hidden]{display:none!important}
body[data-portal-role] .r120-school-option{display:flex!important;align-items:center;gap:13px;padding:11px!important;min-height:42px!important;color:#eefbff!important;background:transparent!important;border:0!important;border-radius:8px!important;text-align:left;width:100%;cursor:pointer}
body[data-portal-role] .r120-school-option b{min-width:66px;color:#8fdbff;font-size:13px}
body[data-portal-role] .r120-school-option span{font-size:13px}
body[data-portal-role] .r120-school-option:is(:hover,.is-active){background:#155174!important}
body[data-portal-role] .r120-school-toolbar{display:grid;grid-template-columns:minmax(180px,.85fr) minmax(148px,.6fr) minmax(410px,2fr);gap:10px;align-items:end;margin-bottom:12px}
body[data-portal-role] .r120-stage-tabs{display:flex;gap:5px;align-items:stretch;min-width:0}
body[data-portal-role] .r120-stage-tab{appearance:none!important;white-space:nowrap!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:44px!important;padding:9px 12px!important;border:1px solid #386787!important;background:#0e2c45!important;color:#d0e6f7!important;border-radius:9px!important;cursor:pointer!important;font-weight:800!important;font-size:12px!important;flex:1}
body[data-portal-role] .r120-stage-tab.is-active{background:#135b79!important;border-color:#61cfff!important;color:#fff!important}
body[data-portal-role] .r120-stage-tab:hover{border-color:#64b7e7!important}
body[data-portal-role] .r120-school-panels{margin:8px 0 0}
body[data-portal-role] .r120-school-panels>.exam-v3-coordinator-type{margin:0 0 12px!important;background:none!important;border:0!important;padding:0!important}
body[data-portal-role] .r120-school-panels>.exam-v3-coordinator-type .exam-v3-coordinator-type-body{padding:0!important}
body[data-portal-role] .r120-school-panels>.exam-v3-coordinator-consolidated-panel{border:0!important;padding:0!important;margin:0!important;background:transparent!important}
body[data-portal-role] .r120-consolidated-intro{display:flex;flex-direction:column;gap:5px;margin:0 0 14px}
body[data-portal-role] .r120-consolidated-intro strong{font-size:19px;font-weight:850;color:#ecf8ff}
body[data-portal-role] .r120-consolidated-intro span{font-size:12px;color:#a5c3d6}
body[data-portal-role] .r120-consolidated .exam-v3-coordinator-summary-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,215px),1fr))!important;gap:12px!important}
body[data-portal-role] .r120-consolidated .exam-v3-coordinator-summary-card{border-radius:12px!important;background:#0d2942!important;min-height:190px!important;gap:10px!important;padding:14px!important;color:#e7f8ff!important}
body[data-portal-role] .r120-consolidated .exam-v3-coordinator-summary-card header{display:flex;flex-direction:column;gap:4px}
body[data-portal-role] .r120-consolidated .exam-v3-coordinator-summary-card header span{font-size:14px!important;font-weight:850!important}
body[data-portal-role] .r120-consolidated .exam-v3-coordinator-summary-card header>b{font-size:26px!important;font-weight:900!important;font-variant-numeric:tabular-nums}
body[data-portal-role] .r120-consolidated .exam-v3-coordinator-summary-card header>b em{font-size:16px!important;font-weight:500!important;font-style:normal;color:#9fc5da}
body[data-portal-role] .r120-consolidated .exam-v3-coordinator-summary-card header small{color:#a3c7df;font-size:11px!important}
body[data-portal-role] .r120-consolidated .exam-v3-coordinator-summary-chips{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important}
body[data-portal-role] .r120-consolidated button.r120-summary-chip{min-height:40px!important;min-width:0!important;display:flex!important;align-items:center!important;justify-content:space-between!important;flex-direction:row!important;gap:7px!important;padding:7px 9px!important;border:1px solid #335c79!important;border-radius:9px!important;background:#123750!important;color:#e7f8ff!important;cursor:pointer!important}
body[data-portal-role] .r120-consolidated button.r120-summary-chip b{font-size:11px!important;font-weight:800!important;min-width:0!important;white-space:normal!important;text-align:left!important}
body[data-portal-role] .r120-consolidated button.r120-summary-chip strong{font-size:15px!important;font-weight:900!important;font-variant-numeric:tabular-nums!important;color:#fff!important}
body[data-portal-role] .r120-consolidated button.r120-summary-chip:is(.is-active,:focus-visible,:hover){border-color:#56c4ff!important;background:#205978!important}
@media(max-width:1199px){body[data-portal-role] .r120-quick .exam-v3-coordinator-quick-stages{grid-template-columns:repeat(3,minmax(0,1fr))!important}body[data-portal-role] .r120-school-toolbar{grid-template-columns:1fr 1fr}body[data-portal-role] .r120-stage-tabs{grid-column:1/-1}}
@media(max-width:700px){body[data-portal-role] .r120-quick .exam-v3-coordinator-quick-controls,body[data-portal-role] .r120-quick .exam-v3-coordinator-quick-controls:has(#examV3CoordinatorQuickCoordinator){grid-template-columns:repeat(2,minmax(0,1fr))!important}body[data-portal-role] .r120-quick .exam-v3-coordinator-quick-stages{grid-template-columns:repeat(2,minmax(0,1fr))!important}body[data-portal-role] .r120-school-toolbar{grid-template-columns:1fr 1fr}body[data-portal-role] .r120-stage-tabs{overflow:auto;gap:4px}body[data-portal-role] .r120-stage-tab{min-width:60px!important;padding:8px!important;font-size:11px!important}body[data-portal-role] .r120-quick .exam-v3-coordinator-quick-stage{min-height:76px!important;padding:11px!important}body[data-portal-role] .r120-quick .exam-v3-coordinator-quick-stage b{font-size:24px!important}body[data-portal-role] .r120-consolidated .exam-v3-coordinator-summary-grid{grid-template-columns:1fr!important}body[data-portal-role] .r120-inline-details{padding:12px}}
