.ai-cost-summary,.ai-cost-amounts,.ai-cost-version,.ai-cost-operation,.ai-cost-dialog-body{gap:.5rem;min-width:0;display:grid}.ai-cost-summary{white-space:normal;font-size:.8rem}.ai-cost-summary p,.ai-cost-version p,.ai-cost-operation p,.ai-cost-warning p{margin:0;line-height:1.5}.ai-cost-amounts{font-variant-numeric:tabular-nums;font-weight:650}.ai-cost-muted,.ai-cost-operation time{color:var(--agency-text-muted,#64748b);font-size:.8rem}.ai-cost-warning{border-left:3px solid var(--lyra-product-primary,#ff6b00);background:var(--agency-surface-soft,#f8fafc);padding:.75rem;font-size:.8rem}.ai-cost-exclusion{color:var(--agency-text,#1e293b)}.ai-cost-link{border:1px solid var(--agency-border,#e2e8f0);background:var(--agency-surface,#fff);color:var(--agency-text,#1e293b);font:inherit;cursor:pointer;border-radius:.5rem;justify-self:start;padding:.45rem .7rem}.ai-cost-link:hover{background:var(--agency-surface-soft,#f8fafc)}.ai-cost-link:focus-visible,.ai-cost-technical summary:focus-visible{outline:2px solid var(--lyra-product-primary,#ff6b00);outline-offset:3px}.ai-cost-link:disabled{opacity:.6;cursor:wait}.ai-cost-row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.75rem;display:flex}.ai-cost-dialog{border:1px solid var(--agency-border,#e2e8f0);background:var(--agency-surface,#fff);width:min(48rem,100% - 2rem);max-height:calc(100dvh - 2rem);color:var(--agency-text,#1e293b);border-radius:.75rem;padding:1.25rem}.ai-cost-dialog::backdrop{background:#0f172a8c}.ai-cost-dialog h2,.ai-cost-dialog h3{margin:0;font-size:1rem}.ai-cost-dialog-body{overflow-wrap:anywhere;gap:1rem;margin-top:1rem}.ai-cost-operation{border:1px solid var(--agency-border,#e2e8f0);border-radius:.5rem;padding:.75rem;font-size:.85rem}.ai-cost-technical summary{cursor:pointer}.ai-cost-technical dl{grid-template-columns:minmax(0,1fr) minmax(0,2fr);gap:.5rem;display:grid}.ai-cost-technical dd{overflow-wrap:anywhere;margin:0}.ai-cost-version{border-top:1px solid var(--agency-border,#e2e8f0);padding-top:.75rem}.ai-cost-correlation{overflow-wrap:anywhere;font-size:.8rem}.ai-cost-months{margin-top:1rem;overflow-x:auto}.ai-cost-months table{border-collapse:collapse;width:100%;font-size:.8rem}.ai-cost-months th,.ai-cost-months td{text-align:left;border-bottom:1px solid var(--agency-border,#e2e8f0);vertical-align:top;padding:.75rem}.agency-finance-profitability-page,.agency-finance-profitability-page>.agency-finance-panel{min-width:0}.agency-finance-profitability-table .ai-cost-summary{min-width:14rem;max-width:22rem}.agency-finance-ai-breakdown .agency-finance-rules-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,14rem),1fr));align-items:start}@media (min-width:1024px){.creative-production__card--cost{grid-column:1/-1}}html[data-theme=dark] .ai-cost-link,html[data-theme=dark] .ai-cost-dialog{background:var(--agency-surface,#141923);border-color:var(--agency-border,#334155);color:var(--agency-text,#e2e8f0)}html[data-theme=dark] .ai-cost-link:hover,html[data-theme=dark] .ai-cost-dialog button:hover,html[data-theme=dark] .ai-cost-warning{background:color-mix(in srgb, var(--agency-text,#e2e8f0) 8%, var(--agency-surface,#141923))}html[data-theme=dark] .ai-cost-dialog button{color:var(--agency-text,#e2e8f0);border-color:var(--agency-border,#334155)}.ai-cost-dialog{overflow-y:auto}
