*{box-sizing:border-box}html{color-scheme:light}body{margin:0;background:#f7f9f7;color:#203d2b;font:14px/1.5 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}a{color:inherit}h1,h2,p{margin-top:0}h1{font-size:clamp(25px,4vw,36px);letter-spacing:-.055em;line-height:1.08;margin-bottom:8px;font-weight:820}h2{font-size:18px;letter-spacing:-.035em;line-height:1.2;margin-bottom:5px}.top{background:#fff;border-bottom:1px solid #e0e8e0}.top-inner{max-width:1250px;margin:auto;padding:9px 24px;display:flex;justify-content:space-between;align-items:center;gap:16px;height:70px}.brand img{display:block;width:114px;height:53px;object-fit:contain}.top-right{display:flex;align-items:center;gap:14px}.private,.kicker{letter-spacing:.1em;font-size:10px;font-weight:800;color:#5b7761}.top-link{background:none;border:0;color:#315941;text-decoration:none;font-size:12px;font-weight:700}.shell{width:min(100% - 36px,1180px);margin:32px auto 80px}.page-head{display:flex;justify-content:space-between;align-items:end;gap:16px;margin-bottom:24px;flex-wrap:wrap}.subtitle,.muted{color:#708074}.subtitle{font-size:14px;margin:5px 0 0}.head-tools{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.updated{color:#738475;font-size:11px}.primary,.soft{border-radius:9px;min-height:39px;padding:9px 13px;font-size:12px;font-weight:760;text-decoration:none;border:1px solid #d2e0d5;white-space:nowrap}.primary{background:#265a3d;color:white;border-color:#265a3d}.soft{background:#fff;color:#2d6244}.primary:focus-visible,.soft:focus-visible,.tabs button:focus-visible,.stream-row:focus-visible{outline:2px solid #268052;outline-offset:2px}.tabs{display:flex;gap:6px;border-bottom:1px solid #d9e3da;margin-bottom:22px;overflow:auto;scrollbar-width:none}.tabs button{border:0;border-bottom:2px solid transparent;padding:12px 15px;font-weight:730;font-size:13px;background:none;color:#657769;white-space:nowrap}.tabs button.active{border-bottom-color:#286e47;color:#1f5235}.section-label,.section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.section-label{font-size:11px;font-weight:800;letter-spacing:.09em;color:#6c816f;margin-bottom:11px}.section-head{margin-bottom:16px}.section-head h2{margin:0}.wrap{align-items:start}.kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px;margin-bottom:17px}.kpi{background:#fff;border:1px solid #dbe6dd;border-radius:13px;padding:17px;display:grid;gap:6px;min-width:0}.kpi>span{font-size:12px;color:#607265}.kpi strong{font-size:clamp(23px,2.4vw,32px);line-height:1.15;letter-spacing:-.045em;font-weight:800;font-variant-numeric:tabular-nums}.kpi small{font-size:10px;color:#7f8d80;line-height:1.4}.hero-kpi{background:#e9f4ec;border-color:#c8dfcf}.split{display:grid;grid-template-columns:minmax(0,1.62fr) minmax(0,1fr);gap:16px;align-items:start}.surface{min-width:0;border-radius:13px;border:1px solid #dce7de;background:#fff;padding:19px;margin-bottom:16px}.side-stack .surface{margin-bottom:15px}.tiny,.fine,.helper{font-size:11px;color:#819184}.fine{line-height:1.55;margin:13px 0 0}.stream-list{display:grid;gap:5px}.stream-row{background:none;border:0;border-bottom:1px solid #edf2ee;width:100%;display:flex;align-items:center;gap:12px;padding:12px 3px;text-align:left;min-width:0}.stream-row:last-child{border:0}.stream-icon{width:35px;height:35px;display:grid;place-items:center;background:#edf4ef;border-radius:9px;font-size:17px;flex:none}.stream-body{min-width:0;flex:1}.stream-body strong{display:block;font-size:13px}.stream-body small{font-size:11px;color:#7b8a80}.stream-right{text-align:right}.stream-right strong{font-size:15px;font-variant-numeric:tabular-nums}.stream-right span{display:block;color:#839183;font-size:10px}.pair{display:flex;justify-content:space-between;align-items:center;gap:10px;border-top:1px solid #eef1ed;padding:9px 0;font-size:12px}.pair span{color:#758477}.pair strong{font-variant-numeric:tabular-nums}.summary-panel h2{font-size:31px;letter-spacing:-.055em;margin:7px 0}.summary-panel h2 small{font-size:13px;font-weight:550;color:#6f8273}.summary-panel .muted{font-size:12px}.big{font-size:26px;letter-spacing:-.045em;font-weight:800;display:block}.target-pct{font-weight:800;color:#286343}.progress{height:9px;border-radius:20px;background:#eaf0e9;overflow:hidden;margin:12px 0}.progress>div{background:#3a885a;height:100%;width:0;transition:width .25s;border-radius:20px}.recent{margin-top:1px}.entries,.backup-list{display:grid;gap:8px}.entry-row{border:1px solid #e1eae3;border-radius:10px;padding:12px;display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0}.entry-row>div:first-child{min-width:0;flex:1}.entry-row strong{display:block;font-size:13px;overflow-wrap:anywhere}.entry-row small{display:block;color:#78877b;font-size:11px}.entry-right{display:flex;align-items:center;gap:9px;flex:none}.entry-right strong{font-size:14px;font-variant-numeric:tabular-nums}.status{display:inline-block;padding:4px 7px;border-radius:6px;background:#eef2ef;color:#53675b;font-size:10px;font-weight:760}.status.paid{background:#e2f3e6;color:#21663c}.status.quoted,.status.won{background:#e7f0fc;color:#37668a}.status.completed,.status.invoiced{background:#fff1d6;color:#936522}.filter-bar{display:flex;flex-wrap:wrap;align-items:end;gap:10px;margin:16px 0}.filter-bar label{display:grid;gap:4px;font-size:11px;color:#687b6e;font-weight:750}.filter-bar select,.filter-bar input{min-height:41px;border:1px solid #d4e0d7;border-radius:8px;background:#fff;padding:8px 10px;color:#27432f;max-width:100%}.export-actions{margin:20px 0}.goal-summary strong{font-size:30px;font-variant-numeric:tabular-nums;display:block}.goal-summary span{color:#7c8c7c;font-size:12px}.settings-form,.field-stack{display:grid;gap:12px}.settings-form label,.entry-form label,.field-stack label{display:grid;gap:5px;font-size:12px;font-weight:730;color:#536b58}.settings-form input,.entry-form input,.entry-form select,.entry-form textarea,.field-stack input{width:100%;min-width:0;border:1px solid #d3e0d7;border-radius:9px;min-height:44px;padding:10px 12px;background:#fff;color:#233e2c;font-size:14px}.settings-form .checkbox-line{display:flex;align-items:center;gap:8px}.settings-form .checkbox-line input{min-height:0;width:17px;height:17px}.settings-form button{justify-self:start}.vat-big{font-size:32px;font-weight:800;letter-spacing:-.05em}.backup-alert{background:#f7f5eb;padding:12px;border:1px solid #e9dfbd;border-radius:8px;color:#756342;font-size:12px}.backup-row{display:flex;justify-content:space-between;align-items:center;gap:12px;border-bottom:1px solid #ecf1ec;padding:12px 2px}.backup-row:last-child{border:0}.backup-row small{color:#7c8d80}.login-card{margin:9vh auto;padding:32px;max-width:460px;background:white;border:1px solid #dbe7dd;border-radius:14px}.login-card p{color:#6d8171}.login-card .kicker{color:#68876d}.login-card .primary{min-height:48px}.loading{max-width:460px;margin:80px auto;color:#748679;text-align:center}.subtle-link{display:inline-block;color:#326748;font-size:12px;margin-top:14px}.message{margin:0 0 16px;background:#e5f4e9;color:#236642;padding:10px;border-radius:9px}.message.error{background:#fff0e7;color:#a34c34}.dialog{width:min(94vw,690px);max-height:min(90dvh,900px);padding:0;border:1px solid #dbe5da;border-radius:15px;box-shadow:0 18px 80px #1d382644;overflow-y:auto;color:#25432f}.dialog::backdrop{background:#102218a0}.entry-form{padding:22px}.dialog-head{display:flex;justify-content:space-between;gap:15px;align-items:start;margin-bottom:18px}.close{border:0;background:#f0f4f0;border-radius:50%;width:35px;height:35px;font-size:22px;color:#637d6a}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.span2{grid-column:1/-1}.dialog-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:17px}.commission-preview{margin-top:15px;padding:10px 12px;border-radius:8px;background:#f2f8f3;color:#446951;font-size:12px}.empty{padding:24px;background:#f8faf8;border:1px dashed #d9e4da;border-radius:10px;font-size:12px;color:#758779;text-align:center}.pill-note{font-size:11px;color:#6f806f}.backup-row .soft{min-height:35px}.entry-right .soft{min-height:32px;padding:6px 8px}@media(max-width:900px){.kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.split{grid-template-columns:1fr}.side-stack{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.side-stack .surface{margin:0 0 14px}}@media(max-width:600px){.shell{width:calc(100% - 26px);margin:20px auto 72px}.top-inner{padding:8px 13px}.brand img{width:96px}.private{display:none}.top-right{gap:8px}.top-link{font-size:11px}.page-head{gap:11px;margin-bottom:18px}.kpi-grid{gap:7px}.kpi{padding:12px}.kpi strong{font-size:clamp(20px,6vw,27px)}.kpi small{font-size:10px}.surface{padding:14px;margin-bottom:10px}.side-stack{display:block}.section-head{margin-bottom:11px}.stream-row{gap:8px}.stream-icon{width:30px;height:30px;font-size:15px}.stream-body strong{font-size:12px}.stream-right strong{font-size:13px}.tabs button{font-size:12px;padding:11px 12px}.dialog{width:calc(100vw - 20px)}.entry-form{padding:16px}.form-grid{gap:9px}.form-grid>label{grid-column:1/-1}.filter-bar{gap:7px}.filter-bar label{flex:1 1 145px}.entry-right{gap:5px}.entry-right strong{font-size:12px}.entry-row{padding:9px}.entry-row strong{font-size:12px}.entry-right .soft{font-size:11px}.head-tools{gap:6px}.head-tools .updated{width:100%}}[hidden]{display:none!important}

/* BUSINESS_FINANCIALS_GOCARDLESS_V1 */
.gc-panel{margin-top:16px}
.gc-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:14px 0}
.gc-kpis>div{display:grid;gap:4px;background:#f4f8f5;border:1px solid #e1ebe3;border-radius:10px;padding:12px;min-width:0}
.gc-kpis>div>span{font-size:11px;color:#5a7462;font-weight:750}
.gc-kpis strong{font-size:clamp(19px,2.6vw,26px);color:#1d5134;line-height:1.2;letter-spacing:-.035em;font-variant-numeric:tabular-nums}
.gc-kpis small{font-size:10px;color:#738877}
.gc-breakdown{display:flex;flex-wrap:wrap;gap:8px;margin:13px 0}
.gc-breakdown>span{background:#edf5ee;border-radius:8px;padding:9px 10px;font-size:12px;color:#486b51}
.gc-breakdown strong{font-variant-numeric:tabular-nums;color:#234e34;margin-left:8px}
.gc-history-title{border-top:1px solid #e8eee8;padding-top:16px;margin-top:17px}
.gc-status-note{border-radius:9px;padding:10px 12px;background:#fff6e6;color:#7c5622;font-size:12px}
.gc-verified{background:#e3f4e8!important;color:#226b42!important}
.gc-payment-title{font-weight:800;font-size:12px}
.gc-provider-meta{font-size:11px;color:#7d8b80}
@media(max-width:700px){.gc-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:390px){.gc-kpis{gap:6px}.gc-kpis>div{padding:10px}.gc-kpis strong{font-size:20px}}

/* FINANCIAL_COMMERCIAL_TRACKER_V1 */
.com-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0 0 17px}
.com-stats section{border:1px solid #dce8df;background:#fff;border-radius:12px;padding:16px;display:grid;gap:4px}
.com-stats section>span{font-size:11px;font-weight:700;color:#627769}
.com-stats section strong{font-size:27px;font-variant-numeric:tabular-nums;letter-spacing:-.045em}
.com-toolbar{display:flex;gap:9px;flex-wrap:wrap;align-items:end;margin-bottom:12px}
.com-toolbar label{font-size:11px;font-weight:750;color:#607364;display:grid;gap:5px}
.com-toolbar select,.com-toolbar input{background:#fff;border:1px solid #d2ded5;border-radius:8px;padding:9px;min-height:39px;max-width:100%}
.com-rows{display:grid;gap:9px;margin-top:13px}
.com-job{padding:13px;border:1px solid #e0eae2;border-radius:11px;background:#fff;display:grid;gap:10px;min-width:0}
.com-job-head{display:flex;align-items:start;justify-content:space-between;gap:12px}
.com-job-name{font-size:13px;font-weight:800;color:#234834}
.com-job-sub{font-size:11px;color:#7b897d;overflow-wrap:anywhere;margin-top:3px}
.com-job-price{font-weight:800;font-size:17px;font-variant-numeric:tabular-nums;white-space:nowrap}
.com-job-status{display:flex;gap:7px;flex-wrap:wrap}
.com-job-status span{font-size:10px;font-weight:750;border-radius:6px;padding:4px 7px;background:#eef3ef;color:#53715b}
.com-job-status .done{background:#e0f4e6;color:#23633c}
.com-job-status .invoiced{background:#e5f0fc;color:#2d668f}
.com-job-status .needs{background:#fff1d4;color:#856122}
.com-job-actions{display:flex;gap:7px;flex-wrap:wrap;align-items:center}
.com-job-actions button{min-height:38px}
.com-job-actions .primary{font-size:12px}
.com-job-actions .soft{font-size:12px}
.com-job-note{font-size:11px;color:#7c8b7e}
@media(max-width:700px){.com-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.com-stats section{padding:12px}.com-stats section strong{font-size:24px}}


/* BUSINESS FINANCIALS — same-phone Google Authenticator onboarding */
.finance-mfa-intro{font-size:13px;line-height:1.55}
.finance-mfa-steps{margin:14px 0 18px;padding-left:22px;display:grid;gap:8px;font-size:13px;line-height:1.5}
.finance-mfa-steps li{padding-left:3px}.finance-mfa-manual{border:1px solid #d3e5d8;background:#f2f8f3;border-radius:11px;padding:15px;margin:14px 0}
.finance-mfa-manual label{display:block;font-size:12px;font-weight:750;color:#2c593c;margin-bottom:9px}
.finance-mfa-key-row{display:flex;flex-wrap:wrap;gap:8px;align-items:stretch}
.finance-mfa-key-row input{min-width:0;flex:1 1 190px;font-size:14px;letter-spacing:.065em;line-height:1.3;padding:11px 10px;background:white;border:1px solid #cfdfd3;border-radius:7px;min-height:43px}
.finance-mfa-secondary{flex:0 0 auto;min-height:43px;border:1px solid #afcbb7;border-radius:7px;padding:9px 11px;background:#fff;color:#23613e;font-weight:750;font-size:12px}
.finance-mfa-secondary:focus-visible,.finance-mfa-key-row input:focus-visible{outline:3px solid #80b48e;outline-offset:2px}
#finance-mfa-copy-status{font-size:12px;color:#2d7145;min-height:15px;margin:9px 0 0}
.finance-mfa-qr-alt{border:1px solid #e0e9e2;border-radius:10px;background:#fff;padding:13px;margin-bottom:14px}
.finance-mfa-qr-alt summary{font-weight:700;color:#275e3c;cursor:pointer;font-size:13px}
.finance-mfa-qr-alt p{font-size:12px;color:#587260}
.finance-mfa-warning{font-size:11px!important;line-height:1.5;color:#66756a}
@media(max-width:440px){.finance-mfa-key-row input{flex-basis:100%}.finance-mfa-secondary{flex:1}.finance-mfa-manual{padding:12px}.finance-mfa-steps{padding-left:19px}}


/* BOBS FINANCIALS — email code must be usable on the same mobile screen */
.finance-code-toggle{display:block;margin:6px 0 16px;padding:9px 0;color:#276044;font-weight:700;font-size:13px;text-align:left;text-decoration:underline;text-underline-offset:3px;border:none;background:transparent;cursor:pointer}
.finance-code-toggle[hidden],.finance-email-code-panel[hidden]{display:none!important}
.finance-email-code-panel{margin:14px 0 20px;border-top:1px solid #dce8e0;padding-top:16px}
.finance-email-code-panel .field-stack{gap:10px}
.finance-email-code-panel input{width:100%;min-height:47px;font-size:18px;letter-spacing:.12em;box-sizing:border-box}
.finance-email-code-panel .helper{font-size:12px;line-height:1.5;color:#597160;margin:2px 0 8px}
.finance-email-code-panel .primary{min-height:46px;width:100%}
#login-code-status{min-height:0}

/* RESIDENTIAL_CASHFLOW_V1 */
.res-cashflow{margin-bottom:18px}.res-cashflow-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:16px 0}.res-cashflow-card{padding:17px;border:1px solid #dce7e0;background:#fbfdfb;border-radius:12px;display:flex;flex-direction:column;gap:8px;min-width:0}.res-cashflow-prominent{background:#f0f8f1;border-color:#cce4d1}.res-cashflow-card>span{color:#526558;font-size:12px;font-weight:750}.res-cashflow-card>strong{font-size:clamp(20px,2.5vw,30px);line-height:1.2;font-weight:800;overflow-wrap:anywhere}.res-cashflow-card>small{color:#697b6e;font-size:11px;line-height:1.45}@media(max-width:920px){.res-cashflow-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:470px){.res-cashflow-grid{gap:8px}.res-cashflow-card{padding:12px}.res-cashflow-card>strong{font-size:21px}.res-cashflow-card>small{font-size:10px}}
