.cd-calculator .cd-section{padding:28px;margin-top:24px}.cd-help{font-size:.9rem;color:#475569;line-height:1.65;margin:16px 0}.cd-options{border:1px solid #cbd5e1;border-radius:12px;padding:16px;margin:20px 0}.cd-options legend{font-size:1rem;font-weight:700;padding:0 6px;float:none;width:auto}.cd-check{display:flex;align-items:center;gap:10px;font-weight:600}.cd-check input{width:20px;height:20px;flex:0 0 20px}.cd-options>label:not(.cd-check){display:flex;flex-direction:column;gap:8px}.cd-options input[type=number]{width:100%;height:46px;border:1px solid #cedce5;border-radius:11px;padding:0 13px}.cd-actions{display:flex;align-items:center;flex-wrap:wrap;gap:16px}.cd-error{background:#fff1f2;color:#9f1239;border:1px solid #fda4af;border-radius:8px;padding:12px}.cd-totals{margin:24px 0}.cd-totals div{border-bottom:1px solid #dbe3ed;padding:14px 0}.cd-totals dt{color:#475569;font-weight:500}.cd-totals dd{font-size:1.35rem;font-weight:700;margin:6px 0 0;overflow-wrap:anywhere}.cd-notice{padding:14px;border-radius:10px;border:1px solid #c5d9ea;background:#f1f7fc;color:#173456}.cd-notice[data-warning=true]{background:#fff8e8;border-color:#dfbe67;color:#714900}.cd-scroll{max-width:100%;overflow-x:auto}.cd-scroll table{width:100%;border-collapse:collapse;font-variant-numeric:tabular-nums;font-size:.92rem}.cd-scroll th,.cd-scroll td{text-align:right;padding:12px;border-bottom:1px solid #dbe3ed;white-space:nowrap}.cd-scroll th:first-child,.cd-scroll td:first-child{text-align:left}.cd-scroll thead{background:#eef4fa;color:#173456}.cd-scroll caption{text-align:left;caption-side:top;color:#475569;padding:8px 0 16px}.cd-section details{padding:14px 0;border-bottom:1px solid #dbe3ed}.cd-section summary{cursor:pointer;font-weight:700}.cd-section details p{margin-top:12px}.cd-calculator [hidden]{display:none!important}.cd-calculator .usc-results{min-width:0}.cd-calculator .usc-main-result strong{overflow-wrap:anywhere}.cd-calculator code{white-space:normal;color:#173456}.cd-calculator input[type=date]{min-width:0}
@media(max-width:600px){.cd-calculator .cd-section{padding:18px}.cd-actions button{width:100%}.cd-options{padding:12px}.cd-scroll td,.cd-scroll th{padding:10px}}

.cd-calculator .cd-scroll th:first-child{white-space:normal;min-width:140px}.cd-calculator .cd-scroll td{max-width:280px;white-space:normal;min-width:120px}
