.ect-tool{--navy:#0F2850;--yellow:#FFC72C;--red:#DC1E26;--ink:#1b2333;--line:#d8dde6;font:16px/1.5 system-ui,sans-serif;color:var(--ink);border:1px solid var(--line);border-top:6px solid var(--yellow);border-radius:10px;padding:24px;background:#fff}
.ect-disclaimer{background:#f4f6fa;border-left:4px solid var(--navy);padding:10px 14px;font-size:14px;margin:0 0 18px}
.ect-field{display:flex;flex-direction:column;gap:4px;margin-bottom:12px}.ect-field label{font-weight:600;color:var(--navy)}
.ect-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:0 16px}
.ect-input,.ect-select{padding:9px 10px;border:1px solid var(--line);border-radius:6px;font:inherit;min-width:0}
.ect-input:focus,.ect-select:focus,.ect-btn:focus,.ect-choice:focus{outline:3px solid var(--yellow);outline-offset:1px}
.ect-fieldset{border:1px solid var(--line);border-radius:8px;padding:12px 16px;margin:0 0 16px}.ect-fieldset legend{font-weight:700;color:var(--navy);padding:0 6px}
.ect-check{display:flex;gap:10px;align-items:flex-start;padding:6px 0}.ect-check input{margin-top:4px}
.ect-item{display:block;font-weight:600}.ect-why{display:block;font-size:14px;color:#566}
.ect-row{display:flex;justify-content:space-between;gap:12px;padding:8px 0;border-bottom:1px solid #eef0f4;flex-wrap:wrap}.ect-row-text{flex:1 1 260px}
.ect-seg{display:inline-flex;gap:4px;flex-wrap:wrap}.ect-seg input{position:absolute;opacity:0}.ect-seg label{border:1px solid var(--line);border-radius:20px;padding:3px 10px;font-size:13px;cursor:pointer}
.ect-seg input:checked+label{background:var(--navy);color:#fff;border-color:var(--navy)}.ect-seg input:focus+label{outline:3px solid var(--yellow)}
.ect-cols{display:grid;grid-template-columns:1fr 1fr;gap:20px}@media(max-width:800px){.ect-cols{grid-template-columns:1fr}}
.ect-col-in h3{border-bottom:3px solid var(--navy)}.ect-col-out h3{border-bottom:3px solid var(--red)}
.ect-output{white-space:pre-wrap;background:#0F2850;color:#fff;padding:16px;border-radius:8px;font:14px/1.5 ui-monospace,monospace;max-height:480px;overflow:auto}
.ect-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:12px 0}
.ect-btn,.ect-choice{font:inherit;border:2px solid var(--navy);background:#fff;color:var(--navy);border-radius:6px;padding:8px 14px;cursor:pointer;font-weight:600}
.ect-btn-primary{background:var(--yellow);border-color:var(--yellow);color:var(--navy)}
.ect-choice{display:block;width:100%;text-align:left;margin:6px 0}.ect-choice:hover{background:#f4f6fa}
.ect-summary{margin-top:16px;padding:16px;background:#f9fafc;border-radius:8px}
.ect-flags li{color:#8a1016}.ect-level{font-weight:700;font-size:18px;color:var(--navy)}.ect-level-high{color:var(--red)}
.ect-meter{height:10px;background:#e6e9ef;border-radius:5px;overflow:hidden}.ect-meter span{display:block;height:100%;background:var(--yellow)}
.ect-tag{font-size:12px;font-weight:700;border-radius:10px;padding:1px 8px;margin-left:4px}.ect-tag-low{background:#e3f3e6}.ect-tag-med{background:#fff1c7}.ect-tag-high{background:#fbd9db;color:#8a1016}
.ect-scroll{overflow-x:auto}.ect-table{border-collapse:collapse;width:100%;font-size:14px}.ect-table th,.ect-table td{border:1px solid var(--line);padding:6px 8px;text-align:left;vertical-align:top}
.ect-bids thead th{background:var(--navy);color:#fff}.ect-bids .ect-input{width:120px}.ect-calc td{font-weight:700}
.ect-path{font-size:14px;color:#566}.ect-result{border-left:6px solid var(--yellow);padding:4px 16px}
@media print{.ect-actions,.ect-select,.ect-disclaimer+.ect-field{display:none}.ect-tool{border:0;padding:0}}
.ect-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}.ect-note{margin-top:6px;width:100%;font-size:14px}
.ect-quote{margin-top:18px;padding:16px;border:2px solid var(--yellow);border-radius:8px;background:#fffbea}.ect-quote-lead{margin:0 0 8px;font-weight:600;color:var(--navy)}.ect-btn-quote{background:var(--red);border-color:var(--red);color:#fff;text-decoration:none}.ect-quote a.ect-btn{text-decoration:none}
