/* /Layout/MainLayout.razor.rz.scp.css */
.app-backdrop[b-kiim2d3jbb] {
    min-height: 100%;
}

.app-shell[b-kiim2d3jbb] {
    width: min(100%, 1720px);
    margin: 0 auto;
    padding: 1.5rem clamp(1rem, 3vw, 3rem) 3rem;
}
/* /Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-zyqad0xin1] {
    background-color: rgba(255, 255, 255, 0.1);
}

.top-row[b-zyqad0xin1] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-zyqad0xin1] {
    font-size: 1.1rem;
}

.bi[b-zyqad0xin1] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-zyqad0xin1] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-zyqad0xin1] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-zyqad0xin1] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.nav-item[b-zyqad0xin1] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-zyqad0xin1] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-zyqad0xin1] {
        padding-bottom: 1rem;
    }

    .nav-item[b-zyqad0xin1]  a {
        color: #d7d7d7;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
    }

.nav-item[b-zyqad0xin1]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-zyqad0xin1]  a:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

@media (min-width: 641px) {
    .navbar-toggler[b-zyqad0xin1] {
        display: none;
    }

    .collapse[b-zyqad0xin1] {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }

    .nav-scrollable[b-zyqad0xin1] {
        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Pages/Home.razor.rz.scp.css */
/* ── Shell & loading ─────────────────────────── */
.home-shell[b-auovzeh2tn] {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding-top: 1.5rem;
    width: 100%;
}

.home-loading[b-auovzeh2tn] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 5rem 2rem;
    color: var(--ink-soft);
}

.loading-spinner[b-auovzeh2tn] {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(47, 156, 143, 0.15);
    border-top-color: var(--teal);
    border-radius: 50%;
    animation: spin-b-auovzeh2tn 0.8s linear infinite;
}

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

/* ── Panel switch (mobile tab bar) ───────────── */
.panel-switch[b-auovzeh2tn] {
    display: flex;
    gap: 0.4rem;
    padding: 0.3rem;
    background: rgba(255, 255, 255, 0.65);
    border-radius: 999px;
    width: fit-content;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.panel-tab[b-auovzeh2tn] {
    border: none;
    background: transparent;
    padding: 0.5rem 1.1rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.88rem;
    cursor: pointer;
    transition: all 0.22s ease;
    color: var(--ink-soft);
}

.panel-tab.active[b-auovzeh2tn] {
    background: var(--ink);
    color: white;
    box-shadow: 0 4px 12px rgba(27, 35, 43, 0.2);
}

/* ── Swipe dots ──────────────────────────────── */
.swipe-dots[b-auovzeh2tn] {
    display: none;
    justify-content: center;
    gap: 0.45rem;
    margin: -1.5rem 0 0;
}

.swipe-dot[b-auovzeh2tn] {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(27, 35, 43, 0.18);
    transition: transform 0.2s ease, background 0.2s ease;
}

.swipe-dot.active[b-auovzeh2tn] {
    background: var(--teal);
    transform: scale(1.3);
}

/* ── Viewport & track ────────────────────────── */
.board-viewport[b-auovzeh2tn] { overflow: hidden; touch-action: pan-y; }

.board-track[b-auovzeh2tn] {
    display: flex;
    width: 300%; /* 3 panels */
    transform: translateX(calc(-33.333% * var(--panel-index, 0) + var(--swipe-offset, 0px)));
    transition: var(--track-transition, transform 0.28s cubic-bezier(0.16, 1, 0.3, 1));
    will-change: transform;
}

.board-track > .panel[b-auovzeh2tn] {
    flex: 0 0 33.333%;
    min-width: 33.333%;
    box-sizing: border-box;
}

@media (max-width: 959px) {
    .swipe-dots[b-auovzeh2tn] { display: flex; }
    .panel-switch[b-auovzeh2tn] { width: 100%; justify-content: center; }
}

@media (min-width: 960px) {
    .board-viewport[b-auovzeh2tn] { overflow: visible; touch-action: auto; }

    .board-track[b-auovzeh2tn] {
        display: grid;
        grid-template-columns: minmax(420px, 1.45fr) minmax(360px, 1.05fr) minmax(340px, 1fr);
        width: 100%;
        transform: none !important;
        gap: clamp(1rem, 1.5vw, 1.75rem);
        transition: none;
    }

    .board-track > .panel[b-auovzeh2tn] {
        flex: unset;
        min-width: 0;
        width: auto;
    }

    .panel-switch[b-auovzeh2tn],
    .swipe-dots[b-auovzeh2tn] { display: none; }
}

/* ── Hero ────────────────────────────────────── */
.hero[b-auovzeh2tn] {
    display: grid;
    gap: clamp(1.5rem, 3vw, 4rem);
}

.hero-intro h1[b-auovzeh2tn] {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    margin: 0.75rem 0 0.5rem;
    color: var(--ink);
    letter-spacing: -0.02em;
}

.hero-intro p[b-auovzeh2tn] {
    margin: 0 0 1.5rem;
    color: var(--ink-soft);
    font-size: 1.05rem;
}

.hero-meta[b-auovzeh2tn] { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }

.hero-metrics[b-auovzeh2tn] { display: grid; gap: 1rem; }

/* ── Metric cards ────────────────────────────── */
.metric-card[b-auovzeh2tn] {
    padding: 1.1rem 1.2rem;
    border-radius: var(--radius-md);
    background: var(--glass);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(255, 255, 255, 0.7);
    position: relative;
    overflow: hidden;
    animation: floatIn-b-auovzeh2tn 0.5s ease forwards;
}

.metric-card[b-auovzeh2tn]::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent, var(--teal)), transparent);
    border-radius: 999px 999px 0 0;
}

