/* Shared v0.30 screens. Approved Home composition remains in v030-home.css. */
:root{--v30-radius:calc(var(--preview-u)*17);--v30-gap:calc(var(--preview-u)*12);--v30-border:#e5edf3;--v30-shadow:0 3px 18px #315b7b07;--v30-gradient:linear-gradient(0deg,#0b3b6c,transparent 98%),linear-gradient(110deg,#08325c,#085db7 48%,#0364cb)}
html{overflow-x:clip}.v030-active{max-width:var(--preview-width);background:var(--preview-bg);color:var(--preview-ink);padding-bottom:max(calc(var(--preview-u)*118),calc(72px + env(safe-area-inset-bottom)));--blue:#0871cd;--blue-hover:#0761b4;--line:var(--v30-border);--shadow:var(--v30-shadow)}
.v030-active:not(.preview-home-active){padding-bottom:max(calc(var(--preview-u)*118),calc(72px + env(safe-area-inset-bottom)))}
.v030-active.preview-home-active{padding-bottom:calc(var(--preview-u)*118)}
.v030-active .shell{min-height:100svh}.v030-active [hidden]{display:none!important}
.v030-active .topbar{height:calc(var(--preview-u)*310);background-color:var(--preview-sky);background-image:linear-gradient(180deg,var(--preview-sky) 0,#3aa7f4 calc(var(--preview-u)*68),transparent calc(var(--preview-u)*136)),url('/canadian-header.webp');background-size:100% 100%,110% auto;background-position:center top,right bottom;background-repeat:no-repeat;overflow:visible}
.v030-active .topbar:after{content:"";position:absolute;bottom:0;left:0;right:0;height:calc(var(--preview-u)*65);background:linear-gradient(transparent,var(--preview-bg));pointer-events:none}
.v030-active .preview-header-ui{display:block;position:absolute;inset:0;padding:env(safe-area-inset-top,0px) env(safe-area-inset-right,0px) 0 env(safe-area-inset-left,0px);z-index:1}.v030-active .topbar>.brand{display:none}
.v030-active .preview-bell{background:#fff;color:#111}.v030-active .preview-bell span{background:#ff253e;color:#fff}
.v030-active .page{max-width:var(--preview-width);padding:0 calc(var(--preview-u)*25) calc(var(--preview-u)*27);margin-top:calc(var(--preview-u)*-43);position:relative;z-index:1}
.v030-active .app-view:not([data-view="home"]){font-size:max(13px,calc(var(--preview-u)*21));line-height:1.35;min-width:0}
.v030-active .view-head{display:flex;flex-wrap:wrap;align-items:flex-start;gap:var(--v30-gap);margin-bottom:calc(var(--preview-u)*22);padding:0 calc(var(--preview-u)*10)}
.v030-active .view-head h1{font-size:calc(var(--preview-u)*41);font-weight:750;letter-spacing:calc(var(--preview-u)*-1);line-height:1.1;margin:0 0 calc(var(--preview-u)*6)}
.v030-active .view-head p{font-size:max(13px,calc(var(--preview-u)*21));font-weight:400;line-height:1.3;color:var(--preview-gray);margin:0}
.v030-active .view-tools{display:flex;flex-wrap:wrap;gap:8px;width:100%;margin-top:5px;align-items:center}
.v030-active .app-view:not([data-view="home"]) .btn,.v030-active .modal .btn{background:#fff;color:#172231;border:1px solid var(--v30-border);border-radius:var(--v30-radius);box-shadow:0 2px 9px #1b619108;padding:10px 13px;min-height:40px;font-size:max(13px,calc(var(--preview-u)*20));line-height:1.15;font-weight:650;white-space:normal}
.v030-active .app-view:not([data-view="home"]) .btn.primary,.v030-active .modal .btn.primary{background:linear-gradient(0deg,#00428638,transparent 85%),linear-gradient(100deg,#0761c5,#1186f7);border-color:transparent;color:#fff}
.v030-active .app-view:not([data-view="home"]) .btn.danger,.v030-active .modal .btn.danger{background:#fff;color:var(--red);border-color:#f2d5d8}
.v030-active .btn:disabled{opacity:.55;cursor:default}.v030-active .icon-btn{display:grid;place-items:center;width:40px;height:40px;min-width:40px;padding:0;background:#fff;border:1px solid var(--v30-border);border-radius:var(--v30-radius);color:#096cc5;font-size:28px;line-height:1}
.v030-active .credit-rule:not(#targetInfoBtn){background:#e9f5fc;border:1px solid #cee4f6;color:#096cc5;min-height:36px;font-size:max(12px,calc(var(--preview-u)*18));padding:7px 12px}
.v030-active input,.v030-active select,.v030-active textarea{max-width:100%;min-width:0;border-color:#dce7ef;border-radius:10px;font-size:16px}
.v030-active input[type="checkbox"]{accent-color:#0871cd;flex:none}.v030-active .linkbtn{color:#096cc5;display:inline-flex;align-items:center;gap:4px;font-weight:500}.v030-active .linkbtn svg{width:16px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8}
.v030-active .status{font-size:max(11px,calc(var(--preview-u)*16));font-weight:600;border-radius:999px;padding:5px 9px;line-height:1.2;white-space:normal}
.v030-active .status.overdue{background:#fff0f2;color:#f12535}.v030-active .status.soon{background:#fff1dd;color:#a65b00}.v030-active .status.paid{background:#e1f7e9;color:#119753}.v030-active .status.upcoming{background:#e9f5fc;color:#096cc5}
.v030-active .v30-note{padding:12px 14px;background:#e9f5fc;color:#28618b;border-radius:var(--v30-radius);font-size:13px;line-height:1.45}.v030-active .v30-empty{padding:16px;color:var(--preview-gray);font-size:max(12px,calc(var(--preview-u)*18));margin:0}
.v030-active .v30-below{color:#9ee5c0}.v030-active .preview-use-fill.v30-within-target{background:#25c978}
/* Bills: the existing row handlers/filters remain; the table becomes compact cards. */
.v030-active #billsPanel{background:transparent;border:0;border-radius:0;box-shadow:none;overflow:visible}.v030-active #billsPanel .toolbar{padding:0;display:flex;flex-direction:column;align-items:stretch;gap:12px;border:0;margin-bottom:14px}.v030-active .filter-stack{gap:9px}
.v030-active .tabs{background:#eaf3f9;border-radius:var(--v30-radius);padding:4px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%}.v030-active .tab{border-radius:calc(var(--preview-u)*12);padding:9px 8px;font-size:13px;font-weight:600;min-height:38px}.v030-active .tab.active{color:#086bc5;background:#fff;box-shadow:0 2px 6px #23577a0a}
.v030-active .categories{gap:6px}.v030-active .category{font-size:12px;padding:6px 10px;min-height:30px;border-color:var(--v30-border);background:#fff;color:#747e8c;font-weight:500}.v030-active .category.active{color:#fff;background:#086dc8;border-color:#086dc8}
.v030-active .search-sort{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);gap:8px;width:100%}.v030-active .search,.v030-active .sort{width:100%;padding:10px 9px;min-height:42px;border-color:var(--v30-border);background:#fff}
.v030-active .v27-totals{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--v30-gap);margin:0 0 14px}.v030-active .v27-total{border:0;border-radius:var(--v30-radius);box-shadow:var(--v30-shadow);background:#fff;min-width:0;padding:8px 10px;font-size:11px;line-height:1.25}
.v030-active .v27-total strong{font-size:max(18px,calc(var(--preview-u)*24));line-height:1.15;margin:3px 0 2px;overflow-wrap:anywhere}.v030-active .v27-total small{font-size:10px;line-height:1.25;margin:0;color:var(--preview-gray)}
.v030-active #billsPanel .tablewrap{overflow:visible}.v030-active #billsPanel table{display:block;min-width:0;width:100%}.v030-active #billsPanel thead{display:none}.v030-active #billRows{display:grid;gap:var(--v30-gap)}
.v030-active #billRows tr{position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px 12px;border:1px solid #edf2f6;border-radius:var(--v30-radius);padding:14px 14px 68px;background:#fff;box-shadow:var(--v30-shadow);min-width:0;overflow:hidden}
.v030-active #billRows td{display:block;border:0;padding:0;min-width:0;width:auto;text-align:left;background:none}.v030-active #billRows td:first-child{grid-column:1/-1;padding:0 0 6px}.v030-active #billRows td:first-child:before{display:none}
.v030-active #billRows .company{font-size:max(15px,calc(var(--preview-u)*24));font-weight:700;line-height:1.2;overflow-wrap:anywhere}.v030-active #billRows .v25-company{gap:11px}.v030-active #billRows .v25-logo{width:44px;height:36px;flex:none;border-radius:10px}.v030-active #billRows .account,.v030-active #billRows .frequency{font-size:12px;line-height:1.3;color:var(--preview-gray);margin:3px 0 0 55px;overflow-wrap:anywhere}
.v030-active #billRows .money{font-size:max(19px,calc(var(--preview-u)*29));font-weight:700;letter-spacing:-.3px;line-height:1.2;overflow-wrap:anywhere}.v030-active #billRows .minimum,.v030-active #billRows .credit-detail{font-size:11px;line-height:1.35;color:var(--preview-gray);margin-top:4px;overflow-wrap:anywhere}.v030-active #billRows .credit-detail.over{color:#c95560}
.v030-active #billRows .due{font-size:max(13px,calc(var(--preview-u)*21));font-weight:600;line-height:1.35}.v030-active #billRows .date-sub{font-size:11px;margin-top:3px;color:var(--preview-gray)}.v030-active #billRows .mobile-status{display:inline-flex;margin-top:6px}.v030-active #billRows td:nth-child(4),.v030-active #billRows td:nth-child(6){display:none}.v030-active #billRows td:nth-child(5){grid-column:1/-1;color:var(--preview-gray);font-size:12px}.v030-active #billRows td:nth-child(5):before{content:"Autopay · "}
.v030-active #billRows .mobile-row-actions{position:absolute;bottom:14px;left:14px;right:14px;display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:0}.v030-active #billRows .mobile-row-actions .btn{width:100%;font-size:13px;min-height:38px}.v030-active #billRows [data-edit]{background:#fff;color:#172231}.v030-active #billRows [data-paid]{color:#fff}
/* Calendar remains the real due-date grid and date drill-down. */
.v030-active .calendar-card{border:1px solid var(--v30-border);border-radius:var(--v30-radius);background:#fff;box-shadow:var(--v30-shadow);overflow:hidden;padding:0 8px 10px}
.v030-active .calendar-toolbar{padding:12px 4px;gap:8px;display:flex;justify-content:space-between;align-items:center;border:0}.v030-active .calendar-toolbar h2{font-size:max(17px,calc(var(--preview-u)*28));font-weight:700;letter-spacing:-.4px;margin:0;text-align:center}
.v030-active .calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;min-width:0}.v030-active .cal-weekday{font-size:11px;color:var(--preview-gray);font-weight:500;padding:8px 0;text-align:center}
.v030-active .cal-day{position:relative;min-height:max(68px,calc(var(--preview-u)*105));padding:4px 3px;background:#f9fcff;border:1px solid #edf3f8;border-radius:9px;min-width:0;text-align:left;color:#334158;overflow:hidden}.v030-active .cal-day:disabled{opacity:1;cursor:default}.v030-active .cal-day.outside{background:#fafbfc;color:#a8b2bd}.v030-active .cal-day.today{border-color:#1082df;background:#e9f5ff}.v030-active .cal-number{font-size:12px;font-weight:600;line-height:1.2}
.v030-active .v271-cal-icons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(4,12px);gap:1px;position:absolute;right:2px;bottom:3px;max-width:100%}.v030-active .v271-cal-icon{min-width:0;width:16px;height:12px;gap:1px}.v030-active .v271-cal-icon .v25-logo{width:11px;height:11px;min-width:0;border-radius:3px}.v030-active .v271-cal-status{width:3px;height:3px}.v030-active .v271-cal-more{font-size:8px;padding:0;line-height:1;max-width:100%}
/* History uses the existing month list, then month detail. */
.v030-active .history-card{background:transparent;border:0;box-shadow:none;border-radius:0;display:grid;gap:var(--v30-gap);overflow:visible}.v030-active .history-month{background:#fff;border:1px solid #edf2f6;border-radius:var(--v30-radius);box-shadow:var(--v30-shadow);display:grid;grid-template-columns:44px minmax(0,1fr) 14px;gap:13px;width:100%;padding:15px;align-items:center;text-align:left;color:var(--preview-ink)}
.v030-active .history-dot{background:#e9f5fc;border-radius:12px;width:44px;height:44px;color:#096cc5;display:grid;place-items:center;font-size:17px;font-weight:600}.v030-active .history-month strong{font-size:16px;font-weight:700}.v030-active .history-month small{font-size:12px;color:var(--preview-gray);display:block;margin-top:3px}.v030-active .history-chevron{color:#7a7e8b;font-size:25px}
.v030-active .history-back{border:0;background:none;color:#096cc5;font-size:14px;font-weight:500;padding:0;margin-bottom:14px}.v030-active .history-row{display:grid;grid-template-columns:40px minmax(0,1fr) minmax(65px,auto);gap:10px;align-items:center;background:#fff;border:1px solid #edf2f6;border-radius:var(--v30-radius);box-shadow:var(--v30-shadow);padding:14px 12px;min-width:0}.v030-active .history-row>.v25-logo{width:40px;height:38px}.v030-active .history-row strong{font-size:14px;line-height:1.25;overflow-wrap:anywhere}.v030-active .history-row small{display:block;font-size:11px;color:var(--preview-gray);line-height:1.35;margin-top:3px}.v030-active .history-amount{font-size:16px;font-weight:700;text-align:right;overflow-wrap:anywhere}.v030-active .history-empty{background:#fff;border-radius:var(--v30-radius);padding:20px;color:var(--preview-gray)}
/* More keeps the established groups and all controls. */
.v030-active .more-grid{display:flex;flex-direction:column;gap:18px}.v030-active .v271-more-section{margin:0;width:100%;min-width:0}.v030-active .v271-section-title{font-size:max(17px,calc(var(--preview-u)*28));font-weight:700;letter-spacing:-.4px;margin:0 0 11px;padding:0}.v030-active .v271-more-items{display:grid;gap:var(--v30-gap)}
.v030-active .more-card{background:#fff;border:1px solid #edf2f6;border-radius:var(--v30-radius);box-shadow:var(--v30-shadow);padding:16px;min-width:0}.v030-active .more-card h2{display:flex;align-items:center;gap:10px;font-size:max(16px,calc(var(--preview-u)*26));font-weight:700;line-height:1.2;margin:0 0 8px;letter-spacing:-.35px}.v030-active .more-card p{color:var(--preview-gray);font-size:13px;line-height:1.45;margin:0 0 12px}.v030-active .more-actions{display:flex;flex-wrap:wrap;gap:8px}.v030-active .more-actions>.btn{flex:1 1 125px}.v030-active .more-card>.btn{background:#fff;color:#096cc5}.v030-active .v30-section-icon{display:grid;place-items:center;flex:none;width:36px;height:36px;border-radius:10px;background:#e9f5fc;color:#096cc5}.v030-active .v30-section-icon svg{width:24px;height:24px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.v030-active .v30-section-icon.warning{background:#fff0f2;color:#f12535}
.v030-active #v25AlertsMoreBtn{background:linear-gradient(0deg,#00428638,transparent 85%),linear-gradient(100deg,#0761c5,#1186f7)!important;border-color:transparent!important;color:#fff!important}.v030-active .v271-alert-count{color:#f12535;font-size:12px}.v030-active .privacy-note{align-items:flex-start;gap:10px}.v030-active .privacy-badge{border-radius:10px;background:#e1f7e9;color:#0da752;width:36px;height:36px;flex:none}.v030-active .privacy-note h2{font-size:16px}.v030-active .v271-privacy p{font-size:12px}
/* Option D Hybrid: four metrics, category cards, dated monthly timeline. */
.v030-active .v30-snapshot-head{flex-direction:row;align-items:center;justify-content:space-between;flex-wrap:nowrap;padding:0;margin-bottom:15px;gap:8px}.v030-active .v30-snapshot-head>div{min-width:0;flex:1}.v030-active .v30-snapshot-head p{font-size:14px;margin-top:2px}.v030-active #v30SnapshotMonth{width:100%;max-width:100%;font-size:clamp(19px,calc(var(--preview-u)*39),36px);font-weight:750;color:#101621;border:0;background:none;padding:0;min-height:34px;letter-spacing:-.6px}.v030-active #v30MonthPicker{flex:none;display:flex;align-items:center;gap:6px;background:#fff;color:#172231;font-weight:650;padding:10px;border-radius:var(--v30-radius);font-size:13px}.v030-active #v30MonthPicker svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8}.v030-active #v30MonthPicker svg:last-child{width:12px}
.v030-active .v30-month-picker{display:grid;grid-template-columns:40px minmax(0,1fr) 40px;gap:12px;align-items:center}.v030-active #v30MonthChoice{width:100%;min-height:42px;border:1px solid var(--v30-border);padding:8px 4px}
.v030-active .v30-snapshot-overview{background:var(--v30-gradient);color:#fff;border-radius:var(--v30-radius);box-shadow:var(--v30-shadow);padding:20px 14px 16px;margin-bottom:18px}.v030-active .v30-snapshot-kpis{display:grid;grid-template-columns:1.4fr 1fr 1fr .9fr;gap:9px;margin-bottom:18px}.v030-active .v30-snapshot-kpis>div{min-width:0;container-type:inline-size}.v030-active .v30-snapshot-kpis>div+div{border-left:1px solid #c1d7e535;padding-left:9px}.v030-active .v30-snapshot-kpis>div>span{display:flex;align-items:center;gap:4px;color:#d1e3f1;font-size:clamp(9px,calc(var(--preview-u)*19),17px);line-height:1.2;min-height:20px}.v030-active .v30-snapshot-kpis svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;flex:none}.v030-active .v30-snapshot-kpis strong{display:block;font-size:clamp(10px,18cqw,29px);line-height:1.2;margin-top:7px;font-weight:700;letter-spacing:-.3px;overflow-wrap:normal;white-space:nowrap}.v030-active .v30-total-scheduled strong{font-size:clamp(14px,18cqw,35px)}.v030-active .v30-paid-kpi b{background:#50d894;color:#084c39;border-radius:50%;width:16px;height:16px;display:grid;place-items:center;font-size:12px;flex:none}.v030-active .v30-due-kpi svg{color:#ffcc4b}.v030-active .v30-overdue-kpi strong{color:#ffb0b6}
.v030-active .v30-payment-progress [role="progressbar"]{height:8px;border-radius:999px;background:#86adc6;overflow:hidden}.v030-active .v30-payment-progress i{display:block;height:100%;background:#50d894;border-radius:999px}.v030-active .v30-payment-progress+.v30-payment-progress{margin-top:12px}.v030-active .v30-progress-caption{display:flex;justify-content:space-between;font-size:12px;color:#fff;margin-top:7px;gap:6px}
.v030-active .v30-section-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:18px 0 10px}.v030-active .v30-section-heading h2{font-size:max(18px,calc(var(--preview-u)*29));font-weight:700;letter-spacing:-.45px;margin:0;line-height:1.2}.v030-active .v30-section-heading .linkbtn{padding:0;font-size:13px;white-space:nowrap}
.v030-active .v30-category-tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--v30-gap)}.v030-active .v30-category-tile{--category-icon:max(32px,calc(var(--preview-u)*52));min-width:0;display:grid;grid-template-columns:var(--category-icon) minmax(0,1fr) 10px;gap:9px;padding:12px 10px;border-radius:var(--v30-radius);background:#fff;box-shadow:var(--v30-shadow);border:1px solid #edf2f6;align-items:center;color:#111722;text-align:left;min-height:66px;font-weight:400}.v030-active .v30-category-tile.is-selected{border-color:#1682d6;background:#edf7ff}.v030-active .v30-category-tile .preview-tile-icon{width:var(--category-icon);height:var(--category-icon);border-radius:50%;flex:none;background:#e4f3ff}.v030-active .v30-category-tile .preview-tile-icon svg{width:max(22px,calc(var(--preview-u)*34));height:max(22px,calc(var(--preview-u)*34))}.v030-active .v30-category-copy{min-width:0}.v030-active .v30-category-copy>span{font-size:max(11px,calc(var(--preview-u)*18));color:#526276;display:block;line-height:1.2}.v030-active .v30-category-copy strong{font-size:max(16px,calc(var(--preview-u)*28));font-weight:700;display:block;margin-top:3px;letter-spacing:-.3px;overflow-wrap:anywhere}.v030-active .v30-tile-chevron svg{width:10px;height:18px;stroke:#8795a6;fill:none;stroke-width:2}
.v030-active .v30-snapshot-options{margin-top:14px;background:#fff;border-radius:var(--v30-radius);border:1px solid #edf2f6;padding:14px;box-shadow:var(--v30-shadow)}.v030-active .v30-snapshot-options .v25-toggle{font-size:12px;line-height:1.4;gap:12px;margin:0 0 10px;align-items:center}.v030-active .v30-snapshot-options details{font-size:12px;color:var(--preview-gray)}.v030-active .v30-snapshot-options summary{color:#096cc5;font-weight:500;cursor:pointer}.v030-active .v30-snapshot-options p{line-height:1.45}.v030-active .v30-calculation-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.v030-active .v30-calculation-details span{display:block;min-width:0}.v030-active .v30-calculation-details strong{display:block;color:#172231;overflow-wrap:anywhere}
.v030-active .v30-timeline{position:relative;padding:0 10px;background:#fff;border-radius:var(--v30-radius);border:1px solid #edf2f6;box-shadow:var(--v30-shadow);overflow:hidden}.v030-active .v30-timeline:before{content:"";position:absolute;left:15px;top:27px;bottom:27px;width:2px;background:#e3e9ee}.v030-active .v30-timeline-row{position:relative;display:grid;grid-template-columns:8px max(30px,calc(var(--preview-u)*42)) max(34px,calc(var(--preview-u)*52)) minmax(0,1fr) auto 10px;gap:7px;width:100%;padding:12px 0;background:none;border:0;border-bottom:1px solid #edf1f5;text-align:left;align-items:center;color:#172231;font-weight:400;min-height:max(67px,calc(var(--preview-u)*89))}.v030-active .v30-timeline-row:last-child{border:0}.v030-active .v30-timeline-dot{width:7px;height:7px;border-radius:50%;background:#efb834;z-index:1}.v030-active .v30-timeline-dot.paid{background:#49ce89}.v030-active .v30-timeline-dot.overdue{background:#f12535}.v030-active .v30-timeline-date{font-size:max(9px,calc(var(--preview-u)*15));text-align:center;color:#6d7888;text-transform:uppercase;line-height:1.2}.v030-active .v30-timeline-date strong{font-size:max(13px,calc(var(--preview-u)*24));color:#172231;display:block;margin-top:2px}.v030-active .v30-timeline-row>.v25-logo{width:max(34px,calc(var(--preview-u)*52));height:max(34px,calc(var(--preview-u)*52));border-radius:9px}.v030-active .v30-timeline-copy{min-width:0;border-left:1px solid #edf1f5;padding-left:2px}.v030-active .v30-timeline-copy>strong{font-size:max(13px,calc(var(--preview-u)*23));font-weight:700;line-height:1.2;display:block;overflow-wrap:anywhere}.v030-active .v30-timeline-copy small{display:block;font-size:max(10px,calc(var(--preview-u)*19));color:var(--preview-gray);line-height:1.3;margin-top:4px;overflow-wrap:anywhere}.v030-active .v30-timeline-state{min-width:0;text-align:right}.v030-active .v30-timeline-state .status{font-size:max(10px,calc(var(--preview-u)*17));padding:6px 8px;gap:3px;white-space:nowrap}.v030-active .v30-timeline-chevron svg{width:10px;height:18px;stroke:#8795a6;fill:none;stroke-width:2}
/* Existing dialogs/forms get the same cards without changing their behavior. */
.v030-active .modalback{padding:12px;backdrop-filter:none}.v030-active .modal{width:min(var(--preview-width),680px);max-height:calc(100dvh - 24px - env(safe-area-inset-top));border-radius:max(14px,var(--v30-radius));border:1px solid var(--v30-border);box-shadow:0 16px 50px #183c5b33;font-size:14px;line-height:1.45;overflow-x:hidden}.v030-active .modalhead{padding:16px;border-color:var(--v30-border);background:#f5fafe}.v030-active .modalhead h2{font-size:19px;line-height:1.2;font-weight:700;letter-spacing:-.4px}.v030-active .close{width:34px;height:34px;flex:none;background:#fff;border:1px solid var(--v30-border);color:#657388}.v030-active .modalbody{padding:16px}.v030-active .modalfoot{padding:0 16px 16px;flex-wrap:wrap}.v030-active .fields{gap:12px}.v030-active .field{min-width:0}.v030-active .field label{font-size:13px}.v030-active .v25-list .v25-row{min-width:0;gap:9px}.v030-active .v25-row>span{min-width:0;overflow-wrap:anywhere}.v030-active .v28-panel,.v030-active .v28-wizard-card{border-radius:var(--v30-radius);border-color:var(--v30-border)}.v030-active .v28-accounts{max-width:100%;overflow-x:auto}.v030-active .v28-account{min-width:0}.v030-active .v271-day-row{min-width:0}.v030-active .v271-day-row>div{min-width:0;overflow-wrap:anywhere}.v030-active .v271-day-actions{display:flex;flex-wrap:wrap;gap:7px}
.v030-active .bottom-nav{left:50%;right:auto;transform:translateX(-50%);width:var(--preview-width);height:calc(var(--preview-u)*116);padding:calc(var(--preview-u)*13) calc(var(--preview-u)*14) max(calc(var(--preview-u)*25),env(safe-area-inset-bottom));background:#fff;border-top:1px solid #dfe8ef;box-shadow:0 -2px 12px #315a7204;z-index:8;grid-template-columns:repeat(5,1fr)}
.v030-active .nav-item{font-size:calc(var(--preview-u)*20);line-height:1.1;font-weight:400;gap:calc(var(--preview-u)*6);padding:0;color:#777b8c}.v030-active .nav-item svg{width:calc(var(--preview-u)*35);height:calc(var(--preview-u)*35);stroke-width:1.8}.v030-active .nav-item.active{color:#0871cd;font-weight:600}.v030-active .nav-item.active svg{fill:#0871cd;stroke:#0871cd}.v030-active .nav-item.active:after{display:none}.v030-active [data-nav="more"] .v25-badge{display:none!important}
.v030-active .nav-item.active:not([data-nav="home"]) svg{fill:none}
@media(max-width:360px){.v030-active .fields{grid-template-columns:minmax(0,1fr)}.v030-active .field.full{grid-column:auto}.v030-active .v30-category-tile{gap:6px;padding:10px 8px;grid-template-columns:30px minmax(0,1fr) 8px}.v030-active .v30-category-tiles .preview-tile-icon{width:30px;height:30px}.v030-active .v30-snapshot-overview{padding:14px 8px}.v030-active .v30-snapshot-kpis{gap:5px}.v030-active .v30-snapshot-kpis>div+div{padding-left:5px}.v030-active .more-card{padding:13px}.v030-active .v30-timeline-row{gap:4px;grid-template-columns:7px 26px 28px minmax(0,1fr) auto 8px}.v030-active .v30-timeline-copy>strong{font-size:12px}.v030-active .v30-timeline-state .status{font-size:9px;padding:5px 6px}.v030-active .v30-snapshot-kpis svg{width:12px;height:12px}.v030-active .v30-snapshot-kpis>div>span{font-size:9px;gap:2px}.v030-active .v30-snapshot-head p{font-size:12px}.v030-active .v30-timeline-row>.v25-logo{width:30px;height:30px}.v030-active .modalbody{padding:13px}}
@media(prefers-reduced-motion:reduce){.v030-active *{scroll-behavior:auto;transition:none;animation:none}}

.v030-active #accountButton.preview-sync{position:absolute;top:max(calc(var(--preview-u)*65),calc(env(safe-area-inset-top,0px) + var(--preview-u)*12));left:max(calc(var(--preview-u)*25),calc(env(safe-area-inset-left,0px) + var(--preview-u)*12));border:0;border-radius:999px;background:rgba(235,251,255,.76);color:#20262d;padding:calc(var(--preview-u)*10) calc(var(--preview-u)*18);display:flex;gap:calc(var(--preview-u)*9);align-items:center;font-size:calc(var(--preview-u)*17);line-height:1.2;font-weight:400;white-space:nowrap;min-height:0;margin:0;max-width:calc(var(--preview-u)*360);white-space:nowrap;line-height:1.45;color:#153145}.v030-active #accountButton.preview-sync:before{content:"";display:block;flex:none;width:calc(var(--preview-u)*13);height:calc(var(--preview-u)*13);border-radius:50%;background:#14bc52}.v030-active #accountButton[data-sync-state^="Offline"]:before{background:#eeae32}.v030-active #accountButton[data-sync-state="Sign in"]:before{background:#8a9aa6}
.v030-active .preview-credit-metrics:has([data-detail="above-target"][hidden]){grid-template-columns:repeat(2,minmax(0,1fr))}
.v030-active .modalback{padding-bottom:max(12px,env(safe-area-inset-bottom));align-items:center}.v030-active .modal{max-height:calc(100dvh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom))}.v030-active .modalhead{position:sticky;top:0;z-index:2}.v030-active .account-card .btn.primary{background:linear-gradient(100deg,#0761c5,#1186f7);border-color:transparent;color:#fff}.v030-active #accountGate{padding:16px max(16px,env(safe-area-inset-right));max-width:100vw}

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

.v030-active #v30SnapshotMonth::-webkit-calendar-picker-indicator{display:none}.v030-active .v30-timeline-chevron svg,.v030-active .v30-tile-chevron svg{max-width:100%}

.v030-active .v30-snapshot-kpis .v30-currency-total{display:block;white-space:nowrap;font-size:min(1em,calc(95cqw / var(--v30-number-width)))}

/* v0.30.1: reserve navigation once, including installed-app safe areas. */
:root{--v30-safe-top:env(safe-area-inset-top,0px);--v30-safe-bottom:env(safe-area-inset-bottom,0px);--v30-safe-left:env(safe-area-inset-left,0px);--v30-safe-right:env(safe-area-inset-right,0px);--v30-nav-height:calc(var(--preview-u)*91 + max(calc(var(--preview-u)*25),var(--v30-safe-bottom)))}
.v030-active,.v030-active.preview-home-active,.v030-active:not(.preview-home-active){padding-bottom:var(--v30-nav-height)}
.v030-active .shell,.v030-active.preview-home-active .shell{min-height:calc(100dvh - var(--v30-nav-height))}
.v030-active .bottom-nav,.v030-active.preview-home-active .bottom-nav{height:var(--v30-nav-height);padding-bottom:max(calc(var(--preview-u)*25),var(--v30-safe-bottom));padding-left:max(calc(var(--preview-u)*14),var(--v30-safe-left));padding-right:max(calc(var(--preview-u)*14),var(--v30-safe-right))}
.v030-active .topbar,.v030-active.preview-home-active .topbar{height:calc(var(--preview-u)*310 + var(--v30-safe-top))}
.v030-active .preview-brand{top:calc(var(--preview-u)*132 + var(--v30-safe-top))}
/* Name baseline/end are intrinsic to the approved 290 × 88 wordmark. */
.v030-active .v30-release{position:absolute;top:calc(var(--preview-u)*180.2 + var(--v30-safe-top) - 1em);left:calc(var(--preview-u)*244);font-size:calc(var(--preview-u)*24);line-height:1.25;font-weight:400;color:#393e49;white-space:nowrap}
.v030-active .preview-bell.v30-sign-out{right:max(calc(var(--preview-u)*86),calc(var(--v30-safe-right) + var(--preview-u)*60 + 8px))}
.v030-active .preview-bell{top:calc(var(--preview-u)*96 + var(--v30-safe-top));right:max(calc(var(--preview-u)*26),calc(var(--v30-safe-right) + 8px))}
.v030-active #accountButton.preview-sync,.v030-active .preview-sync{top:calc(var(--preview-u)*65 + var(--v30-safe-top));left:max(calc(var(--preview-u)*25),calc(var(--v30-safe-left) + 8px))}
.v030-active .page{padding-left:max(calc(var(--preview-u)*25),var(--v30-safe-left));padding-right:max(calc(var(--preview-u)*25),var(--v30-safe-right))}
.v030-active[data-current-view="home"],.v030-active[data-current-view="calendar"]{overscroll-behavior-y:none}
html:has(.v030-active[data-current-view="home"]),html:has(.v030-active[data-current-view="calendar"]){overscroll-behavior-y:none}
.v030-active .v32-preview-notice{display:grid;gap:2px;margin:0 0 calc(var(--preview-u)*12);padding:10px 12px;border:1px solid #8bcaf4;border-radius:12px;background:#eef8ff;color:#173954;font-size:12px;line-height:1.35}
.v030-active .v32-preview-notice strong{color:#075d9b;font-size:13px}
.v030-active .v32-preview-notice span{overflow-wrap:anywhere}
/* Leave room for all three urgent rows without shrinking type or hiding tiles. */
.v030-active.preview-home-active .page{padding-bottom:calc(var(--preview-u)*8)}
.v030-active.preview-home-active .preview-urgent{margin-bottom:calc(var(--preview-u)*12)}
.v030-active.preview-home-active .preview-credit{margin-bottom:calc(var(--preview-u)*8)}
.v030-active.preview-home-active .preview-snapshot>header{margin-bottom:calc(var(--preview-u)*7)}
.v030-active.preview-home-active .preview-actions{margin-bottom:calc(var(--preview-u)*8)}
.v030-active.preview-home-active .preview-intro{margin-bottom:calc(var(--preview-u)*8)}
.v030-active.preview-home-active .preview-credit-head{margin-bottom:calc(var(--preview-u)*8)}
.v030-active.preview-home-active .preview-credit{padding-bottom:calc(var(--preview-u)*10)}
.v030-active.preview-home-active .topbar{height:calc(var(--preview-u)*310 + var(--v30-safe-top) - min(26px,calc(var(--v30-safe-top) + max(0px,calc(var(--v30-safe-bottom) - var(--preview-u)*25)))))}
/* Restore the original compact payment summaries with the shared credit blue. */
.v030-active .v27-total{background:var(--v30-gradient);color:#fff;padding:10px 12px;font-size:12px;font-weight:600;line-height:1.3}
.v030-active .v27-total strong{color:#fff;font-size:max(20px,calc(var(--preview-u)*30));font-weight:700;margin:5px 0 4px}
.v030-active .v27-total small{color:#d1e3f1;font-size:11px;font-weight:400;line-height:1.35}
.v030-active .v30-timeline-heading{flex-wrap:wrap;align-items:center}
.v030-active .v30-timeline-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px}
.v030-active .v30-timeline-actions .linkbtn{min-height:38px;font-size:13px}
.v030-active .v30-organize-list{display:grid;gap:8px}
.v030-active .v30-organize-list .btn{display:flex;align-items:center;justify-content:space-between;text-align:left;min-height:44px}
/* Shared overlay language, including old import/help/setup/review sheets. */
.v030-active .modalback{padding:max(12px,var(--v30-safe-top)) max(12px,var(--v30-safe-right)) max(12px,var(--v30-safe-bottom)) max(12px,var(--v30-safe-left));overscroll-behavior:contain}
.v030-active .modal{max-width:100%;max-height:calc(100dvh - max(12px,var(--v30-safe-top)) - max(12px,var(--v30-safe-bottom)));background:var(--preview-bg);overscroll-behavior:contain;scroll-padding-top:75px}
.v030-active .modalhead{background:var(--preview-bg);padding:14px 16px}
.v030-active .modalhead h2{font-size:20px;font-weight:700;letter-spacing:-.4px}
.v030-active .modalbody{padding:14px 16px;color:#172231;line-height:1.45}
.v030-active .modalbody h3,.v030-active .modalbody h4{font-size:16px;font-weight:700;line-height:1.3;margin:0 0 10px;letter-spacing:-.25px}
.v030-active .modalbody p{margin:0 0 12px;overflow-wrap:anywhere}
.v030-active .modalbody p:last-child{margin-bottom:0}
.v030-active .modalbody .field{display:flex;flex-direction:column;gap:6px;min-width:0}
.v030-active .modalbody .field>span,.v030-active .modalbody .field>label{font-size:13px;font-weight:600;color:#44576c}
.v030-active .modalbody input:not([type="checkbox"]):not([type="radio"]),.v030-active .modalbody select,.v030-active .modalbody textarea{width:100%;padding:10px 12px;min-height:42px;border:1px solid #dce7ef;background:#fff;border-radius:10px;font-size:16px;line-height:1.3}
.v030-active .modal .close{border-radius:50%;background:#fff;width:34px;height:34px;color:#657388}
.v030-active .v30-dialog-section,.v030-active .modalbody>.fields,.v030-active .modalbody>details,.v030-active .v28-panel,.v030-active .v28-account,.v030-active .v27-setup,.v030-active .v26-review-group,.v030-active .target-setting,.v030-active .v27-target-controls{background:#fff;border:1px solid var(--v30-border);border-radius:max(12px,var(--v30-radius));padding:14px;margin:0 0 12px;box-shadow:var(--v30-shadow);min-width:0}
.v030-active .v30-dialog-heading{display:flex;align-items:center;gap:9px}
.v030-active .v30-dialog-icon,.v030-active .help-choice>svg{flex:none;width:34px;height:34px;background:#e9f5fc;color:#096cc5;border-radius:10px;padding:7px}
.v030-active .v30-dialog-icon svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.v030-active .v30-dialog-section>.field+.field{margin-top:12px}
.v030-active .v25-toggle{background:#f5fafe;border:1px solid #edf3f8;border-radius:10px;padding:10px;gap:12px;margin:10px 0;font-size:13px}
.v030-active .v25-toggle strong{font-size:13px;font-weight:650}
.v030-active .v25-toggle small{font-size:12px;line-height:1.4;color:#69798b}
.v030-active .v25-toggle input{width:18px;height:18px}
.v030-active #v25AlertsModal .v25-row{grid-template-columns:34px minmax(0,1fr) auto;padding:10px;background:#fff;border-radius:12px}
.v030-active #v25AlertsModal .v25-row>.v25-logo{width:34px;height:34px}
.v030-active #v25AlertsModal .v25-row strong{font-size:13px;font-weight:700;line-height:1.25}
.v030-active #v25AlertsModal .v25-row small{font-size:12px;line-height:1.4;margin-top:4px}
.v030-active #v25AlertsModal .v25-row .btn{font-size:12px;min-height:36px;padding:8px}
.v030-active .v30-dialog-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.v030-active .v30-dialog-actions>.btn{flex:1 1 140px}
.v030-active .v27-push-status,.v030-active .v27-note,.v030-active .v28-privacy,.v030-active .v26-privacy,.v030-active .v26-bridge-note,.v030-active .v25-paypal-note,.v030-active .v27-result{background:#e9f5fc;color:#28618b;border:1px solid #d9eaf6;border-radius:12px;padding:12px;font-size:13px;line-height:1.45}
.v030-active .target-copy{gap:12px}
.v030-active .target-copy .v30-dialog-section{margin:0}
.v030-active .target-example{background:var(--v30-gradient);color:#fff;border-radius:max(12px,var(--v30-radius));padding:15px;font-size:14px;line-height:1.45}
.v030-active .target-example>strong{display:block;font-size:16px;font-weight:700;margin-bottom:7px}
.v030-active .target-example p,.v030-active .target-example .v26-detail-line{color:#fff}
.v030-active .target-example .v26-detail-help{color:#d1e3f1;font-size:12px;line-height:1.4}
.v030-active .target-example .v252-target-status.above{color:#ffb0b6}
.v030-active .target-example .v252-target-status.below{color:#9ee5c0}
.v030-active .target-setting{margin-top:12px;gap:12px;font-size:13px}
.v030-active .target-setting small{font-size:12px;line-height:1.4}
.v030-active .switch input:checked+span{background:#0871cd}
.v030-active .v27-target-controls{display:grid;gap:12px}
.v030-active .modalbody details>summary{color:#096cc5;font-size:14px;font-weight:650;cursor:pointer}
.v030-active .modalbody details[open]>summary{margin-bottom:12px}
.v030-active .help-choice,.v030-active .v25-method,.v030-active .drop,.v030-active .v26-proposal,.v030-active .v27-discovery,.v030-active .v27-merge{background:#fff;border:1px solid var(--v30-border);border-radius:max(12px,var(--v30-radius));padding:12px;color:#172231;font-weight:600;min-width:0}
.v030-active .help-choice{gap:12px}
.v030-active .help-choice>svg{stroke:#096cc5;fill:none}
.v030-active .help-choice small,.v030-active .v25-method small{font-size:12px;color:#69798b;font-weight:400;line-height:1.4}
.v030-active .v25-faq details{background:#fff;border:1px solid var(--v30-border);border-radius:12px;padding:12px;margin-bottom:8px}
.v030-active .v25-faq summary{font-size:14px;font-weight:650}
.v030-active .v27-step{background:#e9f5fc;color:#096cc5;border-radius:999px;padding:7px 12px;font-size:12px;font-weight:650;width:fit-content}
.v030-active .v28-wizard-progress{color:#096cc5;font-size:13px}
.v030-active progress{accent-color:#0871cd}
.v030-active .steps .step.on{background:#0871cd}
@media(max-width:360px){.v030-active #v25AlertsModal .v25-row{grid-template-columns:30px minmax(0,1fr)}.v030-active #v25AlertsModal .v25-row>.btn{grid-column:2;justify-self:start}.v030-active .v30-dialog-section{padding:12px}.v030-active .v30-timeline-actions{gap:10px}}
.v030-active .minimum .v30-card-balance-amount{font:inherit;font-weight:700}
/* Keep the approved normal composition; enlarged system text gets more flow. */
.v030-active.v30-large-text .preview-actions .btn{height:auto;min-height:calc(var(--preview-u)*64);padding-top:calc(var(--preview-u)*10);padding-bottom:calc(var(--preview-u)*10);white-space:normal}
.v030-active.v30-large-text .preview-actions #importBtn{white-space:normal}
.v030-active.v30-large-text .preview-credit-head{height:auto;min-height:calc(var(--preview-u)*48);flex-wrap:wrap}
.v030-active.v30-large-text .preview-credit #targetInfoBtn{height:auto;min-height:calc(var(--preview-u)*46);max-width:50%;white-space:normal;line-height:1.25;padding-top:4px;padding-bottom:4px}
.v030-active.v30-large-text .preview-credit-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:calc(var(--preview-u)*14)}
.v030-active.v30-large-text .preview-credit-metric,.v030-active.v30-large-text .preview-credit-metric+article,.v030-active.v30-large-text .preview-credit-metric:last-child{padding:0 calc(var(--preview-u)*10)}
.v030-active.v30-large-text .preview-credit-metric:last-child{grid-column:1/-1}
.v030-active.v30-large-text .preview-credit-metric:last-child:before{display:none}
.v030-active.v30-large-text .preview-credit-metric .metric-label,.v030-active.v30-large-text .preview-credit-metric strong,.v030-active.v30-large-text .preview-credit-metric small{white-space:normal;overflow-wrap:anywhere}
.v030-active.v30-large-text .preview-tile-copy .label,.v030-active.v30-large-text .preview-caption-line{white-space:normal}
.v030-active.v30-large-text .v30-snapshot-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.v030-active.v30-large-text .v30-snapshot-kpis>div:nth-child(odd){border-left:0;padding-left:0}
.v030-active.v30-large-text .v30-snapshot-kpis strong{font-size:clamp(14px,calc(var(--preview-u)*36),35px)}
