#studio-pro{padding:0!important;border:1px solid #303a49!important;border-radius:10px;width:min(1800px,98vw);max-width:98vw;height:96dvh;max-height:96dvh;margin:auto;overflow:hidden!important;background:#0b1018!important;color:#e4edf8!important;color-scheme:dark;box-shadow:0 25px 100px #0009}#studio-pro::backdrop{background:#030711c9;backdrop-filter:blur(8px)}body.sp-open{overflow:hidden}.sp-root{--sp-line:#293345;--sp-muted:#91a3ba;font-family:inherit;background:#0b1018!important;color:#e4edf8!important;height:100%;display:flex;flex-direction:column;position:relative}.sp-root *{box-sizing:border-box}.sp-root [hidden]{display:none!important}.sp-root button{font:inherit;font-size:11px;min-height:32px;padding:7px 9px;border:1px solid #33425a!important;border-radius:5px;background:#172335!important;color:#e5edf9!important;cursor:pointer;box-shadow:none;white-space:normal}.sp-root button:hover{background:#253951!important}.sp-root button:disabled{opacity:.32;cursor:default}.sp-root button:focus-visible,.sp-root input:focus-visible,.sp-root select:focus-visible,.sp-canvas:focus-visible{outline:2px solid #83b2ff;outline-offset:-2px}.sp-header{height:52px;min-height:52px;display:flex;align-items:center;gap:16px;padding:0 10px 0 18px;background:#111823!important;border-bottom:1px solid var(--sp-line)}.sp-wordmark{font-size:15px;letter-spacing:.04em;white-space:nowrap;color:#f2f6ff}.sp-wordmark b{font-size:11px;color:#81b9ff;font-weight:600;margin-left:3px}.sp-header-note{font-size:10px;color:var(--sp-muted)}.sp-history{display:flex;margin-left:12px}.sp-header-actions{display:flex;margin-left:auto}.sp-root .sp-icon{width:44px;height:44px;min-width:44px;min-height:44px;padding:12px!important;display:inline-flex;align-items:center;justify-content:center;border:0!important;background:transparent!important;border-radius:6px}.sp-root .sp-icon:hover{background:#24364c!important}.sp-icon svg{width:19px;height:19px;display:block;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.sp-toolbar{height:45px;min-height:45px;display:flex;align-items:center;padding:0 10px;background:#101721;border-bottom:1px solid var(--sp-line);gap:10px}.sp-toolbar>div{display:flex;align-items:center}.sp-toolbar>div+div{border-left:1px solid #293345;padding-left:10px}.sp-count{margin-left:auto;font-size:10px;color:#9eafc4;white-space:nowrap}.sp-workspace{display:grid;grid-template-columns:208px minmax(0,1fr);flex:1;min-height:0;overflow:hidden}.sp-controls{padding:0 12px 14px;background:#111823!important;border-right:1px solid var(--sp-line);min-height:0;overflow:auto}.sp-tabs{display:flex;margin:0 -12px 16px;border-bottom:1px solid var(--sp-line);position:sticky;top:0;background:#111823;z-index:2}.sp-tabs button{flex:1;border:0!important;border-radius:0!important;height:39px;font-size:11px}.sp-tabs button[aria-pressed=true]{color:#8fc6ff!important;border-bottom:2px solid #6aa4ff!important;background:#1a283a!important}.sp-root h2{font-size:12px;margin:0 0 14px;color:#e9f2ff!important;font-weight:600}.sp-root h2 small{float:right;color:#92a7c1;font-size:10px}.sp-root label{display:block;font-size:10px;color:#97acc4!important;margin-bottom:9px}.sp-root input[type=number],.sp-root select{display:block;width:100%;margin-top:5px;padding:6px 7px;background:#0b111a!important;border:1px solid #334158!important;border-radius:4px;color:#edf4fe!important;font:inherit;font-size:11px;min-width:0;height:31px}.sp-root select{appearance:auto}.sp-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 7px}.sp-fields label:first-child:last-child{grid-column:1/-1}.sp-root .sp-check{display:flex;align-items:center;gap:7px;line-height:1.5;font-size:10px}.sp-check input{accent-color:#458aff;margin:0}.sp-apply{width:100%;margin:4px 0 8px}.sp-buttons{display:flex;gap:6px;flex-wrap:wrap}.sp-buttons button{flex:1 1 70px}.sp-row-tools{margin-top:8px}.sp-row-tools button{flex-basis:70px}.sp-root .sp-muted{font-size:10px;color:#8da2bd!important;line-height:1.7;margin:9px 0}.sp-position-details,.sp-help{border-top:1px solid var(--sp-line);margin-top:15px;padding-top:12px}.sp-root summary{font-size:10px;cursor:pointer;color:#a7bdd7;margin-bottom:10px}.sp-help p{font-size:10px;color:#8fa6c1;line-height:1.9}.sp-help{margin-top:20px}.sp-editor{min-width:0;min-height:0;display:flex;flex-direction:column}.sp-split{display:grid;grid-template-columns:1fr 1fr;flex:1;min-height:0}.sp-pane{min-width:0;min-height:0;display:flex;flex-direction:column;background:#0b1018!important;overflow:hidden}.sp-pane+.sp-pane{border-left:1px solid var(--sp-line)}.sp-pane>header{height:35px;min-height:35px;padding:0 12px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #202d40;font-size:9px;color:#768da8;background:#0d1520}.sp-pane>header b{color:#c0d1e8;font-weight:500;margin-left:6px}.sp-pane>header>span:last-child{font-size:9px;color:#728aa7}.sp-canvas{position:relative;flex:1;min-height:0;overflow:hidden;touch-action:none;outline:none}.sp-canvas svg{width:100%;height:100%;display:block;user-select:none}.sp-canvas [data-pro-rack]{cursor:grab}.sp-canvas [data-pro-rack]:active{cursor:grabbing}.sp-canvas.sp-panning,.sp-canvas.sp-panning *{cursor:grabbing!important}.sp-native3d{flex:1;min-height:0;position:relative;overflow:hidden;background:#080b10!important}.sp-native3d canvas{width:100%!important;height:100%!important;display:block;outline:none;touch-action:none}.sp-3d-unavailable{font-size:12px;line-height:1.8;color:#9eafc5;padding:22px}.sp-statusbar{height:34px;min-height:34px;display:flex;align-items:center;gap:12px;padding:0 12px;border-top:1px solid var(--sp-line);background:#111b29;color:#9eb6d2;font-size:10px}.sp-statusbar p{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1;margin:0}.sp-statusbar>span{white-space:nowrap;color:#7497bf;font-size:9px}.sp-summary{position:absolute;z-index:5;right:10px;top:100px;bottom:45px;width:280px;max-width:calc(100% - 24px);overflow:auto;padding:18px;background:#142031f5!important;border:1px solid #344761;border-radius:8px;box-shadow:0 10px 40px #0007}.sp-summary-heading{display:flex;justify-content:space-between;align-items:center}.sp-summary-heading>button{width:32px;min-height:32px;font-size:17px}.sp-total small{display:block;font-size:10px;color:#9bb0ca}.sp-total strong{display:block;color:#f1f6ff;font-size:24px;margin-top:7px}.sp-price-note{color:#f3c98b!important;font-size:11px}.sp-price-lines{list-style:none;margin:14px 0;padding:0;max-height:42vh;overflow:auto}.sp-price-lines li{border-top:1px solid #304158;padding:9px 0;font-size:11px}.sp-price-lines button{border:0!important;padding:0!important;background:transparent!important;text-align:left;min-height:0;width:100%;font-size:11px}.sp-price-lines small{display:block;font-size:9px;color:#8ea8c8;margin:5px 0}.sp-price-lines span{font-size:11px;color:#bdd6f6}.sp-summary>.sp-buttons button{min-height:40px}@media(max-width:800px){#studio-pro{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;border:0!important;border-radius:0}.sp-workspace{grid-template-columns:155px minmax(0,1fr)}.sp-controls{padding:0 9px 12px}.sp-tabs{margin-left:-9px;margin-right:-9px}.sp-split{grid-template-columns:1fr;grid-template-rows:minmax(0,1fr) minmax(0,1fr)}.sp-pane+.sp-pane{border-left:0;border-top:1px solid var(--sp-line)}.sp-header{height:48px;min-height:48px;padding-left:12px;gap:8px}.sp-header-note{display:none}.sp-history{margin-left:auto}.sp-header-actions{margin-left:0}.sp-toolbar{padding:0 4px;gap:0;overflow:auto;scrollbar-width:none}.sp-toolbar>div+div{padding-left:2px;margin-left:2px}.sp-toolbar .sp-icon{width:38px;min-width:38px;padding:10px!important}.sp-count{display:none}.sp-fields{grid-template-columns:1fr 1fr;gap:0 5px}.sp-root input[type=number],.sp-root select{font-size:11px;padding:5px;height:32px}.sp-root label{font-size:9px}.sp-root button{font-size:10px}.sp-root .sp-check{font-size:9px}.sp-controls h2{font-size:11px}.sp-statusbar{padding:0 7px;font-size:9px;height:33px;min-height:33px}.sp-statusbar>span{display:none}.sp-summary{top:97px;bottom:38px}.sp-pane>header{height:28px;min-height:28px;padding:0 8px}.sp-wordmark{font-size:12px}.sp-wordmark b{font-size:9px}.sp-header .sp-icon{width:38px;min-width:38px;height:44px}.sp-help p{font-size:9px}.sp-row-tools button{flex-basis:50px}}@media(max-width:400px){.sp-workspace{grid-template-columns:133px minmax(0,1fr)}.sp-header .sp-history{display:none}.sp-toolbar .sp-icon{width:36px;min-width:36px}.sp-controls{padding-left:7px;padding-right:7px}.sp-tabs{margin-left:-7px;margin-right:-7px}.sp-tabs button{font-size:9px;padding:5px}.sp-pane>header>span:last-child{font-size:8px}.sp-position-details .sp-fields{grid-template-columns:1fr}}
#rack-studio[data-studio-mode="pro"]{background:#080b10!important;color:#e8edf5!important;color-scheme:dark}#rack-studio[data-studio-mode="pro"] .rs-panel{background:#121b29f5!important;color:#e8edf5!important;border-color:#33445c!important}#rack-studio[data-studio-mode="pro"] .rs-panel h2,#rack-studio[data-studio-mode="pro"] .rs-panel label,#rack-studio[data-studio-mode="pro"] .rs-room-label,#rack-studio[data-studio-mode="pro"] .rs-selected,#rack-studio[data-studio-mode="pro"] .rs-note{color:#d5e5fa!important}#rack-studio[data-studio-mode="pro"] input,#rack-studio[data-studio-mode="pro"] select,#rack-studio[data-studio-mode="pro"] .rs-panel button{background:#172538!important;color:#e8edf5!important;border-color:#3b506c!important}#rack-studio[data-studio-mode="pro"] .rs-orb-label{color:#d8e9ff!important}#rack-studio[data-studio-mode="pro"] .rs-orb-face{background:#152337!important;color:#e8f3ff!important;border-color:#375574!important}
.sp-root [data-pro="inspector"],.sp-root .sp-mobile-history{display:none}.sp-toolbar .sp-icon{min-width:44px;width:44px;height:44px}.sp-header .sp-icon{min-width:44px;width:44px}@media(max-width:600px){.sp-workspace{grid-template-columns:minmax(0,1fr)}.sp-controls{position:absolute;left:0;top:97px;bottom:34px;width:190px;z-index:4;display:none;border-right:1px solid #3b506d;box-shadow:10px 0 30px #0007;padding:0 12px 14px}.sp-root.sp-inspector-open .sp-controls{display:block}.sp-root [data-pro="inspector"]{display:inline-flex}.sp-history{display:none}.sp-root .sp-mobile-history{display:flex}.sp-toolbar .sp-icon{width:44px;min-width:44px;padding:12px!important}.sp-toolbar>div{flex-shrink:0}.sp-header .sp-icon{width:44px;min-width:44px}.sp-header-actions{gap:0}.sp-header{gap:0}.sp-wordmark{font-size:12px}.sp-wordmark b{font-size:9px}.sp-tabs{margin-left:-12px;margin-right:-12px}.sp-root .sp-controls label{font-size:10px}.sp-root .sp-controls .sp-check{font-size:10px}}
dialog#studio-pro:not([open]){display:none!important}
/* Small screens keep tools reachable while the inspector scrolls independently. */
@media (max-width:800px), (max-height:500px) and (pointer:coarse) {
 #studio-pro{height:var(--sp-viewport-height,100dvh);max-height:var(--sp-viewport-height,100dvh)}
 .sp-root{min-width:0;min-height:0;padding-bottom:env(safe-area-inset-bottom)}
 .sp-header{height:calc(48px + env(safe-area-inset-top));min-height:calc(48px + env(safe-area-inset-top));padding-top:env(safe-area-inset-top);padding-left:max(8px,env(safe-area-inset-left));padding-right:max(8px,env(safe-area-inset-right));flex-shrink:0}
 .sp-wordmark{min-width:0;overflow-wrap:anywhere;white-space:normal;line-height:1.25}
 .sp-header-actions{flex:none;margin-left:auto}
 .sp-toolbar{height:48px;min-height:48px;flex-shrink:0;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;padding-left:max(4px,env(safe-area-inset-left));padding-right:max(4px,env(safe-area-inset-right))}
 .sp-toolbar>div{flex-shrink:0}
 .sp-root button{min-height:44px;overflow-wrap:anywhere}
 .sp-root .sp-icon{width:44px;min-width:44px;height:44px;min-height:44px;flex:none}
 .sp-tabs button{height:auto;min-height:44px;min-width:0;line-height:1.3;padding:8px 4px}
 .sp-root input[type=number],.sp-root select{height:44px;min-height:44px;font-size:16px;max-width:100%}
 .sp-root label,.sp-root h2,.sp-root summary{overflow-wrap:anywhere}
 .sp-root summary{min-height:44px;display:flex;align-items:center;line-height:1.4}
 .sp-root .sp-check{min-height:44px;cursor:pointer}
 .sp-check input{flex:none;width:20px;height:20px}
 .sp-controls{overscroll-behavior-y:contain;scroll-padding-block:48px 20px;padding-bottom:max(20px,env(safe-area-inset-bottom))}
 .sp-controls section{min-width:0}
 .sp-fields{grid-template-columns:minmax(0,1fr)}
 .sp-buttons>*{min-width:0}
 .sp-pane>header{gap:8px;min-width:0}
 .sp-pane>header>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 .sp-summary{top:calc(100px + env(safe-area-inset-top));bottom:calc(38px + env(safe-area-inset-bottom));overscroll-behavior-y:contain;scroll-padding-block:10px 20px}
 .sp-summary-heading{gap:8px;position:sticky;top:-18px;background:#142031;z-index:1}
 .sp-summary-heading>button{width:44px;min-width:44px;min-height:44px}
 .sp-price-lines button{min-height:44px}
 .sp-summary>.sp-buttons button{min-height:44px}
}
@media(max-width:600px){
 .sp-controls{top:calc(96px + env(safe-area-inset-top));bottom:calc(34px + env(safe-area-inset-bottom));width:min(190px,calc(100% - 52px));max-width:100%}
 .sp-workspace{grid-template-columns:minmax(0,1fr)}
}
@media(max-height:400px) and (pointer:coarse){.sp-pane>header{height:24px;min-height:24px}.sp-statusbar{height:28px;min-height:28px}.sp-controls{bottom:calc(28px + env(safe-area-inset-bottom))}}
/* The dialog is also .sp-root: override its generic relative positioning on phones. */
@media(max-width:800px), (pointer:coarse){
 dialog#studio-pro.sp-root{position:fixed!important;inset:0!important;top:0!important;left:0!important;right:0!important;bottom:0!important;margin:0!important;width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:none!important;min-height:0!important;padding:0!important;border:0!important;border-radius:0!important;box-sizing:border-box;display:flex;flex-direction:column;overflow:hidden!important;overscroll-behavior:none;background:#080b10!important;transform:none!important}
 dialog#studio-pro::backdrop{background:#080b10;backdrop-filter:none}
 dialog#studio-pro.sp-root[data-keyboard-open="true"]{height:var(--sp-viewport-height,100dvh)!important}
 #studio-pro .sp-header{flex:0 0 calc(48px + env(safe-area-inset-top));height:calc(48px + env(safe-area-inset-top));min-height:calc(48px + env(safe-area-inset-top));padding-top:env(safe-area-inset-top)}
 #studio-pro .sp-toolbar{flex:0 0 48px;height:48px;min-height:48px}
 #studio-pro .sp-workspace{flex:1 1 0;height:0;min-height:0;min-width:0;overflow:hidden;grid-template-columns:minmax(0,1fr)}
 #studio-pro .sp-editor{height:100%;min-height:0;min-width:0;overflow:hidden;display:flex;flex-direction:column}
 #studio-pro .sp-split{flex:1 1 0;height:0;min-height:0;min-width:0;overflow:hidden;grid-template-columns:minmax(0,1fr);grid-template-rows:repeat(2,minmax(0,1fr))}
 #studio-pro .sp-pane{min-height:0;min-width:0;overflow:hidden}
 #studio-pro .sp-pane>header{flex:0 0 28px;height:28px;min-height:28px}
 #studio-pro .sp-canvas,#studio-pro .sp-native3d{flex:1 1 0;height:0;min-height:0;min-width:0;overflow:hidden}
 #studio-pro .sp-statusbar{flex:0 0 calc(44px + env(safe-area-inset-bottom));height:calc(44px + env(safe-area-inset-bottom));min-height:calc(44px + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom);box-sizing:border-box;overflow:hidden}
 #studio-pro .sp-controls{position:absolute;top:calc(96px + env(safe-area-inset-top));bottom:calc(44px + env(safe-area-inset-bottom));left:0;width:min(190px,calc(100% - 52px));max-width:100%;display:none;overflow-y:auto;overflow-x:hidden;overscroll-behavior-y:contain}
 #studio-pro.sp-inspector-open .sp-controls{display:block}
 #studio-pro [data-pro="inspector"]{display:inline-flex}
 #studio-pro .sp-history{display:none}
 #studio-pro .sp-mobile-history{display:flex}
 #studio-pro .sp-summary{top:calc(96px + env(safe-area-inset-top));bottom:calc(44px + env(safe-area-inset-bottom));overflow-y:auto}
}

#studio-pro.sp-root{position:fixed!important;inset:0}
/* Selected-rack connection actions stay in the editor without opening the inspector. */
#studio-pro .sp-connection-context{flex:0 0 auto;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:4px 8px;min-width:0;padding:6px 10px;border-bottom:1px solid #293345;background:#101a28;color:#b7c9df}
#studio-pro [data-pro-connection-label]{min-width:0;font-size:11px;line-height:1.4;overflow-wrap:anywhere}
#studio-pro .sp-connection-segment{display:flex;align-items:center;gap:0;min-width:0;flex:none}
#studio-pro .sp-connection-segment button{min-width:56px;min-height:44px;height:44px;margin:0;padding:5px 8px;line-height:1.25;border-radius:0;font-size:11px;white-space:normal;overflow-wrap:anywhere}
#studio-pro .sp-connection-segment button:first-child{border-radius:5px 0 0 5px}
#studio-pro .sp-connection-segment button:last-child{border-radius:0 5px 5px 0}
#studio-pro .sp-connection-segment button+button{margin-left:-1px}
#studio-pro .sp-connection-segment button[aria-pressed="true"]{position:relative;background:#244e7a!important;color:#e9f5ff!important;border-color:#6dacf0!important}
#studio-pro .sp-connection-segment [data-pro="connection-cancel"]{min-width:44px;margin-left:6px;border-radius:5px}
#studio-pro [data-pro-connection-note]{grid-column:1/-1;margin:0;min-width:0;font-size:10px;line-height:1.5;color:#92abc7;overflow-wrap:anywhere}
#studio-pro [data-pro-connection-note]:empty{display:none}
#studio-pro.sp-connection-pending .sp-connection-context{border-bottom-color:#6dacf0}
#studio-pro .sp-connection-source{filter:drop-shadow(0 0 2px #75baff)}
#studio-pro .sp-connection-target{filter:drop-shadow(0 0 3px #64d8b1);cursor:pointer}
@media(max-width:600px){#studio-pro .sp-connection-context{padding:6px 8px;gap:4px 6px}#studio-pro [data-pro-connection-label]{font-size:10px}#studio-pro .sp-connection-segment button{min-width:52px;padding:5px 6px}#studio-pro .sp-connection-segment [data-pro="connection-cancel"]{min-width:44px}}
/* Mobile uses the same light surfaces regardless of the device appearance setting.
   The camera/video layers are deliberately excluded. Desktop Pro stays dark. */
@media(max-width:800px), (pointer:coarse){
 #studio-pro,dialog#studio-pro.sp-root,#studio-pro .sp-root,#studio-pro .sp-header,#studio-pro .sp-toolbar,#studio-pro .sp-controls,#studio-pro .sp-tabs,#studio-pro .sp-pane,#studio-pro .sp-pane>header,#studio-pro .sp-native3d,#studio-pro .sp-statusbar,#studio-pro .sp-summary,#studio-pro .sp-summary-heading,#studio-pro .sp-connection-context{background:#fff!important;color:#151b29!important;border-color:#dce3eb!important;color-scheme:only light}
 dialog#studio-pro::backdrop{background:#fff}
 #studio-pro{--sp-line:#dce3eb;--sp-muted:#526174;box-shadow:none}
 #studio-pro .sp-controls,#studio-pro .sp-summary{box-shadow:0 8px 30px #23394f14}
 #studio-pro button,#studio-pro input[type=number],#studio-pro select{background:#fff!important;color:#151b29!important;border-color:#dce3eb!important;color-scheme:only light}
 #studio-pro button:hover,#studio-pro .sp-icon:hover{background:#f0f5ff!important}
 #studio-pro .sp-icon{background:transparent!important}
 #studio-pro .sp-tabs button[aria-pressed=true],#studio-pro .sp-connection-segment button[aria-pressed=true]{background:#edf3ff!important;color:#0044fb!important;border-color:#0044fb!important}
 #studio-pro h2,#studio-pro label,#studio-pro .sp-wordmark,#studio-pro .sp-total strong,#studio-pro .sp-pane>header b,#studio-pro .sp-price-lines span{color:#151b29!important}
 #studio-pro .sp-wordmark b{color:#0044fb}
 #studio-pro .sp-muted,#studio-pro h2 small,#studio-pro summary,#studio-pro .sp-help p,#studio-pro .sp-count,#studio-pro .sp-pane>header>span,#studio-pro .sp-statusbar>span,#studio-pro .sp-total small,#studio-pro .sp-price-lines small,#studio-pro [data-pro-connection-note],#studio-pro .sp-3d-unavailable{color:#526174!important}
 #studio-pro .sp-price-note{color:#79551b!important}
 #studio-pro .sp-toolbar>div+div,#studio-pro .sp-price-lines li{border-color:#dce3eb}
 #studio-pro .sp-canvas{background:#fff}
 #studio-pro .sp-canvas svg pattern path{stroke:#dce3eb}
 #studio-pro .sp-canvas svg>rect{stroke:#8998aa}
 #studio-pro .sp-canvas svg>text{fill:#526174}
 #studio-pro .sp-canvas [data-pro-rack]>rect{fill:#f0f4f9;stroke:#758ca7}
 #studio-pro .sp-canvas [data-pro-rack]>rect[fill="#1b4e8a"]{fill:#e1ecff;stroke:#0044fb}
 #studio-pro .sp-canvas .sp-connection-source>rect{fill:#fff3d9;stroke:#9a6b18}
 #studio-pro .sp-canvas .sp-connection-target>rect{fill:#e3f6ef;stroke:#188368}
 #studio-pro .sp-canvas [data-pro-rack]>text{fill:#151b29}
 #studio-pro .sp-canvas [data-pro-rack]>path{stroke:#93a6bc}
 #rack-studio[data-studio-mode="pro"]{color:#151b29!important;color-scheme:only light}
 #rack-studio[data-studio-mode="pro"][data-mode="3d"]{background:#fff!important}
 #rack-studio[data-studio-mode="pro"] .rs-panel{background:#fff!important;color:#151b29!important;border-color:#dce3eb!important}
 #rack-studio[data-studio-mode="pro"] .rs-panel h2,#rack-studio[data-studio-mode="pro"] .rs-panel label,#rack-studio[data-studio-mode="pro"] .rs-room-label,#rack-studio[data-studio-mode="pro"] .rs-selected,#rack-studio[data-studio-mode="pro"] .rs-note,#rack-studio[data-studio-mode="pro"] .rs-orb-label{color:#151b29!important}
 #rack-studio[data-studio-mode="pro"] input,#rack-studio[data-studio-mode="pro"] select,#rack-studio[data-studio-mode="pro"] .rs-panel button,#rack-studio[data-studio-mode="pro"] .rs-orb-face{background:#fff!important;color:#151b29!important;border-color:#dce3eb!important}
}
/* Quick product choices stay outside the scrolling toolbar. */
#studio-pro .sp-family-toggle,#studio-pro .sp-ar-button{min-height:44px;padding:7px 10px;white-space:nowrap;flex:none}
#studio-pro .sp-ar-button{font-size:11px;margin:0 2px}
#studio-pro .sp-family-menu{position:absolute;z-index:9;left:12px;top:100px;width:260px;max-width:calc(100% - 24px);padding:8px;display:grid;grid-template-columns:1fr;gap:4px;background:#111823;border:1px solid #33425a;border-radius:8px;box-shadow:0 12px 35px #0004}
#studio-pro .sp-family-menu button{display:flex;align-items:center;gap:10px;min-height:48px;text-align:left;padding:7px 10px}
#studio-pro .sp-family-menu img{width:32px;height:32px;object-fit:contain;background:#fff;border-radius:4px;flex:none}
#studio-pro .sp-family-menu button[aria-pressed=true]{border-color:#6aa4ff!important;background:#1a3557!important;color:#b6d9ff!important}
@media(max-width:800px), (pointer:coarse){
 #studio-pro .sp-family-menu{top:calc(100px + env(safe-area-inset-top));background:#fff;border-color:#dce3eb;box-shadow:0 8px 30px #23394f24;max-height:calc(100dvh - 170px);overflow:auto}
 #studio-pro .sp-family-menu button[aria-pressed=true]{background:#edf3ff!important;color:#0044fb!important;border-color:#0044fb!important}
 #studio-pro .sp-ar-button{padding:6px;font-size:10px;margin:0 1px}
}

#studio-pro .sp-toolbar{overflow:hidden}
#studio-pro .sp-main-tools{flex:none;gap:2px}
#studio-pro .sp-family-toggle{display:grid;align-content:center;justify-items:start;row-gap:1px;min-width:108px;padding:3px 8px;line-height:1.2}
#studio-pro .sp-family-toggle span{font-size:10px}
#studio-pro .sp-family-toggle strong{font-size:12px;font-weight:600}
#studio-pro .sp-family-toggle[aria-expanded=true]{border-color:#6aa4ff!important}
#studio-pro .sp-toolbar-tools{display:flex;min-width:0;flex:1 1 auto;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;overscroll-behavior-x:contain}
#studio-pro .sp-toolbar-tools>div{display:flex;flex:none;align-items:center}
#studio-pro .sp-toolbar-tools>.sp-mobile-history{display:none}
#studio-pro .sp-statusbar p{white-space:normal;line-height:1.35;overflow-wrap:anywhere}
@media(max-width:800px), (pointer:coarse){
 #studio-pro .sp-toolbar-tools>.sp-mobile-history{display:flex}
 #studio-pro .sp-family-menu{max-height:calc(var(--sp-viewport-height,100dvh) - 108px - env(safe-area-inset-top) - env(safe-area-inset-bottom))}
 #studio-pro .sp-family-toggle strong{font-size:13px}
 #studio-pro .sp-statusbar p{font-size:11px}
}

#studio-pro .sp-plan-pane{position:relative}
#studio-pro .sp-plan-actions-wrap{position:absolute;z-index:2;bottom:6px;left:50%;transform:translateX(-50%);width:max-content;max-width:calc(100% - 12px);background:#111823;border:1px solid var(--sp-line);border-radius:6px}
#studio-pro .sp-plan-selection{display:block;padding:5px 7px 1px;font-size:12px;color:inherit;overflow-wrap:anywhere}
#studio-pro .sp-plan-actions{display:flex;gap:2px;overflow-x:auto;padding:2px;scrollbar-width:none}
#studio-pro .sp-plan-actions button{min-height:36px;white-space:nowrap;flex:none}
@media(max-width:800px),(pointer:coarse){
 #studio-pro .sp-plan-actions-wrap{bottom:4px;background:#fff}
 #studio-pro .sp-plan-actions button{min-height:44px;padding-inline:6px}
}
