:root,
[data-theme="dark"] {
    color-scheme: dark;
    --bg-body: #12121f;
    --bg-gradient: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    --bg-sidebar: #16162a;
    --bg-topbar: rgba(22, 22, 42, 0.92);
    --bg-surface: #1a1a2e;
    --bg-surface-2: rgba(255, 255, 255, 0.06);
    --bg-surface-3: rgba(255, 255, 255, 0.10);
    --bg-input: rgba(255, 255, 255, 0.06);
    --bg-overlay: rgba(0, 0, 0, 0.45);
    --bg-row-hover: rgba(255, 255, 255, 0.04);
    --border: rgba(255, 255, 255, 0.12);
    --border-strong: rgba(255, 255, 255, 0.20);
    --text: #e8e8e8;
    --text-strong: #ffffff;
    --text-muted: #a0a0a0;
    --text-faint: #6b6b6b;
    --accent: #e94560;
    --accent-2: #c73e54;
    --accent-contrast: #ffffff;
    --accent-soft: rgba(233, 69, 96, 0.16);
    --accent-border: rgba(233, 69, 96, 0.45);
    --success: #66bb6a;
    --success-soft: rgba(102, 187, 106, 0.16);
    --warning: #ffb74d;
    --warning-soft: rgba(255, 183, 77, 0.16);
    --danger: #ef5350;
    --danger-soft: rgba(239, 83, 80, 0.16);
    --info: #64b5f6;
    --info-soft: rgba(100, 181, 246, 0.16);
    --neutral-soft: rgba(255, 255, 255, 0.10);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.32);
    --select-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23a6adc8' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
}

[data-theme="light"] {
    color-scheme: light;
    --bg-body: #f4f5f9;
    --bg-gradient: linear-gradient(135deg, #f7f8fc 0%, #eef1f8 50%, #e7ecf6 100%);
    --bg-sidebar: #ffffff;
    --bg-topbar: rgba(255, 255, 255, 0.92);
    --bg-surface: #ffffff;
    --bg-surface-2: rgba(15, 23, 42, 0.04);
    --bg-surface-3: rgba(15, 23, 42, 0.08);
    --bg-input: #ffffff;
    --bg-overlay: rgba(15, 23, 42, 0.35);
    --bg-row-hover: rgba(15, 23, 42, 0.03);
    --border: rgba(15, 23, 42, 0.12);
    --border-strong: rgba(15, 23, 42, 0.22);
    --text: #1f2430;
    --text-strong: #0f172a;
    --text-muted: #64748b;
    --text-faint: #94a3b8;
    --accent: #d63652;
    --accent-2: #b62a44;
    --accent-contrast: #ffffff;
    --accent-soft: rgba(214, 54, 82, 0.10);
    --accent-border: rgba(214, 54, 82, 0.40);
    --success: #2e9e58;
    --success-soft: rgba(46, 158, 88, 0.12);
    --warning: #c77700;
    --warning-soft: rgba(199, 119, 0, 0.12);
    --danger: #d33a35;
    --danger-soft: rgba(211, 58, 53, 0.12);
    --info: #1f6fd0;
    --info-soft: rgba(31, 111, 208, 0.12);
    --neutral-soft: rgba(15, 23, 42, 0.06);
    --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.12);
    --select-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
}

:root {
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 20px;
    --space-6: 24px;
    --space-8: 32px;
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
    --fs-xs: 0.78rem;
    --fs-sm: 0.85rem;
    --fs-md: 0.92rem;
    --fs-lg: 1.05rem;
    --fs-xl: 1.25rem;
    --sidebar-width: 232px;
    --sidebar-width-collapsed: 64px;
    --topbar-height: 56px;
    --z-drawer: 900;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    min-height: 100%;
}

body {
    font-family: var(--font-sans);
    font-size: var(--fs-md);
    background: var(--bg-body);
    color: var(--text);
    letter-spacing: 0;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--accent);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

button,
input,
select,
textarea {
    font-family: inherit;
}

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-thumb {
    background: var(--bg-surface-3);
    border-radius: 4px;
}

