/* /Components/Budget/BudgetHistoryPanel.razor.rz.scp.css */
.history-date-range[b-2e9ll6dwa8] {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    gap: .75rem;
    margin-block: 1rem;
}

.history-date-range label[b-2e9ll6dwa8] {
    display: grid;
    gap: .4rem;
    flex: 1 1 10rem;
    min-width: 0;
    color: var(--text-1);
}

.history-date-range input[b-2e9ll6dwa8] {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    min-height: 44px;
    padding: .65rem;
    border: 1px solid var(--text-3);
    border-radius: .65rem;
    background: var(--surface-card);
    color: var(--text-1);
    font: inherit;
}

.history-date-range button[b-2e9ll6dwa8] { min-height: 44px; }

/* WebKit date controls have intrinsic content width; constrain the grid tracks
   as well as the inputs so a localized date cannot expand the viewport. */
@media (max-width: 600px) {
    .history-date-range[b-2e9ll6dwa8] { display: grid; grid-template-columns: minmax(0, 1fr); }
    .history-date-range label[b-2e9ll6dwa8], .history-date-range input[b-2e9ll6dwa8],
    .history-date-range button[b-2e9ll6dwa8] { max-width: 100%; min-width: 0; width: 100%; }
    .history-date-range input[b-2e9ll6dwa8] { appearance: none; -webkit-appearance: none; }
    .history-date-range input[b-2e9ll6dwa8]::-webkit-date-and-time-value { text-align: start; min-width: 0; }
}
/* /Components/Budget/BudgetOverviewPanel.razor.rz.scp.css */
.monthly-editor[b-rakj63fxye] { display: grid; gap: .75rem; margin-block: .5rem; text-align: start; }
.monthly-editor__actions[b-rakj63fxye] { display: grid; grid-template-columns: 1fr 2fr; gap: .5rem; }
.monthly-editor__actions button[b-rakj63fxye] { min-height: 44px; min-width: 0; }
/* /Components/TransactionCapturePanel.razor.rz.scp.css */
.transaction-capture-panel .expense-ai-error[b-8ygj15x0nz] {
    color: var(--text-1);
    font-size: 1rem;
    line-height: 1.5;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--red-dim);
    overflow-wrap: anywhere;
}

.transaction-capture-panel .transaction-capture-panel__dropzone[b-8ygj15x0nz] { min-height:270px; padding:24px 20px 18px; margin-top:14px; border:1px solid var(--border); border-radius:22px; background:var(--bg-2); gap:12px; text-align:center; color:var(--text-1); }
.receipt-viewfinder[b-8ygj15x0nz] { display:block; width:108px; height:96px; margin:0 auto; color:var(--text-2); }
.receipt-viewfinder svg[b-8ygj15x0nz] { width:100%; height:100%; }
.receipt-capture-heading[b-8ygj15x0nz] { font-size:20px; line-height:1.2; font-weight:600; letter-spacing:-.5px; }
.transaction-capture-panel .receipt-camera-action[b-8ygj15x0nz] { display:flex; align-items:center; justify-content:center; gap:9px; min-height:48px; width:100%; margin-top:4px; padding:10px 18px; box-sizing:border-box; border-radius:13px; background:var(--text-1); color:var(--bg-1); font-size:14px; font-weight:600; }
.transaction-capture-panel .ed-dropzone-sub[b-8ygj15x0nz] { font-size:12px; color:var(--text-2); }
.transaction-capture-panel .receipt-photo-picker[b-8ygj15x0nz] { display:flex; justify-content:flex-start; gap:12px; min-height:56px; padding:0 16px; margin-top:10px; border:1px solid var(--border); border-radius:14px; font-size:14px; font-weight:500; color:var(--text-1); background:var(--bg-1); }
.receipt-gallery-icon[b-8ygj15x0nz] { width:22px; height:22px; display:flex; }
.receipt-gallery-arrow[b-8ygj15x0nz] { margin-left:auto; }
.transaction-capture-panel__dropzone:focus-within[b-8ygj15x0nz],.receipt-photo-picker:focus-within[b-8ygj15x0nz] { outline:2px solid var(--text-1); outline-offset:3px; }
/* /Components/TransactionEntryForm.razor.rz.scp.css */
.ed-error.purchase-compact-error[b-wlmemklivn] {
    color: var(--text-1);
    font-size: 1rem;
    line-height: 1.5;
    padding: 12px 16px;
    overflow-wrap: anywhere;
}

