
    /* v110 theme controls: available on login, student and admin views */
    .tf-theme-toggle{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:40px;padding:8px 12px;border:1px solid var(--line);border-radius:11px;background:var(--panel);color:var(--ink);font:inherit;font-size:.75rem;font-weight:800;cursor:pointer;white-space:nowrap;box-shadow:0 2px 8px rgba(12,35,68,.045);transition:background .18s,color .18s,border-color .18s}
    .tf-theme-toggle:hover{border-color:#78a9d3;background:#f0f6fe}
    .tf-theme-toggle:focus-visible{outline:3px solid #69afea;outline-offset:2px}
    .tf-theme-icon{display:block;flex:none}
    .tf-login-theme{display:flex;justify-content:flex-end;align-self:stretch;margin:0 0 12px}
    .tf-login-theme .tf-theme-toggle{margin:0;width:auto;min-height:38px;box-shadow:none}
    .student-brand-controls>.tf-theme-toggle{min-height:38px;border-radius:12px}
    .tf-trace-letter{font-size:.75rem;display:inline-grid;place-items:center;flex:0 0 27px;height:27px;border-radius:8px;background:#e6f2ff;color:#145083;font-weight:950;letter-spacing:.03em;margin-right:9px}
    .student-skill-name{display:flex;align-items:center}
    @media(max-width:1060px){.topbar>.tf-theme-toggle .tf-theme-label{display:none}.topbar>.tf-theme-toggle{padding:8px 10px;min-width:40px}}
    @media(max-width:630px){.student-brand-controls>.tf-theme-toggle .tf-theme-label{display:none}.student-brand-controls>.tf-theme-toggle{min-width:39px;padding:8px 10px}}

html[data-theme="dark"] .login-logo-plate{background:#17263c;}
html[data-theme="dark"] .login-feature i{background:#233b58;}
html[data-theme="dark"] .login-access{background:rgba(23,38,60,0.985);}
html[data-theme="dark"] .login-access-badge{background:#1b304a;color:#a9d5ff;}
html[data-theme="dark"] .login-access h2{color:#a9d5ff;}
html[data-theme="dark"] .login-security{color:#9acbff;}
html[data-theme="dark"] .login-legal{border-top:1px solid #354b67;color:#9acbff;}
html[data-theme="dark"] .login-legal a{color:#a9d5ff;}
html[data-theme="dark"] .maintenance-card{background:rgba(23,38,60,0.99);border:1px solid #3b5067;}
html[data-theme="dark"] .maintenance-language{border:1px solid #354b67;background:#17263c;}
html[data-theme="dark"] .maintenance-language button{color:#9acbff;}
html[data-theme="dark"] .maintenance-language button.active{background:#17263c;color:#a9d5ff;}
html[data-theme="dark"] .maintenance-status{background:#17263c;color:#ff9ea6;}
html[data-theme="dark"] .maintenance-card h1{color:#a9d5ff;}
html[data-theme="dark"] .maintenance-note{border:1px solid #354b67;background:#17263c;color:#9acbff;}
html[data-theme="dark"] .maintenance-actions a{border:1px solid #354b67;background:#17263c;color:#a9d5ff;}
html[data-theme="dark"] .maintenance-foot{color:#9acbff;}
html[data-theme="dark"] .connection-failure-card{background:#17263c;}
html[data-theme="dark"] .connection-test-badge{background:#17263c;color:#ff9ea6;}
html[data-theme="dark"] .connection-failure-icon{background:#17263c;color:#ff9ea6;}
html[data-theme="dark"] .connection-failure-card h1{color:#a9d5ff;}
html[data-theme="dark"] .connection-failure-note{border:1px solid #354b67;background:#17263c;color:#9acbff;}
html[data-theme="dark"] .connection-check-row{border:1px solid #354b67;background:#17263c;}
html[data-theme="dark"] .connection-check-row strong{color:#a9d5ff;}
html[data-theme="dark"] .connection-check-status{color:#9acbff;}
html[data-theme="dark"] .connection-check-status.ok{color:#69dbaf;}
html[data-theme="dark"] .connection-check-status.fail{color:#ff9ea6;}
html[data-theme="dark"] .connection-secondary{border:1px solid #354b67;background:#17263c;color:#a9d5ff;}
html[data-theme="dark"] .connection-diagnostic{color:#9acbff;}
html[data-theme="dark"] .sidebar-foot small{color:#9acbff;}
html[data-theme="dark"] .topbar{background:rgba(23,38,60,0.94);border-bottom:1px solid #354b67;}
html[data-theme="dark"] .menu-button{background:#17263c;color:#a9d5ff;}
html[data-theme="dark"] .top-search input{border:1px solid #354b67;background:#17263c;}
html[data-theme="dark"] .top-search input:focus{border-color:#354b67;}
html[data-theme="dark"] .icon-button:hover{background:#17263c;}
html[data-theme="dark"] .notification-menu{background:#17263c;}
html[data-theme="dark"] .notification-menu-header button{color:#a9d5ff;}
html[data-theme="dark"] .notification-menu-header button:disabled{color:#9acbff;}
html[data-theme="dark"] .notification-item{border-bottom:1px solid #354b67;background:#17263c;}
html[data-theme="dark"] .notification-item:hover{background:#17263c;}
html[data-theme="dark"] .notification-item.unread{background:#17263c;}
html[data-theme="dark"] .notification-item.unread:hover{background:#1b304a;}
html[data-theme="dark"] .notification-copy time{color:#9acbff;}
html[data-theme="dark"] .notification-type{background:#17263c;color:#a9d5ff;}
html[data-theme="dark"] .notification-settings-link:hover{background:#17263c !important;}
html[data-theme="dark"] .student-notification-button{border:1px solid #354b67;background:#17263c;color:#9acbff;}
html[data-theme="dark"] .student-notification-button:hover{background:#17263c;border-color:#354b67;}
html[data-theme="dark"] .notification-settings-card{background:#17263c;border:1px solid #354b67;}
html[data-theme="dark"] .notification-settings-head h2{color:#a9d5ff;}
html[data-theme="dark"] .notification-settings-close{background:#17263c;color:#a9d5ff;}
html[data-theme="dark"] .notification-device-card{border:1px solid #354b67;background:#17263c;}
html[data-theme="dark"] .notification-enable-button.secondary{background:#17263c;color:#a9d5ff;border:1px solid #354b67;}
html[data-theme="dark"] .notification-preferences-title{color:#9acbff;}
html[data-theme="dark"] .notification-preference{border:1px solid #354b67;background:#17263c;}
html[data-theme="dark"] .notification-settings-actions{border-top:1px solid #354b67;}
html[data-theme="dark"] .notification-permission-note{color:#9acbff;}
html[data-theme="dark"] .profile-avatar{background:linear-gradient(135deg,#1b304a,#233b58);color:#a9d5ff;}
html[data-theme="dark"] #logout{border:1px solid #354b67;background:#17263c;}
html[data-theme="dark"] .sync-health{color:#9acbff;}
html[data-theme="dark"] .kpi-icon.blue{background:#1b304a;color:#9acbff;}
html[data-theme="dark"] .kpi-icon.green{background:#18372f;color:#69dbaf;}
html[data-theme="dark"] .kpi-icon.violet{background:#1b304a;color:#9acbff;}
html[data-theme="dark"] .kpi-icon.red{background:#382633;color:#ff9ea6;}
html[data-theme="dark"] .kpi-icon.amber{background:#2a291e;color:#f0cb88;}
html[data-theme="dark"] .kpi-icon.indigo{background:#1b304a;color:#9acbff;}
html[data-theme="dark"] .kpi-card .label{color:#9acbff;}
html[data-theme="dark"] .kpi-card .value{color:#9acbff;}
html[data-theme="dark"] .panel{background:#17263c;}
html[data-theme="dark"] .panel-header{border-bottom:1px solid #354b67;}
html[data-theme="dark"] .text-button, html[data-theme="dark"] .ghost-button{border:1px solid #354b67;background:#17263c;}
html[data-theme="dark"] .text-button:hover, html[data-theme="dark"] .ghost-button:hover, html[data-theme="dark"] .ghost-button.active{background:#17263c;border-color:#354b67;}
html[data-theme="dark"] .filter-bar{background:#17263c;border:1px solid #354b67;}
html[data-theme="dark"] .filter-field span{color:#9acbff;}
html[data-theme="dark"] .filter-field select{border:1px solid #354b67;background:#17263c;}
html[data-theme="dark"] th, html[data-theme="dark"] td{border-bottom:1px solid #354b67;}
html[data-theme="dark"] th{background:#17263c;color:#9acbff;}
html[data-theme="dark"] th.sortable-th:hover, html[data-theme="dark"] th.sortable-th[aria-sort="ascending"], html[data-theme="dark"] th.sortable-th[aria-sort="descending"]{background:#17263c;color:#a9d5ff;}
html[data-theme="dark"] .sort-indicator{color:#9acbff;}
html[data-theme="dark"] tbody tr.class-row:hover{background:#17263c;}
html[data-theme="dark"] .open-link{color:#a9d5ff;}
html[data-theme="dark"] .pill{background:#1b304a;color:#9acbff;}
html[data-theme="dark"] .progress-track, html[data-theme="dark"] .dashboard-progress{background:#1b304a;}
html[data-theme="dark"] .upcoming-item{border:1px solid #354b67;background:#17263c;}
html[data-theme="dark"] .upcoming-item:hover{background:#17263c;border-color:#354b67;}
html[data-theme="dark"] .date-tile{background:#17263c;}
html[data-theme="dark"] .mini-status{background:#17263c;color:#69dbaf;}
html[data-theme="dark"] .mini-status.tbr{background:#2a291e;color:#f0cb88;}
html[data-theme="dark"] .mini-status.rsd, html[data-theme="dark"] .mini-status.replacement{background:#1b304a;color:#9acbff;}
html[data-theme="dark"] .mini-status.xld{background:#382633;color:#ff9ea6;}
html[data-theme="dark"] .attention-box{background:#17263c;border:1px solid #354b67;}
html[data-theme="dark"] .attention-row{color:#ff9ea6;}
html[data-theme="dark"] .attention-dot{background:#35301f;}
html[data-theme="dark"] .attention-ok{color:#69dbaf;}
html[data-theme="dark"] .attention-ok>span{background:#18372f;}
html[data-theme="dark"] .attention-ok small{color:#69dbaf;}
html[data-theme="dark"] .activity-row{border-bottom:1px solid #354b67;}
html[data-theme="dark"] .activity-icon{background:#1b304a;color:#9acbff;}
html[data-theme="dark"] .activity-icon.green{background:#18372f;color:#69dbaf;}
html[data-theme="dark"] .activity-icon.red{background:#382633;color:#ff9ea6;}
html[data-theme="dark"] .activity-icon.amber{background:#2a291e;color:#f0cb88;}
html[data-theme="dark"] .activity-row time{color:#9acbff;}
html[data-theme="dark"] .donut{background:#1b304a;}
html[data-theme="dark"] .legend-row:hover{background:#17263c;}
html[data-theme="dark"] .contract-row{border-bottom:1px solid #354b67;}
html[data-theme="dark"] .contract-row:hover strong{color:#a9d5ff;}
html[data-theme="dark"] .contract-row-head b{color:#a9d5ff;}
html[data-theme="dark"] .breadcrumb{color:#9acbff;}
html[data-theme="dark"] .breadcrumb button{color:#a9d5ff;}
html[data-theme="dark"] .detail-hero{background:linear-gradient(135deg,#17263c,#17263c);}
html[data-theme="dark"] .class-badge{background:#1b304a;color:#a9d5ff;}
html[data-theme="dark"] .class-badge.deactivated{background:#17263c;color:#9acbff;}
html[data-theme="dark"] .detail-metric{background:#17263c;}
html[data-theme="dark"] .detail-metric .label{color:#9acbff;}
html[data-theme="dark"] .progress-note{color:#9acbff;}
html[data-theme="dark"] .student-item{border:1px solid #354b67;background:#17263c;}
html[data-theme="dark"] .student-preview-trigger:hover{background:#17263c;border-color:#354b67;}
html[data-theme="dark"] .student-preview-trigger:focus-visible{border-color:#354b67;}
html[data-theme="dark"] .sync-chip{border:1px solid #354b67;background:#17263c;}
html[data-theme="dark"] .sync-chip small{color:#9acbff;}
html[data-theme="dark"] .normal{background:#17263c;color:#69dbaf;}
html[data-theme="dark"] .tbr{background:#2a291e;color:#f0cb88;}
html[data-theme="dark"] .rsd{background:#1b304a;color:#9acbff;}
html[data-theme="dark"] .xld{background:#382633;color:#ff9ea6;}
html[data-theme="dark"] .class-state-pill.active{background:#18372f;color:#69dbaf;}
html[data-theme="dark"] .class-state-pill.deactivated{background:#17263c;color:#9acbff;}
html[data-theme="dark"] .classes-page-summary span{background:#17263c;color:#a9d5ff;}
html[data-theme="dark"] .calendar-shell{background:#17263c;}
html[data-theme="dark"] .calendar-toolbar{border-bottom:1px solid #354b67;background:#17263c;}
html[data-theme="dark"] .calendar-toolbar h2{color:#9acbff;}
html[data-theme="dark"] .calendar-today-button, html[data-theme="dark"] .calendar-nav-button, html[data-theme="dark"] .calendar-view-button{border:1px solid #354b67;background:#17263c;color:#9acbff;}
html[data-theme="dark"] .calendar-view-toggle{border:1px solid #354b67;}
html[data-theme="dark"] .calendar-view-button.active{background:#1b304a;color:#9acbff;}
html[data-theme="dark"] .calendar-legend-inline{color:#9acbff;}
html[data-theme="dark"] .calendar-weekdays{border-bottom:1px solid #354b67;background:#17263c;}
html[data-theme="dark"] .calendar-weekdays div{color:#9acbff;border-right:1px solid #354b67;}
html[data-theme="dark"] .calendar-month-grid{background:#17263c;}
html[data-theme="dark"] .calendar-day{border-right:1px solid #354b67;border-bottom:1px solid #354b67;background:#17263c;}
html[data-theme="dark"] .calendar-day.outside-month{background:#17263c;}
html[data-theme="dark"] .calendar-day-number{color:#9acbff;}
html[data-theme="dark"] .calendar-day.outside-month .calendar-day-number{color:#b6c7da;}
html[data-theme="dark"] .calendar-event.normal{background:#1b304a;color:#9acbff;}
html[data-theme="dark"] .calendar-event.tbr{background:#2a291e;color:#f0cb88;}
html[data-theme="dark"] .calendar-event.rsd{background:#302946;color:#9acbff;}
html[data-theme="dark"] .calendar-event.xld{background:#382633;color:#ff9ea6;}
html[data-theme="dark"] .calendar-event.replacement{background:#18372f;color:#69dbaf;}
html[data-theme="dark"] .calendar-more{color:#9acbff;}
html[data-theme="dark"] .calendar-empty{color:#9acbff;}
html[data-theme="dark"] .calendar-week-header{border-bottom:1px solid #354b67;background:#17263c;}
html[data-theme="dark"] .calendar-week-header .gutter{border-right:1px solid #354b67;}
html[data-theme="dark"] .calendar-week-day-head{border-right:1px solid #354b67;color:#9acbff;}
html[data-theme="dark"] .calendar-time-column{border-right:1px solid #354b67;background:#17263c;}
html[data-theme="dark"] .calendar-time-label{color:#9acbff;}
html[data-theme="dark"] .calendar-week-day{border-right:1px solid #354b67;background:repeating-linear-gradient(to bottom,#17263c 0,#17263c 47px,#17263c 48px);}
html[data-theme="dark"] .calendar-week-event.normal{background:#1b304a;color:#9acbff;}
html[data-theme="dark"] .calendar-week-event.tbr{background:#2a291e;color:#f0cb88;}
html[data-theme="dark"] .calendar-week-event.rsd{background:#302946;color:#9acbff;}
html[data-theme="dark"] .calendar-week-event.xld{background:#382633;color:#ff9ea6;}
html[data-theme="dark"] .calendar-week-event.replacement{background:#18372f;color:#69dbaf;}
html[data-theme="dark"] .calendar-footnote{border-top:1px solid #354b67;color:#9acbff;background:#17263c;}
html[data-theme="dark"] .empty{border:1px dashed #354b67;background:#17263c;}
html[data-theme="dark"] .student-brand-bar{background:#17263c;}
html[data-theme="dark"] .student-language-toggle{border:1px solid #354b67;background:#17263c;color:#9acbff;}
html[data-theme="dark"] .student-language-toggle:hover{background:#17263c;}
html[data-theme="dark"] .student-language-toggle-track{background:#1b304a;}
html[data-theme="dark"] .student-language-toggle-knob{background:#17263c;}
html[data-theme="dark"] .student-language-toggle[data-language="en"] .student-language-toggle-label:first-child, html[data-theme="dark"] .student-language-toggle[data-language="pt-BR"] .student-language-toggle-label:last-child{color:#a9d5ff;}
html[data-theme="dark"] .student-preview-banner{border:1px solid #354b67;background:#1b304a;}
html[data-theme="dark"] .student-preview-copy strong{color:#a9d5ff;}
html[data-theme="dark"] .student-preview-copy span{color:#9acbff;}
html[data-theme="dark"] .card{background:#17263c;}
html[data-theme="dark"] .metric .label{color:#9acbff;}
html[data-theme="dark"] .student-welcome{background:linear-gradient(135deg,#17263c,#17263c);}
html[data-theme="dark"] .student-welcome h1{color:#a9d5ff;}
html[data-theme="dark"] .student-stage-pill{background:#1b304a;color:#a9d5ff;}
html[data-theme="dark"] .student-stage-pill small{color:#9acbff;}
html[data-theme="dark"] .student-summary-card{background:#17263c;}
html[data-theme="dark"] .student-summary-card .summary-label{color:#9acbff;}
html[data-theme="dark"] .student-summary-card .summary-value{color:#a9d5ff;}
html[data-theme="dark"] .student-positive-change{color:#69dbaf;}
html[data-theme="dark"] .student-negative-change{color:#ff9ea6;}
html[data-theme="dark"] .student-neutral-change{color:#9acbff;}
html[data-theme="dark"] .student-panel{background:#17263c;}
html[data-theme="dark"] .student-panel-head{border-bottom:1px solid #354b67;}
html[data-theme="dark"] .student-panel-head h2{color:#a9d5ff;}
html[data-theme="dark"] .student-chart text{fill:#9acbff;}
html[data-theme="dark"] .student-chart .grid-line{stroke:#3c536d;}
html[data-theme="dark"] .student-chart .axis-label{fill:#9acbff;}
html[data-theme="dark"] .student-chart-caption strong{color:#a9d5ff;}
html[data-theme="dark"] .student-chart-empty{border:1px dashed #354b67;background:#17263c;}
html[data-theme="dark"] .student-skill{border:1px solid #354b67;background:#17263c;}
html[data-theme="dark"] .student-skill-name{color:#a9d5ff;}
html[data-theme="dark"] .student-skill-score{color:#a9d5ff;}
html[data-theme="dark"] .student-skill-meta{color:#9acbff;}
html[data-theme="dark"] .student-feedback-topic{color:#a9d5ff;}
html[data-theme="dark"] .student-meta-pill{background:#17263c;color:#9acbff;}
html[data-theme="dark"] .student-feedback-copy{color:#9acbff;}
html[data-theme="dark"] .student-primary-button{border:1px solid #354b67;background:#1b304a;color:#a9d5ff;}
html[data-theme="dark"] .student-primary-button:hover{background:#1b304a;}
html[data-theme="dark"] .student-upcoming-item{border:1px solid #354b67;background:#17263c;}
html[data-theme="dark"] .student-upcoming-date{background:#1b304a;color:#a9d5ff;}
html[data-theme="dark"] .student-upcoming-copy strong{color:#a9d5ff;}
html[data-theme="dark"] .student-upcoming-time{color:#a9d5ff;}
html[data-theme="dark"] .student-report-row{border-bottom:1px solid #354b67;}
html[data-theme="dark"] .student-report-date{color:#9acbff;}
html[data-theme="dark"] .student-report-topic strong{color:#a9d5ff;}
html[data-theme="dark"] .student-report-score{color:#a9d5ff;}
html[data-theme="dark"] .student-report-detail-head{border-bottom:1px solid #354b67;}
html[data-theme="dark"] .student-detail-block{border:1px solid #354b67;background:#17263c;}
html[data-theme="dark"] .student-detail-block h3{color:#a9d5ff;}
html[data-theme="dark"] .student-detail-block p{color:#9acbff;}
html[data-theme="dark"] .student-detail-score strong{color:#a9d5ff;}
html[data-theme="dark"] .student-program-chip{background:#17263c;color:#9acbff;}
html[data-theme="dark"] .student-classwork-kpi{border:1px solid #354b67;background:#17263c;}
html[data-theme="dark"] .student-classwork-kpi strong{color:#a9d5ff;}
html[data-theme="dark"] .student-classwork-item{border:1px solid #354b67;background:#17263c;}
html[data-theme="dark"] .student-classwork-title{color:#a9d5ff;}
html[data-theme="dark"] .student-classwork-status{background:#17263c;color:#9acbff;}
html[data-theme="dark"] .student-classwork-status.returned{background:#17263c;color:#69dbaf;}
html[data-theme="dark"] .student-classwork-status.submitted{background:#1b304a;color:#9acbff;}
html[data-theme="dark"] .student-classwork-status.overdue{background:#17263c;color:#ff9ea6;}
html[data-theme="dark"] .student-classwork-grade{color:#a9d5ff;}
html[data-theme="dark"] .student-classroom-link{border:1px solid #354b67;background:#1b304a;color:#a9d5ff;}
html[data-theme="dark"] .student-classroom-link:hover{background:#1b304a;}
html[data-theme="dark"] .reports-hero{background:linear-gradient(135deg,#17263c,#17263c);}
html[data-theme="dark"] .reports-dataset-pill{background:#1b304a;color:#a9d5ff;}
html[data-theme="dark"] .report-filter-field span{color:#9acbff;}
html[data-theme="dark"] .report-filter-field select, html[data-theme="dark"] .report-filter-field input{background:#17263c;}
html[data-theme="dark"] .report-filter-field select:focus, html[data-theme="dark"] .report-filter-field input:focus{border-color:#354b67;}
html[data-theme="dark"] .report-kpi{background:#17263c;}
html[data-theme="dark"] .report-kpi small{color:#9acbff;}
html[data-theme="dark"] .report-kpi strong{color:#a9d5ff;}
html[data-theme="dark"] .report-kpi .positive{color:#69dbaf;}
html[data-theme="dark"] .report-kpi .negative{color:#ff9ea6;}
html[data-theme="dark"] .report-score-guide-head h3{color:#a9d5ff;}
html[data-theme="dark"] .report-score-band{border:1px solid #354b67;background:#17263c;}
html[data-theme="dark"] .report-score-band strong{color:#a9d5ff;}
html[data-theme="dark"] .report-score-band span{color:#9acbff;}
html[data-theme="dark"] .report-score-band[data-band="weak"]{background:#17263c;}
html[data-theme="dark"] .report-score-band[data-band="functional"]{border-top:3px solid #354b67;background:#17263c;}
html[data-theme="dark"] .report-score-band[data-band="good"]{background:#17263c;}
html[data-theme="dark"] .report-score-band[data-band="strong"]{background:#17263c;}
html[data-theme="dark"] .report-score-band[data-band="exceptional"]{background:#17263c;}
html[data-theme="dark"] .report-chart-head h3{color:#a9d5ff;}
html[data-theme="dark"] .report-chart-legend span{color:#9acbff;}
html[data-theme="dark"] .report-axis-label{fill:#9acbff;}
html[data-theme="dark"] .report-grid-line{stroke:#3c536d;}
html[data-theme="dark"] .report-axis-line{stroke:#3c536d;}
html[data-theme="dark"] .report-stacked-bar{background:#17263c;border:1px solid #354b67;}
html[data-theme="dark"] .report-stacked-label{color:#9acbff;}
html[data-theme="dark"] .report-independence-legend span{color:#9acbff;}
html[data-theme="dark"] .report-class-bar-label{color:#9acbff;}
html[data-theme="dark"] .report-class-bar-track{background:#17263c;}
html[data-theme="dark"] .report-class-bar-score{color:#a9d5ff;}
html[data-theme="dark"] .report-table-row:hover td{background:#1b304a;}
html[data-theme="dark"] .report-table-row:active td{background:#1b304a;}
html[data-theme="dark"] .report-score-pill{background:#1b304a;color:#9acbff;}
html[data-theme="dark"] .report-dimension-control span{color:#9acbff;}
html[data-theme="dark"] .report-dimension-control select{background:#17263c;}
html[data-theme="dark"] .report-dimension-control select:focus{border-color:#354b67;}
html[data-theme="dark"] .trend-marker.up{color:#69dbaf;}
html[data-theme="dark"] .trend-marker.flat{color:#9acbff;}
html[data-theme="dark"] .trend-marker.down{color:#ff9ea6;}
html[data-theme="dark"] .report-focus-title{color:#a9d5ff;}
html[data-theme="dark"] .report-focus-metric{background:#17263c;border:1px solid #354b67;}
html[data-theme="dark"] .report-focus-metric small{color:#9acbff;}
html[data-theme="dark"] .report-focus-metric strong{color:#a9d5ff;}
html[data-theme="dark"] .report-focus-note{color:#9acbff;background:#17263c;border:1px solid #354b67;}
html[data-theme="dark"] .report-focus-link{color:#9acbff;}
html[data-theme="dark"] .report-point.clickable{stroke:#3c536d;}
html[data-theme="dark"] .report-comparison-strip{color:#9acbff;}
html[data-theme="dark"] .report-comparison-strip strong{color:#9acbff;}
html[data-theme="dark"] .report-comparison-delta.up{color:#69dbaf;}
html[data-theme="dark"] .report-comparison-delta.flat{color:#9acbff;}
html[data-theme="dark"] .report-comparison-delta.down{color:#ff9ea6;}
html[data-theme="dark"] .report-anomaly-badge{background:#17263c;color:#ff9ea6;}
html[data-theme="dark"] .student-class-hero{background:linear-gradient(135deg,#17263c 0%,#17263c 62%,#1b304a 100%);}
html[data-theme="dark"] .student-class-hero h1{color:#a9d5ff;}
html[data-theme="dark"] .student-next-class{border:1px solid #354b67;background:rgba(23,38,60,0.82);}
html[data-theme="dark"] .student-next-class-date{background:#1b304a;color:#a9d5ff;}
html[data-theme="dark"] .student-next-class-copy small{color:#9acbff;}
html[data-theme="dark"] .student-next-class-copy strong{color:#a9d5ff;}
html[data-theme="dark"] .student-action-secondary{border:1px solid #354b67;background:#17263c;color:#a9d5ff;}
html[data-theme="dark"] .student-action-secondary:hover{background:#17263c;}
html[data-theme="dark"] .student-class-status-card{background:#17263c;}
html[data-theme="dark"] .student-class-status-head h2{color:#a9d5ff;}
html[data-theme="dark"] .student-class-progress-value{color:#a9d5ff;}
html[data-theme="dark"] .student-class-status-item{border:1px solid #354b67;background:#17263c;}
html[data-theme="dark"] .student-class-status-item strong{color:#a9d5ff;}
html[data-theme="dark"] .student-class-status-item span{color:#9acbff;}
html[data-theme="dark"] .student-class-status-item.attention{background:#17263c;border-color:#354b67;}
html[data-theme="dark"] .student-class-status-item.missed{background:#17263c;border-color:#354b67;}
html[data-theme="dark"] .student-status-breakdown{color:#9acbff;}
html[data-theme="dark"] .student-workspace{background:#17263c;}
html[data-theme="dark"] .student-tabs{border-bottom:1px solid #354b67;background:#17263c;}
html[data-theme="dark"] .student-tab-button{color:#9acbff;}
html[data-theme="dark"] .student-tab-button:hover{background:#17263c;color:#a9d5ff;}
html[data-theme="dark"] .student-tab-button.active{background:#17263c;color:#a9d5ff;}
html[data-theme="dark"] .student-inner-card{border:1px solid #354b67;background:#17263c;}
html[data-theme="dark"] .student-inner-card-head{border-bottom:1px solid #354b67;}
html[data-theme="dark"] .student-inner-card-head h3{color:#a9d5ff;}
html[data-theme="dark"] .student-resource-item{border:1px solid #354b67;background:#17263c;}
html[data-theme="dark"] .student-resource-item-main strong{color:#a9d5ff;}
html[data-theme="dark"] .student-resource-link{border:1px solid #354b67;background:#17263c;color:#a9d5ff;}
html[data-theme="dark"] .student-resource-link:hover{background:#1b304a;}
html[data-theme="dark"] .student-recording-list::-webkit-scrollbar-thumb{background:#233b58;}
html[data-theme="dark"] .student-recording-item{border:1px solid #354b67;background:#17263c;}
html[data-theme="dark"] .student-recording-date{background:#1b304a;color:#a9d5ff;}
html[data-theme="dark"] .student-recording-copy strong{color:#a9d5ff;}
html[data-theme="dark"] .student-homework-score-item{border:1px solid #354b67;background:#17263c;}
html[data-theme="dark"] .student-homework-score-copy strong{color:#a9d5ff;}
html[data-theme="dark"] .student-homework-score-value strong{color:#a9d5ff;}
html[data-theme="dark"] .student-homework-score-value span{color:#9acbff;}
html[data-theme="dark"] .student-homework-chart text{fill:#9acbff;}
html[data-theme="dark"] .student-homework-chart .grid-line{stroke:#3c536d;}
html[data-theme="dark"] .student-homework-chart .axis-label{fill:#9acbff;}
html[data-theme="dark"] .student-progress-kpi{border:1px solid #354b67;background:#17263c;}
html[data-theme="dark"] .student-progress-kpi small{color:#9acbff;}
html[data-theme="dark"] .student-progress-kpi strong{color:#a9d5ff;}
html[data-theme="dark"] .student-language-toggle{border:1px solid #354b67;background:#17263c;color:#a9d5ff;}
html[data-theme="dark"] .student-language-toggle:hover{background:#17263c;border-color:#354b67;}
html[data-theme="dark"] .student-signout{border:1px solid #354b67;background:#17263c;color:#a9d5ff;}
html[data-theme="dark"] .student-signout:hover{background:#17263c;border-color:#354b67;}
html[data-theme="dark"] .unauthorized-card{background:rgba(23,38,60,0.96);border:1px solid #354b67;}
html[data-theme="dark"] .unauthorized-icon{background:#1b304a;color:#a9d5ff;}
html[data-theme="dark"] .unauthorized-eyebrow{color:#ff9ea6;}
html[data-theme="dark"] .unauthorized-card h1{color:#a9d5ff;}
html[data-theme="dark"] .unauthorized-copy{color:#9acbff;}
html[data-theme="dark"] .unauthorized-copy strong{color:#a9d5ff;}
html[data-theme="dark"] .unauthorized-help{border:1px solid #354b67;background:#17263c;}
html[data-theme="dark"] .unauthorized-help strong{color:#a9d5ff;}
html[data-theme="dark"] .unauthorized-help span{color:#9acbff;}
html[data-theme="dark"] .unauthorized-support{color:#9acbff;}
html[data-theme="dark"] .unauthorized-support:hover{color:#a9d5ff;}
html[data-theme="dark"] .google-auth-note{color:#9acbff;}
html[data-theme="dark"] .pwa-install-button{border:1px solid #354b67;background:#17263c;color:#a9d5ff;}
html[data-theme="dark"] .pwa-install-button:hover{background:#17263c;border-color:#354b67;}
html[data-theme="dark"] .student-install-app{border:1px solid #354b67;background:#17263c;color:#9acbff;}
html[data-theme="dark"] .student-install-app:hover{background:#17263c;color:#a9d5ff;}
html[data-theme="dark"] .pwa-install-card{border:1px solid #354b67;background:#17263c;}
html[data-theme="dark"] .pwa-install-card-icon{background:#1b304a;color:#a9d5ff;}
html[data-theme="dark"] .pwa-install-card h2{color:#a9d5ff;}
html[data-theme="dark"] .pwa-install-card p{color:#9acbff;}
html[data-theme="dark"] .pwa-install-steps{border:1px solid #354b67;background:#17263c;color:#9acbff;}
html[data-theme="dark"] .pwa-install-steps strong{color:#a9d5ff;}
html[data-theme="dark"] .pwa-install-actions .pwa-install-secondary{background:#17263c;color:#a9d5ff;}
html[data-theme="dark"] .student-completion-card{border:1px solid #354b67;background:linear-gradient(135deg,#17263c,#17263c);}
html[data-theme="dark"] .student-completion-copy small{color:#9acbff;}
html[data-theme="dark"] .student-completion-copy strong{color:#a9d5ff;}
html[data-theme="dark"] .student-completion-copy span{color:#9acbff;}
html[data-theme="dark"] .student-completion-card.renewal-active{background:linear-gradient(135deg,#17263c,#17263c 72%,#17263c);}
html[data-theme="dark"] .student-renewal-tab:before{background:#382633;}
html[data-theme="dark"] .student-renewal-intro{color:#ff9ea6 !important;}
html[data-theme="dark"] .student-hours-reconciliation{border:1px solid #354b67;background:#17263c;color:#9acbff;}
html[data-theme="dark"] .student-hours-reconciliation.warning{border-color:#354b67;background:#2a291e;color:#f0cb88;}
html[data-theme="dark"] .student-completion-card{background:#17263c;}
html[data-theme="dark"] .student-renewal-notice{color:#ff9ea6;}
html[data-theme="dark"] .student-renewal-notice-tab:before{background:#382633;}
html[data-theme="dark"] .tf-booking-setup{border:1px solid #354b67;background:#17263c;}
html[data-theme="dark"] .tf-booking-setup details summary{color:#9acbff;}
html[data-theme="dark"] .tf-booking-setup-title{color:#9acbff;}
html[data-theme="dark"] .tf-booking-setup-title .tf-booking-badge{color:#f0cb88;background:#2a291e;}
html[data-theme="dark"] .tf-booking-setup-copy{color:#9acbff;}
html[data-theme="dark"] .tf-booking-subcard{border:1px solid #354b67;background:#17263c;}
html[data-theme="dark"] .tf-booking-subhead{color:#9acbff;}
html[data-theme="dark"] .tf-booking-fields label{color:#9acbff;}
html[data-theme="dark"] .tf-booking-fields input, html[data-theme="dark"] .tf-booking-fields select{background:#17263c;color:#9acbff;border:1px solid #354b67;}
html[data-theme="dark"] .tf-booking-info-cell{background:#17263c;border:1px solid #354b67;}
html[data-theme="dark"] .tf-booking-info-cell strong{color:#9acbff;}
html[data-theme="dark"] .tf-booking-info-cell span{color:#9acbff;}
html[data-theme="dark"] .tf-booking-hint{color:#9acbff;}
html[data-theme="dark"] .tf-booking-msg{color:#9acbff;}
html[data-theme="dark"] .tf-booking-msg.is-error{color:#ff9ea6;}
html[data-theme="dark"] .tf-booking-msg.is-success{color:#69dbaf;}
html[data-theme="dark"] .tf-booking-slot-list{border-top:1px solid #354b67;}
html[data-theme="dark"] .tf-booking-slot{border:1px solid #354b67;background:#17263c;color:#9acbff;}
html[data-theme="dark"] .tf-booking-slot button{background:#382633;color:#f4a6d0;}
html[data-theme="dark"] .booking-bridge-control{background:linear-gradient(120deg,#17263c,#17263c);border:1px solid #354b67;}
html[data-theme="dark"] .booking-bridge-control .bridge-heading{color:#a9d5ff;}
html[data-theme="dark"] .booking-bridge-control .bridge-note{color:#9acbff;}
html[data-theme="dark"] .booking-bridge-control .bridge-state{background:#17263c;color:#9acbff;}
html[data-theme="dark"] .booking-bridge-control .bridge-state.is-ready{background:#18372f;color:#69dbaf;}
html[data-theme="dark"] .booking-bridge-control .bridge-state.is-error{background:#382633;color:#ff9ea6;}
html[data-theme="dark"] .admin-maintenance-control{background:linear-gradient(120deg,#17263c,#17263c);border:1px solid #354b67;}
html[data-theme="dark"] .admin-maintenance-heading{color:#a9d5ff;}
html[data-theme="dark"] .admin-maintenance-copy>span:last-child{color:#9acbff;}
html[data-theme="dark"] .admin-maintenance-state{background:#17263c;color:#9acbff;}
html[data-theme="dark"] .admin-maintenance-state.is-off{background:#17263c;color:#69dbaf;}
html[data-theme="dark"] .admin-maintenance-state.is-on{background:#382633;color:#ff9ea6;}
html[data-theme="dark"] .admin-maintenance-preview{color:#9acbff;}
html[data-theme="dark"] .student-class-hero{background:#17263c;}
html[data-theme="dark"] .student-program-chip{background:#17263c;border:1px solid #354b67;color:#9acbff;}
html[data-theme="dark"] .student-lesson-panel{border:1px solid #354b67;background:#17263c;}
html[data-theme="dark"] .student-next-class{background:#17263c;}
html[data-theme="dark"] .student-next-class-date{background:#1b304a;color:#9acbff;}
html[data-theme="dark"] .student-next-class-date span{color:#9acbff;}
html[data-theme="dark"] .student-next-class-copy small, html[data-theme="dark"] .student-completion-copy small{color:#9acbff;}
html[data-theme="dark"] .student-next-class-copy strong{color:#a9d5ff;}
html[data-theme="dark"] .student-next-class-copy span{color:#9acbff;}
html[data-theme="dark"] .student-completion-card, html[data-theme="dark"] .student-completion-card.renewal-active{border-left:1px solid #354b67;}
html[data-theme="dark"] .student-completion-copy strong{color:#a9d5ff;}
html[data-theme="dark"] .student-completion-copy span{color:#9acbff;}
html[data-theme="dark"] .student-renewal-notice{background:#17263c;border-top:1px solid #354b67;color:#ff9ea6;}
html[data-theme="dark"] .student-renewal-notice-tab{background:#382633;color:#ff9ea6;border:1px solid #354b67;}
html[data-theme="dark"] .student-renewal-inline-link{color:#ff9ea6;}
html[data-theme="dark"] .student-action-zone{border-top:1px solid #354b67;background:#17263c;}
html[data-theme="dark"] .student-class-status-item{background:#17263c;border:1px solid #354b67;}
html[data-theme="dark"] .student-class-status-item span{color:#9acbff;}
html[data-theme="dark"] .student-class-status-item.attention{background:#17263c;border-color:#354b67;}
html[data-theme="dark"] .student-class-secondary-grid{border-top:1px solid #354b67;border-bottom:1px solid #354b67;}
html[data-theme="dark"] .student-class-secondary-item:not(:first-child){border-left:1px solid #354b67;}
html[data-theme="dark"] .student-class-secondary-item strong{color:#9acbff;}
html[data-theme="dark"] .student-class-secondary-item span{color:#9acbff;}
html[data-theme="dark"] .student-hours-reconciliation{color:#9acbff;}
html[data-theme="dark"] .student-hours-reconciliation.warning{border:1px solid #354b67;background:#2a291e;color:#f0cb88;}
@media (max-width:1170px) and (min-width:981px){html[data-theme="dark"] .student-completion-card, html[data-theme="dark"] .student-completion-card.renewal-active{border-top:1px solid #354b67;}}
@media (max-width:690px){html[data-theme="dark"] .student-completion-card, html[data-theme="dark"] .student-completion-card.renewal-active{border-top:1px solid #354b67;}}
html[data-theme="dark"] .maintenance-staff-entry{border-top:1px solid #354b67;color:#9acbff;}
html[data-theme="dark"] .maintenance-staff-entry a{color:#9acbff;}
html[data-theme="dark"] .maintenance-staff-entry a:hover, html[data-theme="dark"] .maintenance-staff-entry a:focus-visible{color:#9acbff;}
html[data-theme="dark"] .student-class-status-item{background:#17263c;border:1px solid #354b67;}
html[data-theme="dark"] .student-class-status-item strong{color:#a9d5ff;}
html[data-theme="dark"] .student-class-status-item span{color:#9acbff;}
html[data-theme="dark"] .student-class-status-item.attention{background:#17263c;border-color:#354b67;}
html[data-theme="dark"] .student-class-status-item.missed{background:#17263c;border-color:#354b67;}
html[data-theme="dark"] .student-hours-reconciliation{border:1px solid #354b67;background:#17263c;color:#9acbff;}
html[data-theme="dark"] .student-homework-feedback-link{border:1px solid #354b67;background:#17263c;color:#a9d5ff;}
html[data-theme="dark"] .student-homework-feedback-link:hover{background:#1b304a;border-color:#354b67;}
html[data-theme="dark"] .sync-reconciliation{background:#17263c;color:#9acbff;border:1px solid #354b67;}
html[data-theme="dark"] .sync-reconciliation-warning{background:#2a291e;color:#f0cb88;border-color:#354b67;}
html[data-theme="dark"] .student-class-overview.is-plan-complete .student-lesson-panel{border-color:#354b67;}
html[data-theme="dark"] .student-class-overview.is-plan-complete .student-next-class-date.is-complete{background:#18372f;color:#69dbaf;}
html[data-theme="dark"] .student-class-overview.is-plan-complete .student-completion-card.completed-state{border-color:#354b67;}
html[data-theme="dark"] .student-class-overview.is-plan-complete .student-completion-copy strong{color:#69dbaf;}
html[data-theme="dark"] .student-renewal-notice.is-completed{background:#17263c;color:#69dbaf;}
html[data-theme="dark"] .student-renewal-notice.is-completed .student-renewal-notice-tab{background:#18372f;border-color:#354b67;color:#69dbaf;}
html[data-theme="dark"] .student-class-overview.is-plan-complete .student-class-progress-value{color:#69dbaf;}
html[data-theme="dark"] .student-class-overview.is-plan-ending .student-renewal-notice{background:linear-gradient(110deg,#17263c 0%,#17263c 58%,#17263c 100%);color:#ff9ea6;}
html[data-theme="dark"] .student-class-overview.is-plan-ending .student-renewal-notice-tab:before{background:#382633;}
html[data-theme="dark"] .tf-maintenance-hero-tag{border:1px solid #354b67;background:#17263c;color:#9acbff;}
html[data-theme="dark"] .tf-maintenance-overview>div{background:#17263c;border:1px solid #354b67;}
html[data-theme="dark"] .tf-maintenance-mini-icon{background:#17263c;color:#9acbff;}
html[data-theme="dark"] .tf-maintenance-overview strong{color:#9acbff;}
html[data-theme="dark"] .tf-maintenance-overview small{color:#9acbff;}
html[data-theme="dark"] .tf-maintenance-group{background:#17263c;border:1px solid #354b67;}
html[data-theme="dark"] .tf-maintenance-section-kicker{color:#ff9ea6;}
html[data-theme="dark"] .tf-maintenance-group-heading h3{color:#9acbff;}
html[data-theme="dark"] .tf-maintenance-group-heading p{color:#9acbff;}
html[data-theme="dark"] .tf-maintenance-restricted{color:#f0cb88;background:#2a291e;}
html[data-theme="dark"] .tf-maintenance-group .tf-booking-subcard{background:#17263c;}
html[data-theme="dark"] .tf-booking-preview-class-control{color:#9acbff;}
html[data-theme="dark"] .tf-booking-preview-class-control select{border:1px solid #354b67;background:#17263c;color:#9acbff;}
html[data-theme="dark"] .tf-booking-preview{background:#17263c;border:1px solid #354b67;}
html[data-theme="dark"] .tf-booking-preview-kicker{color:#ff9ea6;}
html[data-theme="dark"] .tf-booking-preview-top h4{color:#9acbff;}
html[data-theme="dark"] .tf-booking-preview-top p{color:#9acbff;}
html[data-theme="dark"] .tf-booking-preview-chip{border:1px solid #354b67;background:#17263c;color:#9acbff;}
html[data-theme="dark"] .tf-booking-preview-steps{color:#9acbff;}
html[data-theme="dark"] .tf-booking-preview-steps b{background:#17263c;}
html[data-theme="dark"] .tf-booking-preview-steps .is-current{color:#9acbff;}
html[data-theme="dark"] .tf-booking-preview-steps .is-current b{background:#1b304a;color:#9acbff;}
html[data-theme="dark"] .tf-booking-preview-steps i{background:#1b304a;}
html[data-theme="dark"] .tf-booking-preview-columns{border-top:1px solid #354b67;border-bottom:1px solid #354b67;}
html[data-theme="dark"] .tf-booking-preview-times{border-left:1px solid #354b67;background:#17263c;}
html[data-theme="dark"] .tf-booking-preview-columnhead small{color:#9acbff;}
html[data-theme="dark"] .tf-booking-preview-columnhead strong{color:#9acbff;}
html[data-theme="dark"] .tf-booking-preview-monthbar button{background:#17263c;border:1px solid #354b67;color:#9acbff;}
html[data-theme="dark"] .tf-booking-preview-weekdays span{color:#9acbff;}
html[data-theme="dark"] .tf-booking-preview-days button{color:#9acbff;}
html[data-theme="dark"] .tf-booking-preview-days button.is-available{color:#9acbff;background:#17263c;border-color:#354b67;}
html[data-theme="dark"] .tf-booking-preview-days button.is-available:hover{border-color:#354b67;background:#1b304a;}
html[data-theme="dark"] .tf-booking-preview-key{color:#9acbff;}
html[data-theme="dark"] .tf-booking-preview-key i{background:#1b304a;}
html[data-theme="dark"] .tf-booking-preview-timegrid button{background:#17263c;border:1px solid #354b67;color:#9acbff;}
html[data-theme="dark"] .tf-booking-preview-timegrid button:hover:not(.is-selected){border-color:#354b67;}
html[data-theme="dark"] .tf-booking-preview-empty{background:#17263c;border:1px dashed #354b67;color:#9acbff;}
html[data-theme="dark"] .tf-booking-preview-footer small{color:#9acbff;}
html[data-theme="dark"] .tf-booking-preview-footer strong{color:#9acbff;}
html[data-theme="dark"] .tf-booking-preview-footer span{color:#9acbff;}
@media (max-width:960px){html[data-theme="dark"] .tf-booking-preview-times{border-top:1px solid #354b67;}}
html[data-theme="dark"] .tf-v75-suite{border:1px solid #354b67;background:linear-gradient(155deg,#17263c,#17263c);}
html[data-theme="dark"] .tf-v75-heading h4{color:#9acbff;}
html[data-theme="dark"] .tf-v75-heading p{color:#9acbff;}
html[data-theme="dark"] .tf-v75-actions button:last-child{color:#9acbff;border:1px solid #354b67;}
html[data-theme="dark"] .tf-v75-results{border:1px dashed #354b67;background:#17263c;color:#9acbff;}
html[data-theme="dark"] .tf-v75-results.is-success{border:1px solid #354b67;background:#17263c;color:#69dbaf;}
html[data-theme="dark"] .tf-v75-results.is-error{border:1px solid #354b67;background:#17263c;color:#ff9ea6;}
html[data-theme="dark"] .tf-v75-results.is-busy{border-color:#354b67;color:#9acbff;background:#17263c;}
html[data-theme="dark"] .tf-v75-kept{background:#2a291e;border:1px solid #354b67;}
html[data-theme="dark"] .tf-v75-kept strong{color:#f0cb88;}
html[data-theme="dark"] .tf-v75-kept span{color:#f0cb88;}
html[data-theme="dark"] .tf-v78-contract-grid label{color:#9acbff;}
html[data-theme="dark"] .tf-v78-contract-grid input{border:1px solid #354b67;color:#9acbff;background:#17263c;}
html[data-theme="dark"] .tf-v78-stats>div{border:1px solid #354b67;background:#17263c;}
html[data-theme="dark"] .tf-v78-stats strong{color:#9acbff;}
html[data-theme="dark"] .tf-v78-stats span{color:#9acbff;}
html[data-theme="dark"] .tf-v78-help{color:#9acbff;}
html[data-theme="dark"] .tf-v78-review{color:#9acbff;background:#17263c;border:1px solid #354b67;}
html[data-theme="dark"] .tf-v78-actions .tf-v78-state{color:#f0cb88;background:#2a291e;}
html[data-theme="dark"] .tf-v78-actions .tf-v78-state.ready{color:#69dbaf;background:#18372f;}
html[data-theme="dark"] .tf-v78-message{color:#69dbaf;}
html[data-theme="dark"] .tf-v78-message.is-error{color:#ff9ea6;}
html[data-theme="dark"] .tf-sc-shell{background:#17263c;border:1px solid #354b67;color:#9acbff;}
html[data-theme="dark"] .tf-sc-heading{border-bottom:1px solid #354b67;background:linear-gradient(122deg,#17263c,#17263c);}
html[data-theme="dark"] .tf-sc-back{color:#9acbff;}
html[data-theme="dark"] .tf-sc-kicker{color:#ff9ea6;}
html[data-theme="dark"] .tf-sc-heading h2{color:#9acbff;}
html[data-theme="dark"] .tf-sc-heading p{color:#9acbff;}
html[data-theme="dark"] .tf-sc-timezone{border:1px solid #354b67;}
html[data-theme="dark"] .tf-sc-class-label{border-bottom:1px solid #354b67;color:#9acbff;}
html[data-theme="dark"] .tf-sc-class-label select, html[data-theme="dark"] .tf-sc-label select{border:1px solid #354b67;background:#17263c;color:#9acbff;}
html[data-theme="dark"] .tf-sc-stats>div{border:1px solid #354b67;background:#17263c;}
html[data-theme="dark"] .tf-sc-stats strong{color:#9acbff;}
html[data-theme="dark"] .tf-sc-stats span{color:#9acbff;}
html[data-theme="dark"] .tf-sc-layout{border-top:1px solid #354b67;}
html[data-theme="dark"] .tf-sc-monthbar strong{color:#9acbff;}
html[data-theme="dark"] .tf-sc-monthbar button{border:1px solid #354b67;background:#17263c;color:#9acbff;}
html[data-theme="dark"] .tf-sc-weekdays span{color:#9acbff;}
html[data-theme="dark"] .tf-sc-day{border:1px solid #354b67;}
html[data-theme="dark"] .tf-sc-day.picked{border-color:#354b67;background:#17263c;}
html[data-theme="dark"] .tf-sc-day.today .tf-sc-day-number{color:#ff9ea6;}
html[data-theme="dark"] .tf-sc-day-number{color:#9acbff;}
html[data-theme="dark"] .tf-sc-event{color:#9acbff;background:#1b304a;}
html[data-theme="dark"] .tf-sc-event.tbr{background:#2a291e;color:#f0cb88;}
html[data-theme="dark"] .tf-sc-event.rsd{background:#17263c;color:#9acbff;}
html[data-theme="dark"] .tf-sc-key{color:#9acbff;}
html[data-theme="dark"] .tf-sc-key i{background:#233b58;}
html[data-theme="dark"] .tf-sc-key .tf-sc-key-tbr{background:#35301f;}
html[data-theme="dark"] .tf-sc-key .tf-sc-key-rsd{background:#233b58;}
html[data-theme="dark"] .tf-sc-aside{background:#17263c;border-left:1px solid #354b67;}
html[data-theme="dark"] .tf-sc-aside>h3, html[data-theme="dark"] .tf-sc-book h3{color:#9acbff;}
html[data-theme="dark"] .tf-sc-detail{background:#17263c;border:1px solid #354b67;}
html[data-theme="dark"] .tf-sc-detail-head span{color:#9acbff;}
html[data-theme="dark"] .tf-sc-detail>p{color:#9acbff;}
html[data-theme="dark"] .tf-sc-note{color:#9acbff;}
html[data-theme="dark"] .tf-sc-lock, html[data-theme="dark"] .tf-sc-no-credit{background:#17263c;color:#9acbff;}
html[data-theme="dark"] .tf-sc-book{border-top:1px solid #354b67;}
html[data-theme="dark"] .tf-sc-label{color:#9acbff;}
html[data-theme="dark"] .tf-sc-times button{border:1px solid #354b67;background:#17263c;color:#9acbff;}
html[data-theme="dark"] .tf-sc-small{color:#9acbff;}
html[data-theme="dark"] .tf-sc-action.secondary{background:#1b304a;color:#9acbff;}
html[data-theme="dark"] .tf-sc-action.danger{background:#17263c;color:#ff9ea6;}
html[data-theme="dark"] .tf-sc-alert{border:1px solid #354b67;background:#17263c;color:#9acbff;}
html[data-theme="dark"] .tf-sc-alert.success{background:#17263c;border-color:#354b67;color:#69dbaf;}
html[data-theme="dark"] .tf-sc-alert.error{background:#17263c;border-color:#354b67;color:#ff9ea6;}
@media (max-width:1060px){html[data-theme="dark"] .tf-sc-aside{border-top:1px solid #354b67;}}
html[data-theme="dark"] .tf-sc-preview-note{background:#1b304a;border-bottom:1px solid #354b67;color:#9acbff;}
html[data-theme="dark"] .tf-sc-credit-note{border-top:1px solid #354b67;border-bottom:1px solid #354b67;background:#2a291e;color:#f0cb88;}
html[data-theme="dark"] .tf-sc-preview-booking-note{border:1px solid #354b67;background:#1b304a;color:#9acbff;}
html[data-theme="dark"] .tf-v89-maintenance-card{border:1px solid #354b67;background:#17263c;}
html[data-theme="dark"] .tf-v89-maintenance-card>strong{color:#9acbff;}
html[data-theme="dark"] .tf-v89-maintenance-card p, html[data-theme="dark"] .tf-v89-maintenance-card small{color:#9acbff;}
html[data-theme="dark"] .tf-v89-maintenance-card label{color:#9acbff;}
html[data-theme="dark"] .tf-v89-maintenance-card input, html[data-theme="dark"] .tf-v89-maintenance-card select{border:1px solid #354b67;background:#17263c;color:#9acbff;}
html[data-theme="dark"] .tf-v89-maintenance-card button.tf-v89-reset-danger:disabled{background:#233b58;}
html[data-theme="dark"] .tf-v89-maintenance-card a{color:#9acbff;}
html[data-theme="dark"] .tf-sc-event.void{background:#17263c;color:#9acbff;}
html[data-theme="dark"] .tf-sc-event.xld{background:#17263c;color:#b6c7da;}
html[data-theme="dark"] .tf-sc-action[data-tf-sc-forfeit]{background:#17263c;color:#ff9ea6;border:1px solid #354b67;}
html[data-theme="dark"] .tf-sc-action[data-tf-sc-forfeit]:hover:not(:disabled){background:#17263c;}
html[data-theme="dark"] .tf-sc-shell{border:1px solid #354b67;background:#17263c;}
html[data-theme="dark"] .tf-sc-heading{border-bottom:1px solid #354b67;background:linear-gradient(115deg,#17263c 65%,#17263c);}
html[data-theme="dark"] .tf-sc-back{color:#9acbff;}
html[data-theme="dark"] .tf-sc-timezone{background:#17263c;border-color:#354b67;color:#9acbff;}
html[data-theme="dark"] .tf-sc-overview{background:#17263c;}
html[data-theme="dark"] .tf-sc-stats>div{border:1px solid #354b67;background:#17263c;}
html[data-theme="dark"] .tf-sc-stats>div.tf-sc-stat-tbr{background:#17263c;border-color:#354b67;}
html[data-theme="dark"] .tf-sc-stats>div.tf-sc-stat-reg{background:#17263c;border-color:#354b67;}
html[data-theme="dark"] .tf-sc-stats strong{color:#9acbff;}
html[data-theme="dark"] .tf-sc-stats span{color:#9acbff;}
html[data-theme="dark"] .tf-sc-stats small{color:#9acbff;}
html[data-theme="dark"] .tf-sc-policyline{color:#9acbff;}
html[data-theme="dark"] .tf-sc-policyline strong{color:#9acbff;}
html[data-theme="dark"] .tf-sc-layout{border-top:1px solid #354b67;}
html[data-theme="dark"] .tf-sc-monthbar strong{color:#9acbff;}
html[data-theme="dark"] .tf-sc-monthbar button{border:1px solid #354b67;}
html[data-theme="dark"] .tf-sc-monthbar button:hover{border-color:#354b67;background:#17263c;}
html[data-theme="dark"] .tf-sc-weekdays span{color:#9acbff;}
html[data-theme="dark"] .tf-sc-day{border:1px solid #354b67;background:#17263c;}
html[data-theme="dark"] .tf-sc-day.bookable{border-color:#354b67;background:#17263c;}
html[data-theme="dark"] .tf-sc-day.bookable:hover{border-color:#354b67;background:#17263c;}
html[data-theme="dark"] .tf-sc-day.occupied{background:#17263c;border-color:#354b67;}
html[data-theme="dark"] .tf-sc-day.occupied .tf-sc-day-number{color:#9acbff;}
html[data-theme="dark"] .tf-sc-day.picked{background:#17263c;}
html[data-theme="dark"] .tf-sc-day-number{color:#9acbff;}
html[data-theme="dark"] .tf-sc-day.today .tf-sc-day-number{color:#ff9ea6;}
html[data-theme="dark"] .tf-sc-event.tbr{background:#2a291e;color:#f0cb88;}
html[data-theme="dark"] .tf-sc-event.rsd{background:#17263c;color:#9acbff;}
html[data-theme="dark"] .tf-sc-day-state{color:#69dbaf;}
html[data-theme="dark"] .tf-sc-day.occupied .tf-sc-day-state{color:#9acbff;}
html[data-theme="dark"] .tf-sc-day.picked .tf-sc-day-state{color:#ff9ea6;}
html[data-theme="dark"] .tf-sc-aside{background:#17263c;border-left:1px solid #354b67;}
html[data-theme="dark"] .tf-sc-detail{border-color:#354b67;}
html[data-theme="dark"] .tf-sc-book{border-top:1px solid #354b67;}
html[data-theme="dark"] .tf-sc-label{color:#9acbff;}
html[data-theme="dark"] .tf-sc-label select{background:#17263c;border-color:#354b67;}
html[data-theme="dark"] .tf-sc-times button:hover{border-color:#354b67;background:#17263c;}
html[data-theme="dark"] .tf-sc-stepguide{color:#9acbff;}
html[data-theme="dark"] .tf-sc-stepguide b{border:1px solid #354b67;color:#9acbff;background:#17263c;}
html[data-theme="dark"] .tf-sc-selected-summary{border:1px solid #354b67;background:#17263c;}
html[data-theme="dark"] .tf-sc-selected-summary small{color:#9acbff;}
html[data-theme="dark"] .tf-sc-selected-summary strong{color:#9acbff;}
html[data-theme="dark"] .tf-sc-selected-summary span{color:#9acbff;}
html[data-theme="dark"] .tf-sc-refresh{color:#9acbff;}
html[data-theme="dark"] .tf-sc-credit-note{border-top:1px solid #354b67;border-bottom:1px solid #354b67;background:#17263c;}
@media (max-width:1080px){html[data-theme="dark"] .tf-sc-aside{border-top:1px solid #354b67;}}
html[data-theme="dark"] .tf-v95-calendar-pending{color:#9acbff;background:#17263c;border:1px solid #354b67;}
html[data-theme="dark"] .tf-v95-calendar-pending p{color:#9acbff;}
html[data-theme="dark"] .tf-v95-calendar-loader{border:3px solid #354b67;}
html[data-theme="dark"] .tf-v104-topbar{border:1px solid #354b67;background:#17263c;}
html[data-theme="dark"] .tf-v104-topbar strong{color:#9acbff;}
html[data-theme="dark"] .tf-v104-topbar small{color:#9acbff;}
html[data-theme="dark"] .tf-v104-btn{border:1px solid #354b67;color:#9acbff;background:#17263c;}
html[data-theme="dark"] .tf-v104-btn:hover{border-color:#354b67;background:#1b304a;}
html[data-theme="dark"] .tf-v104-nav{background:rgba(23,38,60,0.96);border:1px solid #354b67;}
html[data-theme="dark"] .tf-v104-nav a{color:#9acbff;}
html[data-theme="dark"] .tf-v104-nav a:hover{background:#1b304a;color:#9acbff;}
html[data-theme="dark"] .tf-v104-class-search input{border:1px solid #354b67;color:#9acbff;background:#17263c;}
html[data-theme="dark"] .tf-v104-class-status{background:#17263c;border:1px solid #354b67;}
html[data-theme="dark"] .tf-v104-class-title b{color:#9acbff;}
html[data-theme="dark"] .tf-v104-class-title small{color:#9acbff;}
html[data-theme="dark"] .tf-v104-health-grid>div{border:1px solid #354b67;background:#17263c;}
html[data-theme="dark"] .tf-v104-health-grid span{color:#9acbff;}
html[data-theme="dark"] .tf-v104-health-grid strong{color:#9acbff;}
html[data-theme="dark"] .tf-v104-pending{color:#f0cb88 !important;}
html[data-theme="dark"] .tf-v104-positive{color:#69dbaf !important;}
html[data-theme="dark"] .tf-v104-warning{color:#ff9ea6 !important;}
html[data-theme="dark"] .tf-v104-ready-note{color:#9acbff;}
html[data-theme="dark"] .tf-v104-change-hint{color:#9acbff;}
html[data-theme="dark"] .tf-v104-change-hint.is-dirty{color:#f0cb88;}
html[data-theme="dark"] .tf-v104-operational-note{color:#9acbff;background:#17263c;border:1px solid #354b67;}
html[data-theme="dark"] .tf-v104-disclosure{border:1px solid #354b67;background:#17263c;}
html[data-theme="dark"] .tf-v104-disclosure summary{color:#9acbff;}
html[data-theme="dark"] .tf-v104-disclosure summary:after{color:#9acbff;}
html[data-theme="dark"] .tf-v104-disclosure[open] summary{border-bottom:1px solid #354b67;background:#17263c;}
html[data-theme="dark"] .tf-v104-safety{border-left:3px solid #354b67;background:#17263c;color:#f0cb88;}
html[data-theme="dark"] .tf-v104-copy-result{color:#9acbff;}
html[data-theme="dark"] .tf-v104-diagnostic-status{color:#9acbff;}
html[data-theme="dark"] .tf-v104-preview-brief{border:1px solid #354b67;background:#17263c;color:#9acbff;}
html[data-theme="dark"] #schedulePage .calendar-more.tf-v106-more{border:1px dashed #354b67;background:#17263c;color:#9acbff;}
html[data-theme="dark"] #schedulePage .calendar-more.tf-v106-more:hover{background:#1b304a;}
html[data-theme="dark"] #schedulePage .calendar-week-day{background:repeating-linear-gradient(to bottom,#17263c 0,#17263c 33px,#17263c 34px);}
html[data-theme="dark"] .tf-v105-unverified{border:1px solid #354b67;background:#2a291e;color:#f0cb88;}
html[data-theme="dark"] .tf-ld-top h3{color:#9acbff;}
html[data-theme="dark"] .tf-ld-subtitle{color:#9acbff;}
html[data-theme="dark"] .tf-ld-controls label{color:#9acbff;}
html[data-theme="dark"] .tf-ld-controls select{border:1px solid #354b67;background:#17263c;color:#9acbff;}
html[data-theme="dark"] .tf-ld-legend label{background:#17263c;border:1px solid #354b67;color:#9acbff;}
html[data-theme="dark"] .tf-ld-stat{background:#17263c;border:1px solid #354b67;}
html[data-theme="dark"] .tf-ld-stat-name{color:#9acbff;}
html[data-theme="dark"] .tf-ld-stat-score{color:#9acbff;}
html[data-theme="dark"] .tf-ld-stat-change{color:#9acbff;}
html[data-theme="dark"] .tf-ld-chart-wrap{border:1px solid #354b67;background:#17263c;}
html[data-theme="dark"] .tf-ld-chart-note{background:#17263c;border-top:1px solid #354b67;color:#9acbff;}
html[data-theme="dark"] .tf-ld-table-title h4{color:#9acbff;}
html[data-theme="dark"] .tf-ld-table-wrap{border:1px solid #354b67;}
html[data-theme="dark"] .tf-ld-table th, html[data-theme="dark"] .tf-ld-table td{border-bottom:1px solid #354b67;}
html[data-theme="dark"] .tf-ld-table th{background:#17263c;color:#9acbff;}
html[data-theme="dark"] .tf-ld-table tbody tr:nth-child(even){background:#17263c;}
html[data-theme="dark"] .tf-ld-status{background:#2a291e;color:#f0cb88;}
html[data-theme="dark"] .tf-ld-empty{color:#9acbff;background:#17263c;border:1px dashed #354b67;}
html[data-theme="dark"] .tf-ld-view-label{color:#9acbff;}
html[data-theme="dark"] .tf-ld-view{background:#17263c;color:#9acbff;border:1px solid #354b67;}
html[data-theme="dark"] .tf-ld-view:hover{border-color:#354b67;background:#1b304a;}
html[data-theme="dark"] .tf-ld-view:focus-visible{outline:3px solid #354b67;}
html[data-theme="dark"] .tf-ld-range-summary{color:#9acbff;background:#17263c;border:1px solid #354b67;}
html[data-theme="dark"] .tf-ld-range-summary strong{color:#9acbff;}
html[data-theme="dark"] .tf-ld-stat[aria-current="true"]{border-color:#354b67;}
html[data-theme="dark"] .tf-ld-stat-average{color:#9acbff;}
html[data-theme="dark"] .tf-ld-chart-key{color:#9acbff;}
html[data-theme="dark"] .tf-ld-chart-mode-caption{color:#9acbff;}
html[data-theme="dark"] .tf-ld-viz-radar{border:1px solid #354b67;background:#17263c;}
html[data-theme="dark"] .tf-ld-radar-head h4{color:#9acbff;}
html[data-theme="dark"] .tf-ld-radar-head p{color:#9acbff;}
html[data-theme="dark"] .tf-ld-radar-toggle{background:#17263c;}
html[data-theme="dark"] .tf-ld-radar-toggle button{color:#9acbff;}
html[data-theme="dark"] .tf-ld-radar-toggle button[aria-pressed="true"]{background:#17263c;color:#9acbff;}
html[data-theme="dark"] .tf-ld-radar-toggle button:focus-visible{outline:3px solid #354b67;}
html[data-theme="dark"] .tf-ld-radar-legend{border-top:1px solid #354b67;}
html[data-theme="dark"] .tf-ld-radar-legend-item{color:#9acbff;}
html[data-theme="dark"] .tf-ld-radar-legend-item strong{color:#9acbff;}
html[data-theme="dark"] .tf-ld-radar-caption{color:#9acbff;}
html[data-theme="dark"] .tf-v73-booking{border:1px solid #354b67;background:#17263c;color:#9acbff;}
html[data-theme="dark"] .tf-v73-kicker{color:#ff9ea6;}
html[data-theme="dark"] .tf-v73-head p{color:#9acbff;}
html[data-theme="dark"] .tf-v73-credit{background:#1b304a;color:#9acbff;}
html[data-theme="dark"] .tf-v73-credit strong{color:#9acbff;}
html[data-theme="dark"] .tf-v73-field{color:#9acbff;}
html[data-theme="dark"] .tf-v73-field select{border:1px solid #354b67;background:#17263c;color:#9acbff;}
html[data-theme="dark"] .tf-v73-steps{border-bottom:1px solid #354b67;color:#9acbff;}
html[data-theme="dark"] .tf-v73-steps b{background:#17263c;color:#9acbff;}
html[data-theme="dark"] .tf-v73-grid>div+div{background:#17263c;border-left:1px solid #354b67;}
html[data-theme="dark"] .tf-v73-dates button, html[data-theme="dark"] .tf-v73-times button{background:#17263c;color:#9acbff;border:1px solid #354b67;}
html[data-theme="dark"] .tf-v73-times button{background:#17263c;}
html[data-theme="dark"] .tf-v73-times span{color:#9acbff;}
html[data-theme="dark"] .tf-v73-footer{background:#17263c;border-top:1px solid #354b67;}
html[data-theme="dark"] .tf-v73-footer small{color:#9acbff;}
html[data-theme="dark"] .tf-v73-footer span{color:#9acbff;}
html[data-theme="dark"] .tf-v73-feedback.error{color:#ff9ea6;background:#17263c;}
html[data-theme="dark"] .tf-v73-feedback.success{color:#69dbaf;background:#17263c;}
html[data-theme="dark"] .tf-v73-loading{color:#9acbff;}
html[data-theme="dark"] .tf-v73-admin-controls{border-top:1px solid #354b67;}
html[data-theme="dark"] .tf-v73-admin-controls select, html[data-theme="dark"] .tf-v73-admin-controls input{border:1px solid #354b67;background:#17263c;color:#9acbff;}
html[data-theme="dark"] .tf-v73-admin-controls small{color:#9acbff;}
@media (max-width:800px){html[data-theme="dark"] .tf-v73-grid>div+div{border-top:1px solid #354b67;}}
html[data-theme="dark"] .tf-v74-test-feedback{border:1px solid #354b67;background:#17263c;color:#9acbff;}
html[data-theme="dark"] .tf-v74-test-feedback.is-busy{border-color:#354b67;background:#1b304a;color:#9acbff;}
html[data-theme="dark"] .tf-v74-test-feedback.is-success{border-color:#354b67;background:#17263c;color:#69dbaf;}
html[data-theme="dark"] .tf-v74-test-feedback.is-error{border-color:#354b67;background:#17263c;color:#ff9ea6;}

:root[data-theme="dark"]{
  color-scheme:dark;
  --ink:#e9f2ff;--muted:#a8bbd1;--line:#344861;--panel:#15253c;
  --shadow:0 10px 34px rgba(0,0,0,.22);
  --red-soft:#392632;--blue-soft:#1b314b;--cyan-soft:#18362f;
  --violet-soft:#302a46;--amber-soft:#34301f;--green-soft:#193a31;
  color:#eaf2fc;background:#101b2d;
}
html[data-theme="dark"],html[data-theme="dark"] body{color:#eaf2fc;background-color:#101b2d}
html[data-theme="dark"] body{background:#101b2d url("assets/pattern-dark.svg") center top/920px 600px repeat fixed}
html[data-theme="dark"] #appView{color:var(--ink)}
html[data-theme="dark"] .topbar{background:rgba(18,32,52,.96);border-color:var(--line)}
html[data-theme="dark"] .sidebar{background:linear-gradient(180deg,#081b31,#0b2742 55%,#081b31)}
html[data-theme="dark"] .student-brand-bar{background:#13263e!important;border-color:#344861}
html[data-theme="dark"] :is(input,select,textarea){color-scheme:dark}
html[data-theme="dark"] :is(input,select,textarea):not([type="checkbox"]):not([type="radio"]){color:#e9f2ff;background-color:#1d314c;border-color:#405776}
html[data-theme="dark"] :is(input,textarea)::placeholder{color:#a5b5c9;opacity:1}
html[data-theme="dark"] :is(input,select,textarea):focus-visible{outline:2px solid #7ac0ff;outline-offset:2px}
html[data-theme="dark"] a:not(.nav-button){color:#a5d0ff}
html[data-theme="dark"] .tf-theme-toggle{background:#233854;color:#edf6ff;border-color:#3c5674}
html[data-theme="dark"] .tf-theme-toggle:hover{background:#304969}
html[data-theme="dark"] .tf-trace-letter{background:#25476d;color:#b9e0ff}
html[data-theme="dark"] .login-access,html[data-theme="dark"] .login-access-badge{background:#14253c;color:#e9f2ff}
html[data-theme="dark"] .login-access h2{color:#eef6ff}
html[data-theme="dark"] .login-legal{border-color:#344861}
html[data-theme="dark"] .login-logo-plate,html[data-theme="dark"] .unauthorized-brand{background:white!important}
html[data-theme="dark"] .login-logo-plate img,html[data-theme="dark"] .unauthorized-brand img{background:white}
html[data-theme="dark"] .login{background:linear-gradient(135deg,#061224,#102c4e),url("assets/pattern-dark.svg") center/920px 600px repeat}
html[data-theme="dark"] :is(.maintenance-card,.connection-failure-card,.unauthorized-card){background:#14253c;border-color:#39516e}
html[data-theme="dark"] .tf-ld-viz-radar,html[data-theme="dark"] .tf-ld-chart-wrap{background:#172a43;border-color:#354e6c}
html[data-theme="dark"] .tf-ld-radar-toggle{background:#243c58}
html[data-theme="dark"] .tf-ld-radar-toggle button[aria-pressed="true"]{background:#355474;color:#fff}
html[data-theme="dark"] .tf-ld-radar-svg text{fill:#dcecff}
html[data-theme="dark"] .tf-ld-radar-svg polygon:not([data-tf-ld-radar-shape]),html[data-theme="dark"] .tf-ld-radar-svg line{stroke:#435c79}
html[data-theme="dark"] .tf-ld-chart-scroll svg :is(text){fill:#c9daf0}
html[data-theme="dark"] .tf-ld-chart-scroll svg :is(line){stroke:#3d5875}
html[data-theme="dark"] .student-chart :is(text){fill:#ccdef2}
html[data-theme="dark"] .student-chart :is(.grid-line){stroke:#3c526e}
html[data-theme="dark"] svg{color:inherit}
html[data-theme="dark"] ::selection{background:#305b83;color:white}
@media(prefers-reduced-motion:reduce){html[data-theme="dark"] *{scroll-behavior:auto!important}}


html[data-theme="dark"] :is(.tf-admin-home-logo,.tf-student-home-logo){background:#fff;border-radius:12px;padding:4px 9px}
html[data-theme="dark"] .tf-student-home-logo .student-logo-mark{border-radius:50%}
html[data-theme="dark"] .tf-student-home-logo .student-logo-wide{background:#fff}
html[data-theme="dark"] :is(.tf-ld-radar-legend-item strong,.tf-ld-radar-head h4,.tf-ld-stat-score){color:#ecf5ff}
html[data-theme="dark"] .tf-ld-radar-svg [data-tf-ld-radar-shape]{stroke:#8ec9ff;fill:#3878bb;fill-opacity:.22}
html[data-theme="dark"] .tf-ld-radar-svg [fill="#fff"]{fill:#fff}
html[data-theme="dark"] :is(.tf-ld-view,.tf-ld-refresh,.tf-ld-radar-toggle button){border-color:#3b5472}
html[data-theme="dark"] :is(.tf-ld-stat,.student-skill,.student-panel,.student-chart-wrap,.panel,.card,.calendar-day){box-shadow:0 4px 18px rgba(0,0,0,.12)}
html[data-theme="dark"] :is(.tf-ld-chart-wrap,.tf-ld-viz-radar){background:#172a43}
html[data-theme="dark"] .student-skills .progress-track{background:#314865}
html[data-theme="dark"] .tf-theme-toggle{background:#233854;color:#edf6ff;border-color:#3c5674}

/* Contrast refinements verified against the admin and student shells */
html[data-theme="dark"] .tf-theme-toggle,
html[data-theme="dark"] .login button.tf-theme-toggle,
html[data-theme="dark"] .topbar button.tf-theme-toggle,
html[data-theme="dark"] .student-brand-controls>button.tf-theme-toggle{
  background:#263e5a!important;color:#eaf4ff!important;border:1px solid #4b6887!important;
  box-shadow:none!important;
}
html[data-theme="dark"] .tf-theme-toggle:hover{background:#355475!important}
html[data-theme="dark"] .donut::after{background:#182b44!important;box-shadow:0 0 0 1px #3b5671}
html[data-theme="dark"] .donut-center :is(strong,small){color:#e6f0ff}
html[data-theme="dark"] .donut{background:#29415c}
html[data-theme="dark"] :is(.icon-button,.panel-heading) svg{stroke:#99caff}
html[data-theme="dark"] :is(.student-status-icon,.tf-ld-stat-name,.tf-ld-stat-change){color:#b1cae2}
html[data-theme="dark"] :is(.notification-empty,.student-chart-empty,.empty){color:#b5c9df}