.theme-transition,
.theme-transition * {
    transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.app-shell {
    display: flex;
    min-height: 100vh;
}

.app-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.app-content {
    flex: 1;
    min-width: 0;
    padding: var(--space-6);
}

.sidebar {
    width: var(--sidebar-width);
    flex-shrink: 0;
    background: var(--bg-sidebar);
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    height: 100vh;
    transition: width 0.18s ease;
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    height: var(--topbar-height);
    padding: 0 var(--space-4);
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
    overflow: hidden;
}

.sidebar-brand:hover {
    text-decoration: none;
}

.sidebar-logo {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: var(--accent-contrast);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: var(--fs-sm);
}

.sidebar-title {
    font-size: var(--fs-md);
    font-weight: 600;
    color: var(--text-strong);
    white-space: nowrap;
}

.sidebar-nav {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
    padding: var(--space-3) var(--space-2);
}

.nav-list {
    list-style: none;
}

.nav-item {
    margin-bottom: 2px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: 9px var(--space-3);
    border: none;
    border-radius: var(--radius-md);
    width: 100%;
    background: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: var(--fs-sm);
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
}

.nav-link:hover {
    background: var(--bg-surface-2);
    color: var(--text-strong);
    text-decoration: none;
}

.nav-link.active {
    background: var(--accent-soft);
    color: var(--accent);
    font-weight: 600;
}

.nav-icon {
    width: 20px;
    flex-shrink: 0;
    text-align: center;
    line-height: 1;
}

.nav-label {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-footer {
    padding: var(--space-3);
    border-top: 1px solid var(--border);
}

.sidebar-footer form {
    display: block;
}

.sidebar-collapsed .sidebar {
    width: var(--sidebar-width-collapsed);
}

.sidebar-collapsed .sidebar-title,
.sidebar-collapsed .nav-label {
    display: none;
}

.sidebar-collapsed .nav-link {
    justify-content: center;
    padding-left: var(--space-2);
    padding-right: var(--space-2);
}

.sidebar-collapsed .sidebar-brand {
    justify-content: center;
    padding: 0;
}

.topbar {
    height: var(--topbar-height);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: 0 var(--space-6);
    background: var(--bg-topbar);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(8px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.topbar-toggle {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--bg-surface-2);
    color: var(--text-muted);
    cursor: pointer;
    font-size: var(--fs-md);
}

.topbar-toggle:hover {
    background: var(--bg-surface-3);
    color: var(--text-strong);
}

.topbar-breadcrumb {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: var(--fs-sm);
    color: var(--text-muted);
}

.topbar-breadcrumb strong {
    color: var(--text-strong);
    font-weight: 600;
}

.topbar-actions {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    flex-shrink: 0;
}

.topbar-user {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: none;
    padding: 5px var(--space-3);
    color: var(--text);
    cursor: pointer;
    font-size: var(--fs-sm);
}

.topbar-user:hover {
    background: var(--bg-surface-2);
}

.avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: var(--accent-contrast);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--fs-xs);
    font-weight: 600;
}

.page-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--space-4);
    flex-wrap: wrap;
    margin-bottom: var(--space-5);
}

.page-title {
    font-size: var(--fs-xl);
    font-weight: 600;
    color: var(--text-strong);
    line-height: 1.3;
}

.page-subtitle {
    color: var(--text-muted);
    font-size: var(--fs-sm);
    margin-top: var(--space-1);
}

.page-actions {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    flex-wrap: wrap;
}

.panel,
.stat-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-5);
    margin-bottom: var(--space-5);
}

.panel-flush {
    padding: 0;
    overflow: hidden;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    min-height: 34px;
    padding: 8px var(--space-4);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-md);
    background: var(--bg-surface-2);
    color: var(--text);
    cursor: pointer;
    font-size: var(--fs-sm);
    line-height: 1.4;
    white-space: nowrap;
}

.btn:hover:not(:disabled) {
    background: var(--bg-surface-3);
    text-decoration: none;
}

.btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.btn-primary {
    border-color: transparent;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: var(--accent-contrast);
}

.btn-primary:hover:not(:disabled) {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    opacity: 0.9;
}

.btn-warning {
    border-color: rgba(255, 183, 77, 0.36);
    background: var(--warning-soft);
    color: var(--warning);
}

.btn-warning:hover:not(:disabled) {
    border-color: rgba(255, 183, 77, 0.56);
    background: rgba(255, 183, 77, 0.22);
}

.btn.is-loading,
.btn.is-loading:hover {
    cursor: wait;
    opacity: 0.78;
}

.btn.is-loading::before {
    width: 12px;
    height: 12px;
    content: "";
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spin 0.72s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.btn-sm {
    min-height: 28px;
    padding: 4px var(--space-3);
    font-size: var(--fs-xs);
}

.btn-danger {
    border-color: transparent;
    background: var(--danger-soft);
    color: var(--danger);
}

.btn-danger:hover:not(:disabled) {
    border-color: rgba(239, 83, 80, 0.45);
    background: rgba(239, 83, 80, 0.24);
}

.btn-danger:disabled {
    border-color: var(--border);
    background: var(--bg-surface-2);
    color: var(--text-faint);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    min-width: 0;
}

.form-group label {
    color: var(--text-muted);
    font-size: var(--fs-xs);
}

.form-control,
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    min-height: 36px;
    padding: 8px var(--space-3);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-md);
    background: var(--bg-input);
    color: var(--text);
    font-size: var(--fs-sm);
}

.form-control:focus,
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-border);
}

.form-group select {
    appearance: none;
    padding-right: var(--space-8);
    background-image: var(--select-arrow);
    background-repeat: no-repeat;
    background-position: right var(--space-3) center;
}

.form-group select option {
    background-color: var(--bg-surface);
    color: var(--text);
}

.filter-form {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: var(--space-3);
}

.filter-form .form-group {
    flex: 0 1 180px;
}

.filter-form .filter-keyword {
    flex: 0 1 180px;
}

.filter-form .reports-id-filter {
    flex: 0 1 140px;
}

