*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}:root{--bg: #0d1117;--bg2: #161b22;--bg3: #1c2128;--bg4: #22272e;--border: #30363d;--border2: #3d444d;--text: #e6edf3;--muted: #7d8590;--blue: #58a6ff;--blue-dim: #1f6feb33;--green: #3fb950;--purple: #bc8cff;--orange: #e3b341;--red: #f85149;--cyan: #39c5cf;--sidebar-w: 198px;--radius: 6px}[data-theme=light]{--bg: #ffffff;--bg2: #f6f8fa;--bg3: #eaeef2;--bg4: #d0d7de;--border: #d0d7de;--border2: #bbc0c7;--text: #1f2328;--muted: #656d76;--blue: #0969da;--blue-dim: #0969da1a;--green: #1a7f37;--purple: #8250df;--orange: #bf8700;--red: #cf222e;--cyan: #0891b2}[data-theme=light] .stat-count,[data-theme=light] .chart-card h3,[data-theme=light] .schema-section h2{color:var(--text)}[data-theme=light] .nav-group-title{color:#57606a}[data-theme=light] .bar-track{background:#0000000f}[data-theme=light] .stat-card:after{background:radial-gradient(circle,rgba(0,0,0,.02) 0%,transparent 70%)}[data-theme=light] .stat-card:hover{box-shadow:0 8px 24px #00000014}[data-theme=light] .curriculum-search-panel{background:linear-gradient(180deg,#0969da0a,#0969da03),var(--bg2);box-shadow:0 18px 34px #0000000f}[data-theme=light] .curriculum-search-control .filter-input,[data-theme=light] .curriculum-search-control .filter-select{background:#fffc}[data-theme=light] .curriculum-search-label{color:#57606a}[data-theme=light] .curriculum-search-field{background:#0969da1a;border-color:#0969da33}[data-theme=light] .curriculum-search-group{background:linear-gradient(180deg,#00000003,#0000),var(--bg2)}[data-theme=light] .curriculum-search-group-count{border-color:#0969da33;background:#0969da14;color:#0550ae}[data-theme=light] .error-msg{color:var(--red);background:#cf222e0d;border-color:#cf222e26}[data-theme=light] .detail-overlay{background:#0000004d}[data-theme=light] .pipeline-toast-notification{box-shadow:0 8px 32px #0000001f}[data-theme=light] ::-webkit-scrollbar-thumb{background:var(--border)}[data-theme=light] ::-webkit-scrollbar-thumb:hover{background:var(--muted)}html,body{height:100%;background:var(--bg);color:var(--text);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,system-ui,sans-serif;font-size:14px;line-height:1.5}a{color:var(--blue);text-decoration:none}a:hover{text-decoration:underline}.sidebar-lang-switch{display:flex;align-items:center;gap:6px;padding:8px 12px 7px;border-bottom:1px solid var(--border);background:var(--bg2)}.sidebar-lang-switch label{font-size:11px;color:var(--muted)}.sidebar-lang-switch select{margin-left:auto;background:var(--bg3);border:1px solid var(--border);border-radius:8px;color:var(--text);font-size:11px;padding:4px 7px;max-width:100px}#app{display:flex;height:100vh;overflow:hidden}#sidebar{width:var(--sidebar-w);background:var(--bg2);border-right:1px solid var(--border);display:flex;flex-direction:column;flex-shrink:0;overflow-y:auto}#main{flex:1;overflow-y:auto;padding:28px 32px}.sidebar-header{padding:16px 12px 12px;border-bottom:1px solid var(--border)}.logo-wrap{display:flex;align-items:center;gap:8px;margin-bottom:4px}.logo-img{display:block;height:24px;width:auto}.logo-text{font-size:15px;font-weight:700;color:var(--text);letter-spacing:-.3px}#nav{display:grid;gap:6px;padding:10px 8px 12px}.nav-group{display:grid;gap:3px}.nav-group-title{display:flex;align-items:center;gap:6px;min-height:26px;padding:0 6px;color:#c7d2da;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.08em;background:transparent;border:none;cursor:pointer;width:100%;text-align:left}.nav-group-title:hover{color:var(--text)}.nav-group-icon{font-size:11px;color:var(--blue);opacity:.8}.nav-submenu{display:none;gap:2px}.nav-group.expanded .nav-submenu{display:grid}.nav-link{display:flex;align-items:center;gap:8px;padding:6px 10px;color:var(--muted);font-size:12px;cursor:pointer;border-left:2px solid transparent;transition:color .15s,background .15s;text-decoration:none;border-radius:8px}.nav-link:hover{color:var(--text);background:var(--bg3);text-decoration:none}.nav-link.active{color:var(--blue);border-left-color:var(--blue);background:var(--blue-dim)}.nav-sublink{margin-left:14px;padding-left:12px}.nav-icon{font-size:11px;opacity:.7;width:12px;text-align:center;flex:0 0 12px}.nav-badge{margin-left:auto;background:var(--bg4);color:var(--muted);font-size:10px;padding:1px 6px;border-radius:10px;min-width:24px;text-align:center}.nav-logout{margin-top:8px}.dashboard-logo-loader{min-height:calc(100vh - 180px);display:grid;place-items:center}.dashboard-logo-loader-card{display:grid;gap:14px;justify-items:center;padding:28px 36px}.dashboard-logo-loader img{width:108px;height:auto;filter:drop-shadow(0 10px 28px rgba(88,166,255,.18));animation:dashboardLogoPulse 1.4s ease-in-out infinite}.dashboard-logo-loader-text{font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}@keyframes dashboardLogoPulse{0%,to{opacity:.75;transform:scale(.98)}50%{opacity:1;transform:scale(1.02)}}.page-header{margin-bottom:24px}.page-header h1{font-size:22px;font-weight:600;color:var(--text)}.page-header .subtitle{color:var(--muted);font-size:13px;margin-top:4px}.breadcrumb{display:flex;align-items:center;gap:6px;font-size:12px;color:var(--muted);margin-bottom:20px;flex-wrap:wrap}.breadcrumb a{color:var(--blue);cursor:pointer}.breadcrumb .sep{color:var(--border2)}.loading{color:var(--muted);padding:60px;text-align:center;font-size:15px}.error-msg{color:var(--red);background:#f851491a;border:1px solid #f8514933;border-radius:var(--radius);padding:12px 16px;margin-bottom:16px}@keyframes dashboardFadeIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.animate-in{animation:dashboardFadeIn .4s ease-out forwards;opacity:0}.delay-1{animation-delay:.05s}.delay-2{animation-delay:.1s}.delay-3{animation-delay:.15s}.delay-4{animation-delay:.2s}.stat-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:16px;margin-bottom:32px}.stat-card{background:linear-gradient(145deg,var(--bg2),var(--bg3));border:1px solid var(--border);border-radius:12px;padding:24px 20px;cursor:pointer;transition:all .2s cubic-bezier(.4,0,.2,1);position:relative;overflow:hidden}.stat-card:after{content:"";position:absolute;top:-50%;left:-50%;width:200%;height:200%;background:radial-gradient(circle,rgba(255,255,255,.03) 0%,transparent 70%);pointer-events:none;opacity:0;transition:opacity .3s}.stat-card:hover{border-color:var(--blue);transform:translateY(-2px);box-shadow:0 8px 24px #0003}.stat-card:hover:after{opacity:1}.stat-count{font-size:32px;font-weight:800;color:#fff;line-height:1;margin-bottom:8px;letter-spacing:-.5px}.stat-label{font-size:12px;color:var(--muted);text-transform:uppercase;letter-spacing:1px;font-weight:600}.charts-row{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:20px;margin-bottom:32px}.chart-card{background:var(--bg2);border:1px solid var(--border);border-radius:12px;padding:24px;box-shadow:0 4px 12px #0000001a}.chart-card h3{font-size:14px;font-weight:700;color:#f3f4f6;margin-bottom:20px;text-transform:uppercase;letter-spacing:.5px}.bar-row{display:flex;align-items:center;gap:12px;margin-bottom:12px}.bar-label{font-size:12px;color:var(--muted);min-width:110px;font-weight:500}.bar-track{flex:1;height:8px;background:#ffffff0d;border-radius:4px;overflow:hidden}.bar-fill{height:100%;background:var(--blue);border-radius:4px;transition:width 1s cubic-bezier(.34,1.56,.64,1)}.bar-fill--green{background:linear-gradient(90deg,#22c55e,#10b981)}.bar-fill--purple{background:linear-gradient(90deg,#a855f7,#8b5cf6)}.bar-fill--orange{background:linear-gradient(90deg,#f59e0b,#fbbf24)}.bar-count{font-size:12px;color:var(--text);min-width:36px;text-align:right;font-family:monospace;font-weight:600}.schema-section{margin-top:16px;padding:24px;background:#ffffff03;border-radius:16px;border:1px dashed var(--border)}.schema-section h2{font-size:18px;font-weight:700;margin-bottom:24px;color:#fff}.schema-flow{display:flex;flex-wrap:wrap;gap:12px;align-items:center}.schema-box{background:var(--bg3);border:1px solid var(--border2);border-radius:10px;padding:12px 18px;font-size:13px;cursor:pointer;transition:all .2s}.schema-box:hover{border-color:var(--blue);background:var(--bg4);transform:scale(1.02)}.schema-box .schema-n{color:var(--blue);font-size:11px;margin-top:4px;font-weight:600}.schema-arrow{color:var(--muted);font-size:20px;opacity:.5}.filters{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:18px;align-items:center}.filter-input{background:var(--bg2);border:1px solid var(--border);border-radius:var(--radius);color:var(--text);padding:7px 12px;font-size:13px;outline:none;transition:border-color .15s;min-width:200px}.filter-input:focus{border-color:var(--blue)}.filter-input::placeholder{color:var(--muted)}.filter-select{background:var(--bg2);border:1px solid var(--border);border-radius:var(--radius);color:var(--text);padding:7px 12px;font-size:13px;outline:none;cursor:pointer;transition:border-color .15s}.filter-select:focus{border-color:var(--blue)}.result-count{font-size:12px;color:var(--muted);margin-left:auto;white-space:nowrap}.curriculum-search-panel{margin-bottom:16px;padding:18px;border:1px solid var(--border);border-radius:14px;background:linear-gradient(180deg,#58a6ff0f,#58a6ff03),var(--bg2);box-shadow:0 18px 34px #0000002e}.curriculum-search-grid{display:grid;grid-template-columns:minmax(260px,1.6fr) repeat(4,minmax(150px,1fr));gap:12px;margin-bottom:14px}.curriculum-search-control{display:flex;flex-direction:column;gap:6px}.curriculum-search-control .filter-input,.curriculum-search-control .filter-select{width:100%;min-width:0;min-height:42px;background:#0d1117b3;border-radius:10px}.curriculum-search-label{font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#9fb3c8}.curriculum-search-toolbar{display:flex;justify-content:flex-end;gap:12px;align-items:center}.curriculum-search-actions{display:inline-flex;align-items:center;gap:10px}.curriculum-search-actions .btn{min-height:42px;min-width:110px;border-radius:10px}.curriculum-search-meta{justify-self:end;padding:0 2px}.curriculum-search-table-breakdown{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:14px}.curriculum-search-stat{display:inline-flex;align-items:center;background:var(--bg3);border:1px solid var(--border);border-radius:999px;padding:3px 10px;font-size:11px;color:var(--muted)}.curriculum-search-field{display:inline-flex;align-items:center;background:#1f6feb33;border:1px solid #1f6feb55;border-radius:999px;padding:1px 8px;font-size:11px;color:var(--blue);margin:0 4px 4px 0}.curriculum-search-snippet{white-space:normal;line-height:1.45;max-width:700px;overflow:visible;text-overflow:clip}.curriculum-search-sections{display:grid;gap:18px}.curriculum-search-group{padding:16px;border:1px solid var(--border);border-radius:16px;background:linear-gradient(180deg,#ffffff05,#fff0),var(--bg2)}.curriculum-search-group-header{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px}.curriculum-search-group-header h3{margin:0;font-size:16px;font-weight:700;color:var(--text)}.curriculum-search-group-subtitle{margin-top:5px;color:var(--muted);font-size:13px;line-height:1.45}.curriculum-search-group-count{display:inline-flex;align-items:center;padding:6px 10px;border-radius:999px;border:1px solid rgba(88,166,255,.18);background:#1f6feb1f;color:#b8d3f5;font-size:12px;font-weight:700;white-space:nowrap}.curriculum-search-list{display:grid;gap:12px}.curriculum-search-card{display:grid;grid-template-columns:44px minmax(0,1fr);gap:16px;padding:16px;border:1px solid rgba(48,54,61,.9);border-radius:14px;background:#0d111761;transition:border-color .15s,transform .15s,box-shadow .15s}.curriculum-search-card.curriculum-search-clickable{cursor:pointer}.curriculum-search-card.curriculum-search-clickable:hover{border-color:#3f7fd6;box-shadow:0 16px 28px #0000002e;transform:translateY(-1px)}.curriculum-search-card.curriculum-search-disabled{opacity:.88}.curriculum-search-card-index{display:flex;align-items:flex-start;justify-content:center;width:44px;min-height:44px;padding-top:10px;border-radius:12px;background:#1f6feb1f;border:1px solid rgba(88,166,255,.18);color:#9fb3c8;font-size:12px;font-weight:700;font-family:monospace}.curriculum-search-card-main{min-width:0}.curriculum-search-card-top{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;margin-bottom:12px}.curriculum-search-card-heading{min-width:0}.curriculum-search-card-title-row{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.curriculum-search-card-title{font-size:17px;font-weight:700;line-height:1.2;color:var(--text)}.curriculum-search-card-table{display:inline-flex;align-items:center;padding:3px 8px;border-radius:999px;background:#e3b3411f;border:1px solid rgba(227,179,65,.18);color:#f3cd76;font-size:11px;font-weight:700;letter-spacing:.03em}.curriculum-search-card-meta{display:flex;flex-wrap:wrap;gap:8px 12px;margin-top:8px;color:var(--muted);font-size:12px}.curriculum-search-card-action{flex-shrink:0}.curriculum-search-card-match-row{margin-bottom:12px}.curriculum-search-card-match-label{margin-bottom:7px;color:#8b9aab;font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase}.curriculum-search-card-match-fields{display:flex;flex-wrap:wrap;gap:6px}.curriculum-search-card-snippet{padding:14px 16px;border-radius:12px;border:1px solid rgba(88,166,255,.14);background:linear-gradient(180deg,#58a6ff0d,#58a6ff04);color:#dce6f3;line-height:1.6;white-space:normal}.search-hit{background:#f59e0b66;color:#fff7d6;border-radius:3px;padding:0 2px;font-weight:600}.curriculum-search-clickable td{cursor:pointer}.curriculum-search-disabled td{cursor:default!important}.curriculum-paragraph-block{margin-top:22px}.curriculum-paragraph-header{display:flex;align-items:center;gap:12px;margin-bottom:10px}.curriculum-paragraph-header h3{font-size:14px;font-weight:700;color:var(--text)}.curriculum-paragraph-list{display:grid;gap:14px}.curriculum-paragraph-card{position:relative;display:grid;grid-template-columns:44px minmax(0,1fr);gap:16px;padding:18px 18px 18px 16px;border:1px solid var(--border);border-radius:16px;background:linear-gradient(180deg,#ffffff05,#fff0),var(--bg2);transition:border-color .15s,transform .15s,box-shadow .15s}.curriculum-paragraph-card:hover{border-color:#3f7fd6;box-shadow:0 16px 28px #0000002e;transform:translateY(-1px)}.curriculum-paragraph-card-index{display:flex;align-items:flex-start;justify-content:center;width:44px;min-height:44px;padding-top:10px;border-radius:12px;background:#1f6feb1f;border:1px solid rgba(88,166,255,.18);color:#9fb3c8;font-size:12px;font-weight:700;font-family:monospace}.curriculum-paragraph-card-main{min-width:0}.curriculum-paragraph-card-top{display:flex;gap:14px;justify-content:space-between;align-items:flex-start;margin-bottom:14px}.curriculum-paragraph-card-title{font-size:18px;font-weight:700;color:var(--text);line-height:1.2}.curriculum-paragraph-card-subtitle{display:flex;flex-wrap:wrap;gap:8px 10px;margin-top:7px;color:var(--muted);font-size:13px}.curriculum-paragraph-chip{display:inline-flex;align-items:center;padding:3px 10px;border-radius:999px;background:#e3b3411f;border:1px solid rgba(227,179,65,.2);color:#f3cd76;font-size:11px;font-weight:700;letter-spacing:.03em;text-transform:uppercase}.curriculum-paragraph-card-action{flex-shrink:0}.curriculum-paragraph-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:14px}.curriculum-paragraph-card-field{min-width:0;padding:12px 14px;border-radius:12px;background:#0d111775;border:1px solid rgba(48,54,61,.9)}.curriculum-paragraph-card-label{margin-bottom:6px;color:#8b9aab;font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase}.curriculum-paragraph-card-value{color:var(--text);font-size:13px;line-height:1.5;white-space:normal}.curriculum-paragraph-card-text{padding:16px 18px;border-radius:14px;background:linear-gradient(180deg,#58a6ff0d,#58a6ff04);border:1px solid rgba(88,166,255,.14);color:#dce6f3;font-size:15px;line-height:1.65;white-space:normal}.curriculum-paragraph-card-text .search-hit,.curriculum-paragraph-card-value .search-hit,.curriculum-paragraph-card-title .search-hit,.curriculum-paragraph-card-subtitle .search-hit{box-decoration-break:clone;-webkit-box-decoration-break:clone}@media(max-width:1180px){.curriculum-search-grid{grid-template-columns:repeat(2,minmax(220px,1fr))}.curriculum-search-toolbar{grid-template-columns:1fr;align-items:start}.curriculum-search-meta{justify-self:start}.curriculum-search-group-header{flex-direction:column}.curriculum-search-group-count{align-self:flex-start}.curriculum-paragraph-card-grid{grid-template-columns:1fr}}@media(max-width:720px){.curriculum-search-panel{padding:14px}.curriculum-search-grid{grid-template-columns:1fr}.curriculum-search-actions{width:100%}.curriculum-search-actions .btn{flex:1;min-width:0}.curriculum-search-group{padding:14px}.curriculum-search-card{grid-template-columns:1fr;gap:12px;padding:14px}.curriculum-search-card-index{width:100%;min-height:0;padding:8px 12px;justify-content:flex-start}.curriculum-search-card-top{flex-direction:column}.curriculum-search-card-action,.curriculum-search-card-action .btn{width:100%}.curriculum-search-card-snippet{padding:13px 14px;font-size:14px}.curriculum-paragraph-card{grid-template-columns:1fr;gap:12px;padding:14px}.curriculum-paragraph-card-index{width:100%;min-height:0;padding:8px 12px;justify-content:flex-start}.curriculum-paragraph-card-top{flex-direction:column}.curriculum-paragraph-card-action,.curriculum-paragraph-card-action .btn{width:100%}.curriculum-paragraph-card-text{padding:14px;font-size:14px}}.table-wrap{overflow-x:auto;border:1px solid var(--border);border-radius:var(--radius);background:var(--bg2)}table{width:100%;border-collapse:collapse;font-size:13px}thead tr{background:var(--bg3)}th{padding:10px 14px;text-align:left;font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.5px;color:var(--muted);border-bottom:1px solid var(--border);white-space:nowrap;cursor:pointer;-webkit-user-select:none;user-select:none}th:hover{color:var(--text)}th.sort-asc:after{content:" ↑";color:var(--blue)}th.sort-desc:after{content:" ↓";color:var(--blue)}td{padding:9px 14px;border-bottom:1px solid var(--border);max-width:300px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}tr:last-child td{border-bottom:none}tr:hover td{background:var(--bg3)}tbody tr{cursor:pointer;transition:background .1s}.td-id{color:var(--muted);font-size:11px;font-family:monospace}.td-url{max-width:200px;color:var(--blue);font-size:11px}.badge{display:inline-block;padding:2px 8px;border-radius:10px;font-size:11px;font-weight:500;white-space:nowrap}.badge-blue{background:#1f6feb33;color:var(--blue)}.badge-green{background:#3fb95033;color:var(--green)}.badge-purple{background:#bc8cff33;color:var(--purple)}.badge-orange{background:#e3b34133;color:var(--orange)}.badge-red{background:#f8514933;color:var(--red)}.badge-cyan{background:#39c5cf33;color:var(--cyan)}.badge-gray{background:var(--bg4);color:var(--muted)}.pagination{display:flex;align-items:center;gap:6px;margin-top:16px;flex-wrap:wrap}.page-btn{background:var(--bg2);border:1px solid var(--border);border-radius:var(--radius);color:var(--text);padding:5px 12px;font-size:12px;cursor:pointer;transition:border-color .15s}.page-btn:hover:not(:disabled){border-color:var(--blue);color:var(--blue)}.page-btn:disabled{opacity:.4;cursor:default}.page-btn.active{background:var(--blue);border-color:var(--blue);color:#fff}.page-ellipsis{font-size:12px;color:var(--muted);padding:0 2px}.page-info{font-size:12px;color:var(--muted);margin-left:8px}.page-size-select{background:var(--bg2);border:1px solid var(--border);border-radius:var(--radius);color:var(--text);padding:4px 8px;font-size:12px;cursor:pointer;margin-left:4px}.detail-overlay{position:fixed;inset:0;background:#0009;z-index:100;display:flex;justify-content:flex-end;animation:fadeIn .15s ease}.detail-overlay.hidden{display:none}.detail-panel{width:min(700px,95vw);height:100%;background:var(--bg2);border-left:1px solid var(--border);overflow-y:auto;padding:28px;position:relative;animation:slideIn .2s ease}.detail-close{position:absolute;top:16px;right:16px;background:var(--bg3);border:1px solid var(--border);color:var(--muted);border-radius:var(--radius);width:36px;height:36px;cursor:pointer;font-size:16px;display:inline-flex;align-items:center;justify-content:center}.detail-close:hover{color:var(--text);border-color:var(--border2)}.detail-section{margin-bottom:24px}.detail-section h3{font-size:12px;font-weight:600;color:var(--muted);text-transform:uppercase;letter-spacing:.5px;margin-bottom:12px;border-bottom:1px solid var(--border);padding-bottom:6px}.detail-section h2{font-size:18px;font-weight:600;margin-bottom:4px}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.detail-field{background:var(--bg3);border-radius:var(--radius);padding:10px 12px}.detail-field-label{font-size:10px;color:var(--muted);text-transform:uppercase;letter-spacing:.5px;margin-bottom:3px}.detail-field-value{font-size:13px;color:var(--text);word-break:break-word}.detail-link-btn{display:inline-flex;align-items:center;gap:6px;background:var(--bg3);border:1px solid var(--border);color:var(--blue);padding:5px 12px;border-radius:var(--radius);font-size:12px;cursor:pointer;text-decoration:none;transition:border-color .15s}.detail-link-btn:hover{border-color:var(--blue);text-decoration:none}.detail-inline-actions{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 16px}.subject-detail-link-card,.subject-detail-curriculum-card{background:var(--bg3);border:1px solid var(--border);border-radius:var(--radius);padding:12px;margin-bottom:10px}.subject-detail-link-top,.subject-detail-curriculum-header{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.subject-detail-link-title,.subject-detail-curriculum-title{font-size:13px;font-weight:600;color:var(--text);line-height:1.5}.subject-detail-link-meta{display:flex;flex-wrap:wrap;gap:6px 8px;margin-top:8px;align-items:center}.subject-detail-link-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}.subject-detail-curriculum-toc{margin-top:12px;padding-top:12px;border-top:1px solid var(--border)}.subject-detail-curriculum-page{margin-bottom:10px;font-size:12px;font-weight:600;color:var(--muted)}.subject-detail-curriculum-page-row{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px}.chip-list{display:flex;flex-wrap:wrap;gap:6px}.chip{background:var(--bg3);border:1px solid var(--border);border-radius:var(--radius);padding:4px 10px;font-size:12px;color:var(--text);cursor:pointer;transition:border-color .15s}.chip:hover{border-color:var(--blue);color:var(--blue)}.school-type-profile-summary{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:10px 0 14px}.school-type-profile-stat{display:inline-flex;align-items:center;gap:6px;background:var(--bg3);border:1px solid var(--border);border-radius:var(--radius);padding:5px 10px;font-size:12px}.school-type-group-list{display:flex;flex-direction:column;gap:12px}.school-type-group{display:flex;flex-direction:column;gap:8px}.school-type-group-header{display:flex;align-items:center;gap:8px;font-size:12px}.toc-tree{font-size:13px}.toc-unit{margin-bottom:12px}.toc-unit-title{font-size:13px;font-weight:600;color:var(--blue);padding:6px 10px;background:var(--blue-dim);border-radius:var(--radius);margin-bottom:4px;cursor:pointer}.toc-unit-title:before{content:"▾ ";font-size:10px}.toc-unit.collapsed .toc-unit-title:before{content:"▸ "}.toc-unit.collapsed .toc-topics{display:none}.toc-topics{padding-left:14px}.toc-topic{margin-bottom:3px}.toc-topic-name{padding:3px 8px;color:var(--text);border-left:2px solid var(--border2)}.toc-subtopics{padding-left:20px}.toc-subtopic{padding:2px 8px;color:var(--muted);font-size:12px;border-left:2px solid var(--border)}.toc-nested{padding-left:14px}.toc-chapter{margin-bottom:12px}.toc-chapter-title{font-size:13px;font-weight:600;color:var(--purple);padding:6px 10px;background:#bc8cff1a;border-radius:var(--radius);margin-bottom:4px;cursor:pointer}.toc-chapter-title:before{content:"▾ ";font-size:10px}.toc-chapter.collapsed .toc-chapter-title:before{content:"▸ "}.toc-chapter.collapsed .toc-sections{display:none}.toc-sections{padding-left:14px}.toc-section-name{padding:3px 8px;color:var(--text);border-left:2px solid var(--border2)}.toc-subsections{padding-left:20px}.toc-subsection{padding:2px 8px;color:var(--muted);font-size:12px;border-left:2px solid var(--border)}.toc-empty{color:var(--muted);font-style:italic;padding:12px;text-align:center}.toc-text-box{font-size:12px;color:var(--muted);line-height:1.7;padding:12px;background:var(--bg3);border-radius:var(--radius);border:1px solid var(--border);white-space:pre-wrap;max-height:300px;overflow-y:auto}.sql-editor-wrap{background:var(--bg2);border:1px solid var(--border);border-radius:var(--radius);margin-bottom:16px;overflow:hidden}.sql-editor-toolbar{display:flex;align-items:center;gap:10px;padding:8px 12px;background:var(--bg3);border-bottom:1px solid var(--border)}.sql-editor-toolbar span{font-size:11px;color:var(--muted)}.sql-run-btn{margin-left:auto;background:var(--blue);color:#fff;border:none;border-radius:var(--radius);padding:5px 14px;font-size:12px;cursor:pointer;font-weight:600}.sql-run-btn:hover{opacity:.85}#sql-input{width:100%;min-height:140px;background:var(--bg2);color:var(--text);border:none;padding:14px 16px;font-family:Fira Code,Cascadia Code,JetBrains Mono,monospace;font-size:13px;resize:vertical;outline:none;line-height:1.6}.sql-result-meta{font-size:12px;color:var(--muted);margin-bottom:10px}.sql-result-meta .ok{color:var(--green)}.sql-result-meta .er{color:var(--red)}.sql-queries h3{font-size:12px;font-weight:600;color:var(--muted);margin-bottom:10px;text-transform:uppercase;letter-spacing:.5px}.sql-query-chip{display:inline-block;background:var(--bg3);border:1px solid var(--border);border-radius:var(--radius);padding:4px 10px;font-size:11px;color:var(--muted);cursor:pointer;margin:0 4px 6px 0;font-family:monospace;transition:border-color .15s}.sql-query-chip:hover{border-color:var(--blue);color:var(--blue)}.section-title{font-size:15px;font-weight:600;margin-bottom:14px;color:var(--text)}.empty{color:var(--muted);padding:20px;text-align:center;font-style:italic}.text-muted{color:var(--muted)}.mt-16{margin-top:16px}.mb-16{margin-bottom:16px}button{font-family:inherit}.globe-container{position:relative;display:flex;flex-direction:column;margin:-28px -32px;height:100vh;overflow:hidden;background:#000}.globe-info-bar{display:flex;align-items:center;justify-content:space-between;padding:12px 20px;background:var(--bg2);border-bottom:1px solid var(--border);z-index:10;flex-shrink:0}.globe-info-bar h2{font-size:15px;font-weight:600;color:var(--text)}.globe-info-bar .subtitle{font-size:11px;color:var(--muted);margin-left:8px}.globe-canvas-wrap{flex:1;position:relative;overflow:hidden}.globe-legend{position:absolute;bottom:20px;left:20px;background:var(--bg2);border:1px solid var(--border);border-radius:var(--radius);padding:12px 14px;z-index:10;font-size:11px}.globe-legend-title{font-weight:600;color:var(--muted);text-transform:uppercase;letter-spacing:.5px;margin-bottom:8px;font-size:10px}.globe-legend-item{display:flex;align-items:center;gap:8px;margin-bottom:4px;color:var(--text)}.globe-legend-swatch{width:12px;height:12px;border-radius:3px;flex-shrink:0}.globe-controls{position:absolute;top:12px;right:12px;display:flex;gap:6px;z-index:10}.globe-controls button{background:var(--bg2);border:1px solid var(--border);border-radius:var(--radius);color:var(--muted);padding:6px 12px;font-size:11px;cursor:pointer;transition:border-color .15s,color .15s}.globe-controls button:hover{border-color:var(--blue);color:var(--blue)}.globe-controls button.active{border-color:var(--blue);color:var(--blue);background:var(--blue-dim)}.globe-tooltip{position:absolute;pointer-events:none;background:var(--bg2);border:1px solid var(--border);border-radius:var(--radius);padding:10px 14px;font-size:12px;color:var(--text);z-index:20;max-width:240px;box-shadow:0 4px 12px #00000080;display:none}.globe-tooltip .tt-name{font-weight:600;font-size:13px;margin-bottom:4px}.globe-tooltip .tt-stat{color:var(--muted);font-size:11px}.globe-tooltip .tt-stat strong{color:var(--text)}.btn{display:inline-flex;align-items:center;gap:6px;padding:7px 16px;border-radius:var(--radius);font-size:13px;font-weight:500;cursor:pointer;border:1px solid var(--border);transition:background .15s,border-color .15s,color .15s;font-family:inherit}.btn-primary{background:var(--blue);border-color:var(--blue);color:#fff}.btn-primary:hover{opacity:.85}.btn-danger{background:var(--red);border-color:var(--red);color:#fff}.btn-danger:hover{opacity:.85}.btn-secondary{background:var(--bg3);border-color:var(--border);color:var(--text)}.btn-secondary:hover{border-color:var(--blue);color:var(--blue)}.btn:disabled{opacity:.6;cursor:default;pointer-events:none}.btn-sm{padding:4px 10px;font-size:12px}.btn-xs{padding:3px 8px;font-size:11px}.form-modal{position:fixed;inset:0;z-index:200;display:flex;align-items:center;justify-content:center;animation:fadeIn .15s ease}.form-modal.hidden{display:none}.form-modal-backdrop{position:absolute;inset:0;background:#0009}.form-modal-content{position:relative;background:var(--bg2);border:1px solid var(--border);border-radius:8px;width:min(780px,92vw);max-height:85vh;display:flex;flex-direction:column;box-shadow:0 8px 32px #00000080}.form-modal-header{display:flex;align-items:center;justify-content:space-between;padding:16px 20px;border-bottom:1px solid var(--border)}.form-modal-header h2{font-size:16px;font-weight:600}.form-modal-body{padding:20px;flex:1;display:grid;grid-template-columns:1fr 1fr;gap:0 20px;align-content:start}.form-modal-body .form-error{grid-column:1 / -1}.form-modal-footer{display:flex;justify-content:flex-end;gap:10px;padding:14px 20px;border-top:1px solid var(--border)}.form-field{margin-bottom:14px}.form-field label{display:block;font-size:11px;font-weight:600;color:var(--muted);text-transform:uppercase;letter-spacing:.5px;margin-bottom:4px}.form-control{width:100%;background:var(--bg3);border:1px solid var(--border);border-radius:var(--radius);color:var(--text);padding:8px 12px;font-size:13px;outline:none;transition:border-color .15s;font-family:inherit}.form-control:focus{border-color:var(--blue)}textarea.form-control{min-height:80px;resize:vertical}.form-error{color:var(--red);font-size:12px;padding:8px 12px;background:#f851491a;border-radius:var(--radius);margin-bottom:10px}.confirm-modal{position:fixed;inset:0;z-index:210;display:flex;align-items:center;justify-content:center;animation:fadeIn .15s ease}.confirm-modal.hidden{display:none}.confirm-modal-backdrop{position:absolute;inset:0;background:#0009}.confirm-modal-content{position:relative;width:min(520px,92vw);background:var(--bg2);border:1px solid var(--border);border-radius:10px;box-shadow:0 8px 32px #00000080}.confirm-modal-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;border-bottom:1px solid var(--border)}.confirm-modal-header h2{font-size:16px;font-weight:600;line-height:1.25}.confirm-modal-close{background:var(--bg3);border:1px solid var(--border);color:var(--muted);border-radius:var(--radius);width:28px;height:28px;cursor:pointer;font-size:12px}.confirm-modal-close:hover{color:var(--text);border-color:var(--border2)}.confirm-modal-body{padding:16px;color:var(--text)}.confirm-modal-body p{color:var(--muted);white-space:pre-wrap}.confirm-modal-footer{display:flex;justify-content:flex-end;gap:10px;padding:12px 16px 16px;border-top:1px solid var(--border)}.curriculum-review-modal{position:fixed;inset:0;z-index:220;display:flex;align-items:stretch;justify-content:stretch;animation:fadeIn .15s ease}.curriculum-review-modal.hidden{display:none}.curriculum-review-backdrop{position:absolute;inset:0;background:#000000b8}.curriculum-review-shell{position:relative;flex:1;padding:18px}.curriculum-review-content{position:relative;height:100%;background:linear-gradient(180deg,#161b22fa,#0d1117fa);border:1px solid var(--border);border-radius:18px;box-shadow:0 24px 60px #00000073;overflow:hidden;display:flex;flex-direction:column}.curriculum-review-header{display:flex;justify-content:space-between;gap:18px;padding:22px 24px 16px;border-bottom:1px solid var(--border);background:linear-gradient(180deg,#58a6ff14,#58a6ff03)}.curriculum-review-heading{min-width:0}.curriculum-review-kicker{font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#9fb3c8;margin-bottom:8px}.curriculum-review-heading h2{font-size:26px;line-height:1.15;margin-bottom:8px}.curriculum-review-subtitle{color:var(--muted);font-size:13px;line-height:1.5}.curriculum-review-header-actions{display:flex;align-items:flex-start;gap:10px}.curriculum-review-close{background:var(--bg3);border:1px solid var(--border);color:var(--muted);border-radius:var(--radius);width:34px;height:34px;cursor:pointer;font-size:13px}.curriculum-review-close:hover{color:var(--text);border-color:var(--border2)}.curriculum-review-stats{display:flex;flex-wrap:wrap;gap:8px;padding:14px 24px;border-bottom:1px solid var(--border);background:#0d11178c}.curriculum-review-layout{flex:1;min-height:0;display:grid;grid-template-columns:minmax(320px,360px) minmax(0,1fr)}.curriculum-review-sidebar{min-height:0;overflow:hidden;border-right:1px solid var(--border);background:#0d11178c;padding:18px;display:flex;flex-direction:column}.curriculum-review-sidebar-header{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px}.curriculum-review-sidebar-header h3{font-size:14px;font-weight:700}.curriculum-review-node-list{display:flex;flex-direction:column;gap:10px;overflow-y:auto;min-height:0;padding-right:4px}.curriculum-review-node{width:100%;text-align:left;border:1px solid var(--border);border-radius:14px;padding:14px;background:#161b22db;color:var(--text);cursor:pointer;transition:border-color .15s,transform .15s,box-shadow .15s}.curriculum-review-node:hover,.curriculum-review-node.active{border-color:var(--blue);box-shadow:0 16px 28px #0000002e;transform:translateY(-1px)}.curriculum-review-node-top{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:10px}.curriculum-review-node-title{font-size:14px;font-weight:700;line-height:1.4;margin-bottom:8px}.curriculum-review-node-path{color:var(--muted);font-size:12px;line-height:1.5;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.curriculum-review-main{min-height:0;overflow-y:auto;padding:20px;display:grid;gap:16px}.curriculum-review-card{border:1px solid var(--border);border-radius:16px;background:linear-gradient(180deg,#ffffff05,#ffffff01);padding:18px}.curriculum-review-card-header{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:14px}.curriculum-review-card-header h3{font-size:15px;font-weight:700;margin-bottom:4px}.curriculum-review-card-subtitle{color:var(--muted);font-size:12px}.curriculum-review-card-badges,.curriculum-review-topic-badges,.curriculum-review-coverage-meta{display:flex;flex-wrap:wrap;gap:8px}.curriculum-review-path-label{font-size:11px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:#8b9aab;margin-bottom:6px}.curriculum-review-path{color:var(--muted);font-size:13px;line-height:1.6;margin-bottom:14px}.curriculum-review-paragraph{padding:16px 18px;border:1px solid rgba(88,166,255,.14);border-radius:14px;background:linear-gradient(180deg,#58a6ff0d,#58a6ff04);color:#dce6f3;font-size:15px;line-height:1.7;white-space:pre-wrap}.curriculum-review-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 14px}.curriculum-review-notes{min-height:110px}.curriculum-review-save-row{display:flex;align-items:center;gap:12px}.curriculum-review-topic-title{font-size:18px;font-weight:700;line-height:1.35;margin-bottom:12px}.curriculum-review-topic-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:14px 0}.curriculum-review-details{margin-top:10px}.curriculum-review-details summary{color:var(--muted);font-size:12px;cursor:pointer;margin-bottom:8px}.curriculum-review-coverage-list{display:grid;gap:10px}.curriculum-review-coverage-item{border:1px solid var(--border);border-radius:12px;padding:12px 14px;background:#0d111773}.curriculum-review-coverage-item.active{border-color:var(--blue)}.curriculum-review-coverage-top{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:8px}.curriculum-review-coverage-title{font-size:14px;font-weight:700;line-height:1.4}@media(max-width:1100px){.curriculum-review-layout{grid-template-columns:1fr}.curriculum-review-sidebar{border-right:none;border-bottom:1px solid var(--border);max-height:42vh}.curriculum-review-topic-grid,.curriculum-review-form-grid{grid-template-columns:1fr}}@media(max-width:720px){.curriculum-review-shell{padding:8px}.curriculum-review-header{flex-direction:column;padding:18px 18px 14px}.curriculum-review-header-actions{width:100%;justify-content:space-between}.curriculum-review-stats{padding:12px 18px}.curriculum-review-main,.curriculum-review-sidebar{padding:14px}.subject-detail-curriculum-page-row{flex-direction:column;align-items:flex-start}}.bulk-action-bar{position:sticky;bottom:0;left:0;right:0;background:var(--bg3);border:1px solid var(--border);border-radius:var(--radius);padding:10px 16px;display:flex;align-items:center;gap:12px;margin-top:12px;z-index:10;box-shadow:0 -2px 12px #0000004d}.bulk-action-bar.hidden{display:none}.bulk-count{font-size:13px;color:var(--text);font-weight:500}.td-checkbox{width:36px;text-align:center}.td-checkbox input[type=checkbox]{accent-color:var(--blue);cursor:pointer}.detail-actions{display:flex;gap:10px;margin-top:20px;padding-top:16px;border-top:1px solid var(--border)}.build-progress{display:flex;gap:0;margin:16px 0;position:relative}.build-step{flex:1;display:flex;flex-direction:column;align-items:center;gap:6px;position:relative;z-index:1}.build-step-dot{width:28px;height:28px;border-radius:50%;border:2px solid var(--border);background:var(--bg3);display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:600;color:var(--muted);transition:all .3s ease}.build-step-label{font-size:10px;color:var(--muted);text-align:center;white-space:nowrap;transition:color .3s ease}.build-step.completed .build-step-dot{background:var(--green);border-color:var(--green);color:#fff}.build-step.completed .build-step-label{color:var(--green)}.build-step.active .build-step-dot{border-color:var(--blue);background:var(--blue);color:#fff;animation:buildPulse 1.5s ease-in-out infinite}.build-step.active .build-step-label{color:var(--blue);font-weight:600}.build-step.failed .build-step-dot{background:var(--red);border-color:var(--red);color:#fff}.build-step.failed .build-step-label{color:var(--red)}.build-progress-line{position:absolute;top:13px;left:0;right:0;height:2px;background:var(--border);z-index:0}.build-progress-line-fill{height:100%;background:var(--green);transition:width .4s ease}@keyframes buildPulse{0%,to{box-shadow:0 0 #1f6feb66}50%{box-shadow:0 0 0 8px #1f6feb00}}.build-status-area{margin:12px 0}.build-alert{padding:12px 16px;border-radius:var(--radius);font-size:13px;line-height:1.5}.build-alert-error{background:#f8514915;border:1px solid #f8514940;color:var(--red)}.build-alert-success{background:#3fb95015;border:1px solid #3fb95040;color:var(--green)}.build-screenshot-toggle{display:inline-flex;gap:0;border:1px solid var(--border);border-radius:var(--radius);overflow:hidden;margin:8px 0}.build-screenshot-toggle button{padding:4px 12px;font-size:11px;background:var(--bg3);border:none;color:var(--fg);cursor:pointer}.build-screenshot-toggle button.active{background:var(--blue);color:#fff}.build-screenshot-preview{max-width:100%;border-radius:var(--radius);border:1px solid var(--border);margin-top:8px}.build-phase-label{font-size:13px;color:var(--muted);text-align:center;margin-top:8px}.page-header-row{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px}.page-header-row .page-header{margin-bottom:0}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes slideIn{0%{transform:translate(40px);opacity:0}to{transform:none;opacity:1}}.login-screen{position:fixed;inset:0;background:var(--bg);display:flex;align-items:center;justify-content:center;z-index:300}.login-screen.hidden{display:none}.login-card{background:var(--bg2);border:1px solid var(--border);border-radius:12px;padding:34px 36px 40px;width:420px;max-width:92vw;box-shadow:0 8px 32px #00000080}.login-logo-image{display:block;width:min(280px,72vw);max-height:140px;object-fit:contain;margin:0 auto 12px}.login-logo{font-size:20px;font-weight:700;color:var(--text);text-align:center;margin-bottom:4px}.login-logo-sub{font-size:12px;color:var(--muted);text-align:center;margin-bottom:24px}.login-step{display:none}.login-step.active{display:block}.login-field{margin-bottom:16px}.login-field label{display:block;font-size:11px;font-weight:600;color:var(--muted);text-transform:uppercase;letter-spacing:.5px;margin-bottom:5px}.login-field input{width:100%;background:var(--bg3);border:1px solid var(--border);border-radius:var(--radius);color:var(--text);padding:10px 14px;font-size:14px;outline:none;transition:border-color .15s;font-family:inherit}.login-field input:focus{border-color:var(--blue)}.login-field input.code-input{font-family:Fira Code,Cascadia Code,monospace;font-size:24px;text-align:center;letter-spacing:8px;padding:12px}.login-btn{width:100%;background:var(--blue);border:none;border-radius:var(--radius);color:#fff;padding:11px;font-size:14px;font-weight:600;cursor:pointer;font-family:inherit;transition:opacity .15s}.login-btn:hover{opacity:.85}.login-btn:disabled{opacity:.5;cursor:default}.login-error{color:var(--red);font-size:12px;padding:8px 12px;background:#f851491a;border-radius:var(--radius);margin-bottom:12px;text-align:center}.login-info{color:var(--muted);font-size:12px;text-align:center;margin-top:12px}.login-back{color:var(--blue);cursor:pointer;font-size:12px;background:none;border:none;font-family:inherit;margin-top:8px;display:block;text-align:center;width:100%}.login-back:hover{text-decoration:underline}.login-steps-indicator{display:flex;justify-content:center;gap:8px;margin-bottom:24px}.login-step-dot{width:8px;height:8px;border-radius:50%;background:var(--border2);transition:background .2s}.login-step-dot.active{background:var(--blue)}.nav-logout{margin-top:auto!important;border-top:1px solid var(--border);color:var(--red)!important}.nav-logout:hover{color:var(--red)!important;background:#f851491a!important}.ma-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:16px;margin-top:16px}.ma-card{background:var(--bg2);border:1px solid var(--border);border-radius:12px;cursor:pointer;transition:border-color .15s,background .15s;position:relative;overflow:hidden}.ma-card:hover{border-color:var(--blue);background:var(--bg3)}.ma-card-body{padding:18px;display:grid;gap:6px}.ma-card-id{font-size:11px;color:var(--muted);font-family:monospace;margin-bottom:6px}.ma-card-title{font-size:14px;font-weight:600;color:var(--text);margin-bottom:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ma-card-sub{font-size:12px;color:var(--muted);margin-bottom:8px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ma-card-meta{display:flex;align-items:center;gap:8px;font-size:11px;color:var(--muted)}.ma-card-delete{position:absolute;top:10px;right:10px;background:#0d1117c7;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,.08);color:#d0d7de;border-radius:var(--radius);width:26px;height:26px;cursor:pointer;font-size:11px;display:flex;align-items:center;justify-content:center;opacity:0;transition:opacity .15s,color .15s,border-color .15s;z-index:2}.ma-card:hover .ma-card-delete{opacity:1}.ma-card-delete:hover{color:var(--red);border-color:var(--red)}.preview-shot{position:relative;width:100%;aspect-ratio:16 / 10;overflow:hidden;border-radius:12px;border:1px solid rgba(255,255,255,.08);background:linear-gradient(180deg,#58a6ff14,#1118272e),linear-gradient(135deg,#ffffff0a,#ffffff03)}.preview-shot--gallery{border-radius:0;border:0;border-bottom:1px solid var(--border)}.preview-shot--compact{aspect-ratio:16 / 9;border-radius:10px}.preview-shot-img{width:100%;height:100%;object-fit:cover;display:block;background:#0b1120}.preview-shot-placeholder{position:absolute;inset:0;display:grid;align-content:center;justify-items:center;gap:6px;padding:16px;text-align:center;color:var(--muted)}.preview-shot-placeholder strong{max-width:100%;color:var(--text);font-size:13px;line-height:1.35;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.preview-shot-placeholder-brow{font-size:10px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--blue);opacity:.85}.preview-shot.has-image .preview-shot-placeholder{display:none}.ma-preview-overlay{position:fixed;inset:0;background:var(--bg);z-index:250;display:flex;flex-direction:column;animation:fadeIn .15s ease}.ma-preview-toolbar{display:flex;align-items:center;gap:12px;padding:10px 16px;background:var(--bg2);border-bottom:1px solid var(--border);flex-shrink:0}.ma-preview-toolbar .ma-preview-title{font-size:14px;font-weight:600;color:var(--text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}.ma-preview-toolbar select{background:var(--bg3);border:1px solid var(--border);border-radius:var(--radius);color:var(--text);padding:5px 10px;font-size:12px;cursor:pointer}.ma-preview-toolbar button{background:var(--bg3);border:1px solid var(--border);border-radius:var(--radius);color:var(--muted);padding:5px 12px;font-size:12px;cursor:pointer;font-family:inherit}.ma-preview-toolbar button:hover{border-color:var(--blue);color:var(--blue)}.ma-preview-toolbar button.active{border-color:var(--blue);color:var(--blue);background:var(--blue-dim)}.ma-preview-close{background:var(--bg3);border:1px solid var(--border);color:var(--muted);border-radius:var(--radius);width:30px;height:30px;cursor:pointer;font-size:14px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.ma-preview-close:hover{color:var(--text);border-color:var(--border2)}.ma-preview-content{display:grid;grid-template-columns:minmax(0,1fr) 360px;flex:1;min-height:0}.ma-preview-frame-wrap{position:relative;min-width:0;min-height:0}.ma-preview-iframe{border:none;width:100%;height:100%;background:#fff}.ma-chat-panel{border-left:1px solid var(--border);background:linear-gradient(180deg,#10151f,#0d131d);padding:14px;display:flex;flex-direction:column;gap:10px}.ma-chat-title{font-size:15px;font-weight:700;color:#f3f4f6}.ma-chat-subtitle{font-size:12px;color:#98a2b3;line-height:1.45}.ma-rebuild-state{font-size:12px;padding:8px 10px;border:1px solid #2a3446;border-radius:8px;color:#d1d5db;background:#111827}.ma-rebuild-state.status-generated{border-color:#14532d;color:#86efac;background:#052e16}.ma-rebuild-state.status-pending{border-color:#78350f;color:#fde68a;background:#422006}.ma-rebuild-state.status-failed{border-color:#7f1d1d;color:#fca5a5;background:#450a0a}.ma-feedback-input{width:100%;min-height:180px;resize:vertical;background:#0b111a;border:1px solid #2a3446;border-radius:8px;color:#e5e7eb;padding:10px;font-family:inherit;font-size:13px}.ma-feedback-input:focus{outline:none;border-color:var(--blue)}.ma-file-upload{display:inline-flex;align-items:center;justify-content:center;border:1px dashed #3b4b67;border-radius:8px;color:#93c5fd;font-size:12px;padding:7px 10px;cursor:pointer}.ma-file-upload:hover{border-color:#60a5fa;color:#bfdbfe}.ma-feedback-files{display:none}.ma-feedback-files-list{min-height:16px;font-size:11px;color:#9ca3af;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.ma-feedback-status{min-height:18px;font-size:12px;color:var(--muted)}.ma-feedback-status.ok{color:var(--green)}.ma-feedback-status.error{color:var(--red)}.production-layout{display:grid;grid-template-columns:320px minmax(0,1fr);gap:20px;min-height:calc(100vh - 170px)}.production-layout.no-sidebar{grid-template-columns:1fr}.production-layout.no-sidebar .production-sidebar{display:none}.production-layout.selection-mode{grid-template-columns:1fr;align-content:stretch;align-items:stretch}.production-layout.selection-mode .production-sidebar{overflow:hidden;align-self:stretch}.production-layout.selection-mode .production-sidebar-head{grid-template-columns:minmax(0,1fr);align-items:end;gap:8px}.production-layout.selection-mode .production-sidebar-label,.production-layout.selection-mode .production-sidebar-note{grid-column:1 / -1}.production-layout.selection-mode .production-topic-list{grid-template-columns:1fr;padding:16px;max-height:none;min-height:0}.production-layout.selection-mode .production-main{display:none}.production-layout.selection-mode.selection-with-job{grid-template-columns:minmax(520px,1.15fr) minmax(460px,.95fr)}.production-layout.selection-mode.selection-with-job .production-main{display:block}.production-layout.selection-mode.selection-with-job .production-topic-list{max-height:none}.production-top-strip-wrap{position:relative;margin-bottom:12px;padding-bottom:56px}.production-top-strip{margin-bottom:16px}.production-schoolyear-launch{position:absolute;top:52px;right:6px;z-index:5;display:inline-flex;align-items:center;gap:10px;min-height:44px;padding:0 20px;border-radius:12px;border:1px solid rgba(59,130,246,.4);background:linear-gradient(135deg,#2563eb,#1d4ed8);color:#fff;font-weight:700;font-size:13px;letter-spacing:.01em;box-shadow:0 4px 14px #2563eb59,0 0 0 1px #ffffff0f inset;overflow:hidden;white-space:nowrap;cursor:pointer;transition:all .2s ease}.production-schoolyear-launch:after{content:"";width:8px;height:8px;border-radius:999px;background:#93c5fd;box-shadow:0 0 0 3px #93c5fd33,0 0 10px #93c5fd66;animation:productionSchoolyearPulse 2s ease-out infinite;flex-shrink:0}.production-schoolyear-launch:hover{transform:translateY(-1px);box-shadow:0 6px 20px #2563eb73,0 0 0 1px #ffffff14 inset;background:linear-gradient(135deg,#3b82f6,#2563eb)}.production-schoolyear-launch:active{transform:translateY(0);box-shadow:0 2px 8px #2563eb4d}.production-schoolyear-launch--hidden{display:none}@keyframes productionSchoolyearPulse{0%{box-shadow:0 0 #93c5fd4d,0 0 8px #93c5fd66}70%{box-shadow:0 0 0 8px #93c5fd00,0 0 14px #93c5fd26}to{box-shadow:0 0 #93c5fd00,0 0 8px #93c5fd40}}.production-schoolyear-modal{position:fixed;inset:0;z-index:230;display:flex;align-items:center;justify-content:center;animation:fadeIn .15s ease}.production-schoolyear-modal--hidden{display:none}.production-schoolyear-backdrop{position:absolute;inset:0;background:#02060cb8;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.production-schoolyear-dialog{position:relative;width:min(720px,calc(100vw - 32px));background:linear-gradient(180deg,#0d131efa,#0a0f18fa);border:1px solid rgba(96,165,250,.14);border-radius:18px;box-shadow:0 24px 80px #0000007a;overflow:hidden}.production-schoolyear-header{display:flex;justify-content:space-between;gap:18px;padding:22px 24px 18px;border-bottom:1px solid var(--border)}.production-schoolyear-brow{font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.14em;color:var(--blue);margin-bottom:8px}.production-schoolyear-header h3{margin:0;font-size:22px;line-height:1.2;color:#f8fafc}.production-schoolyear-header p{margin:8px 0 0;color:var(--muted);font-size:13px;line-height:1.55}.production-schoolyear-close{width:34px;height:34px;border-radius:10px;border:1px solid var(--border);background:#ffffff0a;color:var(--muted);cursor:pointer}.production-schoolyear-close:hover{color:var(--text);border-color:var(--border2)}.production-schoolyear-body{padding:22px 24px;display:grid;gap:18px}.production-schoolyear-summary{padding:12px 14px;border-radius:12px;background:#60a5fa14;border:1px solid rgba(96,165,250,.14);color:#dbeafe;font-size:13px;line-height:1.5}.production-schoolyear-cli-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.production-schoolyear-cli-option{display:grid;gap:6px;text-align:left;padding:14px 14px 16px;border-radius:14px;border:1px solid var(--border);background:#ffffff08;color:var(--text);cursor:pointer;transition:all .18s ease}.production-schoolyear-cli-option:hover{transform:translateY(-1px);border-color:#60a5fa61;background:#60a5fa0f}.production-schoolyear-cli-option.active{border-color:#60a5fab8;background:#3b82f61f;box-shadow:0 0 0 3px #3b82f61f}.production-schoolyear-cli-name{font-size:15px;font-weight:700;color:#f8fafc}.production-schoolyear-cli-copy{font-size:12px;color:var(--muted)}.production-schoolyear-note{padding:12px 14px;border-radius:12px;background:#ffffff08;border:1px dashed rgba(148,163,184,.22);color:var(--muted);font-size:12px;line-height:1.55}.production-schoolyear-status{min-height:18px;font-size:12px;color:var(--muted)}.production-schoolyear-status.pending{color:#bfdbfe}.production-schoolyear-status.error{color:#fecaca}.production-schoolyear-footer{display:flex;justify-content:flex-end;gap:10px;padding:0 24px 22px}.production-log-modal{position:fixed;inset:0;z-index:240;display:flex;align-items:center;justify-content:center;animation:fadeIn .15s ease}.production-log-modal--hidden{display:none}.production-log-modal-backdrop{position:absolute;inset:0;background:#02060cbd;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.production-log-modal-dialog{position:relative;width:min(1040px,calc(100vw - 36px));max-height:min(88vh,920px);display:grid;grid-template-rows:auto minmax(0,1fr);background:linear-gradient(180deg,#0d131efc,#0a0f18fc);border:1px solid rgba(96,165,250,.14);border-radius:18px;box-shadow:0 24px 80px #00000085;overflow:hidden}.production-log-modal-header{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;padding:22px 24px 18px;border-bottom:1px solid var(--border)}.production-log-modal-copy{min-width:0}.production-log-modal-title{margin:0;font-size:22px;line-height:1.2;color:#f8fafc}.production-log-modal-subtitle{margin:8px 0 0;color:var(--muted);font-size:13px;line-height:1.55}.production-log-modal-controls{display:flex;gap:8px;align-items:center;flex-wrap:wrap;justify-content:flex-end}.production-log-modal-body{min-height:0;display:grid;gap:14px;padding:22px 24px 24px}.production-log-modal-note{margin:0}.production-log-modal-note:empty{display:none}.production-log-modal-error{display:none;padding:12px 14px;border-radius:12px;background:#7f1d1d29;border:1px solid rgba(248,113,113,.2);color:#fecaca;font-size:12px;line-height:1.5}.production-log-modal-error.production-log-modal-error--status{background:#22c55e24;border-color:#4ade8047;color:#bbf7d0}.production-log-modal-error.visible{display:block}.production-log-modal-shell,.production-log-modal-stream{min-height:0}.production-log-modal-stream{min-height:min(58vh,560px);max-height:min(58vh,560px)}.production-schoolyear-job-shell,.production-schoolyear-content{display:grid;gap:18px}.production-schoolyear-job-card{padding:18px}.production-schoolyear-topics-card,.production-schoolyear-errors-card{width:100%}.production-schoolyear-job-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-bottom:16px}.production-schoolyear-job-summary{margin-top:8px;color:var(--muted);font-size:12px;line-height:1.5}.production-schoolyear-job-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;justify-content:flex-end}.production-schoolyear-job-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:14px}.production-schoolyear-kpi{display:grid;gap:5px;padding:12px 13px;border-radius:12px;background:#ffffff08;border:1px solid var(--border)}.production-schoolyear-kpi span{font-size:10px;text-transform:uppercase;letter-spacing:.08em;color:var(--muted)}.production-schoolyear-kpi strong{font-size:20px;color:#f8fafc;line-height:1.1}.production-schoolyear-job-meta{display:flex;flex-wrap:wrap;gap:10px 14px;color:var(--muted);font-size:12px}.production-schoolyear-topic-link{display:inline-flex;align-items:center;gap:6px;padding:0;border:none;background:none;color:#93c5fd;font:inherit;font-weight:700;cursor:pointer;text-decoration:underline;text-decoration-color:transparent;text-underline-offset:2px;transition:color .18s ease,text-decoration-color .18s ease}.production-schoolyear-topic-link:hover{color:#dbeafe;text-decoration-color:currentColor}.production-schoolyear-topic-link--inline{margin-left:6px}.production-schoolyear-topic-link--compact{font-family:Fira Code,Cascadia Code,JetBrains Mono,monospace;font-size:11px}.production-schoolyear-job-running{margin-top:14px;color:#bfdbfe;font-size:12px}.production-schoolyear-panel-error{margin-top:14px;padding:12px 14px;border-radius:12px;background:#7f1d1d29;border:1px solid rgba(248,113,113,.2);color:#fecaca;font-size:12px;line-height:1.5}.production-schoolyear-panel-status{margin-top:14px;padding:12px 14px;border-radius:12px;background:#22c55e1f;border:1px solid rgba(74,222,128,.2);color:#bbf7d0;font-size:12px;line-height:1.5}.production-schoolyear-table-wrap{overflow:auto;border:1px solid var(--border);border-radius:12px}.production-schoolyear-table{width:max-content;min-width:100%;border-collapse:collapse;font-size:12px}.production-schoolyear-table th,.production-schoolyear-table td{padding:10px 12px;border-bottom:1px solid var(--border);text-align:left;vertical-align:top}.production-schoolyear-table th:nth-child(1),.production-schoolyear-table td:nth-child(1){min-width:42px;white-space:nowrap}.production-schoolyear-table th:nth-child(2),.production-schoolyear-table td:nth-child(2){min-width:74px;white-space:nowrap}.production-schoolyear-table th:nth-child(3),.production-schoolyear-table td:nth-child(3){min-width:120px}.production-schoolyear-table th:nth-child(4),.production-schoolyear-table td:nth-child(4){min-width:100px}.production-schoolyear-table th:nth-child(5),.production-schoolyear-table td:nth-child(5),.production-schoolyear-table th:nth-child(6),.production-schoolyear-table td:nth-child(6),.production-schoolyear-table th:nth-child(7),.production-schoolyear-table td:nth-child(7),.production-schoolyear-table th:nth-child(8),.production-schoolyear-table td:nth-child(8){min-width:92px}.production-schoolyear-table .badge{display:inline-flex;align-items:center;max-width:100%;white-space:normal;line-height:1.25;text-align:left}.production-schoolyear-table th{font-size:10px;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);background:#ffffff08}.production-schoolyear-table tbody tr:last-child td{border-bottom:none}.production-schoolyear-table .sy-row-active{background:#1f6feb0f}.sy-phase-bar{display:flex;gap:3px;align-items:center;min-width:80px}.sy-phase-seg{flex:1;height:6px;border-radius:3px;transition:background .3s}.sy-phase-pending{background:var(--bg4)}.sy-phase-done{background:var(--green)}.sy-phase-running{background:var(--blue);animation:sy-pulse 1.2s ease-in-out infinite}.sy-phase-failed{background:var(--red)}.sy-phase-skipped{background:var(--bg4);opacity:.5}@keyframes sy-pulse{0%,to{opacity:1}50%{opacity:.4}}.production-schoolyear-errors{display:grid;gap:10px}.production-schoolyear-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:12px}.production-schoolyear-copy-status{margin-top:6px;color:#fca5a5;font-size:11px}.production-schoolyear-errors-copy--icon{width:36px;min-width:36px;height:36px;padding:0;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;font-size:15px;line-height:1}.production-schoolyear-error{padding:12px 14px;border-radius:12px;border:1px solid rgba(248,113,113,.16);background:#7f1d1d14}.production-schoolyear-error-head{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:8px}.production-schoolyear-error-head span{color:var(--muted);font-size:11px}.production-schoolyear-error-text{color:#fecaca;font-size:12px;line-height:1.55;white-space:pre-wrap}.empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:60px 20px;text-align:center;color:var(--muted);height:100%}.empty-icon{font-size:48px;margin-bottom:20px;opacity:.3}.empty-state h3{font-size:24px;color:#f3f4f6;margin-bottom:12px}.empty-state p{max-width:400px;line-height:1.6}.production-selection-step{display:flex;justify-content:center;align-items:center;min-height:400px}.production-selection-step .production-card{max-width:500px;padding:40px;text-align:center;background:#3b82f60d;border-color:#3b82f633}.production-selection-step .production-card-title{font-size:24px;margin-bottom:16px}.production-selection-step p{color:var(--muted);margin-bottom:24px;font-size:16px;line-height:1.6}.btn-lg{padding:12px 24px;font-size:15px}.production-sidebar,.production-main,.production-card,.production-header-card,.production-phase-hero,.production-phase-card{background:var(--bg2);border:1px solid var(--border);border-radius:14px}.production-sidebar{display:flex;flex-direction:column;min-height:0;overflow:hidden}.production-sidebar-head{display:grid;gap:10px;padding:14px 16px 12px;border-bottom:1px solid var(--border)}.production-sidebar-label{font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.14em;color:var(--muted)}.production-sidebar-note{min-height:18px;font-size:12px;color:var(--muted)}.production-filter-bar{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;align-items:center}.production-filter-bar .filter-input,.production-filter-bar .filter-select{width:100%;min-width:0;min-height:38px;padding:6px 10px;border-radius:10px;background:#090e16d1;font-size:12px}.production-filter-bar .filter-input::placeholder{color:#7b8798}.production-topic-list{overflow:auto;padding:12px;display:grid;gap:10px;align-content:start;flex:1}.production-topic-card{text-align:left;background:#ffffff05;border:1px solid var(--border);border-radius:12px;padding:14px 16px;color:var(--text);cursor:pointer;transition:all .2s cubic-bezier(.4,0,.2,1);display:grid;grid-template-columns:minmax(0,1.75fr) minmax(220px,.95fr) 92px;gap:18px;align-items:center}.production-topic-card:hover{border-color:#60a5fa80;background:#ffffff0a}.production-topic-card.active{border-color:var(--blue);background:#3b82f61a;box-shadow:0 0 0 3px #3b82f61a}.production-topic-main,.production-topic-support,.production-topic-side{min-width:0}.production-topic-main{display:grid;gap:6px}.production-topic-support{display:grid;gap:10px;justify-items:start}.production-topic-side{display:grid;gap:4px;justify-items:end;text-align:right}.production-topic-scorerow{display:flex;justify-content:space-between;gap:12px;align-items:center}.production-topic-id{font-family:monospace;font-size:11px;color:var(--blue);font-weight:700;opacity:.8}.production-topic-location{font-size:11px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.production-topic-score-label{font-size:10px;font-weight:700;color:var(--muted);text-transform:uppercase;letter-spacing:.08em}.production-topic-score{font-size:22px;line-height:1;font-weight:800;color:#bfdbfe}.production-topic-title{font-weight:600;font-size:14px;line-height:1.4;color:#f3f4f6}.production-topic-meta{font-size:11px;color:var(--muted)}.production-topic-taxonomy{display:flex;gap:6px;flex-wrap:wrap;margin-top:2px}.production-topic-taxonomy .badge{font-size:10px;line-height:1.25;padding:4px 8px;border:1px solid rgba(255,255,255,.08);max-width:100%;white-space:normal;text-align:left}.production-topic-source{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.production-topic-metrics{display:flex;gap:6px;flex-wrap:wrap}.production-topic-metric{font-size:10px;color:#cbd5e1;padding:3px 8px;border-radius:999px;background:#94a3b81f;border:1px solid rgba(148,163,184,.16)}.production-topic-tags{display:flex;gap:6px;flex-wrap:wrap;margin-top:4px}.production-main{padding:24px;min-height:0}.production-main-body{min-height:0}.production-shell{display:grid;gap:20px}.production-eyebrow,.production-phase-brow,.production-phase-focus-label{font-size:10px;color:#7f8ea3;text-transform:uppercase;letter-spacing:.14em}.production-phase-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:8px;background:linear-gradient(180deg,#0b101aeb,#0d121cd1);border-radius:18px;border:1px solid rgba(74,85,104,.28);box-shadow:inset 0 1px #ffffff08}.production-phase-tab{min-height:58px;display:flex;align-items:center;justify-content:flex-start;gap:10px;padding:12px 14px;border:1px solid transparent;background:#ffffff05;color:#95a4ba;font-size:13px;font-weight:700;cursor:pointer;border-radius:14px;transition:border-color .18s ease,background .18s ease,color .18s ease,transform .18s ease}.production-phase-tab .phase-no{width:24px;height:24px;display:inline-flex;align-items:center;justify-content:center;border-radius:999px;border:1px solid rgba(148,163,184,.18);background:#94a3b814;color:#cbd5e1;font-family:monospace;font-size:11px;line-height:1}.production-phase-tab.active{background:linear-gradient(180deg,#203a60e0,#192c48eb);border-color:#60a5fa6b;color:#f8fbff;box-shadow:0 10px 24px #0f172a47}.production-phase-tab.active .phase-no{background:#ffffff24;border-color:#ffffff2e;color:#fff}.production-phase-tab.done{border-color:#22c55e33;background:#162119b8;color:#9ee6b0}.production-phase-tab.done .phase-no{background:#22c55e29;border-color:#22c55e42;color:#9ee6b0}.production-phase-tab.locked{opacity:.42;cursor:not-allowed}.production-phase-tab:hover:not(.locked):not(.active){border-color:#60a5fa2e;background:#ffffff0a;color:#dbe7ff;transform:translateY(-1px)}.production-header-card-compact{display:grid;gap:12px;padding:14px 18px;background:linear-gradient(180deg,#111827f5,#0c121ef0),radial-gradient(circle at top right,rgba(96,165,250,.14),transparent 32%);border:1px solid rgba(74,85,104,.32);border-radius:18px;box-shadow:0 18px 40px #0000002e}.production-header-top{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.production-header-actions{display:flex;gap:8px;flex-wrap:wrap}.production-header-actions .btn-xs{padding:5px 10px;font-size:11px}.production-header-info{display:grid;gap:8px;min-width:0}.production-compact-title{font-size:17px;font-weight:700;line-height:1.28;margin:0;color:#f8fafc;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;max-width:60ch}.production-subtitle-inline{font-size:12px;line-height:1.45;color:#98a6ba;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.production-header-badges-compact{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end;align-items:center}.production-phase-nav-vertical{display:flex;flex-wrap:wrap;gap:10px;margin-top:4px;padding-top:14px;border-top:1px solid rgba(148,163,184,.12)}.production-phase-nav-vertical .btn{justify-content:center;flex:1 1 140px;min-width:0}.production-phase-nav-vertical .production-phase-preview{flex-basis:100%}.production-phase-hero{display:none}.production-phase-focus-copy{font-size:14px;line-height:1.6;color:#d7e1ee}.production-phase-nav{display:flex;flex-wrap:wrap;gap:10px}.production-checklist{display:grid;gap:10px}.production-check-item{display:grid;grid-template-columns:10px minmax(0,1fr);gap:10px;align-items:start;color:#d7e1ee;font-size:13px;line-height:1.58}.production-check-bullet{width:10px;height:10px;margin-top:5px;border-radius:999px;background:linear-gradient(180deg,#8dc1ff,#3b82f6);box-shadow:0 0 0 4px #3b82f614}.production-tab-panel{min-height:0}.production-phase-layout{display:grid;grid-template-columns:minmax(0,1.72fr) minmax(310px,.88fr);gap:22px;align-items:start}.production-side-stack{display:grid;gap:18px;align-content:start;position:sticky;top:14px}.production-card{padding:22px;display:grid;gap:16px;min-height:0;background:linear-gradient(180deg,#101622f5,#0c111cf5);border:1px solid rgba(74,85,104,.28);border-radius:18px;box-shadow:0 18px 36px #00000024}.production-focus-card{background:radial-gradient(circle at top right,rgba(59,130,246,.12),transparent 30%),linear-gradient(180deg,#0f1828fa,#0b121efa);border-color:#60a5fa3d}.production-side-card{background:linear-gradient(180deg,#121824f7,#0d121cf7)}.production-card-brow{font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.14em;color:#7fb3ff;opacity:.9;margin-bottom:-2px}.production-card-title{font-size:24px;font-weight:700;line-height:1.22;color:#f8fafc;max-width:20ch}.production-side-title{font-size:18px;font-weight:700;line-height:1.3;color:#f3f7fb}.production-kv{display:grid;grid-template-columns:1fr;gap:8px}.production-kv div{background:#ffffff06;border:1px solid rgba(255,255,255,.05);border-radius:12px;padding:10px 14px;display:flex;justify-content:space-between;align-items:center;gap:12px}.production-kv span{font-size:11px;color:#8fa0b7;text-transform:none;letter-spacing:normal}.production-kv strong{font-size:13px;font-weight:600;color:#e5e7eb;text-align:right}.production-curriculum-snippet{background:#0a0f18;border:1px solid rgba(255,255,255,.05);border-radius:14px;padding:16px;color:#97a4b5;font-size:13px;line-height:1.68;max-height:320px;overflow:auto}.production-template-note,.production-log-note{color:#9aacbf;font-size:13px;line-height:1.6;padding:12px 14px;background:#ffffff05;border-radius:12px;border:1px solid rgba(148,163,184,.08);border-left:3px solid rgba(96,165,250,.28)}.production-plan-editor-toast{margin:0;background:#0d1117;border-radius:12px;border:1px solid var(--border);overflow:hidden;transition:all .2s}.production-plan-editor-toast.fullscreen{position:fixed;inset:0;z-index:9999;margin:0;border-radius:0;width:100vw;height:100vh}.fullscreen-icon{font-style:normal;font-weight:700;transition:color .2s}.fullscreen-icon:hover{color:#fff!important;background:#ffffff1a!important}.toastui-editor-dark{background-color:#0d1117!important}.toastui-editor-dark .toastui-editor-defaultUI{border-color:var(--border)!important}.toastui-editor-dark .toastui-editor-toolbar{background-color:#ffffff08!important;border-bottom:1px solid var(--border)!important}.toastui-editor-dark .toastui-editor-ww-container,.toastui-editor-dark .toastui-editor-md-container{background-color:transparent!important}.toastui-editor-dark .toastui-editor-contents{color:#e5e7eb!important;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,system-ui,sans-serif!important;font-size:15px!important}.toastui-editor-dark .toastui-editor-contents h1,.toastui-editor-dark .toastui-editor-contents h2,.toastui-editor-dark .toastui-editor-contents h3{color:#fff!important;border-bottom-color:#ffffff1a!important}.toastui-editor-dark .toastui-editor-md-code,.toastui-editor-dark .toastui-editor-md-code-block{background-color:#0000004d!important;color:#93c5fd!important}.production-chat-stream,.production-coding-status-box{margin-top:24px;padding-top:24px;border-top:1px solid var(--border);display:grid;gap:16px}.production-coding-status-box--focus{border-top-color:#60a5fa73;animation:productionLogFocusPulse 1.5s ease}.production-status-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.production-log-shell{position:relative}.production-log-stream-large{min-height:240px;max-height:460px;overflow:auto;background:linear-gradient(180deg,#070c15fa,#0a101cfa);border:1px solid rgba(96,165,250,.12);border-radius:12px;padding:10px 12px;box-shadow:inset 0 1px #ffffff08}.production-log-shell.fullscreen{position:fixed;inset:16px;z-index:9999;border-radius:16px;background:#0d1117;box-shadow:0 24px 80px #0000008c;padding:0}.production-log-shell.fullscreen .production-log-stream-large{min-height:100%;max-height:100%;height:100%;border-radius:16px}.production-log-jump{position:absolute;right:16px;bottom:16px;width:40px;height:40px;display:inline-flex;align-items:center;justify-content:center;border:1px solid rgba(96,165,250,.35);border-radius:999px;background:#0f172af0;color:#bfdbfe;font-size:20px;line-height:1;box-shadow:0 12px 28px #00000059;cursor:pointer;opacity:0;transform:translateY(8px);pointer-events:none;transition:opacity .18s ease,transform .18s ease,border-color .18s ease,background .18s ease}.production-log-jump.visible{opacity:1;transform:translateY(0);pointer-events:auto}.production-log-jump:hover{background:#1e293bfa;border-color:#93c5fd8c}.production-chat-empty{border:1px dashed var(--border);border-radius:12px;padding:32px;color:var(--muted);font-size:13px;text-align:center;background:#ffffff03}.production-chat-bubble{border-radius:12px;padding:16px 20px;border:1px solid transparent;max-width:90%;line-height:1.6;position:relative}.production-chat-bubble.assistant{background:#161e2e;border-color:#3b82f633;align-self:flex-start;border-bottom-left-radius:4px;box-shadow:0 4px 12px #00000026}.production-chat-bubble.user{background:#1f2937;border-color:#ffffff0d;align-self:flex-end;border-bottom-right-radius:4px;text-align:left;box-shadow:0 4px 12px #0000001a}.production-chat-bubble.pending{border-style:dashed;border-color:var(--blue);animation:productionBubblePulse 2s infinite}.production-chat-role{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.08em;margin-bottom:10px;display:flex;align-items:center;gap:8px}.production-chat-bubble.assistant .production-chat-role{color:#60a5fa}.production-chat-bubble.assistant .production-chat-role:before{content:"●";font-size:8px}.production-chat-bubble.user .production-chat-role{color:#94a3b8}.production-chat-pending{display:flex;flex-direction:column;gap:12px;color:var(--muted);font-size:14px}.production-chat-pending-text{line-height:1.6;opacity:.9}.production-chat-stream::-webkit-scrollbar{width:6px}.production-chat-stream::-webkit-scrollbar-track{background:#0000001a;border-radius:10px}.production-chat-stream::-webkit-scrollbar-thumb{background:#ffffff1a;border-radius:10px}.production-chat-stream::-webkit-scrollbar-thumb:hover{background:#fff3}.production-chat-text{font-size:14px;color:#e5e7eb}.production-chat-text p{margin:0 0 1em}.production-chat-text p:last-child{margin-bottom:0}.production-chat-text h1,.production-chat-text h2,.production-chat-text h3{margin:1.2em 0 .6em;font-weight:700;color:#f3f4f6;line-height:1.3}.production-chat-text h1{font-size:1.25em}.production-chat-text h2{font-size:1.15em}.production-chat-text h3{font-size:1.05em}.production-chat-text ul,.production-chat-text ol{margin:.8em 0;padding-left:1.5em}.production-chat-text li{margin:.4em 0}.production-chat-text pre{background:#0a0f18;border:1px solid rgba(255,255,255,.1);border-radius:8px;padding:14px;overflow-x:auto;font-size:13px;margin:1em 0}.production-chat-text code{background:#3b82f626;color:#93c5fd;padding:2px 6px;border-radius:4px;font-size:.9em;font-family:Fira Code,monospace}.production-chat-text pre code{background:none;color:#d1d5db;padding:0;font-size:12px}.production-chat-text a{color:#60a5fa;text-decoration:none;border-bottom:1px solid transparent;transition:border-color .2s}.production-chat-text a:hover{border-color:currentColor}.production-chat-text strong{color:#fff;font-weight:600}.production-chat-text blockquote{margin:1em 0;padding-left:1em;border-left:3px solid rgba(59,130,246,.3);color:#9ca3af;font-style:italic}@keyframes productionBubblePulse{0%{border-color:#3b82f626}50%{border-color:#3b82f680}to{border-color:#3b82f626}}.production-chat-pending{display:inline-flex;align-items:center;gap:10px;color:var(--muted);font-size:13px;line-height:1.5}.production-spinner-dots{display:inline-flex;align-items:center;gap:4px;min-width:26px}.production-spinner-dots span{width:6px;height:6px;border-radius:999px;background:var(--blue);opacity:.25;animation:productionPulse 1s ease-in-out infinite}.production-spinner-dots span:nth-child(2){animation-delay:.18s}.production-spinner-dots span:nth-child(3){animation-delay:.36s}.production-inline-busy{display:inline-flex;align-items:center;gap:10px;min-height:36px;padding:0 2px;color:#cbd5e1;font-size:13px;line-height:1.5}.production-plan-save--busy{position:relative;overflow:hidden;animation:productionPlanSavePulse 1.5s ease-in-out infinite}.production-plan-save--busy:after{content:"";position:absolute;inset:0;transform:translate(-100%);background:linear-gradient(90deg,transparent,rgba(255,255,255,.18),transparent);animation:productionPlanSaveSweep 1.6s ease-in-out infinite}.production-chat-input{min-height:100px;padding:14px;border-radius:12px;border:1px solid var(--border);background:#0003;color:#fff;font-size:14px;line-height:1.5;transition:border-color .2s,box-shadow .2s;resize:vertical}.production-chat-input:focus{outline:none;border-color:var(--blue);box-shadow:0 0 0 3px #3b82f61a}.production-chat-actions,.production-inline-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.production-provider-row{display:grid;gap:10px;margin-top:-2px}.production-provider-field{display:grid;gap:8px;max-width:280px}.production-provider-field span{font-size:12px;font-weight:700;color:#dbe7ff;letter-spacing:.04em;text-transform:uppercase}.production-provider-note{font-size:12px;color:var(--muted);line-height:1.45}.production-inline-status{font-size:12px;color:var(--muted)}.production-assets-progress{display:grid;gap:12px;margin-top:14px;padding:14px;border-radius:14px;border:1px solid rgba(96,165,250,.22);background:linear-gradient(180deg,#0c1629e6,#0a111feb)}.production-assets-progress-head{display:flex;align-items:center;gap:10px;color:#eff6ff}.production-assets-progress-dot{width:10px;height:10px;border-radius:999px;background:#60a5fa;box-shadow:0 0 #60a5fa73;animation:productionAssetPulse 1.4s ease-out infinite}.production-assets-progress-copy{font-size:13px;color:#9fb0c8;line-height:1.55}.production-assets-progress-meter{position:relative;height:10px;border-radius:999px;overflow:hidden;background:#94a3b824;box-shadow:inset 0 1px 2px #00000047}.production-assets-progress-meter-bar{height:100%;border-radius:inherit;background:linear-gradient(90deg,#3b82f6e6,#60a5fa 55%,#7dd3fcf2);box-shadow:0 0 22px #60a5fa47;transition:width .45s ease}.production-assets-progress-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(132px,1fr));gap:10px}.production-assets-progress-stat{display:grid;gap:4px;padding:10px 12px;border-radius:12px;border:1px solid rgba(255,255,255,.07);background:#ffffff08}.production-assets-progress-stat span{font-size:11px;color:#9fb0c8;text-transform:uppercase;letter-spacing:.06em}.production-assets-progress-stat strong{font-size:15px;color:#eff6ff}.production-assets-stage-list{display:grid;gap:10px}.production-assets-stage{display:grid;grid-template-columns:18px minmax(0,1fr);gap:10px;align-items:start;padding:10px 12px;border-radius:12px;border:1px solid rgba(255,255,255,.06);background:#ffffff06}.production-assets-stage-icon{position:relative;width:18px;height:18px;margin-top:1px;border-radius:999px;border:1px solid rgba(148,163,184,.36);background:#94a3b81f}.production-assets-stage-copy{display:grid;gap:3px;min-width:0}.production-assets-stage-copy strong{font-size:13px;color:#eff6ff}.production-assets-stage-copy span{font-size:12px;color:#9fb0c8;line-height:1.45}.production-assets-stage.is-done{border-color:#4ade8033;background:#22c55e0f}.production-assets-stage.is-done .production-assets-stage-icon{border-color:#4ade8066;background:#22c55e3d}.production-assets-stage.is-done .production-assets-stage-icon:after{content:"";position:absolute;left:5px;top:2px;width:5px;height:9px;border-right:2px solid #bbf7d0;border-bottom:2px solid #bbf7d0;transform:rotate(40deg)}.production-assets-stage.is-active{border-color:#60a5fa3d;background:#3b82f60f}.production-assets-stage.is-active .production-assets-stage-icon{border-color:#93c5fd85;background:#60a5fa42;box-shadow:0 0 #60a5fa52;animation:productionAssetPulse 1.4s ease-out infinite}.production-assets-stage.is-waiting .production-assets-stage-icon{opacity:.8}.production-assets-stage.is-skipped{border-style:dashed}.production-assets-stage.is-skipped .production-assets-stage-icon:after{content:"";position:absolute;left:4px;right:4px;top:8px;height:2px;border-radius:999px;background:#94a3b8bf}.production-generated-assets-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px;margin-top:14px}.production-asset-sections{display:grid;gap:18px;margin-top:18px}.production-plan-header{display:grid;gap:12px;margin:0 0 14px;font-size:13px;color:var(--muted)}.production-plan-header__timestamp{color:#94a3b8}.production-plan-validation-list{display:grid;gap:8px}.production-plan-legacy-note{padding:10px 12px;border-radius:12px;border:1px solid rgba(250,204,21,.35);background:#713f1233;color:#fde68a}.production-plan-page,.production-plan-hero{display:grid;gap:18px}.production-plan-hero__top{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;flex-wrap:wrap}.production-plan-hero__lede{margin:12px 0 0;max-width:72ch;color:#9fb0c8;font-size:14px;line-height:1.7}.production-plan-hero__meta{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px}.production-plan-hero__meta-pill{display:inline-flex;align-items:center;min-height:34px;padding:7px 12px;border-radius:999px;border:1px solid rgba(148,163,184,.18);background:#0f172a61;color:#dbeafe;font-size:12px;font-weight:700}.production-plan-hero__meta-pill.is-ready{border-color:#4ade8042;background:#22c55e24;color:#bbf7d0}.production-plan-hero__meta-pill.is-blocked{border-color:#f871713d;background:#7f1d1d3d;color:#fecaca}.production-plan-summary-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px}.production-plan-summary-grid div{display:grid;gap:5px;padding:12px 14px;border-radius:14px;border:1px solid rgba(255,255,255,.06);background:#ffffff06}.production-plan-summary-grid span{font-size:11px;color:#8fa0b7}.production-plan-summary-grid strong{font-size:15px;color:#eff6ff}.production-plan-summary-grid--compact{margin-top:0}.production-plan-quicklinks{display:flex;flex-wrap:wrap;gap:10px}.production-plan-quicklink{appearance:none;display:inline-flex;align-items:center;min-height:36px;padding:8px 12px;border-radius:999px;border:1px solid rgba(96,165,250,.24);background:#0f172a66;color:#dbeafe;text-decoration:none;cursor:pointer;font-size:12px;font-weight:700;transition:border-color .14s ease,background .14s ease,transform .14s ease}.production-plan-quicklink:hover{border-color:#93c5fd7a;background:#1e293bb3;transform:translateY(-1px)}.production-plan-section{display:grid;gap:18px}.production-plan-section__head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;flex-wrap:wrap}.production-plan-section__eyebrow{font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#93c5fd}.production-plan-section__title{margin-top:4px;font-size:21px;font-weight:700;color:#f8fafc;line-height:1.3}.production-plan-section__meta{max-width:54ch;font-size:13px;line-height:1.6;color:#9fb0c8}.production-plan-workspace{display:grid;gap:14px}.production-plan-workspace__summary{display:grid;gap:8px;padding:14px 16px;border-radius:18px;border:1px solid rgba(148,163,184,.16);background:#0f172a42}.production-plan-workspace__summary.is-running{border-color:#60a5fa42;background:#1e40af24}.production-plan-workspace__summary.is-success{border-color:#4ade8038;background:#1665342e}.production-plan-workspace__summary.is-error{border-color:#f8717147;background:#7f1d1d3d}.production-plan-workspace__summary.is-idle{border-color:#94a3b829}.production-plan-workspace__summary-copy{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.production-plan-workspace__summary-copy span{font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#93c5fd}.production-plan-workspace__summary-copy strong{font-size:15px;color:#f8fafc}.production-plan-workspace__summary-text{color:#dbe7f3;font-size:13px;line-height:1.6}.production-plan-workspace__steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:14px}.production-plan-phase-card{display:grid;gap:12px;align-content:start;padding:16px;border-radius:18px;border:1px solid rgba(148,163,184,.14);background:linear-gradient(180deg,#0f172a75,#080f1a9e)}.production-plan-phase-card.is-active{border-color:#60a5fa61;box-shadow:inset 0 0 0 1px #60a5fa1f}.production-plan-phase-card.status-complete{border-color:#4ade8038}.production-plan-phase-card.status-running{border-color:#60a5fa52}.production-plan-phase-card.status-error{border-color:#f8717152}.production-plan-phase-card__head{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:12px;align-items:center}.production-plan-phase-card__index{width:40px;height:40px;display:grid;place-items:center;border-radius:999px;border:1px solid rgba(96,165,250,.24);background:#1e293bc2;color:#bfdbfe;font-size:12px;font-weight:800;letter-spacing:.08em}.production-plan-phase-card__copy{display:grid;gap:4px;min-width:0}.production-plan-phase-card__copy strong{font-size:15px;color:#f8fafc;line-height:1.3}.production-plan-phase-card__copy span{font-size:12px;color:#9fb0c8;line-height:1.5}.production-plan-phase-card__status{display:inline-flex;align-items:center;min-height:30px;padding:6px 10px;border-radius:999px;border:1px solid rgba(148,163,184,.18);background:#0f172ab8;color:#dbeafe;font-size:11px;font-weight:700;white-space:nowrap}.production-plan-phase-card.status-complete .production-plan-phase-card__status{border-color:#4ade8042;background:#15803d2e;color:#bbf7d0}.production-plan-phase-card.status-running .production-plan-phase-card__status{border-color:#60a5fa4d;background:#1e40af38;color:#bfdbfe}.production-plan-phase-card.status-error .production-plan-phase-card__status{border-color:#f8717147;background:#7f1d1d47;color:#fecaca}.production-plan-phase-card__details{display:grid;gap:8px;border-radius:14px;border:1px solid rgba(148,163,184,.14);background:#ffffff05}.production-plan-phase-card__details summary{cursor:pointer;padding:12px 14px;color:#dbeafe;font-size:12px;font-weight:700}.production-plan-phase-card__details[open] summary{border-bottom:1px solid rgba(148,163,184,.12)}.production-plan-phase-card__details .production-plan-spec-code{margin:0 12px 12px}.production-plan-phase-card__block{display:grid;gap:8px}.production-plan-phase-card__actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.production-plan-chat{display:grid;gap:14px}.production-plan-chat-stream{margin-top:0;padding-top:0;border-top:0;min-height:220px;max-height:420px;overflow:auto}.production-plan-structure{display:grid;gap:18px;margin-top:0}.production-asset-section{display:grid;gap:10px}.production-asset-section__title{font-size:13px;font-weight:700;color:#e2e8f0}.production-asset-section__empty{font-size:13px;color:#94a3b8}.production-plan-block-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px}.production-plan-block-card{display:grid;gap:8px;padding:12px;border-radius:14px;border:1px solid rgba(255,255,255,.08);background:#ffffff06}.production-plan-block-card__title{font-size:14px;font-weight:700;color:#f8fafc;word-break:break-word}.production-plan-block-card__meta{font-size:12px;color:#93c5fd;word-break:break-word}.production-plan-block-card__list{display:grid;gap:6px;font-size:12px;color:#cbd5e1}.production-plan-block-card__copy{font-size:13px;line-height:1.5;color:#cbd5e1;white-space:pre-wrap}.production-plan-spec-code{margin:0;max-height:320px;overflow:auto;padding:14px;border-radius:12px;border:1px solid rgba(148,163,184,.18);background:#0f172ab8;color:#dbeafe;font-size:12px;line-height:1.5;font-family:var(--font-mono)}.production-generated-assets-grid--placeholder{margin-top:0}.production-generated-asset-card{display:grid;gap:12px;padding:12px;border-radius:14px;border:1px solid rgba(255,255,255,.08);background:#ffffff06}.production-generated-asset-card--detail{align-content:start}.production-generated-asset-card--placeholder{overflow:hidden}.production-generated-asset-preview{display:grid;place-items:center;min-height:168px;border-radius:12px;overflow:hidden;background:#ffffff08;border:1px solid rgba(255,255,255,.06)}.production-generated-asset-preview--image img{display:block;width:100%;height:100%;min-height:168px;max-height:280px;object-fit:cover}.production-generated-asset-preview--audio{padding:16px;background:radial-gradient(circle at top left,rgba(96,165,250,.12),transparent 32%),linear-gradient(180deg,#0e1827f0,#0a111df0)}.production-generated-asset-preview--audio audio{width:100%}.production-generated-asset-preview--sound{gap:10px;padding:16px;justify-items:center;background:radial-gradient(circle at top left,rgba(251,191,36,.14),transparent 34%),linear-gradient(180deg,#0e1827f0,#0a111df0)}.production-generated-asset-preview-note{font-size:12px;color:#cbd5e1;text-align:center}.production-generated-asset-preview--link{padding:20px;text-align:center;color:#94a3b8;font-size:13px}.production-generated-asset-preview--placeholder{position:relative;min-height:168px}.production-generated-asset-preview--placeholder:after,.production-generated-asset-line:after{content:"";position:absolute;inset:0;transform:translate(-100%);background:linear-gradient(90deg,transparent,rgba(255,255,255,.16),transparent);animation:productionAssetShimmer 1.4s ease-in-out infinite}.production-generated-asset-meta{display:grid;gap:6px;min-width:0;color:#cbd5e1;font-size:13px}@media(max-width:900px){.production-plan-hero__top,.production-plan-section__head{display:grid}.production-plan-hero__meta{justify-content:flex-start}.production-plan-workspace__steps{grid-template-columns:1fr}.production-plan-phase-card__head{grid-template-columns:auto minmax(0,1fr)}.production-plan-phase-card__status{justify-self:flex-start;grid-column:1 / -1}}.production-asset-card__meta{display:grid;gap:8px;min-width:0}.production-asset-card__type{font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#93c5fd}.production-asset-card__title{min-width:0;font-size:15px;font-weight:700;color:#f8fafc;word-break:break-word}.production-asset-card__label{font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#94a3b8}.production-asset-card__text{margin:0;padding:10px 12px;white-space:pre-wrap;word-break:break-word;border-radius:10px;border:1px solid rgba(148,163,184,.18);background:#0f172a8c;color:#e2e8f0;font-size:12px;line-height:1.5;font-family:var(--font-mono)}.production-asset-card__excerpt{margin:0;padding:10px 12px;border-radius:10px;border:1px solid rgba(255,255,255,.08);background:#ffffff08;color:#cbd5e1;font-size:13px;line-height:1.5}.production-asset-card__kv{display:flex;justify-content:space-between;gap:12px;font-size:12px;color:#cbd5e1}.production-asset-card__kv span{color:#94a3b8}.production-asset-card__kv strong{min-width:0;text-align:right;word-break:break-word}.production-asset-card__link{word-break:break-all;font-size:12px}.production-asset-card__link a{color:#93c5fd;text-decoration:none}.production-asset-card__link a:hover{text-decoration:underline}.production-generated-asset-link{word-break:break-all}.production-generated-asset-link a{color:#93c5fd;text-decoration:none}.production-generated-asset-link a:hover{text-decoration:underline}.production-generated-asset-line{position:relative;height:13px;border-radius:999px;background:#ffffff0f;overflow:hidden}.production-generated-asset-line--short{width:62%}@keyframes productionPlanSavePulse{0%{box-shadow:0 0 #3b82f600}50%{box-shadow:0 0 0 3px #3b82f624}to{box-shadow:0 0 #3b82f600}}@keyframes productionPlanSaveSweep{0%{transform:translate(-100%)}to{transform:translate(100%)}}.production-status-pill{display:inline-flex;align-items:center;min-height:34px;padding:6px 10px;border-radius:999px;border:1px solid var(--border);background:var(--bg3);color:var(--muted);font-size:12px}.production-status-pill.status-generated{border-color:#14532d;background:#052e16;color:#86efac}.production-status-pill.status-pending{border-color:#78350f;background:#422006;color:#fde68a}.production-status-pill.status-failed{border-color:#7f1d1d;background:#450a0a;color:#fca5a5}.production-status-pill.status-published{border-color:#14532d;background:#052e16;color:#86efac}.production-log-line{display:grid;grid-template-columns:92px minmax(0,1fr);gap:10px;align-items:start;padding:6px 0;border-bottom:1px solid rgba(255,255,255,.05)}.production-log-line:last-child{border-bottom:none}.production-log-meta{display:grid;gap:4px;align-content:start}.production-log-tag{display:inline-flex;align-items:center;justify-content:center;min-height:20px;padding:0 8px;border-radius:999px;font-size:10px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;border:1px solid transparent}.production-log-tag--neutral{color:#cbd5e1;background:#94a3b824;border-color:#94a3b833}.production-log-tag--info{color:#93c5fd;background:#3b82f624;border-color:#60a5fa3d}.production-log-tag--success{color:#86efac;background:#22c55e24;border-color:#4ade803d}.production-log-tag--warn{color:#fde68a;background:#f59e0b24;border-color:#fbbf243d}.production-log-tag--error{color:#fca5a5;background:#ef444424;border-color:#f871713d}.production-log-ts{font-size:10px;color:#94a3b8d9;line-height:1.25}.production-log-line code{white-space:pre-wrap;word-break:break-word;color:#dbe7ff;font-size:11px;line-height:1.45;font-family:Fira Code,Cascadia Code,JetBrains Mono,monospace}.production-log-line--error code{color:#fecaca}.production-log-line--warn code{color:#fde68a}.production-log-line--success code{color:#bbf7d0}.production-log-line--info code{color:#bfdbfe}@keyframes productionPulse{0%,80%,to{opacity:.25;transform:translateY(0)}40%{opacity:1;transform:translateY(-1px)}}@keyframes productionAssetPulse{0%{transform:scale(.92);box-shadow:0 0 #60a5fa73}70%{transform:scale(1);box-shadow:0 0 0 10px #60a5fa00}to{transform:scale(.92);box-shadow:0 0 #60a5fa00}}@keyframes productionAssetShimmer{to{transform:translate(100%)}}@keyframes productionLogFocusPulse{0%{box-shadow:0 0 #3b82f600}25%{box-shadow:0 0 0 8px #3b82f61f}to{box-shadow:0 0 #3b82f600}}@media(max-width:1100px){.ma-preview-content{grid-template-columns:1fr;grid-template-rows:minmax(360px,1fr) auto}.ma-chat-panel{border-left:none;border-top:1px solid var(--border)}.production-layout{grid-template-columns:1fr;min-height:auto}.production-layout.selection-mode .production-topic-list{grid-template-columns:1fr;max-height:calc(100vh - 282px)}.production-topic-card{grid-template-columns:minmax(0,1fr)}.production-topic-side{justify-items:start;text-align:left}.production-schoolyear-cli-grid,.production-header-card,.production-phase-hero,.production-phase-layout{grid-template-columns:1fr}.production-phase-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.production-header-top{align-items:flex-start}.production-header-badges-compact{justify-content:flex-start;max-width:none}.production-side-stack{position:static;top:auto}.production-kv{grid-template-columns:1fr}}@media(max-width:760px){.production-main{padding:16px}.production-filter-bar{grid-template-columns:repeat(2,minmax(0,1fr))}.production-layout.selection-mode .production-topic-list,.production-layout.selection-mode.selection-with-job{grid-template-columns:1fr}.production-top-strip-wrap{padding-bottom:0;margin-bottom:16px}.production-schoolyear-launch{position:static;width:100%;min-width:0;margin-top:12px;padding:0 44px 0 20px;justify-content:center;top:auto;right:auto}.production-schoolyear-dialog{width:min(720px,calc(100vw - 20px))}.production-log-modal-dialog{width:min(100vw - 20px,1040px);max-height:calc(100vh - 20px)}.production-log-modal-header,.production-log-modal-controls{flex-direction:column;align-items:stretch}.production-log-modal-stream{min-height:min(64vh,560px);max-height:min(64vh,560px)}.production-schoolyear-job-head,.production-schoolyear-job-actions,.production-schoolyear-card-head{flex-direction:column;align-items:stretch}.production-schoolyear-job-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.production-header-card,.production-phase-hero{padding:16px}.production-header-card-compact,.production-card{padding:18px}.production-header-top{flex-direction:column;align-items:stretch}.production-compact-title{font-size:16px;max-width:none}.production-subtitle-inline{white-space:normal}.production-phase-strip{grid-template-columns:1fr}.production-phase-tab{min-height:52px}.production-phase-nav-vertical .btn{flex-basis:100%}}@media(max-width:520px){.production-filter-bar{grid-template-columns:minmax(0,1fr)}.production-schoolyear-job-grid{grid-template-columns:1fr}}::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background:var(--border2);border-radius:3px}::-webkit-scrollbar-thumb:hover{background:var(--muted)}.pipeline-toast-notification{position:fixed;bottom:24px;right:24px;z-index:99999;background:var(--bg3);border:1px solid var(--border);border-radius:var(--radius);padding:14px 18px;max-width:360px;box-shadow:0 8px 32px #0006;animation:pipelineToastSlideIn .3s ease-out}.pipeline-toast-notification strong{display:block;margin-bottom:4px;font-size:14px}.pipeline-toast-notification p{color:var(--muted);font-size:13px;margin:0}@keyframes pipelineToastSlideIn{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}@keyframes skeletonShimmer{0%{background-position:-200px 0}to{background-position:calc(200px + 100%) 0}}.skeleton-row{height:16px;border-radius:4px;background:linear-gradient(90deg,var(--bg2) 25%,var(--bg3) 50%,var(--bg2) 75%);background-size:200px 100%;animation:skeletonShimmer 1.5s ease-in-out infinite}.skeleton-table{display:grid;gap:12px;padding:20px}.empty-state{text-align:center;padding:48px 24px;color:var(--muted)}.empty-state-icon{font-size:32px;margin-bottom:12px;opacity:.5}.empty-state-title{font-size:15px;font-weight:600;margin-bottom:8px;color:var(--text)}.empty-state-msg{font-size:13px;line-height:1.5;max-width:420px;margin:0 auto}.score-tip{position:relative;cursor:help}.score-tip:after{content:attr(data-tip);position:absolute;bottom:100%;right:0;background:var(--bg2);border:1px solid var(--border);border-radius:8px;padding:8px 12px;font-size:11px;white-space:pre-line;color:var(--text);pointer-events:none;opacity:0;transition:opacity .15s;z-index:100;min-width:200px}.score-tip:hover:after{opacity:1}.theme-toggle{background:none;border:1px solid var(--border);border-radius:6px;color:var(--muted);cursor:pointer;padding:4px 8px;font-size:12px;transition:color .2s,border-color .2s}.theme-toggle:hover{color:var(--text);border-color:var(--text)}@media(max-width:1180px){.table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch}.filters{gap:8px}.filter-input{min-width:160px}}@media(max-width:720px){#sidebar{position:fixed;left:0;top:0;bottom:0;z-index:200;transform:translate(-100%);transition:transform .25s ease;box-shadow:none}#sidebar.open{transform:translate(0);box-shadow:4px 0 24px #0000004d}#main{padding:16px 12px}.filters{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:8px}.filter-input,.filter-select{min-width:0;width:100%}.stat-grid{grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:10px}.charts-row{grid-template-columns:1fr}.page-header h1{font-size:18px}.table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch}.detail-panel{width:100vw}}.build-panel{padding:20px 0}.build-progress{margin:8px 0 16px;display:flex;flex-direction:column}.build-progress-steps{display:flex;gap:4px;margin-bottom:10px}.build-step{flex:1;display:flex;flex-direction:column;align-items:center;gap:4px}.build-step-dot{width:12px;height:12px;border-radius:50%;background:var(--border);transition:background .3s,box-shadow .3s}.build-step--done .build-step-dot{background:#22c55e}.build-step--active .build-step-dot{background:var(--blue);box-shadow:0 0 0 4px color-mix(in srgb,var(--blue) 30%,transparent);animation:build-pulse 1.5s ease-in-out infinite}.build-step--pending .build-step-dot{background:var(--border)}.build-step-label{font-size:10px;color:var(--muted);text-align:center}.build-step--done .build-step-label,.build-step--active .build-step-label{color:var(--fg);font-weight:600}.build-progress-bar{height:4px;background:var(--border);border-radius:2px;overflow:hidden}.build-progress-fill{height:100%;background:var(--blue);border-radius:2px;transition:width .5s ease}.build-phase-label{margin-top:10px;font-size:13px;color:var(--muted);display:flex;align-items:center;gap:8px}.build-spinner{display:inline-block;width:14px;height:14px;border:2px solid var(--border);border-top-color:var(--blue);border-radius:50%;animation:build-spin .8s linear infinite}@keyframes build-pulse{0%,to{box-shadow:0 0 0 4px color-mix(in srgb,var(--blue) 30%,transparent)}50%{box-shadow:0 0 0 8px color-mix(in srgb,var(--blue) 10%,transparent)}}@keyframes build-spin{to{transform:rotate(360deg)}}.build-success{text-align:center;padding:16px 0}.build-success-header{font-size:16px;font-weight:600;color:#22c55e;display:flex;align-items:center;justify-content:center;gap:8px;margin-bottom:12px}.build-check{font-size:20px}.build-screenshot{max-width:100%;max-height:280px;object-fit:contain;border:1px solid var(--border);border-radius:8px;margin-bottom:12px}.build-actions{display:flex;gap:8px;justify-content:center;flex-wrap:wrap}.build-error{padding:16px;background:color-mix(in srgb,var(--red) 8%,transparent);border:1px solid var(--red);border-radius:8px}.build-error-header{font-size:14px;font-weight:600;color:var(--red);margin-bottom:6px}.build-error-message{font-size:12px;color:var(--muted);white-space:pre-wrap;margin-bottom:12px}.build-skipped{display:flex;align-items:center;gap:12px;color:var(--muted);font-size:13px}.production-build-detail{padding:16px}.production-build-area{margin-top:16px}.build-modal{position:fixed;inset:0;z-index:9000;display:flex;align-items:center;justify-content:center;padding:24px}.build-modal--hidden{display:none!important}.build-modal-backdrop{position:absolute;inset:0;background:#000000bf;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.build-modal-dialog{position:relative;z-index:1;background:var(--bg);border:1px solid var(--border);border-radius:20px;width:92vw;max-width:680px;max-height:88vh;overflow-y:auto;box-shadow:0 32px 100px #0009,0 0 0 1px #ffffff0a inset;outline:none}.build-modal-header{display:flex;align-items:flex-start;justify-content:space-between;padding:32px 36px 24px;border-bottom:1px solid var(--border);background:linear-gradient(180deg,color-mix(in srgb,var(--blue) 5%,transparent),transparent)}.build-modal-header-info{flex:1;min-width:0}.build-modal-title{font-size:20px;font-weight:700;color:var(--fg);line-height:1.35;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;white-space:normal}.build-modal-subtitle{font-size:13px;color:var(--muted);margin-top:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.build-modal-header-actions{display:flex;align-items:center;gap:10px;flex-shrink:0}.build-modal-cancel{white-space:nowrap}.build-modal-cancel:disabled{opacity:.5;cursor:wait}.build-modal-close{flex-shrink:0;background:none;border:none;color:var(--muted);font-size:22px;cursor:pointer;padding:8px 12px;margin:-8px -12px 0 0;border-radius:10px;transition:all .15s}.build-modal-close:hover{color:var(--fg);background:var(--bg3)}.build-modal-body{padding:36px}.build-loading-splash{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:48px 24px 56px;gap:24px}.build-loading-logo{width:72px;height:72px;object-fit:contain;animation:build-logo-pulse 2s ease-in-out infinite;filter:drop-shadow(0 4px 20px color-mix(in srgb,var(--blue) 40%,transparent))}@keyframes build-logo-pulse{0%,to{transform:scale(1);opacity:.85}50%{transform:scale(1.1);opacity:1}}.build-loading-text{font-size:15px;color:var(--muted);font-weight:500;letter-spacing:.02em}.build-modal-body .build-panel{padding:0}.build-modal-body .build-progress{margin:0}.build-modal-body .build-progress-steps{display:flex;gap:0;margin-bottom:32px;position:relative;padding:0 12px}.build-modal-body .build-progress-steps:before{content:"";position:absolute;top:16px;left:48px;right:48px;height:2px;background:var(--border);z-index:0}.build-modal-body .build-step{flex:1;display:flex;flex-direction:column;align-items:center;gap:12px;position:relative;z-index:1;min-width:0;padding:0 4px}.build-modal-body .build-step-dot{width:32px;height:32px;border-radius:50%;flex-shrink:0;border:2.5px solid var(--border);background:var(--bg);display:flex;align-items:center;justify-content:center;transition:all .3s ease}.build-modal-body .build-step--done .build-step-dot{background:#22c55e;border-color:#22c55e}.build-modal-body .build-step--active .build-step-dot{background:var(--blue);border-color:var(--blue);box-shadow:0 0 0 6px color-mix(in srgb,var(--blue) 20%,transparent);animation:build-pulse 1.5s ease-in-out infinite}.build-modal-body .build-step--pending .build-step-dot{background:var(--bg3);border-color:var(--border)}.build-modal-body .build-step-label{font-size:11px;color:var(--muted);text-align:center;font-weight:500;line-height:1.2;word-break:break-word}.build-modal-body .build-step--done .build-step-label{color:#22c55e;font-weight:600}.build-modal-body .build-step--active .build-step-label{color:var(--blue);font-weight:700}.build-modal-body .build-progress-bar{height:6px;border-radius:3px;background:var(--border);overflow:hidden;margin-bottom:28px}.build-modal-body .build-progress-fill{height:100%;border-radius:3px;background:linear-gradient(90deg,var(--blue),color-mix(in srgb,var(--blue) 80%,#22c55e));transition:width .6s ease}.build-modal-body .build-phase-label{display:flex;align-items:center;justify-content:center;gap:12px;font-size:15px;color:var(--muted);padding:18px 24px;margin:0;background:var(--bg2);border-radius:12px}.build-modal-body .build-spinner{flex-shrink:0;width:18px;height:18px;border-width:2.5px}.build-attempt-badge{font-size:11px;font-weight:600;color:#f59e0b;background:color-mix(in srgb,#f59e0b 12%,transparent);padding:2px 8px;border-radius:6px;margin-left:4px}.build-live-log{margin-top:20px;border-radius:12px;overflow:hidden;border:1px solid var(--border);background:#0a0e14}.build-live-log-header{display:flex;align-items:center;gap:8px;padding:10px 16px;font-size:11px;font-weight:600;color:var(--muted);text-transform:uppercase;letter-spacing:.05em;border-bottom:1px solid color-mix(in srgb,var(--border) 50%,transparent);background:color-mix(in srgb,#000 30%,transparent)}.build-live-log-fullscreen{margin-left:auto;background:none;border:none;color:var(--muted);cursor:pointer;padding:4px 6px;border-radius:6px;transition:all .15s;display:flex;align-items:center}.build-live-log-fullscreen:hover{color:var(--fg);background:#ffffff14}.build-live-log-dot{width:8px;height:8px;border-radius:50%;background:#22c55e;animation:build-log-blink 1.5s ease-in-out infinite}@keyframes build-log-blink{0%,to{opacity:1}50%{opacity:.3}}.build-live-log-pre{margin:0;padding:8px 0;font-family:SF Mono,Fira Code,Cascadia Code,monospace;font-size:12px;line-height:1;color:#c9d1d9;max-height:200px;overflow-y:auto}.build-live-log-pre::-webkit-scrollbar{width:6px}.build-live-log-pre::-webkit-scrollbar-track{background:transparent}.build-live-log-pre::-webkit-scrollbar-thumb{background:#ffffff26;border-radius:3px}.log-line{display:flex;gap:0;padding:3px 16px 3px 0;min-height:22px;border-left:3px solid transparent;transition:background .1s}.log-line:hover{background:#ffffff08}.log-line-num{flex-shrink:0;width:40px;text-align:right;padding-right:12px;color:#fff3;font-size:11px;-webkit-user-select:none;user-select:none;line-height:1.5}.log-line-text{flex:1;min-width:0;white-space:pre-wrap;word-break:break-word;line-height:1.5}.log-line.log-default{color:#c9d1d9}.log-line.log-json{color:#6e7681;border-left-color:#30363d;font-size:11px}.log-line.log-error{color:#f85149;border-left-color:#f85149;background:#f851490f}.log-line.log-warn{color:#d29922;border-left-color:#d29922}.log-line.log-success{color:#3fb950;border-left-color:#3fb950}.log-line.log-action{color:#79c0ff;border-left-color:#1f6feb}.log-line.log-http{color:#bc8cff;border-left-color:#8b5cf6}.log-line.log-step{color:#f0883e;border-left-color:#f0883e;font-weight:600}.log-line.log-check{color:#56d364;border-left-color:#238636}.build-modal-body .build-live-log{margin-top:24px}.build-modal-body .build-live-log-pre{max-height:240px}.build-live-log--fullscreen{position:fixed;inset:0;z-index:9500;margin:0;border-radius:0;border:none;display:flex;flex-direction:column;background:#0a0e14}.build-live-log--fullscreen .build-live-log-header{border-radius:0;padding:14px 24px;font-size:12px;background:#060a10;border-bottom:1px solid #1c2128}.build-live-log--fullscreen .build-live-log-pre{flex:1;max-height:none;border-radius:0;padding:12px 0;font-size:13px}.build-live-log--fullscreen .log-line{padding:4px 24px 4px 0;min-height:26px}.build-live-log--fullscreen .log-line-num{width:52px;padding-right:16px}.build-live-log--fullscreen .log-line-text{font-size:13px;line-height:1.6}.build-live-log--fullscreen .log-line.log-json{font-size:12px}.build-modal-body .build-success{padding:32px 0}.build-modal-body .build-success-header{font-size:18px;margin-bottom:24px}.build-modal-body .build-screenshot{margin-bottom:24px}.build-modal-body .build-actions{gap:12px}.build-modal-body .build-error{padding:24px 28px;border-radius:12px}.build-modal-body .build-error-header{font-size:16px;margin-bottom:12px}.build-modal-body .build-error-message{font-size:13px;margin-bottom:20px}.active-builds-banner{position:fixed;bottom:24px;right:24px;z-index:8000;max-width:420px;width:calc(100vw - 48px);animation:active-builds-slide-in .4s ease-out}.active-builds-banner.hidden{display:none}@keyframes active-builds-slide-in{0%{transform:translateY(20px);opacity:0}to{transform:translateY(0);opacity:1}}.active-builds-inner{display:flex;align-items:center;gap:14px;background:var(--bg2);border:1px solid var(--border);border-radius:14px;padding:14px 18px;box-shadow:0 12px 40px #00000059,0 0 0 1px #ffffff0a inset}.active-builds-icon{flex-shrink:0}.active-builds-logo{width:36px;height:36px;object-fit:contain;animation:build-logo-pulse 2s ease-in-out infinite}.active-builds-info{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}.active-builds-info strong{font-size:13px;font-weight:700;color:var(--fg)}.active-builds-detail{font-size:11px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.active-builds-open{flex-shrink:0;white-space:nowrap}.active-builds-dismiss{flex-shrink:0;background:none;border:none;color:var(--muted);font-size:16px;cursor:pointer;padding:4px 6px;border-radius:6px;transition:all .15s}.active-builds-dismiss:hover{color:var(--fg);background:var(--bg3)}
