@import '_content/Microsoft.FluentUI.AspNetCore.Components/Microsoft.FluentUI.AspNetCore.Components.bundle.scp.css';

/* /Components/BarChart.razor.rz.scp.css */
.barchart[b-zv7uq28d1x] { min-width: 0; }
.bc-plot[b-zv7uq28d1x] { position: relative; height: var(--h); padding-left: 64px; }
.bc-plot svg[b-zv7uq28d1x] { width: 100%; height: 100%; display: block; overflow: visible; }
.bc-grid[b-zv7uq28d1x] { stroke: var(--line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.bc-zero[b-zv7uq28d1x] { stroke: var(--muted); stroke-width: 1; opacity: .55; vector-effect: non-scaling-stroke; }
.bc-hover[b-zv7uq28d1x] { fill: var(--current); opacity: .08; }
.bc-bar[b-zv7uq28d1x] { transition: opacity .15s; }
.bc-bar.dim[b-zv7uq28d1x] { opacity: .28; }
.bc-bar.below[b-zv7uq28d1x] { opacity: .78; }
.bc-axis[b-zv7uq28d1x] {
    position: absolute;
    left: 0;
    width: 58px;
    transform: translateY(-50%);
    text-align: right;
    font-size: 11px;
    color: var(--muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    pointer-events: none;
}
.bc-labels[b-zv7uq28d1x] { display: grid; gap: 2px; margin: 6px 0 0 64px; }
.bc-labels span[b-zv7uq28d1x] { font-size: 11px; color: var(--muted); text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bc-labels span.dim[b-zv7uq28d1x] { opacity: .5; }
.bc-foot[b-zv7uq28d1x] { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; min-height: 22px; margin-top: 10px; font-size: 13px; color: var(--muted); }
.bc-foot strong[b-zv7uq28d1x] { color: var(--ink); font-weight: 650; }
.bc-foot span[b-zv7uq28d1x] { display: inline-flex; align-items: center; gap: 6px; }
.bc-foot b[b-zv7uq28d1x] { color: var(--ink); font-weight: 650; }
.bc-foot b.neg[b-zv7uq28d1x] { color: var(--coral); }
.bc-dot[b-zv7uq28d1x] { display: inline-block; width: 9px; height: 9px; border-radius: 3px; }

@media (max-width: 640px) {
    .bc-plot[b-zv7uq28d1x] { padding-left: 0; }
    .bc-axis[b-zv7uq28d1x] { display: none; }
    .bc-labels[b-zv7uq28d1x] { margin-left: 0; }
}
/* /Components/ColorPick.razor.rz.scp.css */
.swatch-free[b-ivdi1dezh8] {
    position: relative;
    display: grid;
    place-items: center;
    overflow: hidden;
    color: #fff;
    background: conic-gradient(#E5484D, #E8A33D, #2E9D4A, #19B6D1, #0077A3, #7C3AED, #C2185B, #E5484D);
}
.swatch-free.custom[b-ivdi1dezh8] { background: var(--sw); }
.swatch-free i[b-ivdi1dezh8] { font-size: 15px; pointer-events: none; text-shadow: 0 0 3px rgba(0, 0, 0, .45); }
.swatch-free input[b-ivdi1dezh8] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    border: 0;
    padding: 0;
}
.swatch-free:focus-within[b-ivdi1dezh8] { outline: 2px solid var(--current); outline-offset: 2px; }
/* /Components/DonutChart.razor.rz.scp.css */
.donut[b-v9awzohl6e] { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; min-width: 0; }
.dn-ring[b-v9awzohl6e] { position: relative; width: var(--size); height: var(--size); flex: none; max-width: 100%; }
.dn-ring svg[b-v9awzohl6e] { width: 100%; height: 100%; display: block; overflow: visible; }
.dn-track[b-v9awzohl6e] { fill: none; stroke: var(--surface-2); stroke-width: 13; }
.dn-slice[b-v9awzohl6e] { fill: none; stroke-width: 13; cursor: pointer; transition: opacity .15s, stroke-width .15s; }
.dn-slice.on[b-v9awzohl6e] { stroke-width: 16; }
.dn-slice.faded[b-v9awzohl6e] { opacity: .35; }
.dn-center[b-v9awzohl6e] {
    position: absolute;
    inset: 22%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    pointer-events: none;
    min-width: 0;
}
.dn-center span[b-v9awzohl6e] { font-size: 12px; color: var(--muted); max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dn-center strong[b-v9awzohl6e] { font-size: 17px; font-weight: 800; letter-spacing: -.02em; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dn-center em[b-v9awzohl6e] { font-style: normal; font-size: 12px; font-weight: 650; color: var(--teal); }
[data-theme="dark"] .dn-center em[b-v9awzohl6e] { color: var(--current); }

.dn-legend[b-v9awzohl6e] { list-style: none; margin: 0; padding: 0; flex: 1 1 220px; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.dn-legend li[b-v9awzohl6e] {
    display: grid;
    grid-template-columns: 10px minmax(0, 1fr) auto auto;
    gap: 10px;
    align-items: center;
    padding: 6px 8px;
    border-radius: var(--radius-s);
    font-size: 13px;
    cursor: default;
}
.dn-legend li.on[b-v9awzohl6e] { background: var(--surface-2); }
.dn-legend i[b-v9awzohl6e] { width: 10px; height: 10px; border-radius: 3px; }
.dn-name[b-v9awzohl6e] { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dn-pct[b-v9awzohl6e] { color: var(--muted); font-size: 12px; }
.dn-val[b-v9awzohl6e] { font-weight: 650; white-space: nowrap; }
/* /Components/LineChart.razor.rz.scp.css */
.linechart[b-hheokbsbk3] { min-width: 0; }
.lc-plot[b-hheokbsbk3] { position: relative; height: var(--h); padding-left: 64px; }
.lc-area[b-hheokbsbk3] { position: relative; height: 100%; }
.lc-plot svg[b-hheokbsbk3] { width: 100%; height: 100%; display: block; overflow: visible; }
.lc-grid[b-hheokbsbk3] { stroke: var(--line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.lc-zero[b-hheokbsbk3] { stroke: var(--muted); stroke-width: 1; opacity: .55; vector-effect: non-scaling-stroke; }
.lc-line[b-hheokbsbk3] { fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.lc-line.dashed[b-hheokbsbk3] { stroke-dasharray: 6 5; opacity: .85; }
.lc-cursor[b-hheokbsbk3] { stroke: var(--muted); stroke-width: 1; stroke-dasharray: 3 3; vector-effect: non-scaling-stroke; }
.lc-mark[b-hheokbsbk3] {
    position: absolute;
    width: 10px;
    height: 10px;
    margin-left: -5px;
    border-radius: 50%;
    border: 2px solid var(--surface);
    transform: translate(0, -50%);
    pointer-events: none;
    box-shadow: 0 0 0 1px var(--line);
}
.lc-axis[b-hheokbsbk3] {
    position: absolute;
    left: 0;
    width: 58px;
    transform: translateY(-50%);
    text-align: right;
    font-size: 11px;
    color: var(--muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    pointer-events: none;
}
.lc-labels[b-hheokbsbk3] { display: flex; justify-content: space-between; gap: 8px; margin: 6px 0 0 64px; font-size: 11px; color: var(--muted); }
.lc-foot[b-hheokbsbk3] { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; min-height: 22px; margin-top: 10px; font-size: 13px; color: var(--muted); }
.lc-foot strong[b-hheokbsbk3] { color: var(--ink); font-weight: 650; }
.lc-foot span[b-hheokbsbk3] { display: inline-flex; align-items: center; gap: 6px; }
.lc-foot b[b-hheokbsbk3] { color: var(--ink); font-weight: 650; }
.lc-foot b.neg[b-hheokbsbk3] { color: var(--coral); }
.lc-foot em[b-hheokbsbk3] { font-style: normal; font-size: 11px; padding: 1px 7px; border-radius: 99px; background: color-mix(in srgb, #E8A33D 18%, transparent); color: #A36A12; }
.lc-dot[b-hheokbsbk3] { display: inline-block; width: 9px; height: 9px; border-radius: 50%; }
.lc-dash[b-hheokbsbk3] { display: inline-block; width: 18px; border-top: 2px dashed var(--muted); }

@media (max-width: 640px) {
    .lc-plot[b-hheokbsbk3] { padding-left: 0; }
    .lc-axis[b-hheokbsbk3] { display: none; }
    .lc-labels[b-hheokbsbk3] { margin-left: 0; }
}
/* /Components/Onboarding.razor.rz.scp.css */
/* Benvenuto: le regole di base stanno in app.css (.onb); qui solo le aggiunte. */
footer[b-lecfgddqm0] { gap: 8px; flex-wrap: wrap; }
.onb-hero[b-lecfgddqm0] { align-self: center; margin-bottom: 4px; animation: onb-pop-b-lecfgddqm0 .5s cubic-bezier(.2, .9, .3, 1.3) both; }
.onb-hint[b-lecfgddqm0] { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; }
@keyframes onb-pop-b-lecfgddqm0 { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .onb-hero[b-lecfgddqm0] { animation: none; } }
/* /Components/TxEditor.razor.rz.scp.css */
/* Pannello del movimento: suggerimenti della descrizione, allegati, anteprima. */

.combo[b-gjfqi4canl] { position: relative; }
.suggest-list[b-gjfqi4canl] {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    z-index: 5;
    margin: 4px 0 0;
    padding: 4px;
    list-style: none;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-s);
    box-shadow: 0 12px 28px -14px rgba(6, 47, 61, .45);
    max-height: 260px;
    overflow: auto;
}
.suggest-list li[b-gjfqi4canl] {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    padding: 8px 10px;
    border-radius: 8px;
    cursor: pointer;
    min-width: 0;
}
.suggest-list li span[b-gjfqi4canl] { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.suggest-list li small[b-gjfqi4canl] { color: var(--muted); font-size: 12px; white-space: nowrap; flex-shrink: 0; }
.suggest-list li:hover[b-gjfqi4canl], .suggest-list li.on[b-gjfqi4canl] { background: var(--surface-2); }
.suggest-list li.on span[b-gjfqi4canl] { color: var(--teal); }
[data-theme="dark"] .suggest-list li.on span[b-gjfqi4canl] { color: var(--current); }

.dropzone.over[b-gjfqi4canl] {
    border-color: var(--current);
    background: color-mix(in srgb, var(--current) 10%, transparent);
}

.att-confirm[b-gjfqi4canl] { color: var(--coral); font-weight: 600; }
.att-actions[b-gjfqi4canl] { display: inline-flex; gap: 2px; }
.att-del[b-gjfqi4canl] { color: var(--coral); }

.att-preview[b-gjfqi4canl] {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    background: var(--surface);
    animation: att-fade-b-gjfqi4canl .15s ease-out;
}
.att-preview header[b-gjfqi4canl] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px 14px 24px;
    border-bottom: 1px solid var(--line);
}
.att-preview header strong[b-gjfqi4canl] { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.att-open[b-gjfqi4canl] { color: var(--teal); font-size: 13px; font-weight: 600; text-decoration: none; white-space: nowrap; display: inline-flex; align-items: center; gap: 4px; }
.att-open:hover[b-gjfqi4canl] { text-decoration: underline; }
[data-theme="dark"] .att-open[b-gjfqi4canl] { color: var(--current); }
.att-preview-body[b-gjfqi4canl] {
    flex: 1;
    min-height: 0;
    display: grid;
    place-items: center;
    padding: 16px;
    background: var(--surface-2);
    overflow: auto;
}
.att-preview-body img[b-gjfqi4canl] { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: var(--radius-s); }
.att-preview-body iframe[b-gjfqi4canl] { width: 100%; height: 100%; border: 0; border-radius: var(--radius-s); background: #fff; }

@keyframes att-fade-b-gjfqi4canl { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .att-preview[b-gjfqi4canl] { animation: none; } }
/* /Pages/Budgets.razor.rz.scp.css */
/* Budget: il serbatoio in alto, i canali sotto. Superfici piatte, una linea sottile. */

.reservoir[b-m02rlfaiv5] {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 20px 32px;
    align-items: end;
    padding: 24px 26px 0;
    margin-bottom: 20px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-l);
    overflow: hidden;
}
.res-main[b-m02rlfaiv5] { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.res-label[b-m02rlfaiv5] { color: var(--muted); font-size: 14px; }
.res-main strong[b-m02rlfaiv5] {
    font-size: clamp(36px, 4vw, 52px);
    font-weight: 800;
    letter-spacing: -.035em;
    font-stretch: 108%;
    line-height: 1.05;
}
.res-of[b-m02rlfaiv5] { color: var(--muted); font-size: 14px; }

.res-figs[b-m02rlfaiv5] { display: grid; grid-template-columns: repeat(3, auto); gap: 0; }
.res-figs > div[b-m02rlfaiv5] { display: flex; flex-direction: column; gap: 2px; padding: 0 22px; border-left: 1px solid var(--line); min-width: 0; }
.res-figs span[b-m02rlfaiv5] { color: var(--muted); font-size: 13px; }
.res-figs strong[b-m02rlfaiv5] { font-size: 22px; font-weight: 750; letter-spacing: -.01em; }
.res-figs em[b-m02rlfaiv5] { font-style: normal; font-size: 12px; color: var(--muted); }
.warn-text[b-m02rlfaiv5] { color: #C07A12; }

/* La linea d'acqua: tutta la larghezza, sul bordo basso del pannello. */
.res-level[b-m02rlfaiv5] { grid-column: 1 / -1; height: 10px; margin: 4px -26px 0; background: var(--surface-2); }
.res-level i[b-m02rlfaiv5] { display: block; height: 100%; background: linear-gradient(90deg, var(--teal), var(--current)); transition: width .5s ease; }
.res-level.warn i[b-m02rlfaiv5] { background: linear-gradient(90deg, var(--teal), #E8A33D); }
.res-level.over i[b-m02rlfaiv5] { background: var(--coral); }

.seg-wrap[b-m02rlfaiv5] { flex-wrap: wrap; }

/* ── Canali ───────────────────────────────────────────────────────────────── */
.channels[b-m02rlfaiv5] { list-style: none; margin: 0; padding: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m); }
.channel[b-m02rlfaiv5] {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) minmax(220px, 1.15fr);
    gap: 16px 18px;
    align-items: center;
    padding: 16px 20px;
    border-top: 1px solid var(--line);
    position: relative;
}
.channel:first-child[b-m02rlfaiv5] { border-top: 0; }
.channel[b-m02rlfaiv5]::before { /* il colore dello stato, una lama a sinistra */
    content: "";
    position: absolute;
    left: 0; top: 14px; bottom: 14px;
    width: 3px;
    border-radius: 0 3px 3px 0;
    background: transparent;
}
.channel.warn[b-m02rlfaiv5]::before { background: #E8A33D; }
.channel.over[b-m02rlfaiv5]::before { background: var(--coral); }
.channel.off[b-m02rlfaiv5] { opacity: .6; }
.channel.editable[b-m02rlfaiv5] { cursor: pointer; }
.channel.editable:hover[b-m02rlfaiv5] { background: color-mix(in srgb, var(--current) 5%, transparent); }
.channel.editable:hover .ch-text strong[b-m02rlfaiv5], .channel.editable:focus-visible .ch-text strong[b-m02rlfaiv5] { color: var(--teal); }
.channel:focus-visible[b-m02rlfaiv5] { outline: 2px solid var(--current); outline-offset: -2px; border-radius: var(--radius-m); }

.ch-text[b-m02rlfaiv5] { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ch-text strong[b-m02rlfaiv5] { font-size: 16px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ch-text > span[b-m02rlfaiv5] { color: var(--muted); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ch-tags[b-m02rlfaiv5] { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 4px; }
.ch-tags:empty[b-m02rlfaiv5] { display: none; }
.tag[b-m02rlfaiv5] {
    display: inline-flex; align-items: center; gap: 4px;
    font-style: normal; font-size: 12px; font-weight: 600;
    padding: 2px 8px; border-radius: 999px;
    background: var(--surface-2); color: var(--muted);
}
.tag-warn[b-m02rlfaiv5] { background: rgba(232, 163, 61, .16); color: #A36410; }
.tag-over[b-m02rlfaiv5] { background: rgba(229, 72, 77, .12); color: #B4232A; }

.ch-level[b-m02rlfaiv5] { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.ch-figs[b-m02rlfaiv5] { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.ch-figs strong[b-m02rlfaiv5] { font-size: 18px; font-weight: 750; letter-spacing: -.01em; }
.ch-limit[b-m02rlfaiv5] { color: var(--muted); font-size: 13px; }
.ch-pct[b-m02rlfaiv5] { font-size: 14px; font-weight: 700; color: var(--muted); }
.warn .ch-pct[b-m02rlfaiv5] { color: #C07A12; }
.over .ch-pct[b-m02rlfaiv5] { color: var(--coral); }

.ch-meter[b-m02rlfaiv5] { position: relative; height: 10px; border-radius: 99px; background: var(--surface-2); }
.ch-meter i[b-m02rlfaiv5] { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--teal), var(--current)); transition: width .4s ease; }
.warn .ch-meter i[b-m02rlfaiv5] { background: #E8A33D; }
.over .ch-meter i[b-m02rlfaiv5] { background: var(--coral); }
.ch-tick[b-m02rlfaiv5] { position: absolute; top: -3px; bottom: -3px; width: 2px; margin-left: -1px; border-radius: 2px; background: var(--ink); opacity: .35; }
.ch-rest[b-m02rlfaiv5] { font-size: 13px; color: var(--muted); }
.ch-rest strong[b-m02rlfaiv5] { font-weight: 700; }

/* ── Pannello ─────────────────────────────────────────────────────────────── */
.help[b-m02rlfaiv5] { color: var(--muted); font-size: 12px; line-height: 1.4; }
.readonly[b-m02rlfaiv5] { margin: 0; font-weight: 600; }
.threshold[b-m02rlfaiv5] { display: grid; grid-template-columns: minmax(0, 1fr) 76px; gap: 12px; align-items: center; }
.threshold input[type="range"][b-m02rlfaiv5] { height: auto; padding: 0; border: 0; background: transparent; accent-color: var(--teal); }
.group-note[b-m02rlfaiv5] { display: flex; gap: 8px; align-items: center; margin: 0; padding: 10px 12px; border-radius: var(--radius-m); background: var(--surface-2); color: var(--muted); font-size: 13px; }

[data-theme="dark"] .warn-text[b-m02rlfaiv5], [data-theme="dark"] .warn .ch-pct[b-m02rlfaiv5] { color: #F2C06B; }
[data-theme="dark"] .tag-warn[b-m02rlfaiv5] { color: #F2C06B; }
[data-theme="dark"] .tag-over[b-m02rlfaiv5] { color: #FF9A9E; }

@media (max-width: 900px) {
    .reservoir[b-m02rlfaiv5] { grid-template-columns: minmax(0, 1fr); }
    .res-figs > div:first-child[b-m02rlfaiv5] { border-left: 0; padding-left: 0; }
    .channel[b-m02rlfaiv5] { grid-template-columns: auto minmax(0, 1fr); }
    .ch-level[b-m02rlfaiv5] { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
    .reservoir[b-m02rlfaiv5] { padding: 20px 18px 0; }
    .res-level[b-m02rlfaiv5] { margin: 4px -18px 0; }
    .res-figs[b-m02rlfaiv5] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .res-figs > div[b-m02rlfaiv5] { padding: 0 10px; }
    .res-figs strong[b-m02rlfaiv5] { font-size: 18px; }
    .channel[b-m02rlfaiv5] { padding: 14px 16px; gap: 12px 14px; }
}
@media (prefers-reduced-motion: reduce) { .res-level i[b-m02rlfaiv5], .ch-meter i[b-m02rlfaiv5] { transition: none; } }

.drawer:focus[b-m02rlfaiv5] { outline: none; }
/* /Pages/Calendar.razor.rz.scp.css */
/* Calendario: il mese a griglia, numeri decisi, una linea di corrente per giorno. */

.cal-head[b-v9d7lth1nw] { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.cal-kicker[b-v9d7lth1nw] { color: var(--muted); font-size: 14px; font-weight: 600; }
.cal-title h1[b-v9d7lth1nw] { margin: 2px 0 0; line-height: 1; letter-spacing: -.04em; font-size: clamp(36px, 4.4vw, 58px); font-weight: 800; }
.cal-title h1 span[b-v9d7lth1nw] { color: var(--ink); }
.cal-title h1 em[b-v9d7lth1nw] { font-style: normal; font-weight: 300; color: var(--teal); }
[data-theme="dark"] .cal-title h1 em[b-v9d7lth1nw] { color: var(--current); }

.cal-tools[b-v9d7lth1nw] { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.cal-wallet[b-v9d7lth1nw] {
    height: 40px;
    border-radius: var(--radius-s);
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--ink);
    padding: 0 10px;
    font: 500 14px var(--font);
    max-width: 220px;
}
.cal-nav[b-v9d7lth1nw] { display: inline-flex; align-items: center; gap: 4px; padding: 3px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.cal-arrow[b-v9d7lth1nw], .cal-today[b-v9d7lth1nw] {
    border: 0;
    background: transparent;
    color: var(--ink);
    height: 34px;
    border-radius: 9px;
    cursor: pointer;
    font: 600 14px var(--font);
}
.cal-arrow[b-v9d7lth1nw] { width: 34px; font-size: 18px; display: grid; place-items: center; }
.cal-today[b-v9d7lth1nw] { padding: 0 12px; }
.cal-arrow:hover[b-v9d7lth1nw], .cal-today:not(:disabled):hover[b-v9d7lth1nw] { background: var(--surface-2); color: var(--teal); }
.cal-today:disabled[b-v9d7lth1nw] { color: var(--muted); opacity: .6; cursor: default; }

.cal-kpis[b-v9d7lth1nw] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-m);
    margin-bottom: 20px;
}
.cal-kpis div[b-v9d7lth1nw] { container-type: inline-size; --k: var(--teal); padding: 14px 20px; border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cal-kpis div:first-child[b-v9d7lth1nw] { border-left: 0; }
.cal-kpis span[b-v9d7lth1nw] { color: var(--muted); font-size: 13px; display: inline-flex; align-items: center; gap: 8px; }
.cal-kpis span[b-v9d7lth1nw]::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--k); }
.cal-kpis strong[b-v9d7lth1nw] { font-size: clamp(14px, 13cqi, 24px); font-weight: 800; letter-spacing: -.02em; white-space: nowrap; }
.cal-kpis .k-in[b-v9d7lth1nw] { --k: var(--kelp); }
.cal-kpis .k-in strong[b-v9d7lth1nw] { color: var(--kelp); }
.cal-kpis .k-out[b-v9d7lth1nw] { --k: var(--coral); }
.cal-kpis .k-out strong[b-v9d7lth1nw] { color: var(--coral); }
.cal-kpis .k-tr[b-v9d7lth1nw] { --k: var(--current); }
.cal-kpis .k-net[b-v9d7lth1nw] { --k: var(--lagoon); }
[data-theme="dark"] .cal-kpis .k-net[b-v9d7lth1nw] { --k: var(--ink); }

.cal-layout[b-v9d7lth1nw] { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(280px, 1fr); gap: 24px; align-items: start; }

.cal-month[b-v9d7lth1nw] {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-l);
    padding: 14px;
}
.cal-month.is-loading .cal-grid[b-v9d7lth1nw] { opacity: .45; transition: opacity .15s; }
.cal-spin[b-v9d7lth1nw] { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }

.cal-dow[b-v9d7lth1nw] { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; margin-bottom: 6px; }
.cal-dow span[b-v9d7lth1nw] { text-align: left; padding: 2px 10px; font-size: 12.5px; font-weight: 600; color: var(--muted); text-transform: capitalize; }
.cal-dow span.we[b-v9d7lth1nw] { color: var(--teal); }
[data-theme="dark"] .cal-dow span.we[b-v9d7lth1nw] { color: var(--current); }
.cal-dow i[b-v9d7lth1nw] { display: none; font-style: normal; }

.cal-grid[b-v9d7lth1nw] { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }

.cal-cell[b-v9d7lth1nw] {
    all: unset;
    box-sizing: border-box;
    position: relative;
    min-height: 96px;
    padding: 8px 10px 14px;
    border-radius: var(--radius-m);
    border: 1px solid var(--line);
    background: var(--surface);
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    cursor: pointer;
    transition: border-color .12s, background-color .12s;
}
.cal-cell.we[b-v9d7lth1nw] { background: color-mix(in srgb, var(--surface-2) 55%, var(--surface)); }
.cal-cell.has[b-v9d7lth1nw] { background: var(--surface-2); }
.cal-cell:hover[b-v9d7lth1nw] { border-color: var(--current); }
.cal-cell:focus-visible[b-v9d7lth1nw] { outline: 2px solid var(--current); outline-offset: 1px; }
.cal-cell.out[b-v9d7lth1nw] { cursor: default; border-color: transparent; background: transparent; opacity: .35; }
.cal-cell.out:hover[b-v9d7lth1nw] { border-color: transparent; }

.d-top[b-v9d7lth1nw] { display: flex; justify-content: space-between; align-items: center; }
.d-num[b-v9d7lth1nw] { font-size: 15px; font-weight: 700; line-height: 26px; min-width: 26px; height: 26px; text-align: center; border-radius: 50%; margin-left: -4px; }
.cal-cell.today .d-num[b-v9d7lth1nw] { background: var(--teal); color: #fff; }
.d-tr[b-v9d7lth1nw] { width: 8px; height: 8px; border-radius: 50%; background: var(--current); box-shadow: 0 0 0 3px color-mix(in srgb, var(--current) 22%, transparent); }

.d-amt[b-v9d7lth1nw] { display: flex; flex-direction: column; gap: 1px; margin-top: auto; font-size: 12.5px; font-weight: 700; min-width: 0; }
.d-amt span[b-v9d7lth1nw] { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.d-amt .pos[b-v9d7lth1nw] { color: var(--kelp); }
.d-amt .neg[b-v9d7lth1nw] { color: var(--coral); }
.d-dots[b-v9d7lth1nw] { display: none; gap: 3px; margin-top: auto; }
.d-dots i[b-v9d7lth1nw] { width: 6px; height: 6px; border-radius: 50%; }
.d-dots .i-in[b-v9d7lth1nw] { background: var(--kelp); }
.d-dots .i-out[b-v9d7lth1nw] { background: var(--coral); }

/* La corrente del giorno: lunga quanto il movimento, verde finche' entra, corallo quando esce. */
.d-flow[b-v9d7lth1nw] {
    position: absolute;
    left: 10px;
    bottom: 7px;
    height: 3px;
    width: calc((100% - 20px) * var(--w));
    max-width: calc(100% - 20px);
    border-radius: 99px;
    background: linear-gradient(90deg, var(--kelp) 0 var(--in), var(--coral) var(--in) 100%);
    opacity: .85;
}

.cal-cell.sel[b-v9d7lth1nw] {
    background: var(--lagoon);
    border-color: var(--lagoon);
    color: #fff;
}
[data-theme="dark"] .cal-cell.sel[b-v9d7lth1nw] { background: var(--teal); border-color: var(--teal); }
.cal-cell.sel .d-amt .pos[b-v9d7lth1nw] { color: #8BE0A2; }
.cal-cell.sel .d-amt .neg[b-v9d7lth1nw] { color: #FFB3B5; }
.cal-cell.sel.today .d-num[b-v9d7lth1nw] { background: var(--current); color: var(--lagoon); }
.cal-cell.sel .d-flow[b-v9d7lth1nw] { opacity: 1; }

/* Il giorno scelto */
.cal-day[b-v9d7lth1nw] { position: sticky; top: 16px; }
.cal-day-head[b-v9d7lth1nw] { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
.cal-day-head h2[b-v9d7lth1nw] { margin: 0; font-size: 18px; font-weight: 750; letter-spacing: -.01em; }
.cal-day-head strong[b-v9d7lth1nw] { font-size: 20px; font-weight: 800; letter-spacing: -.02em; white-space: nowrap; }
.cal-day-head .pos[b-v9d7lth1nw], .cal-day .tx-amount.pos[b-v9d7lth1nw] { color: var(--kelp); }
.cal-day-head .neg[b-v9d7lth1nw], .cal-day .tx-amount.neg[b-v9d7lth1nw] { color: var(--coral); }
.cal-empty[b-v9d7lth1nw] { text-align: center; padding: 28px 8px; color: var(--muted); }
.cal-empty i[b-v9d7lth1nw] { font-size: 34px; color: var(--current); }
.cal-empty p[b-v9d7lth1nw] { margin: 8px 0 0; }

@media (max-width: 1100px) {
    .cal-layout[b-v9d7lth1nw] { grid-template-columns: minmax(0, 1fr); }
    .cal-day[b-v9d7lth1nw] { position: static; }
}
@media (max-width: 760px) {
    .cal-kpis[b-v9d7lth1nw] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cal-kpis div:nth-child(3)[b-v9d7lth1nw] { border-left: 0; }
    .cal-kpis div:nth-child(n+3)[b-v9d7lth1nw] { border-top: 1px solid var(--line); }
    .cal-tools[b-v9d7lth1nw] { width: 100%; justify-content: space-between; }
    .cal-wallet[b-v9d7lth1nw] { flex: 1 1 140px; max-width: none; }
}
@media (max-width: 640px) {
    .cal-month[b-v9d7lth1nw] { padding: 8px; border-radius: var(--radius-m); }
    .cal-grid[b-v9d7lth1nw], .cal-dow[b-v9d7lth1nw] { gap: 3px; }
    .cal-dow span[b-v9d7lth1nw] { text-align: center; padding: 2px 0; }
    .cal-dow b[b-v9d7lth1nw] { display: none; }
    .cal-dow i[b-v9d7lth1nw] { display: inline; }
    .cal-cell[b-v9d7lth1nw] { min-height: 54px; padding: 5px 4px 9px; align-items: center; border-radius: 10px; }
    .d-top[b-v9d7lth1nw] { justify-content: center; }
    .d-num[b-v9d7lth1nw] { margin-left: 0; font-size: 14px; }
    .d-tr[b-v9d7lth1nw] { position: absolute; top: 4px; right: 4px; width: 6px; height: 6px; box-shadow: none; }
    .d-amt[b-v9d7lth1nw] { display: none; }
    .d-dots[b-v9d7lth1nw] { display: flex; }
    .d-flow[b-v9d7lth1nw] { left: 5px; bottom: 4px; max-width: calc(100% - 10px); width: calc((100% - 10px) * var(--w)); }
}
@media (prefers-reduced-motion: reduce) { .cal-cell[b-v9d7lth1nw], .cal-month.is-loading .cal-grid[b-v9d7lth1nw] { transition: none; } }

/* Giorni futuri piu' tenui, come il sito (i passati in grassetto). */
.cal-cell.future:not(.has) .d-num[b-v9d7lth1nw] { font-weight: 500; color: var(--muted); }
/* /Pages/Categories.razor.rz.scp.css */
/* Categorie: un censimento in una fascia, poi l'indice per tipo. */

.census[b-79ocozh3b3] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-m);
    margin-bottom: 18px;
    overflow: hidden;
}
.census-cell[b-79ocozh3b3] {
    --tone: var(--teal);
    position: relative;
    padding: 16px 20px 14px;
    border-left: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.census-cell:first-child[b-79ocozh3b3] { border-left: 0; }
.census-cell[b-79ocozh3b3]::before { /* una linea di corrente del suo colore, in cima */
    content: "";
    position: absolute;
    left: 20px; right: 20px; top: 0;
    height: 3px;
    border-radius: 0 0 3px 3px;
    background: var(--tone);
}
.census-out[b-79ocozh3b3] { --tone: var(--coral); }
.census-in[b-79ocozh3b3] { --tone: var(--kelp); }
.census-group[b-79ocozh3b3] { --tone: var(--current); }
.census-cell span[b-79ocozh3b3] { color: var(--muted); font-size: 13px; }
.census-cell strong[b-79ocozh3b3] { font-size: clamp(28px, 2.6vw, 36px); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.census-cell em[b-79ocozh3b3] { font-style: normal; font-size: 12px; color: var(--tone); font-weight: 600; }

.cat-tabs[b-79ocozh3b3] { display: none; }

.cat-board[b-79ocozh3b3] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    align-items: start;
}

.cat-list[b-79ocozh3b3] { list-style: none; margin: 0 -10px; padding: 0; }
.cat-list li + li[b-79ocozh3b3] { border-top: 1px solid var(--line); }
.cat-list li.off[b-79ocozh3b3] { opacity: .55; }

.cat-row[b-79ocozh3b3] {
    all: unset;
    box-sizing: border-box;
    width: 100%;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 9px 10px;
    border-radius: var(--radius-s);
    cursor: pointer;
}
.cat-row:disabled[b-79ocozh3b3] { cursor: default; }
.cat-row:not(:disabled):hover[b-79ocozh3b3] { background: var(--surface-2); }
.cat-row:not(:disabled):hover strong[b-79ocozh3b3] { color: var(--teal); }
[data-theme="dark"] .cat-row:not(:disabled):hover strong[b-79ocozh3b3] { color: var(--current); }
.cat-row:focus-visible[b-79ocozh3b3] { outline: 2px solid var(--current); outline-offset: -2px; }

.cat-text[b-79ocozh3b3] { display: flex; flex-direction: column; min-width: 0; gap: 2px; }
.cat-text strong[b-79ocozh3b3] { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cat-badges[b-79ocozh3b3] { display: flex; flex-wrap: wrap; gap: 6px; }
.cat-badges em[b-79ocozh3b3] {
    font-style: normal;
    font-size: 11.5px;
    color: var(--muted);
    padding: 1px 7px;
    border-radius: 99px;
    border: 1px solid var(--line);
}
.cat-badges .b-system[b-79ocozh3b3] { background: var(--surface-2); }
.cat-badges .b-shared[b-79ocozh3b3] { color: var(--teal); border-color: color-mix(in srgb, var(--teal) 35%, transparent); }
[data-theme="dark"] .cat-badges .b-shared[b-79ocozh3b3] { color: var(--current); }
.cat-badges .b-transfer[b-79ocozh3b3] { color: var(--teal); }
.cat-badges .b-off[b-79ocozh3b3] { color: var(--coral); border-color: color-mix(in srgb, var(--coral) 35%, transparent); }
.cat-go[b-79ocozh3b3] { color: var(--muted); opacity: 0; transition: opacity .12s; }
.cat-row:hover .cat-go[b-79ocozh3b3], .cat-row:focus-visible .cat-go[b-79ocozh3b3] { opacity: 1; }

/* Editor */
.cat-preview[b-79ocozh3b3] {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    border-radius: var(--radius-m);
    border: 1px solid var(--line);
    background: linear-gradient(120deg, color-mix(in srgb, var(--cc) 10%, transparent), transparent 70%);
}
.cat-preview div[b-79ocozh3b3] { display: flex; flex-direction: column; min-width: 0; }
.cat-preview strong[b-79ocozh3b3] { font-size: 19px; font-weight: 750; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cat-preview span[b-79ocozh3b3] { color: var(--muted); font-size: 13px; }

.icon-head[b-79ocozh3b3] { display: flex; justify-content: space-between; align-items: center; }
.icon-head > span[b-79ocozh3b3] { font-size: 13px; font-weight: 600; color: var(--muted); }
.icon-clear[b-79ocozh3b3] { border: 0; background: none; color: var(--teal); font: 600 13px var(--font); cursor: pointer; padding: 0; }
[data-theme="dark"] .icon-clear[b-79ocozh3b3] { color: var(--current); }
.icon-search[b-79ocozh3b3] {
    height: 36px;
    border-radius: var(--radius-s);
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--ink);
    padding: 0 10px;
    font: 14px var(--font);
}
.icon-search:focus[b-79ocozh3b3] { outline: 2px solid var(--current); outline-offset: 0; border-color: transparent; }
.icon-none[b-79ocozh3b3] { color: var(--muted); font-size: 13px; margin: 4px 0; }
.icon-groups[b-79ocozh3b3] { max-height: 260px; overflow: auto; padding-right: 2px; }
.icon-group[b-79ocozh3b3] { display: block; color: var(--muted); font-size: 12px; margin: 8px 0 4px; }
.icon-group:first-child[b-79ocozh3b3] { margin-top: 2px; }
.icon-grid[b-79ocozh3b3] { display: grid; grid-template-columns: repeat(auto-fill, minmax(40px, 1fr)); gap: 6px; padding: 2px; }
.drawer:focus[b-79ocozh3b3] { outline: none; }
.icon-pick[b-79ocozh3b3] {
    height: 40px;
    border-radius: 10px;
    border: 1px solid transparent;
    background: var(--surface-2);
    color: var(--ink);
    font-size: 19px;
    cursor: pointer;
    display: grid;
    place-items: center;
}
.icon-pick:hover[b-79ocozh3b3] { color: var(--cc); }
.icon-pick.on[b-79ocozh3b3] { color: var(--cc); border-color: var(--cc); background: color-mix(in srgb, var(--cc) 14%, transparent); }

.cat-active-check[b-79ocozh3b3] { align-self: end; min-height: 40px; }
.confirm-actions[b-79ocozh3b3] { display: flex; gap: 8px; justify-content: flex-end; margin-top: 8px; }
.notice p[b-79ocozh3b3] { margin: 6px 0 0; }

@media (max-width: 760px) {
    .census[b-79ocozh3b3] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .census-cell:nth-child(3)[b-79ocozh3b3] { border-left: 0; }
    .census-cell:nth-child(n+3)[b-79ocozh3b3] { border-top: 1px solid var(--line); }
    .cat-tabs[b-79ocozh3b3] { display: inline-flex; }
    .cat-board[b-79ocozh3b3] { grid-template-columns: minmax(0, 1fr); }
    .cat-col:not(.is-on)[b-79ocozh3b3] { display: none; }
}
/* /Pages/Changelog.razor.rz.scp.css */
.page-head[b-89r84f2j9h] { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.page-head h1[b-89r84f2j9h] { margin: 0; }
.page-sub[b-89r84f2j9h] { margin: 4px 0 0; color: var(--muted); }

.cl-timeline[b-89r84f2j9h] { list-style: none; margin: 0; padding: 0 0 0 28px; position: relative; max-width: 860px; }
.cl-timeline[b-89r84f2j9h]::before { content: ""; position: absolute; left: 9px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--current), var(--line) 40%); border-radius: 2px; }
.cl-entry[b-89r84f2j9h] { position: relative; margin-bottom: 18px; }
.cl-dot[b-89r84f2j9h] { position: absolute; left: -26px; top: 22px; width: 16px; height: 16px; border-radius: 50%; background: var(--surface); border: 3px solid var(--line); }
.cl-entry.latest .cl-dot[b-89r84f2j9h] { border-color: var(--current); box-shadow: 0 0 0 6px rgba(25, 182, 209, .18); }
.cl-card[b-89r84f2j9h] { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l, 16px); padding: 18px 20px; }
.cl-entry.latest .cl-card[b-89r84f2j9h] { border-color: color-mix(in srgb, var(--current) 55%, var(--line)); box-shadow: 0 18px 40px -28px rgba(0, 119, 163, .55); }
.cl-head[b-89r84f2j9h] { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 10px; }
.cl-ver[b-89r84f2j9h] { font-weight: 800; font-size: 18px; color: var(--teal); font-variant-numeric: tabular-nums; }
.cl-date[b-89r84f2j9h] { color: var(--muted); font-size: 13px; }
.cl-latest[b-89r84f2j9h] { font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; color: #fff; background: linear-gradient(135deg, var(--teal), var(--current)); }
.cl-sec h3[b-89r84f2j9h] { display: flex; align-items: center; gap: 6px; margin: 12px 0 6px; font-size: 14px; }
.cl-sec.new h3[b-89r84f2j9h] { color: var(--kelp); }
.cl-sec.fixed h3[b-89r84f2j9h] { color: var(--teal); }
.cl-sec.improved h3[b-89r84f2j9h] { color: #C27C0E; }
.cl-sec ul[b-89r84f2j9h] { margin: 0; padding-left: 20px; color: var(--muted); font-size: 14px; display: grid; gap: 4px; }
/* /Pages/Groups.razor.rz.scp.css */
/* Gruppi: la casa condivisa in una fascia laguna, poi membri e spese. */

.g-head-actions[b-g4yb8h1bj0] { display: flex; gap: 8px; flex-wrap: wrap; }

.g-notice[b-g4yb8h1bj0] { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
.g-notice-x[b-g4yb8h1bj0] { border: 0; background: none; color: inherit; cursor: pointer; font-size: 16px; padding: 2px; border-radius: 6px; }

/* ── Fascia del gruppo ── */
.g-band[b-g4yb8h1bj0] {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    border-radius: var(--radius-l);
    color: #fff;
    padding: 28px 32px 24px;
    margin-bottom: 20px;
    background:
        radial-gradient(110% 90% at 0% 110%, rgba(25, 182, 209, .30), transparent 60%),
        radial-gradient(80% 70% at 100% 0%, rgba(0, 119, 163, .50), transparent 65%),
        var(--lagoon);
}
.g-band-flow[b-g4yb8h1bj0] { position: absolute; inset: 0; z-index: -1; opacity: .55; pointer-events: none; }
.g-band-flow svg[b-g4yb8h1bj0] { width: 100%; height: 100%; display: block; }
.g-band-flow path[b-g4yb8h1bj0] { fill: none; stroke-width: 2; stroke: rgba(159, 230, 242, .35); vector-effect: non-scaling-stroke; }
.g-band-flow path + path[b-g4yb8h1bj0] { stroke: rgba(139, 224, 162, .28); }

.g-band-main[b-g4yb8h1bj0] { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; flex-wrap: wrap; }
.g-band-title[b-g4yb8h1bj0] { min-width: 0; }
.g-band-title h2[b-g4yb8h1bj0] {
    margin: 0;
    font-size: clamp(30px, 3.6vw, 46px);
    font-weight: 800;
    letter-spacing: -.035em;
    line-height: 1.05;
    overflow-wrap: anywhere;
}
.g-band-title p[b-g4yb8h1bj0] { margin: 8px 0 0; color: rgba(255, 255, 255, .75); max-width: 60ch; overflow-wrap: anywhere; }
.g-band-meta[b-g4yb8h1bj0] { display: flex; align-items: center; gap: 12px; margin-top: 16px; color: rgba(255, 255, 255, .8); font-size: 14px; flex-wrap: wrap; }
.g-faces[b-g4yb8h1bj0] { display: inline-flex; }
.g-faces > *[b-g4yb8h1bj0] { margin-left: -8px; }
.g-faces > *:first-child[b-g4yb8h1bj0] { margin-left: 0; }

.g-face[b-g4yb8h1bj0], .g-avatar[b-g4yb8h1bj0] {
    flex: none;
    border-radius: 50%;
    object-fit: cover;
    display: inline-grid;
    place-items: center;
    font-weight: 700;
    color: #fff;
}
.g-face[b-g4yb8h1bj0] { width: 32px; height: 32px; font-size: 12px; box-shadow: 0 0 0 2px var(--lagoon); }
.g-avatar[b-g4yb8h1bj0] { width: 42px; height: 42px; font-size: 15px; }
.g-face-initials[b-g4yb8h1bj0], .g-avatar-initials[b-g4yb8h1bj0] { background: var(--av); }

.g-band-actions[b-g4yb8h1bj0], .g-code-actions[b-g4yb8h1bj0] { display: flex; gap: 8px; flex-wrap: wrap; }
.g-band-btn[b-g4yb8h1bj0] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 38px;
    padding: 0 14px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, .24);
    background: rgba(255, 255, 255, .08);
    color: #fff;
    font: 600 14px var(--font);
    cursor: pointer;
    white-space: nowrap;
}
.g-band-btn:hover[b-g4yb8h1bj0] { background: rgba(255, 255, 255, .16); }
.g-band-btn.primary[b-g4yb8h1bj0] { background: var(--current); border-color: var(--current); color: var(--lagoon); }
.g-band-btn.primary:hover[b-g4yb8h1bj0] { background: #4CCBE0; }
.g-band-btn i[b-g4yb8h1bj0] { font-size: 17px; }
.g-band-btn:focus-visible[b-g4yb8h1bj0] { outline: 2px solid #fff; outline-offset: 2px; }

.g-code[b-g4yb8h1bj0] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, .16);
}
.g-code span[b-g4yb8h1bj0] { display: block; color: rgba(255, 255, 255, .7); font-size: 13px; }
.g-code-value[b-g4yb8h1bj0] {
    display: block;
    font-family: ui-monospace, "Cascadia Mono", "Consolas", monospace;
    font-size: clamp(22px, 2.4vw, 30px);
    font-weight: 700;
    letter-spacing: .14em;
    color: #9FE6F2;
}

/* ── Conferme ── */
.g-confirm[b-g4yb8h1bj0] { margin-bottom: 20px; }
.g-confirm p[b-g4yb8h1bj0] { margin: 6px 0 0; }
.g-confirm-actions[b-g4yb8h1bj0] { display: flex; justify-content: flex-end; gap: 8px; margin-top: 10px; flex-wrap: wrap; }

/* ── Membri e spese ── */
.g-cols[b-g4yb8h1bj0] { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px; align-items: start; }

.g-members[b-g4yb8h1bj0] { list-style: none; margin: 0; padding: 0; }
.g-members li[b-g4yb8h1bj0] {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-top: 1px solid var(--line);
}
.g-members li:first-child[b-g4yb8h1bj0] { border-top: 0; padding-top: 4px; }
.g-m-text[b-g4yb8h1bj0] { display: flex; flex-direction: column; min-width: 0; }
.g-m-text strong[b-g4yb8h1bj0] { font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.g-m-text span[b-g4yb8h1bj0] { color: var(--muted); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.g-m-text .g-m-since[b-g4yb8h1bj0] { font-size: 12px; }

.g-m-role[b-g4yb8h1bj0] { display: flex; align-items: center; gap: 6px; }
.g-m-role select[b-g4yb8h1bj0] {
    height: 34px;
    border-radius: var(--radius-s);
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--ink);
    padding: 0 8px;
    font: 500 13px var(--font);
}
.g-m-role select:focus[b-g4yb8h1bj0] { outline: 2px solid var(--current); outline-offset: 0; }
.g-m-remove[b-g4yb8h1bj0] {
    width: 34px; height: 34px;
    border-radius: var(--radius-s);
    border: 1px solid transparent;
    background: transparent;
    color: var(--coral);
    cursor: pointer;
    font-size: 17px;
}
.g-m-remove:hover[b-g4yb8h1bj0] { background: color-mix(in srgb, var(--coral) 10%, transparent); }

.g-role[b-g4yb8h1bj0] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12.5px;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: 99px;
    border: 1px solid var(--line);
    color: var(--muted);
    white-space: nowrap;
}
.g-role-owner[b-g4yb8h1bj0] { color: #8A4B00; border-color: rgba(232, 163, 61, .5); background: rgba(232, 163, 61, .12); }
[data-theme="dark"] .g-role-owner[b-g4yb8h1bj0] { color: #F3C37A; }
.g-role-admin[b-g4yb8h1bj0] { color: var(--teal); border-color: color-mix(in srgb, var(--teal) 35%, transparent); }
[data-theme="dark"] .g-role-admin[b-g4yb8h1bj0] { color: var(--current); }

.g-m-confirm[b-g4yb8h1bj0] {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding: 10px 12px;
    border-radius: var(--radius-s);
    background: color-mix(in srgb, var(--coral) 8%, transparent);
    font-size: 14px;
}
.g-m-confirm span[b-g4yb8h1bj0] { flex: 1 1 180px; }

.g-spend-total[b-g4yb8h1bj0] { font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.g-former[b-g4yb8h1bj0] { opacity: .6; }
.g-former em[b-g4yb8h1bj0] { font-style: normal; }

/* ── Vuoto ── */
.g-empty[b-g4yb8h1bj0] {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    text-align: center;
    padding: 56px 20px 48px;
    border-radius: var(--radius-l);
    border: 1px solid var(--line);
    background: var(--surface);
}
.g-empty-art[b-g4yb8h1bj0] { position: absolute; inset: auto 0 0 0; height: 120px; z-index: -1; opacity: .7; }
.g-empty-art svg[b-g4yb8h1bj0] { width: 100%; height: 100%; display: block; }
.g-empty-art path[b-g4yb8h1bj0] { fill: none; stroke: var(--current); stroke-width: 2; opacity: .35; vector-effect: non-scaling-stroke; }
.g-empty-art path + path[b-g4yb8h1bj0] { stroke: var(--kelp); opacity: .25; }
.g-empty > i[b-g4yb8h1bj0] { font-size: 48px; color: var(--current); }
.g-empty h2[b-g4yb8h1bj0] { margin: 10px 0 6px; font-size: 22px; font-weight: 750; }
.g-empty p[b-g4yb8h1bj0] { color: var(--muted); margin: 0 auto 20px; max-width: 46ch; }
.g-empty-actions[b-g4yb8h1bj0] { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* ── Moduli ── */
.g-warn[b-g4yb8h1bj0] {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    background: rgba(232, 163, 61, .10);
    border-color: rgba(232, 163, 61, .45);
    color: var(--ink);
    font-size: 13.5px;
}
.g-warn i[b-g4yb8h1bj0] { color: #C27C0E; font-size: 18px; margin-top: 1px; }

.g-code-input[b-g4yb8h1bj0] {
    font-family: ui-monospace, "Cascadia Mono", "Consolas", monospace !important;
    font-size: 20px !important;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    text-align: center;
}
.g-copy-row[b-g4yb8h1bj0] { display: flex; gap: 8px; align-items: center; }
.g-copy-row input[b-g4yb8h1bj0] {
    flex: 1;
    min-width: 0;
    height: 40px;
    border-radius: var(--radius-s);
    border: 1px solid var(--line);
    background: var(--surface-2);
    color: var(--ink);
    padding: 0 10px;
    font: 14px var(--font);
}
.g-link-input[b-g4yb8h1bj0] { font-size: 12.5px !important; color: var(--muted) !important; }

.g-email-add[b-g4yb8h1bj0] { display: flex; gap: 8px; align-items: center; }
.g-email-add input[b-g4yb8h1bj0] { flex: 1; min-width: 0; }
.g-email-err[b-g4yb8h1bj0] { color: var(--coral); font-size: 13px; }
.g-email-count[b-g4yb8h1bj0] { color: var(--muted); font-size: 12px; align-self: flex-end; }
.g-chips[b-g4yb8h1bj0] { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.g-chips li[b-g4yb8h1bj0] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: 100%;
    padding: 3px 4px 3px 10px;
    border-radius: 99px;
    background: color-mix(in srgb, var(--current) 14%, transparent);
    font-size: 13px;
    overflow-wrap: anywhere;
}
.g-chips i[b-g4yb8h1bj0] { color: var(--teal); }
.g-chips button[b-g4yb8h1bj0] { border: 0; background: none; cursor: pointer; color: var(--muted); width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; }
.g-chips button:hover[b-g4yb8h1bj0] { background: var(--surface-2); color: var(--coral); }

.g-result[b-g4yb8h1bj0] { margin-bottom: 12px; }
.g-result ul[b-g4yb8h1bj0] { margin: 6px 0 0; padding-left: 18px; font-size: 13.5px; overflow-wrap: anywhere; }

@media (max-width: 900px) {
    .g-cols[b-g4yb8h1bj0] { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
    .g-band[b-g4yb8h1bj0] { padding: 22px 18px 18px; }
    .g-band-actions[b-g4yb8h1bj0], .g-code-actions[b-g4yb8h1bj0] { width: 100%; }
    .g-band-btn[b-g4yb8h1bj0] { flex: 1 1 auto; justify-content: center; }
    .g-members li[b-g4yb8h1bj0] { grid-template-columns: auto minmax(0, 1fr); }
    .g-m-role[b-g4yb8h1bj0] { grid-column: 2; }
    .g-copy-row[b-g4yb8h1bj0] { flex-direction: column; align-items: stretch; }
}
/* /Pages/Home.razor.rz.scp.css */
/* ── Panoramica, stile A+C: saluto, saldo (laguna) + spendibile (acqua), carte ── */
.dash-head[b-aqyq7q78oo] { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.dash-head h1[b-aqyq7q78oo] { margin: 0; font: 700 clamp(26px, 2.6vw, 32px)/1.1 var(--display); letter-spacing: -.02em; }
.dash-head p[b-aqyq7q78oo] { margin: 4px 0 0; color: var(--muted); display: flex; flex-wrap: wrap; gap: 2px 14px; }
.dash-date[b-aqyq7q78oo]::first-letter { text-transform: uppercase; }
.dash-last[b-aqyq7q78oo] { font-size: 13px; align-self: center; }
.dash-wallet[b-aqyq7q78oo] { min-width: 200px; }

.dash-top[b-aqyq7q78oo] { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 16px; margin-bottom: 16px; }

.dash-hero[b-aqyq7q78oo] { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--radius-xl); background: var(--lagoon); color: #fff; padding: 24px 26px 28px; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; min-height: 230px; container-type: inline-size; }
.dash-balance[b-aqyq7q78oo] { color: inherit; text-decoration: none; display: grid; gap: 4px; border-radius: var(--radius-m); }
.dash-label[b-aqyq7q78oo] { color: #8FC3D0; font-size: 14px; }
.dash-figure[b-aqyq7q78oo] { position: relative; display: block; }
.dash-figure strong[b-aqyq7q78oo] { position: relative; display: block; font: 800 clamp(34px, 15cqi, 64px)/1 var(--display); letter-spacing: -.04em; white-space: nowrap; }
.dash-figure strong.neg[b-aqyq7q78oo] { color: #FFB8B2; }
.dash-sub[b-aqyq7q78oo] { color: #8FC3D0; font-size: 13px; }
.dash-balance:hover .dash-label[b-aqyq7q78oo] { color: #fff; }
.dash-pills[b-aqyq7q78oo] { display: flex; gap: 10px; flex-wrap: wrap; }
.pill[b-aqyq7q78oo] { display: inline-flex; align-items: baseline; gap: 10px; padding: 9px 15px; border-radius: 999px; text-decoration: none; font-weight: 700; white-space: nowrap; transition: transform .15s; }
.pill span[b-aqyq7q78oo] { font-weight: 500; font-size: 13px; }
.pill:hover[b-aqyq7q78oo] { transform: translateY(-1px); }
.pill-in[b-aqyq7q78oo] { background: var(--sun); color: var(--sun-ink); }
.pill-out[b-aqyq7q78oo] { background: var(--peach); color: var(--peach-ink); }
.dash-wave[b-aqyq7q78oo] { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 84px; z-index: -1; }
.wave-a[b-aqyq7q78oo] { fill: #0B4558; }
.wave-b[b-aqyq7q78oo] { fill: #0F566C; }

.dash-today[b-aqyq7q78oo] { border-radius: var(--radius-xl); background: var(--aqua); color: var(--ink); padding: 22px 24px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 22px; align-items: center; container-type: inline-size; }
.dash-today.over[b-aqyq7q78oo] { background: var(--peach); }
.today-ring[b-aqyq7q78oo] { width: clamp(96px, 30cqi, 132px); height: auto; aspect-ratio: 1; }
.ring-track[b-aqyq7q78oo] { fill: none; stroke: var(--ring-track); stroke-width: 14; }
.ring-fill[b-aqyq7q78oo] { fill: none; stroke: var(--aqua-ink); stroke-width: 14; stroke-linecap: round; transition: stroke-dashoffset .8s cubic-bezier(.2, .8, .2, 1); }
.dash-today.over .ring-fill[b-aqyq7q78oo] { stroke: var(--peach-ink); }
.ring-text[b-aqyq7q78oo] { font: 800 24px var(--display); fill: var(--ink); }
.today-text[b-aqyq7q78oo] { display: grid; gap: 2px; min-width: 0; }
.today-text h2[b-aqyq7q78oo] { margin: 0; font: 600 15px var(--font); color: var(--aqua-ink); }
.dash-today.over .today-text h2[b-aqyq7q78oo] { color: var(--peach-ink); }
.today-text strong[b-aqyq7q78oo] { font: 800 clamp(30px, 12cqi, 46px)/1.05 var(--display); letter-spacing: -.03em; white-space: nowrap; }
.today-text strong.neg[b-aqyq7q78oo] { color: var(--peach-ink); }
.today-text p[b-aqyq7q78oo] { margin: 4px 0 0; font-size: 14px; color: var(--ink-soft); }
.today-text small[b-aqyq7q78oo] { margin-top: 8px; font-size: 12px; color: var(--ink-soft); opacity: .85; }

.dash-wallets[b-aqyq7q78oo] { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; margin-bottom: 22px; }
.dw-card[b-aqyq7q78oo] { position: relative; align-items: flex-start; text-align: left; border-radius: var(--radius-l); padding: 16px 18px; min-height: 112px; display: flex; flex-direction: column; justify-content: space-between; gap: 10px; text-decoration: none; transition: transform .15s, box-shadow .15s; container-type: inline-size; }
.dw-card:hover[b-aqyq7q78oo] { transform: translateY(-2px); box-shadow: 0 16px 30px -22px rgba(6, 47, 61, .6); }
.dw-card.on[b-aqyq7q78oo] { outline: 3px solid var(--current); outline-offset: 2px; }
.dw-name[b-aqyq7q78oo] { width: 100%; display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14px; min-width: 0; }
.dw-name > span:last-child[b-aqyq7q78oo] { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dw-card strong[b-aqyq7q78oo] { font: 700 clamp(18px, 13cqi, 26px) var(--display); letter-spacing: -.02em; white-space: nowrap; }
.dw-card em[b-aqyq7q78oo] { position: absolute; top: 14px; right: 14px; font-style: normal; font-size: 11px; font-weight: 600; opacity: .7; }
.dw-0[b-aqyq7q78oo] { background: var(--teal); color: #fff; }
.dw-1[b-aqyq7q78oo] { background: var(--lilac); color: var(--lilac-ink); }
.dw-2[b-aqyq7q78oo] { background: var(--sun); color: var(--sun-ink); }
.dw-3[b-aqyq7q78oo] { background: var(--aqua); color: var(--aqua-ink); }
.dw-card strong.neg[b-aqyq7q78oo] { color: inherit; }
.dw-card strong.neg[b-aqyq7q78oo]::before { content: ""; }
.dw-more[b-aqyq7q78oo], .dw-add[b-aqyq7q78oo] { background: var(--surface); color: var(--ink); border: 1.5px dashed var(--line-strong); align-items: flex-start; }
.dw-more span[b-aqyq7q78oo], .dw-add span[b-aqyq7q78oo] { color: var(--muted); font-weight: 600; }
.dw-add i[b-aqyq7q78oo] { font-size: 26px; color: var(--teal); }

@media (max-width: 900px) {
    .dash-top[b-aqyq7q78oo] { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
    .dash-hero[b-aqyq7q78oo] { padding: 20px 20px 24px; min-height: 0; }
    .dash-today[b-aqyq7q78oo] { grid-template-columns: minmax(0, 1fr) auto; padding: 18px 20px; }
    .today-ring[b-aqyq7q78oo] { order: 2; width: 88px; }
    .dash-wallets[b-aqyq7q78oo] { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .dw-card[b-aqyq7q78oo] { min-height: 96px; padding: 14px; }
    .dash-wallet[b-aqyq7q78oo] { min-width: 0; width: 100%; }
}

.tide-pulse[b-aqyq7q78oo] {
    position: absolute; left: 0; top: 50%;
    width: 120px; height: 120px; margin-top: -60px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(25, 182, 209, .55), transparent 70%);
    pointer-events: none;
    animation: tide-pulse-b-aqyq7q78oo 1.2s ease-out forwards;
}
@keyframes tide-pulse-b-aqyq7q78oo {
    from { opacity: 1; transform: scale(.3); }
    to { opacity: 0; transform: scale(3.2); }
}


/* ── Confronto 3 mesi ─────────────────────────────────────────────────────── */
.cmp[b-aqyq7q78oo] { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.cmp-col[b-aqyq7q78oo] {
    display: flex; flex-direction: column; align-items: center; gap: 4px;
    padding: 12px 8px 14px;
    border-radius: var(--radius-m);
    color: var(--ink);
    text-decoration: none;
    container-type: inline-size;
    transition: background .15s;
}
.cmp-col:hover[b-aqyq7q78oo] { background: var(--surface-2); }
.cmp-col.on[b-aqyq7q78oo] { background: color-mix(in srgb, var(--current) 9%, transparent); }
.cmp-bars[b-aqyq7q78oo] { display: flex; align-items: flex-end; justify-content: center; gap: 8px; height: 150px; width: 100%; margin-bottom: 6px; }
.cmp-bar[b-aqyq7q78oo] {
    display: block;
    width: min(34px, 26%);
    height: var(--h);
    border-radius: 8px 8px 3px 3px;
    transform-origin: bottom;
    animation: bar-up-b-aqyq7q78oo .8s cubic-bezier(.2, .8, .2, 1) both;
}
.cmp-in[b-aqyq7q78oo] { background: linear-gradient(180deg, color-mix(in srgb, var(--kelp) 70%, #fff), var(--kelp)); }
.cmp-out[b-aqyq7q78oo] { background: linear-gradient(180deg, color-mix(in srgb, var(--current) 70%, #fff), var(--teal)); animation-delay: .08s; }
@keyframes bar-up-b-aqyq7q78oo { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.cmp-month[b-aqyq7q78oo] { font-weight: 700; font-size: 14px; }
.cmp-month[b-aqyq7q78oo]::first-letter { text-transform: uppercase; }
.cmp-col.on .cmp-month[b-aqyq7q78oo] { color: var(--teal); }
[data-theme="dark"] .cmp-col.on .cmp-month[b-aqyq7q78oo] { color: var(--current); }
.cmp-figs[b-aqyq7q78oo] { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 10px; font-size: 12px; }
.cmp-net[b-aqyq7q78oo] { font-size: clamp(14px, 11cqi, 18px); font-weight: 800; letter-spacing: -.02em; white-space: nowrap; }

/* ── Categorie di spesa ───────────────────────────────────────────────────── */
.cats[b-aqyq7q78oo] { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; }
.cat-list[b-aqyq7q78oo] { list-style: none; margin: 0; padding: 0; flex: 1 1 260px; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.cat-row[b-aqyq7q78oo] {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 8px 10px;
    border-radius: var(--radius-s);
    color: var(--ink);
    text-decoration: none;
    transition: background .15s;
}
.cat-row:hover[b-aqyq7q78oo] { background: var(--surface-2); }
.cat-text[b-aqyq7q78oo] { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.cat-name[b-aqyq7q78oo] { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; }
.cat-name span[b-aqyq7q78oo] { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cat-name b[b-aqyq7q78oo] { font-weight: 700; white-space: nowrap; }
.cat-meter[b-aqyq7q78oo] { display: block; height: 5px; border-radius: 99px; background: var(--surface-2); overflow: hidden; }
.cat-meter i[b-aqyq7q78oo] { display: block; height: 100%; border-radius: 99px; transform-origin: left; animation: gauge-in .8s cubic-bezier(.2, .8, .2, 1) both; }
.cat-pct[b-aqyq7q78oo] { color: var(--muted); font-size: 12px; font-weight: 650; min-width: 36px; text-align: right; }

/* ── Portafogli: ogni riga apre i suoi movimenti ──────────────────────────── */
.wallet-row[b-aqyq7q78oo] { display: block; padding: 8px 10px; margin: 0 -10px; border-radius: var(--radius-s); color: var(--ink); text-decoration: none; transition: background .15s; }
.wallet-row:hover[b-aqyq7q78oo], .wallet-row.on[b-aqyq7q78oo] { background: var(--surface-2); }
.tag-excluded[b-aqyq7q78oo] { font-style: normal; font-size: 11px; font-weight: 650; color: var(--muted); border: 1px solid var(--line); border-radius: 99px; padding: 1px 7px; }

@media (max-width: 640px) {
    .tide-actions[b-aqyq7q78oo] { width: 100%; }
    .tide-actions .tide-select[b-aqyq7q78oo] { flex: 1 1 100%; min-width: 0; }
    .tide-btn[b-aqyq7q78oo] { flex: 1; justify-content: center; }
    a.stream[b-aqyq7q78oo] { border-radius: 0; }
    .kpis[b-aqyq7q78oo] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cmp[b-aqyq7q78oo] { gap: 4px; }
    .cmp-bars[b-aqyq7q78oo] { height: 110px; }
    .cats[b-aqyq7q78oo] { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
    .kpi[b-aqyq7q78oo], .cmp-bar[b-aqyq7q78oo], .tide-gauge-bar i[b-aqyq7q78oo], .cat-meter i[b-aqyq7q78oo], .tide-pulse[b-aqyq7q78oo] { animation: none; }
    .tide-pulse[b-aqyq7q78oo] { display: none; }
}

/* L'icona del portafoglio resta visibile anche quando ha lo stesso colore della carta. */
.dw-name[b-aqyq7q78oo]  .cat-icon { box-shadow: 0 0 0 2px rgba(255, 255, 255, .75); }
/* /Pages/Notifications.razor.rz.scp.css */
/* Centro notifiche: giorni come nel registro, righe piatte, il nuovo segnato da una corrente a sinistra. */
.nf-actions[b-zxnyhbov6e] { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }

.nf-bar[b-zxnyhbov6e] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}
.nf-count[b-zxnyhbov6e] { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 15px; }
.nf-count strong[b-zxnyhbov6e] {
    min-width: 26px;
    height: 26px;
    padding: 0 8px;
    box-sizing: border-box;
    border-radius: 99px;
    display: inline-grid;
    place-items: center;
    background: var(--teal);
    color: #fff;
    font-size: 13px;
    font-weight: 750;
}

.nf-confirm[b-zxnyhbov6e] { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.nf-confirm-btns[b-zxnyhbov6e] { display: flex; gap: 8px; }

.nf-list[b-zxnyhbov6e] {
    list-style: none;
    margin: 0;
    padding: 0;
    background: var(--surface);
    border: 1px solid var(--line);
    border-top: 0;
    border-radius: 0 0 var(--radius-m) var(--radius-m);
    overflow: hidden;
}
.nf-row[b-zxnyhbov6e] {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    border-top: 1px solid var(--line);
}
.nf-row:first-child[b-zxnyhbov6e] { border-top: 0; }
.nf-row.unread[b-zxnyhbov6e]::before {
    content: "";
    position: absolute;
    left: 0; top: 10px; bottom: 10px;
    width: 3px;
    border-radius: 0 3px 3px 0;
    background: linear-gradient(180deg, var(--teal), var(--current));
}

.nf-main[b-zxnyhbov6e] {
    all: unset;
    box-sizing: border-box;
    cursor: pointer;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 14px;
    align-items: start;
    padding: 14px 8px 14px 18px;
    min-width: 0;
}
.nf-main:focus-visible[b-zxnyhbov6e] { outline: 2px solid var(--current); outline-offset: -2px; border-radius: var(--radius-s); }
.nf-main:hover strong[b-zxnyhbov6e] { color: var(--teal); }
[data-theme="dark"] .nf-main:hover strong[b-zxnyhbov6e] { color: var(--current); }

.nf-icon[b-zxnyhbov6e] {
    --c: var(--muted);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 18px;
    color: var(--c);
    background: color-mix(in srgb, var(--c) 14%, transparent);
}
.nf-icon[data-tone="warn"][b-zxnyhbov6e] { --c: #E8A33D; }
.nf-icon[data-tone="over"][b-zxnyhbov6e] { --c: var(--coral); }
.nf-icon[data-tone="ok"][b-zxnyhbov6e] { --c: var(--kelp); }
.nf-icon[data-tone="accent"][b-zxnyhbov6e] { --c: var(--teal); }
[data-theme="dark"] .nf-icon[data-tone="accent"][b-zxnyhbov6e] { --c: var(--current); }

.nf-text[b-zxnyhbov6e] { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.nf-text strong[b-zxnyhbov6e] { font-weight: 700; line-height: 1.35; overflow-wrap: anywhere; }
.nf-text span[b-zxnyhbov6e] { color: var(--muted); font-size: 14px; line-height: 1.45; overflow-wrap: anywhere; }
.nf-row.read .nf-text strong[b-zxnyhbov6e] { font-weight: 500; }
.nf-row.read .nf-icon[b-zxnyhbov6e] { filter: saturate(.6); opacity: .8; }

.nf-main time[b-zxnyhbov6e] { color: var(--muted); font-size: 12px; white-space: nowrap; padding-top: 2px; }

.nf-tools[b-zxnyhbov6e] { display: flex; gap: 2px; padding-right: 10px; }
.nf-tool[b-zxnyhbov6e] {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    border: 0;
    background: transparent;
    color: var(--muted);
    font-size: 16px;
    cursor: pointer;
}
.nf-tool:hover[b-zxnyhbov6e] { background: var(--surface-2); color: var(--teal); }
.nf-tool-del:hover[b-zxnyhbov6e] { color: var(--coral); }

@media (max-width: 560px) {
    .page-head[b-zxnyhbov6e] { flex-wrap: wrap; }
    .nf-main[b-zxnyhbov6e] { grid-template-columns: auto minmax(0, 1fr); padding-left: 14px; }
    .nf-main time[b-zxnyhbov6e] { grid-column: 2; padding-top: 0; }
    .nf-tools[b-zxnyhbov6e] { flex-direction: column; padding-right: 4px; }
}
/* /Pages/Pricing.razor.rz.scp.css */
/* Abbonamento: due piani affiancati, il Pro con la laguna; numeri grandi, niente ombre uguali. */
.pr-head[b-ci51moqy73] { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; margin: 8px auto 28px; max-width: 640px; }
.pr-head h1[b-ci51moqy73] { margin: 0; font-size: clamp(30px, 3.6vw, 46px); font-weight: 800; letter-spacing: -.035em; }
.pr-head p[b-ci51moqy73] { margin: 0 0 8px; color: var(--muted); line-height: 1.55; }
.pr-save[b-ci51moqy73] {
    margin-left: 6px;
    padding: 1px 8px;
    border-radius: 99px;
    font-size: 11px;
    font-weight: 750;
    background: rgba(46, 157, 74, .14);
    color: var(--kelp);
}
.pr-error[b-ci51moqy73] { max-width: 860px; margin: 0 auto 18px; }

.pr-plans[b-ci51moqy73] { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 900px; margin: 0 auto; align-items: stretch; }
.pr-plan[b-ci51moqy73] { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 28px; border-radius: var(--radius-l); }
.pr-plan h2[b-ci51moqy73] { font-size: 20px; font-weight: 800; margin: 0; }
.pr-desc[b-ci51moqy73] { margin: 0 0 10px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.pr-price[b-ci51moqy73] { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.pr-price strong[b-ci51moqy73] { font-size: clamp(40px, 4vw, 54px); font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.pr-price span[b-ci51moqy73] { color: var(--muted); font-size: 16px; }
.pr-billed[b-ci51moqy73] { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.pr-trial[b-ci51moqy73] { margin: 6px 0 0; font-size: 14px; font-weight: 700; color: var(--kelp); display: flex; align-items: center; gap: 6px; }

.pr-feats[b-ci51moqy73] { list-style: none; margin: 18px 0 12px; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.pr-feats li[b-ci51moqy73] { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 8px; font-size: 14px; line-height: 1.4; }
.pr-feats i[b-ci51moqy73] { color: var(--kelp); font-size: 17px; }
.pr-feats li.off[b-ci51moqy73] { color: var(--muted); }
.pr-feats li.off i[b-ci51moqy73] { color: var(--muted); }
.pr-note[b-ci51moqy73] { margin: 0 0 12px; color: var(--muted); font-size: 13px; line-height: 1.55; }
.pr-cta[b-ci51moqy73] { margin-top: auto; padding-top: 8px; display: flex; flex-direction: column; }

.pr-pro[b-ci51moqy73] {
    color: #fff;
    border-color: transparent;
    background:
        radial-gradient(90% 70% at 100% 0%, rgba(25, 182, 209, .38), transparent 60%),
        radial-gradient(80% 60% at 0% 100%, rgba(0, 119, 163, .45), transparent 65%),
        var(--lagoon);
    overflow: hidden;
}
.pr-pro .pr-desc[b-ci51moqy73], .pr-pro .pr-price span[b-ci51moqy73], .pr-pro .pr-billed[b-ci51moqy73], .pr-pro .pr-note[b-ci51moqy73] { color: rgba(255, 255, 255, .72); }
.pr-pro .pr-feats i[b-ci51moqy73], .pr-pro .pr-trial[b-ci51moqy73] { color: #8BE0A2; }
.pr-ribbon[b-ci51moqy73] {
    position: absolute;
    top: 18px;
    right: 18px;
    padding: 4px 12px;
    border-radius: 99px;
    font-size: 12px;
    font-weight: 750;
    background: rgba(25, 182, 209, .25);
    color: #CFF5FB;
}

/* ── Abbonamento attivo ─────────────────────────────────────────────────── */
.pr-active[b-ci51moqy73] { margin-top: 0; }
.pr-chip[b-ci51moqy73] { display: inline-block; padding: 3px 12px; border-radius: 99px; background: rgba(139, 224, 162, .18); color: #8BE0A2; font-size: 13px; font-weight: 700; margin-bottom: 10px; }
.pr-crown[b-ci51moqy73] { font-size: 96px; opacity: .14; line-height: 1; }
.pr-tiles[b-ci51moqy73] { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin: 26px 0 20px; }
.pr-tiles div[b-ci51moqy73] { padding: 12px 16px; border-radius: var(--radius-m); background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .1); display: flex; flex-direction: column; gap: 4px; }
.pr-tiles span[b-ci51moqy73] { font-size: 12px; color: rgba(255, 255, 255, .7); }
.pr-tiles strong[b-ci51moqy73] { font-size: 17px; font-weight: 750; overflow-wrap: anywhere; }
.pr-manage[b-ci51moqy73] { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.pr-manage p[b-ci51moqy73] { margin: 0; color: rgba(255, 255, 255, .78); line-height: 1.5; }
.pr-store[b-ci51moqy73] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, .3);
    color: #fff;
    font-weight: 650;
    text-decoration: none;
}
.pr-store:hover[b-ci51moqy73] { background: rgba(255, 255, 255, .1); }

/* ── Domande e note legali ──────────────────────────────────────────────── */
.pr-faq[b-ci51moqy73] { max-width: 760px; margin: 44px auto 0; }
.pr-faq h2[b-ci51moqy73] { font-size: 22px; font-weight: 800; margin: 0 0 14px; text-align: center; }
.pr-faq details[b-ci51moqy73] { border-top: 1px solid var(--line); }
.pr-faq details:last-child[b-ci51moqy73] { border-bottom: 1px solid var(--line); }
.pr-faq summary[b-ci51moqy73] {
    cursor: pointer;
    list-style: none;
    padding: 16px 32px 16px 4px;
    font-weight: 650;
    position: relative;
}
.pr-faq summary[b-ci51moqy73]::-webkit-details-marker { display: none; }
.pr-faq summary[b-ci51moqy73]::after {
    content: "+";
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 22px;
    font-weight: 400;
    color: var(--teal);
    transition: transform .15s;
}
.pr-faq details[open] summary[b-ci51moqy73]::after { transform: translateY(-50%) rotate(45deg); }
.pr-faq p[b-ci51moqy73] { margin: 0 4px 16px; color: var(--muted); line-height: 1.6; }

.pr-legal[b-ci51moqy73] { max-width: 760px; margin: 28px auto 8px; text-align: center; color: var(--muted); font-size: 13px; line-height: 1.55; }
.pr-legal p[b-ci51moqy73] { margin: 0 0 10px; }
.pr-legal nav[b-ci51moqy73] { display: flex; justify-content: center; gap: 20px; }
.pr-legal a[b-ci51moqy73] { color: var(--teal); font-weight: 600; text-decoration: none; }
[data-theme="dark"] .pr-legal a[b-ci51moqy73] { color: var(--current); }

@media (max-width: 760px) {
    .pr-plans[b-ci51moqy73] { grid-template-columns: minmax(0, 1fr); }
    .pr-pro[b-ci51moqy73] { order: -1; }
    .pr-plan[b-ci51moqy73] { padding: 22px 20px; }
    .pr-crown[b-ci51moqy73] { display: none; }
}
/* /Pages/Profile.razor.rz.scp.css */
/* Profilo: la marea della dashboard con te al centro, poi moduli piatti e l'abbonamento a lato. */
.me[b-o6ykydbfzu] { margin-top: 0; }
.me-top[b-o6ykydbfzu] { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.me-avatar[b-o6ykydbfzu] {
    width: 88px;
    height: 88px;
    flex: none;
    border-radius: 50%;
    overflow: hidden;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--teal), var(--current));
    box-shadow: 0 0 0 3px rgba(25, 182, 209, .55), 0 0 0 8px rgba(255, 255, 255, .06);
    font-size: 32px;
    font-weight: 800;
    color: #fff;
}
.me-avatar img[b-o6ykydbfzu] { width: 100%; height: 100%; object-fit: cover; background: #fff; }
.me-who[b-o6ykydbfzu] { min-width: 0; }
.me-who h1[b-o6ykydbfzu] { margin: 0; font-size: clamp(26px, 2.8vw, 36px); font-weight: 800; letter-spacing: -.025em; overflow-wrap: anywhere; }
.me-who p[b-o6ykydbfzu] { margin: 2px 0 10px; color: rgba(255, 255, 255, .72); overflow-wrap: anywhere; }
.me-badge[b-o6ykydbfzu] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 99px;
    font-size: 13px;
    font-weight: 700;
    background: rgba(255, 255, 255, .12);
    color: rgba(255, 255, 255, .9);
}
.me-badge.pro[b-o6ykydbfzu] { background: rgba(25, 182, 209, .28); color: #CFF5FB; }

.me-figures[b-o6ykydbfzu] { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 32px; margin-top: 26px; align-items: end; }
.me-balance strong[b-o6ykydbfzu] {
    display: block;
    font-size: clamp(34px, 3.8vw, 50px);
    font-weight: 800;
    letter-spacing: -.035em;
    line-height: 1.05;
    margin: 6px 0;
}
.me-balance strong.neg[b-o6ykydbfzu] { color: #FFB3B5; }

/* ── Moduli ─────────────────────────────────────────────────────────────── */
.pf-form[b-o6ykydbfzu] { display: flex; flex-direction: column; gap: 16px; }
.pf-actions[b-o6ykydbfzu] { display: flex; justify-content: flex-end; }
.field small[b-o6ykydbfzu] { color: var(--muted); font-size: 12px; line-height: 1.4; }
.field-err[b-o6ykydbfzu] { font-style: normal; color: var(--coral); font-size: 13px; }
.cur-sample[b-o6ykydbfzu] { font-weight: 700; color: var(--ink) !important; font-size: 14px !important; }

.av-head[b-o6ykydbfzu] { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.av-none[b-o6ykydbfzu] { color: var(--muted); font-size: 13px; }
.av-grid[b-o6ykydbfzu] { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 10px; margin-top: 6px; }
.av[b-o6ykydbfzu] {
    aspect-ratio: 1;
    padding: 4px;
    border-radius: 50%;
    border: 2px solid transparent;
    background: var(--surface-2);
    cursor: pointer;
    transition: transform .12s, border-color .12s;
}
.av img[b-o6ykydbfzu] { width: 100%; height: 100%; border-radius: 50%; display: block; }
.av:hover[b-o6ykydbfzu] { transform: translateY(-2px); }
.av.on[b-o6ykydbfzu] { border-color: var(--current); box-shadow: 0 0 0 3px color-mix(in srgb, var(--current) 25%, transparent); }

.link-btn[b-o6ykydbfzu] { border: 0; background: none; padding: 0; color: var(--teal); font: 600 13px var(--font); cursor: pointer; }
.link-btn.danger[b-o6ykydbfzu] { color: var(--coral); }

.tz-hint[b-o6ykydbfzu] {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    padding: 10px 14px;
    border-radius: var(--radius-m);
    background: color-mix(in srgb, var(--current) 10%, var(--surface));
    border: 1px solid color-mix(in srgb, var(--current) 35%, transparent);
    font-size: 14px;
}
.tz-hint i[b-o6ykydbfzu] { color: var(--teal); font-size: 18px; }
.tz-hint span[b-o6ykydbfzu] { flex: 1 1 200px; }

.toggles[b-o6ykydbfzu] { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; }
.toggles legend[b-o6ykydbfzu] { font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 6px; padding: 0; }
.toggle[b-o6ykydbfzu] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
    border-top: 1px solid var(--line);
    cursor: pointer;
}
.toggle:first-of-type[b-o6ykydbfzu] { border-top: 0; }
/* Interruttore disegnato sopra la casella nativa (resta accessibile e da tastiera). */
.toggle input[b-o6ykydbfzu] {
    appearance: none;
    flex: none;
    width: 42px;
    height: 24px;
    margin: 0;
    border-radius: 99px;
    background: var(--surface-2);
    border: 1px solid var(--line);
    position: relative;
    cursor: pointer;
    transition: background .15s;
}
.toggle input[b-o6ykydbfzu]::after {
    content: "";
    position: absolute;
    top: 2px; left: 2px;
    width: 18px; height: 18px;
    border-radius: 50%;
    background: var(--muted);
    transition: transform .15s, background .15s;
}
.toggle input:checked[b-o6ykydbfzu] { background: var(--teal); border-color: var(--teal); }
.toggle input:checked[b-o6ykydbfzu]::after { transform: translateX(18px); background: #fff; }
.toggle input:focus-visible[b-o6ykydbfzu] { outline: 2px solid var(--current); outline-offset: 2px; }

/* ── Abbonamento ────────────────────────────────────────────────────────── */
.sub[b-o6ykydbfzu] { display: flex; flex-direction: column; gap: 16px; }
.sub-head[b-o6ykydbfzu] { display: flex; align-items: center; gap: 14px; }
.sub-head h2[b-o6ykydbfzu] { margin: 0; font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.sub-head span[b-o6ykydbfzu] { color: var(--muted); font-size: 13px; }
.sub-icon[b-o6ykydbfzu] {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    font-size: 22px;
    color: var(--muted);
    background: var(--surface-2);
}
.sub.pro[b-o6ykydbfzu] { border-color: transparent; color: #fff; background: radial-gradient(90% 120% at 100% 0%, rgba(25, 182, 209, .35), transparent 60%), linear-gradient(160deg, var(--lagoon-2), var(--lagoon)); }
.sub.pro .sub-icon[b-o6ykydbfzu] { color: #9FE6F2; background: rgba(255, 255, 255, .12); }
.sub.pro .sub-head span[b-o6ykydbfzu], .sub.pro dt[b-o6ykydbfzu], .sub.pro .meter-label span:last-child[b-o6ykydbfzu], .sub.pro .sub-elsewhere[b-o6ykydbfzu] { color: rgba(255, 255, 255, .7); }
.sub.pro .meter[b-o6ykydbfzu] { background: rgba(255, 255, 255, .14); }
.sub.pro .panel-link[b-o6ykydbfzu] { color: #9FE6F2; }
.sub.pro .pill[b-o6ykydbfzu] { background: rgba(255, 255, 255, .14); color: #fff; }
.sub.pro .pill-ok[b-o6ykydbfzu] { color: #8BE0A2; }
.sub.pro dd.pos[b-o6ykydbfzu] { color: #8BE0A2; }

.sub-facts[b-o6ykydbfzu] { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
.sub-facts div[b-o6ykydbfzu] { min-width: 0; }
.sub-facts dt[b-o6ykydbfzu] { color: var(--muted); font-size: 12px; margin-bottom: 2px; }
.sub-facts dd[b-o6ykydbfzu] { margin: 0; font-weight: 650; font-size: 14px; overflow-wrap: anywhere; }
.sub-facts dd.warn[b-o6ykydbfzu] { color: #E8A33D; }
.sub-validity .meter-label[b-o6ykydbfzu] { font-size: 13px; }

.pill[b-o6ykydbfzu] { display: inline-flex; padding: 2px 10px; border-radius: 99px; font-size: 12px; font-weight: 700; background: var(--surface-2); color: var(--muted); }
.pill-ok[b-o6ykydbfzu] { background: rgba(46, 157, 74, .12); color: #1E6E33; }
.pill-warn[b-o6ykydbfzu] { background: rgba(232, 163, 61, .16); color: #8A5A10; }
[data-theme="dark"] .pill-ok[b-o6ykydbfzu] { color: #8BE0A2; }
[data-theme="dark"] .pill-warn[b-o6ykydbfzu] { color: #F3C77D; }

.sub-actions[b-o6ykydbfzu] { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.sub-elsewhere[b-o6ykydbfzu] { margin: 0; font-size: 13px; line-height: 1.45; color: var(--muted); }
.sub-manage[b-o6ykydbfzu] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, .3);
    color: inherit;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
}
.sub-manage:hover[b-o6ykydbfzu] { background: rgba(255, 255, 255, .1); }

/* ── Collegamenti ad altre pagine ───────────────────────────────────────── */
.go[b-o6ykydbfzu] { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; color: inherit; text-decoration: none; transition: border-color .15s; }
.go:hover[b-o6ykydbfzu] { border-color: var(--teal); }
.go > i[b-o6ykydbfzu] { color: var(--muted); }
.go-icon[b-o6ykydbfzu] { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 20px; color: var(--teal); background: color-mix(in srgb, var(--teal) 12%, transparent); }
.go-text[b-o6ykydbfzu] { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.go-text strong[b-o6ykydbfzu] { font-weight: 700; }
.go-text span[b-o6ykydbfzu] { color: var(--muted); font-size: 13px; }

@media (max-width: 1100px) {
    .me-figures[b-o6ykydbfzu] { grid-template-columns: minmax(0, 1fr); gap: 18px; }
}
@media (max-width: 480px) {
    .me-avatar[b-o6ykydbfzu] { width: 68px; height: 68px; font-size: 26px; }
    .sub-facts[b-o6ykydbfzu] { grid-template-columns: 1fr; }
}

/* Moneto ovunque */
.ev-text[b-o6ykydbfzu] { margin: 0 0 12px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.ev-stores[b-o6ykydbfzu] { display: flex; flex-wrap: wrap; gap: 8px; }
.ev-stores a[b-o6ykydbfzu] { padding: 7px 12px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--teal) 35%, transparent); color: var(--teal); font-size: 13px; font-weight: 600; text-decoration: none; }
.ev-stores a:hover[b-o6ykydbfzu] { background: color-mix(in srgb, var(--teal) 10%, transparent); }
/* /Pages/Recurring.razor.rz.scp.css */
/* Ricorrenti: il polso del mese in alto, le spese fisse col loro peso, poi il calendario. */

.pulse[b-ikmhk9xg63] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: 20px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-l);
    overflow: hidden;
}
.pulse-fig[b-ikmhk9xg63] { container-type: inline-size; display: flex; flex-direction: column; gap: 4px; padding: 20px 24px; border-left: 1px solid var(--line); min-width: 0; position: relative; }
.pulse-fig:first-child[b-ikmhk9xg63] { border-left: 0; }
.pulse-fig[b-ikmhk9xg63]::after { /* una corrente sottile sul bordo basso, del colore del flusso */
    content: "";
    position: absolute;
    left: 24px; right: 24px; bottom: 0;
    height: 3px;
    border-radius: 3px 3px 0 0;
    background: var(--line);
}
.pulse-out[b-ikmhk9xg63]::after { background: var(--coral); }
.pulse-in[b-ikmhk9xg63]::after { background: var(--kelp); }
.pulse-fig span[b-ikmhk9xg63] { color: var(--muted); font-size: 14px; }
.pulse-fig strong[b-ikmhk9xg63] { font-size: clamp(16px, 14cqi, 36px); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; white-space: nowrap; }
.pulse-fig small[b-ikmhk9xg63] { font-size: 16px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.pulse-fig em[b-ikmhk9xg63] { font-style: normal; font-size: 12px; color: var(--muted); }
.pulse-out strong[b-ikmhk9xg63] { color: var(--coral); }
.pulse-in strong[b-ikmhk9xg63] { color: var(--kelp); }

/* ── Spese fisse ──────────────────────────────────────────────────────────── */
.fixed[b-ikmhk9xg63] { margin-bottom: 22px; }
.fixed-head[b-ikmhk9xg63], .fixed-list li[b-ikmhk9xg63] {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(120px, 1fr) 110px 90px;
    gap: 14px;
    align-items: center;
}
.fixed-head[b-ikmhk9xg63] { padding: 0 0 8px; font-size: 12px; color: var(--muted); border-bottom: 1px solid var(--line); }
.fixed-head span:nth-child(3)[b-ikmhk9xg63], .fixed-head span:nth-child(4)[b-ikmhk9xg63] { text-align: right; }
.fixed-list[b-ikmhk9xg63] { list-style: none; margin: 0; padding: 0; }
.fixed-list li[b-ikmhk9xg63] { padding: 10px 0; border-top: 1px solid var(--line); }
.fixed-list li:first-child[b-ikmhk9xg63] { border-top: 0; }
.fx-name[b-ikmhk9xg63] { display: flex; align-items: center; gap: 10px; min-width: 0; }
.fx-text[b-ikmhk9xg63] { display: flex; flex-direction: column; min-width: 0; }
.fx-text strong[b-ikmhk9xg63] { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fx-text em[b-ikmhk9xg63] { font-style: normal; color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fx-share[b-ikmhk9xg63] { display: flex; align-items: center; gap: 8px; }
.fx-share em[b-ikmhk9xg63] { font-style: normal; font-size: 12px; color: var(--muted); min-width: 34px; text-align: right; }
.fx-bar[b-ikmhk9xg63] { flex: 1; height: 6px; border-radius: 99px; background: var(--surface-2); overflow: hidden; }
.fx-bar i[b-ikmhk9xg63] { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--teal), var(--current)); }
.fx-month[b-ikmhk9xg63] { text-align: right; font-weight: 700; white-space: nowrap; }
.fx-next[b-ikmhk9xg63] { text-align: right; color: var(--muted); font-size: 13px; white-space: nowrap; }
.fx-next.soon[b-ikmhk9xg63] { color: var(--teal); font-weight: 700; }

/* ── Calendario ───────────────────────────────────────────────────────────── */
.schedule[b-ikmhk9xg63] { list-style: none; margin: 0; padding: 0 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m); }
.slot[b-ikmhk9xg63] {
    display: grid;
    grid-template-columns: 48px auto minmax(0, 1fr) auto auto auto;
    gap: 14px;
    align-items: center;
    padding: 12px 0;
    border-top: 1px solid var(--line);
    cursor: pointer;
}
.slot:first-child[b-ikmhk9xg63] { border-top: 0; }
.slot:hover .slot-text strong[b-ikmhk9xg63], .slot:focus-visible .slot-text strong[b-ikmhk9xg63] { color: var(--teal); }
.slot:focus-visible[b-ikmhk9xg63] { outline: 2px solid var(--current); outline-offset: 2px; border-radius: var(--radius-s); }
.slot.off[b-ikmhk9xg63] { opacity: .55; }

.stamp[b-ikmhk9xg63] {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    width: 48px; height: 52px;
    border-radius: var(--radius-s);
    border: 1px solid var(--line);
    background: var(--surface-2);
    line-height: 1;
}
.stamp b[b-ikmhk9xg63] { font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.stamp span[b-ikmhk9xg63] { font-size: 11px; font-weight: 600; color: var(--muted); margin-top: 3px; }
.soon .stamp[b-ikmhk9xg63] { border-color: var(--current); background: color-mix(in srgb, var(--current) 14%, var(--surface)); }
.soon .stamp b[b-ikmhk9xg63] { color: var(--teal); }

.slot-text[b-ikmhk9xg63] { display: flex; flex-direction: column; min-width: 0; }
.slot-text strong[b-ikmhk9xg63] { font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.slot-text > span[b-ikmhk9xg63] { color: var(--muted); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bell[b-ikmhk9xg63] { color: var(--current); font-size: 14px; margin-left: 4px; vertical-align: -1px; }
.slot-when[b-ikmhk9xg63] { color: var(--muted); font-size: 13px; white-space: nowrap; }
.soon .slot-when[b-ikmhk9xg63] { color: var(--teal); font-weight: 700; }
.slot-amount[b-ikmhk9xg63] { font-weight: 750; white-space: nowrap; font-size: 15px; }

/* Interruttore attivo/in pausa */
.switch[b-ikmhk9xg63] { position: relative; display: inline-block; width: 40px; height: 24px; flex: none; }
.switch input[b-ikmhk9xg63] { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; z-index: 1; }
.switch span[b-ikmhk9xg63] { position: absolute; inset: 0; border-radius: 99px; background: var(--line); border: 1px solid var(--line); transition: background .15s; }
.switch span[b-ikmhk9xg63]::after { content: ""; position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%; background: var(--surface); box-shadow: 0 1px 2px rgba(6, 47, 61, .3); transition: transform .15s; }
.switch input:checked + span[b-ikmhk9xg63] { background: var(--teal); border-color: var(--teal); }
.switch input:checked + span[b-ikmhk9xg63]::after { transform: translateX(16px); }
.switch input:focus-visible + span[b-ikmhk9xg63] { outline: 2px solid var(--current); outline-offset: 2px; }
.switch input:disabled + span[b-ikmhk9xg63] { opacity: .5; }

/* ── Pannello ─────────────────────────────────────────────────────────────── */
.help[b-ikmhk9xg63] { margin: -4px 0 0; color: var(--muted); font-size: 13px; display: flex; gap: 6px; align-items: center; }
.readonly[b-ikmhk9xg63] { margin: 0; font-weight: 600; min-height: 38px; display: flex; align-items: center; }
.reminder[b-ikmhk9xg63] { border: 1px solid var(--line); border-radius: var(--radius-m); padding: 12px 14px; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.notice p[b-ikmhk9xg63] { margin: 6px 0 0; }
.notice .check[b-ikmhk9xg63] { margin-top: 8px; color: var(--ink); }

[data-theme="dark"] .fx-next.soon[b-ikmhk9xg63], [data-theme="dark"] .soon .slot-when[b-ikmhk9xg63], [data-theme="dark"] .soon .stamp b[b-ikmhk9xg63] { color: var(--current); }

@media (max-width: 860px) {
    .fixed-head[b-ikmhk9xg63] { display: none; }
    .fixed-list li[b-ikmhk9xg63] { grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; }
    .fx-share[b-ikmhk9xg63] { grid-column: 1 / -1; grid-row: 2; }
    .fx-month[b-ikmhk9xg63] { grid-row: 1; grid-column: 2; }
    .fx-next[b-ikmhk9xg63] { grid-row: 3; grid-column: 1 / -1; text-align: left; }
    .slot[b-ikmhk9xg63] { grid-template-columns: 48px minmax(0, 1fr) auto; gap: 4px 12px; }
    .slot[b-ikmhk9xg63]  .cat-icon { display: none; }
    .slot-text[b-ikmhk9xg63] { grid-column: 2; grid-row: 1; }
    .slot-when[b-ikmhk9xg63] { grid-column: 2; grid-row: 2; }
    .slot-amount[b-ikmhk9xg63] { grid-column: 3; grid-row: 1; text-align: right; }
    .switch[b-ikmhk9xg63] { grid-column: 3; grid-row: 2; justify-self: end; }
    .stamp[b-ikmhk9xg63] { grid-row: 1 / span 2; }
}
@media (max-width: 640px) {
    .pulse[b-ikmhk9xg63] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pulse-fig:nth-child(3)[b-ikmhk9xg63] { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--line); }
    .pulse-fig[b-ikmhk9xg63] { padding: 16px 18px; }
    .pulse-fig[b-ikmhk9xg63]::after { left: 18px; right: 18px; }
    .schedule[b-ikmhk9xg63] { padding: 0 14px; }
}
@media (prefers-reduced-motion: reduce) { .switch span[b-ikmhk9xg63], .switch span[b-ikmhk9xg63]::after { transition: none; } }

.drawer:focus[b-ikmhk9xg63] { outline: none; }
/* /Pages/Reports.razor.rz.scp.css */
/* Report: intestazione col periodo, schede, cifre grandi, pannelli piatti. */
.rp-head[b-st5amz4q7f] { flex-wrap: wrap; align-items: flex-end; margin-bottom: 14px; }
.rp-title[b-st5amz4q7f] { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.rp-title span[b-st5amz4q7f] { color: var(--muted); font-size: 14px; font-weight: 600; }
.rp-tools[b-st5amz4q7f] { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.rp-select[b-st5amz4q7f] {
    height: 36px;
    box-sizing: border-box;
    border-radius: 10px;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--ink);
    font: 500 14px var(--font);
    padding: 0 10px;
    max-width: 100%;
}
.rp-select:focus[b-st5amz4q7f] { outline: 2px solid var(--current); outline-offset: 0; border-color: transparent; }

/* Schede: una riga che scorre da sola sui telefoni, mai la pagina. */
.rp-tabs[b-st5amz4q7f] {
    display: flex;
    gap: 4px;
    overflow-x: auto;
    scrollbar-width: none;
    margin: 0 0 22px;
    border-bottom: 1px solid var(--line);
}
.rp-tabs[b-st5amz4q7f]::-webkit-scrollbar { display: none; }
.rp-tabs a[b-st5amz4q7f] {
    flex: none;
    padding: 10px 14px 12px;
    color: var(--muted);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -1px;
    border-radius: 8px 8px 0 0;
    white-space: nowrap;
}
.rp-tabs a:hover[b-st5amz4q7f] { color: var(--ink); background: color-mix(in srgb, var(--current) 8%, transparent); }
.rp-tabs a.on[b-st5amz4q7f] { color: var(--ink); border-bottom-color: var(--current); }

.rp-notice[b-st5amz4q7f] { margin: 0 0 16px; }
.rp-stack[b-st5amz4q7f] { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.rp-two[b-st5amz4q7f] { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.rp-two > .panel[b-st5amz4q7f], .rp-stack > .panel[b-st5amz4q7f] { min-width: 0; }
.rp-stack .panel-head[b-st5amz4q7f] { flex-wrap: wrap; }

/* Confronto e periodo libero */
.rp-compare[b-st5amz4q7f], .rp-range[b-st5amz4q7f] { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.rp-compare span[b-st5amz4q7f] { color: var(--muted); }
.rp-range input[b-st5amz4q7f] {
    height: 36px;
    box-sizing: border-box;
    border-radius: 10px;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--ink);
    font: 500 14px var(--font);
    padding: 0 10px;
}
.rp-range-error[b-st5amz4q7f] { font-size: 13px; font-weight: 600; }
.rp-seg[b-st5amz4q7f] { align-self: flex-start; flex-wrap: wrap; }

/* Cifre: niente card con ombra, una fascia con separatori sottili. */
.kpis[b-st5amz4q7f] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-m);
}
.kpis-3[b-st5amz4q7f] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.kpi[b-st5amz4q7f] { container-type: inline-size; display: flex; flex-direction: column; gap: 4px; padding: 16px 20px; border-left: 1px solid var(--line); min-width: 0; }
.kpi:first-child[b-st5amz4q7f] { border-left: 0; }
.kpi-label[b-st5amz4q7f] { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; min-width: 0; }
.kpi-label i[b-st5amz4q7f] {
    flex: none;
    width: 26px;
    height: 26px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    font-size: 15px;
    color: var(--teal);
    background: color-mix(in srgb, var(--current) 14%, transparent);
}
.kpi-in .kpi-label i[b-st5amz4q7f] { color: var(--kelp); background: color-mix(in srgb, var(--kelp) 14%, transparent); }
.kpi-out .kpi-label i[b-st5amz4q7f] { color: var(--coral); background: color-mix(in srgb, var(--coral) 14%, transparent); }
.kpi strong[b-st5amz4q7f] {
    font-size: clamp(15px, 12cqi, 26px);
    font-weight: 800;
    letter-spacing: -.025em;
    margin-top: 4px;
    white-space: nowrap;
}
.kpi-in strong[b-st5amz4q7f] { color: var(--kelp); }
.kpi-out strong[b-st5amz4q7f] { color: var(--coral); }
.kpi em[b-st5amz4q7f] { font-style: normal; font-size: 12px; color: var(--muted); line-height: 1.4; }
.kpi em.pos[b-st5amz4q7f] { color: var(--kelp); font-weight: 650; }
.kpi em.neg[b-st5amz4q7f] { color: var(--coral); font-weight: 650; }

/* Variazioni sotto la ciambella del mese */
.rp-deltas[b-st5amz4q7f] { list-style: none; margin: 16px 0 0; padding: 0; border-top: 1px solid var(--line); }
.rp-deltas li[b-st5amz4q7f] { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; font-size: 14px; border-bottom: 1px solid var(--line); }
.rp-deltas li:last-child[b-st5amz4q7f] { border-bottom: 0; }
.rp-deltas span[b-st5amz4q7f] { color: var(--muted); }
.rp-deltas b[b-st5amz4q7f] { font-weight: 650; text-align: right; }

/* Suggerimenti */
.insights[b-st5amz4q7f] { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.insight[b-st5amz4q7f] { --tone: var(--teal); display: flex; gap: 12px; padding: 14px; border-radius: var(--radius-m); background: var(--surface-2); border-left: 3px solid var(--tone); }
.insight-ok[b-st5amz4q7f] { --tone: var(--kelp); }
.insight-warn[b-st5amz4q7f] { --tone: #E8A33D; }
.insight-bad[b-st5amz4q7f] { --tone: var(--coral); }
.insight-accent[b-st5amz4q7f] { --tone: var(--current); }
.insight i[b-st5amz4q7f] {
    flex: none;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    font-size: 18px;
    color: var(--tone);
    background: color-mix(in srgb, var(--tone) 16%, transparent);
}
.insight strong[b-st5amz4q7f] { display: block; font-size: 14px; margin-bottom: 2px; }
.insight p[b-st5amz4q7f] { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.45; }

/* Tabelle: scorrono dentro il loro pannello */
.rp-scroll[b-st5amz4q7f] { overflow-x: auto; margin: 0 -6px; padding: 0 6px; }
.rp-table[b-st5amz4q7f] { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 520px; }
.rp-table th[b-st5amz4q7f] {
    text-align: left;
    font-size: 12px;
    font-weight: 650;
    color: var(--muted);
    padding: 8px 10px;
    border-bottom: 1px solid var(--line);
    white-space: nowrap;
}
.rp-table td[b-st5amz4q7f] { padding: 9px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.rp-table .num[b-st5amz4q7f] { text-align: right; font-variant-numeric: tabular-nums; }
.rp-table tbody tr:last-child td[b-st5amz4q7f] { border-bottom: 0; }
.rp-table tbody tr.dim td[b-st5amz4q7f] { opacity: .45; }
.rp-table tbody tr.projected td[b-st5amz4q7f] { background: color-mix(in srgb, #E8A33D 5%, transparent); }
.rp-table tfoot td[b-st5amz4q7f] { font-weight: 750; border-top: 2px solid var(--line); border-bottom: 0; padding-top: 11px; }
.rp-clickable tbody tr[b-st5amz4q7f] { cursor: pointer; }
.rp-clickable tbody tr:hover td[b-st5amz4q7f] { background: var(--surface-2); }
.rp-wallet[b-st5amz4q7f] { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 600; text-decoration: none; }
.rp-clickable tbody tr:hover .rp-wallet[b-st5amz4q7f] { color: var(--teal); }
.rp-swatch[b-st5amz4q7f] { width: 10px; height: 10px; border-radius: 3px; flex: none; }

.badge[b-st5amz4q7f] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 2px 9px;
    border-radius: 99px;
    font-size: 12px;
    font-weight: 650;
    white-space: nowrap;
}
.badge-ok[b-st5amz4q7f] { color: #1E6E33; background: rgba(46, 157, 74, .12); }
.badge-warn[b-st5amz4q7f] { color: #9A5F0C; background: rgba(232, 163, 61, .16); }
[data-theme="dark"] .badge-ok[b-st5amz4q7f] { color: #8BE0A2; }
[data-theme="dark"] .badge-warn[b-st5amz4q7f] { color: #F5C47A; }
.rp-warn[b-st5amz4q7f] { background: rgba(232, 163, 61, .10); border-color: rgba(232, 163, 61, .4); margin: 0; }

/* Categorie: ciambella + classifica */
.rp-cat[b-st5amz4q7f] { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 24px; align-items: start; }
.ranking[b-st5amz4q7f] { list-style: none; margin: 0; padding: 0; min-width: 0; }
.ranking li + li[b-st5amz4q7f] { border-top: 1px solid var(--line); }
.ranking a[b-st5amz4q7f] {
    display: grid;
    grid-template-columns: 32px auto minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 10px 8px;
    color: inherit;
    text-decoration: none;
    border-radius: var(--radius-s);
}
.ranking a:hover[b-st5amz4q7f] { background: var(--surface-2); }
.ranking a:hover .rank-name strong[b-st5amz4q7f] { color: var(--teal); }
.rank[b-st5amz4q7f] { font-size: 13px; font-weight: 700; color: var(--muted); }
.rank-mid[b-st5amz4q7f] { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.rank-name[b-st5amz4q7f] { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; min-width: 0; }
.rank-name strong[b-st5amz4q7f] { font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.rank-name em[b-st5amz4q7f] { font-style: normal; font-size: 12px; color: var(--muted); }
.rank-bar[b-st5amz4q7f] { display: block; height: 5px; border-radius: 99px; background: var(--surface-2); overflow: hidden; }
.rank-bar i[b-st5amz4q7f] { display: block; height: 100%; border-radius: 99px; }
.rank-amount[b-st5amz4q7f] { display: flex; flex-direction: column; align-items: flex-end; white-space: nowrap; }
.rank-amount strong[b-st5amz4q7f] { font-weight: 750; }
.rank-amount em[b-st5amz4q7f] { font-style: normal; font-size: 12px; color: var(--muted); }
.pill[b-st5amz4q7f] { font-size: 11px; font-weight: 700; padding: 1px 8px; border-radius: 99px; }
.pill-ok[b-st5amz4q7f] { color: #1E6E33; background: rgba(46, 157, 74, .14); }
.pill-warn[b-st5amz4q7f] { color: #9A5F0C; background: rgba(232, 163, 61, .18); }
.pill-bad[b-st5amz4q7f] { color: #B4232A; background: rgba(229, 72, 77, .14); }
[data-theme="dark"] .pill-ok[b-st5amz4q7f] { color: #8BE0A2; }
[data-theme="dark"] .pill-warn[b-st5amz4q7f] { color: #F5C47A; }
[data-theme="dark"] .pill-bad[b-st5amz4q7f] { color: #FF9A9E; }

@media (max-width: 1000px) {
    .rp-two[b-st5amz4q7f] { grid-template-columns: minmax(0, 1fr); }
    .rp-cat[b-st5amz4q7f] { grid-template-columns: minmax(0, 1fr); justify-items: center; }
    .rp-cat .ranking[b-st5amz4q7f] { width: 100%; }
}
@media (max-width: 760px) {
    .kpis[b-st5amz4q7f], .kpis-3[b-st5amz4q7f] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .kpi:nth-child(odd)[b-st5amz4q7f] { border-left: 0; }
    .kpi:nth-child(n + 3)[b-st5amz4q7f] { border-top: 1px solid var(--line); }
    .rp-btn-text[b-st5amz4q7f] { display: none; }
}
@media (max-width: 480px) {
    .kpis[b-st5amz4q7f], .kpis-3[b-st5amz4q7f] { grid-template-columns: minmax(0, 1fr); }
    .kpi[b-st5amz4q7f] { border-left: 0; }
    .kpi + .kpi[b-st5amz4q7f] { border-top: 1px solid var(--line); }
    .ranking a[b-st5amz4q7f] { grid-template-columns: auto minmax(0, 1fr) auto; }
    .rank[b-st5amz4q7f] { display: none; }
    .rp-tools[b-st5amz4q7f] { width: 100%; }
}
/* /Pages/Savings.razor.rz.scp.css */
/* Obiettivi: il bacino di tutto il risparmiato in alto, poi un bacino per obiettivo. */

.basin[b-0dbnjx69dk] {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 20px 32px;
    align-items: end;
    padding: 26px 30px;
    margin-bottom: 20px;
    border-radius: var(--radius-l);
    color: #fff;
    background:
        radial-gradient(70% 120% at 100% 100%, rgba(25, 182, 209, .35), transparent 60%),
        linear-gradient(160deg, var(--lagoon-2), var(--lagoon));
}
.basin[b-0dbnjx69dk]::after { /* la superficie dell'acqua: una sola linea curva, discreta */
    content: "";
    position: absolute;
    inset: auto -20% -60% -20%;
    height: 90%;
    border-radius: 50%;
    border-top: 2px solid rgba(25, 182, 209, .45);
    z-index: -1;
    pointer-events: none;
}
.basin-main[b-0dbnjx69dk] { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.basin-main span[b-0dbnjx69dk] { color: rgba(255, 255, 255, .72); font-size: 14px; }
.basin-main strong[b-0dbnjx69dk] { font-size: clamp(36px, 4vw, 54px); font-weight: 800; letter-spacing: -.035em; font-stretch: 108%; line-height: 1.05; }
.basin-main em[b-0dbnjx69dk] { font-style: normal; color: #9FE6F2; font-size: 14px; font-weight: 600; }
.basin-figs[b-0dbnjx69dk] { display: grid; grid-template-columns: repeat(3, auto); }
.basin-figs > div[b-0dbnjx69dk] { display: flex; flex-direction: column; gap: 2px; padding: 2px 22px; border-left: 1px solid rgba(255, 255, 255, .16); min-width: 0; }
.basin-figs span[b-0dbnjx69dk] { color: rgba(255, 255, 255, .7); font-size: 13px; }
.basin-figs strong[b-0dbnjx69dk] { font-size: 22px; font-weight: 750; white-space: nowrap; }
.basin-figs strong.pos[b-0dbnjx69dk] { color: #8BE0A2; }
.basin-figs em[b-0dbnjx69dk] { font-style: normal; font-size: 12px; color: rgba(255, 255, 255, .6); }

.seg-wrap[b-0dbnjx69dk] { flex-wrap: wrap; }

/* ── Schede obiettivo ─────────────────────────────────────────────────────── */
.goal-grid[b-0dbnjx69dk] { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.gcard[b-0dbnjx69dk] {
    --ring: var(--current);
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 18px 20px 14px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-l);
    min-width: 0;
}
.gcard.risk[b-0dbnjx69dk] { --ring: #E8A33D; }
.gcard.late[b-0dbnjx69dk] { --ring: var(--coral); }
.gcard.done[b-0dbnjx69dk] {
    --ring: var(--kelp);
    background: linear-gradient(180deg, color-mix(in srgb, var(--kelp) 9%, var(--surface)), var(--surface) 70%);
    border-color: color-mix(in srgb, var(--kelp) 30%, var(--line));
}

.gcard-head[b-0dbnjx69dk] {
    all: unset;
    box-sizing: border-box;
    cursor: pointer;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    border-radius: var(--radius-m);
}
.gcard-head:focus-visible[b-0dbnjx69dk] { outline: 2px solid var(--current); outline-offset: 4px; }
.gcard-head:hover .gcard-title strong[b-0dbnjx69dk] { color: var(--teal); }
.gcard-title[b-0dbnjx69dk] { display: flex; flex-direction: column; gap: 4px; min-width: 0; align-items: flex-start; }
.gcard-title strong[b-0dbnjx69dk] { font-size: 17px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.gpill[b-0dbnjx69dk] {
    font-style: normal; font-size: 12px; font-weight: 600;
    padding: 2px 9px; border-radius: 999px;
    color: var(--ring);
    background: color-mix(in srgb, var(--ring) 14%, transparent);
}
.gcard.track .gpill[b-0dbnjx69dk] { color: var(--teal); }
.gcard-pct[b-0dbnjx69dk] { font-size: 20px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.gcard.done .gcard-pct[b-0dbnjx69dk] { color: var(--kelp); }

/* Anello: conic-gradient del colore dello stato, emoji al centro. */
.gring[b-0dbnjx69dk] {
    --p: 0;
    position: relative;
    display: grid;
    place-items: center;
    width: 58px; height: 58px;
    flex: none;
    border-radius: 50%;
    background: conic-gradient(var(--ring, var(--current)) calc(var(--p) * 1%), var(--surface-2) 0);
}
.gring[b-0dbnjx69dk]::before { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: var(--surface); }
.gring span[b-0dbnjx69dk] { position: relative; font-size: 24px; line-height: 1; }
.gring.big[b-0dbnjx69dk] { width: 84px; height: 84px; }
.gring.big[b-0dbnjx69dk]::before { inset: 8px; }
.gring.big span[b-0dbnjx69dk] { font-size: 34px; }
.gring.done[b-0dbnjx69dk] { --ring: var(--kelp); }

.gcard-amounts[b-0dbnjx69dk] { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.gcard-amounts strong[b-0dbnjx69dk] { font-size: 26px; font-weight: 800; letter-spacing: -.025em; }
.gcard-amounts span[b-0dbnjx69dk] { color: var(--muted); font-size: 14px; }

.spark[b-0dbnjx69dk] { width: 100%; height: 28px; display: block; }
.spark rect[b-0dbnjx69dk] { fill: var(--ring); opacity: .55; }

.gcard-detail[b-0dbnjx69dk] { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.45; min-height: 1.45em; }
.gcard-actions[b-0dbnjx69dk] { display: flex; align-items: center; gap: 6px; padding-top: 10px; border-top: 1px solid var(--line); margin-top: auto; flex-wrap: wrap; }
.gcard-edit[b-0dbnjx69dk] { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--muted); cursor: pointer; font-size: 15px; }
.gcard-edit:hover[b-0dbnjx69dk] { color: var(--teal); border-color: var(--teal); }

/* ── Pannello ─────────────────────────────────────────────────────────────── */
.detail-top[b-0dbnjx69dk], .move-goal[b-0dbnjx69dk], .preview[b-0dbnjx69dk] { display: flex; align-items: center; gap: 16px; }
.detail-top > div[b-0dbnjx69dk], .move-goal > div[b-0dbnjx69dk], .preview > div[b-0dbnjx69dk] { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.detail-amount[b-0dbnjx69dk] { font-size: 30px; font-weight: 800; letter-spacing: -.025em; }
.detail-of[b-0dbnjx69dk], .move-goal span[b-0dbnjx69dk], .preview span[b-0dbnjx69dk] { color: var(--muted); font-size: 13px; }
.move-goal[b-0dbnjx69dk], .preview[b-0dbnjx69dk] { padding: 12px 14px; border-radius: var(--radius-m); background: var(--surface-2); }
.move-goal strong[b-0dbnjx69dk], .preview strong[b-0dbnjx69dk] { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.move-goal .gring[b-0dbnjx69dk]::before, .preview .gring[b-0dbnjx69dk]::before { background: var(--surface-2); }

.stats[b-0dbnjx69dk] { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--radius-m); }
.stats > div[b-0dbnjx69dk] { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-left: 1px solid var(--line); min-width: 0; }
.stats > div:first-child[b-0dbnjx69dk] { border-left: 0; }
.stats span[b-0dbnjx69dk] { color: var(--muted); font-size: 12px; }
.stats strong[b-0dbnjx69dk] { font-size: 16px; font-weight: 750; white-space: nowrap; }

.history-title[b-0dbnjx69dk] { margin: 6px 0 0; font-size: 15px; font-weight: 700; }
.hist-icon[b-0dbnjx69dk] { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 15px; }
.hist-icon.in[b-0dbnjx69dk] { color: var(--kelp); background: color-mix(in srgb, var(--kelp) 14%, transparent); }
.hist-icon.out[b-0dbnjx69dk] { color: var(--coral); background: color-mix(in srgb, var(--coral) 12%, transparent); }
.help[b-0dbnjx69dk] { color: var(--muted); font-size: 12px; line-height: 1.4; }

[data-theme="dark"] .gcard.track .gpill[b-0dbnjx69dk] { color: var(--current); }
[data-theme="dark"] .gcard-head:hover .gcard-title strong[b-0dbnjx69dk] { color: var(--current); }

@media (max-width: 900px) {
    .basin[b-0dbnjx69dk] { grid-template-columns: minmax(0, 1fr); }
    .basin-figs > div:first-child[b-0dbnjx69dk] { border-left: 0; padding-left: 0; }
}
@media (max-width: 560px) {
    .basin[b-0dbnjx69dk] { padding: 22px 18px; }
    .basin-figs[b-0dbnjx69dk] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .basin-figs > div[b-0dbnjx69dk] { padding: 2px 10px; }
    .basin-figs strong[b-0dbnjx69dk] { font-size: clamp(14px, 4.2vw, 17px); white-space: nowrap; }
    .goal-grid[b-0dbnjx69dk] { grid-template-columns: minmax(0, 1fr); }
    .gcard[b-0dbnjx69dk] { padding: 16px; }
}
/* /Pages/Security.razor.rz.scp.css */
/* Sicurezza: lo scudo in testa (lo stato che conta), poi sessioni, cronologia, zona rossa. */
.sec-grid[b-4yul3zpwkz] { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; margin-bottom: 24px; }
.sec-col[b-4yul3zpwkz] { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
section.sec-col[b-4yul3zpwkz] { gap: 0; }

.sec-note[b-4yul3zpwkz] { color: var(--muted); font-size: 14px; line-height: 1.5; margin: 0 0 14px; }
.sec-warn[b-4yul3zpwkz] { color: var(--coral); font-weight: 600; font-size: 14px; margin: 0; }
.sec-form[b-4yul3zpwkz] { display: flex; flex-direction: column; gap: 14px; }
.sec-actions[b-4yul3zpwkz] { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 4px; }
.field-err[b-4yul3zpwkz] { font-style: normal; color: var(--coral); font-size: 13px; }

.pill[b-4yul3zpwkz] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px;
    border-radius: 99px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    background: var(--surface-2);
    color: var(--muted);
    border: 1px solid var(--line);
}
.pill-ok[b-4yul3zpwkz] { background: rgba(46, 157, 74, .12); color: #1E6E33; border-color: transparent; }
.pill-warn[b-4yul3zpwkz] { background: rgba(232, 163, 61, .16); color: #8A5A10; border-color: transparent; }
[data-theme="dark"] .pill-ok[b-4yul3zpwkz] { color: #8BE0A2; }
[data-theme="dark"] .pill-warn[b-4yul3zpwkz] { color: #F3C77D; }

/* ── Scudo MFA: laguna quando e' acceso, superficie quieta quando no ────── */
.sec-shield[b-4yul3zpwkz] { display: flex; flex-direction: column; gap: 14px; }
.sec-shield-top[b-4yul3zpwkz] { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px; align-items: start; }
.sec-shield-icon[b-4yul3zpwkz] {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    font-size: 26px;
    color: var(--teal);
    background: color-mix(in srgb, var(--teal) 12%, transparent);
}
.sec-shield-text h2[b-4yul3zpwkz] { margin: 2px 0 4px; font-size: 18px; font-weight: 750; }
.sec-shield-text p[b-4yul3zpwkz] { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.sec-shield.on[b-4yul3zpwkz] {
    color: #fff;
    border-color: transparent;
    background:
        radial-gradient(90% 120% at 100% 0%, rgba(25, 182, 209, .35), transparent 60%),
        linear-gradient(160deg, var(--lagoon-2), var(--lagoon));
}
.sec-shield.on .sec-shield-icon[b-4yul3zpwkz] { color: #9FE6F2; background: rgba(255, 255, 255, .12); }
.sec-shield.on .sec-shield-text p[b-4yul3zpwkz] { color: rgba(255, 255, 255, .72); }
.sec-shield.on .pill-ok[b-4yul3zpwkz] { background: rgba(139, 224, 162, .18); color: #8BE0A2; }
.sec-shield.on .sec-warn[b-4yul3zpwkz] { color: #FFB3B5; }
.sec-shield.on .field > span[b-4yul3zpwkz] { color: rgba(255, 255, 255, .75); }

/* ── Password ──────────────────────────────────────────────────────────── */
.pw-meter[b-4yul3zpwkz] { display: block; height: 4px; border-radius: 99px; background: var(--surface-2); overflow: hidden; }
.pw-meter i[b-4yul3zpwkz] { display: block; height: 100%; border-radius: 99px; transition: width .2s; }
.pw-meter i.s1[b-4yul3zpwkz] { background: var(--coral); }
.pw-meter i.s2[b-4yul3zpwkz] { background: #E8A33D; }
.pw-meter i.s3[b-4yul3zpwkz] { background: var(--current); }
.pw-meter i.s4[b-4yul3zpwkz] { background: var(--kelp); }

/* ── Sessioni ──────────────────────────────────────────────────────────── */
.sess-list[b-4yul3zpwkz] { list-style: none; margin: 0 0 12px; padding: 0; }
.sess-list li[b-4yul3zpwkz] {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 12px 0;
    border-top: 1px solid var(--line);
}
.sess-list li:first-child[b-4yul3zpwkz] { border-top: 0; }
.sess-icon[b-4yul3zpwkz] {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-size: 20px;
    color: var(--muted);
    background: var(--surface-2);
}
.sess-list li.current .sess-icon[b-4yul3zpwkz] { color: #fff; background: linear-gradient(135deg, var(--teal), var(--current)); }
.sess-text[b-4yul3zpwkz] { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.sess-text strong[b-4yul3zpwkz] { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-weight: 700; }
.sess-text > span[b-4yul3zpwkz] { color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
.sess-text .sess-soon[b-4yul3zpwkz] { color: var(--coral); }
.sec-inline-confirm[b-4yul3zpwkz] { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }

/* ── Cronologia: una linea del tempo sottile ───────────────────────────── */
.sec-audit[b-4yul3zpwkz] { margin-bottom: 24px; }
.audit-list[b-4yul3zpwkz] { list-style: none; margin: 0; padding: 0; position: relative; }
.audit-list li[b-4yul3zpwkz] {
    --c: var(--teal);
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 14px;
    align-items: start;
    padding: 9px 0;
}
.audit-list li:not(:last-child)[b-4yul3zpwkz]::after {
    content: "";
    position: absolute;
    left: 15px;
    top: 42px;
    bottom: -6px;
    width: 1px;
    background: var(--line);
}
.audit-list li[data-tone="ok"][b-4yul3zpwkz] { --c: var(--kelp); }
.audit-list li[data-tone="warn"][b-4yul3zpwkz] { --c: #E8A33D; }
.audit-list li[data-tone="over"][b-4yul3zpwkz] { --c: var(--coral); }
[data-theme="dark"] .audit-list li[data-tone="accent"][b-4yul3zpwkz] { --c: var(--current); }
.audit-dot[b-4yul3zpwkz] {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 15px;
    color: var(--c);
    background: color-mix(in srgb, var(--c) 14%, transparent);
}
.audit-text[b-4yul3zpwkz] { display: flex; flex-direction: column; gap: 2px; min-width: 0; padding-top: 4px; }
.audit-text strong[b-4yul3zpwkz] { font-weight: 650; }
.audit-text span[b-4yul3zpwkz] { color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
.audit-list time[b-4yul3zpwkz] { color: var(--muted); font-size: 13px; white-space: nowrap; padding-top: 6px; }

/* ── Zona rossa ────────────────────────────────────────────────────────── */
.sec-danger[b-4yul3zpwkz] { border-color: rgba(229, 72, 77, .35); display: flex; flex-direction: column; gap: 14px; }
.sec-danger-head[b-4yul3zpwkz] { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: start; }
.sec-danger-icon[b-4yul3zpwkz] {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    font-size: 22px;
    color: var(--coral);
    background: rgba(229, 72, 77, .10);
}
.sec-danger h2[b-4yul3zpwkz] { margin: 2px 0 4px; }
.sec-danger p[b-4yul3zpwkz] { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; max-width: 70ch; }
.sec-danger .notice a[b-4yul3zpwkz] { margin-left: 6px; }
.sec-delete-form[b-4yul3zpwkz] { max-width: 420px; }

/* ── Attivazione MFA nel pannello laterale ─────────────────────────────── */
.mfa-choices[b-4yul3zpwkz] { display: flex; flex-direction: column; gap: 10px; }
.mfa-choice[b-4yul3zpwkz] {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    text-align: left;
    padding: 14px 16px;
    border-radius: var(--radius-m);
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--ink);
    font: inherit;
    cursor: pointer;
}
.mfa-choice i[b-4yul3zpwkz] { font-size: 24px; color: var(--teal); }
.mfa-choice span[b-4yul3zpwkz] { display: flex; flex-direction: column; gap: 2px; }
.mfa-choice em[b-4yul3zpwkz] { font-style: normal; color: var(--muted); font-size: 13px; line-height: 1.4; }
.mfa-choice:hover[b-4yul3zpwkz] { border-color: var(--teal); }
.mfa-choice.on[b-4yul3zpwkz] { border-color: var(--current); background: color-mix(in srgb, var(--current) 10%, var(--surface)); box-shadow: 0 0 0 1px var(--current) inset; }

.link-btn[b-4yul3zpwkz] { align-self: flex-start; border: 0; background: none; padding: 0; color: var(--teal); font: 600 14px var(--font); cursor: pointer; }
.link-btn:disabled[b-4yul3zpwkz] { color: var(--muted); cursor: default; }
[data-theme="dark"] .link-btn:not(:disabled)[b-4yul3zpwkz] { color: var(--current); }

.qr[b-4yul3zpwkz] { align-self: center; padding: 12px; border-radius: var(--radius-m); background: #fff; border: 1px solid var(--line); line-height: 0; }
.qr svg[b-4yul3zpwkz] { display: block; max-width: 100%; height: auto; }

.secret[b-4yul3zpwkz] { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.secret code[b-4yul3zpwkz] {
    flex: 1 1 200px;
    padding: 10px 12px;
    border-radius: 10px;
    background: var(--surface-2);
    border: 1px solid var(--line);
    font: 600 15px ui-monospace, "Cascadia Code", Consolas, monospace;
    letter-spacing: .06em;
    overflow-wrap: anywhere;
}

.mfa-done[b-4yul3zpwkz] { text-align: center; padding: 28px 8px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.mfa-done i[b-4yul3zpwkz] { font-size: 52px; color: var(--kelp); }
.mfa-done h3[b-4yul3zpwkz] { margin: 4px 0 0; font-size: 20px; }
.mfa-done p[b-4yul3zpwkz] { color: var(--muted); margin: 0 0 12px; line-height: 1.5; }

@media (max-width: 980px) {
    .sec-grid[b-4yul3zpwkz] { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
    .sec-shield-top[b-4yul3zpwkz] { grid-template-columns: auto minmax(0, 1fr); }
    .sec-shield-top .pill[b-4yul3zpwkz] { grid-column: 1 / -1; justify-self: start; }
    .sess-list li[b-4yul3zpwkz] { grid-template-columns: auto minmax(0, 1fr); }
    .sess-act[b-4yul3zpwkz] { grid-column: 2; justify-self: start; }
    .audit-list li[b-4yul3zpwkz] { grid-template-columns: auto minmax(0, 1fr); }
    .audit-list time[b-4yul3zpwkz] { grid-column: 2; padding-top: 0; }
}
/* /Pages/SubscriptionSuccess.razor.rz.scp.css */
.ok[b-hgv51wcgmb] {
    max-width: 520px;
    margin: 40px auto;
    padding: 40px 32px;
    text-align: center;
    border-radius: var(--radius-l);
    color: #fff;
    background:
        radial-gradient(90% 80% at 100% 0%, rgba(25, 182, 209, .38), transparent 60%),
        linear-gradient(160deg, var(--lagoon-2), var(--lagoon));
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.ok-mark[b-hgv51wcgmb] {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 40px;
    color: #9FE6F2;
    background: rgba(255, 255, 255, .1);
    box-shadow: 0 0 0 10px rgba(25, 182, 209, .12);
    margin-bottom: 8px;
}
.ok h1[b-hgv51wcgmb] { margin: 0; font-size: clamp(26px, 3vw, 34px); font-weight: 800; letter-spacing: -.03em; }
.ok p[b-hgv51wcgmb] { margin: 0; color: rgba(255, 255, 255, .75); line-height: 1.55; }
.ok-facts[b-hgv51wcgmb] { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; width: 100%; margin-top: 14px; }
.ok-facts div[b-hgv51wcgmb] { padding: 10px 14px; border-radius: var(--radius-m); background: rgba(255, 255, 255, .08); display: flex; flex-direction: column; gap: 2px; }
.ok-facts span[b-hgv51wcgmb] { font-size: 12px; color: rgba(255, 255, 255, .7); }
.ok-facts strong[b-hgv51wcgmb] { font-weight: 750; }
.ok-actions[b-hgv51wcgmb] { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 18px; }
.ok-actions .panel-link[b-hgv51wcgmb] { color: #9FE6F2; }
@media (max-width: 480px) { .ok[b-hgv51wcgmb] { padding: 32px 20px; margin: 16px auto; } }
/* /Pages/Transactions.razor.rz.scp.css */
/* Movimenti: la graffetta e l'autore nelle righe. Il resto sta in app.css. */

.tx-row.has-clip[b-enmkg3mto4] { grid-template-columns: auto minmax(0, 1fr) auto auto; }
.tx-clip[b-enmkg3mto4] { color: var(--muted); font-size: 16px; }
.tx-author[b-enmkg3mto4] { color: var(--muted); }
.tx-author i[b-enmkg3mto4] { font-size: 12px; }

/* "Da ... A ..." restano insieme quando i filtri vanno a capo. */
.field-range[b-enmkg3mto4] { display: inline-flex; gap: 10px; align-items: center; flex-wrap: nowrap; }
/* /Pages/Wallets.razor.rz.scp.css */
/* Statistiche sotto il patrimonio: tre cifre su una linea sottile, niente carte. */
.w-stats[b-vvnqy8pphl] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: var(--radius-m);
    overflow: hidden;
    margin: -4px 0 22px;
}
.w-stats > div[b-vvnqy8pphl] { background: var(--surface); padding: 12px 16px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.w-stats span[b-vvnqy8pphl] { color: var(--muted); font-size: 13px; }
.w-stats strong[b-vvnqy8pphl] { font-size: 20px; font-weight: 800; letter-spacing: -.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.w-stats em[b-vvnqy8pphl] { font-style: normal; color: var(--muted); font-size: 12px; }

/* Peso sul totale, dentro la carta. */
.wcard-weight[b-vvnqy8pphl] { display: flex; align-items: center; gap: 8px; margin-top: 6px; font-size: 11px; padding-right: 40px; } /* spazio per il tasto in basso a destra */
.wcard-weight em[b-vvnqy8pphl] { font-style: normal; opacity: .8; white-space: nowrap; }
.ww-bar[b-vvnqy8pphl] { flex: 1; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .22); overflow: hidden; }
.ww-bar i[b-vvnqy8pphl] { display: block; height: 100%; border-radius: 4px; background: rgba(255, 255, 255, .85); }

.emoji-group[b-vvnqy8pphl] { display: block; color: var(--muted); font-size: 12px; margin: 8px 0 4px; }
.w-confirm[b-vvnqy8pphl] { display: flex; justify-content: flex-end; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.drawer:focus[b-vvnqy8pphl] { outline: none; }

@media (max-width: 560px) {
    .w-stats[b-vvnqy8pphl] { grid-template-columns: 1fr; }
    .w-stats > div[b-vvnqy8pphl] { flex-direction: row; align-items: baseline; flex-wrap: wrap; column-gap: 8px; }
    .w-stats strong[b-vvnqy8pphl] { font-size: 17px; }
}
