.account-head{display:flex;gap:20px;align-items:center;justify-content:space-between;padding:20px;max-width:1400px;margin:auto}.account-head>a{color:var(--muted)}.account-wrap{max-width:1400px;margin:auto;padding:20px}.account-wrap h1{font-size:clamp(28px,5vw,48px)}.account-wrap h2{font-size:24px}.account-wrap .card{padding:24px;margin:18px 0}.account-wrap form{display:grid;gap:14px;margin:20px 0}.account-wrap label{display:grid;gap:6px;color:#c9cfd7}.account-wrap input,.account-wrap textarea,.account-wrap select{width:100%;box-sizing:border-box;padding:12px;background:#0b1017;color:#fff;border:1px solid #38414e;border-radius:8px;font:inherit}.account-wrap button,.account-wrap a{overflow-wrap:anywhere}.account-wrap pre{white-space:pre-wrap;word-break:break-word}.account-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:20px 0}.account-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.5fr);gap:20px}.resource{border-bottom:1px solid #2c3340;padding:18px 0;overflow-wrap:anywhere}.resource button{margin:8px 6px 0 0}.account-wrap details{margin:24px 0}#authentication{max-width:620px;margin:24px auto}#notice{min-height:26px;color:#f4c430;overflow-wrap:anywhere}.account-wrap .row{flex-wrap:wrap;gap:20px}.account-wrap [hidden],.account-head [hidden]{display:none!important}@media(max-width:720px){.account-grid{grid-template-columns:1fr}.account-head{flex-wrap:wrap}.account-wrap{padding:12px}.account-wrap .card{padding:16px}.account-tabs .btn{flex:1;white-space:normal}}
.account-tabs .btn{min-height:44px}
@media(max-width:720px){.account-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.account-tabs .btn{flex:none;overflow-wrap:normal;word-break:normal;white-space:normal}}
.account-wrap pre{max-height:360px;overflow:auto;background:#0b1017;border:1px solid #2c3340;border-radius:8px;padding:14px}.account-wrap .status-card{border:1px solid #2c3340;border-radius:9px;padding:14px;margin:10px 0}.account-wrap .status-card h3{margin:0 0 8px;font-size:17px}.account-wrap .status-good{color:#86efac}.account-wrap .status-warn{color:#fbbf24}.account-wrap .status-bad{color:#fca5a5}.account-wrap .workflow-card{border:1px solid #38414e;border-radius:10px;padding:16px;margin:14px 0}.account-wrap .workflow-card .toolbar{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.account-wrap .workflow-card button{margin:4px 6px 4px 0}

.account-wrap .publish-confirm{display:flex;align-items:flex-start;gap:10px;margin:12px 0}.account-wrap .publish-confirm input{width:auto;margin-top:4px}

.account-wrap button:disabled{opacity:.45;cursor:not-allowed;filter:grayscale(.55)}

/* Customer account appearance. The choice changes presentation only; all account data and actions stay shared. */
.account-appearance{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.account-appearance>span{color:var(--muted);font-size:12px;font-weight:700;margin-right:3px}.account-appearance .btn[aria-pressed="true"]{border-color:var(--yellow);background:rgba(244,196,48,.16);color:var(--text);box-shadow:0 0 0 2px rgba(244,196,48,.12)}
html[data-account-theme="light"]{color-scheme:light;--bg:#f3f6fa;--bg2:#fff;--panel:#fff;--panel2:#f7f9fc;--line:#d6dfeb;--text:#142033;--muted:#51627a;--yellow:#a96500;--yellow2:#c17b00;--shadow:0 18px 44px rgba(24,43,70,.10)}
html[data-account-theme="light"] body{background:linear-gradient(180deg,#f7f9fc,#eef3f8);color:var(--text)}
html[data-account-theme="light"] .account-head{background:rgba(255,255,255,.94);border-bottom:1px solid #dce4ee}
html[data-account-theme="light"] .account-head .brand b{color:#996000}
html[data-account-theme="light"] .account-head>a{color:#425570}
html[data-account-theme="light"] .account-wrap .card{background:#fff;border-color:#dce4ee;box-shadow:0 8px 24px rgba(29,50,78,.07)}
html[data-account-theme="light"] .account-wrap h1,html[data-account-theme="light"] .account-wrap h2,html[data-account-theme="light"] .account-wrap h3,html[data-account-theme="light"] .account-wrap strong{color:#17243a}
html[data-account-theme="light"] .account-wrap p,html[data-account-theme="light"] .account-wrap small,html[data-account-theme="light"] .account-wrap label{color:#40516a}
html[data-account-theme="light"] .account-wrap input,html[data-account-theme="light"] .account-wrap textarea,html[data-account-theme="light"] .account-wrap select{background:#fff;color:#17243a;border-color:#bdc9d8}
html[data-account-theme="light"] .account-wrap input::placeholder,html[data-account-theme="light"] .account-wrap textarea::placeholder{color:#66758b}
html[data-account-theme="light"] .account-wrap input:focus,html[data-account-theme="light"] .account-wrap textarea:focus,html[data-account-theme="light"] .account-wrap select:focus,html[data-account-theme="light"] .account-wrap button:focus-visible{outline:3px solid rgba(169,101,0,.35);outline-offset:2px}
html[data-account-theme="light"] .account-wrap .btn,html[data-account-theme="light"] .account-head .btn{background:#fff;color:#17243a;border-color:#bdc9d8}
html[data-account-theme="light"] .account-wrap .btn.primary,html[data-account-theme="light"] .account-head .btn.primary{background:linear-gradient(135deg,#ffd15b,#edaa1e);color:#241600;border:0}
html[data-account-theme="light"] .account-wrap .resource,html[data-account-theme="light"] .account-wrap th,html[data-account-theme="light"] .account-wrap td{border-color:#dce4ee}
html[data-account-theme="light"] .account-wrap pre,html[data-account-theme="light"] .account-wrap .status-card,html[data-account-theme="light"] .account-wrap .workflow-card{background:#f7f9fc;color:#24354c;border-color:#d4deea}
html[data-account-theme="light"] .account-wrap .status-good{color:#176b42}html[data-account-theme="light"] .account-wrap .status-warn{color:#805400}html[data-account-theme="light"] .account-wrap .status-bad{color:#a22c35}
html[data-account-theme="light"] .account-tabs .btn.active{background:#ffedbd;color:#4b3000;border-color:#c17b00}
html[data-account-theme="light"] .account-wrap details summary{color:#24354c}
html[data-account-theme="light"] #notice{color:#805400}
.dashboard-sidebar .account-appearance{margin-top:16px;padding:12px;background:var(--panel2);border:1px solid var(--line);border-radius:12px;display:grid;grid-template-columns:1fr 1fr;gap:7px}.dashboard-sidebar .account-appearance>span{grid-column:1/-1}.dashboard-sidebar .account-appearance .btn{min-height:40px;white-space:nowrap}
@media(max-width:760px){.dashboard-sidebar .account-appearance{margin:10px 0 0}.dashboard-sidebar .account-appearance .btn{padding:9px 8px}}

/* Customer business overview, with the same structure in light and dark themes. */
.dashboard-layout{display:grid;grid-template-columns:205px minmax(0,1fr);gap:20px;align-items:start}.dashboard-sidebar{position:sticky;top:12px}.dashboard-content{min-width:0}.account-tabs{display:grid;grid-template-columns:1fr;gap:7px;margin:0}.account-tabs .btn{text-align:left;min-height:42px}.dashboard-welcome{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:26px!important;background:radial-gradient(ellipse at 90% 10%,rgba(244,196,48,.18),transparent 40%),var(--panel)!important}.dashboard-welcome h2{font-size:clamp(25px,3vw,36px);margin:6px 0}.dashboard-welcome p{margin:4px 0}.dashboard-status{white-space:nowrap;border-radius:999px;padding:8px 12px;background:#432f10;color:#ffd56a;font-weight:700;font-size:13px}.dashboard-status.is-ready{background:#123b2b;color:#8be2b3}.dashboard-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.dashboard-metric{display:flex;flex-direction:column;gap:7px;margin:12px 0!important}.dashboard-metric>span{color:var(--muted);font-size:13px}.dashboard-metric strong{font-size:clamp(24px,3vw,34px);line-height:1.1}.dashboard-metric small{font-size:12px}.dashboard-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.dashboard-card-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.dashboard-card-head h2{margin:0}.dashboard-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:14px}.dashboard-actions .btn{text-align:left;min-height:44px}.dashboard-agent-list{display:flex;flex-wrap:wrap;gap:7px}.dashboard-agent{border:1px solid var(--line);border-radius:999px;padding:5px 9px;font-size:12px}.dashboard-activity-item{display:grid;gap:3px;padding:9px 0;border-bottom:1px solid var(--line)}.dashboard-activity-item small{color:var(--muted)}.dashboard-data-note{font-size:12px;color:var(--muted)}html[data-account-theme="light"] .dashboard-status{background:#fff1ce;color:#805400}html[data-account-theme="light"] .dashboard-status.is-ready{background:#e2f6eb;color:#176b42}
@media(max-width:980px){.dashboard-layout{grid-template-columns:1fr}.dashboard-sidebar{position:static}.account-tabs{display:flex;flex-wrap:wrap}.account-tabs .btn{flex:1 0 145px;text-align:center}.dashboard-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.dashboard-welcome{align-items:flex-start;flex-direction:column}.dashboard-columns{grid-template-columns:1fr}.dashboard-actions{grid-template-columns:1fr}.dashboard-metrics{gap:8px}.dashboard-metric{padding:14px!important}}

/* Command-center layout based on the customer dashboard reference. */
.dashboard-layout{grid-template-columns:220px minmax(0,1fr);gap:16px;max-width:1540px;margin:18px auto}.dashboard-sidebar{background:var(--panel);border:1px solid var(--line);border-radius:16px;padding:14px 10px;box-shadow:var(--shadow)}.dashboard-side-label{font-size:10px;letter-spacing:.13em;font-weight:800;color:var(--muted);padding:8px 10px}.dashboard-more-label{margin-top:12px;border-top:1px solid var(--line);padding-top:16px}.dashboard-sidebar .account-tabs{display:flex;flex-direction:column;gap:4px}.dashboard-sidebar .account-tabs .btn{display:flex;align-items:center;gap:11px;text-align:left;flex:none;width:100%;min-height:48px;padding:8px 10px;border-color:transparent;background:transparent;color:var(--text);font-size:13px}.dashboard-sidebar .account-tabs .btn>span{display:grid;gap:2px}.dashboard-sidebar .account-tabs .btn small{font-size:10px;color:var(--muted);font-weight:400}.dashboard-sidebar .account-tabs .btn.active{background:linear-gradient(110deg,rgba(255,205,73,.32),rgba(255,205,73,.12));border-color:rgba(211,144,24,.32);color:var(--text)}.dashboard-sidebar .account-tabs .btn:hover{background:var(--panel2);border-color:var(--line)}.dashboard-content{min-width:0}.dashboard-content [data-section]{max-width:none}.dashboard-main{min-width:0}.dashboard-command{display:grid;grid-template-columns:minmax(170px,230px) minmax(200px,1fr) auto minmax(110px,auto);align-items:center;gap:14px;padding:12px 16px!important;margin:0 0 14px!important;border-radius:15px!important}.dashboard-brand{display:grid;grid-template-columns:42px 1fr;grid-template-rows:auto auto;align-items:center;column-gap:8px;text-decoration:none}.dashboard-brand img{grid-row:1/3;width:40px;height:40px;object-fit:contain}.dashboard-brand b{font-size:18px;letter-spacing:.01em;color:var(--text)}.dashboard-brand small{font-size:9px;letter-spacing:.06em;color:var(--muted)}.dashboard-command-box{display:flex!important;align-items:center;gap:10px;min-width:0;margin:0!important;padding:4px 5px 4px 12px;border:1px solid var(--line);border-radius:11px;background:var(--panel2)}.dashboard-command-box>span{font-size:18px;color:var(--yellow)}.dashboard-command-box input{min-width:0;border:0!important;background:transparent!important;padding:10px 4px!important;color:var(--text)!important}.dashboard-command-box button{min-width:42px;min-height:40px;padding:7px 12px}.dashboard-notifications{font-size:18px;min-width:40px}.dashboard-account-chip{display:flex;align-items:center;gap:9px;white-space:nowrap}.dashboard-account-chip>span:last-child{display:grid;gap:2px}.dashboard-account-chip strong{font-size:12px}.dashboard-account-chip small{color:var(--muted);font-size:10px}.dashboard-avatar,.dashboard-site-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:11px;background:linear-gradient(140deg,#ffc942,#f2a900);color:#241600;font-weight:900;font-size:19px}.dashboard-welcome{min-height:110px;padding:22px!important;border-radius:16px!important;background:radial-gradient(ellipse at 82% 20%,rgba(43,130,255,.12),transparent 42%),radial-gradient(ellipse at 30% 120%,rgba(245,184,45,.1),transparent 50%),var(--panel)!important}.dashboard-welcome h1{font-size:clamp(25px,3vw,36px);margin:4px 0}.dashboard-welcome .kicker{font-size:10px;letter-spacing:.13em}.dashboard-site-badge{display:flex;align-items:center;gap:10px;padding:9px 12px;border:1px solid var(--line);border-radius:12px;background:var(--panel2)}.dashboard-site-badge>span:nth-child(2){display:grid;gap:3px}.dashboard-site-badge strong{font-size:12px}.dashboard-site-badge small{font-size:10px;color:var(--muted)}.dashboard-site-icon{width:36px;height:36px;flex:none;background:#e6f1ff;color:#1765c0}.dashboard-metrics{margin:12px 0;gap:10px}.dashboard-metric{min-height:88px;padding:15px 17px!important;border-radius:14px!important;border:1px solid var(--line);box-shadow:0 8px 22px rgba(20,35,60,.06)}.dashboard-metric>span{font-size:11px;font-weight:650}.dashboard-metric strong{font-size:27px}.dashboard-metric small{color:var(--muted)}.dashboard-grid{display:grid;gap:12px;align-items:stretch}.dashboard-grid-top{grid-template-columns:1.15fr 1fr .85fr}.dashboard-grid-bottom{grid-template-columns:1.05fr 1fr 1fr;grid-auto-flow:row}.dashboard-grid .card{margin:0!important;padding:17px!important;border-radius:15px!important;min-width:0}.dashboard-card-head{margin-bottom:12px}.dashboard-card-head h2{font-size:16px}.dashboard-card-head small{font-size:10px;color:var(--muted)}.dashboard-activity-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:22px 0 8px}.dashboard-activity-summary>div,.dashboard-site-stats>div{display:grid;gap:5px;padding:12px 10px;border:1px solid var(--line);border-radius:11px;background:var(--panel2)}.dashboard-activity-summary span,.dashboard-site-stats small{font-size:10px;color:var(--muted)}.dashboard-activity-summary strong,.dashboard-site-stats strong{font-size:20px}.dashboard-workforce{min-height:205px}.dashboard-workforce .dashboard-agent-list{margin-top:14px}.dashboard-workforce-foot{margin-top:14px;border-top:1px solid var(--line);padding-top:10px;color:var(--muted);font-size:10px}.dashboard-agent{border-radius:8px;padding:6px 8px;background:var(--panel2);font-size:10px}.dashboard-priority{width:100%;display:block;text-align:left;border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent;color:var(--text);padding:12px 6px;font:inherit;font-size:12px;cursor:pointer}.dashboard-priority:before{content:'□';display:inline-block;margin-right:9px;color:var(--yellow);font-size:18px;vertical-align:-2px}.dashboard-priority:hover{color:var(--yellow)}.dashboard-outline-action{width:100%;margin-top:12px}.dashboard-record{display:grid;gap:4px;padding:10px 0;border-bottom:1px solid var(--line)}.dashboard-record strong{font-size:12px}.dashboard-record small{font-size:10px;color:var(--muted)}.dashboard-site-overview{display:flex;align-items:center;gap:10px;padding:8px 0 15px}.dashboard-site-overview>span:last-child{display:grid;gap:3px}.dashboard-site-overview strong{font-size:13px}.dashboard-site-overview small{font-size:10px;color:var(--muted)}.dashboard-site-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.dashboard-site-stats>div{padding:10px 8px}.dashboard-site-stats strong{font-size:17px}.dashboard-site-stats small{font-size:9px}.dashboard-quick-card{grid-row:span 2}.dashboard-actions{grid-template-columns:1fr;gap:7px;margin-top:8px}.dashboard-actions .btn{min-height:38px;font-size:11px;padding:8px 10px}.dashboard-activity-item{padding:9px 0}.dashboard-activity-item strong{font-size:11px}.dashboard-activity-item small{font-size:9px;color:var(--muted)}.dashboard-campaign-card p,.dashboard-campaign-card #dashboard-campaign-drafts{font-size:11px;color:var(--muted)}.dashboard-health-card #dashboard-health p{font-size:11px}.health-good{color:#16a66a}.health-warn{color:#d99500}.dashboard-disclaimer{margin:14px 3px}.dashboard-status{font-size:10px;padding:6px 9px}.dashboard-status.is-ready{background:#ddf7e9;color:#147345}.dashboard-data-note{line-height:1.5}
html[data-account-theme="light"] .dashboard-sidebar{background:rgba(255,255,255,.96)}html[data-account-theme="light"] .dashboard-sidebar .account-tabs .btn{color:#17243a}html[data-account-theme="light"] .dashboard-command{background:#fff;border-color:#dce4ee}html[data-account-theme="light"] .dashboard-command-box{background:#f8fafc}html[data-account-theme="light"] .dashboard-priority{color:#17243a}html[data-account-theme="light"] .dashboard-metric{background:linear-gradient(160deg,#fff,#fbfcfe)}
@media(max-width:1120px){.dashboard-layout{grid-template-columns:190px minmax(0,1fr)}.dashboard-grid-top{grid-template-columns:1fr 1fr}.dashboard-priority-card{grid-column:1/-1}.dashboard-grid-bottom{grid-template-columns:1fr 1fr}.dashboard-quick-card{grid-row:auto}.dashboard-command{grid-template-columns:minmax(140px,190px) minmax(170px,1fr) auto}.dashboard-account-chip{display:none}}
@media(max-width:760px){.dashboard-layout{grid-template-columns:1fr}.dashboard-sidebar{position:static}.dashboard-sidebar .account-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));max-height:260px;overflow:auto}.dashboard-sidebar .account-tabs .btn{min-height:44px}.dashboard-sidebar .account-tabs .btn small{display:none}.dashboard-side-label{padding-left:8px}.dashboard-command{grid-template-columns:1fr auto;gap:9px}.dashboard-brand{grid-column:1/-1}.dashboard-command-box{grid-column:1/2}.dashboard-notifications{grid-column:2;grid-row:2}.dashboard-site-badge{align-self:stretch}.dashboard-welcome{align-items:flex-start;flex-direction:column}.dashboard-grid-top,.dashboard-grid-bottom{grid-template-columns:1fr}.dashboard-priority-card{grid-column:auto}.dashboard-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-activity-summary{margin-top:14px}}
@media(max-width:420px){.dashboard-metrics{grid-template-columns:1fr}.dashboard-sidebar .account-tabs{grid-template-columns:1fr 1fr}.dashboard-metric{min-height:72px}}
#workspace>.row{display:none}.dashboard-security{padding:0!important;margin:6px auto!important;max-width:1540px}.dashboard-security summary{cursor:pointer;color:var(--muted);font-size:12px;padding:8px}.dashboard-security form{padding:0 16px 10px}.dashboard-export{white-space:nowrap}.dashboard-notifications{white-space:nowrap}

/* Refined customer command center: same reference hierarchy, with verified SWARM data only. */
body:has(#workspace:not([hidden])) .account-head{display:none}
body:has(#workspace:not([hidden])) .account-wrap{max-width:none;padding:18px clamp(12px,2vw,28px)}
.dashboard-layout{max-width:1680px;grid-template-columns:228px minmax(0,1fr);gap:18px;margin:0 auto}
.dashboard-sidebar{top:10px;padding:13px 10px;border-radius:17px;background:var(--panel);box-shadow:0 10px 34px rgba(17,34,56,.08)}
.dashboard-sidebar .account-tabs{gap:3px}
.dashboard-sidebar .account-tabs .btn{min-height:47px;border-radius:10px;font-weight:650}
.dashboard-sidebar .account-tabs .btn.active{background:linear-gradient(100deg,rgba(255,204,71,.32),rgba(255,204,71,.08));box-shadow:inset 3px 0 #e8a817}
.dashboard-command{position:sticky;top:8px;z-index:4;grid-template-columns:minmax(190px,250px) minmax(240px,1fr) auto minmax(125px,auto);padding:10px 16px!important;border-radius:14px!important;box-shadow:0 8px 28px rgba(20,35,60,.08)}
.dashboard-brand{grid-template-columns:46px 1fr;column-gap:9px}.dashboard-brand img{width:44px;height:44px}.dashboard-brand b{font-size:19px;letter-spacing:.015em}.dashboard-command-box{min-height:48px;border-radius:12px}.dashboard-command-box input{font-size:13px}.dashboard-notifications{width:42px;height:42px;border-radius:12px}
.dashboard-welcome{min-height:116px;padding:23px 25px!important;border-radius:16px!important;background:radial-gradient(ellipse at 87% 18%,rgba(40,128,239,.14),transparent 39%),radial-gradient(ellipse at 8% 100%,rgba(242,184,44,.13),transparent 42%),var(--panel)!important}
.dashboard-welcome h1{font-size:clamp(28px,3vw,40px);letter-spacing:-.035em}.dashboard-welcome p{font-size:14px}
.dashboard-site-badge{min-width:205px;min-height:52px;padding:8px 11px;border-radius:13px}.dashboard-status{font-size:11px}
.dashboard-metrics{gap:12px;margin:12px 0 14px}
.dashboard-metric{display:grid;grid-template-columns:52px minmax(0,1fr);grid-template-rows:auto auto auto;align-content:center;column-gap:12px;row-gap:3px;min-height:92px;margin:0!important;padding:14px 16px!important;border-radius:14px!important;background:var(--panel);box-shadow:0 7px 22px rgba(20,35,60,.055)}
.dashboard-metric:before{grid-row:1/4;display:grid;place-items:center;width:48px;height:48px;border-radius:12px;color:#fff;font-size:22px;font-weight:800;box-shadow:0 5px 14px rgba(28,61,114,.16)}
.dashboard-metric.metric-revenue:before{content:'⌂';background:linear-gradient(145deg,#14c981,#00a86b)}
.dashboard-metric.metric-visitors:before{content:'◉';background:linear-gradient(145deg,#398cf4,#1765df)}
.dashboard-metric.metric-leads:before{content:'▽';background:linear-gradient(145deg,#a34cf3,#7435dc)}
.dashboard-metric.metric-requests:before{content:'↗';background:linear-gradient(145deg,#ff7527,#f04d12)}
.dashboard-metric>span{font-size:11px;font-weight:700}.dashboard-metric strong{font-size:clamp(22px,2vw,28px)}.dashboard-metric small{font-size:10px}
.dashboard-grid{gap:14px}.dashboard-grid-top{grid-template-columns:minmax(0,1.12fr) minmax(0,1fr) minmax(255px,.82fr)}
.dashboard-grid-bottom{grid-template-columns:minmax(0,1.02fr) minmax(0,1fr) minmax(255px,.88fr);grid-template-areas:"leads website quick" "campaign health activity";grid-auto-flow:row}
.dashboard-leads-card{grid-area:leads}.dashboard-site-performance{grid-area:website}.dashboard-quick-card{grid-area:quick;grid-row:auto}.dashboard-campaign-card{grid-area:campaign}.dashboard-health-card{grid-area:health}.dashboard-activity-card{grid-area:activity}
.dashboard-grid .card{min-height:220px;padding:17px!important;border-radius:15px!important;box-shadow:0 7px 24px rgba(20,35,60,.045)}
.dashboard-card-head h2{font-size:16px;letter-spacing:-.015em}.dashboard-card-head .btn{white-space:nowrap}
.dashboard-activity-summary{margin:26px 0 12px}.dashboard-activity-summary>div{min-height:72px;align-content:center}.dashboard-activity-summary strong{font-size:21px}
.dashboard-agent-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.dashboard-agent{min-width:0;border-radius:10px;padding:9px 10px;font-weight:650;overflow-wrap:anywhere}
.dashboard-priority{padding:11px 5px;font-weight:650;line-height:1.45}.dashboard-outline-action{min-height:40px;border-color:var(--yellow)}
.dashboard-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.dashboard-actions .btn{min-height:42px;border-radius:10px;font-size:10px;font-weight:700;line-height:1.3}
.dashboard-record{padding:10px 2px}.dashboard-site-stats{gap:6px}.dashboard-site-stats>div{min-height:58px;align-content:center}.dashboard-site-stats strong{font-size:18px}.dashboard-activity-item{padding:10px 2px}.dashboard-health-card .health-good,.dashboard-health-card .health-warn{display:inline-flex;padding:6px 9px;border-radius:999px;background:var(--panel2);font-size:12px}
.dashboard-disclaimer{font-size:11px}
html[data-account-theme="light"] .dashboard-sidebar,html[data-account-theme="light"] .dashboard-command,html[data-account-theme="light"] .dashboard-grid .card,html[data-account-theme="light"] .dashboard-metric{background:#fff}
html[data-account-theme="light"] .dashboard-command{border-color:#dce4ee}
html[data-account-theme="dark"] .dashboard-sidebar,html[data-account-theme="dark"] .dashboard-command,html[data-account-theme="dark"] .dashboard-grid .card,html[data-account-theme="dark"] .dashboard-metric{background:var(--panel)}
html[data-account-theme="dark"] .dashboard-metric{box-shadow:0 8px 25px rgba(0,0,0,.22)}
@media(max-width:1180px){.dashboard-layout{grid-template-columns:200px minmax(0,1fr)}.dashboard-grid-top{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-priority-card{grid-column:1/-1}.dashboard-grid-bottom{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-areas:"leads website" "quick activity" "campaign health"}.dashboard-command{grid-template-columns:minmax(160px,210px) minmax(180px,1fr) auto}.dashboard-account-chip{display:none}}
@media(max-width:760px){body:has(#workspace:not([hidden])) .account-wrap{padding:12px}.dashboard-layout{grid-template-columns:1fr;gap:12px}.dashboard-sidebar{position:static}.dashboard-command{position:static;grid-template-columns:minmax(0,1fr) auto}.dashboard-brand{grid-column:1/-1}.dashboard-command-box{grid-column:1/2}.dashboard-notifications{grid-column:2;grid-row:2}.dashboard-grid-top,.dashboard-grid-bottom{grid-template-columns:1fr;grid-template-areas:none}.dashboard-grid-bottom>*{grid-area:auto}.dashboard-priority-card{grid-column:auto}.dashboard-grid .card{min-height:0}.dashboard-welcome{align-items:flex-start;flex-direction:column}.dashboard-site-badge{width:100%;box-sizing:border-box}.dashboard-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-metric{min-height:78px;padding:10px!important;grid-template-columns:42px minmax(0,1fr);column-gap:9px}.dashboard-metric:before{width:40px;height:40px;font-size:18px}.dashboard-sidebar .account-tabs{max-height:310px}}
@media(max-width:420px){.dashboard-metrics{grid-template-columns:1fr}.dashboard-actions{grid-template-columns:1fr 1fr}.dashboard-agent-list{grid-template-columns:1fr}}
.dashboard-growth-chart{min-height:92px;margin:10px 0 2px}.dashboard-traffic-svg{display:block;width:100%;height:122px;overflow:visible}.dashboard-traffic-svg .chart-axis{stroke:var(--line);stroke-width:1}.dashboard-traffic-svg .chart-label{fill:var(--muted);font:10px system-ui,sans-serif}.dashboard-traffic-svg .chart-views{fill:#2676e8}.dashboard-traffic-svg .chart-leads{fill:#8b4df6}.dashboard-chart-legend{display:flex;gap:14px;justify-content:center;margin:1px 0 6px;color:var(--muted);font-size:10px}.dashboard-chart-legend span:before{content:'';display:inline-block;width:8px;height:8px;margin-right:5px;border-radius:2px;background:#2676e8}.dashboard-chart-legend .chart-leads:before{background:#8b4df6}
/* Keep the authenticated customer dashboard aligned with the reference while using live account signals. */
.dashboard-opportunity-card{grid-area:opportunities}.dashboard-opportunity{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 10px;align-items:start;padding:10px 2px;border-bottom:1px solid var(--line)}.dashboard-opportunity strong{font-size:12px}.dashboard-opportunity p{grid-column:1;margin:0;color:var(--muted);font-size:10px;line-height:1.45}.dashboard-opportunity .btn{grid-column:2;grid-row:1/3;align-self:center;white-space:nowrap}.dashboard-opportunity-priority{color:#9a6200;font-size:9px;font-weight:800;text-transform:uppercase}.dashboard-opportunity-priority.high{color:#c3462c}html[data-account-theme="dark"] .dashboard-opportunity-priority{color:#f0c35a}html[data-account-theme="dark"] .dashboard-opportunity-priority.high{color:#ff907b}
.dashboard-grid-bottom{grid-template-areas:"leads website quick" "campaign health activity" "opportunities opportunities opportunities"}
@media(max-width:1180px){.dashboard-grid-bottom{grid-template-areas:"leads website" "quick activity" "campaign health" "opportunities opportunities"}}
@media(max-width:760px){.dashboard-grid-bottom{grid-template-areas:none}.dashboard-opportunity{grid-template-columns:minmax(0,1fr)}.dashboard-opportunity .btn{grid-column:1;grid-row:auto;justify-self:start}}

/* Signed-in dashboard refinement: the same navigation and live account actions, with the reference's orbit and four-column card rhythm. */
.dashboard-grid-bottom{grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1fr) minmax(230px,.92fr);grid-template-areas:"leads website activity quick" "campaign opportunities health quick"}
.dashboard-grid-bottom .dashboard-quick-card{grid-row:1 / span 2}
.dashboard-grid-bottom .dashboard-opportunity-card{grid-area:opportunities}
.dashboard-grid-top .dashboard-growth,.dashboard-grid-top .dashboard-workforce,.dashboard-grid-top .dashboard-priority-card{min-height:292px}
.dashboard-growth .dashboard-activity-summary{margin:14px 0 4px}
.dashboard-growth-chart{min-height:118px}
.dashboard-workforce{display:flex;flex-direction:column}
.dashboard-workforce .dashboard-agent-orbit{position:relative;display:grid;place-items:center;min-height:204px;margin:2px 0 0;isolation:isolate}
.dashboard-agent-orbit-ring{position:absolute;width:148px;height:148px;border:1px solid rgba(218,165,32,.42);border-radius:50%;box-shadow:0 0 0 22px rgba(39,124,255,.035),0 0 0 46px rgba(152,86,230,.025);pointer-events:none}
.dashboard-agent-orbit-center{position:absolute;z-index:1;display:grid;place-content:center;width:74px;height:74px;border:2px solid #edb422;border-radius:50%;background:radial-gradient(circle at 35% 25%,#423c2a,#121212);box-shadow:0 0 24px rgba(245,184,45,.22);color:#ffd34e;text-align:center;pointer-events:none}
.dashboard-agent-orbit-center b{font-size:27px;line-height:1}.dashboard-agent-orbit-center small{font-size:8px;letter-spacing:.12em;color:#fff}
.dashboard-agent-list{position:absolute;inset:0;display:block!important;min-height:0;margin:0!important;pointer-events:none}
.dashboard-agent-list .dashboard-agent{position:absolute;display:grid;place-items:center;max-width:120px;min-width:82px;min-height:36px;padding:6px 9px;border:1px solid var(--line);border-radius:10px;background:var(--panel);box-shadow:0 4px 14px rgba(20,30,50,.12);font-size:10px;font-weight:700;line-height:1.25;text-align:center;overflow-wrap:anywhere}
.dashboard-agent-list .dashboard-agent:nth-child(1){top:0;left:50%;transform:translateX(-50%)}
.dashboard-agent-list .dashboard-agent:nth-child(2){top:22%;right:0}
.dashboard-agent-list .dashboard-agent:nth-child(3){bottom:22%;right:0}
.dashboard-agent-list .dashboard-agent:nth-child(4){bottom:0;left:50%;transform:translateX(-50%)}
.dashboard-agent-list .dashboard-agent:nth-child(5){bottom:22%;left:0}
.dashboard-agent-list .dashboard-agent:nth-child(6){top:22%;left:0}
.dashboard-workforce-foot{position:relative;z-index:2;margin-top:auto;font-size:11px}
.dashboard-card-head h2{font-size:17px}.dashboard-card-head small{font-size:11px}.dashboard-record strong,.dashboard-opportunity strong{font-size:13px}.dashboard-record small,.dashboard-opportunity p,.dashboard-activity-item small{font-size:11px}.dashboard-actions .btn{min-height:44px;font-size:11px}.dashboard-priority{padding:12px 6px;font-size:13px}.dashboard-priority:hover,.dashboard-priority:focus-visible{background:var(--panel2)}
html[data-account-theme="light"] .dashboard-agent-orbit-center{background:radial-gradient(circle at 35% 25%,#fff2c6,#211a08);color:#ffcf3e}
html[data-account-theme="light"] .dashboard-agent-list .dashboard-agent{background:#fff;color:#17243a;border-color:#d4deea}
html[data-account-theme="light"] .dashboard-agent-orbit-ring{border-color:rgba(169,101,0,.38)}
.dashboard-sidebar .account-tabs .btn:focus-visible,.dashboard-command-box button:focus-visible,.dashboard-priority:focus-visible,.dashboard-grid .btn:focus-visible,.account-appearance .btn:focus-visible{outline:3px solid rgba(169,101,0,.55);outline-offset:2px}
@media(max-width:1320px){.dashboard-grid-bottom{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-areas:"leads website activity" "campaign opportunities health" "quick quick quick"}.dashboard-grid-bottom .dashboard-quick-card{grid-row:auto}.dashboard-grid-bottom .dashboard-quick-card .dashboard-actions{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1180px){.dashboard-grid-bottom{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-areas:"leads website" "activity quick" "campaign opportunities" "health health"}.dashboard-grid-bottom .dashboard-quick-card .dashboard-actions{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.dashboard-grid-top .dashboard-growth,.dashboard-grid-top .dashboard-workforce,.dashboard-grid-top .dashboard-priority-card{min-height:0}.dashboard-grid-bottom{grid-template-columns:1fr;grid-template-areas:none}.dashboard-grid-bottom>*{grid-area:auto}.dashboard-grid-bottom .dashboard-quick-card .dashboard-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-workforce .dashboard-agent-orbit{min-height:212px}.dashboard-agent-list .dashboard-agent{max-width:104px;min-width:72px;font-size:9px}}
@media(max-width:420px){.dashboard-grid-bottom .dashboard-quick-card .dashboard-actions{grid-template-columns:1fr 1fr}.dashboard-agent-list .dashboard-agent{max-width:90px;min-width:64px;padding:5px;font-size:8px}.dashboard-agent-orbit-ring{width:128px;height:128px}}
.dashboard-more-tools{margin:7px 0!important;border-top:1px solid var(--line);padding-top:7px}.dashboard-more-tools summary{cursor:pointer;list-style:none;padding:11px 10px;border-radius:9px;color:var(--muted);font-size:12px;font-weight:750}.dashboard-more-tools summary::-webkit-details-marker{display:none}.dashboard-more-tools summary:after{content:'＋';float:right}.dashboard-more-tools[open] summary:after{content:'−'}.dashboard-more-tools summary:hover,.dashboard-more-tools summary:focus-visible{background:var(--panel2);color:var(--text);outline:2px solid transparent}.dashboard-more-tools .btn{display:block;width:100%;margin-top:3px;background:transparent;border-color:transparent;color:var(--text);text-align:left;font-size:12px}.dashboard-more-tools .btn:hover{background:var(--panel2)}
html[data-account-theme="light"] .dashboard-more-tools .btn{color:#17243a}
.dashboard-security{width:100%;box-sizing:border-box}.dashboard-security summary{cursor:pointer;font-weight:700}.dashboard-security form{max-width:620px}
