:root{--brand-primary: #087E8C;--brand-on-primary: #FFFFFF;--brand-primary-text-light: #066F7B;--brand-accent: #0FABBB;--brand-font: "Inter";--fill: var(--brand-primary);--on-fill: var(--brand-on-primary);--accent: var(--brand-primary-text-light);--accent-tint: color-mix(in srgb, var(--brand-primary) 10%, transparent);--canvas: #E8EDF1;--canvas-tint: #D3E8EC;--surface: #FFFFFF;--subtle: #EEF2F5;--separator: #DCE3EA;--pressed: #E9EEF2;--text: #0F172A;--secondary: #475569;--tertiary: #5B6B80;--switch-track: #E2E8F0;--backdrop: rgba(15, 23, 42, .32);--tile-on: #FFFFFF;--tile-on-text: #0F172A;--tile-on-secondary: var(--brand-primary-text-light);--tile-off: rgba(255, 255, 255, .5);--tile-off-text: #1E293B;--tile-shadow: 0 3px 10px rgba(15, 23, 42, .12);--pill-track: #D3DAE2;--state-ok: #047857;--state-ok-tint: rgba(16, 185, 129, .12);--state-pending: #9A5B00;--state-failed: #DC2626;--state-failed-tint: rgba(220, 38, 38, .1);--state-offline: #5B6B80;--state-on-failed: #FFFFFF;--radius-tile: 18px;--radius-card: 16px;--radius-button: 10px;--space-xs: 4px;--space-sm: 8px;--space-md: 12px;--space-lg: 16px;--space-xl: 20px;--space-xxl: 28px;--space-section: 32px;color-scheme:light}:root[data-theme=dark]{color-scheme:dark;--accent: color-mix(in srgb, var(--brand-primary) 55%, #FFFFFF);--accent-tint: color-mix(in srgb, var(--brand-primary) 22%, transparent);--canvas: #0B1120;--canvas-tint: #0B1120;--surface: #141C2B;--subtle: #1C2638;--separator: #243044;--pressed: #1F2A3D;--text: #F1F5F9;--secondary: #A7B4C6;--tertiary: #8595AB;--switch-track: #2A3649;--backdrop: rgba(0, 0, 0, .55);--tile-on: #F1F5F9;--tile-on-text: #0F172A;--tile-off: #1A2436;--tile-off-text: #B4C0D0;--tile-shadow: none;--pill-track: #1F2A3D;--state-ok: #34D399;--state-ok-tint: rgba(52, 211, 153, .14);--state-pending: #F6C453;--state-failed: #F87171;--state-failed-tint: rgba(248, 113, 113, .15);--state-offline: #8595AB;--state-on-failed: #0B1120}*{box-sizing:border-box}html{-webkit-text-size-adjust:100%}body{margin:0;background:var(--canvas);color:var(--text);font-family:var(--brand-font),"Inter",system-ui,-apple-system,"Segoe UI",sans-serif;font-size:15px;line-height:1.4;-webkit-font-smoothing:antialiased}h1,h2,h3,p{margin:0}a{color:var(--accent)}button,input,select{font:inherit;color:inherit}:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.muted{color:var(--tertiary)}.sm-visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.sm-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:40px;padding:0 14px;border:0;border-radius:var(--radius-button);background:var(--subtle);color:var(--text);font-weight:500;cursor:pointer;text-decoration:none}.sm-btn:hover:not(:disabled){background:var(--pressed)}.sm-btn:disabled{opacity:.4;cursor:not-allowed}.sm-btn-primary{min-height:52px;border-radius:var(--radius-card);background:var(--fill);color:var(--on-fill);font-weight:600}.sm-btn-primary:hover:not(:disabled){background:var(--fill);opacity:.9}.sm-btn-danger{background:var(--state-failed);color:var(--state-on-failed);font-weight:600}.sm-btn-danger:hover:not(:disabled){background:var(--state-failed);opacity:.9}.sm-link{border:0;background:none;padding:6px 0;color:var(--accent);font-weight:500;cursor:pointer}.sm-field{display:grid;gap:6px;font-size:12px;font-weight:500;color:var(--secondary)}.sm-field input,.sm-field select{min-height:44px;padding:0 12px;border:1.5px solid transparent;border-radius:var(--radius-button);background:var(--subtle);color:var(--text);font-size:16px;font-weight:400;width:100%;min-width:0}.sm-field input:focus,.sm-field select:focus{outline:none;border-color:var(--brand-accent)}.sm-field-error{color:var(--state-failed);font-size:13px}.sm-phone{display:grid;grid-template-columns:minmax(84px,32%) minmax(0,1fr);gap:8px}.sm-phone input[aria-invalid=true]{border-color:var(--state-failed)}.sm-segmented{display:inline-flex;gap:2px;padding:3px;border-radius:var(--radius-button);background:var(--subtle);max-width:100%;overflow-x:auto;scrollbar-width:none}.sm-segmented button{flex:1 0 auto;min-height:32px;padding:0 14px;border:0;border-radius:calc(var(--radius-button) - 2px);background:transparent;color:var(--secondary);font-weight:500;white-space:nowrap;cursor:pointer}.sm-segmented button[aria-checked=true]{background:var(--surface);color:var(--text);font-weight:600;box-shadow:0 1px 2px #0f172a14}.sm-segmented button:disabled{opacity:.4;cursor:not-allowed}.sm-status-row{display:flex;gap:4px;overflow-x:auto;scrollbar-width:none;margin:0 -8px;padding:2px 8px}.sm-status-circle{flex:none;width:76px;display:grid;justify-items:center;gap:2px;padding:0;border:0;background:none;color:var(--text);cursor:pointer}div.sm-status-circle{cursor:default}.sm-status-circle-dot{width:58px;height:58px;margin-bottom:4px;border-radius:50%;display:grid;place-items:center;background:var(--tile-off);color:var(--secondary);font-size:16px;font-weight:600;transition:background .15s}.sm-status-circle[aria-pressed=true] .sm-status-circle-dot,.sm-status-circle[data-active] .sm-status-circle-dot{background:var(--tile-on);color:var(--tile-on-text);box-shadow:var(--tile-shadow)}.sm-status-circle[data-tone=danger] .sm-status-circle-dot{color:var(--state-failed)}button.sm-status-circle:hover .sm-status-circle-dot{background:var(--tile-on)}.sm-status-circle-label{font-size:12px;font-weight:500;text-align:center}.sm-tile-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(108px,1fr));gap:10px}.sm-device{position:relative;min-height:112px;aspect-ratio:1;display:flex;flex-direction:column;justify-content:space-between;padding:12px;border-radius:var(--radius-tile);background:var(--tile-off);color:var(--tile-off-text);transition:background .15s,transform .1s}.sm-device[data-on=true]{background:var(--tile-on);color:var(--tile-on-text);box-shadow:var(--tile-shadow)}.sm-device[data-quality=offline]{opacity:.6}.sm-device.is-wide{grid-column:1 / -1;aspect-ratio:auto;justify-content:flex-start;gap:12px}.sm-device:has(.sm-accessory:active:not(:disabled)){transform:scale(.97)}.sm-accessory{display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;flex:1;gap:12px;padding:0;border:0;background:none;color:inherit;text-align:left;cursor:pointer}.sm-accessory:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;border-radius:inherit}.sm-accessory:focus-visible{outline:none}.sm-device:has(.sm-accessory:focus-visible){outline:2px solid var(--accent);outline-offset:2px}.sm-accessory:disabled{cursor:not-allowed}.sm-device.is-wide .sm-accessory{flex-direction:row;align-items:center;justify-content:flex-start;flex:none}.sm-accessory-icon{color:var(--tertiary);flex:none}.sm-device[data-on=true] .sm-accessory-icon{color:var(--tile-on-secondary)}.sm-accessory-caption{display:grid;gap:1px;min-width:0}.sm-device-name{font-size:14px;font-weight:600;line-height:1.25;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.sm-power-label{font-size:12px;font-weight:500;color:var(--tertiary)}.sm-device[data-on=true] .sm-power-label{color:var(--tile-on-secondary)}.sm-status{font-size:12px;font-weight:500;color:var(--tertiary)}.sm-status:empty{display:none}.sm-device .sm-status{position:absolute;top:12px;right:12px;max-width:calc(100% - 52px);text-align:right;line-height:1.2;pointer-events:none}.sm-status[data-state=pending]{color:var(--state-pending)}.sm-status[data-state=confirmed]{color:var(--state-ok);animation:sm-fade-out .3s ease 2.5s forwards}.sm-status[data-state=failed],.sm-status[data-state=timed_out],.sm-status[data-state=offline]{color:var(--state-failed)}@keyframes sm-fade-out{to{opacity:0}}.sm-device-controls{position:relative;z-index:1;display:flex;flex-wrap:wrap;gap:8px;align-items:center}.sm-device-controls:empty{display:none}.sm-device .sm-segmented{background:var(--subtle)}.sm-stepper{display:inline-flex;align-items:center;gap:4px;padding:3px;border-radius:999px;background:var(--subtle)}.sm-stepper .sm-btn{width:32px;min-height:32px;padding:0;border-radius:50%;background:var(--surface)}.sm-stepper output{min-width:56px;text-align:center;font-size:15px;font-weight:600;font-variant-numeric:tabular-nums}.sm-device[data-on=true] .sm-stepper,.sm-device[data-on=true] .sm-segmented{background:#0f172a12}.sm-device[data-on=true] .sm-stepper .sm-btn,.sm-device[data-on=true] .sm-segmented button[aria-checked=true]{background:#fff;color:var(--tile-on-text)}.sm-device[data-on=true] .sm-stepper output{color:var(--tile-on-text)}.sm-device[data-on=true] .sm-segmented button{color:#475569}.sm-device[data-on=true] .sm-segmented button[aria-checked=true]{color:var(--tile-on-text)}.sm-device[data-on=true] .sm-status[data-state=confirmed]{color:#047857}.sm-device[data-on=true] .sm-status[data-state=pending]{color:#9a5b00}.sm-device[data-on=true] .sm-status:is([data-state=failed],[data-state=timed_out],[data-state=offline]){color:#dc2626}.sm-toggle{min-height:32px}.sm-toggle[aria-checked=true]{background:var(--fill);color:var(--on-fill)}.sm-device-note{display:grid;min-width:0;font-size:12px;font-weight:500;line-height:1.35;color:var(--tertiary)}.sm-device-note>*{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sm-device-note>.is-reading{color:var(--secondary)}.sm-device[data-on=true] .sm-device-note{color:color-mix(in srgb,var(--tile-on-text) 65%,var(--tile-on))}.sm-device[data-on=true] .sm-device-note>.is-reading{color:var(--tile-on-secondary)}.sm-device.has-corner .sm-status{position:static;max-width:none;text-align:left;line-height:1.4;pointer-events:auto}.sm-device.has-corner .sm-status:is([data-state=pending],[data-state=confirmed]){position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;animation:none}.sm-device.has-corner .sm-status[data-state=offline]{font-weight:600}.sm-device.has-corner[data-on=false] .sm-status:is([data-state=offline],[data-state=failed],[data-state=timed_out]){color:color-mix(in srgb,var(--state-failed) 85%,var(--text))}.sm-device.has-corner:not([data-quality=stale]):has(.sm-status:not(:empty):not([data-state=pending],[data-state=confirmed])) .sm-power-label{display:none}.sm-device.has-corner[data-quality=offline]{opacity:1}.sm-device.has-corner[data-quality=offline] :is(.sm-device-name,.sm-accessory-icon){color:var(--tertiary)}.sm-device.is-wide.has-corner .sm-accessory{padding-right:36px}.sm-device.has-corner .sm-accessory{min-height:0}.sm-device:not(.is-wide).has-corner .sm-accessory{flex:1 0 auto}.sm-batch{padding:12px 14px;border-radius:var(--radius-card);background:var(--surface);font-size:14px}.sm-batch ul{margin:6px 0 0;padding-left:18px}.sm-batch li{color:var(--state-failed);font-size:13px}@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;animation-duration:0s!important;animation-delay:0s!important}}:root{font-synthesis:none}body{min-width:0}.shell{min-height:100dvh;background:linear-gradient(180deg,var(--canvas-tint) 0,var(--canvas) 440px) no-repeat,var(--canvas)}.topbar{display:flex;align-items:center;flex-wrap:wrap;gap:var(--space-md);max-width:1100px;margin:0 auto;padding:14px 32px;min-height:60px}.topbar>:last-child:not(.brand){margin-left:auto}.brand{display:inline-flex;align-items:center;gap:12px;font-size:20px;letter-spacing:-.3px;color:var(--secondary);text-decoration:none;flex-shrink:0}.brand img{display:block;border-radius:12px}.brand strong{color:var(--text);font-weight:600}.brand.compact{gap:8px;font-size:15px}.brand.compact img{border-radius:8px}button{font:inherit;border:0;border-radius:var(--radius-button);min-height:44px;padding:11px 17px;background:var(--fill);color:var(--on-fill);font-weight:600;cursor:pointer}button:disabled{opacity:.48;cursor:not-allowed}button:hover:not(:disabled){opacity:.9}.secondary{background:var(--surface);color:var(--accent)}.site-footer{max-width:1100px;margin:auto;display:flex;flex-wrap:wrap;gap:12px 24px;padding:20px 32px 32px;font-size:13px}.site-footer a{color:var(--tertiary);text-decoration:none}.site-footer a:hover{color:var(--accent);text-decoration:underline}.auth{min-height:100dvh;display:grid;place-items:center;padding:40px 20px;background:linear-gradient(180deg,var(--canvas-tint) 0,var(--canvas) 480px) no-repeat,var(--canvas)}.auth-inner{width:min(400px,100%);display:grid;gap:var(--space-xl)}.auth-foot{font-size:13px;color:var(--tertiary);text-align:center}.sm-signin{display:grid;gap:var(--space-sm)}.sm-signin h1{font-size:30px;font-weight:600;letter-spacing:-.8px;line-height:1.15}.sm-auth-subtitle{font-size:16px;color:var(--secondary)}.sm-field input::placeholder{color:var(--tertiary);opacity:1}.sm-signin form{display:grid;gap:var(--space-md);margin-top:var(--space-lg)}.sm-auth-card{display:grid;gap:var(--space-md);padding:var(--space-lg);border-radius:var(--radius-card);background:var(--surface)}.sm-signin .sm-link{justify-self:center;min-height:44px}.auth-links{justify-content:center;gap:8px 16px;padding:0;margin-top:-8px;font-size:12px}.preview-notice{max-width:1100px;margin:0 auto;padding:0 32px;color:var(--tertiary);font-size:13px}@media(max-width:980px){.topbar{padding:14px 22px}.site-footer{padding:24px 22px}.auth-links{padding:0}.preview-notice{padding:0 22px}}@media(max-width:480px){.topbar{padding:14px 16px}.site-footer{padding:24px 16px}.auth-links{padding:0}.preview-notice{padding:0 16px}}.sm-code-entry{position:relative;display:block}.sm-code-boxes{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:var(--space-sm)}.sm-code-boxes span{display:grid;place-items:center;aspect-ratio:.82;min-height:44px;border:1.5px solid transparent;border-radius:var(--radius-button);background:var(--surface);font-size:24px;font-weight:600}.sm-code-entry:focus-within .sm-code-boxes span.active{border-color:var(--brand-accent)}.sm-code-entry input{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;opacity:0;border:0;font-size:16px;cursor:text}.portal-shell{--portal-sidebar-w: 240px;--portal-tabbar-fallback: calc(65px + env(safe-area-inset-bottom, 0px)) ;min-height:100dvh;display:grid;grid-template-columns:var(--portal-sidebar-w) minmax(0,1fr);background:var(--canvas)}.portal-shell.is-phone{display:block}.portal-content{min-width:0}.portal-column{max-width:1120px;margin:0 auto;padding:32px clamp(20px,3.5vw,40px) 64px}.portal-sidebar{position:sticky;top:0;z-index:10;height:100dvh;display:flex;flex-direction:column;gap:var(--space-xl);padding:20px 16px 16px;background:var(--surface);border-right:1px solid var(--separator);overflow-y:auto}.portal-brand{display:flex;align-items:center;gap:10px;min-height:40px;padding:0 8px;font-size:17px;letter-spacing:-.2px;color:var(--secondary)}.portal-logo{display:block;flex:none;border-radius:9px}.portal-brand strong{color:var(--text);font-weight:600}.portal-homes{display:grid;gap:4px}.portal-home{display:grid;gap:6px}.portal-home-caption{padding:0 2px;font-size:12px;font-weight:500;color:var(--tertiary)}.portal-home-field{position:relative;display:block}.portal-home-field select{-moz-appearance:none;appearance:none;-webkit-appearance:none;display:block;width:100%;min-height:44px;padding:0 36px 0 12px;border:1.5px solid transparent;border-radius:var(--radius-button);background:var(--subtle);color:var(--text);font-size:15px;font-weight:600;text-overflow:ellipsis;cursor:pointer}.portal-home-field select:disabled{opacity:.6;cursor:default}.portal-home-field select:hover:not(:disabled){background:var(--pressed)}.portal-home-field option{background:var(--surface);color:var(--text)}.portal-home-chevron{position:absolute;top:50%;right:12px;transform:translateY(-50%);color:var(--tertiary);pointer-events:none}.portal-home-initial{display:none}.portal-nav{display:grid;gap:4px}.portal-item{position:relative;display:flex;align-items:center;gap:12px;width:100%;min-height:44px;padding:0 12px;border-radius:var(--radius-button);background:transparent;color:var(--secondary);font-size:15px;font-weight:500;text-align:left;transition:background .15s,color .15s}.portal-item:hover:not(:disabled):not([aria-current=page]){background:var(--subtle);opacity:1}.portal-item[aria-current=page],.portal-item[aria-current=page]:hover:not(:disabled){background:var(--accent-tint);color:var(--accent);font-weight:600;opacity:1}.portal-item[aria-expanded=true]:not([aria-current=page]),.portal-item[aria-expanded=true]:not([aria-current=page]):hover:not(:disabled){background:transparent;color:var(--text)}.portal-item.is-accent{color:var(--accent)}.portal-item svg{flex:none}.portal-sidebar-foot{margin-top:auto;padding-top:12px;border-top:1px solid var(--separator)}.portal-shell :focus-visible{outline:2px solid var(--accent);outline-offset:2px}.portal-shell :is(.sm-field,.device-search,.device-select,.portal-home-field) :is(input,select,textarea):focus-visible,.portal-shell .sm-field :is(input,select,textarea):focus{outline:2px solid transparent;outline-offset:0;border-color:transparent;box-shadow:0 0 0 2px var(--accent)}.portal-shell .sm-field :is(input,select,textarea)[aria-invalid=true]:focus{border-color:var(--state-failed)}.portal-shell .sm-device:has(.sm-accessory:focus-visible){outline-color:var(--accent)}.portal-shell .sm-device[data-on=true] :focus-visible{outline-color:var(--tile-on-secondary)}.portal-shell .sm-accessory:focus-visible{outline:none}@media(min-width:768px)and (max-width:1023.98px){.portal-shell:not(.is-phone){--portal-sidebar-w: 72px}.portal-sidebar{align-items:center;gap:var(--space-lg);padding:16px 13px;overflow-x:hidden}.portal-sidebar .portal-brand,.portal-sidebar .portal-nav,.portal-sidebar .portal-homes,.portal-sidebar .portal-sidebar-foot{width:100%}.portal-sidebar .portal-brand{justify-content:center;padding:0}.portal-sidebar .portal-brand-name,.portal-sidebar .portal-nav-label,.portal-sidebar .portal-home-caption{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.portal-sidebar .portal-home-field select{padding:0;color:transparent;background:var(--accent-tint)}.portal-sidebar .portal-home-field select:hover:not(:disabled){background:var(--accent-tint)}.portal-sidebar .portal-home-initial{position:absolute;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;color:var(--accent);font-size:16px;font-weight:600;pointer-events:none}.portal-sidebar .portal-home-chevron{display:none}.portal-sidebar .portal-item{justify-content:center;padding:0}.portal-sidebar .portal-sidebar-foot{padding-top:12px}.portal-sidebar .portal-item:after{content:attr(data-label) / "";position:fixed;transform:translate(calc(50% + 43.5px));padding:6px 10px;border-radius:8px;background:var(--text);color:var(--surface);font-size:13px;font-weight:500;white-space:nowrap;opacity:0;pointer-events:none;transition:opacity .12s}.portal-sidebar .portal-item:hover:after,.portal-sidebar .portal-item:focus-visible:after{opacity:1}}.is-phone .portal-column{padding:20px 16px calc(var(--portal-tabbar-h, var(--portal-tabbar-fallback)) + 28px)}.portal-phone-switch{display:flex;margin-bottom:16px}.portal-phone-switch .portal-home{display:block;min-width:0;max-width:100%}.portal-phone-switch .portal-home-caption{display:none}.portal-phone-switch .portal-home-field{display:inline-block;max-width:100%}.portal-phone-switch .portal-home-field select{width:auto;max-width:100%;padding:0 40px 0 18px;border-radius:999px;background:var(--surface);font-size:16px}.portal-phone-switch .portal-home-field select:hover:not(:disabled){background:var(--pressed)}.portal-phone-switch .portal-home-chevron{right:16px}.portal-tabbar{position:fixed;left:0;right:0;bottom:0;z-index:20;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:2px;padding:6px 6px calc(6px + env(safe-area-inset-bottom,0px));background:var(--surface);border-top:1px solid var(--separator)}.portal-tabbar>.portal-item,.portal-more-wrap>.portal-item{flex-direction:column;justify-content:center;gap:3px;width:auto;min-height:52px;padding:6px 2px;border-radius:12px;font-size:11px;font-weight:600;text-align:center}.portal-more-wrap{display:contents}.portal-more-scrim{position:fixed;top:0;right:0;bottom:0;left:0;z-index:-1}.portal-more{position:fixed;right:12px;bottom:calc(var(--portal-tabbar-h, var(--portal-tabbar-fallback)) + 8px);z-index:21;display:grid;gap:2px;width:min(240px,calc(100vw - 24px));padding:6px;border:1px solid var(--separator);border-radius:var(--radius-card);background:var(--surface);box-shadow:var(--tile-shadow)}.portal-more-separator{height:1px;margin:4px 8px;border:0;background:var(--separator)}:root{--portal-list-w: 720px}.page-title{display:flex;align-items:flex-start;gap:var(--space-md);margin-bottom:var(--space-xl)}.page-title.is-narrow{max-width:var(--portal-list-w)}.page-heading{flex:1;min-width:0}.page-title h1{font-size:30px;font-weight:600;letter-spacing:-.8px;line-height:1.15;overflow-wrap:break-word;text-wrap:balance}.page-subtitle{margin-top:4px;font-size:14px;color:var(--tertiary)}.page-actions{flex:none;display:flex;align-items:center;gap:var(--space-sm);margin:-5px -10px -5px 0}.page-action{flex:none;display:grid;place-items:center;width:44px;height:44px;margin:0;padding:0;border:0;border-radius:50%;background:none;color:var(--accent);cursor:pointer}.page-action:hover{background:var(--accent-tint)}.empty{display:grid;justify-items:center;gap:4px;padding:var(--space-xxl) var(--space-lg);border-radius:var(--radius-card);background:var(--tile-off);color:var(--tertiary);text-align:center}.empty-icon{margin-bottom:var(--space-xs)}.empty p{max-width:46ch}.empty.is-danger .empty-icon{color:var(--state-failed)}.empty.is-danger p{color:var(--secondary)}.empty>:is(.sm-btn,.sm-link){margin-top:var(--space-md)}.empty .sm-btn{min-height:44px;padding:0 var(--space-xl)}.empty .sm-btn-primary{min-height:52px}.page-nav{display:flex;align-items:center;justify-content:space-between;gap:var(--space-md);margin:calc(-1 * var(--space-sm)) 0 var(--space-xs)}.back-link{display:inline-flex;align-items:center;gap:2px;min-height:44px;margin-left:-6px;padding:0 14px 0 6px;border:0;border-radius:999px;background:none;color:var(--accent);font-size:16px;font-weight:500;cursor:pointer}.back-link:hover{background:var(--accent-tint)}.page-nav .sm-link,.page-actions .sm-link{display:inline-flex;align-items:center;min-height:44px;padding:0 var(--space-md);border-radius:999px;font-size:16px;white-space:nowrap}.page-nav .sm-link{margin-right:calc(-1 * var(--space-md))}.page-nav .sm-link:hover,.page-actions .sm-link:hover{background:var(--accent-tint)}.page-title h1:focus{outline:none}:root{--tile-success: #047857;--tile-danger: #dc2626;--tile-hover: color-mix(in srgb, var(--tile-on) 55%, var(--tile-off))}:root[data-theme=dark]{--tile-hover: color-mix(in srgb, var(--tile-off-text) 5%, var(--tile-off));--fill: #3cc8d6;--on-fill: #0b1120}.sm-device[data-on=true] .sm-toggle[aria-checked=true]{background:var(--brand-primary);color:var(--brand-on-primary)}.portal-shell .sm-device[data-on=true] .sm-status[data-state=idle]{color:color-mix(in srgb,var(--tile-on-text) 65%,var(--tile-on))}.portal-shell .sm-device[data-on=true] .sm-status:is([data-state=failed],[data-state=timed_out],[data-state=offline]){color:color-mix(in srgb,var(--tile-danger) 85%,var(--tile-on-text))}.device-toolbar{display:flex;flex-wrap:wrap;align-items:flex-start;gap:var(--space-md) var(--space-lg);margin-bottom:var(--space-xl)}.chip-row{flex:1 1 320px;min-width:0;display:flex;flex-wrap:wrap;gap:8px}.chip-row::-webkit-scrollbar{display:none}.chip{flex:none;max-width:220px;min-height:40px;padding:0 16px;border:0;border-radius:999px;background:var(--tile-off);color:var(--tile-off-text);font-size:15px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer;transition:background .15s}.chip:not([aria-pressed=true]):hover{background:var(--tile-hover)}.chip[aria-pressed=true]{background:var(--tile-on);color:var(--tile-on-secondary);font-weight:600;box-shadow:var(--tile-shadow)}.device-search{position:relative;flex:0 1 260px;min-width:0}.device-search svg{position:absolute;top:50%;left:14px;transform:translateY(-50%);color:var(--tertiary);pointer-events:none}.device-search input{display:block;width:100%;min-height:44px;padding:0 14px 0 42px;border:0;border-radius:999px;background:var(--surface);color:var(--text);font-size:16px;-webkit-appearance:none;-moz-appearance:none;appearance:none}.device-search input::placeholder{color:var(--tertiary)}.is-phone .chip-row{flex-basis:100%;flex-wrap:nowrap;margin:-4px -16px;padding:4px 16px;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none;scroll-padding-inline:16px}.is-phone .chip{min-height:44px}.is-phone .device-search{flex-basis:100%}.device-grid{grid-template-columns:repeat(auto-fill,minmax(160px,1fr))}.device-grid>*{min-width:0}.device-grid .sm-device.is-wide{grid-column:span 2}.device-grid .sm-device:not(.is-wide){min-height:auto;align-self:stretch;justify-self:stretch}.device-grid .sm-accessory-caption:has(.sm-device-note>:nth-child(3)) .sm-device-name{-webkit-line-clamp:1}@media(max-width:359.98px){.device-grid .sm-device:not(.is-wide):has(.sm-status:not(:empty):not([data-state=pending],[data-state=confirmed])) .sm-device-name{-webkit-line-clamp:1}.device-grid .sm-device:not(.is-wide):has(.sm-status:not(:empty):not([data-state=pending],[data-state=confirmed])) .sm-accessory-caption{gap:0}}.device-grid .sm-device:not(.is-wide) .sm-accessory{gap:4px}.device-grid .sm-device-name{overflow-wrap:anywhere}@media(max-width:479.98px){.device-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}.device-grid .sm-device[data-on=false]:not([data-quality=offline]):has(button.sm-accessory:not(:disabled):hover,.device-open.is-tile:hover){background:var(--tile-hover)}.device-open{position:absolute;top:6px;right:6px;z-index:1;display:grid;place-items:center;width:36px;height:36px;min-height:0;padding:0;border:0;border-radius:12px;background:none;color:var(--secondary);cursor:pointer}.device-open:before{content:"";position:absolute;top:-4px;right:-4px;bottom:-4px;left:-4px}.device-open:hover{background:color-mix(in srgb,currentColor 10%,transparent)}.sm-device[data-on=true] .device-open{color:var(--tile-on-secondary)}.device-open.is-tile{top:0;right:0;bottom:0;left:0;z-index:0;width:auto;height:auto;place-items:start end;padding:6px;border-radius:inherit}.device-open.is-tile:before{display:none}.device-open.is-tile:hover{background:none}.device-glyphs{display:grid;place-items:center;width:36px;height:36px}.device-glyph{grid-area:1 / 1;display:grid;place-items:center}.device-glyph[data-glyph=pending]{color:var(--accent)}.device-glyph[data-glyph=done]{color:var(--state-ok)}.device-glyph[data-glyph=alert]{color:var(--state-failed)}.sm-device[data-on=true] .device-glyph[data-glyph=pending]{color:var(--tile-on-secondary)}.sm-device[data-on=true] .device-glyph[data-glyph=done]{color:var(--tile-success)}.sm-device[data-on=true] .device-glyph[data-glyph=alert]{color:var(--tile-danger)}.device-glyph.is-done{animation:device-glyph-out .3s ease 2.5s forwards}.device-glyph.is-back{opacity:0;animation:device-glyph-in .3s ease 2.6s forwards}@keyframes device-glyph-out{to{opacity:0}}@keyframes device-glyph-in{to{opacity:1}}@media(prefers-reduced-motion:reduce){.device-glyph.is-done{animation:device-glyph-out .01s linear 2.5s forwards!important}.device-glyph.is-back{animation:device-glyph-in .01s linear 2.5s forwards!important}}.device-spinner{width:18px;height:18px;border:2px solid currentcolor;border-right-color:transparent;border-radius:50%;animation:device-spin .8s linear infinite}@keyframes device-spin{to{transform:rotate(360deg)}}.portal-shell .sm-accessory:disabled{opacity:1}.portal-shell :is(.sm-accessory,.chip,.page-action,.device-open,.back-link,.room-open,.icon-choice,.sheet-close,.sm-btn:not(.sm-btn-primary),.page-nav .sm-link,.page-actions .sm-link):hover:not(:disabled){opacity:1}.portal-shell .sm-segmented button:focus-visible{outline-offset:-2px}.portal-shell .sm-device:has(.device-open.is-tile:focus-visible){outline:2px solid var(--accent);outline-offset:2px}.portal-shell .device-open.is-tile:focus-visible{outline:none}@media(max-width:767.98px){.page-title h1{font-size:28px}}.section-title{font-size:17px;font-weight:600;letter-spacing:-.1px;margin:var(--space-xxl) 0 var(--space-md)}.notice{display:flex;align-items:center;gap:8px;margin:var(--space-md) 0;padding:10px 14px;border-radius:var(--radius-button);background:var(--surface);color:var(--secondary);font-size:14px}.notice{overflow-wrap:anywhere}.notice.is-danger{background:var(--state-failed-tint);color:color-mix(in srgb,var(--state-failed) 70%,var(--text))}.group{margin:0;padding:0;list-style:none;border-radius:var(--radius-card);background:var(--surface);overflow:hidden}.group-row{display:flex;align-items:center;justify-content:space-between;gap:var(--space-md);width:100%;min-height:50px;padding:12px 16px;border:0;border-radius:0;background:none;color:var(--text);font-size:15px;font-weight:400;text-align:left;text-decoration:none}.group>*+.group-row,.group>li+li .group-row{box-shadow:inset 0 1px 0 var(--separator)}.row-label{color:var(--secondary)}.row-value{font-weight:500;text-align:right;min-width:0;overflow-wrap:anywhere}.row-quiet{color:var(--tertiary)}.group-action{justify-content:flex-start;color:var(--accent);font-weight:500;cursor:pointer}.group-action:hover:not(:disabled),a.group-row:hover,button.group-row:hover:not(:disabled){background:var(--pressed);opacity:1}.group-action:disabled{opacity:.4;cursor:not-allowed}.group-form{display:grid;gap:var(--space-md);padding:var(--space-lg)}.group-form .sm-field :is(input,select){border-color:color-mix(in srgb,var(--tertiary) 50%,var(--surface))}.group-form .sm-field input::placeholder{color:var(--tertiary);opacity:1}.group-row:focus-visible{outline-offset:-2px}.group>.group-row:first-child{border-top-left-radius:var(--radius-card);border-top-right-radius:var(--radius-card)}.group>.group-row:last-child{border-bottom-left-radius:var(--radius-card);border-bottom-right-radius:var(--radius-card)}.group>li:first-child>.group-row{border-top-left-radius:var(--radius-card);border-top-right-radius:var(--radius-card)}.group>li:last-child>.group-row{border-bottom-left-radius:var(--radius-card);border-bottom-right-radius:var(--radius-card)}.sheet-field{display:grid;gap:6px}.portal-shell .sm-field-error{color:color-mix(in srgb,var(--state-failed) 70%,var(--text))}.portal-shell .sm-field input[aria-invalid=true]{border-color:var(--state-failed)}.sheet{position:fixed;inset:auto 0 0 0;margin:0;padding:0;border:0;width:100%;max-width:100%;height:auto;max-height:88dvh;border-radius:22px 22px 0 0;background:var(--canvas);color:var(--text);overflow:hidden;animation:sheet-up .18s ease-out}.sheet::backdrop{background:var(--backdrop);animation:fade-in .18s ease-out}.sheet:focus{outline:none}.sheet-body{display:block;max-height:88dvh;overflow-y:auto;overscroll-behavior:contain;padding:0 20px calc(28px + env(safe-area-inset-bottom));--sheet-head-clear: 96px;--sheet-foot-clear: 144px;scroll-padding-top:var(--sheet-head-clear);scroll-padding-bottom:var(--sheet-foot-clear)}.sheet-head{position:sticky;top:0;z-index:2;display:flex;align-items:flex-start;justify-content:space-between;gap:var(--space-md);margin:0 -20px;padding:20px 20px 12px;background:var(--canvas)}.sheet-head>div{min-width:0}.sheet .sheet-head h2{font-size:24px;font-weight:600;letter-spacing:-.6px;overflow-wrap:anywhere}.sheet-subtitle{margin-top:2px;font-size:14px;color:var(--tertiary);overflow-wrap:anywhere}.sheet-close{position:relative;flex:none;display:grid;place-items:center;width:32px;height:32px;min-height:0;padding:0;border:0;border-radius:50%;background:var(--subtle);color:var(--secondary);cursor:pointer}.sheet-close:before{content:"";position:absolute;top:-6px;right:-6px;bottom:-6px;left:-6px}.sheet-close:hover:not(:disabled){background:var(--pressed);color:var(--text);opacity:1}.sheet-section{display:grid;gap:var(--space-md);margin-top:var(--space-xl)}.sheet-section:empty{display:none}.sheet .section-title{margin-top:var(--space-xxl)}.sheet-stack{display:grid;gap:var(--space-md)}.sheet-stack>.notice{margin:0}.sheet-form{display:block}.sheet-form>*+*{margin-top:var(--space-md)}.sheet-foot{position:sticky;bottom:0;z-index:2;display:grid;gap:var(--space-sm);margin:var(--space-md) -20px 0;padding:var(--space-md) 20px calc(var(--space-md) + env(safe-area-inset-bottom));background:var(--canvas)}.sheet-foot>:empty{display:none}.sheet-foot .notice{margin:0}.sheet-body:has(.sheet-foot){padding-bottom:0}@media(min-width:900px){.sheet{inset:12px 12px 12px auto;width:440px;height:calc(100dvh - 24px);max-height:none;border-radius:22px;animation-name:sheet-in}.sheet-body{height:100%;max-height:none;padding-bottom:28px}}@keyframes sheet-up{0%{transform:translateY(24px);opacity:0}}@keyframes sheet-in{0%{transform:translate(24px);opacity:0}}@keyframes fade-in{0%{opacity:0}}@media(prefers-reduced-motion:reduce){.sheet,.sheet::backdrop{animation:none}}.portal-main:focus{outline:none}.sheet-controls .sm-tile-grid{grid-template-columns:minmax(0,1fr)}.sheet-controls .sm-device{aspect-ratio:auto;min-height:0;justify-content:flex-start;gap:12px;padding:16px}.sheet-controls .sm-accessory{flex-direction:row;align-items:center;justify-content:flex-start;flex:none;gap:12px}.device-setting .sm-device{min-height:0;padding:0;background:none;box-shadow:none;aspect-ratio:auto}.device-setting .sm-accessory{display:none}.device-setting .sm-device.is-wide{gap:0}.device-setting .sm-status{position:static;max-width:none}.activity-row{justify-content:flex-start}.activity-list>li:focus,.sheet .section-title:focus{outline:none}.activity-list>li:focus-visible>.group-row{outline:2px solid var(--accent);outline-offset:-2px}.activity-icon{flex:none;display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:var(--subtle);color:var(--tertiary)}.activity-icon[data-tone=danger]{background:var(--state-failed-tint);color:var(--state-failed)}.activity-label{flex:1;min-width:0;display:grid;gap:2px;font-weight:500;overflow-wrap:anywhere}.activity-time{flex:none;font-size:13px;color:var(--tertiary);white-space:nowrap}.room-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(148px,1fr));grid-auto-rows:1fr;gap:10px;margin:0;padding:0;list-style:none}.room-tile{position:relative;display:flex;min-height:112px;border-radius:var(--radius-tile);background:var(--tile-off);color:var(--tile-off-text);transition:background .15s,box-shadow .15s,transform .1s}.room-tile[data-on]{background:var(--tile-on);color:var(--tile-on-text);box-shadow:var(--tile-shadow)}.room-tile:not([data-on]):has(.room-open:hover){background:var(--tile-hover)}.room-tile:has(.room-open:active){transform:scale(.97)}.room-open{flex:1;min-width:0;display:flex;flex-direction:column;justify-content:space-between;min-height:112px;padding:14px;border:0;border-radius:inherit;background:none;color:inherit;font-weight:400;text-align:left;cursor:pointer}.room-tile-top{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.room-icon{flex:none;color:var(--tertiary)}.room-tile[data-on] .room-icon{color:var(--tile-on-secondary)}.room-offline{display:inline-flex;align-items:center;gap:4px;font-size:12px;font-weight:600;white-space:nowrap;color:color-mix(in srgb,var(--state-failed) 85%,var(--text))}.room-tile[data-on] .room-offline{color:color-mix(in srgb,var(--tile-danger) 85%,var(--tile-on-text))}.room-text{display:grid;gap:1px;margin-top:var(--space-md);min-width:0}.room-title{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;font-size:16px;font-weight:600;letter-spacing:-.1px;line-height:1.25}.room-state{font-size:13px;color:var(--tertiary)}.room-tile[data-on] .room-state{color:var(--tile-on-secondary)}@media(max-width:640px){.room-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}.portal-dialog .dialog-form{display:grid;gap:var(--space-lg);margin:0}.dialog-actions{display:grid;gap:var(--space-sm);margin-top:var(--space-sm)}.dialog-actions .sm-btn:not(.sm-btn-primary){min-height:44px}.icon-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:var(--space-sm);padding:var(--space-md);border-radius:var(--radius-card);background:var(--surface)}.icon-choice{display:grid;place-items:center;min-height:44px;aspect-ratio:1;padding:0;border:0;border-radius:var(--radius-button);background:none;color:var(--secondary);cursor:pointer}.icon-choice:not([aria-pressed=true]):hover{background:var(--pressed)}.icon-choice[aria-pressed=true]{background:var(--accent-tint);color:var(--accent)}@media(max-width:359.98px){.icon-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}.scene-list,.scene-list+.group-footer{max-width:var(--portal-list-w)}.scene-row{gap:var(--space-md);padding-block:8px}.scene-icon{flex:none;display:grid;place-items:center;width:24px;color:var(--secondary)}.scene-text{flex:1;min-width:0;display:grid;gap:2px}.scene-name{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;font-weight:500}.scene-detail{font-size:13px;color:var(--tertiary)}.scene-run{position:relative;flex:none;min-height:32px;padding:0 var(--space-md);color:var(--accent);font-weight:600}.scene-run:before{content:"";position:absolute;top:-6px;right:-2px;bottom:-6px;left:-2px}.scene-run .device-spinner{width:16px;height:16px}.scene-run:disabled{opacity:.4}.scene-run[aria-busy=true]:disabled{opacity:1;cursor:progress}.scene-result{margin-top:calc(-1 * var(--space-xs));padding:0 var(--space-lg) var(--space-md) calc(var(--space-lg) + 24px + var(--space-md))}.scene-message{font-size:13px;color:var(--secondary);overflow-wrap:anywhere}.scene-message.is-danger{color:var(--state-failed)}.scene-failures{display:grid;gap:var(--space-xs);margin:var(--space-sm) 0 0;padding:0;list-style:none;font-size:13px}.scene-failures li{display:grid}.scene-failures li>:first-child{font-weight:500;color:var(--text);overflow-wrap:anywhere}.scene-failures li>:last-child{color:var(--state-failed)}.group-footer{margin:var(--space-sm) var(--space-xs) 0;font-size:13px;color:var(--tertiary)}.group-column{max-width:var(--portal-list-w)}.page-title+.group-column>.section-title:first-child,.page-title+.group-column>.incoming:first-child>.section-title{margin-top:0}.empty+.group-column{margin-top:var(--space-xxl)}.member-row{padding-block:10px}.row-icon{flex:none;margin:0 2px;color:var(--secondary)}.row-chevron{flex:none;color:var(--tertiary)}.row-text{flex:1;min-width:0;display:grid;gap:2px}.row-title{font-weight:500;overflow-wrap:anywhere}.row-detail{font-size:13px;color:var(--tertiary);overflow-wrap:anywhere}.row-parts{flex:1;min-width:0;display:flex;flex-wrap:wrap;column-gap:12px;overflow:hidden}.row-part{white-space:nowrap}.row-part+.row-part{position:relative}.row-part+.row-part:before{content:"·";content:"·" / "";position:absolute;left:-8px}.row-detail.is-problem{display:flex;align-items:flex-start;gap:4px;color:color-mix(in srgb,var(--state-failed) 70%,var(--text))}.row-detail.is-problem svg{flex:none;margin-top:2px}.row-action{flex:none;margin-block:-12px;padding-inline:var(--space-sm)}.row-action:hover:not(:disabled){opacity:1;text-decoration:underline}.avatar{flex:none;display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--accent-tint);color:var(--accent);font-size:13px;font-weight:600;overflow:hidden}.avatar img{display:block;width:100%;height:100%;object-fit:cover}.you-tag{display:inline-block;margin-left:var(--space-sm);padding:1px 8px;border-radius:999px;background:var(--subtle);color:var(--secondary);font-size:12px;font-weight:500;white-space:nowrap}.badge{flex:none;padding:3px 10px;border-radius:999px;background:var(--subtle);color:var(--secondary);font-size:12px;font-weight:500;white-space:nowrap}.badge[data-tone=accent]{background:var(--accent-tint);color:var(--accent)}.badge[data-tone=success]{background:var(--state-ok-tint);color:var(--state-ok)}.form-stack{display:grid;gap:var(--space-md)}.group+.form-stack,.muted+.form-stack{margin-top:var(--space-md)}.field-hint{font-size:13px;color:var(--tertiary)}@media(min-width:640px){.form-stack>.sm-btn-primary{justify-self:start;padding:0 var(--space-xxl)}}.incoming-row{gap:var(--space-md);padding-block:14px}.incoming-row .avatar{width:40px;height:40px}.incoming-accept{position:relative;flex:none;min-height:36px;padding:0 var(--space-lg);border-radius:var(--radius-button);font-size:14px}.incoming-accept:before{content:"";position:absolute;top:-4px;right:-2px;bottom:-4px;left:-2px}@media(max-width:479.98px){.incoming-row{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:start;gap:var(--space-md)}.incoming-accept{grid-column:2;justify-self:start;min-height:44px}.incoming-accept:before{display:none}}.home-plus{display:grid;gap:var(--space-md)}.row-icon.is-active{color:var(--accent)}.row-icon.is-pending{color:var(--state-pending)}.plan-toggle{display:inline-flex;align-items:center;gap:2px;white-space:nowrap}.subscription-row{align-items:flex-start}.subscription-row .row-icon{margin-top:2px}.subscription-row .row-detail{font-size:14px;color:var(--secondary)}.subscription-row .subscription-terms{margin-top:var(--space-xs);font-size:13px;color:var(--tertiary)}.subscription-row .subscription-terms strong{color:var(--text);font-weight:600}.subscription-actions{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,10.5rem),14rem));gap:var(--space-sm);margin-top:var(--space-md)}.subscription-actions .plan-choose{white-space:normal}.plan-choose{flex:none;min-height:44px;padding:0 var(--space-lg);border-radius:var(--radius-button);background:var(--accent-tint);color:var(--accent);font-size:14px;font-weight:600;white-space:nowrap}.plan-choose.is-quiet{background:var(--subtle);color:var(--text)}.plan-row .plan-choose{min-width:9.5rem}.plan-row .row-detail strong{color:var(--text);font-weight:600}.group-note{display:grid;gap:var(--space-xs);margin:0 var(--space-xs);font-size:13px;color:var(--tertiary);overflow-wrap:anywhere}.home-plus .notice{margin:0}.home-plus .notice+.notice{margin-top:var(--space-sm)}.plans-panel{display:grid;gap:var(--space-md);margin-top:var(--space-sm)}.plans-panel h3{margin-top:var(--space-md);font-size:15px;font-weight:600;letter-spacing:0;line-height:1.3}.plans-panel h3:first-child{margin-top:0}.plans-intro{margin-top:calc(-1 * var(--space-sm));font-size:14px;color:var(--secondary)}.benefits{display:grid;gap:var(--space-sm);margin:0;padding:0;list-style:none;font-size:14px;color:var(--secondary)}.benefits li{display:flex;align-items:flex-start;gap:var(--space-sm)}.benefits svg{flex:none;margin-top:2px;color:var(--accent)}.plans-note{font-size:13px;color:var(--tertiary)}.portal-main{min-width:0}.portal-main h2{font-size:17px;font-weight:600}.section-intro{margin-bottom:20px;max-width:65ch;color:var(--secondary);line-height:1.5}.portal-dialog{position:fixed;width:min(560px,calc(100% - 32px));max-height:calc(100dvh - 32px);padding:24px;border:0;border-radius:22px;background:var(--canvas);color:var(--text)}.portal-dialog::backdrop{background:var(--backdrop)}.dialog-title{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:20px}.portal-dialog .dialog-title h2{font-size:24px;font-weight:600;letter-spacing:-.6px;overflow-wrap:anywhere}.portal-dialog form{display:grid;gap:16px;margin-bottom:24px}.portal-dialog h3{font-size:17px;font-weight:600;margin:20px 0 12px}@media(min-width:900px){.portal-dialog{inset:12px 12px 12px auto;margin:0;width:440px;height:calc(100dvh - 24px);max-height:none;border-radius:22px;padding:20px}}@media(max-width:480px){.portal-dialog{inset:auto 0 0;margin:0;width:100%;max-width:100%;max-height:85dvh;border-radius:22px 22px 0 0;padding:20px 16px max(20px,env(safe-area-inset-bottom))}}.activity-feed,.activity-toolbar{max-width:var(--portal-list-w)}.activity-feed>.section-title:first-child{margin-top:0}.activity-feed>.notice+.section-title{margin-top:var(--space-lg)}.activity-feed .activity-row{padding-block:8px}.activity-device{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:13px;font-weight:400;color:var(--tertiary);overflow-wrap:anywhere}.activity-feed>.activity-more{margin-top:var(--space-lg)}.activity-pending .device-spinner{flex:none;width:14px;height:14px}.group-action[aria-busy=true]{cursor:progress}.activity-notice>span{flex:1;min-width:0}.notice-action{flex:none;margin:-10px -6px -10px 0;padding:0 var(--space-md);min-height:44px;background:none;color:inherit;font-weight:600;text-decoration:underline}.portal-shell .notice-action:hover:not(:disabled){background:none;opacity:1}.notice-action[aria-busy=true]{cursor:progress;text-decoration:none}.device-select{position:relative;flex:0 1 260px;min-width:0}.device-select select{display:block;width:100%;min-height:44px;padding:0 40px 0 16px;border:0;border-radius:999px;background:var(--surface);color:var(--text);font-size:16px;text-overflow:ellipsis;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none}.device-select select:hover{background:var(--pressed)}.device-select option{background:var(--surface);color:var(--text)}.device-select-chevron{position:absolute;top:50%;right:14px;transform:translateY(-50%);color:var(--tertiary);pointer-events:none}.is-phone .device-select{flex-basis:100%}.activity-toolbar .chip-row{flex-basis:200px}.activity-toolbar .chip{min-height:44px}.activity-filters{display:flex;flex:0 1 auto;align-items:center;gap:var(--space-sm);min-width:0}.activity-filters .device-select{flex:0 1 160px;min-width:120px}.is-phone .activity-toolbar .chip-row{flex-basis:100%}.is-phone .activity-filters{flex:1 1 100%}.is-phone .activity-filters .device-select{flex:1 1 0}.page-action[aria-busy=true] svg{animation:device-spin .8s linear infinite}@media(prefers-reduced-motion:reduce){.page-action[aria-busy=true] svg{animation:none!important}}
