/* ============================================================
   FormService Design System
   Inspiriert vom „Universe“-Look: nahezu weiße Flächen, weiße
   Karten mit dünnem schwarzen Rand, Pill-Buttons, Mint-Akzent,
   hellgraue Haarscharf-Trenner, Satzcase-Kartentitel,
   Großbuchstaben nur als Mikro-Labels.
   Wird NACH bootstrap.min.css geladen und überschreibt es.
   ============================================================ */

:root {
    /* Flächen – Vorlage: fast reines Weiß, warmes Grau nur für Tiles */
    --fs-paper: #EFEDE7;      /* Seitenhintergrund außerhalb der App */
    --fs-surface: #FCFCFA;    /* App-Fläche: Sidebar + Content */
    --fs-card: #FFFFFF;       /* Karten */
    --fs-tile: #EBE9E1;       /* sandgraue Sekundärfläche (Tile, inaktive Pills) */

    /* Tinte & Text */
    --fs-ink: #141310;
    --fs-soft: #4B4A43;
    --fs-muted: #97968B;

    /* Linien: Kartenrand dünn schwarz, Trenner hellgrau Haarscharf */
    --fs-line: #141310;
    --fs-hairline: #DEDDD4;

    /* Akzente – Mint wie die „Electricity“-Kachel */
    --fs-mint: #6CF2A5;
    --fs-mint-soft: #D7F6E2;
    --fs-warn-soft: #F3E8C4;
    --fs-danger-soft: #F5DCD7;
    --fs-danger-ink: #6E2A25;

    /* Formularfelder: bewusst weicher als Kartenränder */
    --fs-field-line: #CDCCC4;

    /* Radien – Karten ~18px wie Vorlage, Pills vollrund */
    --fs-radius: 18px;
    --fs-radius-tile: 16px;
    --fs-radius-sm: 10px;
    --fs-pill: 999px;

    /* Bootstrap-Variablen neu belegen (RGB-Varianten beachten: vendor.css
       ist ein Flatly-Fork mit türkisfarbenen Links) */
    --bs-body-bg: var(--fs-surface);
    --bs-body-color: var(--fs-ink);
    --bs-border-color: var(--fs-hairline);
    --bs-link-color: var(--fs-ink);
    --bs-link-color-rgb: 20, 19, 16;
    --bs-link-hover-color: #000;
    --bs-link-hover-color-rgb: 0, 0, 0;
    --bs-emphasis-color: var(--fs-ink);
    --bs-link-decoration: underline;
    --bs-link-underline-offset: 3px;
    --bs-font-sans-serif: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}

/* ---------- Basis ---------- */
html { font-size: 15.5px; }

body.app {
    background: var(--fs-paper);
    color: var(--fs-ink);
    font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
    font-variant-numeric: tabular-nums;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .h1, .h2, .h3 {
    font-weight: 700;
    letter-spacing: -0.025em;
    color: var(--fs-ink);
}
h1, .h1 { font-size: 1.95rem; margin-bottom: .35rem; }

::selection { background: var(--fs-mint); color: var(--fs-ink); }

code {
    background: var(--fs-paper);
    border: 1px solid var(--fs-hairline);
    border-radius: 6px;
    padding: .08rem .4rem;
    color: var(--fs-ink);
    font-size: .85em;
}

hr { border-top: 1px solid var(--fs-hairline); opacity: 1; margin: 1.5rem 0; }

.text-muted { color: var(--fs-muted) !important; }

/* Mikro-Label („Eyebrow") – nur für kleine Meta-Hinweise wie
   „HOLD" / „APR 03" / „VIEW ALL" in der Vorlage */
.eyebrow {
    display: block;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--fs-muted);
    margin-bottom: .45rem;
}

/* ---------- App-Shell: Sidebar + Inhalt ---------- */
.app-shell {
    display: flex;
    min-height: 100vh;
    background: var(--fs-surface);
}

