:root{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#182832;background:#f4f5f5;font-size:14px;font-synthesis:none;--ink:#182832;--muted:#6b7880;--line:#e0e5e7;--surface:#fff;--accent:#15746c;--soft:#edf5f3;--danger:#ae493c;--shadow:0 3px 16px #13263206}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #3b9990;outline-offset:3px}button{border:1px solid var(--line);background:#fff;border-radius:6px;padding:9px 13px;color:var(--ink);font-weight:550;transition:background .15s}button:hover{background:#f1f5f4}button.primary{background:var(--accent);border-color:var(--accent);color:white}button.small{font-size:12px;padding:6px 9px}a{color:var(--accent)}.shell{min-height:100vh;display:grid;grid-template-columns:214px minmax(0,1fr)}.sidebar{position:sticky;top:0;height:100vh;background:#111f29;color:#f2f5f6;padding:27px 15px;display:flex;flex-direction:column}.brand{display:flex;gap:10px;align-items:center;margin:0 8px 34px;font-weight:650;letter-spacing:-.4px}.brand-mark{width:32px;height:32px;border:1px solid #ffffff30;border-radius:8px;display:grid;place-items:center;color:#9ed9c7}.brand small{display:block;color:#879ca8;font-size:10px;letter-spacing:1.6px;text-transform:uppercase;margin-top:4px}.nav-label{text-transform:uppercase;letter-spacing:1.4px;font-size:10px;color:#8397a3;margin:0 11px 10px}.nav{display:grid;gap:4px}.nav button{color:#a7bac4;display:flex;gap:12px;align-items:center;text-align:left;border:0;background:transparent;font-size:13px;padding:11px 12px;border-radius:5px}.nav button:hover{background:#ffffff09;color:white}.nav button[aria-current=page]{background:#ffffff0f;color:#e8f5ef;box-shadow:inset 2px 0 #7bb7a7}.nav svg{width:17px;height:17px;flex-shrink:0}.sidebar-foot{margin-top:auto;padding:20px 10px 0;border-top:1px solid #ffffff12;font-size:11px;color:#8ea2ad}.sidebar-foot strong{display:block;font-size:12px;color:#d1dedf;margin-bottom:5px}.workspace{min-width:0}.topbar{min-height:73px;padding:15px 32px;border-bottom:1px solid var(--line);background:#ffffffb8;display:flex;align-items:center;justify-content:space-between;gap:14px}.eyebrow{font-size:10px;color:var(--muted);letter-spacing:1.5px;text-transform:uppercase;font-weight:650}.topbar .scope{display:flex;flex-wrap:wrap;gap:8px}.scope label{display:flex;align-items:center;gap:6px;color:var(--muted);font-size:11px}.scope select{max-width:235px;padding:7px 25px 7px 9px;font-size:12px;background:white;border:1px solid var(--line);border-radius:5px}.main{max-width:1560px;margin:auto;padding:29px 32px 45px}.page-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:23px}.page-head h1{font-size:26px;font-weight:600;letter-spacing:-.9px;margin:6px 0 7px}.subtitle,.muted{color:var(--muted);font-size:12px;line-height:1.65}p{line-height:1.6}h2{font-size:15px;font-weight:650;margin:0;letter-spacing:-.2px}h3{font-size:14px;margin:0 0 8px}.actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.panel{background:var(--surface);border:1px solid var(--line);border-radius:8px;box-shadow:var(--shadow);padding:20px;min-width:0}.panel-head{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:20px}.grid{display:grid;gap:17px}.grid.two{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr)}.grid.equal{grid-template-columns:repeat(2,minmax(0,1fr))}.metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));background:white;border:1px solid var(--line);border-radius:8px;margin:0 0 18px}.metric{padding:20px;border-right:1px solid var(--line)}.metric:last-child{border:0}.metric-label{font-size:12px;color:var(--muted);margin-bottom:13px}.metric-value{font-size:25px;font-weight:600;letter-spacing:-1px;white-space:nowrap}.metric-note{font-size:10px;color:var(--muted);margin-top:9px}.num{font-variant-numeric:tabular-nums}.negative{color:var(--danger)}.positive{color:var(--accent)}.pill{display:inline-block;padding:4px 7px;background:var(--soft);color:var(--accent);border-radius:4px;font-size:10px;font-weight:600}.pill.warning{color:#925e20;background:#fcf2df}.pill.danger{color:var(--danger);background:#faeeeb}.notice{border:1px solid #e9d9b8;background:#fffaf0;border-radius:6px;padding:12px 15px;font-size:12px;line-height:1.6;margin-bottom:18px}.notice.error{border-color:#eacac4;background:#fff3f1;color:#943c30}.notice.success{background:var(--soft);border-color:#c8e2d9;color:#246456}.notice .actions{margin-top:9px}.empty{display:grid;place-items:center;text-align:center;min-height:180px;color:var(--muted);font-size:12px;padding:28px}.empty strong{display:block;color:var(--ink);font-size:14px;margin-bottom:8px}.chart{width:100%;height:auto;display:block;overflow:visible}.chart text{font:11px Inter,system-ui,sans-serif;fill:#74828a}.chart .line{stroke:var(--accent);stroke-width:2.5;fill:none}.chart .gridline{stroke:#e9eded;stroke-width:1;stroke-dasharray:3 5}.chart-foot{display:flex;justify-content:space-between;gap:8px;font-size:10px;color:var(--muted);margin-top:12px}.legend{display:flex;gap:14px;font-size:11px;color:var(--muted);flex-wrap:wrap}.dot{display:inline-block;width:7px;height:7px;border-radius:50%;margin-right:6px;background:var(--accent)}.rank{display:grid;grid-template-columns:minmax(90px,1fr) minmax(80px,1.2fr) auto;gap:14px;align-items:center;padding:12px 0;border-bottom:1px solid #eef0f1;font-size:12px}.rank:last-child{border:0}.track{height:6px;background:#eff2f1;border-radius:3px;overflow:hidden}.track span{display:block;height:100%;background:var(--accent);border-radius:3px}.rank strong{font-weight:550}.section-gap{margin-top:18px}.table-wrap{overflow:auto}.data-table{width:100%;border-collapse:collapse;font-size:12px}.data-table th{text-align:left;padding:11px 10px;color:var(--muted);font-size:10px;font-weight:550;border-bottom:1px solid var(--line);white-space:nowrap}.data-table td{padding:13px 10px;border-bottom:1px solid #edf0f1;vertical-align:middle}.data-table tr:last-child td{border-bottom:0}.data-table th:first-child,.data-table td:first-child{padding-left:0}.data-table td.right,.data-table th.right{text-align:right}.data-table td strong{font-weight:550}.data-table input[type=number]{max-width:100px}.merchant-sub{display:block;color:var(--muted);font-size:10px;margin-top:5px}.filterbar{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:17px}.filterbar input{flex:1;min-width:130px}.filterbar input[type=date]{flex:0}.field{display:flex;flex-direction:column;gap:6px;font-size:12px;margin-bottom:13px}.field span{color:var(--muted);font-size:11px}input,select,textarea{border:1px solid #dbe1e3;border-radius:5px;padding:9px 10px;background:white;color:var(--ink);min-width:0}textarea{resize:vertical;min-height:70px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 14px}.form-grid .wide{grid-column:1/-1}.inline-form{display:flex;gap:8px;align-items:end;flex-wrap:wrap}.inline-form .field{margin:0;min-width:150px}.insight{padding:18px 0;border-bottom:1px solid var(--line)}.insight:first-child{padding-top:0}.insight:last-child{border-bottom:0;padding-bottom:0}.insight p{font-size:12px;color:var(--muted);margin:7px 0 11px}.insight-figure{font-size:21px;font-weight:600;margin:10px 0;color:var(--accent)}.skeleton{height:220px;border-radius:8px;background:linear-gradient(100deg,#e8eded 25%,#f6f8f7 50%,#e8eded 75%);background-size:200% 100%;animation:shimmer 1.8s infinite}.loading-label{margin-bottom:18px;color:var(--muted);font-size:12px}@keyframes shimmer{to{background-position:-200% 0}}.initial{padding:80px;text-align:center;color:var(--muted)}.auth{min-height:100vh;display:grid;place-items:center;padding:25px;background:#111f29}.auth-card{width:100%;max-width:390px;background:white;border-radius:10px;padding:34px}.auth-card .brand{color:var(--ink);margin:0 0 30px}.auth-card .brand-mark{border-color:var(--line);color:var(--accent)}.auth-card h1{font-size:24px;margin:0 0 10px}.auth-card p{color:var(--muted);font-size:12px;margin-bottom:25px}.auth-card .primary{width:100%}.modal-backdrop{position:fixed;inset:0;z-index:20;background:#10212a80;display:flex;align-items:center;justify-content:center;padding:20px;backdrop-filter:blur(3px)}dialog{position:relative;inset:auto;border:1px solid var(--line);border-radius:10px;width:min(650px,100%);max-height:90vh;overflow:auto;padding:25px;margin:0;color:var(--ink);background:white;box-shadow:0 20px 80px #001c2940}dialog h2{font-size:19px}.dialog-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.detail-list{display:grid;grid-template-columns:140px 1fr;gap:12px;font-size:12px;margin:20px 0}.detail-list dt{color:var(--muted)}.detail-list dd{margin:0;overflow-wrap:anywhere}.note{font-size:11px;color:var(--muted);line-height:1.7;margin:14px 0}.button-link{background:transparent;border:0;padding:0;color:var(--accent);text-align:left}.pagination{display:flex;justify-content:space-between;align-items:center;padding-top:18px;font-size:11px;color:var(--muted)}.budget-status{max-width:140px}.budget-status .track{margin:7px 0}.report-title{display:none}.mobile-toggle{display:none}.status-row{display:flex;gap:9px;align-items:center;padding:12px 0;border-bottom:1px solid var(--line);font-size:12px}.status-row:last-child{border:0}.status-row strong{margin-left:auto}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}details{border-top:1px solid var(--line);margin-top:15px;padding-top:14px}summary{cursor:pointer;font-size:12px;color:var(--muted)}.heatmap{display:flex;gap:4px;flex-wrap:wrap;padding:14px 0}.day-cell{width:16px;height:16px;border-radius:3px;background:#e6f0ed}.chart-summary{font-size:12px;color:var(--muted);margin:0 0 20px}.inline-error{color:var(--danger);font-size:12px;margin:10px 0}.print-only{display:none}@media(min-width:1500px){.main{padding:35px 42px}.metric-value{font-size:29px}}@media(max-width:1100px){.shell{grid-template-columns:185px minmax(0,1fr)}.topbar,.main{padding-left:22px;padding-right:22px}.metric{padding:16px}.metric-value{font-size:21px}.grid.two{grid-template-columns:1fr}.brand{font-size:12px}}@media(max-width:760px){.shell{display:block}.sidebar{position:fixed;z-index:15;width:220px;transform:translateX(-100%);transition:transform .2s}.sidebar.open{transform:translateX(0);box-shadow:0 0 0 100vw #11212a77}.mobile-toggle{display:inline-flex}.topbar{padding:12px 16px;flex-wrap:wrap}.topbar .scope{width:100%;gap:7px}.scope select{max-width:190px}.main{padding:23px 16px}.metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.metric:nth-child(2){border-right:0}.metric:last-child{grid-column:1/-1}.metric:nth-child(-n+2){border-bottom:1px solid var(--line)}.grid.equal{grid-template-columns:1fr}.page-head{flex-wrap:wrap}.page-head h1{font-size:24px}.panel{padding:16px}.metric-value{font-size:22px}.form-grid{grid-template-columns:1fr}.form-grid .wide{grid-column:auto}.detail-list{grid-template-columns:100px 1fr}.scope label{font-size:10px}.filterbar input[type=date]{flex:1}.legend{gap:10px}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}@media print{@page{margin:16mm}.sidebar,.topbar,.no-print,.page-head .actions,.modal-backdrop,.filterbar{display:none!important}.shell{display:block}.main{padding:0}.panel,.metrics{box-shadow:none;break-inside:avoid}.grid.two,.grid.equal{display:block}.panel{margin-bottom:16px}.report-title,.print-only{display:block}.page-head{margin-top:10px}body{background:#fff;color:#000}.chart{max-height:240px}.metric-value{font-size:20px}.data-table{font-size:10px}.print-only{color:#666;font-size:10px;margin:10px 0}button{display:none!important}}
/* Flow: warm paper, ink, and a precise violet accent. */
:root{--ink:#28283a;--muted:#777781;--line:#e5e3e0;--surface:#fff;--accent:#6855b8;--soft:#f0edf8;--danger:#ad5746;--shadow:0 3px 18px #33304404;color:var(--ink);background:#f7f6f2;letter-spacing:-.12px}.shell{grid-template-columns:224px minmax(0,1fr)}.sidebar{background:#f0efeb;color:var(--ink);padding:32px 17px 24px;border-right:1px solid #e5e3df}.brand{margin:0 11px 40px;gap:12px;font-size:29px;letter-spacing:-1.6px;font-weight:650}.brand-mark{background:#e5dff7;color:#6652ad;width:39px;height:42px;border:0;border-radius:12px 12px 12px 3px;font:italic 40px Georgia,serif;padding-right:3px;line-height:1}.brand small{font-size:9px;color:#85828b;letter-spacing:1.6px;font-weight:500;margin-top:3px}.nav-label{font-size:8px;letter-spacing:1.3px;color:#7c7982;margin:0 12px 14px}.nav{gap:5px}.nav button{color:#777480;padding:12px 13px;font-size:12px;gap:12px;border-radius:7px;font-weight:500}.nav button:hover{color:#443667;background:#e9e5f0}.nav button[aria-current=page]{color:#5d499d;background:#e5dff2;box-shadow:none;font-weight:650}.nav button[aria-current=page]::after{content:'';width:5px;height:5px;border-radius:50%;background:#7b63bc;margin-left:auto}.nav svg{width:17px;height:17px}.nav button[data-nav=imports]{margin-top:22px}.sidebar-foot{border-color:#dedbd7;color:#8b8790;font-size:10px;line-height:1.8;padding:20px 11px 0}.sidebar-foot strong{color:#5f5a69;font-size:11px}.sidebar-foot button{background:transparent;color:#6c6574;border-color:#d8d3dc;font-size:10px;padding:5px 10px}.privacy-dot{float:left;background:#799988;width:5px;height:5px;margin:8px 6px 0 0;border-radius:50%}.topbar{min-height:78px;padding:18px 38px;background:#faf9f6;border-color:#e9e6e1;gap:16px}.workspace-breadcrumb{font-size:11px;color:#95919b}.workspace-breadcrumb #crumb{color:#4d4858}.breadcrumb-divider{margin:0 12px;color:#c7c3cb}.connection-status{font-size:10px;color:#80788c;display:flex;align-items:center;gap:7px}.connection-status>span,.status-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#aa98cc}.inbox-button{display:flex;align-items:center;gap:7px;background:transparent;border-color:#dfdbe5!important;padding:8px 11px!important;color:#645878;font-size:10px!important}.inbox-button svg{width:14px;height:14px}.main{max-width:1510px;padding:35px 38px 28px}.page-head{margin-bottom:27px}.page-head .eyebrow{font-size:8px;letter-spacing:1.9px;color:#a09aa8}.page-head h1{font-size:30px;font-weight:550;letter-spacing:-1.2px;margin:7px 0}.subtitle{font-size:11px;color:#88828e}.panel{border-radius:9px;padding:23px;border-color:#e8e5e2;box-shadow:none}h2{font-weight:550;font-size:15px}button{border-radius:6px;font-size:12px;transition:background .15s,border-color .15s,transform .15s}button:hover{background:#f2eef8;border-color:#cec4e4}button.primary{background:#6954ae;border-color:#6954ae;color:#fff;box-shadow:0 3px 7px #66549c15}button.primary:hover{background:#5b489a;border-color:#5b489a}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline-color:#927bc9}.pill{background:#eeebf7;color:#75619f;border-radius:4px;font-size:9px;font-weight:550}.pill.neutral{color:#817887;background:#f0eeef}.note{font-size:11px;color:#85808b}.data-table th{font-size:9px;letter-spacing:.6px;text-transform:uppercase;background:#fcfbf9}.data-table td{padding-top:15px;padding-bottom:15px}.data-table tbody tr:hover{background:#fdfcfb}.data-table th:first-child,.data-table td:first-child{padding-left:10px}.merchant-sub{font-size:10px;line-height:1.5}.metric-value{font-weight:500}.metrics{border-radius:9px;border-color:#e8e5e2}.metric{padding:23px}.metric-label{font-size:11px}.scope select,.scope input{background:#faf9f6!important;border-color:#e6e1e9}.section-kicker{display:block;font-size:9px;letter-spacing:1.65px;text-transform:uppercase;color:#8c80a0;font-weight:550}.welcome-stage{position:relative;background:#eeebf4;border:1px solid #e5deee;border-radius:12px;min-height:330px;display:grid;grid-template-columns:1.3fr 1fr;overflow:hidden}.welcome-copy{padding:38px 0 36px 39px;position:relative;z-index:1}.welcome-copy .section-kicker{display:flex;gap:8px;align-items:center}.welcome-copy h2{font-size:42px;line-height:1.12;letter-spacing:-1.65px;font-weight:450;max-width:480px;margin:23px 0 17px;color:#393045}.welcome-copy p{font-size:12px;line-height:1.85;color:#83788c;max-width:410px;margin:0}.welcome-actions{display:flex;gap:20px;align-items:center;flex-wrap:wrap;margin-top:26px}.welcome-actions .primary{font-size:11px;padding:11px 14px}.welcome-actions .primary span{margin-left:13px}.text-action{border:0;background:none;padding:8px 0;color:#78638e;font-size:10px}.text-action:hover{background:transparent}.text-action span{margin-left:8px}.message-illustration{position:relative;min-height:330px}.orbital-ring{position:absolute;left:48%;top:47%;border:1px solid #d4cadf;border-radius:50%;transform:translate(-50%,-50%) rotate(-23deg)}.ring-outer{width:310px;height:225px}.ring-inner{width:246px;height:294px;border-color:#dcd4e5;transform:translate(-50%,-50%) rotate(35deg)}.message-paper{position:absolute;width:136px;height:166px;left:48%;top:46%;border:1px solid #d5ccdf;border-radius:8px}.paper-back{background:#e1d8ed;transform:translate(-38%,-51%) rotate(14deg)}.paper-front{background:#fbfafc;transform:translate(-58%,-52%) rotate(-9deg);box-shadow:0 15px 22px #6e5b8420;padding:22px}.paper-symbol{display:grid;place-items:center;color:#7b679f;background:#eae5f3;width:29px;height:29px;border-radius:8px;font-size:19px;margin-bottom:19px}.paper-line{width:72%;height:4px;background:#ded8e7;margin:9px 0;border-radius:3px}.paper-line.long{width:100%}.paper-line.short{width:45%}.paper-seal{position:absolute;right:-14px;bottom:15px;border:5px solid #eeebf4;border-radius:50%;width:40px;height:40px;display:grid;place-items:center;background:#a9bfae;color:white;font-size:16px;transform:rotate(9deg)}.illustration-label{position:absolute;bottom:36px;width:100%;left:0;text-align:center;font:italic 14px Georgia,serif;color:#8d7d9b}.orbit-point{position:absolute;background:#bdadc9;border:5px solid #eeebf4;width:18px;height:18px;border-radius:50%}.point-a{left:18%;top:32%}.point-b{right:13%;bottom:36%;width:15px;height:15px;background:#cfb99a}.readiness-strip{margin-top:31px;display:grid;grid-template-columns:.9fr 1.2fr 1.2fr;gap:26px;border-bottom:1px solid var(--line);padding-bottom:29px}.readiness-heading{padding-top:7px}.readiness-heading h2{font-size:20px;line-height:1.35;margin-top:12px;letter-spacing:-.5px;max-width:180px;font-weight:450}.readiness-heading .section-kicker{font-size:8px;letter-spacing:1.25px}.readiness-strip article{display:flex;align-items:flex-start;gap:12px;border-left:1px solid var(--line);padding-left:24px;padding-top:4px}.readiness-strip h3{font-size:11px;font-weight:600;margin:3px 0 8px}.readiness-strip p{font-size:10px;color:#938b96;line-height:1.9;margin:0}.readiness-icon{background:#eae5ee;color:#9581a5;width:31px;height:31px;border-radius:7px;display:grid;place-items:center;flex-shrink:0}.readiness-icon svg{width:15px;height:15px}.readiness-strip article:last-child .readiness-icon{background:#e9eade;color:#92967a}.arrow-button{padding:0;border:0;background:none;color:#9c8ca7;font-size:17px;align-self:flex-start;margin-left:auto}.workspace-footnote{display:flex;align-items:center;gap:7px;margin-top:21px;font-size:9px;color:#9a949f}.workspace-footnote svg{width:11px;height:11px}.workspace-footnote span{margin-left:auto;font-size:9px}.inbox-address{background:#eeebf4;border:1px solid #e2dceb;border-radius:8px;padding:19px 23px;margin-bottom:20px;display:flex;align-items:center;justify-content:space-between;gap:15px}.inbox-address>div{display:flex;align-items:center;gap:11px;font-size:12px}.inbox-address svg{width:19px;height:19px;color:var(--accent)}.inbox-address span{font-size:10px;color:#8e819e}.inbox-address code{font-size:11px;color:#7e6d91;overflow-wrap:anywhere}.knowledge-summary{display:flex;gap:25px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:17px 0;margin-bottom:20px;color:var(--muted);font-size:10px}.knowledge-summary strong{font-size:18px;color:var(--ink);margin-right:5px;font-weight:500;font-variant-numeric:tabular-nums}.knowledge-search{display:block;margin-bottom:14px}.knowledge-search input{width:min(100%,360px);font-size:11px;background:#fcfbfa;padding:11px 12px}.knowledge-table td:first-child{width:42%}.knowledge-table .merchant-sub{max-width:440px}.learning-panel .panel-head{margin-bottom:16px}.learning-panel .panel-head h2{margin-top:9px;font-size:21px;letter-spacing:-.5px}.learning-panel .panel-head .note{margin-bottom:0}.auth{background:#f0edf4}.auth-card{border:1px solid #dfd8e7;border-radius:12px;box-shadow:0 20px 60px #76648612}.auth-card .brand{font-size:30px}.auth-card .brand-mark{color:#6652ad}.auth-card h1{font-weight:500;letter-spacing:-.7px}.auth-card p{line-height:1.8}.notice{background:#faf6ed;border-color:#e9dfcd;color:#8a7654}.empty strong{font-size:15px;font-weight:500}.empty{font-size:11px;line-height:1.8}.skeleton{background:linear-gradient(100deg,#eeebee 25%,#f8f6f7 50%,#eeebee 75%);background-size:200% 100%}.status-row{font-size:11px}
@media(min-width:1500px){.welcome-copy h2{font-size:48px}.welcome-copy{padding:45px}.welcome-stage{min-height:360px}.message-illustration{min-height:360px}.main{padding:39px 46px}.topbar{padding-left:46px;padding-right:46px}}
@media(max-width:1180px){.shell{grid-template-columns:202px minmax(0,1fr)}.main,.topbar{padding-left:28px;padding-right:28px}.welcome-copy{padding:32px 0 30px 29px}.welcome-copy h2{font-size:36px}.welcome-stage{grid-template-columns:1.4fr 1fr}.ring-outer{width:250px;height:210px}.ring-inner{width:215px;height:260px}.welcome-actions{gap:8px}.readiness-strip{gap:16px;grid-template-columns:.85fr 1.3fr 1.3fr}.readiness-strip article{padding-left:15px;gap:8px}.readiness-icon{display:none}.topbar .eyebrow{font-size:8px}.inbox-address{align-items:flex-start;flex-direction:column}.inbox-address>div{flex-wrap:wrap}}
@media(max-width:900px){.welcome-stage{grid-template-columns:1.6fr 1fr}.welcome-copy h2{font-size:32px}.message-paper{width:105px;height:140px;padding:17px}.ring-outer{width:185px;height:180px}.ring-inner{width:170px;height:240px}.illustration-label{font-size:11px}.readiness-strip{grid-template-columns:1fr 1fr}.readiness-heading{grid-column:1/-1;display:flex;gap:16px;align-items:center}.readiness-heading h2{max-width:none;margin:0;font-size:17px}.readiness-strip article{border-left:0;padding-left:0}.brand{font-size:27px}.knowledge-summary{gap:15px;flex-wrap:wrap}}
@media(max-width:760px){.shell{display:block}.sidebar{width:224px;z-index:15}.topbar{min-height:65px;padding:13px 19px}.topbar .scope{width:auto;margin-left:auto}.workspace-breadcrumb{display:none}.main{padding:27px 19px}.page-head h1{font-size:27px}.page-head .eyebrow{font-size:8px}.welcome-stage{grid-template-columns:1fr;min-height:0}.welcome-copy{padding:29px 25px 31px}.welcome-copy h2{max-width:340px;font-size:37px}.welcome-copy p{max-width:430px}.message-illustration{display:none}.welcome-actions{gap:15px;margin-top:23px}.readiness-strip{gap:24px;margin-top:25px;padding-bottom:23px}.readiness-heading{display:block}.readiness-heading h2{margin-top:8px}.readiness-strip article{gap:10px}.readiness-strip p{font-size:10px}.workspace-footnote{align-items:flex-start;flex-wrap:wrap;line-height:1.7}.workspace-footnote span{flex-basis:100%;margin-left:18px}.panel{padding:19px}.knowledge-summary strong{font-size:16px}.knowledge-summary{gap:12px}.knowledge-table td{min-width:125px}.knowledge-table td:first-child{min-width:210px}.knowledge-table td:last-child{min-width:70px}.inbox-address{padding:18px}.inbox-address code{font-size:10px}.inbox-address span{display:none}.inbox-button{font-size:9px!important}.connection-status{font-size:9px}.sidebar.open{box-shadow:0 0 0 100vw #2c253a66}}
@media(max-width:400px){.welcome-copy h2{font-size:32px}.welcome-copy{padding:26px 21px}.readiness-strip{grid-template-columns:1fr}.readiness-heading{grid-column:auto}.readiness-strip article{max-width:290px}.readiness-icon{display:grid}.connection-status{display:none}}
@media print{.workspace-footnote,.welcome-actions{display:none}.welcome-stage{background:white;break-inside:avoid}.message-illustration{display:none}.welcome-stage{display:block}.knowledge-summary{color:#555}}
/* Keep supporting copy readable against the warm surfaces. */
:root{--muted:#716b79}.subtitle,.note,.merchant-sub,.readiness-strip p,.workspace-footnote,.workspace-footnote span{color:#736c7c}.welcome-copy p{color:#71657e}.section-kicker,.page-head .eyebrow,.nav-label{color:#766a86}.connection-status,.workspace-breadcrumb{color:#766e80}.sidebar-foot{color:#736b7b}.brand small{color:#756d7e}.readiness-strip p{font-size:11px}.workspace-footnote,.workspace-footnote span{font-size:10px}.page-head .eyebrow,.nav-label,.readiness-heading .section-kicker{font-size:9px}.illustration-label{color:#756681}.knowledge-summary{color:#716b79}.text-action{color:#6e5687}.scope label{color:#716b79}.inbox-address span{color:#71657e}

.inbox-summary{flex-wrap:wrap}.receipt-transaction{display:block;margin-top:8px}

.transaction-total{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:18px 20px;margin:18px 0;background:var(--soft);border:1px solid var(--line);border-radius:8px}.transaction-total strong{display:block;font-size:26px;font-weight:550;line-height:1.3;margin-top:4px;overflow-wrap:anywhere}.transaction-total>p{max-width:340px;margin:0}.transaction-total .note{line-height:1.6}@media(max-width:760px){.transaction-total{align-items:flex-start;flex-direction:column;gap:10px;padding:16px}.transaction-total strong{font-size:24px}}

/* UAT is a separate route and installation, opened from the module list. */
.nav .uat-link{display:flex;align-items:center;gap:12px;padding:12px 13px;color:#5d499d;font-size:12px;font-weight:600;text-decoration:none;border-top:1px solid #dedbd7;margin-top:12px}
.nav .uat-link:hover{background:#e9e5f0;border-radius:7px}
.uat-banner{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;padding:14px 38px;background:#f7ebcc;border-bottom:1px solid #d7bf85;color:#624818;font-size:12px}
.uat-banner strong,.uat-banner span{display:block}.uat-banner span{font-size:11px;margin-top:4px}
@media(max-width:760px){.uat-banner{padding:12px 18px}}

/* Overview: account outflows and salary-cycle charts. */
:root{--spending-chart-color:#8061c5}
.pace-summary{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:12px 0 8px}.pace-summary>div>strong{display:block;font-size:28px;font-weight:550;letter-spacing:-1px;margin-top:8px}.pace-summary .pace-average{text-align:right}.pace-summary .pace-average strong{font-size:16px;letter-spacing:-.3px}.pace-average span{display:block;font-size:10px;color:var(--muted);margin-top:5px}.pace-plot{background:linear-gradient(180deg,#fcfbff,white);border-radius:12px}.pace-chart{display:block;width:100%;height:auto}.pace-chart text{font-size:11px;fill:#837b91}.pace-grid{stroke:#ede9f3;stroke-dasharray:3 5}.pace-line{fill:none;stroke:var(--spending-chart-color);stroke-width:3;stroke-linecap:round;stroke-linejoin:round}.pace-guide{stroke:#c6b6e8;stroke-dasharray:4 5}.pace-point{fill:var(--spending-chart-color);stroke:white;stroke-width:2;cursor:pointer}.pace-point:hover,.pace-point:focus{r:6;stroke:#e4d8fb;stroke-width:3;outline:none}.pace-detail{min-height:34px;padding:8px 12px;font-size:11px;color:#75648e;background:#f6f3fb;border-radius:7px;line-height:1.5}.pace-key:before{content:'';display:inline-block;width:15px;height:3px;background:#8061c5;margin-right:7px;vertical-align:middle}.salary-flow{width:100%;height:auto;min-width:680px;display:block}.salary-flow-scroll{overflow-x:auto}.salary-flow text{font-size:12px;fill:#4d455d}.salary-flow .flow-heading{font-size:10px;letter-spacing:1px;fill:#83798f}.salary-flow .flow-amount{font-size:17px;font-weight:600;fill:#514066}.salary-flow .flow-value{font-size:10px;fill:#776b86}.flow-category:hover path,.flow-category:focus path{opacity:.65}.flow-category:focus{outline:none}@media(max-width:760px){.pace-summary{align-items:flex-start}.pace-summary>div>strong{font-size:23px}.pace-summary .pace-average strong{font-size:13px}.pace-summary .section-kicker{font-size:8px}.salary-flow-scroll{margin:0 -6px}.pace-chart text{font-size:12px}}

.overview-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.overview-period{margin:-4px 0 18px}.pace-line-previous{stroke:#b7a4d5;stroke-dasharray:6 5}.pace-point-previous{fill:#b7a4d5}.pace-key-previous:before{background:repeating-linear-gradient(90deg,#b7a4d5 0 6px,transparent 6px 9px)}.pace-legend{flex-wrap:wrap}.pace-chart{max-height:420px}.overview-metrics .metric:last-child{grid-column:auto}.overview-metrics .metric-value{white-space:normal;overflow-wrap:anywhere}
@media(max-width:480px){.overview-metrics{grid-template-columns:1fr}.overview-metrics .metric{border-right:0;border-bottom:1px solid var(--line)}.overview-metrics .metric:last-child{border-bottom:0}}

/* Salary flow: source, category and transaction sections share one amount scale. */
.salary-flow-three{min-width:0;width:100%}.flow-source-label rect{fill:#f1edf7}.salary-flow .flow-source-label text{font-size:12px;fill:#4d455d}.salary-flow .flow-category-name{font-weight:600}.flow-transaction{cursor:pointer}.flow-transaction:hover .flow-transaction-band,.flow-transaction:focus .flow-transaction-band{opacity:.65}.flow-transaction:focus{outline:none}.flow-transaction:focus .flow-transaction-node{stroke:#4d455d;stroke-width:2}.salary-flow-scroll:focus-visible{outline:2px solid var(--accent);outline-offset:4px}

/* Overview bank-card artwork: keep measured values first and Reports unchanged. */
.overview-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;border:0;background:transparent;overflow:visible}
.overview-metrics .overview-outflow{display:grid;grid-template-columns:minmax(0,1fr) minmax(108px,36%);align-items:center;gap:16px;padding:24px;border:1px solid var(--line);border-radius:12px;background:#fff;min-width:0;overflow:hidden}
.overview-metrics .outflow-copy{min-width:0;position:relative;z-index:1}
.overview-metrics .metric-label{font-size:12px;line-height:1.5;color:var(--ink);margin-bottom:10px}
.overview-metrics .metric-value{font-size:clamp(23px,2.2vw,32px);line-height:1.25;letter-spacing:-1px;white-space:normal;overflow-wrap:anywhere}
.overview-metrics .metric-note{line-height:1.6;margin-top:10px;font-size:10px}
.overview-metrics .outflow-art{display:flex;align-items:center;justify-content:center;min-width:0;aspect-ratio:1.3;padding:0;background:transparent}
.overview-metrics .outflow-art img{display:block;width:100%;height:auto;max-height:140px;object-fit:contain;filter:drop-shadow(0 7px 7px #27344420)}
@media(max-width:1100px){.overview-metrics .overview-outflow{padding:20px;gap:12px;grid-template-columns:minmax(0,1fr) minmax(95px,33%)}.overview-metrics .metric-value{font-size:24px}}
@media(max-width:760px){.overview-metrics{grid-template-columns:1fr;gap:12px}.overview-metrics .overview-outflow{grid-template-columns:minmax(0,1fr) minmax(105px,32%)}.overview-metrics .outflow-art{max-height:130px}.overview-metrics .metric-value{font-size:28px}}
@media(max-width:380px){.overview-metrics .overview-outflow{padding:16px;gap:10px;grid-template-columns:minmax(0,1fr) 100px}.overview-metrics .metric-value{font-size:23px}.overview-metrics .metric-label{font-size:11px}.overview-metrics .outflow-art{padding:0}}

/* Category bars retain UAT colors and fit the production overview. */
.overview-spending{align-items:stretch}.overview-spending>section{min-width:0}.category-ranking .rank{grid-template-columns:minmax(85px,1fr) minmax(40px,1.4fr) auto}.category-ranking .button-link{text-align:left;overflow-wrap:anywhere}.category-ranking .num{white-space:nowrap}#category-spending-detail .merchant-sub{white-space:normal}
@media(max-width:1050px){.overview-spending{grid-template-columns:1fr}}

.category-spending-dialog{width:min(1050px,100%)}.category-spending-dialog .data-table{min-width:760px}.category-spending-dialog td.num{white-space:nowrap}

.overview-spending .pace-detail:empty{display:none}

/* Match overview chart columns to the outflow cards. */
.grid.two.overview-spending{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
@media(max-width:760px){.grid.two.overview-spending{grid-template-columns:1fr;gap:12px}}

/* Consumption budgeting: scoped to its own card and charts. */
.consumption-preview{--cp-needs:#45695f;--cp-wants:#8060a8;margin:24px 0;padding:26px;background:var(--surface);border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow);min-width:0}
.cp-heading{margin-bottom:24px;display:flex;justify-content:space-between;align-items:center;gap:24px}.cp-eyebrow{display:block;font-size:10px;letter-spacing:.09em;text-transform:uppercase;color:#64706a}.cp-preview-label{color:#765491;margin-bottom:12px}.cp-heading h2{font-size:30px;line-height:1.2;letter-spacing:-.8px;font-weight:500;margin:0}.cp-heading h2 em{font-family:Georgia,serif;font-weight:400;color:var(--cp-needs)}.cp-heading p{font-size:12px;color:var(--muted);margin:12px 0 0}.cp-scenario{font-size:11px;color:var(--muted);min-width:190px}.cp-scenario select{display:block;width:100%;margin-top:8px;padding:10px 12px;border:1px solid var(--line);border-radius:8px;background:white;color:var(--ink);font:inherit;font-size:12px}.cp-disclosure{font-size:10px;line-height:1.6;color:#6c706c;margin:18px 0}
.cp-plan{margin-bottom:22px}.cp-strip{display:flex;height:9px;gap:3px;border-radius:6px;overflow:hidden}.cp-strip span{min-width:0;flex-shrink:1}.cp-strip-needs,.cp-dot-needs{background:var(--cp-needs)}.cp-strip-wants,.cp-dot-wants{background:var(--cp-wants)}.cp-strip-free,.cp-dot-free{background:#d8d8cf}.cp-strip-labels{display:flex;flex-wrap:wrap;gap:12px 28px;margin-top:12px;font-size:11px;color:var(--muted)}.cp-strip-labels>span{display:grid;grid-template-columns:8px auto;column-gap:7px;align-items:center}.cp-strip-labels strong{grid-column:2;font-weight:500;margin-top:5px;color:var(--ink);font-variant-numeric:tabular-nums}.cp-dot{width:7px;height:7px;border-radius:50%}
.cp-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}.cp-card{min-width:0;border:1px solid #dedfd8;border-radius:12px;background:#fff;padding:24px}.cp-wants{--cp-needs:var(--cp-wants)}.cp-card-heading{display:flex;justify-content:space-between;gap:10px;align-items:center}.cp-card h3{font-size:22px;margin:7px 0 0;font-weight:500;letter-spacing:-.4px}.cp-card .cp-eyebrow{font-size:9px;letter-spacing:.04em}.cp-status{font-size:10px;padding:6px 9px;border-radius:20px;white-space:nowrap}.cp-within{background:#edf3ee;color:#375d48}.cp-near{background:#fff2d9;color:#805718}.cp-over{background:#fae9e5;color:#963d31}.cp-consumed{margin:26px 0 22px}.cp-consumed strong{display:block;font-size:29px;font-weight:500;letter-spacing:-1px;overflow-wrap:anywhere}.cp-consumed>span{display:block;margin-top:7px;font-size:10px;color:var(--muted)}
.cp-meter{position:relative;height:11px;background:#f3f2ef;border-radius:6px;margin:12px 0}.cp-meter-plan,.cp-meter-used{position:absolute;left:0;top:0;height:100%;border-radius:6px}.cp-meter-plan{background:color-mix(in srgb,var(--cp-needs) 20%,white)}.cp-meter-used{background:var(--cp-needs)}.cp-marker{position:absolute;top:-5px;height:21px;width:0}.cp-limit{border-left:2px solid #263b33}.cp-guideline{border-left:2px dashed #9a8460}.cp-meter-key{display:flex;gap:18px;font-size:9px;color:var(--muted);margin:14px 0 24px}.cp-meter-key span{display:flex;gap:6px;align-items:center}.cp-key-limit{height:9px;border-left:2px solid #263b33}.cp-key-guide{height:9px;border-left:2px dashed #9a8460}.cp-amounts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.cp-amounts span{display:block;font-size:10px;color:var(--muted);line-height:1.5}.cp-amounts strong{display:block;font-size:16px;font-weight:500;margin-top:7px;overflow-wrap:anywhere}.cp-over-text strong{color:#963d31}.cp-benchmark{font-size:10px;line-height:1.8;color:var(--muted);margin:20px 0 0}.cp-benchmark strong{font-weight:400;color:#6e6253}.cp-card details{margin-top:20px;padding-top:15px}.cp-card summary{display:flex;justify-content:space-between;gap:10px;color:var(--cp-needs);font-size:11px;list-style:none}.cp-card summary::-webkit-details-marker{display:none}.cp-card details[open] summary span{transform:rotate(90deg)}.cp-card summary:focus-visible,.cp-scenario select:focus-visible{outline:2px solid #765491;outline-offset:4px}
.cp-table-wrap{margin-top:15px}.cp-table-wrap table{width:100%;table-layout:fixed;border-collapse:collapse;font-size:10px}.cp-table-wrap caption{text-align:left;font-size:9px;color:var(--muted);line-height:1.5;padding-bottom:10px}.cp-table-wrap th,.cp-table-wrap td{padding:10px 3px;border-bottom:1px solid #eeeee9;overflow-wrap:anywhere;vertical-align:top}.cp-table-wrap th{font-weight:400;text-align:left;width:44%}.cp-table-wrap thead th{font-size:9px;color:var(--muted)}.cp-table-wrap th:not(:first-child),.cp-table-wrap td{text-align:right;width:28%}.cp-carry{display:block;font-size:8px;line-height:1.4;color:#69675d;margin-top:4px}.cp-reserve-note{font-size:9px;line-height:1.6;color:var(--muted);margin-bottom:0}.cp-foot{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:23px 0}.cp-foot>div{flex-shrink:0}.cp-foot span{font-size:10px;color:var(--muted)}.cp-foot strong{display:block;font-size:22px;font-weight:500;margin-top:7px}.cp-foot p{font-size:11px;line-height:1.7;color:var(--muted);max-width:370px;margin:0}
@media(max-width:1100px){.cp-card{padding:18px}.cp-card-heading{align-items:flex-start;flex-direction:column}.cp-consumed strong{font-size:25px}.cp-card .cp-eyebrow{line-height:1.6}}
@media(max-width:760px){.cp-heading{align-items:stretch;flex-direction:column;gap:18px}.cp-heading h2{font-size:28px}.cp-scenario{max-width:none}.cp-cards{grid-template-columns:1fr;gap:12px}.cp-card-heading{flex-direction:row;align-items:center}.cp-foot{align-items:flex-start;flex-direction:column;gap:12px}.cp-strip-labels{gap:16px}.cp-disclosure{font-size:10px}.cp-table-wrap table{font-size:11px}}
/* Live consumption budgeting: tables scroll inside cards on narrow screens. */
.cp-unset{background:#f0f0eb;color:#62665e}.cp-unassigned{display:flex;align-items:center;justify-content:space-between;gap:16px;border:1px solid #ded6c2;background:#faf7ef;border-radius:10px;padding:18px;margin:16px 0}.cp-unassigned h3{margin:0;font-size:15px}.cp-unassigned p{font-size:12px;margin:8px 0 0;color:var(--muted)}.cp-savings{--cp-needs:#707b88;background:#fafbfb;margin-top:16px}.cp-table-wrap{overflow-x:auto}.cp-table-wrap table{min-width:420px}.cp-table-wrap th{width:34%}.cp-table-wrap th:not(:first-child),.cp-table-wrap td{width:22%}.cp-table-wrap .button-link{text-align:left;font-size:inherit;white-space:normal}.cp-filter{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:14px 0;padding:12px;border-radius:8px;background:#f1f4f1}.cp-filter span{font-size:12px}.cp-heading .cp-eyebrow{margin-bottom:12px}@media(max-width:760px){.cp-unassigned{align-items:flex-start;flex-direction:column}.cp-savings .cp-card-heading{align-items:flex-start;flex-direction:column}.cp-foot>div{min-width:0;flex-shrink:1}.cp-foot strong{overflow-wrap:anywhere}}
.cp-strip-savings,.cp-dot-savings{background:#8797a4}

@media(max-width:760px){.consumption-preview{padding:18px;border-radius:12px}.cp-heading h2{font-size:24px}.cp-card{padding:18px}}

/* Consumption budgeting redesign: header. */
.cp-header{--cp-header-ink:#202c29;--cp-header-muted:#5c6863;--cp-header-line:#e2e8e4;--cp-header-bg:#fff;--cp-header-hover:#f2f6f3;--cp-header-focus:#45695f;color:var(--cp-header-ink);background:var(--cp-header-bg);border:1px solid var(--cp-header-line);border-radius:16px;padding:24px 28px;margin-bottom:24px;box-shadow:0 2px 12px #172b2105}
.cp-header-top{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.cp-header h2{font-size:22px;font-weight:600;line-height:1.3;letter-spacing:-.6px;margin:0}
.cp-edit{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:40px;padding:8px 14px;border:1px solid var(--cp-header-line);border-radius:8px;background:var(--cp-header-bg);color:var(--cp-header-ink);font-size:12px;font-weight:550;white-space:nowrap}
.cp-edit:hover{background:var(--cp-header-hover);border-color:var(--cp-header-muted)}
.cp-edit span{transition:transform .18s ease-out}.cp-edit:hover span{transform:translate(2px,-2px)}
.cp-edit:focus-visible,.cp-estimate-badge:focus-visible{outline:2px solid var(--cp-header-focus);outline-offset:4px}
.cp-salary{margin-top:32px}.cp-salary-label{display:flex;align-items:center;gap:8px;color:var(--cp-header-muted);font-size:12px;font-weight:500}
.cp-salary-value{display:flex;align-items:baseline;gap:10px;margin-top:8px;font-size:36px;font-weight:600;letter-spacing:-1.2px;line-height:1.25;flex-wrap:wrap;overflow-wrap:anywhere}
.cp-currency{color:var(--cp-header-muted);font-size:13px;font-weight:500;letter-spacing:0}.cp-money-decimal{font-weight:400;color:var(--cp-header-muted)}
.cp-salary-pending{font-size:18px;margin:8px 0 0;color:var(--cp-header-muted)}
.cp-estimate-badge{position:relative;display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:50%;cursor:help;font-size:18px}
.cp-tooltip{position:absolute;z-index:5;left:50%;bottom:calc(100% + 8px);transform:translateX(-50%);width:200px;padding:10px 12px;border:1px solid var(--cp-header-line);border-radius:8px;background:var(--cp-header-ink);color:var(--cp-header-bg);font-size:11px;line-height:1.5;font-weight:400;box-shadow:0 4px 16px #0002;visibility:hidden;opacity:0;pointer-events:none}
.cp-estimate-badge:hover .cp-tooltip,.cp-estimate-badge:focus .cp-tooltip{visibility:visible;opacity:1}
@media(prefers-color-scheme:dark){.cp-header{--cp-header-ink:#edf3ef;--cp-header-muted:#b2c0b8;--cp-header-line:#35453c;--cp-header-bg:#19251f;--cp-header-hover:#26372d;--cp-header-focus:#a6cbb6}}
@media(max-width:760px){.cp-header{padding:24px 16px}.cp-header h2{font-size:20px}.cp-salary-value{font-size:30px}.cp-salary{margin-top:24px}}

/* Consumption budgeting redesign: allocation bar and legend. */
.cp-allocation{--cp-header-ink:#202c29;--cp-header-muted:#5c6863;--cp-header-bg:#fff;--cp-header-line:#e2e8e4;--cp-needs-500:#45695f;--cp-needs-100:#dce9e2;--cp-needs-50:#f2f7f4;--cp-wants-500:#8060a8;--cp-wants-100:#e9e0f2;--cp-wants-50:#f8f4fb;--cp-savings-500:#697d90;--cp-savings-100:#e0e7ed;--cp-savings-50:#f4f7f9;--cp-free-500:#91877a;--cp-free-100:#e9e4de;--cp-free-50:#f8f6f3;margin:0 0 24px;padding:24px 28px;background:var(--cp-header-bg);color:var(--cp-header-ink);border:1px solid var(--cp-header-line);border-radius:16px;box-shadow:0 2px 12px #172b2105}
.cp-allocation-needs{--cp-segment:var(--cp-needs-500)}.cp-allocation-wants{--cp-segment:var(--cp-wants-500)}.cp-allocation-savings{--cp-segment:var(--cp-savings-500)}.cp-allocation-free{--cp-segment:var(--cp-free-500)}
.cp-allocation-label{display:flex;gap:8px;align-items:center;font-size:12px;font-weight:500;color:var(--cp-header-muted);margin-bottom:16px}
.cp-allocation-track{display:flex;gap:2px;height:20px;border-radius:8px;background:var(--cp-free-50)}
.cp-allocation-segment{position:relative;display:block;flex-basis:0;min-width:0;background:var(--cp-segment);cursor:help;transition:filter .18s ease-out}
.cp-allocation-segment:first-child{border-radius:8px 0 0 8px}.cp-allocation-segment:last-child{border-radius:0 8px 8px 0}.cp-allocation-segment:only-child{border-radius:8px}
.cp-allocation-segment:hover{filter:brightness(1.08)}.cp-allocation-segment:focus-visible{outline:2px solid var(--cp-header-ink);outline-offset:3px;z-index:2}
.cp-allocation-tip{visibility:hidden;opacity:0;position:absolute;bottom:calc(100% + 8px);left:50%;transform:translateX(-50%);z-index:4;width:210px;max-width:65vw;padding:10px 12px;border:1px solid var(--cp-header-line);border-radius:8px;background:var(--cp-header-ink);color:var(--cp-header-bg);box-shadow:0 4px 16px #0002;font-size:11px;line-height:1.5;pointer-events:none}
.cp-allocation-segment:first-child .cp-allocation-tip{left:0;transform:none}.cp-allocation-segment:last-child .cp-allocation-tip,.cp-allocation-segment:nth-last-child(2) .cp-allocation-tip{left:auto;right:0;transform:none}
.cp-allocation-segment:hover .cp-allocation-tip,.cp-allocation-segment:focus .cp-allocation-tip{visibility:visible;opacity:1}
.cp-allocation-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px 16px;margin-top:24px}
.cp-allocation-item{min-width:0}.cp-allocation-name{display:flex;align-items:baseline;gap:8px;font-size:12px;color:var(--cp-header-muted);line-height:1.5}.cp-allocation-name i{width:8px;height:8px;border-radius:3px;background:var(--cp-segment);flex-shrink:0}
.cp-allocation-amount{display:flex;align-items:baseline;flex-wrap:wrap;gap:6px;margin-top:8px;font-size:18px;font-weight:600;letter-spacing:-.4px;overflow-wrap:anywhere}.cp-allocation-amount .cp-currency{font-size:11px}.cp-allocation-percent{display:block;margin-top:6px;font-size:11px;color:var(--cp-header-muted)}
.cp-allocation-note{margin:20px 0 0;color:var(--cp-header-muted);font-size:12px}
@media(prefers-color-scheme:dark){.cp-allocation{--cp-header-ink:#edf3ef;--cp-header-muted:#b2c0b8;--cp-header-bg:#19251f;--cp-header-line:#35453c;--cp-needs-500:#7eae96;--cp-needs-100:#304d3e;--cp-needs-50:#22352b;--cp-wants-500:#b295d2;--cp-wants-100:#483859;--cp-wants-50:#30263c;--cp-savings-500:#93a9bf;--cp-savings-100:#344657;--cp-savings-50:#25323f;--cp-free-500:#b4a999;--cp-free-100:#4a443b;--cp-free-50:#342f29}}
@media(max-width:760px){.cp-allocation{padding:24px 16px}.cp-allocation-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.cp-allocation-amount{font-size:16px}}

/* Consumption budgeting redesign: category cards. */
.cp-category{--cp-header-ink:#202c29;--cp-header-muted:#5c6863;--cp-header-bg:#fff;--cp-header-line:#dfe7e2;--cp-fill:#45695f;--cp-track:#dce9e2;--cp-tint:#f2f7f4;--cp-hatch:#45695f55;--cp-good-ink:#27563d;--cp-good-bg:#e9f4ed;--cp-warn-ink:#785116;--cp-warn-bg:#fff2d9;--cp-bad-ink:#953d31;--cp-bad-bg:#fae9e5;--muted:var(--cp-header-muted);--ink:var(--cp-header-ink);--line:var(--cp-header-line);padding:28px;border-radius:16px;border-color:var(--cp-header-line);background:var(--cp-header-bg);color:var(--cp-header-ink);box-shadow:0 3px 16px #172b2106;transition:transform .2s ease-out,box-shadow .2s ease-out}
.cp-category.cp-wants{--cp-fill:#8060a8;--cp-track:#e9e0f2;--cp-tint:#f8f4fb;--cp-hatch:#8060a855}
@media(hover:hover){.cp-category:hover{transform:translateY(-2px);box-shadow:0 8px 24px #172b210d}}
.cp-category-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;flex-wrap:wrap}.cp-category-heading h3{font-size:22px;font-weight:600;margin:0;line-height:1.3}.cp-category-heading p{margin:8px 0 0;font-size:12px;color:var(--cp-header-muted)}
.cp-category .cp-status{display:inline-flex;align-items:center;gap:6px;font-size:11px;font-weight:600;padding:6px 10px;line-height:1.5}.cp-category .cp-within{color:var(--cp-good-ink);background:var(--cp-good-bg)}.cp-category .cp-near{color:var(--cp-warn-ink);background:var(--cp-warn-bg)}.cp-category .cp-over{color:var(--cp-bad-ink);background:var(--cp-bad-bg)}.cp-category .cp-unset{color:var(--cp-header-muted);background:var(--cp-tint)}
.cp-category-hero{margin:32px 0 0}.cp-category-label{font-size:11px;color:var(--cp-header-muted)}.cp-category-label>span:first-child{font-size:9px;margin-right:5px}.cp-category-spending{display:flex;flex-wrap:wrap;align-items:center;gap:12px 16px;margin-top:8px}.cp-spent{display:flex;align-items:baseline;gap:8px;font-size:34px;line-height:1.25;letter-spacing:-1px;font-weight:600;min-width:0;overflow-wrap:anywhere}.cp-spent .cp-currency{font-size:12px;letter-spacing:0}.cp-spending-context{display:grid;gap:5px;font-size:11px;line-height:1.5;color:var(--cp-header-muted)}.cp-spending-context .cp-currency{font-size:10px}.cp-used-percent{font-weight:600}.cp-cycle-pace{margin:12px 0 0;color:var(--cp-header-muted);font-size:11px}
.cp-budget-chart{position:relative;margin:72px 0 76px}.cp-budget-track{position:relative;height:24px;background:var(--cp-track);border-radius:8px;overflow:hidden}.cp-budget-fill{position:absolute;inset:0 auto 0 0;background:var(--cp-fill);border-radius:8px;transform-origin:left;animation:cp-fill-in .6s ease-out both}.cp-guideline-overage{position:absolute;top:0;bottom:0;background:repeating-linear-gradient(135deg,transparent 0 4px,var(--cp-hatch) 4px 6px)}
@keyframes cp-fill-in{from{transform:scaleX(0)}to{transform:scaleX(1)}}
.cp-budget-marker{position:absolute;top:-4px;height:32px;width:0;border-left:2px solid var(--cp-header-ink);z-index:1;cursor:help}.cp-budget-guide{border-left-style:dashed}.cp-budget-marker:focus-visible{outline:2px solid var(--cp-fill);outline-offset:5px}.cp-marker-label{position:absolute;left:-1px;top:40px;white-space:nowrap;font-size:10px;color:var(--cp-header-muted);line-height:1.6}.cp-marker-label strong{display:block;font-size:12px;font-weight:600;color:var(--cp-header-ink);font-variant-numeric:tabular-nums}.cp-marker-label .cp-currency{font-size:10px}.cp-budget-guide .cp-marker-label{top:auto;bottom:40px}.cp-marker-align-end{left:auto;right:0;text-align:right}.cp-marker-tip{position:absolute;left:0;bottom:calc(100% + 72px);width:190px;padding:10px 12px;border-radius:8px;background:var(--cp-header-ink);color:var(--cp-header-bg);font-size:11px;line-height:1.5;visibility:hidden;opacity:0;pointer-events:none;box-shadow:0 4px 16px #0002}.cp-marker-tip.cp-marker-align-end{left:auto;right:0}.cp-budget-marker:hover,.cp-budget-marker:focus{z-index:3}.cp-budget-marker:hover .cp-marker-tip,.cp-budget-marker:focus .cp-marker-tip{visibility:visible;opacity:1}
.cp-limit-note{font-size:11px;line-height:1.6;color:var(--cp-header-muted);background:var(--cp-tint);border-radius:8px;padding:12px;margin:0 0 24px}
.cp-category .cp-over-text strong{color:var(--cp-bad-ink)}.cp-category .cp-benchmark strong{color:var(--cp-header-muted)}.cp-category summary,.cp-category .button-link{color:var(--cp-fill)}.cp-category .cp-table-wrap th,.cp-category .cp-table-wrap td{border-color:var(--cp-header-line)}
.cp-data-legend{display:flex;flex-wrap:wrap;gap:8px 24px;font-size:11px;line-height:1.6;color:#5c6863;margin:16px 0 24px}
@media(prefers-color-scheme:dark){.cp-category{--cp-header-ink:#edf3ef;--cp-header-muted:#b2c0b8;--cp-header-bg:#19251f;--cp-header-line:#35453c;--cp-fill:#7eae96;--cp-track:#304d3e;--cp-tint:#22352b;--cp-hatch:#b6d8c588;--cp-good-ink:#a8dfbe;--cp-good-bg:#253e2f;--cp-warn-ink:#f3d39b;--cp-warn-bg:#473923;--cp-bad-ink:#ffb5a9;--cp-bad-bg:#4d302e}.cp-category.cp-wants{--cp-fill:#b295d2;--cp-track:#483859;--cp-tint:#30263c;--cp-hatch:#d6b8ee88}}
@media(max-width:1100px){.cp-category{padding:24px}.cp-spent{font-size:30px}}
@media(max-width:760px){.cp-category{padding:24px}.cp-category-heading{gap:12px}.cp-category-heading h3{font-size:20px}.cp-spent{font-size:30px}}
.cp-category-heading>div{display:contents}.cp-category-heading h3{order:0}.cp-category-heading .cp-status{order:1;margin-left:auto}.cp-category-heading p{order:2;flex-basis:100%;margin:0}

/* Consumption budgeting redesign: estimated stats. */
.cp-category{container-type:inline-size}
.cp-stats{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.18fr) minmax(0,1fr);margin:0;padding:24px 0 8px;border-top:1px solid var(--cp-header-line);font-variant-numeric:tabular-nums}
.cp-stat{min-width:0;padding:0 16px;border-right:1px solid var(--cp-header-line)}.cp-stat:first-child{padding-left:0}.cp-stat:last-child{padding-right:0;border-right:0}
.cp-stat dt{font-size:11px;line-height:1.6;color:var(--cp-header-muted);min-height:36px}.cp-stat dt>span{font-size:12px}
.cp-stat dd{margin:8px 0 0;font-size:clamp(11px,4cqi,16px);font-weight:550;letter-spacing:-.3px;line-height:1.4;overflow-wrap:anywhere;color:var(--cp-header-ink)}
.cp-stat dd>.cp-currency{display:block;margin-bottom:4px;font-size:10px;font-weight:500;letter-spacing:0}.cp-stat dd>.num{display:block}
.cp-stat-remaining dd{font-size:clamp(13px,4.8cqi,22px);font-weight:650}.cp-stat-remaining .cp-money-decimal{font-weight:450}.cp-stat-over dd,.cp-stat-over .cp-money-decimal{color:var(--cp-bad-ink)}
.cp-stat-context{display:block;font-weight:400;letter-spacing:0;font-size:10px;line-height:1.6;color:var(--cp-header-muted);margin-top:8px}.cp-stat-empty{font-size:12px;line-height:1.6;font-weight:500;letter-spacing:0;color:var(--cp-header-muted)}
.cp-stats-note{font-size:11px;line-height:1.7;color:var(--cp-header-muted);margin:16px 0 0}
@container(max-width:350px){.cp-stat{padding:0 8px}.cp-stat dt{font-size:10px;min-height:48px}.cp-stat-context{font-size:10px}}
.cp-cards{align-items:stretch}.cp-category{display:flex;flex-direction:column}.cp-stats{margin-top:auto}

/* Consumption budgeting redesign: footer and allocation disclosures. */
.consumption-preview{--cp-header-ink:#202c29;--cp-header-muted:#5c6863;--cp-header-bg:#fff;--cp-header-line:#dfe7e2;--cp-footer-surface:#f7f9f7;--cp-footer-hover:#edf2ee;--cp-footer-danger:#953d31;background:var(--cp-header-bg);color:var(--cp-header-ink);border-color:var(--cp-header-line)}
.cp-category .cp-allocation-details{margin-top:24px;padding-top:16px;border-color:var(--cp-header-line)}
.consumption-preview .cp-ghost-action{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:44px;border:1px solid transparent;border-radius:8px;padding:10px 12px;background:transparent;color:var(--cp-header-ink);font-size:12px;font-weight:550;line-height:1.5;text-align:left;cursor:pointer;list-style:none;transition:background .18s ease-out,border-color .18s ease-out}
.cp-category .cp-ghost-action:hover{background:var(--cp-tint)}.cp-footer .cp-ghost-action:hover{background:var(--cp-footer-hover)}
.consumption-preview .cp-ghost-action:focus-visible{outline:2px solid var(--cp-header-ink);outline-offset:3px}.cp-action-arrow{display:inline-block;transition:transform .18s ease-out;flex-shrink:0}
.consumption-preview .cp-ghost-action:hover .cp-action-arrow{transform:translateX(4px)}.cp-category details[open] summary .cp-action-arrow{transform:rotate(90deg)}.cp-category details[open] summary:hover .cp-action-arrow{transform:translateY(3px) rotate(90deg)}
.cp-category .cp-table-wrap{margin-top:16px}.cp-category .cp-table-wrap caption{font-size:11px;color:var(--cp-header-muted)}.cp-category .cp-table-wrap th,.cp-category .cp-table-wrap td{font-size:11px;line-height:1.6}.cp-category .cp-table-wrap .button-link{color:var(--cp-header-ink);text-decoration:underline;text-underline-offset:3px}.cp-category .cp-table-wrap .negative{color:var(--cp-bad-ink)}.cp-category .cp-table-wrap .button-link:focus-visible{outline:2px solid var(--cp-header-ink);outline-offset:3px}
.cp-footer{margin-top:24px}.cp-review-row{display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap;padding:24px;background:var(--cp-footer-surface);border:1px solid var(--cp-header-line);border-radius:16px}.cp-review-row h3{font-size:14px;font-weight:600;margin:0}.cp-review-amount{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap;margin:10px 0 0;color:var(--cp-header-muted);font-size:11px}.cp-review-amount strong{font-size:18px;font-weight:550;color:var(--cp-header-ink);font-variant-numeric:tabular-nums}.cp-review-amount .cp-currency{font-size:11px}.cp-review-count{border-left:1px solid var(--cp-header-line);padding-left:12px;margin-left:4px;font-variant-numeric:tabular-nums}.cp-review-row .cp-ghost-action{flex-shrink:0}
.cp-remainder-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);gap:24px;align-items:center;padding:24px 0;border-bottom:1px solid var(--cp-header-line)}.cp-remainder-label{color:var(--cp-header-muted);font-size:11px}.cp-remainder-value{display:block;font-size:22px;font-weight:600;letter-spacing:-.4px;margin-top:8px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.cp-remainder-value .cp-currency{font-size:11px}.cp-remainder-negative,.cp-remainder-negative .cp-money-decimal{color:var(--cp-footer-danger)}.cp-remainder-row p{font-size:11px;line-height:1.8;color:var(--cp-header-muted);margin:0}.cp-remainder-pending{font-size:14px;font-weight:500;letter-spacing:0;color:var(--cp-header-muted)}
.cp-footer .cp-data-legend{color:var(--cp-header-muted);margin:16px 0 0;gap:8px 24px;font-size:10px}
@media(prefers-color-scheme:dark){.consumption-preview{--cp-header-ink:#edf3ef;--cp-header-muted:#b2c0b8;--cp-header-bg:#19251f;--cp-header-line:#35453c;--cp-footer-surface:#202f26;--cp-footer-hover:#2b3e32;--cp-footer-danger:#ffb5a9}}
@media(max-width:760px){.cp-review-row{padding:20px;gap:16px}.cp-review-row .cp-ghost-action{width:100%}.cp-remainder-row{grid-template-columns:minmax(0,1fr);gap:16px}.cp-review-count{margin-left:0}.cp-category .cp-allocation-details{margin-top:20px}}

/* Tooltip content stays reachable by pointer and can be dismissed with Escape. */
.cp-tooltip,.cp-allocation-tip,.cp-marker-tip{pointer-events:auto}
.cp-tooltip::after,.cp-allocation-tip::after,.cp-marker-tip::after{content:"";position:absolute;left:0;right:0;top:100%;height:12px}
.cp-marker-tip::after{height:80px}
.cp-tip-dismissed .cp-tooltip,.cp-tip-dismissed .cp-allocation-tip,.cp-tip-dismissed .cp-marker-tip{visibility:hidden!important;opacity:0!important;pointer-events:none!important}
.cp-category .cp-table-wrap .button-link:hover{background:var(--cp-tint);color:var(--cp-header-ink)}

/* Account outflow redesign: neutral containers and softly lit artwork stages. */
.overview-metrics{--of-surface:#fff;--of-ink:#272a2f;--of-muted:#60656c;--of-line:#e2e4e7;--of-stage:#fafaf9;--of-shadow:0 3px 18px #172b2107;gap:24px;align-items:stretch}
.overview-metrics .overview-outflow{--of-glow:radial-gradient(ellipse at 50% 50%,#9299a329,transparent 72%);--of-focus:#59616b;display:flex;flex-direction:column;align-items:stretch;gap:0;padding:28px;border:1px solid var(--of-line);border-radius:16px;background:var(--of-surface);color:var(--of-ink);box-shadow:var(--of-shadow);overflow:visible;min-width:0}
.overview-metrics .overview-outflow-riyad{--of-glow:radial-gradient(ellipse at 50% 50%,#60448c20,transparent 72%);--of-focus:#705395}
.outflow-identity{font-size:11px;font-weight:550;letter-spacing:.2px;color:var(--of-muted);line-height:1.6;margin-bottom:16px}
.overview-metrics .outflow-stage{position:relative;display:grid;place-items:center;min-width:0;min-height:224px;padding:24px 16px;background:var(--of-stage);border-radius:12px;isolation:isolate}
.outflow-stage::before{content:"";position:absolute;inset:0;background:var(--of-glow);border-radius:inherit;z-index:-1;pointer-events:none}
.overview-metrics .outflow-art{width:min(100%,280px);max-height:none;aspect-ratio:85.6 / 54;padding:0;display:flex;align-items:center;justify-content:center}
.overview-metrics .outflow-art img{display:block;width:100%;height:100%;max-height:none;object-fit:contain;filter:none}
.overview-metrics .outflow-copy{margin-top:24px;padding-top:24px;border-top:1px solid var(--of-line)}
.overview-metrics .metric-label{color:var(--of-ink)}.overview-metrics .metric-note{color:var(--of-muted)}
@media(prefers-color-scheme:dark){.overview-metrics{--of-surface:#202225;--of-ink:#f1f2f4;--of-muted:#bbc0c8;--of-line:#393d43;--of-stage:#25272b;--of-shadow:0 6px 24px #0002}.overview-metrics .overview-outflow{--of-glow:radial-gradient(ellipse at 50% 50%,#cad2df38,transparent 74%);--of-focus:#b9c3d1}.overview-metrics .overview-outflow-riyad{--of-glow:radial-gradient(ellipse at 50% 50%,#aa80ea45,transparent 74%);--of-focus:#c3a4ef}}
@media(max-width:760px){.overview-metrics{gap:16px}.overview-metrics .overview-outflow{padding:24px}.overview-metrics .outflow-stage{min-height:200px;padding:24px 12px}}

/* Account artwork: original image, separate lighting, and bounded pointer motion. */
.overview-metrics .outflow-stage{perspective:1000px}
.overview-metrics .outflow-art{position:relative;animation:outflow-card-enter .6s cubic-bezier(.2,.7,.3,1) both}
.overview-metrics .outflow-card-surface{position:relative;width:100%;height:100%;transform:rotateX(calc(7deg + var(--of-tilt-x,0deg))) rotateY(calc(-7deg + var(--of-tilt-y,0deg))) rotateZ(-3deg);transform-style:preserve-3d;transition:transform .2s ease-out}
.overview-metrics .overview-outflow-riyad .outflow-card-surface{transform:rotateX(calc(7deg + var(--of-tilt-x,0deg))) rotateY(calc(7deg + var(--of-tilt-y,0deg))) rotateZ(3deg)}
.overview-metrics .outflow-card-surface img{position:relative;z-index:1;filter:drop-shadow(0 3px 2px #0003) drop-shadow(0 14px 12px #0002)}
.outflow-card-surface::before{content:"";position:absolute;inset:14% 8% 4%;border-radius:12%;background:#0003;filter:blur(14px);transform:translateY(12px);pointer-events:none}
.outflow-card-sheen{position:absolute;inset:5% 3%;z-index:2;border-radius:7% / 11%;background:radial-gradient(ellipse at var(--of-sheen-x,35%) var(--of-sheen-y,25%),#ffffff18,transparent 65%),linear-gradient(115deg,transparent 25%,#ffffff0d 44%,#ffffff24 48%,#ffffff06 52%,transparent 65%);background-size:100% 100%,200% 200%;background-position:center,var(--of-sheen-x,35%) var(--of-sheen-y,25%);pointer-events:none}
@keyframes outflow-card-enter{from{opacity:0;transform:translateY(16px) rotate(-4deg)}to{opacity:1;transform:translateY(0) rotate(0)}}
@media(prefers-color-scheme:dark){.outflow-card-surface::before{background:#0007}.overview-metrics .outflow-card-surface img{filter:drop-shadow(0 3px 2px #0005) drop-shadow(0 14px 12px #0004)}}
@media(prefers-reduced-motion:reduce){.overview-metrics .outflow-art{animation:none}.overview-metrics .outflow-card-surface,.overview-metrics .overview-outflow-riyad .outflow-card-surface{transform:none;transition:none}.outflow-card-sheen{background-position:center,35% 25%;background-image:linear-gradient(115deg,transparent 25%,#ffffff0d 44%,#ffffff14 48%,transparent 65%)}}
.overview-metrics .outflow-art{transform-style:preserve-3d}

/* Account outflow amount: stable final-value accessibility and animated visual digits. */
.outflow-amount-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.outflow-amount-heading h3{font-size:12px;font-weight:550;line-height:1.6;color:var(--of-muted);margin:0}
.outflow-measured{position:relative;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:24px;height:24px;color:var(--of-muted);font-size:9px;cursor:help;border-radius:50%}.outflow-measured:focus-visible{outline:2px solid var(--of-focus);outline-offset:3px}
.outflow-measured-tip{position:absolute;bottom:calc(100% + 10px);right:0;z-index:5;width:210px;max-width:65vw;padding:12px;border:1px solid var(--of-line);border-radius:8px;font-size:11px;line-height:1.6;font-weight:400;color:var(--of-surface);background:var(--of-ink);box-shadow:0 4px 16px #0002;visibility:hidden;opacity:0}.outflow-measured-tip::after{content:"";position:absolute;top:100%;left:0;right:0;height:14px}.outflow-measured:hover .outflow-measured-tip,.outflow-measured:focus .outflow-measured-tip{visibility:visible;opacity:1}.outflow-tip-dismissed .outflow-measured-tip{visibility:hidden!important;opacity:0!important;pointer-events:none}
.outflow-amount{margin-top:8px;font-variant-numeric:tabular-nums}.outflow-amount-visual{display:flex;align-items:baseline;flex-wrap:wrap;gap:10px;line-height:1.2;color:var(--of-ink)}.outflow-currency{font-size:13px;font-weight:500;color:var(--of-muted);letter-spacing:0}.outflow-number-slot{display:grid;min-width:0;font-size:38px;font-weight:600;letter-spacing:-1.1px;overflow-wrap:anywhere}.outflow-number,.outflow-number-reserve{grid-area:1/1}.outflow-number-reserve{visibility:hidden}.outflow-decimal{font-weight:400;color:var(--of-muted)}
.outflow-scope{margin:12px 0 0;font-size:11px;line-height:1.6;color:var(--of-muted)}
@media(max-width:760px){.outflow-number-slot{font-size:34px}.outflow-currency{font-size:12px}}

/* Account outflow share: the same filtered total as the Overview metrics. */
.overview-metrics .overview-outflow{--of-share-fill:#626a75;--of-share-track:#e9ebee}.overview-metrics .overview-outflow-riyad{--of-share-fill:#705395}
.outflow-share{margin-top:24px}.outflow-share-label{margin:0 0 12px;color:var(--of-muted);font-size:11px;line-height:1.6}.outflow-share-label strong{font-size:13px;font-weight:600;color:var(--of-ink);margin-right:3px}
.outflow-share-track{height:6px;border-radius:999px;background:var(--of-share-track);overflow:hidden}.outflow-share-fill{display:block;height:100%;border-radius:inherit;background:var(--of-share-fill)}
@media(prefers-color-scheme:dark){.overview-metrics .overview-outflow{--of-share-fill:#b9c3d1;--of-share-track:#3c4148}.overview-metrics .overview-outflow-riyad{--of-share-fill:#bda0e4}}

/* Account outflow footer: account-scoped transaction navigation. */
.outflow-footer{margin-top:24px;padding-top:16px;border-top:1px solid var(--of-line)}
.overview-metrics .outflow-transactions{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;min-height:44px;padding:10px 12px;border:1px solid transparent;border-radius:8px;background:transparent;color:var(--of-ink);font-size:12px;line-height:1.6;font-weight:550;text-align:left;transition:background .18s ease-out}
.overview-metrics .outflow-transactions:hover:not(:disabled){background:var(--of-stage)}.outflow-transactions span{display:inline-block;transition:transform .18s ease-out}.outflow-transactions:hover:not(:disabled) span{transform:translateX(4px)}
.overview-metrics .outflow-transactions:focus-visible,.outflow-account-choice select:focus-visible{outline:2px solid var(--of-focus);outline-offset:3px}.overview-metrics .outflow-transactions:disabled{cursor:default;opacity:.6}
.outflow-account-choice{display:grid;gap:8px;margin:0 0 12px;color:var(--of-muted);font-size:11px}.outflow-account-choice select{width:100%;max-width:100%;background:var(--of-surface);color:var(--of-ink);border-color:var(--of-line)}.outflow-footer-note{font-size:11px;line-height:1.6;color:var(--of-muted);margin:8px 12px 0}
/* Account outflow responsive finish: stack when the content area becomes narrow. */
.overview-metrics{grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr))}
.overview-metrics .overview-outflow{container-type:inline-size}
.outflow-share{margin-bottom:24px}.outflow-footer{margin-top:auto}
.outflow-amount-visual{max-width:100%}.outflow-number-slot{max-width:100%;font-size:clamp(26px,10cqi,38px)}
@container(max-width:280px){.outflow-number-slot{font-size:30px}.overview-metrics .outflow-stage{min-height:180px;padding:20px 12px}.outflow-amount-heading{gap:8px}}
@media(max-width:760px){.overview-metrics{grid-template-columns:minmax(0,1fr)}.overview-metrics .outflow-stage{min-height:200px}.outflow-number-slot{font-size:clamp(26px,11cqi,34px)}}
@media(pointer:coarse){.outflow-measured{width:44px;height:44px}.outflow-amount-heading{margin-bottom:-8px}.outflow-account-choice select{min-height:44px}}
/* Preserve the redesigned card border over the older mobile metric rule. */
.overview-metrics .overview-outflow:last-child{border-bottom:1px solid var(--of-line)}

/* Reviewed Overview spending cards; production comparisons and category modals retained. */
:root{--category-0:#8060a8;--category-1:#537b96;--category-2:#8a7658;--category-3:#997084;--category-4:#547e70;--category-5:#6977a3;--category-6:#95715b;--category-7:#8b729f;--category-8:#748164;--category-9:#936d6d;--category-neutral:#717986}
.panel.category-card{--category-surface:#fff;--category-ink:#272a2f;--category-muted:#60656c;--category-border:#e2e4e7;--category-track:#f1f0f4;padding:28px;border:1px solid var(--category-border);border-radius:16px;background:var(--category-surface);color:var(--category-ink);box-shadow:0 3px 18px #172b2107;min-width:0}
.category-header-top{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 16px}.category-header h2{font-size:20px;font-weight:550;line-height:1.4;letter-spacing:-.5px;margin:0;color:var(--category-ink)}
.category-measured{display:inline-flex;align-items:center;gap:6px;font-size:11px;color:var(--category-muted);white-space:nowrap}.category-measured>span{font-size:9px}
.category-subtitle{margin:8px 0 0;color:var(--category-muted);font-size:12px;line-height:1.5}
/* Overview rows share a single grid so every share bar begins at the same edge. */
.category-header-context{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:8px 16px;margin-top:8px}.category-header-context .category-subtitle{margin:0}.category-count{font-size:11px;color:var(--category-muted);white-space:nowrap}
.category-rows{list-style:none;margin:24px -12px 0;padding:0;display:grid;grid-template-columns:minmax(0,1.2fr) minmax(32px,1fr) max-content 12px;column-gap:12px}
.category-rows>li{grid-column:1/-1;display:grid;grid-template-columns:subgrid;border-bottom:1px solid var(--category-border)}.category-rows>li:last-child{border-bottom:0}
.category-row{grid-column:1/-1;display:grid;grid-template-columns:subgrid;align-items:center;min-width:0;width:100%;border:0;border-radius:8px;background:transparent;color:var(--category-ink);text-align:left;padding:14px 12px;min-height:64px;cursor:pointer}
.category-row:hover{background:var(--category-hover)}.category-row:focus-visible{outline:2px solid var(--category-ink);outline-offset:2px;background:var(--category-hover)}
.category-row-identity{display:flex;align-items:flex-start;gap:8px;min-width:0}.category-row-dot{flex:0 0 7px;width:7px;height:7px;margin-top:5px;border-radius:50%;background:var(--category-color)}
.category-row-name{min-width:0;font-size:12px;font-weight:500;line-height:1.5;overflow-wrap:anywhere}.category-row-tag{display:table;margin-top:5px;border:1px solid var(--category-border);border-radius:4px;padding:1px 5px;font-size:9px;font-weight:400;line-height:1.5;color:var(--category-muted)}
.category-row-track{display:block;min-width:0;height:6px;border-radius:4px;background:var(--category-track);overflow:hidden}.category-row-track>span{display:block;height:100%;border-radius:inherit;background:var(--category-color);transform-origin:left;animation:category-row-grow .5s ease-out both;animation-delay:var(--category-delay)}
.category-row-figures{display:block;min-width:0;text-align:right}.category-row-figures strong{display:block;font-size:12px;font-weight:550;line-height:1.5;white-space:nowrap}.category-row-figures>span{display:block;margin-top:4px;font-size:10px;font-weight:400;color:var(--category-muted);line-height:1.5}
.category-row-chevron{font-size:20px;color:var(--category-muted);opacity:0;transition:opacity .15s ease}.category-row:hover .category-row-chevron,.category-row:focus-visible .category-row-chevron{opacity:1}
.category-mapping-note{font-size:10px;color:var(--category-muted);line-height:1.6;margin:16px 0 0}.category-card .empty{color:var(--category-muted)}.category-card .empty strong{color:var(--category-ink)}
.panel.category-card{--category-hover:#f7f6f9}
@keyframes category-row-grow{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@media(prefers-reduced-motion:reduce){.category-row-track>span{animation:none}.category-row-chevron{transition:none}}
@media(prefers-color-scheme:dark){.panel.category-card{--category-surface:#202225;--category-ink:#f1f2f4;--category-muted:#bbc0c8;--category-border:#393d43;--category-track:#222428;--category-hover:#292b30;box-shadow:0 6px 24px #0002}}
@media(max-width:760px){.panel.category-card{padding:24px}.category-header h2{font-size:18px}.category-rows{column-gap:8px;grid-template-columns:minmax(0,1.2fr) minmax(24px,1fr) max-content 8px}.category-row-figures strong{font-size:11px}.category-row-name{font-size:11px}}
@media(hover:none){.category-row-chevron{opacity:1}}
.grid.two.overview-spending{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
/* Cumulative spending: measured history and optional planned pace. */
.panel.pace-card{--pace-surface:#fff;--pace-ink:#272a2f;--pace-muted:#60656c;--pace-border:#e2e4e7;--pace-chip:#f7f6fa;--pace-accent:#8060a8;padding:28px;border:1px solid var(--pace-border);border-radius:16px;background:var(--pace-surface);color:var(--pace-ink);box-shadow:0 3px 18px #172b2107;min-width:0}
.pace-header{margin-bottom:24px}
.pace-header-top{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 16px;color:var(--pace-muted);font-size:11px;line-height:1.5}
.pace-eyebrow{text-transform:uppercase;letter-spacing:1px;font-weight:600}
.pace-measured{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}
.pace-measured>span{color:var(--pace-accent);font-size:9px}
.pace-header h2{font-size:20px;font-weight:550;line-height:1.4;letter-spacing:-.5px;margin:8px 0 0;color:var(--pace-ink)}
.pace-header-stats{display:flex;align-items:center;flex-wrap:wrap;gap:16px;margin-top:24px}
.pace-amount{display:inline-flex;align-items:baseline;flex-wrap:wrap;gap:8px;font-size:36px;font-weight:600;letter-spacing:-1.2px;line-height:1.25;min-width:0;overflow-wrap:anywhere;max-width:100%}
.pace-amount>span:last-child{min-width:0;max-width:100%}
.pace-currency{color:var(--pace-muted);font-size:13px;font-weight:500;letter-spacing:0}
.pace-money-decimal{font-weight:400;color:var(--pace-muted)}
.pace-card .pace-plot{container-type:inline-size;background:transparent;border-radius:0}
.pace-card .pace-chart{display:block;width:100%;height:auto;overflow:visible;font-variant-numeric:tabular-nums}
.pace-card .pace-chart text{font-family:inherit;font-size:14px;fill:var(--pace-muted)}
.pace-card .pace-grid{stroke:var(--pace-border);stroke-width:1;stroke-dasharray:none;opacity:.65}
.pace-card .pace-fill-top{stop-color:var(--pace-accent);stop-opacity:.22}.pace-card .pace-fill-bottom{stop-color:var(--pace-accent);stop-opacity:.015}
.pace-card .pace-line{fill:none;stroke:var(--pace-accent);stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke;stroke-dasharray:1;stroke-dashoffset:0;animation:pace-line-draw .8s ease-out both;pointer-events:none}
.pace-card .pace-micro-bars{fill:var(--pace-accent);opacity:.2;pointer-events:none}
.pace-card .pace-single-mark{stroke:var(--pace-accent);stroke-width:2.5;stroke-linecap:round;vector-effect:non-scaling-stroke;pointer-events:none}
.pace-card .pace-plan line{stroke:var(--pace-muted);stroke-width:1.25;stroke-dasharray:5 5;vector-effect:non-scaling-stroke;opacity:.8}
.pace-card .pace-plan text{font-size:13px;paint-order:stroke;stroke:var(--pace-surface);stroke-width:6px;stroke-linejoin:round;fill:var(--pace-muted)}
.pace-card .pace-today-guide{stroke:var(--pace-muted);stroke-dasharray:2 5;opacity:.35;pointer-events:none}.pace-card .pace-today-label{fill:var(--pace-ink);font-weight:600}
.pace-card .pace-point{fill:none;stroke:none;cursor:pointer;outline:none}
.pace-card .pace-hit{fill:transparent;stroke:none;pointer-events:all}
.pace-card .pace-dot{fill:var(--pace-accent);stroke:var(--pace-surface);stroke-width:2;opacity:0;pointer-events:none;vector-effect:non-scaling-stroke}
.pace-card .pace-point:hover .pace-dot,.pace-card .pace-point:focus .pace-dot{opacity:1}
.pace-card .pace-point:focus-visible .pace-hit{fill:var(--pace-accent);fill-opacity:.055;stroke:var(--pace-accent);stroke-width:1;stroke-dasharray:3 3}
.pace-card .pace-detail{margin-top:8px;padding:12px 16px;font-size:12px;color:var(--pace-muted);background:var(--pace-chip);border:1px solid var(--pace-border);border-radius:8px}
.pace-plan-context{margin:0 0 16px;color:var(--pace-muted);font-size:11px;line-height:1.6}
.pace-card .pace-plot{position:relative;overflow:visible}
.pace-card .pace-chart{touch-action:pan-y}
.pace-card [hidden]{display:none!important}
.pace-card .pace-crosshair{stroke:var(--pace-accent);stroke-width:1;stroke-dasharray:4 4;vector-effect:non-scaling-stroke;pointer-events:none}
.pace-card .pace-point.is-active .pace-dot,.pace-card .pace-point.is-pinned .pace-dot{opacity:1}
.pace-tooltip{position:absolute;z-index:8;width:244px;max-width:100%;padding:14px 16px;border:1px solid var(--pace-border);border-radius:12px;background:var(--pace-surface);color:var(--pace-ink);box-shadow:0 8px 28px #15102026;font-size:12px;line-height:1.5;overflow-wrap:anywhere}
.pace-tip-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.pace-tip-heading strong{font-weight:600}.pace-tip-heading>span{font-size:10px;color:var(--pace-muted);white-space:nowrap}
.pace-tooltip dl{margin:12px 0 0}.pace-tooltip dl>div{display:grid;grid-template-columns:auto minmax(0,1fr);gap:12px;margin-top:6px}.pace-tooltip dt{color:var(--pace-muted)}.pace-tooltip dd{margin:0;text-align:right;font-weight:550}
.pace-tooltip p{margin:12px 0 0;font-size:10px;color:var(--pace-muted)}
.pace-card .pace-detail{padding:0;margin-top:12px}
.pace-empty{margin:0;padding:14px 16px;line-height:1.6}
.pace-selection-head{display:flex;align-items:center;gap:12px;padding:12px 16px}
.pace-disclosure{flex:1;display:flex;align-items:center;justify-content:space-between;gap:12px;text-align:left;border:0;padding:4px 0;background:transparent;color:var(--pace-ink);font-size:13px;font-weight:550}
.pace-disclosure small{display:block;margin-top:4px;font-size:10px;color:var(--pace-muted);font-weight:400}.pace-disclosure-chevron{font-size:18px;font-weight:400}
.pace-clear,.pace-retry{border:1px solid var(--pace-border);border-radius:6px;padding:6px 10px;background:var(--pace-surface);color:var(--pace-muted);font-size:11px;min-height:32px}
.pace-disclosure:hover,.pace-clear:hover,.pace-retry:hover{color:var(--pace-ink)}
.pace-disclosure:focus-visible,.pace-clear:focus-visible,.pace-retry:focus-visible{outline:2px solid var(--pace-accent);outline-offset:3px}
.pace-breakdown{border-top:1px solid var(--pace-border);padding:16px}
.pace-day-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:0 0 16px}.pace-day-stats dt{font-size:11px;color:var(--pace-muted)}.pace-day-stats dd{margin:4px 0 0;font-size:16px;font-weight:550;color:var(--pace-ink);overflow-wrap:anywhere}
.pace-day-categories{list-style:none;padding:0;margin:0}.pace-day-categories li{display:flex;align-items:baseline;justify-content:space-between;gap:16px;padding:8px 0;border-top:1px solid var(--pace-border)}.pace-day-categories li>span{overflow-wrap:anywhere;min-width:0}.pace-day-categories strong{font-size:12px;font-weight:500;white-space:nowrap;color:var(--pace-ink)}
.pace-breakdown-note{margin:0;font-size:12px;line-height:1.6}.pace-retry{margin-top:12px}
@media(pointer:coarse){.pace-tooltip{pointer-events:none}.pace-clear,.pace-disclosure,.pace-retry{min-height:44px}}
@container(max-width:380px){.pace-tooltip{width:224px;padding:10px 12px;font-size:11px}.pace-tooltip dl,.pace-tooltip p{margin-top:8px}.pace-tip-heading{gap:8px}}
@keyframes pace-line-draw{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}
@media(prefers-reduced-motion:reduce){.pace-card .pace-line{animation:none}}
@container(max-width:380px){.pace-card .pace-chart text{font-size:21px}.pace-card .pace-plan text{font-size:19px}}
@media(prefers-color-scheme:dark){.panel.pace-card{--pace-surface:#202225;--pace-ink:#f1f2f4;--pace-muted:#bbc0c8;--pace-border:#393d43;--pace-chip:#29272f;--pace-accent:#c3a4ef;box-shadow:0 6px 24px #0002}}
@media(max-width:760px){.panel.pace-card{padding:24px}.pace-amount{font-size:30px}.pace-header h2{font-size:18px}.pace-header-stats{gap:12px}}
@media(max-width:760px){.grid.two.overview-spending{grid-template-columns:1fr;gap:12px}}


.pace-card .pace-previous-line{fill:none;stroke:var(--pace-muted);stroke-width:1.5;stroke-dasharray:8 5;stroke-linecap:round;vector-effect:non-scaling-stroke;opacity:.8}
.pace-card .pace-previous-label{font-size:12px;paint-order:stroke;stroke:var(--pace-surface);stroke-width:5px;stroke-linejoin:round;fill:var(--pace-muted)}
.pace-card .pace-previous-hit{fill:transparent;stroke:none;pointer-events:all}
.pace-card .pace-previous-point .pace-dot{fill:var(--pace-muted)}
.pace-card .pace-previous-point:focus-visible .pace-previous-hit{stroke:var(--pace-ink);stroke-width:1;stroke-dasharray:2 2}
.pace-comparison-note{font-size:11px;line-height:1.6;color:var(--pace-muted);margin:0 0 12px}
.pace-tip-heading{align-items:flex-start;flex-wrap:wrap;gap:4px 12px}
@container(max-width:380px){.pace-card .pace-previous-label{font-size:18px}}

/* Keep pointer coordinates aligned with the Overview SVG at wide sizes. */
.pace-card .pace-chart{max-height:none}

/* Compact completed-cycle history, inside the cumulative spending card. */
.category-history{container-type:inline-size;margin-top:24px;padding-top:24px;border-top:1px solid var(--pace-border);color:var(--pace-ink)}
.ch-heading{display:flex;justify-content:space-between;gap:12px;align-items:center}.ch-eyebrow{text-transform:uppercase;letter-spacing:.1em;font-size:9px;color:var(--pace-muted);font-weight:600}.ch-heading h3{margin:6px 0 0;font-size:15px;line-height:1.4}.ch-measured{font-size:9px;white-space:nowrap;color:var(--pace-muted)}
.ch-summary{font-size:11px;line-height:1.6;margin:12px 0 8px;color:var(--pace-ink)}.ch-summary span{color:var(--pace-muted)}.ch-scale,.ch-foot{font-size:9px;line-height:1.5;color:var(--pace-muted);margin:8px 0 12px}.ch-foot{margin:12px 0 0}
.ch-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.ch-tile{position:relative;min-width:0;border:1px solid var(--pace-border);border-radius:12px;background:var(--pace-surface)}.ch-tile[hidden],.ch-tooltip[hidden],.ch-cross[hidden]{display:none!important}
.ch-open{display:block;width:100%;padding:12px;border:0;background:transparent;border-radius:12px;text-align:left;color:var(--pace-ink);cursor:pointer;font:inherit;min-width:0}.ch-open:hover{background:var(--pace-chip)}.ch-open:focus-visible{outline:2px solid var(--pace-accent);outline-offset:2px}.ch-top{display:flex;align-items:start;justify-content:space-between;gap:6px;flex-wrap:wrap}.ch-name{font-size:11px;line-height:1.4;font-weight:550;overflow-wrap:anywhere}.ch-name i{display:inline-block;width:5px;height:5px;margin:0 6px 2px 0;border-radius:50%;background:var(--ch-color)}.ch-verdict{font-size:10px;line-height:1.5;border:1px solid var(--pace-border);border-radius:20px;padding:1px 5px;color:var(--pace-muted)}.ch-warn{color:#805a16;background:#fff1ce;border-color:#e5d1a1}
.ch-stats{display:flex;align-items:center;justify-content:space-between;gap:6px;margin:12px 0 0}.ch-stats>span:first-child{min-width:0}.ch-amount{display:block;font-size:18px;font-weight:550;letter-spacing:-.4px;overflow-wrap:anywhere}.ch-amount small{font-size:9px;color:var(--pace-muted);font-weight:400;letter-spacing:0}.ch-change{display:block;font-size:10px;color:var(--pace-muted);margin-top:4px;line-height:1.5}
.ch-symbol{display:grid;place-items:center;position:relative;isolation:isolate;flex:0 0 38px;width:38px;height:42px;color:var(--ch-color)}.ch-symbol:before{content:"";position:absolute;inset:0;border-radius:14px 16px 14px 16px;background:color-mix(in srgb,var(--ch-color) 14%,var(--pace-surface));transform:rotate(-6deg)}.ch-symbol svg{position:relative;width:27px;height:27px;display:block}.ch-symbol path{fill:none;stroke:currentColor;stroke-width:3.8;stroke-linecap:round;stroke-linejoin:round}
.ch-chart{display:block;width:100%;height:64px;margin-top:8px;overflow:visible;touch-action:pan-y}.ch-line,.ch-streak{fill:none;stroke:var(--ch-color);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.ch-line{stroke-dasharray:1;animation:ch-draw .6s ease-out both;animation-delay:var(--ch-delay)}.ch-streak{stroke-width:3}.ch-average{fill:none;stroke:var(--pace-muted);stroke-width:.7;stroke-dasharray:3 4;opacity:.6}.ch-point{fill:var(--ch-color);opacity:0}.ch-end,.ch-active{opacity:1}.ch-cross{stroke:var(--pace-muted);stroke-width:.7;stroke-dasharray:2 3}.ch-period{display:block;color:var(--pace-muted);font-size:9px;line-height:1.4}.ch-tooltip{position:absolute;z-index:5;left:0;right:0;top:100%;padding:10px;border:1px solid var(--pace-border);border-radius:8px;background:var(--pace-surface);box-shadow:0 4px 16px #0002;color:var(--pace-ink);font-size:10px;line-height:1.6;pointer-events:none}.ch-more{margin-top:12px;font-size:11px;color:var(--pace-ink);border:1px solid var(--pace-border);background:var(--pace-surface);border-radius:8px;padding:6px 10px}
@keyframes ch-draw{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}@media(prefers-reduced-motion:reduce){.ch-line{animation:none}}
@container(max-width:380px){.ch-grid{grid-template-columns:1fr}.ch-open{padding:14px}.ch-amount{font-size:21px}.ch-change,.ch-period{font-size:10px}.ch-symbol{width:46px;height:50px;flex-basis:46px}.ch-heading h3{font-size:14px}}
@media(prefers-color-scheme:dark){.ch-warn{color:#efd095;background:#3c3222;border-color:#695637}}

@media(max-width:760px){.ch-grid{grid-template-columns:1fr}.ch-amount{font-size:21px}.ch-period{font-size:10px}.ch-symbol{flex-basis:46px;width:46px;height:50px}}

/* Independent Emergency spending and the full-cycle plan. */
.cp-allocation-emergency{--cp-segment:#a77943}
.cp-category.cp-emergency{--cp-fill:#a77943;--cp-track:#eee2d1;--cp-tint:#faf6ef;--cp-hatch:#a7794355}
.cp-cards-three{grid-template-columns:repeat(3,minmax(0,1fr))}
.cp-cards-three .cp-category{padding:22px}
.cp-cards-three .cp-spent{font-size:28px}
@media(prefers-color-scheme:dark){.cp-allocation-emergency{--cp-segment:#d5ad76}.cp-category.cp-emergency{--cp-fill:#d5ad76;--cp-track:#51412c;--cp-tint:#352d22;--cp-hatch:#d5ad7688}}
@media(max-width:1200px){.cp-cards-three{grid-template-columns:1fr}.cp-cards-three .cp-category{padding:24px}}
@media(max-width:760px){.cp-cards-three .cp-category{padding:20px}}

/* Share desktop section heights so wrapping cannot shift one consumption bar. */
@media(min-width:1201px){
 .cp-cards-three{grid-template-rows:repeat(7,auto);row-gap:0}
 .cp-cards-three .cp-category{container-type:normal;display:grid;grid-row:span 7;grid-template-rows:subgrid;row-gap:0}
 .cp-cards-three .cp-category-heading{grid-row:1;align-content:start}
 .cp-cards-three .cp-category-hero{grid-row:2}
 .cp-cards-three .cp-budget-chart{grid-row:3}
 .cp-cards-three .cp-limit-note{grid-row:4}
 .cp-cards-three .cp-stats{grid-row:5;margin-top:0}
 .cp-cards-three .cp-stat{padding-right:8px;padding-left:8px}
 .cp-cards-three .cp-stat:first-child{padding-left:0}
 .cp-cards-three .cp-stat dd{font-size:16px}
 .cp-cards-three .cp-stat-remaining dd{font-size:18px}
 .cp-cards-three .cp-stats-note{grid-row:6}
 .cp-cards-three .cp-allocation-details{grid-row:7;align-self:start}
 .cp-cards-three .cp-category:hover{transform:none}
}

/* Compact allocation lists: remaining first, attention before routine categories. */
.cp-allocation-section{min-width:0;align-self:start;--allocation-warn:#d99a00;--allocation-warn-ink:#715000;--allocation-warn-bg:#fff7cc;--allocation-over:#a23e32;--allocation-over-bg:#fff2ef}
.cp-allocation-section .cp-allocation-details{margin-top:8px}
.cp-allocation-context{margin:12px 0;font-size:11px;line-height:1.5;color:var(--cp-header-muted)}
.cp-allocation-list{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.cp-allocation-entry{min-width:0;padding:12px;border:1px solid var(--cp-header-line);border-radius:10px;background:var(--cp-header-bg);color:var(--cp-header-ink)}
.cp-allocation-entry[hidden]{display:none}
.cp-allocation-entry.cp-entry-near{border-left:3px solid var(--allocation-warn);background:var(--allocation-warn-bg)}
.cp-allocation-entry.cp-entry-over{border-left:3px solid var(--allocation-over);background:var(--allocation-over-bg)}
.cp-entry-heading{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:8px;align-items:start}
.cp-category .cp-allocation-entry .button-link{display:inline;text-align:left;padding:0;max-width:100%;white-space:normal;overflow-wrap:anywhere;font-size:12px;font-weight:600;line-height:1.4;color:var(--cp-header-ink);text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px}
.cp-allocation-section button:focus-visible{outline:2px solid var(--cp-header-ink);outline-offset:3px}
.cp-entry-status{display:block;margin-top:5px;font-size:10px;line-height:1.4;color:var(--cp-header-muted)}
.cp-entry-near .cp-entry-status{color:var(--allocation-warn-ink)}
.cp-entry-over .cp-entry-status,.cp-entry-over .cp-entry-remaining{color:var(--allocation-over)}
.cp-entry-remaining{text-align:right;min-width:0}
.cp-entry-remaining>span{display:block;font-size:9px;line-height:1.4;margin-bottom:4px}
.cp-entry-remaining>strong{display:block;font-size:20px;line-height:1.15;font-weight:650;letter-spacing:-.5px;overflow-wrap:anywhere}
.cp-entry-remaining .cp-currency{font-size:9px;letter-spacing:0}
.cp-entry-remaining .cp-money-decimal{font-size:.72em}
.cp-entry-meter{position:relative;height:3px;border-radius:3px;background:var(--cp-header-line);margin:10px 0 8px}
.cp-entry-meter>span{display:block;height:100%;background:var(--cp-header-muted);border-radius:3px}
.cp-entry-near .cp-entry-meter>span{background:var(--allocation-warn)}
.cp-entry-over .cp-entry-meter>span{background:var(--allocation-over)}
.cp-entry-meter>i{position:absolute;left:75%;top:-2px;height:7px;width:1px;background:var(--cp-header-muted)}
.cp-entry-unset .cp-entry-meter{visibility:hidden}
.cp-entry-context{display:flex;flex-wrap:wrap;gap:3px 10px;font-size:9px;line-height:1.5;color:var(--cp-header-muted)}
.cp-entry-context strong{font-weight:500}
.cp-allocation-alert{width:100%;display:flex;align-items:flex-start;gap:8px;padding:10px;text-align:left;background:var(--allocation-warn-bg);border:1px solid var(--allocation-warn);border-radius:9px;color:var(--allocation-warn-ink);line-height:1.45}
.cp-allocation-alert.cp-alert-over{color:var(--allocation-over);border-color:var(--allocation-over);background:var(--allocation-over-bg)}
.cp-allocation-alert>span:nth-child(2){flex:1;min-width:0}
.cp-allocation-alert strong{display:block;font-size:12px;font-weight:600}
.cp-allocation-alert strong+span,.cp-alert-names{display:block;font-size:10px;margin-top:3px;overflow-wrap:anywhere}
.cp-alert-icon{border:1px solid currentColor;border-radius:50%;width:17px;height:17px;flex-shrink:0;text-align:center;font-size:11px;font-weight:700}
.cp-allocation-clear{font-size:11px;line-height:1.5;color:var(--cp-header-muted);margin:0 0 10px}
.cp-allocation-more{width:100%;margin-top:10px;padding:9px;border:1px solid var(--cp-header-line);border-radius:7px;color:var(--cp-header-ink);background:transparent;font-size:11px;text-decoration:underline;text-underline-offset:3px}
@media(min-width:1201px){.cp-cards-three .cp-allocation-section{grid-row:7}}
@media(prefers-color-scheme:dark){.cp-allocation-section{--allocation-warn:#ffd042;--allocation-warn-ink:#ffe597;--allocation-warn-bg:#343019;--allocation-over:#ffb4a7;--allocation-over-bg:#392826}}

/* Record: reserves funded by manual distribution of salary-cycle leftover. */
.rec-hero,.rec-grid,.rec-card{--rec-ink:#202c29;--rec-muted:#6f7772;--rec-line:#e4e1ea;--rec-soft:#f6f4f9;--rec-track:#efedf3;--rec-accent:#6855b8}
.rec-card{border-radius:14px}.rec-title{font-size:21px;font-weight:600;letter-spacing:-.5px;margin:8px 0 6px}
.rec-amt{white-space:nowrap;font-weight:600}.rec-cur{font-size:.62em;font-weight:500;color:var(--rec-muted,#6f7772);letter-spacing:.3px}.rec-dec{color:var(--rec-muted,#6f7772);font-weight:500}.rec-amt.negative{color:var(--danger)}
.rec-lg{font-size:21px;letter-spacing:-.6px}.rec-md{font-size:15px}
.rec-hero{display:grid;grid-template-columns:minmax(0,1.1fr) auto minmax(300px,1.3fr);gap:28px;align-items:center;padding:28px;border-radius:16px;background:radial-gradient(circle at 12% 0%,#fff 0,#f1edf9 55%,#ebe6f5 100%);border:1px solid #e3dcf0;margin-bottom:18px}
.rec-big{display:block;font-size:44px;letter-spacing:-1.8px;margin:6px 0 4px}p.rec-big{font-weight:600;font-size:30px;letter-spacing:-.8px}
.rec-over{font-size:12px;color:var(--danger);margin:4px 0}
.rec-cycles{display:flex;flex-wrap:wrap;gap:6px;margin-top:14px}.rec-pill{border-radius:99px;font-size:11px;padding:6px 11px;background:#ffffffa8;border-color:#e0d8ee}.rec-pill.on{background:var(--rec-accent);border-color:var(--rec-accent);color:#fff}
.rec-ring{width:150px;height:150px;display:block}.rec-ring circle{transition:stroke-dasharray .35s}.rec-ring-big{font:600 24px Inter,system-ui,sans-serif;fill:var(--rec-ink)}.rec-ring-small{font:11px Inter,system-ui,sans-serif;fill:var(--rec-muted)}
.rec-line{background:#ffffffc4;border-radius:12px;padding:14px 16px;min-width:0}.rec-line svg{width:100%;height:auto;display:block;overflow:visible}.rec-line p{margin:4px 0 0;font-size:11px}.rec-line-head{display:flex;justify-content:space-between;align-items:baseline;gap:10px}
.rec-axis{stroke:#ebe9ef;stroke-dasharray:3 5}.rec-pt{cursor:pointer}.rec-pt circle{fill:#fff;stroke:var(--rec-accent);stroke-width:2}.rec-pt.on circle{fill:var(--rec-accent)}.rec-pt-val{font:600 11px Inter,system-ui,sans-serif;fill:var(--rec-ink)}.rec-pt-lab{font:10px Inter,system-ui,sans-serif;fill:var(--rec-muted)}.rec-pt.on .rec-pt-lab{fill:var(--rec-accent);font-weight:600}
.rec-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.rec-tile{background:#fff;border:1px solid var(--rec-line);border-radius:14px;padding:16px;display:grid;gap:12px;align-content:start;transition:box-shadow .25s,transform .25s;position:relative;overflow:hidden}
.rec-tile::before{content:"";position:absolute;inset:0 0 auto;height:3px;background:var(--rec-c)}.rec-tile:hover,.rec-tile.open{box-shadow:0 10px 30px #2a1f4a17;transform:translateY(-2px)}
.rec-tile-top{display:flex;gap:14px;align-items:center}.rec-tile-body{min-width:0;flex:1}.rec-tile h3{font-size:13px;margin:0 0 6px}
.rec-tile-vals{display:grid;gap:8px}.rec-tile-vals>div{display:grid;gap:1px}.rec-tile-vals>div>span:first-child{font-size:10px;color:var(--rec-muted);text-transform:uppercase;letter-spacing:.8px}.rec-tile-vals small{font-size:10px;color:var(--rec-muted)}
.rec-jar{width:60px;height:88px;flex-shrink:0}.rec-jar path{transition:d .5s}
.rec-tile-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:5px}.rec-tile-actions button{padding:6px 4px;font-size:11px}
.rec-tile-form{display:grid;gap:6px}.rec-tile-form input{padding:7px 9px}
.rec-history{list-style:none;margin:0 0 12px;padding:0}.rec-history li{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;gap:12px;align-items:center;padding:10px 0;border-bottom:1px solid #f0eef3;font-size:12px}.rec-history li:last-child{border:0}
.rec-history i{width:9px;height:9px;border-radius:3px;display:inline-block}.rec-history li div{display:grid;gap:3px}.rec-history li span{color:var(--muted);font-size:11px}
@media(max-width:1250px){.rec-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.rec-hero{grid-template-columns:minmax(0,1fr) auto}.rec-line{grid-column:1/-1}}
@media(max-width:760px){.rec-hero{grid-template-columns:1fr;padding:20px;gap:16px}.rec-hero-ring{justify-self:center}.rec-big{font-size:36px}.rec-grid{grid-template-columns:1fr}.rec-history li{grid-template-columns:auto minmax(0,1fr) auto}.rec-history li button{grid-column:2/-1;justify-self:start}}
@media(prefers-reduced-motion:reduce){.rec-tile,.rec-ring circle,.rec-jar path{transition:none}}
@media print{.rec-tile-actions,.rec-tile-form,[data-reserve-edit],#reserve-all{display:none!important}}
