/* Shared workspace design. Keep density in layout, not tiny form controls. */
/* Accounting uses the same dark palette as the artist workspace. Scoped so
   public booking pages and other workspace layouts retain their own styling. */
body.accounting-workspace{color-scheme:dark;background:#111318;color:#e8eaf1;--line:#30343f;--muted:#aeb6c7;--accent:#8069ee}
body.accounting-workspace>aside{background:#171920;border-color:#30343f}
body.accounting-workspace>main{background:#111318}
body.accounting-workspace :is(.panel,.card,dialog,.cards,.ledger-filter-totals,.room-card){background:#1b1e27;color:#e8eaf1;border-color:#30343f;box-shadow:none}
body.accounting-workspace :is(h1,h2,h3,h4,strong,legend){color:#eef0f7}
body.accounting-workspace :is(label,small,.muted,.subtle,th){color:#aeb6c7}
body.accounting-workspace a{color:#bdb0ff}
body.accounting-workspace :is(button,input,select,textarea){background:#222630;color:#e8eaf1;border-color:#3b414f}
body.accounting-workspace :is(input,textarea)::placeholder{color:#a3abba}
body.accounting-workspace button:hover:not(:disabled){background:#303446;border-color:#8674cf}
body.accounting-workspace :is(button.primary,nav button.active){background:#7155da;border-color:#8d73f0;color:#fff}
body.accounting-workspace nav button.active:hover{background:#8066e8}
body.accounting-workspace :is(.notice,#status){background:#252a38;color:#c9d2e6;border-color:#3c455c}
body.accounting-workspace :is(.error,#entryError,#importError,#status.error){color:#ffaaa7}
body.accounting-workspace :is(.positive){color:#83d6ac}
body.accounting-workspace :is(.negative){color:#ffaaa7}
body.accounting-workspace :is(th,.ledger thead){background:#20242e}
body.accounting-workspace :is(td,th,fieldset,.metric,.tax-options,#gridForm>.scroll){border-color:#30343f}
body.accounting-workspace tbody tr:hover{background:#232735}
body.accounting-workspace .skip-link{background:#222630;color:#fff}
body.accounting-workspace :is(input,select,textarea):focus,body.accounting-workspace :focus-visible{outline:3px solid #bdb0ff;outline-offset:2px}
body.accounting-workspace dialog::backdrop{background:#05060bcc}
body.accounting-workspace .bar{background:#30343f}
body.accounting-workspace .bar span{background:#83d6ac}
body.accounting-workspace :is(#gridForm,.ledger-extra-filters,.ledger-file-menu>summary,.ledger-file-menu[open]>.toolbar){background:#1b1e27;border-color:#30343f}
body.accounting-workspace .ledger-filter-totals .metric:last-child b{color:#bdb0ff}
body.accounting-workspace .ledger td:first-child a{color:#bdb0ff}
body.accounting-workspace .ledger :is(input,select):disabled{background:#191c24;color:#aeb6c7;opacity:1}
body.accounting-workspace .tax-result{background:#29243b}
.wait-openings{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:10px}.wait-openings>div{display:flex;flex-wrap:wrap;gap:8px;padding:12px;border:1px solid #dde1ec;border-radius:8px}.wait-openings strong{flex-basis:100%;font-size:14px}
:root{font-family:Inter,"Segoe UI",system-ui,sans-serif;color:#202638;background:#f1f3f8;--accent:#6354d9;--line:#dde1ec;--muted:#667085;accent-color:var(--accent)}
body{background:#f1f3f8;color:#202638;line-height:1.45}
body>aside{box-sizing:border-box;width:204px;padding:24px 14px;background:#191d2c;color:#ccd0df;border-right:0;min-height:calc(100vh - 48px);align-self:stretch}
body>aside .brand{display:block;color:#fff;font-size:18px;letter-spacing:-.6px;text-decoration:none;white-space:nowrap}
body>aside a{color:#c3baff}body>aside a:hover{color:white}
body>aside>p{color:#9aa3bb;font-size:12px;margin:8px 8px 24px}
body>aside nav{display:grid;gap:4px}
body>aside .nav-section-label{color:#8d97b1;font-size:10px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;padding:14px 12px 4px}
body>aside .nav-section-label:first-child{padding-top:0}
.settings-intro{color:#667085;margin:0 0 20px}
.settings-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:12px;max-width:1100px}
.settings-grid .settings-tile{position:relative;display:flex;flex-direction:column;gap:8px;min-height:112px;padding:20px 44px 20px 20px;text-align:left;text-decoration:none;color:#23283b;border:1px solid #dce0eb;border-radius:12px;background:#fff;box-shadow:0 2px 5px #202b4510}
.settings-grid .settings-tile:hover{border-color:#8c7ce5;background:#f8f7ff}
.settings-tile strong{font-size:15px}.settings-tile>span:not(.settings-arrow){font-size:13px;line-height:1.5;color:#667085;font-weight:400}
.settings-tile .settings-arrow{position:absolute;right:20px;top:20px;color:#7565d9}
.settings-back{margin-bottom:16px}
@media(max-width:650px){body>aside .nav-section-label{display:none}.settings-grid{grid-template-columns:1fr}.settings-grid .settings-tile{min-height:96px;padding:16px 40px 16px 16px}}
body>aside nav button,body>aside nav a{box-sizing:border-box;display:block;width:100%;text-align:left;border:0;border-radius:7px;background:transparent;color:#bcc4d8;padding:9px 12px;font-size:14px;font-weight:500;text-decoration:none;min-height:38px}
body>aside nav button:hover,body>aside nav a:hover{background:#292e43;color:#fff}
body>aside nav button.active,body>aside nav a.active{background:#6354d9;color:#fff;box-shadow:0 3px 10px #080b2026}
body>aside>small{display:block;color:#929db7;font-size:12px;line-height:1.6;margin:24px 10px}
body>main{padding:22px 26px;max-width:none;min-width:0}
main>header{gap:16px;align-items:center;margin-bottom:16px;padding-bottom:16px;border-bottom:1px solid var(--line)}
header h1{font-size:25px;letter-spacing:-.8px;line-height:1.2;margin:4px 0 0;font-weight:650}
header small{font-size:11px;font-weight:650;letter-spacing:1.5px;color:var(--muted)}
h2{font-size:18px;letter-spacing:-.35px;margin:0 0 12px}h3{font-size:16px;margin:0 0 10px}
p{line-height:1.5}small,.muted{color:var(--muted)}
button,input,select,textarea{font-family:inherit;font-size:14px}
button{border:1px solid #d7dce8;border-radius:7px;padding:8px 12px;background:white;color:#30384c;font-weight:550;min-height:36px;transition:background .12s,border-color .12s}
button:hover:not(:disabled){background:#f0eefb;border-color:#b5aced}
body>aside nav button.active:hover{background:#7465e8;color:white}
button.primary,.primary{background:var(--accent);border-color:var(--accent);color:white}
button.primary:hover:not(:disabled){background:#5143bf;border-color:#5143bf}
button:disabled{opacity:.5;cursor:not-allowed}
input,select,textarea{box-sizing:border-box;max-width:100%;border:1px solid #cdd3e0;border-radius:6px;background:#fff;color:#252d40;padding:8px 10px;min-height:36px}
input[type=checkbox],input[type=radio]{min-height:0;width:16px;height:16px;flex-shrink:0}
label{font-size:14px;gap:6px;color:#3e465b}
:focus-visible{outline:3px solid #a69bee;outline-offset:2px}
.panel,.card{padding:18px;margin-bottom:14px;border:1px solid var(--line);border-radius:10px;background:white;box-shadow:0 2px 4px #20263803}
.toolbar,.calendar-toolbar{gap:10px;margin:0 0 14px;align-items:center}
.toolbar h2{margin:0}.studio-cards{gap:14px}
#status{font-size:13px;padding:8px 12px;margin:0 0 16px;border-radius:6px;background:#e9edf7;color:#465272;line-height:1.5}
#status:empty{display:none}.notice{padding:12px 14px;font-size:14px;border-radius:7px;line-height:1.5}
td,th{padding:10px;font-size:14px}th{color:#5e687d;background:#f6f7fb;font-weight:600}
tbody tr:hover{background:#fafaff}.ledger input,.ledger select{min-height:38px}
fieldset{padding:14px;margin:14px 0;border-color:var(--line);border-radius:7px}
dialog{border:1px solid var(--line);border-radius:12px;padding:22px;box-shadow:0 24px 90px #11182a40}
dialog::backdrop{background:#14182770;backdrop-filter:blur(3px)}
.client-profile-grid aside{min-height:0;width:auto;padding:18px;background:white;border:1px solid var(--line);border-radius:10px}
.compact-availability{max-width:none}.compact-availability .panel{padding:16px 18px;margin-bottom:12px}
.pattern-heading,.week-picker{margin-bottom:12px}.cycle-controls,.shared-hours{gap:12px}
.working-days{gap:6px}.working-days label{padding:6px 9px}
.working-days label:has(:checked){background:#eeebff;border-color:#a99ce7}.working-days input,.global-earliest input{accent-color:var(--accent)}
.compact-day{padding:8px 0;gap:10px}.global-earliest{padding:10px 0}
.availability-save{background:#f1f3f8eb;border-top:1px solid var(--line);padding:10px 0;backdrop-filter:blur(8px)}
#customerChangePolicy{align-self:start}
#customerChangePolicy p{font-size:14px;color:var(--muted);margin:0 0 16px}
#customerChangePolicy label{margin-bottom:14px}
#customerChangePolicy label:has(input[type=checkbox]){display:flex;align-items:center}
#customerChangePolicy button{width:100%}
.month-day-heading{height:32px}.month-vertical-time{height:170px;margin-top:5px}
.vertical-month .calendar-day{padding:5px 5px 8px}.vertical-month{min-width:840px}
.calendar-day.today{background:#f4f1ff}.month-booking{background:#eeebff;border-left-color:#7565dd;color:#392e76}
.month-booking.completed{background:#edeaf8;color:#443d61}.month-unavailable span{background:#d4d8e2;border-color:#c5cbd7}.calendar-grid>.weekday{background:#edf0f7}
.month-axis{color:#6b7286}.calendar-grid{border-color:var(--line)}
.intake-question .toolbar{gap:6px;margin-bottom:12px}.intake-question{margin:0 0 12px}
#intakeQuestions textarea{min-height:70px}#intakeLimit{display:flex;flex-wrap:wrap;align-items:end;gap:14px}
#intakeLimit label{margin:0}#intakeLimit small{max-width:440px}
#messageSettings details{padding:10px;margin:10px 0;border-color:var(--line)}
.account-body .account-main{max-width:1160px;margin:auto}.account-body .auth-panel{box-shadow:0 16px 50px #2026380d}
@media(min-width:1180px){
 #content:has(>#availabilityForm){display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:18px;align-items:start}
 #availabilityForm{grid-column:1;grid-row:1}#customerChangePolicy{grid-column:2;grid-row:1}
 #intakeEditor{display:grid;grid-template-columns:300px minmax(0,1fr);gap:16px;align-items:start}
 #intakeEditor>.toolbar{grid-column:1/-1}#intakeEditor>.panel{grid-column:1;grid-row:2}
 #intakeQuestions{grid-column:2;grid-row:2 / span 4}#intakeEditor>#intakePreview{grid-column:1/-1}
 #content:has(>#messageSettings){display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;align-items:start}
 #content:has(>#messageSettings)>h2,#content:has(>#messageSettings)>.notice{grid-column:1/-1;margin:0}
}
@media(max-width:1179px){#customerChangePolicy{margin-top:14px}#content:has(>#availabilityForm){display:flex;flex-direction:column}#availabilityForm{order:-1;width:100%}#customerChangePolicy{width:100%;box-sizing:border-box}}
@media(max-width:800px){body>aside{width:176px;padding:20px 10px}body>main{padding:18px}body>aside .brand{font-size:16px}.shared-hours{grid-template-columns:1fr 1fr}.shared-hours>:last-child{grid-column:1/-1}.compact-day{grid-template-columns:90px 1fr 1fr}.compact-day>:last-child{grid-column:1/-1}}
@media(max-width:650px){body>aside{width:100%;min-height:0;padding:12px 14px}body>aside>p,body>aside>small{display:none}body>aside nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));overflow:visible;gap:5px;margin-top:10px;padding-bottom:2px}body>aside nav button,body>aside nav a{width:100%;min-width:0;white-space:normal;text-align:center;overflow-wrap:anywhere;min-height:40px;padding:8px 5px}body.accounting-workspace>aside nav{grid-template-columns:repeat(2,minmax(0,1fr))}body>main{padding:16px 12px}main>header{flex-direction:row;align-items:center}header h1{font-size:23px}.panel,.card{padding:14px}.compact-availability .panel{padding:14px}.cycle-controls{flex-wrap:wrap}.client-profile-grid{grid-template-columns:1fr}#intakeLimit{display:block}.account-body .account-main{padding:16px}button,input,select{min-height:40px}input[type=checkbox],input[type=radio]{min-height:0}}
@media(prefers-reduced-motion:reduce){button{transition:none}}
.ledger-extra-filters{padding:10px 12px;background:#f0f1f7;border-radius:8px;align-items:end;gap:12px}
.ledger-filter-menu{margin:0 0 10px}.ledger-filter-menu:not([open])>.ledger-extra-filters{display:none}.ledger-filter-menu>summary{display:inline-flex;align-items:center;min-height:38px;padding:8px 14px;border:1px solid var(--line);border-radius:8px;background:var(--panel);font-weight:700;cursor:pointer;list-style:none}.ledger-filter-menu>summary::-webkit-details-marker{display:none}.ledger-filter-menu>summary::after{content:'▾';margin-left:9px}.ledger-filter-menu[open]>summary{margin-bottom:8px}.ledger-filter-menu[open]>summary::after{content:'▴'}
.ledger-extra-filters label{font-size:14px}.ledger-extra-filters label:last-child{display:flex;align-items:center;gap:8px;padding-bottom:8px}
.ledger-filter-totals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:14px 0 8px}
.ledger-filter-totals .metric{padding:12px 16px;background:white;border:1px solid #e0e2ed;border-radius:8px;display:flex;flex-direction:column;gap:5px}
.ledger-filter-totals .metric span{font-size:14px;color:#62677a}.ledger-filter-totals .metric b{font-size:22px}
#accountingFinance>.panel{margin-bottom:16px}#accountingFinance>.panel p{font-size:14px;line-height:1.5}
@media(max-width:650px){.ledger-filter-totals{grid-template-columns:1fr}.ledger-extra-filters{align-items:stretch}}
#feeTerms .form-grid,#bookingRules .form-grid,#depositReceipt .form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px;align-items:start;margin:12px 0}
#feeTerms label,#bookingRules label,#depositReceipt label{display:block;font-size:14px}
#feeTerms .form-grid input,#feeTerms .form-grid select,#bookingRules .form-grid input,#bookingRules .form-grid select,#depositReceipt .form-grid input,#depositReceipt .form-grid select{display:block;width:100%;margin-top:5px}
#feeTerms [hidden]{display:none!important}
#content:has(#feeTerms)>.panel p,#content:has(#bookingRules)>.panel p{font-size:14px;line-height:1.5;margin:10px 0}
#content:has(#bookingRules)>.panel{padding:18px}
[data-paid] input:not([type=checkbox]),[data-settle] input:not([type=checkbox]){max-width:190px}
[data-paid] label,[data-settle] label{display:block;font-size:14px;margin:6px 0}

/* Accounting: a compact workbench, with the ledger as the primary surface. */
.accounting-workspace{background:#f5f6fa;font-variant-numeric:tabular-nums}
.accounting-workspace>main{padding:16px 22px}
.accounting-workspace main>header{padding-bottom:12px;margin-bottom:10px;gap:12px}
.accounting-workspace header h1{font-size:24px;letter-spacing:-.7px}
.accounting-workspace header small{font-size:12px;letter-spacing:1px}
.accounting-workspace #reportForm{gap:6px}
.accounting-workspace #reportForm label{gap:3px}
.accounting-workspace #activePeriod{margin-top:4px;font-size:12px;letter-spacing:0}
.accounting-workspace #status{background:transparent;border-radius:0;padding:0;margin:0 0 10px;font-size:12px;color:#606b80}
.accounting-workspace #status.error{padding:8px 10px;color:#a12822;background:#fff0ee;border-left:3px solid #c74a40}
.accounting-workspace .cards{gap:0;margin:0 0 14px;border:1px solid var(--line);border-radius:10px;overflow:hidden;background:white}
.accounting-workspace .cards .card{border:0;border-right:1px solid var(--line);border-radius:0;box-shadow:none;margin:0;padding:14px 18px}
.accounting-workspace .cards .card:last-child{border-right:0}
.accounting-workspace .with-tax .cards{grid-template-columns:repeat(3,minmax(0,1fr))}
.accounting-workspace>aside nav button:not(.active):hover{background:#292e43;color:#fff}
.accounting-workspace .card strong{font-size:27px;letter-spacing:-1px;margin:5px 0}
.accounting-workspace .card p{margin:0;color:var(--muted);font-size:13px}
.accounting-workspace .panel{padding:16px;margin-bottom:12px;box-shadow:none}
.accounting-workspace .panel p{margin:8px 0}
.accounting-workspace td,.accounting-workspace th{padding:8px 10px}
.accounting-workspace .ledger-file-menu{position:relative;margin:0 0 8px;text-align:right}
.accounting-workspace summary{cursor:pointer;font-size:14px;font-weight:550}
.accounting-workspace .ledger-file-menu>summary{display:inline-block;padding:7px 11px;border:1px solid var(--line);border-radius:6px;background:white;list-style:none}
.accounting-workspace .ledger-file-menu>summary::after{content:' ▾';color:var(--accent)}
.accounting-workspace .ledger-file-menu[open]>.toolbar{display:flex;text-align:left;padding:12px;margin:6px 0 0;border:1px solid var(--line);border-radius:8px;background:#fff}
.accounting-workspace .ledger-extra-filters{display:grid;grid-template-columns:minmax(145px,1fr) minmax(145px,1fr) minmax(190px,1.5fr) minmax(190px,1.4fr) auto auto;gap:8px;background:white;border:1px solid var(--line);padding:10px;border-radius:9px;margin:0 0 10px;align-items:end}
.accounting-workspace .ledger-extra-filters label{min-width:0;font-size:12px;gap:4px;padding:0}
.accounting-workspace .ledger-extra-filters label:has(#reviewOnly){grid-row:2;grid-column:1/-1;display:flex;align-items:center;font-size:13px;margin:0}
.accounting-workspace .ledger-extra-filters label:has(#search){grid-column:3;grid-row:1}
.accounting-workspace .ledger-extra-filters label:has(#filter){grid-column:4;grid-row:1}
.accounting-workspace .ledger-extra-filters button{grid-row:1}
.accounting-workspace .ledger-filter-totals{display:flex;gap:0;border-bottom:1px solid var(--line);margin:0;background:transparent}
.accounting-workspace .ledger-filter-totals .metric{flex:1;flex-direction:row;align-items:baseline;gap:8px;padding:10px 14px;border:0;border-radius:0;background:transparent}
.accounting-workspace .ledger-filter-totals .metric:first-child{padding-left:0}
.accounting-workspace .ledger-filter-totals .metric b{font-size:22px;letter-spacing:-.6px;white-space:nowrap}
.accounting-workspace .ledger-filter-totals .metric:last-child b{color:#5143bf}
.accounting-workspace .ledger-summary{padding:8px 0;gap:8px;font-size:13px}
.accounting-workspace .ledger-summary button{padding:4px 9px;min-height:30px;font-size:13px}
.accounting-workspace #gridForm{background:white;border:1px solid var(--line);border-radius:9px;overflow:hidden}
.accounting-workspace #gridForm>.toolbar{margin:0;padding:8px 10px;gap:6px;border-bottom:1px solid var(--line)}
.accounting-workspace #gridStatus{font-size:12px;color:var(--muted);margin-left:auto}
.accounting-workspace #gridForm>.scroll{border:0;border-radius:0;max-height:65vh;min-height:240px}
.accounting-workspace .ledger{min-width:900px}
.accounting-workspace .ledger th{background:#f0f2f8;padding:9px 10px;font-size:12px}
.accounting-workspace .ledger td{padding:0;border-color:#30343f;background:#1b1e27;color:#e8eaf1}
.accounting-workspace .ledger :is(td:first-child,td:nth-child(2),td:last-child){background:#20242e;color:#aeb6c7}
.accounting-workspace .ledger tr.changed td{background:#332f24}
.accounting-workspace .ledger input,.accounting-workspace .ledger select{min-height:36px;padding:7px 9px;font-size:14px}
.accounting-workspace .ledger td:first-child{font-size:12px;max-width:75px}
.accounting-workspace .ledger td:first-child a{display:block;font-size:11px;padding:2px 4px;color:#6354d9;text-decoration:none;line-height:1.2}
.accounting-workspace .ledger td:last-child{width:42px;min-width:42px;text-align:center}
.accounting-workspace .ledger-remove{display:inline-grid;width:28px;height:28px;min-height:0;padding:0;border:0;border-radius:50%;place-items:center;background:transparent;color:var(--muted);font-size:20px;line-height:1}
.accounting-workspace .ledger-remove:hover:not(:disabled),.accounting-workspace .ledger-remove:focus-visible{background:#f2e9eb;color:#9b2f45}
.accounting-workspace .ledger-remove:disabled{visibility:hidden}
.accounting-workspace .ledger tr[data-auto-blank="true"] .ledger-remove{visibility:hidden}
.accounting-workspace .ledger input:disabled,.accounting-workspace .ledger select:disabled{color:#626d82;opacity:1;background:#f8f9fc}
.accounting-workspace .ledger-help{margin:8px 0;color:var(--muted)}
.accounting-workspace .ledger-help summary{font-size:12px}.accounting-workspace .ledger-help p{font-size:13px;margin:6px 0}
.accounting-workspace #page.with-tax{grid-template-columns:minmax(0,1fr) 360px;gap:14px}
.accounting-workspace .tax-panel{padding:14px}.accounting-workspace .tax-panel .notice{padding:8px 10px}
.accounting-workspace .tax-panel .reportgrid{gap:8px}.accounting-workspace .tax-panel .metric{padding:8px 0}
.accounting-workspace .tax-result{padding:14px;background:#f0edff}.accounting-workspace .tax-result strong{margin:6px 0;font-size:27px}
.accounting-workspace .tax-panel .scroll{margin-top:12px}
.accounting-workspace #accountingFinance{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);gap:12px;align-items:start}
.accounting-workspace #accountingFinance>.calendar-toolbar,.accounting-workspace #accountingFinance>p,.accounting-workspace #accountingFinance>label,.accounting-workspace #accountingFinance>button,.accounting-workspace #accountingFinance>.panel:has(#bookingRules){grid-column:1/-1}
.accounting-workspace #accountingFinance>.panel{min-width:0;margin:0}
.accounting-workspace #accountingFinance>.calendar-toolbar{display:flex;justify-content:space-between;gap:12px;margin:0}
.accounting-workspace #accountingFinance>.calendar-toolbar h2{display:none}
.accounting-workspace #accountingFinance #financeMessage:empty{display:none}
.accounting-workspace .fee-period-sessions>summary{cursor:pointer;list-style-position:outside;margin-left:14px}
.accounting-workspace .fee-period-sessions>summary small{margin-top:3px;color:var(--muted)}
.accounting-workspace .fee-session-list{display:grid;gap:8px;margin:10px 0 2px;min-width:360px}
.accounting-workspace .fee-session{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px;border:1px solid var(--line);border-radius:8px;background:#222630}
.accounting-workspace .fee-session span,.accounting-workspace .fee-session small{display:block}.accounting-workspace .fee-session small{margin-top:3px;color:var(--muted)}
.accounting-workspace .fee-session a{white-space:nowrap}
.accounting-workspace .home-simple{max-width:none}
.accounting-workspace .home-simple .panel{padding:16px}
.accounting-workspace .home-simple label{margin:8px 0}
.accounting-workspace .room-card{padding:10px 12px;margin:8px 0;gap:4px 12px;background:#f8f9fc}
@media(min-width:1101px){
 .accounting-workspace #homeForm{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;align-items:start}
 .accounting-workspace #homeForm>.notice,.accounting-workspace #homeForm>.panel:has([name=weeklyHours]){grid-column:1/-1;margin:0}
 .accounting-workspace #homeForm>.panel:has([name=weeklyHours]){display:grid;grid-template-columns:200px 220px 1fr;gap:16px;align-items:center}
 .accounting-workspace #homeForm>.panel{margin:0;min-width:0}
 .accounting-workspace #homeForm>.panel:has([name=weeklyHours]) h2{margin:0}
 .accounting-workspace #homeForm .room-bill{grid-template-columns:minmax(0,1fr) 120px;gap:12px}
}
@media(max-width:1450px){.accounting-workspace .ledger-extra-filters{grid-template-columns:repeat(4,minmax(0,1fr))}.accounting-workspace .ledger-extra-filters button{grid-row:2}.accounting-workspace .ledger-extra-filters label:has(#reviewOnly){grid-column:1/3}.accounting-workspace .with-tax .ledger-extra-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.accounting-workspace .with-tax .ledger-extra-filters label:has(#search),.accounting-workspace .with-tax .ledger-extra-filters label:has(#filter){grid-column:auto;grid-row:2}.accounting-workspace .with-tax .ledger-extra-filters label:has(#reviewOnly){grid-row:3}.accounting-workspace .with-tax .ledger-extra-filters button{grid-row:4}.accounting-workspace .with-tax .ledger-filter-totals .metric{flex-direction:column;gap:2px}}
@media(max-width:1100px){.accounting-workspace #page.with-tax{grid-template-columns:minmax(0,1fr)}.accounting-workspace #accountingFinance{grid-template-columns:minmax(0,1fr)}.accounting-workspace .with-tax .cards{grid-template-columns:repeat(3,1fr)}}
@media(max-width:650px){.accounting-workspace>main{padding:12px}.accounting-workspace main>header{align-items:start;flex-direction:column}.accounting-workspace #reportControls{width:100%}.accounting-workspace .cards,.accounting-workspace .with-tax .cards{grid-template-columns:1fr}.accounting-workspace .cards .card{display:grid;grid-template-columns:1fr auto;border-right:0;border-bottom:1px solid var(--line);padding:10px 12px}.accounting-workspace .card p{grid-column:1/-1}.accounting-workspace .card strong{font-size:23px;margin:0}.accounting-workspace .ledger-extra-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.accounting-workspace .ledger-extra-filters label:has(#search),.accounting-workspace .ledger-extra-filters label:has(#filter){grid-column:auto;grid-row:2}.accounting-workspace .ledger-extra-filters label:has(#reviewOnly){grid-row:3;grid-column:1/-1}.accounting-workspace .ledger-extra-filters button{grid-row:4}.accounting-workspace .ledger-filter-totals .metric{flex-direction:column;gap:2px;padding:8px}.accounting-workspace .ledger-filter-totals .metric b{font-size:18px}.accounting-workspace .ledger-filter-totals .metric span{font-size:12px}.accounting-workspace #gridStatus{margin:0;flex-basis:100%}.accounting-workspace #gridForm>.toolbar button{font-size:13px;padding:7px}.accounting-workspace .ledger-file-menu[open]>.toolbar{align-items:stretch;flex-direction:column}.accounting-workspace .ledger-file-menu .toolbar label{width:100%}}
.accounting-workspace .category-group-toggle{background:transparent;color:#e8eaf1}.accounting-workspace .category-group-toggle[aria-expanded="true"]{background:#29243b;border-color:#8069ee}.accounting-workspace .category-contributors>td{background:#151820}.accounting-workspace .category-contributors table{background:#1b1e27}
