#cost-catalog { margin-top: 0; }
#cost-catalog details { margin: 12px 0; padding: 12px; border: 1px solid #d6e0e5; border-radius: 10px; }
#cost-catalog summary { cursor:pointer; font-weight:700; }
#cost-catalog label { display:block; margin:8px 0; font-size:12px; }
#cost-catalog input[type=checkbox] { width:auto; margin: 0 8px; }
#cost-catalog button { padding:8px 12px; border:1px solid #cbd5e1; border-radius:8px; background:#f1f5f7; cursor:pointer; }
#cost-catalog p { font-size:12px; color:#526777; }
.cost-item { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 10px; padding:12px 0; border-bottom:1px solid #d6e0e5; }
.cost-item label:nth-child(2) { grid-column:1/-1; }
.cost-item input { width:100%; min-width:0; }
.cost-catalog-items { max-height:520px; overflow:auto; padding:4px; margin:8px 0; }
.cost-line-total { align-self:center; font-size:13px; }
.cost-tabs { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:5px; margin:14px 0; }
.cost-choices { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 8px; }
#cost-catalog .cost-choices label { display:flex; align-items:center; font-size:12px; }
.equipment-total { grid-column:1/-1; font-size:12px; color:var(--muted); }
#cost-catalog .cost-tabs button { flex:1; font-weight:600; font-size:12px; }
#cost-catalog .cost-tabs button[aria-selected=true] { background:var(--accent); color:white; border-color:var(--accent); }
.cost-table { width:100%; border-collapse:collapse; font-size:12px; }
.cost-table th { text-align:left; background:var(--bg); color:var(--text); padding:9px 5px; border-bottom:2px solid var(--line); }
.cost-table td { padding:6px 4px; border-bottom:1px solid var(--line); vertical-align:middle; }
.cost-table .cost-table-row { display:table-row; }
#cost-catalog .cost-cell-label { font-size:0; margin:0; }
.cost-table .cost-cell-label input { font-size:12px; padding:8px 5px; }
.cost-table .cost-cell-label input[type=number] { width:90px; }
.cost-table .cost-cell-label input[type=text] { min-width:100px; }
.cost-table .cost-cell-label textarea { width:100%; min-width:100px; padding:5px; font:12px/1.35 system-ui,sans-serif; border:1px solid var(--line); border-radius:6px; color:var(--text); background:var(--bg); resize:vertical; vertical-align:middle; }
.cost-table-row:has(input[type=checkbox]:checked) { background:#e8f7f1; }
.cost-total { font-weight:700; }
.simulation-scroll { overflow:auto; }
.simulation-scroll .cost-table { min-width:330px; font-variant-numeric:tabular-nums; }
.simulation-current { background:#e8f7f1; font-weight:700; }
@media print { .simulation-scroll { overflow:visible; } }
