:root { --primary: #eb7125; --secondary: #19367d; --surface: #fff; --background: #f5f3f7; --text: #29242d; --muted: #766f7b; --line: #e8e3eb; }
[data-requires-admin="true"]:not(.role-checked) { visibility: hidden; }
* { box-sizing: border-box; }
html { min-width: 320px; }
body { margin: 0; overflow-x: hidden; font-family: Inter, ui-sans-serif, system-ui, -apple-system, sans-serif; color: var(--text); background: var(--background); }
.app-shell { display: flex; min-height: 100vh; }
.sidebar { position: relative; width: 248px; flex-shrink: 0; padding: 30px 16px; color: #fff; background: linear-gradient(180deg, #19367d 0%, #102a5b 100%); transition: width .18s ease, padding .18s ease; }
.sidebar-toggle { display: block; width: 100%; margin: 0 0 18px; padding: 9px 12px; border: 1px solid rgba(255,255,255,.22); border-radius: 8px; color: rgba(255,255,255,.86); background: rgba(255,255,255,.08); cursor: pointer; font: inherit; font-size: .78rem; font-weight: 800; text-align: left; }
.sidebar-toggle:hover { background: rgba(255,255,255,.16); }
.sidebar-collapsed .sidebar { width: 76px; padding-left: 10px; padding-right: 10px; }
.sidebar-collapsed .brand { justify-content: center; margin-left: 0; margin-right: 0; }
.sidebar-collapsed .brand .school-logo { display: none; }
.sidebar-collapsed .brand::after { content: "MCA"; display: grid; width: 50px; height: 50px; place-items: center; border: 2px solid rgba(255,255,255,.72); border-radius: 12px; color: var(--primary); background: #fff; font-size: .72rem; font-weight: 900; letter-spacing: .04em; }
.sidebar-collapsed .nav-item { padding-left: 12px; padding-right: 12px; font-size: 0; text-align: center; }
.sidebar-collapsed .nav-item::before { content: "•"; font-size: 1.2rem; }
.sidebar-collapsed .sidebar-toggle { font-size: 0; text-align: center; }
.sidebar-collapsed .sidebar-toggle::before { content: "»"; font-size: 1.1rem; }
.brand { display: flex; align-items: center; justify-content: center; margin: 4px 0 36px; font-size: 1.1rem; font-weight: 750; }
.school-logo, .auth-school-logo { display: block; width: 172px !important; max-width: 100%; height: auto !important; object-fit: contain; }
.nav-item { display: block; padding: 13px 16px; border-radius: 10px; color: rgba(255,255,255,.82); text-decoration: none; font-weight: 650; }
.nav-item.active, .nav-item:hover { background: rgba(255,255,255,.16); }
.nav-item + .nav-item { margin-top: 6px; }
.main-content { width: 100%; max-width: 1560px; min-width: 0; flex: 1 1 0; padding: 42px clamp(22px, 4vw, 64px) 64px; margin: 0 auto; }
.page-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 28px; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
body[data-design-mode="classic"] { background: #f3f4f6; }
body[data-design-mode="classic"] .card { box-shadow: none; border-radius: 8px; }
body[data-design-mode="classic"] .page-header { border-bottom-color: #d7d2db; }
.dashboard-tabs { display: flex; gap: 6px; margin-bottom: 24px; padding: 5px; border: 1px solid var(--line); border-radius: 14px; background: #ebe7ee; }
.dashboard-tab { flex: 1; border: 0; border-radius: 10px; padding: 13px 18px; color: var(--muted); background: transparent; cursor: pointer; font: inherit; font-weight: 800; transition: color .15s ease, background .15s ease, box-shadow .15s ease; }
.dashboard-tab:hover { color: var(--secondary); background: rgba(255,255,255,.7); }
.dashboard-tab.active { color: #fff; background: var(--secondary); box-shadow: 0 4px 12px rgba(55,38,62,.16); }
.dashboard-panel[hidden] { display: none; }
.dashboard-panel.active { animation: dashboard-panel-in .18s ease-out; }
@keyframes dashboard-panel-in { from { opacity: .65; transform: translateY(3px); } to { opacity: 1; transform: translateY(0); } }
.eyebrow { margin: 0 0 7px; color: var(--primary); font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
h1, h2 { margin: 0; } h1 { font-size: clamp(2rem, 4vw, 3rem); } h2 { font-size: 1.25rem; }
.subtitle { margin: 10px 0 0; color: var(--muted); }
.refresh-button { border: 0; border-radius: 8px; padding: 11px 17px; color: #fff; background: var(--primary); cursor: pointer; font-weight: 700; }
.refresh-button:hover { filter: brightness(.94); }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid rgba(235,113,37,.45); outline-offset: 2px; }
.card { overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); box-shadow: 0 8px 24px rgba(55,38,62,.055); }
.card + .card, .dashboard-toolbar + .card { margin-top: 24px; }
.agenda-dashboard-form { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(125px, .85fr) minmax(125px, .85fr) minmax(170px, 1fr); gap: 14px; align-items: end; padding: 22px 25px 18px; }
.agenda-dashboard-form label { display: grid; gap: 5px; color: var(--muted); font-size: .75rem; font-weight: 800; }
.agenda-dashboard-form input { width: 100%; min-width: 0; min-height: 44px; padding: 10px; border: 1px solid #ddd5e1; border-radius: 8px; font: inherit; }
.agenda-dashboard-form .bulk-button { width: 100%; min-height: 44px; white-space: normal; }
.agenda-dashboard-list { display: grid; gap: 8px; max-height: 360px; overflow: auto; padding: 0 25px 25px; }
.agenda-dashboard-item { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 12px 14px; border-left: 4px solid var(--primary); border-radius: 8px; background: #faf8fb; }
.agenda-dashboard-item.is-holiday { border-left-color: #9a7bb2; }
.agenda-dashboard-item div { display: grid; gap: 3px; }
.agenda-dashboard-item small, .agenda-dashboard-item span { color: var(--muted); font-size: .75rem; }
.upcoming-card { margin-bottom: 24px; }
.text-button { border: 0; color: var(--primary); background: transparent; cursor: pointer; font: inherit; font-weight: 800; }
.upcoming-agenda-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 18px 26px 24px; }
.calendar-toolbar { display: flex; align-items: center; justify-content: center; gap: 18px; padding: 20px 26px 14px; }
.calendar-toolbar h3 { min-width: 180px; margin: 0; color: var(--secondary); text-align: center; text-transform: capitalize; }
.calendar-nav { width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; color: var(--secondary); background: #fff; cursor: pointer; font-size: 1.6rem; line-height: 1; }
.calendar-nav:hover { border-color: var(--primary); color: var(--primary); }
.calendar-weekdays, .dashboard-calendar { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); margin: 0 26px; }
.calendar-weekdays { border: 1px solid var(--line); border-bottom: 0; border-radius: 10px 10px 0 0; background: #f8f6f9; }
.calendar-weekdays span { padding: 10px 8px; color: var(--muted); font-size: .75rem; font-weight: 800; text-align: right; text-transform: uppercase; }
.dashboard-calendar { overflow: hidden; border: 1px solid var(--line); border-radius: 0 0 10px 10px; }
.calendar-day { min-height: 112px; padding: 8px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.calendar-day:nth-child(7n) { border-right: 0; }
.calendar-day:nth-last-child(-n+7) { border-bottom: 0; }
.calendar-day.is-outside { background: #faf9fb; }
.calendar-day time { display: block; margin-bottom: 7px; color: var(--secondary); font-size: .82rem; font-weight: 800; text-align: right; }
.calendar-day.is-outside time { color: #c9c3cc; }
.calendar-event { overflow: hidden; margin-top: 4px; padding: 5px 6px; border-left: 3px solid var(--primary); border-radius: 4px; color: var(--secondary); background: #fff1e8; font-size: .7rem; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.calendar-event.is-holiday { border-left-color: #9a7bb2; background: #f0ebf5; }
.calendar-event[data-tooltip] { position: relative; overflow: visible; cursor: help; }
.calendar-event[data-tooltip]::after { position: absolute; z-index: 5; bottom: calc(100% + 7px); left: 0; width: min(280px, calc(100vw - 48px)); padding: 10px 12px; border-radius: 8px; color: #fff; background: var(--secondary); box-shadow: 0 8px 18px rgba(55,38,62,.2); content: attr(data-tooltip); font-size: .72rem; font-weight: 500; line-height: 1.45; white-space: pre-line; opacity: 0; pointer-events: none; transform: translateY(4px); transition: opacity .15s ease, transform .15s ease; }
.calendar-event[data-tooltip]:hover::after, .calendar-event[data-tooltip]:focus-visible::after { opacity: 1; transform: translateY(0); }
.calendar-more { display: block; margin-top: 5px; color: var(--muted); font-size: .7rem; font-weight: 700; }
@media (max-width: 1200px) { .agenda-dashboard-form { grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(120px, 1fr)); } .agenda-dashboard-form .bulk-button { grid-column: 1 / -1; justify-self: start; width: auto; } }
@media (max-width: 800px) { .agenda-dashboard-form { grid-template-columns: 1fr; } .agenda-dashboard-form .bulk-button { grid-column: auto; width: 100%; } }
.action-card { margin-bottom: 24px; }
.bulk-form { display: flex; align-items: flex-end; gap: 18px; padding: 22px 25px; }
.bulk-form label { display: flex; flex: 1; flex-direction: column; gap: 7px; color: var(--muted); font-size: .85rem; font-weight: 700; }
.bulk-form input { border: 1px solid #d8d1dc; border-radius: 8px; padding: 11px 12px; color: var(--text); background: #fff; font: inherit; font-weight: 400; }
.bulk-button { border: 0; border-radius: 8px; padding: 12px 18px; color: #fff; background: var(--primary); cursor: pointer; font-weight: 800; white-space: nowrap; }
.bulk-button:hover { filter: brightness(.94); }
.action-message { padding: 0 25px 20px; color: var(--secondary); font-weight: 700; }
.admin-card { margin-bottom: 24px; }
.admin-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: end; gap: 16px; padding: 24px 25px; }
.admin-form label { display: flex; flex-direction: column; gap: 7px; color: var(--muted); font-size: .85rem; font-weight: 700; }
.admin-form input { width: 100%; min-width: 0; border: 1px solid #d8d1dc; border-radius: 8px; padding: 11px 12px; font: inherit; }
.admin-form select { border: 1px solid #d8d1dc; border-radius: 8px; padding: 11px 12px; color: var(--text); background: #fff; font: inherit; }
.admin-form button[type="submit"] { grid-column: 1 / -1; justify-self: start; margin-top: 4px; }
.admin-form .full-width { grid-column: 1 / -1; }
.compact-form { grid-template-columns: 1fr 1fr auto; }
.import-content { padding: 22px 25px 25px; }
.rollout-card { border: 2px solid var(--primary); }
.rollout-form { padding: 24px 25px; }
.rollout-form > label { display: flex; max-width: 420px; flex-direction: column; gap: 7px; color: var(--muted); font-size: .85rem; font-weight: 700; }
.rollout-form select, .course-row input, .course-row select { border: 1px solid #d8d1dc; border-radius: 8px; padding: 11px 12px; color: var(--text); background: #fff; font: inherit; }
.course-list { display: flex; flex-direction: column; gap: 10px; margin: 20px 0; }
.course-row { display: grid; grid-template-columns: 2fr 1fr 1.5fr auto; gap: 10px; }
.remove-course { border: 0; border-radius: 8px; padding: 0 13px; color: #a42c2c; background: #fff0f0; cursor: pointer; font-size: 1.2rem; }
.rollout-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.secondary-button { border: 1px solid var(--secondary); border-radius: 8px; padding: 11px 16px; color: var(--secondary); background: #fff; cursor: pointer; font-weight: 700; }
.import-content p { margin-top: 0; color: var(--muted); }
.upload-zone { display: flex; flex-direction: column; gap: 7px; width: 100%; margin: 18px 0; padding: 22px; border: 2px dashed #d8d1dc; border-radius: 10px; color: var(--secondary); cursor: pointer; }
.upload-zone input { margin-top: 6px; }
.checkbox-column { width: 48px; text-align: center; }
.checkbox-column input { accent-color: var(--primary); }
.card-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 26px; border-bottom: 1px solid #eeeaf0; }
.dashboard-metrics { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin-bottom: 24px; }
.dashboard-metrics .kpi-card { min-height: 118px; padding: 20px; border-radius: 14px; }
.dashboard-metrics .kpi-card strong { font-size: 2.15rem; }
.dashboard-planning, .dashboard-attention, .dashboard-actions, .dashboard-agenda { margin-bottom: 24px; }
.dashboard-students { margin-top: 28px; }
.dashboard-students .card-header, .dashboard-stages .card-header, .dashboard-companies .card-header { background: #fcfbfd; }
.dashboard-form-card { margin-top: 24px; }
.attention-card { margin-bottom: 24px; }
.attention-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding: 18px 26px 24px; }
.attention-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px; border: 1px solid #e9e4eb; border-radius: 10px; color: var(--text); background: #fffaf7; cursor: pointer; font: inherit; text-align: left; }
.attention-item:disabled { cursor: default; opacity: .8; }
.attention-item strong { color: var(--primary); font-size: 1.35rem; }
.exam-week-card { margin-top: 24px; }
.exam-overview-list { display: grid; gap: 8px; padding: 0 25px 20px; }
.exam-overview-item { display: flex; justify-content: space-between; gap: 16px; padding: 12px 14px; border: 1px solid #e9e4eb; border-radius: 9px; color: var(--text); background: #fcfbfd; text-decoration: none; }
.exam-overview-item:hover { border-color: var(--primary); background: #fffaf7; }
.exam-overview-item span { color: var(--muted); text-align: right; }
.exam-missed-heading { margin-top: 4px; border-top: 1px solid #eee9f0; padding-top: 20px; }
.exam-status-value { display: block; padding: 8px; border: 1px solid #dcd5df; border-radius: 7px; color: var(--secondary); background: #f8f6f9; font-weight: 700; }
@media (max-width: 700px) { .exam-overview-item { flex-direction: column; gap: 4px; } .exam-overview-item span { text-align: left; } }
.quick-actions-card { margin-bottom: 24px; }
.quick-actions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding: 18px 26px 24px; }
.quick-action { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 16px; border: 1px solid #e9e4eb; border-radius: 10px; color: var(--text); background: #fff; cursor: pointer; font: inherit; text-align: left; }
.quick-action:hover { border-color: var(--primary); background: #fffaf7; transform: translateY(-1px); }
.quick-action strong { color: var(--secondary); }
.quick-action span { color: var(--muted); font-size: .82rem; }
.student-count { color: var(--muted); font-size: .9rem; }
.table-wrapper { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; min-width: 680px; }
th, td { padding: 17px 25px; text-align: left; vertical-align: top; border-bottom: 1px solid #f0edf2; }
th { color: var(--muted); background: #fcfbfc; font-size: .78rem; letter-spacing: .05em; text-transform: uppercase; }
tbody tr:hover { background: #fffaf7; } tbody tr:last-child td { border-bottom: 0; }
.status { font-weight: 700; } .progress { font-variant-numeric: tabular-nums; font-weight: 700; }
.progress-cell { min-width: 190px; }
.progress-label { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.progress-label span, .progress-cell small { color: var(--muted); font-size: .75rem; font-weight: 500; }
.progress-track { height: 8px; margin: 7px 0 4px; overflow: hidden; border-radius: 999px; background: #eee9f0; }
.progress-track span { display: block; height: 100%; border-radius: inherit; background: var(--primary); }
.progress-behind { color: #a42c2c !important; } .progress-ahead { color: #28734a !important; }
.component-list { display: flex; min-width: 245px; gap: 4px; flex-wrap: wrap; }
.component-list span { padding: 4px 7px; border-radius: 999px; color: var(--secondary); background: #eee9f0; font-size: .72rem; white-space: nowrap; }
.stage-attention { background: #fff8e8; }
.stage-attention:hover { background: #fff2d2; }
.loading, .error-message { color: var(--muted); text-align: center; }
.error-message { padding: 16px 25px; color: #a42c2c; background: #fff2f2; text-align: left; }
.admin-tabs { display: flex; flex-wrap: wrap; align-items: stretch; gap: 12px; max-width: 100%; margin-bottom: 24px; }
.admin-dropdown { position: relative; }
.admin-dropdown-toggle, .admin-tab { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 12px 18px; border: 1px solid #d8d1dc; border-radius: 12px; color: var(--secondary); background: #fff; cursor: pointer; font: inherit; font-size: .97rem; font-weight: 800; white-space: nowrap; box-shadow: 0 4px 12px rgba(25, 54, 125, .04); }
.admin-dropdown-toggle { min-width: 150px; }
.admin-dropdown-toggle span { font-size: 1rem; }
.admin-tab-main { min-width: 170px; }
.admin-dropdown-toggle:hover, .admin-tab:hover { border-color: rgba(25,54,125,.32); background: #f5f7ff; }
.admin-tab.active, .admin-tab:hover.active { color: #fff; background: var(--secondary); border-color: var(--secondary); }
.admin-tab.active { box-shadow: 0 8px 18px rgba(25,54,125,.15); }
.admin-dropdown-toggle[aria-expanded="true"], .admin-dropdown.is-open .admin-dropdown-toggle { border-color: var(--secondary); background: #eef3ff; color: var(--secondary); }
.admin-dropdown-menu { position: absolute; z-index: 20; left: 0; top: calc(100% + 8px); display: none; min-width: 230px; padding: 8px; border: 1px solid #d8d1dc; border-radius: 12px; background: #fff; box-shadow: 0 18px 36px rgba(25,54,125,.12); }
.admin-dropdown.is-open .admin-dropdown-menu { display: grid; gap: 8px; }
.admin-dropdown-menu .admin-tab { width: 100%; justify-content: flex-start; border: 0; border-radius: 10px; background: transparent; box-shadow: none; }
.admin-dropdown-menu .admin-tab:hover, .admin-dropdown-menu .admin-tab.active { color: #fff; background: var(--secondary); }
.admin-tab:focus-visible, .admin-dropdown-toggle:focus-visible { outline: 3px solid rgba(25,54,125,.2); outline-offset: 2px; }
.admin-tab-legacy { display: none; }
.admin-panel { display: none; } .admin-panel.active { display: block; }
.admin-grid { display: grid; grid-template-columns: minmax(420px, .9fr) minmax(520px, 1.1fr); gap: 24px; }
.admin-card { margin-bottom: 24px; }
.admin-form textarea { border: 1px solid #d8d1dc; border-radius: 8px; padding: 11px 12px; color: var(--text); background: #fff; font: inherit; resize: vertical; }
.crebo-picker { display: grid; gap: 7px; }
.crebo-picker > label { color: var(--muted); font-size: .85rem; font-weight: 700; }
.crebo-picker > input { width: 100%; border: 1px solid #d8d1dc; border-radius: 8px; padding: 11px 12px; color: var(--text); background: #fff; font: inherit; }
.crebo-selected { display: flex; gap: 8px; flex-wrap: wrap; min-height: 4px; }
.crebo-chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 10px; border-radius: 999px; color: var(--secondary); background: #eee9f0; font-size: .82rem; font-weight: 700; }
.crebo-chip-remove { border: 0; padding: 0; color: var(--secondary); background: transparent; cursor: pointer; font-size: 1.1rem; line-height: 1; }
.crebo-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 9px; max-height: 230px; overflow-y: auto; padding: 10px; border: 1px solid #d8d1dc; border-radius: 8px; background: #fcfbfc; }
.crebo-option { min-height: 48px; padding: 11px 12px; border: 1px solid #e4dfe6; border-radius: 8px; color: var(--text); background: #fff; cursor: pointer; font: inherit; font-size: .85rem; font-weight: 600; text-align: left; }
.crebo-option:hover { border-color: var(--primary); background: #fffaf7; }
.crebo-picker small { color: var(--muted); font-size: .78rem; font-weight: 400; }
.stage-hours-fieldset { grid-column: 1 / -1; min-width: 0; margin: 0; padding: 18px; border: 1px solid #e4dfe6; border-radius: 12px; }
.stage-hours-fieldset legend { padding: 0 8px; color: var(--secondary); font-weight: 800; }
.field-help { margin: 0 0 16px; color: var(--muted); font-size: .9rem; }
.stage-hours-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.stage-hours-card { padding: 16px; border: 1px solid #eee8f0; border-radius: 10px; background: #fcfbfc; }
.stage-hours-card h3 { margin: 0 0 14px; color: var(--secondary); font-size: 1rem; }
.stage-hours-row { display: grid; gap: 9px; }
.stage-hours-row label { display: grid; grid-template-columns: 1fr minmax(110px, 140px); align-items: center; gap: 12px; color: var(--muted); font-size: .85rem; font-weight: 700; }
.stage-hours-row input { width: 100%; padding: 10px 8px; text-align: center; }
.coach-cohort-list { display: grid; gap: 8px; grid-column: 1 / -1; }
.coach-cohort-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border: 1px solid #e4dfe6; border-radius: 8px; }
.admin-form select[multiple] { min-height: 120px; }
.header-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.stage-toolbar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: end; gap: 16px; margin: 0; padding: 22px 25px 24px; border-bottom: 1px solid #eeeaf0; background: #fcfbfd; }
.stage-toolbar .search-field { width: 100%; }
.stage-toolbar .search-field input, .stage-toolbar .search-field select { min-height: 44px; }
.admin-overview-kpis { grid-template-columns: repeat(4, 1fr); }
.overview-attention { display: flex; gap: 12px; flex-wrap: wrap; padding: 22px 25px; color: var(--muted); }
.overview-attention-item { border: 1px solid #e5c4b1; border-radius: 9px; padding: 12px 16px; color: #9b4d1f; background: #fff7f2; cursor: pointer; font: inherit; font-weight: 700; }
.auth-shell { display: grid; min-height: 100vh; place-items: center; padding: 24px; }
.auth-card { width: min(100%, 440px); padding: 34px; }
.auth-school-logo { margin: 4px auto 28px; }
.auth-card { width: min(520px, 100%); padding: 28px; }
.auth-card .admin-form { padding: 20px 0 0; }
.admin-filter-bar { display: flex; align-items: end; gap: 16px; flex-wrap: wrap; padding: 20px 25px; border-bottom: 1px solid #eeeaf0; }
.admin-filter-bar label { display: flex; min-width: 220px; flex-direction: column; gap: 7px; color: var(--muted); font-size: .85rem; font-weight: 700; }
.admin-filter-bar input, .admin-filter-bar select { border: 1px solid #d8d1dc; border-radius: 8px; padding: 11px 12px; color: var(--text); background: #fff; font: inherit; }
.admin-filter-bar .checkbox-label { min-width: auto; flex-direction: row; align-items: center; }
.import-history { border-top: 1px solid #eeeaf0; }
.action-message.is-error { color: #a42c2c; } .action-message.is-success { color: var(--secondary); }
.empty-state { padding: 35px 25px; color: var(--muted); } .empty-state strong { color: var(--secondary); }
.kpi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 24px; }
.kpi-card { min-height: 132px; padding: 24px 26px; border-radius: 16px; color: #fff; background: var(--secondary); box-shadow: 0 12px 30px rgba(55,38,62,.12); transition: transform .15s ease, box-shadow .15s ease; }
.kpi-link:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(55,38,62,.18); }
.kpi-card strong { display: block; margin-top: 8px; font-size: 2.5rem; line-height: 1; }
.kpi-link { border: 0; font: inherit; text-align: left; cursor: pointer; }
.kpi-label { font-weight: 700; opacity: .9; }
.kpi-success { background: #377d5a; } .kpi-danger { background: #a42c2c; }
.dashboard-toolbar { display: grid; grid-template-columns: minmax(240px, 1.35fr) repeat(2, minmax(180px, .8fr)); align-items: end; gap: 14px; margin: 28px 0 14px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.dashboard-toolbar .status-pills { grid-column: 1 / -1; padding-top: 2px; }
.search-field { display: flex; width: min(430px, 100%); flex-direction: column; gap: 7px; color: var(--muted); font-size: .85rem; font-weight: 700; }
.search-field input, .search-field select { border: 1px solid #d8d1dc; border-radius: 9px; padding: 12px 14px; color: var(--text); background: #fff; font: inherit; }
.status-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.status-pill { border: 1px solid #d8d1dc; border-radius: 999px; padding: 10px 15px; color: var(--secondary); background: #fff; cursor: pointer; font: inherit; font-weight: 700; }
.status-pill.active, .status-pill:hover { border-color: var(--secondary); color: #fff; background: var(--secondary); }
.dashboard-table small { display: block; margin-top: 4px; color: var(--muted); font-size: .8rem; }
.student-link { color: var(--text); text-decoration: none; } .student-link:hover { color: var(--primary); }
.status-badge { display: inline-flex; align-items: center; gap: 5px; border-radius: 999px; padding: 7px 10px; font-size: .82rem; font-weight: 800; }
.status-vertraagt { color: #8e2020; background: #ffe3e3; } .status-op-schema { color: #856300; background: #fff2c7; } .status-versnelt { color: #246342; background: #ddf4e7; }
@media (max-width: 1200px) { .dashboard-metrics { grid-template-columns: repeat(3, 1fr); } .attention-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 1100px) { .kpi-grid { grid-template-columns: repeat(2, 1fr); } .quick-actions { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 800px) { .kpi-grid, .dashboard-metrics { grid-template-columns: 1fr; } .dashboard-toolbar { display: flex; align-items: stretch; flex-direction: column; } .search-field { width: 100%; } }
@media (max-width: 700px) { .upcoming-agenda-list { grid-template-columns: 1fr; padding: 16px 18px 20px; } .calendar-weekdays, .dashboard-calendar { margin-left: 18px; margin-right: 18px; } .calendar-day { min-height: 86px; padding: 5px; } .calendar-event { font-size: .62rem; } .calendar-toolbar { padding-left: 18px; padding-right: 18px; } .calendar-toolbar h3 { min-width: 140px; } }
@media (max-width: 520px) { .quick-actions { grid-template-columns: 1fr; } }
@media (max-width: 1000px) { .dashboard-toolbar { align-items: stretch; flex-direction: column; } .search-field { width: 100%; } }
@media (max-width: 700px) { .stage-toolbar { grid-template-columns: 1fr; padding: 18px; } .agenda-dashboard-form, .agenda-dashboard-list { padding-left: 18px; padding-right: 18px; } }
@media (max-width: 700px) { .admin-tabs { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .dashboard-tabs { overflow-x: auto; } .dashboard-tab { min-width: 120px; padding: 12px 14px; } }
@media (max-width: 1100px) { .stage-hours-cards { grid-template-columns: 1fr; } .stage-hours-card { max-width: none; } }
@media (max-width: 900px) { .admin-form { grid-template-columns: repeat(2, 1fr); } .course-row { grid-template-columns: 1fr 1fr; } }
@media (max-width: 1100px) { .admin-grid { grid-template-columns: 1fr; } }
@media (max-width: 1200px) and (min-width: 701px) { .app-shell:not(.sidebar-collapsed) .sidebar { width: 190px; } .main-content { padding-left: 30px; padding-right: 30px; } }
@media (max-width: 700px) { .app-shell { display: block; } .sidebar, .sidebar-collapsed .sidebar { width: 100%; padding: 18px; } .sidebar-toggle, .sidebar-collapsed .sidebar-toggle { display: none; } .brand, .sidebar-collapsed .brand { justify-content: flex-start; margin-bottom: 18px; } .brand > span:last-child, .sidebar-collapsed .brand > span:last-child { display: inline; } .sidebar nav, .sidebar-collapsed .sidebar nav { display: flex; gap: 8px; } .nav-item + .nav-item { margin-top: 0; } .nav-item, .sidebar-collapsed .nav-item { overflow: visible; padding: 13px 12px; font-size: .9rem; text-align: left; white-space: normal; } .sidebar-collapsed .nav-item::before { content: none; } .main-content { padding: 30px 16px; } .page-header { align-items: flex-start; flex-direction: column; } .page-header .refresh-button { width: 100%; } .bulk-form, .admin-form { align-items: stretch; flex-direction: column; display: flex; } .admin-form button[type="submit"] { width: 100%; } .card-header { padding: 18px; } th, td { padding: 14px 18px; } th:nth-child(5), td:nth-child(5) { display: none; } }
@media (max-width: 1024px) { .table-wrapper table { min-width: 100%; } th:nth-child(5), td:nth-child(5) { display: none; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; } }