.metric-card.balance[b-auovzeh2tn] { border: 1px solid rgba(47, 156, 143, 0.2); }

.metric-title[b-auovzeh2tn] {
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-soft);
    font-weight: 600;
}

.metric-value[b-auovzeh2tn] {
    font-size: 1.4rem;
    font-weight: 800;
    margin: 0.4rem 0 0.2rem;
    letter-spacing: -0.02em;
}

.pts-value[b-auovzeh2tn] { color: var(--teal); }
.pts-label[b-auovzeh2tn] { font-size: 0.85rem; font-weight: 500; color: var(--ink-soft); }

.metric-sub[b-auovzeh2tn] { font-size: 0.85rem; color: var(--ink-soft); }

.metric-bar[b-auovzeh2tn] {
    margin-top: 0.75rem;
    height: 4px;
    background: rgba(0,0,0,0.06);
    border-radius: 999px;
    overflow: hidden;
}

.metric-bar[b-auovzeh2tn]::after {
    content: "";
    display: block;
    height: 100%;
    width: var(--bar-pct, 0%);
    background: linear-gradient(90deg, var(--teal), var(--coral));
    border-radius: 999px;
    transition: width 0.6s ease;
}

/* ── Panels ──────────────────────────────────── */
.panel[b-auovzeh2tn] {
    background: var(--glass);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: var(--shadow);
}

.panel-header[b-auovzeh2tn] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.panel-header h2[b-auovzeh2tn] {
    margin: 0 0 0.35rem;
    font-family: var(--font-serif);
    font-size: 1.4rem;
    letter-spacing: -0.01em;
}

.panel-header p[b-auovzeh2tn] { margin: 0; color: var(--ink-soft); font-size: 0.9rem; }

.panel-header-actions[b-auovzeh2tn] { display: flex; flex-wrap: wrap; gap: 0.5rem; }

/* ── Segmented control ───────────────────────── */
.segmented[b-auovzeh2tn] {
    display: inline-flex;
    gap: 0.3rem;
    background: rgba(255, 255, 255, 0.6);
    padding: 0.3rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    overflow-x: auto;
    max-width: 100%;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
}

.segmented[b-auovzeh2tn]::-webkit-scrollbar {
    display: none;
}

.segment[b-auovzeh2tn] {
    border: none;
    background: transparent;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.82rem;
    color: var(--ink-soft);
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.segment.active[b-auovzeh2tn] { background: var(--ink); color: white; }

/* ── Task columns ────────────────────────────── */
.task-columns[b-auovzeh2tn] { display: grid; gap: 1.2rem; }

.task-column[b-auovzeh2tn] { display: flex; flex-direction: column; gap: 0.75rem; }

.column-header[b-auovzeh2tn] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 700;
    font-size: 0.88rem;
}