.sidebar {
    flex: 0 0 264px;
    width: 264px;
    background: var(--fs-surface);
    border-right: 1px solid var(--fs-hairline);
    display: flex;
    flex-direction: column;
    padding: 1.5rem 1.25rem 1.25rem;
    position: sticky;
    top: 0;
    height: 100vh;
    z-index: 1040;
}

.brand {
    display: flex;
    align-items: center;
    gap: .55rem;
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--fs-ink);
    text-decoration: none;
}
.brand:hover { color: var(--fs-ink); }
.brand-mark {
    width: auto; height: auto;
    border: none;
    border-radius: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    font-weight: 400;
    line-height: 1;
}

.side-nav {
    display: flex;
    flex-direction: column;
    gap: .1rem;
    margin-top: 2.2rem;
}
.side-link {
    display: flex;
    align-items: center;
    gap: .8rem;
    padding: .5rem .55rem;
    border-radius: 10px;
    color: var(--fs-soft);
    font-weight: 500;
    font-size: .95rem;
    text-decoration: none;
}
.side-link i { font-size: 1.05rem; width: 1.25em; color: var(--fs-ink); }
.side-link:hover { color: var(--fs-ink); }
.side-link.active {
    color: var(--fs-ink);
    font-weight: 600;
}
.side-link.active::after {
    content: "→";
    margin-left: auto;
    font-weight: 400;
    color: var(--fs-ink);
}

.side-hr {
    border-top: 1px solid var(--fs-hairline);
    margin: 1.15rem 0;
}

.side-foot { margin-top: auto; }

/* Sprachumschalter in der Sidebar: dezentes Mikro-Label, kein Rahmen */
.side-lang .btn {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    border: 1px solid transparent;
    color: var(--fs-muted);
    font-weight: 600;
    font-size: .8rem;
    letter-spacing: .04em;
    text-transform: none;
    padding: .35rem .5rem;
}
.side-lang .btn:hover { color: var(--fs-ink); background: var(--fs-tile); border-color: transparent; }
.side-lang .btn .caret,
.side-lang .btn::after { margin-right: .1rem; }

/* Benutzer-Kärtchen unten in der Sidebar */
.user-chip {
    border: 1px solid var(--fs-hairline);
    border-radius: var(--fs-radius-tile);
    background: var(--fs-card);
    padding: .85rem .95rem;
}
.user-chip .user-mail {
    display: block;
    font-size: .85rem;
    color: var(--fs-soft);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-bottom: .6rem;
}
/* Logout als POST-Formular – Button füllt die Chip-Zeile wie zuvor der Link */
.user-chip form.logout-form { margin: 0; }
.user-chip form.logout-form .btn { width: 100%; }

/* Mobile Leiste + Overlay */
.mobile-bar {
    display: none;
    align-items: center;
    justify-content: space-between;
    padding: .7rem 1rem;
    background: var(--fs-surface);
    border-bottom: 1px solid var(--fs-hairline);
    position: sticky;
    top: 0;
    z-index: 1030;
}
.mobile-bar .brand { font-size: 1.05rem; }
.sidebar-toggle {
    border: 1px solid var(--fs-line);
    background: transparent;
    border-radius: var(--fs-pill);
    width: 38px; height: 38px;
    font-size: 1.1rem;
    color: var(--fs-ink);
    line-height: 1;
}
.scrim {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(20, 19, 16, .35);
    z-index: 1035;
}
body.sidebar-open .scrim { display: block; }

/* ---------- Inhaltsbereich ---------- */
.content {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    background: var(--fs-surface);
}
.content-main {
    flex: 1 0 auto;
    width: 100%;
    max-width: 1150px;
    padding: 2.4rem 2.75rem 3rem;
}
.content-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    align-items: center;
    padding: 1rem 2.75rem 1.6rem;
    border-top: 1px solid var(--fs-hairline);
    font-size: .82rem;
    color: var(--fs-muted);
}
.content-footer a { color: var(--fs-soft); text-decoration: none; }
.content-footer a:hover { color: var(--fs-ink); text-decoration: underline; }

