/* ==========================================================================
   Project Ledger — design system
   Concept: a physical fund ledger / passbook. The balance card reads as a
   bound page (spine strip, left edge), and every transaction row carries a
   colored "stub" — the same idea as a counterfoil in an old receipt book:
   a torn stub is literally your proof a transaction happened. Deleted items
   get a dashed "detached stub" edge instead of disappearing outright.
   ========================================================================== */

:root {
    --paper: #F5F7F4;
    --paper-card: #FFFFFF;
    --ink: #16231C;
    --ink-muted: #5B6B61;
    --ink-faint: #8A978F;

    --cover: #1E5B45;
    --cover-dark: #163F30;
    --cover-tint: #E8F0EA;

    --credit: #2F8F5A;
    --credit-tint: #E7F4EC;
    --debit: #A23B2E;
    --debit-tint: #FBEAE7;

    --brass: #B8874A;
    --brass-tint: #F5EBDC;

    --border: #E1E7E1;
    --border-strong: #C8D2C7;

    --radius-lg: 20px;
    --radius-md: 14px;
    --radius-sm: 9px;

    --shadow-card: 0 4px 24px rgba(22, 35, 28, 0.06), 0 1px 2px rgba(22, 35, 28, 0.05);
    --shadow-pop: 0 12px 40px rgba(22, 35, 28, 0.16);

    --font-display: 'Fraunces', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

    --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: var(--font-body);
    background: var(--paper);
    color: var(--ink);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

.sr-only {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap; border: 0;
}

a { color: inherit; }

:focus-visible {
    outline: 2px solid var(--cover);
    outline-offset: 2px;
    border-radius: 4px;
}

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

.tabular { font-variant-numeric: tabular-nums; }

/* ---------- Layout shell ---------- */

.app-shell {
    max-width: 640px;
    margin: 0 auto;
    min-height: 100vh;
    padding-bottom: 60px;
}

.app-main {
    padding: 20px 20px 0;
}

/* ---------- Topbar ("cover") ---------- */

.topbar {
    background: linear-gradient(155deg, var(--cover), var(--cover-dark));
    color: #fff;
    padding: 18px 20px;
    position: sticky;
    top: 0;
    z-index: 20;
}

.topbar-inner {
    max-width: 640px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.brand-mark {
    flex-shrink: 0;
    width: 30px; height: 30px;
    display: grid; place-items: center;
    opacity: 0.95;
}

.project-picker {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 999px;
    padding: 7px 14px;
    cursor: pointer;
    color: #fff;
    font-weight: 600;
    font-size: 14.5px;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.project-picker svg { flex-shrink: 0; opacity: 0.8; }

.topbar-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.icon-btn {
    width: 38px; height: 38px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.1);
    color: #fff;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: background 0.15s var(--ease);
    position: relative;
}
.icon-btn:hover { background: rgba(255,255,255,0.2); }

.icon-btn .badge-count {
    position: absolute;
    top: -2px; right: -2px;
    background: var(--brass);
    color: #2b1d08;
    font-size: 10px;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    padding: 0 3px;
    border: 2px solid var(--cover-dark);
}

/* ---------- Balance card (signature spine motif) ---------- */

.balance-card {
    position: relative;
    background: var(--paper-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    padding: 26px 24px 22px 40px;
    margin-top: -34px;
    overflow: hidden;
}

.balance-card::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 14px;
    background:
        repeating-linear-gradient(0deg, rgba(255,255,255,0.10) 0px, rgba(255,255,255,0.10) 1px, transparent 1px, transparent 9px),
        linear-gradient(180deg, var(--cover), var(--cover-dark));
}

.balance-eyebrow {
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--ink-faint);
    margin: 0 0 6px;
}

.balance-amount {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 42px;
    line-height: 1.05;
    letter-spacing: -0.01em;
    margin: 0;
    display: flex;
    align-items: baseline;
    gap: 3px;
    transition: opacity 0.2s var(--ease);
}
.balance-amount .cur-symbol { font-size: 0.55em; font-weight: 600; color: var(--ink-muted); }

.balance-meta {
    color: var(--ink-muted);
    font-size: 13.5px;
    margin: 4px 0 0;
}

.stats-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: var(--border);
    border-radius: var(--radius-sm);
    margin-top: 18px;
    overflow: hidden;
}