.task-dropzone[b-auovzeh2tn] {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    padding: 1rem;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.55);
    border: 1.5px dashed rgba(46, 70, 89, 0.15);
    min-height: 200px;
    transition: all 0.2s ease;
}

.task-dropzone.drop-active[b-auovzeh2tn] {
    border-color: rgba(47, 156, 143, 0.55);
    box-shadow: 0 0 0 3px rgba(47, 156, 143, 0.12);
    background: rgba(47, 156, 143, 0.04);
}

.task-dropzone.drop-active.soft[b-auovzeh2tn] {
    border-color: rgba(243, 123, 91, 0.5);
    box-shadow: 0 0 0 3px rgba(243, 123, 91, 0.12);
}

/* ── Task cards ──────────────────────────────── */
.task-card[b-auovzeh2tn] {
    padding: 0.85rem 1rem;
    border-radius: var(--radius-md);
    background: white;
    box-shadow: var(--shadow-soft);
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    border: 1px solid rgba(0,0,0,0.04);
    user-select: none;
}

.task-card:hover[b-auovzeh2tn] {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(18, 24, 30, 0.1);
}

.task-card:active[b-auovzeh2tn] { transform: scale(0.98); }

/* Completed task: visually distinct */
.task-card.done[b-auovzeh2tn] {
    opacity: 0.6;
    background: rgba(47, 156, 143, 0.06);
    border-color: rgba(47, 156, 143, 0.15);
}

.task-card.done .task-title[b-auovzeh2tn] {
    text-decoration: line-through;
    color: var(--ink-soft);
}

/* Overdue task */
.task-card.overdue[b-auovzeh2tn] {
    border-left: 3px solid var(--coral);
    background: rgba(243, 123, 91, 0.04);
}

.task-title[b-auovzeh2tn] { font-weight: 600; margin-bottom: 0.45rem; font-size: 0.93rem; }

.task-meta[b-auovzeh2tn] { display: flex; flex-wrap: wrap; gap: 0.4rem; }

.task-pill[b-auovzeh2tn] {
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.85);
    color: var(--ink);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.task-pill.muted[b-auovzeh2tn] { background: rgba(15, 23, 32, 0.06); color: var(--ink-soft); }
.task-pill.danger-pill[b-auovzeh2tn] { background: rgba(243, 123, 91, 0.12); color: #c0392b; border-color: rgba(243, 123, 91, 0.3); }
.task-pill[style][b-auovzeh2tn] { border-color: var(--accent); }

.empty-state[b-auovzeh2tn] { color: var(--ink-soft); font-size: 0.88rem; text-align: center; padding: 2rem 1rem; }

/* ── Task create form ────────────────────────── */
.task-create[b-auovzeh2tn] { margin-top: 1.5rem; }

.task-create h3[b-auovzeh2tn] {
    font-size: 0.88rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--ink-soft);
    margin: 0 0 0.75rem;
}

.task-form-grid[b-auovzeh2tn] {
    display: grid;
    gap: 0.65rem;
}

/* ── Finance panel ───────────────────────────── */
.balance-card[b-auovzeh2tn] {
    padding: 1.1rem 1.2rem;
    border-radius: var(--radius-md);
    background: linear-gradient(140deg, rgba(47, 156, 143, 0.1), rgba(243, 123, 91, 0.08));
    border: 1px solid rgba(47, 156, 143, 0.2);
    margin-bottom: 1.25rem;
    min-width: 0;
    overflow: hidden;
}

.balance-label[b-auovzeh2tn] {
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-soft);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.balance-message[b-auovzeh2tn] { font-size: 1.15rem; font-weight: 700; margin: 0.4rem 0 0.2rem; }
.balance-message.ok[b-auovzeh2tn] { color: var(--teal); }

.balance-sub[b-auovzeh2tn] { font-size: 0.85rem; color: var(--ink-soft); margin-top: 0.35rem; }

.settlement-row[b-auovzeh2tn] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    padding: 0.2rem 0;
    flex-wrap: wrap;
}

.settlement-from[b-auovzeh2tn], .settlement-to[b-auovzeh2tn] { font-weight: 700; }
.settlement-amount[b-auovzeh2tn] { font-weight: 800; color: var(--coral); }
.settlement-arrow[b-auovzeh2tn] { color: var(--ink-soft); font-size: 0.82rem; }
.settlement-action[b-auovzeh2tn] { padding: 0.22rem 0.65rem; white-space: nowrap; }

