.portal-teacher-hidden{display:none!important}.portal-role-switch{display:inline-flex;align-items:center;gap:2px;background:#edf2e9;border:1px solid #e0e8d9;padding:3px;border-radius:8px;flex-shrink:0}.portal-role-switch button{background:transparent;color:#86947b;min-height:27px;padding:5px 9px;border-radius:5px;font-size:10px;white-space:nowrap}.portal-role-switch button.active{background:#fff;color:#365d43;box-shadow:0 1px 5px #263e3410}.portal-teacher-avatar{background:#e9dfca!important;color:#866846!important}.portal-heading-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}.portal-loading{display:grid;place-items:center;min-height:240px;color:#859579;font-size:13px}.portal-kicker{font-size:9px;letter-spacing:1.7px;color:#97a387;font-weight:600}.portal-auth-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,.8fr);gap:45px;align-items:center;max-width:1000px;margin:40px auto 50px}.portal-auth-story{padding:35px 15px}.portal-auth-story h2{font-family:var(--serif);font-size:35px;line-height:1.7;letter-spacing:2px;margin:18px 0 22px;color:#31533d;font-weight:600}.portal-auth-story>p{font-size:12px;line-height:2.1;color:#8c9a7d;max-width:330px;margin:0 0 25px}.portal-auth-story>.secondary{margin-top:30px}.portal-auth-steps{display:flex;gap:18px;align-items:center;flex-wrap:wrap}.portal-auth-steps>span{font-size:10px;color:#849576;display:flex;align-items:center;gap:7px}.portal-auth-steps b{display:grid;place-items:center;width:25px;height:25px;border-radius:50%;font-family:var(--serif);color:#72855f;background:#eaf0e0;font-size:12px;font-weight:500}.portal-auth-card{padding:32px!important;border-radius:17px!important;box-shadow:0 20px 60px #284d3e08}.portal-auth-card>.pill{margin-bottom:17px}.portal-auth-card h2{font-family:var(--serif);font-size:24px;margin:0 0 12px;letter-spacing:.5px}.portal-auth-card>p{font-size:11px;line-height:1.9;color:#91a07e;margin:0 0 20px}.portal-auth-card .teacher-note{font-size:10px;margin-top:18px;margin-bottom:0}.portal-auth-card fieldset,.portal-editor-fields{min-width:0;margin:0;padding:0;border:0}.portal-auth-card .form-field{margin-bottom:18px}.portal-auth-card input{min-height:42px}.portal-teacher-name{padding:12px 15px;border-radius:8px;background:#f3f6ec;border:1px solid #e8ecdf;color:#6a8159;font-size:12px;margin-bottom:20px}.portal-feedback{padding:14px 17px;border-radius:9px;font-size:11px;line-height:1.9;margin:0 0 22px;overflow-wrap:anywhere}.portal-feedback.error{border:1px solid #ebd8ba;background:#fff8ec;color:#967344}.portal-feedback.success{border:1px solid #dce7d1;background:#f0f6e8;color:#6b8656}.portal-teacher-welcome{display:flex;justify-content:space-between;gap:22px;align-items:center;padding:24px 27px;background:#edf3e5;border:1px solid #e0e9d6;border-radius:13px;margin:0 0 25px}.portal-teacher-welcome h2{font-family:var(--serif);font-size:23px;color:#36543c;margin:9px 0 8px;font-weight:600}.portal-teacher-welcome p{font-size:11px;margin:0;color:#8b9a7c;line-height:1.9}.portal-teacher-stats{display:flex;align-items:center;gap:25px;flex-shrink:0}.portal-teacher-stats>span{font-size:9px;color:#8f9b80;display:grid;gap:6px;justify-items:center}.portal-teacher-stats b{font-family:Georgia,serif;font-size:25px;font-weight:400;color:#6b8755}.portal-teacher-stats .primary{margin-left:7px}.portal-workspace{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:24px;align-items:start}.portal-editor{padding:27px!important;min-width:0}.portal-panel-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 23px}.portal-panel-title h2{font-size:17px;margin:6px 0 0;font-weight:600;letter-spacing:.5px}.portal-editor-status,.portal-course-state{background:#f5f0e4;color:#a08d65;font-size:9px;padding:5px 8px;border-radius:5px;white-space:nowrap}.portal-editor-status.published,.portal-course-state.published{background:#edf4e4;color:#7b9660}.portal-editor-section{display:flex;gap:13px;align-items:start;padding-top:24px;border-top:1px solid #ecf0e5;margin-top:24px;margin-bottom:21px}.portal-editor-section:first-child{padding-top:0;border:0;margin-top:0}.portal-step-number{display:grid;place-items:center;border:1px solid #e3e9d9;background:#f6f8f0;border-radius:9px;flex-shrink:0;min-width:35px;height:35px;font-family:Georgia,serif;font-size:15px;color:#90a17b}.portal-editor-section h3{font-size:13px;font-weight:500;margin:1px 0 7px;color:#536c47}.portal-editor-section p{font-size:10px;line-height:1.8;margin:0;color:#9ba78b}.portal-editor input,.portal-editor textarea,.portal-editor select{background:#fdfefb!important;line-height:1.9;font-size:12px!important}.portal-editor textarea{min-height:0}.portal-editor .form-field>small{display:block;font-size:9px;line-height:1.9;color:#a4ad93;margin:7px 0 0}.portal-editor .form-field>label{font-size:11px;font-weight:500}.portal-editor .form-two{grid-template-columns:.7fr 1.3fr}.portal-question{position:relative;min-width:0;padding:21px 18px 0;margin:0 0 18px;border:1px solid #e4eadb;border-radius:10px;background:#fafcf6}.portal-question legend{font-size:11px;color:#789263;font-weight:500;padding:0 7px}.portal-question-remove{position:absolute;right:15px;top:-13px;padding:4px 7px;background:#fafcf6;color:#b1a184;font-size:9px}.portal-options-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 13px}.portal-options-grid .form-field{margin-bottom:13px}.portal-question-settings{display:flex;gap:15px;align-items:center;justify-content:space-between}.portal-question-settings>.form-field{min-width:120px;max-width:45%;margin-bottom:14px}.portal-question-settings>.ghost{font-size:9px;padding:5px 0;color:#9aab85}.portal-question .form-field>label{font-size:10px;color:#8d9d7b}.portal-question .form-field:last-child{margin-bottom:17px}.portal-add-question{width:100%;border-style:dashed!important;background:#fbfdf8!important;color:#8ba274!important;margin:2px 0 19px}.portal-publish-note{font-size:10px;color:#a1aa90;line-height:1.9;padding:12px 14px;background:#f7f8f1;border:1px solid #edf0e5;border-radius:7px}.portal-editor-actions{display:flex;align-items:center;justify-content:flex-end;gap:9px;padding:21px 0 0;margin-top:20px;border-top:1px solid #edf0e6;flex-wrap:wrap}.portal-editor-actions>.ghost{margin-right:auto;padding-left:0}.portal-draft-status{font-size:9px;line-height:1.9;color:#a0ab92;margin:15px 0 0;text-align:right}.portal-course-list{padding:21px!important;position:sticky;top:22px;min-width:0}.portal-course-list .portal-panel-title{margin-bottom:18px;align-items:flex-end}.portal-course-list .portal-panel-title h2{font-size:14px}.portal-course-list .portal-panel-title>.secondary{font-size:9px;min-height:28px;padding:6px 8px}.portal-list-filters{display:flex;align-items:center;gap:5px;border-bottom:1px solid #eaf0e1;margin-bottom:8px;padding-bottom:13px}.portal-list-filters>button{display:flex;gap:5px;font-size:9px;align-items:center;background:#fff;padding:6px 8px;color:#a0aa91;border-radius:5px}.portal-list-filters>button.active{background:#edf4e4;color:#718c5a}.portal-list-filters>button>span{font-size:8px;color:#a6b098}.portal-course-item{padding:17px 0;border-bottom:1px solid #edf0e6;overflow-wrap:anywhere}.portal-course-item.selected h3{color:#52773f}.portal-course-item-top{display:flex;align-items:center;justify-content:space-between;gap:8px}.portal-course-state{font-size:8px;padding:4px 6px}.portal-course-level{font-size:9px;color:#a3ad93}.portal-course-item h3{font-size:12px;font-weight:500;line-height:1.8;color:#657951;margin:10px 0 6px}.portal-course-item>p{font-size:9px;line-height:1.9;color:#a5ad97;margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.portal-course-item-meta{font-size:8px;color:#a6b095;display:flex;gap:3px;flex-wrap:wrap;margin:9px 0}.portal-course-item-meta>em{font-style:normal;color:#b09668;flex-basis:100%;margin-top:4px}.portal-course-item-actions{display:flex;gap:9px;align-items:center;margin-top:12px}.portal-course-item-actions>button{font-size:9px;color:#8a9d76;padding:0;background:none;min-height:25px}.portal-course-item-actions>.portal-delete{margin-left:auto;color:#b8aa92}.portal-list-empty{text-align:center;padding:35px 8px;line-height:2;color:#98a68a;font-size:10px}.portal-list-empty>span{display:grid;place-items:center;width:46px;height:52px;border:1px solid #dfe7d4;background:#f5f8ef;border-radius:8px;font-family:var(--serif);font-size:27px;color:#b2bda1;margin:0 auto 17px}.portal-list-empty>strong{display:block;font-size:11px;font-weight:500;color:#869a74}.portal-list-empty>p{margin:6px 0 0;font-size:9px}.portal-list-note{font-size:9px;line-height:1.9;color:#a9b29d;margin:15px 0 0}.portal-local-tasks{margin:28px 0 0;border-top:1px solid #e2e8d9;padding-top:20px}.portal-local-tasks>summary{cursor:pointer;font-size:11px;color:#8fa17b;list-style-position:inside;margin-bottom:21px}.portal-local-tasks .page-intro{margin-top:23px}.portal-offline{margin-bottom:16px}.portal-preview-note{font-size:10px;color:#a1ad91;line-height:1.9;margin:0 0 22px;padding:10px 13px;border-radius:7px;border:1px solid #e6eddc;background:#f7f9f1}.portal-preview-subtitle{font-size:13px;color:#82996d;line-height:1.9;margin:0 0 20px}.portal-preview-goal{background:#f0f5e7;border-radius:9px;padding:15px 18px;margin-bottom:25px;font-size:11px;line-height:1.9;color:#7e9367}.portal-preview-goal>strong{font-size:10px;font-weight:500;color:#a0af8c}.portal-preview-goal>p{white-space:pre-wrap;margin:5px 0 0}.portal-preview>h3{font-size:13px;font-weight:500;color:#718b5d;margin:24px 0 15px}.portal-preview-paragraph{font-size:13px;line-height:2.2;white-space:pre-wrap;overflow-wrap:anywhere;color:#596f4b}.portal-preview-dialogue{background:#f6f8f0;border-radius:9px;padding:13px 18px;font-size:12px;line-height:2;color:#728862}.portal-preview-dialogue>p{margin:5px 0;white-space:pre-wrap;overflow-wrap:anywhere}.portal-preview-question{border:1px solid #e8eddf;border-radius:9px;padding:17px;margin:12px 0;font-size:12px;line-height:1.9}.portal-preview-question>strong{font-size:12px;font-weight:500;overflow-wrap:anywhere}.portal-preview-question ol{padding-left:22px;color:#8e9e7c;font-size:11px;line-height:2.2}.portal-preview-question details{font-size:10px;color:#a1ad91;border-top:1px dashed #e4eadb;padding-top:12px}.portal-preview-question summary{cursor:pointer}.portal-preview-question details>p{color:#7e9368;white-space:pre-wrap;overflow-wrap:anywhere}.interface-english .portal-auth-story h2{letter-spacing:0;font-size:30px}.interface-english .portal-role-switch button{font-size:9px;padding-left:7px;padding-right:7px}.interface-english .portal-teacher-welcome h2{font-size:21px}.interface-english .portal-kicker{letter-spacing:1px}.interface-english .portal-workspace{grid-template-columns:minmax(0,1fr) 290px}
@media(max-width:1190px){.portal-workspace,.interface-english .portal-workspace{grid-template-columns:minmax(0,1fr) 240px;gap:18px}.portal-course-list{padding:17px!important}.portal-editor{padding:23px!important}.portal-auth-layout{gap:25px;grid-template-columns:1fr 1fr}.portal-auth-story h2{font-size:29px}.portal-auth-card{padding:26px!important}.portal-teacher-stats{gap:18px}.portal-teacher-welcome{padding:22px}.portal-role-switch button{font-size:9px;padding:5px 7px}.portal-teacher-welcome h2{font-size:21px}.portal-teacher-welcome p{font-size:10px}}
@media(max-width:1000px){.portal-workspace,.interface-english .portal-workspace{grid-template-columns:minmax(0,1fr)}.portal-course-list{position:static}.portal-course-item{display:block}.portal-auth-layout{grid-template-columns:1fr;max-width:520px;margin:10px auto 35px;gap:15px}.portal-auth-story{padding:10px 12px 15px}.portal-auth-story h2{font-size:29px;margin:10px 0 15px;line-height:1.6}.portal-auth-story h2 br{display:none}.portal-auth-story>p{max-width:none;margin-bottom:17px}.portal-auth-story>.secondary{display:none}.portal-auth-steps{gap:16px}.portal-teacher-welcome{align-items:flex-start;gap:18px}.portal-teacher-stats{gap:16px;align-items:center;flex-wrap:wrap;justify-content:flex-end}.portal-teacher-stats>.primary{flex-basis:100%;margin:0}.portal-role-switch{gap:0}.portal-role-switch button{padding:4px 6px;font-size:8px;min-height:25px}.top-actions:has(.portal-role-switch){gap:12px}.portal-course-list .portal-panel-title h2{font-size:16px}.portal-list-note{font-size:10px}}
@media(max-width:720px){.top-actions:has(.portal-role-switch){gap:8px}.topbar:has(.portal-role-switch) .edition{display:none}.portal-role-switch{padding:2px}.portal-role-switch button{font-size:8px;padding:4px 6px}.interface-english .portal-role-switch button{font-size:8px;max-width:58px;line-height:1.35;white-space:normal;padding:3px 5px}.portal-heading-actions{gap:5px;justify-content:flex-start}.portal-heading-actions>.secondary,.portal-heading-actions>.ghost{font-size:9px;padding:7px 9px;min-height:30px}.page-intro:has(.portal-heading-actions){flex-wrap:wrap;gap:15px}.portal-teacher-welcome{padding:21px;flex-direction:column;gap:17px}.portal-teacher-stats{width:100%;justify-content:flex-start;flex-wrap:nowrap;gap:22px}.portal-teacher-stats>.primary{flex-basis:auto;margin-left:auto;font-size:10px;padding:9px 12px}.portal-teacher-welcome h2{font-size:22px}.portal-teacher-welcome p{font-size:10px}.portal-teacher-stats>span{font-size:9px}.portal-teacher-stats b{font-size:25px}.portal-workspace{gap:20px}.portal-editor{padding:22px 18px!important}.portal-panel-title h2{font-size:16px}.portal-editor .form-two{grid-template-columns:1fr 1.2fr;gap:12px}.portal-editor-section{gap:11px}.portal-editor-section h3{font-size:12px}.portal-editor-section p{font-size:9px;line-height:1.9}.portal-step-number{min-width:31px;height:32px;font-size:14px}.portal-editor .form-field>label{font-size:10px}.portal-editor input,.portal-editor textarea,.portal-editor select{font-size:11px!important}.portal-question{padding:18px 13px 0}.portal-options-grid{gap:0 10px}.portal-question-settings{gap:10px}.portal-question-settings>.ghost{font-size:8px}.portal-question-settings>.form-field{min-width:100px}.portal-editor-actions{gap:7px;justify-content:space-between}.portal-editor-actions>.ghost{margin-right:0;font-size:10px}.portal-editor-actions>.primary,.portal-editor-actions>.secondary{font-size:10px;padding:9px 12px}.portal-draft-status{text-align:left;font-size:9px}.portal-auth-story h2{font-size:27px}.portal-auth-card{padding:25px!important}.portal-auth-card h2{font-size:23px}.portal-feedback{font-size:10px}.portal-preview-paragraph{font-size:12px}.portal-preview-dialogue{font-size:11px}.portal-preview-question{padding:14px}.portal-local-tasks>summary{font-size:10px}}
@media(max-width:420px){.topbar:has(.portal-role-switch){padding-left:12px;padding-right:12px}.topbar:has(.portal-role-switch) .breadcrumb{gap:4px}.top-actions:has(.portal-role-switch){gap:6px}.topbar:has(.portal-role-switch) .support-toggle{display:none}.portal-role-switch button{font-size:8px;padding:4px 7px}.portal-auth-steps{gap:12px}.portal-auth-steps>span{font-size:9px}.portal-auth-card{padding:22px!important}.portal-teacher-stats{gap:16px}.portal-teacher-stats>.primary{font-size:9px;padding:8px 10px}.portal-editor .form-two{grid-template-columns:1fr;gap:0}.portal-options-grid{grid-template-columns:1fr}.portal-editor-actions>.ghost{flex-basis:100%;justify-content:flex-start;padding-bottom:0}.portal-editor-actions>.primary,.portal-editor-actions>.secondary{flex:1}.portal-heading-actions>.secondary,.portal-heading-actions>.ghost{font-size:9px}.portal-course-list{padding:21px!important}}

/* A single account entrance; permissions always come from the local service. */
.portal-role-icon{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.portal-current-account{display:flex;align-items:center;gap:8px;padding:4px 7px;color:#617e4e}.portal-current-account>span{display:grid;gap:3px}.portal-current-account b{font-size:8px;font-weight:500;color:#9aaa8c}.portal-current-account small{font-size:10px;max-width:90px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#5d7850}.portal-current-account>.portal-role-icon{width:23px;height:23px}.portal-role-switch .portal-logout{min-width:28px;display:grid;place-items:center;padding:4px!important}.portal-logout>.portal-role-icon{width:17px;height:17px}.portal-offline-role{display:flex;align-items:center;gap:6px;color:#8da17a;padding:4px 8px;font-size:9px}.portal-offline-role>.portal-role-icon{width:17px;height:17px}.portal-auth-required .sidebar,.portal-auth-required .bottom-world-nav,.portal-auth-required .mobile-backdrop{display:none!important}.portal-auth-required .page-shell{margin-left:0}.portal-auth-required .topbar{height:72px;padding:0 max(30px,calc((100vw - 1130px)/2));background:transparent;border-bottom:0;justify-content:flex-end}.portal-auth-required .topbar .breadcrumb,.portal-auth-required .topbar .edition,.portal-auth-required .topbar .support-toggle,.portal-auth-required .topbar .avatar,.portal-auth-required #portal-role-switch{display:none!important}.portal-auth-required .top-actions{gap:0}.portal-auth-required main{padding-top:0;max-width:1220px;min-height:calc(100vh - 150px)}.portal-auth-required footer{max-width:1130px;padding-top:10px;color:#aab29e}.portal-unified-login{display:grid;grid-template-columns:1fr .85fr;gap:90px;align-items:center;max-width:1020px;margin:36px auto 50px}.portal-login-brand{padding:10px 5px}.portal-login-logo{display:grid;place-items:center;width:57px;height:57px;border-radius:18px;background:#2e5741;color:#f2e8cd;font-family:var(--serif);font-size:33px;box-shadow:0 5px 0 #c4d0b535;margin:0 0 23px}.portal-login-brand>.portal-kicker{letter-spacing:3px;font-size:10px;color:#a4ae94}.portal-login-brand h1{font-family:var(--serif);font-size:43px;line-height:1.65;letter-spacing:3px;color:#35573f;margin:17px 0 18px;font-weight:600}.portal-login-brand>p{font-size:12px;line-height:2;color:#95a285;max-width:350px;margin:0 0 40px}.portal-login-roles{display:flex;gap:30px;border-top:1px solid #e3e9dc;padding-top:25px;max-width:410px}.portal-login-roles>div{display:flex;flex-direction:column;align-items:flex-start;gap:9px;color:#8fa478;flex:1}.portal-login-roles .portal-role-icon{height:26px;width:26px;stroke-width:1.25;margin-bottom:3px}.portal-login-roles strong{font-size:11px;font-weight:500;color:#71865e}.portal-login-roles small{font-size:9px;color:#a9b29a;line-height:1.8}.portal-unified-login .portal-auth-card{padding:31px!important}.portal-unified-login .portal-auth-card h2{font-size:25px;line-height:1.8}.portal-login-loading{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:62vh;text-align:center}.portal-login-loading h1{font-family:var(--serif);font-size:29px;letter-spacing:3px;color:#4a6c43;margin:0 0 18px}.portal-login-loading p{font-size:12px;line-height:2;color:#9ca98c;max-width:400px}.portal-login-loading .primary{margin-top:15px}.portal-admin-banner{display:flex;align-items:center;gap:20px;border:1px solid #e4e6d8;border-radius:14px;background:#f1f0e4;padding:25px 28px;margin-bottom:22px}.portal-admin-seal{width:57px;height:65px;display:grid;place-items:center;border:1px solid #dcdcc6;background:#f7f6ea;color:#a8a37e;border-radius:12px;flex-shrink:0}.portal-admin-seal>.portal-role-icon{height:36px;width:36px;stroke-width:1.2}.portal-admin-banner h2{font-family:var(--serif);font-size:25px;line-height:1.7;color:#75734d;margin:6px 0 5px;font-weight:600}.portal-admin-banner p{font-size:11px;color:#a0a083;margin:0;line-height:1.9}.portal-admin-banner>.primary{margin-left:auto;flex-shrink:0}.portal-admin-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:0 0 25px}.portal-admin-stats>article{display:flex;align-items:center;gap:13px;border:1px solid #e5ebdc;border-radius:11px;background:#fff;padding:18px 20px}.portal-admin-stats .portal-role-icon{width:28px;height:28px;color:#a0b18c;stroke-width:1.3}.portal-admin-stats>article>div{display:grid;gap:6px}.portal-admin-stats strong{font-family:Georgia,serif;font-size:28px;color:#7a9362;font-weight:400}.portal-admin-stats span{font-size:9px;color:#a0ac92}.portal-active-dot{width:18px;height:18px;border:5px solid #e7eedc;background:#a0b286;border-radius:50%;margin:0 5px}.portal-admin-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:23px;align-items:start}.portal-users-panel{padding:25px!important;min-width:0}.portal-users-panel>.portal-panel-title{margin-bottom:17px}.portal-users-note{font-size:10px;line-height:1.9;color:#a1ad93;margin:0 0 20px}.portal-users-panel>.portal-users-note:last-child{margin:19px 0 0}.portal-user-row{border:1px solid #e7ecdf;border-radius:10px;padding:18px 17px 2px;margin-bottom:15px;background:#fdfefb}.portal-user-heading{display:flex;align-items:center;gap:11px;margin-bottom:19px}.portal-user-role{display:grid;place-items:center;width:37px;height:40px;border-radius:9px;background:#edf4e5;color:#90a67a;flex-shrink:0}.portal-user-role.teacher{background:#f2eee0;color:#b5a16d}.portal-user-role.admin{background:#e9edf3;color:#8c9eaf}.portal-user-role>.portal-role-icon{height:24px;width:24px;stroke-width:1.4}.portal-user-heading>div{flex:1;min-width:0}.portal-user-heading strong{display:block;font-size:12px;font-weight:500;color:#71865d;overflow-wrap:anywhere;line-height:1.8}.portal-user-heading small{display:block;font-size:9px;color:#adb59c;margin-top:4px}.portal-user-state{font-size:9px;color:#90a775;background:#f0f6e8;border:1px solid #e6eedd;padding:4px 6px;border-radius:4px;white-space:nowrap}.portal-user-state.disabled{color:#b19c7a;background:#faf4e9;border-color:#efe5d0}.portal-user-form>fieldset,.portal-create-user fieldset{min-width:0;border:0;padding:0;margin:0}.portal-user-fields{display:grid;grid-template-columns:1.3fr 1fr .8fr;gap:12px}.portal-user-form .form-field label{font-size:9px;color:#a1ad91;font-weight:400}.portal-user-form .form-field input,.portal-user-form .form-field select{font-size:11px;min-height:36px;padding:7px 10px}.portal-user-form .form-field{margin-bottom:14px}.portal-user-reset{display:flex;align-items:center;gap:15px}.portal-user-reset>.form-field{flex:1;min-width:0}.portal-user-reset>.secondary{font-size:10px;min-height:34px;padding:7px 10px;flex-shrink:0;margin-top:4px}.portal-create-user{padding:23px!important;position:sticky;top:22px;min-width:0}.portal-create-user .portal-panel-title>.portal-role-icon{color:#a3b28f;width:28px;height:28px}.portal-create-user .portal-panel-title h2{font-size:16px}.portal-create-user .form-field>label{font-size:10px}.portal-create-user .form-field input,.portal-create-user .form-field select{font-size:11px}.portal-create-user .form-field>small{display:block;font-size:8px;line-height:1.9;color:#aab59d;margin:7px 0 0}.portal-create-user .teacher-note{font-size:9px;line-height:2;margin-bottom:0}.interface-english .portal-login-brand h1{letter-spacing:0;font-size:38px;line-height:1.5}.interface-english .portal-login-roles{gap:20px}.interface-english .portal-unified-login{gap:60px}.interface-english .portal-admin-layout{grid-template-columns:minmax(0,1fr) 300px}
@media(max-width:1190px){.portal-admin-layout,.interface-english .portal-admin-layout{grid-template-columns:minmax(0,1fr) 250px;gap:18px}.portal-admin-stats>article{padding:17px 15px;gap:10px}.portal-admin-stats .portal-role-icon{width:24px;height:24px}.portal-admin-stats strong{font-size:25px}.portal-users-panel{padding:22px!important}.portal-create-user{padding:20px!important}.portal-unified-login{gap:50px;max-width:920px}.portal-current-account small{max-width:65px}.topbar:has(.portal-current-account) .edition{display:none}}
@media(max-width:1000px){.portal-admin-layout,.interface-english .portal-admin-layout{grid-template-columns:1fr}.portal-create-user{position:static;order:-1}.portal-create-user form>fieldset{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.portal-create-user form .full-width{grid-column:1/-1}.portal-admin-stats{gap:10px}.portal-admin-stats>article{padding:16px 12px;gap:9px}.portal-admin-stats strong{font-size:25px}.portal-admin-banner{padding:23px;gap:17px}.portal-admin-banner h2{font-size:23px}.portal-admin-banner p{font-size:10px}.portal-current-account b{font-size:8px}.portal-current-account small{font-size:9px}.portal-current-account{gap:6px;padding:3px 5px}.portal-current-account>.portal-role-icon{width:20px;height:20px}.portal-current-account small{max-width:56px}.portal-role-switch>button[data-portal-workspace]{font-size:8px;max-width:62px;white-space:normal;line-height:1.5}.portal-auth-required .topbar{padding:0 30px}.portal-unified-login{gap:35px;grid-template-columns:1fr 1fr}.portal-login-brand h1{font-size:36px}.portal-login-roles{gap:20px}.portal-login-roles small{font-size:8px}.portal-unified-login .portal-auth-card{padding:27px!important}}
@media(max-width:720px){.portal-auth-required .topbar{height:64px;padding:0 24px}.portal-auth-required main{padding-left:24px;padding-right:24px}.portal-unified-login,.interface-english .portal-unified-login{grid-template-columns:1fr;gap:27px;margin:10px auto 30px;max-width:470px}.portal-login-brand{padding:0 8px}.portal-login-brand>.portal-login-logo{float:left;width:46px;height:46px;font-size:28px;border-radius:14px;margin:0 13px 0 0}.portal-login-brand>.portal-kicker{padding-top:4px}.portal-login-brand h1{font-size:27px;line-height:1.5;letter-spacing:1px;margin:8px 0 13px}.portal-login-brand h1 br{display:none}.portal-login-brand>p{margin:17px 0 0;font-size:10px;max-width:none}.portal-login-roles{margin-top:22px;padding-top:18px;gap:20px;max-width:none}.portal-login-roles>div{gap:6px;align-items:center;text-align:center}.portal-login-roles .portal-role-icon{height:23px;width:23px;margin-bottom:3px}.portal-login-roles strong{font-size:10px}.portal-login-roles small{font-size:8px}.portal-unified-login .portal-auth-card{padding:26px!important}.portal-unified-login .portal-auth-card h2{font-size:23px}.portal-admin-banner{padding:21px;flex-wrap:wrap;gap:15px}.portal-admin-seal{width:47px;height:55px}.portal-admin-seal>.portal-role-icon{width:30px;height:30px}.portal-admin-banner h2{font-size:23px}.portal-admin-banner>div:nth-child(2){flex:1;min-width:0}.portal-admin-banner>.primary{width:100%;margin:4px 0 0}.portal-admin-stats{grid-template-columns:1fr 1fr;gap:11px;margin-bottom:22px}.portal-admin-stats>article{padding:17px 19px;gap:15px}.portal-admin-stats strong{font-size:28px}.portal-admin-stats span{font-size:9px}.portal-users-panel{padding:21px 17px!important}.portal-user-row{padding:17px 13px 2px}.portal-user-fields{grid-template-columns:1.3fr 1fr;gap:0 10px}.portal-user-fields>.form-field:first-child{grid-column:1/-1}.portal-user-reset{gap:10px}.portal-user-reset>.secondary{font-size:9px;padding:7px 9px}.portal-user-form .form-field input,.portal-user-form .form-field select{font-size:10px}.portal-user-heading strong{font-size:11px}.portal-user-state{font-size:8px}.portal-create-user{padding:22px!important}.topbar:has(.portal-current-account) .avatar,.topbar:has(.portal-current-account) .support-toggle{display:none}.portal-current-account small{max-width:65px}.portal-current-account b{font-size:8px}.portal-role-switch .portal-logout{min-width:25px}.portal-role-switch>button[data-portal-workspace]{font-size:8px;max-width:56px;padding:4px 5px}.portal-auth-required footer{padding-left:0;padding-right:0}.interface-english .portal-login-brand h1{font-size:26px;line-height:1.5}.interface-english .portal-login-roles{gap:15px}.interface-english .portal-admin-stats span{font-size:8px}}
@media(max-width:420px){.portal-auth-required main{padding-left:20px;padding-right:20px}.portal-login-brand{padding:0 3px}.portal-login-brand h1{font-size:25px}.portal-login-brand>.portal-kicker{font-size:8px}.portal-login-brand>p{font-size:10px}.portal-unified-login .portal-auth-card{padding:23px!important}.portal-login-roles{gap:12px}.portal-create-user form>fieldset{grid-template-columns:1fr;gap:0}.portal-admin-stats>article{padding:16px;gap:12px}.portal-admin-stats .portal-role-icon{width:24px;height:24px}.portal-current-account small{max-width:43px}.portal-current-account>.portal-role-icon{width:17px;height:17px}.portal-current-account{gap:4px;padding:3px}.portal-role-switch>button[data-portal-workspace]{max-width:46px;font-size:7px}.portal-role-switch .portal-logout{min-width:21px;padding:3px!important}.portal-logout>.portal-role-icon{width:15px;height:15px}.portal-role-switch{padding:2px;gap:0}.top-actions:has(.portal-current-account){gap:5px}}
@media(max-width:720px){.topbar:has(.portal-current-account) .breadcrumb strong{display:none}}

.portal-session-checking #main,.portal-session-checking .sidebar,.portal-session-checking .bottom-world-nav{visibility:hidden}.portal-session-overlay{position:fixed;inset:0;z-index:10000;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;background:#f7f8f1;color:#44634b;padding:30px;text-align:center}.portal-session-overlay p{line-height:1.9;font-size:14px}
.portal-course-catalog,.portal-course-editor-page{max-width:1160px;margin:0 auto;min-width:0}.portal-course-catalog-actions{display:flex;justify-content:flex-end;margin-bottom:30px}.portal-published-courses>h2{font-size:21px;margin:0 0 20px}.portal-course-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:20px}.portal-course-grid>.portal-course-item{padding:24px;border:1px solid #e3e9dc;border-radius:16px;background:#fff;min-width:0}.portal-course-grid .portal-course-item-actions{flex-wrap:wrap}.portal-course-catalog .portal-list-empty{padding:40px 20px;border:1px dashed #dce4d4;border-radius:16px;background:#fbfcf8}.portal-course-editor-nav{display:flex;align-items:center;margin-bottom:18px}.portal-course-editor-nav>.ghost{padding-left:0}.portal-course-editor-page>.portal-editor{position:static;max-width:none;width:auto}.portal-course-drafts{margin-top:28px;border-top:1px solid #e3e9dc;padding-top:20px}.portal-course-drafts>summary{cursor:pointer;color:#546746;font-size:13px;padding:8px 0}.portal-course-drafts>.portal-course-grid{margin-top:16px}@media(max-width:720px){.portal-course-catalog-actions{margin-bottom:24px}.portal-course-grid{grid-template-columns:1fr}.portal-course-grid>.portal-course-item{padding:20px}.portal-published-courses>h2{font-size:18px}}
