:root{font-size:16px;color-scheme:dark;--bg:#0a0c0f;--bg-soft:#14171c;--card:rgba(255,255,255,0.04);--card-hover:rgba(255,255,255,0.065);--line:rgba(255,255,255,0.09);--line-strong:rgba(201,166,107,0.32);--text:#f4f1eb;--muted:#8e8e93;--gold:#c9a66b;--gold-soft:rgba(201,166,107,0.11);--red:#de5c5c;--red-bg:rgba(222,92,92,0.14);--green:#55c58a;--sidebar-bg:#111419;--field-bg:rgba(255,255,255,0.035);--row-hover:rgba(255,255,255,0.025);--subtle-bg:rgba(255,255,255,0.02);--deep-bg:#050607;--image-bg:#191c20;--decorative:rgba(255,255,255,0.055);--placeholder:#606268;--text-soft:#c7c3bc;--shadow:rgba(0,0,0,0.28);--login-atmosphere:rgba(255,255,255,0.018)}:root[data-theme=light]{color-scheme:light;--bg:#f7f7f5;--bg-soft:#ffffff;--card:#ffffff;--card-hover:#fbf8f1;--line:rgba(31,34,39,0.12);--line-strong:rgba(157,113,48,0.38);--text:#1c1f24;--muted:#686b72;--gold:#9d7130;--gold-soft:rgba(157,113,48,0.1);--red:#b44343;--red-bg:rgba(180,67,67,0.1);--green:#287b50;--sidebar-bg:#ffffff;--field-bg:#ffffff;--row-hover:rgba(31,34,39,0.035);--subtle-bg:rgba(31,34,39,0.025);--deep-bg:#eef0f2;--image-bg:#e8eaed;--decorative:rgba(31,34,39,0.08);--placeholder:#92959a;--text-soft:#555960;--shadow:rgba(31,34,39,0.12);--login-atmosphere:rgba(31,34,39,0.025)}*{box-sizing:border-box}body,html{min-height:100%}body{margin:0;background:var(--bg);color:var(--text);font-family:-apple-system,BlinkMacSystemFont,SF Pro Display,PingFang SC,Microsoft YaHei,sans-serif;-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit}a,button{color:inherit}::-webkit-scrollbar{width:7px;height:7px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{border-radius:4px;background:var(--line-strong)}.platform-layout{--platform-header-height:56px;--platform-footer-height:clamp(36px,5.5dvh,50px);display:flex;height:100vh;overflow:hidden}.platform-sidebar{position:relative;flex:0 0 auto;display:flex;flex-direction:column;overflow:hidden;border-right:1px solid var(--line);background:var(--sidebar-bg);transition:width .22s ease}.sidebar-resize{position:absolute;z-index:5;top:0;right:-3px;width:6px;height:100%;cursor:col-resize}.sidebar-resize:hover{background:rgba(201,166,107,.3)}.platform-brand{height:var(--platform-header-height);display:flex;align-items:center;gap:8px;flex:0 0 auto;padding:0 18px;border:0;border-bottom:1px solid var(--line);background:transparent;cursor:pointer;white-space:nowrap}.is-collapsed .platform-brand{justify-content:center;padding:0}.m77-logo{display:block;width:auto;height:auto;filter:invert(1) brightness(1.08);object-fit:contain;-webkit-user-select:none;-moz-user-select:none;user-select:none}:root[data-theme=light] .m77-logo{filter:none}.sidebar-brand-logo{width:58px;max-height:34px;flex:0 0 auto}.is-collapsed .sidebar-brand-logo{width:42px}.platform-nav{flex:1 1;overflow-y:auto;padding:12px 8px}.nav-group+.nav-group{margin-top:15px}.nav-label{margin:0 10px 7px;color:var(--muted);font-size:.625rem;font-weight:700;letter-spacing:1.4px;text-transform:uppercase}.nav-link{width:100%;min-height:42px;display:flex;align-items:center;gap:11px;margin:2px 0;padding:0 12px;border:0;border-radius:9px;background:transparent;color:var(--muted);cursor:pointer;font-size:.8125rem;text-align:left;text-decoration:none;transition:.18s ease}.is-collapsed .nav-link{justify-content:center;padding:0}.nav-link:hover{background:var(--card-hover);color:var(--text)}.nav-link.is-active{background:var(--gold-soft);color:var(--gold)}.nav-icon{width:20px;flex:0 0 auto;color:currentColor;font-size:.875rem;text-align:center}.platform-user{height:var(--platform-footer-height);min-height:var(--platform-footer-height);display:flex;align-items:center;justify-content:space-between;gap:10px;padding:clamp(3px,.6dvh,6px) 10px;border-top:1px solid var(--line)}.is-collapsed .platform-user{justify-content:center;padding:clamp(3px,.6dvh,6px) 0}.platform-user div{min-width:0;display:grid;grid-gap:3px;gap:3px}.platform-user strong{overflow:hidden;font-size:.75rem;font-weight:600;text-overflow:ellipsis;white-space:nowrap}.platform-user span{color:var(--muted);font-size:.625rem}.platform-user button{padding:6px 10px;border:1px solid var(--line);border-radius:6px;background:transparent;color:var(--muted);cursor:pointer;font-size:.6875rem}.platform-user button:hover{border-color:var(--gold);color:var(--gold)}.platform-main{min-width:0;flex:1 1;display:flex;flex-direction:column;background:var(--bg)}.platform-topbar{height:var(--platform-header-height);min-height:var(--platform-header-height);display:flex;align-items:center;justify-content:space-between;gap:18px;flex:0 0 var(--platform-header-height);padding:0 22px;border-bottom:1px solid var(--line);background:color-mix(in srgb,var(--bg) 88%,transparent);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.platform-topbar>div{display:flex;align-items:baseline;gap:9px}.platform-topbar>div span{color:var(--gold);font-size:.6875rem;font-weight:850;letter-spacing:1.5px}.platform-topbar>div strong{color:var(--muted);font-size:.6875rem;font-weight:550;letter-spacing:.6px}.platform-content{min-width:0;min-height:0;flex:1 1;display:flex;flex-direction:column;overflow:auto;background:var(--bg)}.platform-content-body{min-width:0;flex:1 0 auto}.site-footer{position:relative;z-index:1;width:100%;min-height:var(--platform-footer-height,clamp(36px,5.5dvh,50px));display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:4px 9px;margin:0 auto;padding:clamp(4px,.7dvh,7px) 18px calc(clamp(4px, .7dvh, 7px) + env(safe-area-inset-bottom));border-top:1px solid var(--line);color:var(--muted);font-size:.625rem;line-height:1.7;text-align:center}.site-footer a{color:inherit;text-decoration:none;transition:color .18s ease}.site-footer a:hover{color:var(--gold)}.site-footer-separator{color:var(--line-strong)}.theme-toggle{width:38px;min-height:38px;display:inline-grid;place-items:center;padding:0;border:1px solid var(--line);border-radius:50%;background:var(--card);color:var(--gold);cursor:pointer;transition:.18s ease}.theme-toggle:hover{border-color:var(--gold);background:var(--gold-soft);transform:translateY(-1px)}.theme-toggle svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.login-theme-toggle{position:absolute;z-index:4;top:20px;right:22px}.app-loading{min-height:100vh;display:flex;align-items:center;justify-content:center;gap:12px;color:var(--muted);font-size:.8125rem}.app-loading span{width:17px;height:17px;border:2px solid rgba(201,166,107,.2);border-top:2px solid var(--gold);border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(1turn)}}.page-shell{width:min(1320px,calc(100% - 56px));margin:0 auto;padding:34px 0 60px}.page-title-row{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:24px}.page-title-row h1{margin:0;font-size:1.5625rem;font-weight:600}.page-title-row p{margin:7px 0 0;color:var(--muted);font-size:.8125rem;line-height:1.6}.danger-button,.ghost-button,.primary-button,.small-button{min-height:38px;padding:0 16px;border-radius:8px;cursor:pointer;font-size:.75rem;font-weight:650;transition:.18s}.primary-button{border:1px solid var(--gold);background:var(--gold);color:#15120d}.ghost-button,.small-button{border:1px solid var(--line);background:transparent;color:var(--muted)}.danger-button{border:1px solid rgba(222,92,92,.3);background:var(--red-bg);color:var(--red)}.danger-button:hover,.ghost-button:hover,.primary-button:hover,.small-button:hover{filter:brightness(1.08)}.ghost-button:hover,.small-button:hover{border-color:var(--gold);color:var(--gold)}button:disabled{cursor:not-allowed!important;opacity:.45}.field,.select-field,.text-area{min-height:40px;border:1px solid var(--line);border-radius:8px;outline:none;background:var(--field-bg);color:var(--text);font-size:.8125rem}.field,.select-field{padding:0 12px}.text-area{min-height:94px;padding:12px;resize:vertical;line-height:1.6}.field:focus,.select-field:focus,.text-area:focus{border-color:var(--gold);box-shadow:0 0 0 3px rgba(201,166,107,.08)}.field::placeholder,.text-area::placeholder{color:var(--placeholder)}.panel{border:1px solid var(--line);border-radius:13px}.inline-form,.panel{background:var(--card)}.inline-form{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-bottom:16px;padding:16px;border:1px solid var(--line);border-radius:11px}.message{margin:14px 0;padding:12px 14px;border:1px solid var(--line);border-radius:9px;color:var(--muted);font-size:.75rem;line-height:1.5}.message.error{border-color:rgba(222,92,92,.3);background:var(--red-bg);color:#ee9a9a}.message.success{border-color:rgba(85,197,138,.25);background:rgba(85,197,138,.08);color:#7ad6a8}.empty-box{padding:48px 20px;color:var(--muted);font-size:.8125rem;text-align:center}.table-panel{overflow:auto;border:1px solid var(--line);border-radius:12px;background:var(--card)}.data-table{width:100%;border-collapse:collapse}.data-table th{padding:12px 16px;background:var(--subtle-bg);color:var(--muted);font-size:.6875rem;font-weight:600;letter-spacing:.5px;text-align:left;white-space:nowrap}.data-table td,.data-table th{border-bottom:1px solid var(--line)}.data-table td{padding:13px 16px;font-size:.8125rem}.data-table tr:last-child td{border-bottom:0}.data-table tbody tr{transition:.16s}.data-table tbody tr:hover{background:var(--row-hover)}.table-actions{display:flex;gap:7px}.role-tag,.status-tag{display:inline-flex;padding:4px 9px;border-radius:999px;border:1px solid var(--line);color:var(--muted);font-size:.625rem}.status-tag.active,.status-tag.published{border-color:rgba(201,166,107,.25);background:var(--gold-soft);color:var(--gold)}@media (max-width:760px){.page-shell{width:min(100% - 26px,1320px);padding-top:24px}.page-title-row{align-items:stretch;flex-direction:column}.platform-sidebar{width:56px!important}.platform-brand{height:var(--platform-header-height)}.platform-user{min-height:var(--platform-footer-height)}}.learning-room{height:100%;display:flex;overflow:hidden;background:var(--deep-bg)}.learning-stage{min-width:0;flex:1 1;display:flex;flex-direction:column}.learning-video{min-height:0;width:100%;flex:1 1;background:#000}.course-document-stage{min-height:0;flex:1 1;display:flex;flex-direction:column;background:#dfe2e5}.course-document-stage>header{min-height:58px;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:9px 18px;border-bottom:1px solid var(--line);background:var(--bg-soft)}.course-document-stage>header>div{min-width:0;display:grid;grid-gap:3px;gap:3px}.course-document-stage>header span{color:var(--gold);font-size:.5625rem;font-weight:700;letter-spacing:1px}.course-document-stage>header strong{overflow:hidden;font-size:.75rem;font-weight:550;text-overflow:ellipsis;white-space:nowrap}.course-document-stage>header a{height:32px;display:inline-flex;align-items:center;justify-content:center;padding:0 10px;flex:0 0 auto;border:1px solid var(--line);border-radius:7px;background:var(--field-bg);color:var(--text-soft);font-size:.6875rem;text-decoration:none}.course-document-stage>iframe{min-height:0;width:100%;flex:1 1;border:0;background:#dfe2e5}.course-document-fallback a{padding:8px 13px;border-radius:7px;background:var(--gold);color:#15120d;font-size:.625rem;font-weight:700;text-decoration:none}.course-document-fallback{flex:1 1;display:grid;place-content:center;justify-items:center;grid-gap:10px;gap:10px;color:var(--muted);text-align:center}.course-document-fallback>span{color:var(--gold);font-size:2.125rem}.course-document-fallback strong{max-width:min(560px,80vw);overflow:hidden;color:var(--text);font-size:.875rem;text-overflow:ellipsis;white-space:nowrap}.course-document-fallback p{margin:0;font-size:.6875rem}.course-image-reader{min-height:0;flex:1 1;display:flex;flex-direction:column;background:#dfe2e5}.course-image-reader>header{min-height:58px;display:flex;align-items:center;gap:12px;padding:9px 18px;border-bottom:1px solid var(--line);background:var(--bg-soft)}.course-image-reader>header span{color:var(--gold);font-size:.5625rem;font-weight:700;letter-spacing:1px}.course-image-reader>header strong{min-width:0;overflow:hidden;flex:1 1;font-size:.75rem;font-weight:550;text-overflow:ellipsis;white-space:nowrap}.course-image-reader>header a{min-height:32px;display:inline-flex;align-items:center;padding:0 10px;border:1px solid var(--line);border-radius:7px;background:var(--field-bg);color:var(--text-soft);font-size:.6875rem;text-decoration:none}.course-image-reader>div{min-height:0;flex:1 1;display:grid;place-items:center;overflow:auto;padding:24px}.course-image-reader img{display:block;max-width:100%;max-height:100%;object-fit:contain;box-shadow:0 12px 34px rgba(24,27,30,.2)}.video-empty{flex:1 1;display:grid;place-content:center;justify-items:center;grid-gap:14px;gap:14px;color:var(--muted);font-size:.8125rem}.video-empty span{width:52px;height:52px;display:grid;place-items:center;border:1px solid var(--line);border-radius:50%;color:var(--gold)}.learning-resources{position:relative;flex:0 0 auto;border-top:1px solid var(--line);background:var(--bg-soft)}.learning-resources:not(.is-open){height:45px}.resource-resize{position:absolute;z-index:3;top:-3px;left:0;right:0;height:6px;cursor:row-resize}.resource-resize:hover{background:rgba(201,166,107,.28)}.resource-toggle{height:44px;display:flex;align-items:center;gap:9px;padding:0 22px;border:0;background:transparent;color:var(--muted);cursor:pointer;font-size:.75rem}.resource-toggle span{color:var(--gold);font-size:.5rem}.resource-content{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:0 22px 14px}.document-links{display:flex;flex-wrap:wrap;gap:7px}.document-links button{padding:6px 10px;border:1px solid rgba(201,166,107,.28);border-radius:6px;background:var(--gold-soft);color:var(--gold);cursor:pointer;font-size:.625rem}.document-links button.is-active{background:var(--gold);color:#15120d}.document-links>span{color:var(--muted);font-size:.6875rem}.quiz-entry{flex:0 0 auto;padding:8px 14px;border-radius:7px;background:var(--gold);color:#15120d;font-size:.6875rem;font-weight:700;text-decoration:none}.chapter-sidebar,.document-viewer{position:relative;flex:0 0 auto;display:flex;flex-direction:column;border-left:1px solid var(--line);background:var(--sidebar-bg)}.side-resize{position:absolute;z-index:4;top:0;left:-3px;width:6px;height:100%;cursor:col-resize}.side-resize:hover{background:rgba(201,166,107,.28)}.chapter-sidebar>header{display:flex;align-items:center;gap:9px;padding:20px 18px 8px}.chapter-sidebar>header button{width:27px;height:27px;display:grid;place-items:center;flex:0 0 auto;border:1px solid var(--line);border-radius:6px;background:transparent;color:var(--muted);cursor:pointer;font-size:.5625rem}.chapter-sidebar h1{min-width:0;overflow:hidden;margin:0;font-size:.9375rem;font-weight:600;text-overflow:ellipsis;white-space:nowrap}.chapter-sidebar>p{margin:0;padding:4px 18px 15px;color:var(--muted);font-size:.6875rem;line-height:1.55}.chapter-items{flex:1 1;overflow-y:auto;border-top:1px solid var(--line)}.chapter-sidebar-directory>button{width:100%;min-height:62px;display:flex;align-items:center;gap:10px;padding:10px 15px;border:0;border-bottom:1px solid var(--line);background:transparent;color:var(--text);cursor:pointer;text-align:left}.chapter-sidebar-directory>button:hover{background:var(--row-hover)}.chapter-sidebar-directory>button.is-active{background:var(--gold-soft);box-shadow:inset 3px 0 var(--gold)}.chapter-number{width:25px;height:25px;display:grid;place-items:center;flex:0 0 auto;border-radius:50%;background:var(--decorative);color:var(--muted);font-size:.625rem}.is-active .chapter-number{background:var(--gold);color:#15120d}.chapter-name{min-width:0;flex:1 1;overflow:hidden;font-size:.75rem;text-overflow:ellipsis;white-space:nowrap}.chapter-progress{width:58px;display:grid;grid-gap:5px;gap:5px;color:var(--muted);font-size:.5625rem;text-align:right}.chapter-progress i{height:3px;overflow:hidden;border-radius:3px;background:var(--decorative)}.chapter-progress b{height:100%;display:block;border-radius:3px;background:var(--gold)}.chapter-rail{width:39px;display:flex;align-items:center;flex-direction:column;gap:10px;flex:0 0 auto;padding:18px 0;border:0;border-left:1px solid var(--line);background:var(--sidebar-bg);color:var(--muted);cursor:pointer}.chapter-rail span{font-size:.625rem}.chapter-rail strong{writing-mode:vertical-rl;font-size:.625rem;font-weight:500;letter-spacing:2px}.document-viewer>header{min-height:60px;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 18px;border-bottom:1px solid var(--line)}.document-viewer h2{min-width:0;overflow:hidden;margin:0;font-size:.8125rem;font-weight:550;text-overflow:ellipsis;white-space:nowrap}.document-viewer header button{width:28px;height:28px;border:1px solid var(--line);border-radius:6px;background:transparent;color:var(--muted);cursor:pointer}.document-body{min-height:0;flex:1 1;display:flex}.document-body iframe{width:100%;flex:1 1;border:0;background:#fff}.document-image-preview{width:100%;min-height:0;display:grid;place-items:center;overflow:auto;padding:18px;background:#dfe2e5}.document-image-preview img{display:block;max-width:100%;max-height:100%;object-fit:contain;box-shadow:0 8px 24px rgba(24,27,30,.18)}.document-body pre{width:100%;overflow:auto;margin:0;padding:18px;color:var(--text-soft);font:12px/1.75 inherit;white-space:pre-wrap;word-break:break-word}.unsupported-document{margin:auto;color:var(--muted);text-align:center;font-size:.75rem}.unsupported-document a{display:inline-block;margin-top:8px;color:var(--gold)}@media (max-width:800px){.chapter-sidebar{width:min(280px,42vw)!important}.document-viewer{width:min(520px,55vw)!important}}.quiz-shell{width:min(820px,calc(100% - 40px));margin:0 auto;padding:42px 0 70px}.quiz-shell>.message{position:relative}.quiz-shell>.message button{position:absolute;top:6px;right:8px;border:0;background:transparent;color:currentColor;cursor:pointer}.quiz-hub{padding:40px 0;text-align:center}.quiz-hub h1{margin:0;font-family:Georgia,Songti SC,serif;font-size:1.875rem;font-weight:500}.quiz-hub>p{margin:9px 0 34px;color:var(--muted);font-size:.75rem}.quiz-hub-grid{display:grid;grid-template-columns:repeat(2,1fr);grid-gap:14px;gap:14px}.quiz-hub-grid button{position:relative;min-height:160px;display:grid;align-content:center;justify-items:start;grid-gap:7px;gap:7px;overflow:hidden;padding:25px;border:1px solid var(--line);border-radius:13px;background:var(--card);color:var(--text);cursor:pointer;text-align:left;transition:.2s}.quiz-hub-grid button:hover{transform:translateY(-2px);border-color:var(--line-strong);background:var(--card-hover)}.quiz-hub-grid button.accent{border-color:rgba(201,166,107,.3);background:var(--gold-soft)}.quiz-hub-grid button>span{position:absolute;top:16px;right:18px;color:var(--decorative);font-family:Georgia,serif;font-size:2.625rem}.quiz-hub-grid strong{font-size:.9375rem}.quiz-hub-grid small{max-width:180px;color:var(--muted);font-size:.6875rem;line-height:1.55}.quiz-view>header{display:flex;align-items:center;gap:12px;margin-bottom:22px}.quiz-view>header button{padding:7px 12px;border:1px solid var(--line);border-radius:7px;background:transparent;color:var(--muted);cursor:pointer;font-size:.6875rem}.quiz-view>header h1{margin:0;font-size:1.1875rem;font-weight:600}.quiz-view>header>span{margin-left:auto;color:var(--muted);font-size:.6875rem}.record-list{display:grid;grid-gap:8px;gap:8px}.record-list>button{min-height:57px;display:flex;align-items:center;gap:14px;padding:0 17px;border:1px solid var(--line);border-radius:9px;background:var(--card);color:var(--text);cursor:pointer;text-align:left}.record-list>button:hover{border-color:var(--line-strong)}.record-list button>span,.record-list time{color:var(--muted);font-size:.6875rem}.record-list time{flex:1 1}.record-list strong{font-size:.875rem}.record-list strong.good{color:var(--green)}.record-list strong.ok{color:var(--gold)}.record-list strong.bad{color:#ef7b7b}.record-list i{color:var(--muted);font-size:1.25rem;font-style:normal}.bank-list{display:grid;grid-gap:10px;gap:10px}.bank-list article{padding:20px;border:1px solid var(--line);border-radius:11px;background:var(--card)}.bank-meta{display:flex;align-items:center;gap:8px;margin-bottom:12px}.bank-meta span{width:25px;height:25px;display:grid;place-items:center;border-radius:50%;background:var(--decorative);color:var(--muted);font-size:.625rem}.bank-meta b,.bank-meta i{padding:3px 8px;border-radius:999px;background:var(--gold-soft);color:var(--gold);font-size:.5625rem;font-style:normal;font-weight:600}.bank-meta i{background:rgba(85,197,138,.1);color:var(--green)}.bank-list h2{margin:0 0 11px;font-size:.875rem;font-weight:550;line-height:1.6}.bank-list p{margin:5px 0;padding:7px 10px;border-radius:6px;background:var(--subtle-bg);color:var(--muted);font-size:.6875rem;line-height:1.5}.bank-list p.correct{background:rgba(85,197,138,.06);color:var(--green)}.pagination{display:flex;align-items:center;justify-content:center;gap:14px;margin-top:18px}.pagination button{padding:7px 13px;border:1px solid var(--line);border-radius:7px;background:transparent;cursor:pointer}.pagination button,.pagination span{color:var(--muted);font-size:.6875rem}.generate-panel{max-width:590px;margin:0 auto;padding:24px;border:1px solid var(--line);border-radius:13px;background:var(--card)}.generate-heading{position:relative;margin-bottom:15px}.generate-heading>span{color:var(--gold);font-size:.5625rem;font-weight:700;letter-spacing:1.6px}.generate-heading h2{margin:6px 0 0;font-size:.9375rem}.generate-heading button{position:absolute;top:8px;right:0;border:0;background:transparent;color:var(--gold);cursor:pointer;font-size:.625rem}.generate-resources{display:grid;grid-gap:6px;gap:6px}.generate-resources label{min-height:43px;display:flex;align-items:center;gap:10px;padding:0 12px;border:1px solid var(--line);border-radius:8px;cursor:pointer}.generate-resources input{accent-color:var(--gold)}.generate-resources label>span{color:var(--muted);font-size:.6875rem}.generate-resources strong{min-width:0;flex:1 1;overflow:hidden;font-size:.6875rem;font-weight:500;text-overflow:ellipsis;white-space:nowrap}.generate-resources small{color:var(--muted);font-size:.5625rem}.count-control{display:flex;align-items:center;gap:10px;margin:20px 0;color:var(--muted);font-size:.6875rem}.count-control input{width:75px;height:38px;border:1px solid var(--line);border-radius:8px;outline:none;background:var(--field-bg);color:var(--text);text-align:center}.count-control span{color:#65676c}.generate-submit{width:100%}.answer-progress{display:grid;grid-gap:8px;gap:8px;margin-bottom:18px;color:var(--muted);font-size:.625rem}.answer-progress i{height:4px;overflow:hidden;border-radius:4px;background:var(--decorative)}.answer-progress b{height:100%;display:block;background:var(--gold)}.question-panel{padding:26px;border:1px solid var(--line);border-radius:13px;background:var(--card)}.question-panel>span{display:inline-block;padding:4px 9px;border-radius:999px;background:var(--gold-soft);color:var(--gold);font-size:.5625rem}.question-panel h2{margin:14px 0 20px;font-size:1rem;font-weight:550;line-height:1.65}.question-panel>div{display:grid;grid-gap:9px;gap:9px}.question-panel>div button{min-height:52px;display:flex;align-items:center;gap:11px;padding:8px 14px;border:1px solid var(--line);border-radius:9px;background:transparent;color:#c8c5bf;cursor:pointer;text-align:left;font-size:.75rem}.question-panel>div button.selected,.question-panel>div button:hover{border-color:var(--gold);background:var(--gold-soft)}.question-panel>div i{width:27px;height:27px;display:grid;place-items:center;flex:0 0 auto;border-radius:50%;background:var(--decorative);color:var(--muted);font-size:.625rem;font-style:normal}.question-panel>div button.selected i{background:var(--gold);color:#15120d}.answer-actions{display:flex;justify-content:space-between;margin-top:18px}.report-panel{max-width:650px;margin:25px auto;padding:34px;border:1px solid var(--line);border-radius:14px;background:var(--card);text-align:center}.report-panel h1{margin:0 0 22px;font-family:Georgia,Songti SC,serif;font-size:1.5625rem;font-weight:500}.score-ring{width:116px;height:116px;display:inline-flex;align-items:center;justify-content:center;flex-direction:column;margin-bottom:18px;border:3px solid var(--gold);border-radius:50%}.score-ring strong{color:var(--gold);font-size:2.1875rem}.score-ring span{color:var(--muted);font-size:.625rem}.report-panel>p{color:var(--muted);font-size:.75rem;line-height:1.8;text-align:left}.weak-points{margin:20px 0;text-align:left}.weak-points h2{font-size:.75rem}.weak-points span{display:inline-block;margin:3px;padding:5px 9px;border-radius:999px;background:var(--red-bg);color:#ec9090;font-size:.5625rem}@media (max-width:600px){.quiz-shell{width:min(100% - 24px,820px);padding-top:28px}.quiz-hub-grid{grid-template-columns:1fr}}.style-page{width:min(1380px,calc(100% - 56px));min-height:100%;margin:0 auto;padding:40px 0 70px}.style-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:28px;margin-bottom:28px}.style-case-body aside>span,.style-case-modal>header>div>span,.style-finetune-modal header>div>span,.style-heading>div:first-child>span,.style-results>header span,.style-workspace-modal header>div>span{display:block;margin-bottom:9px;color:var(--gold);font-size:.5625rem;font-weight:750;letter-spacing:2px}.style-heading h1{margin:0;font-family:Georgia,Songti SC,serif;font-size:clamp(2.125rem,4vw,3.25rem);font-weight:500;letter-spacing:-1.2px}.style-heading p{max-width:620px;margin:11px 0 0;color:var(--muted);font-size:.8125rem;line-height:1.7}.style-heading>div:last-child{display:flex;gap:9px;flex:0 0 auto}.style-search-panel{overflow:hidden;border:1px solid var(--line);border-radius:17px;background:radial-gradient(circle at 90% -30%,rgba(201,166,107,.17),transparent 38%),var(--bg-soft);box-shadow:0 22px 65px rgba(0,0,0,.18)}.style-search-panel form{display:grid;grid-template-columns:minmax(0,1fr) 150px;grid-gap:18px;gap:18px;padding:22px}.style-finetune-form>label,.style-search-panel form>label{display:grid;grid-gap:8px;gap:8px;color:var(--muted);font-size:.625rem}.style-finetune-form textarea,.style-search-panel textarea{width:100%;min-height:98px;padding:13px 14px;resize:vertical;border:1px solid var(--line);border-radius:9px;outline:0;background:var(--field-bg);color:var(--text);font:12px/1.6 inherit}.style-finetune-form textarea:focus,.style-search-panel input:focus,.style-search-panel textarea:focus{border-color:var(--gold);box-shadow:0 0 0 3px rgba(201,166,107,.08)}.style-search-panel form>div{display:grid;grid-template-rows:1fr 1fr;grid-gap:9px;gap:9px}.style-search-panel form>div label{display:grid;grid-gap:6px;gap:6px;color:var(--muted);font-size:.625rem}.style-search-panel input{width:100%;min-height:38px;padding:0 10px;border:1px solid var(--line);border-radius:8px;outline:0;background:var(--field-bg);color:var(--text)}.style-search-panel form>div>button{border:0;border-radius:9px;background:var(--gold);color:#15120d;cursor:pointer;font-size:.6875rem;font-weight:700}.style-suggestions{display:flex;align-items:center;gap:7px;overflow-x:auto;padding:12px 22px;border-top:1px solid var(--line)}.style-suggestions button,.style-suggestions>span{color:var(--muted);font-size:.625rem}.style-suggestions button{flex:0 0 auto;padding:6px 9px;border:1px solid var(--line);border-radius:999px;background:transparent;cursor:pointer}.style-suggestions button:hover{border-color:var(--line-strong);color:var(--gold)}.style-loading{display:flex;align-items:center;gap:9px;margin-top:16px;padding:11px 13px;border:1px solid var(--line);border-radius:9px;color:var(--muted);font-size:.6875rem}.style-loading i{width:13px;height:13px;border:2px solid rgba(201,166,107,.2);border-top:2px solid var(--gold);border-radius:50%;animation:spin .8s linear infinite}.style-empty{min-height:300px;display:grid;place-content:center;justify-items:center;text-align:center}.style-empty>span{width:47px;height:47px;display:grid;place-items:center;margin-bottom:14px;border:1px solid rgba(201,166,107,.3);border-radius:50%;color:var(--gold)}.style-empty h2{margin:0;font-family:Georgia,Songti SC,serif;font-size:1.3125rem;font-weight:500}.style-empty p{max-width:500px;margin:9px 0 0;color:var(--muted);font-size:.6875rem;line-height:1.7}.style-results{margin-top:40px}.style-results>header{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:16px}.style-results h2{margin:0;font-family:Georgia,Songti SC,serif;font-size:1.5rem;font-weight:500}.style-results>header p{color:var(--muted);font-size:.625rem}.style-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(290px,1fr));grid-gap:16px;gap:16px}.style-grid>article{overflow:hidden;border:1px solid var(--line);border-radius:13px;background:var(--bg-soft);transition:.2s}.style-grid>article:hover{transform:translateY(-3px);border-color:rgba(201,166,107,.25)}.style-grid>article.selected{border-color:var(--gold);box-shadow:0 0 0 2px rgba(201,166,107,.18)}.style-result-image{position:relative;aspect-ratio:4/3;overflow:hidden;background:var(--image-bg)}.style-result-image>button{width:100%;height:100%;display:block;padding:0;border:0;background:transparent;cursor:pointer}.style-result-image img{width:100%;height:100%;display:block;object-fit:cover;transition:transform .3s}.style-grid>article:hover img{transform:scale(1.025)}.style-result-image>button>span{color:var(--muted);font-size:.625rem}.style-result-image label,.style-result-image>b{position:absolute;top:10px;min-height:28px;display:flex;align-items:center;padding:0 9px;border:1px solid rgba(255,255,255,.15);border-radius:999px;background:rgba(7,9,11,.8);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);color:#ece9e2;font-size:.5625rem}.style-result-image label{left:10px;gap:5px;cursor:pointer}.style-result-image input{accent-color:var(--gold)}.style-result-image>b{right:10px;color:var(--gold);font-weight:600}.style-card-copy{display:grid;grid-gap:9px;gap:9px;padding:15px}.style-card-copy>div{display:flex;justify-content:space-between;color:var(--gold);font-size:.5rem;font-weight:700;letter-spacing:1px}.style-card-copy h3{min-height:40px;margin:0;font-family:Georgia,Songti SC,serif;font-size:.9375rem;font-weight:500;line-height:1.4}.style-card-copy p{min-height:56px;display:-webkit-box;overflow:hidden;margin:0;color:var(--muted);font-size:.625rem;line-height:1.7;-webkit-box-orient:vertical;-webkit-line-clamp:3}.style-card-copy footer,.style-case-modal header footer{display:flex;flex-wrap:wrap;gap:5px}.style-card-copy footer span,.style-case-modal header footer b{padding:4px 7px;border:1px solid var(--line);border-radius:5px;color:var(--muted);font-size:.5rem;font-weight:500}.style-overlay{position:fixed;inset:0;z-index:90;display:grid;place-items:center;padding:18px;background:rgba(0,0,0,.73);-webkit-backdrop-filter:blur(9px);backdrop-filter:blur(9px)}.style-finetune-modal,.style-workspace-modal{width:min(1060px,calc(100vw - 36px));max-height:calc(100vh - 36px);overflow:auto;padding:22px;border:1px solid var(--line);border-radius:16px;background:var(--sidebar-bg);box-shadow:0 30px 90px var(--shadow)}.style-case-modal>header,.style-finetune-modal>header,.style-workspace-modal>header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:20px}.style-case-modal h2,.style-finetune-modal h2,.style-workspace-modal h2{margin:0;font-family:Georgia,Songti SC,serif;font-size:1.5rem;font-weight:500}.style-finetune-modal header p,.style-workspace-modal header p{margin:6px 0 0;color:var(--muted);font-size:.625rem}.style-workspace-modal header>div:last-child{display:flex;gap:8px}.style-workspace-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));grid-gap:12px;gap:12px}.style-workspace-grid article{position:relative;overflow:hidden;border:1px solid var(--line);border-radius:10px;background:var(--card)}.style-workspace-grid article>button{position:absolute;z-index:2;top:7px;right:7px;width:26px;height:26px;border:1px solid rgba(255,255,255,.16);border-radius:50%;background:rgba(7,9,11,.8);color:#fff;cursor:pointer}.style-workspace-grid article>div,.style-workspace-grid img{width:100%;aspect-ratio:4/3;display:grid;place-items:center;object-fit:cover;background:var(--image-bg);color:var(--muted);font-size:.5625rem}.style-workspace-grid footer{display:grid;grid-gap:4px;gap:4px;padding:10px}.style-workspace-grid strong{overflow:hidden;font-family:Georgia,Songti SC,serif;font-size:.6875rem;font-weight:500;text-overflow:ellipsis;white-space:nowrap}.style-workspace-grid footer span{overflow:hidden;color:var(--muted);font-size:.5rem;text-overflow:ellipsis;white-space:nowrap}.style-modal-empty{padding:38px;border:1px dashed var(--line);border-radius:10px;color:var(--muted);font-size:.6875rem;text-align:center}.style-workspace-footer{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:18px;padding-top:16px;border-top:1px solid var(--line)}.style-finetune-form>div p,.style-workspace-footer p{color:var(--muted);font-size:.5625rem}.style-reference-strip{display:flex;gap:8px;overflow-x:auto;margin-bottom:18px;padding-bottom:6px}.style-reference-strip article{flex:0 0 120px;overflow:hidden;border:1px solid var(--line);border-radius:8px}.style-reference-strip article>div,.style-reference-strip img{width:100%;aspect-ratio:4/3;display:block;object-fit:cover;background:var(--image-bg)}.style-reference-strip span{display:block;overflow:hidden;padding:6px;color:var(--muted);font-size:.5rem;text-overflow:ellipsis;white-space:nowrap}.style-finetune-form textarea{min-height:112px}.style-finetune-form>div{display:flex;align-items:center;justify-content:space-between;gap:14px}.style-generated-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(270px,1fr));grid-gap:13px;gap:13px;margin-top:18px}.style-generated-grid article{overflow:hidden;border:1px solid rgba(201,166,107,.28);border-radius:10px}.style-generated-grid img{width:100%;display:block}.style-generated-grid footer{display:flex;justify-content:space-between;padding:10px}.style-generated-grid a,.style-generated-grid span{color:var(--gold);font-size:.5rem;letter-spacing:1px;text-decoration:none}.style-overlay.case{padding:12px}.style-case-modal{width:min(1540px,calc(100vw - 24px));height:calc(100vh - 24px);display:grid;grid-template-rows:auto minmax(0,1fr);overflow:hidden;border:1px solid var(--line);border-radius:14px;background:var(--sidebar-bg)}.style-case-modal>header{margin:0;padding:15px 18px;border-bottom:1px solid var(--line)}.style-case-modal h2{max-width:950px;font-size:1.25rem}.style-case-modal header footer{margin-top:8px}.style-case-body{min-height:0;display:flex;align-items:stretch}.style-case-images{min-width:0;min-height:0;height:100%;flex:1 1 auto;overflow:auto;display:flex;flex-direction:column;gap:18px;padding:18px;background:var(--deep-bg)}.style-case-panel-loading{min-height:320px;flex:1 0 320px;display:grid;align-content:center;justify-items:center;grid-gap:10px;gap:10px;color:var(--muted);text-align:center}.style-case-panel-loading>i{width:24px;height:24px;border:2px solid var(--line-strong);border-top-color:var(--gold);border-radius:50%;animation:style-resource-spin .75s linear infinite}.style-case-panel-loading>strong{color:var(--text);font-size:.75rem;font-weight:500}.style-case-panel-loading>span{font-size:.5625rem}.style-case-images article{flex:0 0 auto;overflow:hidden;border:1px solid var(--line);border-radius:9px;background:var(--image-bg)}.style-case-images article.selected{border-color:var(--gold);box-shadow:0 0 0 3px rgba(201,166,107,.24)}.style-case-images article>button{width:100%;height:auto;display:block;padding:0;border:0;border-radius:0;background:transparent;cursor:pointer;line-height:0}.style-case-images article>button:focus-visible{outline:3px solid var(--gold);outline-offset:-3px}.style-case-images article>button>span{min-height:100px;display:grid;place-items:center;color:var(--muted);font-size:.625rem;line-height:1.5}.style-case-images img{width:100%;height:auto;display:block;object-fit:contain}.style-case-images article>label{min-height:34px;display:flex;align-items:center;gap:7px;padding:8px 10px;border-top:1px solid var(--line);background:var(--card);color:var(--muted);cursor:pointer;font-size:.625rem}.style-case-images article>label input{margin:0;accent-color:var(--gold)}.style-case-resize{flex:0 0 9px;width:9px;padding:0;border:0;background:linear-gradient(90deg,transparent 0 4px,var(--line) 4px 5px,transparent 5px);cursor:col-resize}.style-case-resize:hover{background:linear-gradient(90deg,transparent 0 3px,var(--gold) 3px 6px,transparent 6px)}.style-case-body aside{flex:0 0 auto;overflow:auto;padding:22px}.style-case-body aside h3{margin:0 0 16px;font-family:Georgia,Songti SC,serif;font-size:1.1875rem;font-weight:500}.style-case-body aside p{margin:0 0 11px;color:var(--muted);font-size:.625rem;line-height:1.8}.style-case-copy-loading{display:grid;grid-gap:10px;gap:10px}.style-case-copy-loading i{width:100%;height:8px;border-radius:999px;background:linear-gradient(90deg,var(--subtle-bg) 20%,var(--line) 45%,var(--subtle-bg) 70%);background-size:220% 100%;animation:style-case-loading-shimmer 1.25s ease-in-out infinite}.style-case-copy-loading i:nth-child(2){width:88%}.style-case-copy-loading i:nth-child(3){width:72%}.style-case-copy-loading i:nth-child(4){width:92%}@keyframes style-case-loading-shimmer{0%{background-position:100% 0}to{background-position:-100% 0}}@media (max-width:850px){.style-page{width:min(100% - 28px,1380px);padding-top:28px}.style-heading,.style-results>header{align-items:flex-start;flex-direction:column}.style-heading>div:last-child{width:100%}.style-search-panel form{grid-template-columns:1fr}.style-case-body{flex-direction:column}.style-case-body aside{width:auto!important;max-height:34vh;border-top:1px solid var(--line)}.style-case-resize{display:none}}@media (max-width:560px){.style-page{width:min(100% - 18px,1380px);padding-top:20px}.style-heading h1{font-size:2rem}.style-heading>div:last-child button{flex:1 1}.style-grid{grid-template-columns:1fr}.style-overlay{padding:7px}.style-finetune-modal,.style-workspace-modal{width:calc(100vw - 14px);max-height:calc(100vh - 14px);padding:15px}.style-finetune-form>div,.style-finetune-modal>header,.style-workspace-footer,.style-workspace-modal>header{align-items:stretch;flex-direction:column}}.course-outline-page{width:min(1120px,calc(100% - 56px));padding-bottom:80px}.outline-back-link{display:inline-flex;margin-bottom:22px;color:var(--muted);font-size:.6875rem;text-decoration:none}.outline-back-link:hover{color:var(--gold)}.course-outline-hero{display:grid;grid-template-columns:minmax(0,1fr) 280px;grid-gap:42px;gap:42px;align-items:center;padding:38px 40px;border:1px solid var(--line);border-radius:20px;background:radial-gradient(circle at 86% 0,rgba(201,166,107,.18),transparent 38%),var(--card)}.course-outline-hero h1{margin:0;font-family:Georgia,Songti SC,serif;font-size:clamp(1.875rem,4vw,3rem);font-weight:500}.course-outline-hero>div:first-child>p{max-width:680px;margin:14px 0 0;color:var(--muted);font-size:.8125rem;line-height:1.85}.course-outline-progress-card{padding:22px;border:1px solid rgba(201,166,107,.22);border-radius:14px;background:color-mix(in srgb,var(--bg-soft) 90%,transparent)}.course-outline-progress-card small,.course-outline-progress-card span,.course-outline-progress-card strong{display:block}.course-outline-progress-card strong{color:var(--gold);font-family:Georgia,serif;font-size:2.375rem;font-weight:500}.course-outline-progress-card span{margin-top:3px;color:var(--text-soft);font-size:.6875rem}.course-outline-directory>i,.course-outline-progress-card i{height:5px;display:block;overflow:hidden;margin:14px 0 9px;border-radius:99px;background:var(--decorative)}.course-outline-directory>i b,.course-outline-progress-card i b{height:100%;display:block;border-radius:inherit;background:var(--gold)}.course-outline-progress-card small{color:var(--muted);font-size:.625rem}.course-outline-panel{margin-top:24px;padding:30px;border:1px solid var(--line);border-radius:18px;background:var(--card)}.course-outline-panel-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:22px;padding-bottom:18px;border-bottom:1px solid var(--line)}.course-outline-panel-heading span{color:var(--gold);font-size:.5625rem;font-weight:700;letter-spacing:1.7px}.course-outline-panel-heading h2{margin:5px 0 0;font-family:Georgia,Songti SC,serif;font-size:1.5625rem;font-weight:500}.course-outline-panel-heading p{margin:0;color:var(--muted);font-size:.625rem}.course-outline-children,.course-outline-tree{display:grid;grid-gap:8px;gap:8px}.course-outline-section{margin-left:calc(var(--depth, 0) * 10px)}.course-outline-directory{min-height:72px;display:grid;grid-template-columns:30px 28px minmax(0,1fr) 110px auto;grid-gap:12px;gap:12px;align-items:center;padding:12px 14px;border:1px solid var(--line);border-radius:10px;background:var(--bg-soft)}.outline-directory-toggle{width:28px;height:28px;display:grid;place-items:center;padding:0;border:0;border-radius:0;background:transparent;color:var(--gold);cursor:pointer}.outline-directory-toggle:disabled{cursor:default;opacity:.45}.course-outline-directory small,.course-outline-directory strong{display:block}.course-outline-directory strong{font-size:.75rem}.course-outline-directory small{margin-top:5px;color:var(--muted);font-size:.5625rem}.course-outline-directory>i{margin:0}.course-outline-children{margin-top:8px;padding-left:18px;border-left:1px solid var(--line)}.outline-status-mark{width:27px;height:27px;display:grid;place-items:center;border-radius:50%}.outline-directory-enter,.outline-status-mark{background:var(--gold-soft);color:var(--gold);font-size:.625rem}.outline-directory-enter{min-width:76px;min-height:34px;padding:0 12px;border:1px solid rgba(201,166,107,.3);border-radius:7px;cursor:pointer}.outline-empty-branch{padding:12px;color:var(--muted);font-size:.625rem}.learning-context-bar{min-height:54px;display:flex;align-items:center;gap:15px;padding:7px 16px;border-bottom:1px solid var(--line);background:var(--bg-soft)}.learning-context-bar button{min-height:32px;padding:0 11px;border:1px solid var(--line);border-radius:7px;background:transparent;color:var(--muted);cursor:pointer;font-size:.625rem}.learning-context-bar div{min-width:0;flex:1 1}.learning-context-bar span,.learning-context-bar strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.learning-context-bar span{color:var(--muted);font-size:.5rem}.learning-context-bar strong{margin-top:3px;font-size:.6875rem}.learning-context-bar em{color:var(--gold);font-size:.625rem;font-style:normal}.chapter-sidebar-section>strong{min-height:34px;display:flex;align-items:center;border-bottom:1px solid var(--line);color:var(--muted);font-size:.5625rem;font-weight:650;letter-spacing:.4px}.curriculum-heading-actions{display:flex;gap:8px}.curriculum-node-form{display:grid;grid-template-columns:minmax(220px,2fr) minmax(190px,1fr) auto;grid-gap:12px;gap:12px;align-items:end;margin-bottom:16px;padding:16px;border:1px solid rgba(201,166,107,.25);border-radius:12px;background:var(--card)}.curriculum-node-form label>span{display:block;margin-bottom:6px;color:var(--muted);font-size:.5625rem}.curriculum-node-form .field,.curriculum-node-form .select-field{width:100%}.curriculum-node-form-actions{display:block}.curriculum-node-form-actions .primary-button{min-height:44px;padding-inline:24px}.curriculum-admin-tree{display:grid;grid-gap:7px;gap:7px}.curriculum-admin-branch{display:grid}.curriculum-admin-node{min-height:70px;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;margin-left:calc(var(--depth, 0) * 28px);border-radius:12px;border:1px solid var(--line);border-left:3px solid var(--gold);background:var(--subtle-bg);transition:border-color .15s ease,background .15s ease,box-shadow .15s ease}.curriculum-admin-node:hover{border-color:color-mix(in srgb,var(--gold) 42%,var(--line));background:var(--card)}.curriculum-admin-node.is-selected{border-color:rgba(201,166,107,.48);border-radius:12px 12px 0 0;background:var(--card);box-shadow:0 8px 22px rgba(31,28,23,.06)}.curriculum-admin-node.is-dragging{opacity:.42}.curriculum-admin-node.is-drop-before{box-shadow:inset 0 2px 0 var(--gold)}.curriculum-admin-node.is-drop-after{box-shadow:inset 0 -2px 0 var(--gold)}.curriculum-node-select{min-width:0;min-height:68px;display:grid;grid-template-columns:32px minmax(0,1fr);grid-gap:12px;gap:12px;align-items:center;padding:13px 16px;border:0;outline:0;background:transparent;color:inherit;cursor:pointer;text-align:left}.curriculum-node-select:focus-visible{border-radius:10px;box-shadow:inset 0 0 0 2px var(--gold)}.curriculum-node-icon{width:30px;height:30px;display:grid;place-items:center;border-radius:7px;background:var(--gold-soft);color:var(--gold);font-size:.6875rem}.curriculum-drag-handle{position:relative;border-radius:4px;background:transparent;color:var(--muted);cursor:-webkit-grab;cursor:grab;opacity:.7;-webkit-user-select:none;-moz-user-select:none;user-select:none;transition:color .12s ease,background .12s ease,opacity .12s ease}.curriculum-drag-handle:before{position:absolute;top:calc(50% - 7.5px);left:calc(50% - 4.5px);width:3px;height:3px;border-radius:999px;background:currentColor;box-shadow:0 6px 0 currentColor,0 12px 0 currentColor,6px 0 0 currentColor,6px 6px 0 currentColor,6px 12px 0 currentColor;content:""}.curriculum-drag-handle:hover{background:var(--card-hover);color:var(--text-soft);opacity:1}.curriculum-drag-handle:active{cursor:-webkit-grabbing;cursor:grabbing}.curriculum-node-copy{display:block;min-width:0}.curriculum-node-copy>small,.curriculum-node-copy>strong{display:block}.curriculum-node-copy>strong{font-size:.75rem}.curriculum-node-copy>small{margin-top:4px;color:var(--muted);font-size:.5625rem}.curriculum-inline-delete{min-height:32px;margin-right:14px;padding:0 10px;border:0;border-radius:7px;background:transparent;color:#b94c4c;cursor:pointer;font-size:.5625rem}.curriculum-inline-delete:hover{background:rgba(185,76,76,.08)}.curriculum-node-expanded{display:grid;grid-gap:13px;gap:13px;margin-left:calc(var(--depth, 0) * 28px);padding:13px 16px 15px 61px;border:1px solid rgba(201,166,107,.32);border-top:0;border-radius:0 0 12px 12px;background:var(--card)}.curriculum-node-actions{display:flex;flex-wrap:wrap;gap:8px}.curriculum-node-actions button{min-height:34px;padding-inline:16px}.curriculum-node-expanded .curriculum-node-form,.curriculum-node-expanded .curriculum-upload-panel{margin:0;background:var(--subtle-bg)}.curriculum-node-contents{display:grid;grid-gap:16px;gap:16px;padding-top:2px}.curriculum-content-section{display:grid;grid-gap:8px;gap:8px}.curriculum-content-section>header{display:flex;align-items:center;gap:7px;color:var(--muted)}.curriculum-content-section>header strong{color:var(--text);font-size:.625rem}.curriculum-content-section>header span{min-width:19px;height:19px;display:grid;place-items:center;border-radius:999px;background:var(--gold-soft);color:var(--gold);font-size:.5rem}.curriculum-ancestor-children,.curriculum-child-list,.curriculum-content-list{display:grid;grid-gap:7px;gap:7px}.curriculum-content-item{min-height:44px;display:grid;grid-template-columns:24px auto minmax(0,1fr) auto;grid-gap:10px;gap:10px;align-items:center;padding:8px 11px;border:1px solid var(--line);border-radius:9px;background:var(--subtle-bg)}.curriculum-content-item.is-dragging,.curriculum-image-card.is-dragging{opacity:.42}.curriculum-content-item.is-drop-before{box-shadow:inset 0 2px 0 var(--gold)}.curriculum-content-item.is-drop-after{box-shadow:inset 0 -2px 0 var(--gold)}.curriculum-resource-drag-handle{position:relative;width:22px;height:30px;display:block;border-radius:5px;color:var(--muted);cursor:-webkit-grab;cursor:grab;opacity:.65}.curriculum-resource-drag-handle:before{position:absolute;top:calc(50% - 6px);left:calc(50% - 4px);width:3px;height:3px;border-radius:50%;background:currentColor;box-shadow:0 5px 0 currentColor,0 10px 0 currentColor,5px 0 0 currentColor,5px 5px 0 currentColor,5px 10px 0 currentColor;content:""}.curriculum-resource-drag-handle:hover{background:var(--card-hover);color:var(--text-soft);opacity:1}.curriculum-resource-drag-handle:active{cursor:-webkit-grabbing;cursor:grabbing}.curriculum-content-item>strong{overflow:hidden;font-size:.625rem;text-overflow:ellipsis;white-space:nowrap}.curriculum-resource-copy{min-width:0;display:grid;grid-gap:3px;gap:3px}.curriculum-resource-copy>strong{overflow:hidden;font-size:.625rem;text-overflow:ellipsis;white-space:nowrap}.curriculum-resource-copy>small{color:var(--muted);font-size:.5rem}.curriculum-content-type{padding:4px 7px;border-radius:5px;background:var(--gold-soft);color:var(--gold);font-size:.5rem}.curriculum-content-item>button{padding:5px 7px;border:0;border-radius:6px;background:transparent;color:#b94c4c;cursor:pointer;font-size:.5625rem}.curriculum-content-item>button:hover{background:rgba(185,76,76,.08)}.curriculum-image-resource-group{display:grid;grid-gap:7px;gap:7px}.curriculum-image-group-toggle{width:100%;min-height:44px;display:grid;grid-template-columns:auto minmax(0,1fr) 24px;grid-gap:10px;gap:10px;align-items:center;padding:8px 11px 8px 45px;border:1px solid var(--line);border-radius:9px;background:var(--subtle-bg);color:var(--text);cursor:pointer;text-align:left}.curriculum-image-group-toggle:hover{border-color:rgba(201,166,107,.65);background:var(--card-hover)}.curriculum-image-group-toggle>strong{overflow:hidden;font-size:.625rem;text-overflow:ellipsis;white-space:nowrap}.curriculum-image-group-chevron{width:8px;height:8px;justify-self:center;border-right:1.5px solid;border-bottom:1.5px solid;color:var(--muted);transform:rotate(45deg) translate(-2px,-2px);transition:transform .15s ease}.curriculum-image-group-toggle[aria-expanded=true] .curriculum-image-group-chevron{transform:rotate(225deg) translate(-1px,-1px)}.curriculum-image-group-items{display:grid;grid-gap:7px;gap:7px;margin-left:22px;padding-left:13px;border-left:1px solid var(--line)}.curriculum-image-resource-item{grid-template-columns:24px 88px minmax(0,1fr) auto}.curriculum-image-resource-preview{width:88px;height:58px;display:block;border:1px solid var(--line);border-radius:6px;background:var(--card);object-fit:contain}.curriculum-image-display-prompt{position:fixed;z-index:240;top:18px;left:50%;width:min(610px,calc(100vw - 32px));min-height:76px;display:grid;grid-template-columns:40px minmax(0,1fr) auto;grid-gap:13px;gap:13px;align-items:center;padding:13px 15px;border:1px solid var(--line-strong);border-radius:12px;background:var(--card);box-shadow:0 14px 44px var(--shadow);color:var(--text);transform:translateX(-50%)}.curriculum-image-display-prompt-icon{width:36px;height:36px;display:grid;place-items:center;border-radius:999px;background:var(--gold-soft);color:var(--gold);font-family:Georgia,serif;font-size:.875rem;font-weight:700}.curriculum-image-display-prompt-copy{min-width:0;display:grid;grid-gap:3px;gap:3px}.curriculum-image-display-prompt-copy strong{font-size:.6875rem}.curriculum-image-display-prompt-copy span{color:var(--muted);font-size:.5625rem}.curriculum-image-display-prompt-actions{display:flex;gap:7px;align-items:center}.curriculum-image-display-prompt-actions button{min-height:34px;padding:0 14px}.curriculum-content-empty{padding:13px;border:1px dashed var(--line);border-radius:9px;color:var(--muted);font-size:.5625rem;text-align:center}.curriculum-ancestor-children .curriculum-admin-node,.curriculum-child-list .curriculum-admin-node{margin-left:0;background:var(--subtle-bg)}.curriculum-ancestor-children .curriculum-node-expanded,.curriculum-child-list .curriculum-node-expanded{margin-left:0}.curriculum-ancestor-children{margin:7px 0 0 calc(var(--depth, 0) * 28px + 28px)}.curriculum-upload-panel{align-items:stretch}.curriculum-upload-header{width:100%;display:flex;align-items:center;gap:18px}.curriculum-upload-header>strong{flex:0 0 auto}.curriculum-upload-actions{display:flex;min-width:0;flex:1 1 auto;flex-wrap:wrap;gap:8px;align-items:center}.curriculum-upload-panel .curriculum-upload-actions .curriculum-upload-choice{display:block;color:inherit}.curriculum-upload-panel .curriculum-upload-choice input{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);-webkit-clip-path:inset(50%);clip-path:inset(50%);white-space:nowrap}.curriculum-upload-choice span{min-width:82px;min-height:38px;display:grid;place-items:center;padding:0 17px;border:1px solid var(--line);border-radius:8px;background:var(--card);color:var(--text);cursor:pointer;font-size:.625rem;font-weight:650;transition:border-color .15s ease,background .15s ease}.curriculum-upload-choice input:focus-visible+span,.curriculum-upload-choice:hover span{border-color:var(--gold);background:var(--gold-soft)}.curriculum-upload-choice input:disabled+span{cursor:wait;opacity:.55}.curriculum-upload-actions em{color:var(--gold);font-size:.625rem;font-style:normal}.curriculum-upload-spacer{min-width:16px;flex:1 1 auto}.curriculum-description-save{flex:0 0 auto}.curriculum-description-editor{width:100%;flex:0 0 100%;display:grid;margin-top:18px;padding-top:18px;border-top:1px solid var(--line)}.curriculum-description-editor>header,.curriculum-image-order>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:12px}.curriculum-description-editor>header>div,.curriculum-image-order>div:first-child{min-width:0}.curriculum-description-editor>header span,.curriculum-description-editor>header strong,.curriculum-image-order>div:first-child span,.curriculum-image-order>div:first-child strong{display:block}.curriculum-description-editor>header strong,.curriculum-image-order>div:first-child strong{color:var(--text);font-size:.6875rem}.curriculum-description-editor>header span,.curriculum-image-order>div:first-child span{margin-top:3px;color:var(--muted);font-size:.5625rem}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.curriculum-rich-editor{overflow:hidden;border:1px solid var(--line);border-radius:11px;background:var(--card)}.curriculum-rich-toolbar{min-height:52px;display:flex;align-items:center;flex-wrap:wrap;gap:5px;padding:8px 10px;border-bottom:1px solid var(--line);background:var(--subtle-bg)}.curriculum-rich-block-select select,.curriculum-rich-toolbar button{height:34px;border:1px solid transparent;border-radius:7px;background:transparent;color:var(--text-soft);transition:color .14s ease,border-color .14s ease,background .14s ease}.curriculum-rich-toolbar button{min-width:34px;display:inline-grid;place-items:center;padding:0 8px;cursor:pointer;font-size:.875rem;font-weight:600;line-height:1}.curriculum-rich-toolbar button em,.curriculum-rich-toolbar button s,.curriculum-rich-toolbar button strong{font-size:.9375rem}.curriculum-rich-toolbar button svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}.curriculum-rich-toolbar button.is-active,.curriculum-rich-toolbar button:focus-visible,.curriculum-rich-toolbar button:hover:not(:disabled){border-color:var(--line-strong);background:var(--card);color:var(--text);outline:none}.curriculum-rich-toolbar button.is-active{border-color:color-mix(in srgb,var(--gold) 45%,var(--line));background:var(--gold-soft);color:var(--gold)}.curriculum-rich-toolbar button:disabled{cursor:default;opacity:.32}.curriculum-rich-block-select{position:relative}.curriculum-rich-block-select select{min-width:118px;padding:0 30px 0 10px;border-color:var(--line);-webkit-appearance:auto;-moz-appearance:auto;appearance:auto;cursor:pointer;font-size:.625rem;font-weight:600;line-height:1}.curriculum-rich-block-select select:focus-visible,.curriculum-rich-block-select select:hover{border-color:var(--gold);outline:none}.curriculum-rich-divider{width:1px;height:22px;margin:0 3px;background:var(--line)}.curriculum-rich-quote{font-family:Georgia,serif;font-size:1.3125rem;line-height:1}.curriculum-rich-workspace{min-width:0;display:grid;grid-template-columns:minmax(0,1fr) 220px;background:var(--card)}.curriculum-rich-workspace.is-outline-collapsed{grid-template-columns:minmax(0,1fr) 44px}.curriculum-rich-canvas{min-width:0;min-height:170px;max-height:440px;overflow:auto;background:var(--card)}.curriculum-rich-content .tiptap{min-height:120px;overflow:visible;padding:20px 22px 12px;outline:none;color:var(--text-soft);font-size:.75rem;line-height:1.75;overflow-wrap:anywhere}.curriculum-rich-canvas:focus-within{box-shadow:inset 0 0 0 2px var(--gold-soft)}.curriculum-rich-content .tiptap>:first-child{margin-top:0}.curriculum-rich-content .tiptap>:last-child{margin-bottom:0}.curriculum-rich-content .tiptap p.is-editor-empty:first-child:before{height:0;float:left;color:var(--muted);content:attr(data-placeholder);pointer-events:none}.curriculum-rich-content .tiptap h1,.curriculum-rich-content .tiptap h2,.curriculum-rich-content .tiptap h3,.curriculum-rich-content .tiptap h4,.curriculum-rich-content .tiptap h5,.curriculum-rich-content .tiptap h6{margin:1.1em 0 .45em;color:var(--text);line-height:1.28}.curriculum-rich-content .tiptap h1{font-size:1.65em}.curriculum-rich-content .tiptap h2{font-size:1.38em}.curriculum-rich-content .tiptap h3{font-size:1.18em}.curriculum-rich-content .tiptap h4{font-size:1.08em}.curriculum-rich-content .tiptap h5{font-size:1em}.curriculum-rich-content .tiptap h6{font-size:.94em}.curriculum-rich-content .tiptap blockquote,.curriculum-rich-content .tiptap ol,.curriculum-rich-content .tiptap p,.curriculum-rich-content .tiptap ul{margin:.65em 0}.curriculum-rich-content .tiptap ol,.curriculum-rich-content .tiptap ul{padding-left:1.65em}.curriculum-rich-content .tiptap a{color:var(--gold);text-decoration:underline;text-underline-offset:3px}.curriculum-rich-content .tiptap blockquote{padding:.1em 0 .1em .9em;border-left:3px solid var(--gold);color:var(--muted)}.curriculum-rich-content .tiptap .course-inline-image-node{width:-moz-fit-content;width:fit-content;max-width:min(100%,820px);display:block;margin:22px auto;cursor:-webkit-grab;cursor:grab;-webkit-user-select:none;-moz-user-select:none;user-select:none}.curriculum-rich-content .tiptap .course-inline-image-node:active{cursor:-webkit-grabbing;cursor:grabbing}.curriculum-rich-content .tiptap .course-inline-image-node img{width:auto;max-width:100%;height:auto;display:block;margin:0;border:1px solid var(--line);border-radius:9px;object-fit:contain;box-shadow:0 10px 28px var(--shadow);pointer-events:none}.curriculum-rich-content .tiptap .course-inline-image-node.is-selected{outline:3px solid color-mix(in srgb,var(--gold) 58%,transparent);outline-offset:3px}.curriculum-rich-outline{min-width:0;max-height:440px;overflow:auto;padding:15px 12px;border-left:1px solid var(--line);background:var(--subtle-bg)}.curriculum-rich-outline-header{display:flex;align-items:center;gap:7px;margin:0 7px 10px}.curriculum-rich-outline-header>strong{min-width:0;color:var(--text);font-size:.625rem;font-weight:650;letter-spacing:.08em;white-space:nowrap}.curriculum-rich-outline-toggle{width:24px;height:24px;flex:0 0 24px;display:grid;place-items:center;padding:0;border:1px solid transparent;border-radius:5px;background:transparent;color:var(--muted);cursor:pointer}.curriculum-rich-outline-toggle>span{width:7px;height:7px;border-right:1.5px solid;border-bottom:1.5px solid;transform:rotate(-45deg);transition:transform .15s ease}.curriculum-rich-outline-toggle[aria-expanded=false]>span{transform:rotate(135deg)}.curriculum-rich-workspace.is-outline-collapsed .curriculum-rich-outline{overflow:hidden;padding:10px 6px}.curriculum-rich-workspace.is-outline-collapsed .curriculum-rich-outline-header{justify-content:center;margin:0}.curriculum-rich-outline nav{display:grid;grid-gap:2px;gap:2px}.curriculum-rich-outline nav button{width:100%;min-width:0;min-height:30px;display:grid;grid-template-columns:24px minmax(0,1fr);grid-gap:4px;gap:4px;align-items:center;padding:5px 8px;overflow:hidden;border:0;border-radius:5px;background:transparent;color:var(--muted);cursor:pointer;font-size:.5625rem;text-align:left;text-overflow:ellipsis;white-space:nowrap}.curriculum-rich-outline nav button:hover,.curriculum-rich-outline-toggle:hover{background:var(--gold-soft);color:var(--text)}.curriculum-rich-outline nav button:focus-visible,.curriculum-rich-outline-toggle:focus-visible{background:var(--gold-soft);color:var(--text);outline:2px solid color-mix(in srgb,var(--gold) 64%,transparent);outline-offset:-2px}.curriculum-rich-outline nav button span{color:var(--gold);font-size:.5rem;letter-spacing:.04em}.curriculum-rich-outline>p{margin:0 7px;color:var(--muted);font-size:.5625rem;line-height:1.65}.markdown-content{color:var(--text-soft);font-size:.75rem;line-height:1.75;overflow-wrap:anywhere}.markdown-content>:first-child{margin-top:0}.markdown-content>:last-child{margin-bottom:0}.markdown-content h1,.markdown-content h2,.markdown-content h3,.markdown-content h4,.markdown-content h5,.markdown-content h6{margin:1.15em 0 .45em;color:var(--text);line-height:1.28}.markdown-content h1{font-size:1.65em}.markdown-content h2{font-size:1.38em}.markdown-content h3{font-size:1.18em}.markdown-content h4{font-size:1.08em}.markdown-content h5{font-size:1em}.markdown-content h6{font-size:.94em}.markdown-content blockquote,.markdown-content ol,.markdown-content p,.markdown-content pre,.markdown-content ul{margin:.65em 0}.markdown-content ol,.markdown-content ul{padding-left:1.6em}.markdown-content a{color:var(--gold);text-underline-offset:3px}.markdown-content blockquote{padding:.1em 0 .1em .9em;border-left:3px solid var(--gold);color:var(--muted)}.markdown-content code{padding:.12em .32em;border-radius:4px;background:var(--gold-soft);font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:.92em}.markdown-content pre{overflow:auto;padding:10px 12px;border-radius:8px;background:var(--deep-bg)}.markdown-content pre code{padding:0;background:transparent}.markdown-content img{max-width:100%;height:auto;border-radius:8px}.chapter-markdown-description{max-height:min(24vh,210px);flex:0 0 auto;overflow:auto;padding:16px 22px;border-bottom:1px solid var(--line);background:var(--bg-soft)}.chapter-markdown-description.is-primary{min-height:0;max-height:none;flex:1 1 auto;padding:26px clamp(22px,4vw,54px) 42px}.chapter-markdown-description.is-primary img{width:auto;max-width:min(100%,1200px);display:block;margin:28px auto;box-shadow:0 12px 36px var(--shadow)}@media (max-width:900px){.curriculum-rich-toolbar{flex-wrap:nowrap;overflow-x:auto}.curriculum-rich-block-select,.curriculum-rich-divider,.curriculum-rich-toolbar button{flex:0 0 auto}.curriculum-rich-workspace{grid-template-columns:minmax(0,1fr) 190px}}@media (max-width:640px){.curriculum-upload-header{align-items:flex-start;flex-direction:column;gap:10px}.curriculum-upload-actions{width:100%}.curriculum-upload-spacer{display:none}.curriculum-description-save{margin-left:auto}.curriculum-rich-workspace,.curriculum-rich-workspace.is-outline-collapsed{grid-template-columns:1fr}.curriculum-rich-canvas{min-height:150px;max-height:360px}.curriculum-rich-outline{max-height:150px;border-top:1px solid var(--line);border-left:0}.curriculum-rich-workspace.is-outline-collapsed .curriculum-rich-outline{max-height:44px;border-top:1px solid var(--line)}.curriculum-image-group-toggle{padding-left:12px}.curriculum-image-group-items{margin-left:8px;padding-left:8px}.curriculum-image-resource-item{grid-template-columns:22px 70px minmax(0,1fr)}.curriculum-image-resource-preview{width:70px;height:50px}.curriculum-image-resource-item>button{grid-column:3;justify-self:start}.curriculum-image-display-prompt{grid-template-columns:36px minmax(0,1fr);gap:10px}.curriculum-image-display-prompt-actions{grid-column:2}}.dealer-edit-form label{display:grid;grid-gap:6px;gap:6px;color:var(--muted);font-size:.625rem}.dealer-heading-actions{display:flex;align-items:center;gap:9px}.dealer-save-button{border-color:rgba(201,166,107,.4);background:var(--gold-soft);color:var(--gold)}.dealer-inline-input{width:min(100%,210px);height:38px;padding:0 10px;border:1px solid transparent;border-radius:7px;outline:0;background:transparent;color:var(--text);font:inherit;transition:border-color .15s ease,background .15s ease}.dealer-inline-input:hover{border-color:var(--line);background:var(--subtle-bg)}.dealer-inline-input:focus{border-color:var(--gold);background:var(--field-bg);box-shadow:0 0 0 3px var(--gold-soft)}.dealer-quota-input{width:90px}.dealer-table tr.is-edited td:first-child{box-shadow:inset 3px 0 0 var(--gold)}.dealer-unlimited{display:inline-block;padding:0 10px}.organization-settings-card{max-width:760px;display:grid;grid-gap:24px;gap:24px;padding:28px;border:1px solid var(--line);border-radius:16px;background:var(--card)}.organization-settings-summary{padding-bottom:22px;border-bottom:1px solid var(--line)}.organization-settings-summary small,.organization-settings-summary span,.organization-settings-summary strong{display:block}.organization-settings-summary span{color:var(--gold);font-size:.5625rem;letter-spacing:1.4px}.organization-settings-summary strong{margin:8px 0;font-family:Georgia,Songti SC,serif;font-size:1.75rem;font-weight:500}.organization-settings-card>p,.organization-settings-summary small{color:var(--muted);font-size:.625rem}.organization-settings-card form{display:flex;align-items:flex-end;gap:12px}.organization-settings-card form label{min-width:260px;display:grid;flex:1 1;grid-gap:7px;gap:7px;color:var(--muted);font-size:.625rem}.organization-settings-card>p{margin:0}@media (max-width:850px){.course-outline-hero{grid-template-columns:1fr}.course-outline-progress-card{max-width:none}.course-outline-directory{grid-template-columns:30px 28px minmax(0,1fr) auto}.course-outline-directory>i{display:none}.curriculum-node-form{grid-template-columns:1fr 1fr auto}.curriculum-node-expanded{padding-left:60px}}@media (max-width:560px){.course-outline-page{width:calc(100% - 22px)}.course-outline-hero,.course-outline-panel{padding:22px 18px}.course-outline-panel-heading,.curriculum-heading-actions,.dealer-heading-actions,.organization-settings-card form{align-items:stretch;flex-direction:column}.course-outline-directory{grid-template-columns:28px 26px minmax(0,1fr)}.outline-directory-enter{grid-column:3;justify-self:start}.course-outline-children{padding-left:8px}.curriculum-node-form{grid-template-columns:1fr}.curriculum-node-form-actions{grid-column:1}.curriculum-node-form-actions .primary-button{width:100%}.curriculum-admin-node,.curriculum-node-expanded{margin-left:calc(var(--depth, 0) * 10px)}.curriculum-node-expanded{padding:13px}.curriculum-ancestor-children{margin-left:10px}.curriculum-content-item{grid-template-columns:auto minmax(0,1fr)}.curriculum-content-item>button{grid-column:2;justify-self:start}.curriculum-image-resource-item{grid-template-columns:22px 70px minmax(0,1fr)}.curriculum-image-resource-item>button{grid-column:3}.organization-settings-card form label{min-width:0}}.style-resource-page{--resource-green:#4f8c6a}.style-import-progress{position:fixed;z-index:180;top:18px;left:50%;width:min(590px,calc(100vw - 32px));min-height:78px;display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;grid-gap:14px;gap:14px;padding:15px 17px 17px;overflow:hidden;border:1px solid rgba(255,255,255,.12);border-radius:10px;background:rgba(32,32,31,.96);color:#fff;box-shadow:0 14px 44px rgba(0,0,0,.28);transform:translateX(-50%);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);animation:style-import-progress-enter .18s ease-out}.style-import-progress-icon{width:36px;height:36px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.2);border-radius:999px;color:#fff;font-size:1.125rem;font-weight:600}.style-import-progress-icon>span{width:15px;height:15px;border:1.5px solid rgba(255,255,255,.28);border-top-color:#fff;border-radius:999px;animation:style-resource-spin .72s linear infinite}.style-import-progress-copy{min-width:0;display:grid;grid-gap:4px;gap:4px}.style-import-progress-copy span,.style-import-progress-copy strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.style-import-progress-copy strong{font-size:.8125rem;font-weight:600;letter-spacing:.1px}.style-import-progress-copy span{color:rgba(255,255,255,.66);font-size:.625rem}.style-import-progress>button{width:30px;height:30px;display:grid;place-items:center;padding:0;border:0;background:transparent;color:rgba(255,255,255,.72);cursor:pointer;font-size:1.5625rem;font-weight:200;line-height:1}.style-import-progress>button:hover{color:#fff}.style-import-progress-track{position:absolute;right:0;bottom:0;left:0;height:3px;background:rgba(255,255,255,.1)}.style-import-progress-track i{height:100%;display:block;background:var(--gold);transition:width .24s ease}.style-import-progress.is-completed .style-import-progress-icon{border-color:rgba(112,190,143,.5);background:rgba(79,140,106,.2);color:#9bd5b2}.style-import-progress.is-completed .style-import-progress-track i{background:#70be8f}.style-import-progress.is-failed .style-import-progress-icon{border-color:rgba(237,112,112,.5);background:rgba(170,58,58,.22);color:#ffabab}.style-import-progress.is-failed .style-import-progress-track i{background:#d96666}@keyframes style-import-progress-enter{0%{opacity:0;transform:translate(-50%,-8px)}to{opacity:1;transform:translate(-50%)}}.style-resource-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:14px;gap:14px;margin-bottom:22px}.style-resource-stats article{padding:20px;border:1px solid var(--line);border-radius:14px;background:var(--card)}.style-resource-stats small,.style-resource-stats span{display:block;color:var(--muted);font-size:.625rem}.style-resource-stats strong{display:block;margin:8px 0 5px;color:var(--text);font-family:Georgia,Songti SC,serif;font-size:1.875rem;font-weight:500}.style-resource-actions,.style-resource-filters,.style-resource-import-row{display:flex;align-items:center;gap:10px}.style-resource-file{position:relative;display:flex;flex:1 1;min-height:44px;align-items:center;padding:0 15px;overflow:hidden;border:1px dashed var(--line-strong);border-radius:9px;background:var(--subtle-bg);color:var(--muted);cursor:pointer}.style-resource-file input{position:absolute;width:1px;height:1px;opacity:0}.style-resource-file:hover{border-color:var(--gold);color:var(--text)}.style-resource-toolbar{align-items:flex-end}.style-resource-filters{margin:18px 0}.style-resource-filters .field{flex:1 1}.style-resource-filters .select-field{width:180px}.style-resource-table-wrap{position:relative;overflow-x:auto;border:1px solid var(--line);border-radius:11px}.style-resource-table{width:100%;min-width:800px;border-collapse:collapse}.style-resource-table td,.style-resource-table th{padding:13px 14px;border-bottom:1px solid var(--line);text-align:left;vertical-align:middle}.style-resource-table th{background:var(--subtle-bg);color:var(--muted);font-size:.625rem;font-weight:600;letter-spacing:.5px}.style-resource-table td:first-child,.style-resource-table th:first-child{width:42px;text-align:center}.style-resource-table td:last-child,.style-resource-table th:last-child{width:70px;text-align:center}.style-resource-table tbody tr:last-child td{border-bottom:0}.style-resource-table tbody tr:hover{background:var(--gold-soft)}.style-resource-table td small{display:block}.style-resource-title-row{display:flex;align-items:center;gap:5px;max-width:440px;min-height:32px}.style-resource-case-number{flex:0 0 auto;color:var(--gold);font-size:.75rem;font-weight:700}.style-resource-title-button{min-width:0;max-width:390px;display:inline-flex;align-items:center;gap:7px;margin:-5px -7px;padding:5px 7px;border:1px solid transparent;border-radius:6px;background:transparent;color:var(--text);font:inherit;font-size:.75rem;font-weight:700;text-align:left;cursor:text;transition:border-color .15s ease,background .15s ease}.style-resource-title-button>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.style-resource-title-button i{flex:0 0 auto;color:var(--gold);font-size:.8125rem;font-style:normal;opacity:0;transform:translateX(-3px);transition:opacity .15s ease,transform .15s ease}.style-resource-title-button:focus-visible,.style-resource-title-button:hover{border-color:color-mix(in srgb,var(--gold) 34%,transparent);background:var(--gold-soft)}.style-resource-title-button:focus-visible i,.style-resource-title-button:hover i{opacity:1;transform:translateX(0)}.style-resource-title-button:focus-visible,.style-resource-title-input:focus{outline:2px solid color-mix(in srgb,var(--gold) 42%,transparent);outline-offset:1px}.style-resource-title-input{max-width:min(390px,45vw);height:32px;padding:5px 8px;border:1px solid var(--gold);border-radius:6px;background:var(--bg-soft);color:var(--text);font:inherit;font-size:.75rem;font-weight:700}.style-resource-title-saving{flex:0 0 auto;margin:0!important;color:var(--gold)!important;white-space:nowrap}.style-resource-table td small{margin-top:4px;color:var(--muted);font-size:.5625rem}.style-resource-view-button{width:36px;height:36px;display:inline-grid;place-items:center;padding:0;border:1px solid var(--line);border-radius:999px;background:var(--subtle-bg);color:var(--muted);cursor:pointer;transition:border-color .16s ease,color .16s ease,background .16s ease}.style-resource-view-button:focus-visible,.style-resource-view-button:hover{border-color:var(--gold);background:var(--gold-soft);color:var(--gold)}.style-resource-view-button:focus-visible{outline:2px solid var(--gold);outline-offset:2px}.style-resource-view-button:disabled{cursor:wait;opacity:.65}.style-resource-view-button svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.7}.style-resource-view-loading{line-height:1}.style-resource-preview .style-case-body aside{width:390px;border-left:1px solid var(--line)}.style-resource-preview .style-case-images article{position:relative}.style-resource-preview .style-case-images article>.style-resource-image-index-button{position:absolute;z-index:2;top:10px;right:10px;width:34px;height:34px;display:grid;place-items:center;padding:0;border:1px solid rgba(255,255,255,.4);border-radius:999px;background:rgba(25,25,25,.78);color:#fff;cursor:pointer;line-height:1;box-shadow:0 4px 16px rgba(0,0,0,.24);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.style-resource-preview .style-case-images article>.style-resource-image-index-button:focus-visible,.style-resource-preview .style-case-images article>.style-resource-image-index-button:hover{border-color:var(--gold);background:var(--gold);color:#fff;outline:none}.style-resource-preview .style-case-images article>.style-resource-image-index-button:disabled{cursor:wait;opacity:.62}.style-resource-image-index-button svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8}.style-resource-copy-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.style-resource-copy-toolbar h3{margin:0}.style-resource-copy-toolbar button{min-height:30px;padding:5px 12px;font-size:.5625rem}.style-resource-content-edit textarea{width:100%;min-height:300px;resize:vertical;padding:12px;border:1px solid var(--line-strong);border-radius:8px;background:var(--deep-bg);color:var(--text);font:inherit;font-size:.6875rem;line-height:1.75}.style-resource-content-edit textarea:focus{border-color:var(--gold);outline:2px solid var(--gold-soft)}.style-resource-content-edit>small{display:block;margin-top:8px;color:var(--muted);font-size:.5625rem;line-height:1.6}.style-resource-content-edit>div{display:flex;justify-content:flex-end;gap:8px;margin-top:12px}.style-resource-content-feedback{margin:14px 0;padding:10px 12px;border:1px solid rgba(79,140,106,.3);border-radius:8px;background:rgba(79,140,106,.1);color:var(--resource-green);font-size:.5625rem;line-height:1.6}.style-resource-content-feedback.is-error{border-color:var(--red);background:var(--red-bg);color:var(--red)}.style-resource-image-error{min-height:150px;display:grid;place-items:center;padding:20px;color:var(--muted);text-align:center;font-size:.625rem}.style-resource-image-error.is-loading{align-content:center;gap:10px}.style-resource-image-error.is-loading:before{width:22px;height:22px;justify-self:center;border:2px solid var(--line);border-top-color:var(--gold);border-radius:50%;content:"";animation:style-resource-spin .75s linear infinite}@keyframes style-resource-spin{to{transform:rotate(1turn)}}.resource-status{display:inline-flex;min-height:25px;align-items:center;padding:3px 9px;border-radius:999px;background:var(--subtle-bg);color:var(--muted);font-size:.625rem}.resource-status.is-ready{background:rgba(79,140,106,.12);color:var(--resource-green)}.resource-status.is-error{background:var(--red-bg);color:var(--red)}.resource-status.is-excluded{background:rgba(128,128,128,.12)}.style-resource-empty,.style-resource-loading{padding:36px!important;color:var(--muted);text-align:center!important;font-size:.6875rem}@media (max-width:900px){.style-resource-stats{grid-template-columns:1fr 1fr}.style-resource-import-row,.style-resource-toolbar{align-items:stretch;flex-direction:column}.style-resource-actions{width:100%}.style-resource-actions button{flex:1 1}}@media (max-width:850px){.style-resource-preview .style-case-body aside{width:auto;border-left:0}}@media (max-width:560px){.style-import-progress{top:10px;width:calc(100vw - 20px);min-height:72px;grid-template-columns:34px minmax(0,1fr) auto;gap:10px;padding:12px 13px 15px}.style-import-progress-icon{width:31px;height:31px}.style-resource-stats{grid-template-columns:1fr}.style-resource-filters{align-items:stretch;flex-direction:column}.style-resource-filters .select-field{width:100%}}.login-page{position:relative;min-height:100vh;display:grid;grid-template-rows:minmax(0,1fr) auto;place-items:center;grid-gap:20px;gap:20px;overflow:hidden;padding:24px;background:var(--bg)}.login-atmosphere{position:absolute;inset:0;pointer-events:none;background:radial-gradient(circle at 72% 22%,rgba(201,166,107,.11),transparent 34%),linear-gradient(120deg,transparent 45%,var(--login-atmosphere) 45%,var(--login-atmosphere) 45.5%,transparent 45.5%)}.login-card{position:relative;z-index:1;width:min(420px,100%);padding:42px 38px;border:1px solid var(--line);border-radius:18px;background:color-mix(in srgb,var(--sidebar-bg) 94%,transparent);box-shadow:0 35px 100px var(--shadow)}.login-site-footer{width:min(760px,100%);min-height:0;padding:14px 0 0}.login-brand{display:flex;align-items:center;justify-content:center;margin-bottom:34px}.login-brand-logo{width:104px;max-height:60px}.login-heading{margin-bottom:28px;text-align:center}.page-eyebrow{display:block;margin-bottom:9px;color:var(--gold);font-size:.625rem;font-weight:700;letter-spacing:2px}.login-heading h1{margin:0;font-family:Georgia,Songti SC,serif;font-size:1.6875rem;font-weight:500}.login-card form{display:grid;grid-gap:15px;gap:15px}.login-card label{display:grid;grid-gap:7px;gap:7px;color:var(--muted);font-size:.6875rem}.login-card .field{width:100%;min-height:46px}.login-card .primary-button{min-height:46px;margin-top:5px;letter-spacing:2px}.category-select{min-width:170px}.course-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));grid-gap:18px;gap:18px}.course-card{position:relative;min-height:245px;display:flex;flex-direction:column;overflow:hidden;padding:22px;border:1px solid var(--line);border-radius:14px;background:var(--card);text-decoration:none;transition:.22s}.course-card:after{content:"";position:absolute;right:-70px;bottom:-100px;width:180px;height:180px;border:1px solid rgba(201,166,107,.09);border-radius:50%;transition:.3s}.course-card:hover{transform:translateY(-3px);border-color:var(--line-strong);background:var(--card-hover)}.course-card:hover:after{transform:scale(1.15);border-color:rgba(201,166,107,.2)}.course-card-index{position:absolute;top:18px;right:20px;color:var(--decorative);font-family:Georgia,serif;font-size:2.625rem}.course-card-top{min-height:25px;display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:26px}.course-card-categories{display:flex;flex-wrap:wrap;gap:5px}.course-card-categories span{padding:3px 7px;border-radius:999px;background:var(--gold-soft);color:var(--gold);font-size:.5625rem;font-weight:700;letter-spacing:.4px}.course-card h2{position:relative;max-width:88%;margin:0 0 10px;font-family:Georgia,Songti SC,serif;font-size:1.25rem;font-weight:500;line-height:1.45}.course-card>p{position:relative;margin:0;color:var(--muted);font-size:.75rem;line-height:1.7}.course-card-footer{position:relative;display:flex;align-items:center;justify-content:space-between;margin-top:auto;padding-top:20px;color:var(--text-soft);font-size:.6875rem}.course-card-footer span:last-child{color:var(--gold);font-size:1.0625rem}@media (max-width:520px){.login-card{padding:34px 24px}.course-grid{grid-template-columns:1fr}}.admin-section{margin-bottom:34px}.admin-section-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:13px}.admin-section-heading h2{margin:0;font-size:1rem;font-weight:600}.admin-section-heading p{margin:5px 0 0;color:var(--muted);font-size:.6875rem}.inline-form .field{min-width:180px}.inline-form .field.grow{flex:1 1;min-width:260px}.category-tags{display:flex;flex-wrap:wrap;gap:8px}.category-tags>span:not(.empty-inline){display:inline-flex;align-items:center;gap:7px;padding:5px 8px 5px 11px;border:1px solid rgba(201,166,107,.2);border-radius:999px;background:var(--gold-soft);color:var(--gold);font-size:.6875rem}.category-tags button{padding:0;border:0;background:transparent;color:#bba77f;cursor:pointer;font-size:.5625rem}.category-tags button.danger{color:var(--red);font-size:.875rem}.course-form{align-items:stretch}.course-category-picker{min-width:100%;display:flex;flex-wrap:wrap;gap:8px;margin:2px 0;padding:13px;border:1px solid var(--line);border-radius:10px}.course-category-picker legend{padding:0 6px;color:var(--muted);font-size:.6875rem}.course-category-picker label{cursor:pointer}.course-category-picker input{position:absolute;opacity:0;pointer-events:none}.course-category-list span,.course-category-picker label span{display:inline-flex;align-items:center;min-height:28px;padding:4px 10px;border:1px solid var(--line);border-radius:999px;color:var(--muted);background:var(--subtle-bg);font-size:.625rem}.course-category-picker input:checked+span{border-color:color-mix(in srgb,var(--gold) 55%,var(--line));color:var(--gold);background:var(--gold-soft)}.course-category-picker input:focus-visible+span{outline:2px solid var(--gold);outline-offset:2px}.course-form-actions{display:flex;gap:10px}.course-category-list{display:flex;flex-wrap:wrap;gap:5px}.course-category-list span{min-height:23px;padding:2px 8px;color:var(--gold);background:var(--gold-soft)}.course-category-list i{color:var(--muted);font-size:.6875rem;font-style:normal}.empty-inline{color:var(--muted);font-size:.75rem}.selected-row{background:rgba(201,166,107,.055)!important}.course-admin .course-list-table tbody tr{cursor:pointer}.dealer-learning-table{min-width:760px}.dealer-learning-table td:first-child,.dealer-learning-table td:nth-child(2),.dealer-learning-table td:nth-child(6){white-space:nowrap}.learning-progress-cell{min-width:130px;display:flex;align-items:center;gap:9px}.learning-progress-cell i{height:5px;min-width:82px;flex:1 1;overflow:hidden;border-radius:999px;background:var(--decorative)}.learning-progress-cell b{height:100%;display:block;border-radius:inherit;background:var(--gold)}.learning-progress-cell span{width:34px;color:var(--muted);font-size:.625rem;text-align:right}.upload-panel{display:flex;align-items:center;flex-wrap:wrap;gap:18px;margin-bottom:14px;padding:16px;border:1px solid var(--line);border-radius:11px;background:var(--card)}.upload-panel strong{font-size:.75rem}.upload-panel label{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:.6875rem}.upload-panel input{max-width:210px;color:var(--muted);font-size:.625rem}.upload-panel>span{color:var(--gold);font-size:.6875rem}.resource-tags{display:flex;flex-wrap:wrap;gap:5px}.resource-tags span{padding:3px 7px;border-radius:5px;background:var(--gold-soft);color:var(--gold);font-size:.625rem}.resource-tags i{color:var(--muted);font-size:.6875rem;font-style:normal}.page-title-actions{display:flex;align-items:flex-end;gap:10px}.dealer-scope-select{min-width:190px;display:grid;grid-gap:6px;gap:6px;color:var(--muted);font-size:.625rem}.dealer-scope-select .select-field{width:100%}.form-scope-note{align-self:center;color:var(--muted);font-size:.6875rem}.table-select{min-width:150px}.dealer-name-static,.protected-account{color:var(--muted);font-size:.6875rem}@media (max-width:760px){.table-actions{flex-wrap:wrap;min-width:150px}.admin-page .table-panel{margin-right:-2px}}.forum-page{width:min(1320px,calc(100% - 56px));margin:0 auto;padding:34px 0 70px}.forum-hero{min-height:330px;display:grid;grid-template-columns:minmax(0,1.65fr) minmax(260px,.6fr);grid-gap:24px;gap:24px;overflow:hidden;padding:42px;border:1px solid var(--line);border-radius:22px;background:radial-gradient(circle at 82% 0,rgba(201,166,107,.2),transparent 37%),linear-gradient(135deg,var(--bg-soft),var(--bg));box-shadow:0 24px 75px var(--shadow)}.forum-hero-copy{align-self:center}.forum-hero h1{margin:0;font-family:Georgia,Songti SC,serif;font-size:clamp(2.375rem,5vw,3.875rem);font-weight:500;letter-spacing:-1.5px}.forum-hero-copy>p{max-width:710px;margin:17px 0 26px;color:var(--muted);font-size:.875rem;line-height:1.9}.forum-hero-actions{display:flex;flex-wrap:wrap;gap:10px}.forum-status-card{align-self:stretch;display:flex;align-items:flex-start;flex-direction:column;justify-content:center;padding:26px;border:1px solid var(--line);border-radius:17px;background:color-mix(in srgb,var(--card) 92%,transparent);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.forum-status{display:flex;align-items:center;gap:8px;margin-bottom:24px;color:var(--muted);font-size:.6875rem}.forum-status i{width:8px;height:8px;border-radius:50%;background:var(--red);box-shadow:0 0 0 5px var(--red-bg)}.forum-status.online{color:var(--green)}.forum-status.online i{background:var(--green);box-shadow:0 0 0 5px rgba(85,197,138,.1)}.forum-status-card>strong{color:var(--gold);font-family:Georgia,serif;font-size:3.25rem;font-weight:500;line-height:1}.forum-status-card>span{margin-top:7px;color:var(--text);font-size:.75rem;font-weight:650}.forum-status-card>p{margin:17px 0 0;color:var(--muted);font-size:.625rem;line-height:1.7}.forum-message{margin:16px 0 0}.forum-section{margin-top:44px}.forum-section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:17px}.forum-guide-panel>span,.forum-section-heading>div>span,.forum-topic-panel>header span{display:block;margin-bottom:8px;color:var(--gold);font-size:.5625rem;font-weight:750;letter-spacing:1.8px}.forum-guide-panel h2,.forum-section-heading h2,.forum-topic-panel h2{margin:0;font-family:Georgia,Songti SC,serif;font-size:1.5rem;font-weight:500}.forum-section-heading>p{margin:0;color:var(--muted);font-size:.625rem}.forum-category-grid{display:grid;grid-template-columns:repeat(4,1fr);grid-gap:14px;gap:14px}.forum-category-grid article{position:relative;min-height:230px;display:flex;align-items:flex-start;flex-direction:column;overflow:hidden;padding:22px;border:1px solid var(--line);border-radius:15px;background:var(--card);transition:.2s ease}.forum-category-grid article:hover{transform:translateY(-3px);border-color:var(--line-strong);background:var(--card-hover)}.forum-category-number{position:absolute;top:12px;right:17px;color:var(--decorative);font-family:Georgia,serif;font-size:2.6875rem}.forum-category-grid article>span{color:var(--gold);font-size:.5625rem;font-weight:700;letter-spacing:1px}.forum-category-grid h3{position:relative;margin:25px 0 10px;font-family:Georgia,Songti SC,serif;font-size:1.125rem;font-weight:550}.forum-category-grid p{position:relative;margin:0;color:var(--muted);font-size:.6875rem;line-height:1.75}.forum-category-grid button{margin-top:auto;padding:0;border:0;background:transparent;color:var(--gold);cursor:pointer;font-size:.625rem}.forum-category-grid button:disabled{color:var(--muted)}.forum-content-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(280px,.65fr);grid-gap:16px;gap:16px;margin-top:42px}.forum-guide-panel,.forum-topic-panel{overflow:hidden;border:1px solid var(--line);border-radius:16px;background:var(--card)}.forum-topic-panel>header{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;padding:21px 22px;border-bottom:1px solid var(--line)}.forum-topic-panel>header b{padding:5px 9px;border-radius:999px;background:rgba(85,197,138,.1);color:var(--green);font-size:.5rem;font-weight:650}.forum-topic-panel>header b.muted{background:var(--subtle-bg);color:var(--muted)}.forum-topic-list{display:grid}.forum-topic-list>button{min-height:74px;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:13px 22px;border:0;border-bottom:1px solid var(--line);background:transparent;color:var(--text);cursor:pointer;text-align:left;transition:.16s}.forum-topic-list>button:last-child{border-bottom:0}.forum-topic-list>button:hover{background:var(--row-hover)}.forum-topic-list>button>div{min-width:0;display:grid;grid-gap:6px;gap:6px}.forum-topic-list>button>div span{color:var(--gold);font-size:.5625rem}.forum-topic-list strong{overflow:hidden;font-size:.75rem;font-weight:600;text-overflow:ellipsis;white-space:nowrap}.forum-topic-list footer{display:flex;align-items:center;gap:11px;flex:0 0 auto;color:var(--muted);font-size:.5625rem}.forum-topic-list time{min-width:74px;text-align:right}.forum-topic-empty{min-height:250px;display:grid;align-content:center;justify-items:center;padding:30px;color:var(--muted);text-align:center}.forum-topic-empty strong{color:var(--text);font-family:Georgia,Songti SC,serif;font-size:1.125rem;font-weight:500}.forum-topic-empty p{margin:9px 0 0;font-size:.6875rem}.forum-guide-panel{padding:25px;background:linear-gradient(145deg,var(--gold-soft),transparent 45%),var(--card)}.forum-guide-panel>h2{font-size:1.3125rem;line-height:1.5}.forum-guide-panel ol{display:grid;grid-gap:20px;gap:20px;margin:26px 0 0;padding:0;list-style:none}.forum-guide-panel li{display:grid;grid-template-columns:28px 1fr;grid-gap:11px;gap:11px}.forum-guide-panel li>b{color:var(--gold);font-family:Georgia,serif;font-size:.9375rem;font-weight:500}.forum-guide-panel li p{margin:0;color:var(--muted);font-size:.625rem;line-height:1.75}.forum-guide-panel li strong{display:block;margin-bottom:3px;color:var(--text);font-size:.6875rem}:root[data-theme=light] .message.error{color:#9f3434}:root[data-theme=light] .message.success{color:#236d47}:root[data-theme=light] .style-result-image label,:root[data-theme=light] .style-result-image>b{border-color:rgba(255,255,255,.3);background:rgba(20,22,25,.78);color:#f4f1eb}:root[data-theme=light] .style-result-image>b{color:#e1bd7c}:root[data-theme=light] .style-overlay{background:rgba(30,32,36,.56)}@media (max-width:980px){.forum-category-grid{grid-template-columns:repeat(2,1fr)}.forum-content-grid{grid-template-columns:1fr}}@media (max-width:760px){.platform-topbar{height:var(--platform-header-height);min-height:var(--platform-header-height);padding:0 12px}.platform-topbar>div strong{display:none}.theme-toggle{width:36px;min-height:36px}.login-theme-toggle{top:14px;right:14px}.forum-page{width:min(100% - 26px,1320px);padding-top:24px}.forum-hero{grid-template-columns:1fr;padding:28px}.forum-status-card{min-height:190px}.forum-section-heading,.forum-topic-list>button{align-items:flex-start;flex-direction:column}.forum-topic-list>button{gap:10px}.forum-topic-list footer{width:100%;justify-content:space-between}}@media (max-width:520px){.forum-category-grid{grid-template-columns:1fr}.forum-hero{padding:23px}.forum-hero-actions button{flex:1 1}}.platform-layout{height:100dvh}.platform-main{width:100%}.mobile-nav-backdrop,.mobile-nav-close,.mobile-nav-trigger{display:none}.platform-topbar-brand{min-width:0}a,button,input,select,textarea{-webkit-tap-highlight-color:transparent}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--gold);outline-offset:3px}.page-shell{width:min(1180px,calc(100% - 64px));padding-top:42px}.page-title-row{margin-bottom:28px}.page-title-row h1{font-family:Georgia,Songti SC,serif;font-size:1.75rem;font-weight:500;letter-spacing:-.4px}.page-title-row p{max-width:620px}.danger-button,.ghost-button,.primary-button,.small-button{min-height:40px}.inline-form{padding:18px;border-radius:13px}.table-panel{-webkit-overflow-scrolling:touch}.data-table{min-width:680px}.question-panel>div button{color:var(--text-soft)}.course-grid{grid-template-columns:repeat(auto-fill,minmax(270px,1fr))}.course-card{min-height:230px}.forum-page{width:min(1180px,calc(100% - 64px));padding-top:42px}.style-page{width:min(1240px,calc(100% - 64px));padding-top:48px}.style-heading{display:grid;align-items:normal;justify-content:center;justify-items:center;grid-gap:18px;gap:18px;margin-bottom:34px;text-align:center}.style-heading-copy{display:block!important}.style-heading-copy>span{margin-bottom:12px}.style-heading h1{font-size:clamp(2.375rem,4.2vw,3.5rem);line-height:1.15;letter-spacing:-1.5px}.style-heading-actions{display:flex;justify-content:center;gap:9px}.style-search-panel{width:min(1080px,100%);margin:0 auto;border-radius:20px}.style-search-panel form{grid-template-columns:minmax(0,1fr) 160px;gap:20px;padding:26px}.style-finetune-form>label,.style-search-panel form>label{font-size:.6875rem}.style-search-panel textarea{min-height:86px;font-size:.8125rem}.style-search-panel form>div>button{min-height:44px;font-size:.75rem}.style-suggestions{justify-content:center;padding:14px 26px}.style-loading,.style-page>.message{width:min(1080px,100%);margin-right:auto;margin-left:auto}.style-results{margin-top:48px}.style-empty{display:none}@media (max-width:980px){.forum-page,.page-shell,.style-page{width:min(100% - 40px,1180px)}.style-heading{align-items:center}.style-search-panel form{grid-template-columns:minmax(0,1fr) 150px}.forum-hero{padding:34px}}@media (max-width:760px){.platform-layout{--platform-header-height:58px;--platform-footer-height:clamp(42px,7dvh,54px)}.platform-sidebar{position:fixed;z-index:120;inset:0 auto 0 0;width:min(82vw,320px)!important;max-width:320px;transform:translateX(-102%);border-right-color:var(--line-strong);box-shadow:24px 0 70px rgba(0,0,0,.35);transition:transform .24s ease}.platform-sidebar.mobile-open{transform:translateX(0)}.platform-brand{height:var(--platform-header-height);justify-content:flex-start;padding:0 20px}.mobile-nav-close{display:block;margin-left:auto;color:var(--muted);font-size:1.375rem;font-weight:300}.platform-nav{padding:14px 12px}.nav-group+.nav-group{margin-top:18px}.nav-link{min-height:46px;padding:0 14px;font-size:.875rem}.platform-user{height:calc(var(--platform-footer-height) + env(safe-area-inset-bottom));min-height:calc(var(--platform-footer-height) + env(safe-area-inset-bottom));padding:clamp(3px,.7dvh,6px) 16px max(clamp(3px,.7dvh,6px),env(safe-area-inset-bottom))}.platform-user button{min-height:clamp(30px,5dvh,36px)}.mobile-nav-backdrop{position:fixed;z-index:110;inset:0;display:block;border:0;background:rgba(0,0,0,.46);opacity:0;pointer-events:none;transition:opacity .2s ease}.mobile-nav-backdrop.is-visible{opacity:1;pointer-events:auto}.mobile-nav-trigger{width:auto;min-width:44px;height:40px;display:inline-flex;align-items:center;justify-content:flex-start;padding:0;border:0;border-radius:0;background:transparent}.mobile-nav-logo{width:44px;max-height:26px}.platform-topbar{height:var(--platform-header-height);min-height:var(--platform-header-height);padding:0 14px}.platform-topbar-brand{align-items:center!important;gap:0!important}.platform-topbar>div strong{display:none}.platform-content{overscroll-behavior:contain}.forum-page,.page-shell,.style-page{width:min(100% - 28px,1180px);padding-top:28px;padding-bottom:48px}.page-title-row{align-items:stretch;gap:16px;margin-bottom:22px}.page-title-row h1{font-size:1.5625rem}.page-title-row>.ghost-button,.page-title-row>.primary-button{width:100%}.inline-form{display:grid;grid-template-columns:1fr 1fr;grid-gap:10px;gap:10px;padding:14px}.inline-form .field,.inline-form .field.grow,.inline-form .select-field{width:100%;min-width:0;grid-column:1/-1}.inline-form button{width:100%}.course-form-actions{display:grid;grid-template-columns:1fr 1fr;grid-column:1/-1}.admin-section{margin-bottom:28px}.admin-section-heading{align-items:flex-start}.admin-section-heading>.primary-button{flex:0 0 auto}.data-table td,.data-table th{padding:11px 13px}.table-actions{min-width:0;flex-wrap:nowrap}.table-actions button{white-space:nowrap}.admin-page .data-table{width:100%;table-layout:auto}.admin-page .data-table td,.admin-page .data-table th{padding-inline:clamp(8px,2.6vw,13px)}.admin-page .data-table .danger-button,.admin-page .data-table .small-button{min-height:34px;padding:0 9px;font-size:.625rem}.admin-page .table-select{width:clamp(120px,34vw,150px);min-width:0}.admin-page .dealer-table{width:100%;min-width:380px}.admin-page .user-table{width:100%;min-width:690px}.admin-page .user-table td:first-child{max-width:90px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.admin-page .user-table td:nth-child(2){max-width:170px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.admin-page .user-table td:nth-child(3),.admin-page .user-table td:nth-child(5),.admin-page .user-table td:nth-child(6){white-space:nowrap}.course-admin .course-list-table{width:100%;min-width:420px;table-layout:auto}.course-admin .course-list-table td,.course-admin .course-list-table th{padding-inline:clamp(8px,2.6vw,13px)}.course-admin .course-list-table td:nth-child(2),.course-admin .course-list-table td:nth-child(3),.course-admin .course-list-table th{white-space:nowrap}.course-admin .course-list-table td:first-child{max-width:clamp(96px,30vw,180px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.course-admin .course-list-table .table-actions{gap:5px}.course-admin .course-list-table .table-actions button{min-height:34px;padding:0 9px;font-size:.625rem}.course-admin .chapter-list-table{width:100%;min-width:520px;table-layout:auto}.course-admin .chapter-list-table td,.course-admin .chapter-list-table th{padding-inline:clamp(8px,2.6vw,13px)}.course-admin .dealer-learning-table{width:100%;min-width:700px;table-layout:auto}.chapter-list-table-panel,.course-list-table-panel,.dealer-learning-table-panel{scrollbar-width:thin}.upload-panel{align-items:stretch;flex-direction:column;gap:12px}.upload-panel label{align-items:flex-start;flex-direction:column}.upload-panel input{width:100%;max-width:none}.page-title-actions{width:100%;align-items:stretch}.dealer-scope-select{min-width:0;flex:1 1}.page-title-actions>.primary-button{align-self:end}.course-grid{grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:14px}.course-card{min-height:210px;padding:19px}.style-heading{align-items:center;gap:16px;margin-bottom:26px}.style-heading h1{font-size:clamp(1.875rem,8.5vw,2.5rem);letter-spacing:-.8px}.style-heading-actions{width:100%}.style-heading-actions button{flex:1 1}.style-search-panel form{grid-template-columns:1fr;gap:14px;padding:18px}.style-search-panel form>div{grid-template-columns:110px minmax(0,1fr);grid-template-rows:1fr;align-items:end}.style-search-panel form>div>button{height:44px}.style-suggestions{justify-content:flex-start;padding:12px 18px}.style-results{margin-top:34px}.style-results>header{gap:8px}.style-results>header p{margin:0}.style-grid{grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:13px}.style-workspace-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.style-case-modal>header{align-items:flex-start}.forum-hero{min-height:0;gap:18px;padding:28px;border-radius:18px}.forum-hero h1{font-size:clamp(2.375rem,12vw,3.375rem)}.forum-hero-copy>p{margin:14px 0 22px;font-size:.8125rem;line-height:1.75}.forum-status-card{min-height:0;padding:22px}.forum-status{margin-bottom:18px}.forum-section{margin-top:34px}.forum-section-heading{gap:8px}.forum-category-grid{gap:12px}.forum-category-grid article{min-height:205px;padding:20px}.forum-content-grid{margin-top:34px}.quiz-shell{width:min(100% - 28px,820px);padding:30px 0 52px}.quiz-hub{padding:24px 0}.quiz-hub-grid{gap:11px}.quiz-view>header{align-items:flex-start;flex-wrap:wrap}.quiz-view>header>span{margin-left:0}.record-list>button{min-height:64px;padding:10px 14px}.generate-panel,.question-panel,.report-panel{padding:20px}.answer-actions button{min-width:112px}.login-page{min-height:100dvh;padding:76px 16px 24px}.login-card{padding:34px 24px;border-radius:16px}.login-brand{margin-bottom:28px}.login-card .field,.login-card .primary-button{min-height:48px}.learning-room{min-height:100%;height:auto;flex-direction:column;overflow:auto}.learning-stage{min-height:0;flex:0 0 auto}.learning-video{width:100%;height:auto;aspect-ratio:16/9;flex:0 0 auto}.course-document-stage{min-height:min(72dvh,680px);flex:0 0 auto}.course-document-stage>header{padding:10px 12px}.course-document-stage>header a{padding:0 8px}.course-document-fallback,.video-empty{min-height:42vw;flex:0 0 auto}.resource-resize,.side-resize{display:none}.resource-toggle{padding:0 15px}.resource-content{align-items:stretch;flex-direction:column;padding:0 15px 15px}.quiz-entry{align-self:flex-start;min-height:40px;display:inline-flex;align-items:center}.chapter-sidebar,.document-viewer{width:100%!important;min-height:330px;max-height:62dvh;border-top:1px solid var(--line);border-left:0}.chapter-sidebar>header{padding-top:15px}.chapter-rail{width:100%;min-height:46px;align-items:center;justify-content:center;flex-direction:row;padding:0;border-top:1px solid var(--line);border-left:0}.chapter-rail strong{writing-mode:horizontal-tb;letter-spacing:1px}.document-viewer{height:68dvh;max-height:none}}@media (max-width:520px){.forum-page,.page-shell,.style-page{width:calc(100% - 22px)}.theme-toggle{width:38px;min-height:38px}.page-title-row p{font-size:.75rem}.admin-section-heading{align-items:stretch;flex-direction:column;gap:12px}.admin-section-heading>.primary-button{width:100%}.page-title-actions{flex-direction:column}.page-title-actions>.primary-button{width:100%}.data-table{min-width:620px}.course-grid{grid-template-columns:1fr}.course-card{min-height:195px}.style-heading{margin-bottom:22px}.style-heading h1{max-width:10em;font-size:1.875rem}.style-heading-actions{align-items:stretch;flex-direction:column}.style-search-panel{border-radius:15px}.style-search-panel form{padding:15px}.style-search-panel textarea{min-height:92px}.style-search-panel form>div{grid-template-columns:1fr;grid-template-rows:auto auto}.style-suggestions>span{display:none}.style-grid,.style-workspace-grid{grid-template-columns:1fr}.style-finetune-modal,.style-workspace-modal{border-radius:12px}.style-case-modal{width:100vw;height:100dvh;border:0;border-radius:0}.style-case-modal>header{gap:12px;padding:13px}.style-case-modal h2{font-size:1.0625rem}.style-case-images{gap:12px;padding:10px}.style-case-body aside{max-height:38dvh;padding:17px}.forum-hero{padding:22px}.forum-hero-actions{align-items:stretch;flex-direction:column}.forum-hero-actions button{width:100%}.forum-category-grid{grid-template-columns:1fr}.forum-topic-panel>header{align-items:flex-start;padding:18px}.forum-topic-list>button{padding:14px 18px}.forum-guide-panel{padding:21px}.quiz-hub-grid{grid-template-columns:1fr}.quiz-hub-grid button{min-height:135px;padding:21px}.record-list>button{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;grid-gap:7px 10px;gap:7px 10px}.record-list i,.record-list time{grid-column:auto;grid-row:auto}.generate-panel,.question-panel,.report-panel{padding:17px}.question-panel>div button{min-height:56px}.answer-actions{gap:10px}.answer-actions button{min-width:0;flex:1 1}.login-card{padding:30px 20px}.login-heading h1{font-size:1.5625rem}}.ai-config-page{max-width:1440px}.ai-config-grid{display:flex;flex-direction:column;gap:22px;margin-top:22px}.ai-config-editor,.ai-config-services,.ai-history-section{border:1px solid var(--line);border-radius:20px;background:var(--card)}.ai-config-services{padding:22px;background:linear-gradient(135deg,color-mix(in srgb,var(--gold) 7%,transparent),transparent 42%),var(--card)}.ai-config-section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:18px}.ai-config-section-heading span{color:var(--gold);font-size:.625rem;font-weight:750;letter-spacing:.12em}.ai-config-section-heading h2{margin:5px 0 0;font-family:Georgia,Songti SC,serif;font-size:1.3125rem;font-weight:500}.ai-config-section-heading p{max-width:420px;margin:0;color:var(--muted);font-size:.75rem;text-align:right}.ai-config-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:12px;gap:12px}.ai-config-list button{display:grid;grid-template-columns:auto 1fr;align-content:start;grid-gap:6px 11px;gap:6px 11px;min-height:132px;padding:17px;border:1px solid var(--line);border-radius:16px;color:var(--text);background:color-mix(in srgb,var(--card) 94%,var(--bg));text-align:left;cursor:pointer;transition:border-color .18s ease,background .18s ease,transform .18s ease,box-shadow .18s ease}.ai-config-list button.is-active,.ai-config-list button:hover{border-color:color-mix(in srgb,var(--gold) 40%,var(--line));background:color-mix(in srgb,var(--gold) 8%,var(--card));transform:translateY(-2px);box-shadow:0 12px 30px color-mix(in srgb,#000 12%,transparent)}.ai-config-list button.is-active{border-color:color-mix(in srgb,var(--gold) 68%,var(--line))}.ai-config-list button>span{grid-row:span 2;align-self:start;padding:3px 6px;border-radius:6px;color:var(--gold);background:color-mix(in srgb,var(--gold) 12%,transparent);font-size:.625rem;font-weight:800}.ai-config-list strong{align-self:center;font-size:.875rem}.ai-config-list i,.ai-config-list small{grid-column:2;color:var(--muted);font-size:.6875rem;font-style:normal;word-break:break-all}.ai-config-editor{padding:28px}.ai-config-editor-heading{display:flex;justify-content:space-between;gap:24px;padding-bottom:20px;border-bottom:1px solid var(--line)}.ai-config-editor-heading span{color:var(--gold);font-size:.6875rem;font-weight:700;letter-spacing:.06em}.ai-config-editor-heading h2{margin:5px 0;font-size:1.5rem}.ai-config-editor-heading p,.ai-history-section p{margin:0;color:var(--muted);font-size:.8125rem}.ai-config-version{display:flex;flex-direction:column;align-items:flex-end;gap:5px;min-width:170px}.ai-config-version small{color:var(--muted);font-size:.6875rem}.ai-config-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:18px;gap:18px;padding-top:22px}.ai-config-form label{display:flex;flex-direction:column;gap:7px;color:var(--text);font-size:.8125rem;font-weight:650}.ai-config-form label small{color:var(--muted);font-size:.6875rem;font-weight:400}.ai-secret-control{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-gap:8px;gap:8px}.ai-secret-control .small-button{min-width:68px}.ai-change-note,.ai-not-applicable,.ai-prompt-field{grid-column:1/-1}.ai-prompt-field textarea{min-height:280px;resize:vertical;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:.75rem;line-height:1.6}.ai-not-applicable{padding:18px;border:1px dashed var(--line);border-radius:12px;color:var(--muted);font-size:.8125rem}.ai-config-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:22px;padding-top:18px;border-top:1px solid var(--line)}.ai-history-section{margin-top:22px;overflow:hidden}.ai-history-section .admin-section-heading{padding:20px 22px}.ai-history-section .table-panel{border:0;border-top:1px solid var(--line);border-radius:0}.ai-history-section td strong{margin-right:8px}.ai-history-url{display:block;max-width:320px;margin-top:4px;color:var(--muted);font-size:.625rem;word-break:break-all}@media (max-width:1100px){.ai-config-list{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:620px){.ai-config-editor,.ai-config-services{padding:18px}.ai-config-section-heading{align-items:flex-start;flex-direction:column;gap:8px}.ai-config-section-heading p{text-align:left}.ai-config-form,.ai-config-list{grid-template-columns:1fr}.ai-config-list button{min-height:112px}.ai-config-editor-heading{flex-direction:column}.ai-config-version{align-items:flex-start}}.user-quota-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:14px;gap:14px;margin:-8px 0 24px}.user-quota-grid article{min-width:0;padding:20px 22px;border:1px solid var(--line);border-radius:14px;background:linear-gradient(145deg,var(--gold-soft),transparent 52%),var(--card)}.user-create-fields label>span,.user-permission-note>span,.user-quota-grid article>span{display:block;margin-bottom:8px;color:var(--muted);font-size:.625rem;letter-spacing:.5px}.user-quota-grid strong{display:block;margin-bottom:7px;color:var(--text);font-family:Georgia,Songti SC,serif;font-size:1.875rem;font-weight:500}.user-quota-grid small{color:var(--muted);font-size:.625rem}.user-quota-grid .is-exhausted{border-color:rgba(222,92,92,.3);background:var(--red-bg)}.user-quota-grid .is-exhausted small,.user-quota-grid .is-exhausted strong{color:var(--red)}.user-create-form{display:block;padding:22px}.user-create-fields{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:12px;gap:12px}.user-create-fields label,.user-permission-note{min-width:0}.user-create-fields .field,.user-create-fields .select-field{width:100%;min-width:0}.user-permission-note{min-height:66px;padding:10px 13px;border:1px solid var(--line);border-radius:9px;background:var(--subtle-bg)}.user-permission-note>span{margin-bottom:5px}.user-permission-note strong{color:var(--text);font-size:.8125rem}.identity-category-picker{min-width:100%;margin:20px 0 0;padding:16px;border:1px solid var(--line);border-radius:11px}.identity-category-picker legend{padding:0 7px;color:var(--text);font-size:.75rem;font-weight:600}.identity-category-picker>p{margin:0 0 13px;color:var(--muted);font-size:.625rem}.identity-category-options,.identity-tag-list{display:flex;flex-wrap:wrap;gap:7px}.identity-category-options label{cursor:pointer}.identity-category-options input{position:absolute;width:1px;height:1px;overflow:hidden;opacity:0}.identity-category-options span,.identity-tag{display:inline-flex;align-items:center;min-height:28px;padding:4px 10px;border:1px solid var(--line);border-radius:999px;color:var(--muted);font-size:.625rem;transition:.16s}.identity-category-options label.selected span,.identity-category-options label:hover span,.identity-tag{border-color:rgba(201,166,107,.35);background:var(--gold-soft);color:var(--gold)}.identity-category-empty{display:block;padding:10px 0 4px;color:var(--muted);font-size:.6875rem}.identity-category-create{display:flex;gap:8px;margin-top:14px}.identity-category-create .field{width:min(300px,100%)}.user-create-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:18px}@media (max-width:820px){.user-quota-grid{grid-template-columns:1fr}.user-create-fields{grid-template-columns:1fr 1fr}}@media (max-width:520px){.user-create-fields{grid-template-columns:1fr}.identity-category-create,.user-create-actions{display:grid;grid-template-columns:1fr 1fr}.identity-category-create .field{width:100%}}.style-search-panel .style-search-form{grid-template-columns:minmax(0,1fr);gap:16px}.style-search-panel .style-search-query{min-height:128px;resize:vertical}.style-search-panel .style-search-query::-webkit-resizer{border:0;background:transparent;background-image:none;color:transparent}.style-search-panel .style-search-actions{display:grid;grid-template-columns:120px 120px;grid-template-rows:auto;align-items:end;justify-content:center;grid-gap:14px;gap:14px}.style-search-panel .style-search-actions>button{min-height:38px;padding:0 18px}@media (max-width:560px){.style-search-panel .style-search-query{min-height:108px}.style-search-panel .style-search-actions{grid-template-columns:112px 112px}}