/* ── Expense form ────────────────────────────── */
.expense-form[b-auovzeh2tn] { display: grid; gap: 0.65rem; margin-bottom: 1.25rem; }
.form-row[b-auovzeh2tn] { display: grid; gap: 0.55rem; min-width: 0; }

/* ── Expense list ────────────────────────────── */
.expense-list[b-auovzeh2tn] { display: grid; gap: 0.65rem; margin-bottom: 1.25rem; }

.list-header[b-auovzeh2tn] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
    font-weight: 700;
    font-size: 0.88rem;
}

.expense-row[b-auovzeh2tn] {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 0.9rem;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    align-items: center;
    min-width: 0;
}

.expense-title[b-auovzeh2tn] { font-weight: 600; font-size: 0.9rem; }
.expense-sub[b-auovzeh2tn] { font-size: 0.8rem; color: var(--ink-soft); margin-top: 0.15rem; overflow-wrap: anywhere; }
.expense-amount[b-auovzeh2tn] { font-weight: 800; white-space: nowrap; }
.expense-main[b-auovzeh2tn] { min-width: 0; }
.expense-category-line[b-auovzeh2tn] { display: flex; gap: 0.4rem; align-items: center; }
.fixed-expense-row[b-auovzeh2tn] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
}

/* ── Modal ──────────────────────────────────── */
.modal-overlay[b-auovzeh2tn] {
    position: fixed;
    inset: 0;
    z-index: 1100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(15, 23, 32, 0.45);
    backdrop-filter: blur(6px);
}

.modal-card[b-auovzeh2tn] {
    width: min(680px, 100%);
    max-height: min(760px, 88vh);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.85);
    box-shadow: 0 24px 70px rgba(15, 23, 32, 0.28);
    overflow: hidden;
}

.modal-header[b-auovzeh2tn] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.1rem;
    border-bottom: 1px solid rgba(15, 23, 32, 0.08);
}

.modal-header h3[b-auovzeh2tn] {
    margin: 0;
    font-size: 1rem;
}

.modal-header p[b-auovzeh2tn] {
    margin: 0.2rem 0 0;
    color: var(--ink-soft);
    font-size: 0.85rem;
}

.modal-expense-list[b-auovzeh2tn] {
    display: grid;
    gap: 0.65rem;
    max-height: calc(88vh - 86px);
    overflow-y: auto;
    padding: 1rem;
}
.fixed-expense-actions[b-auovzeh2tn] {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    align-items: flex-end;
}
.icon-btn[b-auovzeh2tn] {
    width: 2.25rem;
    min-width: 2.25rem;
    height: 2.25rem;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* ── Redemption queue ────────────────────────── */
.redemption-queue[b-auovzeh2tn] {
    margin-bottom: 1.25rem;
    padding: 1rem;
    border-radius: var(--radius-md);
    background: rgba(139, 92, 246, 0.06);
    border: 1px solid rgba(139, 92, 246, 0.15);
}

.redemption-queue h3[b-auovzeh2tn] { margin: 0 0 0.75rem; font-size: 0.92rem; font-weight: 700; }

.redemption-row[b-auovzeh2tn] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    flex-wrap: wrap;
    font-size: 0.88rem;
}

.redemption-actions[b-auovzeh2tn] { display: flex; gap: 0.5rem; }

/* ── Rewards section ─────────────────────────── */
.rewards-section[b-auovzeh2tn] {
    padding: 1rem;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.rewards-header[b-auovzeh2tn] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.rewards-header h3[b-auovzeh2tn] { margin: 0; font-size: 0.92rem; font-weight: 700; }

.reward-create-form[b-auovzeh2tn] {
    display: grid;
    gap: 0.55rem;
    margin-bottom: 0.85rem;
    padding: 0.75rem;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(47, 156, 143, 0.15);
    animation: floatIn-b-auovzeh2tn 0.25s ease;
}

.reward-row[b-auovzeh2tn] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    flex-wrap: wrap;
}

.reward-row:last-child[b-auovzeh2tn] { border-bottom: none; }

