/* EDUHUNT R562: Principal > Exam Syllabus ONLY.
   New markup uses dedicated class names, avoiding collisions with historic R119/R121/R123 selectors.
   No styling or JS behaviour changes in any other role. */
body[data-portal-role="PRINCIPAL"][data-portal-module="exam-syllabus"] #content .r562-syllabus,
body[data-portal-role="PRINCIPAL"][data-portal-module="exam-syllabus"] #content .r562-syllabus * {box-sizing:border-box;}
body[data-portal-role="PRINCIPAL"][data-portal-module="exam-syllabus"] #content .r562-syllabus {
  --r562-border:#2a5573;--r562-bg:#061d33;--r562-surface:#0b2943;--r562-bright:#58d5ff;
  width:100%;min-width:0;max-width:100%;margin:0 0 28px;color:#eef7ff;font-family:inherit;
}
body[data-portal-role="PRINCIPAL"][data-portal-module="exam-syllabus"] #content .r562-syllabus [hidden] {display:none!important;}
body[data-portal-role="PRINCIPAL"][data-portal-module="exam-syllabus"] #content .r562-intro {
  color:#b6cddd;font-size:14px;font-weight:600;line-height:1.5;margin:2px 0 14px;overflow-wrap:anywhere;
}
body[data-portal-role="PRINCIPAL"][data-portal-module="exam-syllabus"] #content .r562-tabs {
  display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin:0 0 15px;width:100%;min-width:0;
}
body[data-portal-role="PRINCIPAL"][data-portal-module="exam-syllabus"] #content .r562-type-tab {
  appearance:none;display:flex!important;align-items:center!important;justify-content:center!important;gap:8px;
  min-width:0;width:100%;height:47px;min-height:47px;padding:7px 8px;border-radius:11px!important;
  border:1px solid #35607d;background:#0b2945;color:#e7f5ff!important;
  font-family:inherit!important;font-size:15px!important;font-weight:850!important;line-height:1.2!important;white-space:nowrap;cursor:pointer;transition:background .15s,border-color .15s;
}
body[data-portal-role="PRINCIPAL"][data-portal-module="exam-syllabus"] #content .r562-type-tab.is-active {
  background:#12b9d6!important;border-color:#12b9d6!important;color:#032235!important;
}
body[data-portal-role="PRINCIPAL"][data-portal-module="exam-syllabus"] #content .r562-type-count {
  display:inline-flex;align-items:center;justify-content:center;min-width:26px;height:24px;padding:2px 6px;
  border-radius:20px;background:#041b2b;color:#f4faff;font-size:12px;font-weight:800;
}
body[data-portal-role="PRINCIPAL"][data-portal-module="exam-syllabus"] #content .r562-type-tab.is-active .r562-type-count {background:#0b6579;color:#fff;}
body[data-portal-role="PRINCIPAL"][data-portal-module="exam-syllabus"] #content .r562-filters {
  display:grid;grid-template-columns:minmax(160px,220px) minmax(0,1fr);gap:11px;
  padding:13px;border:1px solid var(--r562-border);border-radius:13px;background:var(--r562-bg);margin-bottom:16px;
}
body[data-portal-role="PRINCIPAL"][data-portal-module="exam-syllabus"] #content .r562-filters label {display:flex;flex-direction:column;min-width:0;gap:6px;color:#c7deeb;font-size:12px;font-weight:800;}
body[data-portal-role="PRINCIPAL"][data-portal-module="exam-syllabus"] #content .r562-filters input,
body[data-portal-role="PRINCIPAL"][data-portal-module="exam-syllabus"] #content .r562-filters select {
  display:block!important;width:100%!important;min-width:0!important;max-width:100%!important;
  height:43px!important;min-height:43px!important;border:1px solid #355b77!important;border-radius:9px!important;
  background:#092239!important;color:#f1f9ff!important;padding:8px 11px!important;font-size:14px!important;
  font-weight:600!important;box-shadow:none!important;
}
body[data-portal-role="PRINCIPAL"][data-portal-module="exam-syllabus"] #content .r562-result-bar {
  display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;
  padding:0 1px 10px;color:#8de4ff;
}
body[data-portal-role="PRINCIPAL"][data-portal-module="exam-syllabus"] #content .r562-result-bar>strong {font-size:15px;font-weight:850;line-height:1.3;}
body[data-portal-role="PRINCIPAL"][data-portal-module="exam-syllabus"] #content .r562-result-actions {display:flex;gap:7px;flex-wrap:wrap;}
body[data-portal-role="PRINCIPAL"][data-portal-module="exam-syllabus"] #content .r562-result-actions button {
  display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:6px 10px;
  font-size:12px;font-weight:800;white-space:nowrap;color:#cceeff;background:#0c2d49;
  border:1px solid #396884;border-radius:8px;cursor:pointer;
}
body[data-portal-role="PRINCIPAL"][data-portal-module="exam-syllabus"] #content .r562-exam-list {display:grid;grid-template-columns:minmax(0,1fr);gap:11px;min-width:0;width:100%;}
body[data-portal-role="PRINCIPAL"][data-portal-module="exam-syllabus"] #content details.r562-exam-card {
  display:block;min-width:0;width:100%;margin:0!important;padding:0!important;
  overflow:hidden;background:#071f35!important;border:1px solid #315d7a!important;border-radius:13px!important;
  box-shadow:0 3px 10px rgba(0,0,0,.12);
}
body[data-portal-role="PRINCIPAL"][data-portal-module="exam-syllabus"] #content details.r562-exam-card[open] {border-color:#159dc0!important;}
body[data-portal-role="PRINCIPAL"][data-portal-module="exam-syllabus"] #content .r562-exam-summary {
  display:grid!important;grid-template-columns:110px minmax(0,1fr) 34px!important;align-items:center;gap:12px;
  width:100%;min-width:0;min-height:97px;padding:13px!important;margin:0!important;background:#0a2842!important;
  color:#f5fbff!important;cursor:pointer;list-style:none!important;
}
body[data-portal-role="PRINCIPAL"][data-portal-module="exam-syllabus"] #content .r562-exam-summary::-webkit-details-marker {display:none!important;}
body[data-portal-role="PRINCIPAL"][data-portal-module="exam-syllabus"] #content .r562-exam-summary::marker {content:"";}
body[data-portal-role="PRINCIPAL"][data-portal-module="exam-syllabus"] #content .r562-date-pill {
  display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px;min-height:64px;
  min-width:0;padding:8px;border:1px solid #2d6e8e;border-radius:10px;background:#103b59;
  color:#effaff;text-align:center;
}
body[data-portal-role="PRINCIPAL"][data-portal-module="exam-syllabus"] #content .r562-date-pill>span {
  font-size:10px;letter-spacing:.12em;font-weight:900;color:#8be9ff;line-height:1.15;
}
body[data-portal-role="PRINCIPAL"][data-portal-module="exam-syllabus"] #content .r562-date-pill b {
  font-size:12px;font-weight:900;line-height:1.3;overflow-wrap:anywhere;
}
body[data-portal-role="PRINCIPAL"][data-portal-module="exam-syllabus"] #content .r562-exam-overview {display:flex;flex-direction:column;gap:4px;min-width:0;width:100%;overflow-wrap:anywhere;}
body[data-portal-role="PRINCIPAL"][data-portal-module="exam-syllabus"] #content .r562-exam-overview>strong {font-size:18px!important;line-height:1.25!important;letter-spacing:0;font-weight:900!important;color:#f7fcff!important;overflow-wrap:anywhere;}
body[data-portal-role="PRINCIPAL"][data-portal-module="exam-syllabus"] #content .r562-exam-overview>small {font-size:12px!important;color:#b9d7e9!important;line-height:1.35;white-space:normal;}
body[data-portal-role="PRINCIPAL"][data-portal-module="exam-syllabus"] #content .r562-exam-metadata {display:block;font-size:12px!important;font-weight:700!important;line-height:1.35;color:#72d7f3!important;overflow-wrap:anywhere;}
body[data-portal-role="PRINCIPAL"][data-portal-module="exam-syllabus"] #content .r562-open-indicator {
  display:grid;place-items:center;width:34px;height:34px;border:1px solid #38718d;border-radius:8px;color:#e9fcff;
}
body[data-portal-role="PRINCIPAL"][data-portal-module="exam-syllabus"] #content .r562-open-indicator svg {width:18px;height:18px;transition:transform .15s;}
body[data-portal-role="PRINCIPAL"][data-portal-module="exam-syllabus"] #content .r562-exam-card[open] .r562-open-indicator svg {transform:rotate(180deg);}
body[data-portal-role="PRINCIPAL"][data-portal-module="exam-syllabus"] #content .r562-open-caption {
  grid-column:2;justify-self:start;align-self:start;margin-top:-6px;
  font-size:11px!important;font-weight:850!important;letter-spacing:.02em;color:#81e5ff!important;
}
body[data-portal-role="PRINCIPAL"][data-portal-module="exam-syllabus"] #content .r562-exam-body {
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;
  padding:13px!important;border-top:1px solid #2a5978;background:#071b2c!important;min-width:0;
}
body[data-portal-role="PRINCIPAL"][data-portal-module="exam-syllabus"] #content .r562-class-card {
  display:block;min-width:0;overflow:hidden;border:1px solid #285671;border-radius:10px;background:#0a2740;
}
body[data-portal-role="PRINCIPAL"][data-portal-module="exam-syllabus"] #content .r562-class-heading {
  display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:43px;
  padding:9px 12px;background:#134463;color:#fff;border-bottom:1px solid #2e6483;
}
body[data-portal-role="PRINCIPAL"][data-portal-module="exam-syllabus"] #content .r562-class-heading strong {font-size:16px!important;font-weight:900!important;}
body[data-portal-role="PRINCIPAL"][data-portal-module="exam-syllabus"] #content .r562-class-heading span {font-size:11px!important;color:#c7eaff;white-space:nowrap;}
body[data-portal-role="PRINCIPAL"][data-portal-module="exam-syllabus"] #content .r562-topic-list {display:grid;gap:0;min-width:0;}
body[data-portal-role="PRINCIPAL"][data-portal-module="exam-syllabus"] #content .r562-topic {
  display:grid;grid-template-columns:minmax(90px,31%) minmax(0,1fr);gap:10px;align-items:start;
  padding:11px 12px;border-bottom:1px solid #234b66;min-width:0;
}
body[data-portal-role="PRINCIPAL"][data-portal-module="exam-syllabus"] #content .r562-topic:last-child {border-bottom:0;}
body[data-portal-role="PRINCIPAL"][data-portal-module="exam-syllabus"] #content .r562-topic-subject {
  font-size:12px!important;color:#8edfff!important;font-weight:850!important;overflow-wrap:anywhere;line-height:1.45;
}
body[data-portal-role="PRINCIPAL"][data-portal-module="exam-syllabus"] #content .r562-topic-chapter {
  font-size:13px!important;color:#f0f7ff!important;font-weight:650!important;overflow-wrap:anywhere;line-height:1.5;white-space:normal;
}
body[data-portal-role="PRINCIPAL"][data-portal-module="exam-syllabus"] #content .r562-topic-chapter em {color:#a7b9c8;font-weight:500;}
body[data-portal-role="PRINCIPAL"][data-portal-module="exam-syllabus"] #content .r562-empty,
body[data-portal-role="PRINCIPAL"][data-portal-module="exam-syllabus"] #content .r562-no-topics {
  margin:0;padding:18px;color:#b6cfde;background:#0b2943;border:1px solid #315d7a;border-radius:10px;font-size:14px;
}
body[data-portal-role="PRINCIPAL"][data-portal-module="exam-syllabus"] #content .r562-pdf-section {margin-top:22px;min-width:0;}
body[data-portal-role="PRINCIPAL"][data-portal-module="exam-syllabus"] #content .r562-pdf-section h3 {font-size:17px!important;color:#f3fbff!important;margin:0 0 11px;}
body[data-portal-role="PRINCIPAL"][data-portal-module="exam-syllabus"] #content .r562-teaching-plan {margin-top:20px;}
body[data-portal-role="PRINCIPAL"][data-portal-module="exam-syllabus"] #content .r562-pdf-grid {display:grid!important;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:10px;min-width:0;}
body[data-portal-role="PRINCIPAL"][data-portal-module="exam-syllabus"] #content .r562-pdf-grid .resource-card {
  display:grid!important;grid-template-columns:48px minmax(0,1fr);gap:11px;align-items:start;
  min-width:0;width:100%;padding:13px!important;border:1px solid #315d7a!important;border-radius:11px!important;
  background:#0a2a43!important;color:#f3fbff!important;
}
body[data-portal-role="PRINCIPAL"][data-portal-module="exam-syllabus"] #content .r562-pdf-grid .resource-card>div:nth-child(2) {min-width:0;overflow-wrap:anywhere;}
body[data-portal-role="PRINCIPAL"][data-portal-module="exam-syllabus"] #content .r562-pdf-grid .resource-card strong {display:block;font-size:13px!important;line-height:1.4;color:#f5fbff!important;}
body[data-portal-role="PRINCIPAL"][data-portal-module="exam-syllabus"] #content .r562-pdf-grid .resource-card small {display:block;font-size:11px!important;color:#a9c8d9!important;line-height:1.4;margin-top:3px;}
body[data-portal-role="PRINCIPAL"][data-portal-module="exam-syllabus"] #content .r562-pdf-grid .doc-icon {display:grid!important;place-items:center;width:44px;height:44px;border-radius:10px;color:#8de7ff!important;background:#0d4364!important;font-size:12px;font-weight:900;}
body[data-portal-role="PRINCIPAL"][data-portal-module="exam-syllabus"] #content .r562-pdf-grid .row-actions {display:flex!important;flex-wrap:wrap;gap:8px;margin-top:11px;}
body[data-portal-role="PRINCIPAL"][data-portal-module="exam-syllabus"] #content .r562-pdf-grid button.row-action {display:inline-grid!important;place-items:center;min-width:38px;min-height:37px;border-radius:8px!important;color:#effcff!important;}
body[data-portal-role="PRINCIPAL"][data-portal-module="exam-syllabus"] #content :is(.r562-type-tab,.r562-result-actions button,.r562-exam-summary,.r562-filters input,.r562-filters select):focus-visible {outline:3px solid #61dafa!important;outline-offset:2px!important;}
@media(max-width:750px){
  body[data-portal-role="PRINCIPAL"][data-portal-module="exam-syllabus"] #content .r562-exam-body {grid-template-columns:minmax(0,1fr)!important;}
}
@media(max-width:480px){
  body[data-portal-role="PRINCIPAL"][data-portal-module="exam-syllabus"] #content .r562-intro {font-size:12px!important;margin-bottom:11px;}
  body[data-portal-role="PRINCIPAL"][data-portal-module="exam-syllabus"] #content .r562-tabs {gap:5px;margin-bottom:11px;}
  body[data-portal-role="PRINCIPAL"][data-portal-module="exam-syllabus"] #content .r562-type-tab {height:43px;min-height:43px;padding:5px 3px;gap:4px;font-size:12px!important;border-radius:8px!important;}
  body[data-portal-role="PRINCIPAL"][data-portal-module="exam-syllabus"] #content .r562-type-count {font-size:10px;min-width:18px;height:20px;padding:2px 4px;}
  body[data-portal-role="PRINCIPAL"][data-portal-module="exam-syllabus"] #content .r562-filters {grid-template-columns:minmax(0,1fr);gap:9px;padding:10px;margin-bottom:12px;}
  body[data-portal-role="PRINCIPAL"][data-portal-module="exam-syllabus"] #content .r562-filters label {font-size:11px;}
  body[data-portal-role="PRINCIPAL"][data-portal-module="exam-syllabus"] #content .r562-filters input,
  body[data-portal-role="PRINCIPAL"][data-portal-module="exam-syllabus"] #content .r562-filters select {height:39px!important;min-height:39px!important;font-size:12px!important;}
  body[data-portal-role="PRINCIPAL"][data-portal-module="exam-syllabus"] #content .r562-result-bar {gap:7px;padding-bottom:9px;}
  body[data-portal-role="PRINCIPAL"][data-portal-module="exam-syllabus"] #content .r562-result-bar>strong {font-size:13px;}
  body[data-portal-role="PRINCIPAL"][data-portal-module="exam-syllabus"] #content .r562-result-actions button {min-height:31px;padding:5px 7px;font-size:10px;}
  body[data-portal-role="PRINCIPAL"][data-portal-module="exam-syllabus"] #content .r562-exam-list {gap:9px;}
  body[data-portal-role="PRINCIPAL"][data-portal-module="exam-syllabus"] #content .r562-exam-summary {grid-template-columns:74px minmax(0,1fr) 27px!important;gap:8px;min-height:90px;padding:9px!important;}
  body[data-portal-role="PRINCIPAL"][data-portal-module="exam-syllabus"] #content .r562-date-pill {min-height:59px;padding:5px 4px;gap:4px;border-radius:8px;}
  body[data-portal-role="PRINCIPAL"][data-portal-module="exam-syllabus"] #content .r562-date-pill>span {font-size:9px;letter-spacing:.07em;}
  body[data-portal-role="PRINCIPAL"][data-portal-module="exam-syllabus"] #content .r562-date-pill b {font-size:10.5px;}
  body[data-portal-role="PRINCIPAL"][data-portal-module="exam-syllabus"] #content .r562-exam-overview>strong {font-size:14px!important;line-height:1.24!important;}
  body[data-portal-role="PRINCIPAL"][data-portal-module="exam-syllabus"] #content .r562-exam-overview>small {font-size:10px!important;}
  body[data-portal-role="PRINCIPAL"][data-portal-module="exam-syllabus"] #content .r562-exam-metadata {font-size:10px!important;line-height:1.35;}
  body[data-portal-role="PRINCIPAL"][data-portal-module="exam-syllabus"] #content .r562-open-indicator {width:27px;height:28px;}
  body[data-portal-role="PRINCIPAL"][data-portal-module="exam-syllabus"] #content .r562-open-indicator svg {width:16px;height:16px;}
  body[data-portal-role="PRINCIPAL"][data-portal-module="exam-syllabus"] #content .r562-open-caption {font-size:10px!important;margin-top:-4px;}
  body[data-portal-role="PRINCIPAL"][data-portal-module="exam-syllabus"] #content .r562-exam-body {padding:8px!important;gap:9px;}
  body[data-portal-role="PRINCIPAL"][data-portal-module="exam-syllabus"] #content .r562-class-heading {min-height:38px;padding:8px 10px;}
  body[data-portal-role="PRINCIPAL"][data-portal-module="exam-syllabus"] #content .r562-class-heading strong {font-size:14px!important;}
  body[data-portal-role="PRINCIPAL"][data-portal-module="exam-syllabus"] #content .r562-topic {grid-template-columns:minmax(64px,30%) minmax(0,1fr);gap:8px;padding:9px 10px;}
  body[data-portal-role="PRINCIPAL"][data-portal-module="exam-syllabus"] #content .r562-topic-subject {font-size:11px!important;}
  body[data-portal-role="PRINCIPAL"][data-portal-module="exam-syllabus"] #content .r562-topic-chapter {font-size:12px!important;}
}
