:root{--primary: #0D9488;--primary-hover: #0F766E;--secondary: #E11D48;--secondary-hover: #BE123C;--bg-light: #f8fafc;--card-bg: #ffffff;--text-main: #0f172a;--text-muted: #64748b;--border-color: #e2e8f0;--radius: 8px;--shadow: 0 4px 6px -1px rgba(0, 0, 0, .08), 0 2px 4px -2px rgba(0, 0, 0, .04);--shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -4px rgba(0, 0, 0, .05)}*{box-sizing:border-box}body,html{margin:0;padding:0;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;color:var(--text-main);background-color:var(--bg-light);font-size:14px;line-height:1.5}.app-wrapper{min-height:100vh;display:flex;flex-direction:column}#topbar{z-index:10;display:flex;align-items:center;justify-content:space-between;padding:.75rem 2rem;background-color:#fff;border-bottom:1px solid var(--border-color);box-shadow:var(--shadow)}#topbar .topbar-left{display:flex;align-items:center;gap:1rem}#topbar .topbar-left #logo{height:72px;object-fit:contain;width:auto}#topbar .topbar-left .title-group{display:flex;flex-direction:column}#topbar .topbar-left .title-group .main-title-line{display:flex;align-items:center;gap:.5rem}#topbar .topbar-left .title-group .main-title-line .main-title{font-family:Roboto Slab,serif;font-size:1.25rem;font-weight:700;color:#0f172a;letter-spacing:-.02em}#topbar .topbar-left .title-group .subtitle{font-size:.78rem;font-weight:600;color:#0d9488;line-height:1.35}#topbar .topbar-left .title-group .authorship-subtitle{font-size:.72rem;font-weight:500;color:#64748b;line-height:1.3;margin-top:.1rem}#topbar .topbar-right{display:flex;align-items:center;gap:1.25rem}#topbar .topbar-right .badge-count{font-size:.85rem;font-weight:600;color:#475569;font-variant-numeric:tabular-nums}#topbar .topbar-right .github-maintainer-group{display:flex;flex-direction:column;align-items:center;gap:.2rem}#topbar .topbar-right .github-maintainer-group #github-link{text-decoration:none;color:#fff;background-color:#0f172a;padding:.38rem .9rem;border-radius:6px;font-weight:500;font-size:.85rem;transition:background-color .15s ease;display:inline-flex;align-items:center;justify-content:center;line-height:1.2}#topbar .topbar-right .github-maintainer-group #github-link:hover{background-color:#334155}#topbar .topbar-right .github-maintainer-group .maintainer-link{font-size:.69rem;font-weight:500;color:#475569;text-decoration:none;white-space:nowrap;transition:color .15s ease,text-decoration .15s ease}#topbar .topbar-right .github-maintainer-group .maintainer-link:hover{color:#0d9488;text-decoration:underline}.toast-banner{position:fixed;bottom:22px;right:22px;background:#0f172a;color:#fff;padding:10px 18px;border-radius:6px;border:1px solid #334155;box-shadow:0 4px 12px #0f172a2e;z-index:2000;font-size:13px;font-weight:500}.container-fluid{max-width:1300px;margin:0 auto;padding:1.25rem 1.5rem;width:100%}.presets-ribbon{display:flex;align-items:center;gap:.85rem;margin-bottom:.75rem;overflow-x:auto;padding-bottom:.25rem}.presets-ribbon .presets-label{font-weight:700;font-size:.85rem;color:#334155;white-space:nowrap}.presets-ribbon .presets-buttons{display:flex;gap:.5rem;flex-wrap:wrap}.presets-ribbon .presets-buttons .preset-pill{cursor:pointer;background-color:#fff;border:1px solid #cbd5e1;border-radius:8px;padding:.4rem .75rem;display:flex;flex-direction:column;align-items:flex-start;transition:all .15s ease;box-shadow:0 1px 2px #0000000d}.presets-ribbon .presets-buttons .preset-pill .preset-level{font-size:.65rem;font-weight:700;text-transform:uppercase;color:#0d9488;letter-spacing:.03em}.presets-ribbon .presets-buttons .preset-pill .preset-title{font-size:.82rem;font-weight:600;color:#1e293b}.presets-ribbon .presets-buttons .preset-pill:hover{border-color:#94a3b8;background-color:#f8fafc}.presets-ribbon .presets-buttons .preset-pill.active{border-color:#0f172a;background-color:#0f172a;box-shadow:var(--shadow)}.presets-ribbon .presets-buttons .preset-pill.active .preset-level{color:#5eead4}.presets-ribbon .presets-buttons .preset-pill.active .preset-title{color:#fff}.presets-ribbon .presets-buttons .preset-pill.custom{border-style:dashed}.scenario-context-banner{background-color:#fff;border:1px solid #e2e8f0;border-radius:var(--radius);padding:.75rem 1rem;margin-bottom:1.25rem;display:flex;justify-content:space-between;align-items:center;gap:1rem;flex-wrap:wrap}.scenario-context-banner .scenario-desc{font-size:.84rem;color:#334155;line-height:1.45}.scenario-context-banner .scenario-desc .scenario-title-line{display:flex;align-items:center;gap:.6rem;margin-bottom:.25rem}.scenario-context-banner .scenario-desc .scenario-title-line strong{font-size:.95rem;color:#0f172a}.scenario-context-banner .scenario-desc .scenario-title-line .shape-badge{color:#0f766e;font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em}.scenario-context-banner .scenario-desc .scenario-lesson{margin-top:.2rem;color:#475569;font-size:.8rem}.scenario-context-banner .scenario-actions{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap}.scenario-context-banner .scenario-actions .btn-reset-sandbox{background-color:#fff;border:1px solid #cbd5e1;border-radius:6px;padding:.35rem .75rem;font-size:.78rem;font-weight:600;color:#475569;cursor:pointer;transition:all .15s ease}.scenario-context-banner .scenario-actions .btn-reset-sandbox:hover{background-color:#fee2e2;border-color:#fca5a5;color:#b91c1c}.scenario-context-banner .scenario-tags{display:flex;gap:.5rem}.scenario-context-banner .scenario-tags .tag{font-size:.75rem;font-weight:600;padding:.25rem .6rem;border-radius:4px}.scenario-context-banner .scenario-tags .tag.on-track{background-color:#ccfbf1;color:#0f766e}.scenario-context-banner .scenario-tags .tag.at-risk{background-color:#ffe4e6;color:#be123c}.playground-grid{display:grid;grid-template-columns:460px 1fr;gap:1.5rem;align-items:start}@media(max-width:960px){.playground-grid{grid-template-columns:1fr}}.canvas-section .canvas-card{background-color:var(--card-bg);border-radius:var(--radius);padding:1rem;box-shadow:var(--shadow);border:1px solid var(--border-color);display:flex;flex-direction:column;align-items:center}.canvas-section .canvas-card .canvas-header{width:100%;display:flex;justify-content:space-between;align-items:center;margin-bottom:.5rem;font-size:.78rem}.canvas-section .canvas-card .canvas-header .axis-title-y{font-weight:700;color:#334155}.canvas-section .canvas-card .canvas-header .view-mode-toggle-group{display:flex;background-color:#f1f5f9;padding:2px;border-radius:6px;border:1px solid var(--border-color);gap:2px}.canvas-section .canvas-card .canvas-header .view-mode-toggle-group .btn-view-mode{cursor:pointer;background:transparent;border:none;padding:.25rem .55rem;border-radius:4px;font-size:.72rem;font-weight:600;color:#64748b;transition:all .15s ease}.canvas-section .canvas-card .canvas-header .view-mode-toggle-group .btn-view-mode:hover{color:#0f172a}.canvas-section .canvas-card .canvas-header .view-mode-toggle-group .btn-view-mode.active{background-color:#fff;color:#0f172a;font-weight:700;box-shadow:0 1px 2px #00000014}.canvas-section .canvas-card .canvas-hud{width:100%;max-width:400px;height:52px;min-height:52px;max-height:52px;background-color:#f8fafc;border:1px solid #e2e8f0;border-radius:6px;padding:.35rem .65rem;margin-bottom:.45rem;font-size:.73rem;line-height:1.35;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;box-shadow:inset 0 1px 2px #00000005;overflow:hidden}.canvas-section .canvas-card .canvas-hud .hud-content{width:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px}.canvas-section .canvas-card .canvas-hud .hud-content .hud-row{width:100%;display:flex;align-items:center;justify-content:center;white-space:nowrap}.canvas-section .canvas-card .canvas-hud .hud-content .hud-row.hud-row-metrics{gap:.45rem;height:18px}.canvas-section .canvas-card .canvas-hud .hud-content .hud-row.hud-row-student{height:20px}.canvas-section .canvas-card .canvas-hud .hud-content .hud-item{color:#334155}.canvas-section .canvas-card .canvas-hud .hud-content .hud-sep{color:#cbd5e1;font-weight:700}.canvas-section .canvas-card .canvas-hud .hud-content .hud-student-tag{display:inline-flex;align-items:center;padding:.1rem .55rem;border-radius:4px;font-weight:600;font-size:.7rem;line-height:1.3}.canvas-section .canvas-card .canvas-hud .hud-content .hud-student-tag.match{background-color:#dcfce7;color:#15803d;border:1px solid #bbf7d0}.canvas-section .canvas-card .canvas-hud .hud-content .hud-student-tag.mismatch{background-color:#fee2e2;color:#b91c1c;border:1px solid #fecaca}.canvas-section .canvas-card .canvas-hud .hud-content .hud-student-placeholder{color:#94a3b8;font-size:.7rem;font-style:italic}.canvas-section .canvas-card .canvas-hud .hud-content .hud-idle-title{font-weight:700;color:#475569;font-size:.74rem}.canvas-section .canvas-card #canvasDiv{position:relative;width:400px;height:400px}.canvas-section .canvas-card #canvasDiv canvas{display:block;width:400px;height:400px;border-radius:6px;border:2px solid #cbd5e1;background-color:#fff;cursor:crosshair;touch-action:none}.canvas-section .canvas-card .canvas-footer{width:100%;margin-top:.5rem;display:flex;flex-direction:column;align-items:center;gap:.35rem}.canvas-section .canvas-card .canvas-footer .axis-title-x{font-size:.78rem;font-weight:700;color:#334155}.options-section{background-color:var(--card-bg);border-radius:var(--radius);padding:1.25rem 1.5rem;box-shadow:var(--shadow);border:1px solid var(--border-color)}.options-section #io{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:1rem}.options-section #io .btn-io{cursor:pointer;background-color:#f1f5f9;color:#1e293b;border:1px solid #cbd5e1;border-radius:6px;padding:.4rem .85rem;font-size:.82rem;font-weight:500;transition:all .15s ease}.options-section #io .btn-io:hover{background-color:#e2e8f0;border-color:#94a3b8}.options-section #brushes{display:flex;align-items:center;gap:.75rem;margin-bottom:1.25rem;padding-bottom:1rem;border-bottom:1px solid var(--border-color)}.options-section #brushes .brush-label{font-weight:600;font-size:.88rem;color:#334155}.options-section #brushes div{display:inline-flex;align-items:center}.options-section #brushes div input{display:none}.options-section #brushes div label{cursor:pointer;width:32px;height:32px;border-radius:6px;border:2px solid transparent;transition:all .15s ease;box-shadow:0 1px 3px #0000001a}.options-section #brushes div #br-1~label{background-color:#0d9488}.options-section #brushes div #br-1~label:hover{background-color:#0f766e}.options-section #brushes div #br-2~label{background-color:#e11d48}.options-section #brushes div #br-2~label:hover{background-color:#be123c}.options-section #brushes div #br--1~label{background:#f8fafc url(../img/x.png) no-repeat center center;background-size:16px 16px;border:1px solid #cbd5e1}.options-section #brushes div #br--1~label:hover{background-color:#fee2e2}.options-section #brushes div input:checked~label{border-color:#0f172a;transform:scale(1.1);box-shadow:0 0 0 2px #0f172a33}.options-section #brushes #clearAll{margin-left:auto;cursor:pointer;background-color:#fff1f2;color:#e11d48;border:1px solid #fecdd3;border-radius:6px;padding:.35rem .75rem;font-size:.82rem;font-weight:500;transition:all .15s ease}.options-section #brushes #clearAll:hover{background-color:#ffe4e6;border-color:#fda4af}.options-section #model-selector{display:grid;grid-template-columns:repeat(5,1fr);gap:.6rem;margin-bottom:1.25rem}@media(max-width:1100px){.options-section #model-selector{grid-template-columns:repeat(auto-fill,minmax(120px,1fr))}}.options-section #model-selector .model-card{cursor:pointer;background-color:#fff;border:2px solid var(--border-color);border-radius:8px;padding:.75rem .5rem;text-align:center;transition:all .15s ease;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:90px}.options-section #model-selector .model-card img{width:34px;height:34px;object-fit:contain;margin-bottom:.4rem}.options-section #model-selector .model-card h4{margin:0;font-size:.76rem;font-weight:600;color:#334155;line-height:1.2}.options-section #model-selector .model-card:hover{border-color:#94a3b8;transform:translateY(-1px)}.options-section #model-selector .model-card.active{border-color:#0f172a;background-color:#f8fafc;box-shadow:0 0 0 1px #0f172a}.options-section #model-selector .model-card.active h4{color:#0f172a}.options-section #parameters{background-color:#f8fafc;border:1px solid var(--border-color);border-radius:8px;padding:1rem;margin-bottom:1.25rem}.options-section #parameters h3{margin:0 0 .6rem;font-size:.95rem;font-weight:700;color:#1e293b}.options-section #parameters .parameters-body{font-size:.88rem;color:#334155}.options-section #parameters .parameters-body .control-group{margin-bottom:.65rem}.options-section #parameters .parameters-body .control-group:last-child{margin-bottom:0}.options-section #parameters .parameters-body .btn-toggle-pill{transition:all .15s ease}.options-section #parameters .parameters-body .btn-toggle-pill:hover{border-color:#94a3b8}.options-section #parameters .parameters-body .btn-toggle-pill.active{background-color:#0f172a!important;color:#fff!important;border-color:#0f172a!important}.options-section #parameters .parameters-body input[type=text],.options-section #parameters .parameters-body input[type=number]{border:1px solid #cbd5e1;border-radius:4px;padding:.3rem .5rem;width:60px;text-align:center;margin:0 .5rem;font-weight:600}.options-section #parameters .parameters-body input[type=text]:focus,.options-section #parameters .parameters-body input[type=number]:focus{outline:none;border-color:var(--primary);box-shadow:0 0 0 2px #0d948833}.options-section #parameters .parameters-body #ANN-panel{display:flex;flex-direction:row;gap:.5rem;margin-top:.75rem}.options-section #parameters .parameters-body #ANN-panel .layer{display:flex;flex-direction:column;align-items:center;gap:.3rem}.options-section #parameters .parameters-body #ANN-panel .layer button{width:28px;height:28px;border:none;border-radius:4px;background-color:#0f172a;color:#fff;font-weight:700;cursor:pointer;font-size:.75rem}.options-section #parameters .parameters-body #ANN-panel .layer button:disabled{opacity:.4;cursor:not-allowed}.options-section #parameters .parameters-body #ANN-panel .layer button.flipped{background-color:#e2e8f0;color:#0f172a;border:1px solid #cbd5e1}.options-section .action-button-group{display:flex;gap:.75rem;margin-top:1.25rem;width:100%}.options-section .action-button-group #trainAndDisplay{flex:1.35;margin-top:0;cursor:pointer;background:#0f172a;color:#fff;border:none;border-radius:6px;padding:.85rem;font-size:1rem;font-weight:600;box-shadow:var(--shadow);transition:all .2s ease}.options-section .action-button-group #trainAndDisplay:hover:not(:disabled){background:#1e293b;transform:translateY(-1px);box-shadow:var(--shadow-lg)}.options-section .action-button-group #trainAndDisplay:disabled{opacity:.7;cursor:not-allowed}.options-section .action-button-group #trainAndDisplay.training{background:#0d9488;animation:pulse 1.5s infinite}.options-section .action-button-group .btn-compare-models{flex:1;background-color:#f1f5f9;color:#0f172a;border:1.5px solid #cbd5e1;border-radius:6px;padding:.75rem .85rem;font-size:.88rem;font-weight:700;cursor:pointer;transition:all .15s ease;display:flex;align-items:center;justify-content:center;text-align:center;white-space:nowrap}.options-section .action-button-group .btn-compare-models:hover{background-color:#e2e8f0;border-color:#94a3b8;transform:translateY(-1px)}@keyframes pulse{0%,to{opacity:1}50%{opacity:.6}}.tree-visualizer-section{margin-top:1.5rem}.tree-visualizer-section .tree-visualizer-card{background-color:var(--card-bg);border-radius:var(--radius);padding:1.5rem;box-shadow:var(--shadow);border:1px solid var(--border-color)}.tree-visualizer-section .tree-visualizer-card.empty{text-align:center;padding:2.5rem 1.5rem;border-style:dashed;background-color:#fafbfc}.tree-visualizer-section .tree-visualizer-card.empty .xai-title{font-weight:700;font-size:1.05rem;color:#334155;margin-bottom:.5rem}.tree-visualizer-section .tree-visualizer-card.empty .xai-hint{font-size:.88rem;color:var(--text-muted);margin:0}.tree-visualizer-section .tree-visualizer-card .xai-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:1.25rem;border-bottom:1px solid var(--border-color);padding-bottom:.85rem}.tree-visualizer-section .tree-visualizer-card .xai-header.is-collapsed{margin-bottom:0;border-bottom:none;padding-bottom:0}.tree-visualizer-section .tree-visualizer-card .xai-header .xai-title{margin:0 0 .25rem;font-size:1.15rem;font-weight:700;color:#0f172a}.tree-visualizer-section .tree-visualizer-card .xai-header .xai-subtitle{font-size:.82rem;color:var(--text-muted);line-height:1.4}.tree-visualizer-section .tree-visualizer-card .tree-flowchart-viewport{width:100%;overflow-x:auto;padding:1rem .5rem 2rem}.tree-visualizer-section .tree-visualizer-card .tree-flowchart-viewport::-webkit-scrollbar{height:8px}.tree-visualizer-section .tree-visualizer-card .tree-flowchart-viewport::-webkit-scrollbar-track{background:#f1f5f9;border-radius:4px}.tree-visualizer-section .tree-visualizer-card .tree-flowchart-viewport::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:4px}.tree-visualizer-section .tree-visualizer-card .tree-flowchart-viewport::-webkit-scrollbar-thumb:hover{background:#94a3b8}.tree-visualizer-section .tree-visualizer-card .tree-flowchart-container{display:flex;justify-content:center;min-width:max-content;margin:0 auto;padding:.5rem 1rem}.tree-visualizer-section .tree-visualizer-card .dt-subtree{display:flex;flex-direction:column;align-items:center;position:relative}.tree-visualizer-section .tree-visualizer-card .dt-subtree>.dt-node-card.dt-internal:after{content:"";position:absolute;bottom:-1.25rem;left:50%;transform:translate(-50%);width:2px;height:1.25rem;background-color:#cbd5e1}.tree-visualizer-section .tree-visualizer-card .dt-node-card{background:#fff;border:1.5px solid #cbd5e1;border-radius:6px;padding:.65rem .95rem;min-width:190px;max-width:240px;box-shadow:0 1px 2px #0000000a;text-align:center;position:relative;z-index:2}.tree-visualizer-section .tree-visualizer-card .dt-node-card.dt-internal{border-color:#94a3b8}.tree-visualizer-section .tree-visualizer-card .dt-node-card.dt-internal .dt-rule-text{font-size:.86rem;font-weight:700;color:#0f172a;margin-bottom:.35rem;background:#f1f5f9;padding:.25rem .5rem;border-radius:4px;border:1px solid #e2e8f0}.tree-visualizer-section .tree-visualizer-card .dt-node-card.dt-leaf{border-width:2px}.tree-visualizer-section .tree-visualizer-card .dt-node-card.dt-leaf.at-risk{background-color:#fff1f2;border-color:#f43f5e}.tree-visualizer-section .tree-visualizer-card .dt-node-card.dt-leaf.at-risk .dt-leaf-badge{color:#be123c;font-weight:800;font-size:.88rem;margin-bottom:.35rem}.tree-visualizer-section .tree-visualizer-card .dt-node-card.dt-leaf.on-track{background-color:#f0fdfa;border-color:#14b8a6}.tree-visualizer-section .tree-visualizer-card .dt-node-card.dt-leaf.on-track .dt-leaf-badge{color:#0f766e;font-weight:800;font-size:.88rem;margin-bottom:.35rem}.tree-visualizer-section .tree-visualizer-card .dt-node-card .dt-samples-line{font-size:.74rem;color:#475569;margin-bottom:.25rem}.tree-visualizer-section .tree-visualizer-card .dt-node-card .dt-meta-line{font-size:.72rem;color:#64748b;display:flex;align-items:center;justify-content:center;gap:.45rem}.tree-visualizer-section .tree-visualizer-card .dt-node-card .dt-impurity-pill{background-color:#f1f5f9;border:1px solid #cbd5e1;border-radius:4px;padding:.1rem .4rem;font-weight:600;font-size:.68rem;text-transform:uppercase}.tree-visualizer-section .tree-visualizer-card .dt-children-row{display:flex;justify-content:center;gap:2.25rem;margin-top:2.25rem;position:relative}.tree-visualizer-section .tree-visualizer-card .dt-children-row:before{content:"";position:absolute;top:-1rem;left:25%;right:25%;height:2px;background-color:#cbd5e1}.tree-visualizer-section .tree-visualizer-card .dt-branch{display:flex;flex-direction:column;align-items:center;position:relative}.tree-visualizer-section .tree-visualizer-card .dt-branch:before{content:"";position:absolute;top:-1rem;width:2px;height:1rem;background-color:#cbd5e1}.tree-visualizer-section .tree-visualizer-card .dt-branch .dt-branch-label{font-size:.72rem;font-weight:700;padding:.18rem .55rem;border-radius:4px;margin-bottom:.75rem;z-index:3}.tree-visualizer-section .tree-visualizer-card .dt-branch .dt-branch-label.true-label{background-color:#dcfce7;color:#15803d;border:1px solid #86efac}.tree-visualizer-section .tree-visualizer-card .dt-branch .dt-branch-label.false-label{background-color:#fee2e2;color:#b91c1c;border:1px solid #fca5a5}.metrics-section{margin-top:1.5rem}.metrics-section .metrics-card{background-color:var(--card-bg);border-radius:var(--radius);padding:1.5rem;box-shadow:var(--shadow);border:1px solid var(--border-color)}.metrics-section .metrics-card.empty{text-align:center;padding:2rem;color:var(--text-muted)}.metrics-section .metrics-card.empty .empty-title{font-weight:700;font-size:1.1rem;color:#334155;margin-bottom:.5rem}.metrics-section .metrics-card.empty .empty-hint{margin:0;font-size:.9rem}.metrics-section .metrics-card .metrics-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.25rem;flex-wrap:wrap;gap:1rem}.metrics-section .metrics-card .metrics-header .metrics-title-group .metrics-title{margin:0;font-size:1.15rem;font-weight:700;color:#0f172a}.metrics-section .metrics-card .metrics-header .metrics-title-group .metrics-subtitle{font-size:.8rem;color:var(--text-muted)}.metrics-section .metrics-card .metrics-badges-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:.75rem;margin-bottom:1.5rem}.metrics-section .metrics-card .metrics-badges-grid .metric-badge-box{background:#fff;border:1px solid var(--border-color);border-radius:6px;padding:.75rem;text-align:center}.metrics-section .metrics-card .metrics-badges-grid .metric-badge-box .metric-label{font-size:.78rem;font-weight:700;color:#334155}.metrics-section .metrics-card .metrics-badges-grid .metric-badge-box .metric-label .sub-term{font-weight:500;color:#64748b;font-size:.72rem}.metrics-section .metrics-card .metrics-badges-grid .metric-badge-box .metric-value{font-size:1.45rem;font-weight:800;color:#0f172a;margin:.25rem 0;letter-spacing:-.02em}.metrics-section .metrics-card .metrics-badges-grid .metric-badge-box .metric-formula{font-size:.68rem;color:#94a3b8;font-family:monospace}.metrics-section .metrics-card .metrics-middle-grid{display:grid;grid-template-columns:1.25fr 1fr;gap:1.5rem;margin-bottom:1.25rem}@media(max-width:900px){.metrics-section .metrics-card .metrics-middle-grid{grid-template-columns:1fr}}.metrics-section .metrics-card .metrics-middle-grid .section-heading{font-size:.88rem;font-weight:700;color:#1e293b;margin-bottom:.65rem}.metrics-section .metrics-card .metrics-middle-grid .cm-container .cm-table-wrapper{overflow-x:auto}.metrics-section .metrics-card .metrics-middle-grid .cm-container .cm-table-wrapper .cm-table{width:100%;border-collapse:separate;border-spacing:4px}.metrics-section .metrics-card .metrics-middle-grid .cm-container .cm-table-wrapper .cm-table th,.metrics-section .metrics-card .metrics-middle-grid .cm-container .cm-table-wrapper .cm-table td{padding:.6rem .5rem;text-align:center;border-radius:6px;font-size:.78rem}.metrics-section .metrics-card .metrics-middle-grid .cm-container .cm-table-wrapper .cm-table .cm-corner{background:#f8fafc;font-size:.72rem;color:#64748b}.metrics-section .metrics-card .metrics-middle-grid .cm-container .cm-table-wrapper .cm-table .cm-pred-header{background:#e2e8f0;font-weight:700;color:#1e293b}.metrics-section .metrics-card .metrics-middle-grid .cm-container .cm-table-wrapper .cm-table .cm-col-label{background:#f1f5f9;font-weight:600;color:#334155}.metrics-section .metrics-card .metrics-middle-grid .cm-container .cm-table-wrapper .cm-table .cm-actual-header{background:#e2e8f0;font-weight:700;color:#1e293b;writing-mode:vertical-lr;transform:rotate(180deg)}.metrics-section .metrics-card .metrics-middle-grid .cm-container .cm-table-wrapper .cm-table .cm-row-label{background:#f1f5f9;font-weight:600;color:#334155;text-align:right;padding-right:.75rem}.metrics-section .metrics-card .metrics-middle-grid .cm-container .cm-table-wrapper .cm-table .cm-cell{border:1px solid var(--border-color)}.metrics-section .metrics-card .metrics-middle-grid .cm-container .cm-table-wrapper .cm-table .cm-cell .cm-count{font-size:1.3rem;font-weight:800;margin-bottom:.15rem}.metrics-section .metrics-card .metrics-middle-grid .cm-container .cm-table-wrapper .cm-table .cm-cell .cm-text{font-size:.72rem;font-weight:700}.metrics-section .metrics-card .metrics-middle-grid .cm-container .cm-table-wrapper .cm-table .cm-cell .cm-note{font-size:.66rem;margin-top:.2rem}.metrics-section .metrics-card .metrics-middle-grid .cm-container .cm-table-wrapper .cm-table .cm-cell.cm-tp{background-color:#f0fdf4;border-color:#bbf7d0;color:#166534}.metrics-section .metrics-card .metrics-middle-grid .cm-container .cm-table-wrapper .cm-table .cm-cell.cm-fn{background-color:#fef2f2;border-color:#fecaca;color:#991b1b}.metrics-section .metrics-card .metrics-middle-grid .cm-container .cm-table-wrapper .cm-table .cm-cell.cm-fp{background-color:#fffbeb;border-color:#fde68a;color:#b45309}.metrics-section .metrics-card .metrics-middle-grid .cm-container .cm-table-wrapper .cm-table .cm-cell.cm-tn{background-color:#f8fafc;border-color:#e2e8f0;color:#334155}.metrics-section .metrics-card .metrics-middle-grid .roc-container .roc-body{display:flex;align-items:center;gap:1.25rem;background:#f8fafc;border:1px solid var(--border-color);border-radius:8px;padding:.75rem 1rem}.metrics-section .metrics-card .metrics-middle-grid .roc-container .roc-body .roc-svg{width:140px;height:140px;flex-shrink:0}.metrics-section .metrics-card .metrics-middle-grid .roc-container .roc-body .roc-legend{display:flex;flex-direction:column;gap:.4rem}.metrics-section .metrics-card .metrics-middle-grid .roc-container .roc-body .roc-legend .auc-stat-line{display:flex;align-items:baseline;gap:.4rem}.metrics-section .metrics-card .metrics-middle-grid .roc-container .roc-body .roc-legend .auc-stat-line .auc-label{font-weight:700;font-size:.95rem;color:#1e293b}.metrics-section .metrics-card .metrics-middle-grid .roc-container .roc-body .roc-legend .auc-stat-line .auc-score{font-size:1.5rem;font-weight:900;letter-spacing:-.02em}.metrics-section .metrics-card .metrics-middle-grid .roc-container .roc-body .roc-legend .auc-grade-pill{display:inline-block;padding:.2rem .5rem;border-radius:4px;font-size:.74rem;font-weight:700;width:fit-content}.metrics-section .metrics-card .metrics-middle-grid .roc-container .roc-body .roc-legend .auc-help-text{font-size:.72rem;color:var(--text-muted);line-height:1.35}.metrics-section .metrics-card .impact-summary-card{background-color:#fff;border:1px solid var(--border-color);border-radius:6px;padding:.85rem 1rem}.metrics-section .metrics-card .impact-summary-card .impact-title{font-size:.82rem;font-weight:700;color:#0f172a;margin-bottom:.25rem}.metrics-section .metrics-card .impact-summary-card .impact-text{margin:0;font-size:.82rem;color:#334155;line-height:1.5}.metrics-section .metrics-card .cost-benefit-card{margin-top:1.25rem;background:#fff;border:1px solid var(--border-color);border-radius:8px;padding:1.15rem 1.25rem;box-shadow:0 1px 3px #0000000a}.metrics-section .metrics-card .cost-benefit-card .cb-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:1.25rem;flex-wrap:wrap;gap:.75rem;border-bottom:1px solid #f1f5f9;padding-bottom:.75rem}.metrics-section .metrics-card .cost-benefit-card .cb-header .cb-title-group .cb-title{margin:0;font-size:.96rem;font-weight:700;color:#0f172a}.metrics-section .metrics-card .cost-benefit-card .cb-header .cb-title-group .cb-subtitle{font-size:.75rem;color:var(--text-muted)}.metrics-section .metrics-card .cost-benefit-card .cb-header .cb-unit-toggle{display:flex;background:#f1f5f9;padding:2px;border-radius:6px;border:1px solid var(--border-color);gap:2px}.metrics-section .metrics-card .cost-benefit-card .cb-header .cb-unit-toggle .cb-unit-btn{background:transparent;border:none;padding:.25rem .55rem;border-radius:4px;font-size:.72rem;font-weight:600;color:#64748b;cursor:pointer;transition:all .15s ease}.metrics-section .metrics-card .cost-benefit-card .cb-header .cb-unit-toggle .cb-unit-btn:hover{color:#0f172a}.metrics-section .metrics-card .cost-benefit-card .cb-header .cb-unit-toggle .cb-unit-btn.active{background:#fff;color:#0f172a;font-weight:700;box-shadow:0 1px 2px #00000014}.metrics-section .metrics-card .cost-benefit-card .cb-body-grid{display:grid;grid-template-columns:1fr 1.15fr;gap:1.5rem}@media(max-width:860px){.metrics-section .metrics-card .cost-benefit-card .cb-body-grid{grid-template-columns:1fr}}.metrics-section .metrics-card .cost-benefit-card .cb-body-grid .cb-inputs-col{display:flex;flex-direction:column;gap:1rem}.metrics-section .metrics-card .cost-benefit-card .cb-body-grid .cb-inputs-col .cb-input-group .cb-label{display:flex;justify-content:space-between;align-items:center;font-size:.78rem;color:#334155;margin-bottom:.2rem}.metrics-section .metrics-card .cost-benefit-card .cb-body-grid .cb-inputs-col .cb-input-group .cb-label .cb-label-val{font-weight:700;color:#0d9488}.metrics-section .metrics-card .cost-benefit-card .cb-body-grid .cb-inputs-col .cb-input-group .cb-input-hint{margin:0 0 .4rem;font-size:.7rem;color:#64748b;line-height:1.35}.metrics-section .metrics-card .cost-benefit-card .cb-body-grid .cb-inputs-col .cb-input-group .cb-slider{width:100%;accent-color:#0d9488;cursor:pointer}.metrics-section .metrics-card .cost-benefit-card .cb-body-grid .cb-impact-col{display:flex;flex-direction:column;gap:1rem}.metrics-section .metrics-card .cost-benefit-card .cb-body-grid .cb-impact-col .cb-summary-badges{display:grid;grid-template-columns:repeat(3,1fr);gap:.6rem}@media(max-width:500px){.metrics-section .metrics-card .cost-benefit-card .cb-body-grid .cb-impact-col .cb-summary-badges{grid-template-columns:1fr}}.metrics-section .metrics-card .cost-benefit-card .cb-body-grid .cb-impact-col .cb-summary-badges .cb-badge{background:#fff;border:1px solid var(--border-color);border-radius:6px;padding:.6rem;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center}.metrics-section .metrics-card .cost-benefit-card .cb-body-grid .cb-impact-col .cb-summary-badges .cb-badge .cb-badge-title{font-size:.68rem;font-weight:600;color:#64748b}.metrics-section .metrics-card .cost-benefit-card .cb-body-grid .cb-impact-col .cb-summary-badges .cb-badge .cb-badge-value{font-size:1.15rem;font-weight:800;color:#0f172a;margin:.15rem 0}.metrics-section .metrics-card .cost-benefit-card .cb-body-grid .cb-impact-col .cb-summary-badges .cb-badge .cb-badge-value.total{color:#0d9488}.metrics-section .metrics-card .cost-benefit-card .cb-body-grid .cb-impact-col .cb-summary-badges .cb-badge .cb-badge-sub{font-size:.65rem;color:#94a3b8}.metrics-section .metrics-card .cost-benefit-card .cb-body-grid .cb-impact-col .cb-summary-badges .cb-badge.false-alarms{border-color:#cbd5e1}.metrics-section .metrics-card .cost-benefit-card .cb-body-grid .cb-impact-col .cb-summary-badges .cb-badge.false-alarms .cb-badge-value{color:#b45309}.metrics-section .metrics-card .cost-benefit-card .cb-body-grid .cb-impact-col .cb-summary-badges .cb-badge.missed-students{border-color:#cbd5e1}.metrics-section .metrics-card .cost-benefit-card .cb-body-grid .cb-impact-col .cb-summary-badges .cb-badge.missed-students .cb-badge-value{color:#b91c1c}.metrics-section .metrics-card .cost-benefit-card .cb-body-grid .cb-impact-col .cb-summary-badges .cb-badge.total-impact{border-color:#99f6e4}.metrics-section .metrics-card .cost-benefit-card .cb-body-grid .cb-impact-col .cb-verdict-box{padding:.75rem 1rem;border-radius:6px;background-color:#fff;border:1px solid var(--border-color);font-size:.78rem;line-height:1.45;color:#334155}.metrics-section .metrics-card .cost-benefit-card .cb-body-grid .cb-impact-col .cb-verdict-box .verdict-title{font-weight:700;margin-bottom:.2rem;color:#0f172a}.metrics-section .metrics-card .cost-benefit-card .cb-body-grid .cb-impact-col .cb-verdict-box .verdict-desc{margin:0;font-size:.75rem}.metrics-section .metrics-card .cost-benefit-card .cb-body-grid .cb-impact-col .cb-verdict-box.success{border-color:#86efac}.metrics-section .metrics-card .cost-benefit-card .cb-body-grid .cb-impact-col .cb-verdict-box.success .verdict-title{color:#166534}.metrics-section .metrics-card .cost-benefit-card .cb-body-grid .cb-impact-col .cb-verdict-box.safe{border-color:#cbd5e1}.metrics-section .metrics-card .cost-benefit-card .cb-body-grid .cb-impact-col .cb-verdict-box.safe .verdict-title{color:#1e40af}.metrics-section .metrics-card .cost-benefit-card .cb-body-grid .cb-impact-col .cb-verdict-box.warning{border-color:#fcd34d}.metrics-section .metrics-card .cost-benefit-card .cb-body-grid .cb-impact-col .cb-verdict-box.warning .verdict-title{color:#b45309}.metrics-section .metrics-card .cost-benefit-card .cb-body-grid .cb-impact-col .cb-verdict-box.danger{border-color:#fca5a5}.metrics-section .metrics-card .cost-benefit-card .cb-body-grid .cb-impact-col .cb-verdict-box.danger .verdict-title{color:#991b1b}.info-section{margin-top:1.5rem}.info-section .info-card{background-color:var(--card-bg);border-radius:var(--radius);padding:2rem 2.25rem;box-shadow:var(--shadow);border:1px solid var(--border-color)}.info-section .info-card .info-prose{max-width:920px}.info-section .info-card h1{font-family:Roboto Slab,serif;font-size:1.65rem;color:#0f172a;margin-top:0;margin-bottom:.75rem}.info-section .info-card h2{font-family:Roboto Slab,serif;font-size:1.08rem;font-weight:700;color:#0f172a;margin-top:0;margin-bottom:.65rem}.info-section .info-card p{margin:0 0 .85rem;line-height:1.7;color:#334155}.info-section .info-card p:last-child{margin-bottom:0}.info-section .info-card .info-lead{font-size:.98rem;line-height:1.72;color:#1e293b}.info-section .info-card .info-block{border-top:1px solid #e2e8f0;margin-top:1.5rem;padding-top:1.35rem}.info-section .info-card .info-steps{padding-left:1.35rem;margin:.5rem 0 1rem}.info-section .info-card .info-steps li{margin-bottom:.55rem;line-height:1.65;color:#334155}.info-section .info-card .info-math-note{border-top:1px solid #e2e8f0;border-bottom:1px solid #e2e8f0;padding:.75rem .25rem;margin:1rem 0;font-size:.9rem;line-height:1.6;color:#1e293b}.info-section .info-card .info-diagram{margin-top:1rem}.info-section .info-card .info-columns{display:grid;grid-template-columns:1fr 1fr;gap:2rem}@media(max-width:768px){.info-section .info-card .info-columns{grid-template-columns:1fr;gap:1.25rem}}.info-section .info-card ul{padding-left:1.25rem;margin:.4rem 0 0}.info-section .info-card ul li{margin-bottom:.45rem;line-height:1.65;color:#334155}.info-section .info-card a{color:#0f766e;text-decoration:underline;text-underline-offset:2px}.info-section .info-card a:hover{color:#0f172a}.info-section .info-card img{max-width:100%;height:auto;border-radius:6px;margin:1rem 0}.btn-guide-trigger{cursor:pointer;background:#eff6ff;color:#1d4ed8;border:1px solid #bfdbfe;border-radius:6px;padding:.4rem .85rem;font-size:.82rem;font-weight:600;transition:all .15s ease}.btn-guide-trigger:hover{background:#dbeafe;border-color:#93c5fd}.sandbox-banner-content{display:flex;justify-content:space-between;align-items:center;width:100%;flex-wrap:wrap;gap:.75rem}.sandbox-banner-content .sandbox-hint{font-size:.85rem;color:#334155}.sandbox-banner-content .sandbox-hint .link-button{background:none;border:none;padding:0;font:inherit;color:#1d4ed8;text-decoration:underline;cursor:pointer;font-weight:600}.sandbox-banner-content .sandbox-hint .link-button:hover{color:#1e40af}.modal-backdrop{position:fixed;top:0;left:0;width:100%;height:100%;background-color:#0f172aa6;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);display:flex;align-items:center;justify-content:center;z-index:100;padding:1.5rem}.modal-content{background:#fff;border-radius:12px;max-width:800px;width:100%;max-height:90vh;display:flex;flex-direction:column;box-shadow:0 20px 25px -5px #0003,0 8px 10px -6px #0000001a;border:1px solid var(--border-color);animation:modalFadeIn .2s ease-out}.modal-content .modal-header{padding:1.25rem 1.75rem;border-bottom:1px solid var(--border-color);display:flex;justify-content:space-between;align-items:flex-start}.modal-content .modal-header .modal-title{margin:0;font-size:1.25rem;font-weight:700;color:#0f172a;font-family:Roboto Slab,serif}.modal-content .modal-header .modal-subtitle{margin:.25rem 0 0;font-size:.82rem;color:var(--text-muted)}.modal-content .modal-header .modal-close-btn{background:none;border:none;font-size:1.25rem;cursor:pointer;color:#94a3b8;padding:.25rem .5rem;border-radius:4px}.modal-content .modal-header .modal-close-btn:hover{color:#0f172a;background-color:#f1f5f9}.modal-content .modal-body{padding:1.5rem 1.75rem;overflow-y:auto;flex:1}.modal-content .modal-body .guide-intro-banner{background-color:#fff;border-bottom:1px solid #e2e8f0;padding:0 0 .85rem;font-size:.84rem;color:#334155;margin-bottom:1.25rem}.modal-content .modal-body .patterns-list{display:flex;flex-direction:column;gap:1.25rem}.modal-content .modal-body .patterns-list .pattern-guide-card{background:#fff;border:1px solid #e2e8f0;border-radius:6px;padding:1.15rem}.modal-content .modal-body .patterns-list .pattern-guide-card:hover{border-color:#cbd5e1}.modal-content .modal-body .patterns-list .pattern-guide-card .pattern-card-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.5rem;flex-wrap:wrap;gap:.5rem}.modal-content .modal-body .patterns-list .pattern-guide-card .pattern-card-header .pattern-title-group{display:flex;align-items:center;gap:.65rem}.modal-content .modal-body .patterns-list .pattern-guide-card .pattern-card-header .pattern-title-group .pattern-name{font-size:.95rem;font-weight:700;color:#0f172a}.modal-content .modal-body .patterns-list .pattern-guide-card .pattern-card-header .pattern-title-group .pattern-tag{font-size:.7rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em}.modal-content .modal-body .patterns-list .pattern-guide-card .pattern-card-header .pattern-load-btn{cursor:pointer;background-color:#0f172a;color:#fff;border:none;border-radius:6px;padding:.35rem .75rem;font-size:.78rem;font-weight:600;transition:background-color .15s ease}.modal-content .modal-body .patterns-list .pattern-guide-card .pattern-card-header .pattern-load-btn:hover{background-color:#334155}.modal-content .modal-body .patterns-list .pattern-guide-card .pattern-desc{font-size:.84rem;color:#334155;margin:0 0 .75rem;line-height:1.5}.modal-content .modal-body .patterns-list .pattern-guide-card .pattern-meta-grid{display:grid;grid-template-columns:1fr 1fr;gap:.75rem;margin-bottom:.6rem}@media(max-width:600px){.modal-content .modal-body .patterns-list .pattern-guide-card .pattern-meta-grid{grid-template-columns:1fr}}.modal-content .modal-body .patterns-list .pattern-guide-card .pattern-meta-grid .meta-box{padding:.55rem .75rem;border-radius:4px;background-color:#fff;border:1px solid #e2e8f0;font-size:.77rem;line-height:1.45;color:#334155}.modal-content .modal-body .patterns-list .pattern-guide-card .pattern-meta-grid .meta-box.rec strong{color:#0f766e}.modal-content .modal-body .patterns-list .pattern-guide-card .pattern-meta-grid .meta-box.chal strong{color:#991b1b}.modal-content .modal-body .patterns-list .pattern-guide-card .pattern-axes-hint{font-size:.72rem;color:var(--text-muted);font-style:italic}.modal-content .modal-footer{padding:1rem 1.75rem;border-top:1px solid var(--border-color);display:flex;justify-content:flex-end}.modal-content .modal-footer .btn-modal-close{cursor:pointer;background:#f1f5f9;border:1px solid #cbd5e1;border-radius:6px;padding:.45rem 1rem;font-size:.85rem;font-weight:600;color:#334155}.modal-content .modal-footer .btn-modal-close:hover{background:#e2e8f0}.modal-content.model-comparison-modal{max-width:960px}.modal-content.model-comparison-modal .comparison-empty{text-align:center;padding:2.5rem 1rem;color:#64748b}.modal-content.model-comparison-modal .comparison-empty .comparison-empty-title{font-size:1.1rem;font-weight:700;color:#0f172a;margin-bottom:.5rem}.modal-content.model-comparison-modal .comparison-empty .comparison-empty-hint{font-size:.85rem}.modal-content.model-comparison-modal .top-model-banner{background-color:#fff;border:1px solid #cbd5e1;border-radius:6px;padding:.9rem 1.15rem;margin-bottom:1.25rem}.modal-content.model-comparison-modal .top-model-banner .top-model-header{display:flex;align-items:center;gap:.65rem;flex-wrap:wrap;margin-bottom:.35rem}.modal-content.model-comparison-modal .top-model-banner .top-model-header .trophy-badge{color:#0f766e;font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em}.modal-content.model-comparison-modal .top-model-banner .top-model-header .top-model-name{font-size:1rem;color:#0f172a}.modal-content.model-comparison-modal .top-model-banner .top-model-header .top-model-acc{font-size:.82rem;color:#0f766e;font-weight:700;margin-left:auto}.modal-content.model-comparison-modal .top-model-banner .top-model-desc{margin:0;font-size:.82rem;color:#334155;line-height:1.45}.modal-content.model-comparison-modal .comparison-table-wrapper{overflow-x:auto;border:1px solid var(--border-color);border-radius:8px}.modal-content.model-comparison-modal .comparison-table-wrapper .comparison-table{width:100%;border-collapse:collapse;font-size:.82rem}.modal-content.model-comparison-modal .comparison-table-wrapper .comparison-table thead{background-color:#f8fafc;border-bottom:1.5px solid var(--border-color)}.modal-content.model-comparison-modal .comparison-table-wrapper .comparison-table thead th{padding:.65rem .85rem;text-align:left;font-weight:700;color:#334155;white-space:nowrap}.modal-content.model-comparison-modal .comparison-table-wrapper .comparison-table tbody tr{border-bottom:1px solid #f1f5f9;transition:background-color .15s ease}.modal-content.model-comparison-modal .comparison-table-wrapper .comparison-table tbody tr:hover{background-color:#f8fafc}.modal-content.model-comparison-modal .comparison-table-wrapper .comparison-table tbody tr.row-top{background-color:#f0fdfa}.modal-content.model-comparison-modal .comparison-table-wrapper .comparison-table tbody tr td{padding:.65rem .85rem;vertical-align:middle}.modal-content.model-comparison-modal .comparison-table-wrapper .comparison-table tbody tr td.cell-rank{width:44px;text-align:center}.modal-content.model-comparison-modal .comparison-table-wrapper .comparison-table tbody tr td.cell-rank .rank-badge{display:inline-block;font-size:.78rem;font-weight:700;color:#64748b}.modal-content.model-comparison-modal .comparison-table-wrapper .comparison-table tbody tr td.cell-rank .rank-badge.rank-1{color:#0f766e}.modal-content.model-comparison-modal .comparison-table-wrapper .comparison-table tbody tr td.cell-rank .rank-badge.rank-2,.modal-content.model-comparison-modal .comparison-table-wrapper .comparison-table tbody tr td.cell-rank .rank-badge.rank-3{color:#334155}.modal-content.model-comparison-modal .comparison-table-wrapper .comparison-table tbody tr td.cell-name strong{color:#0f172a}.modal-content.model-comparison-modal .comparison-table-wrapper .comparison-table tbody tr td.cell-name .cell-strength-hint{font-size:.7rem;color:#64748b;margin-top:.1rem}.modal-content.model-comparison-modal .comparison-table-wrapper .comparison-table tbody tr td.cell-paradigm{color:#64748b;font-size:.75rem}.modal-content.model-comparison-modal .comparison-table-wrapper .comparison-table tbody tr td.cell-stat{font-variant-numeric:tabular-nums}.modal-content.model-comparison-modal .comparison-table-wrapper .comparison-table tbody tr td.cell-action{text-align:right}.modal-content.model-comparison-modal .comparison-table-wrapper .comparison-table tbody tr td.cell-action .btn-select-model{cursor:pointer;background-color:#f1f5f9;color:#0f172a;border:1px solid #cbd5e1;border-radius:5px;padding:.35rem .75rem;font-size:.75rem;font-weight:600;transition:all .15s ease;white-space:nowrap}.modal-content.model-comparison-modal .comparison-table-wrapper .comparison-table tbody tr td.cell-action .btn-select-model:hover{background-color:#0f172a;color:#fff;border-color:#0f172a}.modal-content.model-comparison-modal .comparison-table-wrapper .comparison-table tbody tr td.cell-action .btn-select-model.btn-top{background-color:#0d9488;color:#fff;border-color:#0d9488}.modal-content.model-comparison-modal .comparison-table-wrapper .comparison-table tbody tr td.cell-action .btn-select-model.btn-top:hover{background-color:#0f766e;border-color:#0f766e}.inspector-toggle-btn{background:#fff;border:1px solid #cbd5e1;border-radius:4px;padding:.3rem .7rem;font-size:.76rem;font-weight:600;color:#334155;cursor:pointer;white-space:nowrap}.inspector-toggle-btn:hover{background:#f8fafc;border-color:#94a3b8}.inspector-stat-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:.85rem;margin-bottom:.75rem}.inspector-stat{background:#fff;border:1px solid #e2e8f0;border-radius:6px;padding:.75rem .95rem}.inspector-stat.is-active-probe{border-color:#99f6e4}.inspector-stat .inspector-stat-kicker{font-size:.74rem;font-weight:600;color:#64748b;margin-bottom:.2rem}.inspector-stat .inspector-stat-value{font-size:.98rem;font-weight:700;color:#0f172a;margin-bottom:.25rem}.inspector-stat .inspector-stat-value.is-ontrack{color:#0f766e}.inspector-stat .inspector-stat-desc{font-size:.78rem;color:#475569;line-height:1.45}.inspector-two-col{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1.25rem}.inspector-col-heading{font-size:.85rem;font-weight:700;color:#0f172a;margin-bottom:.6rem}.inspector-bar-item{margin-bottom:.65rem}.inspector-bar-item .inspector-bar-row{display:flex;justify-content:space-between;font-size:.82rem;margin-bottom:.2rem}.inspector-bar-item .inspector-bar-row .inspector-bar-label{font-weight:600;color:#1e293b}.inspector-bar-item .inspector-bar-row .inspector-bar-val{font-weight:700;color:#0f172a}.inspector-bar-item .inspector-bar-row .inspector-bar-val.is-risk{color:#e11d48}.inspector-bar-item .inspector-bar-row .inspector-bar-val.is-ontrack{color:#0d9488}.inspector-bar-item .inspector-bar-row .inspector-bar-val.is-neutral{color:#64748b}.inspector-bar-item .inspector-bar-row .inspector-bar-dir{font-weight:500;font-size:.75rem;color:#64748b}.inspector-bar-item .inspector-bar-track{height:8px;background:#f1f5f9;border-radius:4px;overflow:hidden}.inspector-bar-item .inspector-bar-track .inspector-bar-fill{height:100%;border-radius:4px;transition:width .25s ease}.inspector-bar-item .inspector-bar-track .inspector-bar-fill.is-risk{background:#e11d48}.inspector-bar-item .inspector-bar-track .inspector-bar-fill.is-ontrack{background:#0d9488}.inspector-bar-item .inspector-bar-track .inspector-bar-fill.is-neutral{background:#94a3b8}.inspector-bar-item .inspector-bar-track .inspector-bar-fill.is-x{background:#0284c7}.inspector-bar-item .inspector-bar-track .inspector-bar-fill.is-y{background:#0d9488}.inspector-note{background:#fff;border:1px solid #e2e8f0;border-radius:6px;padding:.9rem 1rem}.inspector-note.is-active-probe{border-color:#99f6e4}.inspector-note .inspector-note-text{margin:0 0 .6rem;font-size:.8rem;color:#334155;line-height:1.55}.inspector-note .inspector-subnote{font-size:.78rem;color:#64748b;line-height:1.5}.inspector-note .inspector-topology-line{font-size:.85rem;font-weight:700;color:#0f766e;margin-bottom:.3rem}.inspector-note .inspector-vote-result{font-size:.98rem;font-weight:700;margin-bottom:.25rem}.inspector-note .inspector-vote-result.is-risk{color:#be123c}.inspector-note .inspector-vote-result.is-ontrack{color:#0f766e}.inspector-tag-row{display:flex;gap:.75rem;flex-wrap:wrap}.inspector-tag{font-size:.74rem;font-weight:700;color:#334155;text-transform:uppercase;letter-spacing:.03em}.inspector-tag.is-risk{color:#be123c}.inspector-tag.is-ontrack{color:#0f766e}.inspector-empty-alert{padding:.85rem 1rem;background:#fff;border:1px solid #fecdd3;border-radius:6px;color:#be123c;font-size:.85rem}.ann-diagram-card{background:#fff;border:1px solid #e2e8f0;border-radius:6px;padding:.85rem 1rem .65rem}.ann-diagram-card .ann-diagram-bar{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:.5rem 1rem;padding-bottom:.6rem;margin-bottom:.5rem;border-bottom:1px solid #f1f5f9;font-size:.8rem;color:#0f172a}.ann-diagram-card .ann-diagram-bar .ann-summary-label{color:#475569;font-weight:600}.ann-diagram-card .ann-diagram-bar .ann-summary-meta{color:#64748b;font-size:.76rem}.ann-diagram-card .ann-diagram-bar .ann-diagram-legend{display:flex;align-items:center;flex-wrap:wrap;gap:.75rem;font-size:.74rem;color:#475569}.ann-diagram-card .ann-diagram-bar .ann-diagram-legend .ann-legend-item{display:inline-flex;align-items:center;gap:.35rem}.ann-diagram-card .ann-diagram-bar .ann-diagram-legend .ann-legend-swatch{display:inline-block;width:14px;height:3px;border-radius:2px}.ann-diagram-card .ann-diagram-bar .ann-diagram-legend .ann-legend-swatch.is-pos{background-color:#0d9488}.ann-diagram-card .ann-diagram-bar .ann-diagram-legend .ann-legend-swatch.is-neg{background-color:#e11d48}.ann-diagram-card .ann-diagram-svg{display:block;width:100%;height:auto;max-height:360px}.inspector-rule-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(290px,1fr));gap:.65rem}.inspector-rule-card{padding:.75rem .9rem;border-radius:6px;background:#fff;border:1px solid #e2e8f0}.inspector-rule-card.is-risk{border-color:#fecdd3}.inspector-rule-card.is-ontrack{border-color:#99f6e4}.inspector-rule-card .inspector-rule-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:.3rem}.inspector-rule-card .inspector-rule-num{font-size:.75rem;font-weight:700;color:#475569}.inspector-rule-card .inspector-rule-body{font-size:.83rem;color:#0f172a;font-weight:600;margin-bottom:.35rem}.inspector-rule-card .inspector-rule-meta{font-size:.75rem;color:#475569}.inspector-class-summary{background:#fff;border:1px solid #e2e8f0;border-radius:6px;padding:.85rem 1rem}.inspector-class-summary.is-ontrack{border-color:#99f6e4}.inspector-class-summary.is-risk{border-color:#fecdd3}.inspector-class-summary .inspector-rule-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:.45rem}.inspector-class-summary .inspector-class-title{font-weight:700;font-size:.9rem}.inspector-class-summary .inspector-class-title.is-ontrack{color:#0f766e}.inspector-class-summary .inspector-class-title.is-risk{color:#be123c}.inspector-class-summary .inspector-class-row{font-size:.8rem;color:#1e293b;margin-bottom:.25rem}.cf-section{margin-top:1.15rem;padding-top:1rem;border-top:1px solid #e2e8f0}.cf-section .cf-header{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:.5rem;margin-bottom:.75rem}.cf-section .cf-header .cf-title{font-size:.92rem;font-weight:700;color:#0f172a}.cf-section .cf-header .cf-subtitle{font-size:.78rem;color:#64748b}.cf-section .cf-student-list{display:flex;gap:.35rem;flex-wrap:wrap}.cf-section .cf-student-list .cf-student-btn{cursor:pointer;font-size:.72rem;font-weight:600;padding:.22rem .5rem;border-radius:4px;background:#fff}.cf-section .cf-student-list .cf-student-btn.is-selected{border:1px solid #0f172a;background:#0f172a;color:#fff}.cf-section .cf-student-list .cf-student-btn.is-risk{border:1px solid #fecdd3;color:#be123c}.cf-section .cf-student-list .cf-student-btn.is-ontrack{border:1px solid #99f6e4;color:#0f766e}.cf-section .cf-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1rem}.cf-section .cf-card{background:#fff;border:1px solid #e2e8f0;border-radius:6px;padding:.85rem 1rem}.cf-section .cf-card.cf-sim-card{display:flex;flex-direction:column;justify-content:space-between}.cf-section .cf-card .cf-card-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:.55rem;gap:.5rem}.cf-section .cf-card .cf-card-head .cf-card-title{font-size:.82rem;font-weight:700;color:#0f172a}.cf-section .cf-paths-caption{font-size:.76rem;color:#475569;margin-bottom:.55rem}.cf-section .cf-paths-list{display:flex;flex-direction:column;gap:.45rem}.cf-section .cf-path-row{display:flex;justify-content:space-between;align-items:center;background:#fff;border:1px solid #e2e8f0;border-radius:4px;padding:.45rem .65rem;font-size:.76rem;color:#334155}.cf-section .cf-path-row .cf-muted{color:#94a3b8}.cf-section .cf-test-btn{cursor:pointer;font-size:.7rem;font-weight:600;background:#fff;color:#334155;border:1px solid #cbd5e1;border-radius:4px;padding:.18rem .5rem}.cf-section .cf-test-btn.is-primary{background:#0f766e;color:#fff;border-color:#0f766e}.cf-section .cf-slider-group{margin-bottom:.6rem}.cf-section .cf-slider-group .cf-slider-row{display:flex;justify-content:space-between;font-size:.76rem;margin-bottom:.15rem}.cf-section .cf-slider-group .cf-slider-row .cf-slider-label{font-weight:600;color:#1e293b}.cf-section .cf-slider-group .cf-slider-row .cf-slider-val{font-weight:700;color:#0f172a}.cf-section .cf-slider-group .cf-slider{width:100%;cursor:pointer}.cf-section .cf-sim-result{border-top:1px solid #e2e8f0;padding-top:.55rem;margin-top:.25rem;display:flex;justify-content:space-between;align-items:center;font-size:.78rem;color:#0f172a}.cf-section .cf-sim-result .is-ontrack-text{font-weight:700;color:#0f766e}.cf-section .cf-sim-result .is-risk-text{font-weight:700;color:#be123c}.tour-step-kicker{font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:#0f766e;margin-bottom:.25rem}.tour-desc{font-size:.9rem;color:#1e293b;line-height:1.6;margin:0 0 .9rem}.tour-highlights-box{background:#fff;border:1px solid #e2e8f0;border-radius:6px;padding:.85rem 1rem;margin-bottom:1rem}.tour-highlights-box .tour-highlights-heading{font-size:.78rem;font-weight:700;color:#0f172a;margin-bottom:.45rem}.tour-highlights-box .tour-highlights-list{margin:0;padding-left:1.15rem;font-size:.82rem;color:#334155;line-height:1.6}.tour-highlights-box .tour-highlights-list li{margin-bottom:.25rem}.tour-action-row{display:flex;gap:.5rem;flex-wrap:wrap}.tour-action-row .tour-action-primary{cursor:pointer;background:#0f766e;color:#fff;border:1px solid #0f766e;border-radius:6px;padding:.4rem .85rem;font-size:.8rem;font-weight:600}.tour-action-row .tour-action-secondary{cursor:pointer;background:#0f172a;color:#fff;border:1px solid #0f172a;border-radius:6px;padding:.4rem .85rem;font-size:.8rem;font-weight:600}.app-footer{margin-top:auto;border-top:1px solid var(--border-color);background-color:#fff;padding:.9rem 1.5rem;font-size:.78rem;color:#64748b}.app-footer .app-footer-inner{max-width:1300px;margin:0 auto;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:.75rem}.app-footer .app-footer-links a{color:#334155;text-decoration:none;font-weight:500}.app-footer .app-footer-links a:hover{color:#0f766e;text-decoration:underline}@keyframes modalFadeIn{0%{opacity:0;transform:scale(.97)}to{opacity:1;transform:scale(1)}}
