:root {
    --bg: #f5f7fb;
    --shell: #edf3f8;
    --panel: #ffffff;
    --panel-2: #f8fafc;
    --line: #e5ebf3;
    --line-2: #d3deeb;
    --text: #17202a;
    --muted: #667085;
    --green: #119462;
    --cyan: #2563eb;
    --yellow: #d99014;
    --red: #d83a4b;
    --ink: #ffffff;
    --shadow: 0 12px 28px rgba(15, 23, 42, .052);
    --shadow-sm: 0 7px 16px rgba(15, 23, 42, .04);
}

* { box-sizing: border-box; }

html { font-size: 16px; }

body {
    margin: 0;
    min-height: 100vh;
    color: var(--text);
    background:
        radial-gradient(circle at 82% -8%, rgba(37, 99, 235, .07), transparent 30rem),
        linear-gradient(180deg, #f8fafc 0, var(--bg) 18rem);
    font-family: Calibri, "Segoe UI", Arial, sans-serif;
    line-height: 1.45;
}

a { color: inherit; text-decoration: none; }
button, input { font: inherit; }

.lucide {
    width: 16px;
    height: 16px;
    stroke-width: 2.15;
    flex: 0 0 auto;
}

.sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: 274px;
    padding: 10px;
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 9px;
    background: linear-gradient(180deg, var(--shell), #dfe7f0);
    border-right: 1px solid #cfd6df;
}

.side-rail,
.side-panel {
    background: rgba(255, 255, 255, .96);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.side-rail {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 8px 6px;
}

.side-panel {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
}

.rail-logo,
.rail-link {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 8px;
}

.rail-logo {
    margin-bottom: 6px;
    background: linear-gradient(135deg, #111827, var(--cyan));
    color: var(--ink);
    font-size: .74rem;
    font-weight: 900;
}

.rail-logo span {
    transform: translateY(.5px);
}

.rail-link {
    color: #566270;
    transition: background .16s ease, color .16s ease, box-shadow .16s ease;
}

.rail-link:hover,
.rail-link.active {
    background: #ffffff;
    color: var(--cyan);
    box-shadow: inset 0 0 0 1px var(--line-2), 0 6px 16px rgba(31, 44, 60, .10);
}

.rail-link.bottom { margin-top: auto; }

.rail-separator {
    width: calc(100% + 12px);
    height: 1px;
    margin: 4px 0;
    background: var(--line);
}

.brand {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 12px;
    border-bottom: 1px solid var(--line);
    font-size: .88rem;
    font-weight: 800;
}

.panel-toggle {
    margin-left: auto;
    color: var(--muted);
}

.brand.big {
    min-height: auto;
    padding: 0;
    border-bottom: 0;
    font-size: .98rem;
}

.brand-text {
    display: grid;
    gap: 1px;
    line-height: 1;
}

.brand-text small {
    color: var(--muted);
    font-size: .68rem;
    font-weight: 700;
}

.brand-mark {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    color: var(--ink);
    background: linear-gradient(135deg, #111827, var(--cyan));
    box-shadow: 0 8px 18px rgba(21, 111, 196, .16);
    font-size: .72rem;
}

.quick-search {
    min-height: 38px;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 0 12px;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    background: #fbfdff;
    font-size: .78rem;
    font-weight: 800;
}

.side-title {
    margin: 9px 12px 7px;
    color: var(--muted);
    font-size: .72rem;
    font-weight: 800;
}

nav {
    display: grid;
    gap: 3px;
    padding: 0 10px 8px;
}

nav a,
.logout,
.user-chip {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
}

nav a {
    min-height: 30px;
    padding: 5px 8px;
    border-radius: 8px;
    font-size: .8rem;
    font-weight: 750;
    transition: background .16s ease, color .16s ease, box-shadow .16s ease;
}

nav a:hover {
    background: var(--panel-2);
    color: var(--text);
}

nav a.active {
    background: #ffffff;
    color: var(--text);
    box-shadow: inset 0 0 0 1px var(--line-2), 0 8px 18px rgba(31, 44, 60, .07);
}

nav a.active i {
    color: var(--cyan);
}

.side-card {
    margin: auto 10px 10px;
    padding: 10px;
    border: 1px solid #d7e2ff;
    border-radius: 8px;
    background: linear-gradient(180deg, #eef4ff, #ffffff);
    color: var(--text);
}

.side-card span,
.side-card small {
    display: block;
    color: var(--muted);
    font-size: .68rem;
    line-height: 1.25;
}

.side-card strong {
    display: block;
    margin: 2px 0;
    font-size: .82rem;
}

.side-user {
    min-height: 50px;
    padding: 8px 10px;
    border-top: 1px solid var(--line);
    display: flex;
    align-items: center;
    gap: 8px;
}

.avatar {
    width: 30px;
    height: 30px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #eff6ff;
    color: var(--cyan);
    font-weight: 900;
}

.side-user strong,
.side-user small {
    display: block;
    line-height: 1.14;
}

.side-user strong { font-size: .8rem; }
.side-user small { color: var(--muted); font-size: .7rem; }

.logout {
    width: 30px;
    height: 30px;
    justify-content: center;
    margin-left: auto;
    border-radius: 8px;
    background: transparent;
    transition: background .16s ease, color .16s ease;
}

.logout:hover {
    color: var(--red);
    background: #fff1f3;
}

i[data-lucide] { width: 16px; height: 16px; stroke-width: 2.15; }

.main {
    margin-left: 252px;
    padding: 12px 20px 28px;
    transition: margin-left .22s ease;
}

.auth-main {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 18px;
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 64px;
    margin-bottom: 12px;
    padding: 8px 0 10px;
    border-bottom: 1px solid rgba(211, 222, 235, .72);
}

.topbar h1, h1, h2, h3, p { margin-top: 0; }
.topbar h1 {
    margin-bottom: 1px;
    color: #111827;
    font-size: clamp(1.72rem, 2.05vw, 2.15rem);
    line-height: 1;
    letter-spacing: 0;
}

.page-heading {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.page-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border: 1px solid #dbeafe;
    border-radius: 13px;
    color: var(--cyan);
    background: #eff6ff;
}

.page-icon .lucide {
    width: 21px;
    height: 21px;
}

.page-description {
    display: block;
    max-width: 820px;
    color: #667085;
    font-size: .94rem;
    line-height: 1.25;
}

.eyebrow { margin-bottom: 3px; color: var(--cyan); font-size: .74rem; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; }
.user-chip { padding: 6px 9px; border: 1px solid rgba(211, 222, 235, .82); border-radius: 11px; background: rgba(255,255,255,.7); white-space: nowrap; font-size: .88rem; }

.login-shell { width: min(390px, 100%); animation: rise .4s ease both; }

.login-card,
.panel,
.metric,
.dashboard-hero {
    background: rgba(255, 255, 255, .94);
    border: 1px solid rgba(211, 222, 235, .86);
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.login-card {
    display: grid;
    gap: 12px;
    padding: 22px;
}

.login-card p { margin-bottom: 0; color: var(--muted); line-height: 1.42; }
.login-card small { color: var(--muted); }

label {
    display: grid;
    gap: 5px;
    color: var(--muted);
    font-size: .82rem;
    font-weight: 800;
}

input,
select,
textarea {
    width: 100%;
    min-height: 36px;
    padding: 7px 10px;
    color: var(--text);
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 10px;
    outline: none;
    transition: border .16s ease, box-shadow .16s ease;
}

textarea {
    min-height: 58px;
    resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px rgba(21, 111, 196, .1);
}

.btn,
.icon-btn {
    border: 0;
    cursor: pointer;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 36px;
    padding: 7px 11px;
    color: var(--text);
    background: rgba(248,250,252,.86);
    font-size: .82rem;
    font-weight: 750;
    transition: transform .16s ease, filter .16s ease, box-shadow .16s ease;
}

.btn {
    min-width: 106px;
}

.btn .lucide,
.icon-btn .lucide,
.user-chip .lucide {
    width: 15px;
    height: 15px;
}

.btn.primary {
    color: var(--ink);
    background: linear-gradient(135deg, #111827, var(--cyan));
    box-shadow: 0 10px 20px rgba(21, 111, 196, .14);
}

.btn:hover,
.icon-btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.02);
}

.icon-btn {
    width: 34px;
    height: 34px;
    padding: 0;
    color: var(--red);
    background: #fff1f3;
}

.flash {
    margin-bottom: 10px;
    padding: 8px 10px;
    border-radius: 8px;
    background: #eaf8f1;
    border: 1px solid #b9ebd2;
    color: #09613b;
    font-size: .8rem;
}

.flash.bad,
.danger {
    background: #fff0f2;
    border-color: #ffc7cf;
    color: var(--red);
}

.dashboard-hero {
    min-height: 178px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px;
    background:
        linear-gradient(135deg, rgba(255,255,255,.98), rgba(246,249,253,.94)),
        radial-gradient(circle at 92% 0%, rgba(37,99,235,.12), transparent 24rem);
    overflow: hidden;
    animation: fadeIn .4s ease both;
}

.expense-period-panel {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) auto;
    gap: 14px 22px;
    align-items: end;
    margin-bottom: 12px;
    padding: 14px 16px;
    background:
        linear-gradient(135deg, rgba(255,255,255,.98), rgba(248,250,252,.92)),
        radial-gradient(circle at 98% 0%, rgba(37,99,235,.09), transparent 18rem);
}

.expense-period-heading h2 {
    margin: 2px 0 5px;
    font-size: clamp(1.18rem, 1.55vw, 1.45rem);
}

.expense-period-heading p { display: none; }

.expense-period-form {
    display: flex;
    gap: 8px;
    align-items: end;
}

.expense-period-form label {
    min-width: 176px;
}

.expense-period-actions,
.expense-period-shortcuts {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    align-items: center;
}

.expense-period-actions {
    grid-column: 1 / -1;
}

.expense-period-shortcuts {
    grid-column: 1 / -1;
    padding-top: 10px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: .8rem;
}

.period-chip {
    padding: 5px 9px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--panel);
    color: var(--text);
    text-decoration: none;
}

.period-chip:hover,
.period-chip.active {
    border-color: var(--cyan);
    background: color-mix(in srgb, var(--cyan) 12%, white);
    color: var(--cyan);
}

.empty-period {
    padding: 28px 14px;
    text-align: center;
    color: var(--muted);
}

@media (max-width: 760px) {
    .expense-period-panel {
        grid-template-columns: 1fr;
    }

    .expense-period-form {
        align-items: stretch;
        flex-direction: column;
    }

    .expense-period-form label {
        min-width: 0;
    }
}

.closure-hero,
.barbacha-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 12px;
    padding: 14px 16px;
}

.closure-hero h2,
.barbacha-hero h2 {
    margin: 0;
    font-size: clamp(1.35rem, 2.4vw, 2.1rem);
}

.closure-switch {
    width: min(240px, 100%);
}

.closure-switch label {
    color: var(--muted);
    font-size: .78rem;
}

.closure-grid {
    margin-top: 0;
}

.closure-form {
    grid-template-columns: repeat(4, minmax(140px, 1fr));
}

.hero-copy {
    min-width: 0;
}

.dashboard-hero h2 {
    max-width: 760px;
    margin: 0;
    color: var(--text);
    font-size: clamp(2rem, 3.1vw, 3rem);
    line-height: 1;
}

.hero-subtitle {
    max-width: 680px;
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 1.02rem;
    line-height: 1.42;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.hero-actions .btn {
    width: 118px;
}

.compact-actions .btn {
    width: auto;
    white-space: nowrap;
}

.hero-progress {
    min-width: 235px;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px;
    border: 1px solid rgba(211, 222, 235, .78);
    border-radius: 16px;
    background: rgba(255,255,255,.8);
    box-shadow: var(--shadow-sm);
}

.hero-progress strong,
.hero-progress span {
    display: block;
}

.hero-progress strong {
    font-size: 1.16rem;
}

.hero-progress span {
    color: var(--muted);
    font-size: .82rem;
}

.progress-ring {
    --p: calc(var(--progress) * 1%);
    width: 86px;
    aspect-ratio: 1;
    border-radius: 50%;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    background: conic-gradient(var(--cyan) var(--p), #e4ebf3 0);
}

.progress-ring span {
    width: 66px;
    aspect-ratio: 1;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #ffffff;
    box-shadow: inset 0 0 0 1px var(--line);
    font-size: 1rem;
    font-weight: 900;
}

.executive-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(180px, 1fr));
    gap: 12px;
    margin: 12px 0;
}

.status-card {
    min-height: 108px;
    display: grid;
    align-content: space-between;
    gap: 10px;
    padding: 15px;
    border: 1px solid rgba(211, 222, 235, .86);
    border-radius: 16px;
    background: rgba(255,255,255,.92);
    box-shadow: var(--shadow-sm);
}

.status-card span,
.status-card small {
    color: var(--muted);
    font-size: .78rem;
    font-weight: 750;
}

.status-card strong {
    color: var(--text);
    font-size: clamp(1.2rem, 1.55vw, 1.55rem);
    line-height: 1;
}

.primary-status {
    color: #fff;
    border-color: transparent;
    background: linear-gradient(135deg, #111827, #2563eb);
    box-shadow: 0 18px 36px rgba(37,99,235,.18);
}

.primary-status span,
.primary-status small,
.primary-status strong {
    color: #fff;
}

.metric-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(195px, 1fr));
    gap: 8px;
    margin: 10px 0;
}

.metric-grid.summary-grid {
    grid-template-columns: repeat(3, minmax(195px, 1fr));
}

.metric {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-items: center;
    column-gap: 10px;
    row-gap: 3px;
    min-width: 0;
    min-height: 78px;
    padding: 11px 13px;
    animation: rise .32s ease both;
}

.metric .lucide {
    grid-row: 1 / span 2;
    width: 31px;
    height: 31px;
    padding: 6px;
    border-radius: 10px;
    color: var(--cyan);
    background: #eff6ff;
}

.metric span {
    width: 100%;
    margin: 0;
    padding-left: 0;
    min-height: 0;
    display: block;
    color: var(--muted);
    font-size: .66rem;
    font-weight: 800;
    text-transform: uppercase;
}

.metric strong {
    width: 100%;
    margin: 0;
    color: var(--text);
    font-size: clamp(1.02rem, 1.22vw, 1.28rem);
    line-height: 1.05;
    white-space: nowrap;
    overflow: visible;
    text-overflow: clip;
    overflow-wrap: normal;
    word-break: keep-all;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0;
    text-align: left;
}

.metric small {
    display: none;
}

.chart-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 16px;
}

