.csw-concrete .csw-concrete__error { color:#b91c1c; font-size:13px; margin:4px 0 0; }
.csw-concrete .csw-concrete__error:empty { display:none; }
.csw-calculator.csw-concrete .csw-field [aria-invalid="true"] { border-color:#b91c1c !important; }
.csw-concrete .csw-concrete__status { font-size:14px; margin:12px 0; }
.csw-concrete .csw-concrete__status:empty { display:none; }
.csw-concrete .csw-concrete__pro-note { background:#fff7ed; padding:12px; border-radius:8px; font-size:13px; }
.csw-concrete .csw-concrete__diagram { margin:20px 0; padding:16px; background:#f8fafc; border:1px solid #e2e8f0; border-radius:12px; }
.csw-concrete .csw-concrete__diagram-title { margin:0 0 12px; font-weight:700; }
.csw-concrete .csw-concrete__figure { margin:0; min-width:0; }
.csw-concrete .csw-concrete__diagrams { display:grid; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); gap:16px; }
.csw-concrete .csw-concrete__section { border:0; padding:0; margin:24px 0; min-width:0; }
.csw-concrete .csw-concrete__section legend { font-size:16px; font-weight:700; padding:0; color:#1e293b; }
.csw-concrete [data-section="adjustments"] legend, .csw-concrete [data-section="cost"] legend { margin-bottom:12px; }
.csw-concrete .csw-concrete__section-help { margin:6px 0 14px; }
.csw-concrete .csw-concrete__modes { border:0; padding:0; margin:0 0 20px; min-width:0; }
.csw-concrete .csw-concrete__modes legend { padding:0; font-size:14px; font-weight:700; color:#1e293b; }
.csw-concrete .csw-concrete__mode-options { display:flex; flex-wrap:wrap; gap:8px 24px; margin:6px 0; }
.csw-concrete .csw-concrete__mode-options label { display:flex; align-items:center; gap:8px; min-height:44px; font-size:14px; font-weight:600; cursor:pointer; margin:0; }
.csw-concrete .csw-concrete__mode-options input[type="radio"] { appearance:auto; width:20px; height:20px; flex:0 0 20px; margin:0; padding:0; accent-color:#0f766e; }
.csw-concrete [data-diagram-status] { min-height:18px; margin:0; }
.csw-concrete .csw-field__unit { color:#64748b; }
.csw-calculator.csw-concrete .csw-button { background:#0f766e !important; }
.csw-calculator.csw-concrete .csw-button:hover, .csw-calculator.csw-concrete .csw-button:focus { background:#115e59 !important; }
.csw-concrete [data-diagram][aria-busy="true"] { opacity:.6; }
.csw-concrete .csw-concrete__diagram { transition:opacity .15s; margin-bottom:6px; }
.csw-concrete :is(input,select,button,summary):focus-visible { outline:3px solid #0f766e !important; outline-offset:3px !important; }
.csw-concrete .csw-result[data-state="ready"] { border-style:solid; border-color:#cbd5e1; }
.csw-concrete .csw-result[data-state="error"] { border-style:solid; border-color:#b91c1c; }
.csw-concrete .csw-concrete__figure:last-child { margin-bottom:0; }
.csw-concrete svg { width:100%; height:auto; display:block; max-width:360px; margin:auto; }
.csw-concrete svg text { fill:#334155; font:16px sans-serif; }
.csw-concrete figcaption { font-size:12px; color:#475569; text-align:center; }
.csw-concrete .csw-concrete__total { background:#ecfdf5; padding:20px; border-radius:10px; margin:24px 0 16px; }
.csw-concrete .csw-concrete__total span { display:block; font-size:14px; }
.csw-concrete .csw-concrete__total strong { display:block; font-size:30px; color:#065f46; overflow-wrap:anywhere; }
.csw-concrete .csw-concrete__table { width:100%; border-collapse:collapse; font-size:14px; table-layout:fixed; }
.csw-concrete .csw-concrete__table caption { text-align:left; font-weight:700; margin-bottom:10px; }
.csw-concrete .csw-concrete__table th, .csw-concrete .csw-concrete__table td { padding:10px 6px; border-bottom:1px solid #e2e8f0; text-align:left; overflow-wrap:anywhere; vertical-align:top; }
.csw-concrete .csw-concrete__table td, .csw-concrete .csw-concrete__table thead th:last-child { text-align:right; width:34%; }
.csw-concrete .csw-concrete__table small { display:block; color:#64748b; font-size:11px; font-weight:400; margin-top:4px; }
.csw-concrete .csw-concrete__method { margin-top:24px; font-size:13px; }
.csw-concrete .csw-concrete__method summary { cursor:pointer; font-weight:700; }
.csw-concrete .csw-concrete__cost { font-size:14px; }
.csw-concrete .csw-concrete__warnings { margin:16px 0; padding:12px; border-radius:8px; background:#fff7ed; font-size:13px; }
.csw-concrete .csw-concrete__warnings p { margin:0 0 6px; }
.csw-concrete .csw-concrete__warnings ul { margin:0; padding-left:20px; }
@media(max-width:767px) { .csw-concrete .csw-concrete__diagram { padding:8px; } .csw-concrete .csw-concrete__diagrams { grid-template-columns:minmax(0,1fr); } .csw-concrete svg text { font-size:18px; } }
@media(prefers-reduced-motion:reduce) { .csw-concrete .csw-concrete__diagram { transition:none; } }