.filter-form .export-projects {
    flex: 1 1 260px;
}

.filter-form .push-target-url {
    flex: 1 1 420px;
}

.inline-check {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--text);
    font-size: var(--fs-sm);
    white-space: nowrap;
}

.inline-check input[type="checkbox"] {
    width: 15px;
    height: 15px;
    accent-color: var(--accent);
}

.form-hint {
    color: var(--text-faint);
    font-size: var(--fs-xs);
}

.filter-actions {
    display: flex;
    gap: var(--space-2);
    margin-left: auto;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--space-4);
    margin-bottom: var(--space-5);
}

.stat-card {
    margin-bottom: 0;
}

.stat-label {
    color: var(--text-muted);
    font-size: var(--fs-xs);
}

.stat-value {
    margin-top: var(--space-2);
    color: var(--text-strong);
    font-size: 1.55rem;
    font-weight: 600;
    line-height: 1.25;
}

.stat-warning {
    color: var(--warning);
}

.stat-time {
    font-size: var(--fs-lg);
}

.dashboard-kpis {
    display: grid;
    grid-template-columns: minmax(220px, 320px);
    gap: var(--space-4);
    margin-bottom: var(--space-5);
}

.dashboard-kpi {
    min-height: 112px;
    margin-bottom: 0;
}

.dashboard-kpi-label {
    color: var(--text-muted);
    font-size: var(--fs-xs);
}

.dashboard-kpi-value {
    margin-top: var(--space-3);
    color: var(--text-strong);
    font-size: 1.7rem;
    font-weight: 600;
    line-height: 1.2;
}

.dashboard-kpi-value--warn {
    color: var(--warning);
}

.dashboard-kpi-subtitle {
    margin-top: var(--space-2);
    color: var(--text-muted);
    font-size: var(--fs-xs);
}

.dashboard-kpi-time {
    font-size: var(--fs-lg);
}

.dashboard-missing-panel {
    margin-bottom: var(--space-5);
}

.missing-report-legend {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    margin: calc(var(--space-2) * -1) 0 var(--space-4);
    color: var(--text-muted);
    font-size: var(--fs-xs);
}

.missing-report-legend span {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
}

.missing-legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 2px;
}

.missing-legend-dot.is-reported {
    background: var(--success);
}

.missing-legend-dot.is-missing {
    background: var(--warning);
}

.missing-report-chart-wrap {
    overflow-x: auto;
    padding-bottom: var(--space-1);
}

.missing-report-chart {
    display: grid;
    grid-template-columns: 86px repeat(var(--missing-day-count), minmax(32px, 1fr));
    grid-auto-rows: 30px;
    gap: 6px;
    min-width: 1120px;
}

.missing-axis-corner,
.missing-date-axis,
.missing-park-axis {
    display: flex;
    align-items: center;
    min-width: 0;
    color: var(--text-muted);
    font-size: var(--fs-xs);
}

.missing-axis-corner,
.missing-park-axis {
    position: sticky;
    left: 0;
    z-index: 2;
    background: var(--bg-surface);
}

.missing-axis-corner {
    justify-content: flex-start;
}

.missing-date-axis {
    justify-content: center;
    white-space: nowrap;
}

.missing-park-axis {
    justify-content: space-between;
    gap: var(--space-2);
    padding-right: var(--space-2);
}

.missing-park-axis strong {
    color: var(--text-strong);
    font-size: var(--fs-sm);
}

.missing-park-axis span {
    color: var(--text-faint);
    font-size: var(--fs-xs);
    white-space: nowrap;
}

.missing-report-cell {
    display: block;
    width: 100%;
    height: 100%;
    border: 1px solid transparent;
    border-radius: 5px;
    transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.missing-report-cell.is-reported {
    border-color: color-mix(in srgb, var(--success) 36%, transparent);
    background: var(--success-soft);
}

.missing-report-cell.is-missing {
    border-color: color-mix(in srgb, var(--warning) 48%, transparent);
    background: var(--warning-soft);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--warning) 18%, transparent);
}

.missing-report-cell:hover {
    transform: translateY(-1px);
    border-color: var(--accent);
    box-shadow: 0 0 0 2px var(--accent-soft);
    text-decoration: none;
}

.dashboard-charts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-4);
}

.chart-panel {
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.chart-panel-head {
    margin-bottom: var(--space-4);
}

.chart-panel-head--with-filter {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--space-4);
}

.chart-panel-title {
    color: var(--text-strong);
    font-size: var(--fs-lg);
    font-weight: 600;
}

.chart-panel-hint {
    margin-top: var(--space-1);
    color: var(--text-muted);
    font-size: var(--fs-xs);
}

.chart-park-filter {
    min-width: 160px;
    flex-shrink: 0;
}

.chart-canvas-wrap {
    position: relative;
    width: 100%;
    height: 280px;
}

.chart-canvas-wrap--pie {
    height: 300px;
    max-width: 360px;
    margin: 0 auto;
}

.reports-page-actions {
    align-items: stretch;
}

.report-filter-panel,
.export-panel {
    padding-top: var(--space-4);
}

