*{box-sizing:border-box}
:root{--bg:#e9ebed;--surface:#f5f6f7;--white:#fff;--ink:#151617;--muted:#545b65;--line:#e2e5e8;--lime:#dfff00;--lime-soft:#f2ffa6;--blue:#98b7fa;--blue-soft:#e5edff;--danger:#a52620;--shadow:0 4px 16px #10111307;font-family:Inter,system-ui,sans-serif;color:var(--ink);background:var(--bg)}
body{margin:0;font-size:14px;line-height:1.55}
h1,h2,h3,p{margin:0} h1,h2,h3{line-height:1.15;letter-spacing:-.035em} h1{font-size:clamp(30px,4.1vw,56px);font-weight:800} h2{font-size:22px} h3{font-size:16px} p{color:var(--muted)} a{color:inherit;text-decoration:none} button,input,select,textarea{font:inherit;color:inherit} button,[type=submit]{cursor:pointer} input,select,textarea{min-height:44px;border:1px solid #cfd4da;border-radius:12px;background:#fff;padding:9px 12px;max-width:100%} textarea{width:100%;min-height:112px;resize:vertical} input[type=checkbox]{width:20px;min-height:20px} a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #3557af;outline-offset:3px} svg{width:20px;height:20px;flex:none} .skip{position:fixed;top:-100px;left:12px;background:var(--lime);padding:12px;z-index:10}.skip:focus{top:12px}
.layout{display:grid;grid-template-columns:226px minmax(0,1fr);gap:21px;max-width:1680px;margin:auto;padding:20px;align-items:start}
.sidebar{display:flex;flex-direction:column;position:sticky;top:20px;min-height:calc(100dvh - 40px);background:var(--surface);border:1px solid #fff;border-radius:27px;padding:18px 13px;box-shadow:var(--shadow)}
.brand{display:flex;align-items:center;gap:10px;font-weight:800;font-size:16px;letter-spacing:-.045em;padding:3px 9px 21px}.brand img{width:39px;height:39px;object-fit:contain;mix-blend-mode:multiply}
.side-nav{display:grid;gap:3px}.side-nav a,.bottom a{display:flex;align-items:center;gap:11px;min-height:45px;padding:9px 13px;border-radius:14px;color:#3f454d;font-weight:600}.side-nav a:hover,.bottom a:hover{background:#eaedef}.side-nav .active,.side-nav .active:hover,.bottom .active{background:var(--lime);color:var(--ink);font-weight:800}.side-nav svg{width:18px;height:18px}
.side-help{margin-top:auto;padding:15px 10px 4px}.side-help>div{background:#e9edee;border-radius:17px;padding:13px}.side-help p{font-size:12px;margin-bottom:8px}.side-help a{display:inline-flex;align-items:center;gap:6px;min-height:36px;font-weight:700}.side-help svg{width:15px;height:15px}
.main{min-width:0}.topbar{display:flex;justify-content:space-between;align-items:center;gap:10px;min-height:54px;margin:0 1px 14px}.topbar-title{display:grid;gap:1px}.topbar strong{font-size:20px;letter-spacing:-.035em}.topbar small{color:var(--muted);font-size:12px}.actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:9px 16px;border-radius:999px;border:1px solid transparent;background:var(--ink);color:#fff;font-weight:700;white-space:normal;text-align:center}.button svg{width:17px;height:17px}.button:hover{filter:brightness(.9)}.button.light{background:var(--white);border-color:var(--line);color:var(--ink)}.button.lime{background:var(--lime);color:var(--ink)}.button.mini{font-size:12px;padding-inline:12px}
.panel,.stat,.hero{border:1px solid #fff;background:var(--white);border-radius:24px;box-shadow:var(--shadow);min-width:0}.panel{padding:21px}.hero{position:relative;isolation:isolate;overflow:hidden;display:grid;grid-template-columns:1fr minmax(220px,.62fr);align-items:center;min-height:305px;background:#f9faf9}.hero-copy{padding:31px;z-index:1}.hero-copy h1{max-width:670px}.hero-copy p{max-width:485px;margin:13px 0 19px;font-size:14px}.eyebrow{font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.105em;display:block;margin:0 0 9px;color:#46505a}.hero-art{position:relative;display:grid;place-items:center;align-self:stretch;min-width:0;background:#eef1f4;overflow:hidden}.hero-art:before,.hero-art:after{content:"";position:absolute;border-radius:50%}.hero-art:before{background:var(--lime);width:89%;aspect-ratio:1;right:-9%;top:-31%}.hero-art:after{background:var(--blue);width:58%;aspect-ratio:1;left:-13%;bottom:-38%}.art-logo{position:relative;z-index:1;transform:rotate(-7deg);width:min(65%,235px);aspect-ratio:1.05;display:grid;place-items:center;background:#fff;border:1px solid #fff;border-radius:30px;box-shadow:0 17px 40px #14253525}.art-logo img{width:85%;height:85%;object-fit:contain;mix-blend-mode:multiply}.art-orbit{position:absolute;height:85%;width:115%;border:1px solid #363d4940;transform:rotate(-29deg);border-radius:50%;z-index:2;pointer-events:none}
.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:15px 0}.stat{padding:15px 17px;position:relative;display:grid;align-content:start;gap:6px;min-height:111px}.stat:first-child{background:var(--lime);border-color:var(--lime)}.stat small{font-weight:600;color:#454b53}.stat strong{font-size:clamp(19px,2.3vw,31px);letter-spacing:-.055em;line-height:1.1;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.stat span{font-size:11px;color:#454b53}.stat svg{width:15px;height:15px}.stat-label{display:flex;align-items:center;justify-content:space-between;gap:4px}
.bento{display:grid;grid-template-columns:1.55fr 1fr;gap:14px;margin-bottom:14px}.stack{display:grid;gap:14px}.section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:15px}.section-head p{font-size:12px;margin-top:4px}.section-head a{font-weight:700;white-space:nowrap;display:flex;align-items:center;gap:5px;min-height:44px}.section-head a svg{width:15px;height:15px}
.chart-bento{grid-template-columns:1.18fr 1fr}
.finance-chart{--chart-lime:#cce900;--chart-blue:#92b0f4;--chart-aqua:#a8d4ec;--chart-gray:#d8dce2;--chart-lavender:#c5b8ed;--chart-teal:#93d3b9;display:flex;flex-direction:column;justify-content:space-between}
.chart-header{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:6px;flex-wrap:wrap}
.chart-header h2{display:flex;align-items:center;gap:8px;font-size:clamp(16px,1.45vw,21px);min-height:36px}
.finance-chart:has(.allocation) .chart-body{flex:1;display:grid;align-content:center}
.chart-header h2 svg{padding:6px;width:32px;height:32px;border-radius:50%;background:var(--surface)}
.chart-header select{font-size:12px;font-weight:650;min-height:39px;border-radius:999px;background:var(--surface);border-color:var(--line);width:auto;padding:5px 9px}
.cash-chart{--cash-height:180px;display:grid;grid-template-columns:max-content minmax(0,1fr);align-items:start;gap:8px;padding-top:9px;font-variant-numeric:tabular-nums}
.cash-ticks{height:calc(var(--cash-height) + 1em);display:flex;flex-direction:column;justify-content:space-between;text-align:right;color:var(--muted);font-size:12px;font-weight:600;line-height:1;transform:translateY(-.5em)}
.cash-months{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);background:repeating-linear-gradient(to bottom,var(--line) 0 1px,transparent 1px 20%) top/100% var(--cash-height) no-repeat}
.cash-month{display:grid;grid-template-rows:var(--cash-height) auto;justify-items:center;min-width:0;min-height:0;padding:0 2px 4px;border:0;background:transparent;text-align:center;color:var(--muted);border-radius:8px;font-size:13px;font-weight:650;touch-action:manipulation}
.cash-month svg{width:min(100%,62px);height:100%;overflow:hidden}
.cash-month span{padding:4px 3px 0}
.cash-month[aria-pressed="true"]{color:var(--ink);background:var(--surface)}
.cash-bar.in{fill:var(--chart-lime)}
.cash-bar.out{fill:var(--chart-blue)}
.cash-month[aria-pressed="true"] .cash-bar{stroke:var(--ink);stroke-width:.8}
.cash-detail{margin-top:8px;padding:9px 11px;border:1px solid var(--line);border-radius:14px;background:var(--surface);font-variant-numeric:tabular-nums}
.cash-detail-month{display:block;margin-bottom:4px;font-size:13px}
.cash-detail-values{display:grid;grid-template-columns:1fr 1fr;gap:6px 12px}
.cash-detail-values div{display:grid;gap:2px;min-width:0}
.cash-detail-values span{display:flex;align-items:center;gap:5px;color:var(--muted);font-size:12px}
.cash-detail-values strong{font-size:14px;overflow-wrap:anywhere}
@media(max-width:420px){.cash-chart{--cash-height:150px;gap:5px}.cash-month{font-size:12px;padding-inline:1px}.cash-ticks{font-size:12px}.finance-chart{padding-inline:11px}}
.dot{width:10px;height:10px;border-radius:50%;background:var(--chart-lime);display:inline-block}
.dot.blue{background:var(--chart-blue)}
.allocation{display:grid;grid-template-columns:minmax(128px,1fr) minmax(110px,1fr);align-items:center;gap:12px}
.allocation-ring{position:relative;width:min(100%,220px);margin:auto;aspect-ratio:1}
.allocation-ring svg{display:block;width:100%;height:100%}
.allocation-segment{fill:none;stroke:var(--tone);stroke-width:21}
.tone-0{--tone:var(--chart-lime)}.tone-1{--tone:var(--chart-blue)}.tone-2{--tone:var(--chart-aqua)}.tone-3{--tone:var(--chart-gray)}.tone-4{--tone:var(--chart-lavender)}.tone-5{--tone:var(--chart-teal)}
.allocation-total{position:absolute;inset:22%;display:grid;place-content:center;text-align:center;gap:2px}
.allocation-total strong{font-size:clamp(12px,1.15vw,18px);line-height:1.12;letter-spacing:-.04em;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.allocation-total span{font-size:10px;color:var(--muted)}
.allocation-legend{list-style:none;padding:0;margin:0}
.allocation-legend li{border-bottom:1px solid var(--line)}
.allocation-legend button{display:grid;grid-template-columns:12px minmax(0,1fr) auto;gap:6px;align-items:center;min-height:44px;width:100%;border:0;border-radius:8px;background:none;padding:4px 6px;text-align:start;font-size:13px;line-height:1.25;touch-action:manipulation}
.allocation-legend button[aria-pressed="true"]{background:var(--surface);font-weight:700}
.allocation-segment{cursor:pointer;touch-action:manipulation}
.allocation-segment.selected{stroke-width:22}
.allocation-total{pointer-events:none}
.allocation-detail{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:3px 12px;font-size:13px}
.allocation-detail span{color:var(--muted)}
.allocation-detail span strong{font-size:14px;color:var(--ink)}
.allocation-legend li:last-child{border:0}
.allocation-swatch{width:12px;height:12px;border-radius:50%;background:var(--tone)}
.allocation-legend strong{font-variant-numeric:tabular-nums}
@media(max-width:1050px){.chart-bento{grid-template-columns:1fr}.allocation{max-width:590px;margin:auto}.allocation-total strong{font-size:clamp(12px,2vw,18px)}}
@media(max-width:420px){.allocation{gap:7px}.allocation-legend button{font-size:12px;padding-inline:4px}.allocation-total strong{font-size:14px}.allocation-total span{font-size:11px}.chart-header h2{gap:4px}}
.empty{min-height:108px;background:#f5f6f7;border:1px dashed #dadfe4;border-radius:16px;display:grid;place-content:center;text-align:center;justify-items:center;padding:13px;gap:6px}.empty svg{width:22px;height:22px;color:#4d5b69}.empty strong{font-size:13px}.empty p{font-size:12px;max-width:320px}.focus-card{background:var(--blue-soft);border:1px solid #fff;border-radius:16px;padding:13px;display:flex;align-items:center;gap:12px}.focus-card svg{width:22px;height:22px}.focus-card p{font-size:12px}.focus-card+.focus-card{margin-top:9px;background:#f0f2f4}
.footer{display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap;padding:18px 2px;color:#4b525b;font-size:12px}.footer a{margin-right:14px;display:inline-flex;min-height:32px;align-items:center}.footer strong{font-weight:700}
.bottom,.mobile-brand{display:none}.pagehead{padding:23px;margin-bottom:14px;background:#f8faf6}.pagehead h1{font-size:clamp(29px,3.8vw,45px)}.pagehead p{margin-top:7px;max-width:650px}.filters,.form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;align-items:end}.filters label,.form-grid label{display:grid;gap:4px;font-weight:600;font-size:13px;min-width:0}.form-grid .wide{grid-column:1/-1}.filters input,.filters select,.form-grid input:not([type=checkbox]),.form-grid select{width:100%}.filters .actions{grid-column:1/-1;margin-top:4px}.form-grid .actions{grid-column:1/-1}.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%;font-variant-numeric:tabular-nums}td,th{text-align:left;padding:11px 9px;border-bottom:1px solid var(--line);vertical-align:top}th{font-size:12px;color:var(--muted)}td a{text-decoration:underline;text-underline-offset:3px}.pagination{margin-top:13px;display:flex;align-items:center;gap:12px;flex-wrap:wrap}.grid-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,235px),1fr));gap:12px}.activity-card{display:block;padding:16px;border:1px solid var(--line);border-radius:17px;background:#f7f8f8}.activity-card:hover{border-color:#849500}.activity-card h3{margin:9px 0 5px}.activity-card .meta{display:block;margin:10px 0}.pill{display:inline-flex;align-items:center;min-height:28px;padding:3px 9px;background:#eef0f2;border-radius:999px;font-size:11px;font-weight:700}.pill.good{background:var(--lime-soft)}.pill.blue{background:var(--blue-soft)}.meta{color:var(--muted);font-size:12px}.copy{white-space:pre-wrap;overflow-wrap:anywhere}.line-list{list-style:none;padding:0;margin:0;display:grid;gap:9px}.line-list li{border:1px solid var(--line);border-radius:12px;padding:10px 12px;display:flex;align-items:center;justify-content:space-between;gap:10px}.line-list p{font-size:12px}.callout{padding:13px;background:var(--blue-soft);border-radius:13px}.message{padding:10px 12px;background:#eef3ff;border-radius:12px;margin:10px 0}.error{color:var(--danger);background:#fff1ef}.loading{min-height:150px;display:grid;place-items:center;color:var(--muted)}.initial,.login{display:grid;place-items:center;min-height:100dvh;padding:20px}.initial img{width:95px}.initial{align-content:center;gap:14px}.login>.hero{max-width:950px;width:100%;min-height:420px}.login h1{font-size:clamp(30px,4vw,50px)}.login .brand{padding-left:0}.reveal{margin-top:14px}.reveal summary{min-height:44px;cursor:pointer;font-weight:700}.admin-meta{overflow-wrap:anywhere}.nav-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:8px}.nav-grid a{min-height:48px;background:#f0f2f4;border-radius:12px;padding:12px;font-weight:700}
@media(max-width:1120px){.layout{grid-template-columns:188px minmax(0,1fr);gap:14px;padding:14px}.sidebar{top:14px;min-height:calc(100dvh - 28px)}.stat{padding:12px}.hero-copy{padding:24px}}
@media(max-width:850px) and (min-width:701px){.layout{grid-template-columns:64px minmax(0,1fr)}.sidebar{padding:10px 6px}.sidebar .brand{padding:0 4px 15px}.sidebar .brand span,.side-help{display:none}.side-nav a{justify-content:center;padding-inline:0}.side-nav span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}}
@media(max-width:700px){.layout{display:block;padding:11px 11px calc(76px + env(safe-area-inset-bottom))}.sidebar{display:none}.mobile-brand{display:flex;padding:0;font-size:15px}.mobile-brand img{width:32px;height:32px}.topbar{min-height:47px;margin-bottom:9px}.topbar-title{display:none}.topbar>.button{min-height:40px}.hero{grid-template-columns:1fr;min-height:0}.hero-copy{padding:20px}.hero-copy p{margin:10px 0 14px}.hero-art{min-height:128px}.hero-art:before{width:48%;right:0;top:-80%}.hero-art:after{width:39%;left:-6%;bottom:-86%}.art-logo{width:98px;border-radius:16px}.art-orbit{width:75%;transform:rotate(-12deg)}.stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:9px 0}.stat{min-height:86px;border-radius:16px;padding:10px}.bento{grid-template-columns:1fr;gap:9px;margin-bottom:9px}.stack{gap:9px}.panel,.hero{border-radius:19px}.panel{padding:15px}.bottom{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));position:fixed;bottom:0;left:0;right:0;z-index:5;background:#fff;padding:6px 5px calc(6px + env(safe-area-inset-bottom));box-shadow:0 -4px 23px #10111312}.bottom a{justify-content:center;flex-direction:column;gap:2px;padding:5px 2px;min-height:48px;font-size:9px}.bottom svg{width:18px;height:18px}.filters,.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.line-list li{align-items:flex-start;flex-wrap:wrap}.table-wrap{font-size:12px}.login>.hero{min-height:0}.footer{gap:5px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}

.published-photo{display:block;width:100%;max-height:390px;object-fit:cover;border-radius:14px;margin:0 0 12px}.activity-card .published-photo{aspect-ratio:16/9}.message[hidden]{display:none}
.public-controls{flex-wrap:nowrap;gap:8px}
.theme-button{width:44px;padding:0}
.language-controls{position:relative}
.language-controls summary{cursor:pointer;list-style:none;padding-inline:10px}
.language-controls summary::-webkit-details-marker{display:none}
.language-controls summary i{width:7px;height:7px;border-right:1.5px solid;border-bottom:1.5px solid;transform:translateY(-2px) rotate(45deg)}
.language-options{position:absolute;z-index:7;inset-inline-end:0;top:calc(100% + 6px);min-width:160px;padding:5px;background:var(--white);border:1px solid var(--line);border-radius:14px;box-shadow:0 8px 20px #10111324}
.flag-button{display:flex;align-items:center;gap:9px;border:0;border-radius:8px;background:transparent;width:100%;min-height:44px;padding:6px 9px;text-align:start;white-space:nowrap}
.flag-button:hover{background:var(--surface)}
.flag-button[aria-pressed="true"]{background:var(--lime-soft);color:#151617}
.language-controls svg{width:22px;height:15px;border-radius:3px;box-shadow:0 0 0 1px #10111325}
.demo-banner{display:flex;align-items:center;gap:10px;margin-bottom:12px;padding:10px 14px;border-radius:16px;background:var(--blue-soft);border:1px solid var(--line)}
.demo-banner p{font-size:12px}
:root[data-theme="dark"]{color-scheme:dark;--bg:#15171a;--surface:#202328;--white:#25292f;--ink:#f4f5f5;--muted:#bac2cc;--line:#3b4149;--lime-soft:#e6f277;--blue-soft:#293952;--shadow:0 4px 18px #0002}
[data-theme="dark"] :is(.sidebar,.panel,.hero,.stat,.focus-card){border-color:var(--line)}
[data-theme="dark"] :is(.hero,.pagehead,.side-help>div,.empty,.activity-card,.nav-grid a,.focus-card+.focus-card){background:var(--surface)}
[data-theme="dark"] .hero-art{background:#313740}
[data-theme="dark"] .art-orbit{border-color:#a0a9b566}
[data-theme="dark"] .brand img{mix-blend-mode:normal;border-radius:8px;background:#fff}
[data-theme="dark"] :is(.side-nav a,.bottom a,.eyebrow,.footer,.empty svg){color:var(--muted)}
[data-theme="dark"] :is(.side-nav a,.bottom a):hover{background:#333840}
[data-theme="dark"] :is(.side-nav,.bottom) .active{color:#151617;background:var(--lime)}
[data-theme="dark"] .stat:not(:first-child) :is(small,span){color:var(--muted)}
[data-theme="dark"] .stat:first-child{border-color:var(--lime);color:#151617}
[data-theme="dark"] .button:not(.light){background:#f4f5f5;color:#151617}
[data-theme="dark"] .button.lime{background:var(--lime)}
[data-theme="dark"] .pill{background:#3e4550}
[data-theme="dark"] .pill.good{background:var(--lime-soft);color:#151617}
[data-theme="dark"] .pill.blue{background:#395578}
[data-theme="dark"] :is(input,select,textarea){background:var(--surface);border-color:var(--line)}
[data-theme="dark"] .bottom{background:var(--white)}
[data-theme="dark"] .message{background:#273753}
[data-theme="dark"] .message.error{background:#44282a;color:#ffb5b0}
@media(max-width:700px){
 .public-controls{gap:5px}
 .public-controls .button{padding-inline:9px}
 .public-controls .theme-button{padding:0}
 .mobile-brand{gap:6px}
}
.first-paint{display:flex;align-items:center;gap:8px;min-height:62px;padding:10px 21px}
.first-paint img{width:34px;height:34px;object-fit:contain}
.main[tabindex="-1"]:focus{outline:none}
.mobile-more{color:var(--muted);border:0;border-radius:14px;background:none;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:2px;padding:5px 2px;min-height:48px;font-size:9px;font-weight:650}
.mobile-menu{position:fixed;inset:auto 10px calc(66px + env(safe-area-inset-bottom)) auto;margin:0;width:min(260px,calc(100vw - 20px));max-height:calc(100dvh - 84px);overflow:auto;padding:6px;border:1px solid var(--line);border-radius:18px;background:var(--white);color:var(--ink);box-shadow:0 9px 32px #10111335}
.mobile-menu nav{display:grid;gap:3px}
.bottom .mobile-menu a{flex-direction:row;justify-content:flex-start;gap:8px;padding:8px 11px;font-size:14px;min-height:44px}
.filters :is(input,select){min-inline-size:0;inline-size:100%;max-inline-size:100%}
.filters input[type="date"]{display:block;-webkit-appearance:none;appearance:none}
.filters input[type="date"]::-webkit-date-and-time-value{text-align:start;min-height:1.3em}
@media(max-width:480px){.filters label:has(input[type="date"]){grid-column:1/-1}}
.tagline-underline{text-decoration:underline;text-decoration-thickness:.075em;text-underline-offset:.13em}
