/* Cost breakdown (cost-breakdown.js). Navy #142e48, gold #b49560. Internal only. */
.cb-root{margin-top:12px;border:1px solid var(--ws-border,#d0d8e0);border-left:4px solid #b49560;border-radius:10px;background:var(--ws-card,#fff);padding:0}
.cb-root>summary{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px 16px;cursor:pointer;list-style:none;min-height:44px}
.cb-root>summary::-webkit-details-marker,.cb-group>summary::-webkit-details-marker{display:none}
.cb-root>summary::after,.cb-group>summary::after{content:'\25BE';color:#b49560;font-size:14px;margin-left:6px}
.cb-root[open]>summary::after,.cb-group[open]>summary::after{content:'\25B4'}
.cb-head{font-size:18px;font-weight:700;color:var(--ws-text,#142e48);display:flex;flex-direction:column}
.cb-head small,.cb-title small{font-size:12px;font-weight:600;color:#b49560;letter-spacing:.3px}
.cb-head-note{margin-left:auto;font-size:13px;font-weight:600;color:var(--ws-text-2,#4a5d6e);text-align:right}
.cb-body{padding:0 16px 16px;display:flex;flex-direction:column;gap:8px}
.cb-group{border:1px solid var(--ws-border,#d0d8e0);border-radius:8px;padding:0 12px;background:var(--ws-card,#fff)}
.cb-group>summary{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:48px;cursor:pointer;list-style:none}
.cb-title{display:flex;flex-direction:column;font-weight:700;color:var(--ws-text,#142e48);font-size:16px}
.cb-sub{margin-left:auto;font-size:15px;color:var(--ws-text,#142e48);font-variant-numeric:tabular-nums}
.cb-hint{margin:0 0 8px;font-size:13px;color:var(--ws-text-2,#4a5d6e)}
.cb-row{display:flex;flex-wrap:wrap;align-items:flex-end;gap:8px;padding:8px 0;border-top:1px solid var(--ws-border,#e3e8ed)}
.cb-field{display:flex;flex-direction:column;gap:4px;flex:1 1 80px;min-width:70px}
.cb-field.cb-desc{flex:2 1 160px}
.cb-field label{font-size:12px;font-weight:600;color:var(--ws-text-2,#4a5d6e)}
.cb-field input,.cb-field select{min-height:44px;font-size:16px;width:100%;box-sizing:border-box}
.cb-amt{min-width:80px;text-align:right;align-self:center;padding-top:16px;font-variant-numeric:tabular-nums;color:var(--ws-text,#142e48)}
.cb-root .cb-remove,.cb-dialog .cb-remove{min-width:44px;min-height:44px;padding:0;background:transparent!important;border:0!important;box-shadow:none;color:var(--ws-icon,#4a5d6e)!important;font-size:24px;line-height:1}
.cb-add{margin:4px 0 12px;min-height:44px}
.cb-summary{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:6px;padding:12px;border-radius:8px;background:#142e48;color:#fff;border-left:5px solid #b49560}
.cb-summary div{display:flex;flex-direction:column;gap:2px}
.cb-summary span{font-size:12px;letter-spacing:.4px;text-transform:uppercase;color:#d8c39b}
.cb-summary strong{font-size:18px;color:#fff;font-variant-numeric:tabular-nums}
.cb-summary strong.cb-neg{color:#ffb3a7}
.cb-summary .cb-gap{grid-column:1/-1;margin:0;font-size:13px;color:#e0e7ee}
.cb-actions{display:flex;flex-direction:column;gap:6px;margin-top:6px}
.cb-root .cb-apply,.cb-dialog .cb-apply{min-height:48px;background:#b49560!important;color:#142e48!important;border:0!important;font-weight:700;border-radius:10px}
.cb-apply:disabled{opacity:.6}
dialog.cb-dialog{width:720px;max-width:96vw;max-height:94vh;padding:0;border:0;border-radius:10px;background:var(--ws-card,#fff);overflow:auto}
dialog.cb-dialog::backdrop{background:rgba(10,22,36,.6)}
.cb-dialog-bar{position:sticky;top:0;z-index:2;display:flex;justify-content:space-between;align-items:center;gap:10px;padding:10px 14px;padding-top:max(10px,env(safe-area-inset-top));background:#142e48;color:#fff}
.cb-dialog-bar strong{color:#fff}
.cb-dialog .cb-close{min-height:44px;background:#fff!important;color:#142e48!important;border:0!important;font-weight:700;border-radius:10px;padding:0 14px}
.cb-dialog-note{padding:10px 16px 0}
.cb-dialog .cb-actions{padding:0 16px 16px}
.cb-status{margin:0 16px 8px;padding:8px 12px;border-radius:8px;background:#f6efe2;color:#142e48;border-left:4px solid #b49560;font-weight:600;font-size:14px}
.cb-status[data-kind=error]{background:#fbecea;border-left-color:#c0392b;color:#7d2533}
@media (max-width:700px){dialog.cb-dialog{width:100vw;max-width:100vw;height:100dvh;max-height:none;margin:0;border-radius:0}.cb-amt{padding-top:0;flex:1 1 auto;text-align:left}}
@media print{.cb-root,dialog.cb-dialog{display:none!important}}