.report-data-card {
    overflow: hidden;
}

.report-data-card .panel-toolbar {
    margin-bottom: 0;
    padding: var(--space-4) var(--space-5);
    border-bottom: 1px solid var(--border);
}

.report-data-card .pagination {
    margin-top: 0;
    padding: var(--space-4) var(--space-5);
    border-top: 1px solid var(--border);
}

.panel-toolbar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--space-4);
    margin-bottom: var(--space-4);
}

.panel-toolbar-title {
    color: var(--text-strong);
    font-size: var(--fs-sm);
    font-weight: 600;
}

.panel-toolbar-subtitle {
    margin-top: var(--space-1);
    color: var(--text-muted);
    font-size: var(--fs-xs);
}

.date-chip-group {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    flex-wrap: wrap;
    justify-content: flex-end;
}

.date-chip-group a,
.date-chip-group span {
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px var(--space-3);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg-surface-2);
    color: var(--text);
    font-size: var(--fs-xs);
    white-space: nowrap;
}

.date-chip-group span {
    border-color: var(--accent-border);
    background: var(--accent-soft);
    color: var(--accent);
    font-weight: 600;
}

.date-chip-group a:hover {
    background: var(--bg-surface-3);
    text-decoration: none;
}

.bulk-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
    margin-bottom: var(--space-3);
    color: var(--text-muted);
    font-size: var(--fs-sm);
}

.check-label {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--text);
    cursor: pointer;
}

.check-label input,
.data-table input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--accent);
    cursor: pointer;
}

.push-config-check {
    min-height: 36px;
    padding-bottom: 1px;
}

.push-days-group {
    flex: 1 0 100%;
}

.push-days-options {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2) var(--space-4);
    min-height: 36px;
    align-items: center;
}

.push-day-option {
    min-width: 72px;
}

.bulk-counter {
    color: var(--text-muted);
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    z-index: 200;
    min-width: 168px;
    padding: var(--space-1);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--bg-surface);
    box-shadow: var(--shadow-md);
}

.dropdown.open > .dropdown-menu {
    display: block;
}

.dropdown-menu.align-right {
    right: 0;
    left: auto;
}

.dropdown-item {
    display: block;
    width: 100%;
    padding: 8px var(--space-3);
    border: none;
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--text);
    font-size: var(--fs-sm);
    text-align: left;
    white-space: nowrap;
    cursor: pointer;
}

.dropdown-item:hover:not(:disabled) {
    background: var(--bg-surface-2);
}

.dropdown-item:disabled,
.dropdown-item.is-disabled {
    opacity: 0.42;
    cursor: not-allowed;
}

.dropdown-item.is-danger {
    color: var(--danger);
}

.dropdown-divider {
    height: 1px;
    margin: var(--space-1) 0;
    background: var(--border);
}

.col-check {
    width: 42px;
    text-align: center;
}

.reports-table .col-check,
.reports-table td:first-child {
    padding-left: var(--space-2) !important;
    padding-right: var(--space-2) !important;
    text-align: center;
    overflow: visible !important;
    text-overflow: clip !important;
}

.table-wrap {
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--bg-surface);
}

.table-wrap-inner {
    border: none;
    border-radius: 0;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--fs-sm);
}

.data-table th,
.data-table td {
    padding: var(--space-3) var(--space-4);
    text-align: left;
    border-bottom: 1px solid var(--border);
    white-space: nowrap;
    vertical-align: top;
}

.data-table th {
    background: var(--bg-surface-2);
    color: var(--text-muted);
    font-size: var(--fs-xs);
    font-weight: 600;
}

.data-table tbody tr:hover {
    background: var(--bg-row-hover);
}

.data-table tbody tr:last-child td {
    border-bottom: none;
}

.reports-table {
    min-width: 1516px;
    table-layout: fixed;
}

.push-log-table {
    min-width: 1480px;
    table-layout: fixed;
}

.push-log-table th:nth-child(2),
.push-log-table th:nth-child(3),
.push-log-table th:nth-child(4) {
    width: 178px;
}

.push-target-table {
    min-width: 1180px;
    table-layout: fixed;
}

.push-target-table th,
.push-target-table td {
    vertical-align: middle;
}

.push-target-table .form-control {
    min-height: 36px;
}

.push-target-status-col,
.push-target-status-cell,
.push-target-time-col,
.push-target-time-cell {
    text-align: center;
}

.push-target-status-col {
    width: 130px;
}

.push-target-time-col {
    width: 220px;
}

.push-target-status-cell .inline-check {
    justify-content: center;
}

.parks-table {
    min-width: 980px;
    table-layout: fixed;
}

.parks-col-id,
.parks-col-code,
.parks-col-order {
    width: 92px;
}

.parks-col-time {
    width: 168px;
}

.reports-col-check {
    width: 44px;
}

.reports-col-date {
    width: 116px;
}

.reports-col-park {
    width: 64px;
}

.reports-col-version {
    width: 72px;
}

.reports-col-count {
    width: 112px;
}

.reports-col-raw {
    width: 150px;
}

