:root{--navy:#2f7cb8;--navy-dark:#245f8f;--blue:#3d97d6;--blue-light:#dcefff;--accent:#e08a2e;--green:#2fa36b;--red:#e0607a;--ink:#37324a;--muted:#8d89a3;--border:#ebe4ec;--bg:#fff6fa;--card:#fff;--radius:10px;--purple:#f2669c;--purple-light:#ffe3ee;--teal:#2fa36b;--teal-light:#dff7e9;--indigo:#3d97d6;--indigo-light:#dcefff;--pink:#f2669c;--pink-light:#ffe3ee;--amber:#e08a2e;--amber-light:#ffebd1;--sky:#5bb4ee;--sky-light:#dcefff;--violet:#8b6fd9;--violet-light:#ece6fb;--shadow-sm:0 2px 10px rgba(150,120,145,.06);--shadow-md:0 8px 24px rgba(150,120,145,.1);--shadow-lg:0 20px 50px rgba(150,120,145,.14);font-size:16px}*{box-sizing:border-box}.icon{width:1em;height:1em;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;vertical-align:-.15em;flex-shrink:0}.icon-lg{width:2.4rem;height:2.4rem}.icon-sm{width:.85em;height:.85em}.icon.flip{transform:scaleX(-1)}body,html{overflow-x:clip}body{margin:0;font-family:Segoe UI,Roboto,-apple-system,BlinkMacSystemFont,sans-serif;background:var(--bg);color:var(--ink);min-height:100vh;-webkit-font-smoothing:antialiased}img,svg{max-width:100%}button,input,select,textarea{font-family:inherit}a{color:var(--blue)}.choice-card{background:var(--card);border:1px solid var(--border);border-radius:var(--radius);padding:30px 24px;text-align:center;text-decoration:none;color:var(--ink);box-shadow:0 2px 10px rgba(150,120,145,.06);transition:transform .15s ease,box-shadow .15s ease;display:block}.choice-card:hover{transform:translateY(-3px);box-shadow:0 8px 20px rgba(150,120,145,.13)}.choice-card .icon{width:2.6rem;height:2.6rem;margin-bottom:10px;color:var(--blue)}.choice-card h2{margin:6px 0;color:var(--navy);font-size:1.25rem}.choice-card p{color:var(--muted);font-size:.92rem;margin:0}.card{background:var(--card);border:1px solid var(--border);border-radius:var(--radius);padding:24px;margin-bottom:20px;box-shadow:0 2px 10px rgba(150,120,145,.05);overflow-wrap:anywhere}.card h2,.card h3{color:var(--navy);margin-top:0}input[type=date],input[type=datetime-local],input[type=email],input[type=file],input[type=number],input[type=password],input[type=search],input[type=text],select,textarea{padding:10px 12px;border:1px solid var(--border);border-radius:8px;font-size:.92rem;font-family:inherit;background:#fff;color:var(--ink)}input[type=date]:focus,input[type=datetime-local]:focus,input[type=email]:focus,input[type=number]:focus,input[type=password]:focus,input[type=search]:focus,input[type=text]:focus,select:focus,textarea:focus{outline:2px solid var(--blue);outline-offset:-1px;border-color:var(--blue)}@media (max-width:768px){input:not([type=checkbox]):not([type=radio]):not([type=range]),select,textarea{font-size:16px!important}}.form-row{margin-bottom:16px}.form-row label{display:block;font-weight:600;margin-bottom:6px;font-size:.92rem;color:var(--ink)}.form-row input[type=date],.form-row input[type=datetime-local],.form-row input[type=number],.form-row input[type=password],.form-row input[type=text],.form-row select{width:100%;font-size:1rem}.btn{display:inline-block;background:linear-gradient(100deg,var(--pink) 0,var(--blue) 100%);color:#fff;border:none;padding:12px 24px;border-radius:999px;font-size:.98rem;font-weight:600;cursor:pointer;text-decoration:none;transition:filter .15s ease,box-shadow .15s ease,background .15s ease}.btn:hover{background:linear-gradient(100deg,#e7508c,#2f7cb8)}.btn.secondary{background:#fff;color:var(--blue);border:1px solid var(--blue)}.btn.secondary:hover{background:var(--blue-light)}.btn.gold{background:var(--accent);color:#fff}.btn.gold:hover{background:#c9781f}.btn:disabled{opacity:.5;cursor:not-allowed}.badge{display:inline-block;font-size:.72rem;font-weight:700;padding:3px 9px;border-radius:999px;text-transform:uppercase;letter-spacing:.4px}.badge.test{background:#ffe0e2;color:var(--red)}.badge.practice{background:var(--blue-light);color:var(--blue)}.list-item{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 16px;border:1px solid var(--border);border-radius:10px;margin-bottom:10px;background:#fff;transition:box-shadow .15s ease,border-color .15s ease}.list-item:hover{box-shadow:var(--shadow-sm);border-color:#bee1f6}.list-item:last-child{margin-bottom:0}.list-item .meta{flex:1;min-width:0;display:flex;align-items:center;gap:12px}.list-item .meta h4{margin:0 0 3px;font-size:.96rem;color:var(--ink);font-weight:700}.list-item .meta p{margin:0;font-size:.82rem;color:var(--muted)}.list-item .meta-text{min-width:0}.list-item .meta-text h4,.list-item .meta-text p{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.list-item .list-value{flex-shrink:0}.progress-bar{height:6px;border-radius:999px;background:var(--border);overflow:hidden;margin:4px 0}.progress-bar-fill{height:100%;background:var(--blue);border-radius:999px}.unit-featured-card{border:1px solid var(--border);padding:20px 22px;flex-wrap:wrap;gap:22px}.unit-featured-card,.unit-featured-icon{border-radius:12px;background:#fff;display:flex;align-items:center}.unit-featured-icon{width:56px;height:56px;color:var(--blue);justify-content:center;flex-shrink:0;box-shadow:var(--shadow-sm)}.unit-featured-icon .icon{width:1.6rem;height:1.6rem}.unit-featured-progress{min-width:180px}.unit-featured-progress .label{display:block;font-size:.78rem;color:var(--muted)}.unit-featured-progress .pct{font-size:1.4rem;font-weight:800;color:var(--blue)}.unit-featured-progress .sub{font-size:.78rem;color:var(--muted)}.unit-featured-progress .progress-bar{width:180px}.unit-featured-cta{flex-shrink:0;display:inline-flex;align-items:center;gap:6px}.unit-featured-cta .icon{width:1rem;height:1rem}.unit-list-row{display:flex;align-items:center;gap:20px;padding:18px 20px;border:1px solid var(--border);border-radius:12px;background:#fff;margin-bottom:14px;cursor:pointer;transition:box-shadow .15s ease,border-color .15s ease}.unit-list-row:last-child{margin-bottom:0}.unit-list-row:hover{box-shadow:var(--shadow-sm);border-color:#bee1f6}.unit-list-row.selected{background:#fff;border-color:var(--pink);box-shadow:0 0 0 1px var(--pink)}.unit-list-row.selected .unit-list-num{background:var(--blue);color:#fff}.unit-list-num{width:48px;height:48px;border-radius:12px;background:var(--blue-light);color:var(--blue);font-weight:800;font-size:1.05rem;display:flex;align-items:center;justify-content:center;flex-shrink:0}.unit-list-meta{flex:1;min-width:0}.unit-list-meta h4{margin:0 0 4px;font-size:1rem;color:var(--ink);font-weight:700}.unit-list-meta p{margin:0;font-size:.82rem;color:var(--muted);display:flex;gap:18px;flex-wrap:wrap}.unit-list-meta .meta-icon{display:inline-flex;align-items:center;gap:5px}.unit-list-meta .meta-icon .icon{width:.95rem;height:.95rem}.unit-list-progress{width:170px;flex-shrink:0;text-align:right}.unit-list-pct{font-size:1.2rem;font-weight:800}.unit-list-status{font-size:.8rem;margin-top:1px}.unit-list-progress .progress-bar{width:100%;margin-top:6px}button.unit-list-goto{pointer-events:none;width:36px;height:36px;border-radius:9px;background:var(--bg);flex-shrink:0}.test-exam-card{padding:16px 18px;border:1px solid var(--border);border-radius:10px;margin-bottom:14px;background:#fff}.test-exam-card:last-child{margin-bottom:0}.test-exam-card .meta h4{margin:0 0 4px;font-size:1rem;color:var(--ink);font-weight:700;display:flex;align-items:center;gap:8px}.test-exam-card .meta p{margin:0;font-size:.85rem;color:var(--muted)}.test-exam-card.locked{background:var(--bg)}.test-exam-card.locked .meta h4{color:var(--muted)}.test-exam-card .exam-result-summary{color:var(--ink);font-weight:600;margin-top:4px}.exam-skill-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;margin-top:14px}.exam-skill-box{border:1px solid var(--border);border-radius:8px;padding:12px 14px;background:var(--bg)}.exam-skill-head{display:flex;align-items:center;gap:8px;font-size:.92rem;color:var(--ink)}.exam-skill-head .icon{width:1.1rem;height:1.1rem;color:var(--blue)}.exam-skill-status{margin-top:6px;font-size:.84rem;color:var(--ink);line-height:1.5}.exam-skill-status .muted{color:var(--muted);font-weight:400}.player{display:flex;align-items:center;gap:14px;background:var(--blue-light);border:1px solid #bee1f6;border-radius:10px;padding:14px 18px;margin-bottom:20px}.player audio{flex:1;width:100%}.player .replay-count{font-size:.8rem;color:var(--muted);white-space:nowrap}.exam-audio{margin:4px 0 20px}.exam-audio-warn{display:flex;gap:8px;align-items:flex-start;margin:0 0 10px;padding:10px 12px;background:#fff7ed;border:1px solid #fdba74;border-radius:10px;font-size:.85rem;line-height:1.5;color:var(--ink)}.exam-audio-warn .icon{color:#ea580c;flex-shrink:0;margin-top:2px}.exam-audio-start{display:inline-flex;align-items:center;gap:8px}.exam-audio-now{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:12px 14px;background:var(--bg);border:1px solid var(--border);border-radius:10px}.exam-audio-now .icon{color:var(--blue);width:18px;height:18px;flex-shrink:0}.exam-audio-bar{flex:1;min-width:120px;height:6px;background:var(--border);border-radius:999px;overflow:hidden}.exam-audio-bar span{display:block;height:100%;background:var(--blue);border-radius:999px;transition:width .25s linear}.exam-audio-time{font-size:.8rem;color:var(--muted);font-variant-numeric:tabular-nums;white-space:nowrap}.exam-audio-resume{padding:4px 10px;font-size:.8rem}.exam-audio-done{display:flex;align-items:center;gap:8px;padding:12px 14px;background:#f0fdf4;border:1px solid var(--green);border-radius:10px;font-size:.88rem;color:var(--ink)}.exam-audio-done .icon{color:var(--green);flex-shrink:0}.section-nav-btn.locked,.section-nav-btn:disabled{opacity:.45;cursor:not-allowed}.section-nav-btn.locked:hover{border-color:var(--border);color:var(--ink)}.section-nav-btn.locked .icon{width:15px;height:15px}.section-title{font-weight:700;color:var(--navy);margin:22px 0 10px;padding-bottom:6px;border-bottom:2px solid var(--blue-light)}.field-row{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap;padding:8px 0;border-bottom:1px dashed var(--border);font-size:.97rem}.field-row:last-child{border-bottom:none}.field-row .num{font-weight:700;color:var(--blue);min-width:22px}.field-row .label{color:var(--ink);font-weight:600;min-width:130px}.field-row input{flex:1;min-width:140px;padding:8px 10px;border:1px solid var(--border);border-radius:6px;font-size:.97rem}.field-row .tail{color:var(--muted);font-size:.9rem}.field-row input[type=checkbox],.field-row input[type=radio]{flex:none;width:auto;min-width:0;padding:0;border:none;accent-color:var(--blue)}.select-hint{color:var(--muted)}.field-hint,.select-hint{font-size:.78rem;font-weight:400;margin-left:6px}.field-hint{font-style:italic}.field-row.correct input{border-color:var(--green);background:#dff7e9}.field-row.wrong input{border-color:var(--red);background:#ffe0e2}.field-row.partial input{border-color:#e08a2e;background:#fff4e0}@media (max-width:640px){.field-row{align-items:stretch;gap:4px 8px}.field-row .label{min-width:0;flex-basis:100%}.field-row input,.field-row input[type=text],.note-blank-input,.rt-note-editor textarea{font-size:16px}.field-row input{min-width:0;width:100%;flex-basis:100%}.note-blank-input{min-width:90px}}.result-mark{font-weight:700}.result-mark.correct{color:var(--green)}.result-mark.wrong{color:var(--red)}.result-mark.partial{color:#e08a2e}.correct-answer-note{font-size:.83rem;color:var(--green);margin-top:2px}.answer-explanation{font-size:.83rem;line-height:1.55;color:var(--ink);background:var(--blue-light);border-left:3px solid var(--blue);border-radius:4px;padding:6px 10px;margin-top:4px}.note-explanations{margin-top:10px;display:flex;flex-direction:column;gap:4px}.practice-lines{background:var(--bg);border:1px solid var(--border);border-radius:8px;padding:14px 16px;font-size:.95rem;line-height:1.75;color:var(--ink)}.practice-hint{font-size:.85rem;color:var(--muted);margin-top:10px}.score-box{text-align:center;padding:30px 20px}.score-box .big{font-size:3rem;font-weight:800;color:var(--navy)}.score-box .big span{color:var(--muted);font-size:1.6rem;font-weight:600}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;font-size:.92rem}td,th{padding:10px 12px;text-align:left;border-bottom:1px solid var(--border)}th{background:var(--blue-light);color:var(--navy);font-weight:700}tr:hover td{background:#fff7fb}.notice{padding:12px 16px;border-radius:8px;font-size:.9rem;margin-bottom:16px}.notice.info{background:var(--blue-light);color:var(--navy)}.notice.error{background:#ffe0e2;color:var(--red)}.notice.success{background:#dff7e9;color:var(--green)}.notice.warn{background:#ffebd1;color:#b96c1e}.footer-note{text-align:center;color:var(--muted);font-size:.8rem;margin-top:40px}.back-link{display:inline-block;margin-bottom:16px;font-size:.9rem;color:var(--muted);text-decoration:none}.back-link:hover{color:var(--blue)}.back-link-inline{display:inline-flex;align-items:center;gap:4px;font-size:.88rem;color:var(--muted);text-decoration:none}.back-link-inline:hover{color:var(--blue)}.reading-layout{display:grid;grid-template-columns:1fr 1fr;gap:22px;align-items:stretch;margin-bottom:24px}@media (max-width:860px){.reading-layout{grid-template-columns:1fr}.passage-pane,.questions-pane{max-height:none;overflow:visible}}.passage-pane,.questions-pane{max-height:75vh;overflow-y:auto}.passage-pane{background:#fff;border:1px solid var(--border);border-radius:var(--radius);padding:18px 20px;white-space:pre-line;overflow-wrap:anywhere;line-height:1.75;font-size:.96rem}.passage-pane img{max-width:100%;border-radius:8px;margin-bottom:12px;display:block}.questions-pane{padding-right:4px}.questions-pane .section-title{margin-top:0}.section-nav{display:flex;align-items:center;gap:8px;margin-bottom:18px;flex-wrap:wrap}.section-nav-btn{width:34px;height:34px;border-radius:50%;border:1px solid var(--border);background:#fff;color:var(--ink);font-weight:600;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;transition:background .15s,color .15s,border-color .15s}.section-nav-btn:hover{border-color:var(--blue);color:var(--blue)}.section-nav-btn.active{background:var(--blue);border-color:var(--blue);color:#fff}.section-nav-btn.done:not(.active){border-color:var(--green);color:var(--green)}.section-nav-footer{display:flex;justify-content:space-between;margin-top:16px}.note-completion-intro{color:var(--muted);margin:0 0 6px;line-height:1.6}.note-completion-box{border:1px solid var(--ink);border-radius:8px;padding:20px 24px;margin-top:4px}.note-completion-box+.note-completion-box{margin-top:18px}.note-h1{text-align:center;font-size:1.1rem;margin:0 0 14px;color:var(--ink)}.note-h2{font-size:.98rem;margin:16px 0 8px;color:var(--ink)}.note-h2:first-child{margin-top:0}.note-ul{margin:0 0 4px;padding-left:20px}.note-ul li{margin-bottom:10px;line-height:1.7}.note-p{margin:0 0 10px;line-height:1.7}.note-blank{gap:5px;margin:0 2px;vertical-align:middle}.note-blank,.note-blank-num{display:inline-flex;align-items:center}.note-blank-num{justify-content:center;width:20px;height:20px;border-radius:50%;border:1px solid var(--border);font-size:.72rem;color:var(--muted);flex:none}.note-blank-input{min-width:120px;border:1px solid var(--border);border-radius:6px;padding:3px 8px;font-size:.9rem}.note-blank.correct .note-blank-input{border-color:var(--green)}.note-blank.wrong .note-blank-input{border-color:var(--red)}.note-blank-correct{font-size:.78rem;color:var(--red);white-space:nowrap}.note-flow-chart{display:flex;flex-direction:column;align-items:center;margin-top:4px}.note-flow-step{width:100%;max-width:460px;border:1px solid var(--ink);border-radius:6px;padding:10px 16px;text-align:center;line-height:1.6}.note-flow-arrow{color:var(--muted);font-size:1.1rem;line-height:1;margin:4px 0}.note-completion-editor{margin-bottom:10px}.note-mode-toggle{display:flex;align-items:center;gap:8px;font-weight:600;cursor:pointer;font-size:.9rem}.note-toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:10px 0 6px}.note-toolbar-hint{font-size:.78rem;color:var(--muted);line-height:1.5}.note-toolbar-hint code{background:var(--bg);padding:1px 5px;border-radius:4px}.note-text-editor{width:100%;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.85rem;line-height:1.6;padding:12px;border:1px solid var(--border);border-radius:8px}.note-toolbar .btn.secondary sub{font-size:.7em}.note-split{display:grid;grid-template-columns:1fr 1fr;gap:12px;align-items:start}.note-split .note-text-editor{min-height:240px}@media (max-width:780px){.note-split{grid-template-columns:1fr}}.note-preview{border:1px solid var(--border);border-radius:8px;padding:12px;background:var(--bg);font-size:.9rem;line-height:1.7;max-height:340px;overflow:auto}.note-preview-empty{color:var(--muted);font-style:italic}.note-preview-intro{margin:0 0 6px;color:var(--muted);font-size:.85rem}.note-preview-box{border:1px solid var(--border);border-radius:8px;padding:12px 14px;background:var(--card,#fff)}.note-preview-h1{text-align:center;font-weight:700;font-size:1rem;margin:4px 0 8px}.note-preview-h2{font-weight:700;margin:8px 0 4px}.note-preview-p{margin:4px 0}.note-preview-ul{margin:4px 0;padding-left:20px}.note-preview-ul li{margin:2px 0}.note-preview-blank{display:inline-flex;align-items:center;justify-content:center;min-width:34px;height:20px;padding:0 6px;margin:0 2px;border:1px solid var(--primary,#2563eb);border-radius:4px;background:color-mix(in srgb,var(--primary,#2563eb) 12%,transparent);color:var(--primary,#2563eb);font-size:.78rem;font-weight:700;vertical-align:middle}.rte-shell{border:1px solid var(--border);border-radius:8px;background:var(--card,#fff);overflow:hidden}.rte-loading{padding:14px;color:var(--muted);font-style:italic}.rte-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:4px;padding:6px 8px;border-bottom:1px solid var(--border);background:var(--bg);position:sticky;top:0;z-index:2}.rte-btn{min-width:30px;height:28px;padding:0 8px;border:1px solid var(--border);border-radius:6px;background:var(--card,#fff);color:var(--ink);font-size:.82rem;cursor:pointer;display:inline-flex;align-items:center;gap:2px}.rte-btn:hover:not(:disabled){background:var(--blue-light);color:var(--blue);border-color:var(--blue-light)}.rte-btn.active{background:var(--blue);color:#fff;border-color:var(--blue)}.rte-btn:disabled{opacity:.4;cursor:not-allowed}.rte-sep{width:1px;align-self:stretch;margin:2px 4px;background:var(--border)}.rte-swatch{width:26px;height:26px;border:1px solid var(--border);border-radius:6px;background:var(--card,#fff);font-weight:800;font-size:.9rem;line-height:1;cursor:pointer}.rte-swatch:hover{background:var(--bg)}.rte-swatch.active{outline:2px solid currentColor;outline-offset:1px}.rte-editorwrap{max-height:460px;overflow:auto}.rte-content{padding:12px 14px;min-height:160px;font-size:.92rem;line-height:1.7;outline:none}.rte-content:focus{outline:none}.rte-content>:first-child{margin-top:0}.rte-content h1{font-size:1.12rem;margin:14px 0 8px}.rte-content h2{font-size:1rem;margin:12px 0 4px}.rte-content h3{font-size:.92rem;margin:10px 0 4px}.rte-content-note h1{text-align:center}.rte-content p{margin:6px 0}.rte-content ol,.rte-content ul{margin:6px 0;padding-left:22px}.rte-content blockquote{margin:8px 0;padding-left:12px;border-left:3px solid var(--border);color:var(--muted)}.rte-content mark{background:#fff1b8;padding:0 2px;border-radius:2px}.rte-content mark.mk-green{background:var(--teal-light)}.rte-content mark.mk-blue{background:var(--sky-light)}.rte-content mark.mk-pink{background:var(--pink-light)}.rte-content mark.mk-red{background:#ffe0e2}.rte-content code{font-family:monospace;background:var(--bg);padding:1px 4px;border-radius:3px}.rte-content a{color:var(--blue);text-decoration:underline}.rte-content hr{border:none;border-top:2px dashed var(--border);margin:12px 0}.rte-content .note-preview-blank{cursor:default}.rte-content .is-editor-empty:first-child:before{content:attr(data-placeholder);float:left;color:var(--muted);pointer-events:none;height:0;white-space:pre-line}.rte-modal-backdrop{position:fixed;inset:0;background:rgba(15,23,42,.45);display:flex;align-items:center;justify-content:center;z-index:1000;padding:16px}.rte-modal{background:var(--card,#fff);border-radius:12px;width:min(680px,100%);max-height:90vh;overflow:auto;padding:16px 18px;box-shadow:0 20px 50px rgba(0,0,0,.25)}.rte-modal-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.rte-modal-hint{color:var(--muted);font-size:.84rem;line-height:1.6;margin:4px 0 10px}.rte-rules-box{position:relative;border:1px solid var(--border);border-radius:8px;background:var(--bg);margin-bottom:12px}.rte-rules-box pre{margin:0;padding:10px 12px;font-size:.78rem;line-height:1.55;white-space:pre-wrap;max-height:220px;overflow:auto}.rte-rules-copy{position:absolute;top:6px;right:6px}.rte-import-ta{width:100%;border:1px solid var(--border);border-radius:8px;padding:10px 12px;font-size:.88rem;line-height:1.5;resize:vertical}.rte-modal-foot{display:flex;justify-content:flex-end;gap:8px;margin-top:12px}.reading-tools{margin-top:10px}.reading-tools-bar{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:8px}.reading-tools-bar .rt-hint{display:flex;align-items:flex-start;gap:6px;flex:1 1 240px;font-size:.8rem;color:var(--muted)}.reading-tools-bar .rt-hint .icon{width:14px;height:14px;flex:none;margin-top:2px}.rt-clear{border:1px solid var(--border);background:#fff;color:var(--muted);border-radius:999px;padding:3px 12px;font-size:.78rem;cursor:pointer}.rt-clear:hover{color:var(--blue);border-color:var(--blue)}.reading-passage-text mark.rt-mark,.rt-inline mark.rt-mark{background:#ffe08a;color:inherit;border-radius:2px;padding:1px 0;cursor:pointer}.reading-passage-text mark.rt-mark.has-note,.rt-inline mark.rt-mark.has-note{background:#ffd27a;box-shadow:inset 0 -2px 0 #e08a2e}.rt-inline{cursor:text}.reading-passage-text,.rt-inline{-webkit-user-select:text;-moz-user-select:text;user-select:text;-webkit-touch-callout:none}.questions-tools{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:10px;padding-bottom:8px;border-bottom:1px dashed var(--border)}.questions-tools .rt-hint{display:flex;align-items:flex-start;gap:6px;flex:1 1 240px;font-size:.78rem;color:var(--muted)}.questions-tools .rt-hint .icon{width:14px;height:14px;flex:none;margin-top:2px}.rt-hint>span{overflow-wrap:normal;word-break:normal}.note-fab{position:fixed;right:20px;bottom:20px;z-index:900;width:52px;height:52px;border-radius:50%;background:var(--blue);color:#fff;border:none;cursor:pointer;box-shadow:0 6px 20px rgba(0,0,0,.25);display:flex;align-items:center;justify-content:center}.note-fab .icon{width:22px;height:22px}.note-fab:hover{filter:brightness(1.05)}.note-drawer-backdrop{position:fixed;inset:0;background:rgba(15,23,42,.4);z-index:950;display:flex;justify-content:flex-end}.note-drawer{width:min(420px,100%);height:100%;background:var(--card,#fff);box-shadow:-8px 0 30px rgba(0,0,0,.2);padding:14px 16px;overflow-y:auto;display:flex;flex-direction:column;gap:10px}.note-drawer-head{display:flex;align-items:center;gap:10px}.note-drawer-head strong{flex:1}.note-drawer-link{font-size:.8rem;color:var(--blue)}.notebook-panel{display:flex;flex-direction:column;gap:12px}.notebook-compose{display:flex;gap:8px;align-items:flex-start}.notebook-compose textarea{flex:1;padding:8px 10px;font:inherit;font-size:.88rem;resize:vertical;min-height:44px}.notebook-compose textarea,.notebook-search{border:1px solid var(--border);border-radius:8px}.notebook-search{display:flex;align-items:center;gap:6px;padding:6px 10px;background:var(--bg)}.notebook-search .icon{width:15px;height:15px;color:var(--muted)}.notebook-search input{flex:1;border:none;background:transparent;outline:none;font:inherit;font-size:.88rem}.notebook-group{display:flex;flex-direction:column;gap:10px}.notebook-group-title{margin:8px 0 0;font-size:.8rem;text-transform:uppercase;letter-spacing:.04em;color:var(--muted)}.note-card{border:1px solid var(--border);border-left:4px solid #ffd54a;border-radius:8px;padding:10px 12px;background:var(--card,#fff);display:flex;flex-direction:column;gap:8px}.note-card.note-color-green{border-left-color:#34d399}.note-card.note-color-blue{border-left-color:#60a5fa}.note-card.note-color-pink{border-left-color:#f472b6}.note-card.note-color-red{border-left-color:#f87171}.note-card-quote{margin:0;padding:4px 8px;font-size:.82rem;color:var(--muted);background:var(--bg);border-radius:4px;font-style:italic}.note-card-body{border:1px solid transparent;border-radius:6px;padding:4px 6px;margin:-4px -6px;font:inherit;font-size:.9rem;line-height:1.5;resize:none;background:transparent}.note-card-body:focus{border-color:var(--border);background:var(--bg);outline:none}.note-card-foot{display:flex;align-items:center;gap:6px}.note-card-colors{display:flex;gap:4px;flex:1}.note-swatch{width:16px;height:16px;border-radius:50%;border:1px solid rgba(0,0,0,.15);cursor:pointer;padding:0;background:#ffd54a}.note-swatch.note-color-green{background:#34d399}.note-swatch.note-color-blue{background:#60a5fa}.note-swatch.note-color-pink{background:#f472b6}.note-swatch.note-color-red{background:#f87171}.note-swatch.on{outline:2px solid var(--ink);outline-offset:1px}.note-card-btn{border:1px solid var(--border);background:#fff;border-radius:6px;padding:3px 6px;cursor:pointer;color:var(--muted)}.note-card-btn .icon{width:14px;height:14px}.note-card-btn.on{color:#e0a800;border-color:#e0a800}.note-card-btn.danger:hover{color:var(--red);border-color:var(--red)}.note-card-source{display:inline-flex;align-items:center;gap:5px;font-size:.76rem;color:var(--muted);text-decoration:none}.note-card-source .icon{width:12px;height:12px}.note-card-source:hover{color:var(--blue)}.rt-popup{display:flex;gap:4px;background:var(--navy,#2e2a3e);padding:4px;border-radius:8px;box-shadow:0 6px 20px rgba(0,0,0,.25);z-index:1000}.rt-popup button{display:inline-flex;align-items:center;gap:5px;background:transparent;border:none;color:#fff;font-size:.8rem;padding:5px 9px;border-radius:5px;cursor:pointer;white-space:nowrap}.rt-popup button:hover{background:hsla(0,0%,100%,.15)}@media (pointer:coarse){.rt-popup{padding:5px;gap:5px}.rt-popup button{font-size:.9rem;padding:9px 13px;min-height:40px}}.rt-popup .rt-swatch{width:12px;height:12px;border-radius:3px;background:#ffe08a;display:inline-block}.rt-notes{margin-top:14px;border-top:1px dashed var(--border);padding-top:12px}.rt-notes h4{margin:0 0 8px;font-size:.85rem;color:var(--muted)}.rt-note-item{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap;padding:6px 0;font-size:.85rem;line-height:1.5}.rt-note-quote{color:var(--muted);font-style:italic}.rt-note-body{flex:1;min-width:140px}.rt-note-del,.rt-note-edit{border:none;background:none;cursor:pointer;font-size:.78rem;padding:0}.rt-note-edit{color:var(--blue)}.rt-note-del{color:#c24e68}.rt-note-editor-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.35);display:flex;align-items:center;justify-content:center;z-index:1001}.rt-note-editor{background:#fff;border-radius:var(--radius);padding:18px 20px;width:min(440px,92vw);box-shadow:0 20px 50px rgba(0,0,0,.3)}.rt-note-editor h4{margin:0 0 8px}.rt-note-editor-quote{margin:0 0 10px;color:var(--muted);font-style:italic;font-size:.85rem}.rt-note-editor textarea{width:100%;border:1px solid var(--border);border-radius:8px;padding:8px 10px;font:inherit;resize:vertical}@media (pointer:coarse){.rt-note-editor textarea{font-size:16px}}.rt-note-editor-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:12px}.rt-note-tonotebook{display:flex;align-items:center;gap:7px;margin-top:10px;font-size:.82rem;color:var(--muted);cursor:pointer}.reading-passage-text mark.rt-mark.in-notebook,.rt-inline mark.rt-mark.in-notebook{box-shadow:inset 0 -2px 0 var(--blue)}.diagram-image{max-width:100%;border-radius:8px;border:1px solid var(--border);margin-bottom:16px;display:block}.diagram-pin-wrap{position:relative;display:inline-block;max-width:100%}.diagram-pin-wrap .diagram-image{margin-bottom:16px}.pin-marker{position:absolute;transform:translate(-50%,-50%);width:22px;height:22px;border-radius:50%;background:var(--blue);color:#fff;font-size:.72rem;font-weight:800;display:flex;align-items:center;justify-content:center;box-shadow:0 0 0 2px #fff;pointer-events:none}.subject-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:10px}@media (max-width:560px){.subject-grid{grid-template-columns:1fr}}.tab-panel{display:none}.tab-panel.active{display:block}.icon-btn{background:none;border:none;cursor:pointer;color:var(--muted);padding:7px;border-radius:6px;display:inline-flex;align-items:center}.icon-btn:hover{background:var(--blue-light);color:var(--blue)}.icon-btn.danger:hover{background:#ffe0e2;color:var(--red)}.theory-toolbar{display:flex;align-items:center;gap:3px;flex-wrap:wrap;margin-bottom:6px;padding:4px;border:1px solid var(--border);border-radius:9px;background:var(--bg)}.theory-toolbar .icon-btn,.theory-toolbar .theory-btn{border:1px solid transparent;min-width:30px;height:30px;justify-content:center;font-size:.85rem;color:var(--ink);background:#fff;border-color:var(--border)}.theory-toolbar .theory-btn:hover{background:var(--blue-light);color:var(--blue);border-color:var(--blue-light)}.theory-toolbar-sep{width:1px;align-self:stretch;margin:2px 3px;background:var(--border)}.theory-swatch{width:30px;height:30px;border:1px solid var(--border);border-radius:8px;font-size:.8rem;font-weight:800;color:var(--ink);cursor:pointer;line-height:1}.theory-swatch:hover{filter:brightness(.96)}.theory-btn-help{font-weight:800;color:var(--blue)}.theory-btn-help.active{background:var(--blue-light);border-color:var(--blue)}.theory-swatch.mk-yellow{background:#fff1b8}.theory-swatch.mk-green{background:var(--teal-light)}.theory-swatch.mk-blue{background:var(--sky-light)}.theory-swatch.mk-pink{background:var(--pink-light)}.theory-swatch.mk-red{background:#ffe0e2}.theory-guide{border:1px solid var(--border);border-radius:10px;background:#fff;padding:16px 18px;margin-bottom:10px;box-shadow:var(--shadow-sm)}.theory-guide-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.theory-guide-head h4{margin:0;font-size:.98rem;color:var(--navy)}.theory-guide-actions{display:flex;align-items:center;gap:8px}.btn.sm{padding:6px 12px;font-size:.82rem}.theory-guide-intro{margin:8px 0 14px;font-size:.82rem;line-height:1.55;color:var(--muted)}.theory-guide-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px 24px}.theory-guide-grid h5{margin:0 0 6px;font-size:.78rem;text-transform:uppercase;letter-spacing:.4px;color:var(--muted)}.theory-guide-grid table{width:100%;border-collapse:collapse}.theory-guide-grid td{padding:4px 8px 4px 0;font-size:.82rem;vertical-align:top;border-bottom:1px solid var(--bg)}.theory-guide-grid td:first-child{white-space:nowrap;width:1%}.theory-guide-grid code{background:var(--bg);border:1px solid var(--border);border-radius:4px;padding:1px 5px;font-size:.92em}.theory-guide-sample,.theory-guide-use{color:var(--muted)}.theory-guide-use{font-size:.95em}.theory-guide mark{padding:0 4px;border-radius:3px;color:var(--ink);background:#fff1b8}.theory-guide mark.mk-green{background:var(--teal-light)}.theory-guide mark.mk-blue{background:var(--sky-light)}.theory-guide mark.mk-pink{background:var(--pink-light)}.theory-guide mark.mk-red{background:#ffe0e2}.theory-toolbar-hint{color:var(--muted);font-size:.78rem;line-height:1.6}.theory-toolbar-hint code{background:var(--bg);border:1px solid var(--border);border-radius:4px;padding:0 4px;font-size:.92em}.lesson-text>:first-child{margin-top:0}.lesson-text>:last-child{margin-bottom:0}.lesson-text p{margin:0 0 10px}.lesson-text h3{font-size:1.08rem;color:var(--navy);margin:20px 0 8px}.lesson-text h4{font-size:.98rem;color:var(--navy);margin:16px 0 6px}.lesson-text h5{font-size:.92rem;color:var(--ink);margin:14px 0 4px}.lesson-text ol,.lesson-text ul{margin:8px 0 12px;padding-left:24px}.lesson-text li{margin:4px 0}.lesson-text blockquote{margin:10px 0;padding:6px 14px;border-left:3px solid var(--blue);background:var(--blue-light);border-radius:0 8px 8px 0;color:var(--ink)}.lesson-text hr{border:none;border-top:1px solid var(--border);margin:18px 0}.lesson-text code{background:var(--bg);border:1px solid var(--border);border-radius:4px;padding:1px 5px;font-size:.9em}.lesson-text a{color:var(--blue);text-decoration:underline}.lesson-text mark{padding:0 3px;border-radius:3px;color:var(--ink);background:#fff1b8}.lesson-text mark.mk-green{background:var(--teal-light)}.lesson-text mark.mk-blue{background:var(--sky-light)}.lesson-text mark.mk-pink{background:var(--pink-light)}.lesson-text mark.mk-red{background:#ffe0e2}.audio-item,.test-item{display:flex;align-items:center;gap:12px;padding:14px 16px;border:1px solid var(--border);border-radius:8px;margin-bottom:10px;background:#fff}.audio-item .meta,.test-item .meta{flex:1;min-width:0}.audio-item .meta h4,.test-item .meta h4{margin:0 0 3px;font-size:.96rem}.audio-item .meta p,.test-item .meta p{margin:0;font-size:.8rem;color:var(--muted)}.audio-item audio{max-width:220px;height:32px}.audio-item .actions,.test-item .actions{display:flex;gap:2px;flex-shrink:0}.status-pill{display:inline-flex;align-items:center;font-size:.72rem;font-weight:700;padding:3px 9px;border-radius:999px;text-transform:uppercase;letter-spacing:.3px}.status-pill.published{background:#dff7e9;color:var(--green)}.status-pill.draft{background:#f0edf2;color:var(--muted)}.builder-section{border:1px solid var(--border);border-radius:10px;padding:18px 20px;margin-bottom:14px;background:var(--card)}.builder-section-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:14px}.builder-section-head .sec-name{font-weight:700;font-size:.98rem}.builder-2col{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:4px}@media (max-width:760px){.builder-2col{grid-template-columns:1fr}}.field-hint{font-size:.74rem;color:var(--muted);text-align:right;margin-top:4px}.questions-card{border:1px solid var(--border);border-radius:10px;margin-top:18px;overflow:hidden}.questions-card-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 18px;background:var(--bg);border-bottom:1px solid var(--border);flex-wrap:wrap}.questions-card-head .head-left{display:flex;align-items:center;gap:10px}.questions-card-head .head-left .icon-chip{width:30px;height:30px;border-radius:8px;background:var(--blue-light);color:var(--blue);display:flex;align-items:center;justify-content:center;flex-shrink:0}.questions-card-head .head-left .icon-chip .icon{width:.9rem;height:.9rem}.questions-card-head h4{margin:0;font-size:.94rem}.questions-card-head .head-sub{font-size:.76rem;color:var(--muted);margin-top:1px}.questions-card-body{padding:14px 18px 18px}.note-editor-inline{margin-bottom:16px}.note-blocks-wrap{display:flex;flex-direction:column;gap:14px}.note-block-frame{border:1px solid var(--border);border-radius:var(--radius);padding:12px;background:var(--bg)}.note-block-frame-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.note-block-frame-title{font-weight:700;font-size:.82rem;color:var(--muted);text-transform:uppercase;letter-spacing:.02em}.questions-media-row{margin-bottom:18px;padding-bottom:16px;border-bottom:1px dashed var(--border)}.format-pick-panel{margin-top:12px;border:1px solid var(--border);border-radius:10px;background:var(--bg);overflow:hidden}.format-pick-head{display:flex;align-items:center;justify-content:space-between;padding:10px 14px;font-size:.85rem;font-weight:700;color:var(--ink);border-bottom:1px solid var(--border)}.format-pick-grid{display:flex;flex-wrap:wrap;gap:8px;padding:14px}.format-pick-btn{padding:7px 14px;border:1px solid var(--border);border-radius:999px;background:#fff;color:var(--ink);font-size:.82rem;cursor:pointer;transition:background .15s,border-color .15s,color .15s}.format-pick-btn:hover{border-color:var(--blue);color:var(--blue);background:var(--blue-light)}.question-grid-cols{display:grid;grid-template-columns:22px 26px minmax(200px,1fr) 205px 64px 64px 26px;gap:10px;align-items:center}@media (max-width:900px){.question-grid-cols{grid-template-columns:1fr}}.question-grid-head{padding:0 4px 8px;font-size:.68rem;font-weight:700;letter-spacing:.5px;text-transform:uppercase;color:var(--muted)}.question-grid-head>span:first-child,.question-grid-head>span:nth-child(2){visibility:hidden}@media (max-width:980px){.question-grid-head{display:none}}.question-row{border-top:1px solid var(--border);padding:12px 4px}.question-row:first-of-type{border-top:none;padding-top:4px}.question-drag{color:var(--muted);opacity:.55;cursor:grab;display:flex;align-items:center;justify-content:center}.question-drag .icon{width:.95rem;height:.95rem}.question-num{width:26px;height:26px;border-radius:50%;background:var(--indigo-light);color:var(--indigo);font-size:.76rem;font-weight:800;display:flex;align-items:center;justify-content:center;flex-shrink:0}.question-grid-cols input[type=number],.question-grid-cols input[type=text],.question-grid-cols select,.question-grid-cols textarea{width:100%;padding:8px 10px;border:1px solid var(--border);border-radius:7px;font-size:.86rem;font-family:inherit;background:#fff}.question-grid-cols textarea{resize:vertical;min-height:38px}.question-hint-row{margin-top:6px}.question-hint-row .f-explanation,.question-hint-row .f-hint{width:100%;padding:6px 10px;border:1px solid var(--border);border-radius:7px;font-size:.8rem;font-family:inherit;color:var(--muted);background:#fff}.question-hint-row .f-explanation{resize:vertical;min-height:34px;line-height:1.5}@media (max-width:980px){.question-grid-cols>*{width:100%}.question-row .f-group-label{display:block;font-size:.7rem;color:var(--muted);font-weight:700;margin:8px 0 3px}}.question-row-extra{margin-top:10px;padding:10px 12px;background:var(--bg);border-radius:8px;display:flex;flex-wrap:wrap;gap:10px;align-items:flex-end}.question-row-extra .f-group{display:flex;flex-direction:column;gap:4px}.question-row-extra .f-group label{font-size:.72rem;color:var(--muted);font-weight:600}.question-row-extra input[type=text],.question-row-extra textarea{padding:7px 9px;border:1px solid var(--border);border-radius:6px;font-size:.85rem;font-family:inherit}.builder-field{display:flex;align-items:flex-end;gap:8px;flex-wrap:wrap;padding:10px 0;border-bottom:1px dashed var(--border)}.builder-field:last-of-type{border-bottom:none}.builder-field .f-group{display:flex;flex-direction:column;gap:4px}.builder-field .f-group label{font-size:.72rem;color:var(--muted);font-weight:600}.builder-field input[type=text],.builder-field select{padding:8px 10px;border:1px solid var(--border);border-radius:6px;font-size:.88rem}.dashed-add-btn{width:100%;padding:13px;border:1.5px dashed var(--border);border-radius:10px;background:none;color:var(--blue);font-weight:700;font-size:.88rem;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:6px;font-family:inherit;transition:border-color .15s ease,background .15s ease}.dashed-add-btn:hover{border-color:var(--blue);background:var(--blue-light)}.question-detail{margin-top:10px;padding:12px 14px;background:var(--bg);border-radius:8px}.option-row{display:flex;align-items:center;gap:10px;margin-bottom:8px}.option-row:last-of-type{margin-bottom:0}.option-row input[type=checkbox],.option-row input[type=radio]{width:18px;height:18px;accent-color:var(--green);flex-shrink:0;cursor:pointer}.option-row input[type=text]{flex:1;background:#fff}.option-row .option-remove{flex-shrink:0}.option-row .tfng-label{flex:1;font-weight:600;font-size:.9rem;color:var(--ink)}.option-add-btn{margin-top:4px;background:none;border:1px dashed var(--border);color:var(--blue);font-weight:700;font-size:.82rem;padding:7px 12px;border-radius:7px;cursor:pointer;display:inline-flex;align-items:center;gap:5px;font-family:inherit}.option-add-btn:hover{background:var(--blue-light);border-color:var(--blue)}.kind-hint{font-size:.78rem;color:var(--muted);margin-top:8px}.kind-hint.warn{color:var(--amber);font-weight:600}.kind-hint.ok{color:var(--green);font-weight:600}.label-pin-wrap{margin-top:12px}.label-pin-imgwrap{position:relative;display:inline-block;max-width:100%;cursor:crosshair}.label-pin-imgwrap img{max-width:100%;display:block;border-radius:8px;border:1px solid var(--border)}.label-pin-imgwrap .pin-marker{position:absolute;transform:translate(-50%,-50%);width:22px;height:22px;border-radius:50%;background:var(--muted);color:#fff;font-size:.72rem;font-weight:800;display:flex;align-items:center;justify-content:center;box-shadow:0 0 0 2px #fff;pointer-events:none}.label-pin-imgwrap .pin-marker.current{background:var(--blue)}.match-bank-box{border:1px dashed var(--border);border-radius:8px;padding:12px 14px;margin:4px 0 0;background:#fff}.match-bank-box>label{font-size:.82rem;font-weight:700;color:var(--ink);display:block;margin-bottom:8px}.match-bank-empty{font-size:.8rem;color:var(--muted);margin-bottom:8px}.modal-overlay{position:fixed;inset:0;background:rgba(11,20,32,.5);display:flex;align-items:flex-start;justify-content:center;padding:40px 20px;z-index:100;overflow-y:auto}.modal-box{background:var(--card);border-radius:14px;width:100%;max-width:640px;box-shadow:var(--shadow-lg);max-height:calc(100vh - 80px);display:flex;flex-direction:column}.modal-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:16px 20px;border-bottom:1px solid var(--border)}.modal-head h3{margin:0;font-size:1.02rem}.modal-body{padding:18px 20px;overflow-y:auto}.preview-q{padding:10px 0;border-bottom:1px dashed var(--border)}.preview-q:last-child{border-bottom:none}.preview-q .pq-label{font-weight:600;font-size:.9rem;margin-bottom:4px}.preview-q .pq-meta{font-size:.78rem;color:var(--muted);display:flex;gap:10px;flex-wrap:wrap}.preview-section-title{font-weight:700;color:var(--navy);margin:18px 0 6px;font-size:.92rem}.preview-section-title:first-child{margin-top:0}.select-inline{padding:9px 12px;background:#fff}.builder-section textarea,.form-row textarea,.select-inline{border:1px solid var(--border);border-radius:8px;font-size:.92rem}.builder-section textarea,.form-row textarea{width:100%;padding:10px 12px;font-family:inherit;resize:vertical}.subject-toggle{display:inline-flex;border:1px solid var(--border);border-radius:8px;overflow:hidden;margin-bottom:18px}.subject-toggle button{border:none;background:#fff;color:var(--muted);padding:9px 18px;font-size:.9rem;font-weight:600;cursor:pointer;display:flex;align-items:center;gap:6px}.subject-toggle button.active{background:var(--blue);color:#fff}.subject-toggle button:not(:last-child){border-right:1px solid var(--border)}.subject-toggle.skill-tabs{display:flex;flex-wrap:wrap;gap:8px;border:none;border-radius:0;overflow:visible}.subject-toggle.skill-tabs button{border:1px solid var(--border);border-radius:8px;padding:9px 16px}.subject-toggle.skill-tabs button.active{border-color:var(--blue)}.subject-toggle .cat-done{width:15px;height:15px;border-radius:50%;background:var(--green);color:#fff;display:inline-flex;align-items:center;justify-content:center}.subject-toggle .cat-done .icon{width:9px;height:9px;stroke-width:3}.subject-toggle button.active .cat-done{background:#fff;color:var(--blue)}.match-options-box{border:1px dashed var(--border);border-radius:8px;padding:12px 14px;margin:10px 0 16px;background:#fff}.match-options-box label{font-size:.78rem;color:var(--muted);font-weight:600;display:block;margin-bottom:6px}.empty-state{text-align:center;color:var(--muted);padding:30px 10px;font-size:.9rem}.empty-state-v2{text-align:center;padding:40px 24px 34px}.empty-state-v2 .empty-icon-circle{width:58px;height:58px;margin:0 auto 14px;border-radius:50%;background:var(--blue-light);color:var(--blue);display:flex;align-items:center;justify-content:center}.empty-state-v2 .empty-icon-circle .icon{width:1.6rem;height:1.6rem}.empty-state-v2 h4{margin:0 0 6px;font-size:1rem;font-weight:700;color:var(--ink)}.empty-state-v2 p{margin:0 0 18px;font-size:.84rem;color:var(--muted)}.empty-state-v2 .btn{font-size:.86rem;padding:10px 18px}.card-head-v2{justify-content:space-between;margin-bottom:4px}.card-head-v2,.card-head-v2 .head-left{display:flex;align-items:center;gap:10px}.card-head-v2 .head-left .icon-chip{width:32px;height:32px;border-radius:9px;background:var(--blue-light);color:var(--blue);display:flex;align-items:center;justify-content:center;flex-shrink:0}.card-head-v2 .head-left .icon-chip .icon{width:1rem;height:1rem}.card-head-v2 h3{margin:0;font-size:1.02rem}.card-head-v2 .view-all{font-size:.82rem;font-weight:700;color:var(--blue);text-decoration:none;display:inline-flex;align-items:center;gap:3px}.card-head-v2 .view-all:hover{color:var(--navy)}.card-head-v2 .view-all .icon{width:.8rem;height:.8rem}.spinner{display:inline-block;width:16px;height:16px;border:2px solid var(--blue-light);border-top-color:var(--blue);border-radius:50%;animation:spin .7s linear infinite;vertical-align:middle;margin-right:8px}@keyframes spin{to{transform:rotate(1turn)}}.app-shell{display:grid;grid-template-columns:260px 1fr;min-height:100vh}.sidebar{background:var(--card);border-right:1px solid var(--border);padding:18px 14px 14px;display:flex;flex-direction:column;position:sticky;top:0;height:100vh;overflow-y:auto}.sidebar-brand{position:relative;display:flex;align-items:center;gap:10px;padding:4px 10px 14px;font-weight:800;font-size:1.1rem;color:var(--navy);letter-spacing:.2px}.sidebar-collapse-btn{position:absolute;right:-12px;top:12px;width:24px;height:24px;border-radius:50%;background:var(--pink);border:1px solid var(--pink);color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;padding:0;z-index:6;box-shadow:0 2px 6px rgba(242,102,156,.35)}.sidebar-collapse-btn .icon{width:13px;height:13px;transition:transform .2s ease}.app-shell.collapsed .sidebar-collapse-btn .icon{transform:rotate(180deg)}.sidebar-brand{justify-content:center}.sidebar-brand .logo{width:100px;height:auto;max-width:100%;-o-object-fit:contain;object-fit:contain;flex-shrink:0}.app-shell.collapsed .sidebar-brand .logo{width:40px}.sidebar-group{margin-top:14px}.sidebar-group-label{font-size:.68rem;font-weight:700;letter-spacing:.9px;text-transform:uppercase;color:var(--muted);padding:0 10px;margin-bottom:6px}.sidebar-link{position:relative;display:flex;align-items:center;gap:10px;width:100%;padding:9px 10px;margin-bottom:2px;border:none;background:none;border-radius:8px;color:var(--ink);font-size:.92rem;font-weight:500;cursor:pointer;text-align:left;font-family:inherit;transition:background-color .15s ease,color .15s ease}.sidebar-link:hover{background:var(--bg);color:var(--navy)}.sidebar-link.active{background:linear-gradient(90deg,var(--pink-light) 0,rgba(255,227,238,.35) 100%);color:var(--pink);font-weight:600}.sidebar-link.active .icon{opacity:1}.sidebar-link.active:before{content:"";position:absolute;left:-14px;top:7px;bottom:7px;width:3px;border-radius:2px;background:var(--pink)}.sidebar-link .icon{color:inherit;opacity:.8}.sidebar-link .link-label{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidebar-badge{margin-left:auto;background:var(--pink);border:1px solid transparent;color:#fff;font-size:.7rem;font-weight:700;padding:1px 8px;border-radius:999px}.sidebar-badge.warn{background:var(--amber);border-color:transparent;color:#fff}.sidebar-promo{margin-top:16px;padding:18px 16px 20px;border-radius:14px;background:linear-gradient(155deg,#ff7fae,#5bb4ee);color:#fff;position:relative;overflow:hidden;flex-shrink:0}.sidebar-promo-icon{width:1.3rem;height:1.3rem;color:#fff4f8;margin-bottom:10px;flex-shrink:0}.sidebar-promo-title{font-weight:700;font-size:.88rem;line-height:1.4;margin-bottom:4px}.sidebar-promo-text{font-size:.76rem;color:hsla(0,0%,100%,.78);line-height:1.5}.app-shell.collapsed .sidebar-promo{display:none}@media (max-width:1100px){.sidebar-promo{display:none}}.sidebar-user{margin-top:auto;border-top:1px solid var(--border);padding:12px 10px 2px;display:flex;align-items:center;gap:10px}.sidebar-user .user-meta{flex:1;min-width:0}.sidebar-user .user-name{font-weight:700;font-size:.9rem;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sidebar-user .user-role{font-size:.74rem;color:var(--muted)}.sidebar-backdrop{display:none;position:fixed;inset:0;background:rgba(11,20,32,.45);z-index:55}.avatar{width:34px;height:34px;border-radius:50%;background:var(--blue-light);color:var(--blue);display:flex;align-items:center;justify-content:center;font-weight:800;font-size:.85rem;flex-shrink:0;text-transform:uppercase}.main-area{min-width:0;display:flex;flex-direction:column}.topbar-v2{background:var(--card);border-bottom:1px solid var(--border);padding:10px 28px;display:flex;align-items:center;gap:10px;position:sticky;top:0;z-index:20}.topbar-menu-btn{display:inline-flex}.topbar-bell{position:relative;margin-left:auto}.topbar-bell .notify-dot{position:absolute;top:7px;right:7px;width:7px;height:7px;border-radius:50%;background:var(--red);border:2px solid var(--card)}.topbar-search{flex:0 1 340px;display:flex;align-items:center;gap:8px;background:var(--bg);border:1px solid var(--border);border-radius:8px;padding:8px 12px;color:var(--muted)}.topbar-search .kbd-hint{margin-left:auto;font-size:.68rem;font-weight:700;color:var(--muted);background:var(--card);border:1px solid var(--border);border-radius:6px;padding:2px 7px;white-space:nowrap}.topbar-search input{border:none;background:transparent;outline:none;flex:1;font-size:.92rem;color:var(--ink);font-family:inherit}.topbar-user{position:relative;display:flex;align-items:center;gap:8px;cursor:pointer;padding:4px 6px;border-radius:10px;margin-left:4px}.topbar-user:hover{background:var(--bg)}.topbar-user-meta{display:flex;flex-direction:column;gap:1px;line-height:1.3}.topbar-user .name{font-weight:700;font-size:.88rem;color:var(--ink)}.topbar-user-chevron{width:.8rem;height:.8rem;color:var(--muted);transition:transform .15s ease}.topbar-user.open .topbar-user-chevron{transform:rotate(180deg)}.role-pill{background:var(--blue-light);color:var(--blue);font-size:.64rem;font-weight:800;letter-spacing:.5px;padding:2px 8px;border-radius:999px;text-transform:uppercase;width:-moz-fit-content;width:fit-content}.avatar-sm{width:32px;height:32px;font-size:.78rem}.topbar-user-menu{position:absolute;top:calc(100% + 8px);right:0;min-width:170px;background:var(--card);border:1px solid var(--border);border-radius:10px;box-shadow:var(--shadow-md);padding:6px;display:none;z-index:30}.topbar-user.open .topbar-user-menu{display:block}.topbar-user-menu-item{display:flex;align-items:center;gap:8px;width:100%;padding:9px 10px;border:none;background:none;border-radius:7px;color:var(--ink);font-size:.88rem;font-weight:600;cursor:pointer;text-align:left;font-family:inherit}.topbar-user-menu-item:hover{background:var(--blue-light);color:var(--blue)}.topbar-user-menu-item .icon{width:1rem;height:1rem}.topbar-bell-wrap{position:relative;margin-left:auto}.topbar-bell-wrap .topbar-bell{margin-left:0}.notif-panel{position:absolute;top:calc(100% + 8px);right:0;width:340px;max-width:86vw;background:var(--card);border:1px solid var(--border);border-radius:10px;box-shadow:var(--shadow-md);z-index:30;overflow:hidden}.notif-panel-head{padding:12px 14px;font-weight:700;font-size:.9rem;border-bottom:1px solid var(--border)}.notif-panel-body{max-height:380px;overflow-y:auto}.notif-empty{padding:20px 14px;color:var(--muted);font-size:.88rem;text-align:center}.notif-item{display:block;width:100%;text-align:left;padding:11px 14px;border:none;border-bottom:1px solid var(--border);background:none;cursor:pointer;font-family:inherit}.notif-item:last-child{border-bottom:none}.notif-item:hover{background:var(--bg)}.notif-item.unread,.notif-item.unread:hover{background:var(--blue-light)}.notif-item-title{font-weight:700;font-size:.86rem;color:var(--ink)}.notif-item-body{font-size:.82rem;color:var(--muted);margin-top:2px;line-height:1.35}.notif-item-time{font-size:.72rem;color:var(--muted);margin-top:4px}.content{padding:26px 28px 60px}.page-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:20px;flex-wrap:wrap}.page-head h1{margin:0;font-size:1.65rem;font-weight:800;letter-spacing:-.01em;color:var(--ink)}.page-head .page-sub{margin:4px 0 0;color:var(--muted);font-size:.92rem}.page-head .head-left{display:flex;align-items:center;gap:14px;min-width:0}.page-head-icon{width:46px;height:46px;border-radius:12px;background:var(--blue-light);color:var(--blue);display:flex;align-items:center;justify-content:center;flex-shrink:0}.page-head-icon .icon{width:1.35rem;height:1.35rem}.page-head-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.hero-banner{position:relative;overflow:hidden;border-radius:20px;padding:26px 32px;margin-bottom:20px;background:linear-gradient(110deg,#ffd3e4,#ffe7f1 34%,#eaf1ff 66%,#dcefff);display:flex;align-items:center;justify-content:space-between;gap:24px}.hero-banner:before{top:-90px;right:90px;width:220px;height:220px;background:radial-gradient(circle at 35% 35%,#ffb4d2,#ff9bc4 70%);opacity:.55}.hero-banner:after,.hero-banner:before{content:"";position:absolute;border-radius:50%;pointer-events:none}.hero-banner:after{bottom:-120px;right:-40px;width:240px;height:240px;background:radial-gradient(circle at 35% 35%,#a9dbff,#7fc4f5 70%);opacity:.5}.hero-banner-text{max-width:560px;position:relative;z-index:1}.hero-banner-greet{color:var(--pink);font-weight:700;font-size:.95rem;margin-bottom:6px}.hero-banner-greet span{color:var(--pink)}.hero-banner-text h2{margin:0 0 8px;font-size:1.5rem;font-weight:800;color:var(--ink);letter-spacing:-.01em;line-height:1.3}.hero-banner-text p{margin:0;color:var(--muted);font-size:.92rem}.hero-banner .btn{margin-top:16px;background:linear-gradient(100deg,var(--pink) 0,var(--blue) 100%);border-radius:999px;padding:13px 28px;box-shadow:0 8px 20px rgba(242,102,156,.32)}.hero-banner .btn:hover{background:linear-gradient(100deg,#e7508c,#2f7cb8)}.hero-illustration{position:relative;width:190px;height:150px;flex-shrink:0;display:flex;align-items:center;justify-content:center}.hero-illustration svg{width:100%;height:100%;overflow:visible}@media (max-width:860px){.hero-illustration{display:none}}.stat-card-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:16px;margin-bottom:20px}@media (max-width:1400px){.stat-card-grid{grid-template-columns:repeat(3,1fr)}}@media (max-width:900px){.stat-card-grid{grid-template-columns:repeat(2,1fr)}}@media (max-width:560px){.stat-card-grid{grid-template-columns:1fr}}.stat-card-v2{grid-column:span 1;background:var(--card);border:1px solid var(--border);border-radius:14px;padding:18px 18px 16px;box-shadow:var(--shadow-sm);transition:box-shadow .18s ease,transform .18s ease,border-color .18s ease;display:flex;flex-direction:column}@media (max-width:1400px){.stat-card-v2{grid-column:span 1}}.stat-card-v2:hover{box-shadow:var(--shadow-md);transform:translateY(-2px);border-color:#bee1f6}.stat-card-v2 .stat-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:14px}.stat-card-v2 .label{color:var(--muted);font-size:.8rem;font-weight:600;line-height:1.35}.stat-card-v2 .stat-icon{color:var(--blue);background:var(--blue-light);width:32px;height:32px;border-radius:9px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.stat-card-v2 .stat-icon .icon{width:1rem;height:1rem}.stat-card-v2 .value{font-size:1.7rem;font-weight:800;color:var(--ink);line-height:1.1;font-variant-numeric:tabular-nums}.stat-card-v2 .sub{color:var(--muted);font-size:.76rem;margin-top:6px}.stat-card-v2 .stat-link{margin-top:auto;padding-top:12px;font-size:.8rem;font-weight:700;color:var(--blue);display:inline-flex;align-items:center;gap:4px;background:none;border:none;cursor:pointer;font-family:inherit;align-self:flex-start}.stat-card-v2 .stat-link .icon{width:.8rem;height:.8rem;transition:transform .15s ease}.stat-card-v2 .stat-link:hover .icon{transform:translateX(2px)}.stat-card-v2.featured{grid-column:span 3;padding:20px 22px;background:var(--blue-light);border-color:transparent}@media (max-width:1400px){.stat-card-v2.featured{grid-column:span 3}}@media (max-width:900px){.stat-card-v2.featured{grid-column:span 2}}@media (max-width:560px){.stat-card-v2.featured{grid-column:span 1}}.stat-card-v2.featured .value{font-size:1.9rem}.stat-card-v2.tone-purple .stat-icon{color:var(--purple);background:var(--purple-light)}.stat-card-v2.tone-purple .stat-link{color:var(--purple)}.stat-card-v2.tone-teal .stat-icon{color:var(--teal);background:var(--teal-light)}.stat-card-v2.tone-teal .stat-link{color:var(--teal)}.stat-card-v2.tone-indigo .stat-icon{color:var(--indigo);background:var(--indigo-light)}.stat-card-v2.tone-indigo .stat-link{color:var(--indigo)}.stat-card-v2.tone-pink .stat-icon{color:var(--pink);background:var(--pink-light)}.stat-card-v2.tone-pink .stat-link{color:var(--pink)}.stat-card-v2.tone-sky .stat-icon{color:var(--sky);background:var(--sky-light)}.stat-card-v2.tone-sky .stat-link{color:var(--sky)}.stat-card-v2.tone-warn .stat-icon{color:var(--amber);background:var(--amber-light)}.stat-card-v2.tone-warn .stat-link,.stat-card-v2.tone-warn .value{color:var(--amber)}.stat-card-v2.tone-warn.featured{background:var(--amber-light)}.stat-card-v2.tone-danger .stat-icon{color:var(--red);background:#ffe0e2}.stat-card-v2.tone-danger .stat-link,.stat-card-v2.tone-danger .value{color:var(--red)}.stat-card-v2.tone-success .stat-icon{color:var(--green);background:#dff7e9}.stat-card-v2.tone-success .stat-link,.stat-card-v2.tone-success .value{color:var(--green)}.stat-card-v2.tone-success.featured{background:#dff7e9}.data-table{width:100%;border-collapse:collapse;font-size:.92rem;background:var(--card)}.data-table thead th{background:#fff4f8;color:var(--muted);text-transform:uppercase;font-size:.7rem;letter-spacing:.7px;font-weight:700;text-align:left;padding:12px;border-bottom:1px solid var(--border)}.data-table tbody td{padding:14px 12px;border-bottom:1px solid var(--border);vertical-align:middle}.data-table tbody tr:last-child td{border-bottom:none}.data-table tbody tr:hover td{background:#fff7fb}.cell-title{font-weight:700;color:var(--ink)}.cell-sub{display:block;font-size:.78rem;color:var(--muted);margin-top:2px}.pill{display:inline-flex;align-items:center;gap:6px;font-size:.74rem;font-weight:600;padding:4px 11px;border-radius:999px;border:1px solid transparent;white-space:nowrap}.pill:before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor}.pill-ok{background:#dff7e9;color:var(--green);border-color:#b5e8cf}.pill-warn{background:#ffebd1;color:#b96c1e;border-color:#f5dbb4}.pill-danger{background:#ffe0e2;color:var(--red);border-color:#f6c9cf}.pill-muted{background:var(--bg);color:var(--muted);border-color:var(--border)}.pill-muted:before{display:none}.pill-info{background:var(--blue-light);color:var(--blue);border-color:#bee1f6}.qr-chip{display:inline-flex;align-items:center;gap:6px;padding:7px 14px;border-radius:999px;border:1px solid var(--border);background:#fff;color:var(--muted);font-size:.82rem;font-weight:600;cursor:pointer}.qr-chip .icon{width:14px;height:14px}.qr-chip .count{background:var(--bg);border-radius:999px;padding:1px 7px;font-size:.74rem}.qr-chip.active{background:var(--blue);border-color:var(--blue);color:#fff}.qr-chip.active .count{background:hsla(0,0%,100%,.25);color:#fff}.answer-pill{display:inline-block;padding:3px 11px;border-radius:999px;font-size:.82rem;font-weight:600;background:var(--bg);color:var(--ink);white-space:nowrap}.answer-pill.correct{background:var(--teal-light);color:var(--teal)}.answer-pill.wrong{background:#ffe0e2;color:var(--red)}.answer-pill.blank{background:var(--border);color:var(--muted);font-style:italic}.qr-pagination{display:flex;align-items:center;justify-content:flex-end;gap:6px;margin-top:14px}.qr-pagination button{min-width:30px;height:30px;padding:0 6px;border-radius:8px;border:1px solid var(--border);background:#fff;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;color:var(--muted);font-size:.82rem}.qr-pagination button .icon{width:14px;height:14px}.qr-pagination button.active{background:var(--blue);border-color:var(--blue);color:#fff}.qr-pagination button:disabled{opacity:.4;cursor:not-allowed}.builder-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:4px;flex-wrap:wrap}.builder-toolbar h3{margin:0}.unit-overview{border:1px solid var(--border);border-radius:12px;padding:18px 20px;margin:18px 0 4px;background:var(--bg);display:flex;flex-wrap:wrap;gap:20px;align-items:center;justify-content:space-between}.unit-overview-main{display:flex;align-items:flex-start;gap:14px;flex:1;min-width:260px}.unit-overview-icon{width:44px;height:44px;border-radius:10px;background:var(--blue-light);color:var(--blue);display:flex;align-items:center;justify-content:center;flex-shrink:0}.unit-overview-icon .icon{width:1.3rem;height:1.3rem}.unit-overview-badges{display:flex;flex-wrap:wrap;gap:6px}.cat-badge{font-size:.74rem;font-weight:700;padding:3px 9px;border-radius:999px}.cat-badge-empty,.cat-badge-locked{background:var(--border);color:var(--muted)}.cat-badge-locked{display:inline-flex;align-items:center;gap:4px}.cat-badge-locked .icon{width:11px;height:11px}.unit-overview-meta{margin:8px 0 0;color:var(--muted);font-size:.82rem}.unit-overview-stats{display:flex;gap:22px;flex-wrap:wrap}.unit-overview-stat{display:flex;flex-direction:column;min-width:90px}.unit-overview-stat .value{font-size:1.25rem;font-weight:800;color:var(--ink)}.unit-overview-stat .label{font-size:.72rem;color:var(--muted);white-space:nowrap}.unit-cat-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0 10px}.unit-cat-tab{display:inline-flex;align-items:center;gap:7px;padding:8px 15px;font-size:.85rem;font-weight:600;color:var(--muted);background:var(--bg);border:1px solid var(--border);border-radius:8px;cursor:pointer;transition:all .15s}.unit-cat-tab .icon{width:16px;height:16px}.unit-cat-tab:hover{border-color:var(--blue);color:var(--blue)}.unit-cat-tab.active{background:var(--blue);border-color:var(--blue);color:#fff}.unit-cat-tab.is-locked{opacity:.55}.unit-cat-tab.is-locked.active{opacity:1;background:var(--muted);border-color:var(--muted)}.empty-state.locked-skill{display:flex;flex-direction:column;align-items:center;gap:10px;padding:40px 20px}.empty-state.locked-skill .icon{width:28px;height:28px;color:var(--muted)}.deadline-skill-row.is-locked>span:first-child{color:var(--muted);text-decoration:line-through}.skill-lock-btn{display:inline-flex;align-items:center;gap:5px;border:1px solid var(--border);background:#fff;color:var(--muted);border-radius:999px;padding:3px 10px;font-size:.76rem;cursor:pointer;white-space:nowrap}.skill-lock-btn .icon{width:13px;height:13px}.skill-lock-btn.on{background:#ffe0e2;border-color:var(--red);color:var(--red)}.unit-cat-tab .cat-done{width:15px;height:15px;border-radius:50%;background:var(--green);color:#fff;display:inline-flex;align-items:center;justify-content:center}.unit-cat-tab .cat-done .icon{width:9px;height:9px;stroke-width:3}.unit-subtabs{display:flex;gap:6px;margin:4px 0 18px;border-bottom:1px solid var(--border)}.unit-subtab{padding:8px 14px;font-size:.84rem;font-weight:600;color:var(--muted);background:none;border:none;border-bottom:2px solid transparent;cursor:pointer}.unit-subtab:hover{color:var(--blue)}.unit-subtab.active{color:var(--blue);border-bottom-color:var(--blue)}.settings-list{margin-top:14px;background:var(--card);border:1px solid var(--border);border-radius:12px;overflow:hidden}.settings-row{display:grid;grid-template-columns:40px minmax(170px,230px) 1fr;gap:18px;align-items:start;padding:20px 22px}.settings-row+.settings-row{border-top:1px solid var(--border)}.settings-row-icon{width:40px;height:40px;border-radius:10px;background:var(--blue-light);color:var(--blue);display:flex;align-items:center;justify-content:center}.settings-row-icon .icon{width:19px;height:19px}.settings-row-label{padding-top:3px}.settings-row-title{font-weight:700;font-size:.95rem;color:var(--ink)}.settings-row-desc{font-size:.8rem;color:var(--muted);margin-top:3px;line-height:1.45}.settings-row-control{min-width:0}.settings-row-control>input[type=datetime-local],.settings-row-control>input[type=text]{width:100%}.settings-check-group{display:flex;flex-wrap:wrap;gap:10px 22px;background:var(--bg);border:1px solid var(--border);border-radius:8px;padding:13px 15px}.settings-check-group label{display:flex;align-items:center;gap:8px;font-size:.9rem;font-weight:500;color:var(--ink);cursor:pointer}.settings-check-group input[type=checkbox]{width:16px;height:16px;accent-color:var(--blue);cursor:pointer}.settings-hint{font-size:.8rem;color:var(--muted);margin:8px 0 0}.deadline-class{border:1px solid var(--border);border-radius:8px;padding:12px 14px;margin-bottom:10px;background:var(--bg)}.deadline-class:last-of-type{margin-bottom:0}.deadline-class-head{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.deadline-class-name{font-weight:700;font-size:.88rem;color:var(--ink);min-width:130px}.deadline-class-head input[type=datetime-local]{flex:1;min-width:180px}.deadline-skill-toggle{display:inline-flex;align-items:center;gap:5px;margin-top:10px;padding:0;background:none;border:none;color:var(--blue);font-weight:600;font-size:.8rem;cursor:pointer}.deadline-skill-toggle .icon{width:14px;height:14px}.deadline-skill-grid{margin-top:10px;display:grid;gap:8px}.deadline-skill-row{display:flex;align-items:center;gap:10px}.deadline-skill-row>span{min-width:110px;font-size:.84rem;color:var(--muted);font-weight:500}.deadline-skill-row input[type=datetime-local]{flex:1;min-width:170px}.settings-note{display:flex;align-items:flex-start;gap:7px;font-size:.8rem;color:var(--muted);margin:10px 0 0;line-height:1.45}.settings-note:first-of-type{margin-top:14px}.settings-note .icon{width:14px;height:14px;flex-shrink:0;margin-top:2px}@media (max-width:720px){.settings-row{grid-template-columns:1fr;gap:10px;padding:16px}.settings-row-icon{display:none}}.grading-form{display:flex;flex-wrap:wrap;gap:10px;align-items:flex-start}.rubric-grader{max-width:none}.rubric-tasktoggle{display:flex;align-items:center;gap:8px;margin-bottom:12px;font-size:.85rem;font-weight:600;color:var(--muted)}.rubric-pilltab{padding:5px 12px;font-size:.82rem;font-weight:600;border:1px solid var(--border);border-radius:999px;background:var(--card);color:var(--muted);cursor:pointer}.rubric-pilltab.active{background:var(--blue);border-color:var(--blue);color:#fff}.rubric-crit{border:1px solid var(--border);border-radius:10px;padding:12px 14px;margin-bottom:10px;background:var(--card)}.rubric-crit-head{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.rubric-crit-name{font-weight:700;font-size:.9rem;color:var(--ink);flex:1;min-width:160px}.rubric-crit-key{color:var(--muted);font-weight:500}.rubric-crit-head select{padding:6px 10px;font-size:.85rem}.rubric-showbands{background:none;border:none;color:var(--blue);font-weight:600;font-size:.8rem;cursor:pointer;padding:4px 6px}.rubric-crit-desc{margin-top:8px;padding:8px 10px;background:var(--bg);border-radius:7px;font-size:.84rem;line-height:1.45}.rubric-crit-desc p{margin:0}.rubric-crit-desc .vi{color:var(--muted);margin-top:3px}.rubric-bandtable{width:100%;border-collapse:collapse;margin-top:8px;font-size:.8rem}.rubric-bandtable td{border:1px solid var(--border);padding:6px 8px;vertical-align:top}.rubric-bandtable td.b{width:30px;text-align:center;font-weight:700;color:var(--muted)}.rubric-bandtable tr{cursor:pointer}.rubric-bandtable tr:hover td{background:var(--bg)}.rubric-bandtable tr.active td{background:var(--blue-light)}.rubric-bandtable .vi{color:var(--muted)}.rubric-crit-note{width:100%;margin-top:8px;font-size:.85rem}.rubric-overall{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin:14px 0 10px;padding:12px 14px;background:var(--blue-light);border-radius:10px}.rubric-overall-label{font-weight:600;color:var(--muted);font-size:.85rem;margin-right:8px}.rubric-overall-value{font-weight:800;font-size:1.3rem;color:var(--navy)}.rubric-overall-auto{margin-left:8px;font-size:.8rem;color:var(--muted)}.rubric-override{display:flex;align-items:center;gap:6px;font-size:.84rem;font-weight:500;cursor:pointer}.rubric-override input{width:15px;height:15px;accent-color:var(--blue)}.rubric-feedback{width:100%;font-size:.9rem}.rubric-result{margin-top:10px}.rubric-result-band{display:inline-flex;align-items:baseline;gap:6px;font-weight:800;font-size:1.15rem;color:var(--navy)}.rubric-result-band small{font-size:.8rem;font-weight:600;color:var(--muted)}.rubric-result table{width:100%;border-collapse:collapse;margin-top:8px;font-size:.84rem}.rubric-result td{border:1px solid var(--border);padding:7px 9px;vertical-align:top}.rubric-result td.b{width:44px;text-align:center;font-weight:800;color:var(--navy)}.rubric-result td .crit{font-weight:700;color:var(--blue)}.rubric-result td .note{color:var(--ink);margin-top:2px}.lesson-text{white-space:normal;line-height:1.7;color:var(--text);margin:8px 0}.lesson-block{border:1px solid var(--border);border-radius:10px;padding:18px;margin-top:18px;background:#fff}.lesson-block-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.lesson-header-card{border:1px solid var(--border);border-radius:10px;padding:18px;margin-top:14px;background:var(--bg)}.lesson-header-top{display:flex;align-items:flex-start;gap:12px}.lesson-header-icon{width:40px;height:40px;border-radius:10px;background:var(--blue-light);color:var(--blue);display:flex;align-items:center;justify-content:center;flex-shrink:0}.lesson-header-icon .icon{width:1.2rem;height:1.2rem}.lesson-stat-row{display:flex;gap:28px;margin-top:16px;padding-top:14px;border-top:1px solid var(--border)}.lesson-stat{display:flex;flex-direction:column}.lesson-stat .value{font-size:1.3rem;font-weight:800;color:var(--ink)}.lesson-stat .label{font-size:.78rem;color:var(--muted)}.lesson-subtabs{display:flex;gap:6px;margin-top:16px}.lesson-subtab{border:none;background:#fff;border:1px solid var(--border);color:var(--muted);padding:8px 16px;border-radius:7px;font-size:.86rem;font-weight:600;cursor:pointer;display:inline-flex;align-items:center;gap:6px}.lesson-subtab.active{background:var(--blue);color:#fff;border-color:var(--blue)}.lesson-subtab .icon{width:1rem;height:1rem}.test-timer{display:flex;align-items:center;gap:8px;background:var(--blue-light);border:1px solid #bee1f6;color:var(--blue);font-weight:700;padding:10px 16px;border-radius:8px;margin-bottom:14px}.test-timer .icon{width:18px;height:18px}.test-timer.urgent{background:#ffe0e2;border-color:#f6c9cf;color:var(--red)}.login-page{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:32px 24px;position:relative;overflow:hidden;background:linear-gradient(165deg,#ffe3ee,#fff4f8 45%,#fff)}.login-page:before{inset:0;background-image:radial-gradient(rgba(242,102,156,.09) 1px,transparent 0);background-size:26px 26px;-webkit-mask-image:radial-gradient(900px 600px at 50% 20%,#000 0,transparent 75%);mask-image:radial-gradient(900px 600px at 50% 20%,#000 0,transparent 75%)}.login-page:after,.login-page:before{content:"";position:absolute;pointer-events:none}.login-page:after{right:-160px;bottom:-220px;width:520px;height:520px;border-radius:50%;background:radial-gradient(circle at 30% 30%,rgba(242,102,156,.12),rgba(242,102,156,.02) 70%)}.login-skills{position:relative;z-index:1;display:flex;gap:10px;margin-bottom:30px;flex-wrap:wrap;justify-content:center;max-width:480px}.login-skill-pill{display:inline-flex;align-items:center;gap:7px;padding:8px 16px;border-radius:999px;background:#fff;border:1px solid var(--border);box-shadow:var(--shadow-sm);color:var(--ink);font-size:.82rem;font-weight:700}.login-skill-pill .icon{width:1rem;height:1rem}.login-skill-pill.sk-blue .icon{color:var(--blue)}.login-skill-pill.sk-green .icon{color:var(--green)}.login-skill-pill.sk-purple .icon{color:var(--purple)}.login-skill-pill.sk-red .icon{color:var(--pink)}.login-skill-pill.sk-indigo .icon{color:var(--indigo)}.login-skill-pill.sk-amber .icon{color:var(--amber)}.login-stage{position:relative;z-index:1;width:100%;max-width:1180px;display:grid;grid-template-columns:1fr minmax(380px,430px) 1fr;align-items:center;gap:16px}.login-deco{position:relative;height:380px}.login-deco-left{display:flex;align-items:flex-end;justify-content:center}.login-tagline{position:absolute;left:6%;top:14%;font-family:Segoe Script,Bradley Hand,cursive;font-size:1.7rem;line-height:1.25;color:var(--indigo);transform:rotate(-3deg)}.login-arrow{position:absolute;left:8%;top:40%;width:110px;opacity:.7}.login-books{position:absolute;right:10%;bottom:0;width:220px}.login-deco-right .floating-card{position:absolute;background:#fff;border-radius:16px;box-shadow:var(--shadow-md);border:1px solid var(--border)}.progress-card{top:6%;right:14%;width:148px;padding:16px 16px 14px;text-align:center}.progress-card .fc-label{font-size:.76rem;font-weight:700;color:var(--muted);margin-bottom:4px}.progress-card .progress-ring{width:92px;height:92px}.progress-card .fc-sub{font-size:.78rem;font-weight:700;color:var(--green);margin-top:4px}.trophy-card{bottom:10%;right:36%;width:128px;padding:14px;display:flex;align-items:center;gap:10px;transform:rotate(-5deg)}.trophy-card .trophy-chip{width:34px;height:34px;border-radius:9px;background:var(--amber-light);color:var(--amber);display:flex;align-items:center;justify-content:center;flex-shrink:0}.trophy-card .trophy-chip .icon{width:1rem;height:1rem}.trophy-card .trophy-lines{flex:1;display:flex;flex-direction:column;gap:5px}.trophy-card .trophy-lines span{display:block;height:6px;border-radius:3px;background:var(--border)}.trophy-card .trophy-lines span:last-child{width:60%}.login-card{width:100%;background:var(--card);border:1px solid var(--border);border-radius:18px;box-shadow:var(--shadow-lg);padding:32px 30px 26px;position:relative;overflow:hidden;z-index:2}.login-card:before{content:"";position:absolute;top:0;left:0;right:0;height:4px;background:linear-gradient(90deg,var(--pink),var(--blue) 60%,var(--sky))}.login-brand{display:flex;align-items:center;justify-content:center;gap:12px;margin-bottom:8px;font-weight:800;font-size:1.25rem;color:var(--navy)}.login-brand .logo{width:96px;height:96px;-o-object-fit:contain;object-fit:contain}.login-sub{text-align:center;color:var(--muted);font-size:.88rem;margin:0 0 24px;line-height:1.5}.login-field{position:relative}.login-field>.icon{position:absolute;left:15px;top:37px;color:var(--muted);width:1.05rem;height:1.05rem;pointer-events:none}.login-field input{padding-left:42px!important;background:var(--bg)!important;border-radius:12px!important;border-color:transparent!important}.login-field input:focus{background:#fff!important;border-color:var(--blue)!important}.login-field .toggle-pw{position:absolute;right:6px;top:27px;background:none;border:none;color:var(--muted);cursor:pointer;padding:9px;border-radius:6px;display:flex}.login-field .toggle-pw:hover{background:var(--blue-light);color:var(--blue)}.login-row-between{display:flex;align-items:center;justify-content:space-between;margin:14px 0 20px;font-size:.84rem}.login-remember{display:inline-flex;align-items:center;gap:7px;color:var(--ink);font-weight:600;cursor:pointer}.login-remember input{accent-color:var(--blue);width:15px;height:15px}.login-forgot{color:var(--blue);font-weight:700;text-decoration:none;background:none;border:none;cursor:pointer;font-size:.84rem;font-family:inherit;padding:0}.login-forgot:hover{text-decoration:underline}.btn.login-submit{width:100%;display:flex;align-items:center;justify-content:center;gap:8px;padding:13px;font-size:.96rem;background:linear-gradient(100deg,var(--pink) 0,var(--blue) 100%);box-shadow:0 8px 20px rgba(242,102,156,.32)}.btn.login-submit:hover{background:linear-gradient(100deg,#e7508c,#2f7cb8)}.btn.login-submit .icon{width:1rem;height:1rem}.login-divider{display:flex;align-items:center;gap:12px;margin:20px 0 16px;color:var(--muted);font-size:.74rem;font-weight:700;letter-spacing:.5px}.login-divider:after,.login-divider:before{content:"";flex:1;height:1px;background:var(--border)}.btn.login-google{width:100%;background:#fff;color:var(--ink);border:1px solid var(--border);display:flex;align-items:center;justify-content:center;gap:10px;padding:11px;font-size:.9rem}.btn.login-google:hover{background:var(--bg)}.login-google-g{width:18px;height:18px;border-radius:50%;background:conic-gradient(#4285f4 0deg 90deg,#34a853 90deg 180deg,#fbbc05 180deg 270deg,#ea4335 270deg 1turn);display:inline-block}.login-footnote{display:flex;align-items:flex-start;gap:10px;margin-top:20px;padding:12px 14px;background:var(--blue-light);border-radius:10px}.login-footnote .icon{width:1.05rem;height:1.05rem;color:var(--blue);flex-shrink:0;margin-top:1px}.login-footnote span{font-size:.78rem;color:var(--navy);line-height:1.5}@media (max-width:1040px){.login-stage{grid-template-columns:1fr;max-width:430px}.login-deco-left,.login-deco-right{display:none}}@media (max-width:480px){.login-page{padding:20px 14px}.login-skills{gap:6px;margin-bottom:20px}.login-skill-pill{padding:6px 11px;font-size:.74rem}.login-card{padding:24px 18px 20px;border-radius:14px}}.app-shell.collapsed{grid-template-columns:72px 1fr}.app-shell.collapsed .sidebar{padding:18px 10px 14px}.app-shell.collapsed .sidebar .brand-text,.app-shell.collapsed .sidebar .link-label,.app-shell.collapsed .sidebar .sidebar-badge,.app-shell.collapsed .sidebar .sidebar-group-label,.app-shell.collapsed .sidebar .user-meta{display:none}.app-shell.collapsed .sidebar-link{justify-content:center;padding:10px}.app-shell.collapsed .sidebar-link.active:before{left:-10px}.app-shell.collapsed .sidebar-brand{justify-content:center;padding-left:0;padding-right:0}.app-shell.collapsed .sidebar-user{justify-content:center}@media (max-width:1100px) and (min-width:681px){.app-shell{grid-template-columns:72px 1fr}.sidebar{padding:18px 10px 14px}.sidebar .brand-text,.sidebar .link-label,.sidebar .sidebar-badge,.sidebar .sidebar-group-label,.sidebar .user-meta{display:none}.sidebar-link{justify-content:center;padding:10px}.sidebar-link.active:before{left:-10px}.sidebar-brand{justify-content:center;padding-left:0;padding-right:0}.sidebar-brand .logo{width:40px}.sidebar-user{justify-content:center}.content{padding:20px 16px 60px}.topbar-v2{padding:10px 16px}.topbar-search{display:none}}@media (max-width:680px){.app-shell{grid-template-columns:1fr}.sidebar{position:fixed;top:0;left:0;height:100vh;width:260px;max-width:82vw;z-index:60;transform:translateX(-100%);transition:transform .22s ease;box-shadow:none}.app-shell.collapsed .sidebar{transform:translateX(0)}.app-shell.collapsed .sidebar-backdrop{display:block}.app-shell.collapsed .sidebar .brand-text,.app-shell.collapsed .sidebar .link-label,.app-shell.collapsed .sidebar .sidebar-badge,.app-shell.collapsed .sidebar .sidebar-group-label,.app-shell.collapsed .sidebar .user-meta{display:revert}.app-shell.collapsed .sidebar-link{justify-content:flex-start;padding:9px 10px}.app-shell.collapsed .sidebar-link.active:before{left:-14px}.app-shell.collapsed .sidebar-brand{justify-content:flex-start;padding-left:10px}.app-shell.collapsed .sidebar-user{justify-content:flex-start}.sidebar-collapse-btn{display:none}.content{padding:16px 14px 50px}.topbar-v2{padding:10px 12px;gap:6px}.topbar-search,.topbar-user-chevron,.topbar-user-meta{display:none}.page-head{flex-direction:column;align-items:flex-start}.page-head-actions{width:100%}.page-head-actions .btn{flex:1}}.dash-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:20px}@media (max-width:1100px){.dash-stats{grid-template-columns:repeat(2,1fr)}}@media (max-width:560px){.dash-stats{grid-template-columns:1fr}}.dash-stat{background:var(--card);border:1px solid var(--border);border-radius:14px;padding:18px 20px;box-shadow:0 2px 10px rgba(150,120,145,.05);transition:box-shadow .15s ease,transform .15s ease}.dash-stat:hover{box-shadow:var(--shadow-md);transform:translateY(-2px)}.dash-stat-clickable{cursor:pointer}.imp-banner{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#fff4d6;border-bottom:1px solid #f0dca6;color:#6b5a1e;padding:9px 20px;font-size:.86rem;font-weight:600}.imp-banner .icon{width:1rem;height:1rem;vertical-align:-2px}.imp-banner button{flex-shrink:0;border:1px solid #e0607a;background:#fff;color:var(--red);border-radius:999px;padding:5px 14px;font-size:.8rem;font-weight:700;cursor:pointer}.imp-banner button:hover{background:#ffe0e2}.admin-table{width:100%;border-collapse:collapse;font-size:.86rem}.admin-table th{text-align:left;padding:9px 10px;border-bottom:2px solid var(--border);color:var(--muted);font-weight:700;font-size:.76rem;text-transform:uppercase;letter-spacing:.03em;white-space:nowrap}.admin-table td{padding:9px 10px;border-bottom:1px solid var(--border);vertical-align:middle}.admin-table tr:last-child td{border-bottom:none}.admin-table input,.admin-table select{font-size:.84rem;padding:4px 8px}.admin-table .btn.sm{padding:4px 10px;font-size:.76rem}.admin-table tr[style*=cursor]:hover td{background:var(--bg)}@keyframes row-flash{0%{background:#ffe9b3}to{background:transparent}}.row-highlight td{animation:row-flash 2s ease-out}.dash-stat-top{gap:12px}.dash-stat-ico,.dash-stat-top{display:flex;align-items:center}.dash-stat-ico{width:44px;height:44px;border-radius:12px;flex-shrink:0;justify-content:center;color:var(--indigo);background:var(--indigo-light)}.dash-stat-ico .icon{width:1.25rem;height:1.25rem}.dash-stat-label{color:var(--muted);font-size:.82rem;font-weight:600;line-height:1.3}.dash-stat-value{font-size:1.9rem;font-weight:800;color:var(--ink);line-height:1.1;margin:10px 0 8px;font-variant-numeric:tabular-nums}.dash-stat-link{background:none;border:none;padding:0;cursor:pointer;color:var(--indigo);font-weight:600;font-size:.82rem;display:inline-flex;align-items:center;gap:5px}.dash-stat-link .icon{width:.78rem;height:.78rem;transition:transform .15s ease}.dash-stat-link:hover .icon{transform:translateX(2px)}.dash-stat.tone-amber .dash-stat-ico{color:var(--amber);background:var(--amber-light)}.dash-stat.tone-amber .dash-stat-link{color:var(--amber)}.dash-stat.tone-pink .dash-stat-ico{color:var(--pink);background:var(--pink-light)}.dash-stat.tone-pink .dash-stat-link{color:var(--pink)}.dash-stat.tone-danger .dash-stat-ico{color:var(--red);background:#ffe0e2}.dash-stat.tone-danger .dash-stat-link{color:var(--red)}.dash-row-2{grid-template-columns:1.6fr 1fr;align-items:start}.dash-row-2,.dash-row-3{display:grid;gap:20px;margin-bottom:20px}.dash-row-3{grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch}.dash-row-2>*,.dash-row-3>*{min-width:0}.dash-row-2>.card,.dash-row-3>.card{margin-bottom:0;display:flex;flex-direction:column}.dash-col{display:flex;flex-direction:column;gap:20px;min-width:0}.dash-col>.card{margin-bottom:0}@media (max-width:1100px){.dash-row-2,.dash-row-3{grid-template-columns:1fr}.dash-row-2{align-items:start}.dash-row-3>.card{margin-bottom:20px}}.dash-empty{gap:12px;padding:18px 4px}.dash-empty,.dash-empty-ico{display:flex;align-items:center;color:var(--muted)}.dash-empty-ico{width:36px;height:36px;border-radius:10px;flex-shrink:0;justify-content:center;background:var(--bg)}.dash-empty-ico .icon{width:1.05rem;height:1.05rem}.dash-empty h4{margin:0 0 2px;font-size:.9rem;font-weight:700;color:var(--ink)}.dash-empty p{margin:0;font-size:.8rem;color:var(--muted)}.dash-badge{width:38px;height:38px;border-radius:10px;flex-shrink:0;display:flex;align-items:center;justify-content:center;background:var(--indigo-light);color:var(--indigo);font-weight:800;font-size:.8rem;text-transform:uppercase}.dash-datechip{width:44px;flex-shrink:0;text-align:center;border:1px solid var(--border);border-radius:10px;overflow:hidden;background:var(--bg)}.dash-datechip .m{display:block;font-size:.58rem;font-weight:700;letter-spacing:.5px;text-transform:uppercase;color:#fff;background:var(--indigo);padding:2px 0}.dash-datechip .d{display:block;font-size:1.05rem;font-weight:800;color:var(--ink);padding:3px 0}.dash-ico-circle{width:34px;height:34px;border-radius:50%;flex-shrink:0;display:flex;align-items:center;justify-content:center;background:var(--indigo-light);color:var(--indigo)}.dash-ico-circle .icon{width:1rem;height:1rem}.dash-ico-circle.ok{background:#dff7e9;color:var(--green)}.dash-count{min-width:26px;height:26px;padding:0 8px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;background:var(--indigo-light);color:var(--indigo);font-weight:800;font-size:.82rem}.dash-submitted{font-weight:800;font-size:.95rem;color:var(--green);font-variant-numeric:tabular-nums}.dash-submitted-label{font-size:.72rem;color:var(--muted);text-align:right}.dash-review-btn{border:1px solid #f6c9cf;background:#fff;color:var(--red);border-radius:999px;padding:5px 14px;font-size:.8rem;font-weight:600;cursor:pointer;display:inline-flex;align-items:center;gap:5px}.dash-review-btn:hover{background:#ffe0e2}.dash-queue-foot{width:100%;margin-top:4px;padding:11px;border-radius:10px;border:1px solid var(--border);background:var(--bg);color:var(--indigo);font-weight:700;font-size:.86rem;cursor:pointer}.dash-queue-foot:hover{background:var(--indigo-light)}.dash-completion{text-align:right;min-width:150px;flex-shrink:0}.dash-completion .pct{font-weight:800;font-size:.95rem;color:var(--ink)}.dash-completion .progress-bar{width:100%;margin:5px 0 3px}.dash-completion .lbl{font-size:.72rem;color:var(--muted)}.streak-chip{flex-shrink:0;align-self:flex-start;position:relative;z-index:1;display:inline-flex;align-items:center;gap:7px;background:#fff;border:1px solid var(--border);border-radius:999px;padding:8px 14px;font-size:.86rem;color:var(--ink);box-shadow:var(--shadow-sm)}.streak-chip .icon{width:1rem;height:1rem;color:var(--amber)}.streak-chip b{font-weight:800}.skillbar{display:grid;grid-template-columns:130px 1fr 62px;align-items:center;gap:12px;padding:9px 4px}.skillbar+.skillbar{border-top:1px solid var(--border)}.skillbar-label{font-size:.86rem;font-weight:600;color:var(--ink);display:flex;align-items:center}.skillbar .progress-bar{height:8px;width:100%;margin:0}.skillbar-val{font-size:.82rem;font-weight:700;color:var(--muted);text-align:right;font-variant-numeric:tabular-nums}.rank-row{display:flex;align-items:center;gap:11px;padding:9px 10px;border-radius:10px;margin-bottom:6px;border:1px solid transparent}.rank-row:last-child{margin-bottom:0}.rank-row.me{background:var(--indigo-light);border-color:#bee1f6}.rank-pos{font-weight:800;font-size:.82rem;color:var(--muted);min-width:26px}.rank-row .avatar{width:30px;height:30px;font-size:.72rem}.rank-row .meta-text h4{margin:0;font-size:.9rem;color:var(--ink);font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.rank-pts{font-weight:800;font-size:.84rem;color:var(--indigo);font-variant-numeric:tabular-nums;flex-shrink:0}@media (max-width:560px){.skillbar{grid-template-columns:96px 1fr 56px;gap:8px}}.ui-dialog-overlay{z-index:150;align-items:center}@keyframes ui-pop-in{0%{opacity:0;transform:translateY(8px) scale(.97)}to{opacity:1;transform:none}}.modal-box.ui-dialog{max-width:420px;animation:ui-pop-in .16s ease}.ui-dialog-body{padding:22px 22px 8px}.ui-dialog-title{display:flex;align-items:center;gap:10px;font-size:1.05rem;font-weight:800;color:var(--ink);margin-bottom:8px}.ui-dialog-ico{width:30px;height:30px;border-radius:8px;flex-shrink:0;display:flex;align-items:center;justify-content:center}.ui-dialog-ico .icon{width:1rem;height:1rem}.ui-dialog-ico.tone-info{background:var(--indigo-light);color:var(--indigo)}.ui-dialog-ico.tone-success{background:#dff7e9;color:var(--green)}.ui-dialog-ico.tone-error{background:#ffe0e2;color:var(--red)}.ui-dialog-msg{margin:0;color:var(--muted);font-size:.92rem;line-height:1.55;white-space:pre-wrap}.ui-dialog-field{margin-top:14px}.ui-dialog-field label{display:block;font-size:.82rem;font-weight:700;color:var(--ink);margin-bottom:6px}.ui-dialog-input{width:100%;padding:10px 12px;border:1px solid var(--border);border-radius:8px;font-size:.95rem;font-family:inherit}.ui-dialog-input:focus{outline:none;border-color:var(--blue);box-shadow:0 0 0 3px var(--blue-light)}.ui-dialog-err{margin:6px 0 0;color:var(--red);font-size:.82rem}.ui-dialog-actions{display:flex;justify-content:flex-end;gap:10px;padding:16px 22px 20px}.ui-dialog-actions .btn{padding:9px 18px;font-size:.9rem}.btn.btn-danger-solid{background:var(--red);color:#fff}.btn.btn-danger-solid:hover{background:#c24e68}.changelog-modal{max-width:480px;animation:ui-pop-in .16s ease}.changelog-head{display:flex;align-items:center;gap:10px;padding:22px 22px 4px}.changelog-head .icon{width:1.2rem;height:1.2rem;color:var(--brand,#e85d8a)}.changelog-head h3{margin:0;font-size:1.1rem;font-weight:800;color:var(--ink)}.changelog-body{padding:10px 22px 4px;overflow-y:auto}.changelog-entry+.changelog-entry{margin-top:14px;padding-top:14px;border-top:1px solid var(--border)}.changelog-date{font-size:.78rem;color:var(--muted);font-weight:700;margin-bottom:6px}.changelog-body ul{margin:0;padding-left:20px}.changelog-body li{margin-bottom:8px;line-height:1.6;color:var(--ink)}.changelog-body li:last-child{margin-bottom:0}.ui-toast-wrap{position:fixed;top:16px;right:16px;z-index:200;display:flex;flex-direction:column;gap:8px;max-width:340px}@keyframes ui-toast-in{0%{opacity:0;transform:translateX(20px)}to{opacity:1;transform:none}}.ui-toast{display:flex;align-items:center;gap:9px;background:var(--card);border:1px solid var(--border);border-left:4px solid var(--muted);border-radius:10px;padding:11px 14px;box-shadow:var(--shadow-md);font-size:.88rem;color:var(--ink);animation:ui-toast-in .18s ease}.ui-toast .icon{width:1rem;height:1rem;flex-shrink:0}.ui-toast.tone-success{border-left-color:var(--green)}.ui-toast.tone-success .icon{color:var(--green)}.ui-toast.tone-error{border-left-color:var(--red)}.ui-toast.tone-error .icon{color:var(--red)}.ui-toast.tone-info{border-left-color:var(--indigo)}.ui-toast.tone-info .icon{color:var(--indigo)}.modal-box.srm{max-width:460px;text-align:center;padding:28px 28px 26px;align-items:stretch;animation:ui-pop-in .18s ease}.srm-close{position:absolute;top:14px;right:14px;width:30px;height:30px;border-radius:50%;border:none;background:var(--bg);color:var(--muted);display:flex;align-items:center;justify-content:center;cursor:pointer}.srm-close:hover{background:var(--border);color:var(--ink)}.srm-close .icon{width:.9rem;height:.9rem}.srm,.srm-illus{position:relative}.srm-illus{height:116px;display:flex;align-items:center;justify-content:center;margin-bottom:4px}.srm-illus svg{width:130px;height:130px;position:relative;z-index:1}.srm-blob{position:absolute;width:150px;height:96px;border-radius:50%;background:var(--purple-light);filter:blur(6px)}.srm-title{margin:6px 0;font-size:1.3rem;font-weight:800;color:var(--ink)}.srm-sub{margin:0 0 18px;color:var(--muted);font-size:.92rem;line-height:1.5}.txt-late{color:var(--pink)}.srm-detail{text-align:left;border:1px solid var(--border);border-radius:12px;background:var(--bg);overflow:hidden;margin-bottom:14px}.srm-row{display:flex;align-items:center;gap:12px;padding:13px 15px}.srm-row+.srm-row{border-top:1px solid var(--border)}.srm-row-ico{width:34px;height:34px;border-radius:9px;flex-shrink:0;display:flex;align-items:center;justify-content:center;background:#fff;border:1px solid var(--border);color:var(--indigo)}.srm-row-ico .icon{width:1rem;height:1rem}.srm-row-label{font-size:.74rem;color:var(--muted);font-weight:600}.srm-row-value{font-size:.92rem;color:var(--ink);font-weight:700;margin-top:2px}.srm-score{display:flex;flex-direction:column;align-items:center;margin-bottom:16px}.srm-score-num{font-size:2rem;font-weight:800;color:var(--ink)}.srm-score-cap{font-size:.8rem;color:var(--muted)}.srm-late-bar{display:flex;align-items:flex-start;gap:9px;text-align:left;background:var(--amber-light);border:1px solid #f5dbb4;color:#9a5a1e;border-radius:10px;padding:11px 13px;font-size:.84rem;line-height:1.45;margin-bottom:16px}.srm-late-bar .icon{width:1rem;height:1rem;flex-shrink:0;margin-top:1px;color:var(--amber)}.srm-btn{width:100%;background:var(--indigo);padding:12px}.srm-btn:hover{background:#245f8f}@media (max-width:560px){.modal-box.srm,.modal-box.ui-dialog{max-width:100%}}.essay-annot-wrap{margin-bottom:14px}.ea-bar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px;flex-wrap:wrap}.ea-modeswitch{display:inline-flex;gap:4px}.ea-ai-btn{padding:7px 14px;font-size:.85rem;display:inline-flex;align-items:center;gap:6px}.ea-ai-btn .icon{width:.95rem;height:.95rem}.essay-annot{position:relative;white-space:pre-wrap;line-height:2;font-size:.96rem;padding:14px 16px;border:1px solid var(--border);border-radius:10px;background:#fff;color:var(--ink)}.essay-annot.readonly{line-height:1.9}.essay-annot ins.ea-add{color:#2fa36b;background:none;text-decoration:none;border-radius:3px;padding:0 1px}.essay-annot del.ea-del{text-decoration:line-through;color:var(--red);background:#ffe0e2;border-radius:3px;padding:0 1px}.essay-annot .ea-hl{border-bottom:2px solid #2f7de1;cursor:pointer}.ea-pop{position:fixed;z-index:1000;max-width:300px;padding:10px 12px;background:#fff;border:1px solid var(--border);border-radius:10px;box-shadow:0 8px 24px rgba(0,0,0,.14);font-size:.85rem;line-height:1.5;color:var(--ink)}.ea-pop-item+.ea-pop-item{margin-top:8px;padding-top:8px;border-top:1px dashed var(--border)}.ea-pop-tag{font-size:.72rem;font-weight:700;color:#2f7de1;text-transform:uppercase;letter-spacing:.4px}.ea-toolbar{position:fixed;z-index:1000;width:260px;background:var(--card);border:1px solid var(--border);border-radius:10px;box-shadow:var(--shadow-md);padding:10px;display:flex;flex-direction:column;gap:7px}.ea-tb-actions{display:flex;gap:4px}.ea-tb-close{position:absolute;top:-10px;right:-10px;width:22px;height:22px;border-radius:50%;border:1px solid var(--border);background:var(--card);color:var(--muted);font-size:1rem;line-height:1;cursor:pointer;padding:0;box-shadow:var(--shadow-md)}.ea-tb-btn,.ea-tb-close:hover{color:var(--ink)}.ea-tb-btn{flex:1;border:1px solid var(--border);background:#fff;border-radius:7px;padding:5px 8px;font-size:.8rem;font-weight:600;cursor:pointer}.ea-tb-btn.active{background:var(--indigo);color:#fff;border-color:var(--indigo)}.ea-tb-row{display:flex;gap:6px;align-items:center}.ea-tb-row select{flex:1}.ea-tb-input,.ea-toolbar select{width:100%;padding:6px 8px;border:1px solid var(--border);border-radius:7px;font-size:.82rem;font-family:inherit}.ea-list{margin-top:12px}.ea-list-group{margin-bottom:10px}.ea-list-head{font-size:.78rem;font-weight:700;color:var(--muted);text-transform:uppercase;letter-spacing:.4px;margin-bottom:5px}.ea-list-item{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:7px 10px;border:1px solid var(--border);border-radius:8px;margin-bottom:5px;font-size:.84rem}.ea-chip{background:var(--bg);border:1px solid var(--border);border-radius:999px;padding:2px 8px;font-size:.72rem;color:var(--muted)}.ea-quote{color:var(--ink)}.ea-quote b{color:#2fa36b}.ea-note{color:var(--muted);font-style:italic}.ea-list-item .ea-mini{width:64px;padding:3px 6px;border:1px solid var(--border);border-radius:6px;font-size:.78rem;margin-left:auto}.annotated-essay{margin-bottom:12px}.ea-readlist{margin:8px 0 0;padding-left:0;list-style:none;font-size:.85rem}.ea-readlist li{padding:4px 0;border-bottom:1px dashed var(--border);line-height:1.5}.ea-readlist li:last-child{border-bottom:none}.ea-edit textarea{width:100%;padding:12px 14px;border:1px solid var(--border);border-radius:10px;font-family:inherit;font-size:.95rem;line-height:1.7;resize:vertical}.prompt-instructions{margin:6px 0 4px}.prompt-instructions p{margin:0 0 8px;line-height:1.55;color:var(--muted);white-space:pre-line;overflow-wrap:anywhere}.prompt-instructions p:last-child{margin-bottom:0}.essay-input{min-height:420px;resize:vertical}@media (max-width:860px){.essay-input{min-height:320px}}.speaking-review{margin-bottom:14px}.sr-addnote{display:flex;gap:6px;align-items:center;flex-wrap:wrap;margin-top:10px}.sr-addnote input,.sr-addnote select{padding:6px 8px;border:1px solid var(--border);border-radius:7px;font-size:.82rem;font-family:inherit}.sr-transcript{margin-top:8px}.sr-transcript summary{cursor:pointer;font-size:.82rem;font-weight:600;color:var(--indigo)}.sr-transcript p{margin:6px 0 0;white-space:pre-wrap;line-height:1.6;font-size:.9rem;color:var(--ink)}.ai-model-list{list-style:none;padding:0;margin:8px 0 0;counter-reset:m}.ai-model-list li{display:flex;align-items:center;gap:10px;padding:10px 12px;border:1px solid var(--border);border-radius:8px;margin-bottom:6px;background:#fff}.ai-model-list li:before{counter-increment:m;content:counter(m);width:20px;color:var(--muted);font-weight:700;font-size:.8rem}.ai-model-id{font-family:ui-monospace,monospace;font-size:.9rem;color:var(--ink)}.ai-model-actions{margin-left:auto;display:flex;gap:2px}.ai-model-suggest{display:flex;flex-wrap:wrap;gap:8px}.ai-suggest-chip{border:1px solid var(--border);background:#fff;border-radius:8px;padding:7px 11px;font-size:.82rem;cursor:pointer;color:var(--ink);text-align:left}.ai-suggest-chip span{display:block;font-family:ui-monospace,monospace;font-size:.72rem;color:var(--muted)}.ai-suggest-chip:hover:not(:disabled){border-color:var(--indigo);background:var(--indigo-light)}.ai-suggest-chip:disabled{opacity:.4;cursor:not-allowed}.sub-stepper{display:flex;align-items:flex-start;justify-content:space-between;margin:20px 0 4px;gap:4px}.sub-stepper-item{position:relative;display:flex;flex-direction:column;align-items:center;flex:1;text-align:center}.sub-stepper-dot{width:32px;height:32px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:var(--bg);color:var(--muted);border:2px solid var(--border);font-weight:700;font-size:.85rem;z-index:1}.sub-stepper-dot.active{background:var(--pink-light);color:var(--pink);border-color:var(--pink)}.sub-stepper-dot.done{background:var(--pink);color:#fff;border-color:var(--pink)}.sub-stepper-dot .icon{width:16px;height:16px}.sub-stepper-label{margin-top:6px;font-size:.78rem;color:var(--ink);font-weight:600}.sub-stepper-line{position:absolute;top:16px;left:50%;width:100%;height:2px;background:var(--border);z-index:0}.sub-stepper-dot.done~.sub-stepper-line{background:var(--pink)}.reflog-card{margin-top:16px}.reflog-field{margin-bottom:14px}.reflog-field label{display:block;font-weight:600;font-size:.85rem;margin-bottom:6px;color:var(--ink)}.reflog-input{width:100%;border:1px solid var(--border);padding:8px 10px;font-family:inherit;resize:vertical}.reflog-answer,.reflog-input{border-radius:8px;font-size:.9rem}.reflog-answer{background:var(--purple-light);padding:10px 12px;color:var(--ink)}.reflog-tags{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:8px}.reflog-tag-add{display:flex;gap:8px}.reflog-tag-add .reflog-input{flex:1}.reflog-tag{display:inline-flex;align-items:center;gap:4px}.reflog-tag-remove{background:none;border:none;cursor:pointer;color:inherit;font-size:1rem;line-height:1;padding:0}.unit-detail-page>.card>h2{color:var(--pink)}.unit-detail-page .notice.info{background:linear-gradient(100deg,var(--pink-light) 0,var(--blue-light) 100%);color:var(--navy)}.unit-detail-page .unit-cat-tab.active{background:linear-gradient(100deg,var(--pink) 0,var(--blue) 100%);border-color:transparent;color:#fff}.unit-detail-page .lesson-header-icon,.unit-detail-page .unit-list-num{background:linear-gradient(135deg,var(--pink-light) 0,var(--blue-light) 100%);color:var(--navy)}.unit-detail-page .unit-list-row.selected .unit-list-num{background:linear-gradient(100deg,var(--pink) 0,var(--blue) 100%);color:#fff}.unit-detail-page button.unit-list-goto{background:var(--pink-light);color:var(--pink)}.unit-detail-page .lesson-subtab.active{background:linear-gradient(100deg,var(--pink) 0,var(--blue) 100%);border-color:transparent;color:#fff}.suggested-actions-box{margin-top:14px;padding:16px 18px;border:1px solid var(--border);border-radius:10px;background:linear-gradient(155deg,var(--pink-light) 0,var(--blue-light) 100%)}.suggested-actions-box h4{display:flex;align-items:center;gap:6px;color:var(--ink)}.suggested-actions-box h4 .icon{width:1rem;height:1rem;color:var(--pink)}.sa-section-title{font-weight:700;font-size:.82rem;color:var(--ink);margin:12px 0 4px}.sa-section-title:first-of-type{margin-top:0}.sa-priorities{margin:0;padding-left:20px;font-size:.9rem;line-height:1.7}.sa-vocab-list{list-style:none;margin:0;padding:0}.sa-vocab-list li{padding:6px 0;border-bottom:1px dashed var(--border);font-size:.9rem}.sa-vocab-list li:last-child{border-bottom:none}.sa-vocab-example{color:var(--muted);font-size:.84rem;font-style:italic;margin-top:2px}.sa-sample{white-space:pre-wrap;font-size:.9rem;line-height:1.7;background:#fff;border-radius:8px;padding:10px 12px;margin:0}.sa-main-issue{font-size:.9rem;line-height:1.6;margin:0 0 8px;color:var(--ink)}.sr-corrections{margin-top:10px}.rubric-overall-row .b{font-weight:800}.rubric-overall-row td{border-bottom:2px solid var(--border)}.suggested-actions-editor h4{display:flex;align-items:center;gap:6px}.suggested-actions-editor h4 .icon{width:1rem;height:1rem;color:var(--pink)}.sa-label{display:block;font-weight:600;font-size:.8rem;color:var(--muted);margin-bottom:4px}.sa-input{width:100%;border:1px solid var(--border);border-radius:8px;padding:7px 10px;font-size:.88rem;font-family:inherit;margin-bottom:6px;resize:vertical}.sa-vocab-row{display:flex;gap:6px;margin-bottom:6px;align-items:center}.sa-vocab-row input{border:1px solid var(--border);border-radius:8px;padding:6px 9px;font-size:.85rem;font-family:inherit}.theory-resource-box{border:1px solid var(--border);border-radius:12px;background:linear-gradient(180deg,#fff,var(--bg));padding:16px 18px;margin-bottom:20px;box-shadow:var(--shadow-sm)}.theory-resource-head{display:flex;gap:12px;align-items:flex-start}.theory-resource-icon{flex-shrink:0;width:34px;height:34px;display:grid;place-items:center;border-radius:9px;background:var(--sky-light);color:var(--navy)}.theory-resource-icon .icon{width:17px;height:17px}.theory-resource-head h4{margin:0;font-size:.98rem;color:var(--navy)}.theory-resource-head p{margin:3px 0 0;font-size:.82rem;color:var(--muted);line-height:1.5}.theory-resource-field{margin-top:14px}.theory-resource-field label{display:block;font-weight:600;font-size:.82rem;color:var(--ink);margin-bottom:5px}.theory-resource-field label .opt{font-weight:400;color:var(--muted)}.theory-resource-field input{width:100%;padding:10px 13px;border:1px solid var(--border);border-radius:9px;font-family:inherit;font-size:.9rem;background:#fff;transition:border-color .15s,box-shadow .15s}.theory-resource-field input::-moz-placeholder{color:#b7b3c4}.theory-resource-field input::placeholder{color:#b7b3c4}.theory-resource-field input:focus{border-color:var(--pink);box-shadow:0 0 0 3px var(--pink-light);outline:none}.att-chip{display:inline-flex;align-items:center;gap:4px;font-size:.74rem;font-weight:700;padding:3px 9px;border-radius:999px;white-space:nowrap}.att-chip.att-present{background:var(--teal-light);color:#1f7a4d}.att-chip.att-late{background:var(--amber-light);color:#9a5a12}.att-chip.att-excused{background:var(--sky-light);color:var(--navy-dark)}.att-chip.att-absent{background:#ffe0e2;color:#b23b52}.att-session-row{display:flex;align-items:center;gap:14px;padding:12px 14px;border:1px solid var(--border);border-radius:10px;background:#fff;cursor:pointer;transition:border-color .12s,box-shadow .12s}.att-session-row:hover{border-color:var(--blue);box-shadow:var(--shadow-sm)}.att-session-num{flex-shrink:0;display:flex;flex-direction:column;align-items:center;justify-content:center;width:54px;padding:6px 0;border-radius:9px;background:var(--bg);line-height:1.1}.att-session-num span{font-size:.6rem;text-transform:uppercase;letter-spacing:.4px;color:var(--muted)}.att-session-num strong{font-size:1.25rem;color:var(--navy)}.att-session-meta{flex:1;min-width:0}.att-session-meta h4{margin:0;font-size:.96rem}.att-session-meta p{margin:2px 0 0;font-size:.8rem;color:var(--muted)}.att-session-chips{display:flex;gap:5px;flex-wrap:wrap;justify-content:flex-end;max-width:46%}.att-summary{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:20px 0 12px;padding:10px 12px;border:1px solid var(--border);border-radius:10px;background:var(--bg)}.att-summary .att-chip strong{font-size:.85rem}.att-summary .btn.sm{margin-left:auto}.att-summary .btn.sm+.btn.sm{margin-left:0}.att-sheet{display:grid;gap:8px}.att-row{justify-content:space-between;gap:14px;padding:10px 12px;border:1px solid var(--border);border-radius:10px;background:#fff}.att-row,.att-row-name{display:flex;align-items:center}.att-row-name{gap:10px;min-width:0}.att-row-idx{flex-shrink:0;width:24px;height:24px;display:grid;place-items:center;border-radius:6px;background:var(--bg);font-size:.74rem;color:var(--muted);font-weight:700}.att-row-name strong{display:block;font-size:.92rem}.att-row-user{font-size:.74rem;color:var(--muted)}.att-seg{display:inline-flex;flex-shrink:0;border-radius:9px;overflow:hidden;border:1px solid var(--border)}.att-seg-btn{border:none;border-left:1px solid var(--border);background:#fff;color:var(--muted);padding:8px 12px;font-size:.8rem;font-weight:700;cursor:pointer;display:inline-flex;align-items:center;gap:6px;transition:background .1s,color .1s}.att-seg-btn:first-child{border-left:none}.att-seg-btn:hover{background:var(--bg)}.att-seg-label{display:none}.att-seg-btn.active{color:#fff}.att-seg-btn.att-present.active{background:var(--green)}.att-seg-btn.att-late.active{background:var(--amber)}.att-seg-btn.att-excused.active{background:var(--sky)}.att-seg-btn.att-absent.active{background:var(--red)}.att-row-controls{display:flex;align-items:center;gap:12px;flex-wrap:wrap;justify-content:flex-end}.att-hw{display:inline-flex;align-items:center;gap:6px}.att-seg-btn.hw-done.active{background:var(--green)}.att-seg-btn.hw-partial.active{background:var(--amber)}.att-seg-btn.hw-missing.active{background:var(--red)}.att-hw-tag{font-size:.66rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:var(--muted);background:var(--bg);border:1px solid var(--border);border-radius:999px;padding:2px 7px;line-height:1.4}.att-hw-tag.as-btn{cursor:pointer}.att-hw-tag.as-btn:hover{color:var(--navy-dark);border-color:var(--navy-dark)}.att-hw-hint{display:flex;align-items:flex-start;gap:7px;font-size:.78rem;color:var(--muted);margin:0 0 12px}.att-hw-hint .icon{flex-shrink:0;width:15px;height:15px;margin-top:1px}.att-savebar{position:sticky;bottom:0;display:flex;align-items:center;justify-content:flex-end;gap:14px;margin:18px -18px -18px;padding:14px 18px;border-top:1px solid var(--border);background:hsla(0,0%,100%,.92);backdrop-filter:blur(4px);border-radius:0 0 var(--radius) var(--radius)}.att-savebar-hint{font-size:.8rem;color:var(--muted);margin-right:auto}@media (min-width:760px){.att-seg-label{display:inline}.att-seg-short{display:none}}@media (max-width:560px){.att-row{flex-direction:column;align-items:stretch}.att-row-controls{justify-content:stretch}.att-seg{width:100%}.att-seg-btn{flex:1;justify-content:center}.att-hw{width:100%;flex-wrap:wrap}.att-session-chips{display:none}}.support-fab{position:fixed;right:22px;bottom:22px;z-index:60;display:inline-flex;align-items:center;gap:8px;padding:11px 16px;border:none;border-radius:999px;cursor:pointer;background:var(--blue);color:#fff;font-weight:600;font-size:.9rem;box-shadow:var(--shadow-md)}.support-fab:hover{background:var(--navy)}.support-fab .icon{width:1.05rem;height:1.05rem}@media (max-width:680px){.support-fab span{display:none}.support-fab{padding:12px;right:14px;bottom:14px}}.tkt-row{cursor:pointer}.tkt-row.sel,.tkt-row:hover{background:var(--blue-light)}.tkt-row.unread td:first-child{font-weight:700}.tkt-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--pink);margin-right:7px;vertical-align:middle}.tkt-count,.tkt-sub{color:var(--muted);font-size:.82rem}.tkt-sub{margin-top:2px}.tkt-tabs{display:flex;gap:6px;margin-bottom:14px;border-bottom:1px solid var(--border)}.tkt-tab{background:none;cursor:pointer;padding:9px 14px;font-weight:600;color:var(--muted);border:none;border-bottom:2px solid transparent;display:inline-flex;align-items:center;gap:7px}.tkt-tab.active{color:var(--blue);border-bottom-color:var(--blue)}.tkt-tab-n{background:var(--pink);color:#fff;border-radius:999px;font-size:.72rem;padding:1px 7px;font-weight:700}.tkt-admin-grid{display:grid;grid-template-columns:1fr;gap:16px}@media (min-width:1080px){.tkt-admin-grid{grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);align-items:start}}.tkt-detail{padding:16px}.tkt-detail-head{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}.tkt-controls{display:flex;gap:16px;flex-wrap:wrap;margin:12px 0}.tkt-controls label{gap:4px;font-size:.82rem;font-weight:600;color:var(--muted)}.tkt-controls label,.tkt-thread{display:flex;flex-direction:column}.tkt-thread{gap:10px;max-height:440px;overflow-y:auto;padding:14px}.card.tkt-thread{background:var(--bg)}.tkt-bubble{align-self:flex-start;max-width:82%;background:#fff;border:1px solid var(--border);border-radius:12px;padding:9px 12px}.tkt-bubble.mine{align-self:flex-end;background:var(--blue-light);border-color:var(--blue-light)}.tkt-bubble-head{font-size:.76rem;color:var(--muted);margin-bottom:3px}.tkt-bubble-head b{color:var(--ink)}.tkt-bubble-body{white-space:pre-wrap;font-size:.92rem;line-height:1.45}.tkt-sys{text-align:center;color:var(--muted);font-size:.82rem;font-style:italic}.tkt-reply{display:flex;gap:8px;margin-top:12px;align-items:flex-end}.tkt-reply textarea{flex:1;resize:vertical;min-height:44px}.tkt-shots{display:flex;gap:8px;flex-wrap:wrap;margin-top:6px}.tkt-shot{position:relative;width:78px;height:78px;border-radius:8px;overflow:hidden;border:1px solid var(--border);display:block}.tkt-shot img{width:100%;height:100%;-o-object-fit:cover;object-fit:cover}.tkt-shot button{position:absolute;top:2px;right:2px;border:none;cursor:pointer;background:rgba(0,0,0,.55);color:#fff;border-radius:50%;width:20px;height:20px;display:grid;place-items:center;padding:0}.tkt-shot button .icon{width:.8rem;height:.8rem}.tkt-shot-add{width:78px;height:78px;border:1px dashed var(--border);border-radius:8px;background:var(--bg);cursor:pointer;color:var(--muted);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;font-size:.74rem}.tkt-kind-seg{display:inline-flex;border:1px solid var(--border);border-radius:8px;overflow:hidden}.tkt-kind-btn{background:#fff;border:none;cursor:pointer;padding:8px 16px;font-weight:600;color:var(--muted)}.tkt-kind-btn.active{background:var(--blue);color:#fff}.sidebar-brand-main{display:flex;flex-direction:column;align-items:center;gap:4px;min-width:0;max-width:100%}.sidebar-brand-name{font-size:.8rem;font-weight:700;line-height:1.2;text-align:center;overflow-wrap:anywhere;color:var(--navy)}.app-shell.collapsed .sidebar-brand-name{display:none}