/* Approved Mac home design. No selectors target the remote workspace. */
.brand-copy,.brand-name{display:contents}
.brand-tagline,.home-copyright,.home-release{display:none}

body.mac-home:has(#workspace[hidden]){background:linear-gradient(135deg,#17253bb5,#24253da3 65%,#1f2b3fa6)}
body.mac-home:has(#workspace[hidden]) #home-header{
  position:relative;height:104px;padding:40px 26px 16px;background:transparent;border:0;box-shadow:none;
}
body.mac-home:has(#workspace[hidden]) #home-header .brand{
  position:absolute;left:50%;top:37px;transform:translateX(-50%);display:flex;align-items:center;
  gap:13px;font-size:27px;font-weight:700;letter-spacing:.065em;white-space:nowrap;
}
body.mac-home:has(#workspace[hidden]) #home-header .brand img{width:45px;height:45px;border-radius:11px;object-fit:contain}
body.mac-home:has(#workspace[hidden]) #home-header .brand-copy{display:grid;gap:3px}
body.mac-home:has(#workspace[hidden]) #home-header .brand-name{display:block;line-height:1}
body.mac-home:has(#workspace[hidden]) #home-header .brand-tagline{display:block;font-size:10px;line-height:1.2;font-weight:400;letter-spacing:0;color:#d7e1f1}
body.mac-home:has(#workspace[hidden]) #home-header .brand small{display:none}
body.mac-home:has(#workspace[hidden]) #home-header #state{position:absolute;right:25px;top:52px;max-width:calc(50% - 126px);font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#c0cbdc}
body.mac-home:has(#workspace[hidden]) #home-header #state::before{content:'';display:inline-block;width:8px;height:8px;margin-right:7px;border-radius:50%;background:#8996b2}

body.mac-home:has(#workspace[hidden]) #setup{max-width:660px;margin:0 auto;padding:10px 27px 18px}
body.mac-home:has(#workspace[hidden]) #setup .home-welcome{min-height:86px;gap:16px;margin:0 0 17px;align-items:center}
body.mac-home:has(#workspace[hidden]) #setup .welcome-copy{min-width:0}
body.mac-home:has(#workspace[hidden]) #setup .welcome-kicker{font-size:10px;letter-spacing:.16em;line-height:1.3;font-weight:600;margin:0 0 9px;color:#dae2f1}
body.mac-home:has(#workspace[hidden]) #setup .welcome-copy h1{font-size:28px;line-height:1.12;letter-spacing:-.025em;font-weight:650;margin:0;color:#f5f8fd}
body.mac-home:has(#workspace[hidden]) #setup .welcome-copy h1 span{display:block;color:#89d6f2}
body.mac-home:has(#workspace[hidden]) #setup .welcome-art{width:103px;height:76px;margin-right:5px;flex:none}
body.mac-home:has(#workspace[hidden]) #setup .welcome-screen{border-color:#a0b4e273;border-radius:8px;box-shadow:0 5px 0 #a0b4e20b}
body.mac-home:has(#workspace[hidden]) #setup .welcome-screen-back{width:71px;height:46px;top:3px;right:0;padding:10px;background:#b1ccff0b}
body.mac-home:has(#workspace[hidden]) #setup .welcome-screen-back i{width:34px;height:2px;margin-bottom:5px}
body.mac-home:has(#workspace[hidden]) #setup .welcome-screen-back i:nth-child(2){width:43px}
body.mac-home:has(#workspace[hidden]) #setup .welcome-screen-front{left:0;bottom:7px;width:76px;height:47px;padding:10px;background:#7d9dcd13;display:grid;place-items:center}
body.mac-home:has(#workspace[hidden]) #setup .welcome-screen-front svg{width:28px;height:28px;color:#bdd4ff}
body.mac-home:has(#workspace[hidden]) #setup .access-tabs{margin:0 0 14px;padding:3px;border-radius:11px;background:#10192b32;border-color:#a9bce13d}
body.mac-home:has(#workspace[hidden]) #setup .access-tabs button{padding:10px 12px;font-size:13px;font-weight:450;color:#d6e2f5}
body.mac-home:has(#workspace[hidden]) #setup .access-tabs button[aria-pressed=true]{background:#c5d6ff2a;box-shadow:inset 0 1px #ffffff13;color:#fff}

body.mac-home:has(#workspace[hidden]) #setup .account-identity{margin:0 0 13px;padding:0 2px;border:0;gap:9px;min-height:25px}
body.mac-home:has(#workspace[hidden]) #setup .account-avatar{width:27px;height:27px;font-size:13px}
body.mac-home:has(#workspace[hidden]) #setup #account-email{font-size:12px}
body.mac-home:has(#workspace[hidden]) #setup #logout{font-size:11px}
body.mac-home:has(#workspace[hidden]) #setup .account-devices{margin:0;padding:18px;border-radius:19px;background:#bacced0b;border-color:#b7c9ec44;box-shadow:inset 0 1px #ffffff09;backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px)}
body.mac-home:has(#workspace[hidden]) #setup .devices-heading{margin:0 0 7px;gap:12px}
body.mac-home:has(#workspace[hidden]) #setup .devices-eyebrow{display:none}
body.mac-home:has(#workspace[hidden]) #setup .devices-heading h2{font-size:30px;line-height:1.1;letter-spacing:-.03em}
body.mac-home:has(#workspace[hidden]) #setup .device-count{font-size:11px;width:25px;height:25px}
body.mac-home:has(#workspace[hidden]) #setup #refresh-devices{width:34px;height:34px;font-size:24px;border-radius:10px}
body.mac-home:has(#workspace[hidden]) #setup .devices-intro{display:block;font-size:13px;line-height:1.45;margin:0 0 15px;color:#c7d7ed}
body.mac-home:has(#workspace[hidden]) #setup .device-availability{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
body.mac-home:has(#workspace[hidden]) #setup #account-device-list{gap:9px;max-height:228px}
body.mac-home:has(#workspace[hidden]) #setup .device-tile{border-color:#c0d2f32e;border-radius:13px;background:#101b2d47}
body.mac-home:has(#workspace[hidden]) #setup .device-tile:hover{border-color:#c7dcff61;background:#bfd9ff0c}
body.mac-home:has(#workspace[hidden]) #setup .device-row{padding:13px 10px;gap:12px;min-height:75px}
body.mac-home:has(#workspace[hidden]) #setup .device-symbol{width:43px;height:43px;border-radius:12px}
body.mac-home:has(#workspace[hidden]) #setup .device-symbol svg{width:26px;height:26px}
body.mac-home:has(#workspace[hidden]) #setup .device-info strong{font-size:15px;font-weight:600;line-height:1.3}
body.mac-home:has(#workspace[hidden]) #setup .device-info small{font-size:12px}
body.mac-home:has(#workspace[hidden]) #setup .device-connect-label{display:inline-flex;align-items:center;justify-content:center;flex:none;min-width:108px;min-height:41px;margin-left:5px;padding:9px 13px;border:1px solid #c8edff75;border-radius:8px;background:#91daf6;color:#072238;font-size:14px;line-height:1.2;font-weight:600;white-space:nowrap}
body.mac-home:has(#workspace[hidden]) #setup .device-row:hover .device-connect-label{background:#b1e6fd}
body.mac-home:has(#workspace[hidden]) #setup .device-row:disabled .device-connect-label{display:none}
body.mac-home:has(#workspace[hidden]) #setup .device-edit{width:34px;height:37px;padding:7px;margin-right:10px;border:1px solid #bfd4fa2b;background:#bdd6ff0b;border-radius:9px}
body.mac-home:has(#workspace[hidden]) #setup .device-edit svg{width:20px;height:20px}
body.mac-home:has(#workspace[hidden]) #setup .device-edit-hint{margin:12px 0 0;font-size:11px;gap:8px;color:#c4d4e8}
body.mac-home:has(#workspace[hidden]) #setup .device-edit-hint svg{width:14px;height:14px}

body.mac-home:has(#workspace[hidden]) #setup .home-guidance{gap:10px;margin-top:13px}
body.mac-home:has(#workspace[hidden]) #setup .home-guide{padding:13px 12px;gap:10px;min-height:81px;border-radius:14px;border-color:#b7ccef2b;background:#a6c3ff06}
body.mac-home:has(#workspace[hidden]) #setup .home-guide strong{font-size:12px;line-height:1.4;margin-bottom:4px}
body.mac-home:has(#workspace[hidden]) #setup .home-guide p,
body.mac-home:has(#workspace[hidden]) #setup .guide-detail{font-size:11px;line-height:1.45;color:#bad4ee}
body.mac-home:has(#workspace[hidden]) #setup .guide-icon{width:27px;height:29px}
body.mac-home:has(#workspace[hidden]) #setup .guide-icon svg{width:25px;height:25px}

body.mac-home:has(#workspace[hidden]) #setup #code-panel{margin:0;padding:20px;border-radius:18px;border:1px solid #c3d5f14a;background:#bdcdeb0b}
body.mac-home:has(#workspace[hidden]) #setup #code-panel label{font-size:16px;font-weight:550;line-height:1.35;margin:0 0 15px;color:#f1f6ff}
body.mac-home:has(#workspace[hidden]) #setup .pair-row{gap:12px;flex-direction:row;flex-wrap:nowrap}
body.mac-home:has(#workspace[hidden]) #setup .pair-row input{height:56px;padding:12px 16px;font-size:22px;letter-spacing:.01em;text-transform:none;border:1px solid #a6bde45c;border-radius:10px;background:#7c95ba0b}
body.mac-home:has(#workspace[hidden]) #setup .pair-row button{height:56px;min-width:134px;padding:12px 18px;background:#91daf6;color:#072238;border:1px solid #c8edff75;border-radius:9px;font-size:16px;font-weight:600}
body.mac-home:has(#workspace[hidden]) #setup #code-panel .hint{font-size:12px;line-height:1.5;margin-top:16px;color:#c0d3ec}
body.mac-home:has(#workspace[hidden]) #setup .pair-row button:hover{background:#b1e6fd}

body.mac-home:has(#workspace[hidden]) #setup .home-infrastructure{position:relative;display:flex;flex-direction:column;align-items:stretch;gap:3px;margin-top:22px;padding:13px 0 0;border-top:1px solid #adc6ed30;text-align:center}
body.mac-home:has(#workspace[hidden]) #setup .home-infrastructure .home-foot,
body.mac-home:has(#workspace[hidden]) #setup .home-infrastructure .home-copyright,
body.mac-home:has(#workspace[hidden]) #setup .home-infrastructure .home-release{display:block;width:100%;margin:0;padding:0;line-height:1.45;font-size:10px;font-weight:400;color:#b7c6df}
body.mac-home:has(#workspace[hidden]) #setup .home-infrastructure .home-foot{font-size:11px;color:#e4ecf9}
body.mac-home:has(#workspace[hidden]) #setup .home-release a{color:#89d6f2;text-decoration:none}
body.mac-home:has(#workspace[hidden]) #setup .home-release a:hover{text-decoration:underline}
body.mac-home:has(#workspace[hidden]) #setup .home-release a:focus-visible{outline:2px solid #b5d6f7;outline-offset:3px;border-radius:3px}
body.mac-home:has(#workspace[hidden]) #setup .aws-infrastructure{position:absolute;right:-5px;bottom:10px;display:block;margin:0;padding:0}
body.mac-home:has(#workspace[hidden]) #setup .aws-infrastructure a{padding:8px}
body.mac-home:has(#workspace[hidden]) #setup .aws-infrastructure img{width:83px;height:26px;object-fit:contain}

@media(max-height:780px){
  body.mac-home:has(#workspace[hidden]):has(#setup[data-access=account]) #home-header{height:90px}
  body.mac-home:has(#workspace[hidden]) #setup[data-access=account]{padding-top:8px;padding-bottom:12px}
  body.mac-home:has(#workspace[hidden]) #setup[data-access=account] .home-welcome{min-height:76px;margin-bottom:12px}
  body.mac-home:has(#workspace[hidden]) #setup[data-access=account] .access-tabs{margin-bottom:11px}
  body.mac-home:has(#workspace[hidden]) #setup[data-access=account] .access-tabs button{padding-block:8px}
  body.mac-home:has(#workspace[hidden]) #setup[data-access=account] .account-identity{margin-bottom:10px}
  body.mac-home:has(#workspace[hidden]) #setup[data-access=account] .account-devices{padding:14px}
  body.mac-home:has(#workspace[hidden]) #setup[data-access=account] .devices-heading{margin-bottom:5px}
  body.mac-home:has(#workspace[hidden]) #setup[data-access=account] .devices-heading h2{font-size:28px}
  body.mac-home:has(#workspace[hidden]) #setup[data-access=account] .devices-intro{font-size:12px;margin-bottom:11px}
  body.mac-home:has(#workspace[hidden]) #setup[data-access=account] .device-row{min-height:68px;padding-block:10px}
  body.mac-home:has(#workspace[hidden]) #setup[data-access=account] .device-edit-hint{margin-top:9px}
  body.mac-home:has(#workspace[hidden]) #setup[data-access=account] .home-guidance{margin-top:10px}
  body.mac-home:has(#workspace[hidden]) #setup[data-access=account] .home-guide{min-height:70px;padding-block:10px}
  body.mac-home:has(#workspace[hidden]) #setup[data-access=account] .home-infrastructure{margin-top:16px;padding-top:10px}
}
@media(max-width:570px){
  body.mac-home:has(#workspace[hidden]) #home-header #state{top:86px;right:22px;max-width:calc(100% - 44px);font-size:10px}
  body.mac-home:has(#workspace[hidden]) #home-header{height:112px}
  body.mac-home:has(#workspace[hidden]) #setup{padding:9px 20px 18px}
  body.mac-home:has(#workspace[hidden]) #setup .welcome-copy h1{font-size:25px}
  body.mac-home:has(#workspace[hidden]) #setup .welcome-art{width:87px;height:68px;transform:scale(.86);transform-origin:right center;margin-left:-10px}
  body.mac-home:has(#workspace[hidden]) #setup .device-row{gap:9px;padding:11px 8px}
  body.mac-home:has(#workspace[hidden]) #setup .device-connect-label{min-width:88px;min-height:39px;padding:8px 10px;font-size:13px}
  body.mac-home:has(#workspace[hidden]) #setup .device-symbol{width:35px;height:37px}
  body.mac-home:has(#workspace[hidden]) #setup .device-info strong{font-size:13px}
  body.mac-home:has(#workspace[hidden]) #setup .device-edit{margin-right:7px;width:30px}
  body.mac-home:has(#workspace[hidden]) #setup .home-infrastructure{padding-top:12px;padding-bottom:39px}
  body.mac-home:has(#workspace[hidden]) #setup .aws-infrastructure{right:50%;transform:translateX(50%);bottom:0}
  body.mac-home:has(#workspace[hidden]) #setup .pair-row button{min-width:112px;padding-inline:12px;font-size:14px}
}
@media(max-width:400px){
  body.mac-home:has(#workspace[hidden]) #setup .welcome-art{display:none}
  body.mac-home:has(#workspace[hidden]) #setup .pair-row{flex-wrap:wrap}
  body.mac-home:has(#workspace[hidden]) #setup .pair-row button{width:100%}
  body.mac-home:has(#workspace[hidden]) #setup .home-guidance{grid-template-columns:1fr}
}
@media(prefers-reduced-transparency:reduce){
  body.mac-home:has(#workspace[hidden]){background:#20293e}
  body.mac-home:has(#workspace[hidden]) #setup .account-devices{background:#2a354b;backdrop-filter:none;-webkit-backdrop-filter:none}
}
/* Approved Control home, shared by the Mac and Windows applications. */
body.vexxa-approved-home:has(#workspace[hidden]){background:#192638!important;color:#f5f8ff;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;overflow:hidden}
body.vexxa-approved-home:has(#workspace[hidden]) #home-header{position:relative!important;display:flex!important;align-items:center!important;justify-content:space-between!important;width:100%!important;max-width:660px!important;height:88px!important;margin:0 auto!important;padding:24px 28px 12px!important;border:0!important;background:#192638!important;box-shadow:none!important;box-sizing:border-box!important;backdrop-filter:none!important}
body.vexxa-approved-home:has(#workspace[hidden]) #home-header .brand{position:static!important;left:auto!important;top:auto!important;transform:none!important;display:flex!important;align-items:center!important;gap:12px!important;white-space:nowrap;font-size:26px!important;line-height:1.2!important;letter-spacing:.07em!important;font-weight:650!important}
body.vexxa-approved-home:has(#workspace[hidden]) #home-header .brand img{width:48px!important;height:48px!important;border-radius:11px!important;flex:none}
body.vexxa-approved-home:has(#workspace[hidden]) #home-header .brand-copy{display:block!important}
body.vexxa-approved-home:has(#workspace[hidden]) #home-header .brand-name>span{letter-spacing:0}
body.vexxa-approved-home:has(#workspace[hidden]) #home-header #state{position:static!important;max-width:180px!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px!important;color:#ff929b!important}
body.vexxa-approved-home:has(#workspace[hidden]) #home-header #state[data-connected=true]{color:#8ce5a8!important}
body.vexxa-approved-home:has(#workspace[hidden]) #home-header #state::before{content:'●';display:inline-block;margin-right:6px;font-size:9px}
body.vexxa-approved-home:has(#workspace[hidden]) main{width:100%!important;max-width:660px!important;min-height:0!important;margin:0 auto!important}
body.vexxa-approved-home:has(#workspace[hidden]) #setup{position:relative!important;display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:42px 40px minmax(0,1fr) 56px!important;gap:12px!important;box-sizing:border-box!important;width:100%!important;max-width:none!important;height:562px!important;min-height:0!important;margin:0!important;padding:0 28px 18px!important;border:0!important;border-radius:0!important;background:#192638!important;box-shadow:none!important;backdrop-filter:none!important}
body.vexxa-approved-home:has(#workspace[hidden]) #setup>.home-welcome,
body.vexxa-approved-home:has(#workspace[hidden]) #setup>.home-guidance,
body.vexxa-approved-home:has(#workspace[hidden]) #setup .home-foot,
body.vexxa-approved-home:has(#workspace[hidden]) #setup .home-release,
body.vexxa-approved-home:has(#workspace[hidden]) #setup .aws-infrastructure,
body.vexxa-approved-home:has(#workspace[hidden])>footer{display:none!important}
body.vexxa-approved-home:has(#workspace[hidden]) #setup>.home-head{grid-row:1;margin:0!important;display:grid!important;place-items:center!important;text-align:center}
body.vexxa-approved-home:has(#workspace[hidden]) #setup>.home-head h1{font-size:28px!important;line-height:1.2!important;letter-spacing:-.035em!important;margin:0!important;font-weight:650!important}
body.vexxa-approved-home:has(#workspace[hidden]) #setup>.access-tabs{grid-row:2;display:grid!important;grid-template-columns:1fr 1fr!important;gap:5px!important;height:40px!important;margin:0!important;padding:4px!important;border-radius:9px!important;background:#172536!important;box-sizing:border-box!important}
body.vexxa-approved-home:has(#workspace[hidden]) #setup>.access-tabs button{min-height:0!important;padding:6px!important;border:0!important;border-radius:6px!important;background:transparent!important;color:#bbcee5!important;font-size:14px!important;font-weight:500!important}
body.vexxa-approved-home:has(#workspace[hidden]) #setup>.access-tabs button[aria-pressed=true]{background:#23354c!important;color:#f5f8ff!important;font-weight:650!important}
body.vexxa-approved-home:has(#workspace[hidden]) #code-panel,
body.vexxa-approved-home:has(#workspace[hidden]) #account-panel{grid-row:3;align-self:center!important;box-sizing:border-box!important;min-height:0!important;height:min(100%,330px)!important;margin:0!important;padding:22px!important;border:1px solid #405873!important;border-radius:13px!important;background:#23354c!important}
body.vexxa-approved-home:has(#workspace[hidden]) #code-panel:not([hidden]){display:grid!important;grid-template-rows:auto minmax(0,1fr)!important;gap:12px!important}
body.vexxa-approved-home:has(#workspace[hidden]) #code-panel>label{display:block!important;text-align:center!important;margin:0!important;color:#bbcee5!important;font-size:14px!important}
body.vexxa-approved-home:has(#workspace[hidden]) #code-panel>.pair-row{min-height:0!important;display:grid!important;grid-template-rows:minmax(0,1fr) 44px!important;gap:16px!important}
body.vexxa-approved-home:has(#workspace[hidden]) #code-panel input{align-self:center!important;box-sizing:border-box!important;width:100%!important;min-width:0!important;height:80px!important;padding:14px!important;border:1px solid #405873!important;border-radius:8px!important;background:#172536!important;color:#f5f8ff!important;font-size:21px!important;line-height:1.2!important;letter-spacing:.07em!important}
body.vexxa-approved-home:has(#workspace[hidden]) #setup button.primary,
body.vexxa-approved-home:has(#workspace[hidden]) #pair{box-sizing:border-box!important;width:100%!important;height:44px!important;min-height:44px!important;margin:0!important;padding:8px 12px!important;border:0!important;border-radius:8px!important;background:#a6d8f4!important;color:#142838!important;font-size:14px!important;font-weight:650!important}
body.vexxa-approved-home:has(#workspace[hidden]) #login-submit{justify-content:center!important;text-align:center!important}
body.vexxa-approved-home:has(#workspace[hidden]) #hint{min-height:0!important;margin:0!important;color:#bbcee5!important;font-size:12px!important;line-height:1.4!important;text-align:center!important}
body.vexxa-approved-home:has(#workspace[hidden]) #hint:empty,
body.vexxa-approved-home:has(#workspace[hidden]) #connect:disabled{display:none!important}
body.vexxa-approved-home:has(#workspace[hidden]) #connect{justify-self:center;margin:0!important;font-size:12px!important}
body.vexxa-approved-home:has(#workspace[hidden]) #account-panel:not([hidden]){display:flex!important;flex-direction:column!important;justify-content:center!important;gap:10px!important;overflow:auto}
body.vexxa-approved-home:has(#workspace[hidden]) #account-panel:has(#login-form[hidden],#account-message:not(:empty)){justify-content:flex-start!important}
body.vexxa-approved-home:has(#workspace[hidden]) #login-form:not([hidden]){display:grid!important;gap:8px!important;margin:0!important}
body.vexxa-approved-home:has(#workspace[hidden]) #login-form>label{margin:0!important;color:#bbcee5!important;font-size:13px!important}
body.vexxa-approved-home:has(#workspace[hidden]) #login-form>input{box-sizing:border-box!important;width:100%!important;min-height:0!important;height:40px!important;padding:9px 12px!important;border:1px solid #405873!important;border-radius:7px!important;background:#172536!important;color:#f5f8ff!important;font-size:15px!important}
body.vexxa-approved-home:has(#workspace[hidden]) #login-form>.register-link{margin:0!important;text-align:center!important;font-size:12px!important;color:#bbcee5!important}
body.vexxa-approved-home:has(#workspace[hidden]) #login-form>.register-link a{color:#a6d8f4!important}
body.vexxa-approved-home:has(#workspace[hidden]) #login-form .vexxa-remember-row{margin:0!important}
body.vexxa-approved-home:has(#workspace[hidden]) #login-form .vexxa-remember-row label{min-height:20px!important;font-size:12px!important}
body.vexxa-approved-home:has(#workspace[hidden]) #setup>.home-infrastructure{grid-row:4;display:grid!important;align-content:end!important;justify-content:stretch!important;gap:4px!important;margin:0!important;padding:0!important;text-align:center!important;color:#bbcee5!important}
body.vexxa-approved-home:has(#workspace[hidden]) #setup .approved-tagline{margin:0!important;font-size:13px!important;line-height:1.4!important}
body.vexxa-approved-home:has(#workspace[hidden]) #setup .home-copyright{margin:0!important;font-size:11px!important;line-height:1.4!important;color:#bbcee5!important}
body.vexxa-approved-home:has(#workspace[hidden]) #account-message{min-height:0!important;margin:0!important;font-size:12px!important}
body.vexxa-approved-home:has(#workspace[hidden]) #account-message:empty{display:none!important}
body.vexxa-approved-home:has(#workspace[hidden]) #login-loading{position:absolute!important;inset:0!important;z-index:10!important}
@media(max-width:520px){body.vexxa-approved-home:has(#workspace[hidden]) #home-header{padding-inline:18px!important}body.vexxa-approved-home:has(#workspace[hidden]) #home-header .brand{font-size:21px!important;gap:9px!important}body.vexxa-approved-home:has(#workspace[hidden]) #home-header #state{max-width:110px!important;font-size:11px!important}body.vexxa-approved-home:has(#workspace[hidden]) #setup{padding-inline:18px!important}body.vexxa-approved-home:has(#workspace[hidden]) #code-panel,body.vexxa-approved-home:has(#workspace[hidden]) #account-panel{padding:16px!important}}
@media(max-height:649px){body.vexxa-approved-home:has(#workspace[hidden]){overflow:auto}body.vexxa-approved-home:has(#workspace[hidden]) #setup{height:562px!important}}

/* The native lab adds a row after sign-in. Keep it out of the home grid
   while the viewer moves its existing control into the header. */
.vexxa-approved-home #setup>[data-vexxa-performance-lab]{display:none!important}
.vexxa-approved-home #home-header-actions{
  display:grid;justify-items:end;align-content:center;gap:3px;min-width:0;
}
.vexxa-approved-home #home-header-actions>[data-vexxa-performance-lab]{display:contents!important}
.vexxa-approved-home #home-header-actions>[data-vexxa-performance-lab]>span{display:none!important}
.vexxa-approved-home #home-header-actions>[data-vexxa-performance-lab]>button{
  font:600 10px/1.2 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
  border:1px solid #506983!important;border-radius:5px!important;
  background:#23354c!important;color:#d4e5f7!important;padding:3px 7px!important;white-space:nowrap;
}
.vexxa-approved-home #home-header-actions>[data-vexxa-performance-lab]>button[aria-pressed=true]{
  background:#a6d8f4!important;color:#142838!important;
}

/* The account panel is the sole scrollable surface for the saved devices. */
.vexxa-approved-home:has(#workspace[hidden]) #account-panel{overscroll-behavior:contain}
.vexxa-approved-home:has(#workspace[hidden]) #setup #account-devices{
  flex:none;min-width:0;padding:0;border:0;background:transparent;box-shadow:none;
  backdrop-filter:none;-webkit-backdrop-filter:none;
}
.vexxa-approved-home:has(#workspace[hidden]) #setup #account-device-list{
  display:grid;grid-template-columns:minmax(0,1fr);max-height:none;overflow:visible;
}
.vexxa-approved-home:has(#workspace[hidden]) #setup .device-info strong{
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}

@media(max-width:420px){
  body.vexxa-approved-home:has(#workspace[hidden]) #home-header{
    height:52px!important;padding:12px 16px 4px!important;gap:8px!important;
  }
  body.vexxa-approved-home:has(#workspace[hidden]) #home-header .brand{
    gap:9px!important;font-size:16px!important;letter-spacing:.12em!important;
  }
  body.vexxa-approved-home:has(#workspace[hidden]) #home-header .brand img{
    width:36px!important;height:36px!important;border-radius:9px!important;
  }
  body.vexxa-approved-home:has(#workspace[hidden]) #home-header #state{font-size:11px!important}
  body.vexxa-approved-home:has(#workspace[hidden]) #home-header #state::before{
    content:'';width:6px;height:6px;margin-right:5px;border-radius:50%;background:currentColor;
  }
  body.vexxa-approved-home:has(#workspace[hidden]) #home-header #state[data-connected=false]::before{
    border:1px solid currentColor;background:transparent;
  }
  body.vexxa-approved-home:has(#workspace[hidden]) #setup{
    height:clamp(360px,calc(100dvh - 52px),373px)!important;padding:0 16px 12px!important;
    grid-template-rows:29px 32px minmax(0,1fr) 37px!important;gap:4px!important;
  }
  body.vexxa-approved-home:has(#workspace[hidden]) #setup>.home-head h1{font-size:23px!important}
  body.vexxa-approved-home:has(#workspace[hidden]) #setup>.access-tabs{
    height:32px!important;gap:4px!important;border-radius:8px!important;
  }
  body.vexxa-approved-home:has(#workspace[hidden]) #setup>.access-tabs button{
    padding:4px 3px!important;font-size:12px!important;
  }
  body.vexxa-approved-home:has(#workspace[hidden]) #code-panel,
  body.vexxa-approved-home:has(#workspace[hidden]) #account-panel{
    height:min(100%,204px)!important;border-radius:10px!important;
  }
  body.vexxa-approved-home:has(#workspace[hidden]) #code-panel{
    padding:14px!important;gap:6px!important;
  }
  body.vexxa-approved-home:has(#workspace[hidden]) #code-panel>label{font-size:12px!important}
  body.vexxa-approved-home:has(#workspace[hidden]) #code-panel>.pair-row{
    grid-template-rows:minmax(0,1fr) 34px!important;gap:8px!important;
  }
  body.vexxa-approved-home:has(#workspace[hidden]) #code-panel input{
    height:64px!important;padding:8px 10px!important;letter-spacing:0!important;font-size:13px!important;
  }
  body.vexxa-approved-home:has(#workspace[hidden]) #setup button.primary,
  body.vexxa-approved-home:has(#workspace[hidden]) #pair{
    height:34px!important;min-height:34px!important;border-radius:7px!important;font-size:13px!important;
  }
  body.vexxa-approved-home:has(#workspace[hidden]) #hint{font-size:10px!important}
  body.vexxa-approved-home:has(#workspace[hidden]) #account-panel{padding:8px 12px!important;gap:6px!important}
  body.vexxa-approved-home:has(#workspace[hidden]) #login-form:not([hidden]){gap:5px!important}
  body.vexxa-approved-home:has(#workspace[hidden]) #login-form>label,
  body.vexxa-approved-home:has(#workspace[hidden]) #login-form .vexxa-remember-row label,
  body.vexxa-approved-home:has(#workspace[hidden]) #login-form>.register-link{font-size:11px!important}
  body.vexxa-approved-home:has(#workspace[hidden]) #login-form .vexxa-remember-row label{min-height:16px!important}
  body.vexxa-approved-home:has(#workspace[hidden]) #login-form>input{
    height:29px!important;margin:0!important;padding:5px 9px!important;
    border-radius:6px!important;font-size:12px!important;
  }
  body.vexxa-approved-home:has(#workspace[hidden]) #setup>.home-infrastructure{
    gap:2px!important;border:0!important;
  }
  body.vexxa-approved-home:has(#workspace[hidden]) #setup .approved-tagline{font-size:12px!important}
  body.vexxa-approved-home:has(#workspace[hidden]) #setup .home-copyright{font-size:11px!important}

  body.vexxa-approved-home:has(#workspace[hidden]) #account-panel:has(#login-form[hidden]){gap:4px!important}
  body.vexxa-approved-home:has(#workspace[hidden]) #setup[data-access=account] .account-identity{margin:0;gap:6px;min-height:22px}
  .vexxa-approved-home:has(#workspace[hidden]) #setup .account-avatar{width:21px;height:21px;font-size:11px}
  .vexxa-approved-home:has(#workspace[hidden]) #setup #logout{padding:4px 0 4px 5px}
  body.vexxa-approved-home:has(#workspace[hidden]) #setup[data-access=account] .devices-heading{margin:0 0 4px;gap:6px}
  body.vexxa-approved-home:has(#workspace[hidden]) #setup[data-access=account] .devices-heading h2{font-size:18px;margin:0}
  .vexxa-approved-home:has(#workspace[hidden]) #setup .device-count{width:auto;height:19px;min-width:20px;font-size:10px}
  .vexxa-approved-home:has(#workspace[hidden]) #setup #refresh-devices{width:23px;height:23px;font-size:16px}
  .vexxa-approved-home:has(#workspace[hidden]) #setup .devices-intro,
  .vexxa-approved-home:has(#workspace[hidden]) #setup .device-edit-hint{display:none!important}
  .vexxa-approved-home:has(#workspace[hidden]) #setup #account-device-list{gap:4px}
  .vexxa-approved-home:has(#workspace[hidden]) #setup .device-tile{border-radius:8px}
  body.vexxa-approved-home:has(#workspace[hidden]) #setup[data-access=account] .device-row{gap:6px;min-height:38px;padding:4px 6px}
  .vexxa-approved-home:has(#workspace[hidden]) #setup .device-symbol{width:27px;height:27px;border-radius:7px}
  .vexxa-approved-home:has(#workspace[hidden]) #setup .device-symbol svg{width:17px;height:17px}
  .vexxa-approved-home:has(#workspace[hidden]) #setup .device-info{gap:1px;line-height:1.15}
  .vexxa-approved-home:has(#workspace[hidden]) #setup .device-info strong{font-size:12px;line-height:1.15}
  .vexxa-approved-home:has(#workspace[hidden]) #setup .device-info small{font-size:10px}
  .vexxa-approved-home:has(#workspace[hidden]) #setup .device-row.online .device-connect-label{
    display:inline-flex;min-width:0;min-height:25px;margin:0;padding:3px 6px;border-radius:5px;font-size:10px;
  }
  .vexxa-approved-home:has(#workspace[hidden]) #setup .device-edit{
    width:25px;height:25px;margin-right:4px;padding:4px;border-radius:6px;
  }
  .vexxa-approved-home:has(#workspace[hidden]) #setup .device-edit svg{width:14px;height:14px}
}