.reports-col-ai {
    width: 160px;
}

.reports-col-sender {
    width: 112px;
}

.reports-col-sent-at {
    width: 176px;
}

.time-cell {
    white-space: nowrap;
    overflow: visible;
    text-overflow: clip;
}

.reports-col-chat {
    width: 160px;
}

.reports-col-confidence {
    width: 84px;
}

.reports-col-status {
    width: 92px;
}

.reports-col-ops {
    width: 180px;
}

.cell-ellipsis,
.reports-table th {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.col-ops {
    min-width: 180px;
}

.cell-ops {
    display: flex;
    flex-wrap: nowrap;
    gap: var(--space-2);
    min-width: 0;
    white-space: nowrap;
}

.cell-ops .btn {
    flex: 0 0 auto;
}

.cell-wrap {
    min-width: 220px;
    max-width: 520px;
    white-space: normal;
    line-height: 1.6;
}

.msg-clip {
    display: inline-block;
    max-width: 140px;
    overflow: hidden;
    color: var(--accent);
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: bottom;
    cursor: pointer;
}

.msg-clip:hover {
    text-decoration: underline;
}

.report-raw-clip {
    max-width: 116px;
}

.task-raw-clip {
    max-width: 128px;
}

.report-ai-clip {
    max-width: 128px;
}

.table-empty {
    padding: var(--space-8);
    text-align: center;
    color: var(--text-faint);
}

.badge {
    display: inline-block;
    padding: 2px var(--space-2);
    border-radius: var(--radius-sm);
    font-size: var(--fs-xs);
    line-height: 1.6;
    white-space: nowrap;
}

.badge-success {
    background: var(--success-soft);
    color: var(--success);
}

.badge-warning {
    background: var(--warning-soft);
    color: var(--warning);
}

.badge-danger {
    background: var(--danger-soft);
    color: var(--danger);
}

.badge-info {
    background: var(--info-soft);
    color: var(--info);
}

.badge-neutral {
    background: var(--neutral-soft);
    color: var(--text-muted);
}

.version-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 22px;
    padding: 0 var(--space-2);
    border-radius: var(--radius-sm);
    font-size: var(--fs-xs);
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}

.version-badge-1 {
    background: rgba(100, 181, 246, 0.18);
    color: #64b5f6;
}

.version-badge-2 {
    background: rgba(102, 187, 106, 0.18);
    color: #66bb6a;
}

.version-badge-3 {
    background: rgba(255, 183, 77, 0.20);
    color: #ffb74d;
}

.version-badge-4 {
    background: rgba(186, 104, 200, 0.20);
    color: #ba68c8;
}

.version-badge-5 {
    background: rgba(77, 208, 225, 0.18);
    color: #4dd0e1;
}

.version-badge-6 {
    background: rgba(255, 138, 101, 0.20);
    color: #ff8a65;
}

[data-theme="light"] .version-badge-1 {
    background: rgba(31, 111, 208, 0.12);
    color: #1f6fd0;
}

[data-theme="light"] .version-badge-2 {
    background: rgba(46, 158, 88, 0.12);
    color: #2e9e58;
}

[data-theme="light"] .version-badge-3 {
    background: rgba(199, 119, 0, 0.13);
    color: #a96400;
}

[data-theme="light"] .version-badge-4 {
    background: rgba(136, 72, 164, 0.13);
    color: #8848a4;
}

[data-theme="light"] .version-badge-5 {
    background: rgba(0, 137, 154, 0.12);
    color: #00899a;
}

[data-theme="light"] .version-badge-6 {
    background: rgba(210, 93, 44, 0.13);
    color: #bf5428;
}

.pagination {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    flex-wrap: wrap;
    margin-top: var(--space-4);
    color: var(--text-muted);
    font-size: var(--fs-sm);
}

.pagination a {
    padding: 5px var(--space-3);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
}

.pagination a:hover {
    background: var(--bg-surface-2);
    text-decoration: none;
}

.page-num {
    color: var(--text);
}

.desc-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: var(--space-4);
}

.desc-item {
    min-width: 0;
}

.desc-item span {
    display: block;
    color: var(--text-muted);
    font-size: var(--fs-xs);
}

.desc-item strong {
    display: block;
    margin-top: var(--space-1);
    color: var(--text-strong);
    font-size: var(--fs-sm);
    overflow-wrap: anywhere;
}

.section-title {
    padding: var(--space-4) var(--space-5);
    border-bottom: 1px solid var(--border);
    color: var(--text-strong);
    font-weight: 600;
}

.section-title-plain {
    padding: 0;
    margin-bottom: var(--space-3);
    border-bottom: none;
}

.review-box {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    margin-top: var(--space-4);
}

.review-box span {
    padding: 4px var(--space-2);
    border: 1px solid var(--warning);
    border-radius: var(--radius-sm);
    background: var(--warning-soft);
    color: var(--warning);
    font-size: var(--fs-xs);
}

.form-stack {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: var(--space-2);
    margin-top: var(--space-2);
}

