:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#172e3d;background:#edf1f4;font-synthesis:none;--navy:#132b3a;--orange:#ffaf66;--muted:#627380;--line:#e4eaee;--green:#157354}*{box-sizing:border-box}body{margin:0}button,a,input{ -webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible{outline:3px solid #d86c1a;outline-offset:4px}.shell{max-width:540px;min-height:100dvh;margin:auto;background:#f8fafb;padding-bottom:calc(94px + env(safe-area-inset-bottom))}header{display:flex;align-items:center;justify-content:space-between;padding:24px 24px 20px;background:var(--navy);color:white}.brand{display:flex;align-items:center;gap:12px;font-size:14px;letter-spacing:2px;font-weight:750}.brand small{display:block;font-size:10px;letter-spacing:4px;margin-top:5px;color:#b8c9d3}.mark{font-size:26px;letter-spacing:-2px;color:var(--orange)}.mark span{color:white;margin-left:2px}.prototype{font-size:11px;letter-spacing:1px;border:1px solid #557080;padding:6px 8px;border-radius:5px}.company{display:flex;align-items:center;gap:12px;padding:21px 24px;background:white}.company-logo{display:grid;place-items:center;background:#eaf0f4;width:44px;height:44px;border-radius:12px;font-size:21px;font-weight:700}.company strong{display:block;font-size:18px}small{display:block;font-size:13px;color:var(--muted);line-height:1.5}.company small{font-size:13px}.icon-button{margin-left:auto;min-width:44px;min-height:44px;border:1px solid var(--line);border-radius:50%;background:white;font-size:27px;color:var(--navy)}.demo{font-size:12px;text-align:center;background:#fff0df;color:#7c471c;padding:9px 12px}main{padding:26px 22px}h1{font-size:28px;letter-spacing:-.8px;margin:0 0 7px;font-weight:750}h2{font-size:19px;margin:0}p{line-height:1.6} .sub{font-size:14px;color:var(--muted);margin:0 0 22px}.hero{background:var(--navy);color:white;border-radius:22px;padding:24px;margin-bottom:20px;position:relative;overflow:hidden}.hero small{color:#bdd0dc}.hero .eyebrow{font-size:14px}.amount{font-size:39px;font-weight:700;letter-spacing:-1.5px;margin:12px 0}.amount .currency{font-size:22px;font-weight:400;letter-spacing:0}.hero .amount{color:var(--orange)}.chip{font-size:12px;display:inline-flex;padding:6px 9px;border-radius:6px;background:#ffffff15;color:#e0e9ee}.hero-bottom{margin-top:22px;padding-top:17px;border-top:1px solid #38505e;display:flex;justify-content:space-between;align-items:center;font-size:14px}.arrow{font-size:22px}.cards{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 0 24px}.card{padding:19px 16px;background:white;border:1px solid var(--line);border-radius:17px;display:block}.card .value{display:block;font-size:24px;letter-spacing:-.6px;font-weight:700;margin:13px 0 7px}.card .label{font-size:14px;color:#415968}.card small{font-size:12px}.overdue{color:#ac4a27!important}.section-title{display:flex;align-items:center;justify-content:space-between;margin:26px 0 12px}.section-title a{font-size:14px;color:#45667c}.panel{background:white;border:1px solid var(--line);border-radius:18px;overflow:hidden}.row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:19px 17px;border-bottom:1px solid var(--line);min-height:78px}.row:last-child{border:0}.row strong{display:block;font-size:15px}.right{text-align:right;flex-shrink:0}.right strong{font-size:17px}.note{font-size:13px;line-height:1.6;color:var(--muted);margin:16px 0 0}.section-kicker{font-size:12px;letter-spacing:1px;color:var(--muted);font-weight:650;margin:26px 0 12px}.total{font-size:35px;font-weight:750;letter-spacing:-1px;margin:12px 0 8px}.summary{padding:20px;background:#eaf1f5;border-radius:18px;margin-bottom:20px}.summary .split{display:flex;justify-content:space-between;gap:12px;border-top:1px solid #cedce5;margin-top:18px;padding-top:16px;font-size:14px}.summary .split strong{display:block;margin-top:5px}.tabs{display:flex;gap:8px;margin:18px 0;flex-wrap:wrap}.tabs button{background:white;border:1px solid var(--line);padding:11px 15px;border-radius:24px;font-size:14px}.tabs button.active{background:var(--navy);color:white;border-color:var(--navy)}.partner{display:flex;align-items:center;gap:12px;min-width:0}.avatar{display:grid;place-items:center;border-radius:12px;background:#edf2f5;width:39px;height:39px;font-size:13px;font-weight:700;flex-shrink:0}.back{display:inline-block;font-size:14px;color:#526c7d;margin-bottom:20px;padding:5px 0}.invoice{padding:18px;border-bottom:1px solid var(--line)}.invoice:last-child{border:0}.invoice-head{display:flex;justify-content:space-between;gap:12px;font-weight:650;font-size:15px;margin-bottom:9px}.invoice-meta{display:flex;justify-content:space-between;font-size:13px;color:var(--muted)}.badge{font-size:12px;color:#975122;background:#fff0df;padding:5px 8px;border-radius:6px;margin-top:10px;display:inline-block}.info{border-left:3px solid #e99c55;padding:2px 0 2px 14px;color:#5e6b74;font-size:14px;line-height:1.6;margin:21px 0}.bar-chart{height:150px;display:flex;align-items:flex-end;gap:12px;padding:14px 0 0}.bar-column{flex:1;height:100%;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:8px}.bar{width:100%;max-width:28px;background:#b7cbd7;border-radius:5px 5px 0 0;min-height:3px}.bar-column:last-child .bar{background:#e99c55}.bar-column span{font-size:11px;color:var(--muted)}.chart-wrap{padding:20px}.legend{font-size:13px;color:var(--muted);margin-top:5px}.setting{padding:18px;border-bottom:1px solid var(--line)}.setting:last-child{border:0}.setting strong{font-size:15px;display:block;margin-bottom:5px}.setting p{font-size:14px;color:var(--muted);margin:0}nav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:min(100%,540px);display:flex;background:#fffffff5;backdrop-filter:blur(16px);border-top:1px solid var(--line);padding:10px 8px calc(10px + env(safe-area-inset-bottom));z-index:10}nav a{flex:1;text-align:center;color:#718390;font-size:11px;min-height:48px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px}nav a.active{color:var(--navy);font-weight:700}nav a.active svg{background:#ffead5;border-radius:7px}nav svg{width:28px;height:28px;padding:3px;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}#toast{position:fixed;bottom:110px;left:50%;transform:translateX(-50%);width:calc(100% - 40px);max-width:460px;background:#132b3a;color:white;padding:15px 19px;border-radius:12px;box-shadow:0 8px 28px #0002;font-size:14px;line-height:1.5;display:none;z-index:20}.empty{padding:25px;color:var(--muted);font-size:14px}@media(min-width:700px){body{padding:24px 0}.shell{border-radius:24px;box-shadow:0 20px 70px #10283918;overflow:hidden}nav{border-radius:18px 18px 0 0}}@media(max-width:360px){main{padding:22px 16px}.card{padding:15px 12px}.card .value{font-size:21px}.row{padding:17px 12px}.avatar{display:none}}@media(prefers-reduced-motion:no-preference){main{animation:appear .2s ease}@keyframes appear{from{opacity:.5;transform:translateY(4px)}to{opacity:1;transform:none}}}
/* Reference design: warm white, orange waves and soft cards. */
:root{color:#0b1633;background:#eee9e2;--navy:#101b38;--muted:#73809b;--line:#f0ede8;--green:#00a054}body{background:#eee9e2}.shell{max-width:480px;background:linear-gradient(110deg,#fffefa,#faf6ef);padding-bottom:calc(90px + env(safe-area-inset-bottom))}header{display:block;position:relative;background:linear-gradient(125deg,#fffefd,#fff8ec);color:#08132f;padding:24px 22px 78px;overflow:hidden}.header-top{display:flex;align-items:center;justify-content:space-between;position:relative;z-index:1}.brand{gap:6px;font-size:31px;line-height:.98;letter-spacing:-1.1px;font-weight:800}.brand small{font-size:27px;line-height:1.05;color:#ff510c;letter-spacing:-.8px;margin-top:4px;font-weight:750}.fox{display:block;width:67px;height:78px;flex-shrink:0;background-image:url('brand-reference.png');background-repeat:no-repeat;background-size:630.47px 1120.24px;background-position:-140px -151px;mix-blend-mode:multiply}.company{position:relative;z-index:1;padding:8px 0 0;display:flex;gap:8px;background:none;font-size:13px;color:#73809b;flex-wrap:wrap}.company strong{font-size:13px;color:#3c4c68}.company span:before{content:'· ';}.icon-button{background:#fffc;width:42px;height:42px;min-width:42px;min-height:42px;font-size:26px;color:#34435e;border-color:#e7dfd4}.waves{position:absolute;bottom:0;left:0;width:100%;height:85px}.demo{font-size:10px;letter-spacing:1.2px;color:#8a7154;background:#fff8ed;padding:7px}main{padding:16px 16px 22px}h1{font-size:27px;letter-spacing:-.6px}h2{font-size:20px;letter-spacing:-.5px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.profit-card,.metric-card,.wide-card,.mini-card,.bucket,.partner-card,.invoice-card,.detail-summary,.chart-card,.all-months{border:1px solid #fff;background:linear-gradient(120deg,#fff,#fefefe);box-shadow:0 5px 13px #62411909;border-radius:18px}.bubble{display:inline-grid;place-items:center;width:51px;height:51px;border-radius:50%;flex-shrink:0;background:#eaf3ff;color:#1688ff}.bubble svg{width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.bubble.green{color:#00a052;background:#e1f6e6}.bubble.red{color:#ff3036;background:#ffe8e8}.bubble.orange{color:#ff6a00;background:#fff0df}.bubble.amber{color:#ee9200;background:#fff1d5}.bubble.slate{color:#4b6089;background:#eef1f8}.bubble.purple{color:#8062cc;background:#f1ecff}.profit-card{display:flex;align-items:flex-start;gap:16px;padding:22px 17px;position:relative;margin-bottom:12px}.profit-card .bubble{width:63px;height:63px}.profit-card .bubble svg{width:34px;height:34px}.metric-label{font-size:15px;font-weight:550;display:block;line-height:1.4}.profit-value{display:block;font-size:38px;letter-spacing:-1.3px;margin:5px 0 8px;line-height:1.2}.provisional{font-size:13px;color:#9b672a}.chevron{font-size:26px;color:#7b869e;font-weight:300;line-height:1}.profit-card>.chevron{position:absolute;right:15px;top:33px}.metric-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:12px 0}.metric-card{position:relative;padding:15px 16px;min-width:0}.metric-card>.bubble{margin-bottom:11px}.metric-card>.chevron{position:absolute;right:14px;top:22px}.metric-card>strong{display:block;font-size:25px;letter-spacing:-.7px;margin-top:6px;white-space:nowrap}.metric-card>small{font-size:13px;margin-top:9px;color:#647393;line-height:1.3}.red-text{color:#f22b1c!important}.green-text{color:#009954!important}.wide-card{display:flex;align-items:center;gap:17px;padding:17px;margin:12px 0}.wide-card strong{display:block;font-size:29px;letter-spacing:-.7px;margin-top:4px}.wide-card>.chevron{margin-left:auto}.note{font-size:12px;color:#7c8494;line-height:1.55}.page-title{display:flex;gap:14px;align-items:center;margin:6px 0 20px}.page-title>a{display:grid;place-items:center;background:white;border-radius:50%;width:38px;height:38px;flex-shrink:0;font-size:32px;box-shadow:0 3px 10px #62411909;padding-bottom:4px}.page-title h1{margin:0;font-size:27px}.page-title .sub{margin:5px 0 0}.mini-card{display:flex;gap:10px;align-items:center;text-align:left;padding:14px 11px;color:inherit;font:inherit}.mini-card .bubble{width:43px;height:43px}.mini-card .bubble svg{width:26px;height:26px}.mini-card span:not(.bubble){font-size:13px;color:#65738f}.mini-card strong{display:block;font-size:22px;white-space:nowrap;letter-spacing:-.5px;margin-top:5px}.buckets{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;margin:14px 0 26px}.bucket{padding:12px 8px;text-align:left;color:inherit;min-width:0;border:1px solid #fff;cursor:pointer}.bucket>span{display:block;font-size:11px;white-space:nowrap;color:#5b6984}.bucket>strong{font-size:17px;white-space:nowrap;letter-spacing:-.5px;display:block}.dot{width:16px;height:16px;display:block;border-radius:50%;margin:8px 0;background:#95dfb5}.dot.amber{background:#ffdc93}.dot.orange{background:#ffbf8b}.dot.red{background:#ffa3a7}.dot.blue{background:#9fcaff}.dot.slate{background:#aebad1}.bucket.selected{border-color:#ff983a;background:#fff6e9}.section-title{margin:25px 2px 13px}.text-button{border:0;background:none;color:#2386ec;padding:8px 0;font-size:13px}.partner-list{display:grid;gap:10px}.partner-card{display:flex;align-items:center;gap:11px;padding:14px 12px}.partner-card .bubble{width:43px;height:43px}.partner-name{flex:1;min-width:0}.partner-name>span{display:block;font-size:14px}.partner-name strong{font-size:22px;display:block;margin-top:4px;letter-spacing:-.5px}.partner-status{font-size:12px;max-width:86px;line-height:1.5}.partner-card .chevron{font-size:23px}.detail-summary{display:grid;grid-template-columns:1.15fr 1fr .8fr;padding:18px 9px;margin:20px 0}.detail-summary>div{display:flex;align-items:center;flex-direction:column;gap:8px;border-right:1px solid #f0f1f5;padding:0 4px;text-align:center}.detail-summary>div:last-child{border:0}.detail-summary>div>span:not(.bubble){font-size:12px;min-height:30px}.detail-summary strong{font-size:22px;white-space:nowrap;letter-spacing:-.7px}.invoice-card{display:flex;align-items:center;gap:10px;padding:14px 12px}.invoice-card .bubble{width:40px;height:40px}.invoice-card>div>span{font-size:12px}.invoice-card strong{display:block;font-size:23px;margin-top:4px}.invoice-date{margin-left:auto;color:#7280a0;font-size:12px;line-height:1.6}.actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:19px}.actions button{display:flex;align-items:center;justify-content:center;gap:7px;border:0;background:#fff0df;border-radius:14px;color:#ff5709;padding:13px 8px;font-size:13px;font-weight:600;min-height:55px}.actions button+button{background:#e2edff;color:#167bff}.actions .bubble{background:none;width:24px;height:24px}.actions svg{width:22px;height:22px}.page-heading{font-size:23px;margin:4px 0}.sub{font-size:13px;color:#7c89a0;margin-bottom:17px}.three{grid-template-columns:1fr 1fr 1fr;gap:9px}.three .metric-card{padding:14px 10px}.three .metric-card>strong{font-size:20px}.three .metric-card>span:not(.bubble){display:block;font-size:14px}.three .bubble{width:44px;height:44px}.chart-card{padding:20px 16px;margin-top:14px}.chart-card h2{font-size:18px}.reference-chart{display:flex;gap:18px;align-items:flex-end;margin-top:23px}.reference-chart>div{flex:1;display:flex;flex-direction:column;align-items:center;gap:8px}.reference-chart strong{font-size:16px;white-space:nowrap;letter-spacing:-.3px}.reference-chart i{display:block;width:100%;background:linear-gradient(110deg,#b6ecca,#68ce99);border-radius:8px 8px 0 0}.reference-chart>div:last-child i{background:linear-gradient(110deg,#7ad8a9,#4dc58a)}.reference-chart span{font-size:13px;color:#425578}.info{font-size:13px}.all-months{padding:15px;font-size:14px}.all-months summary{cursor:pointer}.all-months .row{min-height:50px;padding:13px 0}.panel{border:0;box-shadow:0 5px 13px #62411909}.row strong{color:#152342}nav{max-width:480px;border-color:#f0ede8;background:#fffc;padding-top:10px}nav a{font-size:11px;color:#77839e}nav a.active{color:#ff540c}nav a.active svg{background:none}nav svg{width:29px;height:29px;stroke-width:2}#toast{background:#152342}main:focus{outline:none}@media(min-width:700px){.shell{border-radius:26px;box-shadow:0 15px 65px #4c371b20}}@media(max-width:374px){header{padding:20px 17px 65px}.brand{font-size:27px}.brand small{font-size:24px}.fox{width:62px}.profit-value{font-size:33px}.metric-card{padding:13px}.metric-card>strong{font-size:23px}.three .metric-card>strong{font-size:17px}.mini-card{gap:6px;padding:12px 8px}.mini-card strong{font-size:19px}.mini-card .bubble{width:34px;height:34px}.bucket>strong{font-size:15px}.bucket>span{font-size:10px}.partner-status{max-width:68px;font-size:11px}}@media(min-width:375px){.metric-card>strong{font-size:27px}.three .metric-card>strong{font-size:21px}}@media(prefers-reduced-motion:reduce){main{animation:none}}
