.work-menu-modal{width:min(530px,100%)}.work-menu-list{padding:3px 0}.work-menu-item{width:100%;display:flex;align-items:center;gap:13px;text-align:left;border:0;border-radius:9px;background:#fff;padding:12px 10px;color:#28364e;font-size:13px}.work-menu-item:hover{background:#f4f7ff;color:#4779ef}.work-menu-icon{width:31px;height:31px;border-radius:9px;display:grid;place-items:center;background:#edf3ff;color:#4d7bf0;font-weight:700}.work-menu-item b{margin-left:auto;color:#a0a9b7;font-size:17px}.resource-wizard-modal{width:min(850px,100%)}.resource-type-tabs{display:flex;gap:4px;overflow-x:auto;border-bottom:1px solid #edf0f5;margin-bottom:15px;scrollbar-width:thin}.resource-type-tabs button{flex:none;border:0;background:transparent;color:#6e86bf;padding:10px 9px;font-size:10px;font-weight:700;border-bottom:2px solid transparent}.resource-type-tabs button.active{color:#3978f5;border-bottom-color:#3978f5}.wizard-steps{display:flex;align-items:center;justify-content:center;gap:10px;padding:13px 0 18px;color:#929cac;font-size:10px}.wizard-steps span{display:flex;align-items:center;gap:6px;white-space:nowrap}.wizard-steps span b{display:grid;place-items:center;width:25px;height:25px;background:#98a0ad;border-radius:50%;color:#fff}.wizard-steps span.current{color:#3978f5;font-weight:700}.wizard-steps span.current b,.wizard-steps span.done b{background:#3978f5}.wizard-steps span.done{color:#5279d8}.wizard-steps i{width:35px;height:1px;background:#e3e7ee}.wizard-body{padding:7px 2px 15px;min-height:205px}.wizard-body h3{font:700 14px Manrope;margin:4px 0 7px}.wizard-hint{color:#8290a5;font-size:10px;line-height:1.6;margin:0 0 14px}.test-kind-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}.test-kind-card{display:grid;gap:8px;text-align:left;border:1px solid #e4e9f1;border-radius:11px;background:#fff;padding:15px;color:#34425b}.test-kind-card.selected{border:1.5px solid #5790fa;background:#f7f9ff;box-shadow:0 4px 12px #386fed13}.test-kind-card .exercise-icon{margin-bottom:2px}.test-kind-card b{font:700 13px Manrope}.test-kind-card small{color:#8995a7;font-size:10px;line-height:1.5}.test-kind-card strong{font-size:10px;color:#4380f0;margin-top:3px}.resource-pick-list,.deck-list{display:grid;gap:8px;max-height:360px;overflow:auto}.resource-pick-row,.deck-row{width:100%;display:flex;align-items:center;gap:10px;text-align:left;background:#fff;border:1px solid #e8ecf3;border-radius:10px;padding:10px}.resource-pick-row:hover{background:#f7f9ff;border-color:#cbd9fb}.resource-pick-row>span:nth-child(2),.deck-name{min-width:0;flex:1}.resource-pick-row b,.deck-name b{display:block;font-size:11px;color:#3c4b65}.resource-pick-row small,.deck-name small{display:block;margin-top:4px;font-size:9px;color:#909bac}.pick-action{font-size:10px;color:#4e7bf5;font-weight:700;white-space:nowrap}.deck-row .btn{flex:none}
@media(max-width:760px){.resource-type-tabs button{font-size:9px;padding:9px 7px}.wizard-steps{gap:5px;font-size:8px}.wizard-steps i{width:15px}.wizard-steps span{gap:4px}.wizard-steps span b{width:21px;height:21px}.test-kind-grid{grid-template-columns:1fr}.wizard-body{min-height:0}.work-menu-item{padding:10px 8px}.resource-pick-row{padding:8px}}
.student-profile-modal{width:min(700px,100%);max-height:calc(100vh - 40px);overflow:auto}.student-profile-modal [hidden]{display:none!important}@media(max-width:760px){.student-profile-modal{padding:18px}}
.resource-toolbar{flex-wrap:wrap;justify-content:flex-end}.resource-toolbar .search-box{margin-right:auto}.resource-toolbar .select{min-width:138px}@media(max-width:1100px){.resource-toolbar{justify-content:flex-start}.resource-toolbar .search-box{flex-basis:100%;margin:0}.resource-toolbar .search-box input{width:100%}}@media(max-width:760px){.resource-toolbar .select{flex:1;min-width:calc(50% - 8px)}.resource-toolbar #addLibraryResource{flex:1}}
.resource-detail-modal{width:min(560px,100%)}.resource-detail-content{display:grid;grid-template-columns:1fr 1fr;gap:15px}.resource-detail-content>div{display:grid;gap:5px}.resource-detail-content .full{grid-column:1/-1}.resource-detail-content small{font-size:10px;color:var(--muted)}.resource-detail-content b,.resource-detail-content p,.resource-detail-content li{font-size:12px;color:#46546c}.resource-detail-content p{line-height:1.55;margin:0;overflow-wrap:anywhere}.resource-detail-content ul{list-style:none;margin:0;padding:0}.resource-detail-content li{display:flex;justify-content:space-between;gap:12px;padding:9px 0;border-bottom:1px solid var(--line)}.resource-detail-content li span{color:#8490a4;text-align:right}@media(max-width:600px){.resource-detail-content{grid-template-columns:1fr}.resource-detail-content .full{grid-column:auto}}
@media(max-width:1100px){.resource-toolbar .select{flex:1;min-width:calc(50% - 8px)}.resource-toolbar #addLibraryResource{flex:1}}
.exercise-guide{grid-column:1/-1;padding:11px 14px;border:1px solid #e3e9f7;border-radius:9px;background:#f2f5fc;color:#334e85;font-size:11px;line-height:1.6}.exercise-guide b{display:block;margin-bottom:5px}.exercise-guide p{margin:2px 0}.required-mark{color:#f05d69;font-style:normal}.rich-editor{border:1px solid #e3e8f0;border-radius:9px;overflow:hidden;background:#fff}.rich-toolbar{display:flex;align-items:center;gap:3px;flex-wrap:wrap;padding:7px;border-bottom:1px solid #e9edf3;background:#fafbfc}.rich-toolbar button{border:0;background:transparent;color:#53617a;border-radius:5px;min-width:27px;height:27px;font-size:13px}.rich-toolbar button:hover{background:#edf2ff;color:#4778f5}.rich-toolbar select{height:27px;border:0;background:transparent;color:#627089;font-size:10px}.rich-content{min-height:200px;max-height:420px;overflow:auto;padding:13px;font-size:12px;line-height:1.65;outline:none}.rich-content:empty:before{content:attr(data-placeholder);color:#a0a8b5}.rich-content img{max-width:100%;height:auto}.rich-content table{border-collapse:collapse;width:100%}.rich-content td{border:1px solid #dce2ec;padding:6px}.audio-upload{min-height:72px;border-radius:9px;background:linear-gradient(90deg,#f6f8fb,#f1f4f9);display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap;padding:12px}.audio-upload>span{color:#d6dce6;letter-spacing:3px;font-size:25px}.audio-upload small{flex-basis:100%;text-align:center;color:#98a2b2;font-size:10px}.audio-upload label{cursor:pointer}.drive-links{min-height:76px!important;background:#f7f8fa!important}.field-hint,.field-warning{font-size:10px;line-height:1.5}.field-hint{color:#909bad}.field-warning{color:#da7a24}.resource-wizard-modal{max-height:calc(100vh - 32px);overflow:auto}
.dictation-mode-cards{display:grid;grid-template-columns:1fr 1fr;gap:9px}.dictation-mode-card{border:1px solid #e3e8f0;border-radius:9px;background:#fff;text-align:left;padding:12px;color:#43516a}.dictation-mode-card.selected{border-color:#4d7df4;background:#edf3ff;box-shadow:0 0 0 1px #4d7df4}.dictation-mode-card b,.dictation-mode-card small{display:block}.dictation-mode-card small{color:#8894a8;font-size:10px;margin-top:5px}.audio-source-card{display:grid;gap:8px;padding:13px;border:1px solid #e8ecf2;border-radius:10px;background:#f8f9fb}.audio-source-card>b,.audio-source-card>label,.link-source-row>label{font-size:10px;color:#526078}.audio-source-card>small{font-size:9px;color:#8c97a8}.link-source-row{display:grid;grid-template-columns:100px 1fr 1fr auto;gap:7px;align-items:center;padding-top:9px;border-top:1px solid #e7eaf0}.link-source-row>span,.link-source-row>small{grid-column:1/-1;font-size:10px;color:#8c97a8}.link-source-row input,.link-source-row select{min-width:0;border:1px solid #e3e8ef;border-radius:7px;padding:9px;font-size:11px}.section-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.transcript-line{display:grid;grid-template-columns:28px 1fr 32px;gap:8px;align-items:center;margin:8px 0}.transcript-line>span{color:#8290a5;font-size:11px}.transcript-line textarea{min-height:54px}.transcript-line button{border:0;background:transparent;color:#9aa5b6;font-size:18px}.transcript-empty{border:1px dashed #e2e7ef;border-radius:9px;padding:24px;text-align:center;color:#8793a6;font-size:11px;margin:8px 0}.transcript-empty small{display:block;margin-top:5px}.dictation-settings{border:1px solid #eceff4;border-radius:10px;padding:14px}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:12px;font-size:10px}.settings-grid>div{display:grid;gap:8px;align-content:start}.settings-grid label{font-size:10px;color:#4f5d75}.settings-grid label input[type=number]{width:55px;padding:5px;border:1px solid #e4e8ef;border-radius:6px}.setting-toggle{display:flex;align-items:center;gap:7px;font-weight:600!important}.setting-toggle input{accent-color:#4778f5}.settings-grid p{margin:2px 0;color:#8894a8}@media(max-width:760px){.dictation-mode-cards,.settings-grid{grid-template-columns:1fr}.link-source-row{grid-template-columns:1fr 1fr}.link-source-row>span,.link-source-row>small{grid-column:1/-1}.section-title-row{flex-direction:column}}
.dictation-settings{padding:20px 22px;background:#fff}.dictation-settings>h3{font-size:18px;margin:0 0 5px;color:#333}.dictation-settings>.field-hint,.dictation-settings>small{display:block;color:#939393;font-size:12px;margin-bottom:20px}.dictation-settings .settings-grid{grid-template-columns:1fr 1fr;gap:48px;align-items:start;margin-top:0}.dictation-settings .settings-grid>div{display:grid;grid-template-columns:1fr;gap:9px;align-content:start;min-width:0}.dictation-settings .settings-grid>div:first-child{grid-template-columns:1fr 1fr}.dictation-settings .settings-grid>div:first-child>.setting-toggle,.dictation-settings .settings-grid>div:first-child>p,.dictation-settings .settings-grid>div:first-child>.setting-note{grid-column:1/-1}.dictation-settings .setting-toggle{display:flex;flex-direction:row-reverse;justify-content:space-between;align-items:center;gap:12px;font-size:16px!important;color:#353535!important;font-weight:500!important;margin:2px 0}.dictation-settings .setting-toggle input[type=checkbox]{appearance:none;-webkit-appearance:none;width:49px;height:26px;flex:0 0 49px;margin:0;border-radius:20px;background:#d5d8de;position:relative;cursor:pointer;transition:background .15s}.dictation-settings .setting-toggle input[type=checkbox]:after{content:"";position:absolute;width:20px;height:20px;left:3px;top:3px;border-radius:50%;background:white;box-shadow:0 1px 2px #0002;transition:transform .15s}.dictation-settings .setting-toggle input[type=checkbox]:checked{background:#3977ec}.dictation-settings .setting-toggle input[type=checkbox]:checked:after{transform:translateX(23px)}.dictation-settings .settings-grid>div:first-child>p{font-size:15px;color:#353535;margin:4px 0 0}.dictation-settings .settings-grid>div:first-child>label:not(.setting-toggle){display:flex;align-items:flex-start;gap:7px;font-size:14px!important;line-height:1.45;color:#373737!important;min-width:0}.dictation-settings input[type=radio]{accent-color:#3977ec;flex:0 0 auto;margin:4px 0 0}.dictation-settings .settings-grid>div:first-child>label:not(.setting-toggle) select[name="attempts"]{width:58px;min-width:0;padding:5px;border:1px solid #dfe3e9;border-radius:5px;background:white;color:#373737}.dictation-settings .setting-note{border-left:3px solid #3977ff;padding:7px 12px;color:#586070;font-size:13px;line-height:1.5;margin:2px 0 14px}.dictation-settings .settings-grid>div:last-child .setting-toggle{margin-top:3px}.dictation-settings .settings-grid>div:last-child .setting-note{margin-bottom:16px}.dictation-settings .settings-grid input:disabled{opacity:.45}@media(max-width:760px){.dictation-settings .settings-grid{grid-template-columns:1fr;gap:20px}.dictation-settings{padding:16px}.dictation-settings .setting-toggle{font-size:14px!important}.dictation-settings .settings-grid>div:first-child>label:not(.setting-toggle){font-size:12px!important}}
.dictation-settings .settings-grid>div:first-child.attempt-settings{display:flex;flex-direction:column;gap:10px;min-width:0}.attempt-settings>p{font-size:15px;color:#353535;margin:4px 0 0}.attempt-options{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);gap:12px;align-items:start;width:100%}.attempt-choice{display:grid;grid-template-columns:18px minmax(0,1fr);column-gap:8px;row-gap:7px;align-items:start;min-width:0;font-size:14px!important;line-height:1.45;color:#373737!important}.attempt-choice input[type=radio]{grid-column:1;grid-row:1;margin:4px 0 0;accent-color:#3977ec}.attempt-choice span{grid-column:2;grid-row:1;overflow-wrap:anywhere}.attempt-choice select[name=attempts]{grid-column:2;grid-row:2;width:64px;min-width:64px;padding:6px;border:1px solid #dfe3e9;border-radius:6px;background:#fff;color:#373737}.attempt-choice:first-child{padding-top:2px}@media(max-width:760px){.attempt-options{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px}.attempt-choice{font-size:12px!important}}
.test-wizard-steps{gap:7px;font-size:10px;justify-content:space-between;padding:14px 3px 20px}.test-wizard-steps span{gap:5px}.test-wizard-steps span b{width:28px;height:28px;flex:none}.test-wizard-steps i{flex:1;width:auto;min-width:12px}.test-skill-options{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.test-skill-option{min-height:46px;border:1px solid #e2e7ef;border-radius:10px;background:#fff;color:#4c5b73;font-weight:700}.test-skill-option.selected{border-color:#4a80f4;color:#3978f5;background:#f0f5ff;box-shadow:0 3px 10px #4778f51a}.test-upload-card{display:grid;gap:13px}.test-upload-drop{min-height:150px;border:1.5px dashed #a9c1fa;border-radius:14px;background:#f8faff;display:grid;place-items:center;align-content:center;gap:8px;text-align:center;color:#3e78ed;cursor:pointer;padding:20px}.test-upload-drop>span{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#e8f0ff;font-size:25px}.test-upload-drop small{color:#8b96a9}.test-prep-guide{border:1px solid #e7ebf1;border-radius:10px;background:#f8f9fb;padding:13px 16px;color:#5d6b81;font-size:11px;line-height:1.6}.test-prep-guide b{display:block;color:#34425a;margin-bottom:4px}.test-prep-guide p{margin:2px 0}.test-align-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.ai-demo-badge{white-space:nowrap;border-radius:20px;background:#edf3ff;color:#477bf1;padding:7px 11px;font-size:10px;font-weight:700}.test-align-toolbar{display:flex;justify-content:space-between;align-items:center;padding:10px 12px;margin:10px 0 14px;border-radius:9px;background:#f6f8fc;color:#61718a;font-size:11px}.test-skill-hint{padding:10px 13px;border-left:3px solid #477cff;background:#f6f8ff;color:#5d6980;font-size:11px;line-height:1.6;margin-top:11px}.test-overview-card{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;border:1px solid #e5eaf2;border-radius:12px;overflow:hidden}.test-overview-card>div{display:grid;gap:6px;padding:13px 15px;border-bottom:1px solid #edf0f5}.test-overview-card small{color:#8995a8;font-size:9px;font-weight:700;letter-spacing:.04em}.test-overview-card b{color:#34415a;font-size:12px}.test-overview-preview{margin-top:12px;border:1px solid #e8ecf2;border-radius:11px;padding:13px}.test-overview-preview>b{font-size:11px}.test-overview-preview pre{white-space:pre-wrap;max-height:180px;overflow:auto;margin:9px 0 0;color:#67738a;font:11px/1.6 inherit}.resource-wizard-modal:has(.test-wizard-steps){width:min(920px,100%)}
@media(max-width:760px){.test-wizard-steps{overflow:auto;justify-content:flex-start}.test-wizard-steps span{font-size:8px}.test-wizard-steps i{min-width:12px}.test-skill-options{grid-template-columns:repeat(2,minmax(0,1fr))}.test-align-head{display:block}.ai-demo-badge{display:inline-flex;margin-bottom:10px}.test-overview-card{grid-template-columns:1fr}}
.test-skill-setup{display:grid;gap:8px;padding:13px;border:1px solid #e6ebf2;border-radius:11px;background:#fff;margin-bottom:13px}.test-skill-setup>b{font:700 12px Manrope;color:#35435b;margin-bottom:2px}.test-skill-setup input,.test-skill-setup textarea,.test-skill-setup select,.test-question-card input,.test-question-card textarea{width:100%;min-width:0}.test-skill-setup textarea{min-height:72px}.recognized-question-list{display:grid;gap:10px;margin-top:13px}.recognized-question-heading{display:grid;gap:3px}.recognized-question-heading b{font-size:12px;color:#35435b}.recognized-question-heading small{font-size:10px;color:#8995a7}.test-question-card{display:grid;gap:7px;border:1px solid #e7ebf2;background:#fff;border-radius:10px;padding:11px}.test-question-card-head{display:flex;align-items:center;justify-content:space-between;color:#43516a;font-size:11px}.test-question-card-head span{font-size:9px;color:#8492a7}.test-question-card>label,.test-skill-setup>label{font-size:10px;font-weight:700;color:#67758c}.test-question-card .field{gap:4px}.test-rubric{display:grid;gap:8px;border:1px solid #e8ebf1;border-radius:10px;padding:12px}.test-rubric textarea{width:100%;min-height:90px}.test-overview-card input{width:100%;border:1px solid #e2e7ef;border-radius:7px;padding:8px;color:#34415a;font-size:12px}
.test-group-tabs{display:flex;gap:5px;overflow:auto;padding:0 0 10px;border-bottom:1px solid #edf0f5;margin:0 0 12px}.test-group-tabs button{white-space:nowrap;border:0;border-bottom:2px solid transparent;background:transparent;color:#75829a;padding:9px 13px;font-size:11px;font-weight:700}.test-group-tabs button.selected{color:#3978f5;border-bottom-color:#3978f5;background:#f5f8ff;border-radius:8px 8px 0 0}
.test-genre-options{grid-template-columns:repeat(2,minmax(0,1fr));max-width:520px}
.periodic-type-picker{margin-top:14px;padding:14px;border:1px solid #e6ebf2;border-radius:11px;background:#fafbfe}.periodic-type-picker select{width:min(520px,100%)}.periodic-type-picker small{display:block;margin-top:6px;color:#8995a8;font-size:10px}.periodic-selected-skill{max-width:520px;padding:12px 14px;border:1px solid #e3e8f0;border-radius:9px;background:#f7f9fc;color:#3e4d65;font-weight:700}

/* Test wizard: time limit and answer key inputs */
.test-time-limit{border:1px solid #e6ebf2;border-radius:12px;padding:14px;background:#fbfcfe}
.test-time-limit>label,.answer-key-box>label{display:block;font-weight:700;color:#34415a;margin-bottom:9px}
.time-limit-options{display:flex;align-items:center;gap:18px;flex-wrap:wrap}
.time-limit-options>label{display:inline-flex;align-items:center;gap:8px;color:#4d5a70;font-size:13px}
.time-limit-options input[type=radio]{accent-color:#3978f6}
.time-limit-minutes{display:flex;align-items:center;gap:8px;min-width:180px}
.time-limit-minutes>label{white-space:nowrap;font-size:12px;color:#67758c}
.time-limit-minutes input{max-width:120px}
.answer-key-box{display:grid;gap:8px;border:1px solid #e6ebf2;border-radius:12px;padding:14px;background:#fbfcfe}
.answer-key-box>label{margin:0}
.answer-key-box textarea{width:100%;min-height:110px}
.answer-key-upload{display:inline-flex;align-items:center;justify-content:center;gap:8px;width:max-content;max-width:100%;padding:9px 14px;border:1px dashed #9cb9ff;border-radius:9px;color:#3978f6;background:#f4f7ff;font-size:12px;font-weight:700;cursor:pointer}
.answer-key-upload:hover{background:#eaf0ff}

/* Vocabulary workspace */
.vocab-tabs{display:flex;gap:8px;border-bottom:1px solid #e5eaf2;margin:0 0 18px;padding:0 4px}
.vocab-tabs button{border:0;background:transparent;color:#74829a;font:700 13px Manrope;padding:12px 16px;border-bottom:3px solid transparent;cursor:pointer}
.vocab-tabs button.active{color:#3978f6;border-color:#3978f6}
.vocab-top-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.vocab-top-actions .vocab-search{min-width:220px}
.vocab-assign{background:#ff963d!important;color:#fff!important;border-color:#ff963d!important}
.vocab-search{display:flex;align-items:center;gap:10px;padding:0 13px;background:#f5f7fb;border:1px solid #e4e9f1;border-radius:10px;min-height:44px;color:#93a0b3}
.vocab-search input{border:0!important;background:transparent!important;outline:0!important;min-width:150px;color:#34415a}
.vocab-set-layout{display:grid;grid-template-columns:minmax(260px,330px) minmax(0,1fr);border:1px solid #e2e8f0;border-radius:16px;background:#fff;min-height:590px;overflow:hidden}
.vocab-folder-pane{padding:18px;border-right:1px solid #e2e8f0;background:#fbfcfe}
.vocab-pane-head,.vocab-list-head{display:flex;align-items:center;justify-content:space-between;gap:10px}
.vocab-pane-head{padding:2px 0 15px;color:#34415a}
.vocab-pane-head span,.vocab-list-head small{color:#91a0b5;font-weight:500}
.vocab-folder-list{display:grid;gap:12px}
.vocab-folder-card{position:relative;border:1px solid #e4e9f1;border-radius:12px;background:#fff;overflow:hidden;padding:10px}
.vocab-folder-card.selected{border-color:#8fb0ff;box-shadow:0 0 0 2px #edf3ff}
.vocab-folder-select{display:grid;grid-template-columns:38px 1fr auto;align-items:center;gap:10px;width:100%;text-align:left;border:0;background:transparent;padding:8px 58px 8px 8px;color:#35445a;cursor:pointer}
.vocab-folder-select b{font-size:14px}.vocab-folder-select small,.vocab-subfolder small{color:#91a0b5;font-size:11px}
.vocab-folder-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:10px;background:#edf3ff;color:#3978f6;font-size:21px}
.vocab-folder-actions{display:flex;justify-content:flex-end;gap:4px;position:absolute;right:10px;top:19px;pointer-events:none}
.vocab-folder-actions button{pointer-events:auto;border:0;background:#fff;color:#8492a7;border-radius:7px;padding:4px 8px;cursor:pointer}
.vocab-subfolder{display:flex;align-items:center;gap:8px;width:100%;margin-top:7px;padding:9px 8px 9px 18px;border:0;border-radius:8px;background:#f7f9fc;color:#53627a;text-align:left;cursor:pointer}
.vocab-subfolder.selected{background:#eaf1ff;color:#3978f6;font-weight:700}
.vocab-subfolder small{margin-left:auto}
.vocab-create-set{width:100%;margin-top:14px;padding:12px;border:1px dashed #8fb0ff;border-radius:10px;color:#3978f6;background:#f5f8ff;font-weight:700;cursor:pointer}
.vocab-set-content{padding:20px;min-width:0}
.vocab-folder-banner{display:flex;align-items:center;justify-content:space-between;min-height:120px;padding:22px 26px;border-radius:14px;background:linear-gradient(115deg,#deebff,#f2f6ff);color:#34415a}
.vocab-folder-banner h2{margin:0;font:800 24px Manrope}.vocab-folder-banner span{color:#ed8531;font-weight:700}
.vocab-list-head{margin:22px 0 14px;flex-wrap:wrap}.vocab-list-head h2{margin:0 auto 0 0;font:700 17px Manrope;color:#35445a}
.vocab-list-head select{height:42px;min-width:170px;border:1px solid #e2e8f0;border-radius:9px;padding:0 12px;background:#fff;color:#4a5870}
.vocab-deck-cards{display:grid;gap:13px}
.vocab-deck-card{position:relative;padding:22px 24px;border-radius:15px;background:linear-gradient(115deg,#e6f7f5,#f0fbfa);min-height:158px;color:#35445a}
.vocab-deck-card:nth-child(even){background:linear-gradient(115deg,#e9f4ff,#f4f9ff)}
.vocab-deck-card h3{margin:0 44px 8px 0;font:800 20px Manrope}.vocab-deck-card p{margin:0;color:#8292a7;line-height:1.55;max-width:850px}
.vocab-deck-more{position:absolute;right:18px;top:16px;border:0;background:transparent;font-size:20px;cursor:pointer;color:#53627a}
.vocab-deck-meta{display:flex;align-items:center;gap:10px;margin-top:18px}.vocab-deck-meta span{padding:7px 13px;border-radius:22px;background:#fff;color:#53627a;font-weight:600;font-size:12px}
.vocab-storage{border:1px solid #e5eaf2;border-radius:15px;background:#f7f9fc;padding:18px}
.vocab-storage-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}
.vocab-storage-head .vocab-search{flex:1;background:#fff;border-radius:30px}
.vocab-table-wrap{overflow:auto;background:#fff;border-radius:12px}
.vocab-table{width:100%;border-collapse:collapse;min-width:720px}
.vocab-table th{padding:13px 15px;text-align:left;background:#e3f2d7;color:#425536;font-size:12px;white-space:nowrap}
.vocab-table td{padding:13px 15px;border-top:1px dashed #d2d9e2;color:#3b4658;font-size:13px}
.vocab-table td:first-child{font-weight:700;color:#26344a}.vocab-ipa{font-family:monospace;color:#64748b}
.vocab-table .text-link{font-size:20px}
.vocab-count{text-align:right;color:#8492a7;font-size:12px;padding:13px 3px 0}
.vocab-detail-modal{max-width:680px}
.vocab-full-card{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.vocab-full-card>div{padding:13px;border:1px solid #e5eaf2;border-radius:10px;background:#fbfcfe}
.vocab-full-card small{font-weight:800;font-size:10px;letter-spacing:.04em;color:#8a97aa}
.vocab-full-card p{margin:6px 0 0;color:#34415a;line-height:1.5;white-space:pre-wrap}
@media(max-width:900px){.vocab-set-layout{grid-template-columns:1fr}.vocab-folder-pane{border-right:0;border-bottom:1px solid #e2e8f0}.vocab-list-head{align-items:stretch}.vocab-list-head h2{width:100%}}
@media(max-width:600px){.vocab-top-actions{width:100%}.vocab-top-actions>*{flex:1}.vocab-set-content,.vocab-folder-pane{padding:13px}.vocab-folder-banner{min-height:90px;padding:17px}.vocab-folder-banner h2{font-size:20px}.vocab-storage{padding:10px}.vocab-full-card{grid-template-columns:1fr}.vocab-storage-head{align-items:stretch;flex-direction:column}}
.vocab-subfolder-row{display:flex;align-items:center;gap:4px;margin-top:7px;padding-right:5px;border-radius:8px;background:#f7f9fc}
.vocab-subfolder-row .vocab-subfolder{margin:0;flex:1;min-width:0}
.vocab-folder-kebab{border:0;background:transparent;color:#78869a;font-size:17px;padding:7px;cursor:pointer}
.vocab-action-menu{max-width:440px}
.vocab-action-options{display:grid;gap:8px}
.vocab-action-options button{width:100%;padding:13px 15px;border:1px solid #e5eaf2;border-radius:9px;background:#fff;color:#34415a;text-align:left;font-weight:600}
.vocab-action-options button:hover{background:#f5f8ff;border-color:#b9ccff}
.vocab-action-options .danger-action{color:#d9535d}
.vocab-unfiled-words{padding:18px;border:1px dashed #cbd6e5;border-radius:12px;background:#fbfcfe}
.vocab-unfiled-words h3{margin:0 0 12px;color:#34415a;font:700 14px Manrope}
.vocab-unfiled-words h3 small{font-weight:500;color:#91a0b5}
.vocab-unfiled-words>div{display:flex;flex-wrap:wrap;gap:8px}
.vocab-word-chip{display:grid;gap:3px;padding:9px 12px;border:1px solid #e4eaf2;border-radius:9px;background:#fff;text-align:left;color:#35445a}
.vocab-word-chip span{font-size:11px;color:#8995a7}

/* Flashcard set review flow */
.vocab-deck-card{padding-right:52px}
.vocab-deck-title{display:block;border:0;background:transparent;padding:0;text-align:left;color:#26364d;font:800 20px Manrope;cursor:pointer;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.vocab-deck-progress{display:flex;align-items:center;gap:10px;margin-top:13px;color:#53627a;font-size:12px;font-weight:700}
.vocab-deck-progress>i,.study-progress-track{display:block;flex:1;height:7px;border-radius:10px;background:#dce4ee;overflow:hidden}
.vocab-deck-progress>i>b,.study-progress-track>i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#4b7df5,#28b98a)}
.vocab-deck-foot{display:flex;justify-content:space-between;gap:10px;margin-top:9px;color:#77869b;font-size:11px}
.vocab-deck-select{position:absolute;top:15px;right:51px;width:23px;height:23px;border:2px solid #a8b5c7;border-radius:7px;background:#fff;color:#fff;font-weight:800;z-index:1}
.vocab-deck-select.checked{background:#3978f6;border-color:#3978f6}
.vocab-deck-card.selected{outline:2px solid #3978f6}
.flashcard-detail-page{max-width:1120px;margin:0 auto;padding:4px 0 40px}
.flashcard-back{border:0;background:transparent;color:#68778e;padding:8px 2px;margin-bottom:16px;font-weight:700}
.flashcard-detail-title{display:flex;align-items:center;gap:15px;margin-bottom:18px}
.flashcard-detail-kebab{width:40px;height:40px;flex:none;border:1px solid #e2e8f0;border-radius:10px;background:#fff;color:#53627a;font-size:21px}
.flashcard-detail-title h1{margin:0;font:800 27px Manrope;color:#26364d}
.flashcard-detail-title p{margin:5px 0 0;color:#8895a8;font-size:12px}
.flashcard-detail-stats{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap;margin-left:auto}
.flashcard-detail-stats span{padding:8px 11px;border:1px solid #e4eaf2;border-radius:20px;background:#fff;color:#617087;font-size:11px}
.flashcard-mode-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px;margin:14px 0 8px}
.flashcard-mode{display:flex;align-items:center;justify-content:center;gap:9px;padding:13px 10px;border:1px solid #e4e9f1;border-radius:10px;background:#fff;color:#53627a;font-weight:700}
.flashcard-mode>span{color:#3978f6}.flashcard-mode.active{border-color:#9eb8ff;background:#edf3ff;color:#3978f6;box-shadow:0 3px 10px #3978f515}
.flashcard-mode-hint{margin:0 0 13px;color:#8996a9;font-size:12px}
.study-workspace{padding:15px;border:1px solid #e3e8f0;border-radius:16px;background:#f6f8fc}
.study-card-progress{display:flex;align-items:center;gap:12px;color:#6d7b90;font-size:11px;font-weight:700;margin-bottom:12px}
.study-card-face{width:100%;min-height:330px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:35px;border:1px solid #e1e7ef;border-radius:18px;background:#fff;box-shadow:0 10px 28px rgba(30,50,90,.07);color:#283750;cursor:pointer}
.study-card-face.flipped{background:linear-gradient(145deg,#fff,#f5f8ff)}
.study-card-topline{position:absolute;align-self:flex-end;margin:-285px 0 0;color:#95a1b3;font-size:11px}
.study-card-term{font:800 32px Manrope;text-align:center;max-width:100%;overflow-wrap:anywhere}
.study-card-pos{color:#8794a8;font-size:14px;text-align:center}
.study-card-definition{max-width:680px;color:#53627a;text-align:center;line-height:1.55}
.study-card-example{max-width:700px;margin-top:6px;padding:12px 16px;border-left:3px solid #6a91ff;background:#f4f7ff;color:#52617a;line-height:1.55}
.dictation-answer{width:min(420px,100%);padding:11px 13px;border:1px solid #dfe6ef;border-radius:9px;background:#fff}
.study-card-actions{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;padding-top:12px}
.flashcard-word-list{margin-top:22px;padding:18px;border:1px solid #e4e9f1;border-radius:14px;background:#fff}
.flashcard-word-list-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:13px}
.flashcard-word-list-head h2{margin:0;font:750 17px Manrope}.flashcard-word-list-head p{margin:4px 0 0;color:#8a97aa;font-size:11px}
.flashcard-word-list-head select{padding:9px 12px;border:1px solid #e2e8f0;border-radius:9px;background:white;color:#53627a}
.flashcard-word-link{border:0;background:transparent;color:#2f6fe7;font-weight:700;padding:0;text-align:left}
@media(max-width:850px){.flashcard-detail-title{align-items:flex-start;flex-wrap:wrap}.flashcard-detail-stats{width:100%;justify-content:flex-start;margin-left:55px}.flashcard-mode-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.study-card-face{min-height:270px}}
@media(max-width:560px){.flashcard-detail-title h1{font-size:21px}.study-card-face{padding:22px;min-height:240px}.study-card-topline{margin-top:-200px}.study-card-term{font-size:26px}.flashcard-word-list{padding:12px}}
.practice-page{max-width:1050px;margin:0 auto;padding:4px 0 40px;color:#283750}.practice-topline{display:flex;align-items:center;justify-content:space-between;gap:12px}.practice-progress{display:flex;align-items:center;gap:13px;margin:14px 0 22px;color:#738198;font-size:12px;font-weight:700}.practice-progress>i{height:8px;flex:1;border-radius:20px;background:#e6ebf3;overflow:hidden}.practice-progress>i>b{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#4d7ef4,#54c4ad)}.practice-title{text-align:center;font:800 26px Manrope;color:#27364d;margin:18px 0}.reading-audio{display:flex;align-items:center;gap:14px;padding:13px 16px;border:1px solid #e3e8f0;border-radius:13px;background:#f7f9fc}.audio-round{width:42px;height:42px;border:0;border-radius:50%;background:#3978f6;color:#fff;font-size:17px}.reading-audio>div{display:grid;gap:3px;flex:1}.reading-audio small{font-size:11px;color:#8a96a9}.reading-audio select,.reading-tools select{padding:9px 12px;border:1px solid #e1e6ee;border-radius:9px;background:white;color:#53627a}.reading-tools{display:flex;justify-content:space-between;gap:10px;margin:13px 0}.reading-word-bank{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0;padding:13px;border:1px solid #dfe8fa;border-radius:10px;background:#f6f9ff}.reading-word-bank span{padding:6px 10px;border-radius:20px;background:#e7efff;color:#3978eb;font-size:12px;font-weight:700}.reading-passage-card,.reading-questions{margin:15px 0;padding:18px 20px;border:1px solid #e5eaf2;border-radius:14px;background:#fff}.reading-passage-card h2,.reading-questions h2{font:750 16px Manrope;color:#34435b;margin:0 0 12px}.reading-passage-text{font-size:15px;line-height:2.1;color:#36445b}.reading-passage-text p{margin:9px 0}.reading-blank{width:min(170px,28vw);height:32px;padding:4px 8px;border:0;border-bottom:2px solid #8ea8df;background:#f5f8ff;text-align:center;color:#34435b;font:600 13px inherit;border-radius:5px 5px 0 0}.reading-inline-tools{white-space:nowrap}.reading-inline-tools button{border:0;background:transparent;color:#7890c1;padding:4px;cursor:pointer}.reading-translation{display:block;margin-top:-4px;color:#8693a8;font-size:12px}.reading-question{padding:14px 0;border-top:1px solid #edf0f5}.reading-question>b{font-size:13px;color:#3c4b63}.reading-question>div{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:10px}.reading-option{display:flex;align-items:center;gap:8px;padding:10px 12px;border:1px solid #e3e8f0;border-radius:9px;color:#52617a;font-size:12px}.reading-option input{accent-color:#3978f6}.reading-option.correct{border-color:#32bb87;background:#eefaf5}.practice-footer{display:flex;align-items:center;justify-content:flex-end;gap:9px;padding:10px 2px;color:#8290a5;font-size:12px}.practice-footer>span{margin-right:auto}.practice-result-banner{display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:10px;background:#eef7ff;color:#3a6fc3;font-weight:700}.practice-result-banner .btn{margin-left:auto}.drill-card{max-width:720px;margin:34px auto 16px;padding:30px 34px;border:1px solid #e2e8f0;border-radius:18px;background:#fff;box-shadow:0 12px 34px #24395710;text-align:center}.drill-word-type{color:#8491a5;font-size:12px;text-align:left}.drill-prompt{min-height:80px;display:grid;place-items:center;font:800 26px/1.4 Manrope;color:#2d3c55;margin:16px 0 25px}.drill-card>input,.practice-answer-row>input{width:100%;padding:14px 16px;border:1px solid #dfe5ee;border-radius:11px;background:#fff;color:#34425a;font-size:15px;text-align:center}.drill-card>input:focus,.practice-answer-row>input:focus{outline:2px solid #c7d7ff;border-color:#7297f6}.drill-actions{display:grid;gap:9px;margin-top:14px}.drill-actions .btn{width:100%;min-height:44px}.drill-feedback{padding:12px;margin-top:13px;border-radius:9px;font-size:13px}.drill-feedback.correct{background:#edfaf4;color:#20825f}.drill-feedback.incorrect{background:#fff5ef;color:#b8662c}.practice-counts{text-align:center;color:#8c98aa;font-size:12px}.dictation-settings-row{display:flex;align-items:center;justify-content:space-between;gap:10px}.switch-line{display:flex;align-items:center;gap:9px;color:#5e6c82;font-size:12px}.switch-line input{accent-color:#3978f6}.drill-instruction{margin:24px 0 14px;color:#56657d;font-weight:700}.practice-audio-button{width:84px;height:84px;margin:0 auto 14px;border:0;border-radius:50%;background:#edf3ff;color:#3978f6;font-size:34px}.dictation-controls{display:flex;justify-content:center;gap:18px;margin:4px 0 18px;color:#6c7b92;font-size:11px}.dictation-controls label{display:flex;align-items:center;gap:7px}.dictation-controls select{padding:7px 9px;border:1px solid #e0e6ef;border-radius:8px;background:#fff;color:#52617a}.practice-answer-row{display:flex;gap:8px}.practice-answer-row>input{text-align:left}.practice-complete{text-align:center;padding-top:70px}.practice-complete-mark{width:68px;height:68px;margin:10px auto;border-radius:50%;display:grid;place-items:center;background:#e8f8f1;color:#23a878;font-size:32px}.practice-complete h1{font:800 26px Manrope}.practice-complete p{color:#8491a5;margin-bottom:22px}
@media(max-width:760px){.practice-page{padding-top:0}.practice-title{font-size:21px}.reading-passage-card,.reading-questions{padding:14px}.reading-question>div{grid-template-columns:1fr}.practice-footer{flex-wrap:wrap}.practice-footer>span{flex-basis:100%}.drill-card{margin:22px auto 14px;padding:22px 17px}.drill-prompt{font-size:22px}.dictation-controls{flex-wrap:wrap}}
.drill-actions kbd{display:inline-grid;place-items:center;margin-left:7px;padding:2px 7px;border-radius:5px;background:#e9eef8;color:#596b85;font:700 11px Manrope;vertical-align:middle}.drill-actions .answered-correctly{width:100%;min-height:44px;background:#f8fafc;border:1px solid #e1e7f0;color:#394966}.drill-answer-reveal{margin-top:13px;padding:14px 16px;border-radius:11px;background:#fff2ee;border:1px solid #ffd3c6;text-align:left;color:#61473f}.drill-answer-reveal h3{margin:0 0 9px;font:750 16px Manrope;color:#65382e}.drill-answer-reveal p{margin:8px 0;font-size:13px;line-height:1.55}.drill-answer-reveal .answer-pronunciation{display:flex;align-items:center;gap:10px;color:#795950}.drill-answer-reveal button{border:0;background:transparent;color:#795950}.drill-answer-reveal small{color:#9b776e}.reading-blank.is-correct{border-bottom-color:#28aa7d;background:#edfaf4;color:#147355}.reading-blank.is-incorrect{border-bottom-color:#e66b60;background:#fff1ef;color:#a43e36}.reading-option.selected-correct{outline:2px solid #34af82}.reading-option.selected-incorrect{border-color:#e66b60;background:#fff1ef}.practice-footer .btn:disabled{opacity:.48;cursor:not-allowed}
.vocab-set-backdrop{align-items:flex-start;overflow-y:auto;padding:14px}.vocab-set-editor{width:min(920px,calc(100vw - 300px));box-sizing:border-box;max-height:calc(100vh - 28px);overflow:auto;padding:20px 24px;border-radius:16px;background:#f8faff;color:#27364d;box-shadow:0 16px 48px #101c3233}.vocab-set-editor>header{display:flex;align-items:center;gap:10px;margin-bottom:20px}.vocab-set-editor>header h1{font:800 24px Manrope;margin:0 auto 0 0}.vocab-set-editor>label{display:grid;gap:7px;margin:12px 0;color:#495a74;font-size:12px;font-weight:700}.vocab-set-editor input,.vocab-set-editor textarea{width:100%;padding:11px 13px;border:1px solid #dfe6f0;border-radius:9px;background:#fff;color:#34435a;font:14px inherit}.vocab-set-editor textarea{min-height:72px;resize:vertical}.vocab-set-search{display:flex!important;align-items:center;gap:9px;padding:0 12px;border-radius:9px;background:#eaf0fa;font-size:19px!important}.vocab-set-search input{border:0;background:transparent;outline:0}.vocab-edit-card{margin:12px 0;padding:16px;border-radius:13px;background:#fff;box-shadow:0 3px 15px #263a5910}.vocab-edit-card> b{display:inline-block;margin-right:14px;font-size:18px}.vocab-edit-card>button{float:right;border:0;background:transparent;color:#75849a;font-size:19px;cursor:pointer}.vocab-edit-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:10px}.vocab-edit-fields label{display:grid;gap:5px;color:#6c7a90;font-size:11px;font-weight:700}.vocab-add-card{display:block;margin:12px auto}.vocab-import-backdrop{z-index:10010}.vocab-import-modal{position:relative;width:min(900px,calc(100vw - 300px));box-sizing:border-box;max-height:calc(100vh - 24px);overflow:auto;padding:24px;border-radius:16px;background:#111b30;color:#f4f6fb;box-shadow:0 20px 60px #0b1425aa}.vocab-import-modal h2{margin:0;font:800 23px Manrope}.vocab-import-modal>p{color:#aeb9cc;line-height:1.6}.vocab-import-modal textarea{width:100%;min-height:270px;padding:17px;border:2px solid #b6c0d2;border-radius:16px;background:#202c41;color:#f4f6fb;font:italic 14px/1.6 inherit;resize:vertical}.vocab-import-hints{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:15px;color:#f4f6fb}.vocab-import-modal footer{display:flex;justify-content:flex-end;gap:9px;margin-top:18px}.vocab-import-modal .close{position:absolute;right:13px;top:12px;background:transparent;border:0;color:#d5dbe5;font-size:23px}.vocab-import-instructions{padding:10px;color:#c6cfdd;font-size:12px;line-height:1.55}@media(max-width:650px){.vocab-set-editor{padding:15px}.vocab-set-editor>header{flex-wrap:wrap}.vocab-set-editor>header h1{width:100%}.vocab-edit-fields{grid-template-columns:1fr}.vocab-import-hints{grid-template-columns:1fr}}

.vocab-edit-fields textarea{width:100%;min-height:64px;padding:10px 12px;border:1px solid #dfe6f0;border-radius:9px;background:#fff;color:#34435a;font:14px inherit;resize:vertical}.vocab-set-editor .vocab-meta-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.vocab-set-editor .vocab-meta-row label{display:grid;gap:6px;color:#64738a;font-size:11px;font-weight:700}.vocab-set-editor .vocab-meta-row select{min-height:40px;padding:9px 11px;border:1px solid #dfe6f0;border-radius:9px;background:#fff;color:#34435a}
@media(max-width:760px){.vocab-set-editor,.vocab-import-modal{width:calc(100vw - 32px);padding:15px}.vocab-set-editor .vocab-meta-row{grid-template-columns:1fr}}
.vocab-import-ai-guide{padding:8px 16px 4px;color:#f3f5fa;font-size:12px;font-style:italic;line-height:1.55}.vocab-import-ai-guide>b{font-size:14px}.vocab-import-ai-guide p{margin:4px 0}.vocab-import-ai-guide ol{margin:4px 0;padding-left:19px}.vocab-import-ai-guide li{margin:2px 0}
.schedule-toolbar{display:flex;align-items:center;gap:10px;margin:4px 0 12px;padding:0 2px}.schedule-toolbar .btn{min-height:39px}.today-btn{border-radius:24px;padding:0 22px;background:#fff;border:1px solid #d9dfeb;color:#303b50}.week-arrow{width:32px;padding:0;font-size:23px;color:#46536a}.schedule-toolbar>strong{font-size:18px;font-weight:500;margin-left:7px}.calendar-search{font-size:24px;color:#45536b;padding:0 10px}.schedule-range{margin-left:auto;color:#8c97a8;font-size:11px}.schedule-layout{display:grid;grid-template-columns:minmax(0,1fr) 235px;gap:18px;align-items:stretch}.schedule-calendar{min-width:0;border-radius:18px;background:#fff;padding:8px 10px;box-shadow:var(--shadow)}.schedule-scroll{height:calc(100vh - 258px);min-height:520px;max-height:calc(100vh - 180px);overflow:auto;scrollbar-color:#d4dae3 transparent;scrollbar-width:thin}.schedule-grid{display:grid;grid-template-columns:56px repeat(7,minmax(90px,1fr));grid-template-rows:64px repeat(17,54px);min-width:760px;position:relative}.schedule-corner,.schedule-day-head{position:sticky;top:0;z-index:3;background:#fff;border-bottom:1px solid #e8edf4}.schedule-corner{left:0;z-index:4;display:flex;align-items:flex-end;padding:0 0 9px 4px;color:#6f7d93;font-size:10px}.schedule-day-head{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px;color:#343b49}.schedule-day-head small{font-size:9px;font-weight:700;letter-spacing:.3px}.schedule-day-head b{display:grid;place-items:center;width:37px;height:37px;border-radius:50%;font-size:17px;font-weight:500}.schedule-day-head.is-today small{color:#3978ed}.schedule-day-head.is-today b{color:#fff;background:#2164dc}.schedule-hour{position:sticky;left:0;z-index:2;background:#fff;border-right:1px solid #e5eaf1;border-bottom:1px solid #e1e7f0;text-align:right;padding:4px 8px 0 0;color:#69778d;font-size:10px}.schedule-cell{border-left:1px solid #e1e7f0;border-bottom:1px solid #e1e7f0;min-width:0;position:relative;padding:3px}.schedule-event{position:relative;z-index:1;border-left:3px solid #829af0;background:var(--event-color,#e7ecf5);border-radius:5px;padding:5px 6px;font-size:9px;line-height:1.3;overflow:hidden}.schedule-event b,.schedule-event small{display:block;overflow-wrap:anywhere}.schedule-event small{margin-top:3px;color:#505d71}.schedule-week-summary{background:#fff;border-radius:14px;padding:24px 19px;box-shadow:var(--shadow);min-height:350px}.schedule-week-summary h2{font:800 22px Manrope;margin:8px 0 7px;color:#151515}.schedule-total{display:block;text-align:center;font-size:15px;margin:0 0 7px;color:#171717}.schedule-week-summary ul{list-style:none;margin:0;padding:0;display:grid;gap:7px}.schedule-week-summary li{display:flex;align-items:center;gap:7px;font-size:11px;color:#31343b}.schedule-week-summary li i{display:inline-block;flex:none;width:10px;height:10px;border-radius:50%}.schedule-create-modal>label{display:grid;gap:6px;font-size:11px;color:#637089;margin:12px 0}.schedule-create-modal input,.schedule-create-modal select{width:100%;border:1px solid #e0e6ef;border-radius:8px;padding:10px;color:#34435a;background:#fff}.schedule-create-modal footer{display:flex;justify-content:flex-end;gap:8px;margin-top:16px}.schedule-create-modal footer button{min-width:90px}@media(max-width:1050px){.schedule-layout{grid-template-columns:minmax(0,1fr) 190px;gap:10px}.schedule-week-summary{padding:18px 13px}.schedule-week-summary h2{font-size:18px}}@media(max-width:760px){.schedule-layout{grid-template-columns:1fr}.schedule-scroll{height:65vh;min-height:440px}.schedule-week-summary{min-height:0}.schedule-range{display:none}.schedule-toolbar>strong{font-size:15px}.schedule-calendar{padding:5px}}
.grading-page{background:#fff;border-radius:12px;box-shadow:var(--shadow);overflow:hidden}.grading-tabs{display:flex;gap:32px;padding:0 22px;border-bottom:1px solid #e6e9ef}.grading-tab{position:relative;padding:17px 5px 14px;border:0;background:transparent;color:#687386;font-size:13px;font-weight:600}.grading-tab.active{color:#3c71db}.grading-tab.active:after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:3px;background:#4778e8;border-radius:3px 3px 0 0}.grading-filter-row{padding:18px 22px}.grading-filter-row label{display:inline-flex;align-items:center;gap:10px;color:#5f6b80;font-size:11px;font-weight:600}.grading-filter-row select{width:290px;max-width:65vw;padding:10px 13px;border:1px solid #dadfe8;border-radius:6px;background:#fff;color:#303a4b;font-size:12px}.grading-groups,.grading-reviewed-list{padding:0 20px 22px}.grading-group{border-top:1px solid #e5e8ee}.grading-group summary{display:flex;align-items:center;gap:12px;padding:15px 3px;cursor:pointer;list-style:none;color:#343b47;font-size:14px;font-weight:600}.grading-group summary::-webkit-details-marker{display:none}.grading-group summary:after{content:"⌄";margin-left:auto;color:#687386;font-size:17px;transform:rotate(-90deg);transition:transform .15s}.grading-group[open] summary:after{transform:rotate(0)}.grading-group summary b{margin-left:auto;color:#5977be;font-size:12px;font-weight:600}.grading-group[open] summary b{margin-left:0}.grading-group-list{padding:0 0 8px}.grading-work-card{display:grid;grid-template-columns:38px minmax(180px,1fr) 72px 72px 92px auto;gap:12px;align-items:center;padding:12px 10px;border-bottom:1px solid #e6e8ec;color:#313846}.grading-work-icon{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#eaf0ff;color:#4b78de;font-size:15px}.grading-work-main{min-width:0}.grading-work-main b{display:block;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.grading-work-main small{display:block;margin-top:5px;color:#747f91;font-size:10px}.grading-work-count{text-align:center}.grading-work-count b{display:block;font-size:15px;font-weight:500}.grading-work-count small{display:block;margin-top:2px;color:#7c8695;font-size:9px}.grading-action{white-space:nowrap;padding:8px 10px;font-size:10px}.grading-empty{padding:15px 10px 20px;color:#8792a3;font-size:11px}.grading-reviewed-list{padding-top:0}.grading-reviewed-list .grading-work-card{border-top:1px solid #e6e8ec}.grading-reviewed-list .grading-action{color:#5874b5}@media(max-width:900px){.grading-work-card{grid-template-columns:34px minmax(130px,1fr) repeat(3,55px);gap:7px}.grading-action{grid-column:2/-1;justify-self:start}.grading-work-count b{font-size:13px}}@media(max-width:600px){.grading-tabs{gap:18px;padding:0 14px}.grading-filter-row{padding:14px}.grading-filter-row select{width:190px}.grading-groups,.grading-reviewed-list{padding:0 10px 16px}.grading-work-card{grid-template-columns:30px minmax(100px,1fr) 48px 48px;gap:6px;padding:10px 4px}.grading-work-count:nth-of-type(5){display:none}.grading-action{grid-column:2/-1}}
.grading-detail-modal{width:min(620px,100%)}.grading-student-list{display:grid;gap:8px}.grading-student-row{display:grid;grid-template-columns:34px 1fr 120px;gap:10px;align-items:center;padding:9px;border:1px solid #e8ecf3;border-radius:9px}.grading-student-row>span:nth-child(2) b,.grading-student-row>span:nth-child(2) small{display:block}.grading-student-row>span:nth-child(2) b{font-size:11px}.grading-student-row>span:nth-child(2) small{margin-top:3px;color:#8d97a7;font-size:9px}.grading-student-row input{width:100%;padding:8px;border:1px solid #dfe5ee;border-radius:7px}.grading-feedback-field{display:grid;gap:6px;margin:13px 0;color:#59667c;font-size:10px}.grading-feedback-field textarea{min-height:80px;padding:10px;border:1px solid #dfe5ee;border-radius:8px;resize:vertical}.grading-detail-modal footer{display:flex;justify-content:flex-end;gap:8px;margin-top:14px}
/* Classroom-style grading workspace */
.grade-backdrop{padding:18px}.grading-classroom-modal{width:min(1260px,100%);max-height:calc(100vh - 36px);padding:0;overflow:hidden;display:flex;flex-direction:column}.grade-modal-header{display:flex;align-items:flex-start;justify-content:space-between;padding:22px 26px 15px;border-bottom:1px solid #e8ebf1}.grade-modal-header h2{margin:0;font:700 19px Manrope;color:#26344e}.grade-modal-header p{margin:6px 0 0;color:#8994a7;font-size:11px}.grade-modal-tabs{display:flex;gap:22px;padding:0 26px;border-bottom:1px solid #e7ebf1}.grade-modal-tabs button{position:relative;border:0;background:none;padding:14px 4px;color:#6d7a91;font-size:12px;font-weight:700}.grade-modal-tabs button.active{color:#3d72e9}.grade-modal-tabs button.active:after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:3px;background:#4b7cf1;border-radius:3px}.grade-instructions,.grade-student-work-tab{padding:22px 26px;overflow:auto}.grade-instructions h3,.grade-student-work-head h3{margin:0 0 14px;font:700 15px Manrope}.grade-guide-meta{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:16px}.grade-guide-meta span{display:grid;gap:5px;padding:11px 14px;border:1px solid #e8ecf3;border-radius:9px;color:#46536b;font-size:11px}.grade-guide-meta b{font-size:9px;color:#94a0b1}.grade-instructions article,.grade-student-comment{padding:15px;border:1px solid #e8ecf3;border-radius:10px;margin:12px 0;color:#46536b;font-size:11px;line-height:1.65}.grade-instructions article>b,.grade-student-comment>b{font-size:11px;color:#34415a}.grade-instructions article p,.grade-student-comment p{margin:8px 0 0}.grade-guide-body{margin-top:8px;white-space:normal}.grade-source-link{display:inline-flex;padding:10px 13px;border-radius:8px;background:#eef3ff;color:#3e73e6;font-size:11px}.grade-student-work-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}.grade-student-work-head h3{margin-bottom:5px}.grade-student-work-head p{margin:0;color:#8a96a8;font-size:10px}.grade-bulk-actions{display:flex;align-items:center;gap:12px}.grade-total-score{display:flex;align-items:center;gap:8px;color:#637089;font-size:10px}.grade-total-score input{width:75px;padding:8px;border:1px solid #dfe5ee;border-radius:7px}.grade-classroom-overview{display:grid;grid-template-columns:270px minmax(0,1fr);gap:18px;border-top:1px solid #e8ebf1;padding-top:15px}.grade-student-roster{border:1px solid #e7ebf2;border-radius:10px;overflow:auto;max-height:440px}.grade-roster-head,.grade-student-roster>button{display:flex;align-items:center;gap:10px;padding:12px;border:0;border-bottom:1px solid #edf0f5;background:#fff;width:100%;text-align:left;color:#34415a;font-size:11px}.grade-roster-head{justify-content:space-between;background:#f7f9fc}.grade-roster-head label{display:flex;gap:7px;align-items:center}.grade-roster-head input{accent-color:#3d73eb}.grade-roster-head span,.grade-student-roster>button small{margin-left:auto;color:#8995a7;font-size:9px}.grade-student-roster>button:hover,.grade-student-roster>button:focus{background:#f4f7ff}.grade-overview-summary{display:flex;align-items:center;gap:0;margin-bottom:12px;padding:8px 0}.grade-overview-summary>span{display:grid;gap:3px;padding:0 16px;border-right:1px solid #e2e6ec;color:#7e8999;font-size:10px}.grade-overview-summary>span:first-child{padding-left:0}.grade-overview-summary>span b{font-size:18px;font-weight:500;color:#37445a}.grade-overview-summary>label{margin-left:auto;display:flex;align-items:center;gap:7px;color:#7e8999;font-size:10px}.grade-overview-summary select{padding:8px;border:1px solid #e2e6ec;border-radius:7px;background:#fff;color:#48556c;font-size:10px}.grade-student-submission-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.grade-submission-card{min-height:155px;display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding:13px;border:1px solid #e8ecf3;border-radius:9px;background:#f8faff;text-align:left;color:#35425a}.grade-submission-card.selected,.grade-submission-card:hover{border-color:#95b2f8;background:#f1f5ff}.grade-submission-card .mini-avatar{width:30px;height:30px}.grade-submission-card b{font-size:11px}.grade-submission-preview{width:100%;height:48px;display:grid;place-items:center;background:white;color:#919caf;font-size:9px;text-align:center;overflow:hidden}.grade-submission-card small{color:#738198;font-size:9px}.grade-student-detail{margin-top:14px}.grade-document-toolbar{display:flex;align-items:center;gap:12px;padding:11px 0;border-top:1px solid #e7ebf2}.grade-document-toolbar>b{font-size:12px}.grade-document-toolbar>span{margin-left:auto;color:#758197;font-size:10px}.grade-review-columns{display:grid;grid-template-columns:minmax(0,1fr) 310px;border:1px solid #e6eaf0;border-radius:10px;overflow:hidden;min-height:350px}.grade-work-viewer{padding:19px;background:#f7f9fc;min-width:0}.grade-work-viewer h3{margin:0 0 6px;font:700 15px Manrope;color:#34415a}.grade-work-viewer>p{margin:0 0 17px;color:#929cad;font-size:10px}.grade-student-file{display:flex;align-items:center;gap:12px;padding:14px;border:1px solid #dfe6f1;border-radius:9px;background:#fff;color:#466ec1}.grade-student-file>span:first-child{font-size:22px}.grade-student-file b,.grade-student-file small{display:block}.grade-student-file b{font-size:11px}.grade-student-file small{margin-top:4px;color:#8793a6;font-size:9px}.grade-empty-work{display:grid;place-items:center;min-height:160px;padding:20px;border:1px dashed #d9e0ea;border-radius:9px;background:#fff;text-align:center;color:#8793a5;font-size:11px;line-height:1.6}.grade-submitted-text{padding:17px;background:#fff;border:1px solid #e7ebf1;border-radius:9px;color:#35425a;font-size:12px;line-height:1.7;white-space:normal}.grade-score-panel{padding:18px;border-left:1px solid #e6eaf0;background:#fff}.grade-score-panel h3{margin:0 0 18px;font:700 14px Manrope}.grade-score-input,.grade-teacher-feedback{display:grid;gap:9px;margin:0 0 20px;color:#46536a;font-size:12px;font-weight:700}.grade-score-input>div{display:flex;align-items:center;border:1px solid #dfe4ec;border-radius:8px;padding:10px 12px}.grade-score-input input{width:100%;border:0;outline:0;font-size:18px;color:#34415a}.grade-score-input>div>b{font-size:12px;color:#8c97a7;font-weight:500;white-space:nowrap}.grade-teacher-feedback textarea{min-height:100px;resize:vertical;border:1px solid #dfe4ec;border-radius:8px;padding:11px;font-size:11px;color:#46536a}.grade-save-feedback{width:100%;font-size:10px}.grade-return-toolbar{display:flex;align-items:center;gap:12px;padding-top:12px}.grade-return-toolbar>small{color:#8994a5;font-size:9px}.grade-return-menu{position:relative}.grade-return-menu>button:disabled{opacity:.5;cursor:not-allowed}.grade-return-options{position:absolute;left:0;bottom:calc(100% + 6px);z-index:8;min-width:210px;padding:6px;border:1px solid #e4e8ef;border-radius:9px;background:white;box-shadow:0 10px 28px #24375320}.grade-return-options button{display:block;width:100%;padding:9px;border:0;border-radius:6px;background:white;text-align:left;color:#45536a;font-size:10px}.grade-return-options button:hover{background:#f3f6fc}.grade-return-options button:disabled{opacity:.45}.grade-modal-footer{display:flex;justify-content:flex-end;padding:12px 26px;border-top:1px solid #e8ebf1}.grade-submission-overview{padding:20px 26px;overflow:auto}@media(max-width:900px){.grade-classroom-overview{grid-template-columns:1fr}.grade-student-roster{max-height:220px}.grade-student-submission-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.grade-review-columns{grid-template-columns:1fr}.grade-score-panel{border-left:0;border-top:1px solid #e6eaf0}}@media(max-width:600px){.grade-backdrop{padding:7px}.grading-classroom-modal{max-height:calc(100vh - 14px)}.grade-modal-header,.grade-instructions,.grade-student-work-tab,.grade-submission-overview{padding-left:14px;padding-right:14px}.grade-student-work-head{align-items:flex-start;flex-direction:column}.grade-submission-grid,.grade-student-submission-grid{grid-template-columns:1fr}.grade-overview-summary{flex-wrap:wrap;gap:8px}.grade-overview-summary>label{margin-left:0}.grade-bulk-actions{width:100%;justify-content:space-between}.grade-review-columns{min-height:0}.grade-score-panel{padding:14px}.grade-modal-footer{padding:10px 14px}}
.grading-classroom-modal{width:min(1100px,100%);max-width:100%;min-width:0}.grade-student-work-tab,.grade-instructions,.grade-submission-overview,.grade-review-columns,.grade-work-viewer,.grade-score-panel{min-width:0}.grade-modal-header{min-width:0}.grade-work-viewer{overflow-wrap:anywhere}
.grade-roster-title{font-size:11px;font-weight:700;color:#48566d}
/* Role and access settings */
.role-settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.role-settings-grid .feature-card{padding:20px}.role-settings-grid h3{margin:10px 0 7px;font:700 14px Manrope}.role-settings-grid p{margin:0;color:#8793a6;font-size:11px;line-height:1.6}.role-preview-select{display:grid;gap:7px;margin:14px 0 9px;color:#66738a;font-size:10px;font-weight:700}.role-preview-select select,.role-staff-row select{border:1px solid #e0e6ef;border-radius:8px;background:white;padding:9px;color:#34425c;font-size:11px}.role-preview-card>small{font-size:10px;color:#7e8aa0}.role-policy-row{display:grid;grid-template-columns:100px 1fr;gap:10px;padding:11px 0;border-bottom:1px solid #edf0f5;font-size:10px}.role-policy-row:last-child{border-bottom:0}.role-policy-row b{color:#34425b}.role-policy-row span{color:#7e8ba0;line-height:1.5}.role-access-card,.role-staff-card{grid-column:1/-1}.role-access-columns{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.role-access-columns>div{padding:12px;border:1px solid #e8ecf3;border-radius:9px;background:#fafbfe}.role-access-columns b{font-size:10px;color:#43516a}.role-access-columns p{margin-top:8px;font-size:10px}.role-staff-list{display:grid;gap:7px}.role-staff-row{display:grid;grid-template-columns:32px 1fr 150px;gap:10px;align-items:center;padding:9px;border:1px solid #edf0f5;border-radius:8px}.role-staff-row>b{font-size:11px}.nav-item[hidden]{display:none!important}@media(max-width:760px){.role-settings-grid,.role-access-columns{grid-template-columns:1fr}.role-access-card,.role-staff-card{grid-column:auto}.role-staff-row{grid-template-columns:32px 1fr 120px}}
.month-summary{margin:14px 0 20px;padding:18px 20px;border:1px solid #e8edf5;border-radius:14px;background:#fff;box-shadow:0 5px 18px rgba(25,47,89,.035)}.month-summary-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.month-summary-head h2{margin:0;font:700 15px Manrope;color:#263650}.month-summary-head p{margin:4px 0 0;color:#8994a8;font-size:10px}.month-summary-head>span{padding:7px 10px;background:#f5f7fb;border-radius:8px;color:#74829a;font-size:10px;font-weight:700}.month-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.month-metric{display:grid;gap:7px;padding:12px;border-radius:10px;background:#f8faff}.month-metric small{color:#8290a5;font-size:10px}.month-metric b{font:800 18px Manrope;color:#24334d}.month-metric span{font-size:9px;font-weight:700}.trend-up{color:#20a879}.trend-down{color:#df626c}.leaderboard-table th:first-child,.leaderboard-table td:first-child{width:100px;text-align:center}.leaderboard-table th:last-child,.leaderboard-table td:last-child{text-align:center}.rank-badge{display:inline-grid;place-items:center;min-width:30px;height:30px;border-radius:50%;background:#f1f4f9;color:#718096;font-weight:800}.rank-1{font-size:22px;background:transparent}.rank-2{background:#eaf0f9;color:#64748b}.rank-3{background:#fff1df;color:#ba7a2b}.student-cell>div{display:grid;gap:3px}.student-cell>div b{font-size:11px;color:#293852}.student-cell>div small{font-size:9px;color:#9aa4b5}.mastered-count{font:800 15px Manrope;color:#293852}.dashboard-range-modal{max-width:560px}.dashboard-range-modal footer{display:flex;justify-content:flex-end;gap:9px;margin-top:20px}@media(max-width:760px){.month-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.month-summary{padding:14px}.month-metric b{font-size:15px}.leaderboard-table th:first-child,.leaderboard-table td:first-child{width:65px}}
.schedule-event{cursor:pointer;transition:transform .14s,box-shadow .14s}.schedule-event:hover{z-index:5;transform:translateY(-1px);box-shadow:0 4px 12px rgba(32,60,110,.15)}.session-actions-modal{max-width:520px}.session-action-list{display:grid;gap:10px}.session-action{display:grid;grid-template-columns:42px 1fr;grid-template-rows:auto auto;align-items:center;column-gap:12px;text-align:left;padding:14px;border:1px solid #e8edf4;border-radius:12px;background:#fff;color:#263650}.session-action:hover{border-color:#a9c1ff;background:#f8faff}.session-action>span{grid-row:1/3;display:grid;place-items:center;width:40px;height:40px;border-radius:11px;background:#edf3ff;color:#3978ed;font-size:20px}.session-action>b{font:700 13px Manrope}.session-action>small{margin-top:3px;color:#8692a6;font-size:10px}.session-edit-modal{max-width:650px}.session-edit-footer{display:flex;gap:8px;align-items:center}.session-edit-footer>span{flex:1}.danger-outline{color:#c74550;border-color:#f0cbd0;background:#fff}.attendance-modal{width:min(1180px,96vw);max-width:1180px;max-height:92vh;display:flex;flex-direction:column}.attendance-modal .modal-head{flex:none}.attendance-meta{display:grid;grid-template-columns:1fr 1fr 1fr;gap:12px;padding:14px 0;border-bottom:1px solid #e9edf4}.attendance-meta>span{display:grid;gap:5px;color:#34435a;font-size:12px}.attendance-meta b{color:#29466b;font:800 12px Manrope}.attendance-content{grid-column:1/-1}.attendance-table-scroll{overflow:auto;min-height:120px;max-height:55vh}.attendance-table{width:100%;min-width:900px;border-collapse:collapse}.attendance-table th{position:sticky;top:0;background:#19395f;color:#fff;text-align:left;padding:12px 10px;font:700 11px Manrope;z-index:2}.attendance-table td{padding:7px 9px;border-bottom:1px solid #edf0f4;color:#24334b;font-size:11px}.attendance-table td input,.attendance-table td select{width:100%;min-width:90px;padding:7px;border:1px solid #e3e8ef;border-radius:6px;background:#fff;color:#39475e;font-size:10px}.attendance-table td:nth-child(2){min-width:145px}.attendance-modal footer,.reward-modal footer{display:flex;justify-content:flex-end;gap:8px;margin-top:14px;padding-top:12px;border-top:1px solid #edf0f5}.reward-modal{width:min(950px,96vw);max-height:92vh;overflow:auto}.reward-class-select{display:grid;gap:5px;min-width:150px;color:#77859a;font-size:10px;font-weight:700}.reward-class-select select{min-width:160px;border:1px solid #e0e6ef;border-radius:8px;padding:9px;background:#f8faff;color:#34425a}.egg-level-guide{display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap;margin:10px 0 18px;padding:11px;border-radius:10px;background:#f6f9ff;color:#5a6780;font-size:10px}.egg-level-guide span{display:flex;align-items:center;gap:5px}.egg-level-guide span:first-letter{font-size:19px}.egg-level-guide i{color:#b4bfd0;font-style:normal}.reward-student-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;max-height:55vh;overflow:auto;padding:3px}.reward-student{display:grid;justify-items:center;gap:5px;padding:14px 10px;border:1px solid #e6ebf3;border-radius:12px;background:#fff;text-align:center}.reward-pet{display:grid;place-items:center;width:82px;height:82px;border-radius:15px;background:linear-gradient(145deg,#e2f8d7,#dceeff);font-size:45px}.reward-student>b{font:700 11px Manrope;color:#34435a}.reward-student>small{color:#98a2b3;font-size:9px}.reward-points{display:flex;align-items:center;gap:6px;margin-top:4px}.reward-points button{width:28px;height:28px;border:1px solid #dce4f0;border-radius:8px;background:white;color:#3978ed;font-size:18px}.reward-points input{width:48px;height:28px;text-align:center;border:1px solid #dce4f0;border-radius:8px;color:#34425b;font-weight:800}.reward-stage{color:#6c7a92;font-size:9px;font-weight:700}.reward-modal .modal-head{align-items:flex-start}.reward-modal .modal-head>div{flex:1}@media(max-width:760px){.attendance-meta{grid-template-columns:1fr 1fr}.reward-student-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.session-edit-footer{flex-wrap:wrap}.session-edit-footer>span{display:none}.session-edit-footer .danger-outline{margin-right:auto}.egg-level-guide{justify-content:flex-start}}
.reports-tabs{display:flex;gap:8px;border-bottom:1px solid #e4e9f1;margin:0 0 16px;padding:0 3px;overflow:auto}.reports-tabs button{white-space:nowrap;border:0;border-bottom:3px solid transparent;padding:12px 15px;background:transparent;color:#78869b;font-weight:700;cursor:pointer}.reports-tabs button.active{border-color:#3978f6;color:#3978f6}.report-filters{display:flex;justify-content:space-between;align-items:center;margin:0 0 10px;color:#8290a5;font-size:11px}.report-table-wrap{overflow:auto;border:1px solid #e5eaf2;border-radius:11px;background:#fff;margin:10px 0 22px}.report-table{width:100%;border-collapse:collapse;min-width:850px}.report-table th{padding:11px 10px;background:#19395f;color:#fff;text-align:left;white-space:nowrap;font:700 10px Manrope}.report-table td{padding:10px;border-bottom:1px solid #edf0f4;color:#34435a;font-size:10px;vertical-align:top}.report-table tbody tr:nth-child(even){background:#f8fafc}.report-filter-row th{background:#f4f7fb;padding:6px}.report-filter-row input,.report-filter-row select{width:100%;min-width:85px;height:31px;border:1px solid #e0e6ef;border-radius:6px;background:#fff;color:#526078;padding:5px;font-size:9px}.report-empty{text-align:center!important;padding:24px!important;color:#97a2b3!important}.student-report-toolbar{display:grid;grid-template-columns:minmax(220px,1.5fr) repeat(2,minmax(150px,1fr));gap:10px;margin:2px 0 16px}.student-report-toolbar label{display:grid;gap:5px;color:#738198;font-size:10px;font-weight:700}.student-report-toolbar input,.student-report-toolbar select{height:38px;border:1px solid #dfe6ef;border-radius:8px;padding:0 10px;background:#fff;color:#34435a}.report-student-title{display:flex;align-items:center;justify-content:space-between}.report-student-title h2{font:700 18px Manrope}.report-student-title>span{color:#77859a;font-size:11px}.reports-page h3{margin:18px 0 10px;font:700 15px Manrope;color:#27364f}.reports-page h4{margin:16px 0 8px;font:700 12px Manrope;color:#586780}.report-stat-grid{display:grid;grid-template-columns:repeat(5,minmax(100px,1fr));gap:9px;margin:10px 0}.report-stat{display:grid;gap:7px;padding:13px;border:1px solid #e8edf4;border-radius:9px;background:#fff}.report-stat small{font-size:9px;color:#8491a4}.report-stat b{font:800 17px Manrope;color:#273650}.report-stat b.green{color:#20a879}.report-stat b.red{color:#db6570}.report-stat b.amber{color:#d79a2f}.report-stat b.purple{color:#8857d6}.report-class-summary{display:flex;justify-content:space-between;padding:10px 12px;margin:9px 0;background:#f7f9fc;border:1px solid #e8edf4;border-radius:8px;color:#65738a;font-size:10px}.report-class-summary b{font-weight:600}.report-student-toolbar+h2{margin-top:6px}.report-stat-grid+.report-class-summary+.report-subhead{}.report-filters .btn{min-height:31px;padding:0 10px;font-size:9px}@media(max-width:760px){.student-report-toolbar{grid-template-columns:1fr 1fr}.student-report-toolbar label:first-child{grid-column:1/-1}.report-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.reports-tabs{margin-right:-14px}.report-class-summary{gap:8px;flex-direction:column}}
.report-teacher-notes{padding:13px 15px;border:1px solid #e8edf4;border-radius:9px;background:#fff;color:#62718a;font-size:11px;line-height:1.6}.report-teacher-notes p{margin:0 0 6px}.report-teacher-notes p:last-child{margin-bottom:0}
.report-teacher-notes label{display:block;margin:14px 0 6px;color:#586780;font-weight:700}.report-teacher-notes textarea{display:block;width:100%;min-height:100px;resize:vertical;border:1px solid #dfe6ef;border-radius:8px;padding:10px 12px;color:#34435a;font:inherit}.report-note-actions{display:flex;justify-content:flex-end;margin-top:9px}

/* Popover menu thanh trên & sidebar */
.workspace,.top-user,.help-card{cursor:pointer}
.top-popover{position:fixed;z-index:60;width:320px;max-width:calc(100vw - 24px);max-height:min(420px,calc(100vh - 24px));overflow:auto;background:#fff;border:1px solid #e3e8f2;border-radius:14px;box-shadow:0 16px 40px rgba(20,32,64,.16);padding:8px;font-size:14px;color:#1d2433}
.top-popover .pop-title{display:flex;align-items:center;justify-content:space-between;padding:8px 10px}
.top-popover .pop-head{display:flex;align-items:center;gap:10px;padding:10px;border-bottom:1px solid #eef1f7;margin-bottom:6px}
.top-popover .pop-head small,.top-popover .pop-item small{display:block;color:#6b7489;font-size:12px;margin-top:2px}
.top-popover .pop-list{display:flex;flex-direction:column;gap:2px}
.top-popover .pop-item{display:flex;align-items:center;gap:10px;width:100%;text-align:left;border:0;background:none;padding:9px 10px;border-radius:10px;font:inherit;color:inherit;cursor:pointer}
.top-popover .pop-item:hover,.top-popover .pop-item:focus-visible{background:#f2f5fb;outline:none}
.top-popover .pop-item>span:first-child{width:28px;height:28px;flex:0 0 28px;display:grid;place-items:center;border-radius:8px;background:#eef2fa;font-size:13px}
.top-popover .pop-item>div{flex:1;min-width:0}
.top-popover .pop-item i{font-style:normal;color:#3b5bdb}
.top-popover .pop-item.muted{opacity:.7}
.top-popover .notif-item.unread{background:#f5f8ff}
.top-popover .notif-item.unread b::after{content:'';display:inline-block;width:7px;height:7px;border-radius:50%;background:#e5484d;margin-left:6px;vertical-align:middle}
.top-popover .pop-link{border:0;background:none;color:#3b5bdb;font:inherit;font-size:13px;cursor:pointer}
.top-popover .pop-empty{padding:16px 10px;color:#6b7489;margin:0}
.help-list{display:grid;gap:10px;margin-top:4px}
.help-list>div{padding:10px 12px;border:1px solid #eef1f7;border-radius:10px}
.help-list small{display:block;color:#6b7489;margin-top:3px}
.help-note{font-size:13px;color:#6b7489;margin:14px 0 0}

/* Demo IZI: trang làm bài học sinh & kết quả */
.izi-warn{color:#b54708}
.izi-student{min-height:100vh;background:#f6f8fc;padding:20px 16px 48px}
.izi-stu-head{max-width:780px;margin:0 auto 16px;display:flex;align-items:center;gap:10px}
.izi-stu-head small{display:block;color:#6b7489;font-size:12px}
.izi-stu-user{margin-left:auto;font-size:13px;color:#47506a}
.izi-stu-card{max-width:780px;margin:0 auto;background:#fff;border:1px solid #e3e8f2;border-radius:16px;padding:24px}
.izi-stu-card h1{font-size:22px;margin:0 0 6px}
.izi-stu-meta{color:#6b7489;margin:0 0 16px;font-size:14px}
.izi-stu-note{font-size:13px;color:#6b7489;background:#f6f8fc;border-radius:10px;padding:10px 12px}
.izi-stu-body{border:1px solid #eef1f7;border-radius:12px;padding:14px;margin:12px 0;max-height:60vh;overflow:auto}
.izi-q{display:grid;gap:6px;margin:14px 0}
.izi-q label span{font-weight:700}
.izi-q input,.izi-q textarea{width:100%;box-sizing:border-box;border:1px solid #d6dce8;border-radius:10px;padding:10px 12px;font:inherit}
.izi-q-text{white-space:pre-wrap}
.izi-timer{position:sticky;top:8px;display:inline-block;background:#1d2433;color:#fff;border-radius:999px;padding:6px 14px;font-weight:700;margin-bottom:8px}
.izi-stu-score{display:grid;gap:2px;background:#f2f5fb;border-radius:12px;padding:14px 16px;margin:12px 0}
.izi-stu-score b{font-size:28px}
.izi-stu-score small,.izi-stu-score span{color:#6b7489;font-size:13px}
.izi-late{color:#c4320a}
.izi-results-modal{width:min(980px,calc(100vw - 32px));max-width:none}
.izi-link-row{display:flex;gap:8px;flex-wrap:wrap;margin:4px 0 14px}
.izi-link-row input{flex:1 1 260px;min-width:0;border:1px solid #d6dce8;border-radius:10px;padding:8px 10px;font:inherit;font-size:13px;background:#f6f8fc}
.izi-table-wrap{overflow:auto;border:1px solid #eef1f7;border-radius:12px}
.izi-table{width:100%;border-collapse:collapse;font-size:13px}
.izi-table th,.izi-table td{padding:9px 10px;border-bottom:1px solid #eef1f7;text-align:left;vertical-align:top;white-space:nowrap}
.izi-table td small{display:block;color:#6b7489;font-size:12px}
.izi-table input{width:72px;border:1px solid #d6dce8;border-radius:8px;padding:6px 8px;font:inherit}
.izi-hint{font-size:12px;color:#6b7489;margin:8px 0 0}
@media (max-width:640px){.izi-stu-card{padding:18px}}

/* Mock test */
.mock-test-toggle{display:flex;gap:10px;align-items:flex-start;border:1px solid #e3e8f2;border-radius:12px;padding:12px;cursor:pointer}
.mock-test-toggle input{margin-top:3px}
.mock-test-toggle small{display:block;color:#6b7489;font-size:12px;margin-top:3px;font-weight:400}
.izi-mock-box{background:#fff7ed;border:1px solid #fed7aa;border-radius:12px;padding:12px 14px;margin:12px 0 16px}
.izi-mock-box p{margin:6px 0 0}
.izi-fs-backdrop{position:fixed;inset:0;z-index:100;background:rgba(15,23,42,.6);display:grid;place-items:center;padding:16px}
.izi-fs-dialog{width:min(440px,100%);background:#fff;border-radius:16px;padding:24px;text-align:center;box-shadow:0 20px 50px rgba(0,0,0,.25)}
.izi-fs-dialog h2{font-size:18px;margin:10px 0 8px}
.izi-fs-dialog p{color:#47506a;font-size:14px;margin:0 0 16px}
.izi-fs-icon{display:inline-grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#fee4e2;color:#c4320a;font-weight:800;font-size:22px}
.izi-fs-actions{display:flex;gap:10px;justify-content:center}
.izi-fs-err{display:block;color:#c4320a;margin:-6px 0 12px}
:fullscreen .izi-student,.izi-student:fullscreen{overflow:auto}

/* Thư mục mặc định "Chưa phân loại" nằm riêng */
.vocab-folder-divider{display:flex;align-items:center;gap:8px;margin:6px 2px 2px;color:#8994a8;font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.04em}
.vocab-folder-divider::after{content:'';flex:1;height:1px;background:#e9edf4}

/* Cả thẻ bộ Flashcard bấm được để mở */
.vocab-deck-card[data-deck-name]{cursor:pointer;transition:box-shadow .15s ease,transform .15s ease}
.vocab-deck-card[data-deck-name]:hover{box-shadow:0 8px 22px rgba(23,35,61,.08);transform:translateY(-1px)}

/* Ô mật khẩu nhân viên + nút Hiện/Ẩn */
.password-row{display:flex;gap:8px}
.password-row input{flex:1;min-width:0}

/* Giao lên Google Classroom (bắt buộc) */
.classroom-required{display:grid;gap:8px}
.classroom-required-head{display:flex;align-items:center;justify-content:space-between;gap:8px}
.classroom-required-head span{font-size:11px;font-weight:700;color:#1a7f4b;background:#e7f6ef;border-radius:999px;padding:2px 8px}
.classroom-required>small{color:#6b7489}
.classroom-required .classroom-copy-options{display:grid;gap:8px}
.classroom-required .classroom-copy-options label{display:grid;gap:6px;font-weight:600;font-size:13px}

/* Demo IZI: Dictation / Shadowing */
.izi-media{position:relative;padding-top:56.25%;border-radius:12px;overflow:hidden;margin:8px 0 14px;background:#000}
.izi-media iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.izi-audio,.izi-video{width:100%;margin:8px 0 14px}
.izi-shadow-lines{background:#f6f8fc;border-radius:12px;padding:12px 12px 12px 34px;line-height:1.7}

/* Trình phát audio bài nghe (Demo IZI) */
.izi-player{border:1px solid #dfe5ef;border-radius:14px;background:#f6f8fc;padding:12px 14px;margin:8px 0 16px;display:grid;gap:10px}
.izi-player-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.izi-pl-play{width:46px;height:46px;border-radius:50%;border:0;background:#3465e8;color:#fff;font-size:16px;cursor:pointer}
.izi-pl-btn{height:36px;border:1px solid #d6dce8;border-radius:10px;background:#fff;padding:0 10px;font:inherit;font-size:13px;font-weight:600;cursor:pointer;color:#17233d}
.izi-pl-play:focus-visible,.izi-pl-btn:focus-visible,.izi-pl-seek:focus-visible,.izi-pl-speed select:focus-visible{outline:2px solid #17233d;outline-offset:2px}
.izi-pl-time{font-variant-numeric:tabular-nums;font-size:14px;color:#47506a;min-width:100px}
.izi-pl-speed{margin-left:auto;display:flex;align-items:center;gap:6px;font-size:13px;color:#47506a}
.izi-pl-speed select{height:34px;border:1px solid #d6dce8;border-radius:8px;font:inherit;padding:0 6px}
.izi-pl-seek{width:100%;accent-color:#3465e8}
.izi-pl-err{margin:0;color:#c4320a;font-size:13px}
@media (max-width:480px){.izi-pl-speed{margin-left:0}}

/* Link audio (nhiều link) */
.audio-links{display:grid;gap:8px}
.audio-links-label{font-weight:600}
.audio-link-list{display:grid;gap:8px}
.audio-link-row{display:grid;grid-template-columns:64px minmax(0,1fr) 34px;gap:8px;align-items:center}
.audio-link-row span{font-size:13px;font-weight:600;color:#47506a}
.audio-link-row input{min-width:0;height:40px;border:1px solid #d6dce8;border-radius:10px;padding:0 12px;font:inherit}
.audio-link-del{width:34px;height:34px;border-radius:9px;border:1px solid #e3e8f2;background:#fff;cursor:pointer;font-size:16px;color:#6b7489}
.audio-link-del:hover{color:#c4320a;border-color:#f3c3b5}
.audio-links [data-audio-add]{justify-self:start}
.izi-audio-list{display:grid;gap:10px;margin:8px 0 16px}
.izi-audio-item{display:grid;gap:4px}
.izi-audio-item .izi-player{margin:0}
.vocab-action-options .primary-action{color:#3a5bd9}
.izi-prompt-head{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;font-style:normal}.izi-prompt{margin:6px 0 4px;max-height:220px;overflow:auto;white-space:pre-wrap;font:12px/1.55 "DM Sans",sans-serif;font-style:normal;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.14);border-radius:10px;padding:10px 12px;color:#f3f5fa}
/* Giao folder Flashcard */
.vs-modal { width: min(640px, calc(100vw - 32px)); max-height: calc(100vh - 40px); overflow: auto; display: grid; gap: 12px; }
.vs-note { padding: 10px 12px; border-radius: 10px; background: #f2f7ff; border: 1px solid #c9d6f5; font-size: 13px; color: #34435a; line-height: 1.5; }
.vs-field { border: 1px solid #e3e8f4; border-radius: 12px; padding: 10px 14px; margin: 0; display: grid; gap: 6px; }
.vs-field legend { font-weight: 700; font-size: 13px; padding: 0 6px; color: #34435a; }
.vs-check { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.vs-check small { color: #6b7489; }
.vs-students { display: grid; gap: 10px; max-height: 220px; overflow: auto; padding: 6px 0 0 4px; }
.vs-class { display: grid; gap: 4px; }
.vs-given h3 { margin: 4px 0 6px; font-size: 14px; }
.vs-given ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.vs-given li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 12px; border: 1px solid #e3e8f4; border-radius: 10px; font-size: 13px; }
.vs-given li small { display: block; color: #6b7489; }