.drawer-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: var(--z-drawer);
    background: var(--bg-overlay);
    justify-content: flex-end;
}

.drawer-overlay.show {
    display: flex;
}

.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: var(--z-drawer);
    align-items: center;
    justify-content: center;
    padding: var(--space-5);
    background: var(--bg-overlay);
}

.modal-overlay.show {
    display: flex;
}

.modal {
    width: 520px;
    max-width: min(100%, 520px);
    max-height: calc(100vh - 40px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--bg-surface);
    box-shadow: var(--shadow-md);
}

.modal.is-wide {
    width: 780px;
    max-width: min(100%, 780px);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    padding: var(--space-4) var(--space-5);
    border-bottom: 1px solid var(--border);
}

.modal-title {
    color: var(--text-strong);
    font-size: var(--fs-lg);
    font-weight: 600;
}

.modal-body {
    overflow: auto;
    padding: var(--space-5);
}

.drawer-panel {
    width: 420px;
    max-width: 100%;
    height: 100%;
    background: var(--bg-surface);
    border-left: 1px solid var(--border);
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.35);
    display: flex;
    flex-direction: column;
}

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-4) var(--space-6);
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}

.drawer-title {
    color: var(--text-strong);
    font-size: var(--fs-lg);
    font-weight: 600;
}

.drawer-close {
    border: none;
    background: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1.5rem;
    line-height: 1;
}

.drawer-close:hover {
    color: var(--text-strong);
}

.drawer-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
    overflow-y: auto;
    padding: var(--space-6);
}

.drawer-msg {
    border-radius: var(--radius-md);
    font-size: var(--fs-sm);
}

.drawer-msg.is-success {
    color: var(--success);
}

.drawer-msg.is-error {
    color: var(--danger);
}

.settings-block {
    padding-bottom: var(--space-3);
    border-bottom: 1px solid var(--border);
}

.settings-block-title {
    color: var(--text-strong);
    font-size: var(--fs-md);
    font-weight: 600;
}

.settings-block-desc {
    margin-top: var(--space-1);
    color: var(--text-muted);
    font-size: var(--fs-xs);
    line-height: 1.6;
}

.user-desc {
    grid-template-columns: 1fr 1fr;
}

.desc-term {
    color: var(--text-muted);
    font-size: var(--fs-xs);
}

.desc-value {
    margin-top: var(--space-1);
    color: var(--text-strong);
    font-size: var(--fs-sm);
    overflow-wrap: anywhere;
}

.toast {
    position: fixed;
    right: var(--space-5);
    bottom: var(--space-5);
    z-index: 1200;
    min-width: 220px;
    max-width: min(420px, calc(100vw - 40px));
    padding: var(--space-3) var(--space-4);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--bg-surface);
    box-shadow: var(--shadow-md);
    color: var(--text);
    font-size: var(--fs-sm);
}

.toast.is-success {
    border-color: var(--success);
    color: var(--success);
}

.toast.is-error {
    border-color: var(--danger);
    color: var(--danger);
}

.raw-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--space-5);
}

.report-detail-raw-grid {
    margin-top: var(--space-5);
}

.report-version-panel {
    margin-bottom: var(--space-5);
}

.version-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: var(--space-3);
}

.version-card {
    position: relative;
    min-width: 0;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--bg-surface-2);
    color: var(--text);
}

.version-card:hover {
    border-color: var(--accent-border);
    background: var(--bg-surface-3);
}

.version-card-link {
    min-width: 0;
    display: grid;
    gap: var(--space-1);
    padding: var(--space-3);
    padding-right: 34px;
    color: var(--text);
}

.version-card-link:hover {
    text-decoration: none;
}

.version-card.active {
    border-color: var(--accent-border);
    background: var(--accent-soft);
}

.version-delete-form {
    position: absolute;
    top: 6px;
    right: 6px;
}

.version-delete-btn {
    width: 22px;
    height: 22px;
    border: 1px solid transparent;
    border-radius: 50%;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 16px;
    line-height: 18px;
    text-align: center;
}

.version-delete-btn:hover {
    border-color: var(--danger);
    background: var(--danger-soft);
    color: var(--danger);
}

.version-card-main {
    color: var(--text-strong);
    font-weight: 700;
}

.version-card-meta,
.version-card-preview {
    min-width: 0;
    overflow: hidden;
    color: var(--text-muted);
    font-size: var(--fs-xs);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.report-edit-form {
    display: grid;
    gap: var(--space-5);
}

.report-edit-panel {
    margin-bottom: 0;
}

.report-edit-grid {
    display: grid;
    gap: var(--space-4);
}

.report-edit-grid--meta {
    grid-template-columns: minmax(160px, 220px) minmax(160px, 220px);
}

.report-edit-grid--counts {
    grid-template-columns: repeat(2, minmax(160px, 220px)) minmax(260px, 1fr);
    align-items: end;
}

.report-edit-wide {
    min-width: 0;
}

.report-edit-form textarea {
    min-height: 140px;
    resize: vertical;
    line-height: 1.65;
}

.manual-report-form textarea {
    min-height: 420px;
    resize: vertical;
}

.manual-report-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
}

