/* Customer dashboard. Theme values derive from the existing account/brand tokens. */
.account-page,.account-page *,.account-page *::before,.account-page *::after { box-sizing:border-box; }
.account-page {
  color-scheme:light;
  --dash-bg: var(--account-surface);
  --dash-raised: color-mix(in srgb,var(--account-surface) 96%,var(--account-text));
  --dash-accent: var(--s3-primary-cta-accent);
  --dash-purple: #754bba;
  --dash-cyan: #257789;
  --dash-danger: #b94362;
  --account-header-offset: 88px;
  padding:calc(var(--account-header-offset) + 28px) 28px 48px;
  background:transparent;
  min-height:calc(100dvh - 160px);
}
[data-bs-theme="dark"] .account-page { color-scheme:dark; --dash-purple:#b89cf9; --dash-cyan:#78cce0; --dash-danger:#f494b2; }
/* One viewport-aligned site backdrop connects the fixed header, workspace and
   footer. The navbar paints the same opaque-backed layer on mobile scroll. */
body.page-account,
.page-account .nav-container.affix,
.page-account .nav-container.affix-top {
  background:var(--s3-site-workspace-bg) var(--s3-site-canvas);
  background-attachment:fixed;
  /* The existing navbar has an identity transform, which can make fixed
     backgrounds use its own box. Explicit viewport sizing preserves alignment. */
  background-size:100vw 100dvh;
  background-position:0 0;
  background-repeat:no-repeat;
  filter:none;
}
.page-account #footer-container footer.bg-gradient2 { background:transparent; filter:none; }
/* Do not interpolate the old route's canvas underneath this shared backdrop.
   Link/button hover transitions remain on their existing child elements. */
.page-account .nav-container { transition:none; }
[data-bs-theme="dark"] .page-account .nav-container .menu-horizontal > li > a:not(.download-btn),
[data-bs-theme="dark"] .page-account .nav-container .site-account-trigger,
[data-bs-theme="dark"] .page-account .nav-container .hamburger-toggle,
[data-bs-theme="dark"] .page-account .nav-container .hamburger-toggle i { color:var(--account-text); }
.page-account #footer-container footer,
.page-account #footer-container footer a,
.page-account #footer-container footer a h6,
.page-account #footer-container footer .copyright,
.page-account #footer-container footer .support { color:var(--account-muted); }
.page-account #footer-container footer .list-inline a h6:not(:hover) { opacity:1; }
.page-account #footer-container footer a:hover,
.page-account #footer-container footer a:hover h6 { color:var(--account-text); }
.account-page .account-container { max-width:1440px; }
@media(min-width:768px) { .account-page [data-account-billing-summary] { grid-template-columns:repeat(3,minmax(0,1fr)); } }
.account-page [data-account-dashboard] { display:grid; grid-template-columns:224px minmax(0,1fr); gap:32px; align-items:start; }
.account-page .account-sidebar { position:sticky; top:calc(var(--account-header-offset) + 20px); max-height:calc(100dvh - var(--account-header-offset) - 40px); overflow:auto; border:1px solid var(--account-border); background:var(--dash-bg); padding:22px 12px 12px; border-radius:16px; }
.account-sidebar-title { padding:0 12px 18px; font-size:11px; font-weight:700; letter-spacing:.14em; text-transform:uppercase; color:var(--account-muted); }
.account-page .account-tabs { display:flex; flex-direction:column; gap:6px; margin:0; padding:0; border:0; }
.account-page .account-tabs button { display:flex; align-items:center; gap:12px; text-align:left; width:100%; padding:12px; font-size:14px; border:1px solid transparent; border-radius:9px; font-weight:500; }
.account-page .account-tabs button[aria-selected="true"] { background:color-mix(in srgb,var(--dash-purple) 14%,transparent); color:var(--dash-purple); border-color:color-mix(in srgb,var(--dash-purple) 22%,transparent); box-shadow:inset 3px 0 var(--dash-purple); }
.account-sidebar-foot { border-top:1px solid var(--account-border); margin-top:22px; padding:16px 12px 6px; color:var(--account-muted); font-size:12px; line-height:1.7; }
.account-content { min-width:0; scroll-margin-top:var(--account-header-offset); }
.account-content-heading {
  position:sticky;
  top:var(--account-header-offset);
  z-index:10;
  display:flow-root;
  min-width:0;
  scroll-margin-top:var(--account-header-offset);
  background:var(--s3-site-workspace-bg) var(--s3-site-canvas);
  background-attachment:fixed;
  background-size:100vw 100dvh;
  background-position:0 0;
  background-repeat:no-repeat;
}
.account-content-viewport { min-width:0; }
/* Header is already fixed by the website. Reserve its measured height; the
   shared footer remains in flow, so flex assigns only the remaining space. */
body.page-account.account-viewport-shell {
  box-sizing:border-box;
  height:100dvh;
  min-height:0;
  padding-top:var(--account-header-offset,88px);
  overflow:hidden;
  display:flex;
  flex-direction:column;
}
body.page-account.account-viewport-shell > #page-view {
  display:flex;
  flex-direction:column;
  flex:1 1 0;
  min-height:0;
  min-width:0;
  overflow:hidden;
}
body.page-account.account-viewport-shell > #footer-container { flex:0 0 auto; }
.account-viewport-shell .account-page {
  flex:1 1 0;
  min-height:0;
  overflow:hidden;
  display:flex;
  padding:24px 28px;
}
.account-viewport-shell .account-page .account-container {
  width:100%;
  margin:0 auto;
  min-width:0;
  min-height:0;
  display:flex;
  flex-direction:column;
}
.account-viewport-shell .account-page [data-account-dashboard] {
  flex:1 1 0;
  min-height:0;
  align-items:stretch;
}
.account-viewport-shell .account-page .account-sidebar {
  position:static;
  align-self:start;
  max-height:100%;
  overflow-y:auto;
}
.account-viewport-shell .account-content { display:flex; flex-direction:column; min-height:0; }
.account-viewport-shell .account-content-heading { position:static; flex:0 0 auto; padding:4px 14px 0 4px; background:none; }
.account-viewport-shell .account-content-viewport {
  flex:1 1 0;
  min-height:0;
  overflow-y:auto;
  overflow-x:hidden;
  scrollbar-gutter:stable;
  padding:4px 14px 4px 4px;
}
.account-content-viewport:focus-visible { outline:2px solid var(--dash-purple); outline-offset:-2px; }
.account-content-viewport,.account-sidebar,.account-dialog-body {
  scrollbar-width:thin;
  scrollbar-color:color-mix(in srgb,var(--account-muted) 48%,transparent) var(--account-soft);
}
.account-content-viewport::-webkit-scrollbar,.account-sidebar::-webkit-scrollbar,.account-dialog-body::-webkit-scrollbar { width:8px; }
.account-content-viewport::-webkit-scrollbar-track,.account-sidebar::-webkit-scrollbar-track,.account-dialog-body::-webkit-scrollbar-track { background:var(--account-soft); }
.account-content-viewport::-webkit-scrollbar-thumb,.account-sidebar::-webkit-scrollbar-thumb,.account-dialog-body::-webkit-scrollbar-thumb { background:color-mix(in srgb,var(--account-muted) 48%,transparent); border-radius:8px; }
.account-content-viewport::-webkit-scrollbar-thumb:hover,.account-sidebar::-webkit-scrollbar-thumb:hover,.account-dialog-body::-webkit-scrollbar-thumb:hover { background:var(--account-muted); }
.account-page [data-account-panel] { scroll-margin-top:calc(var(--account-header-offset) + 24px); }
.account-page .account-panel-head { margin:4px 0 26px; display:flex; justify-content:space-between; align-items:center; gap:18px; }
.account-page .account-panel-head h1 { font-size:28px; letter-spacing:-.04em; margin:0 0 6px; font-weight:700; line-height:1.3; }
.account-page .account-panel-head p { margin:0; color:var(--account-muted); font-size:14px; line-height:1.6; }
.account-panel-title { display:flex; align-items:center; gap:8px; margin-bottom:6px; color:var(--account-text); }
.account-page .account-panel-title h1 { min-width:0; margin:0; }
.account-page .account-info-trigger { display:inline-flex; align-items:center; justify-content:center; flex:0 0 28px; width:28px; height:28px; padding:0; border:0; border-radius:50%; background:transparent; color:inherit; cursor:pointer; }
.account-info-trigger:hover { background:var(--account-soft); }
.account-info-tooltip { position:fixed; z-index:1250; width:340px; max-width:calc(100vw - 24px); max-height:calc(100dvh - 24px); overflow-y:auto; padding:12px 14px; border:1px solid var(--account-border); border-radius:10px; background:var(--account-surface); color:var(--account-text); font-size:12px; font-weight:400; line-height:1.6; letter-spacing:normal; text-align:left; white-space:normal; }
.account-page h2 { font-size:17px; font-weight:600; margin:0 0 8px; }
.account-page h3 { font-size:15px; font-weight:600; }
.account-page .account-card { background:var(--dash-bg); padding:20px; min-height:0; height:auto; }
.account-icon { width:19px; height:19px; flex:0 0 auto; stroke:currentColor; stroke-width:1.7; fill:none; stroke-linecap:round; stroke-linejoin:round; }
.account-page .account-action { gap:8px; padding:9px 12px; border:1px solid var(--account-border); border-radius:8px; background:var(--dash-raised); color:var(--account-text); font-size:12px; line-height:1.4; font-weight:600; text-decoration:none; }
.account-page .account-action:hover { background:var(--account-soft); border-color:var(--dash-purple); text-decoration:none; }
.account-page .account-action.is-primary { background:var(--s3-primary-cta-bg); color:var(--s3-primary-cta-color); border-color:transparent; }
.account-page .account-action.is-danger { color:var(--dash-danger); border-color:currentColor; }
.account-page .account-action.is-quiet { border:0; background:transparent; padding:6px; }
.account-page button:focus-visible,.account-page a:focus-visible,.account-page summary:focus-visible,.account-page input:focus-visible,.account-page select:focus-visible { outline:2px solid var(--dash-purple); outline-offset:3px; }
.account-page .account-mobile-nav { display:none; }
.account-stat-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; margin-bottom:22px; }
.account-stat { border:1px solid var(--account-border); background:linear-gradient(140deg,var(--dash-raised),var(--dash-bg)); border-radius:13px; padding:20px; }
.account-stat-title { color:var(--account-muted); font-size:12px; display:flex; gap:8px; align-items:center; }
.account-stat strong { display:block; color:var(--account-text); font-size:29px; font-weight:700; letter-spacing:-.04em; margin:12px 0 4px; line-height:1.2; }
.account-stat small { display:block; color:var(--account-muted); font-size:11px; line-height:1.5; }
.account-overview-grid { display:grid; grid-template-columns:1.25fr 1fr; gap:18px; align-items:start; }
.account-page .account-facts { grid-template-columns:140px minmax(0,1fr); gap:13px; margin:18px 0; font-size:13px; }
.account-page .account-facts dd { font-weight:500; }
.account-term-heading { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:14px; padding:19px 20px; border-bottom:1px solid var(--account-border); }
.account-term-heading h2 { display:flex; align-items:center; gap:10px; margin:0; }
.account-term-heading p { margin:6px 0 0; font-size:12px; color:var(--account-muted); }
.account-term-actions { display:flex; align-items:center; gap:12px; }
.account-term-buttons { display:flex; align-items:center; gap:12px; }
.account-page .account-entitlement { padding:0; overflow:visible; margin-bottom:20px; border-radius:14px; }
.account-page .account-entitlement { scroll-margin-top:calc(var(--account-header-offset) + 24px); }
.account-capacity-strip { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); padding:16px 20px; gap:18px; border-bottom:1px solid var(--account-border); background:var(--account-soft); }
.account-capacity-item strong { display:block; font-size:12px; margin-bottom:7px; }
.account-capacity-item p { color:var(--account-muted); font-size:11px; line-height:1.8; margin:0; }
.account-capacity-item b { font-weight:600; color:var(--account-text); }
.account-term-note { padding:0 20px 12px; font-size:11px; line-height:1.6; color:var(--account-muted); background:var(--account-soft); margin:0; }
.account-table-wrap { overflow:auto; border-radius:0 0 13px 13px; }
.account-table-wrap:focus-visible { outline:2px solid var(--dash-purple); outline-offset:-2px; }
.account-table-hint { color:var(--account-muted); font-size:11px; margin:0; padding:10px 16px; display:none; border-top:1px solid var(--account-border); }
.account-table { width:100%; border-collapse:collapse; color:var(--account-text); font-size:12px; text-align:left; }
.account-table caption { text-align:left; padding:14px 20px; color:var(--account-muted); font-size:12px; }
.account-table th { font-size:10px; font-weight:600; letter-spacing:.04em; text-transform:uppercase; color:var(--account-muted); padding:12px 14px; border-bottom:1px solid var(--account-border); white-space:nowrap; }
.account-table td { padding:16px 14px; border-bottom:1px solid var(--account-border); vertical-align:middle; }
.account-table th:first-child,.account-table td:first-child { padding-left:20px; }
.account-table tr:last-child td { border-bottom:0; }
.account-table tbody tr:hover { background:var(--account-soft); }
.account-table .account-child-license { background:transparent; }
.account-license-name { font-weight:600; display:block; overflow-wrap:anywhere; max-width:170px; }
.account-license-table td:first-child { min-width:145px; }
.account-table small { display:block; font-size:10px; color:var(--account-muted); margin-top:4px; }
.account-page .account-badge { font-size:10px; padding:4px 8px; color:var(--dash-purple); background:color-mix(in srgb,var(--dash-purple) 12%,transparent); }
.account-status { display:inline-flex; gap:6px; align-items:center; font-size:11px; white-space:nowrap; }
.account-status::before { content:''; width:6px; height:6px; border-radius:50%; background:currentColor; }
.account-status[data-status="active"],.account-status[data-status="enabled"],.account-status[data-status="confirmed"] { color:var(--dash-cyan); }
.account-status[data-status="disabled"],.account-status[data-status="expired"],.account-status[data-status="revoked"] { color:var(--account-muted); }
.account-key-control { position:relative; display:inline-flex; flex-wrap:nowrap; align-items:center; gap:6px; white-space:nowrap; }
.account-key-value { flex:0 0 auto; font:11px ui-monospace,SFMono-Regular,Consolas,monospace; color:var(--account-muted); background:transparent; overflow-wrap:normal; word-break:normal; max-width:none; display:block; white-space:nowrap; }
.account-page .account-key-control .account-action { flex:0 0 auto; justify-content:center; min-width:30px; min-height:30px; padding:5px; color:var(--account-muted); }
.account-key-control .account-key-copy { margin-inline-start:-4px; }
.account-page .account-key-control .account-action:hover,.account-page .account-key-toggle[aria-pressed="true"] { color:var(--dash-purple); background:var(--account-soft); }
.account-key-control .account-action:disabled { opacity:.55; cursor:wait; }
.account-page .account-key-control .account-key-copy[data-copy-state="copied"] { color:var(--dash-cyan); background:var(--account-soft); }
.account-page .account-key-control .account-key-copy[data-copy-state="error"] { color:var(--dash-danger); }
.account-key-control .account-icon { width:17px; height:17px; }
@media(max-width:767px){.account-page .account-key-control .account-action{min-width:42px;min-height:42px}}
.account-copy-feedback { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; border:0; }
.account-row-actions { display:flex; align-items:center; gap:6px; white-space:nowrap; }
.account-row-menu { position:relative; }
.account-row-menu summary { list-style:none; cursor:pointer; padding:7px 10px; border-radius:7px; font-size:18px; line-height:1; border:1px solid var(--account-border); }
.account-row-menu summary::-webkit-details-marker { display:none; }
.account-row-menu[open] summary { background:var(--account-soft); }
.account-menu-popover { position:fixed; z-index:1200; min-width:170px; max-width:calc(100vw - 16px); max-height:calc(100dvh - 16px); overflow:auto; background:var(--account-surface); color:var(--account-text); border:1px solid var(--account-border); border-radius:13px; padding:7px; box-shadow:none; }
.page-account .site-account-dropdown,.account-page select { box-shadow:none; }
.account-menu-popover .account-action { display:flex; width:100%; gap:11px; background:transparent; border:0; justify-content:flex-start; padding:11px 12px; font-size:14px; font-weight:500; line-height:1.5; }
.account-menu-popover .account-action:hover,.account-menu-popover .account-action:focus { background:var(--account-soft); }
.account-menu-popover .account-action:focus-visible { outline:2px solid var(--s3-primary-cta-accent); outline-offset:-2px; }
.account-empty { display:flex; flex-direction:column; align-items:center; padding:30px 20px; text-align:center; gap:10px; }
.account-empty .account-icon { width:28px; height:28px; color:var(--dash-purple); }
.account-empty p { max-width:430px; color:var(--account-muted); font-size:13px; margin:0; line-height:1.7; }
.account-section-caption { color:var(--account-muted); font-size:12px; line-height:1.6; margin:0 0 16px; }
.account-license-toolbar { display:flex; align-items:center; gap:14px; margin-bottom:20px; font-size:12px; color:var(--account-muted); }
.account-license-toolbar > label { flex-shrink:0; white-space:nowrap; }
.account-term-select { position:relative; flex:1; min-width:0; }
.account-license-toolbar select { appearance:none; -webkit-appearance:none; width:100%; max-width:100%; padding:10px 36px 10px 14px; background:var(--dash-bg); color:var(--account-text); border:1px solid var(--account-border); border-radius:8px; min-width:0; font:inherit; }
.account-term-select::after { content:''; position:absolute; right:15px; top:50%; width:7px; height:7px; border-right:2px solid var(--account-muted); border-bottom:2px solid var(--account-muted); transform:translateY(-70%) rotate(45deg); pointer-events:none; }
.account-term-select:focus-within::after { border-color:var(--dash-purple); }
.account-page .account-history { margin-top:20px; border-top:1px solid var(--account-border); }
.account-page .account-history > summary { display:flex; align-items:center; gap:12px; min-height:48px; padding:16px 0 0; color:var(--account-muted); font-size:14px; font-weight:600; line-height:1.4; list-style:none; cursor:pointer; }
.account-page .account-history > summary::-webkit-details-marker { display:none; }
.account-page .account-history > summary::marker { content:''; }
.account-page .account-history > summary::after { content:''; flex:0 0 10px; width:10px; height:10px; margin:0 4px 4px auto; border-right:2px solid currentColor; border-bottom:2px solid currentColor; transform:rotate(45deg); }
.account-page .account-history[open] > summary::after { transform:rotate(225deg); margin-bottom:-4px; }
.account-page .account-history > summary .account-badge { min-width:26px; padding:3px 8px; text-align:center; font-size:12px; font-weight:400; line-height:1.5; }
.account-page .account-history > [data-account-history] { margin-top:16px; }
.account-page .account-history .account-list { max-height:none; overflow:visible; }
.account-page .account-security { max-width:none; }
.account-password-fields { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr)); gap:16px; }
.account-password-fields > div { min-width:0; }
.account-password-fields label { margin:0 0 7px; }
.account-page [data-password-form] .account-primary {
  --s3-primary-cta-shadow:none;
  --s3-primary-cta-hover-shadow:none;
  --s3-primary-cta-active-shadow:none;
}
.account-page .account-security-actions { justify-content:flex-end; }
.account-page .account-notice { border:1px solid var(--account-border); color:var(--account-text); }
.account-skeleton { height:140px; border:1px solid var(--account-border); background:var(--account-soft); border-radius:13px; padding:20px; color:var(--account-muted); }
.account-page dialog { position:fixed; inset:0; margin:auto; padding:0; height:fit-content; max-height:calc(100dvh - 32px); overflow:hidden; color:var(--account-text); border-radius:16px; background:var(--dash-bg); border:1px solid var(--account-border); box-shadow:0 24px 80px var(--account-border); }
.account-page dialog[open] { display:flex; flex-direction:column; }
.account-page dialog.account-card { padding:0; height:fit-content; }
.account-page dialog::backdrop { background:color-mix(in srgb,var(--account-text) 28%,transparent); backdrop-filter:blur(5px); }
.account-page .account-license-dialog { width:min(740px,calc(100vw - 32px)); }
.account-page .account-confirmation { width:min(470px,calc(100vw - 32px)); }
.account-dialog-head { position:relative; flex:0 0 auto; padding:24px 26px 18px; border-bottom:1px solid var(--account-border); display:flex; justify-content:space-between; gap:16px; }
.account-dialog-head > div { min-width:0; padding-inline-end:32px; }
.account-page .account-dialog-head > .account-action.is-quiet { position:absolute; top:8px; right:8px; display:grid; place-items:center; width:42px; height:42px; min-height:42px; padding:0; font-size:26px; font-weight:400; line-height:1; }
.account-dialog-without-body .account-dialog-head { border-bottom:0; }
.account-dialog-head h2 { font-size:21px; margin:0 0 7px; }
.account-dialog-head p { font-size:12px; margin:0; color:var(--account-muted); line-height:1.6; }
.account-dialog-body { flex:0 1 auto; min-height:0; overflow:auto; overscroll-behavior:contain; padding:22px 26px; }
.account-dialog-body .account-row-actions { flex-wrap:wrap; white-space:normal; }
.account-dialog-footer { flex:0 0 auto; background:var(--dash-bg); padding:16px 26px; border-top:1px solid var(--account-border); display:flex; gap:10px; justify-content:flex-end; }
.account-page .account-license-form { display:block; margin:0; }
.account-license-form > label { display:block; font-size:12px; margin-bottom:8px; font-weight:600; }
.account-license-form > input { padding:12px; font-size:14px; margin-bottom:18px; }
.account-term-reference { background:var(--account-soft); border:1px solid var(--account-border); border-radius:9px; padding:13px; font-size:12px; margin:0 0 22px; color:var(--account-muted); }
.account-term-reference strong { color:var(--account-text); display:block; margin:4px 0; }
.account-allocation-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; margin:15px 0; }
.account-page .account-allocation-control { background:var(--dash-raised); padding:14px; min-width:0; }
.account-allocation-control label { font-weight:600; font-size:12px; }
.account-page .account-stepper { gap:0; height:38px; margin:14px 0 10px; border:1px solid var(--account-border); border-radius:8px; overflow:hidden; background:transparent; }
.account-page .account-stepper input { flex:1; width:0; min-width:0; height:100%; padding:0 2px; border:0; border-radius:0; appearance:textfield; background:transparent; font-size:15px; font-weight:400; }
.account-stepper input::-webkit-inner-spin-button,.account-stepper input::-webkit-outer-spin-button { appearance:none; }
.account-page .account-stepper button { flex:0 0 30px; height:100%; min-height:0; padding:0; border:0; background:transparent; color:var(--account-text); border-radius:0; font-size:20px; line-height:1; justify-content:center; }
.account-page .account-stepper button:hover { background:var(--account-soft); }
.account-page .account-stepper button:focus-visible,.account-page .account-stepper input:focus-visible { outline:2px solid var(--s3-primary-cta-accent); outline-offset:-2px; }
.account-page .account-stepper button:disabled { opacity:.45; cursor:not-allowed; }
.account-allocation-control small { display:block; color:var(--account-muted); font-size:10px; line-height:1.7; }
.account-allocation-preview { background:var(--account-soft); border-radius:10px; padding:14px; margin:16px 0 0; font-size:12px; line-height:1.9; }
.account-detail-section { border-top:1px solid var(--account-border); padding-top:20px; margin-top:20px; }
.account-detail-actions { display:flex; gap:8px; flex-wrap:wrap; margin-top:16px; }
.account-term-summary-row { display:grid; grid-template-columns:1fr auto; padding:13px 0; gap:5px 10px; border-bottom:1px solid var(--account-border); font-size:12px; }
.account-term-summary-row small { grid-column:1; margin:0; font-size:11px; }
.account-term-summary-row button { grid-column:2; grid-row:1/3; align-self:center; }
.account-term-summary-row:last-child { border-bottom:0; }
.account-device-table td,.account-device-table th { padding:12px; }
.account-detail-section .account-table { font-size:11px; }
.account-mobile-select { position:relative; }
.account-mobile-select::after { content:''; position:absolute; right:16px; top:50%; width:7px; height:7px; border-right:2px solid var(--account-muted); border-bottom:2px solid var(--account-muted); transform:translateY(-70%) rotate(45deg); pointer-events:none; }
.account-mobile-select:focus-within::after { border-color:var(--dash-purple); }
.account-page .account-mobile-nav select { appearance:none; -webkit-appearance:none; width:100%; min-width:0; padding:12px 40px 12px 12px; border:1px solid var(--account-border); border-radius:10px; color:var(--account-text); background:var(--dash-bg); font:inherit; }
@media(min-width:1600px){.account-page{padding-inline:40px;}}
@media(max-width:1100px){.account-page [data-account-dashboard]{grid-template-columns:185px minmax(0,1fr);gap:22px}.account-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.account-table{min-width:820px}.account-overview-grid{grid-template-columns:1fr}}
@media(max-width:767px){.account-page{padding:calc(var(--account-header-offset) + 16px) 16px 28px}.account-page [data-account-dashboard]{display:block}.account-page .account-sidebar{display:none}.account-page .account-mobile-nav{display:block;margin-bottom:22px}.account-panel-head{align-items:flex-start!important}.account-page .account-panel-head h1{font-size:24px}.account-stat{padding:15px}.account-stat strong{font-size:24px}.account-capacity-strip{gap:12px;padding:14px}.account-capacity-item p{font-size:10px}.account-term-heading{padding:16px}.account-term-heading h2{font-size:15px}.account-term-actions{justify-content:space-between;width:100%}.account-page .account-facts{grid-template-columns:110px minmax(0,1fr)}.account-dialog-head,.account-dialog-body,.account-dialog-footer{padding:18px}.account-allocation-grid{gap:8px}.account-page .account-allocation-control{padding:10px}.account-license-table{min-width:790px}.account-stat-grid{gap:10px}.account-panel-head>.account-action{display:none}}
@media(prefers-reduced-motion:reduce){.account-page *{scroll-behavior:auto;transition:none!important}}
@media(max-width:767px){
  .account-term-actions { flex-wrap:wrap; gap:10px; }
  .account-term-buttons { gap:8px; }
  .account-term-buttons .account-action { white-space:nowrap; }
  .page-account #footer-container footer.bg-gradient2 { background:var(--s3-site-workspace-bg) var(--s3-site-canvas); }
}
@media(max-width:1100px){.account-table-hint{display:block;}}
@media(max-width:767px){.account-page .account-action{min-height:42px}.account-row-menu summary{min-height:42px;min-width:42px;display:flex;align-items:center;justify-content:center}}
@media(max-width:600px){.account-allocation-grid{grid-template-columns:1fr}.account-page .account-allocation-control{padding:12px}.account-page .account-stepper{margin:10px 0}.account-allocation-control small{font-size:11px}}
@media(max-width:600px){.account-license-toolbar{align-items:stretch;flex-direction:column;gap:8px}.account-license-toolbar select{width:100%;min-width:0}}

