/* Shared layer labels keep protocol rooms uncluttered. */
#osiLab .osi-towers{grid-template-columns:minmax(0,320px) minmax(180px,1fr) minmax(0,320px);column-gap:18px}
#osiLab .osi-floor>b{display:none}
#osiLab .osi-floor>span{flex:1;align-self:flex-start;text-align:center;width:100%}
#osiLab .osi-floor>i{position:absolute;right:5px;top:5px;font-size:13px}
#osiLab .osi-floor strong.osi-protocol-main{font-size:23px!important;line-height:26px!important;font-weight:850!important;letter-spacing:.3px;text-align:center}
#osiLab .osi-floor[data-osi-floor="2"] strong.osi-protocol-main,#osiLab .osi-floor[data-osi-floor="3"] strong.osi-protocol-main{font-size:29px!important;line-height:32px!important}
#osiLab .osi-floor small{font-size:10px;text-align:center}
#osiLab .osi-floor{padding-top:5px;transform:none!important;transition:opacity .2s,background-color .2s,border-color .2s}
#osiLab .osi-physical-floor{grid-template-columns:1fr;grid-template-rows:0 minmax(0,1fr);padding:0;border-color:transparent!important;background:transparent!important;box-shadow:none!important}
#osiLab .osi-physical-floor>span{display:none}
#osiLab .osi-physical-symbols{grid-row:2}
#osiLab .osi-center-layers{position:absolute;inset:0;pointer-events:none;z-index:2}
#osiLab .osi-center-layer{position:absolute;left:2px;right:2px;text-align:center;transform:translateY(-50%);color:var(--section-ink);font:650 16px/21px 'Segoe UI',sans-serif}
#osiLab .osi-center-layer>span{background:var(--panel);padding:3px 5px;display:inline-block;max-width:100%}
#osiLab .osi-center-layer.is-unrevealed{visibility:hidden}
#osiLab .osi-model-choice{display:flex;gap:5px;align-items:center}
#osiLab .osi-model-choice button{min-height:27px;padding:3px 9px;font-size:12px;background:var(--control);color:var(--text)}
#osiLab .osi-model-choice button[aria-pressed="true"]{background:#186a9f!important;color:white!important;border-color:#88b9dd}
#osiLab .osi-application-group{position:absolute;border:2px solid #6fbde5;border-radius:5px;pointer-events:none;z-index:2;display:none}
#osiLab[data-model=tcpip] .osi-application-group{display:block}
#osiLab[data-model=tcpip] .osi-floor[data-osi-floor="7"],#osiLab[data-model=tcpip] .osi-floor[data-osi-floor="6"]{border-bottom:1px dashed color-mix(in srgb,var(--tower) 40%,transparent)}
#osiLab[data-model=tcpip] .osi-floor[data-osi-floor="6"],#osiLab[data-model=tcpip] .osi-floor[data-osi-floor="5"]{border-top:0}
#osiLab .osi-layer-one{position:absolute;bottom:5px;border:2px solid #4c9dcc;border-radius:11px;background:color-mix(in srgb,#2389be 5%,transparent);z-index:0;pointer-events:none}
#osiLab .osi-physical-region{display:none!important}
#osiLab .osi-mdi-end{fill:var(--section-ink);stroke:var(--panel);stroke-width:1.3}
#osiLab .osi-visual{grid-template-rows:32px minmax(0,1fr) 60px}
#osiLab .osi-medium{height:60px;align-self:stretch;position:relative}
#osiLab .osi-medium>strong{position:absolute;left:18%;top:50%;transform:translate(-50%,-140%);font-size:13px}
#osiLab .osi-medium>strong.osi-medium-right{left:82%}
#osiLab .osi-packet-network{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:178px;height:49px;background:var(--panel);border:1.5px solid #628faa;border-radius:13px;display:flex;flex-direction:column;align-items:center;justify-content:center;z-index:8;padding:4px;gap:2px}
#osiLab .osi-packet-network svg{height:20px;width:100px;fill:var(--panel);stroke:var(--section-ink);stroke-width:1.3}
#osiLab .osi-packet-network>strong{font-size:11px;line-height:14px;color:var(--text);white-space:nowrap}
#osiLab .osi-pipe{width:76%;max-width:132px;background:linear-gradient(90deg,#2d4355,#557b96 15%,#b5cfdf 43%,#739ab5 68%,#28475d);border-radius:50% / 9px}
#osiLab .osi-pipe::before,#osiLab .osi-pipe::after{height:13px;left:-4px;right:-4px}
#osiLab .osi-serial-bus>div{right:calc(50% + min(66px,38%) + 8px);width:94px}
#osiLab .osi-shaft-cut-perspective{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
#osiLab .osi-cut-wall{fill:color-mix(in srgb,var(--tower-floor) 65%,#000)}
#osiLab .osi-cut-floor{fill:var(--roof-face)}
#osiLab .osi-cut-edge{fill:none;stroke:var(--tower);stroke-width:1.3}
#osiLab .osi-floor-life{position:absolute;bottom:2px;left:8px;right:8px;width:calc(100% - 16px);height:25px;opacity:.85;pointer-events:none}
#osiLab .osi-floor-life path{fill:none;stroke:var(--tower-ink);stroke-width:1.1;stroke-linejoin:round;stroke-linecap:round}
#osiLab .osi-floor-life circle{fill:var(--tower-ink)}
#osiLab .osi-floor-life rect{fill:var(--tower-floor);stroke:var(--tower-ink);stroke-width:.9}
#osiLab .osi-floor-life .osi-life-parcel{fill:#efbd45;stroke:#ffe4a4}
#osiLab .osi-floor-life .osi-life-route{stroke:#e0c471;stroke-width:2}
#osiLab .osi-window-life{animation:none;transform:none}
@media(max-height:820px){#osiLab .osi-towers{grid-template-columns:minmax(0,260px) minmax(150px,1fr) minmax(0,260px);column-gap:12px}#osiLab .osi-visual{grid-template-rows:0 minmax(0,1fr) 48px;padding-right:34px;padding-bottom:10px}#osiLab .osi-medium{height:48px}#osiLab .osi-center-layer{font-size:13px;line-height:17px}#osiLab .osi-floor{padding-top:1px}#osiLab .osi-floor strong.osi-protocol-main{font-size:18px!important;line-height:21px!important}#osiLab .osi-floor[data-osi-floor="2"] strong.osi-protocol-main,#osiLab .osi-floor[data-osi-floor="3"] strong.osi-protocol-main{font-size:23px!important;line-height:25px!important}#osiLab .osi-floor small{display:none}#osiLab .osi-floor-life{height:11px;bottom:0;opacity:.7}#osiLab .osi-floor>i{font-size:10px;top:2px;right:3px}#osiLab .osi-center-layer>span{padding:2px 3px}#osiLab .osi-pipe{width:76%;max-width:112px}#osiLab .osi-serial-bus>div{right:calc(50% + min(56px,38%) + 7px);width:85px}#osiLab .osi-packet-network{width:148px;height:43px}#osiLab .osi-packet-network>strong{font-size:10px}#osiLab .osi-model-choice{position:absolute;right:0;top:0}#osiLab .osi-model-choice button{min-height:24px;padding:2px 6px;font-size:11px}#osiLab .osi-visual-heading>strong{max-width:calc(100% - 125px);font-size:12px}#osiLab .osi-medium>strong{font-size:11px;left:15%;transform:translate(-50%,-140%)}#osiLab .osi-medium>strong.osi-medium-right{left:85%}}
#osiLab .osi-floor small{display:none!important}
#osiLab .osi-floor-life{height:22px}
#osiLab .osi-floor[data-osi-floor="2"] strong.osi-protocol-main,#osiLab .osi-floor[data-osi-floor="3"] strong.osi-protocol-main{font-size:27px!important;line-height:29px!important}
#osiLab .osi-serial-bus>div{visibility:hidden}
#osiLab .osi-center-bus{position:absolute;left:2px;right:2px;transform:translateY(-50%);text-align:center;background:var(--panel);color:var(--text);padding:2px;z-index:2;pointer-events:none}
#osiLab .osi-center-bus strong{display:block;font-size:15px;line-height:20px}
#osiLab .osi-center-bus small{display:block;font-size:11px;line-height:16px;color:var(--muted)}
#osiLab .osi-center-bus.is-unrevealed{visibility:hidden}
#osiLab[data-model=tcpip] .osi-floor-slab[data-osi-slab="7"],#osiLab[data-model=tcpip] .osi-floor-slab[data-osi-slab="6"]{opacity:0}
#osiLab .osi-packet-network>strong{font-size:12px}
@media(max-height:820px){#osiLab .osi-floor-life{height:11px}#osiLab .osi-floor[data-osi-floor="2"] strong.osi-protocol-main,#osiLab .osi-floor[data-osi-floor="3"] strong.osi-protocol-main{font-size:23px!important;line-height:25px!important}#osiLab .osi-center-bus strong{font-size:13px;line-height:17px}#osiLab .osi-packet-network>strong{font-size:10px}}
/* Keep the layer names prominent and separate from the protocols inside rooms. */
#osiLab .osi-towers{grid-template-columns:minmax(0,350px) minmax(195px,1fr) minmax(0,350px);column-gap:16px}
#osiLab .osi-center-layer{font-size:18px;line-height:23px;font-weight:750}
#osiLab .osi-center-layer>span{padding:3px 2px}
#osiLab .osi-layer-divider{position:absolute;left:0;right:0;border-top:1px solid color-mix(in srgb,var(--section-ink) 42%,transparent)}
#osiLab .osi-layer-divider.is-unrevealed{visibility:hidden}
#osiLab .osi-floor strong.osi-protocol-main{font-size:20px!important;line-height:24px!important;font-weight:750!important}
#osiLab .osi-floor[data-osi-floor="2"] strong.osi-protocol-main,#osiLab .osi-floor[data-osi-floor="3"] strong.osi-protocol-main{font-size:23px!important;line-height:27px!important}
#osiLab .osi-frontier{border-top:2px dashed #dcad4b;left:0;right:calc(-1 * var(--tower-depth))}
#osiLab .osi-frontier::before,#osiLab .osi-frontier::after{left:8px;right:auto;font:650 13px/18px 'Segoe UI',sans-serif;padding:1px 5px;background:var(--panel);border-radius:3px}
#osiLab .osi-frontier::before{bottom:7px}
#osiLab .osi-frontier::after{display:block;content:'Hardware';top:7px;color:var(--section-ink)}
#osiLab .osi-frontier{z-index:12}
#osiLab .osi-frontier::after{display:none}
#osiLab .osi-frontier>[data-osi-nic]{left:8px;right:auto;width:auto;top:7px!important;min-height:20px;font-size:12px;line-height:17px;padding:1px 4px;white-space:nowrap}
@media(max-height:820px){#osiLab .osi-towers{grid-template-columns:minmax(0,285px) minmax(155px,1fr) minmax(0,285px);column-gap:12px}#osiLab .osi-center-layer{font-size:15px;line-height:19px}#osiLab .osi-floor strong.osi-protocol-main{font-size:16px!important;line-height:19px!important}#osiLab .osi-floor[data-osi-floor="2"] strong.osi-protocol-main,#osiLab .osi-floor[data-osi-floor="3"] strong.osi-protocol-main{font-size:20px!important;line-height:23px!important}#osiLab .osi-frontier::before,#osiLab .osi-frontier::after{font-size:11px;line-height:14px;left:3px;padding:1px 3px}}
#osiLab .osi-nic-brace{position:absolute;left:7px;width:16px;border:2px solid #70c4eb;border-right:0;border-radius:6px 0 0 6px;z-index:14;pointer-events:none}
#osiLab .osi-nic-brace>button{position:absolute;left:8px;bottom:12px;display:flex;flex-direction:column;align-items:flex-start;gap:2px;background:var(--panel);border:1px solid #70c4eb;border-radius:5px;color:var(--text);padding:5px 7px;pointer-events:auto;min-height:0;max-width:100px}
#osiLab .osi-nic-brace b{font-size:18px;line-height:21px;color:var(--section-ink)}
#osiLab .osi-nic-brace span{font-size:12px;line-height:15px;white-space:normal;text-align:left}
#osiLab .osi-duplex-shaft,#osiLab .osi-duplex-profiles{display:none}
#osiLab.osi-duplex-final .osi-workspace{grid-template-columns:minmax(0,1fr)}
#osiLab.osi-duplex-final .osi-inspector{display:none}
#osiLab.osi-duplex-final .osi-towers{grid-template-columns:minmax(0,1fr) 210px minmax(0,1fr)}
#osiLab.osi-duplex-final .osi-building{padding-left:172px}
#osiLab.osi-duplex-final .osi-building>.osi-shaft:not(.osi-duplex-shaft){visibility:hidden;width:76px}
#osiLab.osi-duplex-final .osi-duplex-shaft{display:block;left:7px;width:76px;visibility:visible;pointer-events:none}
#osiLab.osi-duplex-final .osi-duplex-shaft[data-osi-duplex-shaft="1"]{left:89px}
#osiLab.osi-duplex-final .osi-duplex-shaft .osi-lift{width:72px;left:1px}
#osiLab.osi-duplex-final .osi-duplex-shaft .osi-message-parts>span{font-size:10px;line-height:13px;padding:2px 1px;white-space:normal;overflow-wrap:anywhere}
#osiLab.osi-duplex-final .osi-duplex-profiles{display:flex;position:absolute;left:0;right:0;bottom:-17px;transform:translateY(100%);flex-direction:column;align-items:center;gap:4px;z-index:15}
#osiLab .osi-duplex-profiles>span{font:650 13px/17px 'Segoe UI',sans-serif;color:#6cd4fa;max-width:200px;text-align:center;background:var(--panel);padding:2px 5px;border-radius:4px}
#osiLab .osi-duplex-profiles>span+span{color:#caa1f7}
#osiLab.osi-duplex-final .osi-example-control{display:none}
#osiLab.osi-duplex-final .osi-nic-brace>button{left:10px;bottom:7px}
@media(max-height:820px){#osiLab.osi-duplex-final .osi-building{padding-left:152px}#osiLab.osi-duplex-final .osi-duplex-shaft{width:66px;left:5px}#osiLab.osi-duplex-final .osi-duplex-shaft[data-osi-duplex-shaft="1"]{left:77px}#osiLab.osi-duplex-final .osi-duplex-shaft .osi-lift{width:63px}#osiLab.osi-duplex-final .osi-towers{grid-template-columns:minmax(0,1fr) 165px minmax(0,1fr)}#osiLab .osi-nic-brace b{font-size:15px;line-height:17px}#osiLab .osi-nic-brace span{font-size:11px;line-height:14px}#osiLab .osi-nic-brace>button{max-width:83px;padding:3px 4px}#osiLab .osi-duplex-profiles>span{font-size:11px;line-height:14px}}
#osiLab.osi-duplex-final .osi-duplex-profiles{top:2px;bottom:auto;transform:none}
#osiLab.osi-duplex-final .osi-duplex-shaft .osi-message-parts>span{animation:none}
#osiLab.osi-duplex-final .osi-duplex-shaft .osi-shaft-label{font-size:9px}
#osiLab.osi-duplex-final .osi-phy-direction{font-size:12px}
/* The final scene keeps the same tower geometry as the preceding steps. */
#osiLab.osi-duplex-final .osi-workspace{grid-template-columns:252px minmax(0,1fr)}
#osiLab.osi-duplex-final .osi-inspector{display:flex}
#osiLab.osi-duplex-final .osi-towers{grid-template-columns:minmax(0,350px) minmax(195px,1fr) minmax(0,350px)}
#osiLab.osi-duplex-final .osi-building{padding-left:118px}
#osiLab.osi-duplex-final .osi-duplex-shaft{left:5px;width:49px}
#osiLab.osi-duplex-final .osi-duplex-shaft[data-osi-duplex-shaft="1"]{left:59px}
#osiLab.osi-duplex-final .osi-duplex-shaft .osi-lift{width:46px;padding:2px}
#osiLab.osi-duplex-final .osi-duplex-shaft .osi-message-parts>span{font-size:9px;line-height:11px;min-height:13px;padding:1px}
#osiLab.osi-duplex-final .osi-duplex-shaft .osi-shaft-label{font-size:9px;line-height:12px;overflow-wrap:anywhere}
#osiLab.osi-duplex-final .osi-floor strong.osi-protocol-main{font-size:17px!important;line-height:20px!important;overflow-wrap:anywhere}
@media(max-height:820px){#osiLab.osi-duplex-final .osi-workspace{grid-template-columns:230px minmax(0,1fr)}#osiLab.osi-duplex-final .osi-towers{grid-template-columns:minmax(0,285px) minmax(155px,1fr) minmax(0,285px)}#osiLab.osi-duplex-final .osi-building{padding-left:106px}#osiLab.osi-duplex-final .osi-duplex-shaft{width:44px;left:3px}#osiLab.osi-duplex-final .osi-duplex-shaft[data-osi-duplex-shaft="1"]{left:51px}#osiLab.osi-duplex-final .osi-duplex-shaft .osi-lift{width:41px}#osiLab.osi-duplex-final .osi-floor strong.osi-protocol-main{font-size:14px!important;line-height:17px!important}}
#osiLab .osi-duplex-wave-0{stroke:#6cd4fa}#osiLab .osi-duplex-wave-1{stroke:#caa1f7}
#miniNote:has(.osi-history-comparison){width:calc(100vw - 48px);max-width:1280px;max-height:calc(100dvh - 36px);padding:22px 26px;overflow:visible}
#miniNote:has(.osi-history-comparison)>h2{margin:0 44px 18px 0}
#miniNote:has(.osi-history-comparison) #miniNoteBody{max-height:none;height:auto;overflow:visible}
.osi-history-comparison{display:grid;grid-template-columns:1fr 1fr;gap:18px 24px}
.osi-history-comparison article{border:1px solid var(--line);border-top:3px solid var(--section-ink);background:var(--panel);border-radius:9px;padding:16px 18px;display:flex;flex-direction:column}
.osi-history-comparison article+article{border-top-color:#b991ec}
.osi-history-date{font:700 17px/23px 'Segoe UI',sans-serif;color:var(--section-ink)}
#miniNoteBody .osi-history-comparison h3{font-size:24px;line-height:29px;margin:8px 0 12px}
#miniNoteBody .osi-history-comparison p{font-size:17px;line-height:1.45;margin:0 0 14px}
.osi-history-stack{display:grid;grid-template-columns:1fr 1fr;gap:5px;margin-top:auto;margin-bottom:12px}
.osi-history-stack>span{border:1px solid var(--line);border-radius:4px;padding:5px 7px;font:600 13px/18px 'Segoe UI',sans-serif}
.osi-history-stack b{color:var(--section-ink);margin-right:5px}
.osi-history-comparison a{font-size:14px}
.osi-history-comparison-note{grid-column:1/-1}
@media(max-height:820px){#miniNote:has(.osi-history-comparison){padding:16px 20px}.osi-history-comparison article{padding:12px 14px}#miniNoteBody .osi-history-comparison p{font-size:15px;line-height:1.4;margin-bottom:10px}#miniNoteBody .osi-history-comparison h3{font-size:21px;margin:5px 0 9px}.osi-history-stack>span{padding:3px 6px;font-size:12px;line-height:16px}.osi-history-comparison{gap:12px 18px}}
#osiLab.osi-duplex-final .osi-workspace{grid-template-columns:250px minmax(0,1fr)}@media(max-height:820px){#osiLab.osi-duplex-final .osi-workspace{grid-template-columns:280px minmax(0,1fr)}}
#osiLab .osi-floor strong.osi-protocol-main{white-space:normal!important;display:block;width:100%;max-width:100%;overflow-wrap:anywhere}#osiLab .osi-floor>span{min-width:0}
/* Shared central annotations, outside the elevator shafts. */
#osiLab .osi-nic-brace,#osiLab .osi-frontier::before,#osiLab .osi-frontier::after,#osiLab .osi-frontier>[data-osi-nic],#osiLab .osi-shaft-label{display:none!important}
#osiLab .osi-center-bus{padding:0 4px;background:var(--panel);z-index:12}
#osiLab .osi-center-bus strong{font-size:15px;line-height:20px}
#osiLab .osi-center-bus small{font:650 12px/17px 'Segoe UI',sans-serif}
#osiLab .osi-software-label{color:var(--amber)}
#osiLab .osi-hardware-label{color:var(--section-ink)}
#osiLab .osi-center-nic{position:absolute;left:1px;right:1px;z-index:10;pointer-events:none}
#osiLab .osi-center-nic[hidden]{display:none}
#osiLab .osi-center-nic>i{position:absolute;top:0;bottom:0;width:10px;border:2px solid #65b8dd;opacity:.85}
#osiLab .osi-nic-bracket-left{left:0;border-left:0!important;border-radius:0 8px 8px 0}
#osiLab .osi-nic-bracket-right{right:0;border-right:0!important;border-radius:8px 0 0 8px}
#osiLab .osi-center-nic>button{position:absolute;left:50%;transform:translate(-50%,-50%);display:flex;flex-direction:column;align-items:center;background:var(--panel);border:1px solid #65b8dd;border-radius:7px;color:var(--text);padding:4px 9px;pointer-events:auto;min-height:0;white-space:nowrap}
#osiLab .osi-center-nic b{font-size:20px;line-height:23px;color:var(--section-ink)}
#osiLab .osi-center-nic span{font-size:12px;line-height:16px}
#osiLab .osi-elevator-captions{position:absolute;left:8px;right:0;display:flex;justify-content:space-around;gap:8px;z-index:13;pointer-events:none}
#osiLab .osi-elevator-captions[hidden]{display:none}
#osiLab .osi-elevator-captions>span{background:var(--panel);border-radius:3px;padding:2px 4px;color:var(--tower-ink);font:650 11px/15px 'Segoe UI',sans-serif;white-space:nowrap}
#osiLab .osi-towers,#osiLab.osi-duplex-final .osi-towers{grid-template-columns:minmax(0,1fr) 155px minmax(0,1fr);column-gap:14px}
#osiLab .osi-building,#osiLab.osi-duplex-final .osi-building{padding-left:144px}
#osiLab .osi-building>.osi-shaft:not(.osi-duplex-shaft){width:130px}
#osiLab .osi-lift{width:122px}
#osiLab.osi-duplex-final .osi-duplex-shaft{left:5px;width:62px}
#osiLab.osi-duplex-final .osi-duplex-shaft[data-osi-duplex-shaft="1"]{left:73px}
#osiLab.osi-duplex-final .osi-duplex-shaft .osi-lift{width:59px}
#osiLab .osi-center-layer{font-size:17px;line-height:20px}
#osiLab .osi-roof{z-index:14}
@media(max-height:820px){#osiLab .osi-workspace,#osiLab.osi-duplex-final .osi-workspace{grid-template-columns:230px minmax(0,1fr)}#osiLab .osi-towers,#osiLab.osi-duplex-final .osi-towers{grid-template-columns:minmax(0,1fr) 135px minmax(0,1fr);column-gap:10px}#osiLab .osi-building,#osiLab.osi-duplex-final .osi-building{padding-left:130px}#osiLab .osi-building>.osi-shaft:not(.osi-duplex-shaft){width:116px}#osiLab .osi-lift{width:109px}#osiLab.osi-duplex-final .osi-duplex-shaft{width:55px;left:4px}#osiLab.osi-duplex-final .osi-duplex-shaft[data-osi-duplex-shaft="1"]{left:65px}#osiLab.osi-duplex-final .osi-duplex-shaft .osi-lift{width:52px}#osiLab .osi-center-layer{font-size:14px;line-height:17px}#osiLab .osi-center-bus strong{font-size:13px;line-height:18px}#osiLab .osi-center-bus small{font-size:11px;line-height:14px}#osiLab .osi-center-nic b{font-size:17px;line-height:20px}#osiLab .osi-center-nic span{font-size:11px;line-height:14px}}
/* A matte structural cylinder with a single visible lower rim. */
#osiLab .osi-pipe{background:linear-gradient(90deg,#182b39,#304957 36%,#344d5d 57%,#213846);border-inline:1px solid #526b7b;border-radius:0;box-shadow:2px 0 3px #0003}
#osiLab .osi-pipe::before,#osiLab .osi-pipe::after{left:-1px;right:-1px;height:12px;border:1px solid #587383}
#osiLab .osi-pipe::before{top:-6px;background:#304957}
#osiLab .osi-pipe::after{bottom:-6px;background:#263e4c;clip-path:inset(50% 0 0 0)}
#osiLab .osi-architecture{z-index:2}
#osiLab .osi-recess-wall{fill:color-mix(in srgb,var(--side-face) 65%,#000);stroke:var(--tower);stroke-width:1.1}
#osiLab .osi-recess-ceiling{fill:color-mix(in srgb,var(--side-face) 75%,#000);stroke:var(--tower);stroke-width:1.1}
#osiLab .osi-recess-sill{fill:var(--roof-face);stroke:var(--tower);stroke-width:1.1}
#osiLab .osi-cantilever-notch{border-block:0}
#osiLab .osi-notch-right{border-left:0}
/* Break only the shaft walls and rails; the moving messages remain visible. */
#osiLab .osi-shaft{border:0;background:transparent;isolation:isolate}
#osiLab .osi-shaft::after{content:'';position:absolute;inset:0;border:1px solid color-mix(in srgb,var(--tower) 60%,transparent);border-radius:3px;background:#0e1722;z-index:-1;pointer-events:none}
#osiLab.osi-bus-visible .osi-shaft::before,#osiLab.osi-bus-visible .osi-shaft::after{mask-image:linear-gradient(to bottom,#000 0 var(--osi-bus-gap-top),transparent var(--osi-bus-gap-top) var(--osi-bus-gap-bottom),#000 var(--osi-bus-gap-bottom) 100%)}
#osiLab .osi-shaft-gap{display:none}
/* Reserve a clear central column, including the towers' perspective depth. */
#osiLab .osi-towers,#osiLab.osi-duplex-final .osi-towers{grid-template-columns:minmax(0,1fr) 240px minmax(0,1fr);column-gap:18px}
#osiLab .osi-center-layer{left:35px;right:0}
#osiLab .osi-center-bus{left:35px;right:0}
#osiLab .osi-layer-divider{left:35px;right:0}
#osiLab .osi-center-nic{left:35px;right:0}
#osiLab .osi-serial-bus{z-index:0}
#osiLab .osi-floor{z-index:1}
#osiLab .osi-medium>strong{white-space:nowrap;background:var(--panel);padding:1px 5px;line-height:18px}
@media(max-height:820px){#osiLab .osi-towers,#osiLab.osi-duplex-final .osi-towers{grid-template-columns:minmax(0,1fr) 200px minmax(0,1fr);column-gap:14px}#osiLab .osi-center-layer,#osiLab .osi-center-bus,#osiLab .osi-layer-divider,#osiLab .osi-center-nic{left:25px;right:0}}
/* Put the analogy heading in the central space, giving its row back to the towers. */
#osiLab .osi-visual{grid-template-rows:0 minmax(0,1fr) 60px}
#osiLab .osi-peer-space>.osi-visual-heading{position:absolute;top:0;left:35px;right:0;height:auto;display:flex;flex-direction:column;align-items:center;gap:7px;text-align:center;overflow:visible;visibility:visible;z-index:16}
#osiLab .osi-peer-space>.osi-visual-heading>strong{max-width:none;width:100%;font-size:16px;line-height:21px}
#osiLab .osi-peer-space .osi-model-choice{position:static!important;justify-content:center}
#osiLab .osi-roof{margin-bottom:33px}
#osiLab .osi-duplex-profiles{display:none!important}
#workspace:has(#osiLab:not([hidden])){padding-bottom:0!important}
.wi-lab:has(#osiLab:not([hidden])){padding-bottom:4px!important}
@media(max-height:820px){#osiLab .osi-visual{grid-template-rows:0 minmax(0,1fr) 48px}#osiLab .osi-peer-space>.osi-visual-heading{left:25px;right:0;gap:4px}#osiLab .osi-peer-space>.osi-visual-heading>strong{font-size:13px;line-height:17px}#osiLab .osi-roof{margin-bottom:28px}}
#osiLab .osi-frontier{z-index:0}
#osiLab .osi-serial-bus{z-index:1}
#osiLab .osi-floor{z-index:2}
#osiLab .osi-bus-tube-label{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:#edf5fa;font:700 15px/20px 'Segoe UI',sans-serif;white-space:nowrap;text-shadow:0 1px 2px #0008}
#osiLab .osi-bus-label-gap{display:block;height:20px}
#osiLab .osi-center-nic{overflow:visible}
#osiLab .osi-nic-brackets{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none}
#osiLab .osi-nic-brackets path{fill:none;stroke:#65b8dd;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
#osiLab .osi-center-nic>button{z-index:1}
@media(max-height:820px){#osiLab .osi-bus-tube-label{font-size:12px;line-height:16px}}
.osi-nic-adapter{max-width:760px;margin:18px auto}
.osi-nic-adapter svg{display:block;width:100%;height:auto;fill:var(--panel);stroke:var(--section-ink);stroke-width:2}
.osi-nic-adapter .osi-adapter-case{fill:color-mix(in srgb,var(--section-ink) 10%,var(--panel));stroke-width:3}
.osi-nic-adapter text{fill:var(--text);stroke:none;font:650 18px 'Segoe UI',sans-serif;text-anchor:middle}
#osiLab .osi-floor[data-osi-long-label=true] strong.osi-protocol-main{font-size:16px!important;line-height:20px!important}@media(max-height:820px){#osiLab .osi-floor[data-osi-long-label=true] strong.osi-protocol-main{font-size:13px!important;line-height:17px!important}}
#osiLab .osi-center-frontier{position:absolute;left:-18px;right:-18px;border-top:3px dashed #dcad4b;z-index:3;pointer-events:none}
#osiLab .osi-center-frontier[hidden]{display:none}
#osiLab .osi-center-bus{background:transparent}
#osiLab .osi-center-bus small{background:var(--panel);width:max-content;margin-inline:auto;padding:0 5px}
#osiLab .osi-nic-outline{display:none}
#osiLab .osi-nic-card{position:absolute;border:2px solid #65b8dd;border-radius:7px;z-index:6;pointer-events:none}
#osiLab .osi-nic-card[hidden]{display:none}
#osiLab .osi-nic-card>button{position:absolute;left:7px;pointer-events:auto;min-height:25px;padding:3px 7px;font:750 13px/17px 'Segoe UI',sans-serif;color:var(--section-ink);background:var(--panel);border:1px solid #65b8dd;border-radius:5px}
.osi-nic-photos{display:grid;grid-template-columns:1fr 1fr;gap:10px 16px;margin:16px 0}
.osi-nic-photos figure{margin:0;min-width:0;padding:8px;background:#fff;border-radius:6px}
.osi-nic-photos img{width:100%;height:220px;object-fit:contain;display:block}
.osi-nic-photos figcaption{text-align:center;color:#20394b;font:650 15px/20px 'Segoe UI',sans-serif;margin-top:5px}
.osi-nic-photos>small{grid-column:1/-1;font:12px/17px 'Segoe UI',sans-serif;color:var(--muted)}
#miniNote:has(.osi-nic-photos){width:calc(100vw - 48px);max-width:1050px}
#miniNote:has(.osi-nic-photos) .osi-nic-detail{flex-wrap:wrap;margin:12px 0}
@media(max-height:820px){.osi-nic-photos img{height:165px}#miniNote:has(.osi-nic-photos) .osi-nic-detail b{padding:8px;font-size:15px}#osiLab .osi-nic-card>button{font-size:11px;line-height:14px;min-height:22px;padding:3px 5px}}
#osiLab .osi-floor-life{left:2px;right:auto;width:72%;max-width:145px}
#osiLab .osi-floor.osi-unused-layer .osi-floor-life,#osiLab .osi-window-life.osi-life-inactive{display:none}
#osiLab .osi-side-window.osi-life-inactive{fill:#152430!important;opacity:.5}
#osiLab .osi-floor-life text{fill:var(--tower-ink);font:700 7px 'Segoe UI',sans-serif;stroke:none;text-anchor:middle}
#osiLab .osi-peer-space>.osi-visual-heading{top:-44px}
#osiLab .osi-peer-space>.osi-visual-heading>strong{width:max-content;max-width:none;white-space:nowrap;font-size:15px;line-height:20px;flex:none}
@media(max-height:820px){#osiLab .osi-peer-space>.osi-visual-heading{top:-34px}#osiLab .osi-peer-space>.osi-visual-heading>strong{font-size:13px;line-height:18px}}
#osiLab .osi-ports-open{position:absolute;z-index:9;min-height:22px;padding:2px 5px;font:650 11px/16px 'Segoe UI',sans-serif;color:var(--section-ink);background:var(--panel);border:1px solid var(--section-ink);border-radius:4px}
#osiLab .osi-ports-open[hidden]{display:none}
#osiLab [data-osi-model-choice]:disabled{opacity:.4;cursor:default}
#miniNote:has(.osi-ports-zoom){width:calc(100vw - 40px);max-width:1160px;max-height:calc(100dvh - 32px);padding:16px 20px}
#miniNote:has(.osi-ports-zoom)>h2{margin:0 40px 12px 0}
#miniNote:has(.osi-ports-zoom) #miniNoteBody{max-height:none;overflow:visible}
.osi-ports-zoom{display:flex;flex-direction:column;gap:9px}
#miniNoteBody .osi-ports-zoom p{font:16px/22px 'Segoe UI',sans-serif;margin:0}
.osi-ports-zoom nav{display:flex;gap:8px}
.osi-ports-zoom nav button{min-height:30px;padding:4px 16px}
.osi-ports-zoom button[aria-pressed=true]{background:#176e86;color:#fff;border:2px solid #60d4ed}
.osi-port-header{display:flex;gap:0;align-self:center;width:min(100%,540px);border:1px solid var(--section-ink);border-radius:6px;overflow:hidden}
.osi-port-header>span{flex:1;text-align:center;font:600 13px/18px 'Segoe UI',sans-serif;padding:4px 8px}
.osi-port-header>span+span{border-left:1px solid var(--section-ink)}
.osi-port-header b{display:block;font:750 21px/24px 'Segoe UI',sans-serif;color:var(--section-ink)}
.osi-port-offices{display:grid;grid-template-columns:70px minmax(0,1fr);gap:12px;min-height:124px;padding:9px;border:1px solid var(--line);border-bottom:6px solid var(--section-ink);background:var(--panel);border-radius:5px}
.osi-port-lift{display:flex;flex-direction:column;align-items:center;justify-content:center;border:2px solid var(--section-ink);background:var(--control);font-size:35px}
.osi-port-lift span{font:650 13px/19px 'Segoe UI',sans-serif}
.osi-port-hall{display:flex;position:relative;gap:12px;padding:0 12px 22px;align-items:stretch}
.osi-port-office{position:relative;flex:1;display:flex;flex-direction:column;gap:3px;align-items:center;justify-content:center;min-width:0;border:2px solid var(--section-ink);border-bottom:0;border-radius:5px 5px 0 0;background:var(--control);color:var(--text);padding:6px}
.osi-port-office b{font:750 25px/28px 'Segoe UI',sans-serif}
.osi-port-office span{font:650 15px/19px 'Segoe UI',sans-serif}
.osi-port-office i{font-style:normal;color:var(--section-ink);font-size:20px}
.osi-port-office[aria-pressed=true] i{color:#a7e8f4}
.osi-port-courier{position:absolute;left:0;bottom:0;font-style:normal;color:#ffc966;font-size:25px;line-height:24px;z-index:2}
.osi-ports-zoom article{min-height:49px;padding:7px 10px;border-left:3px solid var(--section-ink);background:var(--panel)}
.osi-ports-zoom article>strong{font-size:17px;color:var(--section-ink)}
.osi-ports-zoom>small{font:13px/18px 'Segoe UI',sans-serif;color:var(--muted)}
.osi-ports-zoom>a{font:13px/18px 'Segoe UI',sans-serif}
#miniNoteBody .osi-ports-zoom .osi-port-ranges{font-size:14px;line-height:19px}
@media(max-height:820px){#osiLab .osi-ports-open{font-size:10px;line-height:14px;min-height:20px} .osi-ports-zoom{gap:7px}}
#osiLab .osi-floor-life{left:3px;right:3px;width:calc(100% - 6px);max-width:none;height:27px;bottom:1px}
#osiLab .osi-life-entrance path{stroke:var(--section-ink);stroke-width:1.5}
@media(max-height:820px){#osiLab .osi-floor-life{height:14px}}
#osiLab .osi-roof.is-unbuilt{visibility:hidden}
#osiLab [data-osi-bus]{cursor:pointer;border-radius:5px;outline-offset:2px}
#osiLab [data-osi-bus]:focus-visible,#osiLab [data-osi-bus].is-selected{outline:2px solid #81caef}
#osiLab [data-osi-bus]:hover .osi-pipe{border-color:#93d4f5}
.osi-bus-description{display:flex;flex-direction:column;align-items:center;gap:8px;margin:20px 0}
.osi-bus-description>b,.osi-bus-description>strong{padding:8px 16px;border:1px solid var(--section-ink);border-radius:5px;background:var(--panel);color:var(--text)}
.osi-bus-description>span{font-size:20px;color:var(--section-ink)}
#osiLab .osi-header-transfer{position:absolute;z-index:20;padding:2px 6px;border:1px solid #9ac8e9;border-radius:3px;background:#275776;color:#fff;font:650 11px/15px 'Segoe UI',sans-serif;pointer-events:none;white-space:nowrap}
#osiLab .osi-message-parts>span{animation:none}
#osiLab.osi-final-exchanges .osi-example-control{display:none}
#osiLab .osi-elevator-captions{right:auto;justify-content:space-between;gap:6px}
#osiLab .osi-elevator-captions>span{flex:1;text-align:center;min-width:0;padding:2px 1px}
#osiLab.osi-duplex-final .osi-elevator-captions>span{font-size:9px;line-height:15px}
#osiLab .osi-final-exchanges .osi-example-control{display:none}
#osiLab.osi-final-exchanges:not(.osi-duplex-final) .osi-building>.osi-shaft:not(.osi-duplex-shaft){visibility:hidden}
#osiLab.osi-final-exchanges:not(.osi-duplex-final) .osi-duplex-shaft[data-osi-duplex-shaft="0"]{display:block;left:5px;width:130px}
#osiLab.osi-final-exchanges:not(.osi-duplex-final) .osi-duplex-shaft[data-osi-duplex-shaft="0"] .osi-lift{width:122px}
#osiLab.osi-final-exchanges:not(.osi-duplex-final) .osi-duplex-shaft[data-osi-duplex-shaft="1"]{display:none}
#osiLab .osi-room-interior{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:0}
#osiLab .osi-room-back-wall{fill:color-mix(in srgb,var(--tower-ink) 4%,transparent)}
#osiLab .osi-room-left-wall{fill:color-mix(in srgb,var(--tower-ink) 10%,transparent)}
#osiLab .osi-room-floor-plane{fill:color-mix(in srgb,var(--tower-ink) 19%,transparent)}
#osiLab .osi-room-perspective-edges{fill:none;stroke:var(--tower-ink);stroke-width:.7;opacity:.45}
#osiLab .osi-floor>span{position:relative;z-index:1}#osiLab .osi-floor>i{z-index:1}
#osiLab .osi-floor-life{z-index:2}
@media(max-height:820px){#osiLab.osi-final-exchanges:not(.osi-duplex-final) .osi-duplex-shaft[data-osi-duplex-shaft="0"]{width:116px}#osiLab.osi-final-exchanges:not(.osi-duplex-final) .osi-duplex-shaft[data-osi-duplex-shaft="0"] .osi-lift{width:109px}}

#osiLab .osi-metro-train{animation:osi-metro-glide 3.2s ease-in-out infinite alternate}
@keyframes osi-metro-glide{from{transform:translateX(-3px)}to{transform:translateX(9px)}}
#osiLab .osi-phy-station{position:absolute;right:2px;bottom:10px;width:30%;height:50px;fill:var(--panel);stroke:var(--tower-ink);stroke-width:1.5;opacity:.85;pointer-events:none}
#osiLab .osi-station-canopy{fill:color-mix(in srgb,var(--tower-ink) 12%,var(--panel))}
#osiLab .osi-station-tram{animation:osi-station-glide 3.4s ease-in-out infinite alternate}
@keyframes osi-station-glide{from{transform:translateX(-3px)}to{transform:translateX(2px)}}
#osiLab .osi-floor.osi-unused-layer .osi-phy-station{display:none}
@media(max-height:820px){#osiLab .osi-phy-station{height:35px;bottom:6px}}
@media(prefers-reduced-motion:reduce){#osiLab .osi-metro-train,#osiLab .osi-station-tram{animation:none}}
#osiLab .osi-rx .osi-phy-label{font-size:18px}#osiLab .osi-rx .osi-phy-direction{font-size:12px}
:root[data-theme=light] #osiLab .osi-tx .osi-floor{background:#c4d4df!important}
:root[data-theme=light] #osiLab .osi-rx .osi-floor{background:#d2c7dc!important}
:root[data-theme=light] #osiLab .osi-tx .osi-floor.selected{background:#a4c8df!important}
:root[data-theme=light] #osiLab .osi-rx .osi-floor.selected{background:#c4a9d9!important}
:root[data-theme=light] #osiLab .osi-tx .osi-room-back-wall{fill:#c2d1dc}
:root[data-theme=light] #osiLab .osi-tx .osi-room-left-wall{fill:#9bb2c3}
:root[data-theme=light] #osiLab .osi-tx .osi-room-floor-plane{fill:#8da8ba}
:root[data-theme=light] #osiLab .osi-rx .osi-room-back-wall{fill:#cec2db}
:root[data-theme=light] #osiLab .osi-rx .osi-room-left-wall{fill:#ad98c2}
:root[data-theme=light] #osiLab .osi-rx .osi-room-floor-plane{fill:#9f86b5}
:root[data-theme=light] #osiLab .osi-room-perspective-edges{opacity:.7}
/* Quiet interiors: shallow tonal depth, open lift shafts, stationary rolling stock. */
#osiLab .osi-metro-train,#osiLab .osi-station-tram{animation:none!important;transform:none}
#osiLab .osi-room-perspective-edges{display:none}


#osiLab .osi-room-left-wall{opacity:.5}
#osiLab .osi-room-floor-plane{opacity:.6;stroke:none}
#osiLab .osi-tx .osi-metro-train{transform:translateX(155px) scaleX(-1)}
#osiLab .osi-tx .osi-station-tram{transform:translateX(100px) scaleX(-1)}

#osiLab .osi-frontier{border-top:0!important}
#osiLab .osi-center-frontier{position:absolute;inset:0;width:100%;height:100%;border:0;overflow:visible;z-index:7;pointer-events:none}
#osiLab .osi-center-frontier path{fill:none;stroke:#dcad4b;stroke-width:2;stroke-dasharray:6 4;vector-effect:non-scaling-stroke}
#osiLab .osi-floor-life{overflow:visible}
#osiLab .osi-elevator-captions>span{background:transparent;border:0;box-shadow:none}
#osiLab .osi-room-floor-plane{opacity:.75}
#osiLab .osi-metro-platform{transform:translate(-35px,5px)}

/* Topologies is the reference for the shared playback bar. */
:root{--lab-transport-height:50px}
#osiLab .osi-transport,#topologyLab .tp-transport{height:var(--lab-transport-height);min-height:var(--lab-transport-height);padding:6px 10px}
@media(max-height:820px){:root{--lab-transport-height:46px}}
/* Compact, single-line signs return their former second row to the building. */
#osiLab .osi-tower{grid-template-rows:43px minmax(0,1fr) 0}
#osiLab .osi-roof{display:flex;flex-direction:row;align-items:center;justify-content:center;gap:8px;width:calc(100% - 12px);min-width:0;max-width:none;height:40px;padding:7px 7px;white-space:nowrap}
#osiLab .osi-roof>strong{order:0;font:750 14px/18px 'Segoe UI',sans-serif;letter-spacing:.4px;white-space:nowrap}
#osiLab .osi-roof>span{order:1;font:600 12px/17px 'Segoe UI',sans-serif;white-space:nowrap}
#osiLab .osi-roof>span::before{content:'·';margin-right:8px}
#osiLab .osi-roof>i{display:none}
@media(max-height:820px){#osiLab .osi-tower{grid-template-rows:37px minmax(0,1fr) 0}#osiLab .osi-roof{height:36px;padding:6px 5px;gap:5px}#osiLab .osi-roof>strong{font-size:11px;line-height:16px;letter-spacing:.2px}#osiLab .osi-roof>span{font-size:11px;line-height:16px}#osiLab .osi-roof>span::before{margin-right:5px}}
/* All room planes share the building's full depth vector. Doors lie in the left wall. */
#osiLab .osi-room-interior{overflow:visible;clip-path:inset(0 calc(-1 * var(--osi-room-depth,38px)) 0 0)}
#osiLab .osi-room-left-wall{opacity:.85}
#osiLab .osi-room-interior .osi-life-entrance path{fill:color-mix(in srgb,var(--tower-ink) 7%,var(--tower-floor));stroke:var(--tower-ink);stroke-width:.85;opacity:.9}
#osiLab .osi-roof{justify-self:start;margin-right:0;gap:5px;padding:3px 5px}
#osiLab .osi-roof>strong{font-size:12px;line-height:18px;letter-spacing:.2px}
#osiLab .osi-roof>span{font-size:11px;line-height:17px}
#osiLab .osi-roof>span::before{margin-right:5px}
@media(max-height:820px){#osiLab .osi-roof>strong{font-size:11px;line-height:16px}#osiLab .osi-roof>span{font-size:10px;line-height:16px}}
#osiLab .osi-floor-life .osi-worker .osi-agent-body,#osiLab .osi-floor-life .osi-worker .osi-agent-head{fill:none;stroke:#8ca5b7;stroke-width:1.05;stroke-linecap:round;stroke-linejoin:round}
#osiLab .osi-floor-life .osi-worker{opacity:0;filter:blur(.18px)}
#osiLab .osi-floor-life .osi-worker[data-lane="1"]{filter:blur(.35px)}
:root[data-theme=light] #osiLab .osi-floor-life .osi-worker .osi-agent-body,:root[data-theme=light] #osiLab .osi-floor-life .osi-worker .osi-agent-head{stroke:#42596c}
#osiLab .osi-floor.osi-unused-layer .osi-floor-life{display:none}

#osiLab .osi-elevator-side{fill:var(--side-face);stroke:var(--tower);stroke-width:1.2}
#osiLab .osi-elevator-cap{fill:var(--roof-face);stroke:var(--tower-ink);stroke-width:1;opacity:.95}
#osiLab .osi-elevator-cap-edge{fill:var(--side-face);stroke:var(--tower);stroke-width:.8}
#osiLab .osi-roof{position:relative;overflow:visible;isolation:isolate;box-shadow:0 4px 7px #0003}
#osiLab .osi-roof::before{content:'';position:absolute;left:0;right:0;top:-7px;height:6px;transform:skewX(-45deg);transform-origin:bottom left;background:var(--roof-face);border:1px solid var(--tower);z-index:-1}
#osiLab .osi-roof::after{content:'';position:absolute;right:-8px;top:-4px;bottom:3px;width:7px;transform:skewY(-45deg);background:var(--side-face);border:1px solid var(--tower);z-index:-1}

#osiLab .osi-metro-return,#osiLab .osi-station-return{display:none}
#osiLab.osi-duplex-final .osi-metro-return,#osiLab.osi-duplex-final .osi-station-return{display:inline}
#osiLab.osi-duplex-final .osi-metro-train:not(.osi-metro-return){transform:translate(155px,-2px) scale(-.9,.55)}
#osiLab.osi-duplex-final .osi-metro-train.osi-metro-return{transform:translate(8px,14px) scale(.9,.55)}
#osiLab.osi-duplex-final .osi-rx .osi-metro-train:not(.osi-metro-return){transform:translate(8px,-2px) scale(.9,.55)}
#osiLab.osi-duplex-final .osi-rx .osi-metro-train.osi-metro-return{transform:translate(155px,14px) scale(-.9,.55)}
#osiLab.osi-duplex-final .osi-station-tram:not(.osi-station-return){transform:translate(100px,10px) scale(-1,.62)}
#osiLab.osi-duplex-final .osi-station-tram.osi-station-return{transform:translate(0,35px) scale(1,.62)}
#osiLab.osi-duplex-final .osi-rx .osi-station-tram:not(.osi-station-return){transform:translate(0,10px) scale(1,.62)}
#osiLab.osi-duplex-final .osi-rx .osi-station-tram.osi-station-return{transform:translate(100px,35px) scale(-1,.62)}

#osiLab .osi-floor-life .osi-resident .osi-agent-body,#osiLab .osi-floor-life .osi-resident .osi-agent-head{fill:none;stroke:#8ca5b7;stroke-width:1.15;stroke-linecap:round;stroke-linejoin:round}
#osiLab .osi-floor-life .osi-resident{opacity:.8}
:root[data-theme=light] #osiLab .osi-floor-life .osi-resident .osi-agent-body,:root[data-theme=light] #osiLab .osi-floor-life .osi-resident .osi-agent-head{stroke:#42596c}

/* Activity is driven by frame processing, not decorative wall-clock loops. */
#osiLab .osi-floor-life *,#osiLab .osi-window-life,#osiLab .osi-window-screen{animation:none!important}

#osiLab .osi-peer-space>.osi-ports-open{position:absolute;transform:translateX(-50%);z-index:14;min-height:20px;height:20px;padding:0 7px;font:650 11px/18px 'Segoe UI',sans-serif;pointer-events:auto}
#osiLab .osi-layer-divider[data-osi-divider="3"],#osiLab .osi-bus-lower-divider{border-top:1px solid #479ed4;opacity:.9}

/* Room fronts meet the building's right-hand arris. */
#osiLab .osi-building{padding-right:0}
#osiLab .osi-floor{width:calc(100% + 2px)}

#osiLab .osi-shaft-open-space{fill:var(--panel);stroke:none}
#osiLab .osi-shaft-gap-wall{fill:var(--side-face);stroke:var(--tower);stroke-width:1.1}
#osiLab .osi-ip-corner-seal{fill:none;stroke:var(--tower);stroke-width:1.5;stroke-linejoin:miter}

#osiLab .osi-roof>strong{font-size:15px;line-height:20px;font-weight:800}
@media(max-height:820px){#osiLab .osi-roof>strong{font-size:13px;line-height:18px}}

#osiLab .osi-wall-tag text{font:italic 800 10px/1 'Trebuchet MS','Segoe UI',sans-serif;fill:#b6ed83;stroke:#102431;stroke-width:.6;paint-order:stroke fill;letter-spacing:.2px}
#osiLab .osi-wall-tag path{fill:none;stroke:#b6ed83;stroke-width:1.2;stroke-linecap:round}
#osiLab .osi-rx .osi-wall-tag text{fill:#ffd28c;stroke:#2e193c}
#osiLab .osi-rx .osi-wall-tag path{stroke:#ffd28c}
:root[data-theme=light] #osiLab .osi-wall-tag text{fill:#325626;stroke:#e9f3df}
:root[data-theme=light] #osiLab .osi-wall-tag path{stroke:#325626}
:root[data-theme=light] #osiLab .osi-rx .osi-wall-tag text{fill:#743b19;stroke:#f9e7da}
:root[data-theme=light] #osiLab .osi-rx .osi-wall-tag path{stroke:#743b19}
#osiLab .osi-bus-masonry{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none;z-index:1}
#osiLab .osi-bus-masonry[hidden]{display:none}
#osiLab .osi-bus-floor-plane{fill:color-mix(in srgb,var(--tower-ink) 24%,var(--tower-floor));stroke:var(--tower);stroke-width:1}
#osiLab .osi-wall-tag text{font:italic 900 11px 'Segoe Print','Trebuchet MS',sans-serif;stroke-width:1.8;stroke-linejoin:round;paint-order:stroke fill}
#osiLab .osi-wall-tag .osi-tag-splash{fill:#101924;stroke:none;opacity:.3}
#osiLab .osi-wall-tag .osi-tag-underline{stroke-width:1.5}
#osiLab .osi-wall-tag .osi-tag-speck{fill:#b6ed83}
#osiLab .osi-rx .osi-wall-tag .osi-tag-speck{fill:#ffd28c}
#osiLab .osi-serial-bus{z-index:3}
#osiLab .osi-floor{z-index:4}
#osiLab .osi-shaft-gap-wall{fill:var(--side-face);fill-opacity:1;opacity:1}
#osiLab .osi-bus-wall-thickness,#osiLab .osi-pillar-front{fill:var(--roof-face);stroke:var(--tower);stroke-width:1;opacity:1}
#osiLab .osi-pillar-side{fill:var(--side-face);stroke:var(--tower);stroke-width:1}
#osiLab .osi-pillar-cap{fill:var(--roof-face);stroke:var(--tower-ink);stroke-width:.8}
#osiLab .osi-mac-mii-connection{z-index:5}
#osiLab[data-stage="2"] .osi-building{background:linear-gradient(to bottom,transparent 0 var(--osi-lower-floor-top),var(--tower-floor) var(--osi-lower-floor-top));border-image:linear-gradient(to bottom,transparent 0 var(--osi-lower-floor-top),var(--tower) var(--osi-lower-floor-top)) 1}

#osiLab[data-stage="2"] .osi-building{border-image:none;border-color:transparent}
#osiLab .osi-retained-ceiling{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none;z-index:2}
#osiLab .osi-retained-ceiling[hidden]{display:none}
#osiLab .osi-shaft-partition .osi-pillar-front{fill:var(--roof-face);stroke:var(--tower-ink);stroke-width:1.1}
#osiLab .osi-pipe{height:calc(100% - 6px);border-radius:50% / 7px;background:linear-gradient(90deg,#1b303e,#395767 30%,#466574 49%,#304c5c 76%,#1a303e);box-shadow:2px 1px 3px #0003}
#osiLab .osi-pipe::before,#osiLab .osi-pipe::after{left:-1px;right:-1px;height:11px;border:1px solid #698494;border-radius:50%;clip-path:none}
#osiLab .osi-pipe::before{top:-1px;background:#3b5969;z-index:1}
#osiLab .osi-pipe::after{bottom:-1px;background:#263f4e}
#osiLab .osi-bus-tube-label{z-index:2}

#osiLab .osi-pipe{align-self:flex-start}
#osiLab .osi-cantilever-notch{display:none}

#osiLab .osi-pipe{position:absolute;left:50%;top:0;transform:translateX(-50%);align-self:auto}
#osiLab .osi-pipe{top:calc(-1 * var(--tower-rise));height:calc(100% + var(--tower-rise) - 6px)}
#osiLab[data-stage="2"] .osi-shaft{clip-path:inset(calc(var(--osi-lower-floor-top) - 5px) 0 0 0)}
#osiLab .osi-left-spine{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none;z-index:1}
#osiLab .osi-left-spine .osi-pillar-front{fill:var(--roof-face);stroke:var(--tower-ink);stroke-width:1.1}

#osiLab .osi-recess-front{fill:var(--roof-face);stroke:var(--tower-ink);stroke-width:1.1}
#osiLab .osi-bus-tube-label{inset:auto 0 auto;top:var(--osi-bus-label-top);height:20px;transform:translateY(-50%)}
#osiLab .osi-floor-slab{stroke-width:1.1;stroke-linejoin:miter}

#osiLab .osi-center-frontier .osi-boundary-pointer{stroke-dasharray:none;stroke-width:1.2}
#osiLab .osi-boundary-anchor{fill:#dcad4b;stroke:none}

#osiLab .osi-center-frontier .osi-boundary-contact{stroke-dasharray:none}

#osiLab .osi-foundation,#osiLab .osi-wall-floor-joint{fill:none;stroke:var(--tower);stroke-width:1.2;stroke-linejoin:miter}
#osiLab .osi-recess-solid .osi-recess-wall{fill:var(--side-face);fill-opacity:1;stroke:var(--tower-ink);stroke-width:1.1}
#osiLab .osi-recess-edge{fill:none;stroke:var(--tower-ink);stroke-width:1.1}
