@import"https://yh-asset.oss-cn-hangzhou.aliyuncs.com/mathlive/mathlive-static.css";:root{--sr-ink: #172026;--sr-muted: #65717c;--sr-navy: #263245;--sr-ink-faint: #64748b;--sr-moss: #1f6f5b;--sr-edge: rgba(38, 50, 69, .18);--sr-radius: 18px;--sr-radius-sm: 12px;--sr-radius-lg: 24px;--sr-shadow: 0 22px 80px rgba(0, 0, 0, .28)}.sr-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;border:1px solid transparent;border-radius:var(--sr-radius-sm);padding:9px 16px;font-weight:700;font-size:13px;cursor:pointer;min-height:38px;white-space:nowrap;transition:background .15s,border-color .15s}.sr-btn:disabled{opacity:.45;cursor:not-allowed}.sr-btn--primary{background:var(--sr-navy);color:#fff;border-color:var(--sr-navy)}.sr-btn--primary:hover:not(:disabled){background:#1a2a3f}.sr-btn--secondary{background:#2632450f;color:var(--sr-navy);border-color:#26324524}.sr-btn--secondary:hover:not(:disabled){background:#2632451f}.sr-btn--danger{background:#b42318;color:#fff;border-color:#b42318}.sr-btn--danger:hover:not(:disabled){background:#9c1b13}.sr-btn--compact{min-height:30px;padding:5px 10px;font-size:12px}.sr-eyebrow{display:block;font-size:11px;font-weight:800;color:var(--sr-muted);text-transform:uppercase;letter-spacing:.04em}.sr-regenerate-dialog{width:min(480px,100%);max-height:90vh;overflow-y:auto;display:grid;gap:16px;padding:24px;border:1px solid var(--sr-edge);border-radius:var(--sr-radius-lg);background:#fff;box-shadow:var(--sr-shadow)}.sr-regenerate-dialog textarea{width:100%;min-height:120px;padding:12px;border:1px solid rgba(38,50,69,.18);border-radius:var(--sr-radius-sm);font-size:14px;resize:vertical}.sr-lazy-panel{display:grid;min-height:220px;place-items:center;border:1px dashed rgba(38,50,69,.18);border-radius:var(--sr-radius-lg);background:#ffffffb8;color:var(--sr-muted);font-size:14px;font-weight:800}.sr-lazy-panel--compact{min-height:96px}html,body{width:100%;height:100%}input::-ms-clear,input::-ms-reveal{display:none}*,*:before,*:after{box-sizing:border-box}html{font-family:sans-serif;line-height:1.15;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-ms-overflow-style:scrollbar;-webkit-tap-highlight-color:rgba(0,0,0,0)}body{margin:0}[tabindex="-1"]:focus{outline:none}hr{box-sizing:content-box;height:0;overflow:visible}h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5em;font-weight:500}p{margin-top:0;margin-bottom:1em}abbr[title],abbr[data-original-title]{-webkit-text-decoration:underline dotted;text-decoration:underline dotted;border-bottom:0;cursor:help}address{margin-bottom:1em;font-style:normal;line-height:inherit}input[type=text],input[type=password],input[type=number],textarea{-webkit-appearance:none}ol,ul,dl{margin-top:0;margin-bottom:1em}ol ol,ul ul,ol ul,ul ol{margin-bottom:0}dt{font-weight:500}dd{margin-bottom:.5em;margin-left:0}blockquote{margin:0 0 1em}dfn{font-style:italic}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}pre,code,kbd,samp{font-size:1em;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace}pre{margin-top:0;margin-bottom:1em;overflow:auto}figure{margin:0 0 1em}img{vertical-align:middle;border-style:none}a,area,button,[role=button],input:not([type=range]),label,select,summary,textarea{touch-action:manipulation}table{border-collapse:collapse}caption{padding-top:.75em;padding-bottom:.3em;text-align:left;caption-side:bottom}input,button,select,optgroup,textarea{margin:0;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit}button,input{overflow:visible}button,html [type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{padding:0;border-style:none}input[type=radio],input[type=checkbox]{box-sizing:border-box;padding:0}input[type=date],input[type=time],input[type=datetime-local],input[type=month]{-webkit-appearance:listbox}textarea{overflow:auto;resize:vertical}fieldset{min-width:0;margin:0;padding:0;border:0}legend{display:block;width:100%;max-width:100%;margin-bottom:.5em;padding:0;color:inherit;font-size:1.5em;line-height:inherit;white-space:normal}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{outline-offset:-2px;-webkit-appearance:none}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}output{display:inline-block}template{display:none}[hidden]{display:none!important}.tme-root{width:100%;height:100%}.tme-editor-host{width:100%;min-height:520px}.tme-modal-footer{display:flex;justify-content:flex-end;gap:8px;padding-top:16px;border-top:1px solid #e2e8f0}.tme-link-button{padding-right:0;padding-left:0}.tme-hidden-input{display:none}.tme-image-pane{min-height:220px}.tme-image-pane-network{padding:16px 0}.tme-image-dropzone,.tme-image-add-button{display:flex;align-items:center;justify-content:center;border:2px dashed #cbd5e1;border-radius:6px;color:#64748b;background:#f8fafc;cursor:pointer;transition:background-color .15s ease,border-color .15s ease}.tme-image-dropzone:hover,.tme-image-add-button:hover{border-color:#3b82f6;background:#eff6ff}.tme-image-dropzone{width:100%;height:200px;margin:16px 0;flex-direction:column}.tme-image-dropzone-icon{width:40px;height:40px;margin-bottom:12px}.tme-image-dropzone-text{font-size:14px}.tme-image-grid{display:grid;grid-template-columns:repeat(auto-fill,120px);gap:16px;padding:16px 0}.tme-image-grid-network{margin-top:16px;padding:0}.tme-image-add-button,.tme-image-tile{width:120px;height:120px}.tme-image-add-icon{width:24px;height:24px}.tme-image-url-row{display:flex;gap:8px}.tme-image-tile{position:relative;overflow:hidden;border:1px solid #e2e8f0;border-radius:6px}.tme-image-tile-img{width:100%;height:100%;-o-object-fit:cover;object-fit:cover}.tme-image-tile-overlay{position:absolute;inset:0;display:none;align-items:center;justify-content:center;background:#0000007f}.tme-image-tile:hover .tme-image-tile-overlay{display:flex}.tme-image-remove-button{color:#fff}.tme-image-remove-button:hover,.tme-image-remove-button:focus{color:#fff!important}.tme-image-remove-icon{width:16px;height:16px}.tme-word-warning{display:flex;flex-direction:column;align-items:center;gap:16px;padding:8px 0;text-align:center}.tme-word-warning-icon{width:56px;height:56px;color:#2563eb}.tme-word-warning-body{font-size:14px;line-height:1.7}.tme-word-warning-body p{margin:0 0 8px}.tme-word-warning-primary{font-weight:500;color:#2563eb}.tme-word-warning-muted{color:#475569}.tme-word-warning-danger{font-weight:500;color:#ef4444}.tme-math-toolbar{display:flex;flex-wrap:wrap;align-items:flex-start;margin:0 -20px 24px;padding:0 20px 12px;border-bottom:1px solid #cbd5e1}.tme-math-toolbar-groups{display:flex;min-width:0;flex:1;flex-wrap:wrap;gap:8px}.tme-common-popup{width:min(640px,calc(100vw - 32px));max-height:400px;overflow:hidden;border-radius:8px;background:#fff;box-shadow:0 10px 28px #0f172a29}.tme-common-popup-body{max-height:360px;overflow:hidden auto;padding:8px 0}.tme-common-header,.tme-common-section-title{margin-bottom:8px;padding:8px 12px;border-bottom:1px solid #e2e8f0;color:#1e293b;font-size:15px;font-weight:600}.tme-common-header{display:flex;align-items:center;justify-content:space-between}.tme-common-header-icon{width:16px;height:16px;color:#1d4ed8}.tme-common-empty{padding:16px 12px}.tme-common-grid{display:grid;width:100%;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:0 8px}.tme-common-item{border:0;border-radius:6px;padding:8px 12px;text-align:left;background:#f8fafc;cursor:pointer;transition:transform .15s ease,background-color .15s ease,box-shadow .15s ease}.tme-common-item:hover{transform:translateY(-2px);background:#f1f5f9;box-shadow:0 4px 12px #0f172a1f}.tme-common-item-title{margin-bottom:4px;color:#475569;font-size:15px;font-weight:500}.tme-common-preview,.tme-common-trigger-preview,.tme-select-preview,.tme-select-item-preview,.tme-dropdown-preview{display:flex;align-items:center;justify-content:center;overflow:hidden}.tme-common-preview{max-width:100%;height:60px;margin:0 auto;font-size:16px}.tme-common-trigger{display:flex;width:75px;height:80px;flex-shrink:0;flex-direction:column;align-items:center;justify-content:center;margin-right:12px;border:1px solid #cbd5e1;border-radius:4px;background:#fff;cursor:pointer}.tme-common-trigger:hover,.tme-select-preview-button:hover,.tme-select-caret-button:hover,.tme-select-item:hover,.tme-dropdown-item:hover,.tme-dropdown-trigger:hover{background:#f1f5f9}.tme-common-trigger-preview{max-width:100%;height:32px;font-size:15px}.tme-common-trigger-label{margin-top:4px;font-size:13px;line-height:1.25}.tme-caret{display:inline-block;width:0;height:0;border-top:6px solid #1e293b;border-right:6px solid transparent;border-left:6px solid transparent}.tme-caret-offset{margin-bottom:-6px}.tme-select-formulas{display:flex;min-width:70px;height:35px;flex-shrink:0;border:1px solid #cbd5e1;border-radius:4px;background:#fff}.tme-select-preview-button{display:flex;width:35px;height:100%;align-items:center;justify-content:center;padding:4px 8px;border:0;border-right:1px solid #cbd5e1;background:transparent;cursor:pointer}.tme-select-preview{max-width:28px;max-height:100%;font-size:14px}.tme-select-popup{width:210px;max-height:320px;overflow:hidden auto;border-radius:6px;background:#fff;padding:4px;box-shadow:0 10px 28px #0f172a29}.tme-select-group-title{padding:4px 12px;font-size:15px;font-weight:600}.tme-select-group,.tme-dropdown-grid{display:flex;flex-wrap:wrap}.tme-select-group{margin-bottom:8px}.tme-select-item{display:flex;width:40px;height:40px;align-items:center;justify-content:center;margin:2px;border:0;border-radius:4px;background:transparent;cursor:pointer}.tme-select-item-preview,.tme-dropdown-preview{max-width:32px;max-height:28px;font-size:14px}.tme-select-caret-button{display:flex;width:30px;align-items:center;justify-content:center;border:0;background:transparent;cursor:pointer}.tme-dropdown-popup{width:190px;max-height:220px;overflow:hidden auto;border-radius:6px;background:#fff;padding:4px;box-shadow:0 10px 28px #0f172a29}.tme-dropdown-item{display:flex;width:34px;height:34px;align-items:center;justify-content:center;margin:2px;border:0;border-radius:4px;text-align:center;background:transparent;cursor:pointer}.tme-dropdown-label{line-height:1}.tme-dropdown-trigger{display:flex;min-width:60px;height:35px;flex-shrink:0;align-items:center;padding:0 10px;border:1px solid #cbd5e1;border-radius:4px;background:#fff;cursor:pointer}.tme-dropdown-trigger-title{margin-right:6px;white-space:nowrap;font-size:14px;line-height:1.25}.tme-math-editor-footer{margin-top:16px}.tme-math-field{display:block;width:100%;min-height:120px;border:1px solid #cbd5e1;border-radius:6px;background:#fff;padding:12px;font-size:20px;outline-color:#3b82f6}.tme-formula-fallback{font-family:Georgia,Times New Roman,serif}.tinymce-math-formula-preview{max-width:100%}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:Source Han Sans CN,Roboto,sans-serif;font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}:root{color-scheme:light;--primary: #0066cc;--primary-light: #e6f3ff;--primary-dark: #004c99;--secondary: #f5f5f5;--bg: #f5f5f5;--paper: #ffffff;--paper-soft: #f8fafc;--paper-deep: #eef6ff;--white-glass: rgba(255, 255, 255, .96);--ink: #111827;--ink-soft: #4b5563;--ink-muted: #64748b;--ink-faint: #94a3b8;--muted: #64748b;--navy: var(--primary);--navy-soft: #2b78d0;--bronze: #f59e0b;--bronze-soft: #fef3c7;--sage: #059669;--sage-soft: #ecfdf5;--moss: var(--primary);--clay: #f59e0b;--rose: #b42318;--linen: #f8fafc;--edge: #e5e7eb;--line: rgba(229, 231, 235, .96);--line-strong: rgba(203, 213, 225, .96);--shadow-lg: 0 18px 42px rgba(15, 23, 42, .08);--shadow-md: 0 10px 28px rgba(15, 23, 42, .07);--shadow-sm: 0 4px 14px rgba(15, 23, 42, .06);--shadow: var(--shadow-md);--radius-xl: 24px;--radius-lg: 18px;--radius-md: 14px;--radius-sm: 10px;--sidebar-expanded: 220px;--sidebar-collapsed: 72px;--sr-ink: var(--ink);--sr-muted: var(--muted);--sr-navy: var(--primary);--sr-ink-faint: var(--ink-muted);--sr-moss: var(--primary);--sr-edge: rgba(203, 213, 225, .96);--sr-radius: 18px;--sr-radius-sm: 12px;--sr-radius-lg: 24px;--sr-shadow: var(--shadow-md);font-family:Source Han Sans CN,PingFang SC,Hiragino Sans GB,Noto Sans CJK SC,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}:root{--login-primary: var(--primary, #0066cc);--login-primary-dark: var(--primary-dark, #004c99);--login-primary-light: var(--primary-light, #e6f3ff);--login-ink: var(--ink, #111827);--login-ink-soft: var(--ink-soft, #4b5563);--login-ink-muted: var(--ink-muted, #64748b);--login-line: var(--line, rgba(216, 226, 240, .86))}.login-page{position:relative;min-height:100vh;overflow:hidden;background:radial-gradient(circle at 77% 21%,rgba(77,145,255,.18),transparent 24%),radial-gradient(circle at 15% 90%,rgba(94,151,241,.2),transparent 28%),linear-gradient(135deg,#f9fcff,#eaf3ff 48%,#f8fbff);color:var(--login-ink)}.login-page:before,.login-page:after{position:absolute;pointer-events:none;content:""}.login-page:before{left:-10%;bottom:-20%;width:44vw;height:44vw;border-radius:50%;background:#c9dfff7a}.login-page:after{left:35%;top:35%;width:35vw;height:20vw;border:1px solid rgba(255,255,255,.72);border-left-color:transparent;border-bottom-color:transparent;border-radius:50%;transform:rotate(-18deg)}.login-page-inner{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,1fr) minmax(380px,520px);align-items:center;gap:clamp(32px,5vw,86px);min-height:100vh;width:min(1680px,100%);margin:0 auto;padding:clamp(28px,5vw,70px) clamp(40px,6vw,96px)}.login-brand-panel{min-width:0}.login-page-topbar{position:absolute;top:clamp(28px,4vw,62px);left:clamp(40px,6vw,96px);right:clamp(40px,6vw,96px);z-index:2;display:flex;align-items:center;justify-content:space-between;gap:24px}.login-brand-lockup{display:inline-flex;align-items:center;gap:14px}.login-brand-lockup strong{display:block;color:#0b1226;font-size:26px;font-weight:900;line-height:1}.login-brand-lockup span:not(.login-logo-mark){display:block;margin-top:7px;color:#15223b;font-size:13px;font-weight:700;letter-spacing:.08em}.login-logo-mark{position:relative;display:inline-flex;width:48px;height:48px;filter:drop-shadow(0 12px 20px rgba(0,102,204,.22))}.login-logo-mark:before,.login-logo-mark:after,.login-logo-mark span{position:absolute;content:""}.login-logo-mark:before{inset:5px 8px 17px 2px;border-radius:8px 20px;background:linear-gradient(135deg,#5aa2ff,#0f6df4);transform:skewY(-18deg) rotate(-20deg)}.login-logo-mark:after{left:16px;top:15px;width:20px;height:28px;border-radius:18px 6px 18px 8px;background:linear-gradient(150deg,#2f80ff,#9cc9ff);transform:rotate(21deg)}.login-logo-mark span{left:17px;top:18px;width:4px;height:20px;border-radius:999px;background:#ffffffb8;transform:rotate(35deg)}.login-lang-button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:36px;padding:0;border:0;background:transparent;color:#0f1b34;font-size:17px;font-weight:650;cursor:pointer}.login-lang-button svg{width:21px;height:21px}.login-lang-button svg:last-child{width:18px;height:18px}.login-brand-content{display:grid;align-content:center;gap:30px;min-height:100%;padding-top:76px}.login-brand-copy h1{max-width:820px;margin:0;color:#10182d;font-size:clamp(42px,4.3vw,62px);font-weight:900;line-height:1.12;letter-spacing:0}.login-brand-copy h1 span{color:#116ef0}.login-brand-copy p{margin:20px 0 0;color:#263149;font-size:clamp(20px,1.55vw,27px);line-height:1.5}.login-feature-list{display:grid;gap:22px;max-width:560px}.login-feature-item{display:grid;grid-template-columns:64px minmax(0,1fr);align-items:center;gap:22px}.login-feature-icon{display:inline-flex;align-items:center;justify-content:center;width:64px;height:64px;border-radius:50%;background:#ffffffdb;color:#176ff1;box-shadow:0 18px 34px #2a64b71f,inset 0 1px #ffffffe6}.login-feature-icon svg{width:30px;height:30px;stroke-width:2.5}.login-feature-item strong{display:block;color:#0f172a;font-size:21px;font-weight:850;line-height:1.25}.login-feature-item small{display:block;margin-top:9px;color:#263149;font-size:16px;line-height:1.45}.login-illustration{position:relative;width:min(560px,62vw);height:270px;margin:-12px 0 0 48px}.login-illustration-lines{position:absolute;left:190px;top:0;width:420px;height:170px;border-top:1px solid rgba(255,255,255,.78);border-right:1px solid rgba(255,255,255,.78);border-radius:55% 45% 0 0;transform:rotate(-18deg)}.login-screen{position:absolute;left:190px;bottom:54px;width:250px;height:150px;border:9px solid #5a9af7;border-right-color:#0b63e5;border-bottom-width:14px;border-radius:18px 18px 14px 14px;background:linear-gradient(160deg,#fffffff5,#e7f2ffe6);box-shadow:0 24px 44px #2c62b42e;transform:perspective(480px) rotateX(7deg) rotateY(-10deg)}.login-screen:before{position:absolute;left:26px;bottom:28px;width:82px;height:54px;border-left:3px solid #2978ee;border-bottom:3px solid #2978ee;background:linear-gradient(132deg,transparent 0 32%,#2978ee 33% 36%,transparent 37% 54%,#2978ee 55% 58%,transparent 59% 72%,#2978ee 73% 76%,transparent 77%),transparent;content:""}.login-screen div{position:absolute;height:9px;border-radius:999px;background:#3d7feb21}.login-screen div:nth-child(1){left:24px;top:22px;width:160px}.login-screen div:nth-child(2){right:22px;top:54px;width:62px}.login-screen div:nth-child(3){right:18px;top:86px;width:78px}.login-cap{position:absolute;left:0;bottom:32px;width:190px;height:86px}.login-cap:before{position:absolute;left:22px;top:15px;width:168px;height:54px;border-radius:50%;background:linear-gradient(180deg,#1f78e7,#0c4db7);box-shadow:0 18px 32px #155ebb33;content:""}.login-cap:after{position:absolute;left:4px;top:0;width:178px;height:50px;border-radius:10px 10px 18px 18px;background:linear-gradient(160deg,#438af0,#0d59ca);clip-path:polygon(50% 0,100% 38%,50% 78%,0 38%);content:""}.login-cap span{position:absolute;left:52px;top:39px;width:2px;height:58px;background:#0b57ca}.login-cap span:after{position:absolute;left:-8px;bottom:-16px;width:18px;height:24px;border-radius:50% 50% 45% 45%;background:linear-gradient(180deg,#2076ed,#094fb9);content:""}.login-books{position:absolute;left:370px;bottom:32px;width:190px;height:90px}.login-books span,.login-books:before{position:absolute;right:0;width:178px;height:34px;border:5px solid #4e94f5;border-left-width:10px;border-radius:10px;background:#fff;box-shadow:0 12px 22px #1958b221;content:""}.login-books span:first-child{bottom:34px;transform:rotate(-6deg)}.login-books span:nth-child(2){bottom:4px}.login-plant{position:absolute;left:446px;bottom:103px;width:70px;height:74px;border-bottom:18px solid #dbe8f8;border-radius:0 0 50% 50%}.login-plant:before,.login-plant:after,.login-plant span{position:absolute;bottom:16px;width:30px;height:48px;border-radius:50% 50% 8px;background:linear-gradient(160deg,#6aa8ff,#156ce8);content:""}.login-plant:before{left:8px;transform:rotate(-28deg)}.login-plant:after{right:6px;transform:rotate(26deg)}.login-plant span{left:25px;bottom:31px;width:24px;height:42px;transform:rotate(8deg)}.login-ai-cube{position:absolute;right:-30px;top:60px;display:grid;place-items:center;width:86px;height:76px;border-radius:18px;background:linear-gradient(145deg,#4997ff,#095fd8);color:#fff;font-size:35px;font-weight:900;box-shadow:0 20px 36px #1563db3d;transform:rotate(10deg)}.login-brand-quote{display:flex;align-items:center;justify-content:center;gap:16px;width:min(610px,70vw);margin:4px 0 0 110px;color:#16233d;font-size:19px;font-weight:600;line-height:1.4}.login-brand-quote span{color:#106cf0;font-size:34px;font-weight:900;line-height:1}.login-auth-card{width:100%;max-width:520px;padding:clamp(26px,3.2vw,44px);border:1px solid rgba(255,255,255,.82);border-radius:26px;background:linear-gradient(145deg,#fffffff0,#f8fbffdb);box-shadow:0 28px 68px #2f578e24,inset 0 1px #fffffff2;-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px)}.login-auth-heading{display:grid;gap:9px;margin-bottom:27px}.login-auth-heading span{color:#116ef0;font-size:17px;font-weight:850}.login-auth-heading h2{margin:0;color:#0f172a;font-size:32px;font-weight:900;line-height:1.15}.login-auth-heading p{margin:0;color:var(--login-ink-soft);font-size:14px;font-weight:600;line-height:1.7}.login-method-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;min-height:48px;margin-bottom:24px;overflow:hidden;border-radius:10px;background:#f4f7fb;box-shadow:inset 0 0 0 1px #e2e8f0ad}.login-method-tabs button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:0;min-height:48px;padding:0 12px;border:1px solid transparent;border-radius:10px;background:transparent;color:#22304a;font-size:13px;font-weight:850;cursor:pointer;transition:background-color .18s ease,box-shadow .18s ease,color .18s ease}.login-method-tabs svg{width:18px;height:18px;flex:0 0 auto}.login-method-tabs button.is-active{border-color:#186ff138;background:#fffffffa;color:#0967e9;box-shadow:0 10px 24px #186ff124,inset 0 1px #ffffffeb}.login-form-grid{display:grid;gap:17px}.login-field{display:grid;gap:8px;color:#15223a;font-size:14px;font-weight:800}.login-input-wrap{display:flex;align-items:center;gap:12px;min-height:46px;padding:0 13px;border:1px solid rgba(203,213,225,.92);border-radius:10px;background:#ffffffc7;box-shadow:inset 0 1px #ffffffc2;transition:border-color .18s ease,box-shadow .18s ease,background-color .18s ease}.login-input-wrap:focus-within{border-color:#116ef0b8;background:#fff;box-shadow:0 0 0 3px #116ef01c}.login-input-wrap>svg{width:19px;height:19px;flex:0 0 auto;color:#96a3b8}.login-input-wrap input{min-width:0;flex:1;height:44px;border:0;outline:0;background:transparent;color:#0f172a;font:inherit;font-size:15px;font-weight:650}.login-input-wrap input::-moz-placeholder{color:#9ca8ba;font-weight:600}.login-input-wrap input::placeholder{color:#9ca8ba;font-weight:600}.login-input-wrap input:-webkit-autofill,.login-input-wrap input:-webkit-autofill:hover,.login-input-wrap input:-webkit-autofill:focus,.login-input-wrap input:-webkit-autofill:active{-webkit-box-shadow:0 0 0 30px #ffffff inset!important;-webkit-text-fill-color:#0f172a!important;-webkit-transition:background-color 5000s ease-in-out 0s;transition:background-color 5000s ease-in-out 0s}.login-icon-button,.login-code-button{border:0;background:transparent;cursor:pointer}.login-icon-button{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;color:#98a5b8}.login-icon-button svg{width:18px;height:18px}.login-code-wrap{padding-right:6px}.login-code-button{flex:0 0 auto;min-width:94px;height:34px;border-radius:8px;background:var(--login-primary);color:#fff;font-size:13px;font-weight:850}.login-code-button:disabled{background:#e5ebf3;color:#94a3b8;cursor:not-allowed}.login-agreement{display:flex;align-items:flex-start;gap:9px;margin-top:18px;color:#637087;font-size:13px;font-weight:650;line-height:1.55}.login-agreement input{width:17px;height:17px;margin:2px 0 0;accent-color:var(--login-primary);flex:0 0 auto}.login-agreement a,.login-card-links a{color:#0967e9;font-weight:850;text-decoration:none}.login-alert{margin-top:14px;padding:10px 12px;border-radius:10px;font-size:13px;font-weight:700}.login-alert-warning{border:1px solid rgba(217,119,6,.2);background:#fffbeb;color:#b45309}.login-alert-success{border:1px solid rgba(5,150,105,.18);background:#ecfdf5;color:#047857}.login-alert-error{border:1px solid rgba(180,35,24,.16);background:#fff1f2;color:#b42318}.login-submit-button{display:inline-flex;align-items:center;justify-content:center;width:100%;min-height:50px;margin-top:22px;border:0;border-radius:10px;background:linear-gradient(180deg,#1174f4,#045ee8);color:#fff;font-size:16px;font-weight:900;cursor:pointer;box-shadow:0 14px 28px #0066cc3d;transition:transform .18s ease,box-shadow .18s ease,opacity .18s ease}.login-submit-button:not(:disabled):hover{transform:translateY(-1px);box-shadow:0 18px 34px #0066cc47}.login-submit-button:disabled{cursor:not-allowed;opacity:.52;box-shadow:none}.login-card-links{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:20px;color:#69768b;font-size:14px;font-weight:650}.login-card-links span{display:inline-flex;align-items:center;gap:8px}.login-wechat-panel{display:grid;justify-items:center;gap:12px;padding:28px;border:1px solid rgba(226,232,240,.86);border-radius:18px;background:#ffffff94;text-align:center}.login-qr{display:grid;place-items:center;width:150px;height:150px;border-radius:20px;background:linear-gradient(135deg,#116ef029 0 25%,#fff 25% 50%,#116ef029 50% 75%,#fff 75%),#fff;color:#116ef0;font-size:28px;font-weight:900}.login-wechat-panel strong{color:#0f172a;font-size:18px}.login-wechat-panel p{max-width:270px;margin:0;color:var(--login-ink-soft);font-size:14px;line-height:1.6}@media(max-width:1180px){.login-page-inner{grid-template-columns:1fr;gap:28px;padding-top:120px}.login-auth-card{justify-self:center}.login-illustration,.login-brand-quote{margin-left:0}}@media(max-width:760px){.login-page{overflow:auto}.login-page-inner{padding:96px 18px 28px}.login-page-topbar{left:18px;right:18px;top:20px}.login-brand-lockup strong{font-size:20px}.login-brand-lockup span:not(.login-logo-mark){font-size:10px}.login-logo-mark{width:40px;height:40px}.login-lang-button{font-size:0;gap:5px}.login-lang-button svg{width:20px;height:20px}.login-brand-content{gap:22px;padding-top:0}.login-brand-copy h1{font-size:34px}.login-brand-copy p{margin-top:12px;font-size:18px}.login-feature-item{grid-template-columns:50px minmax(0,1fr);gap:14px}.login-feature-icon{width:50px;height:50px}.login-feature-item strong{font-size:17px}.login-feature-item small{font-size:13px}.login-illustration{width:100%;height:190px;transform:scale(.78);transform-origin:left top;margin-bottom:-42px}.login-brand-quote{justify-content:flex-start;width:100%;font-size:15px}.login-auth-card{padding:24px;border-radius:22px}.login-method-tabs{grid-template-columns:1fr;gap:6px;padding:6px}.login-method-tabs button{min-height:42px}.login-card-links{align-items:flex-start;flex-direction:column}}:root{font-family:inherit}*{box-sizing:border-box}html,body,#root{height:100%;min-height:100%}html{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}body{margin:0;min-width:1180px;background:var(--secondary);color:var(--ink);overflow:hidden}body:before,body:after,.grain{display:none}button,input,select,textarea{font:inherit}.lazy-panel{display:grid;min-height:220px;place-items:center;border:1px dashed rgba(38,50,69,.18);border-radius:var(--radius-lg);background:#ffffffb8;color:var(--ink-muted);font-size:14px;font-weight:800}.lazy-panel.compact{min-height:96px}.app-shell{display:grid;grid-template-columns:340px minmax(0,1fr);height:100vh;padding:22px;gap:22px}.sidebar,.workspace,.right-panel>section{border:1px solid rgba(80,66,42,.14);background:#fffaf0d1;box-shadow:var(--shadow);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.sidebar{border-radius:32px;padding:20px;overflow:hidden;display:flex;flex-direction:column}.brand-card h1,.workspace-header h2,.stage-title{margin:0}.brand-card h1{font-size:34px;letter-spacing:-.05em}.brand-card p{color:var(--muted);line-height:1.8;margin:12px 0 18px}.eyebrow{display:inline-flex;color:var(--moss);font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.14em}.file-picker{display:flex;justify-content:center;border:1px dashed var(--moss);color:#fff;background:var(--moss);border-radius:18px;padding:13px 16px;cursor:pointer;font-weight:700}.file-picker input{display:none}.error-box{margin-top:12px;padding:10px 12px;border-radius:14px;background:#fff0f0;color:#b42318;font-size:13px}.status-box{margin-top:12px;padding:10px 12px;border-radius:14px;background:#eefaf3;color:var(--moss);font-size:13px}.separator{height:1px;background:var(--edge);margin:18px 0}.stage-card{border-radius:22px;padding:16px;background:#fff6e4}.loader-card,.interactive-tools{border-radius:22px;padding:16px;background:#ffffff94;border:1px solid rgba(80,66,42,.12)}.loader-card{display:grid;gap:10px;margin-bottom:14px}.loader-card label,.mini-form{display:grid;gap:7px;color:var(--muted);font-size:12px}.loader-card input,.mini-form input,.mini-form select,.mini-form textarea{width:100%;border:1px solid var(--edge);border-radius:12px;background:#fffaf0d6;color:var(--ink);padding:10px 12px}.mini-form textarea{min-height:74px;resize:vertical;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px}.loader-card button,.mini-form button,.panel-title button{border:0;border-radius:13px;background:var(--moss);color:#fff;padding:10px 12px;cursor:pointer;font-weight:800}.stage-title{font-size:20px;font-weight:800}.stage-meta{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.stage-meta span,.scene-pill,.interactive-meta span,.interactive-meta strong,.interactive-meta em{border-radius:999px;padding:6px 10px;background:#1f6f5b1a;color:var(--moss);font-size:12px}.scene-scroll{flex:1;min-height:0;margin-top:18px}.scene-scroll-viewport{width:100%;height:100%}.scene-list{display:grid;gap:10px;padding-right:8px}.scene-item,.timeline-item{width:100%;display:flex;gap:12px;text-align:left;border:1px solid transparent;border-radius:18px;background:#ffffff85;color:var(--ink);padding:12px;cursor:pointer}.scene-item.active,.timeline-item.active{border-color:var(--moss);background:#edf8f3}.scene-order,.action-number{flex:0 0 auto;width:34px;height:34px;display:grid;place-items:center;border-radius:12px;background:var(--ink);color:#fff;font-weight:800}.scene-item strong,.timeline-item strong{display:block;font-size:14px}.scene-item em,.timeline-item em{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin-top:4px;color:var(--muted);font-size:12px;font-style:normal;line-height:1.5}.workspace{min-width:0;border-radius:34px;padding:22px;display:flex;flex-direction:column}.workspace-header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}.edit-toggle{border:0;border-radius:999px;background:var(--ink);color:#fff;padding:10px 16px;cursor:pointer;font-weight:800}.edit-toggle.active{background:var(--clay)}.workspace-header h2{font-size:30px;letter-spacing:-.04em}.workspace-grid{min-height:0;flex:1;display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:18px}.preview-panel{min-width:0;min-height:0;border-radius:28px;background:#191f22eb;overflow:auto;display:grid;place-items:center;padding:24px}.right-panel{min-height:0;display:grid;grid-template-rows:minmax(0,1fr) auto;gap:18px}.timeline-card,.whiteboard-card,.interactive-tools,.edit-panel{border-radius:28px;padding:18px;overflow:hidden}.panel-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.panel-actions{display:flex;gap:8px}.interactive-tools.compact{padding:14px 16px}.compact-text,.edit-hint,.edit-empty{margin:10px 0 0;color:var(--muted);font-size:13px;line-height:1.6}.asset-list{display:grid;gap:8px;margin-top:12px;max-height:180px;overflow:auto}.event-list{display:grid;gap:8px;margin-top:12px;max-height:220px;overflow:auto}.event-list pre{margin:0;border-radius:12px;background:#172026eb;color:#e7f8ef;padding:10px;font-size:11px;white-space:pre-wrap}.asset-item{display:grid;gap:4px;border:1px solid var(--edge);border-radius:14px;padding:10px;background:#fffaf0;color:var(--ink);text-decoration:none}.asset-item strong{font-size:13px}.asset-item em{color:var(--muted);font-size:12px;font-style:normal}.timeline-list{display:grid;gap:10px;max-height:48vh;overflow:auto;padding-right:6px}.action-body{min-width:0}.action-body audio{width:100%;margin-top:8px}.whiteboard-card ul{margin:12px 0 0;padding-left:20px;color:var(--muted);line-height:1.7}.slide-stage{width:100%;display:grid;place-items:center;min-width:0}.slide-canvas-frame{position:relative;max-width:100%;overflow:visible}.slide-canvas{position:relative;flex:0 0 auto;transform-origin:top left;box-shadow:0 22px 80px #0000006b;overflow:hidden}.slide-failure-panel{width:100%;height:100%;min-height:320px;display:grid;place-items:center;align-content:center;gap:12px;padding:44px;border:1px solid rgba(180,35,24,.22);background:linear-gradient(135deg,#fff7f5,#fff);box-shadow:0 22px 80px #00000047;text-align:center}.slide-failure-kicker{display:inline-flex;align-items:center;min-height:26px;padding:4px 10px;border-radius:999px;background:#b423181a;color:#b42318;font-size:12px;font-weight:800}.slide-failure-panel h3{margin:0;color:var(--navy);font-size:28px;font-weight:900}.slide-failure-panel p{max-width:560px;margin:0;color:var(--muted);line-height:1.7}.slide-failure-panel code{max-width:100%;padding:6px 10px;border-radius:8px;background:#26324514;color:var(--navy);white-space:normal;overflow-wrap:anywhere}.slide-failure-panel small{color:#b42318;font-weight:800}.slide-element{position:absolute;-webkit-user-select:none;-moz-user-select:none;user-select:none;touch-action:none}.spotlight-mask{position:absolute;inset:0;z-index:40;pointer-events:none}.spotlight-dim,.spotlight-cutout{position:absolute}.spotlight-dim{animation:spotlightFadeIn .18s ease-out both}.spotlight-cutout{border:2px solid rgba(255,255,255,.76);border-radius:10px;box-shadow:0 0 0 1px #ffffff2e,0 0 28px #ffffff47;animation:spotlightCutoutIn .26s cubic-bezier(.16,1,.3,1) both}.slide-text{width:100%;height:100%;overflow:visible}.slide-text-content{width:100%;transform-origin:top left}.slide-text p{margin:0}.slide-latex{width:100%;height:100%;display:flex;align-items:center;overflow:hidden;line-height:1.2}.slide-latex .katex-display{margin:0}.slide-latex code{white-space:pre-wrap;font-family:Times New Roman,serif}.slide-tree{width:100%;height:100%;overflow:hidden;display:flex;align-items:flex-start;gap:8px;padding:2px;font-size:10px;line-height:1.2}.slide-tree-branch{position:relative;display:grid;gap:6px;min-width:0}.slide-tree-node{max-width:86px;padding:4px 7px;border:1px solid rgba(237,125,49,.32);border-radius:10px;background:#ffffffe0;box-shadow:0 4px 12px #172b4d14;color:#334155;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.slide-tree-children{position:relative;display:flex;gap:6px;padding-left:14px}.slide-tree-children:before{content:"";position:absolute;top:-5px;left:6px;bottom:10px;width:1px;background:#ed7d3159}.slide-tree-children>.slide-tree-branch:before{content:"";position:absolute;top:11px;left:-8px;width:8px;height:1px;background:#ed7d3159}.slide-image{width:100%;height:100%;-o-object-fit:cover;object-fit:cover;display:block}.slide-video{width:100%;height:100%;-o-object-fit:contain;object-fit:contain;display:block;background:#0f172a}.slide-shape{width:100%;height:100%;opacity:.96}.slide-shape-svg{width:100%;height:100%;display:block;overflow:visible;opacity:.96}.slide-shape.circle{border-radius:999px}.slide-shape.triangle{clip-path:polygon(50% 0,100% 100%,0 100%)}.slide-line,.slide-chart{width:100%;height:100%;display:block;overflow:visible}.slide-table{width:100%;height:100%;border-collapse:collapse;overflow:hidden;border-radius:12px;background:#ffffffeb;font-size:18px}.slide-table td{border:1px solid rgba(71,85,105,.22);padding:8px 10px;color:#263245}.slide-code{width:100%;height:100%;overflow:hidden;border:1px solid rgba(38,50,69,.16);border-radius:16px;background:#0f172a;color:#e2e8f0;font-family:SFMono-Regular,Consolas,Liberation Mono,monospace}.slide-code strong{display:block;padding:8px 12px;border-bottom:1px solid rgba(226,232,240,.12);color:#93c5fd;font-size:13px}.slide-code pre{margin:0;padding:10px 12px;white-space:pre-wrap;font-size:13px;line-height:1.5}.whiteboard-overlay{position:absolute;inset:0;z-index:80;pointer-events:none;background:linear-gradient(rgba(148,163,184,.09) 1px,transparent 1px),linear-gradient(90deg,rgba(148,163,184,.09) 1px,transparent 1px),#fffefa;background-size:32px 32px;animation:whiteboardEnter .24s ease-out both}.whiteboard-header{position:absolute;top:18px;left:22px;z-index:2;display:flex;align-items:center;gap:10px;padding:8px 12px;border:1px solid rgba(38,50,69,.12);border-radius:999px;background:#ffffffc7;color:#263245;box-shadow:0 10px 30px #2632451f}.whiteboard-header span{color:#f97316;font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.whiteboard-header strong{font-size:14px}.whiteboard-surface{position:absolute;inset:0}.whiteboard-empty{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);color:#26324561;font-size:22px;font-weight:800}.element-active{outline:5px solid rgba(255,200,87,.9);outline-offset:4px;z-index:20}@keyframes spotlightFadeIn{0%{opacity:0}to{opacity:1}}@keyframes whiteboardEnter{0%{opacity:0;transform:scale(.985)}to{opacity:1;transform:scale(1)}}@keyframes spotlightCutoutIn{0%{opacity:0;transform:scale(1.04)}to{opacity:1;transform:scale(1)}}.editable-element{cursor:move}.selected-element{outline:3px solid rgba(188,108,37,.95);outline-offset:4px;z-index:30}.resize-handle{position:absolute;right:-10px;bottom:-10px;width:20px;height:20px;border:3px solid #fffaf0;border-radius:999px;background:var(--clay);box-shadow:0 6px 16px #00000047;cursor:nwse-resize}.inline-edit-layer{position:absolute;inset:-12px;z-index:45;display:grid;grid-template-rows:auto minmax(132px,1fr) auto;gap:6px;padding:4px;pointer-events:auto}.inline-text-toolbar{display:inline-flex;align-items:center;gap:8px;justify-self:start;width:-moz-max-content;width:max-content;max-width:min(520px,calc(100vw - 80px));padding:7px;border:1px solid rgba(80,66,42,.16);border-radius:999px;background:#fffdfaf5;box-shadow:0 16px 38px #2f25162e}.inline-text-toolbar label{display:inline-flex;align-items:center;gap:5px;color:var(--ink-soft);font-size:12px;font-weight:800;white-space:nowrap}.inline-text-toolbar input[type=number]{width:66px;min-height:28px;border-radius:999px;padding:4px 8px;font-size:12px}.inline-text-toolbar input[type=color]{width:34px;height:28px;min-height:28px;border-radius:999px;padding:2px}.inline-tool-button{width:30px;height:28px;border:1px solid rgba(80,66,42,.14);border-radius:999px;background:#fffaf0db;color:var(--ink);font-weight:900;cursor:pointer}.inline-tool-button.active{background:var(--clay);color:#fffaf0}.inline-text-editor{width:100%;height:100%;min-height:132px;padding:12px 14px;border:1px solid rgba(188,108,37,.58);border-radius:14px;outline:none;background:#fffdfaf0;color:inherit;font:inherit;line-height:1.5;resize:none;box-shadow:0 10px 26px #2f251629}.inline-text-editor:focus{border-color:#bc6c25eb;box-shadow:0 0 0 3px #bc6c2529,0 10px 26px #2f25162e}.inline-edit-save{border:0;border-radius:999px;padding:6px 12px;background:var(--ink);color:#fffaf0;font-size:12px;font-weight:800;cursor:pointer;box-shadow:0 8px 20px #26324538}.inline-edit-hint{justify-self:start;border-radius:999px;padding:4px 8px;background:#fffaf0e6;color:var(--ink-faint);font-size:11px;font-weight:800}.inline-image-actions{position:absolute;left:50%;top:-46px;z-index:45;display:flex;align-items:center;gap:8px;width:-moz-max-content;width:max-content;max-width:min(560px,calc(100vw - 80px));padding:7px;border:1px solid rgba(80,66,42,.16);border-radius:999px;background:#fffdfaf5;box-shadow:0 16px 38px #2f25162e;transform:translate(-50%);pointer-events:auto}.inline-image-button{display:inline-flex;align-items:center;justify-content:center;min-height:28px;border:0;border-radius:999px;padding:0 10px;background:var(--ink);color:#fffaf0;font-size:12px;font-weight:800;white-space:nowrap;cursor:pointer}.inline-image-button input{display:none}.inline-image-prompt{width:180px;min-width:120px;border:1px solid rgba(80,66,42,.16);border-radius:999px;padding:6px 10px;background:#fffaf0db;color:var(--ink);font-size:12px;outline:none}.inline-edit-link{display:inline-flex;margin-top:8px;color:var(--moss);font-size:12px;font-weight:800}.edit-panel{background:#fffaf0db;border:1px solid rgba(80,66,42,.14)}.edit-form{display:grid;gap:10px;margin-top:12px}.edit-form textarea{width:100%;min-height:120px;border:1px solid var(--edge);border-radius:14px;padding:10px;resize:vertical}.style-editor{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;border:1px solid var(--edge);border-radius:16px;background:#ffffff80;padding:12px}.geometry-editor,.image-editor{display:grid;gap:8px;border:1px solid var(--edge);border-radius:16px;background:#ffffff80;padding:12px}.geometry-editor span{font-weight:800}.geometry-editor em{color:var(--muted);font-size:12px;font-style:normal}.image-editor label{display:grid;gap:6px;color:var(--muted);font-size:12px}.image-editor input,.image-editor select,.image-editor textarea{width:100%;border:1px solid var(--edge);border-radius:12px;background:#fffaf0d6;color:var(--ink);padding:9px 10px}.image-editor textarea{min-height:82px;resize:vertical}.upload-button{display:flex!important;align-items:center;justify-content:center;border-radius:13px;background:var(--ink);color:#fff!important;padding:10px 12px;cursor:pointer;font-weight:800}.upload-button input{display:none}.style-editor label,.regenerate-options label{display:grid;gap:6px;color:var(--muted);font-size:12px}.style-editor input,.style-editor select{width:100%;border:1px solid var(--edge);border-radius:12px;background:#fffaf0d6;color:var(--ink);padding:9px 10px}.style-editor input[type=color]{padding:4px;height:39px}.checkbox-label{display:flex!important;grid-template-columns:none!important;flex-direction:row;align-items:center;gap:8px!important}.checkbox-label input{width:auto}.edit-actions{display:flex;gap:8px;flex-wrap:wrap}.edit-actions button{border:0;border-radius:13px;background:var(--moss);color:#fff;padding:10px 12px;cursor:pointer;font-weight:800}.regenerate-box{display:grid;gap:10px;margin-top:14px;border-top:1px solid var(--edge);padding-top:14px}.regenerate-box textarea{width:100%;min-height:86px;border:1px solid var(--edge);border-radius:14px;padding:10px;resize:vertical}.regenerate-options{display:grid;gap:8px}.regenerate-box button{border:0;border-radius:13px;background:var(--clay);color:#fff;padding:10px 12px;cursor:pointer;font-weight:800}.quiz-scene{width:min(860px,100%);display:grid;gap:18px}.quiz-card{border-radius:28px;background:var(--paper);padding:26px}.quiz-index{width:48px;height:48px;border-radius:16px;background:var(--clay);color:#fff;display:grid;place-items:center;font-weight:800}.quiz-options{display:grid;gap:10px}.quiz-option{display:flex;align-items:flex-start;gap:12px;border:1px solid var(--edge);border-radius:16px;padding:12px;background:#fff}.quiz-option strong{width:28px;height:28px;display:grid;place-items:center;flex:0 0 auto;border-radius:999px;background:#bc6c251f;color:var(--clay)}.analysis{color:var(--muted)}.interactive-scene{width:100%;height:100%;display:grid;grid-template-rows:auto minmax(0,1fr);gap:12px}.interactive-scene-failed{grid-template-rows:minmax(0,1fr)}.interactive-failure-panel{min-height:420px;border-radius:8px}.interactive-meta{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.interactive-scene iframe{width:100%;height:100%;min-height:640px;border:0;border-radius:24px;background:#fff}.json-panel,.empty-state{width:min(900px,100%);max-height:72vh;overflow:auto;border-radius:24px;background:#fffaf0;color:var(--ink);padding:24px}.empty-state{text-align:center;color:var(--muted)}.scrollbar{display:flex;-webkit-user-select:none;-moz-user-select:none;user-select:none;touch-action:none;padding:2px;width:8px}.scrollbar-thumb{flex:1;border-radius:8px;background:#1f6f5b59}.login-shell,.platform-shell{min-height:100vh;background:radial-gradient(circle at top left,rgba(58,122,98,.18),transparent 32rem),linear-gradient(135deg,#f7f1e3,#eef6ef 48%,#f9f3e8);color:var(--ink)}.login-shell{display:grid;grid-template-columns:minmax(0,1fr) 420px;gap:32px;align-items:center;padding:64px}.login-hero{max-width:760px}.login-hero h1{margin:18px 0;font-size:clamp(42px,6vw,78px);line-height:.95}.login-hero p{max-width:560px;color:var(--muted);font-size:18px}.login-card,.panel-card,.metric-card{border:1px solid rgba(20,44,35,.12);border-radius:28px;background:#fffcf5db;box-shadow:0 24px 80px #1e2d261c;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.login-card{display:grid;gap:18px;padding:32px}.platform-shell{display:grid;grid-template-columns:260px minmax(0,1fr)}.platform-sidebar{position:sticky;top:0;height:100vh;display:flex;flex-direction:column;gap:28px;padding:26px;background:#18372bf0;color:#fff8eb}.brand-block{display:flex;gap:12px;align-items:center}.brand-mark{width:48px;height:48px;border-radius:18px;display:grid;place-items:center;background:#f2b84b;color:#173226;font-weight:900}.brand-block span,.user-pill small,.panel-title p,.empty-copy{color:var(--muted)}.platform-sidebar .brand-block span{display:block;color:#fff8ebad;font-size:12px}.platform-nav{display:grid;gap:10px}.platform-nav button,.ghost-button,.panel-title button,.button-row button,.course-list-panel button,.editor-panel button{border:0;border-radius:16px;padding:12px 14px;font-weight:800;cursor:pointer}.platform-nav button{text-align:left;background:transparent;color:#fff8ebc2}.platform-nav button.active,.platform-nav button:hover{background:#fff8eb21;color:#fff}.platform-sidebar .ghost-button{margin-top:auto;background:#fff8eb1a;color:#fff8eb}.platform-main{min-width:0;padding:28px}.topbar{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:18px}.topbar h1{margin:4px 0 0;font-size:34px}.user-pill{display:grid;justify-items:end;padding:12px 16px;border-radius:18px;background:#ffffffb8}.notice-bar{margin:0 0 16px;padding:12px 16px;border-radius:16px;background:#fff1c7;color:#6d4b00}.notice-bar.muted{background:#eaf2ee;color:#335648}.page-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.panel-card,.metric-card{padding:22px}.metric-card strong{display:block;margin:10px 0;font-size:42px}.metric-card.accent{background:#18372b;color:#fff8eb}.metric-card.accent p{color:#fff8ebad}.wide{grid-column:span 2}.course-layout{display:grid;grid-template-columns:320px minmax(0,1fr) 360px;gap:18px;align-items:start}.panel-title{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:16px}.panel-title h2,.panel-title p,.panel-card h2,.panel-card h3{margin:0}.compact-list{display:grid;gap:10px}.compact-list button,.table-list div{display:grid;gap:4px;width:100%;text-align:left;border:1px solid var(--edge);border-radius:16px;padding:12px;background:#ffffffb8;color:var(--ink)}.compact-list span,.table-list span,.table-list small{color:var(--muted)}.course-list-panel,.editor-panel{display:grid;gap:14px}.preview-panel{min-width:0}.button-row,.inline-fields,.scene-tabs{display:flex;gap:10px;flex-wrap:wrap}.scene-tabs{margin-bottom:16px}.scene-tabs button{border:1px solid var(--edge);border-radius:999px;padding:8px 12px;background:#ffffffb3;cursor:pointer}.scene-tabs button.active{background:#18372b;color:#fff8eb}.job-strip{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:12px;align-items:center;margin-bottom:16px;padding:12px;border-radius:16px;background:#edf6ed}.file-button{position:relative;overflow:hidden;display:inline-flex}.primary-button{border:0;border-radius:16px;padding:12px 16px;background:#18372b;color:#fff8eb;font-weight:900;cursor:pointer}.ghost-button{background:#eef4ef;color:#18372b}label{display:grid;gap:7px;color:var(--muted);font-size:13px;font-weight:700}input,textarea{width:100%;box-sizing:border-box;border:1px solid var(--edge);border-radius:14px;padding:12px;background:#ffffffd6;color:var(--ink);font:inherit}textarea{min-height:92px;resize:vertical}.divider{height:1px;background:var(--edge);margin:8px 0}.form-error{color:#9f2f16;background:#ffe4d8;padding:10px 12px;border-radius:12px}.profile-card{max-width:620px}.profile-row{display:flex;justify-content:space-between;padding:14px 0;border-bottom:1px solid var(--edge)}@media(max-width:1280px){.course-layout,.page-grid{grid-template-columns:1fr}.wide{grid-column:auto}}@media(max-width:860px){.login-shell,.platform-shell{display:block}.login-shell{padding:24px}.platform-sidebar{position:static;height:auto}}.chip-row,.course-tabs,.filter-chip-row,.detail-tabs,.detail-badges,.detail-actions,.page-header-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px}.course-preview-commandbar{display:inline-flex;align-items:center;gap:3px;padding:4px;border:1px solid rgba(38,50,69,.1);border-radius:8px;background:#fffdfad1;box-shadow:0 8px 22px #26324514}.course-preview-page .page-header{align-items:center;padding:0 2px}.course-preview-page .breadcrumb{gap:10px;font-size:13px;color:#94a3b8}.course-preview-page .page-title{font-size:26px;line-height:1.12;letter-spacing:0}.course-preview-page .page-subtitle{margin-top:0;font-size:14px;color:#64748b}.course-preview-page .course-preview-commandbar{gap:6px;padding:6px;border-color:#0f172a14;border-radius:12px;background:#ffffffe6;box-shadow:0 10px 28px #0f172a14}.course-preview-heading{display:flex;align-items:flex-start;gap:12px;min-width:0}.course-preview-back{display:grid;place-items:center;width:32px;height:32px;flex:0 0 32px;margin-top:2px;border:1px solid rgba(0,102,204,.14);border-radius:10px;background:#0066cc14;color:var(--primary);cursor:pointer;transition:background .14s ease,color .14s ease,border-color .14s ease}.course-preview-back:hover{border-color:#0066cc52;background:var(--primary);color:#fff}.course-preview-back svg{width:19px;height:19px}.course-preview-command{display:grid;place-items:center;width:34px;height:34px;flex:0 0 34px;padding:0;border:0;border-radius:6px;background:transparent;color:var(--ink-soft);cursor:pointer;transition:background .14s ease,color .14s ease}.course-preview-command:hover:not(:disabled),.course-preview-command.active{background:var(--navy);color:#fff}.course-preview-command:disabled{opacity:.38;cursor:not-allowed}.course-preview-command svg{width:17px;height:17px}.course-preview-page .course-preview-command{width:36px;height:36px;border-radius:9px;color:#475569}.course-preview-page .course-preview-command:hover:not(:disabled),.course-preview-page .course-preview-command.active{background:#0066cc1a;color:#06c}.course-preview-toast{position:fixed;top:94px;right:38px;z-index:60;display:inline-flex;align-items:center;gap:8px;max-width:min(360px,calc(100vw - 32px));padding:10px 12px;border-radius:8px;border:1px solid rgba(0,102,204,.16);background:#fff;color:var(--primary);box-shadow:var(--shadow-md);font-size:14px;font-weight:700}.course-preview-toast svg{width:17px;height:17px;flex:0 0 17px}.course-preview-toast.success{border-color:#05966933;background:#ecfdf5;color:#047857}.course-preview-toast.error{border-color:#be123c33;background:#fff1f2f5;color:#be123c}.course-preview-toast.info svg{animation:course-preview-toast-spin .9s linear infinite}.course-preview-toast.info{background:var(--primary-light);color:var(--primary)}.course-preview-command svg.is-spinning{animation:course-preview-toast-spin .9s linear infinite}@keyframes course-preview-toast-spin{to{transform:rotate(360deg)}}.chip,.secondary-button,.primary-button,.toolbar-button,.sidebar-toggle,.nav-item,.detail-tabs button,.resource-tree-button,.ai-tool-card{border:0;cursor:pointer;font:inherit}.chip{padding:10px 14px;border-radius:999px;background:#fff;color:var(--ink-soft);font-weight:700}.chip.active{border-color:#0066cc3d;background:var(--primary-light);color:var(--primary)}.auth-form{display:grid;gap:14px}label{display:grid;gap:7px;color:var(--ink-soft);font-size:13px;font-weight:700}input,select,textarea{width:100%;border:1px solid var(--line-strong);border-radius:14px;background:#fff;color:var(--ink);padding:12px 14px;outline:none;box-sizing:border-box}input:focus,select:focus,textarea:focus{border-color:var(--primary);box-shadow:0 0 0 3px #0066cc1f}textarea{min-height:94px;resize:vertical}.agreement-row{display:flex;align-items:flex-start;gap:10px;font-weight:500}.agreement-row input{width:auto;margin-top:4px}.primary-button,.secondary-button{border-radius:14px;padding:11px 15px;font-weight:800}.primary-button{border:1px solid var(--primary);background:var(--primary);color:#fff;box-shadow:0 10px 24px #06c3}.primary-button:hover:not(:disabled){border-color:var(--primary-dark);background:var(--primary-dark);transform:translateY(-1px)}.primary-button:disabled,.secondary-button:disabled{opacity:.5;cursor:not-allowed;transform:none}.secondary-button{border:1px solid var(--line);background:#fff;color:var(--ink-soft)}.auth-qr-panel{display:grid;place-items:center;text-align:center;gap:12px;padding:28px;border:1px solid var(--line);border-radius:24px;background:var(--paper-soft)}.auth-qr-box{width:160px;height:160px;display:grid;place-items:center;border-radius:22px;background:linear-gradient(135deg,var(--primary-light) 0 25%,#ffffff 25% 50%,var(--primary-light) 50% 75%,#ffffff 75%);color:var(--primary);font-weight:900}.form-error{border:1px solid rgba(180,35,24,.16);background:#fff1f2;color:#b42318;padding:10px 12px;border-radius:12px}.auth-brand-row,.sidebar-brand,.workspace-top,.workspace-right,.course-center-header,.page-header,.section-head,.detail-hero,.resource-browser-topbar,.resource-upload-inline,.profile-row{display:flex;align-items:center}.auth-stage-card,.sidebar,.workspace,.section-block,.course-gallery-card,.metric-card,.detail-hero,.ai-studio-shell,.resource-directory-panel,.resource-browser-panel,.profile-card-block,.modal-card,.regenerate-dialog,.generation-progress-card{border:1px solid var(--line);background:var(--paper);box-shadow:var(--shadow-sm);-webkit-backdrop-filter:none;backdrop-filter:none}.auth-brand-copy h2,.auth-panel-title,.page-title,.section-title,.detail-hero h2,.course-gallery-card h3,.sidebar-brand-copy h1{font-family:inherit;letter-spacing:0}.page-subtitle,.section-subtitle,.course-gallery-card p,.metric-label,.metric-note,.auth-panel-desc,.auth-brand-copy p,.profile-row span,.top-user-card p{color:var(--ink-muted)}.section-block,.metric-card,.course-gallery-card,.detail-hero,.resource-directory-panel,.resource-browser-panel,.profile-card-block,.course-filter-card,.empty-state-panel,.course-empty-state,.resource-empty-state,.placeholder-panel,.editor-mini-card,.knowledge-panel,.course-outline-info,.course-outline-tree-panel,.video-info-panel{border-color:var(--line);background:var(--paper);box-shadow:var(--shadow-sm)}.section-block,.metric-card,.detail-hero,.course-filter-card,.resource-directory-panel,.resource-browser-panel,.profile-card-block{border-radius:20px}.primary-button,.secondary-button,.chip,.subtle-tag,.filter-button,.compact-button,.toolbar-button,.course-preview-command,.resource-tree-button,.ghost-icon-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;border-radius:12px;transition:background-color .16s ease,border-color .16s ease,color .16s ease,box-shadow .16s ease,transform .16s ease}.secondary-button,.subtle-tag,.filter-button,.ghost-icon-button{border:1px solid var(--line);background:#fff;color:var(--ink-soft)}.secondary-button:hover:not(:disabled),.chip:hover,.subtle-tag:hover,.filter-button:hover,.ghost-icon-button:hover{border-color:#0066cc38;background:var(--primary-light);color:var(--primary)}.chip.active,.filter-button.active,.detail-tabs button.active,.choice-card.active,.choice-pill.active,.resource-tree-button.active{border-color:#0066cc3d;background:var(--primary-light);color:var(--primary)}.form-error,.delete-course-reason,.danger-message{border:1px solid rgba(180,35,24,.16);background:#fff1f2;color:#b42318}.status-toast,.course-preview-toast,.resource-toast{border:1px solid rgba(0,102,204,.16);background:#fff;color:var(--primary);box-shadow:var(--shadow-md)}.status-toast.success,.course-preview-toast.success,.resource-toast.success{border-color:#05966933;background:#ecfdf5;color:#047857}.status-toast.is-loading,.status-toast.info,.trend-stat-pill,.status.navy{background:var(--primary-light);color:var(--primary)}.status.sage{background:#ecfdf5;color:#047857}.choice-card,.choice-pill,.scene-item,.timeline-item,.knowledge-row,.knowledge-picker-row,.resource-file-row,.profile-voice-item,.question-resource-card,.generation-step{border-color:var(--line);background:#fff;color:var(--ink)}.choice-card:hover,.choice-pill:hover,.scene-item:hover,.timeline-item:hover,.resource-file-row:hover,.profile-voice-item:hover,.question-resource-card:hover{border-color:#0066cc38;background:#f8fafc}.scene-item.active,.scene-item-row.active .scene-item,.timeline-item.active,.knowledge-row.active,.knowledge-picker-row:has(input:checked){border-color:#0066cc47;background:var(--primary-light)}.scene-order,.action-number,.scene-add-button{background:var(--primary);color:#fff}.app.qiwang-app{position:relative;z-index:1;display:grid;grid-template-columns:var(--sidebar-expanded) minmax(0,1fr);gap:14px;height:100%;padding:16px;background:var(--secondary);transition:grid-template-columns .26s ease,gap .26s ease}.app.qiwang-app.is-sidebar-collapsed{grid-template-columns:var(--sidebar-collapsed) minmax(0,1fr)}.app.qiwang-app.is-course-preview-mode{grid-template-columns:minmax(0,1fr);padding:10px 18px;background:#f5f7fa}.is-course-preview-mode .qiwang-workspace{border:0;background:#f5f7fa;box-shadow:none}.is-course-preview-mode .workspace-body{overflow:hidden;padding:0}.qiwang-sidebar{position:relative;height:auto;border-radius:16px;padding:12px;background:var(--paper);box-shadow:var(--shadow-sm);display:flex;flex-direction:column;gap:14px;overflow:hidden}.sidebar-brand{min-height:44px;gap:9px;padding-bottom:10px;border-bottom:1px solid var(--line)}.qiwang-sidebar .logo-mark{width:44px;height:44px;border-radius:13px;font-size:20px}.sidebar-brand-copy h1{margin:0;color:var(--ink);font-size:17px;line-height:1.2;font-family:Songti SC,STSong,serif}.sidebar-brand-copy p{margin:2px 0 0;font-size:11px;line-height:1.25}.is-sidebar-collapsed .sidebar-brand-copy,.is-sidebar-collapsed .nav-label{display:none}.nav-label{margin:0 0 10px;color:var(--ink-muted);font-size:12px;letter-spacing:.08em}.nav-list{display:grid;gap:4px}.nav-item{display:flex;align-items:center;gap:9px;width:100%;min-height:40px;padding:8px 10px;border-radius:10px;background:transparent;color:var(--ink-soft);font-size:14px;font-weight:800;transition:background-color .16s ease,color .16s ease,transform .16s ease}.nav-item:hover{background:#f8fafc;color:var(--primary)}.nav-item.active{background:var(--primary-light);color:var(--primary)}.nav-icon{width:26px;height:26px;display:grid;place-items:center;flex:0 0 auto;border-radius:8px;background:#f1f5f9;color:inherit}.nav-icon svg{width:16px;height:16px}.nav-item.active .nav-icon{background:#fff;box-shadow:inset 0 0 0 1px #0066cc1f}.sidebar-toggle{border:1px solid var(--line);border-radius:999px;padding:10px;background:var(--paper);color:var(--primary);box-shadow:var(--shadow-sm);font-weight:800}.floating-toggle{position:absolute;right:-15px;top:50%;z-index:4;width:30px;height:54px;display:grid;place-items:center;padding:0;border:1px solid var(--line);border-radius:999px;background:var(--paper);box-shadow:var(--shadow-sm);transform:translateY(-50%);color:var(--primary);font-size:22px;line-height:1}.is-sidebar-collapsed .qiwang-sidebar{padding:12px 10px}.is-sidebar-collapsed .sidebar-brand{justify-content:center}.is-sidebar-collapsed .nav-item{justify-content:center;padding:8px}.qiwang-workspace{height:100%;min-width:0;min-height:0;border:1px solid var(--line);border-radius:18px;background:var(--paper);box-shadow:var(--shadow-sm);display:flex;flex-direction:column;overflow:hidden}.workspace-top{justify-content:space-between;gap:18px;padding:18px 22px;border-bottom:1px solid var(--line)}.page-meta strong{display:block;font-size:18px}.page-meta p,.top-user-card p{margin:4px 0 0;font-size:12px}.workspace-right{gap:12px}.top-user-card{min-width:148px;padding:10px 14px;border-radius:16px;background:var(--paper);border:1px solid var(--line)}.workspace-body{flex:1;min-height:0;overflow:auto;padding:16px}.page-panel{display:grid;gap:16px;height:100%;min-height:0;padding:0}.course-preview-page{grid-template-rows:auto minmax(0,1fr);width:min(100%,1760px);margin:0 auto;gap:8px;overflow:hidden}.resource-page-panel{align-content:start}.page-header{justify-content:space-between;gap:18px;align-items:flex-start}.page-title{color:var(--ink);font-size:32px;line-height:1.15}.metric-grid,.course-card-grid,.ai-tool-grid,.profile-layout{display:grid;gap:16px}.metric-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.metric-card{border-radius:20px;padding:22px;background:var(--paper)}.metric-card strong{display:block;margin:8px 0;font-size:42px;color:var(--primary)}.metric-label,.metric-note{color:var(--ink-soft)}.metric-card.is-navy{border-color:#0066cc38;background:var(--paper);color:var(--ink)}.metric-card.is-sage{border-color:#05966938}.metric-card.is-bronze{border-color:#f59e0b47}.metric-card.accent{background:var(--paper);color:var(--ink)}.metric-card.is-navy strong,.metric-card.is-navy .metric-label,.metric-card.is-navy .metric-note,.metric-card.accent p{color:inherit}.section-block{border-radius:20px;padding:20px;background:var(--paper)}.auth-shell{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,1fr) 440px;gap:20px;min-height:100%;padding:32px;background:var(--secondary)}.auth-hero,.auth-stage-card{border:1px solid var(--line);background:var(--paper);box-shadow:var(--shadow-sm);-webkit-backdrop-filter:none;backdrop-filter:none}.auth-hero{position:relative;display:grid;align-content:space-between;min-height:calc(100vh - 64px);padding:34px;border-radius:28px;background:linear-gradient(180deg,#e6f3ffe0,#fffffff5 38%),var(--paper);overflow:hidden}.auth-hero:after{display:none}.auth-brand-row{display:flex;align-items:center;gap:18px}.logo-mark{width:54px;height:54px;display:grid;place-items:center;flex:0 0 auto;border-radius:16px;background:linear-gradient(180deg,var(--primary),#2563eb);color:#fff;font-family:inherit;font-size:24px;font-weight:800;box-shadow:0 12px 26px #0066cc38}.auth-brand-copy{max-width:620px;display:grid;gap:8px}.auth-brand-kicker,.auth-panel-eyebrow,.course-eyebrow{display:inline-flex;align-items:center;width:-moz-fit-content;width:fit-content;padding:8px 12px;border-radius:999px;background:var(--primary-light);color:var(--primary);font-size:12px;font-weight:700;letter-spacing:.06em}.auth-brand-copy h2,.auth-panel-title,.page-title,.section-title,.detail-hero h2,.course-gallery-card h3{margin:0;font-family:inherit;letter-spacing:0}.auth-brand-copy h2{font-size:42px;line-height:1.18}.auth-brand-copy p,.auth-panel-desc,.auth-feature-card p,.page-subtitle,.section-subtitle,.course-gallery-card p,.sidebar-brand-copy p,.top-user-card p,.profile-row span{margin:0;color:var(--ink-soft);font-size:14px;line-height:1.84}.auth-feature-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;position:relative;z-index:1}.auth-feature-card{padding:18px;border:1px solid var(--line);border-radius:22px;background:var(--paper-soft)}.auth-stage-card{display:grid;align-content:center;border-radius:28px;background:var(--paper);padding:28px}.auth-panel{display:grid;gap:18px}.auth-panel-title{font-size:30px}.section-head,.course-center-header{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:16px}.section-title{font-size:22px}.dashboard-page{--dashboard-primary: #1677ff;--dashboard-success: #52c41a;--dashboard-warning: #faad14;--dashboard-danger: #ff4d4f;--dashboard-purple: #8b5cf6;--dashboard-bg: #f5f7fa;--dashboard-card: #ffffff;--dashboard-border: #f0f0f0;--dashboard-text: #111827;--dashboard-muted: #667085;--dashboard-faint: #98a2b3;width:min(100%,1680px);margin:0 auto;align-content:start;gap:24px;min-height:100%;color:var(--dashboard-text)}.dashboard-card{border:1px solid var(--dashboard-border);border-radius:16px;background:var(--dashboard-card);box-shadow:0 2px 8px #0000000a}.dashboard-card,.dashboard-kpi-card,.dashboard-todo-item,.dashboard-recent-course,.dashboard-action-button{transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease,background-color .16s ease}.dashboard-card:hover,.dashboard-recent-course:hover{border-color:#1677ff2e;box-shadow:0 10px 24px #0f172a14}.dashboard-hero{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:88px;padding:4px 4px 0}.dashboard-welcome h2{margin:0;font-size:30px;line-height:1.2;font-weight:900;letter-spacing:0;color:#0f172a}.dashboard-welcome p{margin:10px 0 0;color:var(--dashboard-muted);font-size:14px;font-weight:600}.dashboard-hero-actions{display:flex;align-items:center;justify-content:flex-end;gap:14px;flex-wrap:wrap}.dashboard-action-button{display:inline-flex;align-items:center;justify-content:center;gap:9px;height:40px;min-width:118px;padding:0 18px;border:1px solid transparent;border-radius:10px;background:#fff;color:#1f2937;font-size:14px;font-weight:800;cursor:pointer;box-shadow:0 2px 8px #0000000a}.dashboard-action-button svg{width:18px;height:18px}.dashboard-action-button:hover{transform:translateY(-1px)}.dashboard-action-button.is-primary{border-color:#1677ff59;background:var(--dashboard-primary);color:#fff;box-shadow:0 8px 18px #1677ff2e}.dashboard-action-button.is-green{border-color:#52c41a40;color:#16a34a;background:#f0fdf4}.dashboard-action-button.is-purple{border-color:#8b5cf640;color:#7c3aed;background:#f5f3ff}.dashboard-action-button.is-orange{border-color:#faad1447;color:#ea580c;background:#fff7ed}.dashboard-kpi-section{display:grid;gap:18px;padding:22px}.dashboard-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;min-width:0}.dashboard-section-head h3{margin:0;color:#0f172a;font-size:18px;line-height:1.25;font-weight:900}.dashboard-section-head p{margin:5px 0 0;color:var(--dashboard-faint);font-size:12px;font-weight:700}.dashboard-filter-button,.dashboard-link-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:34px;padding:0 12px;border:1px solid #e5e7eb;border-radius:9px;background:#fff;color:#475467;font:inherit;font-size:13px;font-weight:800;cursor:pointer}.dashboard-filter-button.is-static{cursor:default}.dashboard-link-button{border-color:transparent;background:transparent;color:var(--dashboard-primary)}.dashboard-filter-select{position:relative;display:inline-flex;align-items:center;min-width:96px;height:34px}.dashboard-filter-select select{width:100%;height:100%;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:1px solid #e5e7eb;border-radius:9px;background:#fff;color:#475467;font:inherit;font-size:13px;font-weight:800;cursor:pointer;padding:0 32px 0 12px}.dashboard-filter-select select:disabled{opacity:.7;cursor:wait}.dashboard-filter-select svg{position:absolute;right:11px;width:15px;height:15px;color:#475467;pointer-events:none}.dashboard-state-card{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:128px;padding:24px;border:1px solid #fecaca;border-radius:14px;background:#fff7f7;color:#991b1b}.dashboard-state-card.compact{min-height:72px;padding:16px 18px}.dashboard-state-card div{display:grid;gap:6px;min-width:0}.dashboard-state-card strong{color:#7f1d1d;font-size:16px;font-weight:900}.dashboard-state-card span{color:#b42318;font-size:13px;font-weight:700}.dashboard-state-card button{display:inline-flex;align-items:center;justify-content:center;gap:7px;height:36px;padding:0 14px;border:1px solid #fecaca;border-radius:9px;background:#fff;color:#b42318;font:inherit;font-size:13px;font-weight:900;cursor:pointer}.dashboard-state-card button svg{width:15px;height:15px}.dashboard-empty-state{display:grid;place-items:center;min-height:244px;padding:20px;border:1px dashed #d0d5dd;border-radius:12px;background:#f8fafc;color:#667085;font-size:13px;font-weight:800;text-align:center}.dashboard-empty-state.compact{min-height:56px;width:min(100%,260px)}.dashboard-link-button.compact{min-height:auto;padding:0}.dashboard-link-button:hover{color:#0958d9}.dashboard-kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.dashboard-kpi-card{display:flex;align-items:center;gap:18px;min-width:0;height:120px;padding:18px;border:1px solid #edf0f5;border-radius:16px;background:#fff;color:inherit;text-align:left;cursor:default}.dashboard-kpi-card:hover{transform:translateY(-2px)}.dashboard-kpi-icon{display:grid;place-items:center;width:56px;height:56px;flex:0 0 56px;border-radius:14px}.dashboard-kpi-icon svg{width:26px;height:26px}.dashboard-kpi-copy{display:grid;gap:4px;min-width:0}.dashboard-kpi-copy span{color:#475467;font-size:13px;font-weight:800}.dashboard-kpi-copy strong{color:#101828;font-size:30px;line-height:1.1;font-weight:900;letter-spacing:0;font-variant-numeric:tabular-nums}.dashboard-kpi-copy em{color:#067647;font-size:12px;font-style:normal;font-weight:700}.dashboard-kpi-card.is-blue .dashboard-kpi-icon{background:#eaf3ff;color:var(--dashboard-primary)}.dashboard-kpi-card.is-green .dashboard-kpi-icon{background:#eafaf1;color:#13a967}.dashboard-kpi-card.is-purple .dashboard-kpi-icon{background:#f3edff;color:var(--dashboard-purple)}.dashboard-kpi-card.is-orange .dashboard-kpi-icon{background:#fff3e4;color:#f97316}.dashboard-focus-grid{display:grid;grid-template-columns:360px minmax(0,1fr);gap:24px;align-items:stretch}.dashboard-todo-card,.dashboard-recent-card,.dashboard-ai-card,.dashboard-resource-card,.dashboard-learning-card{padding:20px}.dashboard-todo-card{display:grid;gap:16px}.dashboard-todo-list{display:grid;gap:10px}.dashboard-todo-item{display:grid;grid-template-columns:34px minmax(0,1fr) auto 18px;align-items:center;gap:10px;min-height:52px;padding:9px 12px;border:1px solid #edf0f5;border-radius:12px;background:#fff;color:#1f2937;text-align:left;cursor:pointer}.dashboard-todo-item:hover{border-color:#1677ff2e;background:#f8fbff;transform:translateY(-1px)}.dashboard-todo-icon{display:grid;place-items:center;width:32px;height:32px;border-radius:9px}.dashboard-todo-item span:nth-child(2){overflow:hidden;color:#344054;font-size:14px;font-weight:800;text-overflow:ellipsis;white-space:nowrap}.dashboard-todo-item strong{font-size:18px;font-weight:900;font-variant-numeric:tabular-nums}.dashboard-todo-item.is-red strong,.dashboard-todo-item.is-red .dashboard-todo-icon{color:var(--dashboard-danger)}.dashboard-todo-item.is-red .dashboard-todo-icon{background:#fff1f0}.dashboard-todo-item.is-orange strong,.dashboard-todo-item.is-orange .dashboard-todo-icon{color:#fa8c16}.dashboard-todo-item.is-orange .dashboard-todo-icon{background:#fff7e6}.dashboard-todo-item.is-blue strong,.dashboard-todo-item.is-blue .dashboard-todo-icon{color:var(--dashboard-primary)}.dashboard-todo-item.is-blue .dashboard-todo-icon{background:#eaf3ff}.dashboard-todo-item.is-purple strong,.dashboard-todo-item.is-purple .dashboard-todo-icon{color:var(--dashboard-purple)}.dashboard-todo-item.is-purple .dashboard-todo-icon{background:#f3edff}.dashboard-recent-card{min-width:0;overflow:hidden}.dashboard-course-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:16px;min-width:0}.dashboard-recent-course{display:grid;grid-template-rows:128px minmax(0,1fr);min-width:0;min-height:320px;overflow:hidden;border:1px solid #edf0f5;border-radius:14px;background:#fff;cursor:pointer;text-align:left}.dashboard-recent-course:hover{transform:translateY(-2px)}.dashboard-course-cover{display:grid;place-items:center;min-height:0;background-color:#e5e7eb;background-position:center;background-size:cover}.dashboard-course-cover-placeholder{width:calc(100% - 44px);max-width:220px;overflow:hidden;display:-webkit-box;color:var(--dashboard-primary);font-size:18px;font-weight:900;line-height:1.25;text-align:center;-webkit-box-orient:vertical;-webkit-line-clamp:2}.dashboard-course-body{display:grid;grid-template-rows:auto auto 1fr 1fr auto;gap:10px;padding:16px}.dashboard-course-body>strong{overflow:hidden;color:#101828;font-size:17px;line-height:1.25;font-weight:900;text-overflow:ellipsis;white-space:nowrap}.dashboard-course-body>p,.dashboard-course-time{margin:0;color:#667085;font-size:12px;font-weight:700}.dashboard-progress-line{display:grid;grid-template-columns:58px minmax(0,1fr) 38px;align-items:center;gap:8px;color:#475467;font-size:12px;font-weight:800}.dashboard-progress-line div{overflow:hidden;height:8px;border-radius:999px;background:#edf0f5}.dashboard-progress-line i{display:block;height:100%;border-radius:inherit}.dashboard-progress-line.is-green i{background:#22c55e}.dashboard-progress-line.is-orange i{background:#f97316}.dashboard-progress-line strong{color:#475467;font-style:normal;font-variant-numeric:tabular-nums;text-align:right}.dashboard-analytics-grid{display:grid;grid-template-columns:minmax(320px,1fr) minmax(300px,.9fr) minmax(360px,1.08fr);gap:24px;align-items:stretch}.dashboard-ai-card,.dashboard-resource-card,.dashboard-learning-card{display:grid;grid-template-rows:auto minmax(0,1fr);min-width:0;min-height:432px}.dashboard-ai-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:16px;align-content:stretch}.dashboard-ai-stat{display:grid;grid-template-columns:34px minmax(0,1fr);grid-template-areas:"icon label" "icon value" "trend trend" "chart chart";gap:4px 10px;min-height:124px;padding:12px;border:1px solid #edf0f5;border-radius:12px}.dashboard-ai-icon{grid-area:icon;display:grid;place-items:center;width:34px;height:34px;border-radius:9px}.dashboard-ai-stat>span:not(.dashboard-ai-icon){grid-area:label;color:#475467;font-size:13px;font-weight:800}.dashboard-ai-stat strong{grid-area:value;color:#101828;font-size:24px;line-height:1.1;font-weight:900;font-variant-numeric:tabular-nums}.dashboard-ai-stat small{margin-left:3px;color:#667085;font-size:12px}.dashboard-ai-stat em{grid-area:trend;color:#067647;font-size:12px;font-style:normal;font-weight:700}.dashboard-ai-stat.is-blue .dashboard-ai-icon{background:#eaf3ff;color:var(--dashboard-primary)}.dashboard-ai-stat.is-green .dashboard-ai-icon{background:#eafaf1;color:#13a967}.dashboard-ai-stat.is-purple .dashboard-ai-icon{background:#f3edff;color:var(--dashboard-purple)}.dashboard-ai-stat.is-orange .dashboard-ai-icon{background:#fff3e4;color:#f97316}.dashboard-ai-stat.is-red .dashboard-ai-icon{background:#fff1f0;color:var(--dashboard-danger)}.dashboard-sparkline{grid-area:chart;width:100%;height:42px}.dashboard-sparkline path{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:3}.dashboard-sparkline.is-blue{color:var(--dashboard-primary)}.dashboard-sparkline.is-green{color:#13a967}.dashboard-sparkline.is-purple{color:var(--dashboard-purple)}.dashboard-sparkline.is-orange{color:#f97316}.dashboard-sparkline.is-red{color:var(--dashboard-danger)}.dashboard-donut-wrap{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;margin-top:16px}.dashboard-donut-visual{position:relative;width:168px;height:168px}.dashboard-donut-visual svg{width:100%;height:100%}.dashboard-donut-track,.dashboard-donut-segment{fill:none;stroke-width:18}.dashboard-donut-track{stroke:#edf0f5}.dashboard-donut-segment{stroke-linecap:butt}.dashboard-donut-center{position:absolute;inset:0;display:grid;place-content:center;text-align:center}.dashboard-donut-center span{color:#667085;font-size:12px;font-weight:800}.dashboard-donut-center strong{margin-top:4px;color:#101828;font-size:26px;font-weight:900;font-variant-numeric:tabular-nums}.dashboard-resource-legend{display:grid;gap:9px;width:min(100%,260px);min-width:0;margin:0 auto}.dashboard-resource-legend div{display:grid;grid-template-columns:minmax(80px,1fr) auto auto;align-items:center;gap:8px;color:#475467;font-size:13px;font-weight:800}.dashboard-resource-legend span{display:inline-flex;align-items:center;gap:8px}.dashboard-resource-legend i{width:7px;height:7px;border-radius:999px}.dashboard-resource-legend strong{color:#101828;font-variant-numeric:tabular-nums}.dashboard-resource-legend em{color:#667085;font-style:normal;font-weight:700}.dashboard-learning-summary{display:grid;gap:4px;margin-top:16px}.dashboard-learning-summary span{color:#667085;font-size:13px;font-weight:800}.dashboard-learning-summary strong{color:#101828;font-size:27px;line-height:1.1;font-weight:900;font-variant-numeric:tabular-nums}.dashboard-learning-summary em{color:#067647;font-size:12px;font-style:normal;font-weight:700}.dashboard-learning-chart{display:block;width:100%;min-height:230px;margin-top:8px}.dashboard-learning-chart line{stroke:#edf0f5;stroke-width:1}.dashboard-learning-chart text{fill:#98a2b3;font-size:11px;font-weight:800}.dashboard-learning-date{text-anchor:middle}.dashboard-learning-area{fill:#1677ff1f}.dashboard-learning-line{fill:none;stroke:var(--dashboard-primary);stroke-linecap:round;stroke-linejoin:round;stroke-width:3}.dashboard-learning-chart circle{fill:#fff;stroke:var(--dashboard-primary);stroke-width:2}.dashboard-activity-row{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#667085;font-size:12px;font-weight:800}.dashboard-animated-number{animation:dashboard-count-rise .52s ease-out both}@keyframes dashboard-count-rise{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@media(max-width:1500px){.dashboard-kpi-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.dashboard-kpi-card{gap:12px;padding:16px}.dashboard-kpi-icon{width:48px;height:48px;flex-basis:48px}.dashboard-focus-grid{grid-template-columns:320px minmax(0,1fr)}.dashboard-analytics-grid{grid-template-columns:minmax(300px,1fr) minmax(280px,.9fr) minmax(320px,1fr)}.dashboard-donut-visual{width:150px;height:150px}}@media(max-width:1280px){.dashboard-hero{align-items:flex-start;flex-direction:column}.dashboard-hero-actions{justify-content:flex-start}.dashboard-kpi-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.dashboard-focus-grid,.dashboard-analytics-grid{grid-template-columns:1fr}}.course-center-page{min-height:0}.course-center-shell{display:grid;grid-template-rows:auto minmax(0,1fr);gap:12px;min-height:0}.course-center-toolbar{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:12px;align-items:center;min-height:68px;padding:10px 14px 10px 18px;border:1px solid rgba(148,163,184,.22);border-radius:18px;background:linear-gradient(180deg,#fffffff5,#f8fbffe6);box-shadow:0 12px 30px #0f172a0d,inset 0 1px #ffffffeb;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.course-toolbar-actions{justify-self:start;display:flex;align-items:center;gap:12px;min-width:0}.compact-tabs{display:inline-flex;gap:2px;align-items:center;flex-wrap:nowrap;height:48px;padding:4px;border:1px solid rgba(15,23,42,.06);border-radius:999px;background:#f1f5f9e6;box-shadow:inset 0 1px 2px #0f172a0a}.compact-tabs .chip{position:relative;width:auto;min-height:40px;padding:0 24px;border:0;border-radius:999px;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;color:#475569;font-size:14px;font-weight:800;white-space:nowrap;box-shadow:none;transition:background-color .25s ease,color .25s ease,box-shadow .25s ease,transform .25s ease}.compact-tabs .chip:after{display:none}.compact-tabs .chip:hover{background:#ffffff9e;color:#1677ff;transform:translateY(-1px)}.compact-tabs .chip.active{background:#fff;color:#1677ff;font-weight:800;box-shadow:0 8px 18px #0f172a1a,0 1px #ffffffe6 inset}.compact-tabs .chip:focus-visible{outline:2px solid rgba(22,119,255,.24);outline-offset:4px}.course-filter-toggle{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:0 16px;border-color:#94a3b842;border-radius:14px;background:#ffffffe6;color:#334155;font-size:14px;font-weight:800;white-space:nowrap;box-shadow:0 8px 18px #0f172a0a,inset 0 1px #ffffffe6;transition:background-color .25s ease,border-color .25s ease,color .25s ease,box-shadow .25s ease,transform .25s ease}.course-filter-toggle svg{width:18px;height:18px}.course-filter-toggle.active{border-color:#1677ff5c;background:#fff;color:#1677ff;box-shadow:0 10px 22px #1677ff1a,inset 0 1px #fffffff2}.course-filter-toggle:hover:not(:disabled){border-color:#1677ff4d;background:#fff;color:#1677ff;transform:translateY(-1px)}.course-filter-toggle-count{display:inline-grid;place-items:center;min-width:17px;height:17px;border-radius:999px;background:#1677ff;color:#fff;font-size:11px;font-weight:900;line-height:1}.course-toolbar-search{display:grid;grid-template-columns:minmax(0,1fr) 42px;align-items:center;gap:0;width:min(44vw,460px);min-width:0;min-height:44px;border:1px solid rgba(148,163,184,.26);border-radius:14px;background:#fffffff0;box-shadow:0 8px 18px #0f172a0a,inset 0 1px #ffffffe6;overflow:hidden;transition:border-color .25s ease,box-shadow .25s ease,background-color .25s ease}.course-toolbar-search:focus-within{border-color:#1677ff61;background:#fff;box-shadow:0 10px 24px #1677ff17,0 0 0 3px #1677ff14}.course-toolbar-search-button{display:grid;place-items:center;width:42px;min-height:44px;border:0;border-left:1px solid rgba(148,163,184,.18);border-radius:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;color:#64748b;cursor:pointer;transition:background-color .25s ease,color .25s ease}.course-toolbar-search-button svg{width:18px;height:18px}.course-toolbar-search-button:hover{background:#1677ff14;color:#1677ff}.course-toolbar-search-button:focus-visible{outline:2px solid rgba(22,119,255,.28);outline-offset:-3px}.course-toolbar-search input{width:100%;min-height:44px;border:0;border-radius:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0 14px;background:transparent;color:var(--ink);font-size:14px;outline:none}.course-toolbar-search input::-moz-placeholder{color:#94a3b8}.course-toolbar-search input::placeholder{color:#94a3b8}.course-create-button{gap:7px;min-height:44px;padding:0 18px;border-color:#1677ff;border-radius:14px;background:linear-gradient(180deg,#2f87ff,#1677ff);font-size:14px;font-weight:900;white-space:nowrap;box-shadow:0 10px 22px #1677ff33;transition:background-color .25s ease,border-color .25s ease,box-shadow .25s ease,transform .25s ease}.course-create-button svg{width:18px;height:18px}.course-create-button:hover:not(:disabled){border-color:#0f6ff0;background:linear-gradient(180deg,#197bff,#0f6ff0);box-shadow:0 12px 26px #1677ff42;transform:translateY(-1px)}.course-center-browser{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;min-height:0}.course-center-browser.filter-open{grid-template-columns:230px minmax(0,1fr);align-items:start}.course-filter-sidebar{position:sticky;top:0;display:grid;gap:10px;max-height:calc(100vh - 128px);min-height:0;overflow:auto;padding:10px;border:1px solid var(--line);border-radius:12px;background:#ffffffc2}.course-filter-sidebar-head{display:grid;gap:2px}.course-filter-sidebar-head strong{color:var(--ink);font-size:14px;line-height:1.2}.course-filter-sidebar-head span{color:var(--ink-faint);font-size:12px}.course-filter-sidebar .course-filter-stack{gap:10px}.course-filter-sidebar .course-filter-group{grid-template-columns:1fr;gap:5px}.course-filter-sidebar .course-filter-label{min-height:18px;font-size:12px}.course-filter-sidebar .course-filter-options{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.course-filter-sidebar .course-filter-options .filter-button{justify-content:center;width:100%;min-width:0;min-height:26px;height:26px;padding:0 4px;border-radius:8px;font-size:10.5px;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.course-results-panel{display:grid;grid-template-rows:auto auto;align-content:start;gap:8px;min-width:0}.course-results-meta{display:flex;align-items:center;justify-content:space-between;min-height:24px;color:var(--ink-faint);font-size:12px;font-weight:800}.course-results-meta em{font-style:normal;color:var(--primary)}.course-center-page .course-card-grid{align-content:start;align-items:start;gap:14px;grid-auto-rows:auto;grid-template-columns:repeat(auto-fill,minmax(300px,1fr))}.course-gallery-card{position:relative;display:grid;align-self:start;grid-template-rows:232px auto;min-height:326px;height:auto;overflow:hidden;border-radius:10px;background:#fff;box-shadow:none}.course-gallery-card.is-clickable{cursor:pointer}.course-gallery-card:hover{border-color:#0066cc38;box-shadow:0 8px 18px #0f172a12}.course-gallery-card:focus-visible{outline:2px solid rgba(0,102,204,.42);outline-offset:3px}.course-cover{position:relative;display:grid;place-items:center;min-height:232px;height:232px;overflow:hidden;border-bottom:1px solid var(--line);background:linear-gradient(180deg,#e6f3ffb8,#ffffffeb),var(--paper);isolation:isolate}.course-cover:after{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,#ffffff38,#ffffff05,#ffffff38);pointer-events:none}.course-cover-blur{position:absolute;inset:-12px;z-index:0;display:block;background-position:center;background-repeat:no-repeat;background-size:cover;filter:blur(16px);opacity:.55;transform:scale(1.04)}.course-cover-image{position:relative;z-index:2;display:block;width:calc(100% - 18px);height:calc(100% - 18px);border-radius:6px;background-position:center;background-repeat:no-repeat;background-size:contain}.course-cover-placeholder{position:relative;z-index:2;align-self:center;justify-self:center;width:calc(100% - 56px);max-width:260px;color:var(--primary);font-size:22px;font-weight:900;line-height:1.25;text-align:center;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.course-cover-title{position:absolute;inset:auto 0 0;z-index:3;display:grid;align-items:end;min-height:92px;padding:34px 14px 14px;background:linear-gradient(180deg,#0f172a00,#0f172ac2);color:#fff;pointer-events:none}.course-cover-title strong{display:-webkit-box;min-width:0;overflow:hidden;font-size:20px;line-height:1.22;font-weight:900;text-shadow:0 2px 8px rgba(15,23,42,.42);-webkit-line-clamp:2;-webkit-box-orient:vertical}.gallery-corner-status{position:absolute;z-index:4;right:8px;top:8px;padding:4px 8px;font-size:11px}.course-cover-category-badge{position:absolute;z-index:4;top:8px;left:8px;max-width:calc(100% - 96px);display:inline-flex;align-items:center;min-height:24px;padding:0 9px;border-radius:999px;background:#dbeafef0;color:var(--primary);font-size:11px;font-weight:900;line-height:1;box-shadow:0 6px 14px #0f172a1f;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.course-cover-category-badge.literacy{background:#dcfce7f0;color:#15803d}.course-card-body{display:grid;grid-template-rows:auto auto;gap:8px;padding:10px 12px 12px}.course-card-summary-row{min-width:0}.course-card-footer{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;min-width:0}.course-card-body p{min-height:0;color:var(--ink-muted);font-size:12px;line-height:1.55;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.course-card-tags{display:flex;align-content:flex-start;align-items:center;gap:5px;flex-wrap:wrap;min-width:0}.course-card-tag{display:inline-flex;align-items:center;max-width:100%;min-height:22px;border-radius:6px;padding:0 7px;background:#0066cc14;color:var(--primary);font-size:11px;font-weight:800;line-height:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.course-delete-icon-button{position:static;width:28px;height:28px;display:grid;place-items:center;align-self:center;border:1px solid rgba(180,35,24,.16);border-radius:999px;background:#fff1f2;color:#b42318;box-shadow:none}.course-delete-icon-button svg{width:14px;height:14px;fill:currentColor}.course-delete-icon-button:hover{transform:translateY(-1px);background:#b42318;color:#fff}@media(max-width:1420px)and (min-width:1181px){.course-center-browser.filter-open{grid-template-columns:252px minmax(0,1fr)}.course-filter-sidebar .course-filter-options{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:1180px){.course-center-toolbar{grid-template-columns:1fr;padding:12px}.compact-tabs{width:-moz-fit-content;width:fit-content}.course-toolbar-actions{justify-self:stretch;flex-wrap:wrap}.course-toolbar-search{flex:1 1 260px;width:auto}.course-center-browser.filter-open{grid-template-columns:1fr}.course-filter-sidebar{position:static;max-height:none}}.course-filter-stack{display:grid;gap:8px}.course-filter-group{display:grid;grid-template-columns:72px minmax(0,1fr);align-items:start;gap:8px 10px;min-width:0}.course-filter-group.is-disabled{opacity:.55}.course-filter-label{display:inline-flex;align-items:center;min-height:32px;color:var(--ink-soft);font-size:13px;font-weight:900;line-height:1;white-space:nowrap}.course-filter-options{display:flex;align-items:flex-start;gap:6px;flex-wrap:wrap;min-width:0}.course-filter-options .filter-button{min-height:32px;height:32px;padding:0 12px;border-radius:11px;font-size:12px;line-height:1;box-shadow:none}.compact-filter-button{flex:0 0 auto;min-height:36px;padding:0 18px}.resource-search-field{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:10px}.subtle-tag,.status{display:inline-flex;align-items:center;width:-moz-fit-content;width:fit-content;border-radius:999px;padding:7px 10px;font-size:12px;font-weight:800}.subtle-tag{border:1px solid var(--line);background:#fff;color:var(--ink-soft)}.filter-button{border:0;cursor:pointer}.filter-button.active{border-color:#0066cc3d;background:var(--primary-light);color:var(--primary)}.status.navy{background:#2632451a;color:var(--navy)}.status.bronze{background:#fffbeb;color:#b45309}.status.sage{background:#62786f24;color:var(--sage)}.empty-state-panel,.course-empty-state,.resource-empty-state,.placeholder-panel{border:1px dashed var(--line-strong);border-radius:22px;padding:28px;color:var(--ink-soft);background:#fffdfa85}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.form-grid.compact{grid-template-columns:repeat(2,minmax(0,1fr))}.wide-field{grid-column:1 / -1}.course-create-page{grid-template-rows:auto auto auto;align-content:start;gap:12px;min-height:0;padding-bottom:0}.course-create-hero{display:grid;gap:8px;width:min(1440px,calc(100% - 48px));max-width:none;margin:0 auto}.course-create-back{justify-self:start;display:inline-flex;align-items:center;gap:4px;min-height:24px;padding:0 8px;border:0;border-radius:7px;background:#eef2f7;color:#0f172a;font-size:12px;font-weight:900;cursor:pointer;transition:background-color .18s ease,color .18s ease,transform .18s ease}.course-create-back:hover{background:#e2e8f0;color:#1677ff;transform:translateY(-1px)}.course-create-back svg{width:14px;height:14px}.course-create-hero-copy h2{margin:0;color:#0f172a;font-size:24px;line-height:1.2;font-weight:900}.course-create-hero-copy p{margin:4px 0 0;color:#344054;font-size:13px;font-weight:800}.course-create-steps{position:relative;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:26px;align-items:center;margin:10px 0 12px;padding:0;list-style:none}.course-create-steps li{position:relative;z-index:1;display:grid;grid-template-columns:34px minmax(112px,max-content);gap:10px;align-items:center;min-width:0}.course-create-steps li:not(:last-child):after{content:"";position:absolute;z-index:-1;left:172px;top:17px;width:calc(100% - 164px);height:2px;border-radius:999px;background:#dbe4f0;pointer-events:none}.course-create-steps li.done:after,.course-create-steps li.active:after{background:#1677ff}.course-create-steps li>span{position:relative;z-index:2;display:grid;place-items:center;width:34px;height:34px;border-radius:999px;background:#eff4fb;color:#0f172a;font-size:15px;font-weight:900;box-shadow:0 0 0 6px #fff}.course-create-steps li>div{position:relative;z-index:2;width:-moz-fit-content;width:fit-content;max-width:100%;padding-right:10px;background:transparent}.course-create-steps li.active>span{background:#1677ff;color:#fff;box-shadow:0 10px 24px #1677ff38}.course-create-steps strong,.course-create-steps small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.course-create-steps strong{color:#111827;font-size:14px;font-weight:900}.course-create-steps small{margin-top:2px;color:#667085;font-size:12px;font-weight:800}.course-create-shell{width:min(1440px,calc(100% - 48px));max-width:none;margin:0 auto}.course-create-card{display:grid;gap:14px;min-height:0;padding:20px 24px;border:1px solid rgba(226,232,240,.78);border-radius:12px;background:#fffffff5;box-shadow:0 14px 34px #0f172a12,inset 0 1px #fffffff2}.course-create-card-main{display:grid;grid-template-columns:minmax(0,1fr) minmax(250px,320px);gap:28px;align-items:start}.course-basic-form,.choice-group{display:grid;gap:12px}.course-basic-form{grid-template-columns:minmax(0,1fr)}.course-inline-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.course-form-field{display:grid;gap:7px;min-width:0;color:#111827;font-size:13px;font-weight:900}.course-form-field>span,.course-cover-uploader>span{display:inline-flex;align-items:center;gap:4px}.course-form-field em,.course-cover-uploader em{color:#ef4444;font-style:normal}.course-field-control{position:relative;min-width:0}.course-field-control input,.course-field-control textarea{width:100%;border:1px solid #d5e0ee;border-radius:10px;background:#fff;color:#111827;font-size:14px;font-weight:800;outline:none;box-shadow:0 1px 2px #0f172a05;transition:border-color .18s ease,box-shadow .18s ease}.course-field-control input{min-height:40px;padding:0 52px 0 14px}.course-field-control textarea{min-height:54px;padding:11px 52px 11px 14px}.course-field-control input:focus,.course-field-control textarea:focus,.course-select-wrap:focus-within{border-color:#1677ff8c;box-shadow:0 0 0 3px #1677ff1a}.course-field-control input::-moz-placeholder,.course-field-control textarea::-moz-placeholder{color:#8da0b8;font-weight:800}.course-field-control input::placeholder,.course-field-control textarea::placeholder{color:#8da0b8;font-weight:800}.course-field-control small{position:absolute;right:12px;bottom:11px;color:#536585;font-size:12px;font-weight:900;pointer-events:none}.course-description-field{resize:none}.course-select-wrap{display:grid;grid-template-columns:34px minmax(0,1fr);align-items:center;min-height:42px;overflow:hidden;border:1px solid #d5e0ee;border-radius:10px;background:#fff;transition:border-color .18s ease,box-shadow .18s ease}.course-select-wrap>svg{justify-self:center;width:22px;height:22px;padding:5px;border-radius:7px}.course-select-wrap.tone-green>svg{background:#dcfce7;color:#16a34a}.course-select-wrap.tone-blue>svg{background:#dbeafe;color:#1677ff}.course-select-wrap.tone-rose>svg{background:#ffe4ef;color:#ec4899}.course-select-wrap select{width:100%;min-width:0;min-height:40px;border:0;padding:0 14px 0 0;background:transparent;color:#111827;font-size:14px;font-weight:900;outline:none;cursor:pointer}.course-cover-uploader{display:grid;gap:8px;min-width:0;color:#111827;font-size:13px;font-weight:900}.course-cover-uploader input{display:none}.course-cover-dropzone{position:relative;height:280px;min-height:0;display:grid;place-items:center;overflow:hidden;border:1px dashed #b8c7da;border-radius:10px;color:var(--ink-soft);cursor:pointer;background:linear-gradient(180deg,#f8fbffbd,#fffffff0),var(--paper)}.course-cover-dropzone.uploading{cursor:wait}.course-cover-dropzone img{width:100%;height:100%;-o-object-fit:contain;object-fit:contain}.course-cover-empty{display:grid;place-items:center;gap:7px;padding:18px;text-align:center}.course-cover-empty span{display:grid;place-items:center;width:44px;height:44px;border-radius:999px;background:#fff;color:#1677ff;box-shadow:0 10px 24px #0f172a0f}.course-cover-empty svg{width:24px;height:24px}.course-cover-empty strong{color:#1677ff;font-size:14px;font-weight:900}.course-cover-empty small{color:#667085;font-size:11px;font-weight:800}.course-cover-upload-mask{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;background:#ffffffd1;color:var(--ink);text-align:center;pointer-events:none}.course-cover-upload-spinner{width:28px;height:28px;border:3px solid rgba(59,130,246,.18);border-top-color:var(--brand);border-radius:50%;animation:course-cover-upload-spin .8s linear infinite}@keyframes course-cover-upload-spin{to{transform:rotate(360deg)}}.choice-group-head{display:flex;justify-content:space-between;gap:12px;color:var(--ink)}.choice-group-head span{color:var(--ink-soft);font-size:13px}.course-create-page .choice-group>strong{color:#111827;font-size:14px;font-weight:900}.course-create-page .choice-group>strong em{margin-left:4px;color:#ef4444;font-style:normal}.course-create-page .choice-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.choice-pill-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.course-create-page .choice-card{position:relative;border:1px solid #dfe7f1;color:#111827;cursor:pointer;background:#fff;transition:border-color .18s ease,background .18s ease,box-shadow .18s ease,transform .18s ease;min-height:56px;display:flex;align-items:center;gap:10px;text-align:left;padding:10px 16px;border-radius:8px;font-size:14px;font-weight:900}.course-create-page .choice-card span{color:var(--ink-soft);font-size:12px;line-height:1.35}.course-create-page .choice-card>strong{min-width:0;overflow:hidden;color:#111827;font-size:14px;text-overflow:ellipsis;white-space:nowrap}.course-create-page .choice-card-icon{display:grid;place-items:center;flex:0 0 auto;width:28px;height:28px;border-radius:8px}.course-create-page .choice-card-icon svg{width:17px;height:17px}.course-create-page .choice-card-icon.tone-blue{background:#dbeafe;color:#1677ff}.course-create-page .choice-card-icon.tone-green{background:#dcfce7;color:#16a34a}.course-create-page .choice-card-icon.tone-purple{background:#ede9fe;color:#8b5cf6}.course-create-page .choice-card-icon.tone-rose{background:#ffe4ef;color:#ec4899}.course-create-page .choice-check{position:absolute;top:8px;right:8px;display:grid;place-items:center;width:17px;height:17px;border-radius:999px;background:#1677ff;color:#fff!important}.course-create-page .choice-check svg{width:12px;height:12px}.choice-pill{border:1px solid var(--line);color:var(--ink);cursor:pointer;background:#fffaf2d6;transition:border-color .18s ease,background .18s ease,transform .18s ease;min-height:40px;padding:7px 10px;border-radius:12px;font-weight:800}.course-create-page .choice-card.active{border-color:#1677ff;background:linear-gradient(180deg,#eff7fff0,#fffffffa);box-shadow:0 10px 24px #1677ff1f}.course-create-page .choice-card:hover{border-color:#1677ff57;box-shadow:0 10px 22px #0f172a0f;transform:translateY(-1px)}.choice-pill.active{border-color:#18372b;border-width:2px;background:#edf6ed}.choice-pill:hover{transform:translateY(-1px)}.course-create-actions{position:static;z-index:5;display:flex;justify-content:flex-end;width:min(1440px,calc(100% - 48px));max-width:none;margin:0 auto;padding:2px 4px 0;background:transparent}.course-create-submit{gap:8px;min-width:206px;min-height:42px;border-radius:10px;font-size:14px;font-weight:900;box-shadow:0 14px 28px #1677ff3d}.course-create-submit svg{width:17px;height:17px}.course-outline-workspace{display:grid;grid-template-columns:minmax(280px,.9fr) minmax(0,1.7fr);gap:18px;min-width:0;min-height:0;overflow:hidden;align-items:stretch}.course-outline-info{position:sticky;top:18px;min-width:0;min-height:0;height:100%}.outline-course-cover{position:relative;display:grid;place-items:center;width:100%;height:220px;overflow:hidden;border-radius:22px;border:1px solid var(--line);margin-bottom:18px;background:linear-gradient(180deg,#e6f3ffb8,#ffffffeb),var(--paper);isolation:isolate}.outline-course-cover:after{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,#ffffff38,#ffffff05,#ffffff38);pointer-events:none}.outline-course-cover-blur{position:absolute;inset:-12px;z-index:0;width:calc(100% + 24px);height:calc(100% + 24px);-o-object-fit:cover;object-fit:cover;filter:blur(16px);opacity:.55;transform:scale(1.04)}.outline-course-cover-image{position:relative;z-index:2;width:calc(100% - 18px);height:calc(100% - 18px);-o-object-fit:contain;object-fit:contain;border-radius:6px}.outline-info-line{display:flex;justify-content:space-between;gap:16px;padding:14px 0;border-bottom:1px solid var(--line)}.outline-info-line span{color:var(--ink-faint)}.outline-info-line strong{text-align:right;color:var(--navy)}.course-outline-tree-panel{display:flex;flex-direction:column;min-width:0;min-height:0;overflow:hidden}.inline-message{padding:12px 14px;margin-bottom:12px;border-radius:14px;background:var(--primary-light);border:1px solid rgba(0,102,204,.18);color:var(--navy)}.inline-message.success{background:#effaf1eb;border-color:#2e7d323d;color:#1f7a3a}.inline-message.error{background:#fff1f1eb;border-color:#be3c3c3d;color:#9f2f2f}.chapter-tree{flex:1;min-height:0;max-height:none;overflow-x:hidden;overflow-y:auto;padding-right:4px}.chapter-rc-tree.resource-rc-tree.rc-tree .rc-tree-treenode,.chapter-rc-tree.resource-rc-tree.rc-tree .rc-tree-indent,.chapter-rc-tree.resource-rc-tree.rc-tree .rc-tree-indent-unit,.chapter-rc-tree.resource-rc-tree.rc-tree .rc-tree-treenode span.rc-tree-switcher,.chapter-rc-tree.resource-rc-tree.rc-tree .rc-tree-treenode span.rc-tree-iconEle,.chapter-rc-tree.resource-rc-tree.rc-tree .rc-tree-treenode .rc-tree-node-content-wrapper,.chapter-rc-tree.resource-rc-tree.rc-tree .rc-tree-treenode span.rc-tree-title{height:42px;min-height:42px}.chapter-rc-tree.resource-rc-tree.rc-tree .rc-tree-treenode .rc-tree-node-content-wrapper{padding-right:8px}.chapter-tree-title{display:flex;align-items:center;gap:10px;min-width:0;width:100%}.chapter-dot.compact{flex:0 0 auto;min-width:28px;height:28px;padding:0 7px;border-radius:10px;font-size:12px}.chapter-main.compact{min-width:0;gap:2px}.chapter-title-line{display:flex;align-items:center;gap:6px;min-width:0}.chapter-main.compact strong{color:var(--navy);font-weight:900;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.chapter-resource-link{flex:0 0 auto;display:inline-flex;align-items:center;gap:4px;border:1px solid rgba(15,23,42,.12);border-radius:6px;padding:2px 6px;background:#fff;color:#1d4ed8;font-size:11px;font-weight:800;line-height:1.25;cursor:pointer}.chapter-resource-link svg{width:12px;height:12px}.chapter-resource-link:hover,.chapter-resource-link:focus-visible{border-color:#2e6bff6b;background:#2e6bff24;outline:none}.chapter-resource-link.locked,.chapter-resource-link.locked:hover,.chapter-resource-link.locked:focus-visible{border-color:#64748b3d;background:#64748b14;color:#64748b;cursor:not-allowed}.chapter-resource-link.courseware{border-color:#7c3aed47;background:#f4f0ff;color:#6d28d9;box-shadow:0 1px #7c3aed14}.chapter-resource-link.courseware:hover,.chapter-resource-link.courseware:focus-visible{border-color:#7c3aed80;background:#ebe4ff;color:#5b21b6}.chapter-resource-link.exercise{border-color:#15803d3d;background:#16a34a14;color:#15803d}.chapter-resource-link.exercise:hover,.chapter-resource-link.exercise:focus-visible{border-color:#15803d6b;background:#16a34a24}.chapter-exercise-detail-page{display:flex;flex-direction:column;gap:16px}.chapter-exercise-detail-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;border:1px solid rgba(20,38,64,.1);border-radius:8px;padding:18px 20px;background:#fff}.chapter-exercise-detail-actions{display:flex;gap:10px;flex:0 0 auto}.chapter-exercise-detail-list{display:flex;flex-direction:column;gap:14px}.chapter-exercise-detail-card{display:flex;flex-direction:column;gap:14px;border:1px solid rgba(20,38,64,.1);border-radius:8px;padding:16px;background:#fff}.chapter-exercise-detail-card-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}.chapter-exercise-detail-section{display:grid;grid-template-columns:54px minmax(0,1fr);gap:12px;color:#1f2937;font-size:13px;line-height:1.6}.chapter-exercise-detail-section>strong{color:#475569;font-size:12px;font-weight:900}.chapter-exercise-detail-section.answer{border-top:1px solid rgba(20,38,64,.08);padding-top:12px}.chapter-exercise-detail-section.analysis{border-top:1px dashed rgba(20,38,64,.12);padding-top:12px}.chapter-exercise-detail-options{display:flex;flex-direction:column;gap:8px}.chapter-exercise-detail-option{display:grid;grid-template-columns:28px minmax(0,1fr);gap:8px;align-items:start}.chapter-exercise-detail-option>span{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:999px;background:#2e6bff14;color:#1d4ed8;font-size:12px;font-weight:900}.chapter-exercise-detail-card .question-rich-preview p{margin:0 0 6px}.chapter-exercise-detail-card .question-rich-preview p:last-child{margin-bottom:0}.chapter-exercise-dialog{width:min(960px,calc(100vw - 32px));max-height:min(760px,calc(100vh - 40px));overflow:hidden;display:flex;flex-direction:column}.chapter-exercise-message{margin:0 0 12px}.chapter-exercise-toolbar{display:flex;justify-content:flex-end;gap:10px;margin-bottom:14px}.chapter-exercise-list{display:flex;flex-direction:column;gap:10px;min-height:220px;overflow:auto;padding-right:4px}.chapter-exercise-question-card{display:grid;grid-template-columns:76px minmax(0,1fr) auto;gap:12px;align-items:start;border:1px solid rgba(20,38,64,.1);border-radius:8px;padding:12px;background:#fff}.chapter-exercise-question-index{color:#516176;font-size:12px;font-weight:800;line-height:1.4}.chapter-exercise-question-main{min-width:0}.chapter-exercise-question-meta{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:6px}.chapter-exercise-question-meta span{border-radius:999px;padding:2px 8px;background:#1e293b0f;color:#334155;font-size:11px;font-weight:800}.chapter-exercise-question-preview{color:#1f2937;font-size:13px;line-height:1.55;max-height:92px;overflow:hidden}.chapter-exercise-question-preview p{margin:0 0 6px}.chapter-exercise-question-actions{display:flex;gap:8px;white-space:nowrap}@media(max-width:720px){.chapter-exercise-toolbar{justify-content:stretch}.chapter-exercise-toolbar button{flex:1 1 0}.chapter-exercise-question-card{grid-template-columns:1fr}.chapter-exercise-question-actions{justify-content:flex-end}.chapter-exercise-detail-head,.chapter-exercise-detail-card-head{flex-direction:column}.chapter-exercise-detail-actions{width:100%}.chapter-exercise-detail-actions button{flex:1 1 0}.chapter-exercise-detail-section{grid-template-columns:1fr}}.chapter-node{display:grid;gap:8px}.chapter-row{display:grid;grid-template-columns:minmax(34px,max-content) minmax(0,1fr) auto;align-items:center;gap:12px;padding:12px 14px;border:1px solid var(--line);border-radius:18px;background:#ffffff9e}.chapter-dot{min-width:30px;height:30px;padding:0 8px;display:grid;place-items:center;border-radius:12px;background:#172b4d14;color:var(--navy);font-weight:900;white-space:nowrap}.chapter-main{display:grid;gap:4px}.chapter-main em{color:var(--ink-faint);font-style:normal;font-size:12px}.chapter-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.chapter-actions.compact{flex-wrap:nowrap;gap:4px}.chapter-actions .secondary-button,.chapter-actions .primary-button{min-height:34px;padding:8px 12px}.chapter-actions.compact .secondary-button,.chapter-actions.compact .primary-button,.chapter-actions.compact .compact-button{min-height:24px;padding:0 7px;border-radius:999px;font-size:11px;line-height:1;white-space:nowrap}.chapter-actions.compact .chapter-icon-button{width:26px;min-width:26px;padding:0}.chapter-actions.compact .chapter-icon-button svg{width:13px;height:13px}.chapter-actions.compact .chapter-icon-button.danger{border-color:#b4231838;color:#b42318}.secondary-button:disabled{opacity:.45;cursor:not-allowed}.course-center-page>.section-block{padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}.course-outline-workspace{grid-template-columns:minmax(280px,30%) minmax(0,70%);gap:16px;align-items:stretch;min-height:0;overflow:hidden}.course-outline-info,.course-outline-tree-panel{border-radius:16px;border-color:#e2e8f0f5;box-shadow:0 10px 30px #0f172a0f}.course-outline-info{position:relative;top:auto;align-self:stretch;height:100%;max-height:none;overflow:hidden}.outline-card-head,.outline-workbench-head{justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:16px}.outline-card-head .section-title,.outline-workbench-head .section-title{margin:0;color:#0f172a;font-size:20px;line-height:1.25}.outline-card-edit-button{display:inline-grid;place-items:center;width:38px;min-width:38px;height:38px;min-height:38px;padding:0;border-radius:11px;color:#1677ff}.outline-card-edit-button svg{width:18px;height:18px}.outline-workbench-head .section-subtitle{margin-top:6px;color:#64748b;font-size:13px;line-height:1.45}.outline-toolbar{display:flex;align-items:center;flex:0 0 auto;gap:8px}.outline-toolbar .compact-button{min-height:34px;padding:0 12px;border-radius:10px;font-size:13px}.outline-add-root-button{display:inline-flex;align-items:center;gap:6px}.outline-toolbar .outline-toolbar-icon-button{position:relative;display:inline-flex;align-items:center;justify-content:center;width:34px;padding:0}.outline-toolbar-icon-button svg{width:17px;height:17px}.outline-toolbar-icon-button:after{position:absolute;top:calc(100% + 8px);left:50%;z-index:20;padding:6px 9px;border-radius:6px;background:#1e293b;color:#fff;box-shadow:0 6px 16px #0f172a33;content:attr(data-tooltip);font-size:12px;font-weight:600;line-height:1;opacity:0;pointer-events:none;transform:translate(-50%,-2px);transition:opacity .15s ease,transform .15s ease;white-space:nowrap}.outline-toolbar-icon-button:hover:after,.outline-toolbar-icon-button:focus-visible:after{opacity:1;transform:translate(-50%)}.outline-course-cover{aspect-ratio:16 / 8;height:auto;margin-bottom:14px;border-radius:14px;border-color:#1677ff1f;background:linear-gradient(135deg,#f0f7ff,#fff 68%)}.outline-course-cover:after,.outline-course-cover-blur{display:block}.outline-course-cover-blur{background-position:center;background-repeat:no-repeat;background-size:cover}.outline-course-cover-image{display:block;width:calc(100% - 18px);height:calc(100% - 18px);border-radius:6px;background-position:center;background-repeat:no-repeat;background-size:contain}.outline-course-cover-placeholder{display:grid;place-items:center;gap:10px;width:100%;height:100%;padding:20px;color:#1677ff;text-align:center;font-weight:900}.outline-course-cover-placeholder svg{width:34px;height:34px}.outline-info-list{display:grid;gap:0}.outline-info-line{align-items:center;min-height:46px;padding:11px 0}.outline-info-line span{display:inline-flex;align-items:center;gap:8px;min-width:96px;color:#64748b;font-size:14px;font-weight:700}.outline-info-line span svg{width:16px;height:16px;color:#475569}.outline-info-line strong{overflow:hidden;color:#0f172a;font-size:14px;font-weight:800;text-overflow:ellipsis;white-space:nowrap}.outline-course-description{display:grid;gap:8px;padding-top:12px}.outline-course-description>span{display:inline-flex;align-items:center;gap:8px;color:#64748b;font-size:14px;font-weight:800}.outline-course-description svg{width:16px;height:16px}.outline-course-description p{display:-webkit-box;overflow:hidden;margin:0;color:#334155;font-size:14px;line-height:1.7;-webkit-box-orient:vertical;-webkit-line-clamp:2;text-overflow:ellipsis}.course-outline-tree-panel{align-self:stretch;height:100%;overflow:hidden}.chapter-workbench-list{display:grid;flex:1;align-content:start;gap:10px;min-height:0;overflow-x:hidden;overflow-y:auto;padding:1px 4px 2px 0}.textbook-import-dialog{display:flex;flex-direction:column;width:min(640px,calc(100vw - 48px));height:min(760px,calc(100vh - 56px));overflow:hidden}.textbook-import-controls{display:grid;gap:12px}.textbook-import-controls label{display:grid;gap:8px;color:#334155;font-size:14px;font-weight:800}.textbook-catalog-preview{flex:1;min-height:0;overflow:auto;padding:10px 8px;border:1px solid rgba(226,232,240,.96);border-radius:14px;background:#f8fafc}.textbook-catalog-preview .resource-empty-state{min-height:160px}.textbook-catalog-rc-tree.resource-rc-tree{padding:2px 0}.textbook-catalog-rc-tree.resource-rc-tree.rc-tree .rc-tree-treenode,.textbook-catalog-rc-tree.resource-rc-tree.rc-tree .rc-tree-indent,.textbook-catalog-rc-tree.resource-rc-tree.rc-tree .rc-tree-indent-unit,.textbook-catalog-rc-tree.resource-rc-tree.rc-tree .rc-tree-treenode span.rc-tree-switcher,.textbook-catalog-rc-tree.resource-rc-tree.rc-tree .rc-tree-treenode span.rc-tree-iconEle,.textbook-catalog-rc-tree.resource-rc-tree.rc-tree .rc-tree-treenode .rc-tree-node-content-wrapper,.textbook-catalog-rc-tree.resource-rc-tree.rc-tree .rc-tree-treenode span.rc-tree-title{min-height:34px;line-height:34px}.textbook-catalog-tree-title{display:block;overflow:hidden;max-width:100%;color:#0f172a;font-size:14px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}.textbook-import-dialog .dialog-actions{flex:0 0 auto;align-items:center}.textbook-import-dialog .dialog-actions .primary-button,.textbook-import-dialog .dialog-actions .secondary-button{flex:0 0 auto;min-width:96px;min-height:44px;max-height:44px;padding:0 18px;white-space:nowrap}.textbook-import-dialog .dialog-actions .primary-button{min-width:150px}.outline-chapter-card{position:relative;overflow:visible;border:1px solid rgba(226,232,240,.96);border-radius:14px;background:#fff;box-shadow:0 4px 16px #0f172a0a}.outline-chapter-card.level-1,.outline-chapter-card.level-2,.outline-chapter-card.level-3{background:#fbfdff}.outline-chapter-head{display:grid;grid-template-columns:28px 28px minmax(0,1fr) auto;align-items:center;gap:10px;min-height:54px;padding:10px 12px}.outline-chapter-toggle,.chapter-more-trigger{display:inline-grid;place-items:center;width:30px;height:30px;min-width:30px;padding:0;border:1px solid rgba(226,232,240,.96);border-radius:9px;background:#fff;color:#334155;cursor:pointer}.outline-chapter-toggle:hover,.chapter-more-trigger:hover{border-color:#1677ff47;color:#1677ff}.outline-chapter-folder{display:inline-grid;place-items:center;width:28px;height:28px;border-radius:8px;background:#e6f3ff;color:#1677ff}.outline-chapter-folder svg,.outline-chapter-toggle svg,.chapter-more-trigger svg{width:16px;height:16px}.outline-chapter-copy{display:flex;align-items:center;gap:10px;min-width:0}.outline-chapter-copy strong{overflow:hidden;color:#0f172a;font-size:15px;font-weight:900;text-overflow:ellipsis;white-space:nowrap}.outline-chapter-copy span{flex:0 0 auto;padding:3px 8px;border-radius:999px;background:#e6f3ff;color:#1677ff;font-size:12px;font-weight:900}.outline-chapter-children{display:grid;gap:8px;padding:0 12px 12px 48px}.outline-chapter-children .outline-chapter-card{box-shadow:none}.outline-lecture-row{position:relative;display:grid;grid-template-columns:minmax(220px,1fr) auto auto;align-items:center;gap:12px;min-height:52px;padding:8px 10px;border:1px solid rgba(226,232,240,.96);border-radius:10px;background:#fffffff5}.outline-lecture-row:hover{border-color:#1677ff38;box-shadow:0 8px 22px #0f172a0d}.outline-lecture-main{display:flex;align-items:center;gap:10px;min-width:0}.outline-lecture-index{display:inline-grid;place-items:center;min-width:34px;height:28px;padding:0 8px;border-radius:8px;background:#f1f5f9;color:#475569;font-size:13px;font-weight:900;white-space:nowrap}.outline-lecture-copy{min-width:0}.outline-lecture-title-line{display:flex;align-items:center;gap:10px;min-width:0}.outline-lecture-title-line strong{overflow:hidden;color:#0f172a;font-size:14px;font-weight:900;text-overflow:ellipsis;white-space:nowrap}.outline-status-badge{display:inline-flex;align-items:center;flex:0 0 auto;gap:5px;min-width:70px;color:#64748b;font-size:12px;font-weight:900}.outline-status-badge i{width:9px;height:9px;border-radius:999px;background:#bfbfbf;box-shadow:0 0 0 3px #bfbfbf1f}.outline-status-badge.generating{color:#d48806}.outline-status-badge.generating i{background:#faad14;box-shadow:0 0 0 3px #faad1424}.outline-status-badge.completed{color:#389e0d}.outline-status-badge.completed i{background:#52c41a;box-shadow:0 0 0 3px #52c41a24}.outline-status-badge.published{color:#1677ff}.outline-status-badge.published i{background:#1677ff;box-shadow:0 0 0 3px #1677ff24}.outline-resource-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;min-width:232px}.outline-resource-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:104px;min-height:34px;padding:0 12px;border:1px solid rgba(22,119,255,.26);border-radius:9px;background:#fff;color:#1677ff;font-size:13px;font-weight:900;cursor:pointer;white-space:nowrap}.outline-resource-button svg{width:15px;height:15px}.outline-resource-button.is-created{border-style:solid;background:#fff}.outline-resource-button.courseware.is-created{border-color:#1677ff52;color:#1677ff}.outline-resource-button.courseware.is-created:hover:not(:disabled){border-color:#1677ff80;background:#e6f3ff}.outline-resource-button.courseware.is-create{border-color:#1677ff33;border-style:dashed;background:#f8fbff;color:#1677ff}.outline-resource-button.courseware.is-create:hover:not(:disabled){border-color:#1677ff6b;background:#eef6ff}.outline-resource-button.exercise.is-created{border-color:#52c41a4d;background:#f6ffed;color:#237804}.outline-resource-button.exercise.is-created:hover:not(:disabled){border-color:#52c41a75;background:#edfbdc}.outline-resource-button.exercise.is-create{border-color:#52c41a3d;border-style:dashed;background:#fbfff8;color:#389e0d}.outline-resource-button.exercise.is-create:hover:not(:disabled){border-color:#52c41a70;background:#f0ffe5}.outline-resource-button:disabled{opacity:.46;cursor:not-allowed}.chapter-actions.compact{position:relative;z-index:2}.chapter-actions.compact.is-open{z-index:120}.outline-lecture-row:has(.chapter-actions.is-open),.outline-chapter-card:has(.chapter-actions.is-open){z-index:80}.chapter-more-menu{position:absolute;top:calc(100% + 6px);right:0;z-index:140;display:grid;min-width:148px;padding:8px;border:1px solid rgba(203,213,225,.96);border-radius:14px;background:#fff;opacity:1;box-shadow:0 18px 42px #0f172a2e;isolation:isolate}.chapter-more-menu button{display:flex;align-items:center;justify-content:flex-start;min-height:34px;padding:0 10px;border:0;border-radius:8px;background:transparent;color:#334155;font-size:13px;font-weight:800;text-align:left;cursor:pointer}.chapter-more-menu button:hover:not(:disabled){background:#f1f5f9;color:#1677ff}.chapter-more-menu button.danger{color:#ff4d4f}.chapter-more-menu button:disabled{color:#94a3b8;cursor:not-allowed}.detail-hero{justify-content:space-between;gap:20px;padding:24px;border-radius:var(--radius-xl);background:linear-gradient(180deg,#e6f3ffb8,#ffffffeb),var(--paper)}.breadcrumb{display:flex;gap:8px;margin-bottom:10px;color:var(--ink-faint);font-size:13px}.breadcrumb span:first-child{cursor:pointer;color:var(--navy)}.detail-hero h2{font-size:34px}.detail-hero p{max-width:660px;color:var(--ink-soft)}.detail-actions{justify-content:flex-end}.detail-hero.course-workbench-hero{align-items:flex-start;padding:2px 4px 0;border:0;border-radius:0;background:transparent;box-shadow:none}.course-workbench-title-line{display:flex;align-items:center;flex-wrap:wrap;gap:10px;min-width:0}.course-workbench-title-line h2{margin:0;color:#0f172a;font-size:30px;line-height:1.18;font-weight:900}.course-category-badge{display:inline-flex;align-items:center;min-height:28px;padding:4px 10px;border:1px solid #bfdbfe;border-radius:999px;background:#eff6ff;color:#1d4ed8;font-size:13px;font-weight:800;line-height:1;white-space:nowrap}.course-category-badge.literacy{border-color:#bbf7d0;background:#f0fdf4;color:#15803d}.course-more-button{display:inline-grid;place-items:center;width:36px;height:36px;min-height:36px;padding:0;border-radius:10px}.course-workbench-actions{flex-wrap:nowrap}.course-more-wrap{position:relative}.course-more-menu{position:absolute;top:calc(100% + 8px);right:0;z-index:30;display:grid;min-width:132px;padding:6px;border:1px solid rgba(226,232,240,.96);border-radius:12px;background:#fff;box-shadow:0 16px 34px #0f172a24}.course-more-menu button{display:flex;align-items:center;justify-content:flex-start;min-height:34px;padding:0 10px;border:0;border-radius:8px;background:transparent;color:#334155;font-size:13px;font-weight:800;text-align:left;cursor:pointer}.course-more-menu button:hover:not(:disabled){background:#f1f5f9;color:#1677ff}.course-more-menu button:disabled{color:#94a3b8;cursor:not-allowed}.course-workbench-actions .primary-button,.course-workbench-actions .secondary-button{min-height:40px;border-radius:12px}.course-stats-strip{display:grid;grid-template-columns:repeat(4,minmax(110px,1fr)) minmax(320px,1.25fr);align-items:center;min-height:76px;max-height:80px;padding:12px 20px;border:1px solid rgba(226,232,240,.96);border-radius:16px;background:#fffffff5;box-shadow:0 10px 30px #0f172a0f}.course-stat-item{display:flex;align-items:center;gap:12px;min-width:0;padding:0 12px}.course-stat-item svg{width:30px;height:30px;flex:0 0 auto;color:#1677ff}.course-stat-item.success svg{color:#52c41a}.course-stat-item.courseware svg,.course-stat-item.published svg{color:#1677ff}.course-stat-item.exercise svg{color:#52c41a}.course-stat-item.warning svg{color:#faad14}.course-stat-item.neutral svg{color:#64748b}.course-stat-item div{display:grid;gap:2px;min-width:0}.course-stat-item strong{overflow:hidden;color:#0f172a;font-size:19px;line-height:1.16;font-weight:900;text-overflow:ellipsis;white-space:nowrap}.course-stat-item span{overflow:hidden;color:#64748b;font-size:12px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}.course-progress-summary{display:grid;gap:5px;min-width:0;padding-left:24px;border-left:1px solid rgba(226,232,240,.96)}.course-progress-title{color:#334155;font-size:13px;line-height:1;font-weight:900}.course-progress-line{display:grid;grid-template-columns:64px minmax(100px,1fr) auto;align-items:center;gap:10px;min-width:0}.course-progress-label{color:#475569;font-size:13px;font-weight:900;white-space:nowrap}.course-progress-track{position:relative;height:8px;overflow:hidden;border-radius:999px;background:#e8eef6}.course-progress-fill{position:absolute;inset:0 auto 0 0;width:0;border-radius:inherit;background:#1677ff}.course-progress-line.exercise .course-progress-fill{background:#16a34a}.course-progress-line strong{color:#334155;font-size:13px;line-height:1;font-weight:900;white-space:nowrap}.course-progress-line.courseware strong{color:#1677ff}.course-progress-line.exercise strong{color:#15803d}.is-spinning{animation:course-preview-toast-spin .9s linear infinite}.file-button{position:relative;overflow:hidden}.file-button input{position:absolute;inset:0;opacity:0;cursor:pointer}.ai-progress-strip{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:14px;padding:14px 18px;border-radius:18px;background:#62786f1f}.detail-tabs{padding:8px;border-radius:999px;background:#fffdfab8;width:-moz-fit-content;width:fit-content}.detail-tabs button{padding:10px 14px;border-radius:999px;background:transparent;color:var(--ink-soft);font-weight:800}.detail-tabs button.active{background:var(--navy);color:#fff}.course-detail-page{grid-template-rows:auto auto auto minmax(0,1fr);min-width:0;min-height:0;overflow:hidden;align-content:stretch}.course-detail-page.detail-tab-data,.course-detail-page.detail-tab-students{grid-template-rows:auto auto auto;align-content:start;overflow-x:hidden;overflow-y:auto;padding-right:4px}.course-detail-page.exercise-detail-active{grid-template-rows:auto;align-content:start;overflow-y:auto;padding-right:4px}.course-detail-page>.placeholder-panel{min-height:520px}.lecture-preview-layout{display:grid;grid-template-columns:240px minmax(640px,1fr);grid-template-areas:"rail stage" "rail tools";gap:18px;align-items:start}.lecture-preview-layout.preview-focused{grid-template-columns:230px minmax(0,1fr);grid-template-areas:"rail stage" "rail tools"}.scene-rail,.editor-side-panel{display:grid;gap:14px}.scene-rail{grid-area:rail;position:sticky;top:18px;align-self:start;display:grid;grid-template-rows:auto minmax(0,1fr);max-height:calc(100vh - 170px);min-height:0;overflow:visible}.scene-list{display:grid;align-content:start;gap:10px;min-height:0;max-height:calc(100vh - 245px);overflow-y:auto;padding-right:4px}.scene-item{display:flex;align-items:flex-start;gap:10px;width:100%;border:1px solid transparent;border-radius:18px;background:#ffffff85;color:var(--ink);padding:12px}.scene-item.active{border-color:#26324542;background:#26324514}.scene-order,.action-number{width:34px;height:34px;display:grid;place-items:center;flex:0 0 auto;border-radius:12px;background:var(--navy);color:#fff;font-weight:900}.scene-item span:last-child{display:grid;gap:4px}.scene-item em{color:var(--ink-faint);font-size:12px;font-style:normal}.scene-rail-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.scene-add-button,.scene-delete-button{display:grid;place-items:center;border:0;border-radius:999px;font-weight:900;cursor:pointer}.scene-add-button{width:34px;height:34px;background:var(--navy);color:#fff;font-size:22px}.scene-add-button:disabled{opacity:.45;cursor:not-allowed}.scene-item-row{position:relative}.scene-item-row .scene-item{padding-right:44px}.scene-item-row.active .scene-item{border-color:#26324542;background:#26324514}.scene-failed-badge{display:inline-flex;margin-left:6px;padding:1px 6px;border-radius:999px;background:#b423181a;color:#b42318;font-size:11px;font-weight:800;font-style:normal}.scene-delete-button{position:absolute;right:10px;top:50%;width:28px;height:28px;transform:translateY(-50%);background:#b4231814;color:#b42318;font-size:18px}.scene-delete-button:hover{background:#b42318;color:#fff}.preview-stage-block{grid-area:stage;min-width:0;overflow:visible}.playback-controls{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px}.playback-controls .primary-button,.playback-controls .secondary-button{min-height:38px;padding:9px 14px}.preview-stage-block .slide-stage{padding:18px;border:1px solid var(--line);border-radius:24px;background:#f8fafc;overflow:auto}.preview-tools-panel{grid-area:tools;display:grid;grid-template-columns:minmax(0,1.15fr) minmax(280px,.85fr);align-items:start;margin-top:0}.preview-focused .preview-tools-panel{grid-area:tools}.stage-transcript-card{margin-top:12px}.preview-tools-panel .timeline-card,.preview-tools-panel .editor-mini-card,.preview-tools-panel .edit-panel{min-width:0}.editor-mini-card{display:grid;gap:12px;padding:16px;border:1px solid var(--line);border-radius:20px;background:#fffdfa8f}.muted-card{color:var(--ink-soft)}.timeline-card{border:0;box-shadow:none;background:transparent;padding:0}.timeline-card h3{margin-top:8px}.speech-transcript{max-height:138px;overflow:auto;white-space:pre-wrap;border:1px solid var(--line);border-radius:16px;padding:10px 12px;background:#fff;color:var(--ink);font-size:13px;line-height:1.55}.stage-transcript-card .timeline-card{padding:0}.stage-transcript-card .timeline-card .eyebrow{font-size:10px}.stage-transcript-card .timeline-card h3{margin:4px 0 8px;font-size:15px}.timeline-list{display:grid;gap:10px;max-height:320px;overflow:auto;padding-right:4px}.timeline-item{display:flex;gap:10px;width:100%;border:1px solid var(--line);border-radius:16px;background:#ffffff85;color:var(--ink);padding:12px;text-align:left}.timeline-item.compact{align-items:flex-start}.timeline-item.active{border-color:#26324552;background:#26324514}.timeline-select-button{display:flex;align-items:flex-start;gap:10px;width:100%;border:0;background:transparent;color:inherit;padding:0;text-align:left;cursor:pointer}.speech-editor{display:grid}.speech-edit-textarea{min-height:110px;margin-top:10px;resize:vertical}.speech-edit-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.speech-edit-actions button:disabled{cursor:not-allowed;opacity:.48}.action-body{display:grid;gap:6px;min-width:0}.action-body em{max-height:42px;overflow:hidden;color:var(--ink-soft);font-size:12px}.chapter-video-setup-page{display:grid;gap:14px;min-height:100%;padding:18px;background:transparent}.chapter-video-header{align-items:flex-start;margin:0;padding:0 2px}.chapter-video-header .page-title{color:#0f172a;font-size:24px;line-height:1.2}.chapter-video-header .page-subtitle{color:#64748b;font-size:13px}.chapter-video-layout{display:grid;grid-template-columns:minmax(0,1.68fr) minmax(360px,1fr);gap:20px;align-items:stretch;margin-bottom:14px}.chapter-video-main-column,.chapter-video-side-column{display:grid;gap:20px}.chapter-video-side-column{position:sticky;top:18px;align-self:stretch}.setup-card{display:grid;gap:12px;padding:16px 18px;border:1px solid #e5e7eb;border-radius:16px;background:#fff;box-shadow:0 16px 40px #0f172a0a}.setup-card-head{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:start;gap:12px}.setup-card-icon,.setup-step-number{width:30px;height:30px;display:flex;align-items:center;justify-content:center;border-radius:12px;color:#1677ff;background:#eaf4ff;font-size:16px}.setup-step-number{color:#fff;background:#1677ff;font-size:14px;font-weight:900}.setup-card-head h3{margin:0;color:#0f172a;font-size:17px;line-height:1.25}.setup-card-head p{margin:4px 0 0;color:#64748b;font-size:13px}.setup-card-action{display:flex;align-items:center;justify-content:flex-end}.setup-card-link{color:#0f172a;font-size:13px;font-weight:800}.setup-card-body{display:grid;gap:10px}.compact-button{min-height:34px;padding:8px 12px;border-radius:12px;font-size:12px}.ai-generate-mini-button{min-height:42px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:0 16px;border:1px solid #e5e7eb;border-radius:14px;background:#fff;color:#1677ff;font-size:14px;font-weight:900;line-height:1;cursor:pointer;box-shadow:0 6px 16px #0f172a0a;transition:.18s ease}.ai-generate-mini-button svg{font-size:18px}.ai-generate-mini-button:hover:not(:disabled){border-color:#1677ff73;background:#f8fbff;box-shadow:0 8px 20px #1677ff1a}.ai-generate-mini-button:disabled{cursor:not-allowed;opacity:.62}.video-goal-field{min-height:112px;max-height:132px;padding:12px 14px;border:1px solid #dbe3ef;border-radius:14px;background:#fbfdff;color:#0f172a;font-size:14px;line-height:1.6;resize:vertical}.field-counter{justify-self:end;margin-top:-6px;color:#94a3b8;font-size:12px;font-weight:700}.course-config-panel{display:grid;gap:16px;height:100%;padding:18px;border:1px solid #e5e7eb;border-radius:16px;background:#fff;box-shadow:0 18px 44px #0f172a0f}.course-config-head{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:12px;padding-bottom:14px;border-bottom:1px solid #eef2f7}.course-config-head h3,.config-section-head h4{margin:0;color:#0f172a;line-height:1.25}.course-config-head h3{font-size:18px}.course-config-head p,.config-section-head p{margin:4px 0 0;color:#64748b;font-size:13px}.config-section{display:grid;gap:10px;padding-bottom:14px;border-bottom:1px solid #eef2f7}.config-section:last-child{padding-bottom:0;border-bottom:0}.config-section-head h4{font-size:15px}.config-field-label{color:#334155;font-size:13px;font-weight:800}.avatar-upload-block{display:grid;gap:8px}.avatar-upload-row{display:flex;align-items:center;gap:10px}.compact-avatar-uploader{width:190px;min-height:76px;display:grid;grid-template-columns:48px minmax(0,1fr);align-items:center;gap:10px;padding:10px;border:1px dashed #b8c7dc;border-radius:14px;background:#fbfdff;color:#334155;cursor:pointer;transition:.18s ease}.compact-avatar-uploader:hover{border-color:#1677ff;background:#f4f9ff}.compact-avatar-uploader input{display:none}.teacher-avatar-preview{width:46px;height:46px;display:grid;place-items:center;overflow:hidden;border-radius:12px;background:#eaf4ff;color:#1677ff;font-size:22px}.teacher-avatar-preview img{width:100%;height:100%;-o-object-fit:cover;object-fit:cover}.avatar-upload-copy{display:grid;gap:3px;min-width:0}.avatar-upload-copy strong{color:#0f172a;font-size:13px}.avatar-upload-copy em{color:#94a3b8;font-size:11px;font-style:normal}.avatar-remove-button{width:34px;height:34px;display:grid;place-items:center;border:1px solid #fecaca;border-radius:12px;background:#fff7f7;color:#ef4444;cursor:pointer}.lecturer-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.lecturer-card{position:relative;display:grid;grid-template-columns:30px minmax(0,1fr);align-items:center;-moz-column-gap:8px;column-gap:8px;min-height:48px;padding:8px 10px;border:1px solid #e5e7eb;border-radius:14px;background:#fff;color:#0f172a;text-align:left;cursor:pointer;transition:.18s ease}.lecturer-card:hover,.lecturer-card.active{border-color:#2563ebb8;box-shadow:0 12px 28px #2563eb1f;transform:translateY(-1px)}.lecturer-card.active{border-color:#1677ff;background:#eef6ff;box-shadow:none}.lecturer-card:disabled{cursor:not-allowed;opacity:.55}.lecturer-avatar{grid-row:1 / 3;width:30px;height:30px;display:grid;place-items:center;border-radius:999px;background:linear-gradient(135deg,#dbeafe,#eff6ff);color:#1677ff;font-size:12px;font-weight:900}.lecturer-card.tone-1 .lecturer-avatar{background:linear-gradient(135deg,#e0f2fe,#f0f9ff);color:#0369a1}.lecturer-card.tone-2 .lecturer-avatar{background:linear-gradient(135deg,#ffedd5,#fff7ed);color:#c2410c}.lecturer-card.tone-3 .lecturer-avatar{background:linear-gradient(135deg,#fef3c7,#fffbeb);color:#b45309}.lecturer-card.tone-4 .lecturer-avatar{background:linear-gradient(135deg,#f3e8ff,#faf5ff);color:#7e22ce}.lecturer-card strong{min-width:0;overflow:hidden;color:#0f172a;font-size:13px;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}.lecturer-card small{color:#94a3b8;font-size:11px;line-height:1.2}.lecturer-check{position:absolute;top:6px;right:6px;width:16px;height:16px;display:grid;place-items:center;border-radius:999px;color:#fff;background:#1677ff;font-size:11px}.teaching-style-options{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.teaching-style-card{position:relative;display:grid;align-content:center;gap:8px;min-height:108px;padding:12px;border:1px solid #e5e7eb;border-radius:16px;background:#fff;color:#0f172a;text-align:center;cursor:pointer;transition:.18s ease}.teaching-style-card:hover,.teaching-style-card.active{border-color:#2563ebb8;box-shadow:0 12px 28px #2563eb1f;transform:translateY(-1px)}.teaching-style-card.active{border-color:#1677ff;background:#eef6ff}.teaching-style-icon{width:32px;height:32px;display:grid;place-items:center;justify-self:center;border-radius:999px;color:#1677ff;background:#eaf4ff;font-size:18px}.teaching-style-card strong{font-size:14px}.teaching-style-card small{color:#64748b;font-size:12px;line-height:1.45}.ppt-page-control-row{display:flex;align-items:center;gap:10px;min-width:0}.ppt-page-options{display:flex;flex-wrap:nowrap;gap:8px;min-width:0}.ppt-page-options .choice-pill{position:relative;justify-content:center;width:74px;min-width:74px;min-height:44px;padding:8px 10px;border:1px solid #e5e7eb;border-radius:14px;background:#fff;color:#0f172a;font-size:13px;font-weight:900;box-shadow:none}.ppt-page-options .choice-pill:hover,.ppt-page-options .choice-pill.active{border-color:#1677ff;background:#eef6ff;color:#1677ff;box-shadow:none}.choice-check{position:absolute;top:8px;right:8px;width:18px;height:18px;display:grid;place-items:center;border-radius:999px;background:#1677ff;color:#fff;font-size:12px}.ppt-page-field{display:grid;grid-template-columns:auto 86px;align-items:center;gap:8px;color:#334155;font-size:12px;font-weight:800;white-space:nowrap}.ppt-page-field input{width:86px;min-height:44px;padding:8px 10px;border:1px solid #e5e7eb;border-radius:14px;background:#fff;color:#0f172a;font-weight:800}.compact-list{gap:10px}.knowledge-empty-picker{width:100%;min-height:80px;display:grid;grid-template-columns:42px minmax(0,1fr);align-items:center;gap:12px;padding:12px 14px;border:1px dashed #cbd5e1;border-radius:14px;background:#fbfdff;color:#0f172a;text-align:left;cursor:pointer;transition:.18s ease}.knowledge-empty-picker:hover{border-color:#1677ff;background:#f4f9ff}.knowledge-empty-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:14px;background:#eaf4ff;color:#1677ff;font-size:20px}.knowledge-empty-picker strong,.knowledge-empty-picker em{display:block}.knowledge-empty-picker strong{font-size:14px}.knowledge-empty-picker em{margin-top:4px;color:#64748b;font-size:12px;font-style:normal}.knowledge-add-more{min-height:36px;display:inline-flex;align-items:center;justify-content:center;gap:6px;border:1px dashed #b8c7dc;border-radius:12px;background:#fff;color:#1677ff;font-size:13px;font-weight:800;cursor:pointer}.generation-content-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.generation-content-card{min-height:46px;display:grid;grid-template-columns:auto auto minmax(0,1fr);align-items:center;gap:8px;padding:10px;border:1px solid #d7e7ff;border-radius:12px;background:#f4f9ff;color:#0f172a;font-size:13px;font-weight:800;cursor:default}.generation-content-card input{width:15px;height:15px;accent-color:#1677ff;pointer-events:none}.generation-content-card svg{color:#1677ff;font-size:16px}.chapter-video-generate-card{position:static;z-index:12;display:grid;grid-template-columns:auto minmax(0,1fr) minmax(260px,310px);gap:16px;align-items:center;margin-top:0;padding:12px 18px;border:1px solid #d7e7ff;border-radius:16px;background:linear-gradient(90deg,#eaf4fff5,#fffffffa),#fff;box-shadow:0 16px 42px #0f172a1a}.ppt-page-options .choice-check{top:5px;right:5px;width:14px;height:14px;font-size:9px}.generate-card-visual{width:40px;height:40px;display:grid;place-items:center;border-radius:18px;color:#fff;background:linear-gradient(135deg,#1677ff,#69b1ff);font-size:21px;box-shadow:0 12px 28px #1677ff38}.generate-card-copy{display:grid;gap:8px;color:#0f172a}.generate-card-copy strong{font-size:14px;line-height:1.45}.generate-card-tags{display:flex;flex-wrap:wrap;gap:10px}.generate-card-tags span{padding:5px 10px;border-radius:999px;background:#fff;color:#475569;font-size:12px;font-weight:800}.chapter-generate-button{width:100%;min-height:50px;border-radius:14px;background:linear-gradient(135deg,#1677ff,#4096ff);font-size:16px}.knowledge-actions .file-button{justify-content:center}.knowledge-list{display:grid;gap:10px;max-height:260px;overflow:auto;padding-right:4px}.knowledge-row{width:100%;display:grid;grid-template-columns:42px minmax(0,1fr);align-items:center;gap:12px;padding:12px;border-radius:18px;border:1px solid var(--line);background:#ffffff9e;color:var(--navy);text-align:left;cursor:pointer}.knowledge-row.selected{grid-template-columns:42px minmax(0,1fr) auto;cursor:default}.knowledge-row.active{border-color:#0066cc47;background:var(--primary-light);box-shadow:none}.knowledge-row.disabled{cursor:not-allowed;opacity:.58;background:#f8fafcb8}.knowledge-row span:last-child{display:grid;gap:3px}.knowledge-row em{color:var(--ink-faint);font-size:12px;font-style:normal;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.knowledge-picker-dialog{width:min(980px,calc(100vw - 48px));max-height:calc(100vh - 56px);overflow:hidden}.knowledge-picker-layout{display:grid;grid-template-columns:280px minmax(0,1fr);gap:16px;min-height:520px}.knowledge-picker-directory,.knowledge-picker-resources{min-width:0;border:1px solid var(--line);border-radius:18px;background:#ffffff94}.knowledge-picker-directory{display:grid;align-content:start;gap:8px;padding:12px;overflow:auto}.knowledge-picker-resources{display:grid;grid-template-rows:auto minmax(0,1fr);overflow:hidden}.knowledge-picker-toolbar{display:flex;align-items:end;justify-content:space-between;gap:12px;padding:12px;border-bottom:1px solid var(--line)}.knowledge-picker-toolbar .resource-search-field{flex:1}.knowledge-picker-count{color:var(--primary);font-size:13px;font-weight:800;white-space:nowrap}.knowledge-picker-list{display:grid;align-content:start;gap:8px;overflow:auto;padding:12px}.knowledge-picker-row{display:grid;grid-template-columns:18px 42px minmax(0,1fr);align-items:center;gap:10px;padding:10px;border:1px solid var(--line);border-radius:16px;background:#ffffffa8;cursor:pointer}.knowledge-picker-row:has(input:checked){border-color:#0066cc47;background:var(--primary-light)}.knowledge-picker-main{display:grid;gap:3px;min-width:0}.knowledge-picker-main strong,.knowledge-picker-main em{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.knowledge-picker-main em{color:var(--ink-faint);font-size:12px;font-style:normal}.wide-action{width:100%;justify-content:center;margin-top:8px}.classroom-data-shell,.student-management-shell{display:grid;gap:20px;min-width:0}.classroom-overview-card,.classroom-trend-card,.classroom-stats-card,.student-overview-card,.student-management-card{border:1px solid rgba(38,50,69,.08);border-radius:24px;background:#ffffffe6;box-shadow:var(--shadow-sm)}.classroom-overview-card,.student-overview-card{padding:24px}.classroom-overview-head,.student-overview-head,.student-management-toolbar{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.classroom-time-filter,.student-filter-strip{display:flex;flex-wrap:wrap;gap:8px}.classroom-filter-pill,.student-filter-chip{min-height:34px;border:1px solid rgba(38,50,69,.08);border-radius:999px;background:#2632450a;color:var(--ink-soft);font-size:13px;font-weight:800;padding:7px 14px}.classroom-filter-pill.active,.student-filter-chip.active{border-color:#0066cc38;background:var(--primary-light);color:var(--primary)}.classroom-kpi-grid,.student-overview-grid{display:grid;gap:14px;margin-top:18px}.classroom-kpi-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.student-overview-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.classroom-kpi-card,.student-stat-card{display:grid;gap:10px;min-width:0;min-height:112px;padding:16px;border:1px solid rgba(38,50,69,.08);border-radius:18px;overflow:hidden}.classroom-kpi-card.is-blue,.student-stat-card.is-blue{border-color:#1890ff2e;background:linear-gradient(180deg,#f0f8ff,#e5f2ff)}.classroom-kpi-card.is-teal,.student-stat-card.is-teal{border-color:#13c2c22e;background:linear-gradient(180deg,#e9fcfc,#dcf6f6)}.classroom-kpi-card.is-purple,.student-stat-card.is-purple{border-color:#722ed129;background:linear-gradient(180deg,#f5f0ff,#eee7ff)}.classroom-kpi-card.is-green,.student-stat-card.is-green{border-color:#52c41a2e;background:linear-gradient(180deg,#f2fcf0,#e7f8e3)}.classroom-kpi-card.is-amber,.student-stat-card.is-amber{border-color:#d488062e;background:linear-gradient(180deg,#fffaf0,#fff4e2)}.classroom-kpi-head,.student-stat-head{display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0;color:var(--ink-soft);font-size:13px;font-weight:800}.classroom-kpi-icon,.student-stat-icon{display:inline-grid;place-items:center;width:30px;height:30px;flex:0 0 30px;border-radius:999px;background:#ffffff9e}.classroom-kpi-icon svg,.student-stat-icon svg{width:16px;height:16px}.classroom-kpi-card strong,.student-stat-value{font-size:32px;line-height:1;font-weight:900}.classroom-kpi-card.is-blue strong,.student-stat-card.is-blue .student-stat-value{color:#1890ff}.classroom-kpi-card.is-teal strong,.student-stat-card.is-teal .student-stat-value{color:#0f9f9f}.classroom-kpi-card.is-purple strong,.student-stat-card.is-purple .student-stat-value{color:#722ed1}.classroom-kpi-card.is-green strong,.student-stat-card.is-green .student-stat-value{color:#3ba915}.classroom-kpi-card.is-amber strong,.student-stat-card.is-amber .student-stat-value{color:#d48806}.classroom-kpi-card p,.student-stat-note{margin:0;color:var(--ink-faint);font-size:12px}.classroom-main-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:20px;align-items:start}.classroom-main-col{display:grid;gap:20px;min-width:0}.classroom-trend-card,.classroom-stats-card,.student-management-card{padding:22px}.classroom-trend-card .section-head,.classroom-stats-card .section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.classroom-chart-legend{display:flex;flex-wrap:wrap;gap:14px;color:var(--ink-soft);font-size:12px;font-weight:700}.legend-item{display:inline-flex;align-items:center;gap:6px}.legend-dot{width:8px;height:8px;border-radius:999px}.legend-dot.is-blue{background:#1890ff}.legend-dot.is-green{background:#52c41a}.classroom-bar-chart{display:flex;height:288px;margin-top:14px;min-width:0;overflow-x:auto;padding-top:18px}.chart-y-axis{display:flex;flex:0 0 32px;flex-direction:column-reverse;justify-content:space-between;padding:0 8px 28px 0;color:#aab3c2;font-size:11px;text-align:right}.chart-bars{display:flex;align-items:flex-end;min-width:760px;flex:1;border-left:1px solid rgba(38,50,69,.1);border-bottom:1px solid rgba(38,50,69,.1);padding-bottom:28px}.chart-bar-group{position:relative;display:flex;flex:1;align-items:flex-end;justify-content:center;min-width:44px}.chart-bar-pair{display:flex;align-items:flex-end;justify-content:center;gap:4px}.chart-bar{position:relative;width:14px;border-radius:4px 4px 0 0}.chart-bar.is-blue{background:linear-gradient(180deg,#1890ff,#69c0ff)}.chart-bar.is-green{background:linear-gradient(180deg,#52c41a,#95de64)}.bar-value{position:absolute;top:-18px;left:50%;opacity:0;transform:translate(-50%);color:var(--ink-soft);font-size:10px;font-weight:800;pointer-events:none;white-space:nowrap}.chart-bar-group:hover .bar-value{opacity:1}.chart-bar-label{position:absolute;bottom:-24px;color:#aab3c2;font-size:11px;white-space:nowrap}.classroom-stats-table{margin-top:14px;overflow:hidden;border:1px solid rgba(38,50,69,.08);border-radius:16px;background:#f8fafc}.stats-table-head,.stats-table-row{display:grid;grid-template-columns:1.6fr .7fr .72fr .68fr .88fr .8fr .58fr;gap:10px;align-items:center}.stats-table-head{padding:14px 16px;color:var(--ink-faint);font-size:12px;font-weight:800}.stats-table-body{background:#fff}.stats-table-row{padding:15px 16px;border-top:1px solid rgba(38,50,69,.06);color:var(--ink);font-size:13px}.stats-lecture-cell{display:grid;gap:4px;min-width:0}.stats-lecture-cell strong,.stats-lecture-cell .muted{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.stats-lecture-cell .muted,.text-faint{color:var(--ink-faint)}.status-tag{display:inline-flex;align-items:center;justify-content:center;min-height:24px;padding:3px 10px;border-radius:999px;font-size:12px;font-weight:800;white-space:nowrap}.status-tag.is-published{border:1px solid rgba(82,196,26,.22);background:#f6ffed;color:#3ba915}.status-tag.is-draft{border:1px solid rgba(38,50,69,.08);background:#f3f4f6;color:var(--ink-faint)}.status-tag.is-generating{border:1px solid rgba(24,144,255,.2);background:#e6f7ff;color:#1890ff}.status-tag.is-failed{border:1px solid rgba(245,34,45,.2);background:#fff1f0;color:#cf1322}.classroom-card-footer{display:flex;justify-content:flex-end;margin-top:16px}.classroom-card-footer .secondary-button{gap:6px;min-height:34px;padding:8px 14px}.student-course-chip{display:inline-flex;align-items:center;max-width:420px;min-height:36px;padding:8px 14px;border:1px solid rgba(38,50,69,.08);border-radius:999px;background:#ffffffc7;color:var(--ink-soft);font-size:13px;font-weight:800}.student-management-toolbar-main{display:grid;gap:14px;min-width:0}.student-search{display:flex;align-items:center;gap:10px;width:min(340px,100%);min-height:42px;padding:10px 14px;border:1px solid rgba(38,50,69,.1);border-radius:14px;background:#fff}.student-search-icon{width:16px;height:16px;flex:0 0 16px;color:var(--ink-faint)}.student-search input{min-width:0;border:0;border-radius:0;background:transparent;padding:0;outline:0}.student-table-shell{margin-top:18px;overflow:hidden;border:1px solid rgba(38,50,69,.08);border-radius:18px;background:#f8fafc}.student-table-head,.student-table-row{display:grid;grid-template-columns:2.3fr .72fr .78fr 1.34fr 1.34fr .58fr .86fr .86fr .62fr;gap:14px;align-items:center}.student-table-head{padding:14px 16px;color:var(--ink-faint);font-size:12px;font-weight:800}.student-table-body{background:#fffffff0}.student-table-row{padding:16px;border-top:1px solid rgba(38,50,69,.06)}.student-table-row:first-child{border-top:0}.student-main-cell{display:flex;align-items:center;gap:12px;min-width:0}.student-avatar,.student-detail-avatar{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;border-radius:999px;background:linear-gradient(135deg,#ddf1fff5,#cce8ffe6);color:#0f75bd;font-weight:900}.student-avatar{width:44px;height:44px;font-size:20px}.student-detail-avatar{width:66px;height:66px;font-size:28px}.student-identity{min-width:0}.student-identity strong{display:flex;align-items:center;gap:8px;min-width:0;color:var(--ink);font-size:15px}.student-secondary-meta,.student-date-cell,.student-detail-meta{color:var(--ink-faint);font-size:12px}.student-secondary-meta{margin-top:5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.student-highlight-tag{display:inline-flex;flex:0 0 auto;align-items:center;min-height:22px;padding:3px 8px;border:1px solid rgba(240,177,56,.42);border-radius:999px;background:#fff5e2f0;color:#d07b16;font-size:11px;font-weight:800;white-space:nowrap}.student-pill{display:inline-flex;align-items:center;justify-content:center;min-height:28px;min-width:48px;padding:5px 9px;border:1px solid transparent;border-radius:999px;font-size:12px;font-weight:800;white-space:nowrap}.student-pill.is-learning{border-color:#6ed8a06b;background:#eafcf2f5;color:#179765}.student-pill.is-inactive{border-color:#bbc1cd66;background:#f3f4f7f5;color:#748093}.student-pill.is-normal{border-color:#83bbff66;background:#ecf7fff5;color:#2578cf}.student-pill.is-attention{border-color:#f5bd4875;background:#fff7e5f5;color:#d47a15}.student-pill.is-warning{border-color:#ff9aa775;background:#ffeef1f5;color:#eb5c6f}.student-progress-cell{display:grid;gap:8px;min-width:0}.student-progress-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;color:var(--ink-soft);font-size:12px}.student-progress-bar{position:relative;height:8px;overflow:hidden;border-radius:999px;background:#26324514}.student-progress-bar>span{position:absolute;inset:0 auto 0 0;border-radius:inherit}.student-progress-bar.is-lesson>span{background:linear-gradient(90deg,#4a85f6,#3c7bff)}.student-progress-bar.is-homework>span{background:linear-gradient(90deg,#1cb37b,#1fbe89)}.student-score-cell{color:var(--ink);font-size:16px;font-weight:900}.student-date-cell{display:grid;gap:4px}.student-action-cell{display:flex;justify-content:flex-end}.student-detail-button{display:inline-flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;width:54px;min-height:78px;border:0;border-radius:14px;background:#3d7dff14;color:#3f7dff;font-size:12px;font-weight:900}.student-detail-button svg{width:16px;height:16px}.student-empty-state{display:none;padding:36px 18px;color:var(--ink-soft);text-align:center}.student-empty-state.is-visible{display:block}.student-detail-backdrop{position:fixed;inset:0;z-index:80;display:grid;place-items:center;padding:24px;background:#0f172a5c}.student-detail-modal{width:min(920px,calc(100vw - 48px));max-height:calc(100vh - 48px);overflow:auto;border-radius:24px;border:1px solid rgba(38,50,69,.12);background:#fff;padding:22px;box-shadow:var(--shadow-lg)}.student-detail-header,.student-detail-hero,.student-detail-profile,.student-detail-badges,.student-detail-action-strip{display:flex;align-items:flex-start;gap:14px}.student-detail-header,.student-detail-hero{justify-content:space-between}.student-detail-layout,.student-detail-section,.student-insight-list{display:grid;gap:16px}.student-detail-hero{border-radius:18px;background:#f8fafc;padding:18px}.student-detail-profile{min-width:0}.student-detail-profile strong{color:var(--ink);font-size:20px}.student-detail-meta{margin-top:6px;line-height:1.6}.student-detail-badges{flex-wrap:wrap;margin-top:10px}.student-detail-score{flex:0 0 190px;display:grid;gap:6px;border-radius:16px;background:#fff;padding:14px;text-align:right}.student-detail-score label,.student-detail-mini-card label{color:var(--ink-faint);font-size:12px;font-weight:800}.student-detail-score strong{color:var(--primary);font-size:32px;line-height:1}.student-detail-score p,.student-detail-mini-card p{margin:0;color:var(--ink-faint);font-size:12px}.student-detail-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(300px,.95fr);gap:16px}.student-detail-section{min-width:0;border:1px solid rgba(38,50,69,.08);border-radius:18px;padding:18px}.student-detail-mini-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.student-detail-mini-card,.student-insight-item{border-radius:14px;background:#f8fafc;padding:12px}.student-detail-mini-card{display:grid;gap:6px}.student-detail-mini-card strong{color:var(--ink);font-size:16px}.student-insight-item{display:grid;gap:6px}.student-insight-item p{margin:0;color:var(--ink-soft);font-size:13px;line-height:1.6}.student-detail-action-strip{flex-wrap:wrap}.student-detail-feedback{min-height:20px;margin:0;color:var(--primary);font-size:13px;font-weight:800}@media(max-width:1320px){.classroom-kpi-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.student-overview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.classroom-main-layout{grid-template-columns:1fr}.lecturer-options,.teaching-style-options{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:1100px){.chapter-video-layout,.chapter-video-generate-card{grid-template-columns:1fr}.chapter-video-side-column{position:static}.chapter-generate-button{width:100%}.student-table-shell{overflow-x:auto}.student-table-head,.student-table-row{min-width:1080px}.stats-table-head,.stats-table-row{min-width:780px}.classroom-stats-table{overflow-x:auto}}@media(max-width:760px){.classroom-overview-head,.student-overview-head,.student-management-toolbar,.classroom-trend-card .section-head,.classroom-stats-card .section-head,.student-detail-hero,.student-detail-header{flex-direction:column}.classroom-kpi-grid,.student-overview-grid,.student-detail-grid,.student-detail-mini-grid{grid-template-columns:1fr}.student-detail-score{width:100%;flex-basis:auto;text-align:left}.setup-card,.chapter-video-generate-card{padding:16px}.setup-card-head{grid-template-columns:auto minmax(0,1fr)}.setup-card-action{grid-column:1 / -1;justify-content:flex-start}.lecturer-options,.teaching-style-options,.generation-content-grid{grid-template-columns:1fr}.ppt-page-control-row{flex-wrap:wrap}.chapter-video-setup-page{padding:14px 12px 120px}.course-config-panel{padding:16px}.student-detail-backdrop{padding:12px}.student-detail-modal{width:calc(100vw - 24px);max-height:calc(100vh - 24px);padding:16px}}.resource-library-shell{display:grid;grid-template-columns:290px minmax(0,1fr);gap:16px;margin-top:16px}.resource-directory-panel,.resource-browser-panel{border:1px solid var(--line);border-radius:var(--radius-xl);background:#fff;padding:18px}.resource-directory-panel{display:grid;align-content:start;gap:10px}.resource-directory-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.resource-directory-head .section-title,.resource-directory-head .section-subtitle{margin:0}.resource-directory-tree{max-height:min(58vh,620px);overflow:auto;padding-right:4px}.resource-tree-button{display:flex;align-items:center;gap:6px;width:100%;text-align:left;border-radius:14px;padding:9px 10px;background:#fff;color:var(--ink-soft);font-weight:800}.resource-tree-button.active{border-color:#0066cc3d;background:var(--primary-light);color:var(--primary)}.resource-tree-button .ghost-icon-button{flex:0 0 auto}.resource-rc-tree{background:transparent;color:var(--ink-soft);font-size:14px;font-weight:800;line-height:1}.resource-rc-tree .rc-tree-list-holder-inner{display:flex;flex-direction:column;gap:6px}.resource-rc-tree.rc-tree .rc-tree-treenode{display:flex;align-items:center;width:100%;height:36px;min-height:36px;padding:0;border-radius:12px;line-height:1;white-space:nowrap}.resource-rc-tree.rc-tree .rc-tree-indent{display:inline-flex;align-items:stretch;flex:0 0 auto;height:36px;min-width:0;vertical-align:top}.resource-rc-tree.rc-tree .rc-tree-indent-unit{display:inline-block;flex:0 0 18px;width:18px;min-width:18px;height:36px}.resource-rc-tree.rc-tree .rc-tree-treenode span.rc-tree-switcher,.resource-rc-tree.rc-tree .rc-tree-treenode span.rc-tree-iconEle{display:inline-grid;place-items:center;flex:0 0 22px;width:22px;min-width:22px;height:36px;line-height:36px;margin-right:0;background:none!important;background-image:none!important;background-position:center!important;background-repeat:no-repeat;border:0;vertical-align:top}.resource-rc-tree.rc-tree .rc-tree-treenode span.rc-tree-switcher{cursor:pointer}.resource-rc-tree.rc-tree .rc-tree-treenode span.rc-tree-switcher.rc-tree-switcher_open,.resource-rc-tree.rc-tree .rc-tree-treenode span.rc-tree-switcher.rc-tree-switcher_close,.resource-rc-tree.rc-tree .rc-tree-treenode span.rc-tree-switcher.rc-tree-switcher-noop{background:none!important;background-image:none!important;background-position:center!important}.resource-rc-tree.rc-tree .rc-tree-treenode span.rc-tree-switcher.rc-tree-switcher-noop{cursor:default}.resource-rc-tree.rc-tree .rc-tree-treenode span.rc-tree-switcher.rc-tree-icon__customize,.resource-rc-tree.rc-tree .rc-tree-treenode span.rc-tree-iconEle.rc-tree-icon__customize{background:none!important;background-image:none!important}.resource-rc-tree.rc-tree .rc-tree-treenode .rc-tree-node-content-wrapper{display:flex;align-items:center;gap:4px;min-width:0;height:36px;min-height:36px;flex:1;border-radius:12px;padding:0 10px 0 2px;color:inherit;line-height:1;overflow:hidden;white-space:nowrap;transition:background .16s ease,color .16s ease}.resource-rc-tree.rc-tree .rc-tree-treenode span.rc-tree-iconEle{align-self:stretch;flex:0 0 22px}.resource-rc-tree.rc-tree .rc-tree-treenode span.rc-tree-title{display:flex;align-items:center;min-width:0;height:36px;flex:1;line-height:1;overflow:hidden;white-space:nowrap}.resource-rc-tree .rc-tree-node-content-wrapper:hover,.resource-rc-tree .rc-tree-node-content-wrapper.rc-tree-node-selected{background:var(--primary-light);color:var(--primary)}.resource-tree-switcher,.resource-tree-node-icon{display:inline-grid;place-items:center;width:100%;height:100%;color:inherit}.resource-tree-switcher:before{content:"";width:7px;height:7px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(-45deg);opacity:.72;transition:transform .16s ease}.resource-tree-switcher.open:before{transform:rotate(45deg)}.resource-tree-switcher.leaf:before{display:none}.resource-tree-node-icon:before{content:"";width:14px;height:11px;border-radius:3px;background:currentColor;opacity:.32;clip-path:polygon(0 20%,38% 20%,44% 0,100% 0,100% 100%,0 100%)}.resource-tree-node-icon.open:before{opacity:.48}.resource-tree-node-icon.leaf:before{width:12px;height:14px;border-radius:3px 3px 2px 2px;clip-path:polygon(0 0,72% 0,100% 28%,100% 100%,0 100%);opacity:.28}.resource-tree-title{display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0;height:100%;width:100%;overflow:hidden;white-space:nowrap}.resource-tree-title-text{display:block;flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.resource-tree-title-actions{display:flex;flex:0 0 auto;flex-wrap:nowrap;justify-content:flex-end;gap:6px}.resource-tree-title-actions button{min-height:24px;padding:0 8px;border:1px solid rgba(38,50,69,.12);border-radius:999px;background:#ffffffc2;color:var(--ink-soft);cursor:pointer;font-size:11px;font-weight:800}.resource-tree-title-actions button:hover{background:var(--primary-light);border-color:#0066cc38;color:var(--primary)}.resource-tree-title-actions button.danger{border-color:#b423183d;color:#b42318}.resource-directory-panel-edit{min-height:28px;padding:0 10px;font-size:12px;font-weight:800}.resource-directory-toggle{width:20px;height:20px;display:inline-grid;place-items:center;flex:0 0 auto;border:0;border-radius:999px;background:#26324514;color:inherit;cursor:pointer;font-size:14px;line-height:1}.resource-directory-toggle.placeholder{background:transparent;cursor:default}.resource-directory-name{min-width:0;flex:1;overflow:hidden;border:0;background:transparent;color:inherit;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;font:inherit}.resource-browser-panel{display:grid;gap:8px}.resource-browser-topbar,.resource-upload-inline{display:flex;flex-wrap:wrap;align-items:center;gap:12px}.resource-upload-inline{display:grid;grid-template-columns:220px minmax(0,1fr) auto}.resource-search-actions{display:grid;grid-template-columns:minmax(260px,1fr) auto;gap:10px;align-items:end;flex:1;min-width:min(100%,420px)}.resource-type-filter{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:8px;min-height:0;max-height:40px;padding:4px 10px;border:1px solid rgba(38,50,69,.08);border-radius:12px;background:#ffffff75;overflow:hidden}.resource-type-filter .course-filter-options{display:flex;flex:1 1 auto;flex-wrap:nowrap;align-items:center;gap:8px;height:26px;min-height:26px;max-height:26px;min-width:0;overflow-x:auto;overflow-y:hidden;padding:0}.resource-type-filter .course-filter-label{flex:0 0 auto;white-space:nowrap}.resource-type-filter .subtle-tag{flex:0 0 auto;height:24px;min-height:24px;padding:0 8px;line-height:1;white-space:nowrap}.resource-drop-zone{display:grid;gap:6px;border:1px dashed var(--line-strong);border-radius:18px;padding:18px;background:#f8fafc;color:var(--ink-soft);font-size:13px;font-weight:800;text-align:center;cursor:pointer}.resource-drop-zone input{display:none}.resource-drop-zone strong{color:var(--ink);font-size:14px}.resource-drop-zone span{color:var(--ink-soft);font-size:12px;font-weight:700}.resource-drop-zone:hover{border-color:#0066cc5c;background:var(--primary-light)}.resource-drop-zone.disabled{cursor:not-allowed;opacity:.62}.resource-drop-zone.disabled:hover{border-color:var(--line-strong);background:#f8fafc}.resource-file-table-body{display:grid;gap:10px}.resource-file-row{display:grid;grid-template-columns:46px minmax(0,1fr) auto;align-items:center;gap:12px;padding:10px 12px;border:1px solid var(--line);border-radius:18px;background:#fff;color:var(--ink)}.resource-file-row:hover{border-color:#0066cc38;background:#f8fafc}.resource-file-icon{width:46px;height:46px;display:grid;place-items:center;border:1px solid rgba(23,32,38,.08);border-radius:12px;background:var(--primary-light);color:var(--primary);box-shadow:inset 0 -8px 18px #ffffff47;line-height:1}.resource-file-icon svg{width:30px;height:30px}.resource-file-icon.type-pdf,.resource-file-extension-tag.type-pdf{background:#d24c4e24;color:#b93238}.resource-file-icon.type-word,.resource-file-extension-tag.type-word{background:#3a70bf24;color:#2f64ad}.resource-file-icon.type-ppt,.resource-file-extension-tag.type-ppt{background:#d16d2d29;color:#b7581d}.resource-file-icon.type-text,.resource-file-extension-tag.type-text{background:#52668021;color:#485d76}.resource-file-icon.type-html,.resource-file-extension-tag.type-html{background:#de632524;color:#b84f1c}.resource-file-icon.type-image,.resource-file-extension-tag.type-image{background:#308a6826;color:#1f7a59}.resource-file-icon.type-audio,.resource-file-extension-tag.type-audio{background:#8358b026;color:#744ca4}.resource-file-icon.type-video,.resource-file-extension-tag.type-video{background:#26859a26;color:#1b788d}.resource-file-icon.type-file,.resource-file-extension-tag.type-file{background:#4350661a;color:#526176}.resource-file-main{display:grid;gap:4px;min-width:0;flex:1;padding-top:1px}.resource-file-title-line{display:flex;align-items:center;gap:8px;min-width:0}.resource-file-title-line strong{display:block;flex:0 1 auto;min-height:18px;overflow:hidden;color:var(--ink);line-height:18px;text-overflow:ellipsis;white-space:nowrap}.resource-file-extension-tag{display:inline-flex;align-items:center;flex:0 0 auto;min-width:34px;max-width:64px;height:20px;justify-content:center;border-radius:6px;padding:0 7px;background:#62786f24;color:var(--sage);font-size:11px;font-weight:900;line-height:1;text-transform:uppercase}.resource-file-resource-type-tag{display:inline-flex;align-items:center;flex:0 1 auto;max-width:96px;height:20px;justify-content:center;overflow:hidden;border-radius:6px;padding:0 7px;background:#308a681a;color:#1f6f54;font-size:11px;font-weight:800;line-height:1;text-overflow:ellipsis;white-space:nowrap}.resource-file-main p,.resource-file-meta{margin:0;color:var(--ink-soft);font-size:12px;line-height:18px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.resource-file-meta{display:flex;align-items:center;flex-wrap:wrap;gap:8px;overflow:visible;white-space:normal}.resource-file-meta span{position:relative;flex:0 0 auto}.resource-file-meta span+span:before{content:"";position:absolute;left:-6px;top:50%;width:3px;height:3px;border-radius:999px;background:#43506661;transform:translateY(-50%)}.resource-file-badge{border-radius:999px;padding:5px 8px;background:var(--primary-light);color:var(--primary);font-size:12px;font-weight:800}.resource-file-statuses{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px}.resource-file-badge.knowledge{background:#43506614;color:var(--ink-soft)}.resource-file-badge.knowledge.ready{background:#62786f24;color:var(--sage)}.resource-file-actions{display:flex;flex-wrap:nowrap;justify-self:end;justify-content:flex-end;gap:6px;margin-top:0}.resource-file-actions .compact-button{min-height:30px;padding:6px 10px;font-size:12px}.resource-preview-dialog{width:min(1280px,calc(100vw - 32px));box-sizing:border-box;height:min(86dvh,860px);max-height:calc(100dvh - 48px);display:grid;grid-template-rows:auto minmax(0,1fr);gap:12px;padding:16px;overflow:hidden}.resource-preview-media{display:block;width:100%;height:100%;max-height:none;-o-object-fit:contain;object-fit:contain;border-radius:14px;background:#26324514}.resource-preview-audio{width:100%}.resource-preview-frame{width:100%;height:100%;min-height:0;border:1px solid var(--line);border-radius:14px;background:#fff}.resource-preview-html-stage{width:100%;aspect-ratio:16 / 9;max-height:calc(100dvh - 150px);min-height:360px;overflow:hidden;border:1px solid var(--line);border-radius:14px;background:#eef3f8}.resource-preview-html-stage .resource-preview-frame{display:block;border:0;border-radius:0}.resource-preview-dialog .resource-empty-state{display:grid;place-items:center;min-height:0}.resource-edit-dialog{width:min(620px,100%)}.resource-upload-dialog{width:min(640px,100%)}.resource-directory-manager-dialog{width:min(760px,100%)}.resource-edit-dialog label,.resource-directory-manager-dialog label,.resource-dialog-section{display:grid;gap:8px}.resource-dialog-section{padding-top:16px;border-top:1px solid rgba(38,50,69,.1)}.resource-dialog-section.first{padding-top:0;border-top:0}.resource-root-directory-create{grid-template-columns:minmax(0,1fr) auto;align-items:end}.resource-root-directory-create .modal-actions{align-self:end}.resource-manager-tree{max-height:min(46vh,460px);overflow:auto;padding:8px;border:1px solid rgba(38,50,69,.08);border-radius:18px;background:#ffffff7a}.resource-manager-tree .resource-rc-tree.manage .rc-tree-list-holder-inner{gap:4px}.resource-manager-tree .resource-rc-tree.manage.rc-tree .rc-tree-treenode,.resource-manager-tree .resource-rc-tree.manage.rc-tree .rc-tree-indent,.resource-manager-tree .resource-rc-tree.manage.rc-tree .rc-tree-indent-unit,.resource-manager-tree .resource-rc-tree.manage.rc-tree .rc-tree-treenode span.rc-tree-switcher,.resource-manager-tree .resource-rc-tree.manage.rc-tree .rc-tree-treenode span.rc-tree-iconEle,.resource-manager-tree .resource-rc-tree.manage.rc-tree .rc-tree-treenode .rc-tree-node-content-wrapper,.resource-manager-tree .resource-rc-tree.manage.rc-tree .rc-tree-treenode span.rc-tree-title{height:38px;min-height:38px}.resource-manager-tree .resource-rc-tree.manage.rc-tree .rc-tree-node-content-wrapper{padding-right:8px}.resource-manager-tree-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;min-height:36px;padding:6px 8px;border-radius:12px;background:#2632450a}.resource-manager-tree-name{display:flex;align-items:center;gap:8px;min-width:0;color:var(--ink);font-size:14px;font-weight:850}.resource-manager-tree-name span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.resource-manager-tree-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px}.resource-manager-tree-actions button{min-height:24px;padding:0 8px;border:1px solid rgba(38,50,69,.12);border-radius:999px;background:#ffffffb3;color:var(--ink-soft);cursor:pointer;font-size:11px;font-weight:800}.resource-manager-tree-actions button.danger{border-color:#b423183d;color:#b42318}.resource-dialog-action-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.danger-outline-button{border-color:#b423183d;color:#b42318}.question-resource-panel{align-content:start}.question-resource-list-wrap{position:relative;min-height:min(52vh,560px)}.question-resource-list-placeholder{min-height:min(52vh,560px)}.question-resource-loading-overlay{position:absolute;inset:0;z-index:2;display:grid;place-items:center;border:1px dashed rgba(38,50,69,.14);border-radius:18px;background:#fffdfaad;color:var(--ink-soft);font-size:14px;font-weight:850;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);pointer-events:none}.question-filter-bar{grid-template-columns:auto minmax(0,1fr) auto}.question-filter-group{overflow:hidden;border:1px solid rgba(38,50,69,.08);border-radius:12px;background:#ffffff75}.question-filter-group>.question-filter-bar{border:0;border-radius:0;background:transparent}.question-reset-filter{border:0;background:transparent;color:var(--primary);cursor:pointer;font-size:12px;font-weight:900;white-space:nowrap}.question-resource-summary{display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:space-between;color:var(--ink-soft);font-size:12px;font-weight:800}.question-resource-summary-tags,.question-list-display-toggles{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.question-resource-summary-tags span{border-radius:999px;padding:5px 9px;background:#2632450f}.question-resource-summary-tags .danger{background:#b423181a;color:#b42318}.question-list-display-toggles label{display:inline-flex;gap:6px;align-items:center;border:1px solid rgba(38,50,69,.1);border-radius:999px;padding:5px 9px;background:#ffffff8c;color:var(--ink-soft);cursor:pointer;font-size:12px;font-weight:900;-webkit-user-select:none;-moz-user-select:none;user-select:none}.question-list-display-toggles input{width:14px;height:14px;accent-color:var(--primary)}.question-resource-card{display:grid;gap:10px;padding:14px 16px;border:1px solid var(--line);border-radius:18px;background:#fff;color:var(--ink)}.question-resource-card:hover{border-color:#0066cc38;background:#f8fafc}.question-resource-card-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.question-resource-tags{display:flex;flex-wrap:wrap;gap:8px;min-width:0}.question-tag{border-radius:999px;padding:5px 9px;font-size:12px;font-weight:900}.question-tag.type{background:#3a70bf1f;color:#2f64ad}.question-tag.difficulty{background:#308a681f;color:#1f7a59}.question-tag.knowledge{background:#7b663a1f;color:#7a5f23}.question-resource-card-actions{display:inline-flex;flex:0 0 auto;align-items:center;justify-content:flex-end;gap:10px;min-height:34px}.question-resource-time{color:var(--ink-soft);font-size:12px;font-weight:750;white-space:nowrap}.question-resource-title{margin:0;color:var(--ink);font-size:15px;font-weight:800;line-height:1.75}.question-resource-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.question-resource-option{display:grid;grid-template-columns:auto minmax(0,1fr);gap:6px;align-items:start;overflow:hidden;border:1px solid rgba(38,50,69,.08);border-radius:10px;padding:8px 10px;background:#f8fafc9e;color:var(--ink-soft);font-size:13px;font-weight:750}.question-resource-option strong{color:var(--ink)}.question-rich-preview{min-width:0;overflow-wrap:anywhere}.question-rich-preview p,.question-rich-preview div{margin:0}.question-rich-preview img{max-width:100%;vertical-align:middle}.question-rich-preview .question-recognition-source-image{margin-top:10px}.question-rich-preview .question-recognition-source-image img{display:block;border:1px solid rgba(38,50,69,.12);border-radius:8px}.question-resource-card [data-latex]{display:inline-flex;align-items:center;max-width:100%;min-height:1.4em;padding:1px 2px;vertical-align:middle;white-space:nowrap}.question-resource-card .ML__latex{white-space:nowrap}.question-resource-meta{display:flex;flex-wrap:wrap;gap:8px;color:var(--ink-soft);font-size:12px;font-weight:750}.question-resource-answer{display:grid;gap:4px;border:1px solid rgba(38,50,69,.1);border-radius:12px;padding:8px 12px;background:#f8fafc6b;color:var(--ink-soft);font-size:13px;line-height:1.7}.question-resource-answer strong{color:var(--ink)}.question-resource-analysis{display:grid;gap:4px;border:1px dashed rgba(38,50,69,.12);border-radius:12px;padding:10px 12px;background:#f8fafc80;color:var(--ink-soft);font-size:13px;line-height:1.7}.question-resource-analysis strong{color:var(--ink)}.question-pagination{display:flex;justify-content:flex-end;gap:10px;align-items:center;color:var(--ink-soft);font-size:12px;font-weight:850}.resource-empty-state.compact{min-height:120px;padding:16px}.icon-only{width:32px;min-width:32px;padding:0;display:inline-grid;place-items:center}.icon-only svg{width:16px;height:16px}.modal-card.question-editor-dialog{width:min(1320px,calc(100vw - 128px));max-width:calc(100vw - 128px);max-height:calc(100dvh - 48px);box-sizing:border-box;display:grid;gap:14px;overflow-y:auto;overflow-x:hidden}.question-editor-tabs,.question-draft-tabs{display:flex;flex-wrap:wrap;gap:8px}.question-draft-tab-item{min-height:32px;border:1px solid rgba(38,50,69,.12);border-radius:999px;background:#ffffffb3;display:inline-flex;align-items:center;overflow:hidden}.question-draft-tab-item.active{background:var(--navy);color:#fff}.question-draft-tab-button,.question-draft-tab-delete{min-height:32px;border:0;background:transparent;color:inherit;cursor:pointer;font-size:12px;font-weight:850}.question-draft-tab-button{padding:0 10px 0 12px}.question-draft-tab-delete{width:28px;padding:0;color:inherit;opacity:.75}.question-draft-tab-delete:hover{opacity:1;background:#ffffff29}.question-recognition-bar{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center}.question-generation-panel{display:grid;gap:10px;padding:10px;border:1px solid rgba(38,50,69,.1);border-radius:12px;background:#f8fafc}.question-generation-panel-head{min-height:44px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:4px 4px 4px 8px}.question-generation-panel-head>div{min-width:0;display:grid;gap:2px}.question-generation-panel-head strong{color:var(--ink);font-size:14px}.question-generation-panel-head span{color:var(--ink-soft);font-size:12px;font-weight:800}.question-generation-body{display:grid;gap:10px}.question-generation-card{display:grid;gap:10px;min-width:0;padding:12px;border:1px solid rgba(38,50,69,.08);border-radius:10px;background:#ffffffd1}.question-generation-section-title{color:var(--ink);font-size:13px;font-weight:900}.question-generation-field-grid{align-items:start}.question-generation-section{display:grid;gap:10px;min-width:0}.question-generation-section>strong{color:var(--ink);font-size:13px}.question-generation-catalogs,.question-generation-cognitive{display:flex;flex-wrap:wrap;gap:8px;min-width:0}.question-editor-surface .question-generation-catalogs label{min-height:32px;display:inline-flex;grid-auto-flow:column;align-items:center;gap:6px;padding:0 10px;border:1px solid rgba(38,50,69,.1);border-radius:999px;background:#ffffffad;color:var(--ink)}.question-generation-type-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:8px}.question-editor-surface .question-generation-type-grid label{min-width:0;min-height:40px;display:grid;grid-template-columns:18px minmax(0,1fr) 56px;align-items:center;gap:8px;padding:6px 8px;border:1px solid rgba(38,50,69,.1);border-radius:10px;background:#fff;color:var(--ink)}.question-editor-surface .question-generation-type-grid label.active{border-color:#0d795d47;background:#0d795d12}.question-generation-type-grid input[type=checkbox]{min-height:18px;width:18px}.question-generation-type-grid span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.question-generation-type-grid input[inputmode=numeric]{width:56px;min-height:30px;text-align:center}.question-generation-type-total{color:var(--ink-soft);font-size:12px;font-weight:850}.question-generation-type-total.invalid,.required-mark{color:#dc2626}.question-field-label{display:inline-flex;align-items:center;gap:4px}.question-generation-catalogs{max-height:118px;overflow:auto}.question-generation-cognitive label,.question-generation-cognitive input{width:94px}.question-generation-extra textarea{min-height:76px;resize:vertical}.question-generation-actions{display:flex;justify-content:flex-end;padding:0 4px 4px}.resource-drop-zone.compact{min-height:58px;padding:12px}.question-editor-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:16px}.question-editor-main{display:grid;gap:12px;min-width:0}.question-form-grid{display:flex;flex-wrap:wrap;align-items:end;gap:12px}.question-form-grid label{width:-moz-max-content;width:max-content;max-width:100%}.question-editor-surface label{display:grid;gap:7px;color:var(--ink-soft);font-size:12px;font-weight:900}.question-editor-surface input,.question-editor-surface select,.question-editor-surface textarea{min-height:40px}.question-form-grid select{width:auto;min-width:136px;max-width:240px}.question-form-grid label:first-child select{min-width:180px;max-width:280px}.question-editor-rich-field{min-width:0}.question-content-editor-field{gap:10px}.question-content-editor-field .tox-tinymce{max-width:100%;border-radius:12px}.question-knowledge-field{display:flex;flex-wrap:wrap;align-items:flex-start;gap:8px;padding:10px 12px;border:1px solid rgba(38,50,69,.1);border-radius:16px;background:#ffffff94}.question-knowledge-head{display:flex;align-items:center;gap:10px;min-height:34px;flex:0 0 auto}.question-knowledge-head strong{color:var(--ink);font-size:13px}.question-knowledge-tags{display:flex;flex-wrap:wrap;flex:1 1 320px;gap:8px;min-height:34px;max-height:72px;align-items:center;overflow:auto}.question-knowledge-tags span{display:inline-flex;align-items:center;gap:6px;min-height:30px;padding:0 8px 0 12px;border-radius:999px;background:#308a681a;color:#1f7a59;font-size:12px;font-weight:850}.question-knowledge-tags button{width:20px;height:20px;border:0;border-radius:999px;background:#308a6824;color:#1f7a59;cursor:pointer}.question-knowledge-tags em,.question-knowledge-field small{color:var(--ink-muted);font-size:12px;font-style:normal}.question-knowledge-suggestions{display:flex;flex-wrap:wrap;gap:6px;max-height:112px;overflow:auto}.question-knowledge-suggestions button{min-height:26px;border:1px solid rgba(48,138,104,.14);border-radius:999px;padding:0 9px;background:#308a6814;color:#1f7a59;cursor:pointer;font-size:11px;font-weight:850}.knowledge-point-picker-dialog{width:min(720px,calc(100vw - 48px));max-height:min(680px,calc(100dvh - 220px));grid-template-rows:auto auto minmax(0,1fr) auto;overflow:hidden;box-sizing:border-box}.knowledge-point-search{width:100%;min-height:44px;border:1px solid rgba(38,50,69,.12);border-radius:14px;padding:0 14px;background:#ffffffb8;color:var(--ink);font-size:14px;outline:none}.knowledge-point-search:focus{border-color:#366fff6b;box-shadow:0 0 0 3px #366fff14}.knowledge-point-picker-body{display:block;min-height:0;max-height:none;overflow:auto;padding:14px 16px;border:1px solid rgba(38,50,69,.1);border-radius:18px;background:linear-gradient(180deg,#ffffffdb,#f8fbffc2)}.knowledge-point-picker-dialog .modal-actions{margin:0;padding-top:16px;border-top:1px solid rgba(38,50,69,.1);background:#fff}.knowledge-point-node{position:relative;min-width:-moz-max-content;min-width:max-content;margin:0;padding:0;box-sizing:border-box}.knowledge-point-picker-body>.knowledge-point-node+.knowledge-point-node{margin-top:6px}.knowledge-point-node-row{display:flex;align-items:center;min-height:34px;box-sizing:border-box}.knowledge-point-node.leaf{display:flex;align-items:center;min-height:34px;padding-left:0;box-sizing:border-box}.knowledge-point-picker-dialog .knowledge-point-node-label{display:inline-flex;align-items:center;width:-moz-max-content;width:max-content;gap:8px;min-height:30px;padding:4px 8px;border-radius:8px;box-sizing:border-box;color:var(--ink);font-size:13px;font-weight:850;line-height:1.3;white-space:nowrap;transition-property:background-color,box-shadow,transform;transition-duration:.14s;transition-timing-function:ease-out}.knowledge-point-picker-dialog .knowledge-point-node-label:hover{background:#366fff0f;box-shadow:0 8px 18px #2632450d;transform:translateY(-1px)}.knowledge-point-picker-dialog .knowledge-point-node-label.is-disabled{color:var(--muted)}.knowledge-point-picker-dialog .knowledge-point-node-label input[type=checkbox]{-moz-appearance:none;appearance:none;-webkit-appearance:none;flex:0 0 auto;display:block;margin:0;width:16px;min-width:16px;height:16px;min-height:16px;border:1px solid rgba(100,116,139,.42);border-radius:4px;background:#fff;box-shadow:0 1px 2px #0f172a0f;cursor:pointer;transition-property:background-color,border-color,box-shadow;transition-duration:.14s;transition-timing-function:ease-out}.knowledge-point-picker-dialog .knowledge-point-node-label input[type=checkbox]:checked{border-color:#366fff;background:url("data:image/svg+xml,%3Csvg width='12' height='10' viewBox='0 0 12 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.5 5L4.5 8L10.5 2' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px 10px no-repeat,linear-gradient(135deg,#2563eb,#5b5cff);box-shadow:0 0 0 1px #366fff14,0 5px 12px #366fff2e}.knowledge-point-picker-dialog .knowledge-point-node-label input[type=checkbox]:focus-visible{outline:none;box-shadow:0 0 0 3px #366fff29,0 1px 2px #0f172a0f}.knowledge-point-picker-dialog .knowledge-point-node-label input[type=checkbox]:disabled{border-color:#94a3b842;background:#f8fafcd6;box-shadow:none;cursor:not-allowed}.knowledge-point-picker-dialog .knowledge-point-type-tag{display:inline-flex;align-items:center;justify-content:center;min-width:42px;height:20px;padding:0 7px;border:1px solid rgba(38,50,69,.12);border-radius:999px;background:#2632450d;color:var(--muted);font-size:11px;font-weight:800;line-height:1}.knowledge-point-picker-dialog .knowledge-point-type-tag.is-knowledge-point{border-color:#27ae603d;background:#27ae601a;color:#1f8b4d}.knowledge-point-picker-dialog .knowledge-point-type-tag.is-testing-point{border-color:#f59e0b47;background:#f59e0b1c;color:#a96505}.knowledge-point-node-children{position:relative;display:block;margin-left:18px;padding-left:24px}.knowledge-point-node-children:before{content:"";position:absolute;top:0;bottom:17px;left:8px;width:1px;background:repeating-linear-gradient(to bottom,rgba(100,116,139,.22) 0,rgba(100,116,139,.22) 4px,transparent 4px,transparent 8px)}.knowledge-point-node-children>.knowledge-point-node{margin-top:6px}.knowledge-point-node-children>.knowledge-point-node:before{content:"";position:absolute;top:17px;left:-16px;width:16px;height:1px;background:#64748b33}@media(max-width:720px){.modal-card.question-editor-dialog{width:calc(100vw - 32px);max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);padding:18px}}.ai-tools-page{align-content:start}.ai-tool-grid{grid-template-columns:repeat(3,minmax(240px,1fr));align-items:stretch}.ai-tool-card{min-height:208px;height:100%;text-align:left;display:grid;grid-template-rows:auto 1fr auto;gap:14px;padding:22px 24px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--ink);box-shadow:0 16px 42px #0f172a0f;transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease}.ai-tool-card:hover,.ai-tool-card:focus-visible{border-color:var(--tool-accent);box-shadow:0 20px 48px #0f172a1a;transform:translateY(-2px);outline:none}.ai-tool-card-top,.ai-tool-card-kicker,.ai-tool-heading,.ai-tool-meta{display:flex}.ai-tool-card-top,.ai-tool-meta{align-items:center;justify-content:space-between}.ai-tool-card-kicker{align-items:center;gap:12px;min-width:0}.ai-tool-heading{align-items:flex-start;flex-direction:column;gap:7px;min-width:0}.ai-tool-icon{width:48px;height:48px;flex:0 0 48px;display:inline-flex;align-items:center;justify-content:center;border-radius:12px;background:var(--tool-icon-bg);color:var(--tool-accent)}.ai-tool-icon svg{width:24px;height:24px}.ai-tool-arrow{width:20px;height:20px;color:#0f172a}.ai-tool-heading strong{color:var(--ink);font-size:20px;line-height:1.25}.ai-tool-description{color:#475569;font-size:15px;line-height:1.55}.ai-tool-badge,.ai-tool-tags span{display:inline-flex;align-items:center;min-height:28px;border-radius:999px;font-weight:800}.ai-tool-badge{padding:3px 9px;background:var(--tool-badge-bg);color:var(--tool-accent);font-size:13px}.ai-tool-tags{display:flex;flex-wrap:wrap;gap:6px;min-width:0}.ai-tool-tags span{padding:4px 10px;background:#f1f5f9;color:#475569;font-size:13px}.ai-tool-meta{gap:10px;color:#64748b;font-size:14px}.ai-tool-meta strong{color:#0f172a;font-size:14px;white-space:nowrap}.ai-tool-card.is-blue{--tool-accent: #2563eb;--tool-icon-bg: #e8f1ff;--tool-badge-bg: #dbeafe}.ai-tool-card.is-green{--tool-accent: #10b981;--tool-icon-bg: #e3f8ee;--tool-badge-bg: #d1fae5}.ai-tool-card.is-purple{--tool-accent: #8b5cf6;--tool-icon-bg: #eee8ff;--tool-badge-bg: #ede9fe}.ai-interactive-page{align-content:start;gap:18px}.ai-interactive-header,.ai-interactive-header-actions,.ai-interactive-section-title,.ai-interactive-controls,.ai-interactive-generate-group,.ai-interactive-preview-title,.ai-interactive-preview-title>div{display:flex;align-items:center}.ai-interactive-header{justify-content:space-between;gap:16px;min-height:54px}.ai-interactive-header h2{flex:1;margin:0;color:var(--ink);font-size:22px;line-height:1.3}.ai-interactive-back,.ai-interactive-header-actions button,.ai-interactive-secondary,.ai-interactive-primary,.ai-interactive-preview-title button,.ai-interactive-save-dialog button{border:1px solid var(--line);border-radius:8px;background:#fff;color:#0f172a;font-weight:800}.ai-interactive-back{width:40px;height:40px;display:inline-flex;align-items:center;justify-content:center;flex:0 0 40px}.ai-interactive-header-actions{justify-content:flex-end;gap:10px}.ai-interactive-header-actions button,.ai-interactive-secondary,.ai-interactive-primary,.ai-interactive-preview-title button{min-height:42px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:0 16px;white-space:nowrap}.ai-interactive-header-actions svg,.ai-interactive-secondary svg,.ai-interactive-primary svg,.ai-interactive-preview-title button svg,.ai-interactive-back svg{width:18px;height:18px}.ai-interactive-card{border:1px solid var(--line);border-radius:8px;background:#fff;box-shadow:0 16px 42px #0f172a0f}.ai-interactive-input-card{padding:24px}.ai-interactive-section-title{gap:12px;margin-bottom:18px}.ai-interactive-section-title>span{width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;border-radius:8px;background:#e8f1ff;color:#2563eb}.ai-interactive-section-title h3,.ai-interactive-preview-title h3,.ai-interactive-save-dialog h3{margin:0;color:var(--ink);font-size:18px;line-height:1.3}.ai-interactive-section-title p,.ai-interactive-save-dialog p{margin:6px 0 0;color:#64748b;font-size:14px}.ai-interactive-input-card textarea{width:100%;min-height:124px;resize:vertical;border:1px solid #dbe3ef;border-radius:8px;padding:16px;color:#0f172a;font:inherit;line-height:1.65;outline:none}.ai-interactive-input-card textarea:focus,.ai-interactive-generate-group select:focus,.ai-interactive-file-name input:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1f}.ai-interactive-controls{justify-content:space-between;gap:16px;margin-top:18px;flex-wrap:wrap}.ai-interactive-generate-group{justify-content:flex-end;gap:12px;flex-wrap:wrap}.ai-interactive-generate-group label{min-height:42px;display:inline-flex;align-items:stretch;border:1px solid #dbe3ef;border-radius:8px;overflow:hidden;background:#fff}.ai-interactive-generate-group label span{display:inline-flex;align-items:center;padding:0 14px;background:#f8fafc;color:#334155;font-weight:800;white-space:nowrap}.ai-interactive-generate-group select{min-width:150px;border:0;padding:0 14px;color:#0f172a;font:inherit;font-weight:800;outline:none}.ai-interactive-primary,.ai-interactive-save-dialog button.primary,.ai-interactive-unsaved-dialog button.primary,.ai-interactive-preview-title button.ai-interactive-save-action-primary{border-color:#2563eb;background:#2563eb;color:#fff}.ai-interactive-secondary:disabled,.ai-interactive-primary:disabled,.ai-interactive-preview-title button:disabled,.ai-interactive-save-dialog button:disabled,.ai-interactive-unsaved-dialog button:disabled{cursor:not-allowed;opacity:.58}.ai-interactive-preview-card{padding:20px}.ai-interactive-preview-title{justify-content:space-between;gap:14px;margin-bottom:14px}.ai-interactive-preview-title>div{justify-content:flex-end;gap:10px;flex-wrap:wrap}.ai-interactive-browser{overflow:hidden;border:1px solid #dbe3ef;border-radius:8px;background:#f8fafc}.ai-interactive-browser:fullscreen{display:grid;grid-template-rows:42px 1fr;width:100vw;height:100vh;border:0;border-radius:0;background:#0f172a}.ai-interactive-window-dots{height:42px;display:flex;align-items:center;gap:8px;padding:0 18px;border-bottom:1px solid #dbe3ef;background:#fff}.ai-interactive-window-dots span{width:10px;height:10px;border-radius:50%}.ai-interactive-window-dots span:nth-child(1){background:#f87171}.ai-interactive-window-dots span:nth-child(2){background:#facc15}.ai-interactive-window-dots span:nth-child(3){background:#4ade80}.ai-interactive-frame-wrap{width:100%;min-height:360px;background:#fff}.ai-interactive-browser:fullscreen .ai-interactive-frame-wrap{height:100%;min-height:0;aspect-ratio:auto!important}.ai-interactive-frame-wrap iframe,.ai-interactive-empty{width:100%;height:100%;min-height:inherit}.ai-interactive-frame-wrap iframe{display:block;border:0;background:#fff}.ai-interactive-empty{display:grid;place-items:center;align-content:center;gap:12px;color:#64748b;font-weight:800}.ai-interactive-empty svg{width:42px;height:42px;color:#94a3b8}.ai-interactive-save-backdrop{position:fixed;inset:0;z-index:80;display:grid;place-items:center;padding:24px;background:#0f172a6b}.ai-interactive-save-dialog,.ai-interactive-unsaved-dialog{width:min(840px,100%);max-height:min(720px,calc(100vh - 48px));display:grid;grid-template-rows:auto auto auto 1fr auto;overflow:hidden;border-radius:8px;background:#fff;box-shadow:0 24px 80px #0f172a3d}.ai-interactive-unsaved-dialog{width:min(520px,100%);grid-template-rows:auto auto}.ai-interactive-save-dialog header,.ai-interactive-save-dialog footer,.ai-interactive-unsaved-dialog header,.ai-interactive-unsaved-dialog footer{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:18px 20px;border-bottom:1px solid var(--line)}.ai-interactive-save-dialog header>button,.ai-interactive-unsaved-dialog header>button{width:36px;height:36px;display:inline-flex;align-items:center;justify-content:center;padding:0}.ai-interactive-dialog-error{margin:14px 20px 0;border:1px solid #fecaca;border-radius:8px;padding:10px 12px;background:#fef2f2;color:#b91c1c;font-weight:800}.ai-interactive-file-name{display:grid;gap:8px;padding:16px 20px}.ai-interactive-file-name span{color:#334155;font-weight:800}.ai-interactive-file-name input{width:100%;min-height:42px;border:1px solid #dbe3ef;border-radius:8px;padding:0 12px;color:#0f172a;font:inherit;outline:none}.ai-interactive-directory-picker{min-height:240px;overflow:auto;padding:0 20px 18px}.ai-interactive-directory-picker>button{width:100%;min-height:40px;margin-bottom:8px;text-align:left;padding:0 12px}.ai-interactive-directory-picker>button.active{border-color:#2563eb;background:#eff6ff;color:#1d4ed8}.ai-interactive-directory-empty{padding:18px;color:#64748b;text-align:center}.ai-interactive-save-dialog footer{justify-content:flex-end;border-top:1px solid var(--line);border-bottom:0}.ai-interactive-unsaved-dialog footer{justify-content:flex-end;border-top:1px solid var(--line);border-bottom:0;flex-wrap:wrap}.ai-interactive-save-dialog footer button,.ai-interactive-unsaved-dialog footer button{min-width:88px;min-height:40px;padding:0 16px}@media(max-width:760px){.ai-tool-grid{grid-template-columns:1fr}.ai-tool-card{min-height:0;padding:20px}.ai-interactive-header,.ai-interactive-controls,.ai-interactive-preview-title{align-items:stretch;flex-direction:column}.ai-interactive-header-actions,.ai-interactive-generate-group,.ai-interactive-preview-title>div{justify-content:stretch}.ai-interactive-header-actions button,.ai-interactive-secondary,.ai-interactive-primary,.ai-interactive-preview-title button,.ai-interactive-generate-group label{width:100%}.ai-interactive-generate-group label{display:grid;grid-template-columns:112px 1fr}.ai-interactive-frame-wrap{min-height:260px}}.ai-question-page{align-content:start;gap:18px}.ai-question-header{min-height:56px;display:grid;grid-template-columns:40px minmax(0,1fr) auto;align-items:center;gap:14px}.ai-question-header h2{margin:0;color:var(--ink);font-size:24px;line-height:1.25;text-wrap:balance}.ai-question-header p{margin:6px 0 0;color:#64748b;font-size:14px;font-weight:750;line-height:1.55;text-wrap:pretty}.ai-question-back,.ai-question-resource-link{min-height:40px;border:1px solid var(--line);border-radius:8px;background:#fff;color:#0f172a;font-weight:850;transition-property:background-color,border-color,box-shadow,transform;transition-duration:.16s;transition-timing-function:ease-out}.ai-question-back:active,.ai-question-resource-link:active,.ai-question-editor-card .primary-button:active,.ai-question-editor-card .secondary-button:active,.ai-question-empty .primary-button:active,.ai-question-empty .secondary-button:active{transform:scale(.96)}.ai-question-back{width:40px;display:inline-flex;align-items:center;justify-content:center;padding:0}.ai-question-back svg,.ai-question-resource-link svg{width:18px;height:18px}.ai-question-resource-link{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:0 14px;white-space:nowrap}.ai-question-back:hover,.ai-question-resource-link:hover{border-color:#2563eb47;box-shadow:0 0 0 1px #2563eb14,0 10px 22px #0f172a14}.ai-question-editor-card,.ai-question-empty{border-radius:8px;background:#fff;box-shadow:0 0 0 1px #0f172a0f,0 1px 2px -1px #0f172a14,0 18px 46px #0f172a12}.ai-question-editor-card{display:grid;gap:14px;min-width:0;padding:22px}.question-editor-page-surface .modal-actions{position:sticky;bottom:-22px;z-index:2;margin:4px -22px -22px;padding:14px 22px;border-top:1px solid var(--line);background:#fffffff0;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.question-editor-page-surface .primary-button,.question-editor-page-surface .secondary-button,.ai-question-empty .primary-button,.ai-question-empty .secondary-button{min-height:40px;transition-property:background-color,border-color,box-shadow,transform;transition-duration:.15s;transition-timing-function:ease-out}.ai-question-inline-warning{border-radius:8px;padding:10px 12px;background:#fff7ed;color:#b45309;font-size:13px;font-weight:850}.ai-question-empty{min-height:360px;display:grid;place-items:center;align-content:center;gap:14px;padding:42px;text-align:center}.ai-question-empty-icon{width:52px;height:52px;display:inline-flex;align-items:center;justify-content:center;border-radius:14px;background:#e8f1ff;color:#2563eb}.ai-question-empty-icon svg{width:26px;height:26px}.ai-question-empty h3{margin:0;color:var(--ink);font-size:20px;line-height:1.3;text-wrap:balance}.ai-question-empty p{max-width:520px;margin:0;color:#64748b;font-size:14px;font-weight:750;line-height:1.7;text-wrap:pretty}.ai-question-empty>div{display:flex;flex-wrap:wrap;justify-content:center;gap:10px}@media(max-width:760px){.ai-question-header{grid-template-columns:40px minmax(0,1fr)}.ai-question-resource-link{grid-column:1 / -1;width:100%}.ai-question-editor-card{padding:18px}.question-editor-page-surface .modal-actions{bottom:-18px;margin:4px -18px -18px;padding:12px 18px}.question-recognition-bar{grid-template-columns:1fr}.question-form-grid label,.question-form-grid select{width:100%;max-width:100%}}.question-editor-page-tabs{width:-moz-max-content;width:max-content;max-width:100%;display:inline-grid;grid-auto-flow:column;grid-auto-columns:minmax(132px,1fr);gap:4px;padding:4px;border-radius:12px;background:#f1f6fd;box-shadow:inset 0 0 0 1px #2563eb14,0 1px 2px #0f172a0a}.question-editor-page-tabs .chip{min-width:0;min-height:44px;justify-content:center;border:0;border-radius:8px;padding:0 18px;background:transparent;color:#475569;font-size:15px;font-weight:900;white-space:nowrap;box-shadow:none;transition-property:background-color,color,box-shadow,transform;transition-duration:.16s;transition-timing-function:ease-out}.question-editor-page-tabs .chip:hover{background:#ffffff94;color:#1d4ed8}.question-editor-page-tabs .chip:active{transform:scale(.96)}.question-editor-page-tabs .chip.active{background:#fff;color:#0b73d9;box-shadow:0 0 0 1px #2563eb1a,0 8px 18px #2563eb1f}@media(max-width:760px){.question-editor-page-tabs{width:100%;grid-auto-flow:row;grid-auto-columns:auto;grid-template-columns:1fr}}.ai-question-page{position:relative;isolation:isolate;gap:20px;padding:28px 28px 20px;overflow:hidden;border-radius:14px;background:radial-gradient(circle at 78% 7%,rgba(58,130,255,.18),transparent 30%),radial-gradient(circle at 20% 0%,rgba(112,101,255,.1),transparent 26%),linear-gradient(135deg,#fbfdff,#f5f9ff 44%,#fff);box-shadow:inset 0 0 0 1px #2563eb0d,0 24px 80px #2563eb14}.ai-question-page:before,.ai-question-page:after{content:"";position:absolute;pointer-events:none;z-index:-1}.ai-question-page:before{inset:0 0 auto auto;width:44%;height:160px;opacity:.52;background-image:radial-gradient(circle,rgba(37,99,235,.2) 1px,transparent 1.5px),linear-gradient(160deg,transparent 0 40%,rgba(37,99,235,.08) 40% 41%,transparent 41% 100%);background-size:18px 18px,100% 100%;-webkit-mask-image:linear-gradient(90deg,transparent,#000 34%,transparent 96%);mask-image:linear-gradient(90deg,transparent,#000 34%,transparent 96%)}.ai-question-page:after{right:36px;top:74px;width:240px;height:76px;border-radius:50%;border:1px solid rgba(37,99,235,.12);border-left-color:transparent;border-bottom-color:transparent;transform:rotate(-8deg)}.ai-question-header{min-height:64px;gap:16px;z-index:1}.ai-question-header h2{position:relative;width:-moz-max-content;width:max-content;max-width:100%;font-size:30px;font-weight:950;letter-spacing:0;color:#07142f}.ai-question-header h2:after{content:"";position:absolute;right:-18px;top:-10px;width:14px;height:14px;background:linear-gradient(135deg,#2b7cff,#8b5cf6);clip-path:polygon(50% 0,64% 36%,100% 50%,64% 64%,50% 100%,36% 64%,0 50%,36% 36%);filter:drop-shadow(0 8px 14px rgba(43,124,255,.26))}.ai-question-header p{color:#52627d;font-size:15px;font-weight:800}.ai-question-back,.ai-question-resource-link{min-height:48px;border-color:#94a3b838;background:#ffffffd1;color:#14213d;box-shadow:0 0 0 1px #ffffffb8 inset,0 12px 28px #0f172a14;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.ai-question-back{width:48px}.ai-question-resource-link{padding:0 18px 0 16px;font-size:15px}.ai-question-back:hover,.ai-question-resource-link:hover{border-color:#2563eb38;background:#fffffff0;box-shadow:0 0 0 1px #2563eb1a inset,0 16px 34px #2563eb24}.ai-question-editor-card{position:relative;z-index:1;gap:20px;padding:26px;overflow:hidden;border-radius:8px;background:linear-gradient(180deg,#ffffffe6,#fffffffa),radial-gradient(circle at 14% 0%,rgba(37,99,235,.08),transparent 34%);box-shadow:0 0 0 1px #2563eb1a,0 1px 2px -1px #0f172a14,0 26px 70px #0f172a1a,0 34px 90px #2563eb14;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.ai-question-editor-card:before{content:"";position:absolute;inset:0;pointer-events:none;border-radius:inherit;background:linear-gradient(90deg,rgba(37,99,235,.1),transparent 28%,rgba(139,92,246,.1) 100%),linear-gradient(180deg,rgba(255,255,255,.76),transparent 110px);opacity:.82}.ai-question-editor-card>*{position:relative;z-index:1}.question-editor-page-tabs{padding:5px;border-radius:8px;background:#eff6ffb8;box-shadow:inset 0 0 0 1px #2563eb14,0 14px 32px #2563eb14;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.question-editor-page-tabs .chip{min-height:48px;border-radius:8px;color:#475569;font-size:15px;letter-spacing:0}.question-editor-page-tabs .chip:hover{background:#ffffffb3;color:#1d4ed8;box-shadow:0 8px 18px #2563eb14}.question-editor-page-tabs .chip.active{background:#fff;color:#1266e3;box-shadow:0 0 0 1px #2563eb24,0 12px 26px #2563eb29}.ai-question-page .question-form-grid{gap:14px}.ai-question-page .question-form-grid label{color:#465773;font-size:12px;letter-spacing:0}.ai-question-page .question-form-grid select,.ai-question-page .question-editor-surface input,.ai-question-page .question-editor-surface textarea{min-height:52px;border-color:#94a3b83d;border-radius:8px;background-color:#ffffffe0;color:#0f1f3d;box-shadow:0 0 0 1px #ffffffb8 inset,0 10px 24px #0f172a0a;transition-property:border-color,box-shadow,background-color;transition-duration:.16s;transition-timing-function:ease-out}.ai-question-page .question-form-grid select:focus,.ai-question-page .question-editor-surface input:focus,.ai-question-page .question-editor-surface textarea:focus{border-color:#2563eb6b;background-color:#fff;box-shadow:0 0 0 3px #2563eb1a,0 12px 28px #2563eb1a;outline:none}.ai-question-page .question-knowledge-field{border-color:#94a3b82e;border-radius:8px;background:linear-gradient(180deg,#ffffffe6,#f8fbffeb);box-shadow:0 0 0 1px #ffffffbd inset,0 14px 32px #0f172a0d}.ai-question-page .question-knowledge-head strong{color:#17233f}.ai-question-page .question-knowledge-head .icon-only{min-width:40px;min-height:40px;border-color:#2563eb29;background:#fff;color:#2563eb;box-shadow:0 10px 20px #2563eb14}.ai-question-page .question-knowledge-tags em{color:#8a97ad}.ai-question-page .question-content-editor-field{gap:12px;color:#465773}.ai-question-page .question-content-editor-field .tox-tinymce{overflow:hidden;border:1px solid #eef2f7;border-radius:8px;background:#fff;box-shadow:0 0 0 1px #ffffffe6 inset,0 18px 42px #0f172a12,0 28px 72px #2563eb12}.ai-question-page .tox .tox-editor-header{position:sticky;top:0;z-index:2;padding:10px 12px;border-bottom:0;background:linear-gradient(180deg,#f8fbffeb,#f8fbffbd);box-shadow:none;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.ai-question-page .tox .tox-toolbar-overlord{border:1px solid rgba(226,232,240,.92);border-radius:8px;background:#ffffffe0;box-shadow:0 0 0 1px #ffffffd6 inset,0 14px 32px #2563eb1a;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.ai-question-page .tox .tox-toolbar,.ai-question-page .tox .tox-toolbar__overflow,.ai-question-page .tox .tox-toolbar__primary{gap:4px;background:transparent}.ai-question-page .tox .tox-toolbar__group{padding:4px;border-color:#e2e8f0b8}.ai-question-page .tox .tox-tbtn{min-width:34px;min-height:34px;margin:1px;border-radius:8px;color:#42526e;transition-property:background-color,box-shadow,color,transform;transition-duration:.14s;transition-timing-function:ease-out}.ai-question-page .tox .tox-tbtn svg{fill:currentColor}.ai-question-page .tox .tox-tbtn:hover,.ai-question-page .tox .tox-tbtn--enabled{background:#2563eb14;color:#2563eb;box-shadow:0 8px 16px #2563eb14}.ai-question-page .tox .tox-tbtn:active{transform:scale(.96)}.ai-question-page .tox .tox-split-button{border-radius:8px}.ai-question-page .tox .tox-edit-area{padding:0 16px 18px;background:linear-gradient(180deg,#f8fbffbd,#fff 72px)}.ai-question-page .tox .tox-edit-area__iframe{overflow:hidden;border:1px solid #eef2f7;border-radius:8px;background:#fff;box-shadow:0 0 0 1px #ffffffe0 inset,0 16px 34px #0f172a0f}.ai-question-page .tox .tox-statusbar{border-top-color:#e2e8f0d1;background:#fbfdff}.ai-question-page .tox .tox-tooltip{filter:drop-shadow(0 10px 20px rgba(15,23,42,.16))}.ai-question-page .tox .tox-tooltip__body{border-radius:8px;background:#0f172a;color:#fff;font-weight:800}.ai-question-page .question-generation-panel{border-color:#2563eb1f;border-radius:8px;background:#f8fbffdb;box-shadow:0 0 0 1px #fffc inset,0 16px 36px #2563eb12}.ai-question-page .question-generation-card{border-color:#94a3b829;border-radius:8px;background:#ffffffe0;box-shadow:0 10px 24px #0f172a0a}.question-editor-page-surface .modal-actions{border-top-color:#94a3b82e;background:linear-gradient(180deg,#ffffffd1,#fffffff5);box-shadow:0 -16px 34px #0f172a0d}.question-editor-page-surface .modal-actions .primary-button{min-width:86px;border-color:#2563eb4d;background:linear-gradient(135deg,#1677ff,#3b5bff 52%,#7c5cff);color:#fff;box-shadow:0 0 0 1px #ffffff38 inset,0 16px 34px #2563eb42}.question-editor-page-surface .modal-actions .primary-button:hover:not(:disabled){border-color:#2563eb61;box-shadow:0 0 0 1px #ffffff47 inset,0 20px 40px #2563eb52}.question-editor-page-surface .modal-actions .secondary-button{min-width:82px;border-color:#94a3b847;background:#ffffffd6;color:#34425c;box-shadow:0 10px 22px #0f172a0f}@media(max-width:760px){.ai-question-page{padding:18px}.ai-question-page:before,.ai-question-page:after{opacity:.28}.ai-question-header h2{font-size:24px}.ai-question-editor-card{padding:18px}}.question-editor-page-surface .modal-actions{position:relative;bottom:auto;margin:8px 0 0;padding:16px 0 0;border-top:1px solid rgba(148,163,184,.18);background:transparent;-webkit-backdrop-filter:none;backdrop-filter:none;box-shadow:none}.ai-question-editor-card{padding-bottom:26px}@media(max-width:760px){.question-editor-page-surface .modal-actions{bottom:auto;margin:8px 0 0;padding:14px 0 0}}.ai-question-page{height:auto;min-height:100%;overflow:visible}.profile-config-page{align-content:start;width:min(100%,1440px);margin:0 auto;gap:24px;overflow-y:auto;padding:2px 4px 24px 0}.profile-page-header{display:flex;align-items:flex-start;justify-content:space-between;gap:24px}.profile-page-header .page-title{margin:0;font-size:32px;font-weight:700}.profile-page-header .page-subtitle{margin:8px 0 0;color:#8c8c8c;font-size:14px}.profile-header-actions{display:flex;gap:12px}.profile-config-grid{display:grid;grid-template-columns:minmax(360px,2fr) minmax(520px,3fr);align-items:stretch;gap:24px}.profile-config-card{min-width:0;padding:24px;border:1px solid #e5e7eb;border-radius:16px;background:#fff;box-shadow:0 8px 24px #0f172a0d}.profile-card-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:20px}.profile-card-heading h3,.profile-voice-library h4,.profile-voice-create-card h4{margin:0;color:#0f172a}.profile-card-heading h3{font-size:20px;font-weight:600}.profile-card-heading p,.profile-voice-create-card>div:first-child p{margin:6px 0 0;color:#8c8c8c;font-size:14px;line-height:1.5}.profile-card-loading,.profile-voice-empty{display:grid;place-items:center;min-height:120px;padding:20px;border:1px dashed #dbe3ef;border-radius:12px;color:#8c8c8c;font-size:14px}.profile-overview-card{display:grid;grid-template-rows:auto minmax(0,1fr) auto;align-content:stretch}.profile-identity-layout{display:grid;grid-template-columns:minmax(180px,.9fr) minmax(200px,1.1fr);align-items:center;gap:24px}.profile-identity-main{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;text-align:center}.profile-avatar-shell{display:grid;place-items:center;flex:0 0 auto;width:88px;height:88px;overflow:hidden;border-radius:50%;background:linear-gradient(145deg,#eaf3ff,#dbeafe);color:#1677ff;font-size:34px;font-weight:700}.profile-avatar-shell img{width:100%;height:100%;-o-object-fit:cover;object-fit:cover}.profile-identity-copy{display:grid;gap:8px;min-width:0}.profile-name-line{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px}.profile-name-line strong{color:#0f172a;font-size:20px}.profile-name-line em,.profile-default-voice-tag{padding:3px 8px;border-radius:999px;background:#eaf3ff;color:#1677ff;font-size:12px;font-style:normal;font-weight:700}.profile-identity-copy>span{color:#64748b;font-size:15px}.profile-facts{margin:0}.profile-facts>div{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:42px;border-bottom:1px solid #eef1f5}.profile-facts dt{color:#64748b;font-size:14px}.profile-facts dd{margin:0;color:#0f172a;font-size:14px;font-weight:600;text-align:right;overflow-wrap:anywhere}.profile-edit-button{align-self:center;min-width:160px;margin-top:22px}.profile-preference-list{display:grid;gap:8px}.profile-preference-row{display:grid;grid-template-columns:44px minmax(180px,1fr) minmax(130px,auto) 20px;align-items:center;gap:14px;width:100%;min-height:68px;padding:10px 14px;border:1px solid #e8edf4;border-radius:12px;background:#fff;text-align:left;cursor:pointer;transition:border-color .16s ease,background-color .16s ease,box-shadow .16s ease}.profile-preference-row:hover{border-color:#1677ff4d;background:#fbfdff;box-shadow:0 4px 14px #1677ff0f}.profile-preference-icon{display:grid;place-items:center;width:40px;height:40px;border-radius:11px;color:#1677ff;background:#eaf3ff}.profile-preference-icon svg{width:20px;height:20px}.profile-preference-icon.is-purple{color:#8b5cf6;background:#f3eefe}.profile-preference-icon.is-green{color:#059669;background:#e9fbf4}.profile-preference-icon.is-orange{color:#ea8a14;background:#fff4e6}.profile-preference-icon.is-indigo{color:#4f68d8;background:#eef1ff}.profile-preference-icon.is-cyan{color:#0891b2;background:#ecfeff}.profile-preference-copy{display:grid;gap:3px;min-width:0}.profile-preference-copy strong{color:#0f172a;font-size:14px}.profile-preference-copy small{color:#8c8c8c;font-size:12px}.profile-preference-value{max-width:240px;overflow:hidden;color:#334155;font-size:14px;font-weight:600;text-align:right;text-overflow:ellipsis;white-space:nowrap}.profile-preference-arrow{color:#64748b}.profile-voice-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;align-items:start;gap:16px}.profile-voice-library{display:grid;gap:14px}.profile-voice-library h4,.profile-voice-create-card h4{margin-bottom:12px;font-size:16px;font-weight:600}.profile-voice-dialog{width:min(900px,calc(100vw - 32px))}.profile-voice-dialog-list{display:grid;gap:8px;max-height:min(480px,calc(100dvh - 210px));overflow-y:auto;padding-right:4px}.profile-voice-card{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:10px;min-height:78px;padding:10px 12px;border:1px solid #e4eaf2;border-radius:12px;background:#fff}.profile-voice-card.is-featured{min-height:116px;border-color:#1677ff33;background:linear-gradient(135deg,#f7fbff,#fff)}.profile-voice-avatar{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:linear-gradient(145deg,#1677ff,#06c);color:#fff}.profile-voice-avatar svg{width:21px;height:21px}.profile-voice-copy{display:grid;gap:3px;min-width:0}.profile-voice-copy>div{display:flex;align-items:center;flex-wrap:wrap;gap:6px}.profile-voice-copy strong{color:#0f172a;font-size:14px}.profile-voice-copy>span,.profile-voice-copy small{overflow:hidden;color:#64748b;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.profile-voice-copy .profile-voice-error{color:#d4380d}.profile-voice-status{padding:2px 7px;border-radius:999px;background:#f1f5f9;color:#64748b;font-size:11px;font-weight:700}.profile-voice-source{padding:2px 7px;border-radius:999px;background:#f8fafc;color:#475569;font-size:11px;font-weight:700}.profile-voice-source.system{background:#fff7e6;color:#d46b08}.profile-voice-source.custom{background:#f0f5ff;color:#2f54eb}.profile-voice-status.ok{background:#eafaf3;color:#07814f}.profile-voice-status.deploying{background:#eaf3ff;color:#1677ff}.profile-voice-status.failed,.profile-voice-status.undeployed{background:#fff1f0;color:#cf1322}.profile-voice-card-actions{display:flex;align-items:center;gap:6px}.profile-voice-delete{display:grid;place-items:center;width:36px;height:36px;border:1px solid #ffd1cf;border-radius:10px;background:#fff7f6;color:#cf1322;cursor:pointer}.profile-voice-delete:disabled{opacity:.45;cursor:not-allowed}.profile-voice-create-card{display:grid;gap:18px;padding:18px;border:1px solid #e4eaf2;border-radius:14px;background:#fbfdff}.profile-field-label{display:grid;gap:8px;color:#0f172a;font-size:14px;font-weight:600}.profile-field-label>span,.profile-field-title{display:flex;justify-content:space-between;color:#334155;font-size:14px;font-weight:600}.profile-field-label em{color:#94a3b8;font-size:12px;font-style:normal}.profile-field-label input,.profile-field-label select{width:100%;min-height:42px;padding:0 12px;border:1px solid #dbe3ed;border-radius:10px;background:#fff;color:#0f172a;font:inherit}.profile-field-label input[type=file]{padding:8px 10px}.profile-field-label small{color:#64748b;font-weight:500}.profile-audio-dropzone{display:grid;place-items:center;gap:8px;min-height:170px;margin-top:8px;padding:20px;border:1px dashed #9ec5ff;border-radius:12px;background:#fff;color:#334155;text-align:center;cursor:pointer;transition:border-color .16s ease,background-color .16s ease}.profile-audio-dropzone.is-dragging{border-color:#1677ff;background:#f0f7ff}.profile-audio-dropzone input{display:none}.profile-audio-dropzone svg{width:36px;height:36px;color:#1677ff}.profile-audio-dropzone strong{max-width:100%;overflow-wrap:anywhere}.profile-audio-dropzone small{color:#8c8c8c;font-size:12px}.profile-create-voice-button{width:100%}.profile-settings-dialog{display:grid;gap:16px;width:min(520px,calc(100vw - 32px));max-height:min(760px,calc(100dvh - 32px));overflow-y:auto}.profile-settings-dialog.profile-voice-dialog{width:min(900px,calc(100vw - 32px))}.profile-voice-dialog .profile-voice-create-card{gap:14px;padding:16px}.profile-voice-dialog .profile-audio-dropzone{min-height:136px;padding:16px}.profile-voice-dialog .profile-audio-dropzone svg{width:30px;height:30px}.profile-preference-dialog{width:min(600px,calc(100vw - 32px))}.profile-dialog-actions{display:flex;justify-content:flex-end;gap:10px;padding-top:4px}.profile-option-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.profile-option-grid.is-single-column{grid-template-columns:1fr}.profile-choice-option{display:grid;grid-template-columns:20px minmax(0,1fr);align-items:center;gap:10px;min-height:54px;padding:10px 12px;border:1px solid #e2e8f0;border-radius:11px;cursor:pointer}.profile-choice-option input[type=checkbox],.profile-choice-option input[type=radio]{width:18px;min-width:18px;height:18px;margin:0;padding:0;flex:0 0 auto}.profile-choice-option>strong,.profile-choice-option>span{min-width:0;text-align:left}.profile-choice-option:has(input:checked){border-color:#1677ff7a;background:#f3f8ff}.profile-choice-option span{display:grid;gap:3px}.profile-choice-option small{color:#8c8c8c}.profile-memory-note{display:grid;grid-template-columns:42px minmax(0,1fr);align-items:start;gap:12px;padding:16px;border-radius:12px;background:#f0fbf7;color:#334155}.profile-memory-note svg{width:32px;height:32px;color:#059669}.profile-memory-note p{margin:0;font-size:14px;line-height:1.7}.status-toast{position:absolute;right:34px;top:84px;z-index:10;max-width:420px;padding:12px 16px;border:1px solid var(--line);border-radius:16px;background:#fffffff5;box-shadow:var(--shadow-md);color:var(--navy)}.status-toast.is-loading{top:138px}.status-toast.success{border-color:#2e7d323d;background:#effaf1f5;color:#1f7a3a}@media(max-width:1180px){.profile-config-grid,.profile-voice-layout{grid-template-columns:1fr}.profile-identity-layout{grid-template-columns:minmax(220px,.8fr) minmax(260px,1.2fr)}}@media(max-width:760px){.profile-config-page{gap:16px;padding-right:0}.profile-page-header,.profile-header-actions,.profile-identity-main,.profile-voice-card-actions{align-items:stretch;flex-direction:column}.profile-header-actions{width:100%}.profile-config-card{padding:18px}.profile-identity-layout,.profile-preference-row,.profile-voice-card{grid-template-columns:1fr}.profile-identity-main{align-items:center;text-align:center}.profile-name-line{justify-content:center}.profile-preference-row{justify-items:start}.profile-preference-value{max-width:100%;text-align:left}.profile-preference-arrow{display:none}.profile-voice-card-actions,.profile-voice-card-actions .secondary-button,.profile-voice-delete{width:100%}.profile-option-grid{grid-template-columns:1fr}}.modal-backdrop{position:fixed;inset:0;z-index:30;display:grid;place-items:center;padding:24px;background:#0f172a5c;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.chapter-editor-dialog{width:min(620px,100%);display:grid;gap:16px;padding:24px;border-radius:22px;border:1px solid var(--line);background:#fff;box-shadow:var(--shadow-lg)}.chapter-editor-dialog label{display:grid;gap:8px;color:var(--ink-muted);font-weight:800}.chapter-editor-dialog textarea{min-height:120px}.dialog-actions{display:flex;justify-content:flex-end;gap:12px}.modal-card{width:min(560px,100%);display:grid;gap:16px;padding:24px;border:1px solid var(--line);border-radius:22px;background:#fff;box-shadow:var(--shadow-lg)}.modal-card.resource-preview-dialog{width:min(1280px,calc(100vw - 48px));max-width:none}.modal-card.resource-preview-dialog.html-preview{width:min(1360px,calc(100vw - 48px));height:auto}.modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.modal-head h3{margin:0}.modal-head p{margin:6px 0 0;color:var(--ink-soft)}.ghost-icon-button{width:34px;height:34px;border:0;border-radius:999px;background:#26324514;color:var(--ink);cursor:pointer;font-size:20px;line-height:1}.modal-actions{display:flex;justify-content:flex-end;gap:10px}.lesson-plan-dialog{width:min(920px,calc(100vw - 48px));max-height:min(760px,calc(100vh - 48px));grid-template-rows:auto minmax(0,1fr)}.lesson-plan-dialog-actions{display:inline-flex;align-items:center;gap:8px;flex:0 0 auto}.lesson-plan-copy-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:76px;height:34px;padding:0 12px;border:0;border-radius:999px;background:#0066cc1a;color:var(--primary);cursor:pointer;font-size:13px;font-weight:800;transition:background .14s ease,color .14s ease,opacity .14s ease}.lesson-plan-copy-button:hover:not(:disabled){background:var(--primary);color:#fff}.lesson-plan-copy-button:disabled{opacity:.42;cursor:not-allowed}.lesson-plan-copy-button.copied{background:#ecfdf5;color:#047857}.lesson-plan-copy-button.failed{background:#fff1f2f5;color:#be123c}.lesson-plan-copy-button svg{width:15px;height:15px;flex:0 0 15px}.lesson-plan-dialog-body{min-height:320px;overflow:auto;border:1px solid rgba(15,23,42,.08);border-radius:12px;background:#f8fafc}.lesson-plan-markdown{margin:0;padding:20px;word-break:break-word;color:#172033;font-size:15px;line-height:1.78}.lesson-plan-markdown>:first-child{margin-top:0}.lesson-plan-markdown>:last-child{margin-bottom:0}.lesson-plan-markdown h2{margin:24px 0 12px;color:#0f172a;font-size:20px;line-height:1.35}.lesson-plan-markdown h3{margin:20px 0 10px;color:#1e293b;font-size:17px;line-height:1.4}.lesson-plan-markdown p{margin:10px 0}.lesson-plan-markdown ul,.lesson-plan-markdown ol{margin:10px 0;padding-left:24px}.lesson-plan-markdown li{margin:5px 0}.lesson-plan-markdown strong{color:#0f172a;font-weight:800}.lesson-plan-markdown table{width:100%;margin:14px 0;border-collapse:collapse;overflow-wrap:anywhere;background:#fff}.lesson-plan-markdown th,.lesson-plan-markdown td{padding:9px 10px;border:1px solid rgba(15,23,42,.12);text-align:left;vertical-align:top}.lesson-plan-markdown th{background:#0066cc0f;color:#0f172a;font-weight:800}.lesson-plan-markdown code{padding:2px 5px;border-radius:5px;background:#0f172a14;color:#0f172a;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;font-size:.92em}.lesson-plan-markdown pre{overflow:auto;margin:12px 0;padding:12px;border-radius:10px;background:#0f172a;color:#e2e8f0}.lesson-plan-markdown pre code{padding:0;background:transparent;color:inherit}.lesson-plan-state{min-height:320px;display:flex;align-items:center;justify-content:center;gap:10px;padding:24px;color:var(--primary);font-size:15px;font-weight:800}.lesson-plan-state svg{width:20px;height:20px;flex:0 0 20px}.lesson-plan-state .is-spinning{animation:course-preview-toast-spin .9s linear infinite}.lesson-plan-state.error{color:#be123c}.lesson-plan-state.muted{color:#64748b}.course-category-dialog{width:min(880px,calc(100vw - 48px));gap:28px;padding:34px;border-radius:28px}.course-category-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.course-category-dialog-head h2{margin:0;color:var(--ink);font-size:28px;line-height:1.25}.course-category-dialog-head p{margin:10px 0 0;color:var(--ink-muted);font-size:16px;font-weight:700}.course-category-dialog-head .icon-button{width:40px;height:40px;border:0;border-radius:999px;background:transparent;color:var(--ink-soft);cursor:pointer;font-size:30px;line-height:1}.course-category-dialog-head .icon-button:hover{background:#0f172a0f;color:var(--ink)}.course-category-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}.course-category-card{min-height:420px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;padding:34px 32px;border:2px solid rgba(147,197,253,.64);border-radius:18px;background:linear-gradient(180deg,#eff6ffeb,#fffffffa);color:var(--ink);cursor:pointer;text-align:center;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}.course-category-card:hover,.course-category-card:focus-visible{border-color:#60a5fa;box-shadow:0 18px 42px #2563eb29;outline:none;transform:translateY(-2px)}.course-category-card.literacy{border-color:#bbf7d0e6;background:linear-gradient(180deg,#f0fdf4eb,#fffffffa)}.course-category-card.literacy:hover,.course-category-card.literacy:focus-visible{border-color:#86efac;box-shadow:0 18px 42px #16a34a24}.course-category-visual{width:128px;height:128px;display:grid;place-items:center;border-radius:50%;background:#dbeafedb;color:var(--primary);font-size:28px;font-weight:900;letter-spacing:0}.course-category-visual svg{width:62px;height:62px;stroke-width:2.2}.course-category-card.literacy .course-category-visual{background:#dcfce7e6;color:#16a34a}.course-category-card strong{font-size:26px;line-height:1.25}.course-category-card p,.course-category-card em{max-width:330px;margin:0;color:var(--ink-muted);font-size:16px;font-style:normal;font-weight:700;line-height:1.75}.course-category-card em{color:var(--ink-soft)}.course-category-tags{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;margin-top:8px}.course-category-tags i{min-width:74px;padding:8px 14px;border-radius:12px;background:#dbeafee6;color:var(--primary);font-style:normal;font-weight:900;line-height:1}.course-category-card.literacy .course-category-tags i{background:#dcfce7f2;color:#16a34a}.course-category-dialog .dialog-actions{justify-content:center}.course-category-dialog .dialog-actions .secondary-button{min-width:140px}@media(max-width:760px){.course-category-dialog{width:min(100%,calc(100vw - 24px));max-height:calc(100vh - 24px);overflow:auto;padding:24px}.course-category-options{grid-template-columns:1fr;gap:18px}.course-category-card{min-height:0;padding:26px 20px}.course-category-visual{width:96px;height:96px;font-size:22px}.course-category-visual svg{width:48px;height:48px}.course-category-card strong{font-size:22px}}.delete-course-dialog{width:min(520px,100%)}.delete-course-summary{display:grid;gap:8px;padding:16px;border-radius:20px;background:#fff1f2;color:var(--ink)}.delete-course-summary span{color:var(--ink-soft);font-size:13px;font-weight:900}.delete-course-summary strong{font-size:20px}.delete-course-summary p{margin:0;color:var(--ink-muted)}.delete-course-reason{padding:16px;border:1px solid rgba(180,35,24,.22);border-radius:20px;background:#b4231814;color:#b42318;font-weight:800;line-height:1.7}.danger-message{border-color:#b4231838;background:#b4231814;color:#b42318}.danger-confirm-button{border-color:#b42318;background:#b42318}.regenerate-dialog{width:min(520px,100%);display:grid;gap:16px;padding:24px;border-radius:22px;border:1px solid var(--line);background:#fff;box-shadow:var(--shadow-lg)}.regenerate-dialog .section-head p{margin:4px 0 0;color:var(--ink-muted);font-size:14px}.regenerate-dialog textarea{min-height:132px;padding:12px;border-radius:14px;border:1px solid var(--line);font:inherit;resize:vertical;background:var(--bg)}.regenerate-dialog textarea:focus{border-color:var(--primary);outline:none}.generation-progress-page{min-height:calc(100vh - 120px);display:grid;place-items:center;background:transparent}.generation-progress-card{width:min(820px,100%);display:grid;gap:18px;padding:34px;border-radius:34px;border:1px solid var(--line);background:linear-gradient(180deg,#e6f3ffb8,#ffffffeb),var(--paper);box-shadow:var(--shadow-lg)}.generation-status-badge{justify-self:start;padding:8px 14px;border-radius:999px;background:var(--primary-light);color:var(--primary);font-weight:900;letter-spacing:.04em}.generation-status-badge.failed{background:#d144241f;color:#b42318}.generation-progress-meter{height:16px;overflow:hidden;border-radius:999px;background:var(--primary-light)}.generation-progress-fill{height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--primary),#38bdf8);transition:width .35s ease}.generation-progress-meta{display:flex;justify-content:space-between;gap:18px;color:var(--ink-muted)}.generation-progress-meta strong{color:var(--navy);font-size:24px}.generation-step-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:12px}.generation-step{display:grid;gap:8px;padding:14px;border-radius:18px;border:1px solid var(--line);background:#ffffff80;color:var(--ink-faint)}.generation-step span{width:28px;height:28px;display:grid;place-items:center;border-radius:10px;background:var(--primary-light);color:var(--primary);font-weight:900}.generation-step.active{color:var(--primary);border-color:#0066cc47;background:var(--primary-light)}.generation-step.running{border-color:#0066cc47;background:var(--primary-light);color:var(--primary)}.generation-step.success{border-color:#05966942;background:#ecfdf5;color:#047857}.generation-step.failed{border-color:#b4231838;background:#fff1f2;color:#b42318}.generation-step small{color:var(--ink-muted);font-size:12px;line-height:1.45}@media(max-width:1420px){.course-card-grid,.ai-tool-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.lecture-preview-layout{grid-template-columns:220px minmax(0,1fr);grid-template-areas:"rail stage" "rail tools"}.editor-side-panel{grid-area:tools}}@media(max-width:1180px){body{min-width:0;overflow:auto}.auth-shell,.app.qiwang-app,.course-create-shell,.resource-library-shell,.profile-layout,.lecture-preview-layout{grid-template-columns:1fr}.lecture-preview-layout,.lecture-preview-layout.preview-focused{grid-template-areas:"rail" "stage" "tools"}.scene-rail{position:static;max-height:none}.scene-list{max-height:320px}.profile-voice-form,.profile-voice-item{grid-template-columns:1fr}.profile-voice-actions{justify-content:flex-start}.resource-file-row{grid-template-columns:46px minmax(0,1fr)}.resource-file-badge,.resource-file-actions{grid-column:2;justify-content:flex-start}.resource-file-actions{flex-wrap:wrap}.resource-search-actions,.resource-dialog-action-grid{grid-template-columns:1fr}.resource-type-filter .course-filter-options{width:100%}.course-create-card-main,.course-inline-fields,.course-create-page .choice-card-grid{grid-template-columns:1fr}.course-create-steps{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.course-create-steps li:not(:last-child):after{display:none}.course-cover-dropzone{aspect-ratio:16 / 9;height:auto;min-height:180px}.course-create-actions{padding-inline:0}.course-create-submit{width:100%}.resource-preview-dialog{width:calc(100vw - 24px);height:min(88dvh,calc(100dvh - 24px));max-height:calc(100dvh - 24px);padding:12px}.modal-card.resource-preview-dialog,.modal-card.resource-preview-dialog.html-preview{width:calc(100vw - 24px)}.resource-preview-html-stage{min-height:0;max-height:calc(100dvh - 120px)}.preview-tools-panel{grid-template-columns:1fr}.app.qiwang-app{height:auto}.qiwang-sidebar{position:static}.auth-shell,.app.qiwang-app{padding:12px}.qiwang-sidebar,.section-block,.metric-card,.course-gallery-card,.resource-directory-panel,.resource-browser-panel,.profile-card-block{border-radius:16px}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.fixed{position:fixed}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.hidden{display:none}.h-3{height:.75rem}.h-5{height:1.25rem}.w-3{width:.75rem}.w-5{width:1.25rem}.flex-1{flex:1 1 0%}.shrink-0{flex-shrink:0}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.cursor-pointer{cursor:pointer}.items-center{align-items:center}.justify-center{justify-content:center}.gap-\[10px\]{gap:10px}.rounded-md{border-radius:.375rem}.border-2{border-width:2px}.border-\[var\(--line-strong\)\]{border-color:var(--line-strong)}.border-primary{--tw-border-opacity: 1;border-color:rgb(0 102 204 / var(--tw-border-opacity, 1))}.bg-primary{--tw-bg-opacity: 1;background-color:rgb(0 102 204 / var(--tw-bg-opacity, 1))}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.text-\[13px\]{font-size:13px}.font-medium{font-weight:500}.text-\[var\(--ink-soft\)\]{color:var(--ink-soft)}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.overline{text-decoration-line:overline}.outline{outline-style:solid}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}
