.costs-workspace{display:grid;gap:20px}.cost-intro .panel-head{align-items:flex-start}.cost-intro h2{margin-bottom:8px}.cost-intro .help{max-width:760px}.cost-stats{display:flex;gap:12px;flex-wrap:wrap;margin:18px 0}.cost-stats>span{background:#fff4e6;border:1px solid #f3dcc5;padding:10px 15px;border-radius:12px;font-size:.87rem}.cost-stats b{display:block;font-size:1.2rem}.cost-tabs{display:flex;gap:6px;overflow:auto;border-bottom:1px solid var(--line,#ece6e0);margin-bottom:20px}.cost-tabs button{border:0;background:transparent;padding:13px 18px;font-weight:700;color:var(--muted,#746e78);cursor:pointer;white-space:nowrap;border-bottom:3px solid transparent}.cost-tabs button.active{color:#aa317c;border-bottom-color:#d65392}.cost-field{display:flex;flex-direction:column;gap:7px;margin:0 0 12px;min-width:0;font-size:.86rem;font-weight:600}.cost-field input,.cost-field select,.cost-field textarea{width:100%;min-width:0;box-sizing:border-box;font:inherit;font-weight:400;border:1px solid #ddd5de;border-radius:10px;padding:11px;background:#fff;color:#28222e}.cost-field textarea{resize:vertical}.cost-field input:focus,.cost-field select:focus,.cost-field textarea:focus{outline:2px solid #dba3c9;outline-offset:1px}.cost-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 18px;margin-top:16px}.cost-checks{display:flex;flex-wrap:wrap;gap:13px 24px;margin:12px 0 20px}.cost-check{display:flex;align-items:flex-start;gap:7px;font-size:.84rem;font-weight:400;line-height:1.45}.cost-check input{width:17px;height:17px;flex:0 0 17px;accent-color:#b63789;margin-top:2px}.cost-editor{border:1px solid #e4d0e5;box-shadow:0 8px 30px #5b246b0a}.cost-component{min-width:0;background:#fcf9fd;border:1px solid #e7daeb;border-radius:14px;padding:18px;margin:14px 0}.cost-component legend{font-weight:700;font-size:.95rem;padding:0 8px;max-width:95%;overflow-wrap:anywhere}.cost-warning{background:#fff1dd;border:1px solid #f0cf99;color:#7e4910;padding:13px 16px;border-radius:12px;white-space:pre-wrap;font-size:.9rem}.cost-warning[hidden]{display:none}.cost-diagnostic,.cost-bindings,.cost-parameters{font-size:.9rem;border-top:1px solid #ede2ee;margin:14px 0;padding-top:12px}.cost-diagnostic summary,.cost-bindings summary,.cost-parameters summary{cursor:pointer;font-weight:650}.cost-diagnostic p{line-height:1.6}.cost-inline{display:flex;align-items:flex-end;gap:12px}.cost-inline .cost-field{flex:1}.cost-inline>button{margin-bottom:12px}.costs-workspace td small{display:block;color:#77707b;font-size:.76rem;font-weight:400;max-width:350px;margin-top:5px}.costs-workspace td input[type=number]{width:110px;padding:8px;border:1px solid #dcd2dc;border-radius:8px}.costs-workspace table{min-width:650px}.costs-workspace h3{margin-top:24px}.costs-workspace button[disabled]{opacity:.55;cursor:wait}.costs-workspace .modal-actions{flex-wrap:wrap}.costs-workspace :focus-visible{outline:2px solid #b14391;outline-offset:3px}@media(max-width:700px){.cost-grid{grid-template-columns:1fr;gap:2px}.cost-stats{display:grid;grid-template-columns:1fr 1fr;gap:8px}.cost-stats>span{padding:10px}.cost-intro .panel-head{flex-direction:column;gap:14px}.cost-component{padding:14px 10px}.cost-inline{align-items:stretch;flex-direction:column;gap:0}.cost-tabs button{padding:12px}.cost-editor .panel-head{align-items:flex-start}.cost-editor h2{font-size:1.15rem}.cost-checks{flex-direction:column;gap:12px}.costs-workspace .modal-actions button{flex:1}.costs-workspace .panel{min-width:0}}