.manual-report-grid {
    display: grid;
    grid-template-columns: minmax(180px, 1fr) minmax(220px, 1.2fr) minmax(220px, 1fr);
    gap: var(--space-4);
}

.manual-report-error {
    margin-bottom: var(--space-4);
    border-color: rgba(239, 68, 68, 0.35);
    color: var(--danger);
    background: var(--danger-soft);
}

.manual-task-created {
    margin-bottom: var(--space-5);
}

.manual-task-created-id {
    color: var(--text-strong);
    font-size: var(--fs-lg);
    font-weight: 600;
}

.manual-task-created-text {
    margin-top: var(--space-2);
    color: var(--text-muted);
    line-height: 1.6;
}

.manual-task-card {
    margin-top: var(--space-6);
}

.manual-task-table {
    min-width: 1120px;
    table-layout: fixed;
}

.task-progress {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    min-width: 112px;
    height: 24px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 5px;
    background: var(--bg-surface-2);
}

.task-progress-bar {
    position: absolute;
    inset: 0 auto 0 0;
    width: 0;
    border-radius: inherit;
    transition: width 0.2s ease;
}

.task-progress span {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 0 var(--space-2);
    color: var(--text-strong);
    font-size: var(--fs-xs);
    text-align: center;
    white-space: nowrap;
}

.task-progress-info .task-progress-bar {
    background: var(--info);
}

.task-progress-success .task-progress-bar {
    background: var(--success);
}

.task-progress-danger .task-progress-bar {
    background: var(--danger);
}

.task-progress-neutral .task-progress-bar {
    background: var(--neutral-soft);
}

.task-progress-info span,
.task-progress-success span,
.task-progress-danger span {
    color: var(--accent-contrast);
}

.report-edit-actions {
    display: flex;
    justify-content: flex-end;
    gap: var(--space-2);
}

.daily-sheet-panel {
    overflow-x: auto;
    padding: var(--space-5);
}

.daily-sheet {
    min-width: 760px;
    border: 1px solid var(--border-strong);
    background: var(--bg-surface);
    color: var(--text);
}

.daily-sheet-title {
    padding: var(--space-4);
    border-bottom: 1px solid var(--border-strong);
    color: var(--text-strong);
    font-size: var(--fs-xl);
    font-weight: 700;
    text-align: center;
}

.daily-sheet-meta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    border-bottom: 1px solid var(--border);
}

.daily-sheet-meta > div {
    min-height: 44px;
    padding: var(--space-3) var(--space-4);
    border-right: 1px solid var(--border);
    color: var(--text-strong);
    font-size: var(--fs-sm);
    display: flex;
    align-items: center;
}

.daily-sheet-meta > div:last-child {
    border-right: none;
}

.daily-sheet-section {
    border-bottom: 1px solid var(--border);
}

.daily-sheet-section:last-child {
    border-bottom: none;
}

.daily-section-title {
    padding: var(--space-3) var(--space-4);
    border-bottom: 1px solid var(--border);
    background: var(--bg-surface-2);
    color: var(--text-strong);
    font-size: var(--fs-sm);
    font-weight: 700;
}

.daily-sheet-row {
    min-height: 42px;
    padding: var(--space-3) var(--space-4);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: flex-start;
    gap: var(--space-2);
    line-height: 1.7;
}

.daily-sheet-row:last-child {
    border-bottom: none;
}

.daily-sheet-row-block {
    min-height: 56px;
}

.daily-row-label {
    flex: 0 0 auto;
    color: var(--text-muted);
}

.daily-line-list,
.daily-plain-list {
    min-height: 90px;
    padding: var(--space-3) var(--space-5);
    line-height: 1.75;
}

.daily-line-list {
    margin-left: var(--space-5);
}

.daily-line-list li,
.daily-plain-list div {
    padding: 2px 0;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.daily-line-empty {
    color: var(--text-faint);
}

.code-block {
    max-height: 420px;
    overflow: auto;
    padding: var(--space-4);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--bg-surface-2);
    color: var(--text);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: var(--fs-xs);
    line-height: 1.6;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.msg-code {
    margin: 0;
    max-height: 60vh;
    overflow: auto;
    padding: var(--space-3);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--bg-surface-2);
    color: var(--text);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: var(--fs-xs);
    line-height: 1.6;
    white-space: pre-wrap;
    word-break: break-word;
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: var(--space-2);
    margin-top: var(--space-4);
}

.public-body {
    min-height: 100vh;
    background: var(--bg-gradient);
}

.public-main {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-5);
}

.public-theme-toggle {
    position: fixed;
    top: var(--space-5);
    right: var(--space-5);
    z-index: 10;
}

.public-report-main {
    min-height: 100vh;
    padding: var(--space-6);
}

.public-report-card {
    width: min(1120px, 100%);
    margin: 0 auto;
}

.public-report-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    margin-bottom: var(--space-5);
}

.public-report-brand {
    margin-bottom: 0;
}

.public-report-title {
    margin-bottom: var(--space-5);
}

