body{margin:0;background:#f7f8f3}#root,.admin-shell{min-height:100vh}.admin-sider{background:#fffaf0!important;border-right:1px solid #f0dfbd;height:100vh;overflow:hidden;position:sticky!important;top:0}.admin-sider .ant-layout-sider-children{display:flex;flex-direction:column;min-height:100%}.admin-brand{align-items:center;display:flex;gap:10px;min-height:72px;padding:12px 16px}.admin-brand.is-collapsed{justify-content:center;padding-inline:8px}.admin-brand-mark{align-items:center;background:#ffc44d;border-radius:14px;color:#261f16;display:inline-flex;flex:0 0 auto;font-size:21px;font-weight:800;height:40px;justify-content:center;width:40px}.admin-brand-copy,.admin-topbar-context{display:flex;flex-direction:column;line-height:1.25}.admin-brand-copy .ant-typography:last-child,.admin-topbar-context .ant-typography:last-child{font-size:11px}.admin-nav-hint{border-top:1px solid #f0dfbd;color:#9a8661;font-size:11px;line-height:1.6;margin-top:auto;padding:14px 18px}.admin-content{background:#f7f8f3;min-width:0;padding:24px}.admin-topbar{align-items:center;background:#fff!important;border-bottom:1px solid #e6dfcf;display:flex;height:60px;justify-content:space-between;padding:0 24px!important;position:sticky;top:0;z-index:20}.admin-section-context{background:#fff;border:1px solid #e6dfcf;border-radius:10px;margin-bottom:22px;padding:12px 16px 0}.admin-section-context .ant-breadcrumb{font-size:12px;margin-bottom:8px}.admin-section-tabs{display:flex;gap:4px;max-width:100%;overflow-x:auto;scrollbar-width:thin}.admin-section-tabs a{border-bottom:3px solid transparent;color:#636b5d;flex:0 0 auto;font-size:14px;font-weight:600;padding:10px 14px 11px;transition:background .15s ease,border-color .15s ease,color .15s ease}.admin-section-tabs a:hover{background:#f4faf8;color:#0f8f83}.admin-section-tabs a.is-active{border-bottom-color:#12a99a;color:#0c766d}.resource-hub-tabs{background:#fff;border:1px solid #e6dfcf;border-radius:10px;padding:0 16px}.resource-hub-actions{display:flex;justify-content:flex-end;margin-bottom:12px}.login-shell{align-items:center;background:#f7f8f3;display:flex;min-height:100vh;justify-content:center;padding:24px}.login-card{border:1px solid #e6dfcf;border-radius:8px;max-width:420px;width:100%}.page-title-row{display:flex;justify-content:space-between;margin-bottom:16px;width:100%}.page-title-row h3{margin:0!important}.ant-menu{background:transparent}.admin-sider .ant-menu{border-inline-end:0!important;padding-top:6px}.ant-menu-item-group-title{color:#8a6f3f!important;font-size:12px!important;font-weight:700;letter-spacing:0;padding:16px 24px 6px!important}.ant-menu-item{border-radius:6px!important;height:44px!important;line-height:44px!important;margin-inline:12px!important;margin-block:4px!important;width:calc(100% - 24px)!important}.json-preview{background:#111827;border-radius:8px;color:#e5e7eb;max-height:560px;overflow:auto;padding:16px;white-space:pre-wrap}.draft-form-grid{display:grid;gap:16px;grid-template-columns:minmax(120px,180px) minmax(160px,240px) minmax(280px,1fr)}.path-workbench{width:100%}.path-layout{display:grid;gap:16px;grid-template-columns:280px minmax(0,1fr)}.path-panel{background:#fff;border:1px solid #e6dfcf;border-radius:8px;padding:16px}.path-list-panel h5,.path-summary h4{margin-top:0!important}.path-list-item{background:#fbfaf5;border:1px solid #e6dfcf;border-radius:6px;color:#2f3329;cursor:pointer;display:flex;flex-direction:column;gap:4px;padding:10px 12px;text-align:left;width:100%}.path-list-item.is-active{background:#fff4cf;border-color:#d8a51d}.path-list-item small,.quest-meta{color:#68705f}.path-summary{align-items:flex-start;border-bottom:1px solid #ece6d7;display:flex;gap:16px;justify-content:space-between;padding-bottom:16px}.quest-map{display:flex;flex-direction:column;gap:12px;padding-top:16px}.quest-row{align-items:stretch;display:grid;gap:12px;grid-template-columns:40px minmax(0,1fr)}.quest-step{align-items:center;background:#26352a;border-radius:50%;color:#fff;display:flex;font-weight:800;height:36px;justify-content:center;margin-top:4px;width:36px}.quest-body{border:1px solid #e8e1d2;border-radius:8px;padding:12px}.quest-title-row{align-items:flex-start;display:flex;gap:12px;justify-content:space-between}.quest-meta{font-size:12px;line-height:1.6;margin-top:4px}.lesson-review{display:flex;flex-direction:column;gap:16px}.lesson-review-items{display:flex;flex-direction:column;gap:12px}.lesson-review-items h5{margin:0!important}.practice-review-card{border:1px solid #e8e1d2;border-radius:8px;padding:12px}.practice-review-head{align-items:center;display:flex;gap:12px;justify-content:space-between;margin-bottom:10px}.practice-review-line{display:grid;gap:12px;grid-template-columns:84px minmax(0,1fr);margin-top:8px}.practice-review-line span{color:#68705f;font-size:12px}.practice-review-line p{margin:0;white-space:pre-wrap}.practice-review-tokens{background:#f8f7f1;border-radius:6px;margin-top:10px;padding:8px 10px}.practice-review-tokens summary{color:#394333;cursor:pointer;font-size:12px}.practice-review-tokens pre{margin:8px 0 0;max-height:220px;overflow:auto;white-space:pre-wrap}.activity-ratio-row{align-items:center;display:flex;justify-content:space-between;margin-bottom:4px}.lesson-activity-item{background:#fbfaf5;border:1px solid #e8e1d2;border-radius:8px;padding:10px 12px}.lesson-activity-item .ant-typography{margin-top:8px}.activity-editor-grid{display:grid;gap:0 16px;grid-template-columns:repeat(2,minmax(0,1fr))}.activity-contract-summary{background:#f2fbf8;border:1px solid #ccebe5;border-radius:8px;margin-bottom:16px;padding:10px 12px;width:100%}.token-editor-row{align-items:flex-start;display:grid;gap:8px;grid-template-columns:minmax(140px,.6fr) minmax(260px,1.4fr) 36px}.token-editor-row .ant-form-item{margin-bottom:0}.activity-issue-list{margin:8px 0 0;padding-left:20px}.activity-issue-list code,.activity-type-code{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:12px}.governance-form-grid{display:grid;gap:0 16px;grid-template-columns:repeat(3,minmax(0,1fr))}.governance-json-editor{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:12px}.blueprint-part+.blueprint-part{border-top:1px solid #ece6d7;margin-top:12px;padding-top:12px}.builder-layout,.studio-layout{display:grid;gap:16px;grid-template-columns:240px minmax(0,1fr) 260px}.builder-sidebar,.builder-main,.builder-inspector,.studio-sidebar,.studio-main,.studio-inspector{background:#fff;border:1px solid #e6dfcf;border-radius:10px;padding:16px}.builder-sidebar,.studio-sidebar,.workbench-inspector{align-self:start;max-height:calc(100vh - 140px);overflow:auto;position:sticky;top:16px}.workbench-inspector{max-height:calc(100vh - 106px)}.inspector-status-row{align-items:center;border-bottom:1px solid #eee8dc;display:flex;justify-content:space-between;padding-bottom:10px}.inspector-status-row>span:first-child{color:#747b6d;font-size:12px}.inspector-metric-grid{display:grid;gap:10px;grid-template-columns:repeat(2,minmax(0,1fr))}.inspector-metric-grid .ant-statistic{background:#f7f8f3;border-radius:8px;padding:10px}.inspector-metric-grid .ant-statistic-title{font-size:11px;margin-bottom:2px}.inspector-metric-grid .ant-statistic-content{font-size:20px}.inspector-section{border-top:1px solid #eee8dc;padding-top:14px}.inspector-section .ant-typography.ant-typography-secondary{font-size:12px;line-height:1.6;margin:6px 0 12px}@media(max-width:1280px){.builder-layout,.studio-layout{grid-template-columns:230px minmax(0,1fr)}.workbench-inspector{display:grid;grid-column:1 / -1;max-height:none;position:static}}.panel-eyebrow{color:#8a6f3f;display:block;font-size:11px;font-weight:800;letter-spacing:.08em;margin-bottom:8px}.builder-heading,.studio-heading,.tree-toolbar,.tree-entity-header,.practice-item-heading,.simulation-row{align-items:flex-start;display:flex;gap:16px;justify-content:space-between}.builder-heading,.studio-heading{border-bottom:1px solid #ece6d7;padding-bottom:16px}.version-switcher{align-items:center;background:#fbfaf5;border:1px solid #ebe3d1;border-radius:8px;display:flex;flex-wrap:wrap;gap:10px;margin-top:16px;padding:10px 12px}.tree-toolbar{align-items:center;margin-bottom:4px}.sortable-list{display:flex;flex-direction:column;gap:10px}.sortable-row{align-items:stretch;display:grid;gap:8px;grid-template-columns:28px minmax(0,1fr);transition:opacity .15s ease}.sortable-row.is-dragging{opacity:.4}.sortable-controls{align-items:center;display:flex;flex-direction:column;padding-top:8px}.sortable-controls .ant-btn{height:24px;width:24px}.drag-handle{color:#9a8d75;cursor:grab;margin-bottom:2px}.sortable-content{min-width:0}.curriculum-stage,.curriculum-module,.curriculum-unit{border:1px solid #e8e1d2;border-radius:9px;padding:12px}.curriculum-stage{background:#fffdf7;border-left:4px solid #e2a72d}.curriculum-module{background:#fbfcf8;border-left:4px solid #71a76d}.curriculum-unit{background:#fff;border-left:4px solid #4aa89d}.curriculum-children,.curriculum-node-list{border-left:1px dashed #d8d0be;margin-left:8px;margin-top:12px;padding-left:12px}.curriculum-node-card{align-items:flex-start;background:#f7fbfa;border:1px solid #d7e9e5;border-radius:8px;display:flex;justify-content:space-between;padding:10px 12px}.tree-subtitle,.lesson-list-item small{color:#778070;font-size:12px;line-height:1.6;margin-top:3px}.metric-grid{display:grid;gap:12px}.metric-grid.four{grid-template-columns:repeat(4,minmax(0,1fr))}.metric-grid.five{grid-template-columns:repeat(5,minmax(0,1fr))}.metric-grid.six{grid-template-columns:repeat(6,minmax(0,1fr))}.form-grid{display:grid;gap:0 16px}.form-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.simulation-layout,.preview-layout,.studio-panel-grid,.learning-grid{display:grid;gap:16px;grid-template-columns:minmax(300px,.8fr) minmax(0,1.2fr)}.simulation-form,.simulation-results{align-self:start}.simulation-row{background:#fbfaf5;border:1px solid #e8e1d2;border-radius:8px;padding:10px 12px}.lesson-list-item{align-items:flex-start;background:#fbfaf5;border:1px solid #e6dfcf;border-radius:8px;cursor:pointer;display:flex;flex-direction:column;gap:2px;padding:10px 12px;text-align:left;width:100%}.lesson-list-item.is-active{background:#edfaf7;border-color:#38a898;box-shadow:inset 3px 0 #38a898}.lesson-list-item>span:first-child{color:#273128;font-weight:700}.practice-item-card{border-left:4px solid #8b67c8}.child-preview-shell{align-self:start;background:linear-gradient(180deg,#fff8db,#fff 58%);border:8px solid #2f3f35;border-radius:28px;box-shadow:0 14px 36px #2e3a3124;min-height:560px;padding:28px}.child-preview-topline{color:#8a6f3f;font-size:12px;font-weight:800;letter-spacing:.06em;margin-bottom:18px;text-transform:uppercase}.preview-images{display:grid;gap:10px;grid-template-columns:repeat(2,minmax(0,1fr));margin:16px 0}.preview-images img{background:#fff;border:1px solid #eadfbf;border-radius:14px;max-height:220px;object-fit:contain;width:100%}.preview-choices{display:grid;gap:10px;grid-template-columns:repeat(2,minmax(0,1fr));margin:16px 0}.preview-choices button{background:#fff;border:2px solid #e8d8aa;border-radius:14px;color:#34372f;font-size:16px;min-height:52px;padding:10px}.preview-token-row{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}.preview-token-row span{background:#e9f8f5;border:1px solid #bce0d9;border-radius:10px;font-size:16px;padding:6px 10px}.preview-answer-panel{background:#f5f7f4;border-radius:10px;color:#586157;font-size:12px;margin-top:22px;padding:12px}.preview-answer-panel pre,.revision-diff-grid pre,.review-snapshot{background:#111827;border-radius:8px;color:#e5e7eb;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:11px;max-height:440px;overflow:auto;padding:12px;white-space:pre-wrap}.recording-audio{height:34px;max-width:260px;vertical-align:middle}.revision-diff-grid{display:grid;gap:12px;grid-template-columns:repeat(2,minmax(0,1fr))}@media(max-width:900px){.draft-form-grid,.activity-editor-grid,.governance-form-grid,.token-editor-row,.path-layout,.builder-layout,.studio-layout,.simulation-layout,.preview-layout,.studio-panel-grid,.learning-grid,.revision-diff-grid,.metric-grid.four,.metric-grid.five,.metric-grid.six{grid-template-columns:1fr}.builder-sidebar,.studio-sidebar,.workbench-inspector{max-height:none;position:static}.builder-heading,.studio-heading,.tree-toolbar,.tree-entity-header,.practice-item-heading,.simulation-row{flex-direction:column}.form-grid.two,.preview-choices,.preview-images{grid-template-columns:1fr}.path-summary,.quest-title-row,.practice-review-head{flex-direction:column}.practice-review-line{grid-template-columns:1fr}}