.detail-grid {
    display: grid;
    gap: 16px;
}

.panel {
    padding: 16px;
    animation: rise .32s ease both;
}

.panel h2,
.panel h3 {
    margin-bottom: 13px;
    color: #111827;
    font-size: 1.12rem;
    line-height: 1.1;
}

.panel canvas {
    width: 100%;
    min-height: 250px;
    max-height: 315px;
}

.form-panel { margin-bottom: 12px; }

.grid-form {
    display: grid;
    grid-template-columns: repeat(4, minmax(120px, 1fr));
    gap: 10px;
    align-items: end;
}

.grid-form .btn {
    width: 100%;
}

.grid-form .wide { grid-column: span 2; }

.filter-panel { margin-bottom: 12px; padding: 13px 15px; }

.filter-panel h2 {
    margin-bottom: 10px;
    font-size: .98rem;
}

.filter-bar {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 9px;
    align-items: end;
}

.filter-bar label { gap: 4px; }
.filter-bar .wide { grid-column: span 2; }

.filter-bar input,
.filter-bar select {
    min-height: 34px;
    padding: 6px 10px;
    border-radius: 10px;
    font-size: .82rem;
}

.filter-bar .btn { width: 100%; }

.dynamic-metric {
    border-color: rgba(37, 99, 235, .26);
    background:
        linear-gradient(135deg, rgba(255,255,255,.98), rgba(239,246,255,.9));
}

