/* Langage visuel commun de l’espace domestique Lyra. Chargé après les vues. */
.lyra-user{--lyra-card:#fff;--lyra-border:#e7e3dc;--lyra-radius:22px;min-height:100svh;background:radial-gradient(ellipse at 100% 30%,#f2e9dd 0,transparent 42%),#f7f6f1}
.lyra-user .app-header{background:#fffefb}
.lyra-user .homes-main,.lyra-user .user-main{max-width:1120px;margin:auto;padding:32px 40px 24px}
.lyra-user h1{font-size:clamp(36px,4vw,49px);letter-spacing:-2px;line-height:1.1}
.lyra-user h2{letter-spacing:-.6px;line-height:1.25}
.lyra-user .page-heading p,.lyra-user .illustrated-heading p,.lyra-user .creation-layout>section>p,.lyra-user .house-hero p,.lyra-user .smart-hero p{font-size:18px;line-height:1.65;max-width:660px;color:#536052}
.lyra-user .illustrated-heading{display:grid;grid-template-columns:minmax(0,2.2fr) minmax(210px,1fr);align-items:center;gap:36px;margin-bottom:34px}
.lyra-user .illustrated-heading h1{margin:0 0 18px}.lyra-user .illustrated-heading p{margin:0 0 23px}
.lyra-user .page-illustration{width:100%;max-width:285px;justify-self:end;position:relative;isolation:isolate;padding:12px}
.lyra-user .page-illustration::before{content:"";position:absolute;inset:2% 3%;background:#ede8df;border-radius:45% 55% 42% 58%;transform:rotate(-8deg);z-index:-1}
.lyra-user .page-illustration svg{width:100%;height:auto;display:block}
.lyra-user .services-intro-art .page-illustration{padding:0;max-width:none}.lyra-user .services-intro-art .page-illustration::before{display:none}
.lyra-user .panel,.lyra-user .home-card,.lyra-user .form-card,.lyra-user .edit-form,.lyra-user .delete-panel,.lyra-user .provider-detail,.lyra-user .import-main,.lyra-user .import-aside,.lyra-user .personal-empty,.lyra-user .equipment-empty{background:var(--lyra-card);border:1px solid var(--lyra-border);border-radius:var(--lyra-radius);box-shadow:0 8px 22px #4c463407}
.lyra-user .panel{padding:27px}.lyra-user .panel p{font-size:16px;line-height:1.7}.lyra-user .panel .small{font-size:14px}.lyra-user .panel h2{font-size:22px}
.lyra-user .account-grid{gap:20px}.lyra-user .account-grid dl{font-size:16px}.lyra-user .account-grid dt{font-size:12px}.lyra-user .account-grid dd{overflow-wrap:anywhere}
.lyra-user .home-grid{gap:20px}.lyra-user .home-card{overflow:hidden;transition:transform .18s,box-shadow .18s,border-color .18s}.lyra-user .home-card:hover{transform:translateY(-4px);border-color:#bcbea9;box-shadow:0 14px 30px #4c463411}
.lyra-user .card-landscape{background:#eeeadf}.lyra-user .home-card:nth-child(3n+2) .card-landscape{background:#eee8f3}.lyra-user .home-card:nth-child(3n) .card-landscape{background:#f5e4d5}
.lyra-user .card-copy h3{font-size:23px}.lyra-user .card-copy p{font-size:15px}.lyra-user .house-hero{background:transparent;border:0;padding:0;gap:32px;margin:24px 0 34px}.lyra-user .house-hero .page-illustration{flex-shrink:0}
.lyra-user .next-step{background:#fff;border:1px solid var(--lyra-border);border-radius:22px;padding:26px}.lyra-user .next-step p{font-size:16px}
.lyra-user .quiet-grid>div{background:#fff;border:1px solid var(--lyra-border);border-radius:20px;padding:22px}.lyra-user .quiet-grid p{font-size:15px}.lyra-user .quiet-grid small{font-size:12px}.lyra-user .quiet-grid h3{font-size:19px}
.lyra-user .first-home{background:#fff;border:1px solid var(--lyra-border);border-radius:24px;min-height:350px}.lyra-user .first-copy h2{font-size:36px}.lyra-user .first-copy p{font-size:17px}
.lyra-user .creation-layout{gap:36px}.lyra-user .name-preview{background:#eeeade;border-radius:22px}.lyra-user .form-section{border-color:var(--lyra-border)}.lyra-user .form-section p{font-size:16px}.lyra-user .form-section .small{font-size:13px;line-height:1.65}.lyra-user label{font-size:14px}
.lyra-user .smart-hero{background:transparent;border:0;padding:0;gap:35px;border-radius:0}.lyra-user .smart-hero h1{font-size:clamp(36px,4vw,49px)}.lyra-user .smart-summary{background:#fff;border:1px solid var(--lyra-border);border-radius:22px;box-shadow:0 8px 22px #4c463407}.lyra-user .smart-summary strong{font-size:64px}.lyra-user .smart-summary span{font-size:17px}.lyra-user .smart-summary small{font-size:13px}
.lyra-user .service-next-action{background:#fff;border:1px solid var(--lyra-border);border-radius:22px}.lyra-user .service-next-action p,.lyra-user .provider-detail p,.lyra-user .import-main p,.lyra-user .import-aside p{font-size:16px;line-height:1.7}.lyra-user .service-next-action small{font-size:12px}.lyra-user .services-heading p{font-size:15px}
.lyra-user .device-picker{border-radius:24px}.lyra-user .picker-heading p{font-size:16px;line-height:1.7}.lyra-user .catalog-service-copy p{font-size:13px}.lyra-user .catalog-service-copy small{font-size:12px}.lyra-user .connection-journey strong{font-size:14px}.lyra-user .connection-journey small{font-size:12px}
/* Les états d’interaction sont partagés sur tous les parcours utilisateur. */
.lyra-user .button,.lyra-auth .button{border-radius:14px;min-height:46px;font-size:14px;transition:background .15s,box-shadow .15s,transform .15s}
.lyra-user .button:not(:disabled):not([aria-disabled=true]):hover,.lyra-auth .button:not(:disabled):not([aria-disabled=true]):hover{box-shadow:0 5px 14px #344b3b18;filter:brightness(.96)}
.lyra-user .button:not(:disabled):not([aria-disabled=true]):active,.lyra-auth .button:not(:disabled):not([aria-disabled=true]):active{transform:translateY(1px);box-shadow:inset 0 2px 5px #0002}
.lyra-user .button:disabled,.lyra-user .button[aria-disabled=true],.lyra-auth .button:disabled{opacity:.5;cursor:not-allowed;box-shadow:none}
.lyra-user [aria-busy=true] .button{cursor:progress}
.lyra-user .app-header nav{gap:7px}.lyra-user .app-header nav a{display:inline-flex;align-items:center;justify-content:center;min-height:43px;padding:10px 15px;border:1px solid transparent;border-radius:13px;font-size:14px;text-decoration:none;color:#6b7668;transition:background .15s,color .15s,box-shadow .15s}
.lyra-user .app-header nav a:hover{background:#f0eee7;color:#334c3b}.lyra-user .app-header nav a[aria-current=page]{background:#e8eddf;color:#344f36;border-color:#d9e2cc;font-weight:650;box-shadow:inset 0 -2px 0 #c4d3af}.lyra-user .app-header nav a:active{background:#dfe6d5}
.lyra-user a:focus-visible,.lyra-user button:focus-visible,.lyra-user input:focus-visible,.lyra-user select:focus-visible,.lyra-auth .button:focus-visible{outline:3px solid #6c8a37;outline-offset:4px}
.lyra-user .name-suggestions button:hover{background:#eeeadf}.lyra-user .name-suggestions button:active{background:#e4dfcf}
@media(max-width:850px){.lyra-user .illustrated-heading{grid-template-columns:minmax(0,2fr) minmax(160px,1fr);gap:24px}.lyra-user .app-header nav a{padding:9px 11px}}
@media(max-width:600px){.lyra-user .homes-main,.lyra-user .user-main{padding:26px 22px 20px}.lyra-user .illustrated-heading{position:relative;grid-template-columns:1fr;gap:15px}.lyra-user .illustrated-heading>.page-illustration{position:absolute;right:0;top:-9px;width:105px;padding:2px;pointer-events:none}.lyra-user .illustrated-heading h1{font-size:35px;max-width:calc(100% - 110px);overflow-wrap:anywhere}.lyra-user .illustrated-heading p,.lyra-user .page-heading p,.lyra-user .smart-hero p{font-size:17px}.lyra-user .house-hero{gap:14px}.lyra-user .house-hero .page-illustration{width:100px}.lyra-user .panel{padding:22px}.lyra-user .first-copy h2{font-size:30px}.lyra-user .app-header nav{gap:3px;flex-wrap:wrap}.lyra-user .app-header nav a{padding:9px 10px;font-size:12px;min-height:42px}.lyra-user .service-next-action p{font-size:16px}}
@media(prefers-reduced-motion:reduce){.lyra-user .button,.lyra-auth .button,.lyra-user .app-header nav a,.lyra-user .home-card{transition:none}.lyra-user .home-card:hover,.lyra-user .button:active{transform:none}}
@media print{.lyra-user{background:#fff}.lyra-user .app-header,.lyra-user .page-illustration{display:none}.lyra-user .panel{box-shadow:none}}
/* Fiche service : connexion, appareils, ajout, puis réglages. */
.lyra-user .smart-hero.is-connected{grid-template-columns:minmax(0,1fr) 190px;align-items:center;padding-bottom:28px;border-bottom:1px solid #e4ded3;margin-bottom:28px}
.lyra-user .smart-hero.is-connected h1{font-size:35px;margin:15px 0 12px}.lyra-user .smart-hero.is-connected p{font-size:17px}.lyra-user .smart-hero.is-connected .eyebrow{display:none}.lyra-user .smart-hero.is-connected .provider-logo{height:56px;width:150px;padding:7px}.lyra-user .smart-hero.is-connected .smart-summary{background:#eee8f3;border:0;padding:24px 16px}.lyra-user .smart-hero.is-connected .smart-summary strong{font-size:46px;color:#75617f}.lyra-user .smart-hero.is-connected .smart-summary span{font-size:13px}.lyra-user .smart-hero.is-connected .smart-summary small{display:none}
.lyra-user .personal-device-section{margin:0 0 32px}.lyra-user .personal-device-section .services-heading{margin:0 0 20px}.lyra-user .personal-device-section .services-heading p{font-size:16px;max-width:650px}.lyra-user .personal-device-section .discovered-grid{gap:18px}
.lyra-user .device-card{padding:23px;border-radius:22px;border:1px solid #e7e3dc;box-shadow:0 7px 20px #4c463407;background:#fff;--device-accent:#ece8f3;--device-ink:#79658b}
.lyra-user .device-card.type-oven{--device-accent:#f9e5d5;--device-ink:#b07951}.lyra-user .device-card.type-fridge{--device-accent:#dfeef1;--device-ink:#59828a}.lyra-user .device-card.type-shade{--device-accent:#f4edcf;--device-ink:#988347}.lyra-user .device-card.type-light{--device-accent:#fbefbe;--device-ink:#a98b30}.lyra-user .device-card.type-speaker{--device-accent:#e4e9f6;--device-ink:#657aab}
.lyra-user .device-card .device-card-picto{background:var(--device-accent);color:var(--device-ink);width:62px;height:62px;border-radius:19px}.lyra-user .device-card .device-card-picto svg{width:49px;height:44px;color:inherit}.lyra-user .device-card h3{font-size:20px;line-height:1.25}.lyra-user .device-kind-label{font-size:10px;color:var(--device-ink)}.lyra-user .device-linked-service{font-size:11px;margin:14px 0 0}.lyra-user .device-card .device-state-panel{margin-top:17px}.lyra-user .device-card .device-state-pill{font-size:17px}.lyra-user .device-card .device-state-metrics{margin:12px 0 0;gap:8px}.lyra-user .device-card .device-state-metrics>div{background:var(--device-accent);padding:10px;border-radius:12px}.lyra-user .device-card .device-state-metrics small{font-size:10px}.lyra-user .device-card .device-state-metrics strong{font-size:16px;margin-top:3px}.lyra-user .device-card .device-state-bottom{display:none}.lyra-user .device-state-metrics:empty{display:none}.lyra-user .device-card .device-card-link{position:static;display:block;padding:0;margin:0;border:0;min-height:0;height:0}.lyra-user .device-card .device-card-link::after{border-radius:22px}.lyra-user .device-card .device-card-link:focus-visible::after{outline:3px solid #6c8a37;outline-offset:4px}.lyra-user .device-card .power-pending{display:none}.lyra-user .device-card .device-power-form:has([data-power-control][hidden]){display:none}.lyra-user .device-card .device-power-form{margin-top:15px;padding-top:10px}.lyra-user .device-card .device-power-toggle{min-height:38px}
.lyra-user .service-next-action{margin:28px 0;padding:24px;background:#f2eee5;border:1px solid #e3ddce}.lyra-user .service-next-action h2{font-size:23px}.lyra-user .service-next-action p{font-size:15px}.lyra-user .service-next-action .eyebrow{color:#95815e}.lyra-user .smart-disconnect{background:#fff;border:1px solid #e7e3dc;border-radius:18px;padding:18px 22px;margin-top:24px}.lyra-user .smart-disconnect>summary{font-size:15px;font-weight:600;cursor:pointer}
@media(max-width:600px){.lyra-user .smart-hero.is-connected{grid-template-columns:1fr;gap:18px}.lyra-user .smart-hero.is-connected h1{font-size:31px}.lyra-user .smart-hero.is-connected .smart-summary{display:flex;align-items:center;justify-content:flex-start;gap:12px;padding:15px 20px}.lyra-user .smart-hero.is-connected .smart-summary strong{font-size:34px}.lyra-user .device-card{padding:20px}.lyra-user .service-next-action{padding:20px}}

.lyra-user .service-settings-toolbar{display:flex;justify-content:flex-end;margin:-30px 0 22px}.lyra-user .service-settings-toolbar .button{font-size:13px;gap:8px}.lyra-user .local-service-test{max-width:760px}.lyra-user .service-compact-info{padding-bottom:14px}@media(max-width:600px){.lyra-user .service-settings-toolbar{margin:0 0 20px;justify-content:flex-start}}
/* Une grille régulière, quel que soit le type ou les données reçues. */
.lyra-user .discovered-grid:has(>.device-card){align-items:stretch;grid-auto-rows:1fr}
.lyra-user .discovered-grid>.device-card{height:100%;min-height:285px;display:flex;flex-direction:column}
.lyra-user .device-card-heading{min-height:65px;align-items:center}
.lyra-user .device-card .device-card-title{min-width:0}
.lyra-user .device-card h3{overflow-wrap:anywhere}
.lyra-user .device-card .device-state-panel{flex:1;display:flex;flex-direction:column}
.lyra-user .device-card .device-power-form{margin-top:auto;padding-top:12px}
.lyra-user .device-card .device-state-metrics{margin-bottom:10px}
@media(max-width:600px){.lyra-user .discovered-grid>.device-card{min-height:275px}}
/* Paramètres de connexion : statut explicite et sections alignées. */
.lyra-user .connection-settings-page{width:100%;max-width:800px;margin:0 auto}
.lyra-user .connection-settings-page .page-heading h1{font-size:clamp(32px,3.5vw,42px);margin-top:0}
.lyra-user .connection-settings-page .page-heading{margin-bottom:24px}
.lyra-user .connection-settings-page>.local-service-test,.lyra-user .connection-settings-page>.connection-disconnect,.lyra-user .connection-settings-page>.connection-status-card{width:100%;max-width:none;margin:0 0 20px;box-sizing:border-box}
.lyra-user .connection-settings-page>.local-service-test{padding:28px 30px;border-radius:22px;background:#fff;border-color:#e7e3dc}
.lyra-user .connection-status-card{display:flex;align-items:center;gap:15px;padding:20px 25px;border:1px solid #d9e3ce;border-radius:19px;background:#eff3e8}
.lyra-user .connection-status-icon{display:grid;place-items:center;width:39px;height:39px;flex:none;background:#dee8d1;border-radius:13px;color:#4f6d3e;font-size:21px}
.lyra-user .connection-status-card strong{font-size:17px}.lyra-user .connection-status-card p{font-size:14px;line-height:1.6;margin:6px 0 0;color:#697861}
.lyra-user .connection-status-card.needs-connection{background:#faf0e3;border-color:#ead8be}.lyra-user .needs-connection .connection-status-icon{background:#f0dfc5;color:#98713a}
.lyra-user .connection-disconnect{padding:0;background:#fff;border:1px solid #e7e3dc;border-radius:22px;overflow:hidden}
.lyra-user .connection-disconnect>summary{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:24px 30px;list-style:none;cursor:pointer;color:#33483a}
.lyra-user .connection-disconnect>summary::-webkit-details-marker{display:none}.lyra-user .connection-disconnect>summary::marker{content:""}
.lyra-user .disconnect-copy{display:flex;flex-direction:column;gap:7px}.lyra-user .disconnect-copy strong{font-size:16px;font-weight:600}.lyra-user .disconnect-copy>span{font-size:13px;color:#7c8275}
.lyra-user .disconnect-trigger{display:inline-flex;align-items:center;gap:13px;padding:11px 15px;border:1px solid #ecd7ce;background:#fcf5f1;border-radius:12px;font-size:12px;font-weight:600;color:#a05b48;white-space:nowrap}
.lyra-user .connection-disconnect>summary:hover .disconnect-trigger{background:#f7e9e1;border-color:#dcbdaf}.lyra-user .connection-disconnect>summary:focus-visible{outline:3px solid #6c8a37;outline-offset:-4px}
.lyra-user .disconnect-confirmation{padding:0 30px 26px;border-top:1px solid #f0ebe3}.lyra-user .disconnect-confirmation p{font-size:14px;line-height:1.7;margin-top:20px}.lyra-user .disconnect-checkbox{display:flex;align-items:center;gap:10px;margin:18px 0;font-size:13px}.lyra-user .disconnect-checkbox input{width:18px;min-height:18px;height:18px;margin:0;flex:none}.lyra-user .disconnect-confirm-button{background:#9c5545;border:1px solid #9c5545;color:#fff}
.lyra-user .connection-settings-page .smart-token-form .button{width:auto;min-width:190px}
@media(max-width:600px){.lyra-user .connection-settings-page>.local-service-test{padding:22px}.lyra-user .connection-disconnect>summary{padding:22px;flex-wrap:wrap;gap:16px}.lyra-user .disconnect-confirmation{padding:0 22px 22px}.lyra-user .connection-status-card{padding:18px}.lyra-user .connection-settings-page .smart-token-form .button{width:100%}}
.lyra-user .device-control-hub{max-width:900px}.lyra-user .device-control-hub .picker-heading{padding-bottom:10px}.lyra-user .control-hub-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding:0 30px 30px}.lyra-user .hub-tile{background:#f0edf5;border:1px solid #e4dfed;border-radius:20px;padding:22px;min-width:0}.lyra-user .hub-tile.hub-speaker{background:#eaf0f8;border-color:#dce5f1}.lyra-user .hub-tile.hub-oven{background:#fbecdf;border-color:#efddce}.lyra-user .hub-tile.hub-light{background:#f9f1d4;border-color:#ece1b9}.lyra-user .hub-tile.hub-shade{background:#eeecd9}.lyra-user .hub-tile h3{font-size:20px;letter-spacing:-.6px;margin:0 0 19px}.lyra-user .hub-tile form{margin:12px 0 0;display:flex;flex-direction:column;gap:12px}.lyra-user .hub-tile form label{font-size:13px;line-height:1.6}.lyra-user .hub-tile select,.lyra-user .hub-tile input:not([type=checkbox]){width:100%;max-width:100%;margin-top:8px}.lyra-user .hub-tile select{white-space:normal}.lyra-user .hub-tile .button{background:#fff;border:1px solid #d5d8cc;color:#3c503f;min-height:44px;font-size:13px}.lyra-user .hub-tile .hub-range-label{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px}.lyra-user .hub-range-label output{font-size:27px;font-weight:650;letter-spacing:-1px}.lyra-user .hub-tile input[type=range]{appearance:auto;min-height:28px;accent-color:#5a7350;padding:0;border:0;background:transparent;cursor:pointer}.lyra-user .hub-switch{display:flex;align-items:center;justify-content:space-between;gap:15px;min-height:45px}.lyra-user .hub-switch input{appearance:none;position:relative;width:49px;height:29px;min-height:29px;border-radius:30px;background:#c7ccbf;border:0;padding:0;margin:0;cursor:pointer}.lyra-user .hub-switch input::after{content:"";position:absolute;top:4px;left:4px;width:21px;height:21px;background:white;border-radius:50%;box-shadow:0 1px 4px #0002}.lyra-user .hub-switch input:checked{background:#355c47}.lyra-user .hub-switch input:checked::after{transform:translateX(20px)}.lyra-user .hub-loading{font-size:16px;color:#7b8175}@media(max-width:600px){.lyra-user .control-hub-grid{grid-template-columns:1fr;padding:0 18px 22px;gap:13px}.lyra-user .hub-tile{padding:20px}}
.lyra-user .hub-remote-pad{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.lyra-user .hub-remote-pad button{min-height:48px;border:1px solid #d7d0e0;border-radius:14px;background:#fff;color:#635273;font-size:13px;font-weight:600}.lyra-user .hub-remote-pad button:nth-child(5){background:#77658a;color:#fff;border-color:#77658a}.lyra-user .hub-remote-pad button:hover{background:#e3d9ef}.lyra-user .hub-remote-pad button:active{transform:translateY(1px)}
.lyra-user .device-control-hub .device-detail-state{background:#f6f7f1;padding:15px 20px;margin-bottom:20px}.lyra-user .device-control-hub .device-state-panel{margin-top:0}.lyra-user .device-control-hub .device-state-bottom{display:none}.lyra-user .device-control-hub .type-tv .device-state-metrics,.lyra-user .device-control-hub .type-speaker .device-state-metrics{display:none}.lyra-user .device-control-hub .type-tv,.lyra-user .device-control-hub .type-speaker{display:grid;grid-template-columns:1fr minmax(150px,220px);align-items:center;gap:15px}.lyra-user .device-control-hub .type-tv .device-power-form,.lyra-user .device-control-hub .type-speaker .device-power-form{margin:0;padding:0;border:0}.lyra-user .device-control-hub .device-state-pill{font-size:19px}@media(max-width:500px){.lyra-user .device-control-hub .type-tv,.lyra-user .device-control-hub .type-speaker{grid-template-columns:1fr}.lyra-user .device-control-hub .device-detail-state{padding:14px 18px}}
/* État de connexion identique sur chaque fournisseur et ses paramètres. */
.lyra-user .service-connection-state{display:flex;align-items:center;gap:10px;padding:13px 16px;margin:17px 0 0;width:fit-content;max-width:100%;border-radius:14px;border:1px solid #d6e1c9;background:#edf3e5;color:#49683b}
.lyra-user .service-connection-state strong{font-size:14px;font-weight:650}.lyra-user .service-state-dot{width:8px;height:8px;border-radius:50%;background:#769a58;box-shadow:0 0 0 4px #e1ebd5;flex:none}
.lyra-user .service-connection-state.state-expired,.lyra-user .service-connection-state.state-disconnected{background:#fbefdf;border-color:#ead4b4;color:#986a35}.lyra-user .state-expired .service-state-dot,.lyra-user .state-disconnected .service-state-dot{background:#c69551;box-shadow:0 0 0 4px #f3e3cb}
.lyra-user .service-connection-state.state-unavailable{background:#eeece8;border-color:#dfdbd3;color:#7c7d71}.lyra-user .state-unavailable .service-state-dot{background:#9a9c90;box-shadow:none}
.lyra-user .service-reconfigure{font-size:12px;font-weight:650;display:inline-flex;align-items:center;gap:12px;padding:8px 12px;margin:-5px -7px -5px 20px;border-radius:10px;text-decoration:none;background:#fffaf2;border:1px solid #e6d2b2}.lyra-user .service-reconfigure:hover{background:#f2dfbf}
.lyra-user .connection-settings-page>.service-connection-state{margin:0 0 20px;width:100%;padding:18px 24px}.lyra-user .connection-settings-page .service-reconfigure{margin-left:auto}
@media(max-width:500px){.lyra-user .service-connection-state{flex-wrap:wrap}.lyra-user .service-reconfigure{margin-left:7px}.lyra-user .connection-settings-page>.service-connection-state{padding:17px 20px}}
/* Hub compact : en-tête fixe, seule la zone de commandes défile. */
.lyra-user .device-control-hub{width:min(760px,calc(100vw - 28px));max-width:760px;max-height:calc(100dvh - 28px);overflow:hidden}
.lyra-user .device-control-hub[open]{display:flex;flex-direction:column}
.lyra-user .hub-fixed-header{flex:none;background:#fffef9;border-bottom:1px solid #e5e3d9;z-index:4;box-shadow:0 3px 10px #3d483508}
.lyra-user .device-control-hub .picker-top{padding:14px 20px 0;min-height:43px}.lyra-user .device-control-hub .picker-close{width:36px;height:36px;font-size:24px;flex:none}
.lyra-user .device-control-hub .picker-heading{padding:7px 20px 10px}.lyra-user .device-control-hub .picker-heading h2{font-size:25px;letter-spacing:-.8px;margin:7px 0 0;line-height:1.2}.lyra-user .device-control-hub .picker-heading .eyebrow{font-size:9px;letter-spacing:1px}.lyra-user .device-control-hub .pill{padding:5px 8px;font-size:8px}
.lyra-user .hub-sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.lyra-user .device-control-hub .device-detail-state{margin:0 20px 0;padding:7px 12px;border-radius:12px;background:#f1f4ea;border:0}.lyra-user .device-control-hub .device-state-pill{font-size:14px}.lyra-user .device-control-hub .device-state-visual{min-height:30px}.lyra-user .device-control-hub .device-power-toggle{min-height:33px;font-size:11px}.lyra-user .device-control-hub .device-state-panel{gap:8px}.lyra-user .hub-feedback{font-size:11px;line-height:1.4;margin:6px 20px 10px;min-height:15px;color:#7b8273}.lyra-user .hub-feedback[data-tone=error]{color:#a45543}
.lyra-user .hub-scroll-body{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:15px 0 0;scrollbar-gutter:stable}
.lyra-user .control-hub-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:0 18px 18px;align-items:start}
.lyra-user .hub-tile{padding:14px;border-radius:15px}.lyra-user .hub-tile h3{font-size:15px;letter-spacing:-.3px;margin:0 0 11px}.lyra-user .hub-tile form{gap:7px;margin-top:8px}.lyra-user .hub-tile form label{font-size:11px}.lyra-user .hub-tile select{font-size:12px;min-height:39px;padding:8px;margin-top:5px;border-radius:9px}.lyra-user .hub-range-label output{font-size:23px}.lyra-user .hub-tile input[type=range]{min-height:25px;margin-top:0}.lyra-user .hub-switch{min-height:35px}.lyra-user .hub-tile .button{font-size:12px;min-height:38px;padding:8px 11px;border-radius:10px}.lyra-user .hub-remote-pad{gap:6px}.lyra-user .hub-remote-pad button{min-height:42px;border-radius:11px;font-size:17px;padding:5px}
.lyra-user .hub-media-tile{display:flex;flex-wrap:wrap;gap:7px;align-content:start}.lyra-user .hub-media-tile h3{width:100%;margin-bottom:3px}.lyra-user .hub-media-tile form{display:inline-flex;margin:0}.lyra-user .hub-icon-button{display:grid;place-items:center;width:43px;height:43px;border-radius:12px;border:1px solid #d5dceb;background:#fff;color:#536987;font-size:18px;cursor:pointer}.lyra-user .hub-icon-button:hover{background:#dce6f4}.lyra-user .hub-icon-button:active{background:#cbd9ec}.lyra-user .hub-tile.hub-oven{grid-column:span 2}.lyra-user .hub-tile.hub-oven .hub-direct-command{display:inline-flex;margin-right:7px}.lyra-user .device-control-hub .functions-notice{font-size:11px;margin:0 20px 8px;padding:7px 10px}
@media(max-width:600px){.lyra-user .control-hub-grid{grid-template-columns:repeat(2,minmax(0,1fr));padding:0 12px 14px;gap:9px}.lyra-user .hub-tile{padding:12px}.lyra-user .device-control-hub .picker-heading{padding:6px 16px 10px}.lyra-user .device-control-hub .type-tv,.lyra-user .device-control-hub .type-speaker{grid-template-columns:1fr minmax(130px,170px)}.lyra-user .device-control-hub .device-detail-state{margin:0 14px}.lyra-user .hub-feedback{margin-left:16px;margin-right:16px}.lyra-user .hub-remote-pad button{min-height:42px}.lyra-user .hub-tile.hub-oven{grid-column:1/-1}}

/* Separate connection setup from the personal device list. */
.lyra-user .smart-setup + .personal-device-section{margin-top:32px}
