/* Temporary shared connection inspection; no customer content is removed. */
.connection-legend{border:1px solid #c8c8cd;background:#fff;border-radius:12px;padding:12px;margin:0 0 16px;color:#24242b;font-size:13px}
.connection-legend label{display:flex;align-items:center;gap:8px;font-weight:700;cursor:pointer}
.connection-legend input{accent-color:#287c48;width:18px;height:18px}
.connection-legend-key{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0}
.connection-legend-key span{border-radius:5px;padding:5px 8px;font-weight:600}
.connection-key-green{background:#e5f5e9;color:#17562e;border:1px solid #4a9d60}
.connection-key-red{background:#fde9e8;color:#8e2020;border:1px solid #c45959}
body:has(#connection-inspection-toggle:checked) [data-connection-color]{outline:2px solid var(--connection-border);outline-offset:-2px;border-radius:8px;background-color:var(--connection-bg)!important}
body:has(#connection-inspection-toggle:checked) [data-connection-color="green"]{--connection-border:#3b9860;--connection-bg:#edf9ef;--connection-ink:#17562e}
body:has(#connection-inspection-toggle:checked) [data-connection-color="red"]{--connection-border:#c25353;--connection-bg:#fff0ef;--connection-ink:#8e2020}
body:has(#connection-inspection-toggle:checked) [data-connection-color]::before{content:attr(data-connection-en);display:table;max-width:100%;margin:6px 6px 9px;padding:3px 7px;background:var(--connection-bg);color:var(--connection-ink);border:1px solid var(--connection-border);border-radius:4px;font:600 11px/1.35 system-ui,sans-serif;white-space:normal;text-align:left;box-sizing:border-box}
html[lang="es"] body:has(#connection-inspection-toggle:checked) [data-connection-color]::before{content:attr(data-connection-es)}
html[lang="de"] body:has(#connection-inspection-toggle:checked) [data-connection-color]::before{content:attr(data-connection-de)}
body:has(#connection-inspection-toggle:checked) main.niche-sales-entry>:not([data-connection-color]):not(.connection-legend):not(.connection-inventory):not(.solring-architecture):not(script),
body:has(#connection-inspection-toggle:checked) main.niche-experience>:not([data-connection-color]):not(.connection-legend):not(.connection-inventory):not(.solring-architecture):not(script){outline:2px dashed #c25353;outline-offset:-2px}
.connection-inventory{margin-top:24px;padding:16px;border:1px solid #ddd;border-radius:12px;background:#fff;color:#25252b}
.connection-inventory h2{margin:0 0 8px;font-size:19px}
.connection-inventory p{font-size:13px;line-height:1.5}
.connection-material-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr));gap:10px}
.connection-material{padding:10px;overflow-wrap:anywhere;min-width:0}
.connection-material strong,.connection-material small{display:block}
.connection-material small{font-size:12px;margin-top:4px}
body:has(#connection-inspection-toggle:not(:checked)) .connection-inventory{display:none}
body:has(#connection-inspection-toggle:not(:checked)) .connection-legend-key{display:none}
@media(max-width:500px){.connection-legend{padding:10px}.connection-material-grid{grid-template-columns:1fr}}
