.second-floor-electrical main { min-width: 0; }
.sf2-room-nav, .sf2-sheet-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-block-end: 12px; font: 13px/1.4 system-ui, sans-serif; }
.sf2-room-nav a, .sf2-sheet-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 9px 13px; border: 1px solid #b7b9b5; border-radius: 3px; color: #333; background: #f7f7f6; text-decoration: none; }
.sf2-room-nav a[aria-current], .sf2-sheet-nav a[aria-current] { background: #222; color: white; border-color: #222; }
.sf2-room-nav a:focus-visible, .sf2-sheet-nav a:focus-visible, .sf2-electrical-scroll:focus-visible, .sf2-electrical-notes a:focus-visible { outline: 2px solid #145d99; outline-offset: 3px; }
.sf2-electrical-intro { max-width: 90ch; margin-block: 12px 16px; font: 13px/1.6 system-ui, sans-serif; text-wrap: pretty; }
.sf2-electrical-scroll { overflow-x: auto; background: white; }
#second-floor-electrical-plan { display: block; width: 100%; min-width: 960px; height: auto; background: white; }
#second-floor-electrical-plan text { font-size: 2.65px; letter-spacing: .015em; }
#second-floor-electrical-plan .e2-border, #second-floor-electrical-plan .e2-rule { fill: none; stroke: #222; stroke-width: .25; }
#second-floor-electrical-plan .e2-underlay { opacity: .35; }
#second-floor-electrical-plan .e2-underlay .sf-wall { fill: #aaa; stroke: #555; stroke-width: .47; }
#second-floor-electrical-plan .e2-underlay .sf-object, #second-floor-electrical-plan .e2-underlay .sf-detail, #second-floor-electrical-plan .e2-underlay .sf-glass, #second-floor-electrical-plan .e2-underlay .sf-faucet, #second-floor-electrical-plan .e2-underlay .sf-centerline, #second-floor-electrical-plan .e2-underlay .sf-leader { fill: none; stroke: #555; stroke-width: .24; }
#second-floor-electrical-plan .e2-underlay .sf-porcelain, #second-floor-electrical-plan .e2-underlay .sf-cabinet { fill: white; stroke: #555; stroke-width: .24; }
#second-floor-electrical-plan .e2-underlay .sf-overhead { fill: none; stroke: #555; stroke-width: .2; stroke-dasharray: 1.5 .65; }
#second-floor-electrical-plan .e2-underlay .sf-centerline { stroke-dasharray: 3 .6 .5 .6; }
#second-floor-electrical-plan .e2-symbol { fill: white; stroke: #111; stroke-width: .28; stroke-linejoin: miter; }
#second-floor-electrical-plan .e2-open { fill: none; }
#second-floor-electrical-plan .e2-control-link { fill: none; stroke: #555; stroke-width: .16; stroke-dasharray: 1.2 1; }
#second-floor-electrical-plan .e2-led { fill: none; stroke: #111; stroke-width: .27; stroke-dasharray: .65 .55; }
#second-floor-electrical-plan .e2-tag, #second-floor-electrical-plan .e2-context { paint-order: stroke fill; stroke: white; stroke-width: 1.1; stroke-linejoin: round; }
#second-floor-electrical-plan .e2-context { fill: #666; font-size: 2.3px; }
#second-floor-electrical-plan .e2-small { font-size: 2.3px; }
#second-floor-electrical-plan .e2-hold { fill: #75511a; }
#second-floor-electrical-plan .e2-hold-symbol { stroke: #75511a; }
#second-floor-electrical-plan .e2-dim path, #second-floor-electrical-plan .e2-leader, #second-floor-electrical-plan .e2-scale { fill: none; stroke: #444; stroke-width: .17; }
#second-floor-electrical-plan .e2-dim .e2-extension { stroke: #777; stroke-width: .12; }
#second-floor-electrical-plan .e2-dim text { paint-order: stroke fill; stroke: white; stroke-width: 1.1; }
#second-floor-electrical-plan .e2-notes text { text-anchor: start; font-size: 2.4px; }
#second-floor-electrical-plan .e2-notes .e2-heading { font-size: 2.8px; }
#second-floor-electrical-plan .e2-notes .e2-title { font-size: 3.6px; }
#second-floor-electrical-plan .e2-left { text-anchor: start; }
#second-floor-electrical-plan .e2-title { text-anchor: start; font-size: 3.6px; }
#second-floor-electrical-plan .e2-scale-dark { fill: #222; }
#second-floor-electrical-plan .e2-scale text { fill: #222; stroke: none; }
.sf2-electrical-notes { max-width: 100ch; margin-block: 22px; font: 14px/1.6 system-ui, sans-serif; }
.sf2-electrical-notes h2 { font-size: 17px; font-weight: 600; text-wrap: balance; }
.sf2-electrical-notes p { text-wrap: pretty; }
.sf2-electrical-notes a { color: #145d99; }
.sf2-electrical-hold { border-inline-start: 2px solid #9e855d; padding-inline-start: 14px; }
.sf2-device-table-wrap { overflow-x: auto; }
.sf2-device-table { border-collapse: collapse; width: 100%; font-size: 13px; font-variant-numeric: tabular-nums; }
.sf2-device-table th, .sf2-device-table td { padding: 8px 10px; text-align: left; vertical-align: top; border-block-end: 1px solid #c8c8c4; }
.sf2-device-table th { font-weight: 600; }
.sf2-device-table td:first-child { white-space: nowrap; }
@media (max-width: 700px) {
  .sf2-electrical-scroll::before { content: "Scroll across the diagram to view the full sheet."; display: block; padding: 12px; font: 12px/1.5 system-ui, sans-serif; }
}
@media print {
  body.second-floor-electrical main { width: 10in; min-width: 0; }
  .sf2-room-nav, .sf2-sheet-nav, .sf2-electrical-intro, .sf2-electrical-notes, .sf2-electrical-scroll::before { display: none; }
  .sf2-electrical-scroll { overflow: visible; }
  #second-floor-electrical-plan { width: 10in; height: 7.5in; min-width: 0; }
}
