.sh-troubleshooting .ts-toolbar,.sh-troubleshooting .ts-leads,.sh-troubleshooting .ts-recovery-controls{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.sh-troubleshooting .ts-toolbar>div{margin-right:auto}
.sh-troubleshooting button,.sh-troubleshooting select{border:1px solid #315776;border-radius:8px;background:#102b42;color:#edf7ff;padding:10px 12px;min-height:44px;max-width:100%}
.sh-troubleshooting button:focus-visible,.sh-troubleshooting select:focus-visible{outline:2px solid #31cfff;outline-offset:2px}
.sh-troubleshooting .ts-card{display:flex;flex-direction:column;gap:10px;text-align:left;min-height:120px;width:100%;max-width:480px}
.sh-troubleshooting .ts-symptom,.sh-troubleshooting .ts-safety{padding:10px;border:1px solid #976b30;border-radius:8px;color:#ffcf7a}
.sh-troubleshooting .ts-wiring{max-width:1100px;margin:12px auto}
.sh-troubleshooting svg{width:100%;height:auto;display:block}
.sh-troubleshooting .ts-diagram-tall{display:none}
.sh-troubleshooting svg text{font:700 14px sans-serif;fill:#edf7ff;text-anchor:middle}
.sh-troubleshooting svg .ts-svg-note{font-size:13px;font-weight:400;fill:#b1c8db}
.sh-troubleshooting .ts-device{fill:#102b42;stroke:#486c86;stroke-width:2}
.sh-troubleshooting .ts-wire{fill:none;stroke:#98a9b6;stroke-width:3}
.sh-troubleshooting .ts-cable{fill:#394957;stroke:#98a9b6;stroke-width:2}
.sh-troubleshooting .ts-terminal{width:50px;height:50px;padding:0;border:3px solid #a8bfd0;border-radius:50%;font-size:13px;background:#102b42}
.sh-troubleshooting .ts-terminal.is-red{border-color:#ff7474;background:#60232b}
.sh-troubleshooting .ts-terminal.is-black{border-color:#cad4de;background:#16191e;box-shadow:inset 0 0 0 3px #68717c}
.sh-troubleshooting .ts-terminal.is-red.is-black{border-color:#ff7474;box-shadow:inset 0 0 0 5px #16191e}
.sh-troubleshooting .ts-columns{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.sh-troubleshooting .ts-panel{min-width:0;padding:16px;border:1px solid #315776;border-radius:10px;background:#081b2c}
.sh-troubleshooting h2{font-size:18px;margin:0 0 14px}
.sh-troubleshooting .ts-display{display:block;margin:14px 0;padding:16px;background:#030e17;border:2px solid #52866b;border-radius:8px;color:#88f2b1;font:700 28px ui-monospace,monospace;overflow-wrap:anywhere}
.sh-troubleshooting [data-ts-lead="red"]{border-color:#ff7474}
.sh-troubleshooting [data-ts-lead="black"]{border-color:#9ba8b8;background:#16191e}
.sh-troubleshooting [data-ts-lead][aria-pressed="true"]{outline:2px solid #31cfff;outline-offset:2px}
.sh-troubleshooting fieldset{min-width:0;border:1px solid #315776;border-radius:8px;margin:12px 0}
.sh-troubleshooting fieldset label{display:flex;align-items:center;gap:8px;min-height:44px;line-height:1.5}
.sh-troubleshooting input[type="radio"]{width:20px;height:20px;flex:none}
.sh-troubleshooting li{margin:8px 0;line-height:1.6;overflow-wrap:anywhere}
.sh-troubleshooting .ts-recovery{margin-top:12px}
.sh-troubleshooting [data-ts-recovery][hidden]{display:none}
.sh-troubleshooting .ts-feedback{font-weight:700;min-height:1.6em}
@media(max-width:850px){.sh-troubleshooting .ts-columns{grid-template-columns:1fr}.sh-troubleshooting .ts-diagram-wide{display:none}.sh-troubleshooting .ts-diagram-tall{display:block;max-width:360px;margin:auto}.sh-troubleshooting .ts-panel{padding:12px}.sh-troubleshooting{padding:12px}.sh-troubleshooting .ts-display{font-size:24px}}

/* 선택 여부와 접촉 위치를 색상 외의 문자로도 구분한다. */
.sh-troubleshooting .ts-leads{align-items:stretch}
.sh-troubleshooting .ts-leads button{display:flex;flex:1 1 180px;min-width:0;flex-direction:column;gap:6px;text-align:left;overflow-wrap:anywhere}
.sh-troubleshooting .ts-leads button>span{font-size:13px}
.sh-troubleshooting .ts-probe-status{align-self:flex-start;padding:3px 7px;border:1px solid #687e90;border-radius:5px}
.sh-troubleshooting [data-ts-lead][aria-pressed="true"] .ts-probe-status{background:#164a70;border-color:#31cfff;font-weight:700}
.sh-troubleshooting .ts-auto-switch{display:flex;align-items:center;gap:8px;min-height:44px;margin-top:12px}
.sh-troubleshooting .ts-auto-switch input{width:20px;height:20px;margin:0}
.sh-troubleshooting .ts-exercises{display:flex;flex-wrap:wrap;gap:12px}
.sh-troubleshooting .ts-exercises .ts-card{flex:1 1 280px}
.sh-troubleshooting .ts2-status{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:4px 16px}
.sh-troubleshooting .ts2-status p{margin:8px 0;overflow-wrap:anywhere}
.sh-troubleshooting .ts2-pv{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.sh-troubleshooting .ts2-pv input{flex:1 1 180px;min-width:0;min-height:44px;max-width:100%}
.sh-troubleshooting [data-ts2-lead="red"]{border-color:#ff7474}
.sh-troubleshooting [data-ts2-lead="black"]{border-color:#9ba8b8;background:#16191e}
.sh-troubleshooting [data-ts2-lead][aria-pressed="true"]{outline:2px solid #31cfff;outline-offset:2px}
.sh-troubleshooting [data-ts2-lead][aria-pressed="true"] .ts-probe-status{background:#164a70;border-color:#31cfff;font-weight:700}
.sh-troubleshooting [data-ts2-recovery][hidden]{display:none}
.sh-troubleshooting .ts2-diagram .ts-terminal{font-size:11px}
.sh-troubleshooting .ts3-diagram .ts-terminal{font-size:11px}
.sh-troubleshooting .ts3-controls{display:flex;flex-wrap:wrap;align-items:end;gap:12px;margin:12px 0}
.sh-troubleshooting .ts3-controls label{display:flex;flex:1 1 210px;min-width:0;flex-direction:column;gap:6px}
.sh-troubleshooting [data-ts3-lead="red"]{border-color:#ff7474}
.sh-troubleshooting [data-ts3-lead="black"]{border-color:#9ba8b8;background:#16191e}
.sh-troubleshooting [data-ts3-lead][aria-pressed="true"]{outline:2px solid #31cfff;outline-offset:2px}
.sh-troubleshooting [data-ts3-lead][aria-pressed="true"] .ts-probe-status{background:#164a70;border-color:#31cfff;font-weight:700}
.sh-troubleshooting [data-ts3-recovery][hidden]{display:none}
.sh-troubleshooting [data-ts3-adapter]{overflow-wrap:anywhere;border:1px solid #315776;border-radius:8px;padding:12px;line-height:1.7}
.sh-troubleshooting .ts3-isolated{stroke-dasharray:3 12;opacity:.35}
.sh-troubleshooting [data-ts3-pv]{max-width:100%;min-height:44px;vertical-align:middle}

/* 01~03 shared terminal exploration workspace. */
.sh-troubleshooting .ts-workbench{max-width:none;margin:12px 0}
.sh-troubleshooting .ts-equipment{display:flex;align-items:center;justify-content:center;gap:12px;margin:14px 0}
.sh-troubleshooting .ts-equipment button{flex:1;min-width:0;min-height:64px;font-weight:700}
.sh-troubleshooting .ts-equipment [aria-pressed="true"]{outline:2px solid #31cfff;background:#16405e}
.sh-troubleshooting .ts-workspace{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,.85fr);align-items:start;gap:14px}
.sh-troubleshooting .ts-meter-column{display:grid;gap:12px;min-width:0}

.sh-troubleshooting .ts-strip-terminal{display:flex;flex-direction:column;align-items:center;gap:8px;min-width:0;min-height:108px;padding:8px 3px;border-radius:4px;background:#364a58;border:2px solid #6e8592;color:#fff}
.sh-troubleshooting .ts-strip-terminal strong{font:700 15px ui-monospace,monospace}
.sh-troubleshooting .ts-screw{width:27px;height:27px;flex:none;border:3px solid #9caeba;border-radius:50%;background:linear-gradient(135deg,#c1d0d7 45%,#263b4b 46%,#263b4b 54%,#c1d0d7 55%)}
.sh-troubleshooting .ts-probe-contact{font-size:11px;min-height:2.4em;line-height:1.2;text-align:center}
.sh-troubleshooting .ts-strip-terminal.is-red .ts-screw{box-shadow:0 0 0 3px #ff6060}
.sh-troubleshooting .ts-strip-terminal.is-black .ts-screw{box-shadow:0 0 0 3px #111,0 0 0 5px #d0d7dd}
.sh-troubleshooting .ts-strip-terminal.is-red.is-black .ts-screw{box-shadow:0 0 0 3px #ff6060,0 0 0 6px #111,0 0 0 7px #d0d7dd}
.sh-troubleshooting .ts-test-posts,.sh-troubleshooting .ts-tx-posts{display:flex;flex-wrap:wrap;gap:10px;margin:12px 0}
.sh-troubleshooting .ts-test-posts button,.sh-troubleshooting .ts-tx-posts button{min-width:80px;max-width:150px;flex:1 1 80px}
.sh-troubleshooting details{border:1px solid #315776;border-radius:8px;margin-top:12px;padding:10px;min-width:0}
.sh-troubleshooting summary{min-height:32px;cursor:pointer;line-height:1.6;color:#bce5ff;font-weight:700}
.sh-troubleshooting details>section{border:0;padding:8px 0}
.sh-troubleshooting .ts-equipment-status>section{padding:12px 0;border:0}
.sh-troubleshooting .ts-recent{border-top:1px solid #315776;margin-top:12px;padding-top:10px;overflow-wrap:anywhere}
.sh-troubleshooting .ts-recent p{margin-bottom:0}
.sh-troubleshooting .ts-history{max-height:360px;overflow:auto}
.sh-troubleshooting .ts-drawing{margin-bottom:14px}
.sh-troubleshooting .ts-drawing[hidden],.sh-troubleshooting .ts-equipment-status>[hidden]{display:none}
.sh-troubleshooting .ts-drawing-scroll{max-height:430px;max-width:100%;overflow:auto;border:1px solid #486c86;border-radius:6px}
.sh-troubleshooting .ts-drawing-content{transform-origin:top left}
.sh-troubleshooting .ts-drawing table{border-collapse:collapse;width:100%;font-size:inherit;text-align:left;line-height:1.6}
.sh-troubleshooting .ts-drawing th,.sh-troubleshooting .ts-drawing td{border:1px solid #486c86;padding:10px;vertical-align:top;white-space:nowrap}
.sh-troubleshooting .ts-drawing caption{padding:12px;text-align:left;font-weight:700}
.sh-troubleshooting .ts-drawing-content>p{padding:12px;max-width:800px}
.sh-troubleshooting .ts-leads button{overflow-wrap:anywhere}
.sh-troubleshooting .ts-diagnosis-panel fieldset{margin-bottom:10px}
@media(max-width:1000px){.sh-troubleshooting .ts-workspace{grid-template-columns:minmax(0,1fr) minmax(280px,1fr)}}
@media(max-width:700px){.sh-troubleshooting .ts-workspace{grid-template-columns:1fr}.sh-troubleshooting .ts-equipment{gap:5px}.sh-troubleshooting .ts-equipment>span{display:none}.sh-troubleshooting .ts-equipment button{font-size:12px;padding:8px 4px}.sh-troubleshooting .ts-toolbar{gap:8px}.sh-troubleshooting .ts-drawing th,.sh-troubleshooting .ts-drawing td{padding:8px}}

/* Vertical DIN rail: numbered top to bottom, horizontal labels and side conductors. */
.sh-troubleshooting .ts-din-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:10px;font-size:12px}
.sh-troubleshooting .ts-din-toolbar label{flex:none}
.sh-troubleshooting .ts-din-hint{font-size:12px;line-height:1.6;color:#b1c8db}
.sh-troubleshooting .ts-din-scroll{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;touch-action:pan-x pan-y pinch-zoom;border:1px solid #486c86;border-radius:8px;background:#15222d;padding-block:10px;scrollbar-gutter:stable}
.sh-troubleshooting .ts-din-scroll:focus-visible{outline:2px solid #31cfff;outline-offset:2px}
.sh-troubleshooting .ts-din-strip{position:relative;display:flex;flex-direction:column;flex-wrap:nowrap;gap:0;width:28em;min-width:23em;max-width:100%;margin-inline:auto;padding:2em 0;font-size:calc(12px * var(--ts-din-scale,1));isolation:isolate}
.sh-troubleshooting .ts-din-rail{position:absolute;z-index:-1;left:calc(50% - 1.5em);top:0;bottom:0;width:3em;border-inline:.3em solid #bac4c9;background:linear-gradient(90deg,#566671,#9facb4 25%,#697b87 30%,#697b87 70%,#c5cdd1 75%,#657782);box-shadow:.2em 0 .4em #0008}
.sh-troubleshooting .ts-din-strip::before,.sh-troubleshooting .ts-din-strip::after{content:"";position:absolute;left:calc(50% - 5.5em);width:11em;height:1.5em;border:.15em solid #899498;border-radius:.2em;background:linear-gradient(#7a8387,#bdc4c7 45%,#68787f);box-shadow:inset 0 0 0 .3em #9ba4a8}
.sh-troubleshooting .ts-din-strip::before{top:.3em}.sh-troubleshooting .ts-din-strip::after{bottom:.3em}
.sh-troubleshooting .ts-din-block{width:100%;height:4em;flex:0 0 4em;display:grid;grid-template-columns:5.5em minmax(12em,17em) 5.5em;position:relative}
.sh-troubleshooting .ts-din-body{position:relative;border:1px solid #505c62;border-radius:.25em;background:linear-gradient(90deg,#606d73 0,#a4adb0 10%,#c3c9ca 25%,#a4afb2 78%,#6a777e 96%);box-shadow:inset .15em 0 #d4dadb,inset -.15em 0 #63737b,0 .25em .3em #0007}
.sh-troubleshooting .ts-din-body::before,.sh-troubleshooting .ts-din-body::after{content:"";position:absolute;top:.3em;bottom:.3em;width:1.1em;border:.15em solid #68757a;border-radius:.2em;background:#3c484f;box-shadow:inset .3em 0 .3em #1119}
.sh-troubleshooting .ts-din-body::before{left:.3em}.sh-troubleshooting .ts-din-body::after{right:.3em}
.sh-troubleshooting .ts-din-number{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:2.2em;padding:.25em 0;border:1px solid #69777b;background:#e0e3de;color:#16232a;text-align:center;font:700 1em ui-monospace,monospace;box-shadow:0 .15em .2em #0005}
.sh-troubleshooting .ts-din-bridge{position:absolute;left:calc(50% - .25em);top:.3em;width:.5em;height:.5em;border:.15em solid #636e72;background:#c7b58a}
.sh-troubleshooting .ts-din-contact{position:absolute;top:0;bottom:0;display:flex;align-items:center}
.sh-troubleshooting .ts-din-contact-top{left:.5em}.sh-troubleshooting .ts-din-contact-bottom{right:.5em}
.sh-troubleshooting .ts-din-contact .ts-strip-terminal{position:relative;display:flex;align-items:center;justify-content:center;flex-direction:row;width:3.67em;height:3.67em;min-height:44px;min-width:44px;padding:0;border:0;border-radius:.4em;background:transparent;color:#121a20;font-size:inherit;box-shadow:none;gap:0}
.sh-troubleshooting .ts-din-contact .ts-strip-terminal strong{position:absolute;left:.2em;top:.05em;font-size:.7em;color:#39494f}
.sh-troubleshooting .ts-din-contact .ts-screw{width:2.2em;height:2.2em;border:.2em solid #637077;border-radius:50%;background:linear-gradient(135deg,#edf0eb 0,#9da6aa 43%,#33434d 44%,#33434d 53%,#c4cccf 54%,#8e9da4 100%);box-shadow:0 .15em .2em #1118}
.sh-troubleshooting .ts-din-contact .ts-probe-contact{position:absolute;right:0;bottom:0;min-height:0;min-width:1.2em;border-radius:50%;font:700 .8em ui-monospace,monospace;color:#fff;background:#101b24;pointer-events:none}
.sh-troubleshooting .ts-din-contact .ts-probe-contact:empty{display:none}
.sh-troubleshooting .ts-din-contact .is-red .ts-probe-contact{background:#9c2020}.sh-troubleshooting .ts-din-contact .is-black .ts-probe-contact{outline:1px solid #e0e5e6}
.sh-troubleshooting .ts-din-wire{position:relative;display:block;min-width:0}
.sh-troubleshooting .ts-din-wire::before{content:"";position:absolute;top:calc(50% - .32em);height:.64em;border-block:.12em solid #7b8589;background:linear-gradient(#2d383e,#6c797e 50%,#26333a);box-sizing:border-box}
.sh-troubleshooting .ts-din-wire-top::before{left:0;right:.8em}.sh-troubleshooting .ts-din-wire-bottom::before{left:.8em;right:0}
.sh-troubleshooting .ts-copper{position:absolute;top:calc(50% - .2em);height:.4em;width:.8em;background:repeating-linear-gradient(#ca9d63 0,#ca9d63 1px,#8a6337 2px);border-block:1px solid #b6976f}
.sh-troubleshooting .ts-din-wire-top .ts-copper{right:0}.sh-troubleshooting .ts-din-wire-bottom .ts-copper{left:0}
.sh-troubleshooting .ts-wire-tag{position:absolute;top:.25em;left:.1em;right:.1em;writing-mode:horizontal-tb;font:500 .8em ui-monospace,monospace;white-space:nowrap;text-align:center;color:#cfdae0}
.sh-troubleshooting .ts-din-wire.is-isolated .ts-copper{width:.35em}.sh-troubleshooting .ts-din-wire-top.is-isolated .ts-copper{right:.45em}.sh-troubleshooting .ts-din-wire-bottom.is-isolated .ts-copper{left:.45em}
.sh-troubleshooting .ts-tx-posts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
.sh-troubleshooting .ts-tx-posts button{min-width:0;max-width:none;width:100%;padding:10px 4px}
.sh-troubleshooting .ts-test-notice{padding:10px;border:1px solid #976b30;border-radius:8px;color:#ffcf7a}
.sh-troubleshooting .ts-test-notice[hidden]{display:none}

/* Compact 01–03 workspace; contact targets remain at least 44px. */
.sh-troubleshooting{margin:8px;padding:10px}
.sh-troubleshooting h1{font-size:19px;margin:0 0 3px}
.sh-troubleshooting h2{font-size:16px;margin:0 0 8px}
.sh-troubleshooting p{margin:6px 0;line-height:1.45}
.sh-troubleshooting button,.sh-troubleshooting select{padding:6px 9px;min-height:36px;font-size:13px}
.sh-troubleshooting .ts-toolbar,.sh-troubleshooting .ts-leads,.sh-troubleshooting .ts-recovery-controls{gap:6px}
.sh-troubleshooting .ts-symptom,.sh-troubleshooting .ts-safety{padding:7px;margin:7px 0}
.sh-troubleshooting .ts-panel{padding:10px}
.sh-troubleshooting .ts-workbench{margin:8px 0}
.sh-troubleshooting .ts-equipment{gap:7px;margin:8px 0}
.sh-troubleshooting .ts-equipment button{min-height:40px}
.sh-troubleshooting .ts-workspace{gap:10px}
.sh-troubleshooting .ts-meter-column{gap:8px}
.sh-troubleshooting .ts-display{margin:8px 0;padding:8px;font-size:24px}
.sh-troubleshooting .ts-leads button{flex-basis:130px;gap:3px;padding:7px;min-height:44px}
.sh-troubleshooting .ts-leads button>span{font-size:12px}
.sh-troubleshooting .ts-auto-switch{margin-top:5px;min-height:36px}
.sh-troubleshooting .ts-recent{margin-top:7px;padding-top:6px;font-size:12px}
.sh-troubleshooting details{margin-top:7px;padding:7px}
.sh-troubleshooting .ts-din-hint{margin:4px 0}
.sh-troubleshooting .ts-din-scroll{max-height:355px;overflow:auto;padding-block:5px;overscroll-behavior:contain}
.sh-troubleshooting .ts-din-strip{width:24em;min-width:24em;padding:2em 0}
.sh-troubleshooting .ts-din-block{height:3.75em;flex-basis:3.75em;grid-template-columns:5em 14em 5em}
.sh-troubleshooting .ts-din-number{font-size:.9em;line-height:1.15;width:3.4em;padding:.15em 0}
.sh-troubleshooting .ts-din-contact .ts-strip-terminal{min-height:44px;min-width:44px;padding:0}
.sh-troubleshooting .ts-din-contact .ts-screw{width:1.8em;height:1.8em}
.sh-troubleshooting .ts-strip-terminal{min-height:80px;gap:5px}
.sh-troubleshooting .ts-tx-posts button{min-height:92px;padding:7px 3px}
.sh-troubleshooting .ts-tx-posts strong{font-size:13px}
.sh-troubleshooting .ts-test-posts{margin:5px 0;gap:6px}
.sh-troubleshooting .ts-test-posts strong{font-size:12px}
.sh-troubleshooting .ts-list-selector{display:flex;flex-wrap:wrap;gap:6px;margin:6px 0}
.sh-troubleshooting [data-tsui-list][aria-pressed="true"]{border-color:#31cfff;background:#16405e}
.sh-troubleshooting .ts-drawing-content{background:#fff;color:#000;padding:12px;font:12px Arial,sans-serif;box-sizing:border-box}
.sh-troubleshooting .ts-doc-meta{display:flex;justify-content:space-between;gap:20px;padding:6px 0;color:#000}
.sh-troubleshooting .ts-drawing table{color:#000;background:#fff;line-height:1.35}
.sh-troubleshooting .ts-drawing th,.sh-troubleshooting .ts-drawing td{border:1px solid #000;padding:6px;vertical-align:middle;text-align:center;color:#000;background:#fff}
.sh-troubleshooting .ts-drawing caption{font:bold 18px Arial,sans-serif;color:#000;background:#fff;text-align:center;padding:6px}
.sh-troubleshooting .ts-drawing-content>p{color:#000;max-width:none;padding:6px;font-size:12px}
@media(max-width:700px){.sh-troubleshooting .ts-workspace{grid-template-columns:1fr}.sh-troubleshooting .ts-equipment{gap:4px}.sh-troubleshooting .ts-equipment button{font-size:11px;min-height:44px;padding:5px 3px}.sh-troubleshooting button{min-height:44px}.sh-troubleshooting .ts-din-scroll{max-height:330px}}

.sh-troubleshooting .ts-wire-tag{top:-.45em;font-size:.95em;line-height:1.05;white-space:normal;overflow-wrap:anywhere}
.sh-troubleshooting .ts-wire-tag>span{display:block}

.sh-troubleshooting .ts-din-group{position:relative;margin:.5em 0;padding:.35em .5em;background:#172b3c;border:1px solid #647785;border-radius:.25em;font-size:1em;text-align:center}

.sh-troubleshooting .ts-board-header{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px;margin-bottom:6px}
.sh-troubleshooting .ts-board-header h2{margin:0;min-width:0}
.sh-troubleshooting .ts-board-header button{margin-left:auto;flex-shrink:0}