.transaction-entry-surface[b-wlmemklivn] {
    background: var(--bg-1);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 16px;
    display: grid;
    gap: 18px;
}
.transaction-entry-surface[b-wlmemklivn]  .expense-ai,
.transaction-entry-surface[b-wlmemklivn]  .purchase-form-card,
.transaction-entry-surface .purchase-form-compact[b-wlmemklivn],
.transaction-entry-surface[b-wlmemklivn]  .cashflow-plan-composer {
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}
.transaction-entry-surface[b-wlmemklivn]  .ui-form-card__body { padding: 0; }
.transaction-entry-surface[b-wlmemklivn]  .expense-ai > .field-with-help { display: none; }
.transaction-entry-surface[b-wlmemklivn]  .expense-ai-voice { padding: 10px 0 0; }
.transaction-entry-surface[b-wlmemklivn]  .expense-ai-mic { width: 52px; height: 52px; }
.transaction-entry-surface[b-wlmemklivn]  .expense-ai-voice-hint { margin: 8px 0 0; font-size: 12px; }
.transaction-entry-surface .purchase-form-compact[b-wlmemklivn] { display: grid; gap: 16px; }
.transaction-entry-surface .purchase-compact-block[b-wlmemklivn] { margin: 0; padding: 0; }
.transaction-entry-surface[b-wlmemklivn]  .income-cat-scroll { margin: 8px 0 0; }
.entry-context summary[b-wlmemklivn] { color: var(--text-2); cursor: pointer; font-size: 13px; padding: 8px 0; }
.entry-context[b-wlmemklivn]  .fin-context-picker { margin-top: 8px; }
.entry-date-repeat .ui-form-row[b-wlmemklivn] { gap: 12px; margin: 0; }
.entry-date-repeat .ed-input-group[b-wlmemklivn] { margin: 0; }
.entry-date-repeat .ed-input[b-wlmemklivn] { width: 100%; max-width: 100%; min-height: 44px; }
.transaction-entry-surface[b-wlmemklivn]  .cashflow-plan-composer__toggle { padding: 12px 0 0; border-top: 1px solid var(--border); }
.transaction-entry-surface[b-wlmemklivn]  .cashflow-plan-composer__toggle small { display: none; }
/* /Pages/AccountDeletion.razor.rz.scp.css */
.account-deletion-shell[b-p47tfi6sbz] {
    padding-top: max(24px, env(safe-area-inset-top));
}

.account-deletion-header[b-p47tfi6sbz] {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
}

.account-deletion-brand[b-p47tfi6sbz] {
    display: inline-flex;
    color: var(--text-0);
    text-decoration: none;
}

.account-deletion-product[b-p47tfi6sbz] {
    color: var(--accent);
    font-size: 13px;
    font-weight: 700;
    margin: 0 0 12px;
}

.account-deletion-request[b-p47tfi6sbz] {
    background: var(--surface, var(--bg-2));
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 24px;
    margin: 28px 0;
}

.account-deletion-request h2[b-p47tfi6sbz] {
    margin-top: 0;
}

