/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-border-style:solid;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer theme{:host,:root{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--spacing:.25rem;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,::backdrop,:after,:before{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}:host,html{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}menu,ol,ul{list-style:none}audio,canvas,embed,iframe,img,object,svg,video{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,optgroup,select,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit,::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.invisible{visibility:hidden}.visible{visibility:visible}.fixed{position:fixed}.start{inset-inline-start:var(--spacing)}.end{inset-inline-end:var(--spacing)}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:48rem){.container{max-width:48rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:96rem){.container{max-width:96rem}}.contents{display:contents}.inline-flex{display:inline-flex}.table{display:table}.resize{resize:both}.border{border-style:var(--tw-border-style);border-width:1px}.ordinal{--tw-ordinal:ordinal;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}}:root{--ink:#17202b;--muted:#89939f;--line:#e9edf2;--orange:#ff6b2c;--bg:#fafbfc}*{box-sizing:border-box}body{background:var(--bg);color:var(--ink);margin:0;font-family:Inter,SF Pro Display,PingFang SC,Microsoft YaHei,Arial,sans-serif}button{font:inherit;color:inherit}button:focus-visible{outline-offset:2px;outline:3px solid #ffb18d}.shell{background:#fff;grid-template-columns:220px minmax(620px,1fr) 310px;max-width:1600px;min-height:100vh;margin:auto;display:grid}.sidebar{border-right:1px solid var(--line);flex-direction:column;height:100vh;padding:30px 20px 22px;display:flex;position:sticky;top:0}.brand{align-items:center;gap:12px;padding:0 8px 30px;display:flex}.brand>b,.mi-logo{background:var(--orange);color:#fff;border-radius:12px;place-items:center;width:38px;height:38px;font-size:15px;display:grid;box-shadow:0 8px 20px #ff6b2c35}.brand small,.brand strong,.mode small,.mode strong,.profile small,.profile strong{display:block}.brand small,.mode small,.profile small{color:#9aa2ae;margin-top:3px;font-size:10px}.sidebar nav{gap:6px;display:grid}.settings,.sidebar nav button{text-align:left;color:#75808e;cursor:pointer;background:0 0;border:0;border-radius:10px;padding:11px 14px;font-size:13px;font-weight:600}.sidebar nav button.active{color:#ee5d23;background:#fff2ec}.sidebar nav i{width:27px;font-size:18px;font-style:normal;display:inline-grid}.sidefoot{margin-top:auto}.mode{text-align:left;cursor:pointer;background:#f7f8fa;border:0;border-radius:12px;gap:10px;width:100%;margin-bottom:12px;padding:13px 11px;transition:background .18s;display:flex}.mode:hover{background:#edf0f4}.mode span{background:#f2a43c;border-radius:50%;width:8px;height:8px;margin-top:4px;box-shadow:0 0 0 4px #f2a43c18}.mode strong{font-size:11px}.settings{width:100%;margin:5px 0 13px}.profile{border-top:1px solid var(--line);grid-template-columns:34px 1fr auto;align-items:center;gap:10px;padding:18px 6px 0;display:grid}.profile>b{color:#fff;background:#232932;border-radius:50%;place-items:center;width:34px;height:34px;display:grid}.profile strong{font-size:11px}.profile i{color:#a7afb9;font-style:normal}.workspace{background:#fafbfc;min-width:0;padding:31px 30px 60px}.workspace>header{justify-content:space-between;align-items:center;margin-bottom:28px;display:flex}.workspace header p{color:#8c95a1;margin:0 0 5px;font-size:11px}.workspace header h1{margin:0;font-size:25px}.actions{gap:8px;display:flex}.actions button{border:1px solid var(--line);cursor:pointer;background:#fff;border-radius:9px;height:36px;padding:0 12px}.actions button:not(.primary){width:36px;padding:0}.actions .primary{background:var(--orange);color:#fff;border:0;font-size:11px;font-weight:700;box-shadow:0 5px 14px #ff6b2c25}.metrics{grid-template-columns:repeat(4,1fr);gap:12px;display:grid}.metrics article{border:1px solid var(--line);background:#fff;border-radius:14px;gap:12px;padding:17px;display:flex}.metrics article>span{border-radius:10px;flex:none;place-items:center;width:34px;height:34px;display:grid}.orange{color:#f16a35;background:#fff0e9}.blue{color:#3d91e5;background:#ebf5ff}.green{color:#23a871;background:#e9f8f3}.violet{color:#785eea;background:#f1edff}.cyan{color:#21a6a0;background:#e8f8f7}.slate{color:#546173;background:#edf0f4}.indigo{color:#5c6ed3;background:#edf0ff}.metrics small{color:#8e97a3;font-size:9px;display:block}.metrics strong{margin:3px 0;font-size:21px;display:block}.metrics em{font-size:11px;font-style:normal}.metrics p{color:#9ba4af;margin:0;font-size:8px}.title{justify-content:space-between;align-items:flex-end;margin:25px 0 12px;display:flex}.title h2{margin:0 0 3px;font-size:15px}.title p{color:#9aa2ad;margin:0;font-size:9px}.title button{color:var(--orange);cursor:pointer;background:0 0;border:0;font-size:9px}.scenes{grid-template-columns:repeat(4,1fr);gap:12px;display:grid}.scenes>button{border:1px solid var(--line);text-align:left;cursor:pointer;background:#fff;border-radius:13px;grid-template-columns:34px 1fr auto;align-items:center;gap:9px;padding:14px 12px;transition:all .18s;display:grid}.devices article:hover,.scenes>button:hover{transform:translateY(-2px);box-shadow:0 9px 25px #1d28330d}.scenes span{border-radius:11px;place-items:center;width:34px;height:34px;display:grid}.scenes small,.scenes strong{display:block}.scenes strong{font-size:11px}.scenes small{color:#9aa2ad;white-space:nowrap;margin-top:3px;font-size:7.5px}.scenes b{color:#b1b8c1;font-weight:400}.rooms{border-bottom:1px solid var(--line);gap:18px;margin-bottom:12px;display:flex}.rooms button{color:#9aa2ad;cursor:pointer;background:0 0;border:0;border-bottom:2px solid #0000;padding:7px 1px;font-size:9px}.rooms button.active{color:#f3652d;border-color:#f3652d;font-weight:700}.devices{grid-template-columns:repeat(3,1fr);gap:12px;display:grid}.devices article{border:1px solid var(--line);background:#fff;border-radius:14px;padding:15px;transition:all .18s}.device-top{justify-content:space-between;display:flex}.device-top>span{border-radius:11px;place-items:center;width:35px;height:35px;display:grid}.switch{cursor:pointer;background:#dce1e6;border:0;border-radius:20px;width:31px;height:18px;padding:2px}.switch i{background:#fff;border-radius:50%;width:14px;height:14px;transition:all .2s;display:block;box-shadow:0 1px 4px #0002}.switch.on{background:var(--orange)}.switch.on i{transform:translate(13px)}.devices h3{margin:13px 0 4px;font-size:11px}.devices article>p{color:#9ca4af;margin:0 0 12px;font-size:8px}.detail{color:#7e8996;border-top:1px solid #f0f2f5;justify-content:space-between;padding-top:10px;font-size:8px;display:flex}.detail b{font-size:13px}.rightbar{border-left:1px solid var(--line);padding:31px 22px}.api{background:linear-gradient(140deg,#fff7f2,#fff);border:1px solid #ffe0d1;border-radius:15px;padding:16px}.api-title{align-items:center;gap:10px;display:flex}.api-title>span{background:var(--orange);color:#fff;border-radius:10px;place-items:center;width:32px;height:32px;display:grid}.api-title small,.api-title strong{display:block}.api-title strong{font-size:11px}.api-title small{color:#a0a7b0;font-size:8px}.api p{color:#848d99;margin:13px 0;font-size:8px;line-height:1.7}.api>button{background:var(--orange);color:#fff;text-align:left;cursor:pointer;border:0;border-radius:9px;width:100%;padding:10px 12px;font-size:9px;font-weight:700}.api>button b{float:right}.timeline{gap:17px;display:grid}.activity{grid-template-columns:31px 1fr;gap:11px;display:grid;position:relative}.activity:not(:last-child):after{content:"";background:#edf0f3;width:1px;height:28px;position:absolute;top:35px;left:15px}.activity>span{border-radius:50%;place-items:center;width:31px;height:31px;font-size:12px;display:grid}.activity strong{margin:1px 0 3px;font-size:9px;display:block}.activity p,.activity small{color:#9ba3ad;margin:0;font-size:7.5px}.activity small{color:#b2b8c0;margin-top:4px;display:block}.all{border:1px solid var(--line);color:#7f8995;background:#fff;border-radius:9px;width:100%;margin:18px 0 20px;padding:9px;font-size:8px}.home-status{border-top:1px solid var(--line);padding-top:18px}.home-status>div{justify-content:space-between;font-size:10px;display:flex}.home-status>div span{color:#2aac73;font-size:8px}.home-status section{text-align:center;grid-template-columns:repeat(3,1fr);margin-top:15px;display:grid}.home-status section>span{color:#7b8693;border-right:1px solid var(--line);font-size:15px}.home-status section>span:last-child{border:0}.home-status b,.home-status small{display:block}.home-status b{color:#26303b;margin:4px 0;font-size:14px}.home-status small{color:#a0a8b2;font-size:7px}.toast{color:#fff;background:#202832;border-radius:12px;padding:12px 18px;font-size:12px;position:fixed;bottom:28px;left:50%;transform:translate(-50%);box-shadow:0 14px 35px #0003}.panel{border:1px solid var(--line);background:#fff;border-radius:18px;min-height:520px;padding:25px}.panel-title{align-items:center;gap:13px;margin-bottom:25px;display:flex}.panel-title>span{width:42px;height:42px;color:var(--orange);background:#fff0e8;border-radius:12px;place-items:center;display:grid}.panel-title h2{margin:0 0 5px;font-size:20px}.panel-title p{color:#8d97a3;margin:0;font-size:11px}.panel-grid{grid-template-columns:repeat(2,1fr);gap:14px;display:grid}.panel-grid button{border:1px solid var(--line);text-align:left;background:#fafbfc;border-radius:15px;padding:25px}.panel-grid small,.panel-grid strong{margin-top:10px;display:block}.panel-grid small{color:#929ca8}.rule{border:1px solid var(--line);border-radius:13px;grid-template-columns:1fr auto 1fr auto 1fr auto;align-items:center;gap:12px;margin-bottom:12px;padding:18px;font-size:11px;display:grid}.rule b{color:#a0a8b2}.rule i{color:#24a66d;background:#eaf8f2;border-radius:20px;padding:6px 9px;font-style:normal}.chart{border-bottom:1px solid var(--line);align-items:flex-end;gap:5%;height:270px;padding:20px 5% 0;display:flex}.chart i{background:linear-gradient(#ff9a6a,var(--orange));border-radius:8px 8px 0 0;width:9%}.labels{color:#929ca8;justify-content:space-around;padding:12px 3%;font-size:9px;display:flex}.modal-bg{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:30;background:#17202b80;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.modal{background:#fff;border-radius:20px;width:min(420px,100%);padding:28px;position:relative;box-shadow:0 25px 80px #0003}.modal .close{color:#9aa2ad;background:0 0;border:0;font-size:24px;position:absolute;top:14px;right:16px}.modal h2{margin:18px 0 8px}.modal>p{color:#737e8b;font-size:12px;line-height:1.7}.auth-note{background:#f7f8fa;border-radius:12px;gap:6px;margin:18px 0;padding:14px;display:grid}.auth-note b{color:#7a8490;font-size:10px}.auth-note code{color:#4b5662;font-size:10px}.modal .disabled{color:#89939e;background:#e9edf1;border:0;border-radius:10px;width:100%;padding:12px}.modal>small{text-align:center;color:#9da6b0;margin-top:12px;font-size:9px;display:block}.site-footer{text-align:center;margin-top:40px;padding:18px 0 6px}.site-footer a{color:var(--muted);font-size:11px;text-decoration:none;transition:color .18s}.site-footer a:hover{color:var(--orange);text-decoration:underline}@media (max-width:1100px){.shell{grid-template-columns:190px 1fr}.rightbar{display:none}.metrics{grid-template-columns:repeat(2,1fr)}}@media (max-width:760px){.shell{display:block}.sidebar{z-index:10;border:0;border-top:1px solid var(--line);width:100%;height:64px;padding:7px 12px;position:fixed;top:auto;bottom:0}.brand,.sidefoot{display:none}.sidebar nav{grid-template-columns:repeat(5,1fr)}.sidebar nav button{text-align:center;padding:7px 2px;font-size:9px}.sidebar nav i{width:auto;display:block}.workspace{padding:20px 16px 90px}.actions button:not(.primary){display:none}.devices,.metrics,.scenes{grid-template-columns:repeat(2,1fr)}.panel-grid,.rule{grid-template-columns:1fr}.rule b{display:none}}@media (max-width:440px){.devices,.metrics{grid-template-columns:1fr}.scenes small{white-space:normal}}.ai-shell .workspace{background:#fafbfc}.ai-layout{grid-template-columns:minmax(0,1fr) 290px}.ai-layout,.ai-stack{gap:12px;display:grid}.ai-card{border:1px solid var(--line);background:#fff;border-radius:14px;padding:16px}.ai-card h2{margin:0 0 6px;font-size:15px}.ai-card p{color:#8c95a1;margin:0;font-size:12px;line-height:1.6}.ai-form,.ai-form-grid{gap:12px;display:grid}.ai-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ai-field{gap:6px;display:grid}.ai-field.full{grid-column:1/-1}.ai-field label{color:#404857;font-size:12px;font-weight:600}.ai-input,.ai-select,.ai-textarea{width:100%;color:var(--ink);font:inherit;background:#fff;border:1px solid #dbe1e7;border-radius:11px;padding:11px 12px;transition:border-color .15s,box-shadow .15s}.ai-input:focus-visible,.ai-select:focus-visible,.ai-textarea:focus-visible{border-color:#ffb18d;outline:none;box-shadow:0 0 0 3px #fff2ec}.ai-textarea{resize:vertical;min-height:92px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.ai-help{color:#8e97a3;font-size:11px;line-height:1.5}.ai-action-row{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.ai-button,.ai-button-secondary{cursor:pointer;border:0;border-radius:10px;height:38px;padding:0 14px;font-size:12px;font-weight:700}.ai-button{background:var(--orange);color:#fff;box-shadow:0 5px 14px #ff6b2c25}.ai-button:disabled{opacity:.7;cursor:not-allowed}.ai-button-secondary{color:#47505b;background:#fff;border:1px solid #dbe1e7}.ai-chip{color:#ee5d23;background:#fff2ec;border-radius:999px;align-items:center;gap:6px;padding:6px 10px;font-size:11px;font-weight:700;display:inline-flex}.ai-status{gap:8px;display:grid}.ai-status-row{justify-content:space-between;align-items:flex-start;gap:10px;display:flex}.ai-status-row strong{font-size:12px;display:block}.ai-status-row small{color:#8e97a3;margin-top:2px;font-size:11px;display:block}.ai-token{gap:8px;display:grid}.ai-token input,.ai-token textarea{font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.ai-token-output{word-break:break-all;resize:none;background:#fff;border:1px solid #dbe1e7;border-radius:11px;width:100%;min-height:120px;padding:11px 12px}.ai-suggestion-list{gap:10px;display:grid}.ai-suggestion{background:#fafbfc;border:1px solid #edf1f5;border-radius:12px;align-items:flex-start;gap:10px;padding:12px;display:flex}.ai-suggestion span{color:#ee5d23;background:#fff2ec;border-radius:9px;flex:none;place-items:center;width:28px;height:28px;display:grid}.ai-suggestion strong{font-size:12px;display:block}.ai-suggestion p{color:#8e97a3;margin:2px 0 0;font-size:11px;line-height:1.5}@media (max-width:980px){.ai-layout{grid-template-columns:1fr}}.settings-tabs{border-bottom:1px solid var(--line);gap:8px;margin-bottom:16px;padding-bottom:10px;display:flex}.settings-tab{color:#75808e;cursor:pointer;background:0 0;border:0;border-radius:9px;align-items:center;gap:6px;padding:7px 12px;font-size:12px;font-weight:600;transition:all .18s;display:inline-flex}.settings-tab.active{color:#ee5d23;background:#fff2ec}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}.mode.connected span{background:#2db273;box-shadow:0 0 0 4px #2db27318}.api.cloud-live{background:linear-gradient(140deg,#effaf6,#fff);border-color:#caeedf}.cloud-modal{width:min(420px,100%)}.region-picker{display:flex;align-items:center;justify-content:space-between;margin:17px 0 12px;font-size:11px;color:#66717d}.region-picker select{border:1px solid #e7ebef;border-radius:8px;background:#fff;padding:7px 10px;color:#35404c;font-size:11px}.qr-box{width:230px;height:230px;margin:12px auto;border:1px solid #edf0f3;border-radius:16px;background:#fafbfc;display:grid;place-items:center;overflow:hidden}.qr-box img{width:210px;height:210px;object-fit:contain}.qr-error,.qr-loading{display:grid;justify-items:center;gap:12px;text-align:center;padding:18px}.qr-loading>span{width:33px;height:33px;border:3px solid #ffe1d2;border-top-color:#ff6b2c;border-radius:50%;animation:mi-spin .8s linear infinite}.qr-error strong,.qr-loading small{font-size:11px;color:#76818d;font-weight:500}.qr-error button{border:0;background:#ff6b2c;color:#fff;border-radius:8px;padding:8px 13px;font-size:10px;cursor:pointer}.scan-tip{color:#77818c!important}.qr-countdown,.scan-tip{text-align:center!important;font-size:11px!important;margin:0 0 7px!important}.qr-countdown{font-variant-numeric:tabular-nums;color:#51606f!important}.qr-countdown.expiring{color:#eb6336!important;font-weight:600}.actions button:disabled,.api>button:disabled{opacity:.7;cursor:wait}.qr-link{display:block;text-align:center;font-size:10px;color:#f36b34;text-decoration:none;margin:9px 0}.security-note{font-size:9px;color:#88929d;background:#f7f8fa;border-radius:9px;padding:10px 12px;margin-top:14px;text-align:center}.connected-info{display:flex;align-items:center;gap:12px;background:#effaf5;border-radius:12px;padding:15px;margin:18px 0}.connected-info>span{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:#d7f3e4;color:#25a469}.connected-info small,.connected-info strong{display:block}.connected-info strong{font-size:11px}.connected-info small{font-size:9px;color:#7f8b94;margin-top:4px}.logout{width:100%;border:1px solid #f0d8d0;border-radius:9px;padding:10px;background:#fff;color:#cb5530;font-size:11px;cursor:pointer}.empty-state{padding:40px;text-align:center;background:#fff;border:1px solid #e9edf2;border-radius:12px}.empty-state strong{font-size:13px}.empty-state p{font-size:10px;color:#89939f}.home-tabs{display:flex;gap:10px;margin:14px 0 18px;overflow-x:auto}.home-tabs>button{min-width:154px;border:1px solid #e7ebef;background:#fff;border-radius:12px;padding:12px;text-align:left;cursor:pointer}.home-tabs>button.active{border-color:#ff9d75;background:#fff5ef}.home-tabs>button>span{float:left;margin-right:9px;font-size:17px;color:#f16a35}.home-tabs small,.home-tabs strong{display:block}.home-tabs strong{font-size:11px}.home-tabs small{font-size:9px;color:#89939f;margin-top:3px}.room-group{margin:16px 0 22px}.room-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:11px}.room-heading strong{font-size:12px}.room-heading span{font-size:9px;color:#89939f}.device-card{cursor:pointer}.device-card.offline{opacity:.68}.device-top .readonly-badge{width:auto;height:auto;padding:4px 7px;background:#f2f4f6;color:#7f8995;border-radius:7px;font-size:8px}.switch:disabled{opacity:.55;cursor:not-allowed}.child-devices{display:grid;gap:5px;border-top:1px solid #f0f2f5;margin-top:9px;padding-top:8px}.child-devices button{border:0;background:#f6f8fa;border-radius:7px;padding:7px;text-align:left;font-size:8px;cursor:pointer}.child-devices button>span{margin-right:6px}.child-devices button>small{float:right;color:#89939f}.device-modal{width:min(470px,100%)}.device-modal-head{display:flex;gap:13px;align-items:center;padding-right:25px}.device-modal-head>span{width:45px;height:45px;border-radius:13px;display:grid;place-items:center;font-size:19px}.device-modal-head h2{font-size:16px;margin:0 0 4px}.device-modal-head p{font-size:10px;color:#89939f;margin:0}.device-identity{display:grid;gap:10px;background:#f7f8fa;border-radius:11px;padding:13px;margin:18px 0}.device-identity>div{display:flex;justify-content:space-between;gap:12px}.device-identity small{font-size:10px;color:#89939f}.device-identity strong{font-size:10px;overflow-wrap:anywhere;text-align:right}.settings-heading{display:flex;justify-content:space-between;margin-bottom:10px}.settings-heading strong{font-size:12px}.settings-heading span{font-size:10px;color:#89939f}.setting-list{display:grid;gap:8px}.setting-row{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:10px;border:1px solid #edf0f3;border-radius:9px}.setting-label small,.setting-label strong{display:block}.setting-label strong{font-size:10px}.setting-label small{font-size:8px;color:#9aa2ad;margin-top:3px}.setting-action{border:0;background:#ff6b2c;color:#fff;border-radius:7px;padding:7px 10px;font-size:9px}.setting-row select{border:1px solid #e7ebef;background:#fff;border-radius:7px;padding:5px;font-size:9px}.range-control{display:grid;justify-items:end;gap:4px}.range-control input{accent-color:#ff6b2c;width:120px}.range-control small{font-size:9px;color:#64707d}.capability-note,.readonly-note{font-size:9px!important;color:#89939f!important;line-height:1.65!important}.readonly-note{padding:12px;background:#f7f8fa;border-radius:9px}.capability-note{margin:12px 0 0!important}.device-modal{max-height:min(82vh,820px);overflow-y:auto;overscroll-behavior:contain}.spec-groups{display:grid;gap:9px}.spec-group{border:1px solid #edf0f3;border-radius:11px;overflow:hidden}.spec-group>summary{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:11px 12px;cursor:pointer;list-style:none;background:#fbfcfd}.spec-group>summary::-webkit-details-marker{display:none}.spec-group>summary strong{font-size:10px}.spec-group>summary small{font-size:8px;color:#89939f}.spec-group[open]>summary{border-bottom:1px solid #edf0f3}.spec-capability-section{display:grid;gap:7px;padding:9px}.spec-capability-section+.spec-capability-section{border-top:1px solid #edf0f3}.spec-capability-section>header{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 2px}.spec-capability-section>header strong{font-size:9px;color:#56626f}.spec-capability-section>header small{font-size:8px;color:#929ca8}.spec-capability-section.actions{background:#fffaf7}.spec-capability-section.readonly{background:#f8fafc}.spec-readonly{display:grid;gap:7px;padding:2px}.spec-readonly>div{display:flex;justify-content:space-between;gap:12px;font-size:9px}.spec-readonly>div>span{color:#84909c}.spec-readonly>div>strong{max-width:60%;text-align:right;overflow-wrap:anywhere}.spec-events{display:grid;gap:7px;padding:9px 11px;background:#f8fafc;border-top:1px solid #edf0f3}.spec-events>div{display:flex;justify-content:space-between;gap:10px;font-size:9px}.spec-events>div>span{color:#526170}.spec-events>div>small{font-size:8px;color:#929ca8}.spec-events>p{font-size:8px;line-height:1.6;color:#87919d;margin:3px 0 0}.spec-loading{display:flex;align-items:center;gap:9px;border:1px solid #edf0f3;border-radius:9px;padding:13px;font-size:10px;color:#74808d}.spec-loading>span{width:14px;height:14px;border:2px solid #ffe1d2;border-top-color:#ff6b2c;border-radius:50%;animation:mi-spin .8s linear infinite}.spec-warning{font-size:9px;color:#ad724f;line-height:1.6;margin:10px 0 0}.setting-row.with-inputs{align-items:flex-start}.action-control,.text-control{display:flex;align-items:center;gap:6px}.action-control input,.text-control input{width:120px;border:1px solid #e7ebef;border-radius:7px;background:#fff;padding:6px;font-size:9px}.setting-action:disabled{opacity:.6;cursor:not-allowed}.topology-toolbar{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:0 0 14px}.topology-toolbar>small{font-size:8px;color:#89939f}.device-view-switch{display:flex;gap:3px;padding:3px;background:#f0f2f5;border-radius:10px}.device-view-switch>button{border:0;background:transparent;border-radius:8px;padding:7px 10px;font-size:9px;color:#77818d;cursor:pointer}.device-view-switch>button.active{background:#fff;color:#e9632e;box-shadow:0 1px 4px #27313d12}.device-title-row{display:flex;align-items:center;gap:5px;flex-wrap:wrap}.device-title-row h3{margin-right:auto}.topology-badge{border-radius:20px;padding:3px 6px;font-size:7px;white-space:nowrap}.source-role.primary,.topology-badge.primary{background:#fff0e8;color:#e76836}.source-role.secondary,.topology-badge.secondary,.topology-badge.secondary-panel{background:#eef2ff;color:#6664bd}.devices article.primary-device{border-color:#ffd9c6}.devices article.secondary-panel{border-color:#e0e1fa}.topology-tree{display:grid;gap:6px;border-top:1px solid #f0f2f5;padding-top:9px;margin-top:9px}.topology-tree-label{font-size:8px;color:#89939f}.topology-tree>button{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:5px;border:0;border-left:2px solid #f3cab8;background:#faf8f7;border-radius:0 7px 7px 0;padding:7px 6px;text-align:left;cursor:pointer}.topology-tree>button>.tree-channel{font-size:7px;color:#e76b37}.topology-tree>button>strong{font-size:8px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.topology-tree>button>small{font-size:7px;color:#87919c}.secondary-panel .topology-tree>button{border-left-color:#c5c7f5;background:#f8f8fe}.secondary-panel .topology-tree>button>.tree-channel{color:#6562bf}.parent-link{display:flex;align-items:center;gap:5px;border-top:1px solid #f0f2f5;padding-top:8px;margin-top:8px;font-size:8px}.parent-link>span{color:#e76b37}.parent-link>strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.parent-link>small{margin-left:auto;color:#87919c}.unresolved-topology{border-top:1px solid #f0f2f5;margin-top:8px;padding-top:8px;font-size:8px;line-height:1.6;color:#828a9c}.control-sources{display:grid;gap:6px;border-top:1px solid #f0f2f5;margin-top:9px;padding-top:9px}.control-sources>small{font-size:8px;color:#89939f}.control-sources>div{display:flex;align-items:center;gap:5px}.source-role{border-radius:12px;padding:2px 5px;font-size:7px}.control-sources>div>strong{font-size:8px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.control-sources>div>small{margin-left:auto;font-size:7px;color:#87919c}.modal-topology{background:#faf9f7;border:1px solid #f1e8e3;border-radius:11px;padding:11px;margin:-6px 0 15px}.modal-topology>div:first-child{display:flex;align-items:center;justify-content:space-between}.modal-topology>div:first-child>strong{font-size:10px}.modal-topology>p{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin:9px 0 0}.modal-topology>p>b{font-size:9px}.modal-topology>p>span{color:#df733f}.modal-topology>.control-sources{border-color:#eee6df}.focused-group{border-color:#ffb797}.channel-role{margin-left:7px;border-radius:12px;background:#eef2ff;padding:3px 6px;font-size:7px;font-weight:400;color:#6664bd}.channel-targets{display:grid;gap:6px;padding:9px 11px;background:#fffaf7}.channel-targets>span{font-size:8px;color:#87919c}.channel-targets>strong{display:flex;justify-content:space-between;font-size:9px}.channel-targets>strong>small{font-size:8px;font-weight:400;color:#87919c}@media(max-width:760px){.topology-toolbar{align-items:flex-start;flex-direction:column}.topology-toolbar>small{display:none}}.topology-summary{display:flex;flex-wrap:wrap;gap:7px;margin:-4px 0 14px}.topology-summary>span{border:1px solid #edf0f3;border-radius:18px;background:#fff;padding:5px 9px;font-size:8px;color:#75808c}.topology-summary>span>b{margin-right:3px;color:#35414e}.topology-summary>.fanout-summary{border-color:#e1ddfb;background:#f8f7ff;color:#6664bd}.topology-summary>.fanout-summary>b{color:#6664bd}.topology-channel{display:grid;gap:5px;padding:8px;background:#faf8f7;border-left:2px solid #f0c5b1;border-radius:0 8px 8px 0}.topology-channel.secondary{border-left-color:#c5c7f5;background:#f8f8fe}.channel-heading{display:flex;justify-content:space-between;align-items:center;gap:6px}.channel-heading>span{font-size:8px;font-weight:650;color:#e76b37}.topology-channel.secondary .channel-heading>span{color:#6562bf}.channel-heading>small{border-radius:10px;background:#fff;padding:2px 5px;font-size:7px;color:#75808c}.channel-target-row{display:flex;align-items:center;gap:5px;border:0;background:transparent;padding:4px 0;text-align:left;cursor:pointer}.target-branch{flex:none;font-size:10px;color:#a7aeb7}.source-channel,.source-identity,.target-identity{display:grid;gap:2px;min-width:0}.target-identity{flex:1}.source-channel>strong,.source-identity>strong,.target-identity>strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:8px}.source-channel>small,.source-identity>small,.target-identity>small{font-size:7px;color:#87919c}.target-controller-count{flex:none;border-radius:10px;background:#eaf6f0;padding:3px 5px;font-size:7px;color:#28865c}.control-sources>.control-source-row{display:flex;align-items:center;gap:6px;width:100%;border:0;border-radius:8px;background:#f8f9fb;padding:7px;text-align:left;cursor:pointer}.control-source-row:disabled{cursor:default}.source-identity{flex:1}.source-channel{justify-items:end}.source-channel>small{color:#6664bd}.modal-topology>.control-sources{margin-top:10px}.modal-topology .control-source-row{background:#fff}@media(max-width:760px){.topology-summary{gap:5px}.topology-summary>span{padding:4px 7px}}.topology-badge.controlled-load{background:#eaf8f2;color:#22865d}.topology-badge.mixed{background:#fff4df;color:#a97418}.channel-role.unknown,.source-role.unknown,.topology-badge.unknown{background:#f0f2f4;color:#707b87}.channel-role.wired{background:#fff0e8;color:#db683b}.channel-role.wireless{background:#eef2ff;color:#6664bd}.source-role.wired{background:#fff0e8;color:#df6637}.source-role.wireless{background:#eef2ff;color:#6260bd}.topology-channel.wired{border-left-color:#f0b79e}.topology-channel.wireless{border-left-color:#c2c5f4}.topology-channel.mixed{border-left-color:#d9c38a}.topology-summary .wired-summary b{color:#e26c3e}.topology-summary .wireless-summary b{color:#6563bf}.binding-count{width:auto!important;height:auto!important;border-radius:9px!important;background:#eef5ff!important;color:#447ac2!important;font-size:8px;padding:5px 7px}.card-binding-summary{display:flex;align-items:center;gap:7px;border-top:1px solid #f0f2f5;margin-top:9px;padding-top:8px}.card-binding-summary>span{font-size:8px;color:#6b7682}.card-binding-summary>small{margin-left:auto;font-size:7px;color:#89939f}.virtual-device-card{background:linear-gradient(145deg,#fff,#fbfcff);border-style:dashed}.virtual-device-card:hover{border-style:solid}.virtual-badge{width:auto!important;height:auto!important;border-radius:9px!important;background:#f0f2ff!important;color:#6260b9!important;font-size:8px;padding:5px 7px}.binding-modal{width:min(470px,100%)}.binding-selector-title{display:flex;justify-content:space-between;align-items:center;margin:19px 0 8px}.binding-selector-title>strong{font-size:11px}.binding-selector-title>small{font-size:8px;color:#89939f}.binding-modal>.control-sources{border-top:0;margin-top:0;padding-top:3px;gap:8px}.binding-modal .control-source-row{padding:10px}.concrete-sections{display:grid;gap:15px}.concrete-sections>section{display:grid;gap:7px}.concrete-section-label{font-size:8px;color:#89939f}.concrete-device-list{display:grid;gap:8px}.concrete-device-card{display:grid;grid-template-columns:38px minmax(0,1fr) auto auto;align-items:center;gap:10px;width:100%;border:1px solid #e8ecf1;border-radius:12px;background:#fff;padding:10px;text-align:left;cursor:pointer}.concrete-device-card:hover:not(:disabled){border-color:#ffb998;box-shadow:0 5px 15px #3c485510}.concrete-device-card:disabled{cursor:default;opacity:.7}.concrete-device-card>span{width:38px;height:38px;border-radius:10px;display:grid;place-items:center;font-size:15px}.concrete-device-card>div{display:grid;gap:4px;min-width:0}.concrete-device-card>div>strong{font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.concrete-device-card>div>small{font-size:8px;color:#89939f;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.concrete-device-card>em,.plain-load-name>em{border-radius:12px;background:#f4f6f8;padding:4px 7px;font-size:7px;font-style:normal;color:#66717d;white-space:nowrap}.concrete-device-card>b{font-size:16px;color:#a3abb4}.plain-load-name{display:flex;align-items:center;gap:9px;border-left:2px solid #efc4b1;background:#faf8f7;border-radius:0 10px 10px 0;padding:10px}.plain-load-name>span{color:#d9784d}.plain-load-name>div{display:grid;gap:3px;min-width:0;flex:1}.plain-load-name strong{font-size:9px}.plain-load-name small{font-size:8px;color:#89939f}.plain-load-name>em{background:#fff1e9;color:#d56b3e}.unresolved-binding{display:grid;gap:5px;border:1px dashed #e3e7ec;border-radius:11px;background:#fafbfc;padding:13px}.unresolved-binding>strong{font-size:9px;color:#596571}.unresolved-binding>small{font-size:8px;line-height:1.6;color:#89939f}.modal-control-tree{margin:0 0 15px}.modal-control-tree>.topology-tree{margin-top:0;padding:10px;border:1px solid #edf0f3;border-radius:10px}@media(max-width:520px){.concrete-device-card{grid-template-columns:34px minmax(0,1fr) auto}.concrete-device-card>span{width:34px;height:34px}.concrete-device-card>b{display:none}}.associated-device-ids{display:grid;gap:5px;margin-top:10px}.associated-device-ids>button{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:7px;width:100%;border:1px solid #edf0f3;border-radius:8px;background:#f8fafc;padding:6px 7px;text-align:left;cursor:pointer}.associated-device-ids>button:hover{border-color:#ffb998;background:#fff8f4}.associated-device-ids span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:8px;color:#5f6b77}.associated-device-ids code{max-width:125px;overflow:hidden;text-overflow:ellipsis;font:7px/1.4 ui-monospace,SFMono-Regular,Menlo,monospace;color:#7d8792}.associated-device-ids b{font-size:12px;color:#a3abb4}.switch-binding-panel{display:grid;gap:9px;border:1px solid #e8edf2;border-radius:13px;background:#fbfcfd;padding:13px;margin:0 0 17px}.switch-binding-panel.writable{border-color:#ffdcca;background:#fffaf7}.binding-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.binding-panel-heading>div{display:grid;gap:3px;min-width:0}.binding-panel-heading>div>strong{font-size:11px}.binding-panel-heading>div>small{font-size:8px;color:#89939f;overflow-wrap:anywhere}.binding-panel-heading>span{flex:none;border-radius:12px;background:#eef2f6;padding:4px 7px;font-size:8px;color:#667380}.switch-binding-panel.writable .binding-panel-heading>span{background:#eaf7ef;color:#268257}.switch-binding-panel.readonly .binding-panel-heading>span{background:#fff3df;color:#a7711a}.binding-description,.binding-limitation,.binding-target-hint{margin:0;font-size:9px;line-height:1.65;color:#73808c}.binding-limitation{color:#927052}.binding-existing,.binding-readonly{display:grid;gap:6px;border-top:1px solid #edf0f3;padding-top:9px}.binding-existing>small{font-size:8px;color:#89939f}.binding-existing>div,.binding-readonly>div{display:flex;align-items:center;gap:6px;min-width:0}.binding-existing>div>span,.binding-readonly>div>span{font-size:8px;color:#75808b}.binding-existing>div>b{font-size:9px;color:#df794b}.binding-existing>div>strong,.binding-readonly>div>strong{font-size:8px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.binding-existing>div>em{margin-left:auto;border-radius:10px;background:#fff;padding:3px 6px;font-size:7px;font-style:normal;color:#707b87}.binding-readonly>div{justify-content:space-between}.binding-editor{display:grid;gap:8px;border-top:1px solid #f0e6df;padding-top:10px}.binding-editor>label{display:grid;gap:5px}.binding-editor>label>span{font-size:9px;color:#697583}.binding-editor select{width:100%;border:1px solid #e7ebef;border-radius:8px;background:#fff;padding:8px;font-size:9px}.binding-target-hint{font-size:8px;color:#8b725f}.binding-save{justify-self:end;padding:8px 11px}.binding-pair-actions{display:flex;flex-wrap:wrap;gap:7px}.channel-targets.unbound>small{font-size:8px;color:#89939f}.channel-smart-target{display:flex;align-items:center;justify-content:space-between;gap:9px;border:0;background:transparent;padding:2px 0;text-align:left;cursor:pointer}.channel-smart-target>strong{font-size:9px;color:#e46836}.channel-smart-target>small{font-size:8px;color:#89939f}@keyframes mi-spin{to{transform:rotate(1turn)}}html{min-height:100%;-webkit-text-size-adjust:100%;text-size-adjust:100%}body{min-width:320px;font-size:15px;line-height:1.5}button,input,select{font-family:inherit}.shell{min-height:100dvh;max-width:1920px;grid-template-columns:240px minmax(0,1fr) 332px}.sidebar{padding:34px 22px 24px}.api-title strong,.brand strong,.mode strong,.profile strong{font-size:15px}.brand small,.mode small,.profile small{font-size:12px}.settings,.sidebar nav button{min-height:46px;font-size:15px}.workspace{padding:36px clamp(22px,2.5vw,44px) 72px}.workspace>header{gap:20px;margin-bottom:32px}.workspace header p{font-size:13px}.workspace header h1{font-size:clamp(28px,2.2vw,34px);line-height:1.2}.header-copy{min-width:0}.header-controls{display:flex;align-items:center;gap:12px}.home-selector{position:relative;min-width:220px}.home-selector-trigger{display:grid;width:100%;height:48px;grid-template-columns:32px minmax(0,1fr) 16px;align-items:center;gap:8px;padding:5px 10px;border:1px solid #e3e8ed;border-radius:13px;background:#fff;box-shadow:0 4px 14px rgb(30 42 54/4%);text-align:left;cursor:pointer;transition:border-color .18s,box-shadow .18s,background .18s}.home-selector-trigger:hover{border-color:#f0b69d;background:#fffdfc}.home-selector.open .home-selector-trigger{border-color:#ef8b61;box-shadow:0 0 0 3px rgb(255 107 44/10%),0 7px 20px rgb(30 42 54/7%)}.home-selector-icon{display:grid;width:32px;height:32px;place-items:center;border-radius:9px;background:#fff0e9;color:#e96634}.home-selector-copy{display:grid;min-width:0}.home-selector-copy small,.home-selector-menu small{color:#929ba6;font-size:10px;line-height:1.15}.home-selector-copy strong{overflow:hidden;color:#26313d;font-size:13px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}.home-selector-meta{padding:4px 7px;border-radius:999px;background:#f5f6f8;color:#737f8b;font-size:10px;font-weight:650;white-space:nowrap}.home-selector-trigger{grid-template-columns:32px minmax(70px,1fr) auto 14px}.home-selector-chevron{color:#9aa4ae;font-size:13px;pointer-events:none;transition:transform .18s}.home-selector.open .home-selector-chevron{transform:rotate(180deg)}.home-selector-menu{position:absolute;top:calc(100% + 8px);right:0;z-index:40;display:grid;width:max(100%,270px);gap:4px;padding:7px;border:1px solid #e5e9ed;border-radius:14px;background:rgb(255 255 255/98%);box-shadow:0 18px 50px rgb(25 35 46/16%);backdrop-filter:blur(16px)}.home-selector-menu>button{display:grid;min-width:0;grid-template-columns:32px minmax(0,1fr) auto;align-items:center;gap:9px;padding:9px;border:0;border-radius:10px;background:transparent;text-align:left;cursor:pointer}.home-selector-menu>button:hover{background:#f7f8fa}.home-selector-menu>button.selected{background:#fff3ed}.home-option-icon{display:grid;width:32px;height:32px;place-items:center;border-radius:9px;background:#f1f3f5;color:#84909c}.home-selector-menu>button.selected .home-option-icon{background:#ff6b2c;color:#fff}.home-selector-menu>button>span:nth-child(2){display:grid;min-width:0;gap:3px}.home-selector-menu strong{overflow:hidden;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.home-selector-menu em{color:#df6332;font-size:10px;font-style:normal;font-weight:700}.actions{flex:none;gap:10px}.actions button{height:44px;min-width:44px}.actions .primary{padding:0 16px;font-size:14px;white-space:nowrap}.mobile-menu-backdrop,.mobile-menu-close,.mobile-menu-toggle{display:none}.active-room-list{display:grid;gap:22px}.active-room>header{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.active-room>header strong{font-size:15px}.active-room>header span{color:#8b96a2;font-size:12px}.active-device-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,235px),1fr));gap:13px}.active-device-card{display:flex;min-width:0;align-items:center;gap:8px;padding:11px;border:1px solid #e7ebef;border-radius:15px;background:#fff;transition:transform .18s,box-shadow .18s,border-color .18s}.active-device-card:hover{transform:translateY(-2px);border-color:#f1c4b0;box-shadow:0 10px 26px rgb(29 40 51/7%)}.active-device-main{display:grid;min-width:0;flex:1;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:10px;padding:0;border:0;background:transparent;text-align:left;cursor:pointer}.active-device-main>span:first-child{display:grid;width:42px;height:42px;place-items:center;border-radius:12px;font-size:18px}.active-device-main>span:nth-child(2){min-width:0}.active-device-main small,.active-device-main strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.active-device-main strong{font-size:14px}.active-device-main small{margin-top:3px;color:#818c98;font-size:11px}.active-device-main b{color:#a8b0b9;font-weight:400}.active-device-close{min-width:50px;min-height:34px;flex:none;padding:0 9px;border:0;border-radius:9px;background:#fff0e9;color:#df6030;font-size:11px;font-weight:700;cursor:pointer}.active-device-close:disabled{background:#f1f3f5;color:#9aa3ad;cursor:not-allowed}.active-empty{display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:13px;padding:18px;border:1px dashed #dfe5ea;border-radius:15px;background:#fff}.active-empty>span{display:grid;width:44px;height:44px;place-items:center;border-radius:50%;background:#eaf8f1;color:#249862;font-weight:800}.active-empty strong{font-size:14px}.active-empty p{margin:3px 0 0;color:#7f8a96;font-size:12px}.active-empty button{min-height:36px;padding:0 12px;border:1px solid #e4e9ed;border-radius:9px;background:#fff;color:#e15f2f;font-size:12px;font-weight:700;cursor:pointer}.metrics,.scenes{gap:16px}.metrics article{min-width:0;padding:17px 15px}.metrics article>div{min-width:0}.metrics article>span{width:40px;height:40px;font-size:17px}.metrics small{font-size:13px}.metrics strong{font-size:26px;line-height:1.3}.metrics em{font-size:13px}.metrics p{font-size:11px;line-height:1.45}.title{gap:12px;margin:30px 0 15px}.title h2{font-size:19px}.title button,.title p{font-size:12px}.title button{min-height:36px;white-space:nowrap}.scene-card{min-width:0;overflow:hidden;border:1px solid var(--line);border-radius:13px;background:#fff;transition:.18s}.scene-card:hover{transform:translateY(-2px);box-shadow:0 9px 25px #1d28330d}.panel-grid .scene-card-open,.scene-card-open{width:100%;min-height:76px;display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:10px;padding:15px 12px 10px;border:0;border-radius:0;background:transparent;text-align:left;cursor:pointer}.scene-card-open>div{min-width:0}.scene-card-open>span{width:38px;height:38px;display:grid;place-items:center;border-radius:11px}.scene-card-open>b{color:#b1b8c1;font-weight:400}.panel-grid .scene-run,.scene-run{width:calc(100% - 24px);margin:0 12px 12px;padding:8px 10px;border:0;border-radius:9px;background:#fff0e9;color:#e85d26;font-size:12px;font-weight:700;text-align:center;cursor:pointer}.panel-grid .scene-card{background:#fafbfc}.panel-grid .scene-card-open small,.panel-grid .scene-card-open strong{margin-top:0}.panel-grid .scene-card-open small{margin-top:4px}.scenes strong{font-size:14px}.scenes small{font-size:11px;line-height:1.45;white-space:normal}.panel-grid .scene-run:disabled,.scene-run:disabled{cursor:not-allowed;opacity:.58;transform:none;box-shadow:none}.scene-state{margin:0 0 14px;padding:14px 16px;border:1px solid var(--line);border-radius:12px;background:#fff;color:#788391;font-size:12px}.scene-state.error{border-color:#ffd7c6;background:#fff8f4;color:#c95020}.scene-center-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:-7px 0 18px;padding:11px 13px;border-radius:11px;background:#fafbfc}.scene-center-toolbar span{color:#7d8792;font-size:11px}.scene-center-toolbar button{border:0;border-radius:9px;background:var(--orange);padding:9px 13px;color:#fff;font-size:11px;font-weight:700;cursor:pointer}.scene-center-toolbar button:disabled{cursor:not-allowed;opacity:.46}.scene-page{min-height:520px;padding:25px 28px 28px;border:1px solid var(--line);border-radius:18px;background:#fff}.scene-page-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:26px;padding-bottom:18px;border-bottom:1px solid var(--line)}.scene-page-toolbar>button{border:1px solid #e1e6ea;border-radius:9px;background:#fff;padding:9px 12px;color:#687480;font-size:10px;font-weight:700;cursor:pointer}.scene-page-toolbar>div{display:flex;gap:8px}.scene-page-toolbar .scene-modal-edit,.scene-page-toolbar .scene-modal-run{width:auto;padding:10px 15px;font-size:11px}.scene-modal{width:min(620px,100%);max-height:min(88dvh,820px);display:flex;overflow:hidden;padding:0;flex-direction:column}.scene-modal-scroll{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:28px 28px 18px}.scene-modal .close{z-index:2}.scene-modal-head{display:flex;align-items:center;gap:14px;padding-right:34px}.scene-modal-head>span{width:48px;height:48px;flex:none;display:grid;place-items:center;border-radius:14px;background:#fff0e9;color:var(--orange);font-size:20px}.scene-modal-head p,.scene-modal-head small{color:#929ca8;font-size:11px}.scene-modal-head h2,.scene-modal-head p{margin:2px 0 0}.scene-details{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:22px 0 20px}.scene-details>div{padding:13px;border-radius:11px;background:#f7f8fa}.scene-details small,.scene-details strong{display:block}.scene-details small{color:#929ca8;font-size:10px}.scene-details strong{margin-top:4px;font-size:14px}.scene-flow-section{padding:18px 0;border-top:1px solid var(--line)}.scene-flow-title,.scene-flow-title>div{display:flex;align-items:center}.scene-flow-title{justify-content:space-between;gap:12px;margin-bottom:12px}.scene-flow-title>div{gap:8px}.scene-flow-title span{border-radius:7px;background:#fff0e9;padding:4px 6px;color:#e76531;font-size:9px;font-weight:800}.scene-flow-title strong{font-size:14px}.scene-flow-title small{color:#929ca8;font-size:10px}.scene-action-list{display:grid;gap:8px}.scene-action-groups,.scene-action-rooms{display:grid;gap:16px}.scene-action-group{border:1px solid #e9edf1;border-radius:13px;background:#fafbfc;padding:12px}.scene-action-group>header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}.scene-action-group>header strong{color:#4f5b67;font-size:11px}.scene-action-group>header small{color:#929ca8;font-size:9px}.scene-action-group .scene-action-room{border-left:2px solid #ffe0d2;padding-left:10px}.scene-action-room>header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px;padding:0 2px}.scene-action-room>header strong{font-size:11px}.scene-action-room>header small{color:#929ca8;font-size:9px}.scene-action-empty{margin:9px 0 0;border-radius:9px;background:#fafbfc;padding:10px 12px;color:#8a949f;font-size:10px;line-height:1.6}.scene-action-list{margin:0;padding:0;list-style:none}.scene-action-list>li{position:relative;display:grid;grid-template-columns:30px minmax(0,1fr);gap:11px;padding-bottom:10px}.scene-action-list>li:not(:last-child):after{content:"";position:absolute;top:30px;bottom:-2px;left:14px;width:1px;background:#e5e9ee}.scene-action-list>li>span{z-index:1;width:30px;height:30px;display:grid;place-items:center;border:1px solid #ffd8c6;border-radius:50%;background:#fff8f4;color:#e76531;font-size:10px;font-weight:800}.scene-action-list>li>div{min-width:0;border:1px solid #edf0f3;border-radius:11px;padding:10px 12px}.scene-action-list small,.scene-action-list strong{display:block}.scene-action-list strong{font-size:12px}.scene-action-list small{margin-top:3px;color:#7d8792;font-size:10px}.scene-action-details{display:flex;flex-wrap:wrap;gap:7px;margin-top:9px}.scene-action-batch details{margin-top:8px;border-top:1px solid #edf0f3;padding-top:7px}.scene-action-batch summary{color:#e76531;font-size:9px;font-weight:700;cursor:pointer}.scene-action-batch details>div{display:flex;flex-wrap:wrap;gap:5px;margin-top:7px}.scene-action-batch details span{border-radius:7px;background:#f5f7f9;padding:4px 7px;color:#687480;font-size:9px}.scene-action-detail{display:inline-flex;align-items:center;gap:5px;min-height:29px;border:1px solid #e8edf1;border-radius:9px;background:#f6f8fa;padding:4px 8px 4px 5px;color:#65717d;font-style:normal}.scene-action-detail>i{width:19px;height:19px;display:grid;place-items:center;border-radius:6px;background:#fff;font-size:10px;font-style:normal}.scene-action-detail>span{font-size:8px;opacity:.78}.scene-action-detail>b{font-size:10px}.scene-action-detail.power.on{border-color:#bfe7d4;background:#ebf8f2;color:#217b55}.scene-action-detail.power.on>i{background:#d6f1e4;color:#148054}.scene-action-detail.power.off{border-color:#dde2e7;background:#f1f3f5;color:#65717b}.scene-action-detail.brightness{border-color:color-mix(in srgb,var(--scene-detail-accent,#d6a000) 55%,#d9dee3);background:linear-gradient(90deg,color-mix(in srgb,var(--scene-detail-accent,#d6a000) 26%,#fff) 0 var(--scene-detail-level,50%),#fffdf5 var(--scene-detail-level,50%) 100%);color:#655116}.scene-action-detail.brightness>i{background:color-mix(in srgb,var(--scene-detail-accent,#d6a000) 24%,#fff);color:color-mix(in srgb,var(--scene-detail-accent,#d6a000) 82%,#574916)}.scene-action-detail.color-temperature{border-color:color-mix(in srgb,var(--scene-detail-accent,#86a6bc) 52%,#d8dee3);background:linear-gradient(90deg,color-mix(in srgb,var(--scene-detail-accent,#86a6bc) 23%,#fff) 0 var(--scene-detail-level,50%),#f9fbfc var(--scene-detail-level,50%) 100%);color:#40515d}.scene-action-detail.color-temperature>i{background:var(--scene-detail-accent,#86a6bc);color:#fff}.scene-action-detail.delay{border-color:#dcd8f2;background:#f5f3ff;color:#675f99}.scene-submit-note{margin:0!important}.scene-modal-actions{display:grid;grid-template-columns:1fr 1.5fr;gap:9px;margin:0 28px 28px}.scene-modal-actions:has(.scene-modal-run:only-child){grid-template-columns:1fr}.scene-modal-edit,.scene-modal-run{width:100%;flex:none;padding:12px 14px;border-radius:10px;font-weight:700;cursor:pointer}.scene-modal-run{border:0;background:var(--orange);color:#fff}.scene-modal-edit{border:1px solid #e0e5ea;background:#fff;color:#66727e}.scene-modal-run:disabled{cursor:not-allowed;opacity:.58}.home-tabs{gap:12px;padding:2px 1px 8px;scrollbar-width:thin}.home-tabs>button{min-width:184px;padding:13px 14px}.home-tabs strong{font-size:14px}.home-tabs small{font-size:12px}.rooms{gap:22px;overflow-x:auto;scrollbar-width:thin;white-space:nowrap}.rooms button{flex:none;min-height:44px;padding:9px 2px;font-size:14px}.topology-toolbar{flex-wrap:wrap;gap:12px;margin-bottom:17px}.topology-toolbar>small{font-size:12px;line-height:1.5}.device-view-switch>button{min-height:39px;padding:8px 13px;font-size:13px;white-space:nowrap}.topology-summary>span{padding:6px 10px;font-size:12px}.room-group{margin:20px 0 28px}.room-heading strong{font-size:16px}.room-heading span{font-size:12px}.devices{grid-template-columns:repeat(auto-fit,minmax(min(100%,245px),1fr));gap:16px}.devices article{min-width:0;padding:17px}.device-top>span{width:41px;height:41px;font-size:17px}.devices h3{margin:15px 0 6px;font-size:16px;line-height:1.4}.card-binding-summary>small,.card-binding-summary>span,.detail,.devices article>p{font-size:12px}.detail{gap:8px;line-height:1.45}.binding-count,.channel-role,.source-role,.topology-badge,.virtual-badge{font-size:11px}.card-binding-summary{flex-wrap:wrap;row-gap:4px}.device-group-card{border-color:#d9e6fb!important;background:linear-gradient(150deg,#fff,#f6f9ff)!important}.device-top .group-badge{width:auto;height:auto;border-radius:9px;background:#eef4ff;padding:5px 8px;color:#476db2;font-size:11px}.device-group-label{background:#edf3ff;color:#486cb0}.device-group-members{display:grid;gap:8px;margin-top:12px}.device-group-members>button{display:grid;min-height:54px;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:9px;border:1px solid #e4eaf3;border-radius:10px;background:rgb(255 255 255/88%);padding:8px;text-align:left;cursor:pointer}.device-group-members>button:hover{border-color:#a7beeb;background:#fff}.device-group-members>button>span:first-child{display:grid;width:34px;height:34px;place-items:center;border-radius:9px}.device-group-members>button>span:nth-child(2){display:grid;min-width:0;gap:2px}.device-group-members small,.device-group-members strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.device-group-members strong{font-size:13px}.device-group-members small{color:#7e8996;font-size:11px}.device-group-members b{color:#8090aa;font-size:17px}.associated-device-ids{gap:7px}.associated-device-ids>button{min-height:40px;gap:8px;padding:8px}.associated-device-ids span{font-size:12px}.associated-device-ids code{max-width:145px;font-size:11px}.rightbar{padding:35px 23px}.api{padding:18px}.activity p,.activity small,.api-title small,.home-status small,.home-status>div span{font-size:12px}.api p{font-size:13px}.all,.api>button{min-height:42px;font-size:13px}.activity strong,.home-status>div{font-size:14px}.labels,.panel-title p,.rule{font-size:13px}.toast{max-width:calc(100vw - 32px);font-size:14px}.modal{max-height:min(86dvh,880px);overflow-y:auto;overscroll-behavior:contain}.cloud-modal{width:min(470px,100%)}.binding-modal,.device-modal{width:min(560px,100%)}.modal .close{width:38px;height:38px}.binding-selector-title>small,.connected-info strong,.device-identity small,.device-identity strong,.device-modal-head p,.logout,.modal>p,.region-picker,.region-picker select,.settings-heading span{font-size:13px}.device-modal-head h2,.modal h2{font-size:20px}.binding-panel-heading>div>strong,.binding-selector-title>strong,.settings-heading strong{font-size:15px}.binding-editor>label>span,.channel-smart-target>strong,.channel-targets>strong,.concrete-device-card>div>strong,.control-sources>div>strong,.setting-label strong,.source-channel>strong,.source-identity>strong,.spec-events>div,.spec-group>summary strong,.spec-readonly>div{font-size:13px}.action-control input,.binding-editor select,.binding-existing>div>span,.binding-existing>div>strong,.binding-existing>small,.binding-panel-heading>div>small,.binding-panel-heading>span,.binding-readonly>div>span,.binding-readonly>div>strong,.channel-smart-target>small,.channel-targets>span,.channel-targets>strong>small,.concrete-device-card>div>small,.concrete-device-card>em,.connected-info small,.control-sources>small,.plain-load-name>em,.qr-link,.security-note,.setting-action,.setting-label small,.setting-row select,.source-channel>small,.source-identity>small,.spec-events>div>small,.spec-events>p,.spec-group>summary small,.spec-warning,.text-control input{font-size:12px}.capability-note,.qr-countdown,.readonly-note,.scan-tip{font-size:12px!important}.binding-description,.binding-limitation,.binding-target-hint,.unresolved-binding>small{font-size:12px;line-height:1.65}.binding-editor select,.logout,.region-picker select,.setting-action{min-height:38px}.setting-row{padding:12px}.concrete-device-card{min-height:64px}@media (max-width:1320px){.shell{grid-template-columns:224px minmax(0,1fr)}.rightbar{display:none}.metrics,.scenes{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:980px){.shell{grid-template-columns:198px minmax(0,1fr)}.sidebar{padding:29px 14px 19px}.workspace{padding:30px 22px 64px}.scenes>button{gap:8px}}@media (max-width:760px){.site-footer{margin-top:28px;padding-bottom:8px}.shell{display:block}.sidebar{display:none;position:fixed;z-index:32}.sidebar.mobile-menu-open{inset:0 auto 0 0;display:flex;width:min(86vw,340px);height:100dvh;overflow-y:auto;padding:26px 18px calc(20px + env(safe-area-inset-bottom));border:0;border-right:1px solid var(--line);background:rgb(255 255 255/98%);box-shadow:18px 0 50px rgb(27 35 46/16%);backdrop-filter:blur(16px)}.sidebar.mobile-menu-open .brand{display:flex;padding:0 34px 24px 6px}.sidebar.mobile-menu-open .sidefoot{display:block}.sidebar.mobile-menu-open nav{grid-template-columns:1fr;gap:5px}.sidebar.mobile-menu-open nav button{min-height:46px;padding:10px 13px;text-align:left}.sidebar.mobile-menu-open nav i{display:inline-grid;width:29px;font-size:18px;line-height:normal}.mobile-menu-close{position:absolute;top:19px;right:16px;display:grid;width:38px;height:38px;place-items:center;border:0;border-radius:10px;background:#f5f7f9;color:#687480;font-size:24px;cursor:pointer}.mobile-menu-backdrop{position:fixed;inset:0;z-index:31;display:block;border:0;background:rgb(23 32 43/44%);backdrop-filter:blur(2px)}.workspace{min-height:100dvh;padding:25px 17px calc(40px + env(safe-area-inset-bottom))}.workspace>header{position:relative;align-items:flex-start;flex-direction:column;gap:12px;margin-bottom:25px}.header-controls{width:100%}.home-selector{min-width:0;flex:1}.workspace header h1{font-size:27px}.workspace header p{font-size:12px}.workspace .header-copy{min-height:48px;padding-left:58px}.actions{gap:7px}.actions button:not(.primary){display:none}.mobile-menu-toggle{position:absolute;top:0;left:0;display:grid;width:44px;height:44px;place-items:center;border:1px solid var(--line);border-radius:12px;background:#fff;color:#35404c;padding:0;font-size:21px;cursor:pointer}.actions .primary{padding:0 11px;font-size:12px}.metrics,.scenes{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.metrics article{gap:9px;padding:14px 11px}.metrics article>span{width:35px;height:35px}.metrics strong{font-size:23px}.title{margin:25px 0 13px}.title h2{font-size:18px}.home-tabs{margin-right:-17px;padding-right:17px;scroll-snap-type:x proximity}.home-tabs>button{scroll-snap-align:start}.rooms{gap:20px;margin-right:-17px;padding-right:17px}.topology-toolbar{align-items:stretch;flex-direction:column;gap:9px}.topology-toolbar>small{display:block}.device-view-switch{width:fit-content;max-width:100%}.device-view-switch>button{padding:8px 11px;font-size:12px}.topology-summary{gap:6px}.topology-summary>span{padding:5px 8px;font-size:11px}.devices{grid-template-columns:repeat(auto-fit,minmax(min(100%,265px),1fr));gap:12px}.panel{min-height:0;padding:19px}.panel-grid{grid-template-columns:1fr}.scene-page{min-height:0;padding:19px}.scene-page-toolbar{align-items:stretch;flex-direction:column;margin-bottom:22px}.scene-page-toolbar>button{align-self:flex-start}.scene-page-toolbar>div{display:grid;grid-template-columns:1fr 1.4fr}.scene-page-toolbar .scene-modal-edit,.scene-page-toolbar .scene-modal-run{width:100%}.rule{grid-template-columns:1fr}.rule b{display:none}.modal-bg{place-items:end stretch;padding:0}.binding-modal,.cloud-modal,.device-modal,.modal{width:100%;max-height:calc(100dvh - max(32px, env(safe-area-inset-top)));border-radius:23px 23px 0 0;padding:24px 19px calc(22px + env(safe-area-inset-bottom))}.modal .close{top:10px;right:11px;width:44px;height:44px}.scene-modal{padding:0}.scene-modal-scroll{padding:24px 19px 16px}.scene-modal-actions{margin:0 19px calc(18px + env(safe-area-inset-bottom))}.action-control input,.binding-editor select,.region-picker select,.setting-row select,.text-control input{font-size:16px}.toast{bottom:calc(20px + env(safe-area-inset-bottom))}}@media (max-width:560px){.header-controls{display:grid;grid-template-columns:1fr auto}.home-selector{width:100%;grid-column:1/-1}.actions{grid-column:2;justify-content:flex-end}.active-device-grid{grid-template-columns:1fr}.active-empty{grid-template-columns:40px minmax(0,1fr)}.active-empty>span{width:40px;height:40px}.active-empty button{grid-column:1/-1}.devices{grid-template-columns:1fr}.scenes>button{min-height:82px;grid-template-columns:34px minmax(0,1fr);gap:8px;padding:12px 9px}.scenes>button>b{display:none}.home-tabs>button{min-width:165px}.associated-device-ids>button{grid-template-columns:minmax(0,1fr) auto;gap:3px 8px}.associated-device-ids span{grid-column:1}.associated-device-ids code{grid-column:1;max-width:none;overflow-wrap:anywhere;white-space:normal}.associated-device-ids b{grid-column:2;grid-row:1/span 2}.concrete-device-card{gap:8px}.concrete-device-card>em{max-width:74px;overflow:hidden;text-overflow:ellipsis}.setting-row.with-inputs{align-items:stretch;flex-direction:column}.action-control input,.text-control input{min-width:0;flex:1}}@media (max-width:390px){.workspace{padding-right:13px;padding-left:13px}.workspace>header{flex-wrap:wrap}.actions{justify-content:flex-end;width:100%}.metrics article{gap:7px;padding:12px 8px}.metrics small{font-size:12px}.metrics strong{font-size:21px}.device-view-switch{width:100%}.device-view-switch>button{flex:1;padding-right:7px;padding-left:7px}}.dm-shell{display:grid;gap:22px;min-width:0;margin-top:32px}.dm-intro{display:flex;align-items:center;justify-content:space-between;gap:18px}.dm-eyebrow{color:#ef7345;font-size:11px;font-weight:700;letter-spacing:.12em}.dm-intro h2{margin:5px 0;font-size:clamp(22px,2vw,27px)}.dm-intro p,.dm-view-bar>p{margin:0;color:#778392;font-size:13px;line-height:1.6}.dm-connection{flex:none;padding:8px 12px;border-radius:999px;background:#f1f4f7;color:#637080;font-size:12px;font-weight:600}.dm-connection.connected{background:#eaf8f0;color:#228b58}.dm-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.dm-summary-card{display:flex;align-items:center;gap:11px;min-width:0;min-height:80px;padding:13px;border:1px solid #e8edf2;border-radius:15px;background:#fff}.dm-summary-card>span{display:grid;width:35px;height:35px;flex:none;place-items:center;border-radius:11px;background:#f1f3f6;color:#687584;font-size:17px}.dm-summary-card.orange>span{background:#fff0e9;color:#ed7347}.dm-summary-card.violet>span{background:#f2efff;color:#7864db}.dm-summary-card.blue>span{background:#edf5fe;color:#448dd4}.dm-summary-card>div{min-width:0}.dm-summary-card small,.dm-summary-card strong{display:block}.dm-summary-card strong{font-size:22px;line-height:1.15}.dm-summary-card small{overflow:hidden;color:#74808d;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.dm-filter-group{display:grid;gap:9px;min-width:0}.dm-filter-label{color:#626e7b;font-size:13px;font-weight:650}.dm-room-tabs{display:flex;gap:10px;overflow-x:auto;padding:2px 1px 5px;scrollbar-width:thin}.dm-room-tabs>button{min-height:38px;flex:none;padding:0 13px;border:1px solid #e6ebf0;border-radius:10px;background:#fff;color:#617080;font-size:13px;cursor:pointer}.dm-room-tabs>button.selected{border-color:#f6b69a;background:#fff2ec;color:#d86234;font-weight:650}.dm-view-bar{display:grid;gap:9px}.dm-view-tabs{display:inline-flex;width:fit-content;max-width:100%;padding:4px;border:1px solid #e7ebef;border-radius:12px;background:#f2f4f6}.dm-view-tabs>button{min-height:36px;padding:0 14px;border:0;border-radius:9px;background:transparent;color:#687584;font-size:13px;font-weight:600;white-space:nowrap;cursor:pointer}.dm-view-tabs>button.selected{background:#fff;color:#222d39;box-shadow:0 2px 7px #37415110}.dm-room-inventory,.dm-room-section{display:grid;gap:14px}.dm-room-inventory{gap:25px}.dm-room-heading,.dm-room-heading>div{display:flex;align-items:center;gap:10px}.dm-room-heading{justify-content:space-between}.dm-room-heading strong{font-size:17px}.dm-room-heading>small{color:#778392;font-size:12px}.dm-room-heading>div>span{color:#4b87bd;font-size:11px}.dm-room-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,225px),1fr));align-items:start;gap:13px}.dm-record-card{min-width:0;padding:15px;border:1px solid #e6ebf0;border-radius:16px;background:#fff;cursor:pointer;transition:border-color .16s,box-shadow .16s,transform .16s}.dm-record-card:hover{transform:translateY(-1px);border-color:#f1bba1;box-shadow:0 8px 24px #26313d0c}.dm-record-card.dm-record-kind-voice-alias{border-color:#d7e8f8;background:#fbfdff}.dm-record-card.dm-record-kind-group{border-color:#e2dcf7}.dm-record-card.offline{opacity:.68}.dm-record-top{display:flex;align-items:center;justify-content:space-between;gap:9px}.dm-record-icon{display:grid;width:39px;height:39px;flex:none;place-items:center;border-radius:11px;font-size:18px}.dm-category{padding:5px 8px;border-radius:999px;background:#f2f4f7;color:#65717f;font-size:10px;font-weight:650;white-space:nowrap}.dm-category-smart-light,.dm-category-wired-load{background:#fff1e9;color:#cd683e}.dm-category-controller,.dm-category-switch{background:#f2efff;color:#705bc6}.dm-category-voice-alias{background:#eaf4ff;color:#397cb7}.dm-category-group{background:#f0ebff;color:#6c5cbc}.dm-record-card h3{margin:14px 0 4px;font-size:15px}.dm-record-card h3,.dm-record-card>p{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dm-record-card>p{margin:0;color:#758291;font-size:12px}.dm-channel-preview{display:grid;gap:6px;min-width:0;margin-top:12px}.dm-channel-row{display:grid;grid-template-columns:minmax(54px,max-content) minmax(0,1fr) 28px;gap:8px;align-items:center;width:100%;min-width:0;min-height:32px;padding:5px 7px;border:1px solid #edf0f3;border-radius:9px;background:#fbfcfd;color:#5f6b78;font-size:11px;text-align:left;cursor:pointer}.dm-channel-row:hover{border-color:#dde3e9;background:#f8fafc}.dm-channel-status{display:inline-flex;width:fit-content;max-width:92px;align-items:center;justify-content:center;padding:3px 6px;border-radius:999px;background:#fff0e9;color:#c9663f;font-size:9px;font-style:normal;font-weight:700;line-height:1.2}.dm-channel-name,.dm-channel-status{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dm-channel-name{min-width:0;font-weight:550}.dm-channel-siid{min-width:28px;color:#929ca7;font-size:9px;font-variant-numeric:tabular-nums;text-align:right;white-space:nowrap}.dm-channel-row.wireless .dm-channel-status{background:#f1eeff;color:#705bc6}.dm-channel-row.mixed{border-color:#d8d9f2;background:linear-gradient(90deg,#fff8f3,#f6f4ff)}.dm-channel-row.mixed .dm-channel-status{background:#edf1ff;color:#4f6fb0}.dm-channel-row.inferred-wired{border-style:dashed;border-color:#efc9b8;background:#fffaf7}.dm-channel-row.inferred-wired .dm-channel-status{background:#fff2ea;color:#b96743}.dm-channel-row.unknown .dm-channel-status{background:#f0f3f5;color:#707d89}.dm-record-footer{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;margin-top:14px;padding-top:11px;border-top:1px solid #edf0f3;color:#697583}.dm-record-footer>small,.dm-record-footer>span{font-size:11px}.dm-record-footer>b{color:#9da6b0;font-size:17px}.dm-record-footer>code{overflow:hidden;color:#798593;font-size:10px;text-align:right;text-overflow:ellipsis;white-space:nowrap}.dm-group-members{display:grid;gap:6px;margin-top:13px}.dm-group-members>button{display:grid;grid-template-columns:31px minmax(0,1fr) auto;align-items:center;gap:7px;width:100%;padding:8px;border:1px solid #ebedf2;border-radius:10px;background:#fff;text-align:left;cursor:pointer}.dm-group-members>button>span:first-child{display:grid;width:31px;height:31px;place-items:center;border-radius:8px}.dm-group-members>button>span:nth-child(2){min-width:0}.dm-group-members>button small,.dm-group-members>button strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dm-group-members>button strong{font-size:11px}.dm-group-members>button small{color:#7d8895;font-size:10px}.dm-group-members>button>b{color:#8b95a1}.dm-group-note,.dm-group-unknown{margin-top:12px;padding:9px 10px;border:1px dashed #dcd7ef;border-radius:9px;background:#faf9ff;color:#746b92;font-size:10px;line-height:1.6}.dm-topology-explorer{display:grid;grid-template-columns:minmax(210px,.84fr) minmax(0,1.8fr);min-height:440px;overflow:hidden;border:1px solid #e6ebf0;border-radius:17px;background:#fff}.dm-topology-list{padding:14px;border-right:1px solid #e9edf1;background:#fcfcfd}.dm-list-heading{display:flex;align-items:center;justify-content:space-between;gap:6px;margin:4px 1px 13px}.dm-list-heading>strong{font-size:13px}.dm-list-heading>small{color:#7c8895;font-size:11px;white-space:nowrap}.dm-topology-item{display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:8px;width:100%;min-height:64px;margin-bottom:7px;padding:8px;border:1px solid transparent;border-radius:11px;background:transparent;text-align:left;cursor:pointer}.dm-topology-item.selected{border-color:#f4cbb9;background:#fff6f1}.dm-light-icon{display:grid;width:34px;height:34px;place-items:center;border-radius:10px;background:#fff2dc;color:#dfa139}.dm-topology-item>div{min-width:0}.dm-topology-item>div small,.dm-topology-item>div strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dm-topology-item>div strong{font-size:12px}.dm-topology-item>div small{margin-top:3px;color:#798594;font-size:10px}.dm-topology-item>em{color:#4387c5;font-size:11px;font-style:normal}.dm-topology-stage{min-width:0;padding:18px}.dm-stage-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:15px}.dm-stage-heading>div>span{color:#d27953;font-size:11px}.dm-stage-heading h3{margin:5px 0;font-size:21px}.dm-stage-heading p{margin:0;color:#74808d;font-size:12px}.dm-target-state{flex:none;padding:7px 10px;border-radius:999px;background:#f1f4f7;color:#65717f;font-size:11px;font-weight:650}.dm-target-state.on{background:#fff1e8;color:#d46d3f}.dm-target-state.offline{background:#f0f1f3;color:#8b949e}.dm-topology-canvas{display:block;width:100%;min-height:230px;margin-top:14px;border:1px solid #eef1f4;border-radius:14px;background:radial-gradient(circle at 1px 1px,#e9edf1 1px,transparent 0) 0 0 /17px 17px,#fdfdfd;cursor:pointer}.dm-legend{display:flex;flex-wrap:wrap;gap:13px;padding:12px 2px}.dm-legend>span{display:flex;align-items:center;gap:5px;color:#647180;font-size:11px}.dm-legend i{width:15px;height:2px;background:#ed8050}.dm-legend i.wireless{background:repeating-linear-gradient(90deg,#8771e8 0 4px,transparent 4px 6px)}.dm-legend i.alias{background:repeating-linear-gradient(90deg,#4b91d9 0 2px,transparent 2px 5px)}.dm-legend i.unknown{background:repeating-linear-gradient(90deg,#8995a2 0 2px,transparent 2px 5px)}.dm-control-grid,.dm-control-groups,.dm-control-groups>section{display:grid;gap:8px}.dm-control-groups{gap:14px;margin-top:8px}.dm-control-groups h4{margin:0;color:#495562;font-size:12px}.dm-control-button{display:grid;grid-template-columns:32px minmax(0,1fr) auto;align-items:center;gap:8px;width:100%;padding:9px;border:1px solid #e8ecf1;border-radius:11px;background:#fff;text-align:left;cursor:pointer}.dm-control-button>span{display:grid;width:32px;height:32px;place-items:center;border-radius:9px;background:#fff2eb;color:#d9754b}.dm-control-button.wireless>span{background:#f2efff;color:#7560d2}.dm-control-button.unknown>span{background:#f0f2f4;color:#78838f}.dm-control-button.alias>span{background:#edf5ff;color:#4386c6}.dm-control-button.smart>span{background:#fff6e4;color:#d59735}.dm-control-button>div{min-width:0}.dm-control-button small,.dm-control-button strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dm-control-button strong{font-size:12px}.dm-control-button small{color:#758291;font-size:10px}.dm-control-button>b{color:#89939f}.dm-empty{display:grid;min-height:220px;place-content:center;gap:8px;padding:25px;border:1px dashed #dfe5eb;border-radius:16px;background:#fff;text-align:center}.dm-empty>span{color:#9ca7b4;font-size:25px}.dm-empty>strong{font-size:14px}.dm-empty>p{max-width:360px;margin:0;color:#758291;font-size:12px;line-height:1.7}@media (max-width:1320px){.dm-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.dm-topology-explorer{grid-template-columns:minmax(195px,.8fr) minmax(0,1.7fr)}}@media (max-width:760px){.dm-shell{gap:19px;margin-top:26px}.dm-intro{align-items:flex-start}.dm-intro p{font-size:12px}.dm-summary{gap:9px}.dm-summary-card{min-height:72px;padding:10px}.dm-summary-card strong{font-size:20px}.dm-room-heading>div{flex-wrap:wrap;gap:3px 8px}.dm-room-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,190px),1fr))}.dm-topology-explorer{grid-template-columns:1fr;min-height:0}.dm-topology-list{max-height:255px;overflow:auto;border-right:0;border-bottom:1px solid #e9edf1}.dm-topology-stage{padding:15px}.dm-stage-heading h3{font-size:19px}}@media (max-width:430px){.dm-intro{flex-wrap:wrap}.dm-connection{padding:6px 9px;font-size:11px}.dm-summary-card{gap:8px}.dm-summary-card>span{width:32px;height:32px}.dm-summary-card small{font-size:11px}.dm-view-tabs>button{padding:0 10px;font-size:12px}.dm-room-grid{grid-template-columns:1fr}.dm-channel-row{grid-template-columns:minmax(54px,max-content) minmax(0,1fr) 30px;gap:7px}.dm-channel-status{max-width:86px}.dm-stage-heading p{line-height:1.7}}.scene-editor-bg{z-index:42;padding:24px}.scene-editor{width:min(820px,100%);max-height:min(92dvh,920px);display:flex;flex-direction:column;overflow:hidden;border:1px solid #e7ebef;border-radius:22px;background:#fff;box-shadow:0 30px 100px #111b2938}.scene-editor>header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:25px 28px 20px;border-bottom:1px solid var(--line)}.scene-editor>header span{color:var(--orange);font-size:9px;font-weight:800;letter-spacing:.12em}.scene-editor>header h2{margin:3px 0 2px;font-size:22px}.scene-editor footer p,.scene-editor>header p{margin:0;color:#8c96a2;font-size:11px}.scene-editor>header>button{width:36px;height:36px;border:0;border-radius:10px;background:#f5f7f9;color:#8c96a2;font-size:22px;cursor:pointer}.scene-editor-scroll{min-height:0;overflow:auto;padding:22px 28px 28px}.scene-editor-basics{margin-bottom:22px}.scene-editor label{display:grid;gap:8px}.scene-editor label>span{color:#66717d;font-size:11px;font-weight:700}.scene-editor input,.scene-editor select{width:100%;min-height:40px;border:1px solid #dfe4e9;border-radius:10px;background:#fff;padding:8px 11px;font-size:12px}.scene-editor-warning{margin-bottom:22px;border:1px solid #f3d9a9;border-radius:12px;background:#fffbf1;padding:13px 15px}.scene-editor-warning strong{font-size:12px;color:#8c651d}.scene-editor-warning p{margin:3px 0 0;color:#907849;font-size:10px;line-height:1.6}.scene-action-composer,.scene-editor-actions{border:1px solid #e8ecf0;border-radius:15px;padding:17px}.scene-editor-section-title,.scene-editor-section-title>div{display:flex;align-items:center}.scene-editor-section-title{justify-content:space-between;gap:12px;margin-bottom:14px}.scene-editor-section-title>div{gap:9px}.scene-editor-section-title>div>span{display:grid;place-items:center;min-width:29px;height:27px;border-radius:8px;background:#fff0e9;color:#e76531;font-size:9px;font-weight:800}.scene-editor-section-title small,.scene-editor-section-title strong{display:block}.scene-editor-section-title strong{font-size:13px}.scene-editor-section-title small{margin-top:2px;color:#939da8;font-size:9px}.scene-add-property button,.scene-editor-section-title>button{border:0;border-radius:9px;background:#fff0e9;padding:8px 11px;color:#e65e27;font-size:10px;font-weight:700;cursor:pointer}.scene-editor-actions ol{display:grid;gap:8px;margin:0;padding:0;list-style:none}.scene-editor-actions li{display:grid;grid-template-columns:28px minmax(0,1fr) auto;align-items:center;gap:10px;border:1px solid #edf0f3;border-radius:11px;padding:10px}.scene-editor-actions li>b{display:grid;place-items:center;width:28px;height:28px;border-radius:9px;background:#f7f8fa;color:#7d8792;font-size:10px}.scene-editor-actions li small,.scene-editor-actions li strong{display:block}.scene-editor-actions li strong{font-size:11px}.scene-editor-actions li small{margin-top:3px;color:#8c96a1;font-size:9px}.scene-action-tools{display:flex;gap:4px}.scene-action-tools button{min-height:30px;border:1px solid #e5e9ed;border-radius:8px;background:#fff;padding:5px 8px;color:#687480;font-size:9px;cursor:pointer}.scene-action-tools button:last-child{color:#c65342}.scene-action-tools button:disabled{opacity:.35}.scene-editor-empty{border-radius:10px;background:#fafbfc;padding:20px;color:#8b96a2;font-size:10px;text-align:center}.scene-action-composer{margin-top:16px;background:#fafbfc}.scene-composer-state{margin:12px 0;border-radius:9px;background:#f1f4f7;padding:10px;color:#788390;font-size:10px}.scene-composer-state.error{background:#fff2ee;color:#bd5532}.scene-kind-tabs{display:flex;gap:7px;margin:14px 0}.scene-kind-tabs button{border:1px solid #e1e6eb;border-radius:9px;background:#fff;padding:8px 13px;color:#727d88;font-size:10px;cursor:pointer}.scene-kind-tabs button.selected{border-color:#ffc5aa;background:#fff3ed;color:#e45f2b}.scene-kind-tabs button:disabled{opacity:.45}.scene-property-list{display:grid;gap:8px;margin-bottom:10px}.scene-property-list>div{border:1px solid #e4e9ed;border-radius:10px;background:#fff;padding:10px}.scene-property-list>div>div:first-child{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.scene-property-list strong{font-size:10px}.scene-property-list button{border:0;background:transparent;color:#c45240;font-size:9px;cursor:pointer}.scene-add-property{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.scene-add-property button:disabled{opacity:.45}.scene-range-value{display:grid;grid-template-columns:minmax(100px,1fr) 90px auto;align-items:center;gap:8px}.scene-range-value input[type=range]{padding:0}.scene-range-value span{color:#7a8590;font-size:10px}.scene-composer-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:14px}.scene-composer-actions button,.scene-editor footer button{border:1px solid #dfe4e9;border-radius:9px;background:#fff;padding:9px 15px;font-size:11px;font-weight:700;cursor:pointer}.scene-composer-actions button.primary,.scene-editor footer button.primary{border-color:var(--orange);background:var(--orange);color:#fff}.scene-composer-actions button:disabled,.scene-editor footer button:disabled{cursor:not-allowed;opacity:.48}.scene-editor-error{margin:0 28px 12px;border:1px solid #ffd4c3;border-radius:10px;background:#fff5f0;padding:11px 13px;color:#bc4f28;font-size:10px}.scene-editor-state{margin:30px;border-radius:12px;background:#f7f8fa;padding:24px;color:#7f8a96;font-size:12px;text-align:center}.scene-editor-state.error{background:#fff5f0;color:#bd512d}.scene-editor footer{display:flex;align-items:center;justify-content:space-between;gap:20px;border-top:1px solid var(--line);padding:16px 28px}.scene-editor footer>div{display:flex;gap:8px;flex:none}@media(max-width:760px){.scene-editor-bg{align-items:end;padding:0}.scene-editor{width:100%;max-height:94dvh;border-radius:20px 20px 0 0}.scene-editor>header{padding:20px 18px 16px}.scene-editor-scroll{padding:18px}.scene-editor-actions li{grid-template-columns:28px minmax(0,1fr)}.scene-action-tools{grid-column:2;flex-wrap:wrap}.scene-editor-error{margin:0 18px 10px}.scene-editor footer{align-items:stretch;flex-direction:column;padding:13px 18px calc(13px + env(safe-area-inset-bottom))}.scene-editor footer>div{display:grid;grid-template-columns:1fr 1.4fr}.scene-editor footer button{width:100%}}@media(max-width:420px){.scene-editor>header h2{font-size:19px}.scene-range-value{grid-template-columns:1fr 80px auto}.scene-action-composer,.scene-editor-actions{padding:14px}.scene-editor-section-title{align-items:flex-start}.scene-editor-section-title>button{white-space:nowrap}}.scene-device-picker{display:grid;gap:10px}.scene-device-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.scene-device-result-title{display:flex;align-items:center;justify-content:space-between;margin-top:2px;color:#66717d;font-size:11px;font-weight:700}.scene-device-result-title small{color:#98a1aa;font-size:9px;font-weight:500}.scene-device-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;max-height:220px;overflow:auto;padding:1px}.scene-device-options>button{display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:9px;min-width:0;border:1px solid #e3e8ec;border-radius:11px;background:#fff;padding:9px;text-align:left;cursor:pointer}.scene-device-options>button:hover{border-color:#ffc5aa;background:#fffaf7}.scene-device-options>button.selected{border-color:#ff9c71;background:#fff3ed;box-shadow:0 0 0 2px #ff6b2c12}.scene-device-options>button>span:nth-child(2){min-width:0}.scene-device-options small,.scene-device-options strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.scene-device-options strong{color:#38434e;font-size:10px}.scene-device-options small{margin-top:3px;color:#929ca6;font-size:8px}.scene-device-options i{color:#a3abb4;font-size:12px;font-style:normal}.scene-device-options .selected i{color:#e65f28}.scene-device-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:9px;background:#f5f7f9;color:#6f7a85;font-size:14px}.scene-device-options .selected .scene-device-icon{background:#ffe7dc;color:#e65f28}.scene-device-empty{border:1px dashed #dfe4e9;border-radius:10px;padding:18px;color:#8b96a2;font-size:10px;text-align:center}@media(max-width:520px){.scene-device-filters,.scene-device-options{grid-template-columns:1fr}.scene-device-options{max-height:260px}}.scene-editor-action-groups,.scene-editor-action-rooms{display:grid;gap:15px}.scene-editor-action-groups>section{border:1px solid #e9edf1;border-radius:12px;background:#fafbfc;padding:12px}.scene-editor-action-groups>section>header,.scene-editor-action-rooms>section>header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:9px;padding:0 2px}.scene-editor-action-groups>section>header strong{color:#4f5b67;font-size:10px}.scene-editor-action-groups>section>header small,.scene-editor-action-rooms>section>header small{color:#929ca8;font-size:9px}.scene-editor-action-rooms>section{border-left:2px solid #ffe0d2;padding-left:10px}.scene-editor-action-rooms>section>header strong{font-size:10px}.scene-editor-actions li.batch>b{background:#fff0e9;color:#e65f28}.scene-editor-actions li.batch>div>small{max-width:420px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.scene-device-help{margin:0;border-radius:9px;background:#fff5ef;padding:8px 10px;color:#a66243;font-size:9px;line-height:1.5}.scene-group-tools{display:flex;align-items:center;gap:8px}.scene-group-tools button{min-height:28px;border:1px solid #f1c9b7;border-radius:8px;background:#fff5ef;padding:4px 9px;color:#d95f2d;font-size:9px;font-weight:700;cursor:pointer}.scene-kind-tabs small{align-self:center;color:#8c96a2;font-size:9px}.scene-action-composer>.scene-device-help{margin:10px 0}.scene-device-options>button[aria-selected=true] .scene-device-icon{background:#ffe7dc;color:#e65f28}.scene-editor-page{width:100%;max-height:none;min-height:520px;border-radius:18px;box-shadow:none}.scene-editor-page>header{align-items:center;justify-content:flex-start}.scene-editor-page>header>button.scene-page-back{width:auto;height:auto;flex:none;border:1px solid #e2e7eb;background:#fff;padding:9px 12px;color:#687480;font-size:10px;font-weight:700}.scene-editor-page .scene-editor-scroll{overflow:visible}.scene-editor-page .scene-action-composer{margin-top:0}.scene-editor-page .scene-action-page{border:0;background:transparent;padding:0}.scene-editor-page .scene-device-options{max-height:340px}@media(max-width:760px){.scene-editor-page{min-height:0;border-radius:18px}.scene-editor-page>header{align-items:flex-start;flex-direction:column;gap:13px}.scene-editor-page .scene-editor-scroll{padding:18px}.scene-editor-page .scene-action-page{padding:0}.scene-editor-page footer{padding-bottom:13px}}.scene-composer-mode{display:flex;gap:6px;margin:0 0 16px;padding:4px;border-radius:11px;background:#f1f3f5}.scene-composer-mode button{flex:1;border:0;border-radius:8px;background:transparent;padding:9px;color:#78838e;font-size:10px;font-weight:700;cursor:pointer}.scene-composer-mode button.selected{background:#fff;color:#df5e2b;box-shadow:0 2px 8px #1f293714}.scene-composer-mode button:disabled{cursor:not-allowed;opacity:.42}.scene-single-editor{display:grid;grid-template-columns:minmax(190px,.75fr) minmax(260px,1.25fr);gap:12px}.scene-single-editor>section{min-width:0;border:1px solid #e5e9ed;border-radius:12px;background:#fff;padding:12px}.scene-single-editor>section>header{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:10px}.scene-single-editor>section>header strong{font-size:11px}.scene-single-editor>section>header small{color:#919ba5;font-size:8px}.scene-single-filters{grid-template-columns:1fr;margin-bottom:10px}.scene-single-device-fixed{display:flex;align-items:center;gap:10px}.scene-single-device-fixed small,.scene-single-device-fixed strong{display:block}.scene-single-device-fixed strong{font-size:11px}.scene-single-device-fixed small{margin-top:3px;color:#8d98a2;font-size:8px}.scene-official-actions>div[role=listbox]{display:grid;gap:7px;max-height:330px;overflow:auto}.scene-official-actions button{display:flex;align-items:center;justify-content:space-between;gap:10px;border:1px solid #e5e9ed;border-radius:9px;background:#fff;padding:10px;text-align:left;cursor:pointer}.scene-official-actions button.selected{border-color:#ff9c71;background:#fff4ee}.scene-official-actions button span{min-width:0}.scene-official-actions button small,.scene-official-actions button strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.scene-official-actions button strong{font-size:10px}.scene-official-actions button small{margin-top:3px;color:#909aa4;font-size:8px}.scene-official-actions button i{color:#e4612d;font-style:normal}.scene-single-values{grid-column:1/-1}.scene-single-values>div+div{margin-top:10px}.scene-single-values label>strong{border-radius:8px;background:#f5f7f8;padding:9px;font-size:10px}@media(max-width:700px){.scene-single-editor{grid-template-columns:1fr}.scene-single-values{grid-column:auto}}