/* Signed-in client workspace only. Login and registration keep the existing layout. */
html[data-theme="light"] body.account-page.account-authenticated {
  --portal-bg:#f7f6fb;--portal-panel:#fff;--portal-ink:#221735;
  --portal-muted:#756d85;--portal-border:#e7e2f1;--portal-accent:#7134d5;
  --portal-accent-soft:#f1eafe;--portal-hover:#f8f4ff;
  --portal-shadow:0 12px 30px rgba(35,18,68,.045);
}
html[data-theme="dark"] body.account-page.account-authenticated {
  --portal-bg:#110e1b;--portal-panel:#1c1729;--portal-ink:#f8f3ff;
  --portal-muted:#b5a9ca;--portal-border:#393048;--portal-accent:#bb86ff;
  --portal-accent-soft:#332149;--portal-hover:#282038;
  --portal-shadow:0 12px 30px rgba(0,0,0,.18);
}
html[data-theme] body.account-page.account-authenticated {
  background:var(--portal-bg);color:var(--portal-ink);min-width:0;
}
html[data-theme] body.account-page.account-authenticated .account-header {
  /* Keep theme selection available without a full-width empty header row. */
  box-sizing:border-box;position:absolute;z-index:10;top:14px;
  right:clamp(16px,2.5vw,40px);width:auto;max-width:none;min-height:0;
  margin:0;padding:0;justify-content:flex-end;background:transparent;border:0;
}
html[data-theme] body.account-page.account-authenticated .account-header .account-brand,
html[data-theme] body.account-page.account-authenticated .account-header nav {display:none}
html[data-theme] body.account-page.account-authenticated .account-shell {
  display:block;flex:1;width:100%;max-width:none;margin:0;min-width:0;
}
html[data-theme] body.account-page.account-authenticated .account-intro-panel {display:none}
html[data-theme] body.account-page.account-authenticated .account-card {
  padding:0;margin:0;width:100%;max-width:none;background:transparent;
  border:0;border-radius:0;box-shadow:none;min-width:0;
}
html[data-theme] body.account-page.account-authenticated .account-card>.account-kicker,
html[data-theme] body.account-page.account-authenticated .account-card>#account-title,
html[data-theme] body.account-page.account-authenticated .account-card>#account-intro {display:none}
html[data-theme] body.account-page.account-authenticated .account-card>#account-service-message,
html[data-theme] body.account-page.account-authenticated .account-card>#account-message:not(:empty) {
  position:fixed;z-index:20;right:clamp(16px,3vw,48px);top:76px;
  box-sizing:border-box;width:min(420px,calc(100vw - 32px));
  min-height:0;margin:0;padding:12px 16px;
  border:1px solid var(--portal-border);border-radius:12px;
  background:var(--portal-panel);box-shadow:var(--portal-shadow);
  color:var(--portal-ink);font-size:13px;line-height:1.5;
}
html[data-theme] body.account-page.account-authenticated .account-card>#account-message.error {
  border-color:#ce5b65;color:var(--portal-ink);
}
/* Empty status is removed from both the visual layout and keyboard navigation. */
html[data-theme] body.account-page.account-authenticated .account-card>#account-message:empty {display:none}
html[data-theme] body.account-page.account-authenticated .account-footer {display:none}
html[data-theme] body.account-page.account-authenticated #account-signed-in {
  display:grid;grid-template-columns:264px minmax(0,1fr);align-items:stretch;
  min-height:100vh;min-height:100dvh;width:100%;color:var(--portal-ink);
}
.account-authenticated .client-sidebar {
  position:sticky;top:0;align-self:start;display:flex;flex-direction:column;gap:0;
  box-sizing:border-box;min-height:100vh;height:100vh;min-height:100dvh;height:100dvh;
  overflow-y:auto;padding:20px 16px 16px;background:var(--portal-panel);
  border-right:1px solid var(--portal-border);
}
.account-authenticated .client-sidebar-brand {
  display:flex;align-items:center;gap:12px;margin:0 8px 22px;text-decoration:none;
  color:var(--portal-ink);font-size:23px;font-weight:850;letter-spacing:-.065em;
}
.account-authenticated .client-sidebar-brand img{width:38px;height:38px}
.account-authenticated .client-sidebar-brand strong{color:var(--portal-accent)}
.account-authenticated .client-sidebar-user {
  display:flex;align-items:center;gap:12px;min-width:0;margin:0 4px 18px;padding:12px;
  background:var(--portal-accent-soft);border:1px solid var(--portal-border);border-radius:15px;
}
.account-authenticated .client-avatar {
  display:flex;align-items:center;justify-content:center;flex:0 0 46px;width:46px;height:46px;
  border-radius:50%;overflow:hidden;color:#fff;background:#7232d0;font-size:20px;font-weight:800;
}
.account-authenticated .client-avatar img{width:100%;height:100%;object-fit:cover}
.account-authenticated .client-user-details{min-width:0;display:grid;gap:3px}
.account-authenticated .client-user-details strong{font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.account-authenticated .client-user-details>span {
  color:var(--portal-muted);font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}
.account-authenticated .client-nav-heading {
  font-size:10px;letter-spacing:.13em;font-weight:800;color:var(--portal-muted);
  margin:9px 14px 8px;
}
.account-authenticated .client-nav{display:grid;gap:3px;margin-bottom:12px}
.account-authenticated .client-nav a,.account-authenticated .client-nav button {
  display:flex;align-items:center;gap:12px;width:100%;min-height:41px;box-sizing:border-box;
  padding:10px 12px;border:1px solid transparent;border-radius:10px;background:transparent;
  color:var(--portal-muted);font:inherit;font-size:13px;font-weight:650;text-align:left;
  text-decoration:none;cursor:pointer;transition:background .15s,color .15s;
}
.account-authenticated .client-nav a>svg,.account-authenticated .client-nav button>svg {
  display:block;flex:0 0 19px;width:19px;height:19px;color:var(--portal-accent);
}
.account-authenticated .client-signout>svg{
  width:18px;height:18px;flex:0 0 18px;color:var(--portal-accent);
}
.account-authenticated .client-nav a:hover,.account-authenticated .client-nav button:hover {
  background:var(--portal-hover);color:var(--portal-ink);
}
.account-authenticated .client-nav button[aria-current="page"] {
  background:var(--portal-accent-soft);border-color:var(--portal-border);color:var(--portal-accent);
}
.account-authenticated .client-sidebar-footer{display:grid;gap:8px;margin-top:auto;padding:10px 6px 0}
.account-authenticated .client-sidebar-footer>span{font-size:10px;color:var(--portal-muted);text-align:center}
.account-authenticated .client-signout {
  display:flex;align-items:center;gap:12px;margin-top:0;padding:11px 12px;border:1px solid var(--portal-border);
  border-radius:10px;background:transparent;color:var(--portal-ink);cursor:pointer;font:inherit;
  font-weight:700;font-size:12px;text-align:left;
}
.account-authenticated .client-signout:hover{background:var(--portal-hover)}
.account-authenticated .client-main {
  min-width:0;max-width:1440px;width:100%;box-sizing:border-box;margin:0 auto;
  padding:28px clamp(22px,4vw,64px) 60px;
}
.account-authenticated .client-main-header {
  display:flex;align-items:center;justify-content:space-between;gap:20px;
  margin:0 0 22px;padding-bottom:18px;border-bottom:1px solid var(--portal-border);
}
.account-authenticated .client-breadcrumb{font-size:12px;color:var(--portal-muted);margin:0 0 9px}
.account-authenticated .client-breadcrumb span{color:var(--portal-accent);font-weight:700}
html[data-theme] body.account-page.account-authenticated .client-main h1 {
  margin:0 0 8px;font-size:clamp(27px,3vw,36px);letter-spacing:-.055em;
  line-height:1.2;color:var(--portal-ink);
}
.account-authenticated #account-view-description{margin:0;color:var(--portal-muted);font-size:13px}
.account-authenticated .account-connected{white-space:nowrap}
.account-authenticated .client-panel{min-width:0}
.account-authenticated .client-welcome-card {
  display:flex;align-items:center;justify-content:space-between;gap:22px;
  padding:28px clamp(22px,3vw,38px);border-radius:18px;
  background:linear-gradient(112deg,#4c2093 0%,#7936de 67%,#9657ed 100%);color:#fff;
  overflow:hidden;box-shadow:0 12px 25px rgba(85,36,153,.13);
}
.account-authenticated .client-card-kicker{margin:0 0 12px;font-size:10px;letter-spacing:.16em;color:#e0c8ff;font-weight:850}
.account-authenticated .client-welcome-card h2{font-size:clamp(22px,2.4vw,30px);letter-spacing:-.04em;color:#fff;margin:0 0 10px}
.account-authenticated .client-welcome-card p:not(.client-card-kicker){max-width:580px;font-size:13px;line-height:1.6;color:#f2e9ff;margin:0}
.account-authenticated .client-primary-action {
  flex-shrink:0;padding:12px 18px;border:0;border-radius:11px;
  background:#fff;color:#552496;font-weight:800;font-size:12px;cursor:pointer;
}
.account-authenticated .client-primary-action:hover{background:#f4eaff}
.account-authenticated .client-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:16px 0}
.account-authenticated .client-metric,.account-authenticated .client-surface {
  min-width:0;background:var(--portal-panel);border:1px solid var(--portal-border);
  border-radius:15px;box-shadow:var(--portal-shadow);
}
.account-authenticated .client-metric{display:flex;flex-direction:column;gap:9px;padding:19px}
.account-authenticated .client-metric>span{color:var(--portal-muted);font-size:12px;font-weight:650}
.account-authenticated .client-metric>strong{color:var(--portal-ink);font-size:24px;line-height:1.24;letter-spacing:-.04em;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.account-authenticated .client-metric>small{color:var(--portal-muted);font-size:10px;line-height:1.5}
.account-authenticated .client-overview-grid{display:grid;grid-template-columns:1.25fr 1fr;gap:18px}

.account-authenticated .client-activation-section{margin:18px 0;min-width:0}
.account-authenticated .client-activation-section>.client-surface-header{margin-bottom:8px}
.account-authenticated .client-activation-section>p{margin:8px 0 15px}
.account-authenticated #account-activation-notice:not(:empty){
  margin:0 0 13px;padding:11px 13px;border:1px solid var(--portal-border);
  border-radius:10px;background:var(--portal-accent-soft);color:var(--portal-ink);
}
.account-authenticated .activation-card-grid{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;
}
.account-authenticated .activation-card{
  min-width:0;display:grid;align-content:start;gap:14px;
  border:1px solid var(--portal-border);border-radius:12px;
  background:var(--portal-panel);padding:16px;
}
.account-authenticated .activation-card-header{
  display:flex;align-items:center;justify-content:space-between;gap:10px;
}
.account-authenticated .activation-card-header strong{color:var(--portal-ink);font-size:14px}
.account-authenticated .activation-card-header span{
  padding:5px 8px;border:1px solid var(--portal-border);border-radius:8px;
  color:var(--portal-muted);background:var(--portal-hover);font-size:10px;font-weight:700;
}
.account-authenticated .activation-card-header span[data-status="activated"]{
  color:var(--portal-accent);background:var(--portal-accent-soft);
}
html[data-theme] body.account-page.account-authenticated .activation-card label,
html[data-theme] body.account-page.account-authenticated .activation-secret label{
  display:grid;gap:8px;min-width:0;color:var(--portal-ink);font-size:12px;font-weight:700;
}
.account-authenticated .activation-card input,
.account-authenticated .activation-secret input{
  width:100%;min-width:0;box-sizing:border-box;padding:11px 12px;
  border:1px solid var(--portal-border);border-radius:9px;
  background:var(--portal-panel);color:var(--portal-ink);font:inherit;font-size:12px;
}
.account-authenticated .activation-card-actions{display:grid;gap:9px}
.account-authenticated .activation-card button,.account-authenticated .activation-secret button{
  min-height:42px;min-width:0;box-sizing:border-box;padding:10px 12px;
  border:1px solid var(--portal-accent);border-radius:9px;
  background:var(--portal-accent);color:white;cursor:pointer;
  font:inherit;font-size:11px;font-weight:750;
}
.account-authenticated .activation-card .activation-card-revoke{
  border-color:var(--portal-border);color:#ce5b65;background:transparent;
}
.account-authenticated .activation-card button:disabled{opacity:.6;cursor:wait}
.account-authenticated .activation-secret{
  display:grid;gap:12px;padding:14px;min-width:0;
  border:1px solid var(--portal-border);border-radius:12px;
  background:var(--portal-accent-soft);
}
.account-authenticated .activation-card .activation-technician{
  margin:0;color:var(--portal-muted);font-size:13px;overflow-wrap:anywhere;
}
.account-authenticated .activation-secret .activation-code-row{
  display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:end;
}
.account-authenticated .activation-secret .activation-code-row button{min-height:38px}
@media(max-width:420px){
  .account-authenticated .activation-secret .activation-code-row{grid-template-columns:1fr}
}
.account-authenticated .activation-secret input{font-family:ui-monospace,monospace;font-size:12px}
.account-authenticated .activation-secret small{font-size:11px;color:var(--portal-muted);line-height:1.6}
.account-authenticated .activation-card input:focus-visible,
.account-authenticated .activation-secret input:focus-visible,
.account-authenticated .activation-card button:focus-visible,
.account-authenticated .activation-secret button:focus-visible{
  outline:2px solid var(--portal-accent);outline-offset:2px;
}

.account-authenticated .client-surface{padding:22px}
.account-authenticated .client-surface-header{display:flex;align-items:center;justify-content:space-between;gap:14px}
.account-authenticated .client-surface-header h2,.account-authenticated .client-section-heading h2 {
  color:var(--portal-ink);font-size:18px;font-weight:800;letter-spacing:-.03em;margin:0;
}
.account-authenticated .client-surface-header>span{font-size:9px;letter-spacing:.13em;color:var(--portal-accent);font-weight:850}
.account-authenticated .client-surface p{font-size:12px;line-height:1.6;color:var(--portal-muted);margin:12px 0 16px}
.account-authenticated .client-quick-actions{display:grid;gap:9px}
.account-authenticated .client-quick-actions button,.account-authenticated .client-text-action {
  display:flex;align-items:center;justify-content:space-between;width:100%;min-height:44px;
  padding:10px 14px;border:1px solid var(--portal-border);border-radius:10px;
  background:var(--portal-hover);color:var(--portal-ink);font:inherit;font-weight:700;font-size:12px;
  cursor:pointer;text-align:left;
}
.account-authenticated .client-quick-actions button span,.account-authenticated .client-text-action span{color:var(--portal-accent)}
.account-authenticated .client-text-action{background:transparent}
.account-authenticated .client-section-heading{margin:0 0 24px}
.account-authenticated .client-section-heading h2{font-size:22px}
.account-authenticated .client-section-heading p{color:var(--portal-muted);font-size:13px;line-height:1.7;margin:8px 0 0}
html[data-theme] body.account-page.account-authenticated .account-plan-actions{
  background:var(--portal-panel);border:1px solid var(--portal-border);border-radius:15px;
  padding:24px;margin:0 0 20px;box-shadow:var(--portal-shadow);
}
html[data-theme] body.account-page.account-authenticated .account-plan-actions h2{color:var(--portal-ink)}
html[data-theme] body.account-page.account-authenticated .account-plan-actions label{color:var(--portal-ink)}
html[data-theme] body.account-page.account-authenticated .account-intro{color:var(--portal-muted)}

html[data-theme] body.account-page.account-authenticated #account-app-access {
  background:transparent;border:0;box-shadow:none;padding:0;margin:0;
}
.account-authenticated .technician-board-heading {
  display:flex;justify-content:space-between;align-items:flex-start;gap:20px;
  padding:2px 0 12px;
}
.account-authenticated .technician-board-eyebrow {
  display:block;color:var(--portal-accent);font-size:10px;font-weight:850;letter-spacing:.14em;margin:0 0 10px;
}
.account-authenticated .technician-board-heading h2 {
  margin:0 0 8px;color:var(--portal-ink);font-size:23px;font-weight:800;letter-spacing:-.04em;
}
.account-authenticated .technician-board-heading p {
  max-width:660px;margin:0;color:var(--portal-muted);font-size:13px;line-height:1.7;
}
.account-authenticated .technician-board-note {
  display:inline-block;flex:0 0 auto;max-width:230px;padding:10px 13px;border-radius:10px;
  border:1px solid var(--portal-border);background:var(--portal-accent-soft);
  color:var(--portal-accent);font-size:11px;font-weight:700;line-height:1.5;
}
.account-authenticated .technician-board-notice:not(:empty) {
  padding:12px 15px;border:1px solid var(--portal-border);border-radius:11px;
  background:var(--portal-accent-soft);color:var(--portal-ink);font-size:12px;line-height:1.6;
}
.account-authenticated .technician-board-footnote {
  padding:14px 0;margin:0;color:var(--portal-muted);font-size:11px;line-height:1.7;
}
.account-authenticated .technician-card-grid {
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:14px 0 16px;
}
.account-authenticated .technician-card {
  min-width:0;display:flex;flex-direction:column;gap:0;overflow:hidden;
  border:1px solid var(--portal-border);border-radius:17px;
  background:var(--portal-panel);box-shadow:var(--portal-shadow);
}
.account-authenticated .technician-card-header {
  display:flex;align-items:center;gap:13px;min-width:0;
  padding:18px;border-bottom:1px solid var(--portal-border);
}
.account-authenticated .technician-card-avatar {
  position:relative;flex:0 0 72px;width:72px;height:72px;display:grid;place-items:center;
  overflow:hidden;border-radius:50%;border:3px solid var(--portal-panel);
  outline:1px solid var(--portal-border);background:linear-gradient(135deg,#6530be,#ae71ee);
  color:white;font-size:23px;font-weight:850;box-sizing:border-box;
}
.account-authenticated .technician-card-initials {display:grid;place-items:center;width:100%;height:100%}
.account-authenticated .technician-card-photo {position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.account-authenticated .technician-card-photo[hidden],
.account-authenticated .technician-card-initials[hidden],
.account-authenticated .technician-card-actions button[hidden] {display:none!important}
.account-authenticated .technician-card-identity {flex:1;min-width:0}
.account-authenticated .technician-card-kicker {
  display:block;color:var(--portal-accent);font-size:10px;font-weight:800;letter-spacing:.1em;margin-bottom:5px;
}
.account-authenticated .technician-card-identity h3 {
  margin:0 0 5px;overflow-wrap:anywhere;color:var(--portal-ink);font-size:17px;font-weight:800;
  line-height:1.25;letter-spacing:-.03em;
}
.account-authenticated .technician-card-identity p {
  margin:0;color:var(--portal-muted);font-size:11px;overflow-wrap:anywhere;
}
.account-authenticated .technician-card-badge {
  flex:0 0 auto;align-self:flex-start;max-width:115px;
  padding:6px 8px;border-radius:7px;color:var(--portal-muted);
  background:var(--portal-hover);border:1px solid var(--portal-border);
  font-size:10px;font-weight:750;text-align:center;line-height:1.35;
}
.account-authenticated .technician-card-badge[data-status="activated"] {
  color:var(--portal-accent);background:var(--portal-accent-soft);
}
.account-authenticated .technician-card-fields {
  display:grid;grid-template-columns:1fr;gap:13px;padding:19px 20px 0;
}
html[data-theme] body.account-page.account-authenticated .technician-card-fields label {
  display:grid;gap:7px;margin:0;color:var(--portal-ink);font-size:12px;font-weight:750;
}
.account-authenticated .technician-card-fields input {
  width:100%;max-width:100%;min-width:0;box-sizing:border-box;
  border:1px solid var(--portal-border);border-radius:9px;background:var(--portal-panel);
  color:var(--portal-ink);padding:11px 12px;font:inherit;font-size:12px;
}
.account-authenticated .technician-card-fields input[type=file],
.account-authenticated #account-profile-file {
  background:var(--portal-hover);padding:8px;font-size:11px;
}
.account-authenticated .technician-card-fields label small {
  font-size:10px;font-weight:400;line-height:1.55;color:var(--portal-muted);
}
.account-authenticated .technician-card-description {
  min-height:35px;margin:12px 20px 0;color:var(--portal-muted);
  font-size:10px;line-height:1.6;
}
.account-authenticated .technician-card-actions {
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;
  margin-top:auto;padding:15px 20px 20px;
}
.account-authenticated .technician-card-actions button {
  width:100%;min-width:0;min-height:42px;box-sizing:border-box;
  padding:10px 8px;border-radius:9px;border:1px solid var(--portal-border);
  background:var(--portal-hover);color:var(--portal-ink);cursor:pointer;
  font:inherit;font-weight:750;font-size:11px;line-height:1.3;
}
.account-authenticated .technician-card-actions .technician-card-primary {
  background:var(--portal-accent);border-color:var(--portal-accent);color:#fff;
}
.account-authenticated .technician-card-actions button[data-card-revoke] {
  background:transparent;color:#ce5b65;border-color:var(--portal-border);
}
.account-authenticated .technician-card-actions button:hover {filter:brightness(.96)}
.account-authenticated .technician-card-actions button:disabled {opacity:.55;cursor:wait}
.account-authenticated .technician-card-fields input:focus-visible,
.account-authenticated .technician-card-actions button:focus-visible {
  outline:2px solid var(--portal-accent);outline-offset:2px;
}
html[data-theme] body.account-page.account-authenticated .account-plan-actions input:not([type=file]){
  background:var(--portal-panel);color:var(--portal-ink);border-color:var(--portal-border);
}
.account-authenticated .account-app-token-label{margin:20px 0 0}
.account-authenticated .client-subscription-surface p{margin:0;font-size:14px}
.account-authenticated .client-subscription-surface{display:grid;gap:20px;padding:26px;min-width:0}
.account-authenticated .client-subscription-header{
  display:flex;justify-content:space-between;align-items:flex-start;gap:20px;flex-wrap:wrap;
}
.account-authenticated .client-billing-eyebrow{
  font-size:10px;letter-spacing:.11em;color:var(--portal-accent);font-weight:800;
}
.account-authenticated .client-subscription-header h3{
  margin:8px 0 0;color:var(--portal-ink);font-size:clamp(20px,2.5vw,27px);
  line-height:1.2;letter-spacing:-.035em;
}
.account-authenticated .client-subscription-badge{
  border:1px solid var(--portal-border);background:var(--portal-hover);
  color:var(--portal-muted);border-radius:999px;padding:9px 12px;
  font-size:11px;font-weight:800;max-width:100%;
}
.account-authenticated .client-subscription-badge[data-state="trial"]{
  border-color:var(--portal-accent);background:var(--portal-accent-soft);color:var(--portal-accent);
}
.account-authenticated .client-subscription-badge[data-state="paid"]{
  border-color:var(--portal-accent);color:var(--portal-accent);
}
.account-authenticated .client-subscription-badge[data-state="expired"],
.account-authenticated .client-subscription-badge[data-state="unavailable"]{
  color:var(--portal-muted);
}
.account-authenticated .client-subscription-explanation{color:var(--portal-muted);line-height:1.6}
.account-authenticated .client-subscription-stats{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;margin-bottom:15px;
}
.account-authenticated .client-subscription-stats>div{
  display:flex;flex-direction:column;gap:9px;min-width:0;padding:17px;
  background:var(--portal-hover);border:1px solid var(--portal-border);border-radius:12px;
}
.account-authenticated .client-subscription-stats>div>span{
  color:var(--portal-muted);font-size:11px;font-weight:750;
}
.account-authenticated .client-subscription-stats strong{
  color:var(--portal-ink);font-size:14px;line-height:1.5;overflow-wrap:anywhere;
}
.account-authenticated .client-subscription-stats small{
  color:var(--portal-muted);font-size:11px;line-height:1.4;
}
.account-authenticated .client-subscription-progress{
  margin:4px 0 15px;padding:14px 0;
}
.account-authenticated .client-subscription-progress>div:first-child{
  display:flex;gap:8px;justify-content:space-between;align-items:center;
  margin-bottom:10px;color:var(--portal-muted);font-size:11px;
}
.account-authenticated .client-subscription-progress strong{color:var(--portal-ink);font-size:12px}
.account-authenticated .client-subscription-meter{
  overflow:hidden;border-radius:99px;height:8px;background:var(--portal-border);
}
.account-authenticated .client-subscription-meter span{
  display:block;min-height:8px;background:var(--portal-accent);border-radius:99px;max-width:100%;
}
.account-authenticated .client-subscription-payment[hidden],
.account-authenticated .client-subscription-progress[hidden],
.account-authenticated #account-subscription-details[hidden]{display:none!important}
.account-authenticated .client-subscription-payment{
  display:grid;gap:15px;padding:20px;border:1px solid var(--portal-border);
  border-radius:12px;background:var(--portal-accent-soft);margin-bottom:13px;
}
.account-authenticated .client-subscription-payment h4{
  font-size:15px;font-weight:800;color:var(--portal-ink);margin:0 0 5px;
}
.account-authenticated .client-subscription-payment p{
  font-size:12px;color:var(--portal-muted);line-height:1.55;
}
.account-authenticated .client-subscription-payment dl{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:0;
}
.account-authenticated .client-subscription-payment dl>div{min-width:0}
.account-authenticated .client-subscription-payment dt{
  color:var(--portal-muted);font-size:11px;margin-bottom:5px;
}
.account-authenticated .client-subscription-payment dd{
  color:var(--portal-ink);font-size:13px;font-weight:750;margin:0;overflow-wrap:anywhere;
}
.account-authenticated .client-subscription-footnote{
  padding:14px 0 0;border-top:1px solid var(--portal-border);color:var(--portal-muted);
  line-height:1.6;font-size:11px!important;
}
.account-authenticated .client-plan-explainer{color:var(--portal-muted);font-size:12px;line-height:1.65}
@media(max-width:1050px){
  .account-authenticated .client-subscription-stats{grid-template-columns:1fr}
}
@media(max-width:550px){
  .account-authenticated .client-subscription-surface{padding:17px;gap:15px}
  .account-authenticated .client-subscription-header{gap:12px}
  .account-authenticated .client-subscription-payment{padding:14px}
  .account-authenticated .client-subscription-payment dl{grid-template-columns:1fr}
}

.account-authenticated .client-settings-links{display:grid;gap:0;padding:5px 20px}
.account-authenticated .client-settings-links a{
  display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;
  padding:18px 6px;color:var(--portal-ink);text-decoration:none;border-bottom:1px solid var(--portal-border);
}
.account-authenticated .client-settings-links a:last-child{border-bottom:0}
.account-authenticated .client-settings-links a span{color:var(--portal-accent);font-size:12px}
.account-authenticated .client-nav a:focus-visible,.account-authenticated .client-nav button:focus-visible,
.account-authenticated .client-main button:focus-visible,.account-authenticated .client-settings-links a:focus-visible,
.account-authenticated .client-signout:focus-visible {outline:3px solid var(--portal-accent);outline-offset:3px}
@media(max-width:1100px){
  .account-authenticated .client-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
  .account-authenticated .client-overview-grid{grid-template-columns:1fr}
  .account-authenticated .activation-card-grid{grid-template-columns:1fr}
  .account-authenticated .technician-card-grid{grid-template-columns:1fr}
}
@media(max-width:760px){
  html[data-theme] body.account-page.account-authenticated #account-signed-in{display:block}
  .account-authenticated .client-sidebar{position:relative;min-height:0;height:auto;padding:14px 16px 10px;border-right:0;border-bottom:1px solid var(--portal-border)}
  .account-authenticated .client-sidebar-brand{margin:0 120px 10px 2px}
  .account-authenticated .client-sidebar-user{margin:0 0 10px;padding:8px}
  .account-authenticated .client-nav-heading{display:none}
  .account-authenticated .client-nav{display:flex;gap:7px;overflow-x:auto;margin:0 0 5px;padding-bottom:4px;scrollbar-width:thin}
  .account-authenticated .client-nav a,.account-authenticated .client-nav button{width:auto;min-width:max-content;min-height:39px}
  .account-authenticated .client-sidebar-footer{margin:0;padding:3px 0 0;display:flex;justify-content:space-between;align-items:center}
  .account-authenticated .client-sidebar-footer>span{display:none}
  .account-authenticated .client-main{padding:20px 16px 44px}
  .account-authenticated .client-main-header{align-items:start}
}
@media(max-width:550px){
  .account-authenticated .client-main-header{flex-wrap:wrap;gap:10px}
  .account-authenticated .client-welcome-card{display:block;padding:24px}
  .account-authenticated .client-primary-action{margin-top:18px}
  .account-authenticated .client-metrics{gap:10px}
  .account-authenticated .client-metric{padding:15px}
  .account-authenticated .client-metric>strong{font-size:20px}
  .account-authenticated .technician-board-heading{display:grid;gap:12px}
  .account-authenticated .technician-board-note{max-width:none}
  .account-authenticated .technician-card-header{flex-wrap:wrap}
  .account-authenticated .technician-card-badge{align-self:center}
  .account-authenticated .technician-card-actions{grid-template-columns:1fr}
  .account-authenticated .client-settings-links a{display:grid}
}
@media(max-width:420px){
  /* Reserve room for the logo and theme selector on narrow viewports. */
  .account-authenticated .client-sidebar-brand{font-size:18px;gap:8px}
  .account-authenticated .client-sidebar-brand img{width:29px;height:29px}
  html[data-theme] body.account-page.account-authenticated .account-header .theme-picker{padding:5px}
  html[data-theme] body.account-page.account-authenticated .account-header .theme-picker select{min-width:62px;max-width:76px}
}
@media(prefers-reduced-motion:reduce){
  .account-authenticated .client-nav a,.account-authenticated .client-nav button{transition:none}
}

/* Reference-led client dashboard; authenticated only, no billing or authorization overrides. */
html[data-theme="dark"] body.account-page.account-authenticated{--portal-bg:#14101f;--portal-panel:#1e192b;--portal-ink:#f7f3ff;--portal-muted:#d0c5e2;--portal-border:#463b57;--portal-accent:#c493fa;--portal-accent-soft:#43276b;--portal-hover:#272033;--portal-shadow:none}
.account-authenticated .portal-icon{width:24px;height:24px;flex:none;vertical-align:middle;color:var(--portal-accent)}
html[data-theme] body.account-page.account-authenticated .account-header{display:none}
.account-authenticated .client-sidebar{padding:24px 16px 18px}
.account-authenticated .client-sidebar-brand{margin:0 8px 26px;font-size:28px;letter-spacing:-.045em}
.account-authenticated .client-sidebar-user{background:none;border:0;padding:8px 4px;margin:0 4px 26px}
.account-authenticated .client-avatar{width:50px;height:50px;flex-basis:50px}
.account-authenticated .client-nav-heading{font-size:13px;letter-spacing:0;text-transform:capitalize;font-weight:650;margin:12px 16px}
.account-authenticated .client-sidebar-user+.client-nav-heading{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.account-authenticated .client-nav+.client-nav-heading{border-top:1px solid var(--portal-border);padding-top:16px}
.account-authenticated .client-nav a,.account-authenticated .client-nav button{font-size:14px;font-weight:550;min-height:45px;gap:16px;color:var(--portal-ink)}
.account-authenticated .client-nav a>svg,.account-authenticated .client-nav button>svg{color:currentColor;width:22px;height:22px;flex-basis:22px}
html[data-theme="dark"] .account-authenticated .client-nav button[aria-current="page"]{background:linear-gradient(90deg,#43266c,#4d2b78);color:#fff;border-color:transparent}
.account-authenticated .client-sidebar-footer{border-top:1px solid var(--portal-border)}
.account-authenticated .client-signout{border:none;font-size:14px;font-weight:500}
.account-authenticated .client-main{max-width:1800px;padding:12px 24px 24px}
.account-authenticated .client-main-header{border:0;padding:0;margin:0 0 22px;align-items:center}
.account-authenticated .client-breadcrumb{margin:0;font-size:14px}
.account-authenticated #account-view-description{font-size:12px}
.account-authenticated #account-panel-overview:not([hidden]){display:block}
.account-authenticated .portal-header-actions,.account-authenticated .portal-theme-toggle{display:flex;align-items:center;gap:8px}
.account-authenticated .portal-header-actions{gap:16px}
.account-authenticated .portal-theme-toggle{border:1px solid var(--portal-border);border-radius:999px;padding:3px;background:var(--portal-panel)}
.account-authenticated .portal-theme-toggle button{display:grid;place-items:center;border:0;border-radius:999px;background:transparent;width:42px;height:32px;cursor:pointer;color:var(--portal-muted)}
.account-authenticated .portal-theme-toggle button[aria-pressed="true"]{background:#713cb8;color:white}
.account-authenticated .portal-theme-toggle .portal-icon{width:19px;height:19px;color:currentColor}
html[data-theme="dark"] body.account-page .account-connected{background:#152a20;color:#61ed78;border:1px solid #28593a;border-radius:999px}
.account-authenticated .client-welcome-card{min-height:112px;box-sizing:border-box;padding:14px 24px;gap:22px;background:linear-gradient(110deg,#6533a5,#43226a 45%,#26173c);border:1px solid #714ab1;border-radius:16px;box-shadow:none}
.account-authenticated .portal-welcome-art{flex:0 0 200px;display:grid;place-items:center;align-self:stretch;border-right:1px solid #b195dc66;padding-right:22px}
.account-authenticated .portal-laptop{width:116px;height:67px;position:relative;display:grid;place-items:center;border:3px solid #b77cfb;border-radius:7px;background:linear-gradient(140deg,#140d29,#462b77);transform:skew(-9deg);box-shadow:0 0 18px #9d6fff55}
.account-authenticated .portal-laptop:after{content:"";position:absolute;bottom:-9px;left:-20px;right:-14px;height:7px;border-radius:2px 2px 10px 10px;background:linear-gradient(#c6a2ff,#7949c1)}
.account-authenticated .portal-welcome-copy{flex:1;min-width:0}
.account-authenticated .client-card-kicker{display:none}
.account-authenticated .client-welcome-card h2{font-size:24px;margin:0 0 6px}
.account-authenticated .client-welcome-card p:not(.client-card-kicker){max-width:none;font-size:14px}
.account-authenticated .client-primary-action{display:flex;align-items:center;gap:9px;background:#cb9afb;color:#241137;font-size:13px}
.account-authenticated .client-primary-action .portal-icon{color:currentColor;width:20px;height:20px}
.account-authenticated .client-metrics{gap:18px;margin:18px 0 20px}
.account-authenticated .client-metric{display:grid;grid-template-columns:52px minmax(0,1fr);grid-template-rows:auto auto auto;column-gap:16px;row-gap:3px;align-items:center;padding:15px 18px;border-radius:13px}
.account-authenticated .portal-metric-icon{grid-row:1 / 4;display:grid;place-items:center;width:52px;height:52px;border-radius:11px;background:var(--portal-accent-soft)}
.account-authenticated .portal-metric-icon .portal-icon{width:30px;height:30px}
.account-authenticated .client-metric>span,.account-authenticated .client-metric>strong,.account-authenticated .client-metric>small{grid-column:2}
.account-authenticated .client-metric>span{font-weight:500;font-size:13px}
.account-authenticated .client-metric>strong{font-size:21px;letter-spacing:-.025em}
.account-authenticated .client-surface{padding:16px 20px;border-radius:14px}
.account-authenticated .client-surface-header h2{display:flex;align-items:center;gap:12px;font-size:21px}
.account-authenticated .client-surface-header h2>.portal-icon{width:30px;height:30px}
.account-authenticated .client-surface-header>span{display:none}
.account-authenticated .client-activation-section>p:not([hidden]){margin:6px 0 14px}
.account-authenticated .activation-card-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:13px}
.account-authenticated .activation-card{grid-column:span 2;background:var(--portal-hover);padding:13px 16px;gap:10px;box-shadow:none}
.account-authenticated .activation-card[data-slot-kind="free"]{grid-column:span 3;display:flex;align-items:center;justify-content:space-between;gap:12px}
.account-authenticated .portal-activation-identity{display:flex;align-items:center;gap:13px;min-width:0;width:100%}
.account-authenticated .portal-activation-identity>div:last-child{min-width:0;display:grid;gap:3px}
.account-authenticated .portal-activation-avatar{position:relative;flex:0 0 50px;width:50px;height:50px;display:grid;place-items:center;overflow:hidden;border-radius:50%;background:var(--portal-accent-soft);color:var(--portal-ink);font-weight:750;font-size:18px}
.account-authenticated .portal-activation-avatar img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.account-authenticated .activation-card[data-slot-kind="free"] .portal-activation-avatar{border:1px dashed var(--portal-muted);border-radius:12px;font-size:29px}
.account-authenticated .activation-card-header strong{font-size:15px;overflow-wrap:anywhere}
.account-authenticated .activation-card-header span{padding:0;border:0;background:transparent;font-size:10px}
.account-authenticated .activation-card .activation-technician{font-size:12px;margin:0}
.account-authenticated .activation-card-actions{grid-template-columns:repeat(auto-fit,minmax(100px,1fr));gap:9px}
.account-authenticated .activation-card button,.account-authenticated .activation-secret button{background:transparent;border-color:var(--portal-border);color:var(--portal-ink);min-height:36px;padding:8px 10px;font-size:12px}
.account-authenticated .activation-card[data-slot-kind="free"] .activation-card-actions button{background:#cb9afb;color:#241137;border:0;white-space:nowrap}
.account-authenticated .activation-card .activation-card-revoke{color:#f77a83}
.account-authenticated .activation-card input{background:var(--portal-bg);padding:8px 10px}
.account-authenticated .portal-masked-key{margin:0!important;border:1px solid var(--portal-border);background:var(--portal-bg);padding:8px 10px;border-radius:8px;color:var(--portal-ink)!important;font-family:ui-monospace,monospace;overflow-wrap:anywhere}
.account-authenticated .activation-secret{padding:9px;background:var(--portal-bg)}
.account-authenticated .client-overview-grid{grid-template-columns:1fr 1fr;gap:18px}
.account-authenticated .client-overview-grid .client-surface>p{margin:4px 0 14px}
.account-authenticated .client-quick-actions button{display:flex;justify-content:flex-start;gap:16px;min-height:57px;padding:10px 15px;background:var(--portal-hover);font-size:14px}
.account-authenticated .client-quick-actions button>.portal-icon{width:27px;height:27px}
.account-authenticated .client-quick-actions button>.portal-action-copy{display:grid;gap:2px;flex:1;min-width:0;color:var(--portal-ink)}
.account-authenticated .portal-action-copy small{font-weight:400;color:var(--portal-muted);font-size:11px}
.account-authenticated .portal-plan-card{padding:15px;border:1px solid var(--portal-border);border-radius:12px;background:var(--portal-hover)}
.account-authenticated .portal-plan-card p{font-size:14px;line-height:1.6;color:var(--portal-ink);margin:0 0 14px}
.account-authenticated .portal-preferences{margin-bottom:16px}
.account-authenticated [data-theme-choice="system"][aria-pressed="true"]{border-color:var(--portal-accent)}
@media(min-width:1250px){html[data-theme] body.account-page.account-authenticated #account-signed-in{grid-template-columns:282px minmax(0,1fr)}.account-authenticated #account-view-description{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}}
@media(max-width:1249px){.account-authenticated .portal-welcome-art{flex-basis:130px}.account-authenticated .activation-card{grid-column:span 3}.account-authenticated .client-welcome-card{gap:15px}.account-authenticated .client-welcome-card h2{font-size:20px}}
@media(max-width:1100px){.account-authenticated .portal-welcome-art{display:none}.account-authenticated .client-overview-grid{grid-template-columns:1fr}.account-authenticated .activation-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.account-authenticated .activation-card,.account-authenticated .activation-card[data-slot-kind="free"]{grid-column:span 1}.account-authenticated .activation-card[data-slot-kind="free"]{display:grid}.account-authenticated .client-main{padding:16px 18px}}
@media(max-width:760px){.account-authenticated .client-sidebar{padding:14px}.account-authenticated .client-sidebar-brand{margin:0 0 10px}.account-authenticated .client-sidebar-user{margin:0 0 10px}.account-authenticated .client-sidebar-footer{border:0}.account-authenticated .client-nav+.client-nav-heading{display:none}.account-authenticated .client-main-header{flex-wrap:wrap}.account-authenticated .client-welcome-card{flex-wrap:wrap}.account-authenticated .client-metric{padding:12px;grid-template-columns:40px minmax(0,1fr);column-gap:8px}.account-authenticated .portal-metric-icon{width:40px;height:40px}.account-authenticated .portal-metric-icon .portal-icon{width:24px;height:24px}}
@media(max-width:550px){.account-authenticated .client-welcome-card{display:flex}.account-authenticated .portal-welcome-copy{flex-basis:100%}.account-authenticated .client-primary-action{margin:0}.account-authenticated .activation-card-grid{grid-template-columns:1fr}.account-authenticated .client-metric>strong{font-size:17px}.account-authenticated .client-metric>span{font-size:11px}.account-authenticated .client-metric>small{font-size:9px}.account-authenticated .client-surface{padding:14px}.account-authenticated .client-surface-header h2{font-size:19px}}

.account-authenticated .portal-plan-top{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;flex-wrap:wrap;margin-bottom:10px}
.account-authenticated .portal-plan-top strong{display:inline-block;font-size:21px;color:var(--portal-ink);margin-right:8px}
.account-authenticated .portal-plan-status{display:inline-block;border:1px solid var(--portal-border);border-radius:7px;padding:3px 7px;background:var(--portal-accent-soft);color:var(--portal-ink);font-size:10px}
.account-authenticated #portal-plan-payment{border-left:1px solid var(--portal-border);padding-left:14px}
.account-authenticated #portal-plan-payment small{display:block;color:var(--portal-muted);font-size:11px}
.account-authenticated .portal-plan-benefits{list-style:none;margin:0 0 12px;padding:0;display:grid;gap:7px;color:var(--portal-ink);font-size:12px}
.account-authenticated .portal-plan-benefits li::before{content:"✓";color:var(--portal-accent);font-weight:bold;margin-right:9px}
.account-authenticated .client-metric>small{font-size:10px}

/* Desktop reference: 1536 × 1024. Real data and secret-handling remain unchanged. */
.account-authenticated .portal-sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important}
.account-authenticated .client-sidebar-brand strong{color:var(--portal-ink);font-weight:800}
.account-authenticated .client-sidebar-brand>span{font-weight:400;white-space:nowrap}
.account-authenticated .client-sidebar-brand img{width:46px;height:46px}
.account-authenticated .client-sidebar-user{margin-bottom:26px}
.account-authenticated .client-user-details{flex:1;gap:5px}
.account-authenticated .client-user-details strong{font-size:15px}
.account-authenticated .client-user-details .portal-client-role{font-size:13px}
.account-authenticated .portal-user-profile{display:grid;place-items:center;padding:5px;border:0;border-radius:6px;color:var(--portal-accent);background:transparent;cursor:pointer}
.account-authenticated .portal-user-profile svg{width:18px;height:18px}
.account-authenticated .client-nav-heading{text-transform:none}
.account-authenticated .client-sidebar-footer>span{display:none}
.account-authenticated .client-signout>svg{color:currentColor}
.account-authenticated .client-breadcrumb{display:flex;align-items:center;gap:10px}
.account-authenticated .client-breadcrumb .portal-icon{width:16px;height:16px;color:var(--portal-muted)}
.account-authenticated .client-breadcrumb #account-view-breadcrumb{font-weight:400;color:var(--portal-muted)}
.account-authenticated .portal-crumb-divider{font-weight:400;color:var(--portal-muted)}
.account-authenticated .client-metric{grid-template-rows:auto auto;row-gap:4px;align-content:center;min-height:87px;box-sizing:border-box}
.account-authenticated .portal-metric-icon{grid-row:1 / 3;width:54px;height:54px}
.account-authenticated .portal-metric-value{display:flex;gap:8px;align-items:center;flex-wrap:wrap;grid-column:2;min-width:0}
.account-authenticated .portal-metric-value strong{font-size:20px;letter-spacing:-.025em;overflow-wrap:anywhere}
.account-authenticated .portal-metric-value .portal-plan-status{line-height:1.2}
.account-authenticated .client-metric>strong{font-size:26px}
.account-authenticated .client-activation-section>p.portal-section-subtitle{margin:-2px 0 15px 63px;font-size:14px;line-height:1.45}
.account-authenticated #account-activation-notice:empty{display:none}
.account-authenticated .activation-card-grid{gap:13px 20px;align-items:stretch}
.account-authenticated .activation-card{padding:12px 20px 15px;gap:10px}
.account-authenticated .activation-card-header{min-width:0}
.account-authenticated .portal-activation-avatar{width:55px;height:55px;flex:0 0 55px}
.account-authenticated .portal-activation-identity{gap:20px}
.account-authenticated .portal-activation-identity>div:last-child{flex:1;gap:3px}
.account-authenticated .activation-card-header strong{font-size:15px}
html[data-theme] body.account-page.account-authenticated .activation-card .portal-device-label{display:flex;align-items:center;gap:6px;font-weight:400}
.account-authenticated .activation-card .portal-device-label input{padding:3px 0;background:transparent;border:1px solid transparent;border-radius:3px;color:var(--portal-ink);font-family:inherit;font-size:12px}
.account-authenticated .activation-card .portal-device-label input:hover{border-color:var(--portal-border)}
.account-authenticated .activation-card .portal-device-label input:focus-visible{border-color:var(--portal-accent);outline:1px solid var(--portal-accent)}
.account-authenticated .portal-device-label::before,.account-authenticated .portal-masked-key::before,.account-authenticated .portal-copy-action::before,.account-authenticated .portal-generate-action::before,.account-authenticated .activation-card-revoke::before,.account-authenticated .activation-code-row button::before{content:"";display:inline-block;flex:0 0 17px;width:17px;height:17px;background:currentColor;mask-size:contain;mask-position:center;mask-repeat:no-repeat}
.account-authenticated .portal-device-label::before{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Crect x='3' y='4' width='18' height='13' rx='2'/%3E%3Cpath d='M8 21h8M12 17v4'/%3E%3C/svg%3E")}
.account-authenticated .portal-masked-key::before,.account-authenticated .portal-generate-action::before{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linejoin='round'%3E%3Ccircle cx='16' cy='8' r='5'/%3E%3Cpath d='m12 12-9 9v-5l3-3h3'/%3E%3C/svg%3E")}
.account-authenticated .portal-copy-action::before,.account-authenticated .activation-code-row button::before{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Crect x='8' y='8' width='12' height='13' rx='2'/%3E%3Cpath d='M5 16H4V3h12v2'/%3E%3C/svg%3E")}
.account-authenticated .activation-card-revoke::before{color:#f87985;mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M3 6h18M9 6V3h6v3M6 6l1 15h10l1-15M10 10v7M14 10v7'/%3E%3C/svg%3E")}
.account-authenticated .portal-masked-key{display:flex;align-items:center;gap:10px;min-height:36px;box-sizing:border-box;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.account-authenticated .activation-card-actions button,.account-authenticated .activation-code-row button{display:flex;align-items:center;justify-content:center;gap:7px;min-height:36px}
.account-authenticated .activation-card-actions{grid-template-columns:repeat(auto-fit,minmax(115px,1fr))}
.account-authenticated .activation-card[data-slot-kind="free"] .activation-card-actions{flex-shrink:0}
.account-authenticated .activation-card[data-slot-kind="free"]{min-height:74px;box-sizing:border-box;padding:12px 20px}
.account-authenticated .activation-card[data-slot-kind="free"] .portal-activation-avatar{background:var(--portal-hover);height:47px;width:54px;flex-basis:54px}
.account-authenticated .activation-card[data-slot-kind="free"] .portal-activation-identity{gap:20px}
.account-authenticated .activation-secret{padding:0;border:0;background:transparent;gap:3px}
.account-authenticated .activation-secret .activation-code-row{align-items:center;gap:5px}
.account-authenticated .activation-secret .activation-code-row label{font-size:0;gap:0}
.account-authenticated .activation-secret input{font-size:12px;min-height:36px;background:var(--portal-bg);padding:8px 10px}
.account-authenticated .activation-secret .activation-code-row button{min-height:36px;font-size:0;gap:0;padding:7px 10px}
.account-authenticated .activation-secret small{font-size:10px;line-height:1.25}
.account-authenticated .client-overview-grid .client-surface>p{margin:2px 0 15px 61px;font-size:14px}
.account-authenticated .client-quick-actions button{min-height:57px;padding:10px 20px;gap:24px}
.account-authenticated .client-quick-actions button>.portal-action-copy>strong{font-size:14px}
.account-authenticated .client-quick-actions button>.portal-action-copy>small{font-size:12px}
.account-authenticated .portal-plan-card{padding:14px 21px}
.account-authenticated .portal-plan-top strong{font-size:23px}
.account-authenticated .portal-plan-top{gap:8px;margin-bottom:7px}
.account-authenticated .portal-plan-benefits{gap:6px;font-size:13px}
.account-authenticated .portal-plan-card>.client-text-action{min-height:32px;padding:4px 0;border:0;font-size:12px}
html[data-theme="dark"] body.account-page.account-authenticated .client-sidebar{background:#191424;border-right-color:#191424}
html[data-theme="dark"] body.account-page.account-authenticated .client-metric,html[data-theme="dark"] body.account-page.account-authenticated .client-surface{background:linear-gradient(125deg,#201b2e,#1c1728)}
html[data-theme="dark"] body.account-page.account-authenticated .activation-card,html[data-theme="dark"] body.account-page.account-authenticated .portal-plan-card{background:linear-gradient(130deg,#241d31,#221b2e)}
@media(min-width:1250px){
 .account-authenticated .client-sidebar{padding:22px 16px 23px}
 .account-authenticated .client-sidebar-brand{margin:0 8px 25px}
 .account-authenticated .client-sidebar-user{margin:0 4px 26px}
 .account-authenticated .client-main{padding:10px 19px 18px 22px}
 .account-authenticated .client-main-header{margin:0 0 21px;padding-left:10px;min-height:66px;box-sizing:border-box;align-items:flex-start}
 html[data-theme] body.account-page.account-authenticated .client-main h1{font-size:32px;margin:0 0 7px;letter-spacing:-.035em}
 .account-authenticated .portal-header-actions{margin-top:12px}
 .account-authenticated .client-welcome-card{min-height:113px;height:113px;padding:14px 24px}
 .account-authenticated .portal-welcome-art{flex:0 0 198px;box-sizing:content-box;padding-right:20px}
 .account-authenticated .portal-laptop{width:118px;height:73px}
 .account-authenticated .client-metrics{margin:19px 0 21px;gap:19px}
 .account-authenticated .client-metric{padding:14px 22px;column-gap:19px}
 .account-authenticated .client-activation-section{margin:0 0 19px;padding:12px 21px 17px}
 .account-authenticated .client-activation-section>.client-surface-header{margin:0}
 .account-authenticated .client-surface-header h2{gap:20px;font-size:22px}
 .account-authenticated .client-surface-header h2>.portal-icon{width:32px;height:32px}
 .account-authenticated .activation-card[data-slot-kind="occupied"]{min-height:175px;box-sizing:border-box;align-content:center}
 .account-authenticated .client-overview-grid{gap:19px}
 .account-authenticated .client-overview-grid>.client-surface{min-height:290px;box-sizing:border-box;padding:12px 20px 20px}
}
@media(max-width:760px){.account-authenticated .client-sidebar-brand img{width:34px;height:34px}.account-authenticated .client-metric{min-height:76px}.account-authenticated .portal-metric-icon{width:40px;height:40px}.account-authenticated .portal-metric-value strong{font-size:16px}.account-authenticated .client-metric>strong{font-size:22px}.account-authenticated .client-activation-section>p.portal-section-subtitle,.account-authenticated .client-overview-grid .client-surface>p{margin-left:0}.account-authenticated .activation-card{padding:12px}.account-authenticated .portal-activation-identity{gap:12px}.account-authenticated .portal-masked-key{font-size:11px}}
@media(max-width:550px){.account-authenticated .client-metric{padding:10px}.account-authenticated .portal-metric-value strong{font-size:14px}.account-authenticated .activation-card-grid{grid-template-columns:1fr}.account-authenticated .client-quick-actions button{padding:10px;gap:12px}.account-authenticated .portal-plan-card{padding:13px}.account-authenticated .portal-plan-top strong{font-size:19px}}

/* Keep generic account form rules from inflating compact overview cards. */
html[data-theme] body.account-page.account-authenticated .activation-card .portal-device-label{margin:0;min-height:0;line-height:1.3}
html[data-theme] body.account-page.account-authenticated .activation-card .portal-device-label input{margin:0;min-height:0;height:23px;line-height:1.25;box-sizing:border-box}
.account-authenticated .portal-activation-identity>div:last-child{align-content:center}
.account-authenticated .portal-plan-card #account-summary-subscription{margin:0 0 9px;line-height:1.35;font-size:13px}
.account-authenticated .portal-plan-card .portal-plan-benefits{line-height:1.3;gap:5px;margin:0}
.account-authenticated .portal-plan-top{line-height:1.15}
.account-authenticated .portal-plan-top small{line-height:1.3}
.account-authenticated .client-overview-grid .client-surface>p{line-height:1.3;margin-bottom:15px}
.account-authenticated .technician-session-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:8px 0 12px}
.account-authenticated .technician-session-stats>div{padding:12px;border:1px solid var(--portal-border);border-radius:10px;background:var(--portal-hover);min-width:0}
.account-authenticated .technician-session-stats dt{font-size:12px;color:var(--portal-muted)}
.account-authenticated .technician-session-stats dd{font-size:22px;font-weight:700;margin:5px 0 0;color:var(--portal-ink)}
.account-authenticated .technician-session-note{margin:0 0 12px;font-size:12px;color:var(--portal-muted)}
@media(min-width:1250px){
 .account-authenticated .client-activation-section>p.portal-section-subtitle{margin-bottom:12px}
 .account-authenticated .client-overview-grid{grid-template-columns:48.2% minmax(0,1fr)}
 .account-authenticated .client-overview-grid .client-surface>p{margin-top:0}
 .account-authenticated .client-quick-actions button{height:57px;box-sizing:border-box}
 .account-authenticated .client-quick-actions button .portal-action-copy{line-height:1.3}
 .account-authenticated .portal-plan-card{min-height:195px;box-sizing:border-box}
}

.account-authenticated .technician-history{margin:20px 0}
.account-authenticated .portal-history-refresh{border:1px solid var(--portal-border);border-radius:8px;padding:8px 14px;background:var(--portal-hover);color:var(--portal-ink);cursor:pointer;font:inherit;font-size:12px}
.account-authenticated .portal-history-scroll{overflow-x:auto}
.account-authenticated .technician-history table{width:100%;border-collapse:collapse;color:var(--portal-ink);font-size:13px}
.account-authenticated .technician-history th,.account-authenticated .technician-history td{text-align:left;padding:12px;border-bottom:1px solid var(--portal-border);vertical-align:top;white-space:nowrap}
.account-authenticated .technician-history th{font-size:12px;color:var(--portal-muted)}
.account-authenticated .technician-history #session-history-status:empty{display:none}