.reward-title[b-auovzeh2tn] { font-weight: 600; font-size: 0.9rem; }
.reward-cost[b-auovzeh2tn] { font-size: 0.78rem; color: var(--teal); font-weight: 600; }

.reward-actions[b-auovzeh2tn] { display: flex; align-items: center; gap: 0.5rem; }

.reward-locked[b-auovzeh2tn] {
    font-size: 0.78rem;
    color: var(--ink-soft);
    background: rgba(0,0,0,0.05);
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
}

/* ── Shopping panel ──────────────────────────── */
.shopping-add-form[b-auovzeh2tn] {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin-bottom: 1.25rem;
}

.shopping-emoji-row[b-auovzeh2tn] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.emoji-btn[b-auovzeh2tn] {
    padding: 0.4rem 0.5rem;
    border-radius: var(--radius-sm);
    border: 1.5px solid rgba(0,0,0,0.08);
    background: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.18s ease;
    line-height: 1;
}

.emoji-btn.active[b-auovzeh2tn] {
    background: var(--teal);
    border-color: var(--teal);
    box-shadow: 0 4px 10px rgba(47, 156, 143, 0.3);
}

.emoji-btn:hover[b-auovzeh2tn] { transform: scale(1.1); }

.shopping-input-row[b-auovzeh2tn] {
    display: flex;
    gap: 0.5rem;
}

.shopping-input-row .input[b-auovzeh2tn] { flex: 1; }

/* ── Shopping list items ─────────────────────── */
.shopping-list[b-auovzeh2tn] { display: flex; flex-direction: column; gap: 0.5rem; }

.shopping-item[b-auovzeh2tn] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.75rem 0.85rem;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    cursor: pointer;
    transition: all 0.18s ease;
    border: 1px solid rgba(0,0,0,0.04);
    user-select: none;
}

.shopping-item:hover[b-auovzeh2tn] { transform: translateX(3px); }
.shopping-item:active[b-auovzeh2tn] { transform: scale(0.99); }

.shopping-item.checked[b-auovzeh2tn] {
    opacity: 0.55;
    background: rgba(47, 156, 143, 0.04);
}

.shopping-item.checked .shopping-name[b-auovzeh2tn] { text-decoration: line-through; }

.shopping-check[b-auovzeh2tn] {
    width: 22px;
    height: 22px;
    border: 2px solid rgba(0,0,0,0.15);
    border-radius: 50%;
    flex-shrink: 0;
    transition: all 0.18s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}

.shopping-check.checked-mark[b-auovzeh2tn] {
    background: var(--teal);
    border-color: var(--teal);
    color: white;
}

.shopping-emoji[b-auovzeh2tn] { font-size: 1.1rem; flex-shrink: 0; }

.shopping-name[b-auovzeh2tn] { font-weight: 500; flex: 1; font-size: 0.9rem; }

.shopping-by[b-auovzeh2tn] {
    font-size: 0.75rem;
    color: var(--ink-soft);
    flex-shrink: 0;
}

.shopping-delete[b-auovzeh2tn] {
    opacity: 0;
    transition: opacity 0.18s;
    flex-shrink: 0;
    color: var(--ink-soft);
    font-size: 0.75rem;
}

.shopping-item:hover .shopping-delete[b-auovzeh2tn] { opacity: 1; }

.shopping-divider[b-auovzeh2tn] {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ink-soft);
    margin: 0.25rem 0;
}

