@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--ink:#1b302f;--body:#5d706c;--muted:#879591;--line:#e3ebe7;--paper:#f7f8f4;--white:#fff;--deep:#183c38;--green:#397d66;--green-soft:#e8f3eb;--amber:#b7723a;--amber-soft:#fbf0e2;--sans:'DM Sans',system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;--display:Manrope,var(--sans);font-family:var(--sans);color:var(--ink);background:var(--paper);font-synthesis:none;scroll-behavior:smooth}
*{box-sizing:border-box}body{margin:0;min-width:320px}a{color:inherit}button,input{font:inherit}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #79b69e;outline-offset:3px}button[disabled]{cursor:wait;opacity:.58}.app-shell{min-height:100vh;display:grid;grid-template-columns:244px minmax(0,1fr)}
.sidebar{background:#193b36;color:#edf7ef;padding:33px 24px 25px;display:flex;flex-direction:column;position:sticky;top:0;height:100vh;min-height:660px}.brand{text-decoration:none;display:flex;align-items:center;gap:13px}.brand-mark{height:42px;width:42px;display:grid;place-items:center;background:#e9f3e9;color:#193b36;border-radius:12px;font:800 22px var(--display);letter-spacing:-3px;padding-right:2px}.brand-mark span,.footer strong span{color:#9ac5a7}.brand-copy{display:flex;flex-direction:column;gap:3px}.brand-copy strong{font:800 15px var(--display);letter-spacing:.18em}.brand-copy small{font-size:8px;letter-spacing:.17em;color:#a6c1b0;font-weight:700}.sidebar-label{margin:48px 9px 13px;color:#8faea1;font-size:9px;font-weight:700;letter-spacing:.18em}.navigation{display:grid;gap:4px}.navigation a{color:#bcd0c4;text-decoration:none;font-size:13px;font-weight:500;padding:12px 11px;display:flex;align-items:center;gap:12px;border-radius:9px;white-space:nowrap}.navigation a:hover,.navigation a:focus-visible{background:#2a5148;color:white}.navigation a.active{background:#315a4d;color:white}.nav-icon{width:18px;display:inline-flex;justify-content:center;color:#bad6c4;font-size:17px}.sidebar-bottom{margin-top:auto}.sidebar-bottom .sidebar-label{margin-top:24px}.side-link{padding:9px 9px;display:flex;justify-content:space-between;color:#c1d4c8;text-decoration:none;font-size:12px}.side-link:hover{color:white}.side-link span{color:#95b9a2}.sidebar-note{display:flex;gap:10px;border:1px solid #42675c;border-radius:12px;padding:14px 12px;margin-top:26px}.sidebar-note .dot{height:7px;width:7px;background:#a8d8b2;border-radius:50%;margin-top:5px;flex:none}.sidebar-note div{display:grid;gap:4px}.sidebar-note strong{font-size:11px;font-weight:600}.sidebar-note small{font-size:10px;color:#acc6b6;line-height:1.4}
.main{min-width:0;padding:0 clamp(24px,4vw,62px) 0;max-width:1800px;width:100%;margin:auto}.topbar{height:80px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);gap:16px}.breadcrumb{color:#94a39d;font-size:12px;font-weight:600}.breadcrumb strong{color:#405751;font-weight:700}.slash{margin:0 12px;color:#c1ccc6}.top-actions{display:flex;align-items:center;gap:20px}.today{font-size:12px;color:#7c8c84;text-transform:capitalize}.button{border:1px solid transparent;border-radius:9px;min-height:40px;padding:0 15px;font-weight:700;font-size:12px;display:inline-flex;align-items:center;justify-content:center;gap:9px}.button-secondary{background:#fff;border-color:#dfe8e1;color:#385950}.button-secondary:hover{background:#f2f7f1}.button-primary{background:#234c40;color:white}.button-primary:hover{background:#183c32}.button-primary span{margin-left:auto}.full{width:100%}
.hero{padding:40px 0 29px;display:flex;align-items:center;justify-content:space-between;gap:24px}.eyebrow,.section-kicker{font-size:9px;letter-spacing:.16em;font-weight:800;color:#69867a}.eyebrow{display:flex;align-items:center;gap:10px}.eyebrow-line{width:25px;height:2px;background:#8aae95}.hero h1{font:600 clamp(32px,3.5vw,48px)/1.12 var(--display);letter-spacing:-.055em;margin:16px 0 10px}.hero h1 em{font-style:normal;color:#729881;font-weight:500}.hero p{color:#71847a;font-size:14px;line-height:1.6;margin:0}.hero-aside{display:flex;flex-direction:column;align-items:flex-end;gap:12px;color:#95a69a;font-size:11px;line-height:1.5;text-align:right}.hero-aside-label{font-size:9px;letter-spacing:.13em;font-weight:700}.hero-ornament{width:70px;height:43px;position:relative}.hero-ornament i{position:absolute;display:block;width:35px;height:35px;border:1px solid #bbd1bf;transform:rotate(45deg);top:4px}.hero-ornament i:nth-child(1){left:4px}.hero-ornament i:nth-child(2){left:19px}.hero-ornament i:nth-child(3){left:34px}
.source-bar{min-height:76px;background:#edf3ec;border:1px solid #e3ece1;border-radius:13px;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px 17px}.source-intro{display:flex;align-items:center;gap:11px;min-width:180px}.source-icon{width:37px;height:37px;border-radius:10px;background:#dcebdd;display:grid;place-items:center;font-size:20px;color:#4f876b}.source-intro div{display:grid;gap:4px}.source-intro strong{font-size:12px}.source-intro small{font-size:11px;color:#85988b}.source-pills{display:flex;align-items:center;gap:7px;flex-wrap:wrap;justify-content:flex-end}.source-pill{background:#fff;border:1px solid #e5ece5;border-radius:8px;padding:8px 10px;display:flex;align-items:center;gap:7px;color:#456156;font-size:11px;font-weight:700;white-space:nowrap}.source-pill:hover:not(.static){border-color:#a9c7ae}.source-pill small{font-size:10px;color:#91a198;font-weight:400}.source-pill.static{cursor:default}.status-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#b9c6bd;flex:none}.status-dot.good{background:#70b48a}.status-dot.warn{background:#d49a5a}.status-dot.neutral{background:#b9c6bd}
.section{padding-top:39px}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:17px}.section-heading h2,.panel h2{font:700 21px/1.2 var(--display);letter-spacing:-.04em;margin:7px 0 0}.section-context{color:#9aaba0;font-size:11px}.section-context span{margin-left:6px}.overview-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:11px}.overview-card{position:relative;min-height:170px;border:1px solid var(--line);background:white;border-radius:13px;padding:16px;text-decoration:none;display:flex;flex-direction:column;transition:transform .15s,border-color .15s,box-shadow .15s}.overview-card:hover{transform:translateY(-2px);border-color:#bacebd;box-shadow:0 8px 26px #244b3810}.card-symbol{width:31px;height:31px;border-radius:9px;display:grid;place-items:center;font-size:16px;margin-bottom:12px}.symbol-blue{background:#eaf1f3;color:#638e9a}.symbol-sand{background:#fbf1e5;color:#b78c5f}.symbol-sage{background:#e8f2e9;color:#6d9b7b}.symbol-rose{background:#faeaea;color:#c58383}.symbol-lilac{background:#f0ecf6;color:#9b8dbb}.card-topline{font-size:9px;letter-spacing:.11em;font-weight:800;color:#82958a;display:flex;justify-content:space-between;align-items:center}.card-arrow{font-size:13px;color:#bfccc1;letter-spacing:0}.overview-value{font:700 25px/1.15 var(--display);letter-spacing:-.04em;margin-top:6px}.overview-caption{font-size:11px;color:#71857b;margin-top:3px}.card-footer{display:flex;gap:6px;align-items:center;margin-top:auto;padding-top:12px;font-size:10px;color:#9aaa9e}.card-footer.warn{color:#ad784b}.under-cards{font-size:10px;color:#a0afa4;margin:11px 2px 0}
.content-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding-top:30px}.panel{scroll-margin-top:16px;background:#fff;border:1px solid var(--line);border-radius:15px;padding:22px;min-width:0}.panel-header{display:flex;justify-content:space-between;gap:15px}.panel-header p{font-size:12px;color:#879a8f;line-height:1.45;margin:7px 0 0}.panel-index{font:700 10px var(--display);color:#8fa69a;white-space:nowrap}.panel-index span{color:#cbd6ce}.large-metric{min-height:116px;background:#f5f7f2;border-radius:11px;margin:23px 0 8px;padding:18px;display:flex;justify-content:space-between;gap:10px}.large-metric>div,.operation-focus>div:first-child{display:flex;flex-direction:column;align-items:flex-start}.metric-label{font-size:11px;color:#7f9387;font-weight:600}.large-metric strong,.operation-focus strong,.team-grid strong{font:700 29px/1.2 var(--display);letter-spacing:-.05em;margin-top:7px}.large-metric small,.operation-focus small,.team-grid small{font-size:10px;color:#9daea1;margin-top:5px;line-height:1.45}.metric-mark{font-size:23px;color:#b0c8b5}.metric-row{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:13px 2px;border-bottom:1px solid #edf2ed;font-size:12px;color:#4f665a}.metric-row small{font-size:10px;color:#aab8ad;margin-left:5px}.metric-row strong{font:700 13px var(--display);color:#2b493a}.panel-foot{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:16px;color:#a2b0a6;font-size:10px;line-height:1.5}.text-button{border:0;background:none;color:#508364;white-space:nowrap;font-size:11px;font-weight:700;padding:5px}.text-button:hover{text-decoration:underline}.operation-focus{min-height:116px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 5px;margin:15px 0 2px}.ring{width:83px;height:83px;border-radius:50%;background:conic-gradient(#79aa85 0 var(--progress,0%),#eef4ec var(--progress,0%) 100%);display:grid;place-items:center;position:relative;flex:none}.ring:before{content:'';position:absolute;inset:9px;border-radius:50%;background:white}.ring span{position:relative;font-size:21px;color:#a0bba6}.compact-panel{min-height:260px}.empty-state{display:flex;gap:13px;align-items:flex-start;background:#f8faf6;border-radius:11px;padding:16px;margin:21px 0 0}.empty-icon{width:34px;height:34px;flex:none;background:#edf4ec;color:#7b9e85;border-radius:9px;display:grid;place-items:center;font-size:16px}.empty-state strong{font-size:12px;color:#566f60}.empty-state p{font-size:11px;color:#96a89a;line-height:1.5;margin:5px 0 0}.mini-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:18px}.mini-metrics.two{grid-template-columns:repeat(2,1fr)}.mini-metrics div{display:grid;gap:5px}.mini-metrics span{font-size:10px;color:#8d9e93}.mini-metrics strong{font:700 20px var(--display)}.team-panel{grid-column:1/-1}.team-grid{display:grid;grid-template-columns:repeat(3,1fr);margin-top:25px;gap:20px}.team-grid>div{display:flex;flex-direction:column;border-right:1px solid #edf2ed;padding-right:20px}.team-grid>div:last-child{border:0}.footer{display:flex;align-items:center;gap:20px;padding:34px 0 25px;color:#a0afa4;font-size:10px}.footer strong{font:800 13px var(--display);letter-spacing:.12em;color:#47675a}.footer a{margin-left:auto;text-decoration:none;color:#7f9a87}
dialog{border:0;padding:0;width:min(440px,calc(100vw - 32px));max-height:calc(100vh - 40px);border-radius:17px;box-shadow:0 24px 100px #122c2370;color:var(--ink)}dialog::backdrop{background:#112b24a8}.dialog-content{padding:25px;display:flex;flex-direction:column}.dialog-heading{display:flex;justify-content:space-between;align-items:start;margin-bottom:20px}.dialog-icon{width:40px;height:40px;border-radius:10px;background:#e9f2e8;color:#58846a;font-size:22px;display:grid;place-items:center}.notion-icon{font:800 20px Georgia}.icon-button{background:transparent;border:0;font-size:25px;line-height:1;color:#9baaa0}.dialog-content h2{font:700 24px/1.2 var(--display);letter-spacing:-.04em;margin:9px 0}.dialog-content>p{font-size:12px;line-height:1.6;color:#7c8e83;margin:3px 0 15px}.dialog-content label:not(.upload-box){font-size:11px;font-weight:700;color:#506a5b;margin:12px 0 7px}.dialog-content input:not([type=file]){border:1px solid #dce8de;border-radius:8px;min-height:43px;padding:0 12px;background:#fff;color:#203c2d}.dialog-content .button-primary{margin-top:20px}.dialog-content .dialog-note{font-size:10px;color:#9daea1;margin:14px 0 0;line-height:1.5}.dialog-content .form-error{color:#b64e3f;background:#fff2ef;border-radius:8px;padding:9px;margin:12px 0 0}.dialog-content .form-error[hidden]{display:none}.steps{padding-left:20px;color:#6c8172;font-size:12px;line-height:1.6;margin:0 0 15px}.steps li{padding:3px 0}.steps a{color:#397b59}.upload-box{border:1px dashed #a9c8ad;border-radius:11px;min-height:106px;background:#f5faf4;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;color:#527a5f;cursor:pointer}.upload-box>span{font-size:23px;line-height:1}.upload-box strong{font-size:12px}.upload-box small{font-size:10px;color:#98aa9b}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.import-result{font-size:11px!important;color:#568364!important;margin:8px 0 0!important;white-space:pre-line}.import-result:empty{display:none}.dialog-content #clear-imports{margin-top:17px}.toast{position:fixed;right:20px;bottom:20px;z-index:5;background:#1c4237;color:white;border-radius:10px;padding:12px 16px;font-size:12px;box-shadow:0 10px 35px #142b2250;max-width:min(380px,calc(100% - 40px));line-height:1.4}.toast[hidden]{display:none}
@media(max-width:1300px){.overview-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.overview-card{min-height:155px}.source-bar{align-items:flex-start;flex-direction:column}.source-pills{justify-content:flex-start}.hero{padding-top:32px}.sidebar{padding-left:18px;padding-right:18px}.app-shell{grid-template-columns:220px minmax(0,1fr)}}
@media(max-width:820px){.app-shell{display:block}.sidebar{height:auto;min-height:0;position:relative;padding:15px 20px 12px}.brand-mark{height:36px;width:36px;font-size:19px}.brand-copy strong{font-size:13px}.sidebar>.sidebar-label,.sidebar-bottom{display:none}.navigation{display:flex;overflow-x:auto;gap:5px;margin:13px -5px 0;padding-bottom:2px}.navigation a{padding:9px 10px;font-size:11px}.nav-icon{font-size:14px;width:14px}.main{padding-left:22px;padding-right:22px}.topbar{height:62px}.today{display:none}.hero-aside{display:none}.hero{padding:30px 0 24px}.hero h1{font-size:37px}.section{padding-top:30px}.content-grid{padding-top:25px}.overview-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.team-panel{grid-column:1/-1}}
@media(max-width:580px){.main{padding-left:16px;padding-right:16px}.topbar{height:56px}.breadcrumb{font-size:10px}.button{min-height:37px}.hero h1{font-size:34px}.hero p{font-size:12px}.source-intro small{line-height:1.4}.source-pills{display:grid;grid-template-columns:1fr 1fr;width:100%}.source-pill{justify-content:flex-start}.source-pill.static{grid-column:1/-1}.section-context{display:none}.overview-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.overview-card{min-height:148px;padding:13px}.overview-value{font-size:23px}.content-grid{grid-template-columns:1fr}.team-panel{grid-column:auto}.panel{padding:19px}.team-grid{grid-template-columns:1fr;gap:16px}.team-grid>div{border-right:0;border-bottom:1px solid #edf2ed;padding:0 0 15px}.team-grid>div:last-child{padding:0;border:0}.footer{flex-wrap:wrap}.footer a{margin-left:0}.footer>span{width:100%;order:3}}
@media(prefers-reduced-motion:reduce){:root{scroll-behavior:auto}.overview-card{transition:none}}
#login-fields:not([hidden]){display:flex;flex-direction:column}.connected-label{font-size:12px;color:#5f806b;overflow-wrap:anywhere;padding:12px;border-radius:8px;background:#f4f8f2}#connected-actions[hidden],#login-fields[hidden]{display:none}
@media(max-width:820px){.navigation{scrollbar-width:none}.navigation::-webkit-scrollbar{display:none}}
.ring.overdue{background:conic-gradient(#c5524b 0 var(--progress,0%),#f8e5e2 var(--progress,0%) 100%)}
.ring.overdue span,.operation-focus.has-overdue strong{color:#b84c46}
.completion-block{padding:15px 2px 13px;border-bottom:1px solid #edf2ed}
.completion-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:12px;color:#4f665a}
.completion-heading small{margin-left:5px;color:#aab8ad;font-size:10px}
.completion-heading strong{font:700 13px var(--display);color:#2b493a;white-space:nowrap}
.completion-track{height:6px;margin:10px 0 6px;background:#edf3ed;border-radius:99px;overflow:hidden}
.completion-track span{display:block;height:100%;width:0;background:#6d9e7c;border-radius:inherit;transition:width .2s ease}
.completion-block>small{font-size:10px;color:#95a69a;line-height:1.4}
@media(prefers-reduced-motion:reduce){.completion-track span{transition:none}}

/* Control: financial figures keep cents and distinguish a missing source from zero. */
.finance-balance strong{font-variant-numeric:tabular-nums;font-size:34px}.finance-highlights strong{font-size:19px;letter-spacing:-.035em;overflow-wrap:anywhere}.finance-notice{font-size:12px;line-height:1.65;color:#617467;background:#f2f6f1;border:1px solid #e3ebe0;padding:11px 13px;border-radius:8px;margin:15px 0}.finance-notice.warn{background:#fff7e8;border-color:#ebdcc0;color:#805d26}.finance-notice[hidden]{display:none}.finance-explanation{font-size:11px;line-height:1.65;color:#718277;margin-top:18px}.finance-explanation summary{cursor:pointer;color:#48664e}.finance-explanation p{margin:10px 0 0}.finance-negative{color:#a5463d!important}.finance-balance small{line-height:1.6;max-width:340px}#finanzas .metric-row strong{font-size:15px;white-space:nowrap}#summary-cash{font-size:clamp(22px,2.1vw,32px);overflow-wrap:anywhere;font-variant-numeric:tabular-nums}@media(max-width:580px){.finance-highlights strong{font-size:17px}.finance-balance strong{font-size:30px}#finanzas .metric-row{gap:10px}#finanzas .metric-row strong{font-size:13px}}

.finance-actions{display:flex;gap:12px;flex-wrap:wrap;flex-shrink:0}.finance-actions .text-button{white-space:nowrap}

body[data-auth-ready="false"] .app-shell{display:none}body[data-auth-ready="true"] .auth-gate{display:none}.auth-gate{min-height:100vh;display:grid;place-items:center;padding:24px}.auth-card{max-width:500px;width:100%;background:white;border:1px solid var(--line);border-radius:20px;padding:clamp(25px,5vw,48px);box-shadow:0 20px 70px #183c3809}.auth-brand{font-weight:800;font-size:34px;letter-spacing:-.05em;color:var(--deep)}.auth-brand>span{color:var(--green)}.auth-kicker{font-size:14px;letter-spacing:.1em;color:var(--green);margin:8px 0 24px}.auth-card h1{font-size:32px;line-height:1.15;letter-spacing:-.04em;margin:0 0 18px}.auth-card p{font-size:16px;line-height:1.6;color:var(--body)}.auth-card .button{font-size:16px;margin:12px 0}.auth-card #auth-gate-status{font-size:14px;margin-bottom:0}

#login-dialog input,#login-dialog button{font-size:16px}#login-dialog label{font-size:14px}#login-dialog .dialog-note{font-size:13px}

#login-dialog p{font-size:14px;line-height:1.65}
