*{box-sizing:border-box}body,html,#root{margin:0;padding:0;height:100%;font-family:Segoe UI,system-ui,sans-serif;color:#1a1a1a}.app{height:100%;display:flex;flex-direction:column}.topbar{background:#2c3e50;color:#fff;padding:10px 24px;font-weight:600;font-size:15px;display:flex;align-items:center;justify-content:space-between;gap:12px}.topbar .logo{font-size:16px}.topbar .meta{display:flex;gap:8px;font-weight:400;font-size:12px}.topbar .badge{background:#ffffff26;border-radius:4px;padding:2px 8px}.topbar .badge.mock{background:#f0a500;color:#1f2530;font-weight:600}.topbar .badge.asu{background:#2c8a3a;font-weight:600}.topbar .year-switcher{display:inline-flex;align-items:center;gap:6px;font-weight:500}.topbar .year-switcher select{font-size:12px;padding:2px 6px}.topbar .badge.readonly{background:#6c757d;color:#fff}.layout{flex:1;display:flex;min-height:0}.sidebar{width:260px;background:#f4f6f9;border-right:1px solid #d8dee4;padding:12px 0;overflow-y:auto}.sidebar a{display:block;padding:8px 18px;color:#2c3e50;text-decoration:none;font-size:14px}.sidebar a:hover{background:#e3e8ef}.sidebar a.active{background:#2c3e50;color:#fff;font-weight:600}.sidebar .nav-section{padding:16px 18px 6px;font-size:11px;text-transform:uppercase;color:#6b7785;letter-spacing:.05em}.content{flex:1;padding:24px 28px;overflow:auto;background:#fff}.content h1{font-size:22px;margin:0 0 18px}.content h2{font-size:16px;margin:18px 0 8px}.form-row{display:flex;gap:12px;align-items:center;margin-bottom:10px;flex-wrap:wrap}.form-row label{min-width:180px;font-size:13px;color:#4a5563}.form-row input,.form-row select,.form-row textarea{padding:6px 10px;border:1px solid #c3cdd8;border-radius:4px;font-size:13px;min-width:220px}button{padding:6px 12px;border:1px solid #c3cdd8;background:#fff;border-radius:4px;cursor:pointer;font-size:13px;font-family:inherit}button:hover{background:#f4f6f9}button.primary{padding:8px 18px;background:#2c3e50;color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:14px}button.primary:hover:not(:disabled){background:#34495e}button.primary:disabled{opacity:.5;cursor:not-allowed}button.danger{background:#c0392b;color:#fff;border-color:#c0392b}table{width:100%;border-collapse:collapse;font-size:13px}table th,table td{border-bottom:1px solid #e0e4e9;padding:8px 10px;text-align:left}table th{background:#f4f6f9;font-weight:600}.status-tag{display:inline-block;padding:2px 8px;border-radius:10px;font-size:11px;font-weight:600}.status-tag.Running{background:#fff3cd;color:#856404}.status-tag.Succeeded{background:#d4edda;color:#155724}.status-tag.Failed{background:#f8d7da;color:#721c24}.status-tag.Simple{background:#e7f0ff;color:#234fa9}.status-tag.Base{background:#d4edda;color:#155724}.status-tag.WithTargets{background:#fff3cd;color:#856404}.status-tag.BaseAndTargets{background:#f6d7f7;color:#6f2f7c}.notice{padding:12px 14px;background:#fff8e1;border-left:4px solid #f5b800;font-size:13px;margin-bottom:16px}.error{padding:12px 14px;background:#fdecea;border-left:4px solid #e74c3c;font-size:13px;margin-bottom:16px}.info{padding:12px 14px;background:#eef4ff;border-left:4px solid #2c63d3;font-size:13px;margin-bottom:16px}.success{padding:12px 14px;background:#d4edda;border-left:4px solid #2c8a3a;font-size:13px;margin-bottom:16px;color:#155724}.dashboard-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px;margin-top:16px}.dashboard-grid-3{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}.dashboard-section-title{font-size:1rem;color:#3d4f5f;margin:8px 0 0;font-weight:600}.dashboard-stat-link{text-decoration:none;color:inherit;display:block}.card{background:#fff;border:1px solid #d8dee4;border-radius:6px;padding:16px;display:flex;flex-direction:column;gap:8px}.card h3{margin:0;font-size:14px;color:#6b7785;font-weight:600;text-transform:uppercase;letter-spacing:.05em}.card .value{font-size:32px;font-weight:700;color:#1f2530}.card .subvalue{font-size:13px;color:#6b7785}.card .actions{margin-top:auto;display:flex;gap:8px}.card .actions a{color:#2c63d3;text-decoration:none;font-size:13px}.card .actions a:hover{text-decoration:underline}.card .breakdown{display:flex;flex-direction:column;gap:4px;font-size:13px}.card .breakdown .row{display:flex;justify-content:space-between}.card .breakdown .row span{color:#6b7785}.card .breakdown .row b{color:#1f2530}.progress{display:flex;align-items:center;gap:8px;margin:6px 0;font-size:12px}.progress .dot{width:10px;height:10px;border-radius:50%;background:#c3cdd8}.progress .dot.running{background:#f0a500}.progress .dot.success{background:#2c8a3a}.progress .dot.error{background:#c0392b}.progress .label{color:#4a5563}.progress .count{color:#6b7785;margin-left:auto}.chips{display:flex;gap:8px;margin:12px 0}.chip{padding:4px 12px;border-radius:14px;border:1px solid #d8dee4;background:#fff;cursor:pointer;font-size:12px}.dashboard-practice-section{margin-top:28px}.dashboard-practice-section h2{font-size:18px;margin:0 0 12px}.practice-table-wrap{overflow:auto;border:1px solid #d8dee4;border-radius:4px;max-height:70vh}.practice-table{min-width:2400px;border-collapse:separate;border-spacing:0;font-size:12px}.practice-table th,.practice-table td{border-right:1px solid #e8ecf1;border-bottom:1px solid #e8ecf1}.practice-table thead th{position:sticky;top:0;z-index:3;background:#f4f6f9;vertical-align:bottom}.practice-table .sticky-col{position:sticky;z-index:2;background:#fff}.practice-table thead .sticky-col{z-index:4;background:#f4f6f9}.practice-table .col-faculty{left:0;min-width:140px;max-width:180px}.practice-table .col-department{left:140px;min-width:160px;max-width:220px}.practice-table .col-group{left:300px;min-width:180px;max-width:260px}.practice-table .col-course{left:480px;min-width:52px;text-align:center}.practice-table .week-head{min-width:44px;padding:4px 2px;text-align:center;line-height:1.2}.practice-table .week-head.week-sep1 .week-num{font-weight:800}.practice-table .week-num{font-size:11px;font-weight:700}.practice-table .week-label{font-size:9px;color:#6b7785;font-weight:400;white-space:nowrap}.practice-table .group-code{font-weight:600;font-size:12px}.practice-table .week-cell{min-width:44px;height:28px;padding:0}.practice-table .week-none{background:#fff}.practice-table .week-planned{background:#28a745}.practice-table .week-assigned{background:#1e7e34}.practice-table .week-overdue{background:#dc3545}.practice-table .week-current-head{box-shadow:inset 0 -3px #2c63d3;background:#eef4ff}.practice-table .th-filter{margin-top:4px;width:100%;max-width:100%;font-size:11px;font-weight:400}.practice-matrix-subtitle{margin-top:0;font-size:1.15rem;color:#3d4f5f}.practice-legend{margin-bottom:16px;padding:12px 14px;background:#f8fafc;border:1px solid #e0e4e9;border-radius:4px;font-size:13px}.practice-legend-desc{margin:0 0 10px;line-height:1.5}.practice-legend-items{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:10px 18px}.legend-swatch{display:inline-block;width:16px;height:16px;border-radius:2px;flex-shrink:0;border:1px solid rgba(0,0,0,.08)}.legend-swatch.week-planned{background:#28a745}.legend-swatch.week-assigned{background:#1e7e34}.legend-swatch.week-overdue{background:#dc3545}.legend-swatch.week-current-sample{background:#fff;box-shadow:inset 0 -3px #2c63d3;border-color:#2c63d3}.enterprise-flags{display:flex;flex-direction:column;gap:4px}.enterprise-flag{display:flex;align-items:center;gap:6px;font-size:12px;cursor:default}.enterprise-flag input{margin:0}.link-btn{border:none;background:none;padding:0;color:#2c63d3;cursor:pointer;font:inherit;text-decoration:underline}.practice-legend-items li{display:flex;align-items:center;gap:8px;white-space:nowrap;line-height:1.4}.distribution-page h2{margin-top:0}.distribution-layout{display:grid;grid-template-columns:280px 1fr 320px;gap:16px;align-items:start;min-height:60vh}.distribution-sidebar,.distribution-enterprises{border:1px solid #d8dee4;border-radius:4px;padding:12px;background:#fff;max-height:75vh;overflow:auto}.distribution-sidebar h3,.distribution-enterprises h3,.distribution-students h3{margin:0 0 10px;font-size:15px}.distribution-group-list,.distribution-enterprise-list{list-style:none;margin:0;padding:0}.distribution-group-item,.distribution-enterprise-item{width:100%;text-align:left;border:1px solid transparent;background:transparent;padding:8px 10px;border-radius:4px;cursor:pointer;display:flex;flex-wrap:wrap;gap:4px 8px;align-items:center}.distribution-group-item:hover,.distribution-enterprise-item:hover{border-color:#c5d0dc}.distribution-group-item.selected,.distribution-enterprise-list li.selected{background:#eef4ff}.dist-group-code{font-weight:600}.dist-group-meta{font-size:11px;color:#4a5563}.dist-group-dept{font-size:11px;color:#6b7785;width:100%}.dist-filters{flex-wrap:wrap;gap:6px;margin-bottom:10px}.distribution-students{border:1px solid #d8dee4;border-radius:4px;padding:12px;background:#fff}.distribution-panel-header{display:flex;flex-wrap:wrap;gap:8px 12px;align-items:center;margin-bottom:10px}.dist-badge{font-size:11px;padding:2px 8px;border-radius:10px;text-transform:uppercase}.dist-neutral,.legend-swatch.dist-neutral{background:#fff;border:1px solid #d0d7de;color:#1a1a1a}.dist-started,.legend-swatch.dist-started{background:#d4edda;color:#1a1a1a}.dist-complete,.legend-swatch.dist-complete{background:#b8dfc4;color:#1a1a1a}.dist-urgent,.legend-swatch.dist-urgent{background:#ffe8cc;color:#1a1a1a}.dist-overdue,.legend-swatch.dist-overdue{background:#f8d7da;color:#1a1a1a}.distribution-group-item.dist-complete{background:#b8dfc4;color:#1a1a1a}.distribution-group-item.dist-complete .dist-group-meta,.distribution-group-item.dist-complete .dist-group-dept{color:#333}.distribution-group-item.dist-started{background:#d4edda;color:#1a1a1a}.distribution-group-item.dist-started .dist-group-meta,.distribution-group-item.dist-started .dist-group-dept{color:#333}.distribution-group-item.dist-urgent{background:#ffe8cc;color:#1a1a1a}.distribution-group-item.dist-overdue{background:#f8d7da;color:#1a1a1a}.distribution-breadcrumb{font-size:13px;margin-bottom:6px}.distribution-breadcrumb a{color:#2c63d3;text-decoration:none}.distribution-breadcrumb a:hover{text-decoration:underline}.distribution-breadcrumb .sep{color:#6c757d}.distribution-empty-dept{padding:10px 12px;font-style:italic}tr.dist-row.dist-complete td{background:#f0fff4}tr.dist-row.dist-urgent td{background:#fff8f0}tr.dist-row.dist-overdue td{background:#fff5f5}.distribution-expand-btn{font-size:11px;margin:0 0 4px 8px;background:none;border:none;color:#2c63d3;cursor:pointer}.dist-contract-filter{display:block;margin-bottom:8px;font-size:13px}.ent-name{flex:1;text-align:left}.ent-count{font-size:11px;background:#eef2f7;padding:1px 6px;border-radius:8px}.week-clickable{cursor:pointer}.week-clickable:hover{outline:2px solid #2c63d3;outline-offset:-2px}.distribution-legend{margin-bottom:12px}.enterprise-expand-panel{background:#f8fbff;padding:12px}.enterprise-expand-meta{margin-top:6px;font-size:13px;color:#4a5563}.nested-table{width:100%;margin-top:8px;font-size:12px}.empty-cell{text-align:center;color:#6b7785;padding:12px}tr.registry-archived{background:#d4edda!important}.journal-table .col-filter{display:block;width:100%;margin-top:4px;font-size:12px;padding:2px 4px}.th-sort{background:none;border:none;cursor:pointer;font-weight:600;padding:0;color:inherit}.actions-cell{white-space:nowrap}.actions-cell .link-btn,.actions-cell a{margin-right:8px}.link-btn.danger{color:#c0392b}.pdn-banner{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:10px 12px;background:#fff8e1;border-radius:4px;margin-bottom:12px;font-size:14px}.modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000059;display:flex;align-items:center;justify-content:center;z-index:1000}.modal-panel{background:#fff;padding:20px;border-radius:6px;max-width:720px;max-height:80vh;overflow:auto;box-shadow:0 8px 32px #00000026}.entity-card .breadcrumbs{font-size:13px;color:#6b7785;margin-bottom:8px}.entity-card .breadcrumbs .sep{margin:0 4px}.entity-card-header{display:flex;align-items:center;justify-content:space-between;gap:12px}.education-blocks{display:flex;flex-direction:column;gap:8px}.accordion-card{padding:0;overflow:hidden}.accordion-trigger{width:100%;text-align:left;padding:12px 16px;border:none;background:#f4f6f8;font-weight:600;cursor:pointer}.accordion-card .table-scroll{padding:0 12px 12px}.orders-header th{font-size:11px;white-space:nowrap;text-align:center;vertical-align:middle}.practice-report-matrix th{text-align:center;vertical-align:middle}.practice-report-matrix tr.institute td.institute-title-cell{font-weight:700;background:#f0f4f8}.primary-link{font-weight:600}.dashboard-stat-card{cursor:pointer;transition:box-shadow .15s ease}.dashboard-stat-card:hover{box-shadow:0 2px 8px #00000014}.practice-report-matrix{border-collapse:collapse}.practice-report-matrix th,.practice-report-matrix td{border:1px solid #c5cdd6;padding:4px 6px;font-size:12px}.practice-report-matrix tr.course td:first-child{font-weight:600;padding-left:12px}.practice-report-matrix tr.group td:first-child{padding-left:20px}.practice-report-matrix tr.total-row td{font-weight:700;background:#fafafa}.enterprise-combobox{position:relative;flex:1;min-width:0}.enterprise-combobox input{width:100%;box-sizing:border-box}.enterprise-combobox-list{position:absolute;z-index:30;left:0;right:0;max-height:240px;overflow-y:auto;margin:4px 0 0;padding:0;list-style:none;background:#fff;border:1px solid #c5cdd6;border-radius:4px;box-shadow:0 4px 12px #0000001a}.enterprise-combobox-list button{display:block;width:100%;text-align:left;padding:8px 10px;border:none;background:transparent;cursor:pointer;font-size:13px}.enterprise-combobox-list button:hover,.enterprise-combobox-list button.active{background:#eef3f8}.enterprise-combobox-empty{padding:8px 10px;color:#6b7785;font-size:13px}.enterprise-combobox-hint{display:block;margin-top:4px;font-size:11px}.faculty-tree-table .faculty-tree-row--department td{background:#fafbfc;font-size:12px}.faculty-tree-table .faculty-tree-row--faculty td{font-weight:500}.tree-toggle{border:none;background:transparent;cursor:pointer;padding:0 4px;font-size:11px;color:#4a5563}.tree-indent{color:#9aa5b1;margin-right:4px}.faculty-multi-filter{margin:0 0 12px;display:flex;flex-wrap:wrap;align-items:flex-start;gap:8px}.faculty-multi-filter__label{font-size:13px;color:#4a5563;min-width:80px;padding-top:4px}.faculty-multi-filter__chips{display:flex;flex-wrap:wrap;gap:6px}.chip{padding:4px 10px;border-radius:14px;border:1px solid #c3cdd8;background:#fff;font-size:12px}.chip.active{background:#2c3e50;color:#fff;border-color:#2c3e50}
