/* KeyLab studio refresh: compact directory and precise, selectable instrument readouts. */
.customer-catalog main{max-width:1240px;margin-inline:auto}.customer-catalog .hero{padding-block:34px 24px;min-height:0}.customer-catalog .hero h1{font-size:clamp(30px,4vw,48px);letter-spacing:-.045em}.customer-catalog .filter-panel{border-radius:16px;background:#122129;border-color:#294049;margin-bottom:26px}.customer-catalog #catalogGrid.manufacturer-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.customer-catalog .manufacturer-card{display:grid;grid-template-columns:64px minmax(0,1fr);grid-template-rows:auto auto;align-content:center;align-items:center;column-gap:14px;row-gap:4px;min-height:104px;padding:17px;border:1px solid #263d45;border-radius:14px;background:#101e25;box-shadow:none;transition:border-color .2s,background .2s,transform .2s}.customer-catalog .manufacturer-card:hover{background:#172d33;border-color:#75d5c2;transform:translateY(-2px)}.customer-catalog .manufacturer-card h2{font-size:16px;line-height:1.3;font-weight:650;margin:0;min-width:0;overflow-wrap:anywhere}.customer-catalog .manufacturer-card>span:last-child{font-size:12px;color:#91b1b8;margin:0}.customer-catalog .manufacturer-card .manufacturer-image{grid-row:1/3;width:64px;height:64px;padding:7px;margin:0;border-radius:12px;background:#afc5c8!important;box-shadow:none;overflow:visible}.manufacturer-image img{mask-image:none!important;-webkit-mask-image:none!important;mix-blend-mode:normal!important;object-fit:contain}.manufacturer-image img[src$=".svg"]{filter:none}.customer-catalog .manufacturer-picker .manufacturer-image{background:transparent!important}.manufacturer-card .manufacturer-image img{width:100%;height:100%;max-width:none;max-height:none}.customer-home .growth-brands .manufacturer-image{background:#afc5c8!important;border-radius:10px}.customer-catalog .directory-heading{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin:12px 0 18px}.directory-heading h2{font-size:20px;margin:0}.directory-heading span{color:#8aabb3;font-size:12px}.directory-heading[hidden]{display:none}.customer-catalog .product-stats strong{font-variant-numeric:tabular-nums}
.customer-repair main{max-width:1200px;margin-inline:auto}.customer-repair .academy-hero{border-radius:24px;padding:40px;background:radial-gradient(ellipse at 85% 10%,#24534a66,transparent 58%),#0e2026;min-height:280px;box-shadow:none}.customer-repair .academy-art{gap:10px;align-items:center}.customer-repair .academy-art>div{transform:none!important;background:linear-gradient(145deg,#29463c99,#112029);border-radius:18px;border:1px solid #38584f;aspect-ratio:1;min-width:0;height:auto;overflow:hidden}.customer-repair .academy-art img{width:100%;height:100%;object-fit:contain;max-height:none;transform:none!important;opacity:1}.customer-repair .academy-intro h1{font-size:clamp(34px,5vw,58px);letter-spacing:-.05em}.customer-repair .academy-badge{font-size:10px;letter-spacing:.12em;text-transform:uppercase;border:0;padding:0;background:none;color:#83e0ca}.customer-repair .repair-section{margin-top:48px;padding:34px;border-radius:22px;background:#102127;border:1px solid #294248;box-shadow:none}.customer-repair .repair-section h2{font-size:32px;letter-spacing:-.035em;margin-top:10px}.customer-repair .section-kicker{font-size:10px;letter-spacing:.16em;color:#78d9c4}.customer-repair .lesson-workflow{gap:16px}.customer-repair .lesson-workflow article{background:#152b30;border:1px solid #29484d;border-radius:16px}.customer-repair .lesson-figure,.customer-repair .repair-flow-section{opacity:1;transform:none}.customer-repair .academy-image{min-height:0;background:#0c1a21;border-radius:16px}.customer-repair .lesson-detail .academy-image{max-width:640px;margin:auto}.customer-repair .lesson-types .academy-image{padding:20px;min-height:140px}.customer-repair .lesson-types img{height:140px;max-height:180px}.customer-repair .lesson-figure figcaption{color:#a8bfc2;font-size:12px}
.measurement-bench{margin:30px 0 8px;border:1px solid #315151;border-radius:20px;overflow:hidden;background:#0b181e}.bench-art{position:relative;min-height:260px;background:radial-gradient(ellipse at 50% 65%,#2b695351,transparent 66%);display:grid;place-items:center;padding:18px 28px 0}.bench-art:before{content:"";position:absolute;inset:0;opacity:.22;background-image:linear-gradient(#44726924 1px,transparent 1px),linear-gradient(90deg,#44726924 1px,transparent 1px);background-size:32px 32px;pointer-events:none}.bench-label{position:absolute;top:20px;left:24px;color:#7ab4ae;font-size:10px;letter-spacing:.17em}.bench-component{position:relative;display:block;object-fit:contain;width:100%;max-width:660px;height:300px;z-index:1}.probe-labels{position:absolute;bottom:16px;left:28px;right:28px;display:flex;justify-content:space-between;font:10px ui-monospace,monospace;color:#acb9be;letter-spacing:.1em}.probe-labels span:first-child{color:#f7887a}.reading-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;background:#2b454a;border-top:1px solid #2b454a}.reading-grid:has(>.reading-card:nth-child(2):last-child){grid-template-columns:repeat(2,minmax(0,1fr))}.reading-card{padding:22px;background:#14272e;min-width:0}.reading-label{display:flex;gap:9px;align-items:center;margin-bottom:18px;font-size:12px}.reading-label>span{color:#73938d;font:10px ui-monospace,monospace}.reading-label b{font-weight:550;color:#c5dad9}.digital-display{min-height:84px;border:1px solid #3f6965;border-radius:10px;background:linear-gradient(145deg,#082021,#07171b);padding:20px 13px 16px;box-shadow:inset 0 2px 8px #0007;display:flex;flex-wrap:wrap;align-items:baseline;justify-content:center;gap:7px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;color:#9ce9ca}.digital-display>strong{font-size:clamp(26px,3.4vw,44px);font-weight:400;line-height:1.1;font-variant-numeric:tabular-nums;letter-spacing:-.065em;text-shadow:0 0 16px #7dffad22}.digital-display>span{font-size:12px;color:#75b9a7}.customer-repair .reading-card p{font-size:12px;line-height:1.6;margin:14px 0 0;color:#9cb9bc}.secondary-readings{flex-basis:100%;display:flex;justify-content:space-between;gap:12px;border-top:1px solid #234640;margin-top:12px;padding-top:12px;font-size:13px;color:#79b8ad;letter-spacing:0}.secondary-readings b{font-size:10px;font-weight:400}.component-reference{margin-top:42px;padding-top:30px;border-top:1px solid #2c4549}.reference-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:24px}.customer-repair .reference-heading h3{font-size:23px;letter-spacing:-.025em;margin:8px 0 0}.reference-search{display:flex;flex-direction:column;gap:8px;width:260px;max-width:100%;font-size:11px;color:#9bbbbc}.reference-search input{width:100%;min-height:44px;padding:10px 13px;border:1px solid #426963;border-radius:9px;background:#0c1b21;color:#e6f5f1;font:inherit;font-size:14px;box-sizing:border-box}.reference-search input:focus-visible{outline:2px solid #78dac6;outline-offset:3px}.reference-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.reference-card{min-width:0;margin:0;padding:12px;border:1px solid #2e4a4d;border-radius:12px;background:radial-gradient(ellipse at 50% 28%,#34534377,transparent 75%),#0d1d24;overflow:hidden}.reference-card[hidden]{display:none}.reference-sprite{display:block;width:100%;height:160px;overflow:hidden}.reference-card figcaption{display:flex;align-items:center;gap:8px;min-height:36px;border-top:1px solid #2a4246;padding-top:10px;color:#d3e9e5;font:12px ui-monospace,monospace;overflow-wrap:anywhere}.reference-card figcaption small{color:#6f9b94;font-size:9px}.switch-grid .reference-sprite{height:132px}.switch-grid .reference-card figcaption{justify-content:center}.reference-empty{padding:20px;text-align:center}.reference-empty[hidden]{display:none}.customer-repair .technical-notes{margin-top:22px;font-size:12px;color:#a4bfbe}.customer-repair .technical-notes p{font-size:12px}.home-lesson-preview figure{background:radial-gradient(ellipse,#244b3a99,#0c1c23);border:1px solid #34544c;border-radius:15px;overflow:hidden}.home-lesson-preview img{object-fit:contain!important;width:100%!important;height:155px!important;transform:none!important}.home-lesson-preview figure span{position:relative;display:block;padding:10px;color:#a8e1d3}
@media(max-width:1050px){.customer-catalog #catalogGrid.manufacturer-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.customer-catalog .manufacturer-card{grid-template-columns:52px minmax(0,1fr);padding:14px;gap:8px}.customer-catalog .manufacturer-card .manufacturer-image{width:52px;height:52px}.reference-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.customer-repair .academy-hero{padding:28px}}
@media(max-width:780px){.customer-catalog #catalogGrid.manufacturer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.customer-repair .repair-section{padding:24px;margin-top:28px}.customer-repair .academy-art{max-width:460px;width:100%;margin-inline:auto}.bench-component{height:240px}.bench-art{min-height:230px}.reading-card{padding:16px 12px}.digital-display{padding:18px 8px}.digital-display>strong{font-size:30px}.reference-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.reference-sprite{height:125px}.reference-heading{align-items:flex-start;flex-direction:column;gap:16px}.reference-search{width:100%}.home-lesson-preview img{height:115px!important}}
@media(max-width:520px){.customer-catalog .filter-panel{grid-template-columns:1fr}.customer-catalog .hero .product-stats{gap:22px}.customer-catalog .product-stats span{font-size:8px}.customer-catalog .manufacturer-card{grid-template-columns:42px minmax(0,1fr);padding:12px 9px;column-gap:8px;min-height:92px}.customer-catalog .manufacturer-card .manufacturer-image{width:42px;height:48px;padding:4px}.customer-catalog .manufacturer-card h2{font-size:13px}.customer-catalog .manufacturer-card>span:last-child{font-size:10px}.customer-catalog .directory-heading{display:block}.directory-heading span{display:block;margin-top:8px}.customer-repair .academy-hero{padding:24px}.customer-repair .academy-art{gap:7px}.customer-repair .academy-art>div{border-radius:12px}.customer-repair .repair-section{padding:22px 16px}.customer-repair .repair-section h2{font-size:29px}.bench-art{min-height:200px;padding:22px 8px}.bench-component{height:210px}.bench-label{font-size:8px;left:15px;top:16px}.reading-grid,.reading-grid:has(>.reading-card:nth-child(2):last-child){grid-template-columns:1fr}.reading-card{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:10px 14px;padding:18px}.reading-label{margin:0;align-self:center;line-height:1.4}.digital-display{grid-column:2;grid-row:1/3;min-height:78px;padding:16px 10px;align-content:center}.customer-repair .reading-card p{grid-column:1;margin:0;font-size:11px}.digital-display>strong{font-size:31px}.secondary-readings{font-size:10px;gap:5px}.reference-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.reference-card{padding:9px}.reference-sprite{height:132px}.reference-card figcaption{font-size:10px;gap:5px}.switch-grid .reference-sprite{height:112px}.home-lesson-preview img{height:95px!important}}
@media(prefers-reduced-motion:reduce){.manufacturer-card{transition:none!important}}

.customer-repair{font-family:Arial,Helvetica,sans-serif}.customer-repair .measurement-bench{clear:both}.customer-repair .academy-hero,.customer-repair .repair-flow-section,.customer-repair .academy-art>div{animation:none!important;opacity:1!important;transform:none!important}.customer-repair .reference-sprite{isolation:isolate}.manufacturer-maserati img{filter:brightness(0)!important}

/* Stable initial viewer and source-faithful reference windows. */
.viewer-booting body.customer-viewer main{visibility:hidden}
.source-window{display:block;position:relative;overflow:hidden;width:100%;background:transparent}
.source-window img{position:absolute;display:block;object-fit:fill;border-radius:0;max-height:none!important}
.reference-enhanced{display:block;width:100%;padding:0;border:0;background:transparent;cursor:zoom-in;border-radius:6px;overflow:hidden}
.reference-enhanced:focus-visible{outline:2px solid #8be1ce;outline-offset:4px}
.source-note{font-size:12px!important;max-width:500px;line-height:1.6;color:#adc3c7}
.customer-catalog .manufacturer-card{min-height:136px;grid-template-columns:76px minmax(0,1fr);padding:20px}
.customer-catalog .manufacturer-card .manufacturer-image{width:76px;height:76px}
.customer-catalog .card-board-pair{grid-template-columns:repeat(2,minmax(0,1fr))}
.customer-catalog .catalog-exterior{box-sizing:border-box;margin:0;position:absolute;top:-6px;right:-6px;z-index:2;display:flex;align-items:center;justify-content:center;width:64px;height:84px;padding:6px 6px 18px;border:1px solid #3b555b;border-radius:9px;background:#0c1b21eb;pointer-events:none}
.customer-catalog .catalog-exterior img{display:block;width:44px;height:58px;max-width:100%;object-fit:contain}
.customer-catalog .catalog-exterior figcaption{position:absolute;bottom:5px;left:2px;right:2px;text-align:center;font-size:8px;line-height:1.2;letter-spacing:.025em;color:#9ab9bd}
.customer-catalog .catalog-exterior.is-unavailable{padding:6px}.customer-catalog .catalog-exterior.is-unavailable figcaption{position:static;line-height:1.4;letter-spacing:0}
.customer-viewer .component-basics-link{display:block;margin:12px 0;text-align:center}
.customer-viewer .component-basics-link[hidden]{display:none}
@media(max-width:520px){.customer-catalog .manufacturer-card{min-height:120px;grid-template-columns:60px minmax(0,1fr);padding:14px;gap:10px}.customer-catalog .manufacturer-card .manufacturer-image{width:60px;height:60px}.customer-catalog .catalog-exterior{width:46px;height:64px;top:-8px;right:-8px}.customer-catalog .catalog-exterior img{width:32px;height:40px}}

.viewer-booting body.customer-viewer>.topbar{visibility:hidden}
.customer-viewer .inspection-workspace{grid-template-columns:minmax(0,1fr)}
@media(max-width:760px){.customer-viewer.mobile-inspection-active:not(.embed-view) .inspection-workspace{padding-bottom:76px}}
.original-measurements{margin-top:24px}.original-measurements summary{cursor:pointer;color:#9fdfd1}.original-measurements .source-measurements{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:16px;margin-top:16px}.original-measurements img{max-height:280px;object-fit:contain}

.reference-proof[hidden],.academy-lightbox>img[hidden]{display:none!important}.reference-compare{background:transparent;border:0;color:#96cfc5;font-size:11px;padding:8px 0;cursor:pointer}.reference-compare:hover{text-decoration:underline}.enlarged-reference{width:min(620px,75vw);margin:16px auto}.academy-lightbox .enlarged-reference img{max-height:none;width:auto;border-radius:0}

.customer-repair button.reference-enhanced{border:0!important;background:transparent!important;box-shadow:none!important;padding:0!important;border-radius:8px}.customer-repair button.reference-compare{display:block;width:100%;border:0!important;background:transparent!important;box-shadow:none!important;font:11px Arial,sans-serif;padding:12px 0!important;color:#96cfc5;text-align:center;min-height:36px}.customer-repair button.reference-compare:focus-visible{outline:2px solid #8be1ce;outline-offset:1px}

.catalog-exterior:not(.is-unavailable){padding-bottom:6px;display:grid;place-items:center}.catalog-exterior figcaption:empty{display:none}
/* Quiet guide link in the space below the PCB, outside the zoomable stage. */
.customer-viewer .board-repair-guide{display:flex;align-items:center;justify-content:center;min-height:68px;box-sizing:border-box;padding:10px 18px;background:transparent;grid-column:1/-1}.customer-viewer .board-repair-guide a{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:40px;padding:0 18px;border:1px solid #91b7b221;border-radius:8px;background:transparent;color:#a3bab8;font:inherit;font-size:13px;font-weight:500;line-height:1.4;text-decoration:none;box-shadow:none;transition:color .15s,border-color .15s,background .15s}.customer-viewer .board-repair-guide a:hover{color:#d4e8e3;border-color:#91b7b255;background:#91b7b208}.customer-viewer .board-repair-guide a:focus-visible{outline:2px solid #78c9b9;outline-offset:3px}.customer-viewer .board-repair-guide a span{font-size:15px;color:inherit;opacity:.7}
@media(max-width:760px){.customer-viewer.mobile-inspection-active:not(.embed-view) .inspection-workspace:has(>.board-repair-guide){padding-bottom:0}.customer-viewer .board-repair-guide{min-height:76px}}
@media(prefers-reduced-motion:reduce){.customer-viewer .board-repair-guide a{transition:none}}
/* Keep the originating key one tap away throughout the repair guide. */
body.customer-repair.has-repair-return{padding-bottom:110px}.customer-repair a.repair-return-button{position:fixed;z-index:90;left:50%;bottom:max(20px,env(safe-area-inset-bottom));transform:translateX(-50%);display:flex!important;align-items:center;justify-content:center;gap:14px;box-sizing:border-box;width:max-content;max-width:calc(100% - 32px);min-height:54px;padding:13px 22px;border:1px solid #b3ffe4;border-radius:14px;background:#88ebcc!important;color:#092c23!important;box-shadow:0 8px 32px #0008,0 0 0 4px #7fe9c91a;font-size:15px;font-weight:750;line-height:1.35;text-decoration:none}.customer-repair a.repair-return-button:hover{background:#b2f9e1!important}.customer-repair a.repair-return-button:focus-visible{outline:3px solid white;outline-offset:4px}.repair-return-key{font-size:11px;font-weight:600;text-transform:capitalize;border-left:1px solid #174e3e44;padding-left:14px;max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media(max-width:460px){.customer-repair a.repair-return-button{gap:8px;padding:12px 16px;font-size:14px}.repair-return-key{max-width:115px;font-size:10px;padding-left:8px}}
/* Component description lives outside the zoomed PCB and remains readable. */
.component-hover-details{position:fixed;z-index:110;box-sizing:border-box;width:300px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);overflow:auto;padding:15px 17px;border:1px solid #5f9b8f;border-radius:12px;background:#122a2b;color:#e8f4f0;box-shadow:0 12px 36px #0008;pointer-events:none;text-align:left;font-family:inherit}.component-hover-details[hidden]{display:none!important}.component-hover-details .component-hover-side{display:block;color:#8bbdb0;font-size:9px;font-weight:650;letter-spacing:1.3px;margin-bottom:7px}.component-hover-details strong{display:block;font-size:15px;line-height:1.4;font-weight:650;overflow-wrap:anywhere}.component-hover-details p{margin:8px 0 0;color:#bed0ca;font-size:12px;line-height:1.65;overflow-wrap:anywhere}@media(max-width:760px){.component-hover-details{width:270px;padding:12px 14px}.component-hover-details strong{font-size:14px}.component-hover-details p{font-size:12px}}
/* Component details sit below the board instead of overlaying its circuitry. */
.customer-viewer .inspection-workspace>.component-hover-details{position:static;inset:auto;transform:none;grid-column:1/-1;width:auto;max-width:none;max-height:none;overflow:visible;margin:0;padding:16px 22px;border:0;border-top:1px solid #51766d55;border-radius:0;background:#102326;box-shadow:none;pointer-events:auto}.customer-viewer .inspection-workspace>.component-hover-details strong{font-size:14px}.customer-viewer .inspection-workspace>.component-hover-details p{max-width:760px;margin-top:6px}.customer-viewer .inspection-workspace>.component-hover-details[hidden]{display:none!important}
/* Connected component bubble; only high magnification permits board overlap. */
body.customer-viewer .connected-component-bubble{position:fixed;z-index:111;box-sizing:border-box;width:290px;max-width:calc(100vw - 32px);max-height:none;overflow:visible;margin:0;padding:14px 17px;border:1px solid #669f91;border-radius:13px;background:#122a2b;color:#e8f4f0;box-shadow:0 10px 28px #0007;pointer-events:none;grid-column:1/-1;transform:none}body.customer-viewer .connected-component-bubble.is-below-board{position:relative;inset:auto;justify-self:end;margin:12px 18px;width:290px;max-width:calc(100% - 36px);border:1px solid #669f91;border-radius:13px;background:#122a2b;box-shadow:0 7px 20px #0004}body.customer-viewer .connected-component-bubble[hidden]{display:none!important}.component-details-connector{position:fixed;inset:0;width:100vw;height:100dvh;z-index:110;pointer-events:none;overflow:hidden}.component-details-connector path{stroke:#8fe3ca;stroke-width:1.6;stroke-dasharray:5 5;animation:component-guide-flow 1.4s linear infinite;filter:drop-shadow(0 1px 2px #0009)}.component-details-connector circle{fill:#b8ffe9;stroke:#245e50;stroke-width:1.5}@keyframes component-guide-flow{to{stroke-dashoffset:-20}}@media(prefers-reduced-motion:reduce){.component-details-connector path{animation:none;stroke-dasharray:none}}

/* Match the description bubble and connector to the selected hotspot. */
body.customer-viewer .connected-component-bubble,body.customer-viewer .connected-component-bubble.is-below-board{border-color:var(--component-accent,#8fe3ca);background:color-mix(in srgb,var(--component-accent,#8fe3ca) 17%,#101b24);box-shadow:0 10px 28px #0007,0 0 16px color-mix(in srgb,var(--component-accent,#8fe3ca) 13%,transparent)}.connected-component-bubble .component-hover-side{color:color-mix(in srgb,var(--component-accent,#8fe3ca) 65%,white)}.connected-component-bubble strong{color:#f4f8f7}.connected-component-bubble p{color:#d2dedb}.component-details-connector path{stroke:var(--component-accent,#8fe3ca)}.component-details-connector circle{fill:var(--component-accent,#8fe3ca);stroke:color-mix(in srgb,var(--component-accent,#8fe3ca) 45%,#101b24)}

/* Subtle component tint with compact, readable descriptions. */
body.customer-viewer .connected-component-bubble,body.customer-viewer .connected-component-bubble.is-below-board{padding:12px 15px;border-color:color-mix(in srgb,var(--component-accent,#8fe3ca) 42%,#32443f);background:color-mix(in srgb,var(--component-accent,#8fe3ca) 6%,#101b24);box-shadow:0 8px 22px #0005}body.customer-viewer .connected-component-bubble .component-hover-side{font-size:8px;letter-spacing:1px;margin-bottom:5px;color:color-mix(in srgb,var(--component-accent,#8fe3ca) 28%,#a6b7b2)}body.customer-viewer .connected-component-bubble strong{font-size:14px;color:#dce7e3}body.customer-viewer .connected-component-bubble p{font-size:11.5px;line-height:1.55;margin-top:6px;color:#b8c8c3}.component-details-connector path{stroke:color-mix(in srgb,var(--component-accent,#8fe3ca) 48%,#82938e);stroke-width:1.3;filter:none}.component-details-connector circle{fill:color-mix(in srgb,var(--component-accent,#8fe3ca) 55%,#82938e);stroke:#263b34}

/* Page scrolling remains native until touch inspection is explicitly enabled. */
body.customer-viewer #boardStage, body.customer-viewer #boardStage .interactive-target-node{touch-action:pan-y pinch-zoom}
body.customer-viewer #boardStage.touch-inspection,body.customer-viewer #boardStage.touch-inspection .interactive-target-node{touch-action:none}
.inspection-gesture-controls{display:flex;align-items:center;gap:12px;padding:10px 16px;background:#122127;color:#a9beb8;font-size:12px}
.inspection-gesture-controls button{flex-shrink:0;min-height:44px;padding:8px 14px;border:1px solid #548b7c;border-radius:8px;background:#1b3530;color:#d3eee5;touch-action:manipulation}
.inspection-gesture-controls button[aria-pressed=true]{background:#8ad6c1;color:#10251d}
@media(hover:hover) and (pointer:fine){.inspection-gesture-controls{display:none}}
@media(max-width:480px){.inspection-gesture-controls{padding:8px 12px;gap:10px}.inspection-gesture-controls span{font-size:11px;line-height:1.4}}

/* Gentle curved guides, with reduced-motion support. */
.component-details-connector path{stroke-linecap:round;stroke-linejoin:round;animation-duration:2.4s}
body.customer-viewer .connected-component-bubble{transition:background-color .2s ease,border-color .2s ease}
@media(prefers-reduced-motion:reduce){body.customer-viewer .connected-component-bubble{transition:none}}

/* Square turns for the component connector. */
.component-details-connector path{stroke-linejoin:miter}

/* Keep hit areas fixed while hovering adjacent PCB components. */
body.customer-viewer .interactive-target-node,
body.customer-viewer .interactive-target-node:hover,
body.customer-viewer .interactive-target-node:focus-visible,
body.customer-viewer .interactive-target-node.is-active{transform:none;transition:border-color .16s ease,box-shadow .16s ease,background .16s ease}

/* Keep dark manufacturer artwork readable in the selector and its options. */
.customer-catalog .manufacturer-picker .manufacturer-image:not(.manufacturer-image-dark):not(.manufacturer-image-unavailable){background:#d5e2e3!important;box-shadow:inset 0 0 0 1px #ffffff30}
.customer-catalog .manufacturer-picker .manufacturer-image.manufacturer-image-dark{background:#101820!important;box-shadow:inset 0 0 0 1px #71858e}

/* Component facts under the plain-language description */
.component-hover-details .component-facts{display:grid;gap:4px;margin:10px 0 0;padding:8px 0 0;border-top:1px solid rgba(143,227,202,.18);font-size:12px;line-height:1.5}
.component-hover-details .component-facts[hidden]{display:none}
.component-hover-details .component-facts div{display:flex;flex-wrap:wrap;gap:4px 8px}
.component-hover-details .component-facts dt{color:#8fa9a2;margin:0}
.component-hover-details .component-facts dt::after{content:':'}
.component-hover-details .component-facts dd{margin:0;color:#e8f5f1;font-weight:600}
