.ctcost{--navy:#123b53;--teal:#087e86;max-width:1100px;margin:24px auto;color:#233e4c;font-size:16px;line-height:1.5}.ctcost *{box-sizing:border-box}.ctcost header{background:var(--navy);color:white;padding:26px;border-radius:12px}.ctcost header h2{color:white;margin:0 0 8px;font-size:clamp(24px,4vw,36px)}.ctcost header p{margin:0;color:#e0eef2}.ctcost-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:16px}.ctcost label{display:block;font-weight:600;font-size:14px}.ctcost input,.ctcost select{display:block;width:100%;min-height:44px;padding:8px;border:1px solid #aebfc8;border-radius:6px;background:white;color:#233e4c;font:inherit;margin:5px 0}.ctcost fieldset{border:1px solid #d5e0e5;border-radius:10px;padding:18px;margin:20px 0;background:#fff;min-width:0}.ctcost legend{font-weight:700;color:var(--navy);padding:0 8px}.ctcost-basis-label{font-size:12px!important;font-weight:400!important}.ctcost-hint,.ctcost-note{font-size:14px;color:#516875}.ctcost-actions{display:flex;gap:10px;flex-wrap:wrap}.ctcost button{background:var(--teal);color:white;border:0;border-radius:6px;padding:12px 18px;cursor:pointer}.ctcost button:disabled{opacity:.5}.ctcost-results{background:#f2f8fa;border:1px solid #c9dce4;border-radius:12px;padding:20px;margin-top:24px}.ctcost-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr));gap:12px}.ctcost-metrics>div{background:white;border-radius:8px;padding:14px;font-size:14px}.ctcost-metrics strong{display:block;font-size:24px;color:var(--navy);overflow-wrap:anywhere}.ctcost table{width:100%;border-collapse:collapse;margin:20px 0}.ctcost th,.ctcost td{padding:9px;border-bottom:1px solid #d5e0e5;text-align:left}.ctcost td,.ctcost thead th:last-child{text-align:right}.ctcost-error{color:#a12727}.ctcost [hidden]{display:none!important}
.ctcost .ctcost-check{display:flex;align-items:center;gap:10px;margin-top:14px}.ctcost .ctcost-check input{width:auto;min-height:0;margin:0}.ctcost .ctcost-add,.ctcost .ctcost-remove{font-size:12px;padding:7px 10px;margin-top:6px}.ctcost .ctcost-guests{margin:12px 0}.ctcost .ctcost-extra{border-left:3px solid #087e86;padding-left:10px}

.ctcost-sources{margin:16px 0;padding:14px;border:1px solid #c9dce4;border-radius:10px;background:#f3f8fb;min-width:0}.ctcost-sources h3{margin:0 0 6px;color:var(--navy)}.ctcost-sources>p{font-size:14px;margin:0 0 12px}.ctcost-source-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:12px}.ctcost-source{background:#fff;border:1px solid #d5e0e5;border-radius:8px;padding:12px;min-width:0;overflow-wrap:anywhere}.ctcost-source h4{font-size:16px;margin:0;color:var(--navy)}.ctcost-source-amount{display:block;font-size:22px;margin:4px 0 8px;color:var(--navy)}.ctcost-source-detail,.ctcost-source-estimate{font-size:13px;margin:8px 0}.ctcost-source button{width:100%;min-height:44px;padding:8px 10px}.ctcost-source select{max-width:100%}.ctcost-source select:focus-visible,.ctcost-source button:focus-visible{outline:2px solid var(--teal);outline-offset:2px}@media print{.ctcost-sources{display:none!important}}
