/* EDUHUNT R572 | Principal-only Academic Updates compact heading and test cards. */
body[data-portal-role="PRINCIPAL"][data-portal-module="principal-academic-live"] #content {
  min-width:0!important;max-width:100%!important;overflow:visible!important;
}
body[data-portal-role="PRINCIPAL"] .eh569-root,
body[data-portal-role="PRINCIPAL"] .eh569-root * { box-sizing:border-box; }
body[data-portal-role="PRINCIPAL"] .eh569-root {
  --eh569-bg:#071c30;--eh569-card:#092740;--eh569-line:#2c5d78;
  --eh569-txt:#ecf7ff;--eh569-sub:#9fc5db;--eh569-cyan:#32c8f1;
  color:var(--eh569-txt);width:100%;min-width:0;max-width:100%;
  padding:clamp(10px,2vw,24px);margin:0;min-height:300px;
  font-family:inherit;overflow-wrap:anywhere;
}
body[data-portal-role="PRINCIPAL"] .eh569-root button,
body[data-portal-role="PRINCIPAL"] .eh569-root input,
body[data-portal-role="PRINCIPAL"] .eh569-root select {font:inherit;}
body[data-portal-role="PRINCIPAL"] .eh569-head {
  display:flex;align-items:center;justify-content:space-between;gap:10px 16px;
  flex-wrap:wrap;margin-bottom:14px;
}
body[data-portal-role="PRINCIPAL"] .eh569-heading h2 {font-size:clamp(20px,2.3vw,31px);margin:0;font-weight:850;line-height:1.2;}
body[data-portal-role="PRINCIPAL"] .eh569-verified {font-size:12px;color:var(--eh569-sub);margin:5px 0 0;}
body[data-portal-role="PRINCIPAL"] .eh569-header-actions {display:flex;align-items:center;gap:12px;flex-wrap:wrap;}
body[data-portal-role="PRINCIPAL"] .eh569-last-check {font-size:12px;color:var(--eh569-sub);white-space:nowrap;}
body[data-portal-role="PRINCIPAL"] .eh569-button {
  border:1px solid #347291;background:#0c3551;color:var(--eh569-txt);
  padding:9px 13px;min-height:39px;border-radius:10px;cursor:pointer;font-size:13px;font-weight:750;
}
body[data-portal-role="PRINCIPAL"] .eh569-button:focus-visible,
body[data-portal-role="PRINCIPAL"] .eh569-root select:focus-visible,
body[data-portal-role="PRINCIPAL"] .eh569-root input:focus-visible {outline:2px solid #42d5ff;outline-offset:2px;}
body[data-portal-role="PRINCIPAL"] .eh569-button:hover {background:#135179;}
body[data-portal-role="PRINCIPAL"] .eh569-button:disabled {opacity:.54;cursor:wait;}
body[data-portal-role="PRINCIPAL"] .eh569-message {font-size:12px;color:#9fd4e6;margin:5px 0 14px;min-height:16px;}
body[data-portal-role="PRINCIPAL"] .eh569-message.warning {color:#ffce84;}
body[data-portal-role="PRINCIPAL"] .eh569-message.error {color:#ff9b9b;}
body[data-portal-role="PRINCIPAL"] .eh569-school-select {margin:0 0 12px;}
body[data-portal-role="PRINCIPAL"] .eh569-school-select label {display:inline-block;font-size:13px;font-weight:700;margin-right:10px;}
body[data-portal-role="PRINCIPAL"] .eh569-root select,
body[data-portal-role="PRINCIPAL"] .eh569-root input {background:#071d33;border:1px solid #347291;color:#eaf7ff;border-radius:9px;min-height:40px;padding:8px 12px;min-width:0;}
body[data-portal-role="PRINCIPAL"] .eh569-school-select select {max-width:100%;}
body[data-portal-role="PRINCIPAL"] .eh569-tabs {display:flex;gap:8px;margin:0;flex-wrap:nowrap;min-width:0;}
body[data-portal-role="PRINCIPAL"] .eh569-tab.is-active {background:linear-gradient(115deg,#087db4,#0a9cb9);border-color:#34c4f1;color:white;}
body[data-portal-role="PRINCIPAL"] .eh569-body {width:100%;max-width:100%;min-width:0;}
body[data-portal-role="PRINCIPAL"] .eh569-summary-cards {display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:9px;margin-bottom:18px;}
body[data-portal-role="PRINCIPAL"] .eh569-stat {background:var(--eh569-card);border:1px solid var(--eh569-line);border-radius:13px;min-height:110px;padding:14px 5px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:9px;text-align:center;}
body[data-portal-role="PRINCIPAL"] .eh569-stat strong {font-size:clamp(23px,2.2vw,35px);font-weight:850;line-height:1;}
body[data-portal-role="PRINCIPAL"] .eh569-stat span {font-size:clamp(11px,.95vw,13px);font-weight:700;color:#b1d8ef;}
body[data-portal-role="PRINCIPAL"] .eh569-stat.eh569-attention strong {color:#ffb0a8;}
body[data-portal-role="PRINCIPAL"] .eh569-panel {background:#082238;border:1px solid #275976;border-radius:15px;padding:clamp(10px,1.8vw,22px);min-width:0;}
body[data-portal-role="PRINCIPAL"] .eh569-panel h3 {font-size:clamp(17px,1.8vw,23px);margin:0 0 16px;}
body[data-portal-role="PRINCIPAL"] .eh569-type-list {display:grid;gap:11px;}
body[data-portal-role="PRINCIPAL"] .eh569-type-card {background:#0a2b46;border:1px solid #2d6682;border-radius:12px;padding:12px 14px;}
body[data-portal-role="PRINCIPAL"] .eh569-type-card h4 {margin:0 0 11px;font-size:17px;color:#43d5fa;}
body[data-portal-role="PRINCIPAL"] .eh569-stage-grid {display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;}
body[data-portal-role="PRINCIPAL"] .eh569-stage {padding:9px 5px;display:flex;flex-direction:column-reverse;align-items:center;justify-content:center;gap:7px;text-align:center;border:1px solid #24506d;border-radius:8px;background:#071d34;min-width:0;}
body[data-portal-role="PRINCIPAL"] .eh569-stage strong {font-size:20px;color:white;}
body[data-portal-role="PRINCIPAL"] .eh569-stage span {font-size:11px;color:#b5d7e9;font-weight:700;}
body[data-portal-role="PRINCIPAL"] .eh569-stage.attention strong {color:#ffb0a8;}
body[data-portal-role="PRINCIPAL"] .eh569-test-filters {display:grid;grid-template-columns:minmax(105px,180px) minmax(0,1fr);gap:10px;margin-bottom:12px;}
body[data-portal-role="PRINCIPAL"] .eh569-test-filters select,
body[data-portal-role="PRINCIPAL"] .eh569-test-filters input {width:100%;}
body[data-portal-role="PRINCIPAL"] .eh569-record-count {font-size:12px;color:var(--eh569-sub);margin:0 0 11px;}
body[data-portal-role="PRINCIPAL"] .eh569-test-list {display:grid;gap:10px;}
body[data-portal-role="PRINCIPAL"] .eh569-test-card {background:var(--eh569-card);border:1px solid var(--eh569-line);border-radius:12px;padding:13px 14px;display:grid;grid-template-columns:minmax(150px,32%) minmax(0,1fr);gap:13px;align-items:center;}
body[data-portal-role="PRINCIPAL"] .eh569-test-heading {display:flex;flex-direction:column;gap:4px;min-width:0;}
body[data-portal-role="PRINCIPAL"] .eh569-test-name {font-size:15px;line-height:1.25;}
body[data-portal-role="PRINCIPAL"] .eh569-test-meta {font-size:12px;color:var(--eh569-sub);line-height:1.35;}
body[data-portal-role="PRINCIPAL"] .eh569-review {font-size:11px;color:#ffd493;}
body[data-portal-role="PRINCIPAL"] .eh569-test-progress {display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px;min-width:0;}
body[data-portal-role="PRINCIPAL"] .eh569-test-stage {display:flex;flex-direction:column;align-items:center;text-align:center;gap:5px;min-width:0;}
body[data-portal-role="PRINCIPAL"] .eh569-stage-name {font-size:11px;color:#c1ddec;font-weight:750;}
body[data-portal-role="PRINCIPAL"] .eh569-status {display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:2px;font-size:10px;min-width:0;}
body[data-portal-role="PRINCIPAL"] .eh569-symbol {font-size:19px;line-height:1;font-weight:800;}
body[data-portal-role="PRINCIPAL"] .eh569-status-caption {display:none;}
body[data-portal-role="PRINCIPAL"] .eh569-status.good {color:#53e7a4;}
body[data-portal-role="PRINCIPAL"] .eh569-status.partial {color:#f5d07c;}
body[data-portal-role="PRINCIPAL"] .eh569-status.attention {color:#ffa29a;}
body[data-portal-role="PRINCIPAL"] .eh569-status.muted {color:#9db3c5;}
body[data-portal-role="PRINCIPAL"] .eh569-status small {font-size:9px;white-space:nowrap;}
body[data-portal-role="PRINCIPAL"] .eh569-more {margin:14px auto 5px;display:block;}
body[data-portal-role="PRINCIPAL"] .eh569-more[hidden] {display:none!important;}
body[data-portal-role="PRINCIPAL"] .eh569-empty {padding:20px;background:#092740;border:1px dashed #3b7896;border-radius:13px;color:#e6f4ff;}
body[data-portal-role="PRINCIPAL"] .eh569-empty p {margin-bottom:0;color:#a9cde2;}
@media(max-width:840px){
  body[data-portal-role="PRINCIPAL"] .eh569-summary-cards {grid-template-columns:repeat(3,minmax(0,1fr));}
  body[data-portal-role="PRINCIPAL"] .eh569-stage-grid {grid-template-columns:repeat(3,minmax(0,1fr));}
  body[data-portal-role="PRINCIPAL"] .eh569-test-card {grid-template-columns:minmax(0,1fr);}
  body[data-portal-role="PRINCIPAL"] .eh569-test-progress {margin-top:3px;}
}
@media(max-width:450px){
  body[data-portal-role="PRINCIPAL"] .eh569-root {padding:8px;}
  body[data-portal-role="PRINCIPAL"] .eh569-head {gap:9px;}
  body[data-portal-role="PRINCIPAL"] .eh569-heading h2 {font-size:21px;}
  body[data-portal-role="PRINCIPAL"] .eh569-stat {min-height:80px;padding:7px 3px;gap:5px;border-radius:10px;}
  body[data-portal-role="PRINCIPAL"] .eh569-stat strong {font-size:24px;}
  body[data-portal-role="PRINCIPAL"] .eh569-stat span {font-size:10px;line-height:1.15;}
  body[data-portal-role="PRINCIPAL"] .eh569-type-card {padding:10px 7px;}
  body[data-portal-role="PRINCIPAL"] .eh569-stage-grid {gap:5px;}
  body[data-portal-role="PRINCIPAL"] .eh569-stage {padding:7px 2px;gap:3px;}
  body[data-portal-role="PRINCIPAL"] .eh569-stage strong {font-size:17px;}
  body[data-portal-role="PRINCIPAL"] .eh569-stage span {font-size:10px;}
  body[data-portal-role="PRINCIPAL"] .eh569-test-card {padding:10px 9px;}
  body[data-portal-role="PRINCIPAL"] .eh569-test-progress {gap:3px;}
  body[data-portal-role="PRINCIPAL"] .eh569-stage-name {font-size:9px;}
  body[data-portal-role="PRINCIPAL"] .eh569-symbol {font-size:16px;}
  body[data-portal-role="PRINCIPAL"] .eh569-status small {font-size:8px;}
  body[data-portal-role="PRINCIPAL"] .eh569-header-actions {
    width:100%;display:flex;align-items:center;justify-content:space-between;
    flex-wrap:nowrap;gap:6px;
  }
  body[data-portal-role="PRINCIPAL"] .eh569-header-actions .eh569-tabs {gap:5px;flex:1 1 auto;}
  body[data-portal-role="PRINCIPAL"] .eh569-header-actions .eh569-tab {flex:1 1 0;min-width:0;}
  body[data-portal-role="PRINCIPAL"] .eh569-header-actions .eh569-print {flex:0 0 auto;}
  body[data-portal-role="PRINCIPAL"] .eh569-header-actions .eh569-button {
    padding:7px 8px;min-height:34px;font-size:11px;white-space:nowrap;
  }
  body[data-portal-role="PRINCIPAL"] .eh569-test-filters {grid-template-columns:105px minmax(0,1fr);gap:7px;}
  body[data-portal-role="PRINCIPAL"] .eh569-test-filters select,
  body[data-portal-role="PRINCIPAL"] .eh569-test-filters input {font-size:12px;}
}
@media print {
  #sidebarNav, #header, .portal-sidebar, .mobile-bottom-nav, .bottom-nav, #sidebarLogout {display:none!important;}
  body[data-portal-role="PRINCIPAL"] .eh569-head .eh569-header-actions,
  body[data-portal-role="PRINCIPAL"] .eh569-tabs,
  body[data-portal-role="PRINCIPAL"] .eh569-test-filters,
  body[data-portal-role="PRINCIPAL"] .eh569-more {display:none!important;}
  body[data-portal-role="PRINCIPAL"] .eh569-root,
  body[data-portal-role="PRINCIPAL"] .eh569-stat,
  body[data-portal-role="PRINCIPAL"] .eh569-panel,
  body[data-portal-role="PRINCIPAL"] .eh569-test-card {background:white!important;color:black!important;border-color:#aaa!important;}
  body[data-portal-role="PRINCIPAL"] .eh569-stage span,
  body[data-portal-role="PRINCIPAL"] .eh569-stage strong {color:black!important;}
}

/* R571: controls share a single area; the standard auto-refresh continues silently. */
body[data-portal-role="PRINCIPAL"] .eh569-root .eh569-message[hidden],
body[data-portal-role="PRINCIPAL"] .eh569-root [hidden] {display:none!important;}
body[data-portal-role="PRINCIPAL"] .eh569-root .eh569-header-actions {
  flex-wrap:nowrap;gap:8px;min-width:0;
}
body[data-portal-role="PRINCIPAL"] .eh569-root .eh569-tabs {flex:0 1 auto;}
body[data-portal-role="PRINCIPAL"] .eh569-root .eh569-print {white-space:nowrap;}
body[data-portal-role="PRINCIPAL"] .eh569-root .eh569-test-meta {display:none!important;}
@media(max-width:450px){
  body[data-portal-role="PRINCIPAL"] .eh569-root .eh569-header-actions {width:100%;justify-content:space-between;}
  body[data-portal-role="PRINCIPAL"] .eh569-root .eh569-tabs {flex:1 1 auto;}
}

/* R572: Principal-only FT / CT / GT / CDF buttons and accessible PDF file share. */
body[data-portal-role="PRINCIPAL"] .eh569-root .eh572-type-buttons {
  display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:9px!important;margin-bottom:13px!important;width:100%!important;
}
body[data-portal-role="PRINCIPAL"] .eh569-root .eh572-type-button {
  min-width:0;width:100%;font-weight:850;font-size:14px;
  border:1px solid #327095;background:#0c314c;color:#e8f7ff;
  min-height:40px;white-space:nowrap;
}
body[data-portal-role="PRINCIPAL"] .eh569-root .eh572-type-button.is-active {
  background:linear-gradient(115deg,#087db4,#0a9cb9);border-color:#31d0ed;color:#fff;
}
body[data-portal-role="PRINCIPAL"] .eh569-root .eh572-type-button:disabled {opacity:.38;cursor:not-allowed;}
body[data-portal-role="PRINCIPAL"] .eh569-root .eh572-whatsapp-share {
  display:inline-flex!important;align-items:center;justify-content:center;
  flex:0 0 39px!important;width:39px;height:39px;min-width:39px;
  padding:0!important;border-color:#14ad7b!important;background:#087955!important;
  color:white!important;border-radius:10px;
}
body[data-portal-role="PRINCIPAL"] .eh569-root .eh572-whatsapp-share:hover {background:#0a966a!important;}
body[data-portal-role="PRINCIPAL"] .eh569-root .eh572-whatsapp-share svg {display:block;flex:none;}
@media(max-width:450px){
 body[data-portal-role="PRINCIPAL"] .eh569-root .eh572-type-buttons {gap:5px!important;}
 body[data-portal-role="PRINCIPAL"] .eh569-root .eh572-type-button {font-size:12px;padding:6px 3px;min-height:36px;}
 body[data-portal-role="PRINCIPAL"] .eh569-root .eh572-whatsapp-share {
    flex:0 0 35px!important;width:35px;min-width:35px;height:35px;}
 body[data-portal-role="PRINCIPAL"] .eh569-root .eh569-header-actions .eh569-button.eh572-whatsapp-share {
    padding:0!important;font-size:inherit;
 }
 body[data-portal-role="PRINCIPAL"] .eh569-root .eh569-header-actions {gap:5px!important;}
}
@media print{
 body[data-portal-role="PRINCIPAL"] .eh569-root .eh572-type-buttons,
 body[data-portal-role="PRINCIPAL"] .eh569-root .eh572-whatsapp-share {display:none!important;}
}
