/* WB-53 staging: safety guide, repower calculator, safety gear. Uses style.css variables. */
.uscg-staging{background:#fff8dc;border:2px dashed #d4ad00;border-radius:12px;padding:10px 16px;color:#5a4500;font-size:.9rem;margin:0 0 18px}
.ug-form{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px;margin:10px 0 22px}
.ug-form fieldset{border:1px solid var(--line);border-radius:12px;padding:12px 14px;margin:0;background:#fff}
.ug-form legend{font-weight:800;padding:0 6px}
.ug-form label{display:block;font-size:.92rem;margin:6px 0}
.ug-form input[type=number],.ug-form input[type=text],.ug-form select,.ug-form textarea{width:100%;box-sizing:border-box;padding:8px 10px;border:1px solid #cfd6d2;border-radius:8px;font:inherit}
.ug-opt{display:flex!important;align-items:center;gap:8px}
.ug-len-row{display:flex;gap:10px;align-items:center}.ug-len-row input[type=range]{flex:1}
.ug-class{display:inline-block;background:var(--green);color:#fff;border-radius:99px;padding:3px 12px;font-weight:700;font-size:.85rem}
.ug-grid{display:grid;grid-template-columns:minmax(0,3fr) minmax(0,2fr);gap:20px;align-items:start}
@media (max-width:860px){.ug-grid{grid-template-columns:1fr}}
.ug-dia{background:#eef5f8;border:1px solid var(--line);border-radius:14px;padding:10px}
.ug-dia svg{width:100%;height:auto;display:block}
.ug-hot{cursor:pointer}.ug-hot circle{fill:var(--green);stroke:#fff;stroke-width:3}.ug-hot text{fill:#fff;font:700 13px Poppins,sans-serif;text-anchor:middle;dominant-baseline:central;pointer-events:none}
.ug-hot.st-conditional circle{fill:#c98a00}.ug-hot.st-verify circle{fill:#777}
.ug-hot:focus circle,.ug-hot.on circle{stroke:#111;stroke-width:4}
.ug-panel{background:#fff;border:1px solid var(--line);border-radius:14px;padding:16px;box-shadow:var(--shadow)}
.ug-list{list-style:none;padding:0;margin:18px 0;display:grid;gap:10px}
.ug-item{border:1px solid var(--line);border-left:6px solid var(--green);border-radius:10px;padding:12px 14px;background:#fff}
.ug-item.st-conditional{border-left-color:#c98a00}.ug-item.st-not-required,.ug-item.st-exempt{border-left-color:#9aa5a0;opacity:.85}.ug-item.st-verify{border-left-color:#777;background:#fafafa}
.ug-item h3{margin:0 0 4px;font-size:1.02rem;display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.ug-badge{font-size:.72rem;font-weight:800;text-transform:uppercase;letter-spacing:.06em;border-radius:99px;padding:2px 9px;background:var(--green-lt);color:var(--green-xdk)}
.ug-badge.b-conditional{background:#ffe7a8;color:#5a4500}.ug-badge.b-not-required,.ug-badge.b-exempt{background:#e6ebe8;color:#444}.ug-badge.b-verify{background:#ddd;color:#222}
.ug-cite{font-size:.8rem;color:var(--muted)}.ug-cite a{color:var(--muted)}
.ug-verify{color:#8a5a00;font-weight:700}
.rp-sec{border:1px solid var(--line);border-radius:14px;padding:16px;margin:18px 0;background:#fff}
.rp-sec h2{margin-top:0;font-size:1.25rem}
.rp-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:10px 16px}
.rp-grid label{font-size:.9rem}.rp-grid input,.rp-grid select{width:100%;box-sizing:border-box;padding:7px 9px;border:1px solid #cfd6d2;border-radius:8px;font:inherit}
.rp-table{width:100%;border-collapse:collapse;font-size:.92rem}.rp-table th,.rp-table td{border-bottom:1px solid var(--line);padding:6px 8px;text-align:left}
.rp-table input{width:100%;box-sizing:border-box;padding:6px;border:1px solid #cfd6d2;border-radius:6px;font:inherit}
.rp-out{background:var(--bg);border-radius:10px;padding:12px 14px;margin-top:10px}
.rp-flag{border-radius:10px;padding:9px 12px;margin:6px 0;font-size:.93rem}
.rp-flag.high,.rp-flag.fail{background:#fde4e2;border:1px solid #e2a59f}.rp-flag.medium,.rp-flag.warn{background:#fff3d1;border:1px solid #e6c76b}.rp-flag.pass{background:#e3f2e7;border:1px solid #a9d2b4}.rp-flag.info{background:#eef2f6;border:1px solid #cdd8e2}
.msc-q{border-top:1px solid var(--line);padding:12px 0}.msc-q:first-of-type{border-top:0}
.msc-q .q{font-weight:700;margin:0 0 6px}.msc-q .gen{font-size:.82rem;color:var(--muted);font-weight:400}
.msc-q .ans{background:var(--bg);border-radius:8px;padding:6px 10px;margin-top:6px;font-size:.9rem;white-space:pre-wrap}
#msc-letter{width:100%;min-height:340px;font:13px/1.45 ui-monospace,Menlo,Consolas,monospace;padding:10px;border:1px solid #cfd6d2;border-radius:10px;box-sizing:border-box}
.sg-req{background:var(--bg);border-radius:14px;padding:14px 16px;margin:14px 0}
.sg-filter{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0}
.sg-pill{background:var(--green);color:#fff;border-radius:99px;padding:3px 12px;font-size:.85rem;font-weight:700}
.sg-ship{font-size:.85rem;color:#5a4500;background:#fff8dc;border-radius:8px;padding:6px 10px;margin-top:8px}
@media print{.site-header,.site-footer,.uscg-staging,.page-back,.hero,.rp-noprint,.btn{display:none!important}.rp-sec{border:0;padding:0}#msc-letter{border:0;min-height:0}}
.sg-suggest{margin:12px 0 4px}
.sg-suggest-grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;margin-top:8px}
.sg-suggest .brand-card{margin:0}
.sg-suggest .brand-card-title{font-size:.95rem}
.brand-card .sp-badge{display:inline-block;margin:4px 0 6px}

.sg-uscg{color:#1b4d2e;font-weight:600}
.sg-uscg-no{color:#6b3a14;font-weight:600}
.rp-alt{display:flex;flex-direction:column;gap:8px}
.rp-alt-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:8px 12px;align-items:end}
.rp-alt-row .rp-alt-remove,.rp-alt .rp-alt-add{justify-self:start;width:auto}
.sg-img{background:#fff;display:flex;align-items:center;justify-content:center;padding:10px;border-bottom:1px solid #eef1ef}
.sg-img img{width:100%;max-width:220px;height:auto;aspect-ratio:1/1;object-fit:contain}
.sg-thresholds{width:100%;max-width:760px;border-collapse:collapse;margin:10px 0 12px;font-size:.95rem;background:#fff}
.sg-thresholds caption{text-align:left;font-weight:700;padding:4px 0}
.sg-thresholds th,.sg-thresholds td{border:1px solid #dfe5e1;padding:7px 10px;text-align:left;vertical-align:top}
.sg-thresholds thead th{background:#eef3f0}
.sg-thresholds tr.sg-th-on th,.sg-thresholds tr.sg-th-on td{background:#fff7d6}
.sg-req-notes{margin:6px 0 10px 18px;font-size:.92rem;line-height:1.45}
.sg-req-notes li{margin:3px 0}
