/* Scoped to management chrome and its light workspace. No learner/editor theme changes. */
body.admin-workspace{--bg:#f3f5f4;--p:#fff;--p2:#edf2ef;--t:#24332f;--m:#667970;--l:#dbe4de;--b:#327453;--g:#327453;--y:#987125;--text-primary:#24332f;--text-secondary:#677970;--el-color-primary:#347755;--el-color-primary-light-3:#62a880;--el-color-primary-light-9:#edf6ef;--el-bg-color:#fff;--el-bg-color-page:#f3f5f4;--el-bg-color-overlay:#fff;--el-fill-color-blank:#fff;--el-fill-color-light:#f1f5f2;--el-text-color-primary:#24332f;--el-text-color-regular:#41564b;--el-text-color-secondary:#677970;--el-border-color:#d3dfd7;--el-border-color-light:#e1e8e3;background:#f3f5f4!important;background-image:none!important;color:#24332f!important;color-scheme:light;overflow:hidden;margin:0;font:14px/1.5 system-ui,"Microsoft YaHei",sans-serif;user-select:text}
.admin-shell,.admin-shell *{box-sizing:border-box}
.admin-shell{--admin-sidebar-width:232px;display:grid;grid-template-columns:var(--admin-sidebar-width) minmax(0,1fr);height:100dvh;width:100%;overflow:hidden}
.admin-shell.is-collapsed{--admin-sidebar-width:64px}
.admin-sidebar{display:flex;flex-direction:column;min-height:0;background:#142a25;color:#c6d5ce;border-right:1px solid #203a30;font-size:13px;overflow:hidden}
.admin-brand{display:flex;align-items:center;gap:11px;min-height:72px;padding:16px 20px;color:#f2f6ef!important;text-decoration:none!important;white-space:nowrap}
.admin-brand b{display:grid;place-items:center;flex:0 0 32px;height:32px;background:#c9e4a8;color:#1c3b2c;border-radius:8px;font-size:23px}
.admin-brand span{font-size:16px;font-weight:600}.admin-brand small{display:block;font-size:10px;font-weight:400;color:#93aaa0;margin-top:2px;letter-spacing:2px}
.admin-nav-scroll{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;padding:4px 12px 12px;scrollbar-width:thin;scrollbar-color:#4f6a5c transparent}
.admin-nav-group{margin-bottom:10px}.admin-group-toggle{display:flex;justify-content:space-between;width:100%;padding:8px 12px;border:0;background:transparent!important;color:#91a99c!important;font:11px/1.5 system-ui!important;letter-spacing:1px;cursor:pointer;text-align:left;border-radius:5px}
.admin-chevron{font-size:14px;transform:rotate(-90deg)}.is-open .admin-chevron{transform:none}
.admin-group-links{display:none}.is-open>.admin-group-links{display:grid;gap:3px}
.admin-sidebar .admin-nav-link{display:flex;align-items:center;gap:11px;height:38px;border:0;border-radius:7px;padding:0 12px;color:#c5d5cb!important;text-decoration:none!important;white-space:nowrap;position:relative;font:13px/1.3 system-ui}
.admin-sidebar .admin-nav-link:hover{background:#ffffff0b;color:#fff!important}.admin-sidebar .admin-nav-link.is-current{background:#cee5af;color:#203a2c!important;font-weight:600}
.admin-nav-link svg,.admin-topbar svg,.admin-collapse svg,.admin-search-results svg{width:18px;height:18px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.admin-nav-link small{margin-left:auto;color:inherit;opacity:.55;font-size:12px}.admin-nav-link span{overflow:hidden;text-overflow:ellipsis}
.admin-sidebar-bottom{padding:10px 12px;border-top:1px solid #ffffff12}.admin-role{display:block;padding:0 12px 8px;color:#91a99c;font-size:11px}
.admin-sidebar .admin-collapse{display:flex;align-items:center;gap:11px;padding:9px 12px;width:100%;border:0;color:#adc4b6!important;background:#ffffff06!important;font:12px system-ui;border-radius:6px;cursor:pointer}
.admin-sidebar .admin-collapse:hover{background:#ffffff10!important}
.is-collapsed .admin-brand{padding:20px 16px;min-height:72px}.is-collapsed .admin-brand span,.is-collapsed .admin-group-toggle,.is-collapsed .admin-role,.is-collapsed .admin-nav-link span,.is-collapsed .admin-nav-link small,.is-collapsed .admin-collapse span{display:none}
.is-collapsed .admin-nav-scroll{padding:2px 8px 8px}.is-collapsed .admin-group-links{display:grid;gap:3px}.is-collapsed .admin-nav-group{padding-bottom:8px;border-bottom:1px solid #ffffff0e;margin-bottom:8px}.is-collapsed .admin-sidebar .admin-nav-link{height:40px;padding:0;justify-content:center}.is-collapsed .admin-sidebar-bottom{padding:10px 8px}.is-collapsed .admin-sidebar .admin-collapse{padding:10px;justify-content:center}
.admin-shell-main{min-width:0;min-height:0;display:flex;flex-direction:column}
.admin-topbar{height:56px;flex:0 0 56px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 28px;background:#fff;border-bottom:1px solid #e0e7e1;font-size:12px;z-index:35}
.admin-breadcrumb{display:flex;align-items:center;gap:12px;min-width:0;white-space:nowrap}.admin-breadcrumb span{color:#7c8b82}.admin-breadcrumb strong{font-weight:500;color:#263b2e}
.admin-top-actions{display:flex;align-items:center;gap:20px;flex-shrink:0}
.admin-topbar .admin-function-search{display:flex;align-items:center;gap:8px;padding:6px 10px;border:1px solid #e0e7e2;border-radius:6px;background:#f7f9f7!important;color:#738278!important;font:12px system-ui;cursor:pointer}.admin-function-search svg{width:14px;height:14px}.admin-function-search kbd{font:10px system-ui;color:#89958c;border:1px solid #dce4de;border-radius:3px;padding:1px 4px;margin-left:12px}
.admin-account{position:relative;font:12px system-ui}.admin-account summary{display:flex;align-items:center;gap:16px;list-style:none;cursor:pointer;max-width:180px;overflow:hidden;text-overflow:ellipsis}.admin-account summary::-webkit-details-marker{display:none}.admin-account summary span{color:#8b9a90}.admin-account>div{position:absolute;right:0;top:30px;min-width:170px;background:#fff;border:1px solid #dce5df;box-shadow:0 8px 24px #263b2e14;border-radius:8px;padding:8px;z-index:100}
.admin-account>div small{display:block;padding:8px;color:#7c8b82}.admin-account a,.admin-account button{display:block;width:100%;background:transparent!important;color:#3f5547!important;text-align:left;border:0;padding:9px 8px;text-decoration:none;font:12px system-ui;cursor:pointer}
.admin-account a:hover,.admin-account button:hover{background:#f1f6f2!important;border-radius:4px}
.admin-page-content{flex:1;min-width:0;min-height:0;overflow:auto;position:relative;overscroll-behavior:contain;container-type:inline-size}
.admin-workspace .admin-page-content>header,.admin-workspace .admin-page-content>#app>header,.admin-workspace .qb-header{background:#fff;border-color:#e0e7e2;display:flex;align-items:center;flex-wrap:wrap;gap:14px;padding:20px 28px;height:auto;color:#283c30}
.admin-page-content>header>a[href="/admin"],.admin-page-content>header>.brand,.admin-page-content>header>.resource-home,.admin-page-content .qb-header>.resource-home{display:none!important}
.admin-page-content>header h1,.admin-page-content .qb-header h1{font-size:21px;font-weight:600;color:#263b2e;margin:0}
.admin-page-content>main{max-width:none;margin:0;padding:22px 28px}.admin-page-content a{color:#327453}.admin-page-content .muted,.admin-page-content small{color:#748579}
.admin-workspace input:not([type=checkbox]):not([type=radio]):not([type=range]):not(:where(.op-editor *)),.admin-workspace select:not(:where(.op-editor *)),.admin-workspace textarea:not(:where(.op-editor *)){background:#fff!important;color:#273d2f!important;border-color:#cddbd1!important;border-radius:6px!important;font-family:inherit}
.admin-workspace input:not(:where(.op-editor *))::placeholder,.admin-workspace textarea:not(:where(.op-editor *))::placeholder{color:#8a998f!important}
.admin-workspace option:not(:where(.op-editor *)){background:#fff;color:#273d2f}
.admin-workspace .admin-page-content button:not(.danger),.admin-workspace dialog:not(.op-editor) button:not(.danger){background:#fff;color:#3e5545;border-color:#d3ded6;border-radius:6px}
.admin-workspace .admin-page-content button:hover{border-color:#94b5a0}
.admin-workspace .admin-page-content .primary,.admin-workspace .admin-page-content .pr-primary,.admin-workspace .admin-page-content .el-button--primary,.admin-workspace .el-button--primary{background:#347755!important;border-color:#347755!important;color:#fff!important}
.admin-workspace .admin-page-content .card,.admin-workspace .admin-page-content .panel,.admin-workspace .admin-page-content .portal-card,.admin-workspace .admin-page-content .create-user,.admin-workspace .admin-page-content .role-form{background:#fff!important;border-color:#dde6df!important;box-shadow:none}
body.admin-workspace .el-dialog,body.admin-workspace .el-message-box,body.admin-workspace .el-select-dropdown,body.admin-workspace .el-popper.is-light,body.admin-workspace .el-drawer,body.admin-workspace dialog:not(.admin-search-dialog):not(.op-editor),body.admin-workspace .modal>.box,body.admin-workspace .modal .box,body.admin-workspace .modal>.card{background:#fff!important;color:#273d2f!important;border:1px solid #d5e1d8!important;border-radius:10px!important;box-shadow:0 18px 60px #243d2920!important;color-scheme:light}
body.admin-workspace .el-dialog__header,body.admin-workspace .el-dialog__body,body.admin-workspace .el-dialog__footer{background:#fff!important;color:#273d2f!important}
body.admin-workspace .el-dialog__title,body.admin-workspace .el-message-box__title,body.admin-workspace .el-form-item__label,body.admin-workspace .el-tabs__item,body.admin-workspace .el-checkbox__label{color:#3e5545!important}
body.admin-workspace .el-input__wrapper,body.admin-workspace .el-textarea__inner,body.admin-workspace .el-input-number,body.admin-workspace .el-select__wrapper{background:#fff!important;box-shadow:0 0 0 1px #cddbd1 inset!important;color:#273d2f!important}
body.admin-workspace .el-input__inner,body.admin-workspace .el-select__selected-item{color:#273d2f!important}
/* Complete the light palette for teleported dialogs and their composite controls. */
body.admin-workspace .el-input-number__increase,body.admin-workspace .el-input-number__decrease{background:#f1f5f2!important;color:#41564b!important;border-color:#cddbd1!important}
body.admin-workspace .el-input-number__increase.is-disabled,body.admin-workspace .el-input-number__decrease.is-disabled{color:#8b9a90!important}
body.admin-workspace .el-input.is-disabled .el-input__wrapper,body.admin-workspace .el-textarea.is-disabled .el-textarea__inner{background:#f3f5f3!important}
body.admin-workspace .el-input.is-disabled .el-input__inner{background:transparent!important;-webkit-text-fill-color:#708375!important}
body.admin-workspace .el-select-dropdown__item,body.admin-workspace .el-dropdown-menu__item,body.admin-workspace .el-message-box__content{color:#41564b!important}
body.admin-workspace .el-dropdown-menu{background:#fff!important}
body.admin-workspace .el-select-dropdown__item.is-hovering,body.admin-workspace .el-dropdown-menu__item:hover{background:#edf6ef!important}
body.admin-workspace .el-dialog .el-tabs__item.is-active{color:#327453!important}
body.admin-workspace .el-dialog [style*="color:#64748b"],body.admin-workspace .el-dialog [style*="color: #64748b"]{color:#607368!important}
body.admin-workspace :is(dialog,.el-dialog,.el-message-box,.el-drawer):not(.op-editor) :is(small,.muted,.note){color:#607368!important}
body.admin-workspace :is(dialog,.el-dialog,.el-message-box,.el-drawer):not(.op-editor) :is(.danger,.error,.dialog-error,.v-error,.bad,#editor-error){color:#b14235!important}
body.admin-workspace dialog:not(.op-editor) .primary{background:#347755!important;color:#fff!important;border-color:#347755!important}

body.admin-workspace .el-table,body.admin-workspace .el-table tr,body.admin-workspace .el-table td.el-table__cell,body.admin-workspace .el-table th.el-table__cell{background:#fff!important;color:#3e5545!important}
body.admin-workspace .el-button:not(.el-button--primary){background:#f7f9f7!important;border-color:#d2ded6!important;color:#3e5545!important}
body.admin-workspace .el-tabs__item.is-active,body.admin-workspace .el-select-dropdown__item.is-selected{color:#327453!important}
.admin-workspace [style*="color:#64748b"],.admin-workspace [style*="color: #64748b"],.admin-workspace [style*="color:#8b949e"],.admin-workspace [style*="color: #94a3b8"]{color:#708375!important}
.admin-workspace a:not(:where(.op-editor *)):focus-visible,.admin-workspace button:not(:where(.op-editor *)):focus-visible{outline:2px solid #599969;outline-offset:3px}
.admin-page-content table{border-collapse:collapse}.admin-page-content td,.admin-page-content th{border-color:#dbe5de!important}
.admin-page-content #status,.admin-page-content #notice{background:#eff5f0;color:#416c50;border-color:#dce7df}
.admin-workspace .catalog-header{grid-template-columns:minmax(0,1fr);grid-template-areas:"title" "categories";gap:12px}.admin-workspace .catalog-brand{display:none}.admin-workspace .catalog-navigation{grid-area:categories;border:0;padding:0}
.admin-workspace[data-admin-page=components] .admin-page-content>main{height:calc(100% - 68px);padding:0;min-height:500px;background:#f3f5f4}
.admin-workspace[data-admin-page=components] main>aside{background:#fff;border-color:#dbe5de}.admin-workspace[data-admin-page=components] main>section{background:#f7f9f7}
.admin-workspace[data-admin-page=components] .library-actions,.admin-workspace[data-admin-page=components] .search,.admin-workspace[data-admin-page=components] #items{background:#fff;color:#3d5545;border-color:#dbe5de}
.admin-workspace[data-admin-page=components] #items button,.admin-workspace[data-admin-page=components] .item{background:#fff!important;color:#3d5545!important;border-color:#e2e9e4!important}.admin-workspace[data-admin-page=components] #items .active{background:#edf6ef!important;border-color:#82ad90!important}
.admin-workspace[data-admin-page=components] #editor{background:#fff;color:#3d5545}.admin-workspace[data-admin-page=components] .tabs button[aria-selected=true]{background:#edf6ef;color:#327453}
.admin-workspace .pr-top>.pr-brand,.admin-workspace .pr-top>nav{display:none}.admin-workspace[data-admin-page=models] .pr-top{display:none}
.admin-workspace .pr-page{background:transparent;color:#3d5545}.admin-workspace .pr-list{background:#fff;border-color:#dce6df}.admin-workspace #production{height:auto;min-height:100%;background:transparent;--pr-top-height:0px}
.admin-workspace .pr-step-head,.admin-workspace .pr-foot,.admin-workspace .pr-content{background:#fff;color:#3d5545;border-color:#dce6df}
.admin-search-dialog{width:min(540px,calc(100vw - 40px));padding:18px;border:1px solid #d5e1d8;border-radius:12px;background:#fff;color:#273d2f;box-shadow:0 20px 80px #0003}
.admin-search-dialog::backdrop{background:#10282060;backdrop-filter:blur(3px)}.admin-search-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px}.admin-search-head label{font-size:15px;font-weight:600}.admin-search-head button{background:transparent;border:0;font-size:22px;color:#687d6b;cursor:pointer;padding:0 8px}
.admin-search-dialog>input{width:100%;padding:11px 12px;border:1px solid #ceddd2;border-radius:7px;font:14px system-ui}
.admin-search-results{max-height:380px;overflow:auto;margin-top:10px;display:grid;gap:3px}.admin-search-results a{display:flex;align-items:center;gap:12px;padding:9px 12px;border-radius:7px;color:#304938;text-decoration:none;font-size:13px}.admin-search-results a>span{flex:1}.admin-search-results small{display:block;font-size:10px;color:#879789}.admin-search-results a:hover,.admin-search-results .is-selected{background:#edf5ec}.admin-search-dialog>p{font:11px system-ui;color:#8d9b91;margin-bottom:0}.admin-search-empty{padding:25px;text-align:center;color:#829286;font-size:13px}
.admin-shell-error{padding:14px;background:#fff1e6;color:#854b1d}
.admin-workspace{--line:#d5e1d9;--dim:#73877a;--green:#347755;--lime:#347755;--muted:#748b7a}
.admin-workspace .admin-page-content p,.admin-workspace .admin-page-content .tools>span,.admin-workspace .admin-page-content .card p{color:#6e8276}
.admin-workspace .admin-page-content .card .tag{color:#43825a}
.admin-workspace .admin-page-content>main section,.admin-workspace .layout section,.admin-workspace .sources,.admin-workspace .preview{background:#fff;color:#3e5647;border-color:#dbe6de}
.admin-workspace .layout .money{color:#347755}.admin-workspace .layout .badge{background:#ecf5e8;color:#3b724a}.admin-workspace .layout label,.admin-workspace .layout h2{color:#3e5647}.admin-workspace .layout input[type=datetime-local]{color-scheme:light}.admin-workspace .layout th{color:#73877a}
.admin-workspace[data-admin-page=components] #notice{display:none}.admin-workspace[data-admin-page=components] #categories{padding:0;border:0}.admin-workspace[data-admin-page=components] #categories .selected{background:#eaf4e9;color:#327453;border-color:#9fbca6}.admin-workspace[data-admin-page=components] .detail-head,.admin-workspace[data-admin-page=components] article,.admin-workspace[data-admin-page=components] .bound-model{background:#fff;color:#3e5647;border-color:#dbe6de}
.admin-workspace #question-bank{height:calc(100dvh - 56px);--el-color-primary:#347755;--el-color-primary-light-9:#edf6ef;--el-color-primary-light-3:#62a880;--el-bg-color:#fff;--el-bg-color-overlay:#fff;--el-fill-color-blank:#fff;--el-fill-color-light:#f1f5f2;--el-text-color-primary:#24332f;--el-text-color-regular:#41564b;--el-text-color-placeholder:#809387;--el-border-color:#d3dfd7;--el-border-color-light:#e1e8e3;--el-border-color-hover:#8ead98;--el-disabled-bg-color:#f3f5f3;--el-disabled-text-color:#9eaea2}
.admin-workspace .qb-library,.admin-workspace .question-editor,.admin-workspace .question-actions,.admin-workspace .qb-option{background:#fff!important;color:#3e5647;border-color:#dbe6de!important}.admin-workspace .qb-option.is-correct{background:#f0f7eb!important;border-color:#93b29a!important}
.admin-workspace .qb-question:hover,.admin-workspace .qb-question.is-selected,.admin-workspace .qb-question.is-selected:hover{background:#eef6eb}.admin-workspace .qb-question.is-selected{border-left-color:#5a966d}.admin-workspace .qb-question,.admin-workspace .qb-list-controls,.admin-workspace .qb-editor-header,.admin-workspace .qb-node-list,.admin-workspace .qb-allocation{border-color:#dbe6de}
.admin-workspace .qb-list-heading h2,.admin-workspace .qb-editor-header h2,.admin-workspace .qb-editor-empty h2,.admin-workspace .qb-field-label,.admin-workspace .qb-allocation-toggle{color:#3c5546!important}.admin-workspace .qb-question-answer,.admin-workspace .qb-summary strong,.admin-workspace .qb-option>span{color:#43825a}.admin-workspace .qb-status,.admin-workspace .qb-chip{background:#edf5e9;color:#43825a;border-color:#c9dcc9}
.admin-workspace .qb-summary,.admin-workspace .qb-list-heading,.admin-workspace .qb-editor-empty,.admin-workspace .qb-help,.admin-workspace .qb-edit-status,.admin-workspace .qb-question-meta{color:#708578}.admin-workspace .qb-warning{color:#ae7d40!important}.admin-workspace .qb-editor-empty .qb-empty-icon{color:#86ad80}
.admin-workspace .mg-shell{padding:24px 28px 0;min-height:calc(100dvh - 56px);max-width:none}.admin-workspace .mg-heading>.resource-home{display:none!important}.admin-workspace .mg-heading{flex-wrap:wrap}.admin-workspace .mg-heading nav{flex-wrap:wrap;gap:16px}.admin-workspace .mg-heading h1{color:#2f4939;font-size:22px}
.admin-workspace .mg-grid{grid-template-columns:repeat(auto-fill,minmax(180px,1fr))}.admin-workspace .mg-card{background:#fff;border:1px solid #d6e2d9;border-radius:10px}.admin-workspace .admin-page-content .mg-pick{background:transparent!important;color:#3e5647;border:0}.admin-workspace .mg-poster img{transform:none}
.admin-workspace .mg-card-title{background:#ffffffeb;border-color:#e0e9e2;color:#375442;text-shadow:none;box-shadow:0 2px 7px #213d2510}.admin-workspace .mg-card-title strong{color:#375442}.admin-workspace .mg-version-count{background:#eff5ef;border-color:#dce7dd;color:#5e7a67}.admin-workspace .mg-card-title small{color:#748b7a}
.admin-workspace .mg-pagination,.admin-workspace .mg-search{background:#f5f8f4;border-color:#d6e2d9;color:#6a8373}.admin-workspace .mg-search input{background:transparent!important}.admin-workspace .mg-upload{background:#347755;color:#fff}.admin-workspace .mg-upload svg{stroke:#fff}.admin-workspace .mg-card.is-active .mg-card-title{background:#ffffffed}
.admin-workspace .v-card{background:#fff;border-color:#dbe6de;color:#3e5647}.admin-workspace .v-card small,.admin-workspace .v-card p{color:#718779}
.admin-workspace .v-dialog footer{background:#fff;border-color:#dbe6de}.admin-workspace .v-uses{color:#43825a}
.admin-workspace .role-list [aria-pressed=true],.admin-workspace .tabs [aria-selected=true]{background:#eaf4e7;color:#37774d;border-color:#99b7a1}
.admin-workspace .bench-editor{height:calc(100dvh - 140px);min-height:420px;grid-template-columns:160px minmax(240px,1fr) 280px}.admin-workspace .bench-editor>*{min-width:0}.admin-workspace .bench-editor input,.admin-workspace .bench-editor select{min-width:0;max-width:100%}.admin-workspace .bench-editor nav,.admin-workspace .bench-editor aside{background:#fff;color:#3e5647;border-color:#dbe6de}.admin-workspace .bench-editor nav button{white-space:normal;overflow-wrap:anywhere}.admin-workspace .bench-editor nav button[aria-current=true]{background:#edf5e8;color:#37774d;border-color:#a9c4ae}.admin-workspace .bench-overlay label,.admin-workspace .bench-viewport #bench-status{background:#ffffffed;color:#4c6857;border:1px solid #dbe6de}
.admin-workspace .step,.admin-workspace .notice{background:#fff;color:#3e5647;border-color:#dbe6de}.admin-workspace .coordinates label{color:#718779}.admin-workspace #scene-status{color:#43825a}
.admin-workspace .site-footer{position:static!important;background:transparent!important;color:#90a294!important;border:0!important;padding:25px 16px;font-size:10px;text-align:center}.admin-workspace>.site-footer{display:none}
.admin-workspace .app-container{height:auto;width:100%;min-height:100%;overflow:visible;display:block;background:transparent}
.admin-workspace .admin-home-main{padding:28px 32px 40px;min-height:100%;height:auto;width:100%;position:relative}
.admin-home-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px}
.admin-home-heading h1{margin:0 0 6px;font-size:25px;line-height:1.3;font-weight:600;color:#253b2e}.admin-home-heading p{margin:0;color:#7a8a80;font-size:12px}
.admin-create-project{padding:10px 17px;border:1px solid #347755;border-radius:7px;font:13px system-ui;white-space:nowrap;cursor:pointer}
.admin-project-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:20px}.admin-project-toolbar input{width:280px;max-width:100%;padding:9px 12px;border:1px solid #d1ddd5;font-size:13px}.admin-project-toolbar select{padding:9px 30px 9px 12px;border:1px solid #d1ddd5;font-size:12px;width:auto}.admin-project-toolbar>span{font-size:11px;color:#85968a;margin-left:4px}
.admin-project-view{display:flex;margin-left:auto;gap:2px;padding:3px;border:1px solid #dce5de;background:#ebf0ec;border-radius:7px}.admin-project-view button{border:0!important;padding:6px 14px;font:12px system-ui;background:transparent!important;cursor:pointer}.admin-project-view button[aria-pressed=true]{background:#fff!important;color:#327453!important;box-shadow:0 1px 4px #223b2c12}
.admin-project-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:16px}.admin-project-grid-inner{display:contents}.admin-project-item{min-width:0}
.project-compact-card{width:100%;min-width:0;background:#fff;border:1px solid #dce5de;border-radius:10px;overflow:visible;display:flex;flex-wrap:wrap;align-items:center;gap:14px;padding:18px;transition:border-color .15s,box-shadow .15s}
.project-compact-card:hover{border-color:#8fac97;box-shadow:0 4px 14px #284b3210}.project-thumb{width:68px;height:68px;background:#f3f6f3;flex:0 0 68px;display:grid;place-items:center;border-radius:8px;overflow:hidden;color:#849b8b}.project-thumb img{width:100%;height:100%;object-fit:contain}.project-thumb svg{width:30px;height:30px}
.project-compact-info{display:flex;gap:8px;align-items:center;min-width:0;flex:1}.project-compact-name{font-size:15px;font-weight:600;color:#2b4534!important;text-decoration:none;overflow-wrap:anywhere}.project-status-dot{width:6px;height:6px;background:#b7c5bc;border-radius:50%;flex-shrink:0}.project-status-dot.published{background:#4c9c69}
.project-compact-actions{display:flex;align-items:center;gap:7px;width:100%;padding-top:14px;border-top:1px solid #edf1ed}.project-compact-card .project-action{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;font:11px system-ui;line-height:1.3;text-decoration:none;border:1px solid #dce6de;border-radius:5px;background:#fff;color:#597261;padding:8px 9px;cursor:pointer}
.project-compact-card .project-action.primary{background:#347755;color:#fff;border-color:#347755;margin-right:auto}
.project-more{position:relative}.project-more summary{cursor:pointer;color:#789081;list-style:none;padding:7px;border-radius:5px;font-size:10px;letter-spacing:1px}.project-more summary::-webkit-details-marker{display:none}.project-more summary:hover{background:#f1f6f2}.project-more>div{position:absolute;top:100%;right:0;z-index:10;width:140px;background:#fff;box-shadow:0 6px 18px #153c291c;border:1px solid #d8e4dc;border-radius:6px;padding:5px}.project-more button{display:block;width:100%;text-align:left;border:0;padding:9px;background:#fff;font:12px system-ui;cursor:pointer}.project-more .danger{color:#ac5144}.project-more button:hover{background:#f4f7f3}
.admin-project-grid.is-list{grid-template-columns:1fr;gap:9px}.is-list .project-compact-card{padding:12px 16px;flex-wrap:nowrap}.is-list .project-thumb{width:46px;height:46px;flex-basis:46px}.is-list .project-compact-actions{width:auto;flex-shrink:0;padding-top:0;border:0}.is-list .project-compact-name{font-size:13px}
.admin-project-empty{border:1px dashed #cbdacf;border-radius:10px;padding:48px;text-align:center;background:#ffffff88;color:#8c9d90;font-size:13px}.admin-home-loading{color:#708676}.admin-home-error{background:#fff3e9;padding:12px;color:#955927;border-radius:7px}.admin-home-error button{padding:5px 12px;border:1px solid #ddc4af;font:12px system-ui}
.admin-full-panel{padding:22px;background:#fff;border:1px solid #dce5de;border-radius:9px;min-width:0;color:#3f5647}.admin-full-panel>div:first-child{flex-wrap:wrap}.admin-full-panel input{padding:9px;border:1px solid #cedbd1}.admin-learners-list{overflow:auto}.admin-full-panel .course-access-row{border-color:#e1e9e3;grid-template-columns:minmax(100px,1fr) minmax(180px,2fr) auto}.admin-full-panel .course-access-list small{color:#7a8d7e}.admin-full-panel .course-access-more summary{color:#627d69}.admin-full-panel .course-access-more .course-access-manual{background:#fff;border-color:#d2dfd5;box-shadow:0 8px 24px #25452f20}.admin-storage h2{font-size:16px;margin-top:0}
.admin-workspace .exploration-inline{width:100%;max-height:none;padding:0;border:1px solid #d9e4dc;background:#fff;color:#3c5444;border-radius:9px;overflow:hidden}
.admin-workspace .exploration-inline form>header,.admin-workspace .exploration-inline form>footer{background:#f8faf8;color:#3c5444;padding:20px 24px}.admin-workspace .exploration-inline section{border-color:#e2eae4;padding:20px 24px}.admin-workspace .exploration-inline p,.admin-workspace .exploration-inline small{color:#748d7b}.admin-workspace .exploration-inline fieldset,.admin-workspace .exploration-inline details{border-color:#d8e5dc;background:#fff;border-radius:7px}.admin-workspace .exploration-inline button[type=submit]{background:#347755!important;color:#fff!important}.admin-workspace .exploration-inline h2{margin:6px 0;font-size:20px}.admin-workspace .exploration-inline h3{font-size:15px}.admin-workspace .exploration-inline header small{font-size:10px;letter-spacing:1px}.admin-workspace .exploration-inline [data-error]{color:#a45c2b}
.admin-workspace .exploration-inline .ex-projects,.admin-workspace .exploration-inline .ex-columns{gap:14px}.admin-workspace .exploration-inline .ex-timing{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:1100px){.admin-topbar{padding:0 20px}.admin-page-content>main{padding:18px 20px}.admin-top-actions{gap:12px}.admin-function-search kbd{display:none}}
@media(max-width:1000px){.admin-workspace .admin-home-main{padding:22px}.admin-project-grid{grid-template-columns:repeat(auto-fill,minmax(280px,1fr))}.admin-workspace .exploration-inline [data-halls]{grid-template-columns:1fr}.is-list .project-compact-actions{gap:4px}}
@container(max-width:850px){.admin-workspace .qb-workspace{grid-template-columns:minmax(230px,.8fr) minmax(330px,1.2fr)}.admin-workspace .qb-tools{flex-wrap:wrap}.admin-workspace .bench-editor{grid-template-columns:120px minmax(200px,1fr) 240px}.admin-workspace .v-cards{grid-template-columns:repeat(3,minmax(0,1fr))}.admin-workspace .v-filters{flex-wrap:wrap}.admin-workspace .create-user{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-workspace .permission-list{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-workspace .role-layout{grid-template-columns:160px minmax(0,1fr)}.admin-workspace .user-row{grid-template-columns:minmax(100px,1fr) 110px auto;gap:8px}.admin-workspace .user-row time{grid-column:1}.admin-workspace .mg-heading nav{gap:10px}.admin-workspace .mg-heading nav a{font-size:11px}.admin-workspace .workspace{grid-template-columns:1fr}}
@container(max-width:660px){.admin-workspace .qb-workspace{grid-template-columns:minmax(190px,.8fr) minmax(260px,1.2fr)}.admin-workspace .layout{grid-template-columns:1fr}.admin-workspace .bench-editor{grid-template-columns:100px minmax(180px,1fr) 220px}.admin-workspace[data-admin-page=components] main{grid-template-columns:210px minmax(0,1fr)}.admin-workspace .catalog-navigation #categories{gap:2px}.admin-workspace .catalog-navigation #categories button{padding:7px;font-size:11px}.admin-workspace .model-settings .fields{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* The full-screen calibration workbench keeps its own original dark controls. */
body.admin-workspace dialog.op-editor{color-scheme:dark}
body.admin-workspace dialog.op-editor .op-tabs button[aria-pressed=true] small{color:inherit}
.admin-password-dialog{box-sizing:border-box;width:min(400px,calc(100% - 32px));max-height:calc(100dvh - 32px);overflow:auto;font:14px/1.5 system-ui,"Microsoft YaHei",sans-serif}
.admin-password-dialog h2{margin:0;font-size:19px;color:#273d2f}
.admin-password-dialog form>p{margin:6px 0 14px;color:#506657}
.admin-password-dialog label{display:grid;gap:4px;margin:10px 0;font-weight:600}
.admin-password-dialog label input{box-sizing:border-box;width:100%;padding:8px 10px;border:1px solid #adc1b4;border-radius:6px;background:#fff;color:#24332f;font:inherit;font-weight:400}
.admin-password-dialog form>.admin-password-message{min-height:1.5em;margin:6px 0;color:#a43131}
.admin-password-actions{display:flex;justify-content:flex-end;gap:8px}
.admin-password-actions button{padding:8px 12px;border:1px solid #adc1b4;border-radius:6px;background:#fff;color:#273d2f;font:inherit;cursor:pointer}
.admin-password-actions button[type=submit]{background:#2d684b;border-color:#2d684b;color:#fff}
.admin-password-actions button:disabled{opacity:.55;cursor:wait}
