/* Shared Classroom presentation. Operational media surfaces keep their own controls. */
:is(body.classroom-neutral,body.tw-unified,body.student-dashboard,body.ic-page,body.cp-public) *{box-sizing:border-box}
:is(body.classroom-neutral,body.tw-unified,body.student-dashboard,body.ic-page,body.cp-public){
 --cp-ink:#10251e;--cp-muted:#52665b;--cp-line:#cbc7ba;--cp-bg:#f4f1e8;--cp-green:#0f7257;
 --ic-ink:#10251e;--ic-muted:#52665b;--ic-line:#cbc7ba;--ic-bg:#f4f1e8;--ic-card:#fff;--ic-green:#0f7257;--ic-accent:#d5ff3f;
 --tw-dark:#10251e;--tw-ivory:#f4f1e8;--tw-line:#cbc7ba;--tw-green:#0f7257;--tw-lime:#d5ff3f;
 --ink:#10251e;--muted:#52665b;--line:#cbc7ba;--bg:#f4f1e8;--paper:#fff;--soft:#f8f6ef;
 --primary:#0f7257;--primary-dark:#10251e;--primary-light:#e7f2ed;--text-primary:#10251e;--text-secondary:#41534b;--text-muted:#52665b;
 --border:#cbc7ba;--surface:#fff;--surface-hover:#f8f6ef;
 margin:0;background:#f4f1e8!important;color:#10251e!important;font:14px/1.55 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
}
:is(body.classroom-neutral,body.tw-unified,body.student-dashboard,body.ic-page,body.cp-public) :is(h1,h2,h3,h4){font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;letter-spacing:-.025em;line-height:1.25!important}
:is(body.classroom-neutral,body.tw-unified,body.student-dashboard,body.ic-page,body.cp-public) h1{font-size:clamp(25px,3vw,36px)!important;font-weight:700!important}
:is(body.classroom-neutral,body.tw-unified,body.student-dashboard,body.ic-page,body.cp-public) h2{font-size:clamp(20px,2.4vw,26px)!important;font-weight:650!important}
:is(body.classroom-neutral,body.tw-unified,body.student-dashboard,body.ic-page,body.cp-public) h3{font-size:18px!important;font-weight:650!important}
:is(body.classroom-neutral,body.tw-unified,body.student-dashboard,body.ic-page,body.cp-public) :is(input,select,textarea,button){font:inherit;box-sizing:border-box}
:is(body.classroom-neutral,body.tw-unified,body.student-dashboard,body.ic-page,body.cp-public) :is(input,select,textarea):not([type=checkbox]):not([type=radio]):not([type=range]):not([type=hidden]){max-width:100%;min-height:44px;border-radius:7px!important;border-color:#aeb9af!important;background:#fff;color:#10251e}
:is(body.classroom-neutral,body.tw-unified,body.student-dashboard,body.ic-page,body.cp-public) :is(input,textarea)::placeholder{color:#52665b!important;opacity:1}
:is(body.classroom-neutral,body.tw-unified,body.student-dashboard,body.ic-page,body.cp-public) :is(a,button,input,select,textarea,summary):focus-visible{outline:3px solid #10b981;outline-offset:3px}
:is(body.classroom-neutral,body.tw-unified,body.student-dashboard,body.ic-page,body.cp-public) [hidden]{display:none!important}

/* One quiet sidebar and one mobile navigation bar for each role. */
body.ic-page .ic-sidebar,body.tw-unified .tw-sidebar,body.student-dashboard .cd-sidebar{background:#10251e!important;color:#e7eee9!important;border-right:1px solid #10251e!important;box-shadow:none!important}
body.ic-page .ic-brand,body.tw-unified .tw-brand,body.student-dashboard .cd-brand{color:#fff!important;border-color:#ffffff27!important;letter-spacing:.045em!important}
body.ic-page .ic-brand small,body.tw-unified .tw-brand small,body.student-dashboard .cd-brand small{color:#a9c8bc!important}
body.ic-page .ic-brand img,body.tw-unified .tw-brand img,body.student-dashboard .cd-brand img{filter:none}
body.ic-page .ic-identity,body.tw-unified .tw-context,body.student-dashboard .cd-identity{padding:18px 8px!important;border-color:#ffffff27!important}
body.ic-page .ic-identity strong,body.tw-unified .tw-context strong,body.student-dashboard .cd-identity strong{font:650 15px/1.4 system-ui,sans-serif!important;color:#fff!important;overflow-wrap:anywhere}
body.ic-page .ic-identity :is(span,small),body.tw-unified .tw-context :is(span,small),body.student-dashboard .cd-identity :is(span,small){color:#c2d4cb!important}
body.ic-page .ic-sidebar nav a,body.tw-unified .tw-sidebar nav a,body.student-dashboard .cd-sidebar nav a{border:0!important;border-radius:7px!important;color:#e7eee9!important;padding:10px 12px!important;min-height:43px}
body.ic-page .ic-sidebar nav a.active,body.tw-unified .tw-sidebar nav a.active,body.student-dashboard .cd-sidebar nav a.is-active{background:#ffffff12!important;color:#d5ff3f!important}
body.ic-page .ic-sidebar nav a:hover,body.tw-unified .tw-sidebar nav a:hover,body.student-dashboard .cd-sidebar nav a:hover{background:#ffffff12!important;color:#fff!important}
body.tw-unified .tw-sidebar nav a i,body.student-dashboard .cd-sidebar nav a i{color:inherit!important}
body.tw-unified .tw-label,body.student-dashboard .cd-nav-label{color:#9dc2b3!important}
body.tw-unified .tw-status,body.student-dashboard .cd-sidebar-foot{display:none!important}
body.ic-page .ic-mobile,body.tw-unified .tw-mobile-toggle,body.student-dashboard .cd-mobilebar{background:#10251e!important;color:#fff!important;border-bottom:1px solid #10251e!important;box-shadow:none!important}
body.ic-page .ic-mobile button,body.student-dashboard .cd-mobilebar button{background:transparent!important;color:#fff!important;border:1px solid #ffffff77!important;min-width:44px;min-height:44px}

/* Legacy teacher and learner screens consume the same tokens and readable cards. */
body.tw-unified :is(.hero,.er-hero,.iv-head,.page-header,.header,.intro,.dashboard-toolbar),body.student-dashboard :is(.hero,.cd-hero,.page-header),body.ic-page .ic-hero{background:#fbfaf6!important;border:1px solid #cbc7ba!important;color:#10251e!important;border-radius:10px!important;padding:24px!important;box-shadow:none!important}
body.tw-unified :is(.hero,.er-hero,.iv-head,.page-header,.header,.intro,.dashboard-toolbar) :is(h1,h2,h3,p,span,small),body.student-dashboard :is(.hero,.cd-hero,.page-header) :is(h1,h2,h3,p,span,small){color:#10251e!important;text-shadow:none!important}
body.tw-unified :is(.hero,.er-hero,.iv-head,.intro,.dashboard-toolbar) p,body.student-dashboard :is(.hero,.cd-hero) p{color:#52665b!important}
body.tw-unified .dashboard-toolbar h2{font:700 clamp(26px,3.5vw,38px)/1.2 system-ui,sans-serif!important;max-width:none!important}
body.tw-unified :is(.card,.module-card,.stat-card,.item-card,.er-card,.iv-card,.course,.profile-card,.question-card),body.student-dashboard :is(.card,.cd-card,.stat-card,.course-card,.item-card),body.ic-page .ic-card{background:#fff!important;border-color:#cbc7ba!important;border-radius:10px!important;color:#10251e!important;box-shadow:none!important;min-width:0}
body.tw-unified :is(.stat-value,.stat-number,.fact b),body.student-dashboard :is(.stat-value,.stat-number){font-family:system-ui,sans-serif!important;color:#10251e!important}
body.tw-unified :is(.btn-primary,.open,.action-btn.primary,.dashboard-quick-actions .primary),body.student-dashboard :is(.btn-primary,.action),body.ic-page .ic-form button{background:#10251e!important;color:#fff!important;border-color:#10251e!important}
body.tw-unified .dashboard-quick-actions .primary{background:#d5ff3f!important;color:#10251e!important;border-color:#cbc7ba!important}
body.tw-unified :is(.btn-primary,.open,.action-btn.primary) :is(span,small,i,strong),body.student-dashboard :is(.btn-primary,.action) :is(span,small,i,strong){color:#fff!important}
body.tw-unified .dashboard-quick-actions .primary :is(span,small,i,strong){color:#10251e!important}
body.tw-unified :is(.course-tabs,.detail-tabs,.top-nav),body.student-dashboard :is(.sc-record-nav,.quick){background:#fff!important;border-color:#cbc7ba!important;color:#10251e!important}
body.tw-unified .course-tabs a[aria-current],body.tw-unified .detail-tabs a.active{background:#10251e!important;color:#d5ff3f!important}
body.tw-unified :is(.workspace-note,.sub-banner),body.student-dashboard .alert{border-color:#d1fae5!important;border-radius:8px!important}
body.tw-unified :is(.evaluation-status,.status-pending,.status-completed,.evaluation-result,.manual-evaluation){border-radius:8px!important}
body.classroom-neutral .tx-rebuilt-ambient,body.classroom-neutral .tx-rebuilt-story{display:none!important}
body.classroom-neutral .tx-rebuilt-frame{background:none!important;box-shadow:none!important;border:0!important;padding:0!important;max-width:none!important}
body.classroom-neutral .tx-rebuilt-content{padding:0!important}
body.classroom-neutral .video-container,body.classroom-neutral .video-stage,body.classroom-neutral .video-grid{background:#0f172a}

/* Focused institution pages. */
.cp-content{max-width:1500px}.cp-page-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 24px}.cp-page-head h1{margin:4px 0 6px}.cp-page-head p{margin:0}
.cp-eyebrow{color:#52665b;font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase}.cp-muted{color:#52665b}.cp-card{background:#fbfaf6;border:1px solid #cbc7ba;border-radius:10px;padding:24px;margin:0 0 20px;min-width:0}.cp-card h2{margin:0 0 14px}.cp-card h3{margin:12px 0 8px}.cp-card p{overflow-wrap:anywhere}
.cp-card-head{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:18px}.cp-card-head h2{margin:0}.cp-focused{max-width:760px}
.cp-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.cp-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:0 0 24px}
.cp-stat{display:grid;gap:5px;padding:20px;border:1px solid #cbc7ba;border-radius:10px;background:#fbfaf6;text-decoration:none;color:#10251e}.cp-stat strong{font-size:30px;font-weight:700;line-height:1.2}.cp-stat span{color:#52665b}
body.cp-portal a,body.cp-public a{color:#0f7257;font-weight:600;text-decoration:none}.cp-button,.cp-secondary,.cp-form button,.cp-inline button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 15px;border:1px solid #10251e;border-radius:7px;background:#10251e;color:#fff!important;text-decoration:none;font-weight:650;cursor:pointer}
.cp-secondary,.cp-inline button{background:#fff;color:#203b30!important;border-color:#aeb9af}.cp-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.cp-inline{margin:0}.cp-form{display:grid;gap:16px;margin:14px 0}.cp-form label,.cp-content>label,.cp-card>label{display:grid;gap:6px;font-weight:600;color:#203b30}.cp-form input,.cp-form select,.cp-form textarea,.cp-card>label input{width:100%;padding:11px 12px;border:1px solid #aeb9af;border-radius:7px;background:#fff;color:#10251e}.cp-form textarea{min-height:130px;resize:vertical}.cp-form button{justify-self:start}.cp-form fieldset{min-width:0;border:1px solid #cbc7ba;border-radius:8px;padding:16px}.cp-form legend{font-weight:650;padding:0 6px}
.cp-checks{display:flex;flex-wrap:wrap;gap:12px}.cp-checks label,.cp-form .cp-checkbox{display:flex;align-items:center;gap:8px;font-weight:500}.cp-checks input,.cp-checkbox input{width:18px;height:18px;min-height:18px;accent-color:#0f7257}
.cp-level-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:12px}.cp-level-row .cp-checkbox{grid-column:1/-1}
.cp-alert{padding:13px 16px;margin:16px 0;border:1px solid #a7f3d0;border-radius:8px;background:#ecfdf5;color:#065f46}.cp-error{background:#fef2f2;color:#991b1b;border-color:#fecaca}.cp-warning{background:#fffbeb;color:#92400e;border-color:#fde68a}
.cp-help{padding:14px 16px;margin:0 0 20px;background:#fbfaf6;border:1px solid #cbc7ba;border-radius:8px}.cp-help summary{cursor:pointer;font-weight:650}.cp-help p{color:#41534b}
.cp-empty{padding:24px 8px;color:#52665b}.cp-checklist{padding:0;margin:0;list-style:none}.cp-checklist li{display:flex;align-items:center;gap:12px;padding:10px 0}.cp-step{width:24px;height:24px;display:grid;place-items:center;border-radius:50%;background:#f4f1e8;color:#52665b}.cp-step.is-complete{background:#d1fae5;color:#0f7257}
.cp-list-row{display:grid;gap:4px;padding:14px 0;border-bottom:1px solid #cbc7ba}.cp-list-row span{font-size:12px;color:#52665b}
.cp-table-wrap{max-width:100%;overflow:auto}.cp-table{width:100%;border-collapse:collapse;text-align:left}.cp-table th{background:#fbfaf6;padding:12px;color:#41534b;font-size:12px}.cp-table td{padding:14px 12px;border-bottom:1px solid #cbc7ba;vertical-align:top;overflow-wrap:anywhere}.cp-table tbody tr:last-child td{border-bottom:0}
.cp-request{display:flex;justify-content:space-between;gap:16px;padding:18px 0;border-bottom:1px solid #cbc7ba}.cp-request p{margin:4px 0}.cp-tree-node{margin:8px 0;border:1px solid #cbc7ba;border-radius:8px;padding:12px}.cp-tree-node summary{cursor:pointer}.cp-tree-node summary span{display:inline-grid;gap:2px;vertical-align:top}.cp-tree-node small{color:#52665b}.cp-tree-node>.cp-tree-node{margin-left:18px}.cp-tree-actions{display:flex;flex-wrap:wrap;gap:14px;margin:12px 0}.cp-guide-steps li{padding:8px 0}
.cp-public-main{max-width:720px;margin:36px auto;padding:0 18px}.cp-public-brand{display:block;margin:0 0 22px;letter-spacing:.08em}.cp-public .cp-card h1{margin-top:0}
.cp-course-context{margin:12px 0;color:#52665b;font-size:12px;overflow-wrap:anywhere}
@media(max-width:900px){.cp-columns{grid-template-columns:1fr}.cp-level-row{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.cp-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.cp-page-head,.cp-card-head,.cp-request{align-items:stretch;flex-direction:column}.cp-card{padding:18px}.cp-level-row{grid-template-columns:1fr}.cp-form button{width:100%;justify-self:stretch}.cp-tree-node>.cp-tree-node{margin-left:8px}.cp-table thead{display:none}.cp-table,.cp-table tbody,.cp-table tr,.cp-table td{display:block;width:100%;box-sizing:border-box}.cp-table tr{border-bottom:1px solid #cbc7ba;padding:8px 0}.cp-table td{display:grid;grid-template-columns:95px minmax(0,1fr);gap:12px;border:0;padding:8px 0}.cp-table td::before{content:attr(data-label);color:#52665b;font-size:12px}.cp-content{padding:20px 14px!important}
 body.tw-unified .hero,body.student-dashboard .hero{padding:18px!important}body.tw-unified .profile-container,body.tw-unified .content-grid,body.student-dashboard .layout{grid-template-columns:1fr!important;min-width:0}
}
@media print{body.cp-portal{padding:0!important;background:#fff!important}.cp-portal .ic-sidebar,.cp-portal .ic-mobile,.cp-print,.cp-page-head>a{display:none!important}.cp-content{max-width:none;padding:0}.cp-card{break-inside:avoid}.cp-table thead{display:table-header-group}.cp-table,.cp-table tbody,.cp-table tr,.cp-table td{display:revert}.cp-table td::before{display:none}}

/* Supplied Testanix mark on dark workspace navigation. */
body.ic-page .ic-brand img,body.tw-unified .tw-brand img,body.student-dashboard .cd-brand img{filter:brightness(0) invert(1)}