.account-danger-zone { display:flex; align-items:center; flex-wrap:wrap; gap:16px; margin-top:24px; border-color:var(--dash-danger); }
.account-danger-zone > div { flex:1 1 320px; min-width:0; }
.account-danger-zone > button { flex:0 0 auto; margin-inline-start:auto; }
.account-danger-zone h2 { font-size:18px; margin-top:0; }
.account-danger-zone p { color:var(--account-muted); margin-bottom:0; }
.account-confirmation .account-dialog-body > label { display:block; margin:16px 0 8px; font-weight:600; }
.account-confirmation .account-dialog-body > input { width:100%; min-height:44px; padding:10px 12px; color:var(--account-text); background:var(--account-soft); border:1px solid var(--account-border); border-radius:8px; }
.account-confirmation .account-dialog-body > input:focus-visible { outline:2px solid var(--s3-primary-cta-accent); outline-offset:2px; }


.account-billing-actions { display: flex; align-items: center; gap: 8px; }

/* Match the License page's gradient canvas and light checkout surfaces. */
html:not([data-bs-theme="dark"]) body.page-account { --s3-site-workspace-bg:var(--s3-site-gradient); }
html:not([data-bs-theme="dark"]) .account-page {
  --dash-bg:rgba(245,248,255,.92);
  --dash-raised:rgba(238,242,255,.88);
  --account-border:rgba(56,88,250,.12);
  --account-soft:rgba(56,88,250,.08);
}
html:not([data-bs-theme="dark"]) .account-page .account-card,
html:not([data-bs-theme="dark"]) .account-page .account-sidebar,
html:not([data-bs-theme="dark"]) .account-page .account-stat {
  background:linear-gradient(165deg,var(--dash-bg) 0%,var(--dash-raised) 100%);
  box-shadow:0 16px 40px rgba(21,36,70,.08);
}
html:not([data-bs-theme="dark"]) .account-page dialog.account-card,
html:not([data-bs-theme="dark"]) .account-page .account-dialog-footer {
  background:linear-gradient(165deg,#f5f8ff 0%,#eef2ff 100%);
}
html:not([data-bs-theme="dark"]) .account-page .account-input input,
html:not([data-bs-theme="dark"]) .account-page .account-license-form input,
html:not([data-bs-theme="dark"]) .account-page .account-confirmation input {
  background:rgba(255,255,255,.52);
  border-color:rgba(56,88,250,.18);
  color:var(--account-text);
}
html:not([data-bs-theme="dark"]) .account-page input::placeholder { color:rgba(55,75,120,.68); }
html:not([data-bs-theme="dark"]) .account-page input:focus { background:rgba(255,255,255,.68); }
html:not([data-bs-theme="dark"]) .account-page .account-panel-head h1,
html:not([data-bs-theme="dark"]) .account-page .account-panel-title { color:#fff; }
html:not([data-bs-theme="dark"]) .account-page .account-panel-head p,
html:not([data-bs-theme="dark"]) .account-page [data-account-panel] > .account-section-caption,
html:not([data-bs-theme="dark"]) .account-page .account-license-toolbar > label,
html:not([data-bs-theme="dark"]) .account-page .account-mobile-nav > label { color:rgba(255,255,255,.85); }
html:not([data-bs-theme="dark"]) .page-account #footer-container footer,
html:not([data-bs-theme="dark"]) .page-account #footer-container footer a,
html:not([data-bs-theme="dark"]) .page-account #footer-container footer a h6,
html:not([data-bs-theme="dark"]) .page-account #footer-container footer .copyright,
html:not([data-bs-theme="dark"]) .page-account #footer-container footer .support { color:#fff; }