.stat {
    background: var(--paper-card);
    padding: 12px 14px;
}
.stat-label {
    font-size: 11px;
    color: var(--ink-faint);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    font-weight: 700;
    margin: 0 0 3px;
}
.stat-value {
    font-family: var(--font-mono);
    font-weight: 600;
    font-size: 15.5px;
    margin: 0;
}
.stat-value.is-credit { color: var(--credit); }
.stat-value.is-debit { color: var(--debit); }

/* ---------- Action buttons ---------- */

.actions-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
    margin-top: 16px;
}

.btn {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 14.5px;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    padding: 11px 14px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    transition: transform 0.1s var(--ease), background 0.15s var(--ease), box-shadow 0.15s var(--ease);
    white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn-block { width: 100%; }
.btn-sm { padding: 7px 12px; font-size: 13px; }

.btn-primary { background: var(--cover); color: #fff; }
.btn-primary:hover { background: var(--cover-dark); }

.btn-expense { background: var(--debit-tint); color: var(--debit); }
.btn-expense:hover { background: #f6dcd7; }

.btn-ghost { background: var(--paper-card); color: var(--ink); border-color: var(--border-strong); }
.btn-ghost:hover { background: var(--cover-tint); border-color: var(--cover); }

.btn-text {
    background: none; border: none; color: var(--cover);
    font-weight: 600; font-size: 14px; cursor: pointer; padding: 4px 0;
}
.btn-text:hover { text-decoration: underline; }

.btn-danger-text { background: none; border: none; color: var(--debit); font-weight: 600; font-size: 13.5px; cursor: pointer; }

/* ---------- Section headers ---------- */

.section-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin: 30px 0 12px;
}
.section-title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 19px;
    margin: 0;
}

/* ---------- Chart ---------- */

.chart-card {
    background: var(--paper-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 16px 16px 6px;
    margin-top: 22px;
    box-shadow: var(--shadow-card);
}
.chart-canvas-wrap { position: relative; height: 140px; }
.chart-card-title {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--ink-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 0 0 8px;
}

/* ---------- Transaction list (ledger rows with stub) ---------- */

.tx-list {
    background: var(--paper-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    overflow: hidden;
}

.tx-row {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 16px 13px 20px;
    border-bottom: 1px solid var(--border);
    cursor: pointer;
    background: var(--paper-card);
    transition: background 0.12s var(--ease);
}
.tx-row:last-child { border-bottom: none; }
.tx-row:hover { background: var(--paper); }

.tx-row::before {
    content: '';
    position: absolute;
    left: 0; top: 9px; bottom: 9px;
    width: 3px;
    border-radius: 0 3px 3px 0;
    background: var(--credit);
}
.tx-row.is-expense::before { background: var(--debit); }

.tx-icon {
    flex-shrink: 0;
    width: 34px; height: 34px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--credit-tint);
    color: var(--credit);
}
.tx-row.is-expense .tx-icon { background: var(--debit-tint); color: var(--debit); }

.tx-main { min-width: 0; flex: 1; }
.tx-title {
    font-weight: 600;
    font-size: 14.5px;
    margin: 0 0 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.tx-sub {
    font-size: 12.5px;
    color: var(--ink-muted);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 5px;
}
.receipt-chip {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    color: var(--brass);
    font-weight: 600;
}

.tx-amount {
    flex-shrink: 0;
    font-family: var(--font-mono);
    font-weight: 600;
    font-size: 14.5px;
    text-align: right;
}
.tx-amount.is-credit { color: var(--credit); }
.tx-amount.is-debit { color: var(--debit); }
.tx-running {
    font-size: 11px;
    color: var(--ink-faint);
    font-family: var(--font-mono);
    margin-top: 2px;
}

.empty-state {
    text-align: center;
    padding: 46px 24px;
    color: var(--ink-muted);
}
.empty-state svg { color: var(--border-strong); margin-bottom: 12px; }
.empty-state p { margin: 0 0 16px; font-size: 14.5px; }

/* ---------- Forms ---------- */

.form-group { margin-bottom: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink-muted);
    margin-bottom: 6px;
}
.form-input, .form-select, .form-textarea {
    width: 100%;
    padding: 11px 13px;
    border: 1.5px solid var(--border-strong);
    border-radius: var(--radius-sm);
    font-size: 15px;
    background: var(--paper-card);
    color: var(--ink);
    transition: border-color 0.15s var(--ease);
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--cover);
}
.form-amount-wrap { position: relative; }
.form-amount-wrap .cur-prefix {
    position: absolute;
    left: 13px; top: 50%;
    transform: translateY(-50%);
    color: var(--ink-muted);
    font-weight: 600;
    pointer-events: none;
}
.form-amount-wrap input { padding-left: 30px; font-family: var(--font-mono); font-weight: 600; }

.form-hint { font-size: 12.5px; color: var(--ink-faint); margin-top: 5px; }
.form-error {
    font-size: 13px;
    color: var(--debit);
    background: var(--debit-tint);
    padding: 9px 12px;
    border-radius: var(--radius-sm);
    margin-bottom: 14px;
    display: none;
}
.form-error.visible { display: block; }

/* ---------- Tabs (Manual / Upload Receipt) ---------- */

.tabs {
    display: flex;
    gap: 4px;
    background: var(--paper);
    padding: 4px;
    border-radius: var(--radius-sm);
    margin-bottom: 18px;
}
.tab {
    flex: 1;
    text-align: center;
    padding: 9px;
    border-radius: 7px;
    border: none;
    background: none;
    font-weight: 600;
    font-size: 13.5px;
    color: var(--ink-muted);
    cursor: pointer;
    transition: all 0.15s var(--ease);
}
.tab.active { background: var(--paper-card); color: var(--cover); box-shadow: 0 1px 4px rgba(22,35,28,0.1); }

/* ---------- Receipt upload / OCR ---------- */

.dropzone {
    border: 1.5px dashed var(--border-strong);
    border-radius: var(--radius-md);
    padding: 26px 16px;
    text-align: center;
    cursor: pointer;
    color: var(--ink-muted);
    transition: all 0.15s var(--ease);
}
.dropzone:hover, .dropzone.is-dragover { border-color: var(--cover); background: var(--cover-tint); color: var(--cover); }
.dropzone svg { margin-bottom: 8px; }
.dropzone strong { color: var(--ink); }

.receipt-preview {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border);
    margin-bottom: 14px;
}
.receipt-preview img { display: block; width: 100%; max-height: 220px; object-fit: contain; background: var(--paper); }
.receipt-preview .remove-receipt {
    position: absolute; top: 8px; right: 8px;
    width: 28px; height: 28px; border-radius: 50%;
    background: rgba(22,35,28,0.65); color: #fff; border: none;
    display: grid; place-items: center; cursor: pointer;
}
.receipt-preview.is-pdf { padding: 20px; text-align: center; background: var(--paper); }

