[hidden]{display:none!important}aside label{color:white}aside select{width:100%;color:#142c3b}.login-panel{max-width:480px;margin:7vh auto}.workspace-form{display:grid;gap:12px}.workspace-form .form-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px}.workspace-form label{margin:0}.workspace-form select{width:100%}.stack{display:grid;gap:20px}.error{color:#9e2929;background:#fff0ed;padding:12px;border-radius:8px}.muted:empty{display:none}.selector-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px}.selector-grid select{width:100%}.actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}summary{cursor:pointer;font-weight:600;padding:8px 0}td button{white-space:nowrap}.table-wrap{margin-top:16px}button:disabled{cursor:wait;opacity:.6}input,select{min-height:44px}.line-form{border-top:1px solid #dde5e0;padding-top:18px;margin-top:18px}h3{margin-top:0}
#toast.visible{display:block}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}#workspace-nav{margin-top:24px}#workspace-nav button{display:block;width:100%;text-align:left;border:0;color:#d4e0e3;background:transparent;margin:4px 0}#workspace-nav button.active,#workspace-nav button:hover{background:#294958;color:white}.event-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:22px}.event-card{text-align:left;padding:28px;min-height:215px;border-radius:14px;background:white;display:flex;flex-direction:column;align-items:flex-start;gap:16px}.event-card:hover{border-color:var(--primary);background:#fafffd}.event-card>span:last-child{color:var(--primary);font-size:13px}.event-monogram{display:grid;place-items:center;width:46px;height:46px;border-radius:12px;background:var(--soft);font-size:22px;color:var(--primary)}.empty-state{text-align:center;padding:60px 28px}.empty-state p{max-width:500px;margin:10px auto 24px;color:var(--muted)}.empty-symbol{color:var(--primary);font-size:36px;margin-bottom:16px}.welcome-panel{background:var(--navy);color:white;padding:32px;border-radius:14px;display:flex;justify-content:space-between;gap:20px;margin-bottom:24px}.welcome-panel .eyebrow{color:#a7d6c9}.welcome-panel h2{font-size:27px}.welcome-panel p{color:#d4e0e3;margin:0}.edition-stamp{font-size:34px;color:var(--accent);align-self:center;font-weight:650}.workspace-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.workspace-grid .panel{display:flex;flex-direction:column;align-items:flex-start}.workspace-grid .panel-head{width:100%}.workspace-grid .panel>p{flex:1;color:var(--muted)}.section-heading{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:24px}.race-item{display:flex;justify-content:space-between;gap:20px;align-items:center}.race-item p{margin:0}.budget-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.budget-status{display:flex;gap:12px;align-items:center;margin:12px 0 20px;font-size:13px;color:var(--muted)}.controls label{margin:0;display:flex;gap:8px;align-items:center}.dialog-top{margin-bottom:22px}.dialog-actions{display:flex;justify-content:flex-end}dialog{width:min(620px,calc(100vw - 32px));max-height:90vh;overflow:auto}fieldset{border:1px solid var(--border);border-radius:8px;padding:16px;display:grid;gap:14px}legend{font-weight:650;font-size:13px;padding:0 6px}.check{display:flex;align-items:center;gap:10px}.check input{width:20px;min-height:20px;margin:0}aside button:focus-visible{outline-color:var(--accent)}@media(max-width:720px){#workspace-nav{display:flex;flex-wrap:wrap;margin-top:12px}#workspace-nav button{width:auto}#workspace-nav .nav-label{display:none}.workspace-grid{grid-template-columns:1fr}.budget-metrics{grid-template-columns:1fr}.section-heading{align-items:flex-start;flex-direction:column}.welcome-panel{padding:24px}.edition-stamp{display:none}.controls{margin-top:18px}.controls label{display:block}.race-item{align-items:flex-start;flex-direction:column}.budget-status{align-items:flex-start}.page-title>button{margin-top:18px}dialog{padding:20px}.form-row{grid-template-columns:1fr}}
.overview-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px}.overview-heading h2{font-size:30px;margin:0 0 8px}.overview-heading p{color:var(--muted);margin:0}.overview-metrics .value{font-size:27px}.overview-columns{display:grid;grid-template-columns:1.25fr 1fr;gap:24px}.attention-item{border-top:1px solid var(--border);padding:20px 0;display:flex;align-items:center;justify-content:space-between;gap:18px}.attention-item:last-child{padding-bottom:0}.attention-item p,.schedule-item p{font-size:13px;color:var(--muted);margin:5px 0 0}.attention-item button{flex-shrink:0;font-size:13px}.schedule-item{display:flex;gap:18px;padding:17px 0;border-top:1px solid var(--border)}.schedule-item time{font-size:18px;font-weight:650;color:var(--primary);font-variant-numeric:tabular-nums}.comparison{margin-top:24px}.comparison-basis,.overview-note{font-size:12px;color:var(--muted)}.overview-note{margin:20px 0 0}.comparison-basis{background:var(--canvas);padding:12px;border-radius:8px}@media(max-width:1100px){.overview-columns{grid-template-columns:1fr}.overview-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:720px){.overview-heading{align-items:flex-start}.overview-heading h2{font-size:25px}.attention-item{align-items:flex-start;flex-direction:column}.overview-metrics .value{font-size:22px}}
/* Budget planner: compact totals, separate ledgers and contextual editing. */
.budget-toolbar{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:20px}.budget-toolbar h2{font-size:23px;margin-bottom:4px}.budget-toolbar p{margin:0}.budget-summary{display:grid;grid-template-columns:1fr 1fr 1.15fr;border:1px solid var(--border);border-radius:12px;background:white;margin-bottom:22px;overflow:hidden}.budget-summary>div{display:flex;flex-direction:column;justify-content:center;padding:18px 24px;gap:5px;border-right:1px solid var(--border)}.budget-summary>div:last-child{border:0}.budget-summary span{font-size:12px;font-weight:600;color:var(--muted)}.budget-summary strong{font-size:28px;line-height:1.2;font-weight:650;font-variant-numeric:tabular-nums}.budget-summary .balance-total{background:var(--navy);color:white}.balance-total span,.balance-total small{color:#d4e0e3}.balance-total small{font-size:11px}.budget-intro{display:flex;gap:12px;align-items:baseline;margin-bottom:20px;font-size:13px;color:var(--muted)}.budget-intro strong{color:var(--text);white-space:nowrap}.budget-sheets{display:grid;gap:22px}.budget-sheet{background:white;border:1px solid var(--border);border-radius:12px;overflow:hidden}.sheet-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:20px 24px;border-bottom:1px solid var(--border)}.sheet-title{display:flex;align-items:center;gap:13px}.sheet-title h3{font-size:18px;margin:0 0 3px}.sheet-title p{font-size:12px;color:var(--muted);margin:0}.sheet-symbol{display:grid;place-items:center;width:36px;height:36px;background:var(--soft);color:var(--primary);border-radius:9px;font-size:22px}.cost-sheet .sheet-symbol{background:#fff0e5;color:#8a4b08}.sheet-heading>button{font-size:13px;color:var(--primary);border-color:#b7d5cd;white-space:nowrap}.sheet-empty{padding:22px 24px}.sheet-empty p{font-weight:600;margin-bottom:3px;font-size:14px}.sheet-empty>span{font-size:13px;color:var(--muted)}.quick-start{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}.quick-start button{font-size:12px;background:var(--canvas);font-weight:500}.quick-start button span{margin-left:12px;color:var(--primary)}.budget-sheet .table-wrap{margin:0}.budget-table th{padding:11px 22px}.budget-table th small{font-weight:400}.budget-table td{padding:15px 22px}.budget-table td:first-child{min-width:210px}.budget-table .line-total{font-weight:650}.budget-table td strong{font-weight:550}.budget-table tfoot td{font-size:13px;border-bottom:0}.budget-bottom{display:flex;align-items:flex-start;justify-content:space-between;gap:22px;margin-top:20px}.budget-help{max-width:650px;color:var(--muted);font-size:12px}.budget-help summary{font-weight:500;padding:0;min-height:44px}.budget-help p{margin-top:12px}.budget-lock{padding:12px 16px;background:var(--soft);border-radius:8px;font-size:13px}.line-drawer{position:fixed;inset:0 0 0 auto;margin:0;height:100dvh;max-height:100dvh;width:min(520px,100vw);border-radius:0;padding:26px 28px;border:0;border-left:1px solid var(--border);box-shadow:-10px 0 45px #142c3b20}.line-drawer .dialog-top{margin-bottom:8px}.line-drawer .workspace-form{gap:18px}.line-drawer .drawer-intro{margin:0 0 6px}.line-drawer .muted{margin:0}.line-drawer label{font-size:12px}.line-drawer select{margin-top:6px}.vat-details{padding:12px 0;border-top:1px solid var(--border);border-bottom:1px solid var(--border)}.vat-details summary{font-size:13px;padding:0}.vat-details .form-row{margin:14px 0}.line-preview{display:grid;grid-template-columns:1fr auto;gap:5px;padding:18px;background:var(--soft);border-radius:10px;color:var(--primary)}.line-preview span{font-size:13px;font-weight:600}.line-preview strong{font-size:24px;grid-row:span 2;font-variant-numeric:tabular-nums}.line-preview small{font-size:11px}.drawer-footer{position:sticky;bottom:-26px;display:flex;justify-content:flex-end;gap:10px;background:white;padding:16px 0;margin-top:2px;border-top:1px solid var(--border)}.action-group+.action-group{border-top:1px solid var(--border);margin-top:24px;padding-top:24px}.action-group .panel-head{margin-bottom:12px}main:has(.budget-toolbar) .page-title{margin-bottom:24px}main:has(.budget-toolbar) .page-title h1{font-size:29px}@media(max-width:720px){.budget-toolbar{align-items:flex-start;flex-direction:column}.budget-toolbar .controls{margin:0}.budget-summary>div{padding:14px 12px}.budget-summary strong{font-size:20px}.budget-summary small{font-size:10px}.budget-intro{flex-direction:column;gap:4px}.sheet-heading{padding:16px;align-items:flex-start}.sheet-title p{display:none}.sheet-empty{padding:18px 16px}.sheet-symbol{display:none}.budget-bottom{flex-direction:column;gap:12px}.budget-table th,.budget-table td{padding:12px 14px}.line-drawer{padding:22px}.drawer-footer{bottom:-22px}}

.check{display:flex;align-items:center;gap:.65rem}.check input[type="checkbox"]{width:1.2rem;height:1.2rem;flex:none}.vat-details label{margin-top:.8rem}

.vat-advanced{margin-top:1rem}.vat-advanced summary{font-size:.9rem;color:var(--muted)}#vat-breakdown{display:grid;gap:.55rem;margin-top:1rem}#vat-breakdown span{display:flex;justify-content:space-between;gap:1rem}#vat-breakdown span:last-child{border-top:1px solid #d6dfe0;padding-top:.65rem;color:#19313e}#vat-breakdown strong{font-variant-numeric:tabular-nums}

.race-plan-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;margin:1rem 0}.race-plan-stats small,.race-plan-stats strong{display:block}.race-plan-stats strong{font-size:1.35rem;margin-top:.4rem}.race-stage-summary>div{display:flex;justify-content:space-between;gap:1rem;border-top:1px solid #d6dfe0;padding:.8rem 0}.race-planner{width:min(760px,100vw)!important}.pricing-stage{margin:1rem 0;padding:1rem;border:1px solid #d6dfe0;border-radius:12px}.stage-heading{display:flex;align-items:end;gap:1rem}.stage-heading label{flex:1}.stage-heading button{margin-bottom:1rem}.race-plan-card .section-heading{margin-bottom:1rem}@media(max-width:600px){.race-plan-stats{grid-template-columns:1fr}.race-stage-summary>div{flex-direction:column;gap:.3rem}}

/* Race plans: a compact summary followed by an aligned pricing ledger. */
main:has(.race-page-heading) .page-title{margin-bottom:28px}main:has(.race-page-heading) .page-title h1{font-size:30px}.race-page-heading{margin-bottom:20px}.race-page-heading h2{font-size:22px;margin-bottom:6px}.race-page-heading p{margin:0}.race-card-list{display:grid;gap:22px}.race-card{background:#fff;border:1px solid var(--border);border-radius:14px;overflow:hidden;box-shadow:0 2px 5px #142c3b03}.race-card-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 24px}.race-identity{display:flex;align-items:center;gap:14px;min-width:0}.race-mark{width:40px;height:40px;display:grid;place-items:center;border-radius:11px;background:#edf3f2;color:var(--primary);font-size:23px;flex:none}.race-identity h3{font-size:19px;margin:0 0 4px;overflow-wrap:anywhere}.race-identity p{font-size:12px;color:var(--muted);margin:0}.race-identity p span{padding-left:8px;color:#75868c}.race-card-actions{display:flex;align-items:center;gap:14px;flex-shrink:0}.race-card-actions button{font-size:12px;padding:10px 14px;min-height:44px}.race-card-actions button span{margin-left:10px;color:var(--primary)}.plan-status{font-size:11px;font-weight:600;color:#8a591f;background:#fff3e5;padding:6px 10px;border-radius:20px;white-space:nowrap}.plan-status.complete{color:#006e67;background:#e6f3ef}.race-kpis{display:grid;grid-template-columns:1fr 1fr 1.15fr;margin:0 24px 20px;background:#f6f8f7;border:1px solid #e5ebe8;border-radius:10px;overflow:hidden}.race-kpis>div{padding:16px 20px;border-right:1px solid #e1e8e5}.race-kpis>div:last-child{border:0}.race-kpis dt{font-size:11px;color:var(--muted);margin-bottom:7px}.race-kpis dd{margin:0;font-size:25px;line-height:1.15;font-weight:650;font-variant-numeric:tabular-nums}.race-kpis dd.unset{font-size:19px;font-weight:500;color:#74838a}.race-kpis .race-income{background:#eaf4f1}.race-income dd{color:#006e67}.race-pricing-head{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:0 24px 12px}.race-pricing-head h4{font-size:12px;margin:0;font-weight:650}.race-pricing-head h4 span{display:inline-block;margin-left:7px;font-size:10px;border-radius:4px;background:#edf2f0;padding:2px 5px;color:var(--muted)}.race-pricing-head>span{font-size:11px;color:var(--muted)}.race-pricing-scroll{overflow-x:auto}.race-pricing-table{width:100%;min-width:600px;margin:0;border-collapse:collapse;table-layout:auto}.race-pricing-table thead th{font-size:10px;font-weight:600;color:var(--muted);background:#f8faf9;padding:10px 24px;border-top:1px solid #e6ece9;border-bottom:1px solid #e6ece9}.race-pricing-table tbody th,.race-pricing-table tbody td{padding:14px 24px;font-size:12px;border-bottom:1px solid #edf1ef;background:white}.race-pricing-table tbody th{font-weight:600;text-align:left;min-width:120px}.race-pricing-table tbody td:nth-child(2){white-space:nowrap;font-size:11px;color:var(--muted)}.race-pricing-table tbody td:last-child{font-weight:650}.race-pricing-table tbody tr:last-child>*{border-bottom:0}.race-pricing-table .num{text-align:right;font-variant-numeric:tabular-nums}.date-separator{padding:0 5px;color:#91a09e}.race-plan-empty{margin:0 24px 22px;display:flex;align-items:center;justify-content:space-between;gap:20px;border:1px dashed #d6e0dc;border-radius:9px;padding:18px;background:#fbfcfb}.race-plan-empty strong{font-size:13px}.race-plan-empty p{font-size:12px;color:var(--muted);margin:5px 0 0;max-width:450px}.race-plan-empty button{color:var(--primary);font-size:12px;white-space:nowrap;background:white}.race-plan-gap{padding:12px 24px;background:#fff8ee;color:#82551f;font-size:12px}.race-forecast-help{font-size:12px;color:var(--muted);margin-top:16px;max-width:780px}.race-forecast-help summary{font-weight:500;min-height:44px}.race-forecast-help p{margin-top:4px;line-height:1.6}@media(max-width:900px){.race-card-head{align-items:flex-start}.race-card-actions{flex-direction:column-reverse;align-items:flex-end;gap:8px}.race-pricing-table thead th,.race-pricing-table tbody th,.race-pricing-table tbody td{padding-left:16px;padding-right:16px}}@media(max-width:600px){.race-card-head{padding:16px}.race-mark{display:none}.race-identity h3{font-size:18px}.race-identity p span{display:none}.race-kpis{margin:0 16px 16px;grid-template-columns:1fr 1fr}.race-kpis>div{padding:14px}.race-kpis>div:nth-child(2){border:0}.race-kpis .race-income{grid-column:1/-1;border-top:1px solid #e1e8e5;display:flex;align-items:center;justify-content:space-between;gap:12px}.race-kpis .race-income dt{margin:0}.race-kpis dd{font-size:22px}.race-pricing-head{padding:0 16px 12px;flex-wrap:wrap}.race-plan-empty{margin:0 16px 16px;flex-direction:column;align-items:flex-start;gap:14px}.race-plan-gap{padding:12px 16px}.plan-status{font-size:10px}.race-card-actions{max-width:150px}.race-page-heading{align-items:flex-start;gap:16px}.race-page-heading h2{font-size:20px}}

/* Company team administration */
.team-panel{padding:0;overflow:hidden;margin-bottom:24px}.team-panel h2{margin:0;font-size:20px}.team-panel .sheet-heading p{margin-bottom:0}.team-table{width:100%;border-collapse:collapse}.team-table th,.team-table td{text-align:left;padding:18px 24px;border-bottom:1px solid var(--border);vertical-align:middle}.team-table th{font-size:12px;color:var(--muted);background:#f5f8f7}.team-table small{display:block;color:var(--muted);font-size:12px;margin-top:5px}.team-table td:last-child{text-align:right}.team-help{padding:24px;background:#f5f8f7}.team-help p{font-size:14px;color:var(--muted);max-width:760px}.team-help input{max-width:520px}.permission-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.permission-grid fieldset{margin:0;align-content:start}.permission-grid .check{font-size:14px;align-items:start;line-height:1.5}.team-editor{width:min(760px,calc(100vw - 32px));max-width:760px}.team-editor input[type=checkbox]{flex-shrink:0}.team-editor .dialog-actions{position:sticky;bottom:-28px;background:white;padding:20px 0}.login-panel>button{margin-top:16px;width:100%}@media(max-width:600px){.permission-grid{grid-template-columns:1fr}.team-table th,.team-table td{padding:12px}.team-table{min-width:600px}.team-panel .sheet-heading{gap:12px}.team-help{padding:18px}}

.entry-projection{margin:0 0 24px}.entry-projection h2{font-size:19px}.entry-projection .panel-head{gap:18px;flex-wrap:wrap}.entry-projection-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:20px;padding-top:12px}.entry-projection-metrics span,.entry-projection-metrics small{display:block;color:var(--muted);font-size:12px}.entry-projection-metrics strong{display:block;font-size:23px;margin:8px 0;color:var(--primary)}.projection-warning{color:#80531b;background:#fff6e7;padding:10px 14px;border-radius:8px;font-size:13px;margin-top:16px}.entry-projection-metrics small{line-height:1.5}

/* Shared controls: consistent arrow inset and space between labels and controls. */
select:not([multiple]):not([size]){appearance:none;-webkit-appearance:none;background-image:url('./chevron-down.svg');background-repeat:no-repeat;background-position:right 14px center;background-size:16px 16px;padding:10px 44px 10px 14px;line-height:1.5;min-width:0;max-width:100%}
.workspace-form label>select,.selector-grid label>select,aside label>select{display:block;margin-top:8px}
.workspace-form{gap:18px}.workspace-form>p{margin:0}.workspace-form label{line-height:1.5}
.dialog-actions{gap:10px;margin-top:8px}.dialog-top{gap:20px}.dialog-top>button{flex-shrink:0}
.workspace-address{display:flex;align-items:center;gap:12px;max-width:760px;margin:16px 0}
.workspace-address a{display:block;flex:1;min-width:0;overflow-wrap:anywhere;padding:12px 14px;background:white;border:1px solid var(--border);border-radius:8px;font-size:15px}
.workspace-address button{flex-shrink:0}
@media(max-width:600px){.workspace-address{align-items:stretch;flex-direction:column}.workspace-address button{align-self:flex-start}}
@media(forced-colors:active){select:not([multiple]):not([size]){appearance:auto;background-image:none;padding-right:12px}}

.cost-tracking{margin-top:24px}.cost-tracking>.muted{margin:18px 0 0}.cost-tracking .entry-projection-metrics{grid-template-columns:repeat(auto-fit,minmax(160px,1fr))}

.amount-breakdown span{display:flex;justify-content:flex-end;gap:12px;align-items:baseline;white-space:nowrap}.amount-breakdown span+span{margin-top:4px}.amount-breakdown small{display:inline;margin:0;font-weight:400}.vat-recovery{min-width:155px}.vat-recovery strong{font-weight:550}.vat-recovery small{white-space:nowrap}.cost-tracking th,.cost-tracking td{padding:14px 12px}

.settings-tabs{display:flex;gap:1.5rem;border-bottom:1px solid var(--border,#d4dfe1);margin-bottom:1.5rem}.settings-tabs button{border:0;border-radius:0;background:transparent;padding:.8rem .25rem;border-bottom:3px solid transparent}.settings-tabs button[aria-current="page"]{color:#00766f;border-bottom-color:#00766f;font-weight:700}
#xero-results fieldset{max-height:18rem;overflow-y:auto}#xero-results .check{padding:.65rem .25rem;border-bottom:1px solid #e6ecec}

.unified-costs{min-width:920px}.unified-costs td{vertical-align:top}.unified-costs small{display:block;color:var(--muted);margin-top:5px}.unified-costs details{margin-top:10px;font-size:13px}.unified-costs details p{margin:5px 0}.unified-costs details>div{margin:12px 0}.cost-actions{display:flex;flex-direction:column;align-items:stretch;gap:8px}.cost-actions button{font-size:13px;padding:8px 12px}

.crm-entry{padding:1.5rem 0;border-bottom:1px solid var(--line,#d5dfe0)}
.crm-entry .race-kpis dd{font-size:1rem;overflow-wrap:anywhere}
.crm-compare{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem;margin:1rem 0}
.crm-compare p{overflow-wrap:anywhere}
@media(max-width:700px){.crm-compare{grid-template-columns:1fr}}
