:root {
    color-scheme: light;
    --ink: #17212b;
    --muted: #718096;
    --line: #e8edf2;
    --panel: #ffffff;
    --canvas: #f6f8fb;
    --primary: #2357d9;
    --primary-soft: #edf2ff;
    --sidebar: #101b2b;
    --sidebar-muted: #94a3b8;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--canvas); }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.app-shell { display: flex; min-height: 100vh; }
.sidebar { width: 256px; display: flex; flex-direction: column; padding: 28px 16px 18px; color: #fff; background: var(--sidebar); }
.brand { display: flex; align-items: center; gap: 12px; padding: 0 12px 32px; }
.brand strong, .brand small { display: block; }
.brand strong { font-size: 17px; letter-spacing: -.02em; }
.brand small { margin-top: 3px; color: var(--sidebar-muted); font-size: 11px; }
.brand-mark { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 10px; color: #fff; background: var(--primary); font-weight: 800; }
.main-nav { display: grid; gap: 5px; }
.nav-item { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 9px; color: var(--sidebar-muted); font-size: 14px; transition: .15s ease; }
.nav-item:hover, .nav-item.is-active { color: #fff; background: rgba(255,255,255,.09); }
.nav-item.is-active { box-shadow: inset 3px 0 0 #6f91ff; }
.nav-icon { width: 18px; color: currentColor; text-align: center; font-size: 16px; }
.sidebar-footer { display: flex; align-items: center; gap: 8px; margin-top: auto; padding: 16px 12px 0; border-top: 1px solid rgba(255,255,255,.1); color: var(--sidebar-muted); font-size: 12px; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #43d17d; }

.main-content { flex: 1; min-width: 0; }
.topbar { display: flex; align-items: center; justify-content: space-between; min-height: 74px; padding: 0 42px; border-bottom: 1px solid var(--line); background: var(--panel); }
.breadcrumb { color: var(--muted); font-size: 13px; }
.breadcrumb span { padding: 0 8px; color: #c2cad4; }
.topbar-actions { display: flex; align-items: center; gap: 18px; }
.avatar { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 50%; color: #3550a7; background: #e3e9ff; font-size: 12px; font-weight: 700; }
.content-wrapper { max-width: 1180px; margin: 0 auto; padding: 48px 42px 64px; }
.page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.heading-actions { display: flex; gap: 9px; flex-wrap: wrap; }
.eyebrow { color: var(--primary); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
h1 { margin: 8px 0 8px; font-size: clamp(28px, 3vw, 38px); letter-spacing: -.04em; }
.page-heading p { max-width: 650px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }
.card { border: 1px solid var(--line); border-radius: 14px; background: var(--panel); box-shadow: 0 8px 30px rgba(25, 47, 80, .04); }
.table-card { overflow: hidden; }
.card-header { display: flex; align-items: center; justify-content: space-between; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.card-header h2 { margin: 0 0 5px; font-size: 17px; }
.card-header p { margin: 0; color: var(--muted); font-size: 13px; }
.table-scroll { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; text-align: left; }
.data-table th { padding: 13px 24px; color: var(--muted); background: #fbfcfd; font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; }
.data-table td { padding: 17px 24px; border-top: 1px solid var(--line); color: #445266; font-size: 13px; white-space: nowrap; }
.data-table tbody tr:hover { background: #fbfcff; }
.person-cell, .color-value, .row-actions { display: flex; align-items: center; gap: 9px; }
.person-cell strong { color: var(--ink); font-weight: 700; }
.color-dot, .color-sample { display: inline-block; flex: 0 0 auto; border: 2px solid #fff; box-shadow: 0 0 0 1px #dbe2ea; }
.color-dot { width: 9px; height: 9px; border-radius: 50%; }
.color-sample { width: 15px; height: 15px; border-radius: 4px; }
.muted { color: #a3adba; }
.status-pill { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 5px 9px; font-size: 11px; font-weight: 700; }
.status-pill::before { width: 6px; height: 6px; border-radius: 50%; content: ''; }
.status-active { color: #237c51; background: #e9f8ef; }
.status-active::before { background: #36b970; }
.status-inactive { color: #687486; background: #eef1f4; }
.status-inactive::before { background: #9ca7b5; }
.table-action { padding: 0; border: 0; color: var(--primary); background: transparent; cursor: pointer; font-size: 12px; font-weight: 700; }
.table-action:hover { text-decoration: underline; }
.table-action-danger { color: #c34f5d; }
.loading-state { padding: 44px; color: var(--muted); text-align: center; font-size: 13px; }
.empty-state.compact { min-height: 260px; border: 0; border-radius: 0; box-shadow: none; }
.alert { margin-bottom: 18px; border-radius: 9px; padding: 12px 15px; font-size: 13px; }
.alert-error { color: #9a2e3c; border: 1px solid #f2c8ce; background: #fff4f5; }
.modal { width: min(560px, calc(100% - 32px)); padding: 0; border: 0; border-radius: 16px; color: var(--ink); box-shadow: 0 24px 80px rgba(16, 27, 43, .25); }
.modal::backdrop { background: rgba(16, 27, 43, .45); }
.modal form { padding: 26px; }
.modal-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 24px; }
.modal-header h2 { margin: 7px 0 0; font-size: 22px; letter-spacing: -.03em; }
.icon-button { width: 30px; height: 30px; border: 0; border-radius: 7px; color: var(--muted); background: #f1f4f7; cursor: pointer; font-size: 21px; line-height: 1; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.form-field { display: grid; gap: 7px; color: #526175; font-size: 12px; font-weight: 700; }
.form-field-wide { grid-column: 1 / -1; }
.form-field b { color: #c34f5d; }
.form-field input, .form-field select, .form-field textarea { width: 100%; border: 1px solid #dbe2ea; border-radius: 8px; padding: 10px 11px; color: var(--ink); background: #fff; font: inherit; font-size: 13px; font-weight: 400; outline: none; }
.form-field input:focus, .form-field textarea:focus { border-color: #8da8ff; box-shadow: 0 0 0 3px #edf2ff; }
.form-field input[type="color"] { height: 38px; padding: 4px; }
.form-field select { min-height: 38px; }
.form-field select[multiple] { min-height: 100px; }
.form-field textarea { resize: vertical; }
.field-error { min-height: 14px; color: #c34f5d; font-size: 11px; font-weight: 500; }
.checkbox-field { display: flex; align-items: center; gap: 8px; color: #526175; font-size: 13px; font-weight: 600; }
.checkbox-field input { accent-color: var(--primary); }
.modal-footer { display: flex; justify-content: flex-end; gap: 9px; margin-top: 12px; padding-top: 20px; border-top: 1px solid var(--line); }
.button-secondary { color: #526175; background: #eef2f6; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.group-tree { padding: 12px 24px 26px; }
.tree-group { padding: 12px 0; border-bottom: 1px solid var(--line); }
.tree-group:last-child { border-bottom: 0; }
.tree-row { display: flex; align-items: center; gap: 11px; min-height: 48px; }
.tree-row-academic { padding: 8px 0; }
.tree-row-subject { padding-left: calc(var(--depth) * 28px + 18px); }
.tree-node-dot { width: 10px; height: 10px; flex: 0 0 auto; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); }
.tree-row-subject .tree-node-dot { width: 7px; height: 7px; box-shadow: none; background: #aab5c4; }
.tree-branch { width: 12px; color: #b2bdca; }
.tree-label { display: grid; gap: 3px; min-width: 170px; flex: 1; }
.tree-label strong { color: var(--ink); font-size: 14px; }
.tree-label small { color: var(--muted); font-size: 11px; }
.tree-actions { display: flex; gap: 12px; margin-left: auto; }
.tree-empty { padding: 7px 0 7px 42px; color: #a3adba; font-size: 12px; }
.days-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; padding: 22px 24px 28px; }
.day-card { border: 1px solid var(--line); border-radius: 11px; background: #fbfcfd; }
.day-card-header { display: flex; align-items: center; justify-content: space-between; padding: 16px 17px; border-bottom: 1px solid var(--line); }
.day-card-header h3 { margin: 0 0 3px; font-size: 15px; }
.day-card-header span { color: var(--muted); font-size: 11px; }
.slot-list { padding: 6px 0; }
.slot-row { display: flex; align-items: center; gap: 8px; padding: 10px 13px; border-bottom: 1px solid var(--line); font-size: 12px; }
.slot-row:last-child { border-bottom: 0; }
.slot-position { display: grid; width: 20px; height: 20px; place-items: center; border-radius: 5px; color: var(--primary); background: var(--primary-soft); font-size: 10px; font-weight: 800; }
.slot-row strong { min-width: 105px; color: var(--ink); }
.slot-type { margin-right: auto; color: #3a9064; font-size: 10px; font-weight: 700; text-transform: uppercase; }
.slot-break { color: #a7823b; }
.copy-targets { display: grid; gap: 9px; margin: 20px 0 0; padding: 14px; border: 1px solid var(--line); border-radius: 8px; }
.copy-targets legend { padding: 0 5px; color: #526175; font-size: 12px; font-weight: 700; }
.tabs { display: flex; gap: 4px; margin-bottom: 14px; }
.tab { border: 0; border-radius: 7px; padding: 8px 13px; color: var(--muted); background: transparent; cursor: pointer; font-size: 12px; font-weight: 700; }
.tab.is-active { color: var(--primary); background: var(--primary-soft); }
.event-row { display: flex; align-items: center; gap: 18px; padding: 18px 24px; border-top: 1px solid var(--line); }
.event-date { min-width: 145px; color: var(--primary); font-size: 12px; font-weight: 800; }
.event-info { display: grid; gap: 4px; flex: 1; }
.event-info strong { color: var(--ink); font-size: 14px; }
.event-info span { color: var(--muted); font-size: 12px; }
.event-actions { display: flex; gap: 12px; }
.events-calendar { padding: 20px 24px 26px; }
.calendar-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.calendar-event { display: grid; gap: 6px; padding: 15px; border-left: 3px solid var(--primary); border-radius: 8px; background: var(--primary-soft); }
.calendar-event-time, .calendar-event small { color: var(--muted); font-size: 11px; }
.calendar-event strong { font-size: 13px; }
.empty-state { min-height: 320px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 36px; text-align: center; }
.empty-icon { display: grid; width: 52px; height: 52px; place-items: center; margin-bottom: 16px; border-radius: 16px; color: var(--primary); background: var(--primary-soft); font-size: 24px; }
.empty-state h2 { margin: 0 0 8px; font-size: 19px; }
.empty-state p { max-width: 470px; margin: 0 0 18px; color: var(--muted); line-height: 1.6; }
.button { border: 0; border-radius: 8px; padding: 11px 16px; cursor: pointer; font-size: 13px; font-weight: 700; }
.button-primary { color: #fff; background: var(--primary); }
.button:disabled { cursor: not-allowed; opacity: .55; }
.button-small { padding: 8px 10px; font-size: 11px; }
.badge { display: inline-flex; align-items: center; border-radius: 999px; padding: 6px 10px; font-size: 11px; font-weight: 700; }
.badge-neutral { color: #526175; background: #eef2f6; }
.error-page { max-width: 680px; margin: 80px auto; padding: 32px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.error-page pre { overflow: auto; padding: 16px; color: #9a2e3c; background: #fff4f5; white-space: pre-wrap; }
.modal-wide { width: min(760px, calc(100% - 32px)); }
.rule-config { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
.rule-config-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.form-hint { margin: 14px 0 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.severity-pill { display: inline-flex; border-radius: 999px; padding: 5px 8px; font-size: 10px; font-weight: 800; }
.severity-hard { color: #a33b48; background: #fff0f2; }
.severity-medium { color: #93631c; background: #fff6df; }
.severity-soft { color: #3866a7; background: #edf4ff; }
.rule-summary { max-width: 240px; overflow: hidden; text-overflow: ellipsis; }
.inline-field { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; font-weight: 700; }
.inline-field input { width: 54px; border: 1px solid #dbe2ea; border-radius: 8px; padding: 10px 7px; color: var(--ink); background: #fff; font: inherit; font-size: 13px; }
.proposal-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; padding: 20px 24px 26px; }
.proposal-card { display: flex; align-items: center; gap: 12px; min-height: 88px; padding: 15px; border: 1px solid var(--line); border-radius: 11px; color: var(--ink); background: #fff; text-align: left; cursor: pointer; }
.proposal-card:hover, .proposal-card.is-best { border-color: #9eb4ff; background: #f8faff; }
.proposal-rank { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 8px; color: var(--primary); background: var(--primary-soft); font-weight: 800; }
.proposal-main { display: grid; gap: 5px; min-width: 0; flex: 1; }
.proposal-main strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }
.proposal-main small { color: var(--muted); font-size: 10px; line-height: 1.4; }
.proposal-score { display: grid; color: var(--primary); font-size: 20px; font-weight: 800; text-align: right; }
.proposal-score small { color: var(--muted); font-size: 9px; font-weight: 600; }
.schedule-detail { margin-top: 18px; }
.dashboard-stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 13px; margin-bottom: 18px; }
.stat-card { display: grid; gap: 7px; min-height: 116px; padding: 18px; border: 1px solid var(--line); border-radius: 13px; background: var(--panel); box-shadow: 0 8px 30px rgba(25, 47, 80, .04); }
.stat-label { color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.stat-card strong { color: var(--ink); font-size: 30px; letter-spacing: -.05em; }
.stat-card small { color: var(--muted); font-size: 11px; }
.dashboard-columns { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr); gap: 18px; margin-bottom: 18px; }
.dashboard-schedule, .dashboard-problems, .dashboard-events { overflow: hidden; }
.schedule-status { padding: 24px; }
.schedule-hero { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.schedule-hero h3 { margin: 7px 0 5px; color: var(--ink); font-size: 24px; letter-spacing: -.04em; }
.schedule-hero p { margin: 0; color: var(--muted); font-size: 12px; }
.dashboard-score { display: grid; color: var(--primary); font-size: 34px; letter-spacing: -.06em; text-align: right; }
.dashboard-score small { color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.schedule-metrics { display: flex; gap: 9px; margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); }
.schedule-metrics span { padding: 8px 11px; border-radius: 7px; color: var(--muted); background: #f6f8fb; font-size: 10px; font-weight: 800; }
.schedule-metrics b { margin-right: 3px; color: var(--ink); font-size: 13px; }
.dashboard-list { padding: 8px 24px 16px; }
.dashboard-list-item { display: flex; align-items: flex-start; gap: 10px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.dashboard-list-item:last-child { border-bottom: 0; }
.dashboard-list-item > span { display: grid; width: 20px; height: 20px; flex: 0 0 auto; place-items: center; border-radius: 50%; font-size: 11px; font-weight: 800; }
.dashboard-list-item p { margin: 2px 0 0; color: #526175; font-size: 12px; line-height: 1.45; }
.problem-hard > span { color: #a33b48; background: #fff0f2; }
.problem-medium > span { color: #93631c; background: #fff6df; }
.problem-soft > span { color: #3866a7; background: #edf4ff; }
.problem-info > span, .problem-ok > span { color: #237c51; background: #e9f8ef; }
.dashboard-event-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; padding: 20px 24px 26px; }
.dashboard-event { display: flex; align-items: flex-start; gap: 12px; padding: 14px; border-left: 3px solid var(--primary); border-radius: 8px; background: var(--primary-soft); }
.dashboard-event-date { min-width: 112px; color: var(--primary); font-size: 11px; font-weight: 800; }
.dashboard-event div { display: grid; gap: 5px; }
.dashboard-event strong { color: var(--ink); font-size: 12px; }
.dashboard-event small { color: var(--muted); font-size: 10px; }
.schedule-toolbar { margin-bottom: 18px; }
.schedule-filter-grid { display: grid; grid-template-columns: 1.25fr 1fr 1.25fr auto; align-items: end; gap: 16px; padding: 20px 24px; }
.schedule-toolbar-actions { display: flex; gap: 8px; padding-bottom: 1px; }
.timetable-card { overflow: hidden; }
.timetable-scroll { overflow-x: auto; padding: 0 24px 26px; }
.timetable-grid { --day-count: 5; display: grid; min-width: 800px; grid-template-columns: 82px repeat(var(--day-count), minmax(145px, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.timetable-corner, .timetable-day-header, .timetable-hour, .timetable-cell { min-height: 70px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.timetable-corner, .timetable-day-header { display: flex; align-items: center; justify-content: center; min-height: 48px; color: var(--muted); background: #fbfcfd; font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.timetable-day-header { color: var(--ink); }
.timetable-hour { display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 9px; color: var(--ink); background: #fbfcfd; text-align: center; }
.timetable-hour strong { font-size: 12px; }
.timetable-hour small { color: var(--muted); font-size: 10px; }
.timetable-cell { padding: 6px; background: #fff; }
.empty-slot { display: grid; height: 100%; min-height: 56px; place-items: center; color: #c3cbd5; font-size: 12px; }
.class-block { display: grid; width: 100%; min-height: 56px; gap: 5px; padding: 9px 10px; border: 0; border-left: 4px solid var(--subject-color); border-radius: 7px; color: var(--ink); background: color-mix(in srgb, var(--subject-color) 10%, white); text-align: left; cursor: pointer; }
.class-block:hover { box-shadow: 0 4px 14px rgba(25, 47, 80, .12); transform: translateY(-1px); }
.class-block strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
.class-block span, .class-block small { overflow: hidden; color: var(--muted); text-overflow: ellipsis; white-space: nowrap; font-size: 10px; }
.class-detail { margin-top: 18px; }
.class-detail .card-header { align-items: flex-start; }
.class-detail .card-header h2 { margin-top: 7px; font-size: 21px; }
.class-detail .card-header p { margin-top: 4px; }
.class-detail-body { padding: 0 24px 26px; }
.detail-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 0 0 22px; }
.detail-list div { padding: 13px; border-radius: 8px; background: #f7f9fc; }
.detail-list dt { margin-bottom: 5px; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.detail-list dd { margin: 0; color: var(--ink); font-size: 13px; font-weight: 700; }
.class-detail-body h3 { margin: 0 0 11px; font-size: 14px; }
.rule-check-list { display: grid; gap: 8px; }
.rule-check { display: flex; align-items: center; gap: 9px; padding: 10px 12px; border-radius: 8px; font-size: 12px; }
.rule-check span:first-child { font-weight: 800; }
.rule-check-ok { color: #237c51; background: #e9f8ef; }
.rule-check-warning { color: #93631c; background: #fff6df; }
.compare-table td { vertical-align: middle; }
.compare-table td:first-child { width: 38px; }
.compare-table .proposal-rank { width: 24px; height: 24px; }
.table-subtitle { display: block; margin-top: 4px; color: var(--muted); font-size: 10px; text-transform: capitalize; }
.score-value { color: var(--primary); font-size: 16px; }
.is-best-row { background: #f8faff; }
.integrations-card { margin-top: 18px; overflow: hidden; }
.integration-content { padding: 22px 24px 26px; }
.integration-row { display: flex; align-items: flex-start; gap: 14px; }
.integration-icon { display: grid; width: 42px; height: 42px; flex: 0 0 auto; place-items: center; border-radius: 12px; color: var(--primary); background: var(--primary-soft); font-size: 21px; }
.integration-main { min-width: 0; flex: 1; }
.integration-title { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.integration-title h3 { margin: 0; color: var(--ink); font-size: 15px; }
.integration-main p { margin: 6px 0 0; color: var(--muted); font-size: 12px; }
.integration-status { display: inline-flex; align-items: center; gap: 6px; color: #93631c; font-size: 11px; font-weight: 800; }
.integration-status span { width: 7px; height: 7px; border-radius: 50%; background: #d79b37; }
.integration-status.is-connected { color: #237c51; }
.integration-status.is-connected span { background: #3aaf73; }
.permission-list { display: flex; gap: 8px; flex-wrap: wrap; margin: 14px 0 0; padding: 0; list-style: none; }
.permission-list li { padding: 7px 9px; border-radius: 7px; color: #237c51; background: #e9f8ef; font-size: 11px; font-weight: 700; }
.inline-error { padding: 12px; border-radius: 8px; color: #9a2e3c; background: #fff4f5; font-size: 12px; }

@media (max-width: 800px) {
    .sidebar { width: 76px; padding-inline: 10px; }
    .brand { justify-content: center; padding-inline: 0; }
    .brand > span:last-child, .nav-item:not(.is-active)::after, .nav-item { font-size: 0; }
    .nav-item { justify-content: center; padding: 12px; }
    .nav-icon { font-size: 16px; }
    .sidebar-footer { justify-content: center; padding-inline: 0; }
    .sidebar-footer span:last-child { display: none; }
    .topbar { padding-inline: 22px; }
    .content-wrapper { padding: 34px 22px 48px; }
    .page-heading { align-items: flex-start; flex-direction: column; }
    .rule-config-grid { grid-template-columns: 1fr; }
    .schedule-filter-grid, .detail-list { grid-template-columns: 1fr; }
    .schedule-toolbar-actions { flex-wrap: wrap; }
    .dashboard-stats { grid-template-columns: repeat(2, 1fr); }
    .dashboard-columns { grid-template-columns: 1fr; }
    .event-row { align-items: flex-start; flex-direction: column; gap: 8px; }
    .event-date { min-width: 0; }
}
