@font-face{font-family:CQAccountJakarta;src:url('/assets/owner-fonts/jakarta-400.ttf') format('truetype');font-weight:400;font-display:swap}
@font-face{font-family:CQAccountJakarta;src:url('/assets/owner-fonts/jakarta-700.ttf') format('truetype');font-weight:600 900;font-display:swap}
body[data-cq-account-page="true"]{overflow:hidden!important}
body[data-cq-account-page="true"]>#main-smarthome-workspace,
body[data-cq-account-page="true"]>#view-turnkey-container,
body[data-cq-account-page="true"]>.topbar,
body[data-cq-account-page="true"] #mobile-bottom-nav{display:none!important}
body[data-cq-account-page="true"]>:not(#cq-account-workspaces):not(#cqa-launcher):not(script):not(style):not(link){display:none!important}
#cq-account-workspaces{
  --cqa-ink:#173b32;--cqa-muted:#63756b;--cqa-green:#087f63;--cqa-line:#d9e8df;--cqa-paper:#fffef9;
  position:fixed;inset:0;z-index:95000;overflow:auto;overscroll-behavior:contain;
  background:radial-gradient(ellipse at top right,#d2ede0 0,transparent 65%),#f3f6ef;color:var(--cqa-ink);
  font-family:CQAccountJakarta,sans-serif;font-size:14px;line-height:1.6;text-align:left;
}
#cq-account-workspaces[hidden],#cqa-launcher[hidden],#cq-account-workspaces [hidden]{display:none!important}
#cq-account-workspaces *,#cq-account-workspaces *::before,#cq-account-workspaces *::after{box-sizing:border-box;min-width:0}
#cq-account-workspaces h1,#cq-account-workspaces h2,#cq-account-workspaces h3,#cq-account-workspaces p{margin:0}
#cq-account-workspaces h1{font-size:clamp(25px,4vw,42px);line-height:1.2;letter-spacing:-1.2px;overflow-wrap:anywhere}
#cq-account-workspaces h2{font-size:20px;line-height:1.4;letter-spacing:-.45px}
#cq-account-workspaces h3{font-size:18px;line-height:1.4}
#cq-account-workspaces input,#cq-account-workspaces select,#cq-account-workspaces button,#cq-account-workspaces a{font:inherit}
#cq-account-workspaces button,#cq-account-workspaces a,#cq-account-workspaces input,#cq-account-workspaces select{touch-action:manipulation}
#cq-account-workspaces :focus-visible,#cqa-launcher:focus-visible{outline:3px solid #d4832c;outline-offset:3px}
#cq-account-workspaces .cqa-header{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;padding:18px max(20px,calc((100vw - 1160px)/2));background:#ffffffcf;border-bottom:1px solid var(--cqa-line)}
#cq-account-workspaces .cqa-header>a{font-weight:700;border:none;background:transparent;padding-left:0}
#cq-account-workspaces .cqa-main{max-width:1160px;margin:auto;padding:30px 20px 70px;display:grid;gap:22px}
#cq-account-workspaces .cqa-hero{padding:16px 4px 8px;display:grid;grid-template-columns:1.3fr 1fr;gap:25px;align-items:center}
#cq-account-workspaces .cqa-hero h1{margin:8px 0}
#cq-account-workspaces .cqa-email{color:var(--cqa-muted);overflow-wrap:anywhere}
#cq-account-workspaces .cqa-eyebrow{font-size:10px;font-weight:700;letter-spacing:1.5px;color:var(--cqa-green)}
#cq-account-workspaces .cqa-identity{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:0;padding:20px;border:1px solid #c9ded0;border-radius:18px;background:#ffffff8c}
#cq-account-workspaces .cqa-identity dt{font-size:11px;color:var(--cqa-muted)}
#cq-account-workspaces .cqa-identity dd{font-weight:700;margin:5px 0 0;overflow-wrap:anywhere}
#cq-account-workspaces .cqa-overview-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:18px 0}
#cq-account-workspaces .cqa-overview-metrics>div{background:#f2f7ef;border:1px solid var(--cqa-line);padding:14px;border-radius:12px}
#cq-account-workspaces .cqa-overview-metrics dt{font-size:11px;color:var(--cqa-muted)}
#cq-account-workspaces .cqa-overview-metrics dd{font-size:19px;font-weight:700;margin:8px 0 0;overflow-wrap:anywhere}
#cq-account-workspaces .cqa-card{background:var(--cqa-paper);border:1px solid var(--cqa-line);border-radius:20px;padding:25px;box-shadow:0 8px 22px #243c2810}
#cq-account-workspaces .cqa-card>p{margin:8px 0 18px}
#cq-account-workspaces .cqa-muted{font-size:12px;color:var(--cqa-muted);overflow-wrap:anywhere}
#cq-account-workspaces .cqa-type-tabs{display:grid;grid-template-columns:repeat(5,1fr);gap:7px;margin-top:20px}
#cq-account-workspaces .cqa-type-tabs button{justify-content:flex-start;text-align:left;font-size:12px;border-radius:10px}
#cq-account-workspaces .cqa-type-tabs [aria-selected="true"]{background:var(--cqa-green);color:#fff;border-color:var(--cqa-green)}
#cq-account-workspaces .cqa-type-panel{border-top:1px solid var(--cqa-line);margin-top:20px;padding-top:18px;display:grid;gap:12px}
#cq-account-workspaces .cqa-type-panel>.cqa-button{justify-self:start}
#cq-account-workspaces .cqa-type-panel h3{margin:5px 0}
#cq-account-workspaces .cqa-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
#cq-account-workspaces .cqa-button,#cqa-launcher{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 15px;border-radius:10px;border:1px solid #c6dace;color:var(--cqa-ink,#173b32);background:#fff;cursor:pointer;text-decoration:none;font-weight:700;font-size:12px;line-height:1.5;white-space:normal;overflow-wrap:anywhere;max-width:100%}
#cq-account-workspaces .cqa-button:hover{border-color:var(--cqa-green);background:#f1f8f2}
#cq-account-workspaces .cqa-primary{background:var(--cqa-green);color:#fff;border-color:var(--cqa-green)}
#cq-account-workspaces .cqa-primary:hover{background:#076c55;color:#fff}
#cq-account-workspaces button:disabled{opacity:.5;cursor:default}
#cq-account-workspaces .cqa-empty{background:#f3f7f1;border:1px dashed #c5dacf;border-radius:14px;padding:22px;margin:18px 0}
#cq-account-workspaces .cqa-empty p{color:var(--cqa-muted);margin-top:7px}
#cq-account-workspaces .cqa-empty .cqa-button{margin-top:14px}
#cq-account-workspaces .cqa-card-heading{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap}
#cq-account-workspaces .cqa-card-heading>div:first-child{max-width:520px}
#cq-account-workspaces .cqa-card-heading p{margin-top:6px}
#cq-account-workspaces .cqa-account-row{display:grid;grid-template-columns:minmax(150px,1.5fr) minmax(110px,1fr) minmax(100px,.7fr) minmax(90px,.6fr);gap:16px;align-items:center;border-top:1px solid var(--cqa-line);padding:18px 0}
#cq-account-workspaces .cqa-account-name,#cq-account-workspaces .cqa-account-scope{display:grid;gap:3px;overflow-wrap:anywhere}
#cq-account-workspaces .cqa-account-name span,#cq-account-workspaces .cqa-account-scope small{font-size:12px;color:var(--cqa-muted)}
#cq-account-workspaces .cqa-badge{display:inline-block;justify-self:start;font-size:11px;padding:4px 9px;border-radius:20px;background:#f7ebe5;color:#8d4923}
#cq-account-workspaces .cqa-badge[data-active="true"]{background:#e2f2e6;color:#176641}
#cqa-roster{margin-top:22px}
#cqa-roster>.cqa-muted{margin-bottom:12px}
#cqa-editor{padding:22px;background:#edf5ed;border:1px solid #b7d3c2;border-radius:14px;margin-top:20px;scroll-margin-top:20px}
#cq-account-workspaces .cqa-form{display:grid;gap:16px;margin-top:14px}
#cq-account-workspaces .cqa-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}
#cq-account-workspaces label{display:grid;gap:5px;font-size:12px;font-weight:700;color:var(--cqa-muted)}
#cq-account-workspaces input,#cq-account-workspaces select{display:block;width:100%;min-height:44px;padding:10px 11px;border:1px solid #bed4c5;border-radius:8px;background:#fff;color:var(--cqa-ink);font-size:14px}
#cq-account-workspaces input:read-only{background:#edf2eb}
#cq-account-workspaces .cqa-form-message{color:#95412b;font-size:12px}
#cq-account-workspaces .cqa-notice{padding:13px 16px;border-radius:12px;background:#def3e4;color:#12663e;border:1px solid #b5dbc1}
#cq-account-workspaces .cqa-notice[data-error="true"]{background:#fff0e9;color:#8b321e;border-color:#efcab8}
#cq-account-workspaces .cqa-branch-filter{display:flex;align-items:end;gap:8px;flex-wrap:wrap}
#cq-account-workspaces .cqa-branch-filter label{flex:1;max-width:200px}
#cq-account-workspaces .cqa-signed-out{max-width:540px;padding:36px 24px;margin:12vh auto;background:var(--cqa-paper);border:1px solid var(--cqa-line);border-radius:20px}
#cq-account-workspaces .cqa-signed-out p{margin:18px 0;color:var(--cqa-muted)}
#cq-account-workspaces .cqa-signed-out .cqa-button{margin:10px 8px 0 0}
#cqa-launcher{position:fixed;right:18px;bottom:85px;z-index:94999;background:#087f63;color:#fff;border-color:#087f63;box-shadow:0 5px 18px #133c302d;font-family:CQAccountJakarta,sans-serif}
@media(max-width:760px){
  #cq-account-workspaces .cqa-main{padding:18px 14px 44px;gap:16px}
  #cq-account-workspaces .cqa-header{padding:12px 14px}
  #cq-account-workspaces .cqa-hero{grid-template-columns:1fr;gap:18px}
  #cq-account-workspaces .cqa-card{padding:18px 16px;border-radius:16px}
  #cq-account-workspaces .cqa-type-tabs{grid-template-columns:repeat(2,1fr)}
  #cq-account-workspaces .cqa-type-tabs button{min-height:48px;padding:9px 10px}
  #cq-account-workspaces .cqa-account-row{grid-template-columns:1fr 1fr;gap:12px}
  #cq-account-workspaces .cqa-account-name{grid-column:1/-1}
  #cq-account-workspaces .cqa-account-row>.cqa-button{justify-self:start}
  #cq-account-workspaces .cqa-form-grid{grid-template-columns:1fr}
  #cq-account-workspaces .cqa-overview-metrics{grid-template-columns:1fr 1fr}
  #cqa-editor{padding:16px 12px}
}
@media(prefers-reduced-motion:no-preference){#cq-account-workspaces .cqa-hero{animation:cqa-enter .25s ease-out}@keyframes cqa-enter{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}}
