/* Development costs shares the admin's typography, surfaces and orange accents. */
#section-costs{min-width:0}.cost-overview-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:6px 0 16px}.cost-overview-heading h2{font-size:19px;letter-spacing:-.5px}.cost-overview-heading .eyebrow{font-size:8px;margin-bottom:5px}.cost-scope{color:var(--muted);font-size:10px;border:1px solid var(--line);padding:6px 10px;border-radius:8px;background:var(--panel)}.cost-totals{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,370px),1fr));gap:16px;margin-bottom:16px}.cost-message{font-size:10px;color:var(--muted);line-height:1.7;margin:14px 2px 20px;overflow-wrap:anywhere}.cost-message:empty{display:none}.cost-message-error{color:var(--red);background:var(--red-bg);padding:12px 16px;border-radius:10px}
.costs-coverage{box-shadow:none}.costs-coverage summary,.costs-import summary{list-style:none;cursor:pointer;display:flex;gap:12px;align-items:center;padding:16px 20px}.costs-coverage summary::-webkit-details-marker,.costs-import summary::-webkit-details-marker{display:none}.costs-coverage summary strong,.costs-import summary strong{font-size:12px;display:block}.costs-coverage summary small,.costs-import summary small{font-size:10px;display:block;color:var(--muted);margin-top:3px}.cost-coverage-icon,.cost-import-icon{display:grid;place-items:center;flex-shrink:0;width:34px;height:34px;border-radius:10px;background:var(--accent-bg);color:var(--accent);font-size:17px;font-weight:750}.cost-expand{margin-left:auto;font-size:22px;color:var(--muted)}details[open]>.cost-expand{transform:rotate(45deg)}.costs-coverage>div{padding:0 20px 18px;color:var(--muted);font-size:11px;line-height:1.8}.costs-coverage ul{margin:8px 0 0;padding-left:18px}.costs-coverage li+li{margin-top:5px}
.costs-ledger .panel-heading{padding:22px;gap:16px}.costs-ledger .panel-heading h2{font-size:18px}.costs-ledger .panel-heading .button{flex-shrink:0;white-space:nowrap;gap:7px}.costs-ledger .panel-heading .button>span{font-size:20px;font-weight:400;line-height:1}.costs-ledger .panel-heading p.small{margin-top:5px;font-size:10px}.cost-filters{display:grid;grid-template-columns:minmax(130px,1fr) minmax(130px,1fr) auto auto;align-items:end;gap:12px;padding:18px 22px;border-bottom:1px solid var(--line);background:var(--panel)}.cost-filters label{min-width:0;font-size:10px;color:var(--muted)}.cost-filters input{width:100%;min-width:0;max-width:100%;font-size:12px;min-height:42px;margin-top:6px}.cost-filters .button{white-space:nowrap;min-height:42px;font-size:11px}
.cost-table-wrap{width:100%;min-width:0;overflow-x:auto}.cost-table{table-layout:fixed;width:100%;min-width:720px;border-collapse:collapse}.cost-table th{font-size:9px;letter-spacing:.3px;padding:13px 16px;white-space:normal}.cost-table th:nth-child(1){width:25%}.cost-table th:nth-child(2){width:20%}.cost-table th:nth-child(3){width:15%}.cost-table th:nth-child(4){width:16%}.cost-table th:nth-child(5){width:12%}.cost-table th:nth-child(6){width:12%}.cost-table td{padding:19px 16px;font-size:11px;vertical-align:middle;border-bottom:1px solid var(--line);overflow-wrap:anywhere}.cost-table tr:last-child td{border-bottom:0}.cost-table strong{font-size:12px;font-weight:750;display:block}.cost-table small{font-size:10px;display:block;color:var(--muted);margin-top:5px;line-height:1.5}.cost-provider>div{display:inline-block;vertical-align:middle;max-width:calc(100% - 42px)}.cost-provider-icon{display:inline-grid;place-items:center;width:32px;height:34px;margin-right:9px;border-radius:10px;background:var(--soft);color:var(--muted);font-size:13px;font-weight:750;vertical-align:middle}.cost-original strong,.cost-allocation strong{font-variant-numeric:tabular-nums}.cost-table .cost-document strong{font-weight:650;font-size:11px}.cost-table .row-action{font-size:10px;padding:8px 0;border:0;color:var(--accent);background:none;white-space:normal;text-align:left}.cost-table .badge{font-size:9px;white-space:nowrap}.cost-cell-label{display:none}.cost-voided{opacity:.6}.cost-pagination{display:flex;justify-content:flex-end;gap:10px;padding:16px 20px}.cost-pagination .button{font-size:11px;min-width:102px}.cost-empty{text-align:center;padding:38px 24px}.cost-empty>span{display:grid;place-items:center;margin:0 auto 16px;width:44px;height:44px;background:var(--soft);color:var(--muted);border-radius:13px;font-size:25px}.cost-empty>strong{display:block;font-size:15px}.cost-empty p{font-size:11px;color:var(--muted);max-width:360px;margin:8px auto 0;line-height:1.7}
.costs-import{margin-top:20px}.cost-import-body{padding:0 20px 20px}.cost-import-body>p{font-size:11px;color:var(--muted);line-height:1.7;margin:0 0 16px}.cost-import-body .button{font-size:11px}.cost-import-body label{margin:18px 0;font-size:11px}.cost-import-body input{font-size:12px;padding:10px;overflow:hidden}.cost-import-body pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:260px;overflow:auto;font-size:11px;line-height:1.7}.cost-import-body pre:empty{display:none}
.cost-dialog{width:min(760px,94vw);max-height:90dvh;border:1px solid var(--line);border-radius:18px;padding:26px;background:var(--panel);color:var(--ink)}.cost-dialog::backdrop{background:#12152080}.cost-dialog h2{font-size:23px;margin-bottom:8px}.cost-dialog form>p{font-size:12px;color:var(--muted);line-height:1.7;margin-bottom:20px}.cost-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.cost-form-grid label{display:flex;flex-direction:column;gap:6px;font-size:11px}.cost-full{grid-column:1/-1}.cost-dialog input,.cost-dialog select,.cost-dialog textarea{border:1px solid var(--line);border-radius:10px;padding:11px;background:var(--panel);color:inherit;width:100%;min-width:0;box-sizing:border-box;margin:0;font:inherit}.cost-dialog textarea{resize:vertical}.cost-dialog .form-actions{position:sticky;bottom:-26px;background:var(--panel);padding:16px 0;margin-top:20px;border-top:1px solid var(--line)}.cost-dialog [role=alert]{color:var(--red)}
@media(max-width:800px){
 .cost-overview-heading{margin-top:0;gap:8px}.cost-overview-heading h2{font-size:17px}.cost-scope{font-size:8px;padding:5px 7px}.cost-totals{grid-template-columns:minmax(0,1fr);gap:12px}.costs-coverage summary,.costs-import summary{padding:15px;gap:10px}.costs-coverage summary strong,.costs-import summary strong{font-size:11px}.costs-coverage summary small,.costs-import summary small{font-size:9px}.costs-coverage>div{padding:0 15px 15px}.cost-message{font-size:9px;margin:12px 0 18px}.costs-ledger{background:transparent;border:0;box-shadow:none;overflow:visible}.costs-ledger .panel-heading{padding:5px 0 15px;border:0;align-items:center}.costs-ledger .panel-heading h2{font-size:17px}.costs-ledger .panel-heading .eyebrow{font-size:8px}.costs-ledger .panel-heading .button{padding:10px 13px;font-size:11px}.cost-filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 10px;padding:16px;background:var(--panel);border:1px solid var(--line);border-radius:14px;margin-bottom:14px}.cost-filters input{font-size:16px;min-height:46px}.cost-filters .button{width:100%;font-size:11px;min-height:44px}.cost-table-wrap{overflow:visible}.cost-table,.cost-table tbody{display:block;width:100%;min-width:0}.cost-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.cost-table tbody{display:grid;gap:12px}.cost-table tr{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-areas:'provider status' 'original allocation' 'document document' 'action action';gap:16px 12px;background:var(--panel);border:1px solid var(--line);border-radius:15px;padding:17px;min-width:0;box-shadow:var(--shadow)}.cost-table td{display:block;padding:0;border:0;min-width:0;font-size:11px}.cost-table .cost-provider{grid-area:provider;display:flex;gap:8px;align-items:flex-start}.cost-provider>div{max-width:none;min-width:0}.cost-provider-icon{display:none}.cost-provider strong{font-size:13px}.cost-table .cost-status{grid-area:status;text-align:right}.cost-table .cost-original{grid-area:original}.cost-table .cost-allocation{grid-area:allocation;text-align:right}.cost-table .cost-document{grid-area:document;border-top:1px solid var(--line);padding-top:13px}.cost-table .cost-action{grid-area:action;border-top:1px solid var(--line);padding-top:4px;margin-top:-3px;text-align:right}.cost-cell-label{display:block;font-size:9px;color:var(--muted);font-weight:650;margin-bottom:5px}.cost-original strong,.cost-allocation strong{font-size:20px;letter-spacing:-.5px;line-height:1.3}.cost-table .cost-document strong{font-size:11px}.cost-table .cost-document small{display:inline-block;margin-right:8px}.cost-table .row-action{min-height:40px;font-size:11px;padding:7px 0 0 15px}.cost-table .badge{font-size:10px;padding:5px 9px}.cost-pagination{padding:16px 0 0;display:grid;grid-template-columns:1fr 1fr}.cost-pagination .button{width:100%;min-height:44px}.cost-empty{background:var(--panel);border:1px solid var(--line);border-radius:15px}.cost-import-body{padding:0 15px 15px}.cost-form-grid{grid-template-columns:minmax(0,1fr);gap:14px}.cost-dialog{padding:20px;max-height:calc(100dvh - 24px)}.cost-dialog input,.cost-dialog select,.cost-dialog textarea{font-size:16px;min-height:46px}.cost-dialog .form-actions{bottom:-20px;padding-bottom:max(16px,env(safe-area-inset-bottom))}.cost-dialog .form-actions .button{font-size:11px}
}
@media(max-width:360px){.cost-table tr{padding:14px}.cost-original strong,.cost-allocation strong{font-size:18px}.cost-scope{display:none}.costs-ledger .panel-heading h2{font-size:15px}}
.cost-totals{display:block}.cost-chart-currencies{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,370px),1fr));gap:16px}.cost-chart-currency{margin:0;min-width:0;background:var(--panel);border:1px solid var(--line);border-radius:18px;padding:24px;box-shadow:var(--shadow)}.cost-chart-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;color:var(--muted);font-size:10px}.cost-chart-currency-code{border:1px solid var(--line);border-radius:8px;padding:5px 10px;font-size:10px;font-weight:800;color:var(--ink);letter-spacing:.5px}.cost-chart-summary{margin:23px 0 25px}.cost-chart-summary>p{font-size:11px;color:var(--muted);font-weight:650}.cost-chart-summary>strong{display:block;font-size:43px;font-weight:800;letter-spacing:-1.8px;line-height:1.25;margin:6px 0;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.cost-chart-summary>small{font-size:10px;color:var(--muted)}.cost-chart-rows{display:grid;gap:18px}.cost-chart-row{--cost-tone:var(--accent)}.cost-chart-paid{--cost-tone:var(--button)}.cost-chart-invoiced{--cost-tone:var(--purple)}.cost-chart-estimated{--cost-tone:var(--green)}.cost-chart-unallocated{--cost-tone:var(--muted)}.cost-chart-row-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;font-size:11px}.cost-chart-row-heading>strong{font-size:12px;white-space:nowrap;font-variant-numeric:tabular-nums}.cost-chart-label{display:flex;gap:7px;align-items:center;color:var(--ink);font-weight:650}.cost-chart-label i{display:block;width:6px;height:6px;border-radius:2px;background:var(--cost-tone);flex-shrink:0}.cost-chart-track{display:block;width:100%;height:14px;fill:none;stroke:none;margin:8px 0 4px;overflow:visible}.cost-chart-track-bg{fill:var(--soft);stroke:none}.cost-chart-bar{fill:var(--cost-tone);stroke:none}.cost-chart-baseline{stroke:var(--line);stroke-width:1;vector-effect:non-scaling-stroke}.cost-chart-row>small{font-size:9px;color:var(--muted);line-height:1.5}.cost-chart-axis{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:22px;padding-top:13px;border-top:1px solid var(--line);font-size:9px;color:var(--muted)}.cost-chart-axis>span:nth-child(2){font-size:8px;text-align:center}.cost-chart-caption{font-size:9px;color:var(--muted);line-height:1.7;margin:12px 3px 0}.cost-chart-empty{border:1px solid var(--line);border-radius:18px;background:var(--panel);text-align:center;padding:38px 24px}.cost-chart-empty-icon{width:52px;height:52px;border-radius:15px;background:var(--accent-bg);color:var(--accent);display:grid;place-items:center;margin:0 auto 18px}.cost-chart-empty-icon svg{width:26px;height:26px}.cost-chart-empty h3{font-size:17px}.cost-chart-empty p{font-size:12px;max-width:350px;color:var(--muted);margin:9px auto 0;line-height:1.7}
@media(max-width:800px){.cost-chart-currencies{grid-template-columns:minmax(0,1fr);gap:12px}.cost-chart-currency{padding:20px 18px;border-radius:16px}.cost-chart-heading{font-size:9px}.cost-chart-summary{margin:20px 0 22px}.cost-chart-summary>strong{font-size:40px}.cost-chart-rows{gap:16px}.cost-chart-row-heading{font-size:10px}.cost-chart-row-heading>strong{font-size:11px}.cost-chart-row>small{font-size:8px}.cost-chart-axis{margin-top:18px;font-size:8px}.cost-chart-axis>span:nth-child(2){font-size:7px}.cost-chart-caption{font-size:8px;margin-top:10px}}
@media(min-width:1100px){.cost-chart-currency:only-child{display:grid;grid-template-columns:.85fr 1.15fr;column-gap:38px;padding:26px 28px}.cost-chart-currency:only-child .cost-chart-heading{grid-column:1/-1;margin-bottom:25px}.cost-chart-currency:only-child .cost-chart-summary{align-self:center;margin:0 0 24px}.cost-chart-currency:only-child .cost-chart-summary>strong{font-size:49px}.cost-chart-currency:only-child .cost-chart-axis{grid-column:1/-1}.cost-chart-currency:only-child .cost-chart-rows{gap:15px}}

@media(max-width:800px){.costs-page-heading{position:relative;padding-right:48px}.costs-page-heading .page-tools{position:absolute;right:0;top:20px;width:auto}.costs-page-heading .page-tools>.icon-button{width:38px;height:38px}.costs-page-heading h1{font-size:27px}.costs-page-heading p:last-child{font-size:11px}}
@media(min-width:801px){.costs-page-heading{position:relative;padding-right:64px}.costs-page-heading .page-tools{position:absolute;right:0;top:5px;width:auto}}
