#ethernetLab .el-settings:has(#emOui){gap:12px;justify-content:flex-start}
#ethernetLab .el-settings:has(#emOui)>button{flex:none;white-space:nowrap;min-height:36px;padding:5px 9px;font:600 14px/22px 'Segoe UI',sans-serif}
#ethernetLab #emOui,#ethernetLab #emGroup{height:36px;min-height:36px;padding:4px 26px 4px 8px;font:600 14px/24px 'Segoe UI',sans-serif}
#ethernetLab #emOui{width:165px;min-width:165px}
#ethernetLab #emGroup{width:195px;min-width:195px}
#ethernetLab .el-mac-big input{font:700 clamp(25px,2.6vw,42px)/1.25 Consolas,monospace;min-width:0;width:0;flex:1;padding:12px 3px;background:var(--bg);color:var(--text);border:2px solid var(--el-blue);border-radius:7px;text-align:center;user-select:text}
#ethernetLab .el-mac-big input[aria-current=true]{color:#fff;background:#176ba5;border-color:#8cdbff}
#ethernetLab .el-mac-big input::selection{background:#f5b74a;color:#162232}
#ethernetLab .em-address{font:700 16px/24px Consolas,monospace;color:var(--section-ink);white-space:nowrap}
@media(max-height:820px){#ethernetLab .el-mac-big input{padding:7px 2px}}

#ethernetLab .el-local-caution[hidden]{display:none!important}
#ethernetLab .el-metro-explanation p{margin:10px 0;line-height:1.5}

#ethernetLab .el-settings [data-el-mac-preset][aria-pressed=true],#ethernetLab .el-settings select.em-example-active{background:#176ba5!important;color:#fff!important;border-color:#76c9fb!important;box-shadow:inset 0 0 0 1px #76c9fb}
#ethernetLab .el-settings select.em-example-active option,#ethernetLab .el-settings select.em-example-active optgroup{background:var(--bg);color:var(--text)}

#ethernetLab .el-mac-big{position:relative;margin-top:48px}
#ethernetLab .em-nibble-guide{position:absolute;top:-41px;left:0;right:0;height:29px;display:flex;align-items:center;gap:12px;white-space:nowrap}
#ethernetLab .em-nibble-set{display:flex;align-items:center;gap:12px;padding:4px 9px;border:1px solid var(--el-blue);border-radius:5px;background:var(--bg);color:var(--section-ink);font:600 13px/20px 'Segoe UI',sans-serif}
#ethernetLab .em-nibble-set b{font:700 17px/20px Consolas,monospace;letter-spacing:2px}
#ethernetLab .em-nibble-set.is-active{background:#176ba5;color:#fff;border-color:#76c9fb}
#ethernetLab .em-nibble-pointer{position:absolute;top:-12px;width:4px;height:10px;background:var(--amber);transform:translateX(-2px);pointer-events:none}
#ethernetLab .em-nibble-pointer::after{content:'';position:absolute;left:-5px;bottom:-3px;border-left:7px solid transparent;border-right:7px solid transparent;border-top:8px solid var(--amber)}
#ethernetLab .em-nibble-examples{font:500 12px/19px 'Segoe UI',sans-serif;color:var(--section-ink)}

@media(max-height:820px){#ethernetLab .el-mac-big{min-height:58px}}

@media(max-height:820px){#ethernetLab .el-scene:has(.el-mac-big){gap:6px}#ethernetLab .el-scene:has(.el-mac-big)>h3{margin-top:2px}}

@media(max-height:820px){#ethernetLab .el-mac-result article{padding:8px}}