.page-head { margin-bottom: 1.75rem; }
.page-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    align-items: center;
    margin-bottom: 1.25rem;
}

/* ---------- Buttons (Pills, 13–14px wie Vorlage) ---------- */
.btn {
    border-radius: var(--fs-pill);
    font-weight: 600;
    font-size: .86rem;
    padding: .55rem 1.15rem;
    border: 1px solid transparent;
    transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn:focus-visible, .show > .btn.dropdown-toggle:focus-visible {
    outline: 2px solid var(--fs-ink);
    outline-offset: 2px;
    box-shadow: none;
}

/* Primär: schwarze Pille („Send money") */
.btn-primary {
    --bs-btn-bg: var(--fs-ink);
    --bs-btn-border-color: var(--fs-ink);
    --bs-btn-color: #FCFBF8;
    --bs-btn-hover-bg: #000000;
    --bs-btn-hover-border-color: #000000;
    --bs-btn-hover-color: #ffffff;
    --bs-btn-active-bg: #000000;
    --bs-btn-active-border-color: #000000;
    --bs-btn-active-color: #ffffff;
    --bs-btn-disabled-bg: #C4C3BB;
    --bs-btn-disabled-border-color: #C4C3BB;
    --bs-btn-disabled-color: #FCFBF8;
}

/* Sekundär: sandgraue Pille („Statements") */
.btn-secondary {
    --bs-btn-bg: var(--fs-tile);
    --bs-btn-border-color: var(--fs-tile);
    --bs-btn-color: var(--fs-ink);
    --bs-btn-hover-bg: #DEDCD2;
    --bs-btn-hover-border-color: #DEDCD2;
    --bs-btn-hover-color: var(--fs-ink);
    --bs-btn-active-bg: #D4D2C7;
    --bs-btn-active-border-color: #D4D2C7;
    --bs-btn-active-color: var(--fs-ink);
}

/* Erfolg & Info: Mint („Electricity"-Kachel) */
.btn-success, .btn-info {
    --bs-btn-bg: var(--fs-mint);
    --bs-btn-border-color: var(--fs-mint);
    --bs-btn-color: var(--fs-ink);
    --bs-btn-hover-bg: #58E697;
    --bs-btn-hover-border-color: #58E697;
    --bs-btn-hover-color: var(--fs-ink);
    --bs-btn-active-bg: #4ADC8B;
    --bs-btn-active-border-color: #4ADC8B;
    --bs-btn-active-color: var(--fs-ink);
}

/* Warnung: weiches Strohgelb */
.btn-warning {
    --bs-btn-bg: var(--fs-warn-soft);
    --bs-btn-border-color: var(--fs-warn-soft);
    --bs-btn-color: var(--fs-ink);
    --bs-btn-hover-bg: #EBDBAA;
    --bs-btn-hover-border-color: #EBDBAA;
    --bs-btn-hover-color: var(--fs-ink);
}

/* Gefahr: weiches Ziegelrot */
.btn-danger {
    --bs-btn-bg: var(--fs-danger-soft);
    --bs-btn-border-color: var(--fs-danger-soft);
    --bs-btn-color: var(--fs-danger-ink);
    --bs-btn-hover-bg: #EFC7BF;
    --bs-btn-hover-border-color: #EFC7BF;
    --bs-btn-hover-color: #571F1B;
}

/* Outline-Varianten: Tinten-Rand */
.btn-outline-primary,
.btn-outline-secondary,
.btn-outline-success,
.btn-outline-info,
.btn-outline-warning,
.btn-outline-danger {
    --bs-btn-border-color: var(--fs-line);
    --bs-btn-color: var(--fs-ink);
    --bs-btn-hover-bg: var(--fs-ink);
    --bs-btn-hover-border-color: var(--fs-ink);
    --bs-btn-hover-color: #FCFBF8;
    --bs-btn-active-bg: #000;
    --bs-btn-active-border-color: #000;
    --bs-btn-active-color: #fff;
}

.btn-link {
    --bs-btn-bg: transparent;
    --bs-btn-color: var(--fs-soft);
    --bs-btn-hover-bg: transparent;
    --bs-btn-hover-color: var(--fs-ink);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Pillen auch in Button-Gruppen (z. B. Spam-Filter wie „Analytics/Statements") */
.btn-group { gap: .4rem; flex-wrap: wrap; }
.btn-group > .btn {
    border-radius: var(--fs-pill);
    margin-left: 0;
}
.btn-group > .btn:not(:first-child),
.btn-group > .btn:not(:last-child):not(.dropdown-toggle) {
    border-radius: var(--fs-pill);
}

/* Icon-Buttons in Tabellen: kleine gleichmäßige Pillen */
.table .btn-sm {
    min-width: 32px;
    height: 30px;
    padding: 0 .5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.btn-sm { font-size: .8rem; padding: .4rem .85rem; }

/* ---------- Karten: dünn schwarzer Rand, Radius 18px, Titel in Satzcase ---------- */
.card {
    background: var(--fs-card);
    border: 1px solid var(--fs-line);
    border-radius: var(--fs-radius);
    box-shadow: none;
}
.card-header {
    background: var(--fs-card);
    border-bottom: 1px solid var(--fs-hairline);
    border-radius: var(--fs-radius) var(--fs-radius) 0 0 !important;
    padding: .95rem 1.35rem;
    font-size: .95rem;
    font-weight: 600;
    letter-spacing: -0.005em;
    text-transform: none;
    color: var(--fs-ink);
}
.card-header.bg-light { background: var(--fs-card) !important; }
.card-body { padding: 1.35rem; }
.card-footer {
    background: transparent;
    border-top: 1px solid var(--fs-hairline);
}

/* Tabellen in Karten-Rahmen */
.table-card {
    padding: 0;
    overflow: hidden;
}
.table-card .table-responsive { border-radius: inherit; }

/* ---------- Tabellen ---------- */
.table {
    --bs-table-bg: transparent;
    --bs-table-color: var(--fs-ink);
    --bs-table-border-color: var(--fs-hairline);
    --bs-table-hover-bg: #F6F5EF;
    --bs-table-hover-color: var(--fs-ink);
    margin-bottom: 0;
    font-size: .92rem;
}
.table th, .table td { border-color: var(--fs-hairline); }
/* Tabellen-Header als Mikro-Labels (Stil „HOLD / APR 03" aus der Vorlage) */
.table thead th {
    background: transparent;
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--fs-muted);
    border-bottom: 1px solid var(--fs-hairline);
    white-space: nowrap;
    padding-bottom: .7rem;
    padding-top: 1.1rem;
}
.table td { vertical-align: middle; padding: .85rem 1rem; white-space: nowrap; }
/* Wo lange Inhalte umbrechen dürfen (Nachrichten, Formulardaten) */
.table td.wrappable { white-space: normal; min-width: 160px; }
/* Links in Tabellen: schwarz, ohne Unterstreichung (wie Zeilen in der Vorlage) */
.table a {
    color: var(--fs-ink);
    text-decoration: none;
    font-weight: 500;
}
.table a:hover { text-decoration: underline; text-underline-offset: 3px; }
/* Streifen abschalten, stattdessen dezente Hover-Färbung */
.table-striped > tbody > tr:nth-of-type(odd) > * {
    --bs-table-accent-bg: transparent;
    color: var(--fs-ink);
}
.table-hover > tbody > tr:hover > * {
    --bs-table-accent-bg: var(--bs-table-hover-bg);
}

/* ---------- Formulare: weichere Feldränder als Kartenumrandungen ---------- */
.form-label {
    font-size: .8rem;
    font-weight: 600;
    color: var(--fs-soft);
    margin-bottom: .3rem;
}
.form-control,
.form-select {
    background: #fff;
    border: 1px solid var(--fs-field-line);
    border-radius: var(--fs-radius-sm);
    padding: .62rem .85rem;
    font-size: .95rem;
}
.form-control:hover,
.form-select:hover { border-color: var(--fs-muted); }
.form-control:focus,
.form-select:focus {
    border-color: var(--fs-ink);
    box-shadow: 0 0 0 3px rgba(108, 242, 165, .45);
    outline: none;
}
.form-control::placeholder { color: #B7B6AD; }
.form-text { color: var(--fs-muted); font-size: .8rem; }

.form-check-input {
    width: 1.15em; height: 1.15em;
    border: 1.5px solid var(--fs-field-line);
    border-radius: 5px;
    background-color: #fff;
}
.form-check-input:checked {
    background-color: var(--fs-ink);
    border-color: var(--fs-ink);
}
.form-check-input:focus {
    box-shadow: 0 0 0 3px rgba(108, 242, 165, .45);
    border-color: var(--fs-ink);
}
.form-check-label { font-size: .92rem; }

.input-group { flex-wrap: nowrap; }
.input-group .btn { border-radius: var(--fs-pill); margin-left: .5rem; }

/* ---------- Meldungen (Alerts) ---------- */
.alert {
    border: 1px solid var(--fs-line);
    border-radius: var(--fs-radius-sm);
    padding: .9rem 1.1rem;
    font-size: .9rem;
    color: var(--fs-ink);
}
.alert-success { background: var(--fs-mint-soft); border-color: #55A37A; }
.alert-danger  { background: var(--fs-danger-soft); border-color: #B5544C; }
.alert-info    { background: var(--fs-tile); border-color: var(--fs-line); }
.alert .btn-close {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23141310'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414'/%3e%3c/svg%3e");
}
.flash-stack { margin-bottom: 1.5rem; display: flex; flex-direction: column; gap: .6rem; }

/* ---------- Tabs (Formular-Bearbeitung) ---------- */
.nav-tabs {
    border-bottom: none;
    gap: .35rem;
    --bs-nav-tabs-border-width: 0;
    --bs-nav-tabs-link-active-bg: transparent;
}
.nav-tabs .nav-link {
    border: 1px solid transparent;
    border-radius: var(--fs-pill);
    color: var(--fs-soft);
    font-weight: 600;
    font-size: .83rem;
    padding: .45rem .95rem;
}
.nav-tabs .nav-link:hover {
    border-color: transparent;
    background: var(--fs-tile);
    color: var(--fs-ink);
}
.nav-tabs .nav-link.active {
    background: var(--fs-ink);
    color: #FCFBF8;
}

/* ---------- Pagination ---------- */
.pagination { gap: .3rem; }
.page-link {
    border: 1px solid var(--fs-hairline);
    border-radius: var(--fs-pill);
    color: var(--fs-soft);
    min-width: 36px;
    text-align: center;
    font-weight: 500;
    font-size: .85rem;
}
.page-link:hover { background: var(--fs-tile); border-color: var(--fs-muted); color: var(--fs-ink); }
.page-item.active .page-link {
    background: var(--fs-ink);
    border-color: var(--fs-ink);
    color: #FCFBF8;
}

/* ---------- Dropdowns ---------- */
.dropdown-menu {
    border: 1px solid var(--fs-line);
    border-radius: 14px;
    box-shadow: 0 10px 24px rgba(20, 19, 16, .08);
    padding: .35rem;
}
.dropdown-item {
    border-radius: 9px;
    padding: .5rem .75rem;
    font-size: .9rem;
}
.dropdown-item:hover, .dropdown-item:focus {
    background: var(--fs-mint);
    color: var(--fs-ink);
}

/* ---------- Badges ---------- */
.badge {
    border-radius: var(--fs-pill);
    border: 1px solid var(--fs-line);
    font-weight: 600;
    padding: .3em .7em;
}

/* ---------- Dashboard: Statistik-Kacheln (Stil „Upcoming bills") ---------- */
.stat-tiles {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 1.75rem;
}
.stat {
    border: 1px solid var(--fs-line);
    border-radius: var(--fs-radius-tile);
    padding: 1.05rem 1.2rem 1.1rem;
    min-height: 118px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.stat .stat-label {
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: .45rem;
}
.stat .stat-value {
    font-size: 2.35rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.1;
}
.stat .stat-label a, .stat a.stat-value { text-decoration: none; color: inherit; }
.stat-ink   { background: var(--fs-ink);  color: #FCFBF8; }
.stat-ink .stat-label { color: #97968B; }
.stat-tile  { background: var(--fs-tile); color: var(--fs-ink); }
.stat-tile .stat-label { color: var(--fs-soft); }
.stat-mint  { background: var(--fs-mint); color: var(--fs-ink); }
.stat-white { background: var(--fs-card); color: var(--fs-ink); }
.stat-white .stat-label { color: var(--fs-muted); }

.greeting { color: var(--fs-soft); font-size: .95rem; margin-bottom: 1.75rem; }
.greeting strong { color: var(--fs-ink); }

/* ---------- Formular-Karten (Anlegen/Bearbeiten) ---------- */
.form-card { max-width: 720px; }
.form-card .card-body { padding: 1.5rem; }

/* ---------- Login & Passwort-Seiten ---------- */
body.auth-page .content-main {
    max-width: 520px;
    margin: 5vh auto 0;
    padding-top: 1rem;
}
.auth-page form {
    background: var(--fs-card);
    border: 1px solid var(--fs-line);
    border-radius: var(--fs-radius);
    padding: 1.6rem 1.5rem;
    margin-top: 1.25rem;
}
.auth-page .alert { margin-bottom: 1rem; }
.auth-links { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.1rem; }

/* ---------- Detail-Ansicht (Einsendung) ---------- */
.meta-list { margin: 0; }
.meta-list dt {
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--fs-muted);
}
.meta-list dd { margin-bottom: .8rem; }
.meta-list dd:last-child { margin-bottom: 0; }

/* ---------- Tooltip (weißer Text auf schwarzem Chip wie „MAR 12") ---------- */
.tooltip-inner {
    background: var(--fs-ink);
    color: #FCFBF8;
    border-radius: 8px;
    font-size: .78rem;
}
.bs-tooltip-top .tooltip-arrow::before { border-top-color: var(--fs-ink); }
.bs-tooltip-bottom .tooltip-arrow::before { border-bottom-color: var(--fs-ink); }
.bs-tooltip-start .tooltip-arrow::before { border-left-color: var(--fs-ink); }
.bs-tooltip-end .tooltip-arrow::before { border-right-color: var(--fs-ink); }

/* ---------- Markdown-Seiten (Datenschutz/Impressum) ---------- */
.prose h1, .prose h2 { margin-top: 1.6rem; }
.prose h1:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--fs-soft); line-height: 1.65; }

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
    .mobile-bar { display: flex; }
    .sidebar {
        position: fixed;
        left: 0; top: 0; bottom: 0;
        transform: translateX(-102%);
        transition: transform .25s ease;
        box-shadow: 12px 0 30px rgba(20, 19, 16, .12);
        border-right: 1px solid var(--fs-line);
    }
    body.sidebar-open .sidebar { transform: translateX(0); }
    .content-main { padding: 1.5rem 1.25rem 2rem; }
    .content-footer { padding: 1rem 1.25rem; }
    .stat-tiles { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575.98px) {
    .stat-tiles { grid-template-columns: 1fr; }
    h1, .h1 { font-size: 1.55rem; }
}
