.header-tools{display:flex;align-items:center;gap:8px;justify-self:end;min-width:0}.header-tool{width:44px;height:44px;flex-shrink:0;padding:10px;display:grid;place-items:center;color:#fff;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.28);border-radius:50%}.header-tool[aria-pressed=true]{background:rgba(255,255,255,.25)}.money-input{display:block;position:relative;min-width:0}.money-mask{position:absolute;inset:0;display:flex;align-items:center;padding:12px;pointer-events:none;color:var(--ink);letter-spacing:2px}.money-input:has(.money-mask) input{color:transparent!important;caret-color:transparent;user-select:none}.money-input:has(.money-mask) input::-webkit-inner-spin-button{display:none}
html[data-theme=dark]{color-scheme:dark;--ink:#f4f4f8;--muted:#b1b2c1;--line:#4a4c5c;--white:#252632;color:var(--ink);background:#1d1e27}html[data-theme=dark] .workspace{background:#1d1e27;border-color:#4a4c5c}html[data-theme=dark] :is(.card,.metric,.task-card,dialog,input,textarea,select,.avatar,.choice-options,.choice-menu,.account-dropdown,.tier-card,.expenses-entry){background:#252632;color:var(--ink);border-color:var(--line)}html[data-theme=dark] button{background:#303241;color:var(--ink);border-color:var(--line)}html[data-theme=dark] .text-button{background:transparent;color:#ff7197}html[data-theme=dark] .primary{background:#ff0043;color:#fff;border-color:#ff0043}html[data-theme=dark] :is(.form-actions,.photo-editor,.owners-picker label,.balance-group,.reserve-detail,.lineup-progress){background:#252632;color:var(--ink)}html[data-theme=dark] :is(.badge.good,.balance-final.is-positive,.owners-picker label:has(:checked)){background:#1d3d30;color:#9ce2ba;border-color:#417354}html[data-theme=dark] :is(.badge.progress,.scenario-note){background:#40371d;color:#f1d683;border-color:#786938}html[data-theme=dark] .balance-final.is-negative{background:#492736;color:#ff9cb8}html[data-theme=dark] :is(.income-group>h3,.balance-result strong){color:#9ce2ba}html[data-theme=dark] .costs-group h3{color:#f1d683}html[data-theme=dark] :is(.negative,.negative-balance strong){color:#ff9cb8}html[data-theme=dark] .avatar-stack .avatar{border-color:#252632}html[data-theme=dark] .topbar .header-tool{background:rgba(255,255,255,.12);color:#fff;border-color:rgba(255,255,255,.3)}html[data-theme=dark] .topbar .user-button{background:rgba(255,255,255,.12);color:#fff}html[data-theme=dark] .topbar #nav a.active{background:#fff;color:#252632}html[data-theme=dark] :is(.filter-chips button[aria-pressed=true],#edition-tabs button[aria-pressed=true]){background:#45485b;color:#fff}html[data-theme=dark] .bar-results{background:#252632;color:#fff}html[data-theme=dark] .task-complete h3{color:#9ce2ba}html[data-theme=dark] #toast{background:#f4f4f8;color:#252632}html[data-theme=dark] .check-button.done{background:#218451;color:#fff}html[data-theme=dark] .choice-options label:hover{background:#383a4b}
@media(min-width:601px) and (max-width:1100px){.header-tools{grid-column:2;grid-row:1}.header-tools .account-control{grid-column:auto}}
@media(max-width:600px){.topbar{padding-left:16px;padding-right:16px;gap:8px}.header-tools{gap:6px;margin-left:auto}.header-tools .account-control{margin:0}.topbar .brand img{width:66px}.topbar .user-button{padding:4px;min-width:44px;min-height:44px}.header-tools .account-name{display:none}.header-tool{width:44px;height:44px}.topbar #nav{background:#252632}html[data-theme=dark] .topbar #nav{background:#252632;border:1px solid #55576a}.header-tools .account-dropdown{right:0}}