.table-wrap {
    overflow-x: auto;
    border: 1px solid rgba(203, 213, 225, .86);
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 8px 22px rgba(15, 23, 42, .035);
}

table {
    width: 100%;
    min-width: 820px;
    border-collapse: separate;
    border-spacing: 0;
    font-size: .88rem;
}

th,
td {
    padding: 10px 12px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: middle;
}

th {
    position: sticky;
    top: 0;
    z-index: 1;
    color: #475467;
    background: #f6f8fb;
    font-size: .74rem;
    letter-spacing: .02em;
    text-transform: uppercase;
    white-space: nowrap;
}

td {
    color: #263241;
    font-variant-numeric: tabular-nums;
}

td:first-child {
    color: #111827;
    font-weight: 700;
    white-space: nowrap;
}

tbody tr { transition: background .14s ease; }
tbody tr:hover { background: #f8fbff; }
tbody tr:last-child td { border-bottom: 0; }

.table-actions {
    display: flex;
    justify-content: flex-end;
    gap: 6px;
    min-width: 76px;
}

.table-actions form {
    margin: 0;
}

.icon-btn.edit {
    color: var(--cyan);
    background: #eff6ff;
}

.edit-row td {
    background: #f8fbff;
    vertical-align: top;
}

.inline-edit-form {
    display: grid;
    grid-template-columns: repeat(4, minmax(130px, 1fr));
    gap: 10px;
    align-items: end;
    padding: 2px 0;
}

.inline-edit-form .wide {
    grid-column: span 2;
}

.inline-edit-actions {
    display: flex;
    gap: 8px;
}

.inline-edit-actions .btn {
    width: 100%;
}

.balance-list {
    display: grid;
    gap: 12px;
}

.balance-list div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 9px 10px;
    background: rgba(248,250,252,.82);
    border: 1px solid rgba(211, 222, 235, .72);
    border-radius: 12px;
    font-size: .84rem;
}