.ocr-status {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--ink-muted);
    margin-bottom: 14px;
    padding: 10px 12px;
    background: var(--cover-tint);
    border-radius: var(--radius-sm);
}
.ocr-spinner {
    width: 16px; height: 16px;
    border: 2px solid var(--border-strong);
    border-top-color: var(--cover);
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    flex-shrink: 0;
}
@keyframes spin { to { transform: rotate(360deg); } }
.ocr-status.is-found { background: var(--credit-tint); color: var(--credit); font-weight: 600; }
.ocr-status.is-notfound { background: var(--brass-tint); color: #7a5a24; }

/* ---------- Modal ---------- */

.modal-overlay {
    position: fixed; inset: 0;
    background: rgba(22, 35, 28, 0.45);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    z-index: 100;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s var(--ease);
}
.modal-overlay.is-open { opacity: 1; pointer-events: auto; }

.modal {
    background: var(--paper-card);
    border-radius: 22px 22px 0 0;
    width: 100%;
    max-width: 480px;
    max-height: 88vh;
    overflow-y: auto;
    padding: 22px 22px 26px;
    transform: translateY(24px);
    transition: transform 0.25s var(--ease);
}
.modal-overlay.is-open .modal { transform: translateY(0); }

@media (min-width: 560px) {
    .modal-overlay { align-items: center; }
    .modal { border-radius: var(--radius-lg); }
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}
.modal-title { font-family: var(--font-display); font-weight: 600; font-size: 20px; margin: 0; }
.modal-close {
    width: 32px; height: 32px; border-radius: 50%;
    border: none; background: var(--paper);
    color: var(--ink-muted);
    display: grid; place-items: center; cursor: pointer;
}
.modal-close:hover { background: var(--border); }

.modal-footer { display: flex; gap: 10px; margin-top: 20px; }
.modal-footer .btn { flex: 1; }

/* ---------- Drawer (recently deleted — "detached stub" edge) ---------- */

.drawer-overlay {
    position: fixed; inset: 0;
    background: rgba(22,35,28,0.45);
    z-index: 100;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s var(--ease);
}
.drawer-overlay.is-open { opacity: 1; pointer-events: auto; }

.drawer {
    position: absolute;
    right: 0; top: 0; bottom: 0;
    width: 100%;
    max-width: 380px;
    background: var(--paper-card);
    padding: 20px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.25s var(--ease);
}
.drawer-overlay.is-open .drawer { transform: translateX(0); }

.drawer-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.drawer-title { font-family: var(--font-display); font-weight: 600; font-size: 19px; margin: 0; }
.drawer-sub { color: var(--ink-muted); font-size: 13px; margin: 0 0 18px; }

.deleted-row {
    border-left: 2px dashed var(--border-strong);
    padding: 10px 0 10px 14px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.deleted-row .tx-title { font-size: 13.5px; }
.deleted-row .tx-sub { font-size: 11.5px; }

/* ---------- Statement / filters ---------- */

.statement-overlay {
    position: fixed; inset: 0;
    background: var(--paper);
    z-index: 90;
    overflow-y: auto;
    transform: translateY(100%);
    transition: transform 0.28s var(--ease);
}
.statement-overlay.is-open { transform: translateY(0); }

.statement-header {
    position: sticky; top: 0; z-index: 5;
    background: var(--cover);
    color: #fff;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.statement-header h2 { font-family: var(--font-display); font-size: 19px; margin: 0; flex: 1; }

.statement-body { max-width: 640px; margin: 0 auto; padding: 18px 20px 60px; }

.filters-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.filter-pill {
    padding: 7px 14px;
    border-radius: 999px;
    border: 1.5px solid var(--border-strong);
    background: var(--paper-card);
    font-size: 13px;
    font-weight: 600;
    color: var(--ink-muted);
    cursor: pointer;
}
.filter-pill.active { background: var(--cover); border-color: var(--cover); color: #fff; }

.search-input { margin-bottom: 14px; }

/* ---------- Lightbox ---------- */

.lightbox-overlay {
    position: fixed; inset: 0;
    background: rgba(10, 16, 12, 0.88);
    z-index: 200;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none;
    transition: opacity 0.2s var(--ease);
    padding: 30px 16px;
}
.lightbox-overlay.is-open { opacity: 1; pointer-events: auto; }
.lightbox-overlay img { max-width: 100%; max-height: 85vh; border-radius: 10px; box-shadow: var(--shadow-pop); }
.lightbox-close {
    position: absolute; top: 18px; right: 18px;
    width: 40px; height: 40px; border-radius: 50%;
    background: rgba(255,255,255,0.15); border: none; color: #fff;
    display: grid; place-items: center; cursor: pointer;
}

/* ---------- Toasts ---------- */

.toast-container {
    position: fixed;
    bottom: 20px; left: 50%;
    transform: translateX(-50%);
    z-index: 300;
    display: flex; flex-direction: column; gap: 8px;
    width: calc(100% - 32px);
    max-width: 420px;
}
.toast {
    background: var(--ink);
    color: #fff;
    padding: 13px 16px;
    border-radius: var(--radius-sm);
    font-size: 13.5px;
    font-weight: 500;
    box-shadow: var(--shadow-pop);
    display: flex; align-items: center; gap: 9px;
    animation: toast-in 0.25s var(--ease);
}
.toast.is-error { background: var(--debit); }
.toast.is-success { background: var(--cover-dark); }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* ---------- Onboarding / no-project state ---------- */

.onboard {
    max-width: 480px;
    margin: 60px auto;
    padding: 0 20px;
    text-align: center;
}
.onboard-mark { color: var(--cover); margin-bottom: 14px; }
.onboard h1 { font-family: var(--font-display); font-size: 26px; margin: 0 0 8px; }
.onboard p { color: var(--ink-muted); font-size: 14.5px; margin: 0 0 24px; }
.onboard-card {
    background: var(--paper-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    padding: 24px;
    text-align: left;
}

/* ---------- Project switcher dropdown ---------- */

.picker-menu {
    position: absolute;
    top: 100%; left: 20px; right: 20px;
    max-width: 600px;
    margin: 8px auto 0;
    background: var(--paper-card);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-pop);
    padding: 8px;
    z-index: 30;
    opacity: 0; pointer-events: none;
    transform: translateY(-6px);
    transition: all 0.15s var(--ease);
}
.picker-menu.is-open { opacity: 1; pointer-events: auto; transform: translateY(0); }
.picker-item {
    display: flex; align-items: center; justify-content: space-between;
    padding: 11px 12px;
    border-radius: 9px;
    cursor: pointer;
    color: var(--ink);
}
.picker-item:hover { background: var(--paper); }
.picker-item .p-balance { font-family: var(--font-mono); font-size: 13px; color: var(--ink-muted); }
.picker-divider { height: 1px; background: var(--border); margin: 6px 4px; }
.picker-new {
    display: flex; align-items: center; gap: 8px;
    padding: 11px 12px; color: var(--cover); font-weight: 600; font-size: 14px; cursor: pointer;
    border-radius: 9px;
}
.picker-new:hover { background: var(--cover-tint); }

/* ---------- Auth page ---------- */

.auth-body {
    background: var(--paper);
    display: flex; align-items: center; justify-content: center;
    min-height: 100vh;
    padding: 20px;
}
.auth-card {
    background: var(--paper-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    padding: 36px 30px;
    max-width: 360px;
    width: 100%;
    text-align: center;
}
.auth-mark { color: var(--cover); margin-bottom: 14px; }
.auth-card h1 { font-family: var(--font-display); font-size: 22px; margin: 0 0 6px; }
.auth-sub { color: var(--ink-muted); font-size: 13.5px; margin: 0 0 22px; }
.auth-error {
    background: var(--debit-tint); color: var(--debit);
    font-size: 13px; padding: 10px 12px; border-radius: var(--radius-sm);
    margin-bottom: 16px;
}
.auth-form input { text-align: center; margin-bottom: 14px; }
.auth-links { margin: 18px 0 0; font-size: 13.5px; color: var(--ink-muted); }
.auth-links a { color: var(--cover); font-weight: 600; text-decoration: none; }
.auth-links a:hover { text-decoration: underline; }
.auth-links-sep { margin: 0 8px; color: var(--border-strong); }

/* ---------- Print (in-app quick print fallback; report.php has its own) ---------- */

@media print {
    .topbar, .actions-row, .btn, .no-print { display: none !important; }
}

/* ---------- Responsive ---------- */

@media (max-width: 420px) {
    .balance-amount { font-size: 36px; }
    .actions-row { grid-template-columns: 1fr 1fr 1fr; gap: 7px; }
    .btn { padding: 10px 8px; font-size: 13px; }
    .form-row { grid-template-columns: 1fr; }
}