.account-deletion-action[b-p47tfi6sbz] {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 14px 20px;
    border-radius: 12px;
    background: var(--accent);
    color: var(--on-accent, #051b14);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;
    margin: 16px 0;
}

.account-deletion-email[b-p47tfi6sbz],
.account-deletion-privacy[b-p47tfi6sbz] {
    color: var(--text-0);
    text-decoration: underline;
    text-underline-offset: 4px;
    overflow-wrap: anywhere;
}

.account-deletion-shell a:focus-visible[b-p47tfi6sbz] {
    outline: 3px solid var(--accent);
    outline-offset: 4px;
}

.account-deletion-steps[b-p47tfi6sbz] {
    color: var(--text-2);
    font-size: 14px;
    line-height: 1.7;
    padding-left: 22px;
}

.account-deletion-steps li + li[b-p47tfi6sbz] {
    margin-top: 12px;
}

.account-deletion-security[b-p47tfi6sbz] {
    color: var(--text-0);
    border-left: 3px solid var(--accent);
    padding: 8px 16px;
    font-size: 14px;
    line-height: 1.65;
}
/* /Pages/BillingResult.razor.rz.scp.css */
.receipt-page[b-yyyp28xqhy] { width: 100%; max-width: 680px; margin-inline: auto; }
.receipt-page .ed-card[b-yyyp28xqhy] { color: var(--text-1); overflow-wrap: anywhere; }
.receipt-page h1[b-yyyp28xqhy] { font-size: clamp(1.4rem, 4vw, 1.9rem); }
.receipt-page p[b-yyyp28xqhy] { line-height: 1.6; }
.receipt-amount[b-yyyp28xqhy] { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.receipt-actions[b-yyyp28xqhy] { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.receipt-actions .ed-btn-outline[b-yyyp28xqhy] { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 18px; text-align: center; }
.receipt-actions :focus-visible[b-yyyp28xqhy] { outline: 3px solid var(--accent); outline-offset: 3px; }
@media (max-width: 440px) { .receipt-actions > *[b-yyyp28xqhy] { width: 100%; } }
/* /Pages/Capture.razor.rz.scp.css */
/* Use the existing transaction capture component and product tokens. */
.capture-page[b-988rjrpki7] { max-width:620px; margin:0 auto; padding:16px 16px 28px; color:var(--text-1); }
.capture-page > header[b-988rjrpki7] { margin:0 0 16px; }
.capture-page h1[b-988rjrpki7] { margin:0; font-size:18px; font-weight:700; letter-spacing:-.4px; }
.capture-page h2[b-988rjrpki7] { margin:18px 0 12px; font-size:16px; }
.capture-entry[b-988rjrpki7] { margin-bottom:16px; }
.capture-manual textarea[b-988rjrpki7] { min-height:78px; resize:vertical; }
.capture-review[b-988rjrpki7] { background:var(--bg-1); border:1px solid var(--border); border-radius:var(--tmw-radius-card); padding:16px; }
.capture-review h2[b-988rjrpki7] { margin:0 0 16px; }
.capture-review > label[b-988rjrpki7] { display:flex; flex-direction:column; gap:6px; margin-bottom:14px; font-size:12px; font-weight:600; color:var(--text-2); }
.capture-review > label > input:not([type=checkbox])[b-988rjrpki7], .capture-review > label > select[b-988rjrpki7] { width:100%; min-height:44px; box-sizing:border-box; border:1px solid var(--border); border-radius:var(--tmw-radius-control); background:var(--bg-2); padding:10px 12px; font:inherit; font-size:14px; color:var(--text-1); }
.capture-review .capture-consent[b-988rjrpki7] { flex-direction:row; align-items:center; font-size:13px; color:var(--text-1); }
.capture-consent input[b-988rjrpki7] { width:18px; height:18px; accent-color:var(--accent); }
.capture-actions[b-988rjrpki7] { display:grid; grid-template-columns:1fr 1fr; gap:8px; margin-top:16px; }
.capture-review button[b-988rjrpki7],.capture-draft-row[b-988rjrpki7] { min-height:44px; border:1px solid var(--border); border-radius:var(--tmw-radius-control); padding:10px 12px; background:var(--bg-2); color:var(--text-1); font:inherit; font-size:13px; cursor:pointer; }
.capture-review .capture-primary[b-988rjrpki7] { background:var(--text-1); color:var(--bg-1); border-color:var(--text-1); font-weight:600; }
.capture-review .capture-link[b-988rjrpki7] { border:0; background:none; margin-top:8px; color:var(--text-2); }
.capture-error[b-988rjrpki7] { border-left:3px solid var(--text-2); padding:10px 12px; font-size:13px; }
.capture-draft-row[b-988rjrpki7] { display:flex; justify-content:space-between; width:100%; margin:8px 0; }
.capture-page button:disabled[b-988rjrpki7] { opacity:.5; }
.capture-page small[b-988rjrpki7],.capture-review p[b-988rjrpki7] { font-size:12px; color:var(--text-2); line-height:1.5; }
.capture-page a[b-988rjrpki7] { color:inherit; text-decoration:none; font-size:14px; }
.capture-review small[b-988rjrpki7] { display:block; }

/* Confirmed only: a calm receipt with one unmistakable success signal. */
.capture-success[b-988rjrpki7] { background:var(--bg-1); border:1px solid var(--border); border-radius:28px; padding:36px 24px 24px; text-align:center; box-shadow:0 12px 36px rgb(0 0 0 / 3%); animation:capture-success-enter-b-988rjrpki7 .4s ease-out both; }
.capture-success__mark[b-988rjrpki7] { width:72px; height:72px; margin:0 auto 22px; display:grid; place-items:center; border-radius:50%; background:var(--text-1); color:var(--bg-1); box-shadow:0 0 0 8px var(--bg-2); }
.capture-success__mark svg[b-988rjrpki7] { width:36px; height:36px; }
.capture-success h2[b-988rjrpki7] { margin:0 0 24px; font-size:26px; font-weight:650; letter-spacing:-.8px; }
.capture-success__name[b-988rjrpki7] { margin:0 0 8px; color:var(--text-2); font-size:16px; overflow-wrap:anywhere; }
.capture-success__amount[b-988rjrpki7] { display:flex; align-items:baseline; justify-content:center; gap:8px; flex-wrap:wrap; font-size:clamp(32px,10vw,52px); font-weight:650; line-height:1.15; letter-spacing:-2px; overflow-wrap:anywhere; font-variant-numeric:tabular-nums; }
.capture-success__amount span[b-988rjrpki7] { font-size:19px; font-weight:500; letter-spacing:0; color:var(--text-2); }
.capture-success__variable[b-988rjrpki7] { color:var(--text-2); font-size:15px; }
.capture-success__receipt[b-988rjrpki7] { display:flex; flex-wrap:wrap; justify-content:center; gap:8px 18px; padding:20px 0 24px; margin-bottom:24px; border-bottom:1px solid var(--border); color:var(--text-2); font-size:12px; }
.capture-success__actions[b-988rjrpki7] { display:grid; gap:10px; }
.capture-success__actions a[b-988rjrpki7],.capture-success__actions button[b-988rjrpki7] { min-height:52px; border-radius:14px; padding:14px 18px; display:flex; align-items:center; justify-content:space-between; gap:12px; font:inherit; font-size:14px; font-weight:600; cursor:pointer; text-decoration:none; }
.capture-success__actions .capture-success__primary[b-988rjrpki7] { background:var(--text-1); color:var(--bg-1); border:1px solid var(--text-1); }
.capture-success__secondary[b-988rjrpki7] { background:transparent; color:var(--text-1); border:1px solid var(--border); }
.capture-success__actions :focus-visible[b-988rjrpki7] { outline:2px solid var(--text-1); outline-offset:4px; }
@keyframes capture-success-enter-b-988rjrpki7 { from { opacity:0; transform:translateY(10px); } to { opacity:1; transform:translateY(0); } }
@media (prefers-reduced-motion:reduce) { .capture-success[b-988rjrpki7] { animation:none; } }

.capture-manual[b-988rjrpki7] { border:1px solid var(--border); border-radius:16px; margin-top:20px; overflow:hidden; background:var(--bg-1); }
.capture-manual > summary[b-988rjrpki7] { display:flex; align-items:center; gap:12px; min-height:76px; padding:14px; list-style:none; cursor:pointer; border:0; }
.capture-manual > summary[b-988rjrpki7]::-webkit-details-marker { display:none; }
.capture-manual__icon[b-988rjrpki7] { display:grid; place-items:center; flex:0 0 40px; width:40px; height:40px; border-radius:12px; background:var(--bg-2); }
.capture-manual__icon svg[b-988rjrpki7] { width:21px; height:21px; }
.capture-manual__copy[b-988rjrpki7] { display:flex; flex-direction:column; gap:4px; }
.capture-manual__copy strong[b-988rjrpki7] { font-size:14px; font-weight:600; }
.capture-manual__copy > span[b-988rjrpki7] { font-size:12px; color:var(--text-2); }
.capture-manual__chevron[b-988rjrpki7] { margin-left:auto; font-size:20px; }
.capture-manual[open] .capture-manual__chevron[b-988rjrpki7] { transform:rotate(180deg); }
.capture-manual .form-details__body[b-988rjrpki7] { padding:0 14px 14px; }
.capture-manual textarea[b-988rjrpki7] { min-height:110px; padding:14px; font-size:14px; border-radius:12px; }
.capture-manual .ed-action-btn[b-988rjrpki7] { width:100%; margin-top:10px; min-height:48px; border-radius:12px; }
.capture-manual > summary:focus-visible[b-988rjrpki7] { outline:2px solid var(--text-1); outline-offset:-4px; border-radius:16px; }
/* /Pages/Income.razor.rz.scp.css */
/* The pink error accent is too faint as body text on the light theme. */
.family-alert--error[b-hz48dqghbz] {
    color: var(--text-1);
    font-size: 1rem;
    line-height: 1.5;
    overflow-wrap: anywhere;
}
/* /Pages/Profile.razor.rz.scp.css */
.profile-page[b-5s26losalc] { max-width: 800px; }
.profile-page .ed-menu-group-title[b-5s26losalc] { color: var(--text-2); }
.profile-preferences[b-5s26losalc] { margin-bottom: 24px; }
.profile-preferences-grid[b-5s26losalc] { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.profile-preferences-grid > .ed-card[b-5s26losalc] { min-width: 0; margin: 0; }
.profile-currency[b-5s26losalc] { grid-column: 1 / -1; }
.profile-details[b-5s26losalc] { margin-top: 12px; border: 1px solid var(--tmw-line, var(--border)); border-radius: 14px; background: var(--tmw-surface, var(--bg-2)); }
.profile-details > summary[b-5s26losalc] { min-height: 48px; padding: 14px 16px; color: var(--text-1); font-weight: 600; cursor: pointer; }
.profile-details > .profile-preferences-grid[b-5s26losalc] { padding: 0 12px 12px; }
.profile-details[b-5s26losalc]  .push-settings-card { margin: 0 12px 12px; }
.profile-page .ed-menu-item[b-5s26losalc] { width: 100%; min-height: 48px; font: inherit; text-align: start; text-decoration: none; }
.profile-page button.ed-menu-item[b-5s26losalc] { border: 0; border-bottom: 1px solid var(--border-color, var(--border)); background: transparent; color: inherit; cursor: pointer; }
.profile-page button.ed-menu-item.danger[b-5s26losalc] { color: var(--danger, #c7354c); }
.profile-page .ed-menu-label[b-5s26losalc] { min-width: 0; overflow-wrap: anywhere; }
.profile-page .ed-menu-arrow[b-5s26losalc] { flex-shrink: 0; }
.profile-page .ed-change[b-5s26losalc] { overflow-wrap: anywhere; }
.profile-page a:focus-visible[b-5s26losalc], .profile-page button:focus-visible[b-5s26losalc], .profile-details > summary:focus-visible[b-5s26losalc] { outline: 3px solid var(--accent); outline-offset: 3px; }
@media (max-width: 560px) { .profile-preferences-grid[b-5s26losalc] { grid-template-columns: minmax(0, 1fr); } }
