.costs-workspace{--cost-gold:var(--rv-accentText,#e4c38f);color:var(--rv-text,#eee9e1);padding:clamp(20px,3vw,36px)}.costs-header,.cost-header-actions,.cost-panel-heading{justify-content:space-between;align-items:center;gap:22px;display:flex}.costs-header{align-items:flex-start;margin-bottom:26px}.costs-header :is(h2,h3){letter-spacing:-.04em;margin:6px 0 0;font-size:clamp(1.55rem,3vw,2.4rem);font-weight:500}.cost-eyebrow{letter-spacing:.14em;text-transform:uppercase;color:var(--cost-gold);margin:0;font-size:.64rem;line-height:1.7}.cost-period{color:var(--rv-muted,#b9b2a7);margin:13px 0 0;font-size:.72rem}.cost-header-actions{align-items:end;gap:12px}.cost-header-actions .cost-field{min-width:125px}.cost-layout{grid-template-columns:190px minmax(0,1fr);align-items:start;gap:24px;display:grid}.cost-sidebar{gap:28px;min-width:0;display:grid}.cost-sidebar nav{gap:5px;display:grid}.cost-sidebar nav button{text-align:left;width:100%;min-height:48px;color:var(--rv-muted,#b9b2a7);font:inherit;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:8px;align-items:center;gap:12px;padding:13px 14px;font-size:.78rem;display:flex}.cost-sidebar nav button[aria-pressed=true]{color:var(--cost-gold);background:linear-gradient(110deg,#e4c38f1f,#e4c38f08);border-color:#e4c38f4d}.cost-sidebar nav svg{flex-shrink:0}.cost-count{color:var(--cost-gold);background:#e4c38f1a;border-radius:4px;margin-left:auto;padding:2px 5px;font-size:.62rem}.cost-sidebar-note{border-top:1px solid var(--rv-border,#3b3832);padding:16px 14px}.cost-sidebar-note .cost-eyebrow{text-transform:none;letter-spacing:0;color:var(--rv-muted,#b9b2a7);margin-bottom:18px;font-size:.69rem}.cost-sidebar-note a{color:var(--rv-muted,#b9b2a7);justify-content:space-between;align-items:center;gap:8px;padding:10px 0;font-size:.7rem;text-decoration:none;display:flex}.cost-reset{justify-content:flex-start;width:100%}.cost-content{gap:20px;min-width:0;display:grid}.cost-kpis{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.cost-metric{border:1px solid var(--rv-border,#3b3832);background:#ffffff04;border-radius:12px;align-content:start;gap:12px;padding:20px 16px;display:grid}.cost-metric.is-accent{background:linear-gradient(140deg,#e4c38f1a,#e4c38f04);border-color:#e4c38f66}.cost-metric>span{color:var(--rv-muted,#b9b2a7);min-height:2.9em;font-size:.65rem;line-height:1.6}.cost-metric strong{letter-spacing:-.045em;font-variant-numeric:tabular-nums;white-space:nowrap;font-size:clamp(1.15rem,1.8vw,1.6rem);font-weight:400}.cost-metric.is-accent strong{color:var(--cost-gold)}.cost-metric small{color:var(--rv-muted,#b9b2a7);font-size:.61rem;line-height:1.65}.cost-panel{border:1px solid var(--rv-border,#3b3832);background:linear-gradient(150deg,#ffffff06,#ffffff02);border-radius:14px;min-width:0;padding:24px}.cost-panel :is(h3,h4){letter-spacing:-.025em;margin:4px 0 0;font-size:1.15rem;font-weight:500}.cost-panel-heading{align-items:flex-start;margin-bottom:20px}.cost-tag{border:1px solid var(--rv-border,#3b3832);color:var(--rv-muted,#b9b2a7);white-space:nowrap;border-radius:5px;padding:6px 9px;font-size:.61rem;display:inline-flex}.cost-status-approved{color:var(--cost-gold);border-color:#e4c38f4d}.cost-note{color:var(--rv-muted,#b9b2a7);max-width:80ch;margin:18px 0 0;font-size:.71rem;line-height:1.75}.cost-note a{color:var(--cost-gold);text-decoration:none}.cost-overview-grid{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:20px;display:grid}.cost-bars-legend{color:var(--rv-muted,#b9b2a7);gap:20px;margin:18px 0 24px;font-size:.66rem;display:flex}.cost-bars-legend span{align-items:center;gap:7px;display:flex}.cost-bars-legend i{background:var(--cost-gold);border-radius:2px;width:10px;height:4px}.cost-bars-legend span:last-child i{background:#eee9e159}.cost-category-bars{gap:20px;margin:0;display:grid}.cost-category-bars>div{grid-template-columns:minmax(100px,.85fr) minmax(0,1.15fr);align-items:center;gap:16px;display:grid}.cost-category-bars dt{color:var(--rv-muted,#b9b2a7);font-size:.7rem;line-height:1.5}.cost-category-bars dd{margin:0}.cost-bar-pair{gap:4px;margin-bottom:7px;display:grid}.cost-bar-pair>span{background:var(--cost-gold);border-radius:2px;min-height:4px;display:block}.cost-bar-pair>span:last-child{background:#eee9e159}.cost-bar-values{font-variant-numeric:tabular-nums;justify-content:space-between;gap:12px;font-size:.64rem;display:flex}.cost-bar-values strong{color:var(--cost-gold);font-weight:400}.cost-bar-values>span{color:var(--rv-muted,#b9b2a7)}.cost-control-card{align-content:start;gap:14px;display:grid}.cost-large-number{color:var(--cost-gold);letter-spacing:-.04em;font-size:3.2rem;font-weight:300;line-height:1}.cost-control-card>p:not(.cost-eyebrow):not(.cost-note){color:var(--rv-muted,#b9b2a7);margin:0;font-size:.7rem}.cost-control-card>p>strong{color:var(--rv-text,#eee9e1);margin-top:10px;font-size:1.3rem;font-weight:400;display:block}.cost-control-card .cost-note{margin:0}.cost-control-card .rv-action-button{justify-self:start;margin:8px 0 4px}.cost-field{min-width:0;color:var(--rv-muted,#b9b2a7);gap:8px;font-size:.72rem;display:grid}.cost-field input,.cost-field textarea{background:var(--rv-elevated,#1b1c1e);width:100%;color:var(--rv-text,#eee9e1);border:1px solid var(--rv-border,#686053);font:inherit;box-sizing:border-box;color-scheme:dark;border-radius:8px;padding:12px 14px;font-size:.85rem}.cost-field textarea{resize:vertical}.cost-field :is(input,textarea):focus-visible,.costs-workspace :is(button,a,summary):focus-visible{outline:2px solid var(--cost-gold);outline-offset:4px}.cost-primary,.cost-secondary{box-sizing:border-box;min-height:48px;font:inherit;cursor:pointer;border:1px solid #0000;border-radius:8px;justify-content:center;align-items:center;gap:10px;padding:12px 16px;font-size:.74rem;display:inline-flex}.cost-primary{background:var(--cost-gold);color:#17191b}.cost-secondary{color:var(--rv-text,#eee9e1);border-color:var(--rv-border,#686053);background:0 0}.cost-text-button{color:var(--cost-gold);font:inherit;cursor:pointer;background:0 0;border:0;justify-content:space-between;align-items:center;gap:12px;padding:8px 0;font-size:.72rem;display:inline-flex}.cost-table-wrap{max-width:100%;margin-top:20px;overflow-x:auto}.cost-table{border-collapse:collapse;width:100%;font-size:.74rem}.cost-table thead th{color:var(--rv-muted,#b9b2a7);text-align:right;white-space:nowrap;padding:8px 10px 15px;font-size:.65rem;font-weight:400}.cost-table th,.cost-table td{border-bottom:1px solid var(--rv-border,#3b3832);padding:13px 10px}.cost-table td{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}.cost-table th{text-align:left;font-weight:400}.cost-table thead th:first-child,.cost-table tbody th:first-child,.cost-table tfoot th:first-child{text-align:left;padding-left:0}.cost-table small{color:var(--rv-muted,#b9b2a7);margin-top:5px;font-size:.59rem;line-height:1.6;display:block}.cost-table tfoot th,.cost-table tfoot td{color:var(--cost-gold);border-bottom:0;padding-top:18px}.cost-over-budget{color:#f0aa95}.cost-source-table{font-size:.7rem}.cost-source-table td{white-space:normal;min-width:90px;line-height:1.6}.cost-source-table tbody th{overflow-wrap:anywhere;min-width:160px}.cost-expense-list{gap:14px;margin-top:24px;display:grid}.cost-expense{border:1px solid var(--rv-border,#3b3832);background:#ffffff03;border-radius:10px;padding:20px}.cost-expense-main{justify-content:space-between;align-items:start;gap:24px;display:flex}.cost-expense-main>div{min-width:0}.cost-expense-main strong{overflow-wrap:anywhere;margin-top:8px;font-size:.87rem;font-weight:400;display:block}.cost-expense-main small{color:var(--rv-muted,#b9b2a7);margin-top:8px;font-size:.63rem;line-height:1.6;display:block}.cost-expense-main p:not(.cost-eyebrow){color:var(--rv-muted,#b9b2a7);margin:12px 0 0;font-size:.72rem;line-height:1.7}.cost-expense-amount{text-align:right;flex-shrink:0}.cost-expense-amount strong{color:var(--cost-gold);font-variant-numeric:tabular-nums;font-size:1.35rem}.cost-expense-footer{border-top:1px solid var(--rv-border,#3b3832);justify-content:space-between;align-items:center;gap:16px;margin-top:18px;padding-top:16px;display:flex}.cost-expense-footer>div{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;display:flex}.cost-budget-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:24px;display:grid}.cost-budget{border:1px solid var(--rv-border,#3b3832);border-radius:10px;align-content:start;gap:12px;padding:20px;display:grid}.cost-budget>strong{letter-spacing:-.03em;font-size:1.8rem;font-weight:400}.cost-budget>small{color:var(--rv-muted,#b9b2a7);font-size:.68rem}.cost-budget details{border-top:1px solid var(--rv-border,#3b3832);color:var(--rv-muted,#b9b2a7);margin-top:4px;padding-top:14px;font-size:.65rem}.cost-budget summary{cursor:pointer}.cost-budget details p{margin:10px 0 0}.cost-snapshot-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 22px;margin-top:20px;display:grid}.cost-snapshot-list>div{border-bottom:1px solid var(--rv-border,#3b3832);justify-content:space-between;align-items:center;gap:16px;padding:12px 0;font-size:.74rem;display:flex}.cost-snapshot-list small{color:var(--rv-muted,#b9b2a7);margin-top:5px;font-size:.58rem;display:block}.cost-snapshot-list strong{font-variant-numeric:tabular-nums;font-weight:400}.cost-feedback{color:var(--cost-gold);margin:0;font-size:.73rem;line-height:1.7}.cost-feedback:empty{display:none}.cost-dialog{max-width:680px}.cost-dialog-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;display:grid}.cost-dialog .cost-note{margin:18px 0}.cost-dialog .cost-feedback{margin-top:20px}.cost-dialog-actions{justify-content:end;margin-top:24px;display:flex}@media (width<=1100px){.cost-layout{grid-template-columns:165px minmax(0,1fr);gap:18px}.cost-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.cost-metric>span{min-height:auto}.cost-overview-grid{grid-template-columns:1fr}.cost-control-card{grid-template-columns:1fr 1fr}.cost-control-card .cost-eyebrow,.cost-control-card .cost-note{grid-column:1/-1}}@media (width<=760px){.cost-layout{grid-template-columns:minmax(0,1fr)}.cost-sidebar{display:block}.cost-sidebar nav{gap:5px;padding-bottom:6px;display:flex;overflow-x:auto}.cost-sidebar nav button{flex-shrink:0;width:auto;padding:12px 10px;font-size:.71rem}.cost-sidebar-note,.cost-reset{display:none}.costs-header{flex-direction:column;gap:20px}.cost-header-actions{width:100%}.cost-header-actions .cost-field{flex:1}.cost-header-actions .cost-secondary{flex-shrink:0}.cost-snapshot-list{grid-template-columns:1fr}}@media (width<=540px){.costs-workspace{padding:20px 14px}.cost-panel{padding:18px 14px}.cost-kpis{gap:9px}.cost-metric{gap:9px;padding:16px 12px}.cost-metric strong{font-size:1.3rem}.cost-metric>span{font-size:.62rem}.cost-panel-heading{flex-wrap:wrap;gap:12px}.cost-panel-heading>.cost-field{max-width:180px}.cost-category-bars>div{grid-template-columns:1fr 1fr;gap:12px}.cost-expense{padding:16px 12px}.cost-expense-main{flex-direction:column;gap:14px}.cost-expense-amount{text-align:left}.cost-expense-footer{align-items:start;gap:12px}.cost-expense-footer>div{flex-direction:row;align-items:center;gap:8px}.cost-budget-grid,.cost-dialog-fields{grid-template-columns:1fr}.cost-table{font-size:.69rem}.cost-table th,.cost-table td{padding:12px 7px}.cost-header-actions .cost-secondary{padding:12px}.cost-period{font-size:.67rem}.cost-sidebar nav svg{width:17px}.cost-table td{min-width:90px}}.cost-field :is(input,textarea)[aria-invalid=true]{border-color:var(--rv-danger,#f0aa95)}