.public-report-title h1 {
    color: var(--text-strong);
    font-size: var(--fs-2xl);
    line-height: 1.3;
}

.public-report-title p {
    margin-top: var(--space-2);
    color: var(--text-muted);
    font-size: var(--fs-sm);
}

.public-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-3);
    margin-bottom: var(--space-5);
}

.public-summary-grid > div {
    min-width: 0;
    padding: var(--space-4);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--bg-surface);
}

.public-summary-grid span {
    display: block;
    color: var(--text-muted);
    font-size: var(--fs-xs);
}

.public-summary-grid strong {
    display: block;
    margin-top: var(--space-2);
    color: var(--text-strong);
    font-size: var(--fs-xl);
}

.public-review-alert {
    margin-bottom: var(--space-5);
    padding: var(--space-4);
    border: 1px solid var(--warning);
    border-radius: var(--radius-md);
    background: var(--warning-soft);
    color: var(--text-strong);
}

.public-review-alert strong,
.public-review-alert span {
    display: block;
}

.public-review-alert span {
    margin-top: var(--space-1);
    color: var(--text);
    font-size: var(--fs-sm);
}

.public-review-alert ul {
    margin-top: var(--space-3);
    padding-left: var(--space-5);
    color: var(--text);
    line-height: 1.6;
}

.public-daily-panel {
    border-radius: var(--radius-md);
    background: var(--bg-surface);
}

.public-raw-panel {
    margin-top: var(--space-5);
}

.auth-card {
    width: 100%;
    max-width: 420px;
    padding: var(--space-8);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--bg-surface);
    box-shadow: var(--shadow-md);
}

.auth-brand {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-6);
}

.auth-logo {
    width: 40px;
    height: 40px;
    font-size: var(--fs-md);
}

.auth-title {
    color: var(--text-strong);
    font-size: var(--fs-xl);
    font-weight: 600;
}

.auth-subtitle {
    margin-top: 2px;
    color: var(--text-muted);
    font-size: var(--fs-sm);
}

.auth-form .form-group {
    margin-bottom: var(--space-5);
}

.auth-error {
    margin-bottom: var(--space-5);
    padding: var(--space-3) var(--space-4);
    border: 1px solid var(--danger);
    border-radius: var(--radius-md);
    background: var(--danger-soft);
    color: var(--danger);
    font-size: var(--fs-sm);
}

.auth-remember {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin-bottom: var(--space-6);
}

.auth-remember input[type="checkbox"] {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    accent-color: var(--accent);
    cursor: pointer;
}

.auth-remember label {
    color: var(--text-muted);
    cursor: pointer;
    font-size: var(--fs-sm);
}

.auth-submit {
    width: 100%;
    min-height: 42px;
    font-size: var(--fs-md);
    font-weight: 600;
}

.auth-footer {
    margin-top: var(--space-6);
    color: var(--text-muted);
    font-size: var(--fs-sm);
    text-align: center;
}

@media (max-width: 1024px) {
    .stat-grid,
    .raw-grid,
    .dashboard-kpis,
    .dashboard-charts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .public-summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .sidebar {
        position: fixed;
        z-index: var(--z-drawer);
        transform: translateX(-100%);
        transition: transform 0.2s ease;
    }

    .sidebar-open .sidebar {
        transform: translateX(0);
    }

    .sidebar-collapsed .sidebar {
        width: var(--sidebar-width);
    }

    .sidebar-collapsed .sidebar-title,
    .sidebar-collapsed .nav-label {
        display: initial;
    }

    .sidebar-backdrop {
        display: none;
        position: fixed;
        inset: 0;
        background: var(--bg-overlay);
        z-index: calc(var(--z-drawer) - 1);
    }

    .sidebar-open .sidebar-backdrop {
        display: block;
    }

    .app-content,
    .topbar {
        padding-left: var(--space-4);
        padding-right: var(--space-4);
    }

    .stat-grid,
    .raw-grid,
    .dashboard-kpis {
        grid-template-columns: 1fr;
    }

    .daily-sheet {
        min-width: 640px;
    }

    .daily-sheet-meta {
        grid-template-columns: 1fr;
    }

    .daily-sheet-meta > div {
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .daily-sheet-meta > div:last-child {
        border-bottom: none;
    }

    .filter-actions {
        width: 100%;
        margin-left: 0;
    }

    .filter-actions .btn {
        flex: 1;
    }

    .dashboard-charts {
        grid-template-columns: 1fr;
    }

    .report-edit-grid--meta,
    .report-edit-grid--counts {
        grid-template-columns: 1fr;
    }

    .report-edit-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .chart-panel-head--with-filter,
    .panel-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .chart-canvas-wrap {
        height: 240px;
    }

    .chart-canvas-wrap--pie {
        height: 260px;
    }

    .date-chip-group {
        justify-content: flex-start;
    }

    .public-report-main {
        padding: var(--space-4);
    }

    .public-report-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .public-report-title h1 {
        font-size: var(--fs-xl);
    }

    .public-summary-grid {
        grid-template-columns: 1fr;
    }
}