.positive { color: var(--green); }
.negative { color: var(--red); }

@keyframes rise {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@media (max-width: 1180px) {
    .executive-grid { grid-template-columns: repeat(2, 1fr); }
    .metric-grid { grid-template-columns: repeat(auto-fit, minmax(195px, 1fr)); }
    .metric-grid.summary-grid { grid-template-columns: repeat(2, minmax(195px, 1fr)); }
    .filter-bar { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .filter-bar .wide { grid-column: span 2; }
    .inline-edit-form { grid-template-columns: repeat(3, minmax(130px, 1fr)); }
    .chart-grid { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
    .sidebar {
        position: sticky;
        width: 100%;
        height: auto;
        display: flex;
        padding: 8px;
        z-index: 5;
    }

    .side-panel { display: none; }
    .side-rail {
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
    }

    .rail-logo { margin-bottom: 0; }
    .rail-link.bottom { margin-top: 0; }
    .main {
        margin-left: 0;
        padding: 82px 12px 94px;
    }
    .topbar {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 55;
        align-items: center;
        min-height: 68px;
        margin-bottom: 0;
        padding: 8px 12px 9px 62px;
        border-bottom: 1px solid rgba(211, 222, 235, .86);
        background: rgba(248, 250, 252, .95);
        box-shadow: 0 12px 28px rgba(15, 23, 42, .075);
        backdrop-filter: blur(12px);
    }
    .topbar h1 { font-size: 1.44rem; }
    .page-heading { gap: 9px; }
    .page-icon {
        width: 38px;
        height: 38px;
        border-radius: 11px;
    }
    .page-icon .lucide {
        width: 19px;
        height: 19px;
    }
    .page-description {
        max-width: min(620px, calc(100vw - 128px));
        overflow: hidden;
        font-size: .84rem;
        line-height: 1.18;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .topbar .eyebrow {
        display: block;
        margin-bottom: 2px;
        font-size: .66rem;
    }
    .user-chip { display: none; }
    .executive-grid { grid-template-columns: 1fr; }
    .metric-grid { grid-template-columns: repeat(2, minmax(180px, 1fr)); }
    .metric-grid.summary-grid { grid-template-columns: 1fr; }
    .grid-form { grid-template-columns: 1fr; }
    .grid-form .wide { grid-column: auto; }
    .filter-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .inline-edit-form { grid-template-columns: 1fr; }
    .inline-edit-form .wide {
        grid-column: auto;
    }
    .inline-edit-actions {
        flex-direction: column;
    }
    .dashboard-hero { align-items: flex-start; flex-direction: column; min-height: auto; padding: 18px; }
    .hero-progress { width: 100%; justify-content: space-between; }
    .table-wrap {
        margin: 0 -2px;
        border-radius: 11px;
    }
    table {
        font-size: .86rem;
    }
    th,
    td {
        padding: 9px 10px;
    }
}

@media (max-width: 520px) {
    html { font-size: 15px; }
    .metric-grid { grid-template-columns: 1fr; }
    .filter-bar { grid-template-columns: 1fr; }
    .filter-bar .wide { grid-column: auto; }
    .topbar {
        flex-direction: row;
        padding-left: 60px;
    }
    .topbar h1 { font-size: 1.28rem; }
    .page-icon {
        display: grid;
        width: 34px;
        height: 34px;
    }
    .page-description { max-width: calc(100vw - 118px); }
    .user-chip { width: 100%; }
    .login-card { padding: 16px; }
}
