/* Rigging guide (Devon t226u/t227u/t228u). Loaded only by rigging-guide.html. */
.rg-steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:14px;margin-bottom:14px}
.rg-steps fieldset,.rg-steer{border:1px solid var(--line);border-radius:var(--radius);padding:10px 14px;margin:0;background:var(--bg)}
.rg-steps legend,.rg-steer legend{font-weight:800;padding:0 6px}
.rg-opt{display:flex;align-items:center;gap:8px;padding:5px 0;cursor:pointer}
.rg-opt input{accent-color:var(--green);width:18px;height:18px}
.rg-sp{margin-top:8px}.rg-sp input{width:100%;accent-color:var(--green)}
.rg-unv{background:#fff7e0;border-left:4px solid #e0a800}
.rg-bar{display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between;margin:10px 0}
.rg-summary{font-weight:700;margin:0}
.rg-steer{display:flex;gap:6px 16px;flex-wrap:wrap;padding:6px 14px}
.rg-grid{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:18px;align-items:start}
.rg-dia{background:#eaf2f6;border-radius:var(--radius);padding:8px}
.rg-svg{width:100%;height:auto;max-height:78vh;display:block}
.rg-hull{fill:#fff;stroke:#2b5336;stroke-width:3}
.rg-deck{fill:#f3f6f4;stroke:#9bb5a2;stroke-width:2}
.rg-console{fill:#dfe9e2;stroke:#407C51;stroke-width:2;stroke-dasharray:6 4}
.rg-cap{font-size:13px;font-weight:700;fill:#2b5336}
.rg-node{cursor:pointer;outline:none}
.rg-node text{font-size:11px;font-weight:700;fill:#111;paint-order:stroke;stroke:#fff;stroke-width:3px}
.rg-hit{fill:transparent;stroke:transparent;stroke-width:2}
.rg-node:hover .rg-hit,.rg-node:focus .rg-hit{fill:rgba(64,124,81,.12);stroke:#407C51}
.rg-node.on .rg-hit{fill:rgba(255,204,0,.35);stroke:#e0a800;stroke-width:3}
.rg-line{fill:none;stroke-width:3;opacity:.9}
.rg-harness{stroke:#e07b00}.rg-dts{stroke:#2e7d32;stroke-width:3}.rg-cable{stroke:#666;stroke-width:2}.rg-data{stroke:#2f7f86;stroke-dasharray:5 4}
.rg-hose{stroke:#1565c0}.rg-can{stroke:#7b1fa2;stroke-dasharray:2 4;stroke-width:3}
.rg-tiebar{stroke:#37474f;stroke-width:7;stroke-linecap:round}
.rg-tie.on .rg-tiebar{stroke:#e0a800}
.rg-legend{display:flex;flex-wrap:wrap;gap:6px 16px;list-style:none;padding:0;margin:8px 4px;font-size:.85rem}
.rg-legend i{display:inline-block;width:24px;height:0;border-top:3px solid;vertical-align:middle;margin-right:6px}
.rg-legend .l-harness{border-color:#e07b00}.rg-legend .l-dts{border-color:#2e7d32}.rg-legend .l-cable{border-color:#666}.rg-legend .l-data{border-top-style:dashed;border-color:#2f7f86}
.rg-legend .l-hose{border-color:#1565c0}.rg-legend .l-can{border-top-style:dotted;border-color:#7b1fa2}.rg-legend .l-tie{border-top-width:6px;border-color:#37474f}
.rg-panel{position:sticky;top:90px;background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);padding:16px}
.rg-close{float:right;border:0;background:none;font-size:1.6rem;line-height:1;cursor:pointer}
.rg-p-head{display:flex;gap:12px;align-items:center}.rg-p-head h3{margin:0}
.rg-parts{padding-left:18px}.rg-parts li{margin:6px 0}
.rg-pn{font-family:ui-monospace,Menlo,Consolas,monospace;font-weight:700}
.rg-unsourced{font-family:inherit;font-weight:600;color:var(--muted);font-style:italic}
.rg-badge{display:inline-block;font-size:.7rem;font-weight:800;border-radius:999px;padding:1px 8px;vertical-align:middle}
.rg-badge.unv{background:#fff0c2;color:#7a5800}.rg-badge.ok{background:#d9f0df;color:#1d5c2f}
.rg-price{color:var(--muted);font-size:.9em}
.rg-list td{vertical-align:middle}.rg-li .rg-ico{display:block}
.rg-link{border:0;background:none;padding:0;color:var(--green-dk);font:inherit;font-weight:700;text-decoration:underline;cursor:pointer;text-align:left}
.rg-flags{margin:12px 0}.rg-flags:empty{display:none}
.rg-flags{background:#fff4f2;border-left:4px solid #e2231a;padding:8px 14px;border-radius:8px}.rg-flags ul{margin:4px 0 0;padding-left:18px}
.rg-share{margin:14px 0}.rg-share label{font-weight:700}
.rg-share-row{display:flex;gap:8px}.rg-share-row input{flex:1;min-width:0;padding:10px;border:1px solid var(--line);border-radius:10px;font-size:.85rem}
.rg-review{background:var(--bg);border-radius:var(--radius);padding:16px;margin:14px 0}
.rg-review label{display:block;font-weight:600;font-size:.9rem;margin-bottom:8px}
.rg-review input,.rg-review textarea{width:100%;padding:9px;border:1px solid var(--line);border-radius:10px;font:inherit}
.rg-review-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:0 12px}
.rg-h2{margin-top:28px}
#rg-kits .tabs{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:10px}
.rg-kit-item{border:1px solid var(--line);border-radius:10px;padding:8px 12px;margin:6px 0;background:#fff}
.rg-kit-item summary{cursor:pointer}
.rg-kit-body{display:flex;gap:12px;align-items:flex-start;margin-top:8px}.rg-kit-body p{margin:0 0 6px}
.rg-cta{margin:24px 0 10px}
@media (max-width:900px){
  .rg-grid{grid-template-columns:1fr}
  .rg-panel{position:static}
  .rg-list thead{display:none}.rg-list tr{display:grid;grid-template-columns:44px 1fr;gap:2px 8px;padding:8px 0;border-bottom:1px solid var(--line)}
  .rg-list td{border:0;padding:0}.rg-list .rg-li{grid-row:span 5}
  .rg-list td[data-label="Qty"]::before{content:"Qty: ";font-weight:700}
}

.rg-hp{display:flex;flex-wrap:wrap;gap:4px 14px;margin-top:8px}
.rg-photo{object-fit:contain;background:#fff;border:1px solid var(--line);border-radius:8px;display:block}
.rg-p-head .rg-photo{width:88px;height:88px}
.rg-li .rg-photo{width:56px;height:56px}
#rg-dctl-wrap{margin-top:8px}
/* v3 (2:15 PM brief): 3/4 angled cutaway diagram, engine-count chips, control mounting, zoom */
.rg-chips{display:flex;flex-wrap:wrap;gap:.6rem}
.rg-chips .rg-opt.rg-chip{padding:.7rem 1.1rem;border:2px solid #cfd8d3;border-radius:12px;background:#fff;min-width:7.5rem}
.rg-chips .rg-opt.rg-chip span{display:flex;flex-direction:column;line-height:1.2}
.rg-chips .rg-opt.rg-chip b{font-size:1.15rem}.rg-chips .rg-opt.rg-chip small{color:#555}
.rg-chips .rg-opt.rg-chip:has(input:checked){border-color:#407C51;background:#eef6f0}
.rg-eng-count legend{font-size:1.1rem}
.rg-sub{margin:.6rem 0 .2rem;font-weight:600}
.rg-zoom{display:flex;align-items:center;gap:.4rem;margin-bottom:.4rem;flex-wrap:wrap}
.rg-zoom .btn{padding:.35rem .8rem;min-width:2.6rem}
.rg-zoom #rg-zoom-val{min-width:3.2rem;text-align:center;font-weight:700}
.rg-dia-scroll{overflow:auto;-webkit-overflow-scrolling:touch;border:1px solid #dde3e0;border-radius:12px;background:linear-gradient(#f4f9fc,#e6f1f7);max-height:82vh;touch-action:pan-x pan-y}
.rg-dia-scroll .rg-svg{max-height:none;width:100%;min-width:0}
.rg-3q .rg-water{fill:#cfe6f3;opacity:.7}
.rg-3q .rg-hullside{fill:#fbfbfb;stroke:#4b5563;stroke-width:1.5}
.rg-3q .rg-tunnel{fill:#cdd5db;stroke:#4b5563;stroke-width:1}
.rg-3q .rg-boot{fill:none;stroke:#1f3a5f;stroke-width:4}
.rg-3q .rg-bulwark{fill:#eef1f3;stroke:#8a96a3;stroke-width:1}
.rg-3q .rg-floor{fill:#e8e2d4;stroke:#a39b88;stroke-width:1}
.rg-3q .rg-deck{fill:#f4f4f4;stroke:#8a96a3;stroke-width:1}
.rg-3q .rg-gunwale{fill:none;stroke:#37474f;stroke-width:3;stroke-linejoin:round}
.rg-3q .rg-gunwale.rg-cut{stroke-dasharray:7 4;stroke-width:2;opacity:.8}
.rg-3q .rg-transom{fill:#f0f0f0;stroke:#4b5563;stroke-width:1.5}
.rg-3q .rg-console.rg-f-aft{fill:#f7f7f7;stroke:#5f6b76}.rg-3q .rg-console.rg-f-side{fill:#dde2e6;stroke:#5f6b76}.rg-3q .rg-console.rg-f-top{fill:#ffffff;stroke:#5f6b76}
.rg-3q .rg-dash{fill:#2f3438}
.rg-3q .rg-windshield{fill:rgba(150,200,230,.45);stroke:#6b8ea3}
.rg-3q .rg-seatbase{fill:#d9dee2;stroke:#5f6b76}.rg-3q .rg-cushion{fill:#f2efe6;stroke:#8d8471}
.rg-3q .rg-vv{fill:#111;stroke:#000}.rg-3q .rg-vv-screen{fill:#0b2433}
.rg-3q .rg-vv-arc{fill:none;stroke:#5ad1ff;stroke-width:2}.rg-3q .rg-vv-needle{stroke:#ff6d00;stroke-width:2}
.rg-3q .rg-vv-fuel{fill:#7cfc9a}.rg-3q .rg-vv-trim{fill:#ffd54f}
.rg-3q .rg-vv-t{fill:#cfefff;font-weight:700;stroke:none}
.rg-3q .rg-key-bezel{fill:#9aa3ab;stroke:#333}.rg-3q .rg-key-face{fill:#2b2b2b}.rg-3q .rg-key-slot{stroke:#e0e0e0;stroke-width:2}
.rg-3q .rg-key-panel{fill:#1d1d1d;stroke:#000}.rg-3q .rg-btn-start{fill:#2e7d32}.rg-3q .rg-btn-stop{fill:#c62828}
.rg-3q .rg-wheel{fill:none;stroke:#1e1e1e;stroke-width:4}.rg-3q .rg-wheel-hub{fill:#555}.rg-3q .rg-spoke{stroke:#333;stroke-width:2.5}.rg-3q .rg-helm-shaft{stroke:#555;stroke-width:3}
.rg-3q .rg-ctl-body{fill:#2a2a2a;stroke:#000}.rg-3q .rg-ctl-body.rg-f-top{fill:#3a3a3a}
.rg-3q .rg-lever{stroke:#9e9e9e;stroke-width:4;stroke-linecap:round}.rg-3q .rg-knob{fill:#111}
.rg-3q .rg-ctl-screen{fill:#4fc3f7;stroke:#01579b}
.rg-3q .rg-jbox-body.rg-f-aft{fill:#4a5561;stroke:#222}.rg-3q .rg-jbox-body.rg-f-side{fill:#3a434c;stroke:#222}.rg-3q .rg-jbox-body.rg-f-top{fill:#5b6773;stroke:#222}
.rg-3q .rg-busbar{fill:#c47f3a;stroke:#7a4a17}.rg-3q .rg-port{fill:#ffd54f;stroke:#333}
.rg-3q .rg-bracket{fill:#4a4a4a;stroke:#111}.rg-3q .rg-midsection{fill:#2b2b2b;stroke:#111}.rg-3q .rg-plate{fill:#555;stroke:#111}
.rg-3q .rg-gearcase{fill:#333;stroke:#111}.rg-3q .rg-prop{fill:#9e9e9e;stroke:#333}
.rg-3q .rg-cowl{fill:#151515;stroke:#000}.rg-3q .rg-cowl-stripe{fill:#9aa3ab}
.rg-3q text.rg-hp{font-size:15px;font-weight:800;fill:#111;stroke:#fff;stroke-width:4px;paint-order:stroke}
.rg-3q text.rg-shaft{font-size:12px;font-weight:700;fill:#0d47a1;stroke:#fff;stroke-width:3px;paint-order:stroke}
.rg-3q .rg-tube{fill:none;stroke:#1d1d1d;stroke-width:9;stroke-linecap:round}
.rg-3q .rg-cyl{stroke:#455a64;stroke-width:7;stroke-linecap:round}.rg-3q .rg-cyl-rod{stroke:#b0bec5;stroke-width:3}
.rg-3q .rg-act{fill:#6a1b9a;stroke:#2a0a3d}
.rg-3q .rg-pump-mercury{fill:#2b2b2b;stroke:#000}.rg-3q .rg-pump-motor-mercury{fill:#9aa3ab;stroke:#222}
.rg-3q .rg-pump-seastar{fill:#f5f5f5;stroke:#0d47a1}.rg-3q .rg-pump-motor-seastar{fill:#1565c0;stroke:#0d47a1}
.rg-3q text.rg-pump-t{font-size:11px;font-weight:700;fill:#111;stroke:#fff;stroke-width:3px;paint-order:stroke}
.rg-3q .rg-tiebar{stroke:#607d8b;stroke-width:6;stroke-linecap:round}
.rg-3q .rg-run{fill:none;stroke-width:3;stroke-linecap:round;stroke-linejoin:round;opacity:.92;pointer-events:none}
.rg-3q .rg-harness{stroke:#e07b00}.rg-3q .rg-data{stroke:#00897b;stroke-dasharray:6 4}.rg-3q .rg-dts{stroke:#2e7d32;stroke-width:3.5}
.rg-3q .rg-cable{stroke:#757575;stroke-width:3.5}.rg-3q .rg-hose{stroke:#1565c0;stroke-width:3.5}.rg-3q .rg-can{stroke:#6a1b9a;stroke-dasharray:3 3}
.rg-3q .rg-leader{fill:none;stroke:#37474f;stroke-width:1.2}.rg-3q .rg-dot{fill:#fff;stroke:#37474f;stroke-width:1.5}
.rg-3q .rg-callbox{fill:#fff;stroke:#90a4ae;stroke-width:1.2}
.rg-3q text.rg-call-t{font-size:14px;font-weight:800;fill:#111;stroke:none}
.rg-3q text.rg-call-s{font-size:12px;font-weight:600;fill:#455a64;stroke:none}
.rg-3q .rg-node:hover .rg-callbox,.rg-3q .rg-node:focus .rg-callbox{stroke:#407C51;stroke-width:2}
.rg-3q .rg-node.on .rg-callbox{fill:#fff6cc;stroke:#e0a800;stroke-width:2.5}
.rg-3q .rg-node.on > path:not(.rg-leader),.rg-3q .rg-node.on > g{filter:drop-shadow(0 0 4px #ffb300)}
.rg-3q.rg-focus .rg-run{opacity:.12}
.rg-3q.rg-focus .rg-run.hl{opacity:1;stroke-width:5.5}
.rg-3q.rg-focus .rg-call:not(.on){opacity:.55}
.rg-legend .l-can{border-color:#6a1b9a;border-top-style:dotted}.rg-legend .l-hose{border-color:#1565c0}.rg-legend .l-tie{border-color:#607d8b}
@media (max-width:700px){.rg-dia-scroll{max-height:70vh}.rg-chips .rg-opt.rg-chip{min-width:calc(50% - .6rem)}}
.rg-legend .l-data{border-color:#00897b}
.rg-3q .rg-dim{fill:none;stroke:#0d47a1;stroke-width:1.5}
.rg-3q .rg-tunnel-open{fill:#9fb7c6;stroke:#4b5563;stroke-width:1}
.rg-steps .rg-eng-count{grid-column:1/-1;border-width:2px;border-color:#407C51}
.rg-steps .rg-hpset{grid-column:span 2}
.rg-hpset .rg-hp{display:flex;flex-wrap:wrap;gap:2px 16px}
@media (max-width:700px){.rg-steps .rg-hpset{grid-column:auto}}
/* t245u: joystick + tie bars between every pair */
.rg-3q .rg-joy-base.rg-f-aft{fill:#3a3a3a;stroke:#000}.rg-3q .rg-joy-base.rg-f-side{fill:#2a2a2a;stroke:#000}.rg-3q .rg-joy-base.rg-f-top{fill:#4a4a4a;stroke:#000}
.rg-3q .rg-joy-stick{stroke:#8a8a8a;stroke-width:5;stroke-linecap:round}.rg-3q .rg-joy-knob{fill:#111;stroke:#9aa3ab;stroke-width:1.5}.rg-3q .rg-joy-btn{fill:#c62828}
.rg-3q .rg-tiebar-under{fill:none;stroke:#1b2a33;stroke-width:12;stroke-linecap:round;opacity:.9}
.rg-3q .rg-tiebar{fill:none;stroke:#b0bec5;stroke-width:7;stroke-linecap:round}
.rg-3q .rg-tiebar-bolt{fill:#cfd8dc;stroke:#263238;stroke-width:1.5}
.rg-3q text.rg-tie-t{font-size:13px;font-weight:800;fill:#263238;stroke:#fff;stroke-width:4px;paint-order:stroke}
.rg-3q .rg-node.on .rg-tiebar{stroke:#e0a800}
.rg-joyset{margin-top:.4rem;border-top:1px solid #dde3e0;padding-top:.2rem}
/* t247u: exact boat length; t245u joystick TVM */
.rg-len-set .rg-len-row{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}
.rg-len-set #rg-len{width:5.5rem;padding:.35rem .5rem;font-weight:700;font-size:1.05rem}
.rg-len-set #rg-len-range{width:100%;margin:.35rem 0}
.rg-opt.rg-suggest span{font-weight:650}
.rg-opt.rg-reviewhp span{color:#555}
.rg-3q .rg-tvm.rg-f-aft{fill:#455a64;stroke:#222}.rg-3q .rg-tvm.rg-f-side{fill:#37474f;stroke:#222}.rg-3q .rg-tvm.rg-f-top{fill:#607d8b;stroke:#222}

/* t262u-t265u: real engine photos, realistic harness, detailed steering hardware, bigger center-console helm */
.rg-3q svg.rg-ephoto{overflow:hidden;pointer-events:none}
.rg-3q .rg-ephoto image{pointer-events:none}
.rg-3q .rg-node .rg-ephoto{filter:drop-shadow(1px 2px 2px rgba(0,0,0,.35))}
.rg-3q .rg-node.on .rg-ephoto{filter:drop-shadow(0 0 5px #ffb300)}
/* harness: wrapped black loom, colour-coded outline, ties, plugs */
.rg-3q g.rg-run{stroke-dasharray:none;stroke-width:1;opacity:1}
.rg-3q g.rg-run path{fill:none;stroke-linecap:round;stroke-linejoin:round}
.rg-3q g.rg-harness{color:#e07b00}.rg-3q g.rg-data{color:#00897b}.rg-3q g.rg-dts{color:#2e7d32}.rg-3q g.rg-cable{color:#8a8a8a}.rg-3q g.rg-can{color:#8e24aa}
.rg-3q .rg-r-halo{stroke:currentColor}
.rg-3q .rg-r-loom{stroke:#161616}
.rg-3q g.rg-cable .rg-r-loom{stroke:#3a3a3a}
.rg-3q .rg-r-rib{stroke:#6b6b6b;stroke-dasharray:1.1 2.5;stroke-linecap:butt;opacity:.55}
.rg-3q .rg-r-hi{stroke:#fff;stroke-width:1;opacity:.38}
.rg-3q .rg-r-tie{stroke:#f4f4f4;stroke-width:2;stroke-linecap:butt}
.rg-3q .rg-r-clip{fill:#cfd8dc;stroke:#37474f;stroke-width:.6}
.rg-3q .rg-conn-ring{fill:#2a2a2a;stroke:currentColor;stroke-width:1.6}
.rg-3q .rg-conn-body{fill:#0d0d0d;stroke:#8d8d8d;stroke-width:.8}
.rg-3q .rg-conn-pin{fill:#e6c15a;stroke:none}
.rg-3q.rg-focus .rg-run{opacity:.14}
.rg-3q.rg-focus .rg-run.hl{opacity:1;stroke-width:1;filter:drop-shadow(0 0 3px #ffca28)}
/* steering cylinder, helm, pump */
.rg-3q .rg-tilt-u{stroke:#263238;stroke-width:8;stroke-linecap:round}
.rg-3q .rg-tilt{stroke:#b0bec5;stroke-width:5;stroke-linecap:round}
.rg-3q .rg-cyl-u{stroke:#101820;stroke-width:12;stroke-linecap:round}
.rg-3q .rg-cyl{stroke:#455a64;stroke-width:10;stroke-linecap:round}
.rg-3q .rg-cyl-hi{stroke:#cfd8dc;stroke-width:2;opacity:.7;stroke-linecap:round}
.rg-3q .rg-cyl-cap{stroke:#263238;stroke-width:3.5;stroke-linecap:round}
.rg-3q .rg-cyl-band{stroke:#90a4ae;stroke-width:2.2;stroke-linecap:round}
.rg-3q .rg-cyl-rod-u{stroke:#37474f;stroke-width:5.5;stroke-linecap:round}
.rg-3q .rg-cyl-rod{stroke:#eceff1;stroke-width:3.4;stroke-linecap:round}
.rg-3q .rg-cyl-eye{fill:#cfd8dc;stroke:#263238;stroke-width:1.6}
.rg-3q .rg-fit-stem{stroke:#1565c0;stroke-width:3;stroke-linecap:round}
.rg-3q .rg-fit{fill:#c9a227;stroke:#5d4a00;stroke-width:1}
.rg-3q .rg-helmbody{fill:#b0bec5;stroke:#37474f;stroke-width:1.2;stroke-dasharray:4 3;opacity:.9}
.rg-3q .rg-helmbody-e{fill:#ce93d8}
.rg-3q .rg-helmbody.rg-f-side{fill:#90a4ae}.rg-3q .rg-helmbody.rg-f-top{fill:#cfd8dc}
.rg-3q .rg-helm-boss{fill:#78909c;stroke:#263238;stroke-width:1.4}
.rg-3q .rg-helm-bore{fill:#1c1c1c;stroke:#000}
.rg-3q .rg-helm-fill{stroke:#78909c;stroke-width:3;stroke-linecap:round}
.rg-3q .rg-port-stem{stroke:#1565c0;stroke-width:3.2;stroke-linecap:round}
.rg-3q .rg-port-nut{fill:#c9a227;stroke:#5d4a00;stroke-width:1}
.rg-3q .rg-helm-shaft{stroke:#cfd8dc;stroke-width:3.2;stroke-linecap:round}
.rg-3q .rg-pump-base{fill:#455a64;stroke:#1c262b}
.rg-3q .rg-pump-barrel-u{stroke:#1c1c1c;stroke-width:14;stroke-linecap:round}
.rg-3q .rg-pump-barrel-mercury{stroke:#3a3f44;stroke-width:11;stroke-linecap:round}
.rg-3q .rg-pump-barrel-seastar{stroke:#1565c0;stroke-width:11;stroke-linecap:round}
.rg-3q .rg-pump-hub{fill:#eceff1;stroke:#222}
.rg-3q .rg-pump-res-mercury{stroke:#9aa3ab;stroke-width:8;stroke-linecap:round}
.rg-3q .rg-pump-res-seastar{stroke:#e3f2fd;stroke-width:8;stroke-linecap:round}
.rg-3q .rg-pump-conn{fill:#111;stroke:#000}
.rg-3q .rg-pump-led{fill:#43a047;stroke:#1b5e20}
.rg-3q .rg-thumb-bg{fill:#fff;stroke:#b0bec5;stroke-width:1}
.rg-3q .rg-thumb{pointer-events:none}
.rg-3q text.rg-vv-val{fill:#e8f5e9;font-weight:800;stroke:none}
/* legend swatches look like the wrapped loom */
.rg-legend .l-harness,.rg-legend .l-dts,.rg-legend .l-cable,.rg-legend .l-data,.rg-legend .l-can{height:5px;width:28px;border:2px solid;border-top:2px solid;border-radius:4px;background:#161616;vertical-align:middle}
.rg-legend .l-harness{border-color:#e07b00}.rg-legend .l-dts{border-color:#2e7d32}.rg-legend .l-cable{border-color:#8a8a8a}.rg-legend .l-data{border-color:#00897b;height:3px}.rg-legend .l-can{border-color:#8e24aa;height:3px}

/* t273u: interactive 3D view (three.js) with HTML callouts; the 2D SVG remains the fallback */
.rg-viewtoggle{display:flex;align-items:center;gap:.4rem;margin-bottom:.4rem;flex-wrap:wrap}
.rg-viewtoggle .btn{padding:.4rem 1rem;opacity:.7}
.rg-viewtoggle .btn[aria-pressed="true"]{opacity:1;background:var(--green,#407C51);border-color:var(--green,#407C51);color:#fff}
.rg-dia-scroll.rg-is3d{overflow:hidden;max-height:none;touch-action:none}
.rg3{position:relative;width:100%;height:min(76vh,680px);min-height:420px;overflow:hidden;border-radius:12px;background:linear-gradient(#f4f9fc,#dcebf3)}
.rg3-canvas{position:absolute;inset:0;width:100%;height:100%;display:block;cursor:grab;outline:none}
.rg3-canvas:active{cursor:grabbing}
.rg3-leaders{position:absolute;inset:0;pointer-events:none;overflow:visible}
.rg3-lh{fill:none;stroke:#fff;stroke-width:5;stroke-linejoin:round;stroke-linecap:round;opacity:.95}
.rg3-ll{fill:none;stroke:#16242b;stroke-width:2;stroke-linejoin:round}
.rg3-ld{fill:#fff;stroke:#16242b;stroke-width:2.5}
.rg3-ll.on{stroke:#b36b00;stroke-width:3}.rg3-ld.on{fill:#ffb300;stroke:#7a4a00}
.rg3-ll.dim,.rg3-lh.dim,.rg3-ld.dim{opacity:.3}
.rg3-labels{position:absolute;inset:0;pointer-events:none}
.rg3-label{position:absolute;left:0;top:0;pointer-events:auto;display:flex;align-items:center;justify-content:space-between;gap:8px;text-align:left;cursor:pointer;box-sizing:border-box;
  background:#fff;color:#0b1418;border:2px solid #16242b;border-radius:10px;padding:5px 9px;box-shadow:0 2px 6px rgba(0,0,0,.25);font-family:inherit;will-change:transform}
.rg3-lt{display:flex;flex-direction:column;min-width:0;line-height:1.2}
.rg3-lt b{font-size:15px;font-weight:800;color:#0b1418}
.rg3-lt small{font-size:12.5px;font-weight:700;color:#2f4a57;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rg3-label img{width:38px;height:38px;object-fit:contain;background:#fff;border:1px solid #9fb0b8;border-radius:6px;flex:none}
.rg3-label:hover,.rg3-label:focus-visible{border-color:#407C51;box-shadow:0 0 0 3px rgba(64,124,81,.35)}
.rg3-label.on{background:#fff3c4;border-color:#b36b00;box-shadow:0 0 0 3px rgba(255,179,0,.5)}
.rg3-label.dim{opacity:.55}
.rg3-nolabels .rg3-labels,.rg3-nolabels .rg3-leaders{display:none}
.rg3-mob .rg3-label{padding:3px 7px;border-width:1.5px;border-radius:8px}
.rg3-mob .rg3-lt b{font-size:12.5px}
.rg3-mob .rg3-lt small,.rg3-mob .rg3-label img{display:none}
.rg3-tools{position:absolute;right:8px;bottom:34px;display:flex;flex-wrap:wrap;gap:6px;justify-content:flex-end;max-width:calc(100% - 16px);z-index:3}
.rg3-tools button{min-width:44px;min-height:40px;padding:6px 12px;border:2px solid #16242b;border-radius:999px;background:#fff;color:#0b1418;font:800 14px/1 inherit;font-family:inherit;cursor:pointer;box-shadow:0 2px 5px rgba(0,0,0,.2)}
.rg3-tools button.rg3-preset{min-width:5.6rem;min-height:44px;padding:8px 14px;font-size:15px}
.rg3-tools button[data-v="fit"]{background:#16242b;color:#fff}
.rg3-tools button[data-v="steering"][aria-pressed="true"]{background:#c47f3a;border-color:#8a5a22;color:#fff}
.rg3-tools button[aria-pressed="false"]{opacity:.6}
.rg3-zoom{position:absolute;left:8px;bottom:34px;z-index:3;background:rgba(22,36,43,.88);color:#fff;font-weight:800;font-size:14px;padding:6px 12px;border-radius:999px}
.rg3-hint{position:absolute;left:0;right:0;bottom:6px;text-align:center;font-size:12.5px;font-weight:600;color:#2f4a57;pointer-events:none;padding:0 8px}
.rg3-loading{padding:2rem;text-align:center}
@media (max-width:700px){.rg3{height:72vh;min-height:440px}.rg3-tools button{min-width:40px;min-height:38px;padding:5px 9px;font-size:13px}.rg3-hint{font-size:11.5px}}
.rg3{display:flex;flex-direction:column;height:auto;min-height:0}
.rg3-stage{position:relative;width:100%;height:min(74vh,660px);min-height:420px;overflow:hidden}
.rg3-tools{position:static;display:flex;flex-wrap:wrap;gap:6px;align-items:center;justify-content:flex-start;max-width:none;padding:8px;background:rgba(255,255,255,.7);border-bottom:1px solid #cfdde5}
.rg3-zoom{position:static;margin-left:auto;background:#16242b;color:#fff;font-weight:800;font-size:14px;padding:8px 12px;border-radius:999px}
@media (max-width:700px){.rg3-stage{height:68vh;min-height:430px}.rg3-tools{gap:5px;padding:6px}.rg3-tools button.rg3-preset{min-width:4.4rem;min-height:42px;padding:7px 10px;font-size:13.5px}}
@media (max-width:700px){.rg3-hint{display:block;font-size:12px;font-weight:800}.rg3-label{width:auto}}
.rg3-mob .rg3-lh{stroke-width:3.5}.rg3-mob .rg3-ll{stroke-width:1.6}

/* t306u: inline part-number dropdown in the parts list */
.rg-pn-btn{background:none;border:0;padding:2px 4px;cursor:pointer;color:#0b4a6f;text-decoration:underline;font-size:inherit}
.rg-pn-btn[aria-expanded="true"]{background:#e8f1f6;border-radius:4px}
.rg-pn-detail td{background:#f4f8fa;padding:10px 12px;border-top:0}
.rg-pn-card{display:flex;gap:14px;align-items:flex-start;flex-wrap:wrap}
.rg-pn-body{flex:1 1 260px;min-width:0}
.rg-pn-body h4{margin:0 0 6px}.rg-pn-body p{margin:4px 0}
.rg-pn-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}

/* t303u-t305u: running total */
.rg-totals{background:#0f2a37;color:#fff;border-radius:8px;padding:10px 14px;margin:0 0 10px;box-shadow:0 2px 6px rgba(0,0,0,.25)}
.rg-tot-row{display:flex;justify-content:space-between;gap:12px;align-items:baseline}
.rg-tot-row b{font-size:1.25rem}.rg-tot-eng{opacity:.9;font-size:.95rem}.rg-tot-eng b{font-size:1.05rem}
.rg-tot-note{font-size:.82rem;opacity:.85;margin-top:4px}
.rg-list tfoot td{font-weight:700;background:#eef4f7;border-top:2px solid #16242b}.rg-foot-eng td{font-weight:600;background:#f6f9fb;border-top:0}
.rg-unit{white-space:nowrap}.rg-xchk{color:#b26a00;cursor:help;font-weight:700}.rg-xnote{color:#8a4b00}

.rg-hose2{stroke:#0d47a1}.rg-3q .rg-hose2{stroke:#0d47a1;stroke-width:3.5}.rg-bulk-fl{fill:#c9a227;stroke:#6d5a10;stroke-width:1}.rg-bulk-nut{fill:#8d8d8d;stroke:#444;stroke-width:.8}.rg-clamp{fill:none;stroke:#263238;stroke-width:2}.rg-inkit{font-size:.8em}

/* t319u/t320u: kit choices (no part rows), motor family chips, unsourced box */
.rg-kit-h{margin:20px 0 8px;font-size:1.05rem}
.rg-kitchoices{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:10px}
.rg-kitbtn{display:flex;flex-direction:column;gap:3px;text-align:left;padding:12px 14px;border:1px solid #cfd8dc;border-radius:10px;background:#fff;cursor:pointer;font:inherit;color:inherit}
.rg-kitbtn:hover,.rg-kitbtn:focus-visible{border-color:#0d47a1;box-shadow:0 0 0 2px rgba(13,71,161,.15)}
.rg-kitbtn b{font-size:.95rem}.rg-kitbtn small{color:#546e7a;font-size:.8rem;line-height:1.3}
#rg-family .rg-chip small{display:block;font-size:.7rem;line-height:1.25;max-width:150px}
.rg-unsourcedbox{padding:28px 22px;border:2px dashed #b0bec5;border-radius:12px;background:#f5f8fa;text-align:center}
.rg-unsourcedbox h3{margin:0 0 8px}
.rg-steps [hidden]{display:none!important}

/* t317u/t318u: port / starboard length dropdowns */
.rg-lens{margin:6px 0 10px}
.rg-len-pick{display:flex;flex-direction:column;gap:2px;font-size:.82rem;margin:6px 0}
.rg-len-pick select{font:inherit;padding:6px 8px;border:1px solid #b0bec5;border-radius:8px;background:#fff;max-width:100%}
/* t313u/t314u: gauges on the dash + photo-unsourced tag */
#rg-gauge .rg-chip small{display:block;font-weight:400}
.rg-nophoto{display:block;margin-top:4px;font-size:.72rem;line-height:1.2;color:#6b5d00;background:#fff8d6;border:1px solid #e8d77a;border-radius:6px;padding:2px 5px;max-width:96px;text-align:center}
.rg-pn-pic{flex:0 0 auto;display:flex;flex-direction:column;align-items:center}
.rg-3q .rg-vv-pend{fill:rgba(207,216,220,.35);stroke:#78909c;stroke-dasharray:3 2}
.rg-3q .rg-dial-bezel{fill:#c9cfd4;stroke:#6b7279}.rg-3q .rg-dial-face{fill:#0b0f12;stroke:#000}
.rg-3q .rg-vv-btn{fill:#2b2f33;stroke:#000}

.rg-3q .rg-frame{fill:none;stroke:#59646d;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}
.rg-3q .rg-hardtop{fill:rgba(240,244,246,.42);stroke:#8a96a3;stroke-width:1}
.rg-render{background:radial-gradient(circle at 50% 35%,#ffffff 0,#eef2f5 70%);padding:2px}
.rg-rt{display:inline-block}
.rg-li .rg-rt .rg-ico{display:block}

/* LM_T147: standard "Needs verification" badge (t147u) */
.lm-verify, .rgo-nv { display: inline-block; background: #fff4d6; color: #7a4b00; border: 1px solid #f0b429; border-radius: 999px; padding: 1px 8px; font-size: .78em; font-weight: 600; line-height: 1.5; white-space: nowrap; vertical-align: middle; }
.lm-verify-btn[disabled] { opacity: .65; cursor: not-allowed; font-size: .85em; padding: 4px 10px; }

/* LM_PS_BOM: amber limit badge (same look as .lm-verify) */
.lm-limit { display: inline-block; background: #fff4d6; color: #7a4b00; border: 1px solid #f0b429; border-radius: 999px; padding: 1px 8px; font-size: .78em; font-weight: 600; line-height: 1.5; vertical-align: middle; }
#rg-ps-wrap { margin-top: 10px; }
#rg-ps-wrap select { max-width: 100%; }
