/* Menestys — shared typographic grid and spacing rhythm. */
:root{--ui-space-1:4px;--ui-space-2:8px;--ui-space-3:12px;--ui-space-4:16px;--ui-space-6:24px;--ui-space-8:32px;--ui-ink:#231f20;--ui-muted:#6b7772;--ui-border:#dce5e0;--ui-radius:8px}
body{font-size:16px;line-height:1.55;text-rendering:optimizeLegibility}
h1,h2,h3,p,dl{overflow-wrap:break-word}h1,h2,h3{font-family:Manrope,'DM Sans',sans-serif;font-weight:650}
button,input,select,textarea{font-family:inherit}input,select,textarea{max-width:100%}button,a{transition:background-color .16s,color .16s,border-color .16s}
.eyebrow,.insight-eyebrow{font-size:12px;line-height:1.4;font-weight:600}.bu-tag,.access-label,.status-filter{letter-spacing:0!important}
.button{border-radius:var(--ui-radius);font-size:14px;line-height:1.4;font-weight:600}.button:not(.side-next):not(.nav-icon){min-height:44px}
:where(button,a,input,select,textarea):focus-visible{outline:2px solid #319db4;outline-offset:3px}
/* Forms: the label, control, explanation and response share one left edge. */
.auth{width:100%;max-width:420px}.auth h1{font-size:clamp(27px,2.4vw,34px);line-height:1.22;letter-spacing:-.035em;margin:0 0 16px}.auth .auth-intro{font-size:16px;line-height:1.65;margin:0 0 24px}.auth .login-course-title{margin-bottom:28px}.auth .form-brand{margin-bottom:28px}
.auth form{display:grid;gap:16px}.auth .field,.auth form>.error{margin:0!important}.auth .field>span,.field>span{font-size:14px!important;line-height:1.45;margin-bottom:8px!important;font-weight:500}.auth .field input,.auth .field select{min-height:44px;padding-top:9px;padding-bottom:9px;font-size:16px;border-bottom-color:#a4bdb3}.auth .password-field input{padding-right:52px}.auth .password-toggle{min-width:40px;min-height:40px;display:grid;place-items:center}.password-rule,.field small{font-size:13px;line-height:1.5;margin-top:8px}.auth form>.button{width:100%;margin:4px 0 0}.auth-options{gap:16px;align-items:center}.auth-options a,.auth-options label{font-size:14px;line-height:1.5}.auth-footnote{line-height:1.55!important}.auth>.quiet-button.back{display:inline-flex;margin-top:20px}
.error:not(:empty){font-size:14px;line-height:1.55;padding:12px 14px;border:1px solid #e7c7c7;border-radius:6px;background:#fff5f4;color:#983f49;margin:12px 0}.field [aria-invalid=true]{border-bottom-color:#b24e58!important;background-color:#fff8f7!important}.notice{padding:16px;border:1px solid #cce2d4;border-radius:8px;background:#edf7ef;color:#345b43;font-size:15px;line-height:1.65}.registration-success{font-weight:650}.toast{font-size:14px;line-height:1.5;border-radius:8px;padding:12px 18px;max-width:min(560px,calc(100vw - 32px))}.access-request-success p{font-size:16px;line-height:1.65}
/* Administrative pages: consistent headings, card gutters and action baselines. */
.admin-header{gap:24px;margin-bottom:24px;align-items:center}.admin-header h1,.insight-header h1{font-size:clamp(28px,2.5vw,36px);line-height:1.2;letter-spacing:-.035em;margin:0 0 8px}.admin-header .manager-course-subtitle{margin:0!important;font-size:14px!important;line-height:1.6}.admin .stats{gap:16px;padding:0;border:0;margin:0 0 32px}.admin .stat{padding:20px;min-height:108px;border-radius:8px;box-shadow:none}.admin .stat strong{display:block;font-size:32px;line-height:1.1;font-variant-numeric:tabular-nums;margin-bottom:12px}.admin .stat .metric-label{font-size:14px;line-height:1.4}.manager-tools{gap:20px 24px;align-items:center}.status-filters{gap:8px;flex-wrap:wrap}.status-filter{min-height:36px;padding:8px 12px;font-size:14px;line-height:1.3;border-radius:6px}.participant-result-count{margin:24px 0!important;padding:0!important}.participant-grid{gap:24px;align-items:stretch}.participant-grid:not(.list-view)>.participant-card{padding:24px;gap:0;border:1px solid var(--ui-border);border-radius:8px;box-shadow:none;background:#fff}.participant-card .participant-top{margin-bottom:0}.participant-name-line{align-items:center}.participant-name-line h3{font-size:18px;line-height:1.4;font-weight:700}.participant-card-email{font-size:13px;line-height:1.5}.participant-grid:not(.list-view) .compact-progress{margin:20px 0;gap:8px}.compact-progress strong{font-size:15px;font-weight:600;font-variant-numeric:tabular-nums}.participant-position{font-size:13px;line-height:1.5}.participant-grid:not(.list-view) .participant-actions{margin-top:auto;padding-top:4px}.participant-card .participant-actions>button{font-size:12px;min-height:56px}.list-view .participant-card{border:1px solid var(--ui-border);border-radius:8px;box-shadow:none;padding:24px;row-gap:20px}.list-view .compact-progress{margin-inline:16px}.administrator-list{gap:16px}.administrator-list article{padding:20px 24px;border-radius:8px;border-color:var(--ui-border);background:#fff}.administrator-list .administrator-identity h2{line-height:1.4}.admin-data-tools{margin-top:32px}.data-tools-grid{gap:20px}.data-tool{border-radius:8px;box-shadow:none}.data-tool h3{line-height:1.4}.data-tool p{font-size:14px;line-height:1.6}
/* Dashboards use the same type scale and generous plot gutters. */
.insight-header{gap:24px;margin-bottom:24px}.insight-header p{font-size:14px;line-height:1.6}.insight-filters{gap:20px;margin-bottom:24px;align-items:end}.insight-filters label>span{display:block;font-size:14px;line-height:1.4;margin-bottom:8px}.insight-filters select{min-height:44px;font-size:14px;padding-right:36px;border-color:var(--ui-border);border-radius:6px}.insight-grid,.insight-two-thirds{gap:24px}.insight-panel{padding:24px;border-radius:8px;border:1px solid var(--ui-border);box-shadow:none}.insight-panel-title{gap:16px;margin-bottom:24px;align-items:flex-start}.insight-panel-title h2{font-size:18px;line-height:1.4;font-weight:650}.insight-kpis,.insight-status-kpis{gap:16px}.insight-kpi,.insight-status-card{border-radius:8px;box-shadow:none}.insight-table th{font-size:12px;font-weight:600;line-height:1.5;padding:12px 14px}.insight-table td{font-size:14px;line-height:1.5;padding:14px}.insight-table td strong{font-weight:600}.insight-table td p{line-height:1.5}.insight-section-heading{gap:24px;margin:8px 0 24px}.insight-section-heading h2{font-size:24px;line-height:1.3}.insight-section-heading p{font-size:15px;line-height:1.6;margin-top:8px}
/* Course: maintain the central stage while standardising the reading rhythm. */
.entry-layout .intro-description,.access-purpose{line-height:1.7!important}.entry-layout .course-headline{letter-spacing:-.045em}.course-tags{gap:12px}.course-tags>span{line-height:1.4}.question-page .question-heading{margin-bottom:16px;gap:16px}.question-page h1{line-height:1.4;letter-spacing:-.025em;max-width:900px}.question-options{gap:12px}body.question-active .question-page .answer{padding:16px 20px;gap:16px;border-radius:8px;line-height:1.5;font-size:clamp(16px,1.2vw,19px)}body.question-active .question-page .answer-letter{font-size:14px;flex-shrink:0}.video-title h1{line-height:1.35}.video-title{margin-bottom:16px}.training-summary>.summary-intro{font-size:16px;line-height:1.65;margin-top:16px;margin-bottom:24px}.training-summary>.summary-stats{gap:16px;margin:24px 0}.training-summary>.summary-stats .summary-stat{padding:24px;border-radius:8px;box-shadow:none}.summary-stat strong,.summary-module-end{font-variant-numeric:tabular-nums}.summary-modules{gap:16px}.summary-module{padding:24px;gap:20px;border-radius:8px}.summary-module h2{margin:4px 0 0;line-height:1.45}.summary-module p{margin-top:8px;line-height:1.5}.summary-reinforcement{margin-top:32px;padding:24px;border-radius:8px;gap:24px}.summary-reinforcement h2{margin:8px 0 12px;font-size:24px;line-height:1.35}.summary-reinforcement p{font-size:16px;line-height:1.65}.reinforcement-actions{gap:12px;margin-top:20px}.summary-footer{gap:16px}.summary-footer .button{border-radius:8px}.computing h1{font-size:clamp(26px,2.6vw,36px);line-height:1.25;margin:0}.computing p{font-size:16px;line-height:1.6;margin:8px 0 0}
/* Dialogs and return states remain aligned with their controls. */
dialog{border:1px solid var(--ui-border);border-radius:12px;box-shadow:0 24px 80px #20382e20}dialog:not(:has(.participant-detail)):not(.glossary-dialog){padding:56px 28px 28px!important}dialog h2{font-size:26px;line-height:1.3;letter-spacing:-.025em;margin:0 0 12px}dialog p{font-size:15px;line-height:1.65;margin:0 0 16px}dialog .field{margin:16px 0}dialog .field input,dialog .field select,dialog .field textarea{font-size:16px;line-height:1.5}dialog .link-box{margin:8px 0 16px;min-height:44px;font-size:14px;border-radius:6px}dialog #close-modal{width:36px;height:36px;font-size:25px;border:1px solid var(--ui-border);box-shadow:none;line-height:1}dialog:has(.participant-detail){padding:52px 28px 24px!important}.participant-detail .participant-detail-heading{gap:20px;margin-bottom:24px}.participant-detail h2{font-size:26px;line-height:1.3}.participant-detail .detail-identity{gap:24px;margin-bottom:16px}.participant-detail dt{font-size:13px;line-height:1.4;margin-bottom:8px;color:var(--ui-muted)}.participant-detail dd{margin:0;font-size:15px;line-height:1.5;color:var(--ui-ink)}.participant-detail .participant-progress{padding:16px 0;margin:0}.participant-detail .participant-dates{gap:20px 24px;margin:20px 0}.participant-detail .participant-access{gap:12px;padding-top:16px}.participant-detail .participant-access .button{font-size:13px}.notification-heading{gap:20px;margin-bottom:16px}.notification-heading h2{font-size:28px;line-height:1.25}.notification-center>p{font-size:15px;line-height:1.6;max-width:70ch;margin-bottom:24px}.notification-request .notification-request-actions .button{min-height:40px}.editor-intro{gap:24px;margin-bottom:16px}.editor-intro h1{font-size:32px;line-height:1.25}.editor-note{font-size:14px;line-height:1.6;margin-bottom:24px}.editor-theme-tabs{gap:12px;margin-bottom:24px}.editor-step-heading{gap:24px;margin-bottom:16px}.editor-step-heading h2{font-size:24px;line-height:1.35}.question-editor-slide .field{margin:16px 0}.editor-options{gap:16px}.editor-options .field{margin:0}.editor-horizontal-nav{margin-top:24px}.editor-save{gap:16px;margin-top:24px;padding-top:20px}.glossary-dialog{padding:52px 28px 24px!important}.glossary-item summary{line-height:1.45}.glossary-item p,.term-context{line-height:1.65}.page-controls{align-items:center;gap:16px;margin:20px 0 0}.report-tooltip{font-size:14px;line-height:1.5;padding:12px 14px;border-radius:6px;max-width:min(330px,calc(100vw - 24px))}
@media(max-width:760px){.auth{max-width:420px}.auth h1{font-size:28px}.auth .auth-intro{font-size:15px;margin-bottom:20px}.auth form{gap:14px}.auth .form-brand{margin-bottom:24px}.admin-header{gap:20px}.admin .stats{gap:12px}.admin .stat{padding:16px;min-height:100px}.participant-grid:not(.list-view)>.participant-card,.list-view .participant-card{padding:20px}.insight-panel{padding:20px}.insight-grid,.insight-two-thirds{gap:20px}.insight-filters{gap:16px}.training-summary>.summary-stats{gap:10px}.training-summary>.summary-stats .summary-stat{padding:18px 12px}.summary-module{padding:18px;gap:12px}.summary-module h2{font-size:16px}.summary-reinforcement{padding:20px;margin-top:24px}.summary-reinforcement h2{font-size:22px}.summary-footer{gap:12px}.summary-footer .button{font-size:12px}.participant-detail h2{font-size:23px}.participant-detail .detail-identity{gap:16px}.participant-detail .participant-dates{gap:16px}.participant-detail .participant-access{gap:8px}.participant-detail .participant-access .button{font-size:12px;padding-inline:8px}.glossary-dialog{padding:44px 20px 20px!important}.notification-heading h2{font-size:25px}body.question-active .question-page .answer{padding:13px 14px;gap:12px;font-size:16px}.editor-step-heading h2{font-size:21px}.report-tooltip{font-size:14px}}
@media(prefers-reduced-motion:reduce){button,a{transition:none!important}}
@media(max-height:760px){.auth form{gap:12px}.auth .auth-intro{margin-bottom:18px}.auth .form-brand{margin-bottom:20px}dialog:has(.participant-detail){padding:44px 24px 20px!important}.participant-detail .participant-detail-heading{margin-bottom:16px}.participant-detail .detail-identity{gap:16px;margin-bottom:12px}.participant-detail .participant-progress{padding:12px 0}.participant-detail .participant-dates{margin:16px 0;gap:12px 20px}.participant-detail dt{font-size:12px;margin-bottom:4px}.participant-detail dd{font-size:14px}.participant-detail .participant-access{padding-top:12px}.participant-detail h2{font-size:23px}}
@media(min-width:761px) and (max-height:740px){body.question-active .question-page .answer{padding:12px 16px;font-size:16px;line-height:1.45}.question-page h1{font-size:24px;line-height:1.35}.question-options{gap:10px}}
.auth .auth-footnote{font-size:15px!important;line-height:1.6!important;text-align:center}.participant-card .participant-actions>button{font-size:11px}

/* Import workspace: dense tables, compact instructions, links retained after creation. */
dialog#modal:has(.import-workspace){width:min(1120px,calc(100vw - 40px));max-width:1120px;max-height:calc(100dvh - 32px);padding:52px 28px 24px!important}.import-workspace{display:flex;flex-direction:column;gap:16px;max-height:calc(100dvh - 130px);min-height:0;overflow-y:auto}.import-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;flex:none}.import-heading h2{font-size:26px;margin:0 0 8px}.import-heading p,.import-heading>small{font-size:13px!important;line-height:1.5;margin:0!important;color:#6b7772}.import-heading .quiet-button{font-size:13px;line-height:1.5;padding:5px 0;white-space:nowrap}.import-workspace .import-instructions,.import-workspace .import-note{font-size:13px;line-height:1.6;margin:0;color:#6b7772}.import-help{font-size:13px;line-height:1.5;color:#497669}.import-help summary{cursor:pointer}.import-help .import-example{display:block;width:min(100%,680px);height:auto;max-height:135px;object-fit:contain;object-position:left;margin:10px 0 0}.import-workspace .drop-zone{padding:20px;min-height:148px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;border-radius:8px}.import-workspace .drop-zone strong{font-size:16px;line-height:1.4}.import-workspace .drop-zone>span{font-size:13px;line-height:1.5}.import-workspace .drop-zone .button{min-height:40px;padding:9px 16px;font-size:13px}.import-table-wrap{overflow:auto;min-height:80px;max-height:56dvh;border:1px solid #dce5e0;border-radius:8px;flex:1 1 auto}.import-table{border-collapse:collapse;width:100%;font-size:13px;line-height:1.45}.import-table th{position:sticky;top:0;z-index:1;background:#f5f8f6;font-size:12px;font-weight:600;text-align:left;color:#65776b;padding:10px;white-space:nowrap;border-bottom:1px solid #dce5e0}.import-table td{padding:7px 10px;border-bottom:1px solid #edf1ee;vertical-align:middle;min-width:130px;max-width:260px;overflow-wrap:anywhere}.import-table tr:last-child td{border-bottom:0}.import-table td:first-child{font-weight:500;color:#263e34}.import-table .bu-tag{font-size:11px;padding:3px 8px;line-height:1.4;white-space:normal}.import-table td:last-child{max-width:none}.import-link-cell{display:flex;align-items:center;gap:8px;min-width:280px}.import-link-cell input{width:100%;min-width:160px;min-height:30px;border:1px solid #dfe8e2;border-radius:5px;background:#fff;font-size:12px;padding:5px 7px;color:#527267}.import-link-cell button{min-height:30px;font-size:12px;padding:6px 9px;background:#edf7f0;color:#28734a;border:1px solid #cee4d6;border-radius:5px;white-space:nowrap}.import-search{display:grid;gap:6px;max-width:420px;flex:none}.import-search>span{font-size:13px;font-weight:500;color:#53685b}.import-search input{min-height:40px;border:0;border-bottom:1px solid #a4bdb3;background:transparent;font-size:14px;padding:7px 0}.import-modal-actions{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-top:16px;border-top:1px solid #dce5e0;background:#fff;flex:none;position:sticky;bottom:0;z-index:2}.import-modal-actions>span{font-size:13px;line-height:1.5;color:#6b7772}.import-modal-actions>div{display:flex;align-items:center;gap:12px;flex-shrink:0}.import-modal-actions .button{font-size:13px;padding:10px 16px}.import-problems{font-size:13px;line-height:1.55;max-height:130px;overflow:auto;border-left:2px solid #d9ad6d;padding-left:12px;flex:none}.import-problems summary{font-weight:600;color:#97673c;cursor:pointer}.import-problems ul{margin:8px 0;padding-left:18px}.import-problems li{margin:4px 0}@media(max-width:650px){dialog#modal:has(.import-workspace){padding:44px 18px 18px!important;width:calc(100vw - 24px)}.import-workspace{gap:12px;max-height:calc(100dvh - 110px)}.import-heading{gap:12px;flex-wrap:wrap}.import-heading h2{font-size:23px}.import-modal-actions{gap:12px;flex-wrap:wrap}.import-modal-actions>div{width:100%;gap:8px}.import-modal-actions .button{flex:1;padding-inline:10px}.import-link-cell{min-width:260px}.import-table-wrap{max-height:48dvh}}

/* Consistent import action sizes and a clear exclusion zone around the close control. */
.import-workspace .import-heading{padding-right:52px}.import-heading>div{min-width:0;flex:1}.import-heading>small{max-width:min(42%,300px);overflow-wrap:anywhere;text-align:right;line-height:1.5}.import-modal-actions>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:372px;max-width:100%;gap:12px;align-items:stretch}.import-modal-actions .button{width:100%;min-width:0;min-height:44px;height:100%;justify-content:center;white-space:normal}.import-workspace .drop-zone .button{width:180px;min-height:44px}.business-units-settings{margin-top:32px;padding:24px;border:1px solid #dce5e0;border-radius:8px;background:#fff;display:grid;grid-template-columns:minmax(200px,.8fr) minmax(280px,1.2fr);gap:32px}.business-units-settings h2{font-size:24px;line-height:1.35;margin:0 0 12px}.business-units-settings p{font-size:14px;line-height:1.65;color:#6b7772;margin:0;max-width:42ch}.business-units-settings .field{margin:0 0 16px}.business-units-settings textarea{display:block;width:100%;min-height:180px;max-height:300px;resize:vertical;padding:12px 14px;border:1px solid #dce5e0;border-radius:6px;background:#fafcfb;font:inherit;font-size:14px;line-height:1.75;color:#263e34}.business-units-actions{display:flex;align-items:center;justify-content:space-between;gap:16px}.business-units-actions>span{font-size:13px;line-height:1.5;color:#287849}.business-units-actions .button{flex:none;min-height:44px;font-size:14px}@media(max-width:760px){.business-units-settings{grid-template-columns:minmax(0,1fr);gap:24px;padding:20px}.import-workspace .import-heading{padding-right:44px}.import-heading>small{max-width:100%;width:100%;text-align:left}.import-modal-actions>div{width:100%;gap:8px}}

.business-units-actions>span[data-state=dirty]{color:#96733e}

.module-pass-note{display:block;max-width:490px;margin-top:16px;font-size:14px;line-height:1.55;font-weight:400;color:#405c4c}.module-pass-note strong{font-weight:650}.editor-question-settings{display:grid;grid-template-columns:minmax(180px,.7fr) minmax(230px,1.3fr);gap:24px;align-items:center;margin:0 0 24px;padding:16px 0;border-bottom:1px solid #dce5e0}.editor-question-settings .field{margin:0!important}.editor-question-settings select{min-height:44px}.editor-question-settings p{font-size:13px;line-height:1.65;color:#6b7772;margin:0}.editor-page-tabs{display:flex;flex-wrap:wrap;justify-content:center;gap:6px}@media(max-width:760px){.editor-question-settings{grid-template-columns:minmax(0,1fr);gap:12px}.module-pass-note{font-size:14px;margin-top:12px}}@media(max-height:740px){.module-pass-note{margin-top:12px;font-size:13px}}

/* A dedicated fixed-in-dialog close bar; only the content scrolls. */
html body dialog#modal[open]{display:flex;flex-direction:column;padding:0!important;overflow:hidden!important;max-height:calc(100dvh - 32px);min-height:0}dialog#modal>.modal-close-bar{display:flex;align-items:center;justify-content:flex-end;flex:none;min-height:56px;padding:10px 20px;background:#fff;border-bottom:1px solid #edf1ee;z-index:5}dialog#modal>.modal-close-bar>#close-modal{position:static!important;inset:auto!important;top:auto!important;right:auto!important;margin:0!important;width:36px;height:36px;flex:none;display:grid;place-items:center;line-height:1}dialog#modal>#modal-content{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;max-height:calc(100dvh - 104px);padding:24px 28px;scroll-padding-top:20px}dialog#modal.glossary-dialog>#modal-content{padding:16px 28px 24px}dialog#modal:has(.import-workspace)>#modal-content{padding:16px 24px 24px}dialog#modal:has(.participant-detail)>#modal-content{padding:16px 24px 20px}.import-workspace{max-height:calc(100dvh - 168px)}.import-workspace .import-heading,.participant-detail .participant-detail-heading{padding-right:0!important}.glossary-dialog .glossary>.eyebrow{margin-top:0}.modal-close-bar~#modal-content>h2:first-child{margin-top:0}
/* The chevron is part of the control, never a separate overflowing decoration. */
body select{appearance:none!important;-webkit-appearance:none!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2360786c' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:right 12px center!important;background-size:16px 16px!important;padding-right:40px!important;box-sizing:border-box;max-width:100%;min-width:0;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.field:has(select),.insight-filters label,.insight-question-controls label,.editor-question-settings{min-width:0}.field select,.participant-unit-editor select{display:block;width:100%}.editor-question-settings select{min-width:0}@media(max-width:650px){dialog#modal>.modal-close-bar{min-height:52px;padding:8px 16px}dialog#modal>#modal-content,dialog#modal.glossary-dialog>#modal-content,dialog#modal:has(.import-workspace)>#modal-content,dialog#modal:has(.participant-detail)>#modal-content{padding:16px 18px 20px}.import-workspace{max-height:calc(100dvh - 150px)}}

body.video-page .video-title{display:flex;justify-content:center;text-align:center;width:100%}body.video-page .video-title>div{width:100%;min-width:0}body.video-page .video-title h1{text-align:center;margin-inline:auto}

.administrator-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.administrator-list>article{height:100%;align-items:flex-start;gap:16px}.administrator-list .administrator-identity{flex:1 1 100%;width:100%}.administrator-list .administrator-identity h2,.administrator-list .administrator-identity p{overflow-wrap:anywhere}.administrator-list>article>.remove-user{margin-left:auto;align-self:center}@media(max-width:800px){.administrator-list{grid-template-columns:minmax(0,1fr)}}

.administrator-list .administrator-identity h2{display:flex;align-items:center;gap:8px}.administrator-identity h2>span{min-width:0}.administrator-identity .admin-profile-badge{flex-shrink:0;align-self:center;margin:0}.administrator-state{font-size:12px;color:#5f786a}.administrator-card-actions{display:flex;align-items:center;justify-content:flex-end;gap:20px;margin-left:auto}.administrator-card-actions .quiet-button{font-size:13px;line-height:1.4;min-height:36px;padding:6px 0}.administrator-card-actions [data-edit-admin]{color:#2d8195}

/* Notices use the browser top layer so modal backdrops cannot cover them. */
#toast.toast{position:fixed;inset:max(20px,env(safe-area-inset-top)) auto auto 50%;margin:0;width:max-content;max-width:min(560px,calc(100vw - 32px));box-sizing:border-box;background:#e5eff8;color:#254d70;border:1px solid #b9cfdf;border-radius:12px;padding:16px 22px;font-size:15px;font-weight:600;line-height:1.5;text-align:left;overflow-wrap:anywhere;box-shadow:0 8px 28px #294f6d20;z-index:2147483647;transform:translate(-50%,-12px)}
#toast.toast::backdrop{background:transparent;pointer-events:none}
@media(max-width:600px){#toast.toast{padding:14px 18px;font-size:14px;max-width:calc(100vw - 24px)}}

.unit-performance-ranking{list-style:none;margin:8px 0 0;padding:0;display:grid;gap:0}.unit-performance-ranking>li:not(.insight-empty){display:grid;grid-template-columns:32px minmax(0,1fr);gap:14px;align-items:center;padding:16px 0;border-bottom:1px solid #edf1f0}.unit-performance-ranking>li:last-child{border-bottom:0}.unit-rank-position{width:30px;height:30px;border-radius:10px;display:grid;place-items:center;background:#eaf4f7;color:#277589;font-size:13px;font-weight:700}.unit-rank-position.rank-leader{background:#def1e2;color:#287448}.unit-rank-detail{min-width:0}.unit-rank-name{display:flex;justify-content:space-between;align-items:baseline;gap:16px;margin-bottom:8px}.unit-rank-name strong{font-size:14px;overflow-wrap:anywhere}.unit-rank-name b{color:#227d80;font-size:18px;white-space:nowrap}.unit-rank-context{display:flex;justify-content:space-between;flex-wrap:wrap;gap:4px 14px;margin-top:8px;font-size:11px;color:#62766c}.unit-ranking-panel{margin-bottom:24px}.insight-grid>.unit-ranking-panel{margin-bottom:0}

#toast.toast.visible{display:flex;align-items:flex-start;gap:12px;transform:translate(-50%,0);animation:toast-slide-in .28s cubic-bezier(.2,.7,.3,1) both}#toast.toast[data-tone="error"]{background:#fae9e8;border-color:#e1b4b1;color:#913f3b}.toast-icon{flex:0 0 21px;width:21px;height:21px;margin-top:1px}.toast-message{min-width:0;flex:1}@keyframes toast-slide-in{from{opacity:0;transform:translate(-50%,-16px)}to{opacity:1;transform:translate(-50%,0)}}@media(prefers-reduced-motion:reduce){#toast.toast.visible{animation:none;transition:none}}

/* Compact glossary controls leave more room for the terms. */
.glossary .glossary-tools{display:flex;align-items:center;flex-wrap:wrap;gap:10px 16px;margin:16px 0}.glossary .glossary-search{position:relative;flex:1 1 220px;max-width:320px;min-width:0;margin:0}.glossary .glossary-search>svg{position:absolute;left:12px;top:12px;width:16px;height:16px;color:#668378;pointer-events:none}.glossary .glossary-search>.glossary-search-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.glossary .glossary-search input{height:40px;min-height:40px;padding:8px 12px 8px 36px;font-size:14px;border-radius:7px}.glossary .glossary-filters{margin:0;gap:6px}.glossary .glossary-filters .filter{padding:7px 11px}.glossary-dialog .glossary>h1{margin:0 0 12px}.glossary-dialog .glossary-tools{margin:12px 0 16px}

/* Glossary heading stays above the divider, outside the scrollable body. */
html body dialog#modal.glossary-dialog{max-width:calc(100vw - 64px)}dialog#modal.glossary-dialog>.modal-close-bar{padding:12px 44px;gap:20px;min-height:64px}dialog#modal.glossary-dialog #modal-heading{font-family:Manrope,sans-serif;font-size:20px;font-weight:600;line-height:1.35;letter-spacing:-.3px;margin:0 auto 0 0;min-width:0}dialog#modal.glossary-dialog>#modal-content{padding:14px 44px 20px}.glossary-dialog .glossary>h1{display:none}.glossary-dialog .glossary-tools{margin:0 0 12px}.glossary .glossary-item,.glossary-dialog .glossary-item{padding:5px 0}.glossary .glossary-item summary{min-height:24px;gap:10px}.glossary .glossary-item summary>span:first-child{font-size:15px;line-height:1.4}.glossary .glossary-item summary small{font-size:10px}.glossary .glossary-item .expand{font-size:18px}.glossary .page-controls{margin-top:12px}.glossary .glossary-item p{font-size:13px;line-height:1.65;margin:12px 0}.glossary .term-context{font-size:12px;line-height:1.65;margin:12px 0}
@media(max-width:600px){html body dialog#modal.glossary-dialog{max-width:calc(100vw - 24px)}dialog#modal.glossary-dialog>.modal-close-bar{padding:12px 24px;gap:14px}dialog#modal.glossary-dialog>#modal-content{padding:14px 24px 20px}dialog#modal.glossary-dialog #modal-heading{font-size:18px}.glossary .glossary-item summary>span:first-child{font-size:14px}}

/* Quiet ascending line charts frame the sign-in form without drawing behind it. */
body:has(.auth)::before{background-image:url('assets/login-line-charts.svg?v=125');background-position:center;background-size:cover;background-repeat:no-repeat;opacity:.85;filter:none}
@media(max-width:650px){body:has(.auth)::before{opacity:.55}}

/* Reading screens do not select text; sign-in and management remain selectable. */
body.course-reading-lock:not(.management-page):not(:has(.auth)),body.course-reading-lock:not(.management-page):not(:has(.auth)) *{-webkit-user-select:none;user-select:none}

/* Approved fine-wave backdrop for all sign-in and access screens. */
body:has(.auth)::before{background-image:url('assets/login-wave-background.webp?v=127');background-size:cover;background-position:center;opacity:1;filter:none}

/* A lighter wave backdrop unifies all light screens; content panels stay readable. */
html:not([data-theme="dark"]) body,html:not([data-theme="dark"]) body.entry-screen,html:not([data-theme="dark"]) body:has(.auth){background:#fff!important;isolation:isolate}
html:not([data-theme="dark"]) body::before{content:'';position:fixed;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(#ffffffb8,#ffffffb8),url('assets/login-wave-background.webp?v=128') center/cover no-repeat;opacity:1!important;filter:none}
html:not([data-theme="dark"]) .entry-art{background:transparent!important;mix-blend-mode:normal!important}
/* Quantity and approval are separate from the publication guidance. */
.editor-question-settings{align-items:start;row-gap:16px;padding:18px 0 22px}.editor-question-guidance{display:grid;justify-items:start;gap:9px;padding-top:3px}.editor-question-settings .editor-approval-target{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px}.editor-approval-target>span{font-size:12px;color:#607267}.editor-approval-target>strong{display:inline-flex;align-items:center;padding:7px 12px;border-radius:7px;background:#eaf5ee;color:#2b7450;font-size:14px;font-weight:650;line-height:1.4}.editor-question-settings .editor-count-range{font-size:12px;color:#718076;line-height:1.5}.editor-publication-note{grid-column:1/-1;display:grid;gap:3px;padding:12px 16px;background:#f5f7f6;border-left:2px solid #ccdcd2;border-radius:0 6px 6px 0}.editor-question-settings .editor-publication-note p{font-size:12px;line-height:1.55;color:#6b7770;margin:0}

/* Shared gentle illustration loop for light and dark assets. */
@media(prefers-reduced-motion:no-preference){.entry-screen .entry-chart-animation .entry-art-scene{animation:entry-illustration-float 10s cubic-bezier(.45,0,.55,1) infinite!important;transform-origin:55% 60%;will-change:transform}@keyframes entry-illustration-float{0%,100%{transform:translate3d(0,0,0) scale(1)}50%{transform:translate3d(0,-8px,0) scale(1.008)}}}
@media(prefers-reduced-motion:reduce){.entry-screen .entry-chart-animation .entry-art-scene{animation:none!important;transform:none!important;will-change:auto}}

/* Course facts are quiet text, leaving the start action as the only prominent button. */
html body.entry-screen .intro .course-tags{display:flex!important;flex-wrap:wrap;align-items:center;justify-content:flex-start;gap:12px 24px;margin:0!important;width:auto;grid-template-columns:none}
html body.entry-screen .intro .course-tags>span{display:inline-flex;align-items:center;gap:7px;width:auto!important;min-width:0!important;min-height:0!important;padding:0!important;margin:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;font-size:14px!important;font-weight:500;line-height:1.5;white-space:nowrap;cursor:default}
html body.entry-screen .intro .course-tags .motion-icon{width:18px;height:18px;flex:none}
html body.entry-screen .intro .welcome-rules{margin:20px 0 28px!important;padding:0}
/* Video headings share the centered player axis at every viewport size. */
html body.video-page .video-title{display:flex!important;justify-content:center!important;align-items:center!important;width:100%;text-align:center!important}
html body.video-page .video-title>div{width:100%;min-width:0;text-align:center!important}
html body.video-page .video-title h1{display:block;width:100%;max-width:100%;margin-left:auto!important;margin-right:auto!important;text-align:center!important}
/* Filter text with one colored underline; selection changes emphasis, never adds a box. */
html body.management-workspace .manager-tools .status-filters{gap:12px 22px;align-items:center;flex-wrap:wrap}
html body.management-workspace .manager-tools .status-filter{position:relative;display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:8px 1px 10px!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;font-size:14px!important;font-weight:500;filter:none!important}
html body.management-workspace .manager-tools .status-filter::after{content:'';position:absolute;left:0;right:0;bottom:0;height:2px;background:currentColor;opacity:.4;transition:opacity .15s}
html body.management-workspace .manager-tools .status-filter[aria-pressed=true]{background:transparent!important;border:0!important;box-shadow:none!important;font-weight:650!important}
html body.management-workspace .manager-tools .status-filter[aria-pressed=true]::after,html body.management-workspace .manager-tools .status-filter:hover::after{opacity:1}
html body.management-workspace .manager-tools .status-filter:focus-visible{outline:2px solid currentColor!important;outline-offset:5px!important}
/* Main headings have the same scale across the sections in the side navigation. */
html body.management-workspace .admin-header h1,html body.management-workspace .insight-header h1,html body.management-workspace #access-requests-page .notification-heading h2{font-size:32px!important;font-weight:650;line-height:1.25!important;letter-spacing:-.035em;margin:0 0 8px!important}
html body.management-workspace .admin-menu a{font-size:14px!important;line-height:1.5}
@media(max-width:760px){html body.entry-screen .intro .course-tags{gap:10px 18px}html body.entry-screen .intro .course-tags>span{font-size:13px!important}html body.management-workspace .admin-header h1,html body.management-workspace .insight-header h1,html body.management-workspace #access-requests-page .notification-heading h2{font-size:28px!important}}

/* A real overall score is informative; approval is determined for each module. */
.summary-approval-status{display:grid;grid-template-columns:minmax(150px,.7fr) minmax(0,1.7fr);gap:24px;align-items:center;padding:22px 24px;margin:24px 0;border:1px solid #e3c6bd;border-radius:10px;background:#fff7f3;text-align:left}.summary-approval-count>span{font-size:12px;font-weight:500;color:#83685d;line-height:1.4}.summary-approval-count>strong{display:block;font-size:30px;font-weight:650;line-height:1.2;color:#a04d39;margin-top:7px;letter-spacing:-.02em}.summary-approval-count strong small{display:block;margin-top:5px;font-size:13px;letter-spacing:0;font-weight:500;color:#83685d}.summary-approval-explanation>p{font-size:15px;line-height:1.55;font-weight:600;color:#744d40;margin:0}.summary-approval-explanation .summary-pending-modules{font-size:13px;line-height:1.6;margin-top:7px;color:#a04d39;font-weight:600}.summary-approval-explanation>small{display:block;font-size:12px;line-height:1.6;margin-top:7px;color:#83685d}.summary-approval-status.all-approved{border-color:#cee2d2;background:#f0f8f1}.all-approved .summary-approval-count>strong{color:#347647}.all-approved .summary-approval-count>span,.all-approved .summary-approval-count strong small,.all-approved .summary-approval-explanation>p{color:#4e7157}.summary-stat .summary-score-note{display:block;font-size:11px;line-height:1.5;color:#6c7c75;font-weight:400;margin-top:5px}
@media(max-width:600px){.summary-approval-status{grid-template-columns:minmax(0,1fr);gap:16px;padding:18px 20px}.summary-approval-count>strong{font-size:28px}.summary-approval-count strong small{display:inline;margin-left:10px}}
