:root{--bg:#0f1115;--panel:#171a21;--panel2:#1d212a;--text:#f5f7fb;--muted:#9aa3b2;--line:#2a303b;--accent:#7ee0b8;--accent2:#b5f2d8;--danger:#ff7c8d;--positive:#77e0a4;--shadow:0 12px 36px rgba(0,0,0,.2);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}*{box-sizing:border-box}html{background:var(--bg);color:var(--text)}body{margin:0;background:radial-gradient(circle at top right,#17221f 0,transparent 28%),var(--bg);min-height:100vh}a{color:inherit;text-decoration:none}.app-shell{min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:220px;border-right:1px solid var(--line);padding:28px 20px;display:flex;flex-direction:column;background:rgba(15,17,21,.94);backdrop-filter:blur(16px)}.brand{font-weight:900;font-size:24px;letter-spacing:-1.3px}.brand span{color:var(--accent)}.brand.big{font-size:38px}.sidebar nav{display:grid;gap:6px;margin-top:34px}.sidebar nav a{padding:11px 12px;border-radius:12px;color:var(--muted)}.sidebar nav a:hover{background:var(--panel2);color:var(--text)}.plan-pill{margin-top:auto;display:inline-flex;width:max-content;padding:7px 10px;border-radius:999px;background:#203a31;color:var(--accent2);font-weight:800;font-size:12px}.content{max-width:1120px;margin-left:220px;padding:38px 42px 90px}.page-head,.section-head,.row,.hero-stats,.budget>div,.catbar>div{display:flex;justify-content:space-between;align-items:center;gap:16px}.page-head{margin-bottom:24px}.page-head h1{margin:3px 0 0;font-size:34px;letter-spacing:-1.5px}.eyebrow{text-transform:uppercase;letter-spacing:.12em;color:var(--muted);font-size:11px;font-weight:800}.icon-btn{background:var(--panel);border:1px solid var(--line);padding:10px 12px;border-radius:14px}.hero-card,.card,.quick-card,.metric{background:linear-gradient(180deg,rgba(29,33,42,.94),rgba(23,26,33,.96));border:1px solid var(--line);border-radius:22px;box-shadow:var(--shadow)}.hero-card{padding:28px;margin-bottom:20px}.hero-card>div:first-child span,.metric span{display:block;color:var(--muted);font-size:13px}.hero-card>div:first-child strong{display:block;font-size:42px;letter-spacing:-2px;margin-top:8px}.hero-stats{justify-content:flex-start;margin-top:24px;border-top:1px solid var(--line);padding-top:18px}.hero-stats p{margin:0 32px 0 0}.hero-stats span{display:block;color:var(--muted);font-size:12px}.hero-stats b{font-size:18px}.positive{color:var(--positive)}.negative{color:var(--danger)}.quick-card,.card{padding:22px}.quick-card{margin-bottom:20px}.quick-card h2,.card h2{margin:0 0 8px;font-size:18px}.muted,small,.empty{color:var(--muted)}.quick-form,.inline-form{display:flex;gap:10px;margin-top:14px}.quick-form input{flex:1}.stack{display:grid;gap:14px}.top{margin-top:14px}.form-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;align-items:end}.form-grid .wide{grid-column:span 2}label{display:grid;gap:7px;color:var(--muted);font-size:12px;font-weight:700}input,select{width:100%;background:#101319;border:1px solid var(--line);border-radius:12px;color:var(--text);padding:12px 13px;outline:none;font:inherit}input:focus,select:focus{border-color:#466b5d}.btn{border:1px solid var(--line);background:var(--panel2);color:var(--text);border-radius:12px;padding:11px 15px;font-weight:800;cursor:pointer;display:inline-flex;justify-content:center;align-items:center}.btn.primary{background:var(--accent);color:#0b1712;border-color:transparent}.btn.danger{background:#3a1f26;color:#ffc0c8}.ghost{background:transparent;border:0;color:inherit;font-size:24px;cursor:pointer}.danger-text{color:var(--danger)}.grid-2{display:grid;grid-template-columns:1.2fr .8fr;gap:20px;margin-bottom:20px}.cards-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}.section-head{margin-bottom:12px}.section-head a{color:var(--accent);font-size:13px}.row{padding:13px 0;border-bottom:1px solid var(--line)}.row:last-child{border-bottom:0}.row div:first-child{display:grid;gap:3px}.row-actions{display:flex!important;align-items:center;gap:10px}.insight{padding:16px;border-radius:16px;background:#14231e;border:1px solid #264237;line-height:1.55}.budget,.catbar{margin:16px 0}.budget span,.catbar span{color:var(--muted);font-size:12px}.budget.roomy{padding-bottom:10px;border-bottom:1px solid var(--line)}progress{width:100%;height:9px;border:0;border-radius:999px;overflow:hidden;background:#0f1217;margin-top:9px}progress::-webkit-progress-bar{background:#0f1217}progress::-webkit-progress-value{background:var(--accent);border-radius:999px}progress::-moz-progress-bar{background:var(--accent);border-radius:999px}.metric-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:20px}.metric{padding:20px}.metric strong{font-size:28px;margin-top:8px}.big-number{font-size:30px;font-weight:900;margin:10px 0}.status{font-size:11px;text-transform:uppercase;color:var(--accent);font-weight:900}.compact{margin-top:16px}.alert{padding:12px 14px;border-radius:12px;margin-top:12px}.alert.success{background:#143126;color:#bff5d9}.alert.danger{background:#3a1f26;color:#ffc0c8}.ai-chat{max-width:860px}.bubble{padding:14px 16px;border-radius:16px;margin:12px 0;max-width:85%;line-height:1.55}.bubble.user{margin-left:auto;background:#24483b}.bubble.ai{background:#20242d}.note{border-bottom:1px solid var(--line);padding:10px 0}.note p{margin:4px 0;color:var(--muted)}.auth-wrap{min-height:80vh;display:grid;place-items:center}.auth-card{width:min(420px,92vw);padding:30px;background:var(--panel);border:1px solid var(--line);border-radius:24px;box-shadow:var(--shadow)}.center{text-align:center}.bottom-nav{display:none}@media(max-width:800px){.sidebar{display:none}.content{margin-left:0;padding:24px 16px 92px}.page-head h1{font-size:28px}.hero-card>div:first-child strong{font-size:34px}.grid-2,.cards-grid,.metric-grid{grid-template-columns:1fr}.form-grid{grid-template-columns:1fr}.form-grid .wide{grid-column:auto}.quick-form,.inline-form{flex-direction:column}.bottom-nav{position:fixed;z-index:20;display:grid;grid-template-columns:repeat(5,1fr);inset:auto 0 0;background:rgba(15,17,21,.96);backdrop-filter:blur(16px);border-top:1px solid var(--line);padding:8px 8px max(8px,env(safe-area-inset-bottom))}.bottom-nav a{display:grid;place-items:center;gap:2px;color:var(--muted);font-size:18px}.bottom-nav small{font-size:9px}.bottom-nav .plus{width:46px;height:46px;border-radius:50%;background:var(--accent);color:#0b1712;margin:-18px auto 0;font-size:28px}.hero-stats{align-items:flex-start}.hero-stats p{margin-right:12px}.tx-row{align-items:flex-start}}@media(prefers-color-scheme:light){:root{--bg:#f6f8f7;--panel:#fff;--panel2:#f0f3f2;--text:#14201b;--muted:#6f7d77;--line:#dfe6e3;--shadow:0 12px 36px rgba(26,42,35,.08)}body{background:radial-gradient(circle at top right,#e9f7f1 0,transparent 30%),var(--bg)}.sidebar{background:rgba(255,255,255,.94)}input,select{background:#fff}.hero-card,.card,.quick-card,.metric{background:#fff}.insight{background:#effaf5}.bubble.ai{background:#f0f3f2}}
.quick-input-row{display:flex;gap:10px;flex:1}.quick-input-row input{flex:1}.voice-btn{flex:0 0 48px;width:48px;border:1px solid var(--line);background:var(--panel2);color:var(--text);border-radius:12px;font-size:20px;cursor:pointer}.voice-btn.listening{box-shadow:0 0 0 4px rgba(126,224,184,.14);border-color:var(--accent)}.voice-btn:disabled{opacity:.45;cursor:not-allowed}.voice-status{min-height:20px;margin-top:8px;color:var(--muted);font-size:12px}@media(max-width:800px){.quick-form{flex-direction:column}.quick-input-row{width:100%}.quick-input-row input{min-width:0}.voice-btn{flex-basis:50px}}
.filter-grid{display:grid;grid-template-columns:minmax(180px,2fr) minmax(130px,1fr) minmax(180px,1fr) auto auto;gap:10px;align-items:center}.edit-link{font-size:19px}.undo-inline{display:inline;margin-left:10px}.undo-btn{border:0;background:transparent;color:inherit;text-decoration:underline;font-weight:800;cursor:pointer}@media(max-width:800px){.filter-grid{grid-template-columns:1fr 1fr}.filter-grid input{grid-column:1/-1}.filter-grid .btn{width:100%}}

.accounts-strip{margin-bottom:20px}.account-chips{display:flex;gap:10px;overflow:auto;padding-bottom:2px}.account-chip{min-width:170px;padding:12px 14px;border:1px solid var(--line);background:#101319;border-radius:14px;display:grid;gap:5px}.account-chip small{white-space:nowrap}.quick-account{flex:0 0 180px;max-width:180px}.account-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:20px}.account-card{padding:20px;background:linear-gradient(180deg,rgba(29,33,42,.94),rgba(23,26,33,.96));border:1px solid var(--line);border-radius:22px}.account-card h2{margin:4px 0 0}.account-kind{font-size:11px;color:var(--muted);text-transform:uppercase}.account-balance{font-weight:900;font-size:28px;margin:20px 0}.account-actions{display:flex;align-items:center;justify-content:space-between;gap:8px}.check{display:flex;grid-template-columns:auto 1fr;align-items:center;gap:9px}.check input{width:auto}.filter-grid{grid-template-columns:minmax(180px,2fr) minmax(120px,1fr) minmax(160px,1fr) minmax(150px,1fr) auto auto}@media(max-width:900px){.account-grid{grid-template-columns:1fr 1fr}}@media(max-width:800px){.account-grid{grid-template-columns:1fr}.quick-account{max-width:none;flex-basis:auto}.quick-form{gap:10px}.filter-grid{grid-template-columns:1fr 1fr}.filter-grid select{min-width:0}}@media(prefers-color-scheme:light){.account-chip{background:#fff}.account-card{background:#fff}}
.quick-account-wrap{display:flex;gap:8px;align-items:center;flex:0 0 auto}.quick-account-add{white-space:nowrap;color:var(--accent);font-size:12px;font-weight:800}.account-presets{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0 4px}.account-presets form{margin:0}@media(max-width:800px){.quick-account-wrap{width:100%}.quick-account-wrap .quick-account{flex:1;max-width:none}.quick-account-add{padding:0 4px}.account-presets .btn{padding:9px 11px}}
.period-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:-8px 0 20px}.period-tabs a{padding:9px 13px;border:1px solid var(--line);border-radius:999px;color:var(--muted);font-size:13px;font-weight:800;background:var(--panel)}.period-tabs a.active{background:var(--accent);border-color:var(--accent);color:#0b1712}.capital-metrics .metric:first-child{border-color:#355b4d}.account-stat{padding:15px 0;border-bottom:1px solid var(--line)}.account-stat:last-child{border-bottom:0}.account-stat-head,.flow-line{display:flex;align-items:center;justify-content:space-between;gap:12px}.account-stat-head>div{display:grid;gap:3px}.flow-line{margin-top:9px;font-size:12px}.flow-line span{color:var(--muted)}.flow-line b{margin-left:4px}@media(max-width:800px){.capital-metrics{grid-template-columns:1fr}.period-tabs{overflow:auto;flex-wrap:nowrap;padding-bottom:2px}.period-tabs a{white-space:nowrap}.account-stat-head{align-items:flex-start}.flow-line{align-items:flex-start}}
.capital-chart-card{margin-bottom:20px}.capital-chart-card .section-head{align-items:flex-start}.capital-chart-card .section-head p{margin:5px 0 0;max-width:620px}.chart-change{font-size:24px;font-weight:900;text-align:right;white-space:nowrap}.chart-change small{display:block;font-size:12px;margin-top:3px}.capital-chart{position:relative;height:260px;margin-top:18px;padding:8px 0 24px 64px}.capital-chart svg{display:block;width:100%;height:220px;overflow:visible}.capital-line{fill:none;stroke:var(--accent);stroke-width:2.2;vector-effect:non-scaling-stroke;stroke-linejoin:round;stroke-linecap:round}.chart-grid-line{stroke:var(--line);stroke-width:1;vector-effect:non-scaling-stroke;stroke-dasharray:2 3}.chart-scale{position:absolute;left:0;top:0;bottom:38px;width:58px;display:flex;flex-direction:column;justify-content:space-between;color:var(--muted);font-size:10px;text-align:right;padding:2px 8px 0 0}.chart-dates{display:flex;justify-content:space-between;color:var(--muted);font-size:10px;margin-top:4px}.account-change{padding-top:7px;border-top:1px dashed var(--line)}.metric small{display:block;margin-top:6px;font-size:11px;font-weight:600}@media(max-width:800px){.capital-chart-card .section-head{display:grid}.chart-change{text-align:left}.capital-chart{height:220px;padding-left:48px}.capital-chart svg{height:180px}.chart-scale{width:44px}.hero-stats{flex-wrap:wrap}.hero-stats p{min-width:42%}}
.forecast-card{margin-bottom:20px;padding:22px;background:linear-gradient(135deg,#17241f,#1b2027);border:1px solid #315246;border-radius:22px;display:grid;grid-template-columns:minmax(220px,.8fr) 1.4fr auto;gap:22px;align-items:center}.forecast-card>div:first-child{display:grid;gap:5px}.forecast-card>div:first-child strong{font-size:32px}.forecast-card>a{color:var(--accent);font-weight:800;font-size:13px}.forecast-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.forecast-grid p{margin:0;display:grid;gap:3px}.forecast-grid span{color:var(--muted);font-size:11px}.recurring-row{padding:16px 0;border-bottom:1px solid var(--line)}.recurring-row:last-child{border-bottom:0}.recurring-row.inactive{opacity:.55}.recurring-main{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}.recurring-main>div{display:grid;gap:4px}.recurring-actions{display:flex;gap:8px;align-items:center;justify-content:flex-end;margin-top:10px;flex-wrap:wrap}.recurring-actions form{margin:0}.forecast-summary{margin-bottom:20px}@media(max-width:900px){.forecast-card{grid-template-columns:1fr}.forecast-card>a{justify-self:start}}@media(max-width:800px){.forecast-grid{grid-template-columns:1fr 1fr}.recurring-main{display:grid}.recurring-actions{justify-content:flex-start}.recurring-actions .btn{padding:9px 11px}}@media(prefers-color-scheme:light){.forecast-card{background:#fff}}
.recurring-suggestions{border-color:#315246}.recurring-suggestion{padding:16px 0;border-bottom:1px solid var(--line)}.recurring-suggestion:last-child{border-bottom:0}.recurring-detected{border-color:#315246}.recurring-detected .section-head{margin:0}
.smart-alerts-card{margin-bottom:20px}.smart-alert-list{display:grid;gap:10px}.smart-alert{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:13px 15px;border-radius:14px;border:1px solid var(--line);background:#12161c}.smart-alert div{display:grid;gap:3px}.smart-alert p{margin:0;color:var(--muted);font-size:12px;line-height:1.4}.smart-alert>span{font-size:20px;color:var(--muted)}.smart-alert.warning{border-color:#665830;background:#242116}.smart-alert.danger{border-color:#66333c;background:#28191d}.smart-alert.info{border-color:#344d66;background:#161f28}@media(prefers-color-scheme:light){.smart-alert{background:#fff}.smart-alert.warning{background:#fff9e8}.smart-alert.danger{background:#fff0f2}.smart-alert.info{background:#eef7ff}}
.note.unread{border-left:3px solid var(--accent);padding-left:12px}.note.warning{border-left-color:#d8b95e}.note.danger{border-left-color:var(--danger)}.note.info{border-left-color:#69a9e8}.note a{display:inline-block;margin-top:3px;color:var(--accent);font-size:12px;font-weight:800}
.push-actions{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0 10px}.reminder-setting{display:grid;grid-template-columns:1fr 120px;gap:14px;align-items:center;padding:10px 0;border-bottom:1px solid var(--line)}.reminder-setting:last-of-type{border-bottom:0}@media(max-width:800px){.reminder-setting{grid-template-columns:1fr}.push-actions .btn{flex:1 1 auto}}

.push-diagnostics{white-space:pre-wrap;word-break:break-word;font:12px/1.45 ui-monospace,SFMono-Regular,Consolas,monospace;background:#0f1318;border:1px solid rgba(255,255,255,.08);border-radius:12px;padding:12px;margin-top:12px;color:#aeb8c4;max-height:280px;overflow:auto}
/* v1.4 */
.quiet-hours{padding:12px 0;border-top:1px solid var(--line)}.quiet-time-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}.quiet-time-row label{display:grid;gap:6px}.small{font-size:.88rem}@media(max-width:520px){.quiet-time-row{grid-template-columns:1fr 1fr}}
/* v1.5 debts + onboarding */
.debt-summary{margin-bottom:20px}.debt-list{display:grid;gap:14px}.debt-card.closed{opacity:.72}.debt-head{display:flex;justify-content:space-between;gap:20px;align-items:flex-start}.debt-head h2{margin:5px 0 2px}.debt-type{font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.06em}.debt-type.i_owe{color:var(--danger)}.debt-type.owes_me{color:var(--accent)}.debt-amount{font-size:26px;font-weight:900;text-align:right;white-space:nowrap}.debt-amount small{display:block;color:var(--muted);font-size:11px;margin-top:3px}.debt-comment{margin:13px 0}.progress{height:8px;border-radius:999px;background:var(--panel2);overflow:hidden;margin:14px 0 7px}.progress span{display:block;height:100%;background:var(--accent);border-radius:inherit}.debt-action{border-top:1px solid var(--line);margin-top:13px;padding-top:11px}.debt-action summary{cursor:pointer;font-weight:800;color:var(--muted)}.debt-history{margin-top:9px}.debt-footer{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap;margin-top:14px}.debt-footer form{margin:0}.btn.danger{border-color:#67343d;color:#ff9aaa}.onboarding-shell{max-width:1040px;margin:0 auto;padding:20px}.onboarding-brand{display:flex;align-items:center;justify-content:space-between;margin-bottom:35px}.onboarding-brand>span{color:var(--muted);font-size:12px}.onboarding-hero{max-width:650px;margin-bottom:22px}.onboarding-hero h1{font-size:40px;margin:5px 0 8px}.onboarding-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.onboarding-step{position:relative}.onboarding-step:nth-of-type(3){grid-column:1/-1}.step-num{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:var(--accent);color:#0b1712;font-weight:900;margin-bottom:12px}.onboarding-examples{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0}.onboarding-examples code{padding:9px 12px;border-radius:10px;background:var(--panel2);color:var(--accent)}.onboarding-actions{grid-column:1/-1;display:flex;justify-content:flex-end}.onboarding-actions .btn{padding:13px 24px}.onboarding-skip{text-align:center;margin-top:10px}@media(max-width:800px){.debt-head{display:grid}.debt-amount{text-align:left}.onboarding-shell{padding:6px}.onboarding-hero h1{font-size:32px}.onboarding-grid{grid-template-columns:1fr}.onboarding-step:nth-of-type(3),.onboarding-actions{grid-column:auto}.onboarding-actions .btn{width:100%}}

/* v1.5.1 dashboard debts */
.dashboard-budgets{margin-bottom:20px}.debt-mini-summary{display:flex;gap:14px;flex-wrap:wrap;padding:4px 0 10px;border-bottom:1px solid var(--line);font-size:12px;color:var(--muted)}.debt-mini-summary b{margin-left:4px}.debt-mini-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid var(--line)}.debt-mini-row:last-child{border-bottom:0}.debt-mini-row>div{display:grid;gap:3px}.debt-mini-row strong{white-space:nowrap}@media(max-width:800px){.goals-debts-grid{grid-template-columns:1fr}}

/* v1.6 First Run + Smart Dashboard */
.today-card{margin-bottom:20px;padding:22px;background:linear-gradient(135deg,rgba(24,42,35,.98),rgba(23,26,33,.98));border:1px solid #315246;border-radius:22px;box-shadow:var(--shadow)}.today-main{display:flex;justify-content:space-between;gap:22px;align-items:flex-start}.today-main h2{font-size:28px;margin:4px 0 5px;letter-spacing:-.8px}.today-main p{margin:0}.daily-limit{min-width:235px;text-align:right;display:grid;gap:3px}.daily-limit>span,.daily-limit small{color:var(--muted);font-size:11px}.daily-limit strong{font-size:26px;color:var(--accent2)}.today-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:18px;padding-top:18px;border-top:1px solid var(--line)}.today-action{display:flex;align-items:center;gap:11px;padding:12px;border:1px solid var(--line);border-radius:15px;background:rgba(15,17,21,.35)}.today-action>span{display:grid;place-items:center;width:32px;height:32px;border-radius:11px;background:#203a31;color:var(--accent);font-size:17px}.today-action>div{display:grid;gap:2px}.today-action small{font-size:10px}.upcoming-inline{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:10px}.upcoming-inline a{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;padding:8px 10px;border-radius:12px;background:var(--panel2);font-size:11px}.upcoming-inline a>span{color:var(--muted)}.upcoming-inline a>strong{white-space:nowrap}
.onboarding-v2{max-width:880px}.onboarding-v2 .onboarding-hero{max-width:720px}.onboarding-progress{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;margin:0 0 16px}.onboarding-progress span{height:5px;border-radius:999px;background:var(--line);transition:.2s}.onboarding-progress span.active{background:var(--accent)}.onboarding-wizard{display:block}.onboarding-panel{padding:28px;min-height:430px;animation:onboard-in .18s ease}.onboarding-panel[hidden]{display:none!important}@keyframes onboard-in{from{opacity:.4;transform:translateY(5px)}to{opacity:1;transform:none}}.onboarding-panel h2{font-size:28px;margin:4px 0 6px}.onboarding-type-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:22px 0}.account-type-choice{display:block;cursor:pointer}.account-type-choice>input{position:absolute;opacity:0;pointer-events:none}.account-type-choice>span{height:100%;display:grid;gap:5px;padding:16px;border:1px solid var(--line);border-radius:16px;background:var(--panel2);font-size:22px;transition:.15s}.account-type-choice b{font-size:13px;color:var(--text)}.account-type-choice small{font-size:10px;font-weight:500}.account-type-choice>input:checked+span{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent);background:#183029}.onboarding-fields{grid-template-columns:1fr 1fr}.wizard-actions{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:28px}.onboarding-extra-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:22px 0}.extra-account{padding:16px;border:1px solid var(--line);border-radius:16px;background:var(--panel2)}.extra-account>span{display:flex;align-items:center;gap:8px;color:var(--text);font-size:14px}.extra-account input[type=checkbox]{width:auto}.extra-account>input{margin-top:12px}.onboarding-note{padding:12px 14px;border-radius:12px;background:#14231e;color:var(--muted);font-size:12px}.onboarding-toggle-list{display:grid;gap:10px;margin:22px 0}.onboarding-toggle{grid-template-columns:auto 1fr!important;display:grid!important;align-items:flex-start;gap:10px;padding:14px;border:1px solid var(--line);border-radius:14px;background:var(--panel2)}.onboarding-toggle input{width:auto;margin-top:3px}.onboarding-toggle span{display:grid;gap:2px}.onboarding-toggle b{color:var(--text)}.timezone-field{max-width:430px}.big-examples{gap:10px}.big-examples code{font-size:13px}.onboarding-ready{display:grid;gap:6px;padding:15px;border:1px solid #315246;border-radius:15px;background:#14231e;margin-top:20px}.onboarding-ready span{color:var(--muted);font-size:12px}.onboarding-launch{padding-left:24px;padding-right:24px}
@media(max-width:800px){.today-main{display:grid}.daily-limit{text-align:left;min-width:0}.today-grid,.upcoming-inline{grid-template-columns:1fr}.upcoming-inline a{grid-template-columns:65px 1fr auto}.onboarding-panel{padding:20px;min-height:0}.onboarding-panel h2{font-size:24px}.onboarding-type-grid{grid-template-columns:1fr 1fr}.onboarding-extra-grid,.onboarding-fields{grid-template-columns:1fr}.wizard-actions .btn{flex:1}.onboarding-v2 .onboarding-hero h1{font-size:32px}}
@media(prefers-color-scheme:light){.today-card{background:#fff}.today-action{background:#f7faf8}.onboarding-note,.onboarding-ready{background:#effaf5}}

/* v1.7 financial analytics */
.analytics-overview{margin-bottom:20px}.analytics-compare-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.compare-metric{display:grid;gap:5px;padding:16px;border:1px solid var(--line);border-radius:16px;background:var(--panel2)}.compare-metric>span{font-size:11px;color:var(--muted);font-weight:700}.compare-metric>strong{font-size:22px}.compare-metric>small{font-size:10px;color:var(--muted)}.analytics-grid{margin-bottom:20px}.analytics-category-row{padding:11px 0;border-bottom:1px solid var(--line)}.analytics-category-row:last-child{border-bottom:0}.analytics-category-head{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;margin-bottom:8px}.analytics-category-head>div{display:grid;gap:3px}.analytics-category-head small{font-size:10px;color:var(--muted)}.analytics-category-values{text-align:right}.analytics-category-values strong{white-space:nowrap}.analytics-insights{display:grid;gap:10px}.analytics-insight{display:grid;grid-template-columns:28px 1fr;gap:10px;padding:12px 13px;border:1px solid var(--line);border-radius:14px;background:var(--panel2)}.analytics-insight>span{display:grid;place-items:center;width:26px;height:26px;border-radius:9px;background:rgba(255,255,255,.04)}.analytics-insight div{display:grid;gap:3px}.analytics-insight p{margin:0;color:var(--muted);font-size:11px;line-height:1.45}.analytics-insight.warning{border-color:#665830}.analytics-insight.positive{border-color:#315246}.analytics-insight.info{border-color:#344d66}.biggest-expense{display:grid;gap:3px;margin-top:14px;padding-top:14px;border-top:1px solid var(--line)}.biggest-expense>span,.biggest-expense>small{font-size:10px;color:var(--muted)}.biggest-expense>strong{font-size:23px;color:var(--danger)}
@media(max-width:900px){.analytics-compare-grid{grid-template-columns:1fr 1fr}}@media(max-width:520px){.analytics-compare-grid{grid-template-columns:1fr}.analytics-category-head{display:grid}.analytics-category-values{text-align:left}}

/* v1.8 contextual motivation */
.motivation-toast{position:fixed;right:22px;bottom:86px;z-index:1200;width:min(390px,calc(100vw - 28px));padding:16px 17px;border:1px solid var(--line);border-radius:18px;background:var(--card);box-shadow:0 18px 55px rgba(0,0,0,.22);animation:motivation-in .22s ease-out}.motivation-toast.warning{border-color:color-mix(in srgb,#d88b22 45%,var(--line))}.motivation-toast.info{border-color:color-mix(in srgb,#4b8bd8 35%,var(--line))}.motivation-toast-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.motivation-toast-head strong{font-size:15px}.motivation-toast p{margin:8px 0 0;line-height:1.45;color:var(--muted)}.motivation-toast-close{border:0;background:transparent;color:var(--muted);font-size:24px;line-height:1;cursor:pointer;padding:0 3px}@keyframes motivation-in{from{transform:translateY(10px);opacity:0}to{transform:none;opacity:1}}@media(max-width:800px){.motivation-toast{left:14px;right:14px;bottom:82px;width:auto}}

/* v1.9 goal-linked savings */
.goal-create-card{margin-bottom:20px}.goal-create-grid{grid-template-columns:repeat(4,1fr);align-items:end}.goal-create-grid .btn{height:44px}.goal-help{margin:12px 0 0;color:var(--muted);font-size:12px}.goal-cards-grid{align-items:start}.goal-card-v19{display:grid;gap:14px}.goal-card-head{display:flex;justify-content:space-between;gap:14px;align-items:flex-start}.goal-card-head h2{margin:0 0 3px}.goal-card-head>strong{white-space:nowrap}.goal-meta-row{display:flex;justify-content:space-between;gap:12px;color:var(--muted);font-size:11px}.goal-account-box{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 13px;border:1px dashed var(--line);border-radius:14px;background:rgba(255,255,255,.02)}.goal-account-box.linked{border-style:solid;border-color:#315246;background:#14231e}.goal-account-box>div{display:grid;gap:2px}.goal-account-box small{font-size:10px}.goal-account-box strong{white-space:nowrap;color:var(--accent2)}.goal-fund-form{display:grid;grid-template-columns:minmax(110px,.7fr) minmax(180px,1.3fr) auto;gap:10px;align-items:end}.goal-fund-form label{display:grid;gap:6px;color:var(--muted);font-size:11px}.goal-fund-form .btn{height:44px}.goal-settings{border-top:1px solid var(--line);padding-top:11px}.goal-settings summary{cursor:pointer;color:var(--muted);font-weight:800;font-size:12px}.goal-link-form{margin:12px 0}.goal-link-form select{flex:1}.goal-history{display:grid;gap:0}.goal-history-row{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:9px 0;border-top:1px solid var(--line)}.goal-history-row>div{display:grid;gap:2px}.goal-history-row small,.goal-history-row>span{font-size:10px;color:var(--muted)}.goal-voice-tip{margin-top:20px}.goal-voice-tip code{display:inline-block;padding:10px 12px;border-radius:11px;background:var(--panel2);color:var(--accent)}.goal-voice-tip p{margin-bottom:0;line-height:1.5}@media(max-width:900px){.goal-create-grid{grid-template-columns:1fr 1fr}.goal-fund-form{grid-template-columns:1fr 1fr}.goal-fund-form .btn{grid-column:1/-1}}@media(max-width:560px){.goal-create-grid,.goal-fund-form{grid-template-columns:1fr}.goal-fund-form .btn{grid-column:auto}.goal-card-head,.goal-account-box{display:grid}.goal-card-head>strong{white-space:normal}.goal-history-row{align-items:flex-start}.goal-history-row>span{text-align:right}}@media(prefers-color-scheme:light){.goal-account-box.linked{background:#effaf5}}

/* v2.2 focused dashboard */
.dashboard-v22-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:22px}.dashboard-v22-head h1{margin:5px 0 6px;font-size:40px;letter-spacing:-1.8px}.dashboard-v22-head p{margin:0;color:var(--muted);font-size:14px}.dashboard-v22-bell{display:inline-flex;align-items:center;gap:7px;padding:10px 12px;border:1px solid var(--line);border-radius:14px;background:var(--panel)}.dashboard-v22-bell b{display:grid;place-items:center;min-width:20px;height:20px;padding:0 5px;border-radius:999px;background:#203a31;color:var(--accent2);font-size:10px}.dashboard-v22-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:14px}.dashboard-v22-kpi{min-height:190px;padding:18px;border:1px solid var(--line);border-radius:20px;background:linear-gradient(180deg,rgba(29,33,42,.97),rgba(21,24,30,.98));box-shadow:var(--shadow);display:flex;flex-direction:column;gap:7px;transition:transform .15s,border-color .15s}.dashboard-v22-kpi:hover{transform:translateY(-2px);border-color:#3b5148}.dashboard-v22-kpi.primary{background:linear-gradient(145deg,#183029,#171c21);border-color:#315246}.dashboard-v22-kpi-icon{display:grid;place-items:center;width:38px;height:38px;margin-bottom:6px;border-radius:12px;background:#203a31;color:var(--accent);font-size:19px;font-weight:900}.dashboard-v22-kpi>span{color:var(--muted);font-size:12px;font-weight:800}.dashboard-v22-kpi>strong{font-size:26px;letter-spacing:-.8px;line-height:1.12}.dashboard-v22-kpi>small{margin-top:auto;font-size:10px;line-height:1.45}.dashboard-v22-kpi progress{margin:2px 0 0}.dashboard-v22-event-title{font-size:20px!important}.dashboard-v22-empty-value{color:var(--muted)}
.dashboard-v22-guide{display:grid;grid-template-columns:1.08fr 1fr .92fr;margin-bottom:14px;border:1px solid var(--line);border-radius:20px;background:linear-gradient(180deg,rgba(25,29,36,.98),rgba(20,23,29,.98));overflow:hidden;box-shadow:var(--shadow)}.dashboard-v22-guide-main,.dashboard-v22-guide-cell{min-height:140px;padding:18px}.dashboard-v22-guide-main{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:13px}.dashboard-v22-guide-cell{display:flex;flex-direction:column;gap:8px;border-left:1px solid var(--line)}.dashboard-v22-guide-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:#302d1d;color:#f4cc63;font-size:20px}.dashboard-v22-guide-main span,.dashboard-v22-guide-cell>span{color:var(--muted);font-size:11px;font-weight:800}.dashboard-v22-guide-main strong{display:block;margin:4px 0 3px;font-size:25px}.dashboard-v22-guide-main small,.dashboard-v22-guide-cell small{font-size:10px;line-height:1.4}.dashboard-v22-progress-ring{--p:0;display:grid;place-items:center;width:72px;height:72px;border-radius:50%;background:conic-gradient(var(--accent) calc(var(--p)*1%),#283039 0);position:relative}.dashboard-v22-progress-ring:after{content:"";position:absolute;inset:7px;border-radius:50%;background:#171b21}.dashboard-v22-progress-ring b,.dashboard-v22-progress-ring small{position:relative;z-index:1}.dashboard-v22-progress-ring b{font-size:15px}.dashboard-v22-progress-ring small{margin-top:-22px;font-size:8px}.dashboard-v22-guide-cell>div{display:grid;grid-template-columns:1fr auto;gap:2px 8px;align-items:center}.dashboard-v22-guide-cell>div small{grid-column:1}.dashboard-v22-guide-cell>div strong{grid-column:2;grid-row:1/3;white-space:nowrap;font-size:12px}.dashboard-v22-budget-head{grid-template-columns:1fr auto!important}.dashboard-v22-budget-head strong{grid-row:auto!important;font-size:13px!important}.dashboard-v22-guide-cell progress{margin:2px 0}
.dashboard-v22-quick{padding:20px;margin-bottom:14px;border:1px solid #315246;border-radius:20px;background:linear-gradient(135deg,#17241f,#181c22);box-shadow:var(--shadow)}.dashboard-v22-section-title{display:flex;justify-content:space-between;align-items:flex-end;gap:16px}.dashboard-v22-section-title h2{margin:3px 0 0;font-size:19px}.dashboard-v22-section-title>span{color:var(--muted);font-size:11px}.dashboard-v22-quick-form{align-items:stretch}.dashboard-v22-quick-form .quick-input-row{min-width:0}.dashboard-v22-voice{background:#203a31;border-color:#315246}.dashboard-v22-add{min-width:110px}.dashboard-v22-example{margin:8px 0 0;color:var(--muted);font-size:10px;line-height:1.4}
.dashboard-v22-main-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(280px,.55fr);gap:14px;margin-bottom:14px}.dashboard-v22-transactions,.dashboard-v22-side-stack>.card{box-shadow:var(--shadow)}.dashboard-v22-tx-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:11px;align-items:center;padding:11px 0;border-bottom:1px solid var(--line)}.dashboard-v22-tx-row:last-child{border-bottom:0}.dashboard-v22-tx-row>div:nth-child(2){display:grid;gap:3px;min-width:0}.dashboard-v22-tx-row>div:nth-child(2) b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dashboard-v22-tx-row>strong{white-space:nowrap}.dashboard-v22-tx-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:var(--panel2);font-weight:900}.dashboard-v22-side-stack{display:grid;gap:14px;align-content:start}.dashboard-v22-free-card{display:grid;gap:7px;background:linear-gradient(145deg,#183029,#171c21);border-color:#315246}.dashboard-v22-free-card>span{color:var(--muted);font-size:11px}.dashboard-v22-free-card>strong{font-size:29px;letter-spacing:-1px}.dashboard-v22-free-card>a{margin-top:8px;color:var(--accent);font-size:12px;font-weight:800}.dashboard-v22-attention .smart-alert{margin-top:8px}.dashboard-v22-calm{display:grid;gap:6px}.dashboard-v22-calm-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:#203a31;color:var(--accent);font-weight:900}.dashboard-v22-details{margin-top:8px;border:1px solid var(--line);border-radius:18px;background:rgba(23,26,33,.55);overflow:hidden}.dashboard-v22-details>summary{cursor:pointer;padding:15px 18px;color:var(--muted);font-size:12px;font-weight:900;list-style:none}.dashboard-v22-details>summary::-webkit-details-marker{display:none}.dashboard-v22-details>summary:after{content:"＋";float:right;color:var(--accent)}.dashboard-v22-details[open]>summary:after{content:"−"}.dashboard-v22-details-body{padding:0 14px 14px}.dashboard-v22-forecast{margin-bottom:14px}
@media(max-width:1050px){.dashboard-v22-kpis{grid-template-columns:1fr 1fr}.dashboard-v22-guide{grid-template-columns:1fr 1fr}.dashboard-v22-guide-main{grid-column:1/-1}.dashboard-v22-guide-cell{border-top:1px solid var(--line)}.dashboard-v22-guide-cell:nth-child(2){border-left:0}.dashboard-v22-main-grid{grid-template-columns:1fr}.dashboard-v22-side-stack{grid-template-columns:1fr 1fr}}
@media(max-width:800px){.dashboard-v22-head h1{font-size:32px}.dashboard-v22-kpis{grid-template-columns:1fr 1fr}.dashboard-v22-kpi{min-height:165px}.dashboard-v22-guide{grid-template-columns:1fr}.dashboard-v22-guide-main{grid-column:auto}.dashboard-v22-guide-cell{border-left:0;border-top:1px solid var(--line)}.dashboard-v22-side-stack{grid-template-columns:1fr}.dashboard-v22-quick-form{flex-direction:column}.dashboard-v22-quick-form .quick-account-wrap,.dashboard-v22-quick-form .quick-input-row{width:100%}}
@media(max-width:520px){.dashboard-v22-head{align-items:center}.dashboard-v22-head h1{font-size:29px}.dashboard-v22-head p{font-size:12px}.dashboard-v22-kpis{grid-template-columns:1fr}.dashboard-v22-kpi{min-height:150px}.dashboard-v22-guide-main{grid-template-columns:auto 1fr}.dashboard-v22-progress-ring{display:none}.dashboard-v22-section-title{align-items:flex-start}.dashboard-v22-section-title>span{display:none}.dashboard-v22-tx-row{grid-template-columns:auto minmax(0,1fr)}.dashboard-v22-tx-row>strong{grid-column:2}.dashboard-v22-details-body{padding:0 8px 8px}}
@media(prefers-color-scheme:light){.dashboard-v22-kpi,.dashboard-v22-guide{background:#fff}.dashboard-v22-kpi.primary,.dashboard-v22-quick,.dashboard-v22-free-card{background:#effaf5}.dashboard-v22-progress-ring:after{background:#fff}.dashboard-v22-details{background:rgba(255,255,255,.6)}}


/* mAImoney v3.0 visual system. Loaded after the legacy stylesheet on purpose. */
:root{
  --v3-bg:#071117;--v3-bg2:#09171d;--v3-panel:#0d1b22;--v3-panel2:#11232b;--v3-line:rgba(180,220,218,.12);
  --v3-text:#f5f8fa;--v3-muted:#93a4ad;--v3-mint:#66e7bc;--v3-mint2:#a2f4d8;--v3-blue:#69a8ff;
  --v3-red:#ff7f97;--v3-amber:#f4c76a;--v3-violet:#a98bff;--v3-radius:22px;--v3-shadow:0 24px 60px rgba(0,0,0,.28)
}
html{background:var(--v3-bg);color:var(--v3-text)}
body{background:radial-gradient(circle at 82% -10%,rgba(78,149,154,.22),transparent 28%),linear-gradient(180deg,#071117 0%,#08151b 55%,#071117 100%);color:var(--v3-text)}
body:before{content:"";position:fixed;inset:0;pointer-events:none;opacity:.22;background-image:linear-gradient(rgba(255,255,255,.012) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.012) 1px,transparent 1px);background-size:28px 28px}
.content{max-width:1440px;margin-left:248px;padding:22px 30px 100px;position:relative;z-index:1}
.sidebar{width:248px;padding:22px 16px;border-right:1px solid var(--v3-line);background:rgba(5,15,20,.93);box-shadow:12px 0 42px rgba(0,0,0,.16);z-index:30}
.sidebar .brand{display:flex!important;align-items:center;gap:11px;font-size:24px;padding:4px 8px;color:#fff}
.v3-logo-mark{display:grid;place-items:center;width:38px;height:38px;border-radius:14px;background:linear-gradient(145deg,var(--v3-mint),#42b8ff);color:#09201c;font-size:22px;font-weight:950;box-shadow:0 12px 28px rgba(78,225,183,.22)}
.v3-brand-copy{display:flex;flex-direction:column;line-height:1}.v3-brand-copy b{font-size:22px;letter-spacing:-1px}.v3-brand-copy small{margin-top:6px;font-size:9px;color:var(--v3-muted);letter-spacing:.01em;font-weight:600}
.sidebar nav{display:grid;gap:4px;margin-top:24px;overflow:auto;padding-right:2px}
.sidebar nav a{display:flex;align-items:center;gap:10px;min-height:39px;padding:9px 11px;border-radius:13px;color:#aebbc2;font-size:13px;font-weight:700;transition:.18s ease}
.sidebar nav a:hover,.sidebar nav a.v3-active{background:linear-gradient(90deg,rgba(93,224,185,.15),rgba(62,126,158,.10));color:#e9fff7;box-shadow:inset 0 0 0 1px rgba(101,231,188,.1)}
.sidebar nav a.v3-active:before{content:"";width:3px;height:21px;border-radius:4px;background:var(--v3-mint);margin-left:-11px;box-shadow:0 0 16px rgba(102,231,188,.6)}
.v3-nav-icon{display:grid;place-items:center;width:22px;color:var(--v3-mint2);font-size:15px}
.v3-nav-divider{height:1px!important;min-height:1px!important;padding:0!important;margin:8px 8px!important;background:var(--v3-line)!important;pointer-events:none}
.v3-feature-card{display:block;margin-top:auto;padding:14px;border:1px solid rgba(244,199,106,.2);border-radius:18px;background:linear-gradient(145deg,rgba(244,199,106,.09),rgba(102,231,188,.06));color:#fff}.v3-feature-card b{display:block;color:#ffd878;font-size:13px}.v3-feature-card small{display:block;color:var(--v3-muted);margin:5px 0 10px;line-height:1.35}.v3-feature-card span{font-size:11px;color:var(--v3-mint2);font-weight:800}
.v3-profile{display:flex;align-items:center;gap:10px;margin-top:10px;padding:10px 8px;color:#dbe7eb}.v3-avatar{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#172a32;border:1px solid var(--v3-line);font-weight:900}.v3-profile div{display:flex;flex-direction:column;min-width:0}.v3-profile b{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.v3-profile small{font-size:10px;color:var(--v3-muted)}
.plan-pill{display:none!important}
.v3-system-link{font-size:10px;color:#6f828b;padding:0 8px 4px}.v3-system-link:hover{color:var(--v3-mint)}

.v3-global-topbar{height:50px;display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:20px;position:sticky;top:0;z-index:24;padding:6px 0;background:linear-gradient(180deg,rgba(7,17,23,.96),rgba(7,17,23,.72),transparent);backdrop-filter:blur(14px)}
.v3-search{flex:1;max-width:540px;position:relative}.v3-search input{height:42px;padding-left:40px;padding-right:82px;border-radius:14px;background:rgba(16,31,38,.82);border:1px solid var(--v3-line)}.v3-search:before{content:"⌕";position:absolute;left:14px;top:9px;color:#9cafb7;font-size:20px;z-index:1}.v3-search kbd{position:absolute;right:10px;top:10px;border:1px solid var(--v3-line);border-radius:7px;padding:3px 6px;color:#78909a;background:#0b171d;font:10px inherit}
.v3-top-actions{display:flex;align-items:center;gap:8px}.v3-date-chip,.v3-top-button{height:42px;border:1px solid var(--v3-line);background:rgba(16,31,38,.84);border-radius:14px;color:#cdd9de}.v3-date-chip{display:flex;align-items:center;gap:9px;padding:0 13px}.v3-date-chip b{display:block;font-size:11px}.v3-date-chip small{display:block;color:var(--v3-muted);font-size:9px;margin-top:2px}.v3-top-button{display:grid;place-items:center;min-width:42px;font-size:16px;cursor:pointer}.v3-notify-dot{position:relative}.v3-notify-dot:after{content:"";position:absolute;right:8px;top:8px;width:6px;height:6px;border-radius:50%;background:var(--v3-red);box-shadow:0 0 0 3px rgba(255,127,151,.12)}

.v3-dashboard,.v3-analytics,.v3-health-page,.v3-quality,.v3-operations{display:grid;gap:16px}
.v3-hero{min-height:192px;display:grid;grid-template-columns:1.1fr .9fr;overflow:hidden;border:1px solid rgba(125,208,203,.16);border-radius:26px;background:linear-gradient(120deg,#0c1d24 0%,#102b31 53%,#17323a 100%);box-shadow:var(--v3-shadow);position:relative}.v3-hero:after{content:"";position:absolute;inset:auto 0 0;height:1px;background:linear-gradient(90deg,transparent,var(--v3-mint),transparent);opacity:.32}.v3-hero-copy{padding:28px 30px;z-index:2}.v3-kicker{display:inline-block;color:var(--v3-mint);font-size:10px;text-transform:uppercase;letter-spacing:.14em;font-weight:900}.v3-hero h1{max-width:680px;margin:8px 0 7px;font-size:31px;line-height:1.05;letter-spacing:-1.5px}.v3-hero p,.v3-page-heading p{margin:0;color:#a9b9c0;font-size:13px}.v3-hero-quote{display:inline-flex;margin-top:22px;padding:9px 12px;border-radius:12px;background:rgba(4,12,16,.35);border:1px solid rgba(255,255,255,.07);font-size:11px;color:#c7d5d9}.v3-hero-art{min-height:192px;background:url('/static/img/hero-v3.svg') center/cover no-repeat;opacity:.95;mask-image:linear-gradient(90deg,transparent 0%,#000 24%,#000 100%)}

.v3-kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.v3-kpi{min-height:154px;padding:17px;border-radius:20px;border:1px solid var(--v3-line);background:linear-gradient(150deg,rgba(17,37,45,.96),rgba(10,25,31,.98));box-shadow:0 14px 34px rgba(0,0,0,.18);position:relative;overflow:hidden}.v3-kpi:after{content:"";position:absolute;inset:auto -30px -50px auto;width:120px;height:120px;border-radius:50%;filter:blur(5px);opacity:.13}.v3-kpi-balance:after{background:var(--v3-mint)}.v3-kpi-spend:after{background:var(--v3-red)}.v3-kpi-goal:after{background:var(--v3-blue)}.v3-kpi-event:after{background:var(--v3-violet)}.v3-kpi-icon,.v3-round-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:12px;background:rgba(102,231,188,.11);color:var(--v3-mint);border:1px solid rgba(102,231,188,.12);font-weight:950}.v3-kpi>span{display:block;color:#b9c5ca;font-size:11px;margin-top:13px}.v3-kpi>strong{display:block;margin-top:4px;font-size:25px;letter-spacing:-1px}.v3-kpi>small{display:block;color:var(--v3-muted);font-size:10px;margin-top:8px;line-height:1.35}.v3-kpi-event>strong{font-size:18px;line-height:1.18;margin-top:8px}.v3-progress{height:7px;border-radius:999px;background:#1a3039;overflow:hidden;margin-top:9px}.v3-progress i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--v3-mint),#67b8ff);min-width:0;transition:width .5s ease}

.v3-mid-grid{display:grid;grid-template-columns:.95fr 1.15fr .9fr;gap:12px}.v3-panel{border:1px solid var(--v3-line);border-radius:20px;background:linear-gradient(155deg,rgba(15,32,39,.96),rgba(9,23,29,.98));box-shadow:0 15px 34px rgba(0,0,0,.15);padding:17px;color:inherit}.v3-panel:hover{text-decoration:none}.v3-panel-head,.v3-panel-title{display:flex;align-items:center;justify-content:space-between;gap:12px}.v3-panel-title{justify-content:flex-start}.v3-panel-title div{display:flex;flex-direction:column;min-width:0}.v3-panel-title b,.v3-panel-head b{font-size:13px}.v3-panel-title small,.v3-panel-head small{font-size:9.5px;color:var(--v3-muted);margin-top:3px}.v3-panel-head>a,.v3-text-link{color:var(--v3-mint);font-size:10px;font-weight:800}.v3-big-number{display:block;font-size:28px;letter-spacing:-1.2px;margin-top:16px}.v3-ring-row{display:flex;align-items:center;gap:12px;margin-top:10px;color:var(--v3-muted);font-size:10px;line-height:1.45}.v3-ring{--p:50;width:52px;height:52px;border-radius:50%;display:grid;place-items:center;background:conic-gradient(var(--v3-mint) calc(var(--p)*1%),#1b313a 0);position:relative}.v3-ring:before{content:"";position:absolute;inset:6px;border-radius:50%;background:#0d1d24}.v3-ring span{position:relative;font-size:9px;font-weight:900;color:#e7f7f2}.v3-compact-list{display:grid;margin-top:10px}.v3-compact-list>a{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:8px 0;border-top:1px solid var(--v3-line)}.v3-compact-list>a:first-child{border-top:0}.v3-compact-list span{display:flex;flex-direction:column}.v3-compact-list b{font-size:11px}.v3-compact-list small{font-size:9px;color:var(--v3-muted);margin-top:2px}.v3-compact-list strong{font-size:11px}.v3-budget-focus{display:flex;justify-content:space-between;margin-top:18px;font-size:11px}.v3-budget-focus strong{font-size:16px}

.v3-alert-strip{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;padding:12px 15px;border:1px solid rgba(244,199,106,.18);border-radius:17px;background:linear-gradient(90deg,rgba(244,199,106,.08),rgba(15,32,39,.88));box-shadow:0 12px 28px rgba(0,0,0,.12)}.v3-alert-icon{display:grid;place-items:center;width:30px;height:30px;border-radius:10px;background:rgba(244,199,106,.15);color:var(--v3-amber);font-weight:950}.v3-alert-strip div{display:flex;flex-direction:column}.v3-alert-strip b{font-size:11px}.v3-alert-strip small{font-size:9.5px;color:var(--v3-muted);margin-top:2px}.v3-alert-strip a{font-size:10px;color:var(--v3-amber);font-weight:800}

.v3-quick-card{padding:17px;border:1px solid rgba(102,231,188,.14);border-radius:20px;background:linear-gradient(135deg,rgba(15,35,42,.98),rgba(10,24,30,.98));box-shadow:0 15px 34px rgba(0,0,0,.15)}.v3-voice-hint{font-size:9.5px;color:#78919a}.v3-quick-form{display:grid;grid-template-columns:180px minmax(200px,1fr) 120px;gap:9px;margin-top:12px}.v3-quick-form select,.v3-quick-form input{height:43px;border-radius:13px;background:#0a171d;border:1px solid rgba(174,218,216,.14)}.v3-quick-input{position:relative}.v3-quick-input input{padding-right:50px}.v3-voice-btn{position:absolute;right:5px;top:5px;width:34px;height:33px;border:0;border-radius:10px;background:rgba(102,231,188,.12);color:var(--v3-mint);cursor:pointer;font-size:15px;transition:.18s ease}.v3-voice-btn.listening,.v3-voice-btn.recording{background:rgba(255,127,151,.18);color:var(--v3-red);box-shadow:0 0 0 4px rgba(255,127,151,.08)}.v3-voice-btn.processing{opacity:.72;cursor:wait}.v3-voice-btn:disabled{opacity:.42;cursor:not-allowed}.v3-add-btn{height:43px}.v3-quick-chips{display:flex;gap:7px;flex-wrap:wrap;margin-top:10px}.v3-quick-chips button{border:1px solid var(--v3-line);background:#0b1b22;color:#a9bac1;border-radius:999px;padding:6px 10px;font:10px inherit;cursor:pointer}.v3-quick-chips button:hover{color:var(--v3-mint);border-color:rgba(102,231,188,.28)}

.v3-main-grid{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:12px}.v3-transactions-panel{min-width:0}.v3-section-title{font-size:14px!important}.v3-transaction-list{display:grid;margin-top:8px}.v3-transaction{display:grid;grid-template-columns:36px minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px 0;border-top:1px solid var(--v3-line)}.v3-transaction:first-child{border-top:0}.v3-tx-icon{display:grid;place-items:center;width:31px;height:31px;border-radius:10px;background:#132a32;color:var(--v3-mint);font-weight:900}.v3-tx-main{display:flex;flex-direction:column;min-width:0}.v3-tx-main b{font-size:11.5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.v3-tx-main small{margin-top:2px;font-size:9px;color:var(--v3-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.v3-transaction>strong{font-size:12px}.v3-side-stack{display:grid;gap:12px}.v3-free-card .v3-big-number{margin-top:13px}.v3-health-card{display:block}.v3-health-inline{display:flex;align-items:baseline;gap:3px;margin-top:15px}.v3-health-inline strong{font-size:28px}.v3-health-inline span{font-size:11px;color:var(--v3-muted)}.v3-quote-card span{color:var(--v3-blue);font-size:23px}.v3-quote-card p{font-size:12px;line-height:1.55;margin:5px 0 10px;color:#d8e2e6}.v3-quote-card small{color:var(--v3-muted)}.v3-ai-card p{font-size:11px;line-height:1.55;color:#bdcbd0;margin-bottom:0}

.v3-details{border:1px solid var(--v3-line);border-radius:18px;background:rgba(9,23,29,.7);overflow:hidden}.v3-details summary{cursor:pointer;list-style:none;display:flex;justify-content:center;gap:10px;padding:13px;color:#b4c3c9;font-size:11px;font-weight:800}.v3-details summary::-webkit-details-marker{display:none}.v3-details[open] summary{border-bottom:1px solid var(--v3-line)}.v3-details-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;padding:12px}.v3-detail-row{display:flex;justify-content:space-between;gap:12px;padding:8px 0;border-top:1px solid var(--v3-line);font-size:10.5px}.v3-detail-row:first-of-type{margin-top:8px}.v3-detail-row span{color:#adbdc4}.v3-detail-row b{text-align:right}

.v3-page-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;padding:8px 3px 4px}.v3-page-heading h1{font-size:33px;letter-spacing:-1.6px;margin:4px 0 5px}.v3-period-tabs{display:flex;gap:4px;padding:4px;border:1px solid var(--v3-line);border-radius:14px;background:#0c1a20}.v3-period-tabs a{padding:7px 11px;border-radius:10px;color:#92a6ae;font-size:10px;font-weight:800}.v3-period-tabs a.active{background:rgba(102,231,188,.14);color:var(--v3-mint2);box-shadow:inset 0 0 0 1px rgba(102,231,188,.12)}

.v3-analytics-top{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:12px}.v3-chart-card{min-height:328px}.v3-chart-legend{display:flex;gap:12px;font-size:9px;color:var(--v3-muted)}.v3-chart-legend span{display:flex;align-items:center;gap:5px}.v3-chart-legend i{width:7px;height:7px;border-radius:50%;background:var(--v3-mint)}.v3-chart-legend i.expense{background:var(--v3-red)}#v3-cashflow-chart{display:block;width:100%;max-height:250px;margin-top:12px}.v3-chart-empty{text-align:center;color:var(--v3-muted);padding:80px 10px}.v3-metric-stack{display:grid;gap:12px}.v3-metric-card{display:grid;grid-template-columns:42px 1fr;align-items:center;gap:11px;padding:15px;border:1px solid var(--v3-line);border-radius:18px;background:linear-gradient(145deg,#102129,#0b1a20)}.v3-metric-card>span{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:rgba(102,231,188,.10);color:var(--v3-mint);font-size:18px}.v3-metric-card.positive>span{color:var(--v3-mint)}.v3-metric-card.negative>span{color:var(--v3-red);background:rgba(255,127,151,.08)}.v3-metric-card div{display:flex;flex-direction:column}.v3-metric-card small{font-size:9px;color:var(--v3-muted)}.v3-metric-card strong{font-size:18px;margin-top:3px}.v3-analytics-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.v3-category-bars{display:grid;gap:11px;margin-top:16px}.v3-category-row>div:first-child{display:flex;justify-content:space-between;font-size:10px;margin-bottom:5px}.v3-category-row span{color:#b7c5ca}.v3-category-track{height:6px;border-radius:999px;background:#172c34;overflow:hidden}.v3-category-track i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,var(--v3-mint),var(--v3-blue))}.v3-subscriptions{display:grid;margin-top:8px}.v3-sub-row{display:grid;grid-template-columns:34px 1fr auto;gap:10px;align-items:center;padding:9px 0;border-top:1px solid var(--v3-line)}.v3-sub-row:first-child{border-top:0}.v3-sub-row>span{display:grid;place-items:center;width:31px;height:31px;border-radius:10px;background:#132a32}.v3-sub-row div{display:flex;flex-direction:column}.v3-sub-row b{font-size:11px}.v3-sub-row small{font-size:9px;color:var(--v3-muted);margin-top:2px}.v3-sub-row strong{font-size:11px}.v3-sub-status{display:inline-flex!important;align-items:center;margin-top:3px!important;width:max-content;padding:2px 5px;border-radius:999px;background:rgba(102,231,188,.08);color:var(--v3-mint)!important;font-size:8px!important}.v3-sub-status.detected{background:rgba(244,199,106,.09);color:var(--v3-amber)!important}.v3-analytics-insights{display:grid;gap:14px}.v3-feature-badge{display:inline-flex;align-items:center;width:max-content;border-radius:999px;padding:4px 8px;background:rgba(244,199,106,.11);color:#ffd777;font-size:9px;font-weight:900;border:1px solid rgba(244,199,106,.16)}.v3-compare-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.v3-compare-grid>div{padding:13px;border:1px solid var(--v3-line);border-radius:15px;background:#0b1a20;display:flex;flex-direction:column}.v3-compare-grid small{font-size:9px;color:var(--v3-muted)}.v3-compare-grid strong{font-size:19px;margin-top:4px}.v3-compare-grid span{font-size:9px;margin-top:4px}.v3-insight-list{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.v3-insight{padding:12px;border-radius:14px;border:1px solid var(--v3-line);background:#0a181e;display:flex;flex-direction:column}.v3-insight b{font-size:10px}.v3-insight span{font-size:9px;color:var(--v3-muted);line-height:1.4;margin-top:4px}.v3-feature-note{display:flex;justify-content:space-between;align-items:center;gap:20px}.v3-feature-note h2{font-size:17px;margin:7px 0 4px}.v3-feature-note p{font-size:10px;color:var(--v3-muted);margin:0}.v3-analytics-bottom{display:grid;grid-template-columns:1fr 1fr;gap:12px}

.v3-health-hero{display:grid;grid-template-columns:360px 1fr;gap:12px}.v3-score-card{text-align:center;display:grid;place-items:center}.v3-score-ring{--score:50;width:180px;height:180px;border-radius:50%;display:grid;place-items:center;background:conic-gradient(var(--v3-mint) calc(var(--score)*1%),#183039 0);position:relative;box-shadow:0 0 50px rgba(102,231,188,.08)}.v3-score-ring:before{content:"";position:absolute;inset:13px;border-radius:50%;background:#0c1d24;border:1px solid var(--v3-line)}.v3-score-ring>div{position:relative;display:flex;align-items:baseline;justify-content:center;flex-wrap:wrap}.v3-score-ring strong{font-size:44px;letter-spacing:-2px}.v3-score-ring span{color:var(--v3-muted);font-size:14px}.v3-score-ring b{flex-basis:100%;color:var(--v3-mint);font-size:12px;margin-top:3px}.v3-score-card p{max-width:290px;color:var(--v3-muted);font-size:10px;line-height:1.5}.v3-status{display:inline-flex;padding:5px 9px;border-radius:999px;font-size:9px;font-weight:900;border:1px solid var(--v3-line);color:#aebcc2}.v3-status.positive{color:var(--v3-mint);background:rgba(102,231,188,.08)}.v3-status.warning{color:var(--v3-amber);background:rgba(244,199,106,.08)}.v3-status.danger{color:var(--v3-red);background:rgba(255,127,151,.08)}.v3-health-summary-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:18px}.v3-health-summary-grid>div{padding:14px;border-radius:15px;background:#0a181e;border:1px solid var(--v3-line);display:flex;flex-direction:column}.v3-health-summary-grid small{font-size:9px;color:var(--v3-muted)}.v3-health-summary-grid strong{font-size:20px;margin-top:4px}.v3-section-heading{font-size:17px;margin:6px 2px 0}.v3-health-components{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.v3-health-component .v3-component-score{display:flex;align-items:baseline;gap:3px;margin-top:17px}.v3-component-score strong{font-size:28px}.v3-component-score span{font-size:10px;color:var(--v3-muted)}.v3-health-component p{font-size:9px;line-height:1.45;color:var(--v3-muted);margin:10px 0 0}.v3-recommendations{margin-top:2px}.v3-recommendation-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:13px}.v3-recommendation-grid a{display:grid;grid-template-columns:32px 1fr auto;align-items:start;gap:9px;padding:12px;border:1px solid var(--v3-line);border-radius:15px;background:#0a181e}.v3-recommendation-grid a>span{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:rgba(102,231,188,.12);color:var(--v3-mint);font-size:10px;font-weight:900}.v3-recommendation-grid div{display:flex;flex-direction:column}.v3-recommendation-grid b{font-size:10px}.v3-recommendation-grid small{font-size:9px;color:var(--v3-muted);line-height:1.4;margin-top:4px}.v3-recommendation-grid i{color:var(--v3-mint);font-style:normal}.v3-method{padding:13px 15px;border:1px solid var(--v3-line);border-radius:16px;background:#09181e}.v3-method summary{cursor:pointer;font-size:10px;font-weight:800;color:#bdcbd0}.v3-method p{font-size:9px;line-height:1.5;color:var(--v3-muted)}

.v3-filter-card{padding:12px}.v3-filter-grid{display:grid;grid-template-columns:minmax(220px,1.6fr) repeat(3,minmax(130px,.7fr)) auto auto;gap:8px}.v3-filter-grid input,.v3-filter-grid select{height:40px;background:#09171d;border:1px solid var(--v3-line);border-radius:12px}.v3-operations-table{padding:0;overflow:hidden}.v3-table-head,.v3-table-row{display:grid;grid-template-columns:minmax(230px,1.5fr) minmax(130px,.8fr) minmax(100px,.6fr) 120px 130px 70px;gap:12px;align-items:center}.v3-table-head{padding:12px 16px;background:#0b1a20;border-bottom:1px solid var(--v3-line);font-size:9px;color:var(--v3-muted);text-transform:uppercase;letter-spacing:.05em}.v3-table-row{padding:11px 16px;border-bottom:1px solid var(--v3-line);font-size:10px}.v3-table-row:last-child{border-bottom:0}.v3-op-name{display:flex;align-items:center;gap:10px;min-width:0}.v3-op-name>div{display:flex;flex-direction:column;min-width:0}.v3-op-name b{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.v3-op-name small{font-size:8.5px;color:var(--v3-muted);margin-top:2px}.v3-row-actions{display:flex;align-items:center;justify-content:flex-end;gap:5px}.v3-row-actions a,.v3-row-actions button{display:grid;place-items:center;width:28px;height:28px;border-radius:8px;border:1px solid var(--v3-line);background:#0b1a20;color:#a9bbc2;cursor:pointer}.v3-row-actions button{color:var(--v3-red)}

.v3-quality-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.v3-check-list,.v3-e2e-flow{display:grid;margin-top:10px}.v3-check-list>div,.v3-e2e-flow>div{display:grid;grid-template-columns:32px 1fr auto;align-items:center;gap:9px;padding:10px 0;border-top:1px solid var(--v3-line)}.v3-check-list>div:first-child,.v3-e2e-flow>div:first-child{border-top:0}.v3-check-icon,.v3-e2e-flow>div>span{display:grid;place-items:center;width:27px;height:27px;border-radius:50%;background:rgba(102,231,188,.1);color:var(--v3-mint);font-weight:900}.v3-check-icon.fail,.v3-e2e-flow>div>span.fail{background:rgba(255,127,151,.1);color:var(--v3-red)}.v3-check-list div>div{display:flex;flex-direction:column}.v3-check-list b,.v3-e2e-flow b{font-size:10px}.v3-check-list small{font-size:9px;color:var(--v3-muted);margin-top:2px}.v3-check-list strong,.v3-e2e-flow strong{font-size:9px;color:var(--v3-mint)}.v3-quality-note b{font-size:11px}.v3-quality-note p{font-size:9.5px;line-height:1.5;color:var(--v3-muted);margin-bottom:0}

.v3-confirm-modal{position:fixed;inset:0;z-index:100;display:grid;place-items:center;padding:20px;background:rgba(2,8,11,.75);backdrop-filter:blur(12px)}.v3-confirm-modal[hidden]{display:none}.v3-confirm-dialog{width:min(440px,100%);padding:24px;border-radius:22px;border:1px solid rgba(102,231,188,.18);background:#0c1c23;box-shadow:0 30px 80px rgba(0,0,0,.5);position:relative}.v3-confirm-dialog h2{font-size:20px;margin:7px 0}.v3-confirm-dialog p{color:var(--v3-muted);font-size:11px;line-height:1.5}.v3-modal-close{position:absolute;right:12px;top:10px;border:0;background:transparent;color:#9dafb7;font-size:24px;cursor:pointer}.v3-confirm-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:18px}

.v3-undo-toast{position:fixed;left:50%;bottom:24px;transform:translateX(-50%);z-index:110;width:min(560px,calc(100% - 28px));display:grid;grid-template-columns:36px 1fr auto auto;align-items:center;gap:10px;padding:11px 13px;border:1px solid rgba(102,231,188,.22);border-radius:16px;background:rgba(11,27,33,.97);box-shadow:0 22px 60px rgba(0,0,0,.45);backdrop-filter:blur(18px)}.v3-undo-toast>span{display:grid;place-items:center;width:32px;height:32px;border-radius:10px;background:rgba(102,231,188,.12);color:var(--v3-mint);font-size:18px}.v3-undo-toast div{display:flex;flex-direction:column}.v3-undo-toast b{font-size:11px}.v3-undo-toast small{font-size:9px;color:var(--v3-muted);margin-top:2px}.v3-undo-toast button{border:0;border-radius:10px;background:var(--v3-mint);color:#082019;padding:8px 11px;font:10px inherit;font-weight:900;cursor:pointer}.v3-undo-toast .v3-toast-close{background:transparent;color:#8da1aa;font-size:18px;padding:4px}.v3-undo-toast.v3-error{border-color:rgba(255,127,151,.2)}.v3-undo-toast.v3-error>span{background:rgba(255,127,151,.1);color:var(--v3-red)}

/* Bring untouched legacy pages into the same visual language without changing their HTML contracts. */
.card,.quick-card,.hero-card,.today-card,.forecast-card,.metric{border-color:var(--v3-line)!important;background:linear-gradient(155deg,rgba(15,32,39,.96),rgba(9,23,29,.98))!important;box-shadow:0 15px 34px rgba(0,0,0,.14)!important}.page-head h1{font-size:31px}.btn{border-color:var(--v3-line);background:#11242c}.btn.primary{background:linear-gradient(135deg,var(--v3-mint),#70d7df);color:#071a17}.btn.danger{background:rgba(255,127,151,.12);color:#ffb6c2}input,select,textarea{border-color:var(--v3-line)!important;background:#09171d!important;color:var(--v3-text)!important}.bottom-nav{background:rgba(6,16,21,.94)!important;border-color:var(--v3-line)!important;backdrop-filter:blur(18px)}.ad-slot{border-color:var(--v3-line)!important;background:rgba(11,27,33,.72)!important}
.positive{color:var(--v3-mint)!important}.negative{color:var(--v3-red)!important}.muted,.empty,small{color:var(--v3-muted)}

@media(max-width:1180px){.content{margin-left:224px;padding-left:22px;padding-right:22px}.sidebar{width:224px}.v3-kpi-grid{grid-template-columns:repeat(2,1fr)}.v3-mid-grid{grid-template-columns:1fr 1fr}.v3-mid-grid>.v3-panel:last-child{grid-column:1/-1}.v3-health-components{grid-template-columns:repeat(2,1fr)}.v3-table-head,.v3-table-row{grid-template-columns:minmax(200px,1.4fr) minmax(120px,.8fr) 110px 120px 60px}.v3-table-head>span:nth-child(3),.v3-table-row>span:nth-child(3){display:none}.v3-filter-grid{grid-template-columns:1fr 1fr 1fr}.v3-filter-grid>*:first-child{grid-column:span 2}}

@media(max-width:800px){
  .sidebar{display:none!important}.content{margin-left:0;padding:12px 12px 92px;max-width:none}.v3-global-topbar{height:48px;margin-bottom:10px}.v3-search{max-width:none}.v3-search input{height:40px;padding-right:12px;font-size:12px}.v3-search kbd,.v3-date-chip{display:none}.v3-top-button{height:40px;min-width:40px}.v3-hero{grid-template-columns:1fr;min-height:170px}.v3-hero-copy{padding:22px}.v3-hero h1{font-size:25px}.v3-hero-art{position:absolute;inset:0 0 0 45%;opacity:.34;mask-image:linear-gradient(90deg,transparent,#000)}.v3-kpi-grid{grid-template-columns:1fr 1fr;gap:9px}.v3-kpi{min-height:143px;padding:14px}.v3-kpi>strong{font-size:21px}.v3-mid-grid{grid-template-columns:1fr}.v3-mid-grid>.v3-panel:last-child{grid-column:auto}.v3-main-grid{grid-template-columns:1fr}.v3-side-stack{grid-template-columns:1fr 1fr}.v3-side-stack>.v3-ai-card,.v3-side-stack>.v3-quote-card{display:none}.v3-quick-form{grid-template-columns:1fr 88px}.v3-account-select{grid-column:1/-1}.v3-quick-chips{overflow-x:auto;flex-wrap:nowrap;padding-bottom:3px}.v3-quick-chips button{white-space:nowrap}.v3-details-grid{grid-template-columns:1fr}.v3-page-heading{align-items:flex-start;flex-direction:column}.v3-page-heading h1{font-size:28px}.v3-period-tabs{width:100%;overflow:auto}.v3-period-tabs a{flex:1;text-align:center;white-space:nowrap}.v3-analytics-top,.v3-analytics-grid,.v3-analytics-bottom,.v3-health-hero,.v3-quality-grid{grid-template-columns:1fr}.v3-metric-stack{grid-template-columns:repeat(3,1fr)}.v3-metric-card{grid-template-columns:32px 1fr;padding:10px}.v3-metric-card>span{width:30px;height:30px}.v3-metric-card strong{font-size:14px}.v3-compare-grid{grid-template-columns:1fr 1fr}.v3-insight-list,.v3-recommendation-grid{grid-template-columns:1fr}.v3-health-components{grid-template-columns:1fr 1fr}.v3-score-card{min-height:270px}.v3-filter-grid{grid-template-columns:1fr 1fr}.v3-filter-grid>*:first-child{grid-column:1/-1}.v3-operations-table{overflow-x:auto}.v3-table-head,.v3-table-row{min-width:690px}.bottom-nav{display:flex!important}.v3-undo-toast{bottom:78px}
}

@media(max-width:540px){
  .content{padding-left:9px;padding-right:9px}.v3-dashboard,.v3-analytics,.v3-health-page,.v3-quality,.v3-operations{gap:10px}.v3-hero{border-radius:20px;min-height:156px}.v3-hero-copy{padding:18px}.v3-hero h1{font-size:21px;max-width:82%}.v3-hero p{font-size:11px;max-width:78%}.v3-hero-quote{font-size:9px;margin-top:14px}.v3-kpi-grid{grid-template-columns:1fr 1fr}.v3-kpi{min-height:132px;padding:12px;border-radius:17px}.v3-kpi-icon{width:31px;height:31px}.v3-kpi>span{font-size:9.5px;margin-top:9px}.v3-kpi>strong{font-size:18px}.v3-kpi-event>strong{font-size:14px}.v3-kpi>small{font-size:8.5px}.v3-panel,.v3-quick-card{padding:14px;border-radius:17px}.v3-mid-grid,.v3-main-grid{gap:9px}.v3-side-stack{grid-template-columns:1fr}.v3-side-stack>.v3-free-card,.v3-side-stack>.v3-health-card{display:block}.v3-quick-form{grid-template-columns:1fr}.v3-account-select,.v3-add-btn{grid-column:auto}.v3-add-btn{width:100%}.v3-voice-hint{display:none}.v3-transaction{grid-template-columns:32px minmax(0,1fr) auto;gap:8px}.v3-transaction>strong{font-size:10px}.v3-health-components{grid-template-columns:1fr}.v3-health-summary-grid{grid-template-columns:1fr 1fr}.v3-score-ring{width:154px;height:154px}.v3-score-ring strong{font-size:38px}.v3-metric-stack{grid-template-columns:1fr}.v3-chart-card{min-height:270px}.v3-compare-grid{grid-template-columns:1fr 1fr}.v3-feature-note{align-items:flex-start;flex-direction:column}.v3-filter-grid{grid-template-columns:1fr}.v3-filter-grid>*:first-child{grid-column:auto}.v3-alert-strip{grid-template-columns:auto 1fr}.v3-alert-strip a{grid-column:2}.v3-undo-toast{grid-template-columns:32px 1fr auto}.v3-undo-toast .v3-toast-close{display:none}
}



/* mAImoney v3.1 canonical cleanup */
body{font-size:14px}
small,.muted,.empty{font-size:12px!important;line-height:1.45}
.sidebar nav a{font-size:14px}
.v3-panel-title b,.v3-panel-head b{font-size:14px}
.v3-panel-title small,.v3-panel-head small{font-size:12px}
.v31-dashboard-head{display:flex;justify-content:space-between;align-items:end;gap:16px;padding:4px 2px}
.v31-dashboard-head h1{font-size:30px;margin:4px 0 0}.v31-health-mini{font-size:13px;color:var(--v3-mint);font-weight:800}
.v31-kpi-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.v31-kpi-grid .v3-kpi{min-height:128px}.v31-event{font-size:18px!important}
.v31-quick-first{border-color:rgba(102,231,188,.28);box-shadow:0 18px 44px rgba(0,0,0,.22)}
.v31-two-accounts{display:grid;grid-template-columns:1fr 1fr;gap:14px}.v31-account-card{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:16px}.v31-account-icon{font-size:28px}.v31-account-card h2{margin:3px 0}.v31-account-card strong{font-size:25px}
.v31-native-ad{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:14px;padding:14px 16px;border:1px solid rgba(105,168,255,.18);border-radius:18px;background:linear-gradient(135deg,rgba(105,168,255,.08),rgba(102,231,188,.05));color:inherit}.v31-native-ad:hover{text-decoration:none;border-color:rgba(105,168,255,.35)}.v31-native-ad img{width:68px;height:68px;object-fit:cover;border-radius:14px}.v31-native-ad div{display:flex;flex-direction:column}.v31-native-ad div>span{font-size:10px;text-transform:uppercase;letter-spacing:.12em;color:var(--v3-muted)}.v31-native-ad b{font-size:14px;margin-top:3px}.v31-native-ad p{font-size:12px;color:var(--v3-muted);margin:4px 0 0}.v31-native-ad>strong{font-size:12px;color:var(--v3-blue)}
.v31-admin-grid{display:grid;grid-template-columns:minmax(300px,.7fr) minmax(0,1.3fr);gap:14px}.v31-ad-admin-row{display:grid;grid-template-columns:1fr auto;gap:15px;padding:14px 0;border-top:1px solid var(--v3-line)}.v31-ad-admin-row:first-of-type{border-top:0}.v31-ad-admin-row div:first-child{display:flex;flex-direction:column}.v31-ad-admin-row p{margin:5px 0;color:var(--v3-muted)}.v31-ad-admin-row span{font-size:12px;color:var(--v3-muted)}.v31-admin-actions{display:flex;gap:6px;align-items:center}
.v3-system-link,.v3-feature-card,.plan-pill,.pro-badge,.v3-feature-badge{display:none!important}
@media(max-width:1180px){.v31-kpi-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:800px){
.v31-two-accounts,.v31-admin-grid{grid-template-columns:1fr}
.v3-operations-table{overflow:visible!important;background:transparent!important;border:0!important}
.v3-table-head{display:none!important}
.v3-table-row{min-width:0!important;display:grid!important;grid-template-columns:1fr auto!important;gap:6px 12px!important;margin-bottom:9px;padding:14px!important;border:1px solid var(--v3-line)!important;border-radius:16px;background:linear-gradient(155deg,rgba(15,32,39,.96),rgba(9,23,29,.98))}
.v3-table-row>.v3-op-name{grid-column:1}.v3-table-row>span{display:block!important;grid-column:1;font-size:12px;color:var(--v3-muted)}.v3-table-row>span:nth-of-type(1){display:none!important}.v3-table-row>strong{grid-column:2;grid-row:1;font-size:14px}.v3-row-actions{grid-column:2;grid-row:2/5;align-self:end}
}
@media(max-width:540px){.v31-kpi-grid{grid-template-columns:1fr 1fr}.v31-dashboard-head{align-items:flex-start;flex-direction:column}.v31-health-mini{font-size:12px}.v31-account-card{grid-template-columns:auto 1fr}.v31-account-card form{grid-column:1/-1}.v31-native-ad{grid-template-columns:auto 1fr}.v31-native-ad>strong{grid-column:2}.v31-native-ad img{width:54px;height:54px}}

/* ===== v3.1 savings model ===== */
.v31-savings-strip{display:grid;grid-template-columns:minmax(220px,1.4fr) 1fr 1fr auto;align-items:center;gap:18px;padding:16px 18px;border:1px solid rgba(102,231,188,.24);border-radius:18px;background:linear-gradient(135deg,rgba(102,231,188,.09),rgba(105,168,255,.05));color:inherit}
.v31-savings-strip:hover{text-decoration:none;border-color:rgba(102,231,188,.42)}
.v31-savings-main{display:flex;align-items:center;gap:12px}.v31-savings-icon{font-size:28px}.v31-savings-strip div{display:flex;flex-direction:column}.v31-savings-strip small{color:var(--v3-muted)}.v31-savings-strip strong,.v31-savings-strip b{font-size:17px;margin-top:2px}.v31-savings-arrow{font-size:12px;color:var(--v3-blue);font-weight:800}
.v31-savings-kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.v31-envelope-list{display:grid;gap:10px}.v31-envelope{display:grid;grid-template-columns:minmax(180px,.8fr) 1.2fr;align-items:center;gap:16px;padding:12px 0;border-top:1px solid var(--v3-line)}.v31-envelope:first-child{border-top:0}.v31-envelope div{display:flex;flex-direction:column;gap:3px}
.v31-release-summary,.v31-goal-savings-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.v31-release-summary>div,.v31-goal-savings-summary>div{display:flex;flex-direction:column;padding:16px;border:1px solid var(--v3-line);border-radius:16px;background:var(--v3-card)}.v31-release-summary strong,.v31-goal-savings-summary strong{font-size:22px;margin:4px 0}.danger-soft{border-color:rgba(255,105,122,.32)!important;background:rgba(255,105,122,.06)!important}
.v31-release-goals{display:grid;gap:8px}.v31-release-goal{display:grid;grid-template-columns:1fr minmax(120px,180px);align-items:center;gap:14px;padding:12px 0;border-top:1px solid var(--v3-line)}.v31-release-goal:first-child{border-top:0}.v31-release-goal span{display:flex;flex-direction:column;gap:3px}.v31-release-actions{display:flex;gap:10px;flex-wrap:wrap}
@media(max-width:800px){.v31-savings-strip{grid-template-columns:1fr 1fr}.v31-savings-main{grid-column:1/-1}.v31-savings-arrow{display:none}.v31-savings-kpis,.v31-release-summary,.v31-goal-savings-summary{grid-template-columns:1fr}.v31-envelope{grid-template-columns:1fr}.v31-release-goal{grid-template-columns:1fr 120px}}
@media(max-width:520px){.v31-savings-strip{grid-template-columns:1fr}.v31-release-goal{grid-template-columns:1fr}.v31-release-goal input{width:100%}}

.v31-daily-guide .v3-big-number{display:block;margin:10px 0 4px;font-size:24px}
.v31-biggest-expense{display:grid;grid-template-columns:1fr auto;gap:4px 16px;align-items:center;margin:14px 0;padding:12px 14px;border:1px solid var(--v3-line);border-radius:14px;background:rgba(255,255,255,.02)}
.v31-biggest-expense span,.v31-biggest-expense small{color:var(--v3-muted);font-size:12px}
.v31-biggest-expense small{grid-column:1/-1}.v31-biggest-expense b{font-size:16px}


/* v3.1 monetization admin */
.v31-admin-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:14px 0}
.v31-ad-overview{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:14px}
.v31-ad-overview .v3-panel{display:flex;flex-direction:column;gap:6px}
.v31-ad-overview strong{font-size:22px}
.v31-ad-titleline{display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.v31-ad-titleline>span{font-size:10px;font-weight:900;letter-spacing:.1em;padding:4px 7px;border:1px solid var(--v3-line);border-radius:999px;color:var(--v3-blue)}
.v31-ad-metrics{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
.v31-ad-metrics span{padding:6px 8px;border-radius:9px;background:rgba(255,255,255,.035);font-size:11px}
.v31-budget-line{margin-top:10px}
.v31-budget-line>div{display:flex;justify-content:space-between;gap:12px;font-size:11px;color:var(--v3-muted)}
.v31-budget-line progress{width:100%;margin-top:5px}
.v31-outcome-actions{display:flex;gap:8px;flex-wrap:wrap;margin:9px 0}
.v31-outcome-actions form{display:flex;gap:5px}
.v31-outcome-actions input{width:70px}
@media(max-width:1000px){.v31-admin-kpis,.v31-ad-overview{grid-template-columns:repeat(2,1fr)}}
@media(max-width:540px){.v31-admin-kpis,.v31-ad-overview{grid-template-columns:1fr 1fr}.v31-ad-metrics{display:grid;grid-template-columns:1fr 1fr}}


/* ===== v3.1 admin analytics dashboard ===== */
.v31-admin-tabs{display:flex;gap:7px;flex-wrap:wrap}
.v31-admin-tabs a{padding:9px 12px;border:1px solid var(--v3-line);border-radius:11px;font-size:12px;font-weight:800;color:var(--v3-muted)}
.v31-admin-tabs a.active{background:rgba(102,231,188,.1);border-color:rgba(102,231,188,.28);color:var(--v3-mint)}
.v31-admin-activity-kpis{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;margin:0 0 14px}
.v31-admin-activity-kpis .v3-panel{display:flex;flex-direction:column;gap:4px;padding:14px}
.v31-admin-activity-kpis strong{font-size:21px}.v31-admin-activity-kpis span{font-size:11px;color:var(--v3-muted);font-weight:800}
.v31-admin-chart-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:14px}
.v31-admin-chart-card{min-height:310px}
.v31-dual-chart,.v31-revenue-chart{height:220px;display:grid;grid-template-columns:repeat(30,minmax(5px,1fr));align-items:end;gap:4px;padding:18px 2px 0;border-bottom:1px solid var(--v3-line)}
.v31-dual-col,.v31-revenue-col{height:100%;display:grid;grid-template-rows:1fr 18px;align-items:end;min-width:0}
.v31-bars{height:100%;display:flex;align-items:end;justify-content:center;gap:1px}
.v31-bars i,.v31-bars b,.v31-revenue-col i{display:block;min-height:2px;border-radius:4px 4px 1px 1px}
.v31-bars i{width:45%;background:linear-gradient(180deg,var(--v3-mint),rgba(102,231,188,.35))}
.v31-bars b{width:35%;background:linear-gradient(180deg,var(--v3-blue),rgba(105,168,255,.32))}
.v31-revenue-col{align-items:end}.v31-revenue-col i{width:70%;justify-self:center;background:linear-gradient(180deg,#f4c76a,rgba(244,199,106,.28))}
.v31-dual-col small,.v31-revenue-col small{font-size:8px!important;text-align:center;color:var(--v3-muted);white-space:nowrap}
.v31-admin-breakdown{display:grid}.v31-breakdown-row{display:grid;grid-template-columns:1fr auto;align-items:center;gap:16px;padding:11px 0;border-top:1px solid var(--v3-line)}
.v31-breakdown-row:first-child{border-top:0}.v31-breakdown-row>span,.v31-breakdown-row>div{display:flex;flex-direction:column;gap:3px}.v31-breakdown-row>div{text-align:right}.v31-breakdown-row strong{font-size:14px}
.v31-top-campaigns{display:grid}.v31-top-campaign{display:grid;grid-template-columns:minmax(180px,1.5fr) 1fr 1fr auto;gap:14px;align-items:center;padding:12px 0;border-top:1px solid var(--v3-line)}
.v31-top-campaign:first-child{border-top:0}.v31-top-campaign span{display:flex;flex-direction:column;gap:3px}.v31-top-campaign strong{font-size:15px;color:var(--v3-mint)}
.v31-admin-privacy{border-color:rgba(102,231,188,.18)!important}.v31-admin-privacy p{margin-bottom:0;color:var(--v3-muted);font-size:12px;line-height:1.55}
@media(max-width:1100px){.v31-admin-activity-kpis{grid-template-columns:repeat(3,1fr)}.v31-admin-chart-grid{grid-template-columns:1fr}}
@media(max-width:700px){.v31-admin-activity-kpis{grid-template-columns:repeat(2,1fr)}.v31-top-campaign{grid-template-columns:1fr auto}.v31-top-campaign>span:nth-child(2),.v31-top-campaign>span:nth-child(3){display:none}.v31-dual-chart,.v31-revenue-chart{gap:2px}.v31-admin-tabs{width:100%}.v31-admin-tabs a{flex:1;text-align:center}}


/* v3.1 admin owner UX */
.v31-admin-head-actions{display:flex;flex-direction:column;align-items:flex-end;gap:8px}
.v31-period-tabs{display:flex;gap:5px;padding:4px;border:1px solid var(--v3-line);border-radius:12px;background:rgba(255,255,255,.02)}
.v31-period-tabs a{padding:7px 10px;border-radius:8px;font-size:11px;font-weight:800;color:var(--v3-muted)}
.v31-period-tabs a.active{background:var(--v3-mint);color:#061914}
.v31-campaign-filters{display:grid;grid-template-columns:minmax(180px,1.5fr) repeat(3,minmax(120px,.7fr)) auto auto;gap:8px;align-items:center;margin-bottom:14px;padding:12px}
.v31-campaign-filters input,.v31-campaign-filters select{height:40px}
.v31-campaign-filters .btn{white-space:nowrap}
@media(max-width:1000px){.v31-campaign-filters{grid-template-columns:1fr 1fr 1fr}.v31-campaign-filters input{grid-column:1/-1}}
@media(max-width:700px){.v31-admin-head-actions{width:100%;align-items:stretch}.v31-period-tabs a{flex:1;text-align:center}.v31-campaign-filters{grid-template-columns:1fr 1fr}.v31-campaign-filters input{grid-column:1/-1}}
@media(max-width:480px){.v31-campaign-filters{grid-template-columns:1fr}.v31-campaign-filters input{grid-column:auto}}



/* ===== mAImoney v3.1 FINAL UX/UI polish ===== */
:root{--v31-touch:44px}
.v31-nav-label{display:block;margin:13px 11px 3px;color:#5f747d;font-size:10px;font-weight:900;letter-spacing:.12em;text-transform:uppercase}
.sidebar nav{gap:2px;margin-top:14px}.sidebar nav a{min-height:38px}.v3-nav-divider{display:none!important}
.v3-brand-copy small{font-size:11px}
.v31-dashboard-head{align-items:center}.v31-dashboard-head p{margin:5px 0 0;color:var(--v3-muted);font-size:13px}
.v31-capital-chip{display:grid;grid-template-columns:1fr auto;gap:2px 14px;align-items:center;min-width:220px;padding:11px 13px;border:1px solid var(--v3-line);border-radius:15px;background:rgba(255,255,255,.025);color:inherit}
.v31-capital-chip:hover{text-decoration:none;border-color:rgba(102,231,188,.32)}.v31-capital-chip small{grid-column:1;color:var(--v3-muted)}.v31-capital-chip strong{grid-column:1;font-size:17px}.v31-capital-chip span{grid-column:2;grid-row:1/3;align-self:center;font-size:11px;font-weight:850;color:var(--v3-mint)}
.v31-kpi-primary{border-color:rgba(102,231,188,.28)!important;background:linear-gradient(145deg,rgba(102,231,188,.10),rgba(15,32,39,.97))!important}
.v31-quick-hero{margin-top:2px}.v31-shortcut-hint{font-size:11px;color:var(--v3-muted);white-space:nowrap}
.v31-main-grid-final{align-items:start}.v31-side-final{grid-template-columns:1fr!important}
.v31-ai-strip{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:12px;align-items:center;padding:13px 15px;border:1px solid rgba(169,139,255,.16);border-radius:17px;background:linear-gradient(120deg,rgba(169,139,255,.06),rgba(105,168,255,.04));color:inherit}
.v31-ai-strip:hover{text-decoration:none;border-color:rgba(169,139,255,.30)}.v31-ai-strip>span{display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:rgba(169,139,255,.12);color:#c8b9ff}.v31-ai-strip div{min-width:0}.v31-ai-strip b{font-size:13px}.v31-ai-strip p{margin:3px 0 0;color:var(--v3-muted);font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.v31-ai-strip>strong{font-size:11px;color:#bba8ff;white-space:nowrap}
.v31-money-model-note{display:grid;grid-template-columns:auto 1fr;gap:12px;align-items:center;padding:13px 15px;border:1px solid rgba(105,168,255,.16);border-radius:16px;background:rgba(105,168,255,.045)}.v31-money-model-note>span{font-size:24px}.v31-money-model-note div{display:flex;flex-direction:column;gap:2px}.v31-money-model-note b{font-size:13px}.v31-money-model-note small{font-size:12px!important}
.v31-goal-create h2{margin:0}
.v31-obligations-page{display:grid;gap:14px}.v31-debt-kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.v31-create-disclosure{padding:0!important;overflow:hidden}.v31-create-disclosure>summary{display:flex;justify-content:space-between;align-items:center;gap:14px;cursor:pointer;padding:15px 17px;list-style:none}.v31-create-disclosure>summary::-webkit-details-marker{display:none}.v31-create-disclosure>summary span{display:flex;flex-direction:column;gap:2px}.v31-create-disclosure>summary b{font-size:14px}.v31-create-disclosure>summary i{font-style:normal;font-size:11px;color:var(--v3-mint);font-weight:850}.v31-create-disclosure[open]>summary{border-bottom:1px solid var(--v3-line)}.v31-create-disclosure[open]>summary i{font-size:0}.v31-create-disclosure[open]>summary i:after{content:"Свернуть";font-size:11px}.v31-disclosure-form{padding:16px}
.v31-debt-tabs{max-width:410px}.v31-obligation-list{display:grid;gap:12px}.v31-obligation-card{display:grid;gap:13px}.v31-obligation-card.is-closed{opacity:.76}.v31-obligation-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start}.v31-obligation-head h2{margin:4px 0 3px;font-size:20px}.v31-obligation-type{display:inline-flex;width:max-content;padding:4px 7px;border-radius:999px;background:rgba(105,168,255,.08);color:var(--v3-blue);font-size:10px;font-weight:900;letter-spacing:.04em}.v31-obligation-type.i_owe{background:rgba(255,127,151,.08);color:var(--v3-red)}.v31-obligation-type.owes_me{background:rgba(102,231,188,.08);color:var(--v3-mint)}
.v31-obligation-amount{display:flex;flex-direction:column;text-align:right;gap:2px}.v31-obligation-amount strong{font-size:22px;white-space:nowrap}.v31-obligation-amount span{font-size:10px;color:var(--v3-muted);text-transform:uppercase;letter-spacing:.08em;font-weight:850}.v31-obligation-comment{margin:0;padding:10px 12px;border-radius:12px;background:rgba(255,255,255,.025);color:var(--v3-muted);font-size:12px}
.v31-obligation-progress>div{display:flex;justify-content:space-between;gap:12px;margin-bottom:5px;color:var(--v3-muted);font-size:11px}.v31-obligation-progress progress{width:100%}
.v31-obligation-action{border-top:1px solid var(--v3-line);padding-top:10px}.v31-obligation-action>summary{cursor:pointer;color:#bed0d6;font-size:12px;font-weight:800}.v31-obligation-history{margin-top:8px}.v31-obligation-footer{display:flex;gap:8px;flex-wrap:wrap;padding-top:2px}.v31-empty-state{text-align:center;padding:30px!important}.v31-empty-state>span{display:grid;place-items:center;margin:0 auto 10px;width:46px;height:46px;border-radius:15px;background:rgba(102,231,188,.08);color:var(--v3-mint);font-size:22px}.v31-empty-state h2{margin:0 0 5px}.v31-empty-state p{margin:0 auto;max-width:520px;color:var(--v3-muted);font-size:12px;line-height:1.55}
.v31-native-ad{opacity:.92}.v31-native-ad div>span{font-size:11px!important}.v31-native-ad:before{content:"Партнёр";display:none}
.v31-mobile-more{position:fixed;inset:0;z-index:90}.v31-mobile-more[hidden]{display:none!important}.v31-mobile-more-backdrop{position:absolute;inset:0;border:0;background:rgba(2,8,11,.68);backdrop-filter:blur(8px)}.v31-mobile-more-sheet{position:absolute;left:8px;right:8px;bottom:8px;max-height:min(72vh,640px);overflow:auto;padding:14px;border:1px solid var(--v3-line);border-radius:23px;background:#0b1b21;box-shadow:0 30px 80px rgba(0,0,0,.5)}.v31-mobile-more-sheet header{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:3px 3px 12px}.v31-mobile-more-sheet header div{display:flex;flex-direction:column}.v31-mobile-more-sheet header b{font-size:16px}.v31-mobile-more-sheet header button{width:38px;height:38px;border:0;border-radius:12px;background:rgba(255,255,255,.05);color:var(--v3-text);font-size:23px}.v31-mobile-more-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px}.v31-mobile-more-grid a{display:grid;grid-template-columns:34px 1fr;align-items:center;gap:9px;min-height:58px;padding:10px;border:1px solid var(--v3-line);border-radius:14px;background:rgba(255,255,255,.025);color:var(--v3-text)}.v31-mobile-more-grid a:hover{text-decoration:none;border-color:rgba(102,231,188,.25)}.v31-mobile-more-grid a>span{display:grid;place-items:center;width:32px;height:32px;border-radius:10px;background:rgba(102,231,188,.07);color:var(--v3-mint)}.v31-mobile-more-grid b{font-size:12px}.v31-more-button{display:flex;flex:1;flex-direction:column;justify-content:center;align-items:center;gap:2px;border:0;background:transparent;color:inherit;font:inherit}.v31-more-button small{font-size:11px!important}.v31-menu-open{overflow:hidden}
.v31-dual-col small,.v31-revenue-col small{font-size:10px!important}
@media(max-width:800px){
  .v31-nav-label{display:none}.v31-dashboard-head{align-items:flex-start}.v31-capital-chip{width:100%;min-width:0}.v31-kpi-grid-final{grid-template-columns:1fr 1fr}.v31-shortcut-hint{display:none}.v31-ai-strip{grid-template-columns:auto 1fr}.v31-ai-strip>strong{grid-column:2}.v31-debt-kpis{grid-template-columns:1fr 1fr 1fr}.v31-obligation-head{align-items:center}.bottom-nav a,.bottom-nav button{min-height:58px}.bottom-nav small{font-size:11px!important}.bottom-nav .v3-active{color:var(--v3-mint)!important}
  .v3-table-row>span[data-label]:before{content:attr(data-label) " · ";color:#687d86;font-size:10px;font-weight:850;text-transform:uppercase;letter-spacing:.04em}
}
@media(max-width:560px){
  .content{padding-left:11px!important;padding-right:11px!important}.v31-dashboard-head h1{font-size:28px}.v31-dashboard-head p{font-size:12px}.v31-kpi-grid-final{grid-template-columns:1fr 1fr;gap:8px}.v31-kpi-grid-final .v3-kpi{min-height:120px;padding:13px}.v31-kpi-grid-final .v3-kpi>span{font-size:11px;margin-top:0}.v31-kpi-grid-final .v3-kpi>strong{font-size:18px}.v31-kpi-grid-final .v3-kpi>small{font-size:11px!important}.v31-savings-strip{padding:14px}.v31-ai-strip p{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.v31-debt-kpis{grid-template-columns:1fr 1fr}.v31-debt-kpis .v3-kpi:last-child{grid-column:1/-1;min-height:auto}.v31-obligation-head{display:grid}.v31-obligation-amount{text-align:left}.v31-obligation-amount strong{font-size:20px}.v31-mobile-more-grid{grid-template-columns:1fr 1fr}.v31-create-disclosure>summary{padding:14px}.v31-disclosure-form{grid-template-columns:1fr!important}.v31-disclosure-form .btn{grid-column:auto!important}
}
@media(max-width:380px){.v31-kpi-grid-final{grid-template-columns:1fr}.v31-mobile-more-grid{grid-template-columns:1fr}}
\n
/* FINAL mobile stacking fix found by real Chrome QA */
@media(max-width:800px){
  .bottom-nav{position:fixed!important;z-index:85!important;isolation:isolate}
  .v31-more-button,.bottom-nav>a{position:relative;z-index:1;pointer-events:auto}
  .content{position:relative;z-index:1}
}


/* v3.1 UI FINAL mobile stacking fix */
@media(max-width:800px){
  .v3-bottom-nav,.bottom-nav{position:fixed!important;left:0;right:0;bottom:0;z-index:80!important;pointer-events:auto!important}
  .v3-bottom-nav *,.bottom-nav *{pointer-events:auto}
  .content{position:relative;z-index:1}
}


@media(max-width:800px){
  .bottom-nav{position:fixed!important;z-index:100!important;isolation:isolate}
  .v31-mobile-more-backdrop{z-index:0}
  .v31-mobile-more-sheet{z-index:1}
  .v31-mobile-more-sheet header button{position:relative;z-index:2;pointer-events:auto}
}


/* v3.1 UI FINAL mobile sheet stacking */
.v31-mobile-more-backdrop{z-index:0}
.v31-mobile-more-sheet{z-index:1}
.v31-mobile-more-sheet header{position:relative;z-index:2}


/* FINAL bottom navigation geometry */
@media(max-width:800px){
  .bottom-nav{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;left:0!important;right:0!important;width:100%!important}
  .bottom-nav>a,.bottom-nav>.v31-more-button{width:auto!important;min-width:0!important;flex:none!important}
}


/* FINAL responsive containment + touch target polish */
.v3-period-tabs a{font-size:11px;min-height:36px;display:flex;align-items:center;justify-content:center}
.v3-sub-status{font-size:11px!important}
@media(max-width:800px){
  .v31-dashboard-final{width:100%;max-width:100%;min-width:0}
  .v31-dashboard-final>*{max-width:100%;min-width:0;box-sizing:border-box}
  .v31-dashboard-head{width:100%;max-width:100%;min-width:0}
  .v31-dashboard-head>div{min-width:0}
  .v31-capital-chip{width:100%;max-width:100%;min-width:0;grid-template-columns:minmax(0,1fr) auto}
  .v31-capital-chip>*{min-width:0}
  .v31-capital-chip strong{overflow-wrap:anywhere}
  .v31-kpi-grid-final{width:100%;max-width:100%;min-width:0;grid-template-columns:repeat(2,minmax(0,1fr))}
  .v31-kpi-grid-final .v3-kpi{min-width:0;max-width:100%;overflow:hidden}
  .v31-kpi-grid-final .v3-kpi>span,
  .v31-kpi-grid-final .v3-kpi>strong,
  .v31-kpi-grid-final .v3-kpi>small{min-width:0;overflow-wrap:anywhere}
  .v31-quick-hero{width:100%;max-width:100%;min-width:0;overflow:hidden}
  .v31-quick-hero .v3-panel-head,
  .v31-quick-hero .v3-panel-title,
  .v31-quick-hero .v3-panel-title>div{min-width:0;max-width:100%}
  .v31-quick-hero .v3-panel-title small{overflow-wrap:anywhere}
  .v31-quick-hero .v3-quick-form{width:100%;max-width:100%;min-width:0}
  .v31-quick-hero .v3-quick-form>*{min-width:0;max-width:100%}
  .v31-quick-hero .v3-quick-input{min-width:0;width:100%}
  .v31-quick-hero .v3-quick-input input,
  .v31-quick-hero .v3-account-select{width:100%;max-width:100%;min-width:0;box-sizing:border-box}
  .v31-savings-strip,.v31-main-grid-final,.v31-ai-strip{width:100%;max-width:100%;min-width:0}
  .v3-quick-form select,.v3-quick-form input,.v3-add-btn{height:48px}
  .v3-voice-btn{width:38px;height:38px;right:5px;top:5px}
  .v3-quick-input input{padding-right:50px}
  .v3-quick-chips button{min-height:38px;padding:8px 12px;font-size:11.5px}
  .v3-row-actions a,.v3-row-actions button{display:inline-grid;place-items:center;min-width:38px;min-height:38px;padding:0!important}
}
@media(max-width:560px){
  .v31-dashboard-final{overflow-x:clip}
  .v31-capital-chip span{font-size:11px}
  .v3-period-tabs a{font-size:11px}
}


/* v3.1 UI FINAL responsive containment and touch targets */
@media(max-width:800px){
  .v31-dashboard-final{
    grid-template-columns:minmax(0,1fr)!important;
    width:100%!important;max-width:100%!important;min-width:0!important;
    overflow:visible;
  }
  .v31-dashboard-final>*{min-width:0!important;max-width:100%!important;box-sizing:border-box}
  .v31-dashboard-final .v3-panel-head,.v31-dashboard-final .v3-panel-title,
  .v31-dashboard-final .v3-quick-form,.v31-dashboard-final .v3-quick-input{min-width:0!important;max-width:100%!important}
  .v31-dashboard-final input,.v31-dashboard-final select{min-width:0!important;max-width:100%!important}
  .v3-voice-btn{width:40px!important;height:40px!important;right:2px!important;top:1.5px!important}
  .v3-quick-input input{padding-right:48px!important}
  .v3-quick-chips button{min-height:38px;padding:8px 12px!important;font-size:11px!important}
  .v3-row-actions{display:flex;gap:5px;justify-content:flex-end}
  .v3-row-actions a,.v3-row-actions button{display:grid!important;place-items:center;min-width:40px!important;min-height:40px!important;padding:0!important;border-radius:11px}
  .v3-period-tabs a{font-size:11px!important}
  .v3-sub-status{font-size:10.5px!important}
}


/* v3.1 UI FINAL readability polish */
.v3-panel-head>a,.v3-text-link,.v31-savings-arrow,.v3-period-tabs a{font-size:11px!important}


/* FINAL readable microcopy + no clipped quick presets */
.v3-panel-head>a,.v3-text-link,.v31-savings-arrow{font-size:11.5px!important}
.v3-period-tabs a{font-size:11.5px!important}
.v3-sub-status{font-size:11px!important}
.v3-row-actions a,.v3-row-actions button{font-size:16px!important}
@media(max-width:800px){
  .v3-quick-chips{overflow:visible!important;flex-wrap:wrap!important}
  .v3-quick-chips button{flex:0 0 auto}
}



/* ===== mAImoney v3.2 REDESIGN ===== */
:root{
 --v32-bg:#071117;--v32-bg2:#0a171d;--v32-card:#0d1d23;--v32-card2:#10242b;
 --v32-line:rgba(142,190,193,.14);--v32-line-strong:rgba(117,230,200,.32);
 --v32-text:#f3f7f8;--v32-muted:#8fa3aa;--v32-mint:#75e6c8;--v32-mint2:#4dd7c3;
 --v32-red:#ff8b9f;--v32-radius:18px;--v32-shadow:0 18px 55px rgba(0,0,0,.22)
}
body{background:radial-gradient(circle at 78% -10%,rgba(77,215,195,.09),transparent 32%),var(--v32-bg);color:var(--v32-text)}
.ui-icon{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;display:block}
.v32-sidebar{position:fixed;inset:0 auto 0 0;width:232px;padding:24px 16px 18px;background:rgba(5,16,21,.96);border-right:1px solid var(--v32-line);display:flex;flex-direction:column;z-index:30}
.v32-brand{display:flex;align-items:center;gap:11px;padding:4px 8px 18px;color:var(--v32-text)}
.v32-brand:hover{text-decoration:none}.v32-brand img{width:39px;height:39px}.v32-brand>span{display:flex;flex-direction:column;min-width:0}
.v32-brand b{font-size:20px;letter-spacing:-.7px}.v32-brand b span{color:var(--v32-mint)}.v32-brand small{margin-top:2px;color:#718991;font-size:10px!important}
.v32-nav{display:grid;gap:2px;overflow:auto;padding-right:3px;scrollbar-width:thin;scrollbar-color:#294047 transparent}
.v32-nav-label{margin:13px 10px 4px;color:#607881;font-size:9px;font-weight:900;letter-spacing:.15em;text-transform:uppercase}
.v32-nav a{display:flex;align-items:center;gap:11px;min-height:40px;padding:9px 11px;border-radius:12px;color:#aebdc2;font-size:13px;font-weight:720;transition:.16s ease}
.v32-nav a:hover{background:rgba(255,255,255,.028);color:#edf5f5;text-decoration:none}
.v32-nav a.v3-active{background:linear-gradient(90deg,rgba(117,230,200,.09),rgba(117,230,200,.035));color:var(--v32-text);box-shadow:inset 2px 0 var(--v32-mint)}
.v32-nav a.v3-active .ui-icon{color:var(--v32-mint)}.v32-nav .ui-icon{width:18px;height:18px;color:#86a3aa}.v32-admin-icon{display:grid;place-items:center;width:18px;height:18px;border:1px solid currentColor;border-radius:5px;font-size:10px}
.v32-profile{margin-top:auto;display:flex;align-items:center;gap:10px;padding:11px 9px;border-radius:14px;color:inherit}.v32-profile:hover{background:rgba(255,255,255,.025);text-decoration:none}
.v32-avatar{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#15303a;color:#eaf5f5;font-size:12px;font-weight:900}
.v32-profile>span:last-child{display:flex;flex-direction:column}.v32-profile b{font-size:12px}.v32-profile small{font-size:10px!important}
.content{max-width:1500px;margin-left:232px;padding:24px 34px 90px}
.v32-topbar{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:34px}
.v32-search{display:flex;align-items:center;gap:10px;width:min(650px,58vw);height:46px;padding:0 14px;border:1px solid var(--v32-line);border-radius:14px;background:rgba(8,21,27,.78)}
.v32-search .ui-icon{width:18px;color:#789097}.v32-search input{flex:1;border:0;background:transparent;color:var(--v32-text);outline:0;font-size:13px}.v32-search kbd{padding:4px 7px;border:1px solid var(--v32-line);border-radius:7px;color:#81969c;background:#0c1b21;font:11px ui-monospace,monospace}
.v32-top-actions{display:flex;gap:8px}.v32-top-actions a{display:grid;place-items:center;width:43px;height:43px;border:1px solid var(--v32-line);border-radius:13px;color:#9ab0b6;background:rgba(10,24,30,.7)}.v32-top-actions a:hover{color:var(--v32-mint);border-color:var(--v32-line-strong)}
.v32-dashboard{display:grid;gap:18px}.v32-dashboard-head{display:flex;justify-content:space-between;align-items:flex-end;gap:24px}.v32-kicker{color:var(--v32-mint);font-size:10px;font-weight:900;letter-spacing:.14em;text-transform:uppercase}
.v32-dashboard-head h1{margin:6px 0 3px;font-size:38px;letter-spacing:-1.6px;line-height:1.04}.v32-dashboard-head p{margin:0;color:var(--v32-muted);font-size:13px}
.v32-capital-card{display:grid;grid-template-columns:1fr auto;align-items:center;gap:3px 18px;min-width:260px;padding:13px 15px;border:1px solid var(--v32-line);border-radius:15px;background:linear-gradient(145deg,rgba(255,255,255,.025),rgba(117,230,200,.025));color:inherit}
.v32-capital-card:hover{text-decoration:none;border-color:var(--v32-line-strong)}.v32-capital-card small{grid-column:1;color:var(--v32-muted);font-size:10px!important}.v32-capital-card strong{grid-column:1;font-size:19px;letter-spacing:-.5px}.v32-capital-card span{grid-column:2;grid-row:1/3;display:flex;gap:5px;align-items:center;color:var(--v32-mint);font-size:11px;font-weight:850}.v32-capital-card .ui-icon{width:15px}
.v32-kpi-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.v32-kpi{min-height:132px;padding:18px;border:1px solid var(--v32-line);border-radius:var(--v32-radius);background:linear-gradient(150deg,rgba(255,255,255,.018),rgba(13,29,35,.92));display:flex;flex-direction:column;justify-content:center}
.v32-kpi-primary{border-color:rgba(117,230,200,.30);background:linear-gradient(150deg,rgba(117,230,200,.08),rgba(13,29,35,.95))}
.v32-kpi>span{color:#a0b1b6;font-size:11px}.v32-kpi>strong{margin:10px 0 5px;font-size:27px;letter-spacing:-1px}.v32-kpi>small{color:#778d94;font-size:10px!important}
.v32-quick-card{padding:18px 20px;border:1px solid rgba(117,230,200,.26);border-radius:20px;background:linear-gradient(135deg,rgba(117,230,200,.045),rgba(10,24,30,.90));box-shadow:none}
.v32-quick-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:13px}.v32-quick-title{display:flex;align-items:center;gap:11px}.v32-quick-title>span{display:grid;place-items:center;width:36px;height:36px;border-radius:11px;background:rgba(117,230,200,.10);color:var(--v32-mint)}.v32-quick-title>span .ui-icon{width:18px}.v32-quick-title>div{display:flex;flex-direction:column}.v32-quick-title b{font-size:14px}.v32-quick-title small,.v32-quick-head>span{color:var(--v32-muted);font-size:11px!important}
.v32-quick-card .v3-quick-form{grid-template-columns:230px minmax(300px,1fr) 150px;gap:9px}.v32-quick-card select,.v32-quick-card input{height:48px!important;border-radius:13px!important;background:#091920!important;border-color:var(--v32-line)!important}
.v32-quick-card .v3-add-btn{height:48px!important;border-radius:13px!important;background:linear-gradient(135deg,var(--v32-mint),#63d5d5)!important;color:#062019!important;font-weight:900!important}.v32-quick-card .v3-voice-btn{width:42px;height:42px;border-radius:11px}.v32-quick-card .v3-voice-btn .ui-icon{width:18px}
.v32-main-grid{margin-top:0}.v32-side-stack{grid-template-columns:1fr!important}
.v32-field-help{display:block;margin-top:5px;color:var(--v32-muted);font-size:10px!important;line-height:1.45}
.v32-bottom-nav,.v32-quick-sheet,.v32-mobile-more{display:none}
.v32-sheet-open{overflow:hidden}

/* mobile */
@media(max-width:800px){
 .v32-sidebar,.v32-topbar{display:none!important}
 .content{margin-left:0!important;padding:20px 14px calc(96px + env(safe-area-inset-bottom))!important;max-width:none}
 .v32-dashboard{gap:12px}.v32-dashboard-head{align-items:flex-start}.v32-dashboard-head h1{font-size:30px}.v32-dashboard-head p{font-size:12px}
 .v32-capital-card{width:100%;min-width:0;margin-top:6px}.v32-dashboard-head{display:grid}
 .v32-kpi-grid{grid-template-columns:1fr 1fr;gap:8px}.v32-kpi{min-height:118px;padding:14px}.v32-kpi>strong{font-size:20px}.v32-kpi>span{font-size:10px}.v32-kpi>small{font-size:10px!important}
 .v32-quick-card{display:none!important}
 .v32-bottom-nav{position:fixed;left:0;right:0;bottom:0;z-index:80;display:grid;grid-template-columns:1fr 1fr 78px 1fr 1fr;align-items:end;height:74px;padding:8px 8px calc(7px + env(safe-area-inset-bottom));border-top:1px solid var(--v32-line);background:rgba(5,16,21,.97);backdrop-filter:blur(18px)}
 .v32-bottom-nav>a,.v32-more-button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:52px;border:0;background:transparent;color:#83979d;font:inherit}
 .v32-bottom-nav .ui-icon{width:21px;height:21px}.v32-bottom-nav small{font-size:10px!important}.v32-bottom-nav .v3-active{color:var(--v32-mint)!important}
 .v32-fab{justify-self:center;align-self:start;display:grid;place-items:center;width:62px;height:62px;min-width:62px;min-height:62px;aspect-ratio:1/1;margin-top:-25px;padding:0;border:5px solid #071117;border-radius:50%;background:linear-gradient(145deg,#7ceaca,#59d7ce);color:#05211b;box-shadow:0 9px 24px rgba(60,210,186,.20);appearance:none;touch-action:manipulation;-webkit-touch-callout:none;user-select:none;transition:transform .18s ease,box-shadow .18s ease,background .18s ease}.v32-fab.voice-hold-pending{transform:scale(.94);box-shadow:0 5px 14px rgba(60,210,186,.24)}.v32-fab.voice-hold-active{transform:scale(1.24);background:linear-gradient(145deg,#93f3d8,#63ddd4);box-shadow:0 0 0 8px rgba(117,230,200,.11),0 13px 34px rgba(60,210,186,.34)}.v32-fab.voice-hold-active .ui-icon{width:31px;height:31px}.v32-fab.voice-hold-processing{transform:scale(1.13);box-shadow:0 0 0 6px rgba(117,230,200,.08),0 10px 26px rgba(60,210,186,.24)}.v32-fab-spinner{width:21px;height:21px;border:2px solid rgba(5,33,27,.28);border-top-color:#05211b;border-radius:50%;animation:v32FabSpin .7s linear infinite}@keyframes v32FabSpin{to{transform:rotate(360deg)}}
 .v32-fab .ui-icon{width:28px;height:28px;stroke-width:1.6}
 .v32-quick-sheet,.v32-mobile-more{position:fixed;inset:0;z-index:100;display:block}.v32-quick-sheet[hidden],.v32-mobile-more[hidden]{display:none!important}
 .v32-sheet-backdrop{position:absolute;inset:0;z-index:0;border:0;background:rgba(1,8,11,.74);backdrop-filter:blur(7px)}
 .v32-sheet-panel,.v32-more-panel{position:absolute;z-index:1;left:8px;right:8px;bottom:8px;max-height:calc(100dvh - 22px);overflow:auto;padding:9px 16px 18px;border:1px solid var(--v32-line);border-radius:25px;background:linear-gradient(180deg,#0d2027,#09171d);box-shadow:0 -18px 70px rgba(0,0,0,.48)}
 .v32-sheet-handle{width:42px;height:4px;margin:0 auto 11px;border-radius:4px;background:#385159}
 .v32-sheet-panel header,.v32-more-panel header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:16px}.v32-sheet-panel h2,.v32-more-panel h2{margin:2px 0 2px;font-size:23px}.v32-sheet-panel header p,.v32-more-panel header p{margin:0;color:var(--v32-muted);font-size:11px;line-height:1.45}.v32-sheet-kicker{font-size:9px;font-weight:900;letter-spacing:.14em;text-transform:uppercase;color:var(--v32-mint)}
 .v32-sheet-close{display:grid;place-items:center;flex:0 0 40px;width:40px;height:40px;border:1px solid var(--v32-line);border-radius:13px;background:#10242b;color:#afc0c4}.v32-sheet-close .ui-icon{width:18px}
 .v32-mobile-quick-form{display:grid;gap:12px}.v32-field{display:grid;gap:6px}.v32-field>span{font-size:10px;color:#91a4aa;font-weight:800}.v32-field select,.v32-field input{width:100%;height:52px;border:1px solid var(--v32-line);border-radius:14px;background:#08171d;color:var(--v32-text);padding:0 14px;font-size:15px;outline:none}
 .v32-quick-text-field>div{position:relative}.v32-quick-text-field input{padding-right:56px}.v32-quick-text-field button{position:absolute;right:6px;top:6px;display:grid;place-items:center;width:40px;height:40px;border:0;border-radius:11px;background:rgba(117,230,200,.09);color:var(--v32-mint)}.v32-quick-text-field button.listening,.v32-quick-text-field button.recording{background:rgba(255,127,151,.18);color:var(--v3-red);box-shadow:0 0 0 4px rgba(255,127,151,.08)}.v32-quick-text-field button.processing{opacity:.72}.v32-quick-text-field .ui-icon{width:18px}
 .v32-mobile-chips{display:flex;gap:7px;overflow:auto;padding-bottom:2px}.v32-mobile-chips button{flex:0 0 auto;min-height:37px;padding:0 12px;border:1px solid var(--v32-line);border-radius:999px;background:transparent;color:#a3b5ba;font-size:11px}
 .v32-primary-action{height:52px;border:0;border-radius:14px;background:linear-gradient(135deg,var(--v32-mint),#63d7d4);color:#052019;font-size:14px;font-weight:900}
 .v32-mobile-quick-result{font-size:12px}
 .v32-more-list{display:grid}.v32-more-list a{display:grid;grid-template-columns:38px 1fr auto;align-items:center;gap:11px;min-height:64px;padding:10px 4px;border-bottom:1px solid var(--v32-line);color:inherit}.v32-more-list a:last-child{border-bottom:0}.v32-more-list a:hover{text-decoration:none}.v32-more-list>a>.ui-icon{display:grid;place-items:center;width:38px;height:38px;padding:9px;border-radius:12px;background:rgba(117,230,200,.07);color:var(--v32-mint)}.v32-more-list span{display:flex;flex-direction:column}.v32-more-list b{font-size:13px}.v32-more-list small{margin-top:2px;color:var(--v32-muted);font-size:10px!important}.v32-more-list a:after{content:"›";color:#536b72;font-size:22px}
 .v31-savings-strip{border-radius:18px!important}.v31-savings-icon{background:rgba(117,230,200,.08)!important;color:var(--v32-mint)!important}.v31-savings-icon .ui-icon{width:22px;height:22px}
}
@media(max-width:390px){.v32-kpi-grid{grid-template-columns:1fr 1fr}.v32-fab{width:58px;height:58px;min-width:58px;min-height:58px}.v32-bottom-nav{grid-template-columns:1fr 1fr 70px 1fr 1fr}}


/* ===== mAImoney v3.3 premium polish ===== */
.v33-mobile-profile{display:none}
.v3-panel-head>div,.v3-panel-title>div,.v32-quick-title>div{display:flex;flex-direction:column;align-items:flex-start;gap:4px;min-width:0}
.v3-panel-head>div>small,.v3-panel-title>div>small,.v32-quick-title>div>small{display:block;margin:0!important;line-height:1.42}
.v3-panel-head .v3-section-title,.v3-panel-head b{line-height:1.15}
.v33-goals-cta{display:inline-flex!important;align-items:center;justify-content:center;gap:9px;min-height:52px;padding:0 20px!important;border-color:rgba(117,230,200,.28)!important;background:linear-gradient(135deg,rgba(117,230,200,.13),rgba(117,230,200,.05))!important;font-size:14px!important;font-weight:850!important}
.v33-goals-cta .ui-icon{width:21px;height:21px;color:var(--v32-mint)}
.v33-note-icon{display:grid!important;place-items:center;width:46px!important;height:46px!important;border-radius:14px;background:rgba(117,230,200,.09);color:var(--v32-mint)}
.v33-note-icon .ui-icon{width:24px;height:24px}
.v33-feature-title{align-items:flex-start!important;gap:14px!important}.v33-feature-title>div{gap:5px!important}
.v33-feature-icon{display:grid!important;place-items:center!important;flex:0 0 52px!important;width:52px!important;height:52px!important;border:1px solid rgba(117,230,200,.20)!important;border-radius:16px!important;background:linear-gradient(145deg,rgba(117,230,200,.15),rgba(117,230,200,.06))!important;color:var(--v32-mint)!important;box-shadow:inset 0 1px rgba(255,255,255,.04)}
.v33-feature-icon .ui-icon{width:25px;height:25px;stroke-width:1.65}
.v33-chart-card{position:relative;overflow:hidden;background:radial-gradient(circle at 20% 0%,rgba(117,230,200,.055),transparent 35%),linear-gradient(155deg,#0d2027,#0a181e)!important}
.v33-chart-card:before{content:"";position:absolute;inset:0;pointer-events:none;border-radius:inherit;background:linear-gradient(115deg,rgba(255,255,255,.025),transparent 28%)}
.v33-chart-card canvas{position:relative;z-index:1;margin-top:8px}
.v3-chart-legend{display:flex!important;gap:14px!important;align-items:center}.v3-chart-legend span{display:flex!important;gap:6px;align-items:center;font-size:11px!important;color:#8fa3aa!important}.v3-chart-legend i{width:8px!important;height:8px!important;border-radius:50%!important;box-shadow:0 0 10px currentColor}
.v3-chart-legend i.income{background:#68E4C0!important;color:#68E4C0}.v3-chart-legend i.expense{background:#F47791!important;color:#F47791}
.v33-money-burst{position:fixed;z-index:300;left:50%;top:62%;transform:translate(-50%,-50%) scale(.82);padding:12px 18px;border-radius:999px;font-size:28px;font-weight:950;letter-spacing:-.8px;opacity:0;pointer-events:none;backdrop-filter:blur(12px);transition:transform .82s cubic-bezier(.18,.72,.24,1),opacity .82s ease,filter .82s ease}
.v33-money-burst.income{color:#8AF0CF;background:rgba(10,48,40,.72);text-shadow:0 0 24px rgba(105,232,194,.45);box-shadow:0 0 36px rgba(76,215,179,.16)}
.v33-money-burst.expense{color:#FF8DA4;background:rgba(59,20,29,.72);text-shadow:0 0 24px rgba(255,105,135,.42);box-shadow:0 0 36px rgba(255,96,128,.13)}
.v33-money-burst.go{opacity:1;transform:translate(-50%,-125%) scale(1.08);filter:brightness(1.06)}
@media (prefers-reduced-motion:reduce){.v33-money-burst{transition:opacity .25s ease}.v33-money-burst.go{transform:translate(-50%,-50%)}}
@media(max-width:800px){
 .content{padding-top:12px!important}
 .v33-mobile-profile{display:flex;justify-content:flex-end;align-items:center;gap:7px;min-height:38px;margin:0 2px 12px;color:#9fb2b8;font-size:12px;font-weight:800}
 .v33-mobile-profile img{width:30px;height:27px;object-fit:contain}.v33-mobile-profile span{max-width:140px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 .v3-page-heading{gap:16px!important}.v3-page-heading>div{display:flex;flex-direction:column;gap:5px}.v3-page-heading h1{margin:0!important}.v3-page-heading p{margin:0!important;line-height:1.4}
 .v3-panel-head{align-items:flex-start!important;gap:12px!important}.v3-panel-head>div{gap:5px!important}.v3-panel-head>div>small{margin-top:0!important}
 .v33-goals-cta{width:100%;min-height:56px;font-size:15px!important}
 .v31-money-model-note{align-items:flex-start!important}
 .v33-feature-icon{flex-basis:56px!important;width:56px!important;height:56px!important;border-radius:17px!important}.v33-feature-icon .ui-icon{width:27px;height:27px}
 .v33-chart-card .v3-panel-head{display:grid!important;grid-template-columns:1fr!important}.v3-chart-legend{margin-top:5px}
 .v33-money-burst{top:68%;font-size:26px}
}


/* ===== mAImoney v3.3.1 HOTFIX ===== */
/* Keep the redesigned dark UI readable even when OS/browser uses light color scheme. */
:root{
 --bg:#071117!important;--panel:#0d1d23!important;--panel2:#10242b!important;
 --text:#f3f7f8!important;--muted:#8fa3aa!important;--line:rgba(142,190,193,.14)!important;
 --accent:#75e6c8!important;--accent2:#9df0dc!important;--danger:#ff8b9f!important;--positive:#75e6c8!important;
}
html,body{background-color:#071117!important;color:#f3f7f8!important}
.card,.v3-panel,.v31-account-card,.v331-categories .card{color:#f3f7f8!important}
.btn,.v331-contrast-btn{
 color:#f3f7f8!important;
 background:#12272e!important;
 border-color:rgba(142,190,193,.20)!important;
 text-shadow:none!important;
 opacity:1!important;
}
.btn:hover,.v331-contrast-btn:hover{color:#fff!important;background:#173139!important;border-color:rgba(117,230,200,.38)!important}
.btn.primary{background:linear-gradient(135deg,#75e6c8,#63d7d4)!important;color:#052019!important;border-color:transparent!important}
button:disabled,.btn:disabled{opacity:.48!important}
.v31-account-card{background:linear-gradient(150deg,rgba(255,255,255,.02),rgba(13,29,35,.96))!important}
.v31-account-card h2,.v31-account-card strong,.v31-account-card .btn{color:#f3f7f8!important}
.v331-contrast-btn{display:inline-flex!important;gap:8px;align-items:center;justify-content:center;font-weight:850!important}
.v331-contrast-btn .ui-icon{width:19px;height:19px;color:#75e6c8}
.v331-categories{display:grid;gap:18px}
.v331-categories-grid{display:grid;grid-template-columns:minmax(320px,.9fr) minmax(440px,1.4fr);gap:18px}
.v331-category-create{align-self:start}
.v331-category-form{grid-template-columns:130px 1fr!important}
.v331-category-form .wide{grid-column:1/-1!important}
.v331-category-form button{grid-column:1/-1;min-height:48px}
.v331-category-list{display:grid}
.v331-category-row{display:grid;grid-template-columns:42px 1fr auto;align-items:center;gap:12px;padding:13px 0;border-bottom:1px solid var(--v32-line)}
.v331-category-row:last-child{border-bottom:0}
.v331-category-row>div{display:flex;flex-direction:column;gap:3px;min-width:0}
.v331-category-row b{font-size:13px}.v331-category-row small{font-size:10.5px!important;overflow-wrap:anywhere}
.v331-category-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:rgba(117,230,200,.08);font-size:18px}
.v331-delete-category{min-height:38px!important;padding:0 12px!important;color:#ff9aab!important;background:rgba(255,139,159,.06)!important;border-color:rgba(255,139,159,.18)!important}

/* Full brand splash: same approved Growth-M as app icon and UI. */
.v331-splash{position:fixed;inset:0;z-index:10000;display:grid;place-items:center;background:
 radial-gradient(circle at 50% 35%,rgba(53,215,192,.12),transparent 32%),#041015;
 opacity:0;pointer-events:none;transition:opacity .28s ease}
.v331-splash.show{opacity:1}
.v331-splash.leave{opacity:0}
.v331-splash-brand{display:flex;flex-direction:column;align-items:center;text-align:center;transform:translateY(8px) scale(.97);transition:transform .32s ease}
.v331-splash.show .v331-splash-brand{transform:translateY(0) scale(1)}
.v331-splash-brand img{width:138px;height:104px;object-fit:contain;filter:drop-shadow(0 0 26px rgba(49,230,193,.16))}
.v331-splash-word{margin-top:4px;color:#f5f8f9;font-size:34px;line-height:1;font-weight:950;letter-spacing:-1.7px}
.v331-splash-word span{color:#5be1c7}
.v331-splash-brand small{margin-top:10px;color:#83979d;font-size:10px!important;letter-spacing:.20em;text-transform:uppercase}

/* Stronger visual match to approved logo in desktop brand area. */
.v32-brand img{width:52px!important;height:42px!important;object-fit:contain}
.v32-brand b{font-size:21px!important}.v32-brand b>span{color:#5ce2c8!important}

/* Categories must be present and readable in desktop nav. */
.v32-nav a[href="/categories"] .ui-icon{color:#75e6c8}

/* Auth/onboarding brand also uses the new mark visually. */
.v331-auth-brand{display:flex;flex-direction:column;align-items:center;gap:6px;margin-bottom:10px}
.v331-auth-brand img{width:92px;height:68px}.v331-auth-brand b{font-size:30px;letter-spacing:-1.2px}.v331-auth-brand b span{color:#75e6c8}

@media(max-width:900px){
 .v331-categories-grid{grid-template-columns:1fr}
 .v331-category-form{grid-template-columns:1fr!important}
 .v331-category-form .wide,.v331-category-form button{grid-column:auto!important}
}
@media(max-width:800px){
 .v331-splash-brand img{width:122px;height:92px}.v331-splash-word{font-size:31px}
}


/* ===== mAImoney v3.3.2 logo geometry hotfix ===== */
.v32-brand img,.v33-mobile-profile img,.v331-splash-brand img,.v331-auth-brand img{
 object-fit:contain!important;
 object-position:center!important;
 overflow:visible!important;
}
.v33-mobile-profile img{width:46px!important;height:34px!important;flex:0 0 46px!important}
.v331-splash-brand img{width:172px!important;height:118px!important}
.v32-brand img{width:58px!important;height:42px!important}


/* ===== mAImoney v3.3.3 final brand assets ===== */
.v333-splash{position:fixed;inset:0;z-index:10000;display:grid;place-items:center;background:
 radial-gradient(circle at 50% 42%,rgba(0,177,164,.22),rgba(0,61,76,.10) 24%,transparent 46%),
 linear-gradient(180deg,#02182a 0%,#00131f 48%,#000c17 100%);
 opacity:0;pointer-events:none;transition:opacity .28s ease}
.v333-splash.show{opacity:1}.v333-splash.leave{opacity:0}
.v333-splash-inner{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;transform:translateY(-2vh)}
.v333-splash-mark{width:min(38vw,190px);height:auto;display:block;filter:drop-shadow(0 0 28px rgba(31,230,202,.18))}
.v333-splash-word{margin-top:10px;color:#f6f9fb;font:900 clamp(34px,10vw,48px)/1 Inter,Manrope,system-ui,sans-serif;letter-spacing:-2.1px;text-shadow:0 3px 16px rgba(0,0,0,.28)}
.v333-splash-word span{background:linear-gradient(180deg,#79f3e3,#13d7c2);-webkit-background-clip:text;background-clip:text;color:transparent}
.v333-splash-tagline{margin-top:15px;color:#a9b9c2;font:500 clamp(8px,2.6vw,12px)/1.2 Inter,Manrope,system-ui,sans-serif;letter-spacing:.36em;white-space:nowrap}
.v32-brand img,.v33-mobile-profile img,.v331-auth-brand img{object-fit:contain!important;object-position:center!important;overflow:visible!important}
.v32-brand img{width:58px!important;height:42px!important}
.v33-mobile-profile img{width:52px!important;height:35px!important;flex:0 0 52px!important}
.v331-auth-brand img{width:104px!important;height:auto!important}


/* ===== mAImoney v3.3.4 exact approved brand ===== */
.v334-splash{
 position:fixed;inset:0;z-index:10000;
 display:flex;align-items:center;justify-content:center;
 background:#00131f;
 opacity:0;pointer-events:none;
 transition:opacity .22s ease;
}
.v334-splash.show{opacity:1}
.v334-splash.leave{opacity:0}
.v334-splash>img{
 display:block;width:100%;height:100%;
 object-fit:contain;object-position:center;
}
.v32-brand img{
 width:44px!important;height:44px!important;flex:0 0 44px!important;
 border-radius:12px!important;object-fit:cover!important;object-position:center!important;
 filter:none!important;
}
.v33-mobile-profile img{
 width:36px!important;height:36px!important;flex:0 0 36px!important;
 border-radius:10px!important;object-fit:cover!important;object-position:center!important;
 filter:none!important;
}
.v331-auth-brand img{
 width:84px!important;height:84px!important;
 border-radius:20px!important;object-fit:cover!important;object-position:center!important;
 filter:none!important;
}


/* ===== mAImoney v3.3.5 — exact user-approved raster brand ===== */
.v336-splash{
 position:fixed;inset:0;z-index:10000;
 display:flex;align-items:center;justify-content:center;
 background:#00131f;
 opacity:0;pointer-events:none;
 transition:opacity .22s ease;
}
.v336-splash.show{opacity:1}
.v336-splash.leave{opacity:0}
.v336-splash>img{
 display:block;width:100%;height:100%;
 object-fit:cover;object-position:center;
}
.v32-brand img{
 width:58px!important;height:46px!important;flex:0 0 58px!important;
 border-radius:0!important;object-fit:contain!important;object-position:center!important;
 filter:none!important;overflow:visible!important;
}
.v33-mobile-profile img{
 width:50px!important;height:40px!important;flex:0 0 50px!important;
 border-radius:0!important;object-fit:contain!important;object-position:center!important;
 filter:none!important;overflow:visible!important;
}
.v331-auth-brand img{
 width:108px!important;height:88px!important;
 border-radius:0!important;object-fit:contain!important;object-position:center!important;
 filter:none!important;overflow:visible!important;
}


/* ===== mAImoney v3.3.6 — exact approved raster wiring ===== */
.v336-splash{
 position:fixed;inset:0;z-index:10000;
 display:flex;align-items:center;justify-content:center;
 background:#00131f;
 opacity:0;pointer-events:none;transition:opacity .22s ease;
}
.v336-splash.show{opacity:1}
.v336-splash.leave{opacity:0}
.v336-splash>img{display:block!important;width:auto!important;height:auto!important;max-width:100vw!important;max-height:100vh!important;object-fit:contain!important;object-position:center!important}

/* ===== R7 responsive layout fix ===== */
.v31-admin-grid>*,
.v31-admin-grid .stack,
.v31-admin-grid .grid-2,
.v31-admin-grid label,
.v31-campaign-filters>*,
.v3-filter-grid>*{min-width:0}
.v31-admin-grid input,.v31-admin-grid select,.v31-admin-grid textarea,
.v31-campaign-filters input,.v31-campaign-filters select,
.v3-filter-grid input,.v3-filter-grid select{min-width:0;max-width:100%}
.v31-admin-grid .grid-2{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
@media(max-width:1180px){
  .v31-admin-grid{grid-template-columns:1fr}
}
@media(max-width:800px){
  .v3-filter-grid{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:10px!important
  }
  .v3-filter-grid>*:first-child{grid-column:1/-1!important}
  .v3-filter-grid .btn{width:100%;min-width:0}
  .v31-campaign-filters{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .v31-campaign-filters>input:first-child{grid-column:1/-1!important}
  .v31-campaign-filters .btn{width:100%;min-width:0}
}
@media(max-width:600px){
  .v3-filter-grid,.v31-campaign-filters{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .v3-filter-grid>*:first-child,.v31-campaign-filters>input:first-child{grid-column:1/-1!important}
  .v31-admin-grid .grid-2{grid-template-columns:1fr}
}
@media(max-width:420px){
  .v3-filter-grid,.v31-campaign-filters{grid-template-columns:1fr!important}
  .v3-filter-grid>*:first-child,.v31-campaign-filters>input:first-child{grid-column:auto!important}
}

/* ===== R8 filter text + empty state polish ===== */
.v3-filter-grid input,
.v3-filter-grid select,
.v31-campaign-filters input,
.v31-campaign-filters select{
  box-sizing:border-box!important;
  height:48px!important;
  min-height:48px!important;
  padding-top:0!important;
  padding-bottom:0!important;
  line-height:1.25!important;
}
.v3-filter-grid input,
.v31-campaign-filters input{
  padding-left:18px!important;
  padding-right:18px!important;
}
.v3-filter-grid select,
.v31-campaign-filters select{
  padding-left:18px!important;
  padding-right:40px!important;
}
.v3-filter-grid .btn,
.v31-campaign-filters .btn{
  min-height:48px!important;
}
.v3-operations-table>.empty{
  margin:0!important;
  padding:18px 16px 20px!important;
  box-sizing:border-box;
}

/* ===== R9 filter width balance ===== */
/* More room for long selected values; search intentionally stays compact. */
.v3-filter-grid select,
.v31-campaign-filters select{
  padding-left:16px!important;
  padding-right:28px!important;
}

/* Wide desktop: one row, compact search, roomy selects. */
@media(min-width:1320px){
  .v3-filter-grid{
    grid-template-columns:minmax(220px,260px) repeat(3,minmax(185px,1fr)) auto auto!important;
  }
  .v31-campaign-filters{
    grid-template-columns:minmax(220px,260px) repeat(3,minmax(175px,1fr)) auto auto!important;
  }
}

/* Medium desktop: preserve labels instead of crushing the controls. */
@media(min-width:1181px) and (max-width:1319px){
  .v3-filter-grid{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
  }
  .v3-filter-grid>input:first-child{
    grid-column:1/-1!important;
  }
}

/* Admin has five controls after search, so use a clean 3 + 2 layout. */
@media(min-width:1001px) and (max-width:1319px){
  .v31-campaign-filters{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }
  .v31-campaign-filters>input:first-child{
    grid-column:1/-1!important;
  }
}

/* ===== R10 financial health component alignment ===== */
.v3-health-components{
  align-items:stretch;
}
.v3-health-component{
  display:grid!important;
  grid-template-rows:92px 44px 8px minmax(56px,1fr);
  row-gap:12px;
  align-content:start;
  min-width:0;
  min-height:276px;
  padding:18px!important;
  box-sizing:border-box;
}
.v3-health-component .v3-panel-title{
  display:grid!important;
  grid-template-columns:44px minmax(0,1fr);
  gap:13px;
  align-items:start!important;
  min-width:0;
  min-height:92px;
}
.v3-health-component .v3-round-icon{
  width:44px;
  height:44px;
  border-radius:14px;
  font-size:18px;
  flex:0 0 44px;
}
.v3-health-component .v3-round-icon .ui-icon{
  width:22px;
  height:22px;
}
.v3-health-component .v3-panel-title>div{
  display:grid!important;
  grid-template-rows:40px minmax(38px,1fr);
  align-content:start;
  gap:3px;
  min-width:0;
}
.v3-health-component .v3-panel-title b{
  display:flex;
  align-items:flex-start;
  margin:0;
  font-size:15px!important;
  line-height:1.25;
  font-weight:850;
  color:var(--v3-text);
}
.v3-health-component .v3-panel-title small{
  display:block;
  margin:0!important;
  font-size:11.5px!important;
  line-height:1.35!important;
  color:var(--v3-muted);
}
.v3-health-component .v3-component-score{
  display:flex!important;
  align-items:flex-end!important;
  gap:4px!important;
  margin:0!important;
  min-height:44px;
}
.v3-health-component .v3-component-score strong{
  font-size:34px!important;
  line-height:1;
  letter-spacing:-1px;
}
.v3-health-component .v3-component-score span{
  padding-bottom:3px;
  font-size:11px!important;
  line-height:1;
  color:var(--v3-muted);
}
.v3-health-component>.v3-progress{
  align-self:center;
  width:100%;
  height:8px!important;
  margin:0!important;
  border-radius:999px;
}
.v3-health-component>p{
  align-self:start;
  margin:0!important;
  padding-top:1px;
  font-size:10.5px!important;
  line-height:1.5!important;
  color:var(--v3-muted);
}
@media(max-width:1180px){
  .v3-health-component{
    min-height:258px;
  }
}
@media(max-width:540px){
  .v3-health-component{
    grid-template-rows:auto 42px 8px auto;
    min-height:0;
    row-gap:10px;
  }
  .v3-health-component .v3-panel-title{
    min-height:0;
  }
  .v3-health-component .v3-panel-title>div{
    grid-template-rows:auto auto;
  }
}

/* ===== R12 dashboard redesign ===== */
.v36-dashboard{
  display:grid;
  gap:18px;
  min-width:0;
}
.v36-dashboard a{text-decoration:none}
.v36-hero{
  display:grid;
  grid-template-columns:minmax(0,1.16fr) minmax(360px,.84fr);
  gap:18px;
  align-items:stretch;
  min-width:0;
}
.v36-hero-copy{
  position:relative;
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:24px;
  min-height:190px;
  padding:24px 26px;
  border:1px solid var(--v3-line);
  border-radius:26px;
  overflow:hidden;
  background:
    radial-gradient(circle at 78% 18%,rgba(100,226,192,.10),transparent 34%),
    linear-gradient(140deg,rgba(9,31,39,.98),rgba(8,25,33,.94));
}
.v36-hero-copy:before{
  content:"";
  position:absolute;
  width:220px;height:220px;
  right:-80px;bottom:-120px;
  border-radius:50%;
  border:1px solid rgba(102,231,188,.10);
  box-shadow:0 0 80px rgba(102,231,188,.08);
  pointer-events:none;
}
.v36-hero-copy>div:first-child{position:relative;z-index:1;min-width:0}
.v36-kicker{
  display:block;
  margin-bottom:7px;
  color:var(--v3-mint);
  font-size:11px;
  font-weight:900;
  letter-spacing:.16em;
  text-transform:uppercase;
}
.v36-hero-copy h1{
  margin:0;
  color:var(--v3-text);
  font-size:clamp(32px,4vw,48px);
  line-height:1.02;
  letter-spacing:-.045em;
}
.v36-hero-copy p{
  margin:9px 0 0;
  color:var(--v3-muted);
  font-size:15px;
  line-height:1.5;
}
.v36-capital-chip{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:1fr auto;
  gap:8px 20px;
  align-items:center;
  min-width:230px;
  padding:15px 16px;
  border:1px solid rgba(124,197,202,.18);
  border-radius:20px;
  background:rgba(9,30,38,.72);
  color:inherit;
  backdrop-filter:blur(10px);
}
.v36-capital-chip:hover{border-color:rgba(102,231,188,.38)}
.v36-capital-chip div{display:grid;gap:4px}
.v36-capital-chip small{color:var(--v3-muted);font-size:11px}
.v36-capital-chip strong{font-size:21px;line-height:1;color:var(--v3-text)}
.v36-capital-chip>span{
  display:flex;align-items:center;gap:7px;
  color:var(--v3-mint);font-size:12px;font-weight:850;white-space:nowrap
}
.v36-capital-chip .ui-icon{width:18px;height:18px}
.v36-hero-cover{
  position:relative;
  isolation:isolate;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  min-height:190px;
  padding:18px 20px;
  border:1px solid rgba(124,197,202,.16);
  border-radius:26px;
  overflow:hidden;
  color:#f4fbff;
  background:
    linear-gradient(110deg,rgba(4,15,20,.28),rgba(4,15,20,.18) 45%,rgba(4,15,20,.50)),
    url('/static/img/hero-v3.svg') center/cover no-repeat;
  box-shadow:inset 0 -70px 90px rgba(4,15,20,.22);
}
.v36-hero-cover:after{
  content:"";
  position:absolute;inset:0;z-index:-1;
  background:linear-gradient(180deg,rgba(2,12,16,.04),rgba(2,12,16,.36));
}
.v36-cover-date{align-self:flex-end;font-size:11px;color:rgba(240,250,252,.76)}
.v36-hero-cover blockquote{
  max-width:300px;
  margin:auto 0 12px;
  font-size:17px;
  line-height:1.32;
  font-weight:800;
  text-shadow:0 2px 18px rgba(0,0,0,.38);
}
.v36-hero-cover>span{
  font-size:11px;
  font-weight:800;
  color:rgba(240,250,252,.82);
}

.v36-primary-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
  min-width:0;
}
.v36-primary-card{
  position:relative;
  display:grid;
  grid-template-rows:42px auto auto 1fr;
  align-content:start;
  gap:8px;
  min-width:0;
  min-height:190px;
  padding:18px;
  border:1px solid var(--v3-line);
  border-radius:22px;
  overflow:hidden;
  color:inherit;
  background:
    radial-gradient(circle at 15% 8%,rgba(91,197,185,.06),transparent 38%),
    linear-gradient(155deg,rgba(13,38,47,.96),rgba(9,29,37,.98));
  transition:transform .16s ease,border-color .16s ease,background .16s ease;
}
.v36-primary-card:hover{
  transform:translateY(-2px);
  border-color:rgba(102,231,188,.32);
  background:linear-gradient(155deg,rgba(15,43,51,.98),rgba(9,30,38,.98));
}
.v36-primary-card--available{
  border-color:rgba(102,231,188,.26);
  background:
    radial-gradient(circle at 12% 10%,rgba(102,231,188,.10),transparent 42%),
    linear-gradient(155deg,rgba(12,43,43,.97),rgba(9,31,36,.98));
}
.v36-card-icon,.v36-small-icon,.v36-quick-plus,.v36-motivation-icon,.v36-ai-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(102,231,188,.16);
  background:rgba(102,231,188,.10);
  color:var(--v3-mint);
}
.v36-card-icon{
  width:42px;height:42px;border-radius:14px;
}
.v36-card-icon .ui-icon{width:20px;height:20px}
.v36-card-arrow{
  position:absolute;top:19px;right:18px;
  color:var(--v3-muted);font-size:18px;
}
.v36-primary-card>small{
  color:var(--v3-muted);
  font-size:11.5px;
  line-height:1.2;
}
.v36-primary-card>strong{
  min-width:0;
  color:var(--v3-text);
  font-size:26px;
  line-height:1.08;
  letter-spacing:-.03em;
  overflow-wrap:anywhere;
}
.v36-primary-card>p{
  align-self:end;
  margin:0;
  color:var(--v3-muted);
  font-size:11px;
  line-height:1.4;
}
.v36-primary-card>p.positive{color:var(--v3-mint)}
.v36-primary-card>p.negative{color:#ff9298}
.v36-event-title{font-size:20px!important;line-height:1.18!important}
.v36-progress{
  position:relative;
  width:100%;
  height:8px;
  overflow:hidden;
  border-radius:999px;
  background:rgba(126,164,181,.15);
}
.v36-progress i{
  display:block;height:100%;border-radius:inherit;
  background:linear-gradient(90deg,var(--v3-mint),#65b7f0);
}
.v36-goal-card{grid-template-rows:42px auto auto 8px 1fr}

.v36-control-grid{
  display:grid;
  grid-template-columns:1.02fr 1.45fr 1fr;
  gap:14px;
  min-width:0;
}
.v36-control-card{
  display:grid;
  gap:13px;
  min-width:0;
  min-height:150px;
  padding:17px 18px;
  border:1px solid var(--v3-line);
  border-radius:20px;
  color:inherit;
  background:rgba(11,32,40,.92);
  transition:border-color .16s ease,background .16s ease;
}
.v36-control-card:hover{border-color:rgba(102,231,188,.28);background:rgba(12,36,44,.96)}
.v36-control-head{display:flex;align-items:center;justify-content:space-between;gap:14px}
.v36-control-head>span{color:var(--v3-muted)}
.v36-control-title{display:flex;align-items:center;gap:9px;min-width:0}
.v36-control-title b{font-size:12px;color:var(--v3-text)}
.v36-small-icon{
  flex:0 0 32px;
  width:32px;height:32px;border-radius:11px;
}
.v36-small-icon .ui-icon{width:16px;height:16px}
.v36-daily-body{display:grid;grid-template-columns:1fr auto;gap:16px;align-items:center}
.v36-daily-body>div:first-child{display:grid;gap:7px}
.v36-daily-body strong{font-size:22px;color:var(--v3-text)}
.v36-daily-body small{color:var(--v3-muted);font-size:10px;line-height:1.4}
.v36-day-ring{
  --p:calc(var(--day-progress) * 1%);
  width:70px;height:70px;border-radius:50%;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  background:
    radial-gradient(circle at center,rgba(9,30,38,1) 58%,transparent 60%),
    conic-gradient(var(--v3-mint) var(--p),rgba(117,154,170,.18) 0);
}
.v36-day-ring span{font-size:13px;font-weight:900;color:var(--v3-text)}
.v36-day-ring small{font-size:8px;color:var(--v3-muted)}
.v36-payments{display:grid;gap:8px}
.v36-payments>div{display:grid;grid-template-columns:1fr auto;gap:14px;align-items:center}
.v36-payments span{display:grid;min-width:0}
.v36-payments b{font-size:10.5px;color:var(--v3-text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.v36-payments small{font-size:9px;color:var(--v3-muted)}
.v36-payments strong{font-size:10.5px;color:var(--v3-text);white-space:nowrap}
.v36-payments p{margin:auto 0;color:var(--v3-muted);font-size:11px}
.v36-budget-status{font-size:15px;color:var(--v3-text)}
.v36-control-card>p{margin:0;color:var(--v3-muted);font-size:10px;line-height:1.4}

.v36-quick-card{
  padding:18px;
  border:1px solid rgba(102,231,188,.22);
  border-radius:22px;
  background:
    radial-gradient(circle at 85% 0,rgba(102,231,188,.06),transparent 33%),
    rgba(10,31,39,.94);
}
.v36-quick-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  margin-bottom:13px;
}
.v36-quick-title{display:flex;align-items:center;gap:10px;min-width:0}
.v36-quick-title>div{display:grid;gap:2px}
.v36-quick-title b{font-size:13px;color:var(--v3-text)}
.v36-quick-title small{font-size:9.5px;color:var(--v3-muted)}
.v36-quick-plus{
  width:34px;height:34px;border-radius:12px;flex:0 0 34px
}
.v36-quick-plus .ui-icon{width:17px;height:17px}
.v36-voice-hint{
  display:flex;align-items:center;gap:8px;
  color:var(--v3-muted);font-size:9.5px;font-weight:700;white-space:nowrap
}
.v36-voice-hint i{font-style:normal;font-size:18px;transform:translateY(4px)}
.v36-quick-form{
  display:grid!important;
  grid-template-columns:180px minmax(0,1fr) 130px!important;
  gap:10px!important;
  align-items:stretch;
}
.v36-quick-form select,.v36-quick-form input,.v36-add-btn{height:48px!important;min-height:48px!important}
.v36-quick-form .v3-quick-input{min-width:0}
.v36-voice-btn{width:42px!important;height:42px!important;right:3px!important;top:3px!important}
.v36-add-btn{border-radius:14px!important;font-weight:900!important}
.v36-quick-footer{
  display:flex;align-items:center;justify-content:space-between;gap:16px;
  margin-top:10px;
}
.v36-quick-footer .v3-quick-chips{margin:0}
.v36-quick-footer>small{color:var(--v3-muted);font-size:8.5px;white-space:nowrap}
.v36-alert-strip{margin:0}

.v36-savings-strip{
  display:grid;
  grid-template-columns:1.2fr .9fr .9fr auto;
  gap:18px;
  align-items:center;
  min-width:0;
  padding:15px 18px;
  border:1px solid rgba(102,231,188,.20);
  border-radius:20px;
  color:inherit;
  background:
    linear-gradient(90deg,rgba(102,231,188,.055),transparent 60%),
    rgba(9,30,38,.94);
}
.v36-savings-strip:hover{border-color:rgba(102,231,188,.34)}
.v36-savings-main{display:flex;align-items:center;gap:10px}
.v36-savings-main>div,.v36-savings-strip>div:not(.v36-savings-main){display:grid;gap:3px}
.v36-savings-strip small{font-size:9.5px;color:var(--v3-muted)}
.v36-savings-strip strong,.v36-savings-strip b{font-size:15px;color:var(--v3-text)}
.v36-savings-strip b.positive{color:var(--v3-mint)}
.v36-savings-arrow{font-size:10px;font-weight:800;color:#6ab8f7;white-space:nowrap}

.v36-bottom-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) 310px;
  gap:14px;
  min-width:0;
}
.v36-transactions-panel{
  min-width:0;
  min-height:270px;
  border-radius:22px!important;
}
.v36-transaction-list .v3-transaction{padding-top:10px;padding-bottom:10px}
.v36-empty-operations{
  display:flex;
  align-items:center;
  gap:12px;
  min-height:150px;
  padding:18px;
}
.v36-empty-operations>div{display:grid;gap:5px}
.v36-empty-operations b{font-size:13px;color:var(--v3-text)}
.v36-empty-operations p{margin:0;max-width:520px;color:var(--v3-muted);font-size:10.5px;line-height:1.5}
.v36-motivation-card{
  position:relative;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  justify-content:center;
  min-height:270px;
  padding:24px;
  border:1px solid var(--v3-line);
  border-radius:22px;
  background:
    radial-gradient(circle at 18% 15%,rgba(102,231,188,.12),transparent 28%),
    linear-gradient(150deg,rgba(13,41,47,.98),rgba(10,28,37,.98));
}
.v36-motivation-card:after{
  content:"";position:absolute;width:180px;height:180px;border-radius:50%;
  right:-70px;bottom:-95px;border:1px solid rgba(102,231,188,.09);
}
.v36-motivation-icon{
  width:48px;height:48px;border-radius:16px;margin-bottom:18px
}
.v36-motivation-icon .ui-icon{width:22px;height:22px}
.v36-motivation-card b{font-size:16px;line-height:1.25;color:var(--v3-text)}
.v36-motivation-card p{margin:8px 0 20px;color:var(--v3-muted);font-size:11px;line-height:1.5}
.v36-motivation-card a{font-size:10px;font-weight:850;color:var(--v3-mint)}

.v36-ai-strip{
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  gap:13px;
  align-items:center;
  padding:14px 16px;
  border:1px solid rgba(145,116,225,.22);
  border-radius:18px;
  background:linear-gradient(90deg,rgba(115,89,182,.10),rgba(9,29,38,.95));
  color:inherit;
}
.v36-ai-icon{
  width:34px;height:34px;border-radius:11px;
  border-color:rgba(167,137,237,.18);
  background:rgba(146,111,226,.14);
  color:#bfa6ff
}
.v36-ai-icon .ui-icon{width:17px;height:17px}
.v36-ai-strip>div{display:grid;gap:2px}
.v36-ai-strip b{font-size:11px;color:var(--v3-text)}
.v36-ai-strip p{margin:0;color:var(--v3-muted);font-size:9.5px;line-height:1.4}
.v36-ai-strip>strong{font-size:10px;color:#c9b7ff;white-space:nowrap}

@media(max-width:1280px){
  .v36-hero{grid-template-columns:minmax(0,1.05fr) minmax(330px,.95fr)}
  .v36-hero-copy{align-items:stretch;flex-direction:column}
  .v36-capital-chip{min-width:0;width:min(100%,320px)}
  .v36-primary-card{min-height:184px;padding:16px}
  .v36-primary-card>strong{font-size:23px}
}
@media(max-width:1050px){
  .v36-hero{grid-template-columns:1fr 1fr}
  .v36-primary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .v36-control-grid{grid-template-columns:1fr 1fr}
  .v36-daily-card{grid-column:1/-1}
  .v36-bottom-grid{grid-template-columns:1fr}
  .v36-motivation-card{min-height:200px}
}
@media(max-width:820px){
  .v36-hero{grid-template-columns:1fr}
  .v36-hero-copy{min-height:160px}
  .v36-hero-cover{min-height:170px}
  .v36-quick-form{grid-template-columns:150px minmax(0,1fr)!important}
  .v36-add-btn{grid-column:2}
  .v36-quick-form .v3-quick-input{grid-column:2;grid-row:1}
  .v36-quick-form select{grid-column:1;grid-row:1}
  .v36-savings-strip{grid-template-columns:repeat(3,minmax(0,1fr))}
  .v36-savings-arrow{grid-column:1/-1;justify-self:end}
}
@media(max-width:620px){
  .v36-dashboard{gap:14px}
  .v36-hero-copy,.v36-hero-cover{border-radius:20px}
  .v36-hero-copy{padding:20px}
  .v36-hero-copy h1{font-size:34px}
  .v36-capital-chip{width:100%}
  .v36-primary-grid{
    display:flex;
    overflow-x:auto;
    gap:10px;
    scroll-snap-type:x mandatory;
    padding-bottom:2px;
    scrollbar-width:none;
  }
  .v36-primary-grid::-webkit-scrollbar{display:none}
  .v36-primary-card{
    flex:0 0 min(78vw,270px);
    min-height:182px;
    scroll-snap-align:start;
  }
  .v36-control-grid{grid-template-columns:1fr}
  .v36-daily-card{grid-column:auto}
  .v36-quick-head{align-items:flex-start}
  .v36-voice-hint span{display:none}
  .v36-quick-form{grid-template-columns:1fr!important}
  .v36-quick-form select,
  .v36-quick-form .v3-quick-input,
  .v36-add-btn{grid-column:auto!important;grid-row:auto!important}
  .v36-quick-footer{display:grid;gap:8px}
  .v36-quick-footer>small{white-space:normal}
  .v36-savings-strip{grid-template-columns:1fr 1fr}
  .v36-savings-main{grid-column:1/-1}
  .v36-savings-arrow{grid-column:1/-1}
  .v36-ai-strip{grid-template-columns:auto 1fr}
  .v36-ai-strip>strong{grid-column:2}
}
@media(max-width:420px){
  .v36-hero-copy h1{font-size:30px}
  .v36-hero-cover blockquote{font-size:15px}
  .v36-primary-card{flex-basis:84vw}
  .v36-savings-strip{grid-template-columns:1fr}
  .v36-savings-main,.v36-savings-arrow{grid-column:auto}
  .v36-day-ring{width:64px;height:64px}
}

/* ===== R13 dashboard reference polish ===== */
/* One continuous hero canvas, closer to the approved reference. */
.v36-hero{
  position:relative;
  isolation:isolate;
  display:grid;
  grid-template-columns:minmax(0,1.22fr) minmax(330px,.78fr);
  gap:0;
  min-height:184px;
  border:1px solid rgba(110,169,181,.16);
  border-radius:24px;
  overflow:hidden;
  background:
    linear-gradient(90deg,
      rgba(7,27,34,.97) 0%,
      rgba(7,27,34,.93) 42%,
      rgba(5,22,29,.66) 67%,
      rgba(4,18,25,.38) 100%),
    url('/static/img/hero-v3.svg') right center/62% 100% no-repeat,
    #081d25;
  box-shadow:inset 0 -54px 80px rgba(2,12,17,.16);
}
.v36-hero:after{
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  pointer-events:none;
  background:
    radial-gradient(circle at 75% 12%,rgba(238,236,202,.09),transparent 12%),
    linear-gradient(180deg,rgba(255,255,255,.012),transparent 50%);
}
.v36-hero-copy{
  min-width:0;
  min-height:0;
  padding:24px 18px 22px 25px;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:end;
  gap:22px;
  background:transparent;
  border:0;
  border-radius:0;
  overflow:visible;
}
.v36-hero-copy:before{display:none}
.v36-hero-heading{align-self:center;min-width:0}
.v36-hero-copy h1{
  font-size:clamp(32px,3.6vw,46px);
  line-height:1.02;
  letter-spacing:-.042em;
}
.v36-hero-copy p{
  margin-top:8px;
  font-size:14px;
  color:rgba(207,221,226,.72);
}
.v36-kicker{
  margin-bottom:7px;
  font-size:10px;
  letter-spacing:.17em;
}
.v36-capital-chip{
  align-self:center;
  min-width:215px;
  max-width:240px;
  padding:13px 14px;
  border-radius:17px;
  border-color:rgba(128,190,197,.19);
  background:rgba(5,23,30,.46);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.025);
  backdrop-filter:blur(8px);
}
.v36-capital-chip small{font-size:10px}
.v36-capital-chip strong{font-size:19px}
.v36-capital-chip>span{font-size:11px}
.v36-hero-quote{
  position:relative;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  min-width:0;
  min-height:0;
  padding:17px 22px 19px 22px;
  border:0;
  background:transparent;
  color:#f4fbff;
}
.v36-cover-date{
  align-self:flex-end;
  font-size:9.5px;
  color:rgba(239,247,249,.72);
}
.v36-hero-quote blockquote{
  max-width:310px;
  margin:auto 0 9px;
  font-size:15.5px;
  line-height:1.28;
  font-weight:820;
  color:#f3f8fa;
  text-shadow:0 2px 16px rgba(0,0,0,.38);
}
.v36-hero-quote>a{
  width:max-content;
  color:rgba(237,247,249,.72);
  font-size:9.5px;
  font-weight:760;
}

/* More compact cards and semantic icon language from the reference. */
.v36-primary-grid{gap:10px}
.v36-primary-card{
  min-height:154px;
  padding:15px 15px 14px;
  border-radius:17px;
  grid-template-rows:38px auto auto 1fr;
  gap:6px;
  background:
    radial-gradient(circle at 14% 6%,rgba(102,231,188,.045),transparent 38%),
    linear-gradient(155deg,rgba(13,37,46,.95),rgba(10,29,37,.98));
}
.v36-primary-card--available{
  border-color:rgba(102,231,188,.31);
  background:
    radial-gradient(circle at 15% 8%,rgba(102,231,188,.11),transparent 43%),
    linear-gradient(155deg,rgba(11,43,42,.96),rgba(9,31,36,.98));
}
.v36-primary-card>small{font-size:10.5px}
.v36-primary-card>strong{font-size:23px}
.v36-primary-card>p{font-size:9.5px}
.v36-goal-card{grid-template-rows:38px auto auto 7px 1fr}
.v36-event-title{font-size:18px!important}
.v36-card-arrow{top:15px;right:14px;font-size:15px}
.v36-card-icon{
  width:38px;
  height:38px;
  border-radius:12px;
  border-color:rgba(191,208,215,.10);
  background:rgba(176,195,203,.08);
  color:#d3dde2;
}
.v36-card-icon .ui-icon{width:19px;height:19px}
.v36-card-icon--mint{
  color:#6ce6c6;
  border-color:rgba(102,231,188,.18);
  background:rgba(102,231,188,.13);
}
.v36-card-icon--neutral{
  color:#d3dde2;
  border-color:rgba(190,205,212,.11);
  background:rgba(184,199,207,.10);
}
.v36-card-icon--blue{
  color:#73bdf7;
  border-color:rgba(105,183,242,.16);
  background:rgba(97,165,221,.12);
}

/* Secondary row: distinguish day, payments and budget instead of repeating clocks. */
.v36-control-grid{
  grid-template-columns:1.05fr 1.5fr 1fr;
  gap:10px;
}
.v36-control-card{
  min-height:112px;
  padding:13px 14px;
  border-radius:16px;
  gap:9px;
}
.v36-control-title{gap:8px}
.v36-control-title b{font-size:10.5px}
.v36-small-icon{
  width:28px;height:28px;flex-basis:28px;border-radius:9px;
  color:#d3dde2;
  border-color:rgba(190,205,212,.10);
  background:rgba(184,199,207,.08);
}
.v36-small-icon .ui-icon{width:14px;height:14px}
.v36-small-icon--sun{
  color:#ffd15d;
  border-color:rgba(255,204,87,.16);
  background:rgba(255,196,71,.09);
}
.v36-daily-body strong{font-size:19px}
.v36-daily-body small{font-size:8.7px}
.v36-day-ring{width:60px;height:60px}
.v36-day-ring span{font-size:11px}
.v36-payments{gap:5px}
.v36-payments b,.v36-payments strong{font-size:9.4px}
.v36-payments small{font-size:8.2px}
.v36-budget-status{font-size:13px}
.v36-control-card>p{font-size:8.8px}
.v36-progress{height:7px}

/* Quick add: reference-style microphone is the strongest action. */
.v36-quick-card{
  padding:14px 15px 15px;
  border-radius:17px;
  border-color:rgba(125,179,187,.16);
  background:
    linear-gradient(90deg,rgba(14,36,43,.98),rgba(11,31,39,.97));
}
.v36-quick-head{margin-bottom:9px}
.v36-quick-title b{font-size:11.5px}
.v36-quick-title small{font-size:8.5px}
.v36-quick-plus{
  width:30px;height:30px;flex-basis:30px;border-radius:9px;
}
.v36-quick-plus .ui-icon{width:15px;height:15px}
.v36-voice-hint{
  gap:6px;
  font-size:8.3px;
  color:rgba(208,222,227,.62);
}
.v36-voice-hint i{font-size:16px;transform:translateY(4px)}
.v36-quick-form{
  grid-template-columns:145px minmax(0,1fr) 105px 58px!important;
  gap:8px!important;
  align-items:center!important;
}
.v36-quick-form select,
.v36-quick-form input,
.v36-add-btn{
  height:46px!important;
  min-height:46px!important;
}
.v36-quick-form select{
  border-radius:12px!important;
  padding-left:13px!important;
}
.v36-quick-input{
  min-width:0;
}
.v36-quick-input input{
  padding-right:14px!important;
  border-radius:12px!important;
}
.v36-add-btn{
  border-radius:12px!important;
  border:1px solid rgba(102,231,188,.24)!important;
  background:rgba(102,231,188,.10)!important;
  color:var(--v3-mint)!important;
  box-shadow:none!important;
}
.v36-add-btn:hover{
  background:rgba(102,231,188,.16)!important;
  border-color:rgba(102,231,188,.38)!important;
}
.v36-voice-btn{
  position:static!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:56px!important;
  height:56px!important;
  min-width:56px!important;
  min-height:56px!important;
  padding:0!important;
  border:1px solid rgba(163,255,232,.72)!important;
  border-radius:50%!important;
  background:linear-gradient(145deg,#78efd2,#58d8bf)!important;
  color:#06262a!important;
  box-shadow:
    0 0 0 4px rgba(102,231,188,.07),
    0 7px 22px rgba(58,209,177,.19),
    inset 0 1px 0 rgba(255,255,255,.42)!important;
  cursor:pointer;
  transition:transform .14s ease,box-shadow .14s ease,filter .14s ease;
}
.v36-voice-btn:hover{
  transform:translateY(-1px) scale(1.025);
  filter:brightness(1.04);
  box-shadow:
    0 0 0 5px rgba(102,231,188,.10),
    0 9px 26px rgba(58,209,177,.25)!important;
}
.v36-voice-btn:active{transform:scale(.97)}
.v36-voice-btn .ui-icon{
  width:25px!important;
  height:25px!important;
  stroke-width:1.9;
}
.v36-voice-btn.listening,
.v36-voice-btn.voice-listening{
  box-shadow:
    0 0 0 7px rgba(102,231,188,.13),
    0 0 30px rgba(86,226,196,.38)!important;
}
.v36-quick-footer{margin-top:8px}
.v36-quick-footer>small{font-size:7.8px}

/* Tighten lower sections to the reference proportions. */
.v36-savings-strip{
  padding:12px 15px;
  border-radius:16px;
}
.v36-savings-strip small{font-size:8.7px}
.v36-savings-strip strong,.v36-savings-strip b{font-size:13.5px}
.v36-bottom-grid{grid-template-columns:minmax(0,1fr) 250px;gap:10px}
.v36-transactions-panel{min-height:230px;border-radius:17px!important}
.v36-motivation-card{
  min-height:230px;
  padding:18px;
  border-radius:17px;
}
.v36-motivation-icon{width:42px;height:42px;border-radius:13px;margin-bottom:14px}
.v36-motivation-card b{font-size:14px}
.v36-motivation-card p{font-size:9.6px}
.v36-ai-strip{padding:11px 14px;border-radius:15px}

@media(max-width:1280px){
  .v36-hero{
    grid-template-columns:minmax(0,1.12fr) minmax(300px,.88fr);
  }
  .v36-hero-copy{
    grid-template-columns:1fr;
    gap:12px;
  }
  .v36-capital-chip{
    align-self:end;
    width:min(100%,280px);
    max-width:280px;
  }
  .v36-primary-card{min-height:150px}
}
@media(max-width:1050px){
  .v36-hero{
    grid-template-columns:1fr;
    min-height:0;
    background:
      linear-gradient(90deg,rgba(7,27,34,.96),rgba(5,22,29,.66)),
      url('/static/img/hero-v3.svg') right bottom/75% auto no-repeat,
      #081d25;
  }
  .v36-hero-copy{
    grid-template-columns:minmax(0,1fr) auto;
    padding-bottom:10px;
  }
  .v36-hero-quote{
    min-height:112px;
    padding-top:6px;
  }
  .v36-hero-quote blockquote{max-width:420px;margin:12px 0 8px}
  .v36-control-grid{grid-template-columns:1fr 1fr}
  .v36-daily-card{grid-column:1/-1}
}
@media(max-width:820px){
  .v36-hero-copy{grid-template-columns:1fr}
  .v36-capital-chip{width:100%;max-width:320px}
  .v36-quick-form{
    grid-template-columns:130px minmax(0,1fr) 56px!important;
  }
  .v36-add-btn{
    grid-column:2!important;
    width:100%;
  }
  .v36-voice-btn{
    grid-column:3!important;
    grid-row:1/3!important;
    align-self:center!important;
  }
  .v36-quick-form select{grid-column:1!important;grid-row:1!important}
  .v36-quick-input{grid-column:2!important;grid-row:1!important}
}
@media(max-width:620px){
  .v36-hero{
    border-radius:19px;
    background:
      linear-gradient(180deg,rgba(7,27,34,.93),rgba(5,22,29,.70)),
      url('/static/img/hero-v3.svg') right bottom/110% auto no-repeat,
      #081d25;
  }
  .v36-hero-copy{padding:19px 18px 8px}
  .v36-hero-copy h1{font-size:32px}
  .v36-hero-copy p{font-size:12.5px}
  .v36-hero-quote{padding:6px 18px 17px;min-height:105px}
  .v36-hero-quote blockquote{font-size:14px}
  .v36-primary-card{min-height:160px}
  .v36-control-grid{grid-template-columns:1fr}
  .v36-daily-card{grid-column:auto}
  .v36-quick-form{
    grid-template-columns:minmax(0,1fr) 58px!important;
  }
  .v36-quick-form select{
    grid-column:1!important;
    grid-row:1!important;
  }
  .v36-quick-input{
    grid-column:1!important;
    grid-row:2!important;
  }
  .v36-add-btn{
    grid-column:1!important;
    grid-row:3!important;
  }
  .v36-voice-btn{
    grid-column:2!important;
    grid-row:1/4!important;
  }
}
@media(max-width:420px){
  .v36-capital-chip{
    grid-template-columns:1fr;
    gap:7px;
  }
  .v36-hero-copy h1{font-size:29px}
  .v36-voice-btn{
    width:54px!important;
    height:54px!important;
    min-width:54px!important;
    min-height:54px!important;
  }
}

/* ===== R14 dashboard state + action polish ===== */
/* Reference-style SVG arrows. */
.v36-card-arrow,
.v36-control-arrow,
.v36-inline-arrow{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color:rgba(214,225,230,.72);
}
.v36-card-arrow .ui-icon{
  width:16px;
  height:16px;
  stroke-width:1.55;
}
.v36-control-arrow .ui-icon{
  width:14px;
  height:14px;
  stroke-width:1.55;
}
.v36-inline-arrow{
  margin-left:3px;
  vertical-align:-2px;
}
.v36-inline-arrow .ui-icon{
  width:12px;
  height:12px;
  stroke-width:1.55;
}
.v36-voice-hint i{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  transform:none!important;
}
.v36-voice-hint i .ui-icon{
  width:22px;
  height:22px;
  stroke-width:1.5;
}

/* Dynamic card states: first line + quiet explanatory second line. */
.v36-primary-card>p.v36-card-state{
  display:flex;
  align-items:flex-start;
  gap:6px;
  min-width:0;
  align-self:end;
  margin:0;
  line-height:1.18;
}
.v36-card-state>.ui-icon{
  flex:0 0 15px;
  width:15px;
  height:15px;
  margin-top:1px;
  stroke-width:1.65;
}
.v36-card-state>span{
  display:grid;
  gap:2px;
  min-width:0;
  font-size:9.5px;
  font-weight:730;
}
.v36-card-state>span>small{
  color:var(--v3-muted);
  font-size:8px;
  font-weight:500;
  line-height:1.15;
}
.v36-card-state.positive>.ui-icon,
.v36-card-state.positive>span{color:var(--v3-mint)}
.v36-card-state.negative>.ui-icon,
.v36-card-state.negative>span{color:#ff9298}
.v36-event-note{
  margin:0!important;
  color:var(--v3-muted)!important;
  font-size:8.6px!important;
  line-height:1.25!important;
}
.v36-event-note b{
  color:var(--v3-text);
  font-size:9.4px;
  font-weight:760;
}

/* Day donut: both value and label stay inside the hole. */
.v36-day-ring{
  position:relative;
  flex:0 0 76px;
  width:76px!important;
  height:76px!important;
  min-width:76px;
  min-height:76px;
  padding:0!important;
  overflow:hidden;
  border-radius:50%;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
}
.v36-day-ring-copy{
  position:relative;
  z-index:1;
  width:48px;
  min-width:48px;
  max-width:48px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  line-height:1;
  pointer-events:none;
}
.v36-day-ring-copy strong{
  display:block;
  margin:0 0 3px!important;
  padding:0!important;
  font-size:13px!important;
  line-height:1!important;
  font-weight:900!important;
  color:var(--v3-text)!important;
}
.v36-day-ring-copy small{
  display:block;
  width:48px;
  margin:0!important;
  padding:0!important;
  font-size:7.4px!important;
  line-height:1.08!important;
  letter-spacing:0!important;
  color:var(--v3-muted)!important;
  white-space:normal!important;
  text-align:center;
}

/* Plus and microphone are twin circular primary actions. */
.v36-quick-form{
  grid-template-columns:145px minmax(0,1fr) 58px 58px!important;
  gap:8px!important;
  align-items:center!important;
}
.v36-add-btn,
.v36-voice-btn{
  position:static!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:56px!important;
  height:56px!important;
  min-width:56px!important;
  min-height:56px!important;
  padding:0!important;
  border:1px solid rgba(163,255,232,.72)!important;
  border-radius:50%!important;
  background:linear-gradient(145deg,#78efd2,#58d8bf)!important;
  color:#06262a!important;
  box-shadow:
    0 0 0 4px rgba(102,231,188,.07),
    0 7px 22px rgba(58,209,177,.19),
    inset 0 1px 0 rgba(255,255,255,.42)!important;
  cursor:pointer;
  transition:transform .14s ease,box-shadow .14s ease,filter .14s ease;
}
.v36-add-btn:hover,
.v36-voice-btn:hover{
  transform:translateY(-1px) scale(1.025);
  filter:brightness(1.04);
  background:linear-gradient(145deg,#78efd2,#58d8bf)!important;
  border-color:rgba(183,255,237,.84)!important;
  box-shadow:
    0 0 0 5px rgba(102,231,188,.10),
    0 9px 26px rgba(58,209,177,.25)!important;
}
.v36-add-btn:active,
.v36-voice-btn:active{transform:scale(.97)}
.v36-add-btn .ui-icon{
  width:25px!important;
  height:25px!important;
  stroke-width:2!important;
}
.v36-voice-btn .ui-icon{
  width:25px!important;
  height:25px!important;
  stroke-width:1.9!important;
}

/* Keep quick input itself calm; actions carry the accent. */
.v36-quick-form select,
.v36-quick-form input{
  height:46px!important;
  min-height:46px!important;
}
.v36-quick-input input{padding-right:14px!important}

@media(max-width:1050px){
  .v36-day-ring{
    flex-basis:74px;
    width:74px!important;
    height:74px!important;
    min-width:74px;
    min-height:74px;
  }
}
@media(max-width:820px){
  .v36-quick-form{
    grid-template-columns:130px minmax(0,1fr) 56px 56px!important;
  }
  .v36-quick-form select{
    grid-column:1!important;
    grid-row:1!important;
  }
  .v36-quick-input{
    grid-column:2!important;
    grid-row:1!important;
  }
  .v36-add-btn{
    grid-column:3!important;
    grid-row:1!important;
  }
  .v36-voice-btn{
    grid-column:4!important;
    grid-row:1!important;
  }
}
@media(max-width:620px){
  .v36-quick-form{
    grid-template-columns:minmax(0,1fr) 56px 56px!important;
    align-items:center!important;
  }
  .v36-quick-form select{
    grid-column:1/-1!important;
    grid-row:1!important;
  }
  .v36-quick-input{
    grid-column:1!important;
    grid-row:2!important;
  }
  .v36-add-btn{
    grid-column:2!important;
    grid-row:2!important;
  }
  .v36-voice-btn{
    grid-column:3!important;
    grid-row:2!important;
  }
  .v36-day-ring{
    flex-basis:72px;
    width:72px!important;
    height:72px!important;
    min-width:72px;
    min-height:72px;
  }
}
@media(max-width:420px){
  .v36-quick-form{
    grid-template-columns:minmax(0,1fr) 54px 54px!important;
  }
  .v36-add-btn,
  .v36-voice-btn{
    width:52px!important;
    height:52px!important;
    min-width:52px!important;
    min-height:52px!important;
  }
  .v36-day-ring{
    flex-basis:70px;
    width:70px!important;
    height:70px!important;
    min-width:70px;
    min-height:70px;
  }
  .v36-day-ring-copy strong{font-size:12px!important}
  .v36-day-ring-copy small{font-size:7px!important}
}



/* ===== R15 mobile dashboard harmony ===== */
@media(max-width:800px){
  .v36-dashboard{
    gap:12px!important;
    padding-bottom:92px;
    overflow-x:clip;
  }
  .v36-hero{
    grid-template-columns:1fr!important;
    min-height:0!important;
    border-radius:20px!important;
    background:
      linear-gradient(180deg,rgba(7,27,34,.94),rgba(5,22,29,.70)),
      url('/static/img/hero-v3.svg') right bottom/105% auto no-repeat,
      #081d25!important;
  }
  .v36-hero-copy{
    min-height:0!important;
    padding:17px 15px 7px!important;
    grid-template-columns:1fr!important;
    gap:9px!important;
    align-items:start!important;
  }
  .v36-hero-heading h1{
    font-size:31px!important;
    line-height:1.04!important;
    letter-spacing:-1.25px!important;
  }
  .v36-hero-heading p{
    margin-top:5px!important;
    font-size:11.5px!important;
    line-height:1.35!important;
  }
  .v36-kicker{font-size:9px!important;margin-bottom:5px!important}
  .v36-capital-chip{
    width:min(100%,270px)!important;
    max-width:none!important;
    min-width:0!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    gap:4px 10px!important;
    padding:10px 12px!important;
    border-radius:14px!important;
  }
  .v36-capital-chip strong{font-size:17px!important}
  .v36-capital-chip>span{font-size:10px!important}
  .v36-hero-quote{
    min-height:84px!important;
    padding:3px 15px 13px!important;
  }
  .v36-cover-date{font-size:8px!important}
  .v36-hero-quote blockquote{
    max-width:310px!important;
    margin:7px 0 6px!important;
    font-size:13.5px!important;
    line-height:1.23!important;
  }
  .v36-hero-quote>a{font-size:8px!important}

  .v36-primary-grid{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:10px!important;
    overflow:visible!important;
    scroll-snap-type:none!important;
    padding:0!important;
  }
  .v36-primary-card{
    flex:none!important;
    width:auto!important;
    min-width:0!important;
    min-height:142px!important;
    padding:13px!important;
    border-radius:17px!important;
    grid-template-rows:34px auto auto 1fr!important;
    gap:6px!important;
  }
  .v36-goal-card{grid-template-rows:34px auto auto 7px 1fr!important}
  .v36-card-icon{width:34px!important;height:34px!important;border-radius:11px!important}
  .v36-card-icon .ui-icon{width:17px!important;height:17px!important}
  .v36-card-arrow{top:13px!important;right:13px!important}
  .v36-primary-card>small{font-size:9.5px!important}
  .v36-primary-card>strong{font-size:20px!important}
  .v36-event-title{font-size:16px!important}
  .v36-card-state>span{font-size:8.8px!important}
  .v36-card-state>span>small{font-size:7.5px!important}

  .v36-control-grid{grid-template-columns:1fr!important;gap:10px!important}
  .v36-daily-card{grid-column:auto!important}
  .v36-control-card{
    min-height:0!important;
    padding:13px!important;
    border-radius:16px!important;
    gap:9px!important;
  }
  .v36-daily-body{grid-template-columns:minmax(0,1fr) 74px!important;gap:12px!important}
  .v36-payments{gap:6px!important}

  .v36-quick-card{
    padding:13px!important;
    border-radius:18px!important;
  }
  .v36-quick-head{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    align-items:start!important;
    gap:10px!important;
    margin-bottom:10px!important;
  }
  .v36-quick-plus{display:none!important}
  .v36-quick-title>div{gap:3px!important}
  .v36-quick-title b{font-size:11.5px!important;line-height:1.2!important}
  .v36-quick-title small{font-size:8.4px!important;line-height:1.35!important}
  .v36-voice-hint{align-self:start!important;font-size:7.8px!important;gap:4px!important}
  .v36-voice-hint span{display:inline!important}
  .v36-voice-hint i .ui-icon{width:18px!important;height:18px!important}
  .v36-quick-footer{display:grid!important;gap:8px!important;margin-top:9px!important}
  .v36-quick-footer .v3-quick-chips{overflow:visible!important;flex-wrap:wrap!important}
  .v36-quick-footer>small{font-size:7.7px!important;white-space:normal!important}

  .v36-savings-strip{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:8px!important;
    padding:12px 13px!important;
    border-radius:17px!important;
  }
  .v36-savings-main{grid-column:auto!important;min-width:0!important}
  .v36-savings-main>div,.v36-savings-strip>div{min-width:0!important}
  .v36-savings-strip small{font-size:8px!important;white-space:nowrap}
  .v36-savings-strip strong,.v36-savings-strip b{font-size:12px!important;overflow-wrap:anywhere}
  .v36-savings-arrow{grid-column:1/-1!important;justify-self:end!important;font-size:8.5px!important}

  .v36-bottom-grid{grid-template-columns:1fr!important;gap:10px!important}
  .v36-transactions-panel{min-height:0!important;border-radius:17px!important}
  .v36-empty-operations{min-height:120px!important;padding:14px!important}
  .v36-motivation-card{min-height:165px!important;padding:17px!important;border-radius:17px!important}
  .v36-ai-strip{grid-template-columns:auto minmax(0,1fr)!important;gap:10px!important;padding:11px 12px!important}
  .v36-ai-strip>strong{grid-column:2!important;white-space:normal!important}
}

@media(max-width:520px){
  .v36-dashboard{gap:10px!important}
  .v36-hero-copy{padding:15px 13px 5px!important}
  .v36-hero-heading h1{font-size:28px!important}
  .v36-capital-chip{width:100%!important;grid-template-columns:minmax(0,1fr) auto!important}
  .v36-hero-quote{min-height:76px!important;padding:2px 13px 11px!important}
  .v36-hero-quote blockquote{font-size:12.5px!important;margin:5px 0!important}

  .v36-primary-grid{grid-template-columns:1fr!important}
  .v36-primary-card{
    min-height:132px!important;
    grid-template-rows:32px auto auto 1fr!important;
  }
  .v36-goal-card{grid-template-rows:32px auto auto 7px 1fr!important}
  .v36-primary-card>strong{font-size:21px!important}

  .v36-quick-head{gap:8px!important}
  .v36-voice-hint{font-size:7.3px!important}

  .v36-savings-strip{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px!important}
  .v36-savings-main .v36-small-icon{display:none!important}
  .v36-savings-strip small{font-size:7.4px!important}
  .v36-savings-strip strong,.v36-savings-strip b{font-size:11.5px!important}
}

@media(max-width:380px){
  .v36-hero-heading h1{font-size:26px!important}
  .v36-hero-heading p{font-size:10.8px!important}
  .v36-voice-hint span{display:none!important}
  .v36-savings-strip{grid-template-columns:1fr 1fr!important}
  .v36-savings-main{grid-column:1/-1!important}
  .v36-savings-main .v36-small-icon{display:flex!important}
}

 /* ===== R16 mobile KPI 2x2 only ===== */
@media(max-width:520px){
  .v36-primary-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}

 /* ===== R17 quick add text polish ===== */
.v36-quick-footer{
  justify-content:flex-start!important;
}
.v36-quick-example{
  display:block;
  color:var(--v3-muted);
  font-size:9.3px!important;
  line-height:1.4;
  white-space:normal!important;
}
@media(max-width:620px){
  .v36-quick-example{
    font-size:9px!important;
  }
}

 /* R17 quick example specificity fix */
.v36-quick-footer>.v36-quick-example{
  font-size:9.3px!important;
}
@media(max-width:620px){
  .v36-quick-footer>.v36-quick-example{
    font-size:9px!important;
  }
}

/* ===== R18 analytics reference redesign ===== */
.v38-analytics{
  display:grid;
  gap:12px;
  min-width:0;
}
.v38-heading{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:22px;
  padding:22px 18px 8px;
  min-width:0;
}
.v38-heading h1{
  margin:0;
  color:var(--v3-text);
  font-size:38px;
  line-height:1;
  letter-spacing:-.045em;
}
.v38-heading p{
  margin:8px 0 0;
  color:var(--v3-muted);
  font-size:13px;
}
.v38-filter-row{
  display:flex;
  align-items:center;
  gap:10px;
}
.v38-month-chip{
  display:flex;
  align-items:center;
  gap:8px;
  height:42px;
  padding:0 13px;
  border:1px solid var(--v3-line);
  border-radius:12px;
  color:var(--v3-text);
  background:rgba(11,31,39,.92);
  font-size:11px;
  white-space:nowrap;
}
.v38-month-chip .ui-icon{width:16px;height:16px;color:var(--v3-muted)}
.v38-period-tabs{
  display:flex;
  align-items:center;
  gap:2px;
  padding:4px;
  border:1px solid var(--v3-line);
  border-radius:12px;
  background:rgba(11,31,39,.92);
}
.v38-period-tabs a{
  min-width:56px;
  padding:9px 11px;
  border-radius:9px;
  color:var(--v3-muted);
  font-size:9.5px;
  font-weight:750;
  text-align:center;
  white-space:nowrap;
}
.v38-period-tabs a.active{
  color:#0a2a28;
  background:linear-gradient(135deg,#79e9ce,#5fd7bd);
  box-shadow:0 3px 12px rgba(80,220,190,.16);
}

.v38-card{
  min-width:0;
  border:1px solid var(--v3-line);
  border-radius:18px;
  background:
    radial-gradient(circle at 10% 0,rgba(83,206,183,.035),transparent 34%),
    rgba(10,29,37,.96);
  overflow:hidden;
}
.v38-card-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  min-width:0;
  padding:14px 15px 8px;
}
.v38-title-group{
  display:flex;
  align-items:center;
  gap:9px;
  min-width:0;
}
.v38-title-group>div{
  display:grid;
  gap:2px;
  min-width:0;
}
.v38-title-group b{
  color:var(--v3-text);
  font-size:12px;
  line-height:1.2;
}
.v38-title-group small{
  color:var(--v3-muted);
  font-size:8.8px;
  line-height:1.3;
}
.v38-icon{
  flex:0 0 32px;
  display:flex;
  align-items:center;
  justify-content:center;
  width:32px;
  height:32px;
  border:1px solid rgba(143,184,194,.11);
  border-radius:10px;
  color:#c8d6dc;
  background:rgba(150,177,187,.07);
}
.v38-icon--mint{
  color:var(--v3-mint);
  border-color:rgba(102,231,188,.17);
  background:rgba(102,231,188,.10);
}
.v38-icon .ui-icon{width:16px;height:16px}
.v38-card-head>a{
  display:flex;
  align-items:center;
  gap:4px;
  color:var(--v3-mint);
  font-size:8.5px;
  font-weight:800;
  white-space:nowrap;
}
.v38-card-head>a span{font-size:12px}

.v38-flow-grid{
  display:grid;
  grid-template-columns:minmax(0,1.55fr) 290px;
  gap:10px;
  min-width:0;
}
.v38-cashflow-card{min-height:310px}
.v38-legend{
  display:flex;
  align-items:center;
  gap:12px;
  color:var(--v3-muted);
  font-size:8.5px;
}
.v38-legend span{display:flex;align-items:center;gap:5px}
.v38-legend i{
  width:7px;height:7px;border-radius:50%;
}
.v38-legend i.income{background:#63dfbd}
.v38-legend i.expense{background:#fb7890}
.v38-chart-wrap{
  position:relative;
  min-width:0;
}
.v38-cashflow-wrap{
  height:250px;
  padding:0 8px 8px;
}
.v38-cashflow-wrap canvas{
  display:block;
  width:100%!important;
  height:100%!important;
}
.v38-chart-empty{
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
  color:var(--v3-muted);
  font-size:10px;
}
.v38-flow-metrics{
  display:grid;
  grid-template-rows:repeat(3,1fr);
  gap:8px;
  min-width:0;
}
.v38-flow-stat{
  display:grid;
  grid-template-columns:44px minmax(0,1fr) auto;
  align-items:center;
  gap:10px;
  min-width:0;
  padding:13px;
  border:1px solid var(--v3-line);
  border-radius:16px;
  background:rgba(11,31,39,.96);
}
.v38-stat-icon{
  display:flex;
  align-items:center;
  justify-content:center;
  width:42px;height:42px;
  border-radius:13px;
  border:1px solid rgba(135,177,186,.12);
  background:rgba(154,179,189,.07);
}
.v38-stat-icon.positive{
  color:var(--v3-mint);
  background:rgba(102,231,188,.10);
  border-color:rgba(102,231,188,.16);
}
.v38-stat-icon.negative{
  color:#fb7890;
  background:rgba(251,120,144,.10);
  border-color:rgba(251,120,144,.13);
}
.v38-stat-icon .ui-icon{width:20px;height:20px}
.v38-stat-main{
  display:grid;
  gap:2px;
  min-width:0;
}
.v38-stat-main small{font-size:8.5px;color:var(--v3-muted)}
.v38-stat-main strong{
  color:var(--v3-text);
  font-size:18px;
  line-height:1.05;
  white-space:nowrap;
}
.v38-stat-change{
  display:grid;
  gap:3px;
  justify-items:end;
  font-size:9px;
  font-weight:800;
  white-space:nowrap;
}
.v38-stat-change small{
  color:var(--v3-muted);
  font-size:7px;
  font-weight:500;
}
.v38-stat-change>span{color:var(--v3-muted)}

.v38-middle-grid{
  display:grid;
  grid-template-columns:minmax(0,1.08fr) minmax(320px,.92fr);
  gap:10px;
  min-width:0;
}
.v38-category-card,.v38-subscriptions-card{min-height:260px}
.v38-category-layout{
  display:grid;
  grid-template-columns:185px minmax(0,1fr);
  gap:14px;
  align-items:center;
  min-height:205px;
  padding:4px 15px 15px;
}
.v38-donut-wrap{
  position:relative;
  width:178px;
  height:178px;
  justify-self:center;
}
.v38-donut-wrap canvas{
  display:block;
  width:178px!important;
  height:178px!important;
}
.v38-donut-center{
  position:absolute;
  inset:0;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  pointer-events:none;
}
.v38-donut-center strong{
  max-width:112px;
  color:var(--v3-text);
  font-size:15px;
  line-height:1;
  text-align:center;
}
.v38-donut-center small{
  margin-top:4px;
  color:var(--v3-muted);
  font-size:8px;
}
.v38-category-list{
  display:grid;
  gap:7px;
  min-width:0;
}
.v38-category-item{
  display:grid;
  grid-template-columns:8px minmax(0,1fr) auto 34px;
  align-items:center;
  gap:8px;
  min-width:0;
  color:var(--v3-muted);
  font-size:8.8px;
}
.v38-category-item i{
  width:7px;height:7px;border-radius:50%;
  background:#61dfbd;
}
.v38-category-item:nth-child(2) i{background:#f0bd75}
.v38-category-item:nth-child(3) i{background:#f47788}
.v38-category-item:nth-child(4) i{background:#75a9eb}
.v38-category-item:nth-child(5) i{background:#d177dd}
.v38-category-item:nth-child(6) i{background:#557ed8}
.v38-category-item:nth-child(7) i{background:#7d8e96}
.v38-category-item span{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:#c7d3d8;
}
.v38-category-item b{
  color:var(--v3-text);
  font-size:8.8px;
  white-space:nowrap;
}
.v38-category-item em{
  color:var(--v3-muted);
  font-style:normal;
  font-size:8px;
  text-align:right;
}
.v38-subscriptions{
  display:grid;
  align-content:start;
  padding:0 13px 12px;
}
.v38-sub-row{
  display:grid;
  grid-template-columns:38px minmax(0,1fr) auto 14px;
  align-items:center;
  gap:9px;
  min-width:0;
  padding:9px 2px;
  border-bottom:1px solid rgba(134,171,183,.10);
}
.v38-sub-row:last-child{border-bottom:0}
.v38-service-badge{
  display:flex;
  align-items:center;
  justify-content:center;
  width:36px;height:36px;
  border-radius:11px;
  color:#cddae0;
  background:rgba(153,180,190,.09);
  border:1px solid rgba(153,180,190,.10);
  font-size:13px;
  font-weight:900;
}
.v38-sub-row>div{
  display:grid;
  gap:2px;
  min-width:0;
}
.v38-sub-row b{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:var(--v3-text);
  font-size:9.8px;
}
.v38-sub-row small{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:var(--v3-muted);
  font-size:7.7px;
}
.v38-sub-row>strong{
  color:var(--v3-text);
  font-size:9.8px;
  white-space:nowrap;
}
.v38-row-arrow{color:var(--v3-muted);font-size:12px}
.v38-empty-state{
  display:flex;
  align-items:center;
  gap:10px;
  min-height:150px;
  color:var(--v3-muted);
}
.v38-empty-state>div{display:grid;gap:3px}
.v38-empty-state b{font-size:10px;color:var(--v3-text)}
.v38-empty-state small{font-size:8px;line-height:1.4}

.v38-bottom-grid{
  display:grid;
  grid-template-columns:290px minmax(0,1fr);
  gap:10px;
  min-width:0;
}
.v38-payday-card,.v38-balance-card{min-height:205px}
.v38-payday-main{
  display:grid;
  grid-template-columns:minmax(0,1fr) 95px;
  align-items:center;
  gap:10px;
  padding:4px 15px 8px;
}
.v38-payday-copy{
  display:grid;
  gap:4px;
}
.v38-payday-copy>strong{
  color:var(--v3-text);
  font-size:26px;
  line-height:1;
}
.v38-payday-copy>small{
  color:var(--v3-muted);
  font-size:8px;
}
.v38-payday-copy>b{
  color:var(--v3-mint);
  font-size:15px;
}
.v38-progress-ring{
  --p:calc(var(--progress)*1%);
  display:flex;
  align-items:center;
  justify-content:center;
  width:88px;height:88px;
  border-radius:50%;
  background:
    radial-gradient(circle,rgba(9,29,37,1) 59%,transparent 61%),
    conic-gradient(var(--v3-mint) var(--p),rgba(110,150,163,.16) 0);
}
.v38-progress-ring>div{
  display:grid;
  justify-items:center;
  gap:3px;
}
.v38-progress-ring strong{
  color:var(--v3-text);
  font-size:14px;
}
.v38-progress-ring small{
  color:var(--v3-muted);
  font-size:6.8px;
  line-height:1.05;
  text-align:center;
}
.v38-plan-note{
  display:grid;
  grid-template-columns:32px minmax(0,1fr) auto;
  align-items:center;
  gap:9px;
  margin:0 12px 12px;
  padding:9px 10px;
  border:1px solid rgba(120,168,177,.11);
  border-radius:12px;
  background:rgba(13,36,43,.86);
}
.v38-note-icon{
  display:flex;
  align-items:center;
  justify-content:center;
  width:30px;height:30px;
  border-radius:9px;
  color:#f0d468;
  background:rgba(242,210,101,.08);
}
.v38-note-icon .ui-icon{width:15px;height:15px}
.v38-plan-note>div{display:grid;gap:2px}
.v38-plan-note b{font-size:8.8px;color:var(--v3-text)}
.v38-plan-note small{font-size:7px;color:var(--v3-muted);line-height:1.3}
.v38-plan-note>span:last-child{color:var(--v3-muted);font-size:12px}

.v38-balance-chart-wrap{
  position:relative;
  height:150px;
  padding:0 8px 10px;
}
.v38-balance-chart-wrap canvas{
  display:block;
  width:100%!important;
  height:100%!important;
}
.v38-balance-value{
  position:absolute;
  right:14px;
  top:6px;
  padding:5px 7px;
  border:1px solid rgba(131,174,184,.20);
  border-radius:7px;
  color:var(--v3-text);
  background:rgba(10,29,37,.86);
  font-size:8.5px;
  font-weight:800;
}

@media(max-width:1100px){
  .v38-flow-grid{grid-template-columns:minmax(0,1fr) 250px}
  .v38-middle-grid{grid-template-columns:1fr 1fr}
  .v38-category-layout{grid-template-columns:150px minmax(0,1fr)}
  .v38-donut-wrap,.v38-donut-wrap canvas{width:145px!important;height:145px!important}
}
@media(max-width:820px){
  .v38-heading{
    align-items:flex-start;
    flex-direction:column;
    padding:16px 2px 4px;
  }
  .v38-heading h1{font-size:32px}
  .v38-filter-row{
    width:100%;
    align-items:stretch;
  }
  .v38-month-chip{flex:0 0 auto}
  .v38-period-tabs{
    flex:1;
    overflow-x:auto;
  }
  .v38-period-tabs a{flex:1;min-width:60px}
  .v38-flow-grid{
    display:flex;
    flex-direction:column;
  }
  .v38-flow-metrics{
    order:-1;
    grid-template-columns:repeat(3,minmax(0,1fr));
    grid-template-rows:none;
  }
  .v38-flow-stat{
    grid-template-columns:34px minmax(0,1fr);
    gap:8px;
    padding:11px;
  }
  .v38-stat-icon{width:32px;height:32px;border-radius:10px}
  .v38-stat-icon .ui-icon{width:16px;height:16px}
  .v38-stat-main strong{font-size:15px}
  .v38-stat-change{
    grid-column:2;
    justify-items:start;
  }
  .v38-middle-grid,.v38-bottom-grid{grid-template-columns:1fr}
  .v38-category-layout{grid-template-columns:170px minmax(0,1fr)}
  .v38-bottom-grid .v38-payday-card{order:1}
  .v38-bottom-grid .v38-balance-card{order:2}
}
@media(max-width:560px){
  .v38-analytics{gap:10px}
  .v38-heading h1{font-size:29px}
  .v38-heading p{font-size:11px}
  .v38-filter-row{
    display:grid;
    grid-template-columns:1fr;
    gap:7px;
  }
  .v38-month-chip{width:max-content;height:38px}
  .v38-period-tabs{
    width:100%;
    padding:3px;
  }
  .v38-period-tabs a{padding:8px 7px;font-size:8.5px;min-width:0}
  .v38-flow-metrics{
    grid-template-columns:1fr;
    gap:7px;
  }
  .v38-flow-stat{
    grid-template-columns:38px minmax(0,1fr) auto;
    padding:10px 11px;
  }
  .v38-stat-change{
    grid-column:auto;
    justify-items:end;
  }
  .v38-cashflow-card{min-height:265px}
  .v38-cashflow-wrap{height:205px;padding:0 4px 6px}
  .v38-card{border-radius:16px}
  .v38-card-head{
    align-items:flex-start;
    padding:12px 12px 7px;
  }
  .v38-card-head>a{font-size:7.8px}
  .v38-title-group b{font-size:11px}
  .v38-title-group small{font-size:8px}
  .v38-category-layout{
    grid-template-columns:1fr;
    gap:8px;
    min-height:0;
    padding:3px 12px 13px;
  }
  .v38-donut-wrap{
    width:165px!important;
    height:165px!important;
  }
  .v38-donut-wrap canvas{
    width:165px!important;
    height:165px!important;
  }
  .v38-category-list{gap:8px}
  .v38-category-item{
    grid-template-columns:8px minmax(0,1fr) auto 32px;
    font-size:8.7px;
  }
  .v38-subscriptions{padding:0 11px 10px}
  .v38-sub-row{grid-template-columns:34px minmax(0,1fr) auto 12px}
  .v38-service-badge{width:32px;height:32px;border-radius:10px}
  .v38-payday-main{
    grid-template-columns:minmax(0,1fr) 82px;
    padding:3px 13px 8px;
  }
  .v38-progress-ring{width:78px;height:78px}
  .v38-payday-copy>strong{font-size:23px}
  .v38-balance-chart-wrap{height:145px}
}
@media(max-width:380px){
  .v38-flow-stat{grid-template-columns:34px minmax(0,1fr)}
  .v38-stat-change{grid-column:2;justify-items:start}
  .v38-legend{gap:7px;font-size:7.5px}
  .v38-category-item b{font-size:8px}
}

/* ===== R19 analytics donut circle fix ===== */
.v38-donut-wrap{
  aspect-ratio:1/1!important;
  flex:0 0 auto;
}
.v38-donut-wrap canvas{
  aspect-ratio:1/1!important;
  object-fit:contain;
}

/* ===== R20 analytics brand badges ===== */
.v38-service-badge--brand{
  padding:6px;
  overflow:hidden;
  background:rgba(255,255,255,.96);
  border-color:rgba(255,255,255,.16);
}
.v38-service-badge--brand img{
  display:block;
  width:100%;
  height:100%;
  max-width:24px;
  max-height:24px;
  object-fit:contain;
}
@media(max-width:560px){
  .v38-service-badge--brand{
    padding:5px;
  }
  .v38-service-badge--brand img{
    max-width:22px;
    max-height:22px;
  }
}

/* ===== R21 admin brand manager ===== */
.v40-brand-admin{display:grid;gap:16px}
.v40-brand-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.v40-brand-kpis .v3-panel{display:grid;gap:4px}
.v40-brand-kpis span,.v40-brand-kpis small{color:var(--v3-muted);font-size:10px}
.v40-brand-kpis strong{font-size:24px;color:var(--v3-text)}
.v40-brand-filters{display:grid;grid-template-columns:minmax(220px,2fr) minmax(150px,1fr) minmax(150px,1fr) auto auto;gap:10px;align-items:center}
.v40-brand-layout{display:grid;grid-template-columns:minmax(280px,.75fr) minmax(0,1.25fr);gap:14px}
.v40-brand-create textarea,.v40-brand-edit textarea{width:100%;resize:vertical}
.v40-brand-list{display:grid;gap:10px}
.v40-brand-row{display:grid;grid-template-columns:46px minmax(0,1fr) auto;gap:10px;align-items:center;padding:12px 0;border-bottom:1px solid var(--v3-line)}
.v40-brand-row:last-child{border-bottom:0}
.v40-brand-preview{display:flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:12px;background:rgba(255,255,255,.95);overflow:hidden;color:#0a2228;font-weight:900}
.v40-brand-preview img{width:28px;height:28px;object-fit:contain}
.v40-brand-summary{min-width:0;display:grid;gap:4px}
.v40-brand-title{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.v40-brand-title b{font-size:12px}
.v40-brand-title code{font-size:9px;color:var(--v3-muted)}
.v40-brand-title span{font-size:8px;padding:3px 6px;border-radius:999px}
.v40-brand-title span.on{color:var(--v3-mint);background:rgba(102,231,188,.08)}
.v40-brand-title span.off{color:#f09aa6;background:rgba(240,120,140,.08)}
.v40-brand-summary small{font-size:9px;line-height:1.35;color:var(--v3-muted);overflow-wrap:anywhere}
.v40-brand-actions{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}
.v40-brand-actions form{margin:0}
.v40-brand-edit{grid-column:2/-1;margin-top:2px}
.v40-brand-edit summary{cursor:pointer;color:var(--v3-mint);font-size:9px;font-weight:800}
.v40-brand-edit form{margin-top:10px}
.v40-brand-empty{display:grid;gap:4px;padding:20px 4px;color:var(--v3-muted)}
.v40-brand-empty b{color:var(--v3-text);font-size:12px}
.v40-brand-empty small{font-size:9px}
.v40-builtins-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.v40-builtin{display:grid;grid-template-columns:38px minmax(0,1fr);gap:9px;align-items:center;padding:10px;border:1px solid var(--v3-line);border-radius:13px;background:rgba(10,29,37,.62)}
.v40-builtin>span{display:flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:10px;background:rgba(255,255,255,.95);overflow:hidden;color:#0a2228;font-weight:900}
.v40-builtin img{width:24px;height:24px;object-fit:contain}
.v40-builtin>div{min-width:0;display:grid;gap:2px}
.v40-builtin b{font-size:10px}
.v40-builtin small{font-size:8px;color:var(--v3-muted)}
.v40-builtin em{font-size:7.5px;color:var(--v3-muted);font-style:normal;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:1000px){
  .v40-brand-layout{grid-template-columns:1fr}
  .v40-builtins-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:760px){
  .v40-brand-kpis{grid-template-columns:1fr}
  .v40-brand-filters{grid-template-columns:1fr 1fr}
  .v40-brand-filters input{grid-column:1/-1}
  .v40-brand-filters .btn{width:100%}
  .v40-brand-row{grid-template-columns:42px minmax(0,1fr)}
  .v40-brand-actions{grid-column:1/-1;justify-content:flex-start}
  .v40-brand-edit{grid-column:1/-1}
  .v40-builtins-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:460px){
  .v40-brand-filters{grid-template-columns:1fr}
  .v40-brand-filters input{grid-column:auto}
  .v40-builtins-grid{grid-template-columns:1fr}
}


/* ===== R21 admin brand manager responsive overflow fix ===== */
.v40-brand-admin,.v40-brand-layout,.v40-brand-create,.v40-brand-list-panel,.v40-builtins-panel{min-width:0}
@media(max-width:1100px){
  .v40-brand-admin .v3-page-heading{align-items:flex-start;flex-direction:column}
  .v40-brand-admin .v31-admin-tabs{width:100%;min-width:0}
  .v40-brand-admin .v31-admin-tabs a{flex:1 1 180px;min-width:0;text-align:center;white-space:normal}
}


/* ===== R21 admin brands responsive containment fix ===== */
@media(min-width:801px){
  .content{
    width:calc(100% - 232px);
    max-width:none;
  }
}
@media(max-width:1100px) and (min-width:801px){
  .v40-brand-filters{
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  }
  .v40-brand-filters>input{
    grid-column:1/-1;
  }
  .v40-brand-filters>.btn{
    width:100%;
    min-width:0;
  }
}

/* ===== R21 admin brand manager tablet layout fix ===== */
@media(max-width:1100px){
  .v40-brand-layout{grid-template-columns:1fr}
  .v40-brand-filters{grid-template-columns:1fr 1fr}
  .v40-brand-filters input{grid-column:1/-1}
  .v40-brand-filters .btn{width:100%}
  .v40-builtins-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* ===== R22 transaction brand icons ===== */
.v41-brand-icon{
  padding:5px;
  overflow:hidden;
  background:rgba(255,255,255,.96)!important;
  color:#0a2228!important;
}
.v41-brand-icon img{
  display:block;
  width:100%;
  height:100%;
  max-width:24px;
  max-height:24px;
  object-fit:contain;
}
.v41-brand-fallback{
  font-size:12px;
  font-weight:900;
  line-height:1;
  text-transform:uppercase;
}
@media(max-width:540px){
  .v41-brand-icon{padding:4px}
  .v41-brand-icon img{max-width:22px;max-height:22px}
}

/* ===== R23 dynamic daypart hero ===== */
.v36-hero{
  background:#081d25!important;
}
.v36-hero>.v42-hero-scene{
  position:absolute;
  inset:0;
  z-index:0;
  opacity:0;
  pointer-events:none;
  background-position:right center;
  background-size:62% 100%;
  background-repeat:no-repeat;
  transition:opacity .58s ease;
}
.v36-hero>.v42-hero-scene:after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,rgba(7,27,34,.985) 0%,rgba(7,27,34,.955) 40%,rgba(5,22,29,.70) 66%,rgba(4,18,25,.34) 100%);
}
.v36-hero>.v42-hero-scene.is-active{opacity:1}
.v42-scene-morning{background-image:url('/static/img/hero-morning.svg')}
.v42-scene-day{background-image:url('/static/img/hero-day.svg')}
.v42-scene-evening{background-image:url('/static/img/hero-evening.svg')}
.v42-scene-night{background-image:url('/static/img/hero-night.svg')}
.v36-hero>.v36-hero-copy,
.v36-hero>.v36-hero-quote{
  position:relative;
  z-index:2;
}
.v36-hero:after{
  z-index:1!important;
  background:linear-gradient(180deg,rgba(255,255,255,.012),transparent 52%)!important;
}
.v36-cover-date{
  color:rgba(239,247,249,.54)!important;
  font-weight:560;
}
.v36-hero-quote blockquote{
  text-shadow:0 2px 20px rgba(0,0,0,.46);
}
.v36-hero-quote>a{
  color:rgba(237,247,249,.66)!important;
}
.v42-time-morning .v36-kicker{color:#82f0c9}
.v42-time-day .v36-kicker{color:#75e8c2}
.v42-time-evening .v36-kicker{color:#9de4c9}
.v42-time-night .v36-kicker{color:#75e8c2}
@media(max-width:820px){
  .v36-hero>.v42-hero-scene{
    background-size:auto 100%;
    background-position:right center;
  }
  .v36-hero>.v42-hero-scene:after{
    background:linear-gradient(180deg,rgba(7,27,34,.90) 0%,rgba(7,27,34,.77) 48%,rgba(5,22,29,.42) 100%);
  }
}
@media(prefers-reduced-motion:reduce){
  .v36-hero>.v42-hero-scene{transition:none}
}

/* ===== R24 hero quote typography polish ===== */
.v36-hero-quote blockquote{
  font-family:"Segoe UI Variable Text","Segoe UI",Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,sans-serif;
  font-weight:500!important;
  letter-spacing:-.015em;
  line-height:1.34!important;
  color:rgba(246,250,251,.96)!important;
  text-shadow:none!important;
  -webkit-font-smoothing:antialiased;
  text-rendering:geometricPrecision;
}

/* ===== R25 dashboard header alignment + donut center ===== */
.v36-control-grid>.v36-control-card>.v36-control-head{
  min-height:28px;
  align-self:start;
}
.v36-control-grid .v36-control-title{
  min-height:28px;
  align-items:center;
}
.v36-control-grid .v36-control-title b{
  display:flex;
  align-items:center;
  min-height:28px;
  line-height:1.15;
}
.v36-control-grid .v36-control-arrow{
  width:18px;
  height:28px;
  display:flex;
  align-items:center;
  justify-content:center;
  flex:0 0 18px;
}

.v38-donut-center{
  position:absolute!important;
  inset:0!important;
  display:block!important;
  pointer-events:none;
}
.v38-donut-center strong{
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
  width:max-content;
  max-width:132px;
  margin:0!important;
  text-align:center;
  line-height:1!important;
  white-space:nowrap;
}
.v38-donut-center small{
  position:absolute;
  left:50%;
  top:calc(50% + 17px);
  transform:translateX(-50%);
  width:max-content;
  margin:0!important;
  text-align:center;
}
@media(max-width:560px){
  .v38-donut-center small{top:calc(50% + 16px)}
}

/* ===== R27 operations reference redesign ===== */
.v43-operations{display:grid;gap:14px;min-width:0}
.v43-operations-head{
  display:flex;align-items:flex-start;justify-content:space-between;gap:20px;
  padding:6px 4px 2px;
}
.v43-operations-head h1{
  margin:0;color:var(--v3-text);font-size:34px;line-height:1.05;letter-spacing:-1.35px;
}
.v43-operations-head p{
  margin:7px 0 0;color:var(--v3-muted);font-size:11px;line-height:1.4;
}
.v43-head-actions{display:flex;gap:8px}
.v43-export-btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  min-height:38px;padding:0 14px;border:1px solid rgba(113,174,181,.22);
  border-radius:10px;background:rgba(24,58,64,.54);color:#dbe7e9;
  font-size:10px;font-weight:700;transition:.16s ease;
}
.v43-export-btn:hover{border-color:rgba(101,226,190,.38);background:rgba(27,69,70,.72)}
.v43-export-btn .ui-icon{width:15px;height:15px;stroke-width:1.7}

.v43-toolbar{
  display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px 14px;
  padding:8px 10px 10px;border:1px solid rgba(112,165,175,.13);
  border-radius:15px;background:linear-gradient(180deg,rgba(11,31,38,.84),rgba(9,27,34,.74));
}
.v43-tabs{display:flex;gap:5px;align-items:center;min-width:0;overflow-x:auto}
.v43-tabs button,.v43-tabs a{
  appearance:none;border:0;cursor:pointer;white-space:nowrap;
  padding:8px 13px;border-radius:8px;background:rgba(20,43,51,.7);
  color:#aebfc5;font:inherit;font-size:9px;font-weight:600;
}
.v43-tabs button:hover,.v43-tabs a:hover{color:#e8f2f3;background:rgba(26,54,61,.86)}
.v43-tabs button.active{
  color:#77ebc5;background:rgba(55,131,112,.2);
  box-shadow:inset 0 0 0 1px rgba(101,226,190,.18);
}

.v43-date-picker{position:relative;align-self:start}
.v43-date-picker>summary{
  list-style:none;display:flex;align-items:center;gap:7px;min-height:34px;
  padding:0 11px;border:1px solid rgba(118,166,176,.17);border-radius:8px;
  color:#d3dfe2;background:rgba(20,43,51,.72);font-size:8.8px;font-weight:650;cursor:pointer;
}
.v43-date-picker>summary::-webkit-details-marker{display:none}
.v43-date-picker>summary .ui-icon{width:14px;height:14px}
.v43-date-popover{
  position:absolute;right:0;top:42px;z-index:20;display:grid;grid-template-columns:1fr 1fr;gap:9px;
  width:310px;padding:12px;border:1px solid rgba(121,170,180,.2);border-radius:12px;
  background:#0d252d;box-shadow:0 16px 40px rgba(0,0,0,.38);
}
.v43-date-popover label{display:grid;gap:5px;color:var(--v3-muted);font-size:8px}
.v43-date-popover input{
  width:100%;min-width:0;padding:8px;border:1px solid rgba(128,175,184,.18);
  border-radius:8px;background:#0a2028;color:var(--v3-text);font:inherit;font-size:9px;
}
.v43-date-popover .btn{grid-column:1/-1}

.v43-filter-row{
  grid-column:1/-1;display:grid;grid-template-columns:minmax(240px,1.4fr) minmax(140px,.7fr) minmax(125px,.65fr) auto auto;
  gap:7px;align-items:center;
}
.v43-search{
  display:flex;align-items:center;gap:8px;height:34px;padding:0 10px;
  border:1px solid rgba(117,165,175,.15);border-radius:8px;background:rgba(10,28,35,.74);
}
.v43-search .ui-icon{width:14px;height:14px;color:#8ea3aa;flex:0 0 auto}
.v43-search input{
  width:100%;min-width:0;border:0;outline:0;background:transparent;color:var(--v3-text);
  font:inherit;font-size:9px;
}
.v43-search input::placeholder{color:#667b82}
.v43-filter-row select{
  height:34px;min-width:0;border:1px solid rgba(117,165,175,.15);border-radius:8px;
  padding:0 9px;background:#0c222a;color:#b8c7cb;font:inherit;font-size:8.8px;
}
.v43-filter-apply,.v43-reset{
  display:inline-flex;align-items:center;justify-content:center;height:34px;padding:0 12px;
  border:0;border-radius:8px;font:inherit;font-size:8.8px;font-weight:700;cursor:pointer;
}
.v43-filter-apply{background:#63dec0;color:#06251d}
.v43-reset{border:1px solid rgba(117,165,175,.15);background:rgba(15,39,47,.7);color:#9db0b6}

.v43-table{
  min-width:0;overflow:visible;border:1px solid rgba(111,162,172,.13);border-radius:14px;
  background:linear-gradient(180deg,rgba(9,27,34,.86),rgba(7,23,30,.92));
}
.v43-table-head,.v43-table-row{
  display:grid;grid-template-columns:102px minmax(240px,1.5fr) minmax(155px,.8fr) minmax(110px,.55fr) 118px 34px;
  align-items:center;gap:10px;min-width:0;
}
.v43-table-head{
  min-height:34px;padding:0 12px;border-bottom:1px solid rgba(114,163,173,.12);
  color:#73878e;font-size:7.7px;font-weight:650;
}
.v43-table-row{
  position:relative;min-height:58px;padding:7px 12px;border-bottom:1px solid rgba(110,158,168,.09);
  transition:background .14s ease;
}
.v43-table-row:last-child{border-bottom:0}
.v43-table-row:hover{background:rgba(17,44,51,.52)}

.v43-date{display:grid;gap:1px;color:#b8c6ca}
.v43-date b{font-size:8.4px;font-weight:650}
.v43-date small{font-size:7px;color:#71858c}
.v43-operation{display:grid;grid-template-columns:34px minmax(0,1fr);align-items:center;gap:9px;min-width:0}
.v43-operation>div{display:grid;gap:2px;min-width:0}
.v43-operation b{
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#edf4f5;font-size:9.2px;font-weight:650;
}
.v43-operation small{
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#6f848b;font-size:7.4px;
}
.v43-operation-icon{
  display:flex;align-items:center;justify-content:center;width:32px;height:32px;flex:0 0 32px;
  border-radius:9px;border:1px solid rgba(121,171,180,.12);background:rgba(30,57,64,.56);color:#b9ccd1;
}
.v43-operation-icon .ui-icon{width:16px;height:16px;stroke-width:1.65}
.v43-brand-logo{padding:5px;background:rgba(255,255,255,.96);border-color:rgba(255,255,255,.13)}
.v43-brand-logo img{display:block;width:100%;height:100%;max-width:22px;max-height:22px;object-fit:contain}
.v43-operation-icon--tx_food,.v43-operation-icon--tx_coffee{color:#f1d87a;background:rgba(197,156,63,.12)}
.v43-operation-icon--tx_transport,.v43-operation-icon--tx_transfer{color:#74bce8;background:rgba(70,142,185,.13)}
.v43-operation-icon--tx_fuel{color:#ef8f72;background:rgba(184,81,61,.14)}
.v43-operation-icon--tx_health,.v43-operation-icon--tx_pharmacy{color:#ef8a9d;background:rgba(187,73,95,.14)}
.v43-operation-icon--tx_clothes,.v43-operation-icon--tx_shopping{color:#79e2c0;background:rgba(65,161,137,.14)}
.v43-operation-icon--tx_income{color:#65e6bf;background:rgba(61,169,139,.16)}

.v43-category{
  width:max-content;max-width:100%;display:flex;align-items:center;gap:6px;padding:6px 9px;
  border-radius:8px;background:rgba(22,48,56,.66);color:#aebfc4;
}
.v43-category>span{display:flex;color:#b5c9ce}
.v43-category .ui-icon{width:13px;height:13px;stroke-width:1.55}
.v43-category b{font-size:7.8px;font-weight:600;white-space:nowrap}
.v43-account{color:#81949b;font-size:8px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.v43-amount{justify-self:end;font-size:9.5px;font-weight:800;white-space:nowrap}
.v43-amount.positive{color:#65e7bd}
.v43-amount.negative{color:#e9f0f2}

.v43-row-menu{position:relative;justify-self:end}
.v43-row-menu>summary{
  list-style:none;display:flex;align-items:center;justify-content:center;width:28px;height:28px;
  border-radius:7px;color:#71858c;cursor:pointer;
}
.v43-row-menu>summary::-webkit-details-marker{display:none}
.v43-row-menu>summary:hover{background:rgba(27,58,66,.72);color:#d6e2e4}
.v43-row-menu>summary .ui-icon{width:15px;height:15px}
.v43-row-menu>div{
  position:absolute;right:0;top:31px;z-index:30;display:grid;min-width:130px;
  padding:5px;border:1px solid rgba(120,168,178,.18);border-radius:9px;background:#0d242c;
  box-shadow:0 14px 32px rgba(0,0,0,.34);
}
.v43-row-menu a,.v43-row-menu button{
  width:100%;border:0;padding:8px 9px;border-radius:6px;background:transparent;color:#b7c8cc;
  text-align:left;font:inherit;font-size:8px;cursor:pointer;
}
.v43-row-menu a:hover,.v43-row-menu button:hover{background:rgba(28,61,69,.7);color:#eef6f7}
.v43-row-menu form{margin:0}
.v43-row-menu button{color:#e98c9b}
.v43-empty{display:grid;justify-items:center;gap:5px;padding:42px 20px;color:#71858c;text-align:center}
.v43-empty>span{display:flex;width:38px;height:38px;align-items:center;justify-content:center;border-radius:11px;background:rgba(25,52,60,.58)}
.v43-empty .ui-icon{width:18px;height:18px}
.v43-empty b{color:#becdd1;font-size:10px}
.v43-empty small{font-size:8px}

@media(max-width:1080px){
  .v43-table-head,.v43-table-row{
    grid-template-columns:88px minmax(200px,1.3fr) minmax(130px,.8fr) minmax(90px,.55fr) 104px 30px;
    gap:7px;
  }
  .v43-filter-row{grid-template-columns:minmax(200px,1.2fr) minmax(120px,.7fr) minmax(110px,.6fr) auto auto}
}
@media(max-width:820px){
  .v43-operations-head{align-items:center}
  .v43-operations-head h1{font-size:30px}
  .v43-toolbar{grid-template-columns:1fr}
  .v43-date-picker{grid-row:2}
  .v43-date-picker>summary{width:max-content}
  .v43-filter-row{grid-column:1;grid-template-columns:1fr 1fr}
  .v43-search{grid-column:1/-1}
  .v43-filter-apply,.v43-reset{width:100%}
  .v43-table-head{display:none}
  .v43-table{display:grid;gap:8px;padding:8px;border:0;background:transparent}
  .v43-table-row{
    grid-template-columns:minmax(0,1fr) auto;gap:8px 12px;padding:12px;
    border:1px solid rgba(111,162,172,.13);border-radius:13px;background:rgba(9,28,35,.88);
  }
  .v43-date{grid-column:1;grid-row:2;display:flex;gap:6px;align-items:center}
  .v43-operation{grid-column:1;grid-row:1}
  .v43-category{grid-column:1;grid-row:3}
  .v43-account{grid-column:1;grid-row:4}
  .v43-amount{grid-column:2;grid-row:1;align-self:center}
  .v43-row-menu{grid-column:2;grid-row:2/5;align-self:end}
}
@media(max-width:520px){
  .v43-operations{gap:10px}
  .v43-operations-head h1{font-size:28px}
  .v43-operations-head p{font-size:9.5px}
  .v43-export-btn{min-height:34px;padding:0 10px}
  .v43-export-btn span{display:none}
  .v43-tabs{padding-bottom:2px}
  .v43-tabs button,.v43-tabs a{padding:7px 10px;font-size:8px}
  .v43-filter-row{grid-template-columns:1fr}
  .v43-search{grid-column:auto}
  .v43-date-popover{left:0;right:auto;width:min(310px,calc(100vw - 38px));grid-template-columns:1fr}
  .v43-date-popover .btn{grid-column:1}
  .v43-operation{grid-template-columns:32px minmax(0,1fr)}
  .v43-operation-icon{width:30px;height:30px;flex-basis:30px}
}

/* ===== R28 operations cleanup + professional category icons ===== */
.v44-operation-text{
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  gap:0!important;
}
.v44-operation-text>div{min-width:0}

.v43-toolbar{
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:center;
  padding:10px 12px!important;
}
.v43-tabs{min-height:36px}
.v43-tabs button{
  min-height:34px;
  padding:0 15px!important;
  border-radius:9px!important;
  font-size:9px!important;
}
.v43-date-picker{justify-self:end}

.v44-category{
  gap:8px!important;
  padding:4px 9px 4px 5px!important;
  min-height:34px;
  border:1px solid rgba(120,169,178,.10);
  background:rgba(16,40,48,.70)!important;
}
.v44-category-icon{
  width:25px;
  height:25px;
  flex:0 0 25px;
  display:flex!important;
  align-items:center;
  justify-content:center;
  border-radius:7px;
  border:1px solid rgba(142,187,194,.14);
  background:linear-gradient(180deg,rgba(43,73,80,.72),rgba(26,52,59,.72));
  color:#b9cbd0;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.025);
}
.v44-category-icon .ui-icon{
  width:14px!important;
  height:14px!important;
  stroke-width:1.8!important;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.v44-category b{
  font-size:7.9px!important;
  font-weight:650!important;
  letter-spacing:.005em;
  color:#b8c8cc;
}
.v44-cat-tx_food .v44-category-icon{color:#e5c56b;background:rgba(140,110,38,.13);border-color:rgba(229,197,107,.16)}
.v44-cat-tx_transport .v44-category-icon{color:#7dbfe8;background:rgba(61,119,155,.14);border-color:rgba(125,191,232,.16)}
.v44-cat-tx_home .v44-category-icon{color:#a6c6cd;background:rgba(86,126,136,.13)}
.v44-cat-tx_entertainment .v44-category-icon{color:#b9a2e8;background:rgba(105,78,160,.14);border-color:rgba(185,162,232,.16)}
.v44-cat-tx_health .v44-category-icon{color:#ec92a4;background:rgba(153,65,84,.14);border-color:rgba(236,146,164,.16)}
.v44-cat-tx_clothes .v44-category-icon{color:#78dfc0;background:rgba(59,139,116,.14);border-color:rgba(120,223,192,.16)}
.v44-cat-tx_shopping .v44-category-icon{color:#80d7c1;background:rgba(59,130,113,.14);border-color:rgba(128,215,193,.16)}
.v44-cat-tx_pets .v44-category-icon{color:#d4ad82;background:rgba(139,99,58,.14)}
.v44-cat-tx_debt .v44-category-icon{color:#e9c277;background:rgba(144,105,41,.14)}
.v44-cat-tx_education .v44-category-icon{color:#9ebcec;background:rgba(72,100,153,.14)}
.v44-cat-tx_sport .v44-category-icon{color:#85d7a5;background:rgba(58,129,85,.14)}
.v44-cat-tx_gift .v44-category-icon{color:#e7a0c5;background:rgba(144,67,107,.14)}
.v44-cat-tx_travel .v44-category-icon{color:#80cbd8;background:rgba(51,118,129,.14)}
.v44-cat-tx_habits .v44-category-icon{color:#c3a19b;background:rgba(122,81,74,.14)}
.v44-cat-tx_income .v44-category-icon{color:#67e2bc;background:rgba(50,143,115,.15);border-color:rgba(103,226,188,.18)}
.v44-cat-tx_other .v44-category-icon{color:#a9bbc0;background:rgba(74,101,108,.14)}

@media(max-width:820px){
  .v43-toolbar{grid-template-columns:minmax(0,1fr) auto!important}
  .v43-date-picker{grid-row:auto!important}
  .v44-category{width:max-content}
}
@media(max-width:520px){
  .v43-toolbar{grid-template-columns:1fr!important;gap:8px!important}
  .v43-date-picker{justify-self:start}
  .v43-tabs{width:100%}
}

/* ===== R29 operations category filter + icon refinement ===== */
.v43-toolbar{grid-template-columns:minmax(0,1fr) minmax(170px,230px) auto!important;gap:10px!important}
.v45-category-filter{display:block;min-width:0}
.v45-category-filter select{width:100%;height:36px;padding:0 34px 0 12px;border:1px solid rgba(117,165,175,.16);border-radius:9px;outline:0;background:#0c222a;color:#bac9cd;font:inherit;font-size:9px;font-weight:620;cursor:pointer}
.v45-category-filter select:focus{border-color:rgba(100,225,190,.42);box-shadow:0 0 0 3px rgba(100,225,190,.07)}
.v44-category-icon{background:rgba(18,43,51,.86)!important;border-color:rgba(133,179,188,.16)!important;box-shadow:none!important}
.v44-category-icon .ui-icon{width:15px!important;height:15px!important;stroke-width:1.65!important}
@media(max-width:820px){.v43-toolbar{grid-template-columns:minmax(0,1fr) minmax(150px,210px)!important}.v43-date-picker{grid-column:1/-1;justify-self:start!important}}
@media(max-width:520px){.v43-toolbar{grid-template-columns:1fr!important}.v45-category-filter{width:100%}.v43-date-picker{grid-column:auto}}


/* ===== R30 operations toolbar alignment ===== */
.v43-toolbar{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 220px 176px!important;
  align-items:center!important;
  gap:12px!important;
  padding:12px 14px!important;
}
.v43-tabs{
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  min-height:42px!important;
}
.v43-tabs a{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  height:42px!important;
  padding:0 18px!important;
  border-radius:10px!important;
  background:rgba(18,45,54,.72)!important;
  color:#aebfc5!important;
  font-size:10px!important;
  font-weight:650!important;
  white-space:nowrap!important;
}
.v43-tabs a.active{
  color:#6fe7c1!important;
  background:rgba(44,111,95,.20)!important;
  box-shadow:inset 0 0 0 1px rgba(100,225,190,.28)!important;
}
.v45-category-filter{
  display:flex!important;
  align-items:center!important;
  width:220px!important;
  height:42px!important;
  margin:0!important;
}
.v45-category-filter select{
  display:block!important;
  width:100%!important;
  height:42px!important;
  margin:0!important;
  padding:0 36px 0 14px!important;
  border-radius:10px!important;
  line-height:42px!important;
  font-size:10px!important;
  font-weight:650!important;
  color:#d1dcdf!important;
  background:#0b2028!important;
  border:1px solid rgba(120,169,178,.18)!important;
  box-shadow:none!important;
}
.v43-date-picker{
  justify-self:end!important;
  align-self:center!important;
  margin:0!important;
}
.v43-date-picker>summary{
  height:42px!important;
  min-height:42px!important;
  padding:0 14px!important;
  border-radius:10px!important;
  font-size:10px!important;
}
@media(max-width:900px){
  .v43-toolbar{grid-template-columns:minmax(0,1fr) 200px!important}
  .v43-date-picker{grid-column:1/-1!important;justify-self:start!important}
}
@media(max-width:620px){
  .v43-toolbar{grid-template-columns:1fr!important}
  .v43-tabs{overflow-x:auto!important}
  .v45-category-filter{width:100%!important}
  .v43-date-picker{grid-column:auto!important;width:100%!important}
  .v43-date-picker>summary{width:100%!important;justify-content:center!important}
}


/* ===== R31 operations column-aligned filters ===== */
.v43-toolbar{
  display:grid!important;
  grid-template-columns:102px minmax(240px,1.5fr) minmax(155px,.8fr) minmax(110px,.55fr) 118px 34px!important;
  align-items:center!important;
  gap:10px!important;
  padding:12px!important;
}
.v43-tabs{
  grid-column:1/3!important;
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  min-width:0!important;
}
.v45-category-filter{
  grid-column:3!important;
  width:100%!important;
  min-width:0!important;
  height:42px!important;
}
.v46-account-filter{
  grid-column:4!important;
  display:flex!important;
  align-items:center!important;
  width:100%!important;
  min-width:0!important;
  height:42px!important;
}
.v45-category-filter select,
.v46-account-filter select{
  width:100%!important;
  height:42px!important;
  margin:0!important;
  padding:0 34px 0 12px!important;
  border:1px solid rgba(120,169,178,.18)!important;
  border-radius:10px!important;
  outline:0!important;
  background:#0b2028!important;
  color:#d1dcdf!important;
  font:inherit!important;
  font-size:10px!important;
  font-weight:650!important;
}
.v43-date-picker{
  grid-column:5/7!important;
  justify-self:end!important;
  align-self:center!important;
  width:100%!important;
  max-width:176px!important;
}
.v43-date-picker>summary{
  width:100%!important;
  height:42px!important;
  min-height:42px!important;
  justify-content:center!important;
}
@media(max-width:1080px){
  .v43-toolbar{
    grid-template-columns:88px minmax(200px,1.3fr) minmax(130px,.8fr) minmax(90px,.55fr) 104px 30px!important;
    gap:7px!important;
  }
}
@media(max-width:820px){
  .v43-toolbar{
    grid-template-columns:1fr 1fr!important;
    gap:8px!important;
  }
  .v43-tabs{grid-column:1/-1!important}
  .v45-category-filter{grid-column:1!important}
  .v46-account-filter{grid-column:2!important}
  .v43-date-picker{grid-column:1/-1!important;justify-self:start!important;max-width:220px!important}
}
@media(max-width:520px){
  .v43-toolbar{grid-template-columns:1fr!important}
  .v43-tabs{grid-column:1!important;overflow-x:auto!important}
  .v45-category-filter,.v46-account-filter,.v43-date-picker{
    grid-column:1!important;
    width:100%!important;
    max-width:none!important;
  }
}


/* ===== R32 budgets periods + savings collapse + mobile cleanup ===== */
.v47-budget-form{display:grid!important;grid-template-columns:minmax(180px,1fr) minmax(140px,.55fr) minmax(160px,.65fr) auto!important;gap:10px!important;align-items:end!important}
.v47-budget-form label{display:grid!important;gap:6px!important;color:var(--v3-muted);font-size:10px!important}
.v47-budget-form label>span{font-weight:650}
.v47-budget-form select,.v47-budget-form input{height:42px!important}
.v47-budget-form .btn{height:42px!important}
.v47-budget-row>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:12px}
.v47-budget-row>div:first-child span{color:var(--v3-muted);font-size:11px}

.v47-withdraw-panel{padding:0!important;overflow:hidden}
.v47-withdraw-details>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:64px;padding:14px 16px;cursor:pointer}
.v47-withdraw-details>summary::-webkit-details-marker{display:none}
.v47-withdraw-details>summary>span:first-child{display:grid;gap:4px}
.v47-withdraw-details>summary b{font-size:14px}
.v47-withdraw-details>summary small{color:var(--v3-muted);font-size:11px}
.v47-withdraw-chevron{font-size:20px;color:#6fdcc0;transition:transform .18s ease}
.v47-withdraw-details[open] .v47-withdraw-chevron{transform:rotate(180deg)}
.v47-withdraw-body{padding:0 16px 16px;border-top:1px solid rgba(117,165,175,.10)}
.v47-withdraw-body>.muted{margin:12px 0}

.v47-date-popover{width:360px!important;grid-template-columns:1fr!important}
.v47-date-presets{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}
.v47-date-presets button{height:34px;border:1px solid rgba(117,165,175,.15);border-radius:8px;background:#102a33;color:#b8c8cc;font:inherit;font-size:8.5px;font-weight:650;cursor:pointer}
.v47-date-presets button:hover{border-color:rgba(101,226,190,.32);color:#76e5c2}
.v47-date-custom{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.v47-date-custom label{display:grid;gap:5px;color:var(--v3-muted);font-size:8px}
.v47-date-custom input{width:100%;min-width:0;height:38px;padding:0 9px;border:1px solid rgba(117,165,175,.16);border-radius:8px;background:#0a2028;color:#d5e1e4}
.v47-date-clear{display:flex;justify-content:center;color:#8fa4aa;font-size:8px;padding-top:2px}

@media(max-width:760px){
  .v36-quick-card{display:none!important}
}
@media(max-width:720px){
  .v47-budget-form{grid-template-columns:1fr!important}
  .v47-budget-row>div:first-child{align-items:flex-start;flex-direction:column;gap:4px}
  .v47-date-popover{width:min(360px,calc(100vw - 32px))!important}
  .v47-date-presets{grid-template-columns:1fr 1fr}
}



/* ===== R33 calendar interaction polish ===== */
.v47-date-custom{display:none!important;grid-template-columns:1fr 1fr;gap:8px}
.v47-date-custom.is-open{display:grid!important}
@media(max-width:520px){.v47-date-custom.is-open{grid-template-columns:1fr!important}}



/* ===== R33 calendar interaction polish ===== */
.v47-date-custom{display:none!important;grid-template-columns:1fr 1fr;gap:8px}
.v47-date-custom.is-open{display:grid!important}
@media(max-width:520px){.v47-date-custom.is-open{grid-template-columns:1fr!important}}


/* ===== R34 budget remove control ===== */
.v48-budget-head{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:12px!important}
.v48-budget-copy{display:grid!important;gap:3px!important;min-width:0!important}
.v48-budget-copy b{font-size:13px!important}
.v48-budget-copy span{color:var(--v3-muted)!important;font-size:11px!important}
.v48-budget-remove-form{margin:0!important;flex:0 0 auto!important}
.v48-budget-remove{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  width:32px!important;height:32px!important;padding:0!important;
  border:1px solid rgba(218,110,127,.16)!important;border-radius:9px!important;
  background:rgba(91,35,47,.12)!important;color:#b9828d!important;cursor:pointer!important;
  transition:.15s ease!important
}
.v48-budget-remove:hover{border-color:rgba(234,126,143,.38)!important;background:rgba(116,43,58,.22)!important;color:#ef9dad!important}
.v48-budget-remove .ui-icon{width:15px!important;height:15px!important;stroke-width:1.7!important}
@media(max-width:620px){
  .v48-budget-head{align-items:center!important}
  .v48-budget-copy span{font-size:10px!important}
}


/* ===== R49 category icon system ===== */
.v49-category-svg{
  color:#8ff7f1;
  filter:drop-shadow(0 0 4px rgba(75,229,229,.22));
}
.v49-category-svg .cat-accent-blue{stroke:#2ba7ff!important}
.v49-category-svg .cat-accent-green{stroke:#41e6b6!important}
.v49-category-svg .cat-accent-gold{stroke:#ffc85c!important}
.v49-category-svg .cat-accent-coral{stroke:#ff7d91!important}

.v49-category-form{position:relative}
.v49-icon-field{display:grid;gap:7px}
.v49-field-label{font-size:10px;font-weight:650;color:var(--v3-muted)}
.v49-icon-trigger{
  width:100%;min-height:58px;padding:8px 12px;
  display:grid;grid-template-columns:40px minmax(0,1fr) auto;align-items:center;gap:10px;
  border:1px solid rgba(98,217,205,.16);border-radius:12px;
  background:linear-gradient(180deg,rgba(12,35,43,.96),rgba(8,28,35,.96));
  color:#dbe7e9;text-align:left;cursor:pointer;
}
.v49-icon-trigger:hover{border-color:rgba(99,229,211,.30)}
.v49-icon-trigger>span:nth-child(2){display:grid;gap:2px}
.v49-icon-trigger b{font-size:12px}
.v49-icon-trigger small{font-size:9px;color:var(--v3-muted)}
.v49-icon-chevron{font-size:20px;color:#6edfc0}
.v49-icon-preview,.v49-list-icon,.v49-budget-category-icon{
  display:inline-flex;align-items:center;justify-content:center;
  border:1px solid rgba(79,211,205,.17);
  background:
    radial-gradient(circle at 50% 35%,rgba(39,130,151,.16),transparent 58%),
    linear-gradient(180deg,#0c2730,#081d24);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.025),0 0 14px rgba(25,145,160,.06);
}
.v49-icon-preview{width:40px;height:40px;border-radius:10px}
.v49-icon-preview .ui-icon{width:24px;height:24px;stroke-width:1.65}

.v49-icon-picker{
  margin-top:4px;padding:12px;border:1px solid rgba(83,201,196,.15);
  border-radius:14px;background:#081b22;
  box-shadow:0 18px 48px rgba(0,0,0,.26);
}
.v49-icon-picker[hidden]{display:none!important}
.v49-icon-picker-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-bottom:10px}
.v49-icon-picker-head b{font-size:12px}
.v49-icon-picker-head small{font-size:9px;color:var(--v3-muted)}
.v49-icon-grid{
  display:grid;grid-template-columns:repeat(6,minmax(82px,1fr));gap:8px;
  max-height:390px;overflow:auto;padding-right:2px;
}
.v49-icon-option{
  min-width:0;padding:8px 5px 7px;display:grid;justify-items:center;gap:6px;
  border:1px solid rgba(74,157,168,.13);border-radius:11px;
  background:linear-gradient(180deg,rgba(13,38,47,.95),rgba(8,28,35,.95));
  color:#becdd1;cursor:pointer;
}
.v49-icon-option:hover{border-color:rgba(75,222,211,.28);transform:translateY(-1px)}
.v49-icon-option.selected{border-color:rgba(91,229,202,.50);box-shadow:0 0 0 2px rgba(77,219,197,.07)}
.v49-icon-option>span:last-child{font-size:8.5px;line-height:1.15;text-align:center}
.v49-icon-card{
  width:48px;height:48px;border-radius:11px;display:flex;align-items:center;justify-content:center;
  background:
    radial-gradient(circle at 50% 38%,rgba(42,131,151,.18),transparent 60%),
    linear-gradient(180deg,#0d2932,#091d24);
  box-shadow:inset 0 0 0 1px rgba(91,204,210,.10),0 5px 14px rgba(0,0,0,.18);
}
.v49-icon-card .ui-icon{width:30px;height:30px;stroke-width:1.55}
.v49-category-row{grid-template-columns:44px minmax(0,1fr) auto!important}
.v49-list-icon{width:38px;height:38px;border-radius:10px;color:#87efea}
.v49-list-icon .ui-icon{width:23px;height:23px;stroke-width:1.6}

.v49-budget-copy{grid-template-columns:38px minmax(0,1fr)!important;align-items:center!important}
.v49-budget-copy>div{display:grid;gap:2px;min-width:0}
.v49-budget-category-icon{width:34px;height:34px;border-radius:9px;color:#88f0eb}
.v49-budget-category-icon .ui-icon{width:20px;height:20px;stroke-width:1.6}

.v44-category-icon .v49-category-svg{
  width:16px!important;height:16px!important;stroke-width:1.55!important;
  color:#8df1ed!important;filter:drop-shadow(0 0 3px rgba(81,218,222,.15));
}
.v44-category[class*="v44-cat-cat_"]{
  background:rgba(13,40,48,.78)!important;
  border-color:rgba(89,194,196,.12)!important;
}
.v44-category[class*="v44-cat-cat_"] .v44-category-icon{
  background:linear-gradient(180deg,rgba(20,59,68,.92),rgba(11,38,46,.92))!important;
  border-color:rgba(91,211,207,.16)!important;
  color:#88f0eb!important;
}

@media(max-width:980px){.v49-icon-grid{grid-template-columns:repeat(4,minmax(76px,1fr))}}
@media(max-width:620px){
  .v49-icon-grid{grid-template-columns:repeat(3,minmax(72px,1fr));max-height:360px}
  .v49-icon-picker{padding:9px}
  .v49-icon-picker-head{align-items:flex-start;flex-direction:column;gap:3px}
  .v49-icon-card{width:44px;height:44px}
  .v49-icon-card .ui-icon{width:27px;height:27px}
}


/* ===== R50 dashboard hero alignment + authoritative daypart ===== */
.v50-quote-body{
  display:grid;
  gap:7px;
  min-width:0;
}
.v50-quote-body>a{
  width:max-content;
  color:rgba(237,247,249,.72);
  font-size:9.5px;
  font-weight:760;
}
.v42-time-day>.v42-scene-day:after{
  background:linear-gradient(90deg,
    rgba(7,27,34,.985) 0%,
    rgba(7,27,34,.94) 36%,
    rgba(5,22,29,.54) 62%,
    rgba(4,18,25,.16) 100%)!important;
}

@media(min-width:1100px){
  .v36-hero{
    grid-template-columns:minmax(0,62%) minmax(330px,38%)!important;
    min-height:198px!important;
  }
  .v36-hero-copy{
    display:grid!important;
    grid-template-columns:minmax(300px,1fr) 220px!important;
    align-items:center!important;
    gap:22px!important;
    padding:24px 24px 24px 26px!important;
  }
  .v36-hero-heading{
    align-self:center!important;
    max-width:410px!important;
  }
  .v36-hero-heading h1{
    max-width:390px!important;
  }
  .v36-capital-chip{
    justify-self:end!important;
    align-self:center!important;
    width:220px!important;
    min-width:220px!important;
    max-width:220px!important;
    margin:0!important;
  }
  .v36-hero-quote{
    display:grid!important;
    grid-template-rows:auto 1fr!important;
    align-items:stretch!important;
    min-height:198px!important;
    padding:18px 24px 20px!important;
  }
  .v36-cover-date{
    justify-self:end!important;
    align-self:start!important;
  }
  .v50-quote-body{
    align-self:center!important;
    justify-self:start!important;
    max-width:330px!important;
    padding:2px 0 8px!important;
  }
  .v50-quote-body blockquote{
    max-width:330px!important;
    margin:0!important;
    font-size:15.5px!important;
    line-height:1.32!important;
  }
}

@media(min-width:821px) and (max-width:1099px){
  .v36-hero{
    grid-template-columns:minmax(0,1.08fr) minmax(300px,.92fr)!important;
  }
  .v36-hero-copy{
    display:grid!important;
    grid-template-columns:1fr!important;
    align-content:center!important;
    gap:12px!important;
    padding:20px!important;
  }
  .v36-capital-chip{
    justify-self:start!important;
    width:min(100%,260px)!important;
    min-width:0!important;
    max-width:260px!important;
  }
  .v36-hero-quote{
    min-height:184px!important;
    padding:18px 20px!important;
  }
  .v50-quote-body{
    align-self:center!important;
  }
}

@media(max-width:820px){
  .v50-quote-body{
    gap:5px;
  }
  .v50-quote-body blockquote{
    margin:7px 0 0!important;
  }
}


/* R50 day scene cache bust */
.v42-scene-day{background-image:url('/static/img/hero-day.svg?v=hero-fix-r1')!important}


/* ===== R51 dashboard hero true 3-column layout ===== */
@media(min-width:1100px){
  .v36-hero{
    display:grid!important;
    grid-template-columns:minmax(320px,1.1fr) 250px minmax(330px,.9fr)!important;
    align-items:stretch!important;
    min-height:198px!important;
  }
  .v36-hero-copy{
    grid-column:1!important;
    grid-row:1!important;
    display:flex!important;
    align-items:center!important;
    min-width:0!important;
    padding:24px 18px 24px 26px!important;
  }
  .v36-hero-heading{
    max-width:390px!important;
  }
  .v51-capital-chip{
    grid-column:2!important;
    grid-row:1!important;
    align-self:center!important;
    justify-self:center!important;
    width:228px!important;
    min-width:228px!important;
    max-width:228px!important;
    margin:0!important;
    z-index:3!important;
    transform:none!important;
  }
  .v36-hero-quote{
    grid-column:3!important;
    grid-row:1!important;
    min-width:0!important;
    min-height:198px!important;
    padding:18px 24px 20px!important;
    display:grid!important;
    grid-template-rows:auto 1fr!important;
  }
  .v50-quote-body{
    align-self:center!important;
    justify-self:start!important;
    max-width:340px!important;
    padding:0!important;
  }
  .v36-cover-date{
    justify-self:end!important;
    align-self:start!important;
  }
}

@media(min-width:821px) and (max-width:1099px){
  .v36-hero{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) minmax(300px,.95fr)!important;
    grid-template-rows:auto auto!important;
    align-items:stretch!important;
  }
  .v36-hero-copy{
    grid-column:1!important;
    grid-row:1!important;
    display:flex!important;
    align-items:end!important;
    padding:20px 20px 8px!important;
  }
  .v51-capital-chip{
    grid-column:1!important;
    grid-row:2!important;
    justify-self:start!important;
    align-self:start!important;
    width:230px!important;
    min-width:230px!important;
    max-width:230px!important;
    margin:0 0 20px 20px!important;
    z-index:3!important;
  }
  .v36-hero-quote{
    grid-column:2!important;
    grid-row:1/3!important;
    min-width:0!important;
    padding:18px 20px!important;
  }
}

@media(max-width:820px){
  .v36-hero{
    display:grid!important;
    grid-template-columns:1fr!important;
  }
  .v36-hero-copy{
    grid-column:1!important;
    grid-row:auto!important;
  }
  .v51-capital-chip{
    grid-column:1!important;
    grid-row:auto!important;
    justify-self:start!important;
    width:min(100%,260px)!important;
    min-width:0!important;
    max-width:260px!important;
    margin:0 16px 16px!important;
    z-index:3!important;
  }
  .v36-hero-quote{
    grid-column:1!important;
    grid-row:auto!important;
  }
}


/* ===== R52 hero scene edge + brighter night ===== */
.v36-hero{overflow:hidden!important}
.v42-hero-scene{
  position:absolute!important;
  top:0!important;
  right:0!important;
  bottom:0!important;
  left:42%!important;
  width:auto!important;
  height:100%!important;
  margin:0!important;
  background-size:cover!important;
  background-position:center right!important;
  background-repeat:no-repeat!important;
  border-radius:0!important;
}
.v42-hero-scene:before,
.v42-hero-scene:after{
  right:0!important;
  width:auto!important;
}
.v42-scene-night{
  background-image:url('/static/img/hero-night.svg?v=night-r2')!important;
}
.v42-time-night>.v42-scene-night:after{
  background:linear-gradient(90deg,
    rgba(7,27,34,.97) 0%,
    rgba(7,27,34,.78) 22%,
    rgba(7,27,34,.38) 48%,
    rgba(5,22,29,.08) 78%,
    rgba(5,22,29,0) 100%)!important;
}
@media(max-width:820px){
  /* R70: only the current scene may be visible; formerly all four layers were .52. */
  .v36-hero>.v42-hero-scene{
    left:0!important;
    opacity:0!important;
  }
  .v36-hero>.v42-hero-scene.is-active{
    opacity:.52!important;
  }
}


/* ===== R53 hero date + capital alignment ===== */
.v53-hero-date{
  margin-top:10px;
  color:rgba(229,242,244,.62);
  font-size:9px;
  font-weight:650;
  letter-spacing:.01em;
}
@media(min-width:1100px){
  .v51-capital-chip{
    align-self:center!important;
    justify-self:center!important;
    transform:translateY(14px)!important;
  }
  .v36-hero-quote{
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
  }
  .v50-quote-body{
    align-self:center!important;
    justify-self:start!important;
    padding-top:14px!important;
  }
}
@media(min-width:821px) and (max-width:1099px){
  .v51-capital-chip{
    transform:translateY(8px)!important;
  }
  .v53-hero-date{margin-top:8px}
}
@media(max-width:820px){
  .v51-capital-chip{transform:none!important}
  .v53-hero-date{margin-top:7px}
}


/* ===== R54 clean hero + capital in primary metrics ===== */
@media(min-width:1100px){
  .v36-hero{
    display:grid!important;
    grid-template-columns:minmax(360px,46%) minmax(430px,54%)!important;
    align-items:stretch!important;
    min-height:198px!important;
    position:relative!important;
  }
  .v36-hero-copy{
    grid-column:1!important;
    grid-row:1!important;
    display:flex!important;
    align-items:center!important;
    padding:24px 24px 24px 36px!important;
    min-width:0!important;
  }
  .v36-hero-heading{
    max-width:430px!important;
  }
  .v36-hero-quote{
    grid-column:2!important;
    grid-row:1!important;
    position:relative!important;
    display:flex!important;
    align-items:flex-end!important;
    justify-content:flex-start!important;
    min-height:198px!important;
    padding:20px 34px 56px!important;
  }
  .v50-quote-body{
    align-self:auto!important;
    justify-self:auto!important;
    max-width:390px!important;
    padding:0!important;
  }
  .v50-quote-body blockquote{
    margin:0 0 8px!important;
    max-width:390px!important;
  }
  .v53-hero-date{
    position:absolute!important;
    right:26px!important;
    bottom:17px!important;
    margin:0!important;
    color:rgba(229,242,244,.66)!important;
    text-align:right!important;
    white-space:nowrap!important;
  }
  .v51-capital-chip{display:none!important}
  .v36-primary-grid{
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
  }
}

.v54-capital-card{
  border-color:rgba(91,224,197,.16)!important;
  background:
    radial-gradient(circle at 10% 0%,rgba(68,218,191,.07),transparent 45%),
    var(--v3-card)!important;
}
.v54-capital-card .v36-card-icon{
  color:#68e4c2!important;
}
.v54-capital-card>strong{
  letter-spacing:-.02em;
}

@media(min-width:821px) and (max-width:1099px){
  .v36-hero{
    display:grid!important;
    grid-template-columns:minmax(0,45%) minmax(0,55%)!important;
    grid-template-rows:1fr!important;
  }
  .v36-hero-copy{
    grid-column:1!important;
    grid-row:1!important;
    display:flex!important;
    align-items:center!important;
    padding:20px!important;
  }
  .v36-hero-quote{
    grid-column:2!important;
    grid-row:1!important;
    position:relative!important;
    display:flex!important;
    align-items:flex-end!important;
    padding:18px 20px 52px!important;
  }
  .v53-hero-date{
    position:absolute!important;
    right:20px!important;
    bottom:15px!important;
    margin:0!important;
    text-align:right!important;
  }
  .v51-capital-chip{display:none!important}
  .v36-primary-grid{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }
}

@media(max-width:820px){
  .v51-capital-chip{display:none!important}
  .v36-hero-quote{
    position:relative!important;
  }
  .v53-hero-date{
    position:static!important;
    margin-top:9px!important;
    text-align:left!important;
  }
  .v36-primary-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}

@media(max-width:520px){
  .v36-primary-grid{
    grid-template-columns:1fr!important;
  }
}


/* ===== R55 capital as 4th control card ===== */
.v55-capital-control{
  background:var(--v3-card)!important;
  border-color:var(--v3-border)!important;
}
.v55-capital-control .v36-small-icon{
  color:#69e7c4!important;
}
.v55-capital-value{
  display:block;
  margin-top:26px;
  font-size:28px;
  line-height:1.05;
  letter-spacing:-.025em;
  color:#f2f7f8;
}
.v55-capital-health{
  display:flex;
  align-items:center;
  gap:7px;
  margin:25px 0 0;
  color:#6fe3c2;
  font-size:11px;
  font-weight:720;
}
.v55-capital-health>span{
  display:inline-flex;
  width:16px;
  height:16px;
}
.v55-capital-health .ui-icon{
  width:16px!important;
  height:16px!important;
}

@media(min-width:1100px){
  .v36-primary-grid{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
  }
  .v36-control-grid{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
  }
}
@media(min-width:821px) and (max-width:1099px){
  .v36-primary-grid,
  .v36-control-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}
@media(max-width:520px){
  .v36-primary-grid,
  .v36-control-grid{
    grid-template-columns:1fr!important;
  }
}


/* ===== R56 capital exact control-card style ===== */
.v55-capital-control{
  background:rgba(11,32,40,.92)!important;
  border-color:var(--v3-line)!important;
  color:inherit!important;
  box-shadow:none!important;
}
.v55-capital-control:hover{
  border-color:rgba(102,231,188,.28)!important;
  background:rgba(12,36,44,.96)!important;
}



/* ===== R59 hero quote lower + capital value size ===== */
@media(min-width:1100px){
  .v36-hero-quote{padding-bottom:28px!important}
}
@media(min-width:821px) and (max-width:1099px){
  .v36-hero-quote{padding-bottom:26px!important}
}
.v55-capital-value{
  font-size:19px!important;
  line-height:1.12!important;
  font-weight:700!important;
}



/* ===== R60 second-row icons match primary row ===== */
.v36-control-grid .v36-small-icon{
  width:38px!important;
  height:38px!important;
  min-width:38px!important;
  min-height:38px!important;
  flex-basis:38px!important;
  border-radius:12px!important;
}
.v36-control-grid .v36-small-icon .ui-icon{
  width:19px!important;
  height:19px!important;
}
@media(max-width:820px){
  .v36-control-grid .v36-small-icon{
    width:34px!important;
    height:34px!important;
    min-width:34px!important;
    min-height:34px!important;
    flex-basis:34px!important;
    border-radius:11px!important;
  }
  .v36-control-grid .v36-small-icon .ui-icon{
    width:17px!important;
    height:17px!important;
  }
}



/* ===== R61 move hero quote to lower area ===== */
@media(min-width:1100px){
  .v36-hero-quote{
    display:flex!important;
    flex-direction:column!important;
    align-items:flex-start!important;
    justify-content:flex-end!important;
    padding:18px 34px 22px!important;
  }
  .v50-quote-body{display:contents!important}
  .v50-quote-body blockquote{
    margin:0 0 7px!important;
    max-width:390px!important;
  }
  .v50-quote-body>a{margin:0!important}
  .v53-hero-date{
    position:absolute!important;
    right:26px!important;
    bottom:17px!important;
  }
}
@media(min-width:821px) and (max-width:1099px){
  .v36-hero-quote{
    display:flex!important;
    flex-direction:column!important;
    align-items:flex-start!important;
    justify-content:flex-end!important;
    padding:16px 20px 20px!important;
  }
  .v50-quote-body{display:contents!important}
  .v50-quote-body blockquote{margin:0 0 7px!important}
  .v50-quote-body>a{margin:0!important}
  .v53-hero-date{
    position:absolute!important;
    right:20px!important;
    bottom:15px!important;
  }
}


/* R71: Mobile financial overview, both four-card groups form a stable 2x2 grid.
   Desktop (min-width:821px) is intentionally untouched. */
@media (max-width:820px){
  .v36-dashboard > .v36-primary-grid,
  .v36-dashboard > .v36-control-grid{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    grid-auto-flow:row!important;
    gap:10px!important;
    overflow:visible!important;
    scroll-snap-type:none!important;
    padding:0!important;
  }
  .v36-dashboard > .v36-primary-grid > .v36-primary-card,
  .v36-dashboard > .v36-control-grid > .v36-control-card{
    grid-column:auto!important;
    flex:none!important;
    width:auto!important;
    max-width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
  }
}
@media (max-width:520px){
  .v36-dashboard > .v36-primary-grid,
  .v36-dashboard > .v36-control-grid{
    gap:9px!important;
  }
  .v36-dashboard .v36-primary-grid > .v36-primary-card,
  .v36-dashboard .v36-control-grid > .v36-control-card{
    position:relative!important;
    padding:11px!important;
    min-width:0!important;
    min-height:170px!important;
    gap:7px!important;
    border-radius:16px!important;
  }
  .v36-dashboard .v36-primary-grid > .v36-primary-card{
    grid-template-rows:30px minmax(26px,auto) auto 1fr!important;
  }
  .v36-dashboard .v36-primary-grid > .v36-goal-card{
    grid-template-rows:30px minmax(26px,auto) auto 6px 1fr!important;
  }
  .v36-dashboard .v36-primary-grid .v36-card-icon,
  .v36-dashboard .v36-control-grid .v36-small-icon{
    width:30px!important;
    height:30px!important;
    min-width:30px!important;
    min-height:30px!important;
    flex-basis:30px!important;
    border-radius:10px!important;
  }
  .v36-dashboard .v36-primary-grid .v36-card-icon .ui-icon,
  .v36-dashboard .v36-control-grid .v36-small-icon .ui-icon{
    width:16px!important;
    height:16px!important;
  }
  .v36-dashboard .v36-primary-grid > .v36-primary-card > small,
  .v36-dashboard.v36-dashboard .v36-primary-grid > .v36-primary-card > small,
  .v36-dashboard.v36-dashboard .v36-control-grid .v36-control-title > b{
    font-size:clamp(11px,3.3vw,13px)!important;
    font-weight:500!important;
    line-height:1.22!important;
    overflow-wrap:normal!important;
  }
  .v36-dashboard .v36-primary-grid > .v36-primary-card > strong{
    font-size:clamp(14px,4.3vw,19px)!important;
    line-height:1.13!important;
    letter-spacing:-.035em!important;
    overflow-wrap:anywhere!important;
  }
  .v36-dashboard .v36-primary-grid > .v36-primary-card > strong.v36-event-title{
    font-size:clamp(12px,3.6vw,16px)!important;
    overflow-wrap:anywhere!important;
  }
  .v36-dashboard .v36-primary-grid .v36-card-arrow{
    top:10px!important;
    right:10px!important;
  }
  .v36-dashboard .v36-control-grid .v36-control-head{
    display:block!important;
    min-height:0!important;
  }
  .v36-dashboard .v36-control-grid .v36-control-title{
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    justify-items:start!important;
    align-items:start!important;
    gap:7px!important;
    min-width:0!important;
  }
  .v36-dashboard .v36-control-grid .v36-control-arrow{
    position:absolute!important;
    top:11px!important;
    right:11px!important;
  }
  .v36-dashboard .v36-control-grid .v36-daily-body{
    grid-template-columns:minmax(0,1fr)!important;
    gap:7px!important;
    align-items:start!important;
  }
  .v36-dashboard.v36-dashboard .v36-control-grid .v36-daily-body > div:first-child > strong{
    display:block!important;
    font-size:clamp(14px,4.3vw,19px)!important;
    line-height:1.13!important;
    letter-spacing:-.035em!important;
    overflow-wrap:anywhere!important;
  }
  .v36-dashboard .v36-control-grid .v36-daily-body > div:first-child > small{
    overflow-wrap:anywhere!important;
    line-height:1.35!important;
    font-size:9px!important;
  }
  .v36-dashboard .v36-control-grid .v36-day-ring{
    width:56px!important;
    height:56px!important;
    justify-self:end!important;
    flex:none!important;
  }
  .v36-dashboard .v36-control-grid .v36-day-ring-copy > strong{
    font-size:12px!important;
  }
  .v36-dashboard .v36-control-grid .v36-payments{
    min-width:0!important;
    width:100%!important;
  }
  .v36-dashboard .v36-control-grid .v36-payments > div{
    grid-template-columns:minmax(0,1fr)!important;
    gap:3px!important;
    min-width:0!important;
  }
  .v36-dashboard .v36-control-grid .v36-payments b,
  .v36-dashboard .v36-control-grid .v36-payments strong{
    max-width:100%!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
  }
  .v36-dashboard .v36-control-grid .v36-budget-status{
    font-size:clamp(11px,3.1vw,13px)!important;
    line-height:1.3!important;
    overflow-wrap:anywhere!important;
  }
  .v36-dashboard.v36-dashboard .v36-control-grid .v55-capital-value{
    min-width:0!important;
    max-width:100%!important;
    margin-top:2px!important;
    font-size:clamp(12px,3.8vw,19px)!important;
    line-height:1.16!important;
    letter-spacing:-.045em!important;
    overflow-wrap:anywhere!important;
    font-variant-numeric:tabular-nums!important;
  }
  .v36-dashboard .v36-control-grid .v55-capital-health{
    margin-top:auto!important;
    gap:4px!important;
    font-size:9px!important;
    line-height:1.2!important;
  }
  .v36-dashboard .v36-control-grid .v55-capital-health .ui-icon{
    width:13px!important;
    height:13px!important;
  }
  .v36-dashboard .v36-primary-grid .v36-progress,
  .v36-dashboard .v36-control-grid .v36-progress{
    max-width:100%!important;
    height:6px!important;
  }
}

/* R72 - Vector neon category icon system, matching reference artwork.
   Category "Подписки" and all real service/company logos are NOT targeted. */
svg.v72-neon-category{
  color:#a7faff!important;
  stroke-width:1.72!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
  fill:none;
  overflow:visible;
  filter:
    drop-shadow(0 0 1.5px rgba(133,251,255,.47))
    drop-shadow(0 0 5px rgba(11,204,228,.24));
}
svg.v72-neon-category .cat-accent-blue{
  stroke:#39aaff!important;
  filter:drop-shadow(0 0 2.5px rgba(20,143,255,.58));
}
svg.v72-neon-category .cat-accent-green{
  stroke:#3ee9bb!important;
  filter:drop-shadow(0 0 2.5px rgba(23,221,166,.46));
}
svg.v72-neon-category .cat-accent-gold{
  stroke:#ffd267!important;
  filter:drop-shadow(0 0 2.5px rgba(255,196,59,.5));
}
svg.v72-neon-category .cat-accent-coral{
  stroke:#ff758e!important;
  filter:drop-shadow(0 0 2.5px rgba(255,82,115,.47));
}
svg.v72-neon-category .cat-neon-fill-blue{
  fill:rgba(18,92,158,.29);
  stroke:#7acfff!important;
  filter:drop-shadow(0 0 3px rgba(25,161,255,.25));
}
/* Dark/cyan glass tiles, only for the 35 redesigned category options. */
.v49-icon-option.v72-neon-category-option{
  border-color:rgba(57,191,209,.21);
  background:linear-gradient(165deg,rgba(11,38,49,.98),rgba(5,23,31,.98));
}
.v49-icon-option.v72-neon-category-option .v49-icon-card{
  border:1px solid rgba(68,206,229,.19);
  background:
    radial-gradient(circle at 50% 37%,rgba(20,124,160,.17),transparent 70%),
    linear-gradient(180deg,#0a2a34,#071b24);
  box-shadow:
    inset 0 1px 0 rgba(138,255,247,.075),
    0 4px 14px rgba(0,0,0,.22),
    0 0 12px rgba(20,162,207,.065);
}
.v49-icon-option.v72-neon-category-option:hover .v49-icon-card{
  border-color:rgba(84,227,243,.38);
  box-shadow:0 5px 15px rgba(0,0,0,.20),0 0 14px rgba(40,196,223,.14);
}
.v49-icon-option.v72-neon-category-option .v49-icon-card > svg.v72-neon-category{
  width:35px!important;height:35px!important;
}
.v49-icon-preview > svg.v72-neon-category{
  width:27px!important;height:27px!important;
}
.v49-list-icon > svg.v72-neon-category,
.v331-category-icon.v49-list-icon > svg.v72-neon-category{
  width:26.5px!important;height:26.5px!important;
}
.v49-budget-category-icon > svg.v72-neon-category{
  width:23px!important;height:23px!important;
}
.v44-category-icon > svg.v49-category-svg.v72-neon-category{
  width:18.5px!important;height:18.5px!important;
}
/* Consistent icon color in all category contexts; preserves label text outside icons. */
.v49-icon-option.v72-neon-category-option > span:last-child{
  color:#d6e5e8;
}
@media(max-width:620px){
  .v49-icon-option.v72-neon-category-option .v49-icon-card > svg.v72-neon-category{
    width:31px!important;height:31px!important;
  }
}

/* R73 - exact raster category artwork, losslessly isolated from the approved 6x6 sheet.
   cat_subscriptions and all real service/company logos remain outside this scope. */
img.v73-neon-category{
  display:block;width:30px!important;height:30px!important;max-width:none!important;
  object-fit:contain;overflow:visible;filter:none!important;
}
/* Remove the R72-only decorative tile/frame; each PNG already includes its original neon glow. */
.v49-icon-option.v72-neon-category-option{
  border-color:transparent!important;background:transparent!important;
}
.v49-icon-option.v72-neon-category-option .v49-icon-card,
.v49-icon-option.v72-neon-category-option:hover .v49-icon-card{
  border:0!important;background:transparent!important;box-shadow:none!important;overflow:visible!important;
}
.v49-icon-option.v72-neon-category-option .v49-icon-card > img.v73-neon-category{
  width:40px!important;height:40px!important;
}
.v49-icon-preview > img.v73-neon-category{width:31px!important;height:31px!important}
.v49-list-icon > img.v73-neon-category,
.v331-category-icon.v49-list-icon > img.v73-neon-category{width:30px!important;height:30px!important}
.v49-budget-category-icon > img.v73-neon-category{width:26px!important;height:26px!important}
.v44-category-icon > img.v49-category-svg.v73-neon-category{width:21px!important;height:21px!important}
@media(max-width:620px){
 .v49-icon-option.v72-neon-category-option .v49-icon-card > img.v73-neon-category{
   width:35px!important;height:35px!important;
 }
}

@media(min-width:900px) and (max-width:1100px){
 .v331-categories > .v3-page-heading,
 .v331-categories > .v331-categories-grid{width:calc(100vw - 300px)!important;max-width:calc(100vw - 300px)!important;grid-template-columns:minmax(0,1fr) minmax(0,1.3fr)!important}
 .v331-categories-grid > .v3-panel{min-width:0!important}
 .v331-categories .v49-icon-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}
 .v331-categories .v49-icon-option{grid-column:auto!important}
}

.v331-categories .v49-icon-grid > .v49-icon-option{grid-column:auto!important}

/* mm-auth-center-r1: viewport-center anonymous login and register */
main.content.auth-content {
  width: 100%;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: clamp(12px, 3vw, 34px) !important;
  padding-right: clamp(12px, 3vw, 34px) !important;
}
main.content.auth-content > .auth-wrap {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}


/* simulator-professional-layout-v1 */
.simulator-page{max-width:1180px;margin:0 auto}.simulator-head{margin-bottom:28px}.simulator-head p{max-width:760px}.simulator-control-card{padding:30px 32px;border-radius:26px}.simulator-form{display:flex;flex-direction:column;gap:26px}.simulator-section{display:flex;flex-direction:column;gap:18px}.simulator-section-head{display:flex;align-items:flex-start;gap:13px}.simulator-section-head h2{margin:0 0 3px;font-size:18px;line-height:1.25}.simulator-section-head p{margin:0;color:var(--muted);font-size:13px;line-height:1.45}.simulator-step{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;flex:0 0 34px;border-radius:10px;background:rgba(100,218,199,.11);border:1px solid rgba(100,218,199,.2);color:var(--accent,#70dccb);font-size:11px;font-weight:800;letter-spacing:.04em}.simulator-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:22px;align-items:start}.simulator-field{display:flex;flex-direction:column;gap:9px;min-width:0;margin:0}.simulator-field>span{font-size:13px;font-weight:700;color:var(--muted);line-height:1.2}.simulator-field select,.simulator-field input[type=number]{width:100%;height:54px;box-sizing:border-box;border-radius:15px;padding:0 16px;font-size:15px}.simulator-field-range{gap:9px}.simulator-range-line{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;min-height:26px;padding:0 2px}.simulator-range-line input[type=range]{width:100%;margin:0}.simulator-range-value{min-width:86px;text-align:right;font-size:12px;font-weight:700;color:var(--muted);white-space:nowrap}.simulator-divider{height:1px;background:linear-gradient(90deg,transparent,rgba(145,174,185,.2) 8%,rgba(145,174,185,.2) 92%,transparent)}.simulator-actions{display:flex;flex-direction:column;align-items:center;gap:9px;padding-top:2px}.simulator-submit{width:min(100%,420px);min-height:54px;border-radius:15px;font-size:15px;font-weight:800}.simulator-actions small{color:var(--muted);font-size:11px;text-align:center}.sim-live{margin-top:22px;display:grid;gap:14px}.sim-live[hidden]{display:none!important}.simulator-server-result{margin-top:14px}
@media(max-width:760px){.simulator-page{max-width:none}.simulator-head{margin-bottom:18px}.simulator-control-card{padding:20px 16px;border-radius:20px}.simulator-form{gap:22px}.simulator-row{grid-template-columns:1fr;gap:16px}.simulator-section{gap:15px}.simulator-section-head{gap:10px}.simulator-field select,.simulator-field input[type=number]{height:52px}.simulator-range-line{grid-template-columns:minmax(0,1fr) 78px;gap:8px}.simulator-submit{width:100%}.simulator-actions{padding-top:0}}
@media(min-width:761px) and (max-width:1050px){.simulator-page{max-width:940px}.simulator-control-card{padding:26px}.simulator-row{gap:18px}}


/* simulator-compact-layout-v2 */
.simulator-page{max-width:1120px}.simulator-head{margin-bottom:20px}.simulator-control-card{padding:22px 24px;border-radius:22px}.simulator-form{gap:18px}.simulator-section{gap:12px}.simulator-section-head{gap:10px}.simulator-section-head h2{margin:0 0 2px;font-size:17px;line-height:1.2}.simulator-section-head p{font-size:12px;line-height:1.35}.simulator-step{width:30px;height:30px;flex-basis:30px;border-radius:9px;font-size:10px}.simulator-row{gap:18px}.simulator-field{gap:7px}.simulator-field>span{font-size:12px}.simulator-field select,.simulator-field input[type=number]{height:47px;border-radius:13px;padding:0 14px;font-size:14px}.simulator-field-range{gap:6px}.simulator-range-line{gap:10px;min-height:20px;padding:0 1px}.simulator-range-value{min-width:76px;font-size:11px}.simulator-divider{margin:0}.simulator-actions{gap:6px;padding-top:0}.simulator-submit{width:min(100%,360px);min-height:47px;border-radius:13px;font-size:14px}.simulator-actions small{font-size:10px}.sim-live{margin-top:16px;gap:12px}
@media(max-width:760px){.simulator-head{margin-bottom:14px}.simulator-control-card{padding:16px 14px;border-radius:18px}.simulator-form{gap:16px}.simulator-section{gap:11px}.simulator-section-head{gap:9px}.simulator-row{gap:12px}.simulator-field{gap:6px}.simulator-field select,.simulator-field input[type=number]{height:46px}.simulator-range-line{grid-template-columns:minmax(0,1fr) 70px;gap:7px}.simulator-submit{min-height:46px}.simulator-actions small{display:none}}
@media(min-width:761px) and (max-width:1050px){.simulator-page{max-width:900px}.simulator-control-card{padding:20px 22px}.simulator-row{gap:16px}}


/* simulator-apply-actions-v1 */
.simulator-live-actions{display:flex;align-items:center;justify-content:space-between;gap:18px}.simulator-live-actions-copy p{margin:3px 0 0;color:var(--muted);font-size:12px}.simulator-live-actions-buttons{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}.simulator-live-actions-buttons form{margin:0}.goal-prefill{outline:1px solid rgba(100,218,199,.4);box-shadow:0 0 0 4px rgba(100,218,199,.06)}
@media(max-width:760px){.simulator-live-actions{align-items:stretch;flex-direction:column}.simulator-live-actions-buttons{justify-content:stretch}.simulator-live-actions-buttons .btn,.simulator-live-actions-buttons form{width:100%}.simulator-live-actions-buttons form .btn{width:100%}}


/* actionable-analytics-v1 */
.v38-action-row{text-decoration:none;color:inherit}.v38-category-item.v38-action-row,.v38-sub-row.v38-action-row,.v38-plan-note.v38-action-row{transition:background .16s ease,border-color .16s ease,transform .16s ease}.v38-category-item.v38-action-row:hover,.v38-sub-row.v38-action-row:hover{background:rgba(112,220,203,.045)}.v38-plan-note.v38-action-row:hover{border-color:rgba(112,220,203,.24);background:rgba(112,220,203,.055)}.v38-action-row:focus-visible{outline:2px solid rgba(112,220,203,.55);outline-offset:2px;border-radius:10px}
