body{--portal-primary:#237c50;--portal-primary-dark:#155c39;--portal-primary-light:#e4f5ec;--portal-secondary:#d4f0df;--blue:#237c50;--green:#58bd90}.portal-sidebar,.portal-menu{--portal-primary:#237c50}.portal-menu a.active,.class-body-tabs,.green-btn,.class-add-btn,.network-submit,.btn-primary{background:#237c50!important;color:#fff!important}.portal-menu a:hover{background:#e4f5ec;color:#155c39}.portal-school-name strong{color:#237c50}.portal-topbar{border-bottom:3px solid #58bd90}.login-page{background:linear-gradient(130deg,#103b29,#237c50)}.login-brand h1 span{color:#91dfb5!important}.class-stat-card{border-color:#cae7d6}.primary-report{border-top:7px solid #237c50}.primary-report .academic-report-header{border-bottom:2px solid #237c50;padding-bottom:12px}.primary-report table thead th,.primary-report .report-grading-scale tr:first-child th{background:#def2e6!important;color:#164c31!important}.primary-report-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:12px 0}.primary-report-summary div{border:1px solid #bedbc9;padding:9px;background:#f0f9f3}.primary-report-summary strong{display:block;font-size:18px}.primary-report-signatures{display:flex;justify-content:space-between;margin-top:25px}.primary-report .academic-student-photo{object-fit:cover}.primary-report .report-grading-scale{margin-top:12px}@media print{.primary-report{break-after:page;page-break-after:always}.primary-report:last-of-type{break-after:auto}.primary-report table thead th{background:#def2e6!important;print-color-adjust:exact}.primary-report-summary div{background:#f0f9f3!important;print-color-adjust:exact}}
/* Solid Primary navigation surface, with readable links. */
.portal-sidebar{background:#237c50!important;background-image:none!important}.portal-sidebar-brand,.portal-sidebar .school-mini,.portal-sidebar .portal-menu,.portal-sidebar .sidebar-bottom{background:transparent!important;background-image:none!important}.portal-sidebar .portal-menu a,.portal-sidebar .menu-label,.portal-sidebar .school-mini strong,.portal-sidebar .school-mini small,.portal-sidebar .portal-brand-link,.portal-sidebar .portal-brand-link small,.portal-sidebar .logout-link{color:#fff!important}.portal-sidebar .portal-menu a.active{background:#155c39!important}.portal-sidebar .portal-menu a:hover{background:#2e8b5d!important}.portal-sidebar .school-mark{background:#fff;color:#237c50}.primary-report-summary:has(.primary-aggregate){grid-template-columns:repeat(5,1fr)}
/* Primary palette: forest green, soft mint and restrained warm gold. */
@media screen{
body{--portal-primary:#17694d;--portal-primary-dark:#104c38;--portal-primary-light:#e7f4ec;--portal-secondary:#f5ecd5;--blue:#17694d;--green:#62bc93}
.portal-body{background:#f3f7f4;color:#233d32}.portal-body .portal-app,.portal-body .portal-content,.portal-body .portal-page{background:#f3f7f4}
.portal-body .portal-sidebar{background:#185e47!important;background-image:none!important;border-right:1px solid #124b38;box-shadow:5px 0 22px #164d3910}
.portal-sidebar .portal-sidebar-brand{border-bottom:1px solid #ffffff24}.portal-sidebar .school-mini{border:1px solid #ffffff26;border-radius:5px}.portal-sidebar .school-mark{background:#eff8f2;color:#185e47;border:1px solid #b9ddca}.portal-sidebar .menu-label{color:#c4e6d4!important;letter-spacing:1.3px}.portal-sidebar .portal-menu a{border-radius:5px;color:#f4fbf7!important}.portal-sidebar .portal-menu a .menu-icon{color:inherit}.portal-sidebar .portal-menu a.active{background:#e5f4eb!important;color:#174e39!important;box-shadow:0 3px 12px #082f2318}.portal-sidebar .portal-menu a:hover{background:#287657!important;color:white!important}.portal-sidebar .sidebar-bottom{border-top:1px solid #ffffff24}.portal-sidebar .logout-link:hover{background:#287657;border-radius:5px}
.portal-body .portal-topbar{background:#fff;border-bottom:1px solid #dbe9e0;box-shadow:0 3px 18px #214b3510}.portal-body .portal-school-name span{color:#668575}.portal-body .portal-school-name strong{color:#185e47}.portal-body .portal-heading h1{color:#174b38}.portal-body .portal-heading p,.portal-body .portal-breadcrumb{color:#647f70}
.portal-body .portal-card:not(.academic-print-sheet),.portal-body .class-list-card{border:1px solid #dce9e0;box-shadow:0 5px 22px #214b3508}.portal-body .data-panel h2,.portal-body .card-heading h3,.portal-body .class-body-title h1{color:#1b4c38}.portal-body .class-body-title{border-bottom-color:#e4ede7;background:#fff}
.portal-body .stat-card{background:#fff;border:1px solid #dce9e0;border-top:3px solid #43a675;box-shadow:0 5px 20px #214b3508}.portal-body .stat-card:nth-child(2){border-top-color:#61a9a0}.portal-body .stat-card:nth-child(3){border-top-color:#c99a45}.portal-body .stat-card:nth-child(4){border-top-color:#80a76a}.portal-body .stat-card strong{color:#184f3a}.portal-body .stat-card small{color:#5f786b}.portal-body .stat-note{color:#607a6c}.portal-body .stat-icon,.portal-body .class-summary-icon{background:#e9f5ed;color:#227348}.portal-body .stat-card:nth-child(2) .stat-icon{background:#e8f4f2;color:#306f69}.portal-body .stat-card:nth-child(3) .stat-icon{background:#faf0d9;color:#85601e}.portal-body .class-summary{background:#fff;border:1px solid #dce9e0;box-shadow:0 5px 18px #214b3508}.portal-body .class-summary strong{color:#185e47}.portal-body .class-summary small{color:#607d6d}
.portal-body .class-hero{background:linear-gradient(115deg,#e3f2e8,#f4f8ee);border:1px solid #d4e7d9}.portal-body .class-hero h1{color:#174e39}.portal-body .class-hero p{color:#506f5e}.portal-body .class-eyebrow{color:#2c7751}.portal-body .class-hero-icon{background:#d4eadd;color:#2c7954}.portal-body .class-count-badge{background:#f6eedb;color:#77551c}.portal-body .class-body-tabs{background:#e4f1e9}.portal-body .class-body-tabs a{color:#245b42}.portal-body .class-body-tabs a.active{background:#17694d;color:#fff}.portal-body .class-body-tabs a:hover{background:#d0e7d9;color:#174e39}
.portal-body .green-btn,.portal-body .class-add-btn,.portal-body .class-manage-btn,.portal-body .class-students-btn,.portal-entry-page .btn-primary{background:#17694d!important;color:#fff!important;border-color:#17694d;box-shadow:0 3px 10px #17694d16}.portal-body .green-btn:hover,.portal-body .class-add-btn:hover,.portal-body .class-manage-btn:hover,.portal-body .class-students-btn:hover,.portal-entry-page .btn-primary:hover{background:#104c38!important}.portal-body .soft-btn,.portal-body .class-back-link{background:#fff;color:#285f46;border:1px solid #cfe1d4}.portal-body .soft-btn:hover{background:#e9f4ed}.portal-body .student-filter-links a{color:#2b6a4c}.portal-body .student-filter-links a.active{background:#e2f1e7;color:#185b3d}
.portal-body .portal-table thead th,.portal-body .class-reference-table thead th,.portal-body .class-table thead th{background:#edf5f0;color:#355b46;border-color:#dae7de}.portal-body .portal-table tbody tr:nth-child(even),.portal-body .class-reference-table tbody tr:nth-child(even){background:#f8fbf9}.portal-body .portal-table tbody tr:hover,.portal-body .class-reference-table tbody tr:hover{background:#edf6f0}.portal-body .portal-table td,.portal-body .class-reference-table td{color:#3d5a49;border-color:#e4ede7}.portal-body .portal-table td strong,.portal-body .class-reference-table td strong{color:#234c36}
.portal-body .field input,.portal-body .field select,.portal-body .field textarea{border-color:#ccdcd1;background:#fcfefd;color:#294c38}.portal-body .field input:focus,.portal-body .field select:focus,.portal-body .field textarea:focus{border-color:#4c9c72;box-shadow:0 0 0 3px #62bc9326}.portal-body input[type=checkbox],.portal-body input[type=radio]{accent-color:#17694d}.portal-body .approval-alert{background:#edf7ef;border-color:#cce3d1;color:#285e3e}.portal-body .user-avatar{background:#e3f1e8;color:#235e40}.portal-body .portal-search{background:#f5f9f6;border-color:#d8e5dc}.portal-body .portal-dropdown-menu a:hover{background:#eaf5ee;color:#185e47}.portal-body .super-school-banner{background:#fff8e8;border-color:#e7d5a9;color:#654b1c}.portal-body .super-school-banner p{color:#76613b}
.portal-entry-page .login-page{background:linear-gradient(125deg,#103f2d,#216e4e)}.portal-entry-page .login-form{border:1px solid #d4e6d9;box-shadow:0 20px 55px #082c2724}.portal-entry-page .login-form .eyebrow{color:#286e4c}.portal-entry-page .login-form h2{color:#184f39}.portal-entry-page .login-form .field input:focus,.portal-entry-page .login-form .field select:focus{border-color:#4c9c72;box-shadow:0 0 0 3px #62bc9326}
.portal-body :is(a,button,input,select,textarea):focus-visible{outline:2px solid #aa7b29;outline-offset:3px}
}
@media screen{.portal-body .class-body-tabs{background:#e4f1e9!important}.portal-sidebar .portal-brand-link b,.portal-sidebar .portal-brand-link strong{color:#fff!important}}
/* Match the Secondary logo panel while retaining the Primary green menu. */
@media screen {
 .portal-sidebar .portal-sidebar-brand{background:#fff!important;background-image:none!important;border-bottom:1px solid #e8eceb}
 .portal-sidebar .portal-sidebar-brand .portal-brand-link,
 .portal-sidebar .portal-sidebar-brand .portal-brand-link b,
 .portal-sidebar .portal-sidebar-brand .portal-brand-link strong{color:#17331f!important}
 .portal-sidebar .portal-sidebar-brand .portal-brand-link small{color:#55b87b!important}
}

/* Readable text on Primary's light surfaces; white remains on dark actions. */
@media screen {
 .portal-body .class-body-tabs{color:#245b42!important}
 .portal-body .class-body-tabs a:not(.active),
 .portal-body .class-body-tabs .workspace-tab:not(.active){color:#245b42!important}
 .portal-body .class-body-tabs a.active,
 .portal-body .class-body-tabs .workspace-tab.active,
 .portal-body .class-body-tabs a:hover{background:#17694d!important;color:#fff!important}
 .portal-body .class-body-tabs .workspace-tab:not(.active):hover{background:#d0e7d9;color:#174e39!important}
 .portal-body .class-summary small,.portal-body .workspace-summary small{color:#4d6959}
 .portal-body .portal-sidebar .portal-sidebar-brand .portal-brand-link small{color:#286e4c!important}
 .portal-body .portal-card:not(.academic-print-sheet){color:#294c38}
 .portal-body .portal-card:not(.academic-print-sheet) :is(h1,h2,h3,h4){color:#174e39}
 .portal-body .portal-card:not(.academic-print-sheet) :is(label,legend,dt){color:#355b46}
 .portal-body .portal-card:not(.academic-print-sheet) :is(input,select,textarea){color:#294c38}
 .portal-body .portal-card:not(.academic-print-sheet) input::placeholder,
 .portal-body .portal-card:not(.academic-print-sheet) textarea::placeholder{color:#60796b;opacity:1}
 .portal-body .portal-dropdown-menu{color:#294c38;background:#fff}
 .portal-body .portal-dropdown-menu a{color:#294c38}
}

.primary-exam-type{grid-column:1/-1;border:1px solid #ccdcd1;border-radius:5px;padding:12px 16px;display:flex;flex-direction:row;gap:20px;flex-wrap:wrap}.primary-exam-type legend{padding:0 5px;font-size:13px;font-weight:700}.primary-exam-type label{display:inline-flex;align-items:center;gap:7px;font-size:13px}.primary-exam-type input[type=radio]{width:16px;height:16px;min-height:0;padding:0;margin:0;accent-color:#17694d}