/* ── Responsive ──────────────────────────────── */
@media (min-width: 900px) {
    .hero[b-auovzeh2tn] {
        grid-template-columns: minmax(520px, 1.1fr) minmax(520px, 0.9fr);
        align-items: start;
    }

    .hero-metrics[b-auovzeh2tn] {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        align-items: stretch;
    }

    .metric-card.balance[b-auovzeh2tn] {
        grid-column: auto;
    }

    .task-columns[b-auovzeh2tn] { grid-template-columns: repeat(2, 1fr); }

    .task-form-grid[b-auovzeh2tn] { grid-template-columns: 1fr 1fr; }
    .task-form-grid > .full-width[b-auovzeh2tn] { grid-column: 1 / -1; }

    .form-row[b-auovzeh2tn] { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
}

@media (min-width: 1500px) {
    .hero-intro h1[b-auovzeh2tn] {
        font-size: clamp(3rem, 3.4vw, 4rem);
    }
}

@media (max-width: 480px) {
    .settlement-row[b-auovzeh2tn] { font-size: 0.82rem; }
    .fixed-expense-row[b-auovzeh2tn] { grid-template-columns: 1fr; }
    .fixed-expense-actions[b-auovzeh2tn] {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-start;
        align-items: center;
        margin-top: 0.65rem;
    }
    .category-body[b-auovzeh2tn] {
        grid-template-columns: 1fr;
        justify-items: center;
    }
    .category-list[b-auovzeh2tn] { width: 100%; }
}

/* ── Roulette / Random assign button ─────────── */
.roulette-btn[b-auovzeh2tn] {
    background: rgba(139, 92, 246, 0.08);
    color: #7c3aed;
    border: 1.5px solid rgba(139, 92, 246, 0.2);
    border-radius: 999px;
    padding: 0.5rem 1rem;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.roulette-btn:hover[b-auovzeh2tn] {
    background: rgba(139, 92, 246, 0.14);
    transform: translateY(-1px);
}

.roulette-btn.active[b-auovzeh2tn] {
    background: linear-gradient(135deg, #7c3aed, #5b21b6);
    color: white;
    border-color: #7c3aed;
    box-shadow: 0 4px 14px rgba(124, 58, 237, 0.35);
    animation: pulse-violet-b-auovzeh2tn 1.8s ease-in-out infinite;
}

@keyframes pulse-violet-b-auovzeh2tn {
    0%, 100% { box-shadow: 0 4px 14px rgba(124, 58, 237, 0.35); }
    50%       { box-shadow: 0 4px 22px rgba(124, 58, 237, 0.6); }
}

/* ── Animations ──────────────────────────────── */
@keyframes floatIn-b-auovzeh2tn {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Category breakdown ─────────────────────── */
.category-card[b-auovzeh2tn] {
    padding: 1rem;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.7);
    margin-bottom: 1.25rem;
}

.category-header[b-auovzeh2tn] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.category-body[b-auovzeh2tn] {
    display: grid;
    grid-template-columns: minmax(96px, 120px) minmax(0, 1fr);
    gap: 0.85rem;
    align-items: center;
    min-width: 0;
}

.category-chart[b-auovzeh2tn] {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.05);
}

.category-list[b-auovzeh2tn] {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    min-width: 0;
}

.category-row[b-auovzeh2tn] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    min-width: 0;
}

.category-dot[b-auovzeh2tn] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.category-name[b-auovzeh2tn] { flex: 1; color: var(--ink-soft); min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.category-amount[b-auovzeh2tn] { font-weight: 700; overflow-wrap: anywhere; text-align: right; line-height: 1.1; }

/* ── Leaderboard ────────────────────────────── */
.leaderboard-card[b-auovzeh2tn] {
    padding: 1rem;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.7);
    margin-bottom: 1.25rem;
}

.leaderboard-title[b-auovzeh2tn] {
    font-weight: 700;
    margin-bottom: 0.6rem;
}

.leaderboard-row[b-auovzeh2tn] {
    display: flex;
    justify-content: space-between;
    padding: 0.35rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    font-size: 0.88rem;
}

.leaderboard-row:last-child[b-auovzeh2tn] { border-bottom: none; }

.leaderboard-name[b-auovzeh2tn] { font-weight: 600; }
.leaderboard-points[b-auovzeh2tn] { font-weight: 800; color: var(--teal); }

.leaderboard-reward[b-auovzeh2tn] {
    margin-top: 0.6rem;
    font-size: 0.82rem;
    color: var(--ink-soft);
}

/* ── Roulette overlay ───────────────────────── */
.roulette-overlay[b-auovzeh2tn] {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 32, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(6px);
}

.roulette-card[b-auovzeh2tn] {
    background: white;
    border-radius: var(--radius-lg);
    padding: 1.2rem 1.5rem;
    min-width: 260px;
    max-width: 360px;
    box-shadow: 0 18px 40px rgba(0,0,0,0.25);
    text-align: center;
}

.roulette-title[b-auovzeh2tn] {
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.roulette-wheel[b-auovzeh2tn] {
    display: grid;
    gap: 0.4rem;
    max-height: 220px;
    overflow: hidden;
}

.roulette-item[b-auovzeh2tn] {
    padding: 0.4rem 0.6rem;
    border-radius: var(--radius-sm);
    background: rgba(0,0,0,0.04);
    font-size: 0.9rem;
}

.roulette-item.active[b-auovzeh2tn] {
    background: rgba(47, 156, 143, 0.12);
    border: 1px solid rgba(47, 156, 143, 0.45);
    font-weight: 700;
}

.roulette-result[b-auovzeh2tn] {
    margin-top: 0.75rem;
    font-weight: 700;
}
/* /Pages/Register.razor.rz.scp.css */
/* Register page — only page-specific overrides.
   All global styles live in app.css */

.step-screen h2[b-2lw6ea8ca9] {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    margin: 1.25rem 0 0.4rem;
    color: var(--ink);
    letter-spacing: -0.02em;
}

.step-screen p[b-2lw6ea8ca9] {
    color: var(--ink-soft);
    margin: 0 0 1.5rem;
    line-height: 1.5;
}

.actions[b-2lw6ea8ca9] {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.actions > *[b-2lw6ea8ca9] { flex: 1; }

@keyframes slideUp-b-2lw6ea8ca9 {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}
/* /Pages/Settings.razor.rz.scp.css */
/* ── Shell & loading ─────────────────────────── */
.home-shell[b-joe3wtoxsu] {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    padding-top: 1.5rem;
}

.home-loading[b-joe3wtoxsu] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 5rem 2rem;
    color: var(--ink-soft);
}

.loading-spinner[b-joe3wtoxsu] {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(47, 156, 143, 0.15);
    border-top-color: var(--teal);
    border-radius: 50%;
    animation: spin-b-joe3wtoxsu 0.8s linear infinite;
}

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

/* ── Hero ────────────────────────────────────── */
.hero[b-joe3wtoxsu] {
    display: grid;
    gap: 2rem;
}

.hero-intro h1[b-joe3wtoxsu] {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    margin: 0.75rem 0 0.5rem;
    color: var(--ink);
    letter-spacing: -0.02em;
}

.hero-intro p[b-joe3wtoxsu] {
    margin: 0 0 1.5rem;
    color: var(--ink-soft);
    font-size: 1.05rem;
}

/* ── Panels ──────────────────────────────────── */
.panel[b-joe3wtoxsu] {
    background: var(--glass);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: var(--shadow);
}

.panel-header[b-joe3wtoxsu] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.panel-header h2[b-joe3wtoxsu] {
    margin: 0 0 0.35rem;
    font-family: var(--font-serif);
    font-size: 1.4rem;
    letter-spacing: -0.01em;
}

.panel-header p[b-joe3wtoxsu] { margin: 0; color: var(--ink-soft); font-size: 0.9rem; }

/* ── Task columns ────────────────────────────── */
.task-columns[b-joe3wtoxsu] { display: grid; gap: 1.2rem; }

.task-column[b-joe3wtoxsu] { display: flex; flex-direction: column; gap: 1.2rem; }

.task-form-grid[b-joe3wtoxsu] {
    display: grid;
    gap: 0.65rem;
}

/* ── Members List (using expense-row styling) ── */
.expense-row[b-joe3wtoxsu] {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 0.9rem;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    align-items: center;
}

.task-pill[b-joe3wtoxsu] {
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.85);
    color: var(--ink);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.task-pill.muted[b-joe3wtoxsu] { background: rgba(15, 23, 32, 0.06); color: var(--ink-soft); }
.task-pill.danger-pill[b-joe3wtoxsu] { background: rgba(243, 123, 91, 0.12); color: #c0392b; border-color: rgba(243, 123, 91, 0.3); }

/* ── Responsive ──────────────────────────────── */
@media (min-width: 900px) {
    .task-columns[b-joe3wtoxsu] { grid-template-columns: repeat(2, 1fr); }
}

/* ── Shared rows ────────────────────────────── */
.expense-row[b-joe3wtoxsu] {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 0.9rem;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    align-items: center;
}

.expense-title[b-joe3wtoxsu] { font-weight: 600; font-size: 0.9rem; }
.expense-sub[b-joe3wtoxsu] { font-size: 0.8rem; color: var(--ink-soft); margin-top: 0.15rem; }
