/* Quizzman ID · account layout, October 2026. Loaded after the legacy component styles. */
body.account-page {
  --ac-bg:#f8fafd; --ac-surface:#fff; --ac-surface-solid:#fff; --ac-surface-2:#f1f4f9;
  --ac-ink:#1f1f1f; --ac-muted:#5f6368; --ac-faint:#6f747b;
  --ac-border:#dadce0; --ac-border-soft:#e8eaed;
  --ac-primary:#0b57d0; --ac-primary-hover:#0842a0; --ac-primary-ink:#0842a0;
  --ac-primary-soft:#e8f0fe; --ac-secondary:#0b57d0; --ac-accent:#0b57d0;
  --ac-control:#fff; --ac-hover:#edf2fa; --ac-sidebar-fill:#f8fafd;
  --ac-elev:#fff; --ac-elev-border:#dadce0; --ac-glass:#fff; --ac-glass-border:#dadce0;
  --ac-shadow:none; --ac-shadow-hover:0 2px 6px #1f1f1f0c;
  --ac-radius:16px; --ac-radius-sm:8px; --ac-sidebar-w:256px; --ac-page-pad:32px;
  --ac-font:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  --secondary-color:var(--ac-primary);
  background:var(--ac-bg); font-size:14px; font-weight:400; letter-spacing:0; line-height:1.55;
}
html[data-theme="dark"] body.account-page, html.dark body.account-page, html.qmf-dark body.account-page {
  --ac-bg:#131314; --ac-surface:#1e1f20; --ac-surface-solid:#1e1f20; --ac-surface-2:#282a2c;
  --ac-ink:#e3e3e3; --ac-muted:#b5b8bd; --ac-faint:#a2a7af;
  --ac-border:#444746; --ac-border-soft:#343638; --ac-primary:#a8c7fa;
  --ac-primary-hover:#c2d8fc; --ac-primary-ink:#c2d8fc; --ac-primary-soft:#263d60;
  --ac-secondary:#a8c7fa; --ac-accent:#a8c7fa; --ac-control:#1e1f20;
  --ac-hover:#282c32; --ac-sidebar-fill:#131314; --ac-elev:#1e1f20;
  --ac-elev-border:#444746; --ac-glass:#1e1f20; --ac-glass-border:#444746;
  --ac-shadow:none; --ac-shadow-hover:none; background:var(--ac-bg);
}
body.account-page :is(button,input,select,textarea,a):focus-visible {
  outline:3px solid var(--ac-primary); outline-offset:3px;
}
body.account-page .account-sidebar {
  width:var(--ac-sidebar-w); padding:24px 16px 24px 12px;
  border:0; background:var(--ac-bg); backdrop-filter:none; -webkit-backdrop-filter:none;
}
.account-sidebar__brand { padding:0 16px 24px; font-size:23px; font-weight:500; letter-spacing:-.8px; color:var(--ac-ink); }
.account-sidebar__brand span { color:var(--ac-muted); font-weight:400; }
body.account-page .sidebar-menu { gap:4px; }
body.account-page .sidebar-menu > li { list-style:none; margin:0; padding:0; }
body.account-page .sidebar-menu > .sidebar-group-start { border-top:1px solid var(--ac-border-soft); margin-top:16px; padding-top:16px; }
body.account-page .sidebar-item {
  width:100%; border:0; border-radius:0 28px 28px 0; min-height:48px;
  padding:12px 16px; gap:16px; text-align:left; background:transparent;
  color:var(--ac-muted); font:inherit; font-weight:500; transition:background .15s,color .15s;
}
body.account-page .sidebar-item.active { background:var(--ac-primary-soft); color:var(--ac-primary-ink); }
body.account-page .sidebar-item::before { display:none; }
body.account-page .sidebar-item .label { white-space:normal; overflow:visible; font-size:14px; line-height:1.45; }
body.account-page .sidebar-item__icon { font-size:21px; background:transparent; color:inherit; }
body.account-page .main-content { background:var(--ac-surface); border-radius:24px 0 0 0; }
body.account-page .main,
body.account-page .account-home .main,
body.account-page .billing-page {
  width:100%; max-width:1080px; margin:0 auto; padding:40px var(--ac-page-pad) 56px; box-sizing:border-box;
}
body.account-page #tab-content.section-page { padding:0; }
body.account-page .account-home--overview .main.ov { max-width:1080px; }
body.account-page .ov-top { gap:24px; }
body.account-page .ov-identity { padding:0; }
body.account-page .account-hero { padding:0; }
body.account-page .account-hero__avatar-wrap.av-frame { --av:80px; margin-bottom:16px; }
body.account-page .account-hero__name { font-size:clamp(24px,2.4vw,32px); font-weight:450; letter-spacing:-.8px; line-height:1.25; margin-bottom:8px; overflow-wrap:anywhere; }
body.account-page .account-hero__title { font-size:14px; }
body.account-page .account-hero__email { font-size:14px; margin-top:3px; }
body.account-page .ov-edit-profile { margin-top:12px; border:1px solid var(--ac-border); border-radius:24px; padding:8px 18px; min-height:40px; background:transparent; color:var(--ac-primary); font-size:13px; font-weight:550; }
body.account-page .ov-edit-profile:hover { background:var(--ac-primary-soft); }
body.account-page .ov-status { justify-content:center; gap:8px 20px; margin:16px 0 0; padding:0; }
body.account-page .ov-status__item { font-size:12px; font-weight:400; }
body.account-page .ov-status__item[hidden],body.account-page .ov-banner[hidden],body.account-page .ov-usage[hidden] { display:none; }
body.account-page .ov-aside:has(> [hidden]):not(:has(> :not([hidden]))) { display:none; }
body.account-page .ov-banner { border:1px solid var(--ac-border); border-radius:16px; background:var(--ac-surface-2); padding:18px 24px; box-shadow:none; }
body.account-page .ov-banner.is-warn { border-color:var(--ac-warn); background:var(--ac-warn-soft); }
body.account-page .ov-usage { grid-template-columns:2fr 1fr 1fr; border:1px solid var(--ac-border-soft); border-radius:16px; background:var(--ac-bg); box-shadow:none; }
body.account-page .ov-usage__item { padding:16px 24px; }
body.account-page .ov-usage__val { font-size:24px; font-weight:500; }
body.account-page .ov-search { max-width:640px; margin:28px auto 0; }
body.account-page .account-search { min-height:52px; border:1px solid transparent; border-radius:28px; background:var(--ac-surface-2); box-shadow:none; }
body.account-page .account-search:focus-within { background:var(--ac-surface); border-color:var(--ac-primary); box-shadow:0 1px 6px #1f1f1f18; }
body.account-page .account-search input { min-width:0; font-size:14px; }
body.account-page .ov-search__hint { font-size:12px; margin-top:10px; }
body.account-page .ov-qa { margin-top:36px; }
body.account-page .ov-section-title { font-size:18px; font-weight:500; text-transform:none; letter-spacing:-.3px; color:var(--ac-ink); margin-bottom:16px; }
body.account-page .ov-qa__grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
body.account-page .account-qa {
  min-width:0; min-height:100px; padding:20px; border:1px solid var(--ac-border);
  border-radius:16px; gap:16px; background:var(--ac-surface); box-shadow:none;
  transform:none; color:var(--ac-ink);
}
body.account-page .account-qa > i:first-child { display:grid; place-items:center; width:44px; height:44px; border-radius:50%; font-size:23px; color:var(--ac-primary); background:var(--ac-primary-soft); }
.account-qa__copy { display:flex; flex-direction:column; gap:4px; flex:1; min-width:0; }
.account-qa__title { font-size:15px; font-weight:550; }
.account-qa__desc { color:var(--ac-muted); font-size:12px; font-weight:400; line-height:1.5; }
body.account-page .account-qa .account-qa__arrow { margin-left:auto; font-size:21px; color:var(--ac-muted); }
body.account-page .account-qa:hover { background:var(--ac-bg); border-color:var(--ac-primary); box-shadow:none; }
body.account-page .ov-recent { margin-top:32px; }
body.account-page .ov-recent__list { border:1px solid var(--ac-border); box-shadow:none; border-radius:16px; }
body.account-page .ov-recent__item { flex-direction:row; gap:24px; padding:16px 20px; align-items:center; }
body.account-page .ov-recent__when { flex:0 0 90px; font-weight:400; color:var(--ac-muted); }
body.account-page .ov-recent__what { font-size:13px; }
body.account-page :is(.profile-panel,.account-card,.module-card,.lum-card) { border:1px solid var(--ac-border); border-radius:16px; background:var(--ac-surface); box-shadow:none; backdrop-filter:none; }
body.account-page .profile-panel { padding:28px; }
body.account-page .section-title { font-size:26px; font-weight:450; }
body.account-page .account-home--profile .account-card__subtitle { display:block; margin-top:8px; max-width:620px; }
body.account-page .profile-card__body { margin-top:28px; gap:24px; grid-template-columns:72px minmax(0,1fr); }
body.account-page .profile-fields { gap:24px; }
body.account-page .profile-field :is(input,select) { min-height:48px; border:1px solid var(--ac-border); border-radius:8px; background:var(--ac-control); padding:12px; font-size:14px; box-shadow:none; }
body.account-page .profile-field label { font-weight:500; font-size:12px; color:var(--ac-muted); }
body.account-page .profile-role { box-shadow:none; border-radius:12px; }
body.account-page .btn-save-profile { min-height:42px; padding:10px 24px; border-radius:24px; }
html[data-theme="dark"] body.account-page .btn-save-profile { color:#062e6f; }
body.account-page :is(.sec-hub-main,.lum-hub-main) { min-height:0; }
body.account-page :is(.sec-hub__stage--home,.lum-hub__stage--home) { align-items:stretch; justify-content:flex-start; padding:0; }
body.account-page :is(.sec-hub__eyebrow,.lum-hub__eyebrow) { text-align:left; font-size:28px; font-weight:450; color:var(--ac-ink); text-transform:none; letter-spacing:-.7px; margin:0 0 28px; }
body.account-page :is(.sec-hub__tiles,.lum-hub__tiles) { max-width:none; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
body.account-page :is(.sec-hub__tile,.lum-hub__tile) { width:100%; min-width:0; max-width:none; min-height:160px; aspect-ratio:auto; align-items:flex-start; text-align:left; justify-content:flex-start; padding:24px; gap:12px; border:1px solid var(--ac-border); border-radius:16px; background:var(--ac-surface); }
body.account-page :is(.sec-hub__tile__icon,.lum-hub__tile__icon) { color:var(--ac-primary); width:32px; height:32px; }
body.account-page :is(.sec-hub__tile__label,.lum-hub__tile__label) { font-size:17px; font-weight:500; line-height:1.5; }
body.account-page :is(.sec-hub__tile__desc,.lum-hub__tile__desc) { font-size:13px; line-height:1.6; overflow:visible; display:block; }
body.account-page :is(.sec-hub__tile,.lum-hub__tile):hover { background:var(--ac-bg); border-color:var(--ac-primary); box-shadow:none; }
body.account-page :is(.sec-hub__stage--panel,.lum-hub__stage--panel) { max-width:780px; }
body.account-page .sec-hub__panel-title { font-size:22px; font-weight:450; }
body.account-page .sec-hub__panel-bar { display:flex; gap:24px; margin-bottom:24px; }
body.account-page .sec-hub__panel-body { padding:24px; border:1px solid var(--ac-border); border-radius:16px; }
body.account-page .sec-hub__subtabs { margin-bottom:24px; }
body.account-page .sec-hub__seg { min-height:42px; }
body.account-page .sec-form__input { border-radius:8px; min-height:48px; }
body.account-page .sec-form__btn { border-radius:24px; min-height:42px; }
body.account-page .auth-gate { padding:48px 24px; background:var(--ac-bg); }
body.account-page .auth-gate__card { max-width:560px; width:100%; padding:48px; text-align:left; background:var(--ac-surface); border:1px solid var(--ac-border-soft); border-radius:28px; box-shadow:none; }
body.account-page .auth-gate__icon { margin:0 0 28px; color:var(--ac-primary); background:var(--ac-primary-soft); border-radius:16px; }
body.account-page .auth-gate__card h1 { font-size:32px; font-weight:450; letter-spacing:-1px; }
body.account-page .auth-gate__card p { max-width:390px; font-size:15px; line-height:1.7; }
body.account-page .auth-gate__btn { border-radius:24px; min-height:44px; padding:10px 28px; box-shadow:none; }
@media (min-width:1600px) { body.account-page .main-content { margin-right:16px; border-radius:24px 24px 0 0; } }
@media (max-width:1100px) and (min-width:901px) { body.account-page { --ac-sidebar-w:224px; --ac-page-pad:24px; } }
@media (max-width:900px) {
  body.account-page { --ac-page-pad:20px; }
  body.account-page .account-sidebar { width:min(300px,85vw); border-right:1px solid var(--ac-border); padding-top:24px; }
  body.account-page .main-content { border-radius:0; }
  body.account-page .account-mobile-bar { background:var(--ac-surface); box-shadow:none; border-bottom:1px solid var(--ac-border-soft); }
  body.account-page .main,body.account-page .account-home .main,body.account-page .billing-page { padding:24px 20px 40px; min-height:0; }
  body.account-page .ov-qa__grid { gap:12px; }
  body.account-page .account-qa { padding:16px; min-height:100px; gap:12px; }
  body.account-page .account-qa > i:first-child { width:36px; height:36px; font-size:20px; }
  body.account-page .ov-status { gap:8px 16px; }
  body.account-page .ov-usage__item { padding:12px; }
  body.account-page .ov-recent__item { flex-direction:column; align-items:flex-start; gap:4px; }
  body.account-page .ov-recent__when { flex:auto; }
  body.account-page :is(.sec-hub__tiles,.lum-hub__tiles) { grid-template-columns:1fr; }
  body.account-page :is(.sec-hub__tile,.lum-hub__tile) { min-height:0; padding:20px; }
  body.account-page .sec-hub__panel-body { padding:20px; }
  body.account-page .profile-panel { padding:20px; }
  body.account-page .profile-card__body { grid-template-columns:1fr; }
  body.account-page .profile-fields { gap:20px; }
  body.account-page .auth-gate__card { padding:32px 24px; }
}
@media (max-width:520px) {
  body.account-page .ov-qa__grid { grid-template-columns:1fr; }
  body.account-page .account-qa { min-height:88px; }
  body.account-page .ov-usage { grid-template-columns:1fr 1fr; }
  body.account-page .ov-usage__item--plan { grid-column:1 / -1; }
  body.account-page .ov-search__hint { text-align:left; }
  body.account-page .sec-hub__panel-bar { gap:12px; flex-wrap:wrap; }
  body.account-page .sec-hub__subtabs { flex-wrap:wrap; }
  body.account-page .profile-fields { grid-template-columns:1fr; }
  body.account-page .profile-field { grid-column:1 / -1; min-width:0; }
  body.account-page .ov-status { justify-content:center; flex-wrap:wrap; }
}
@media (prefers-reduced-motion:reduce) { body.account-page *,body.account-page *::before,body.account-page *::after { scroll-behavior:auto!important; transition:none!important; animation:none!important; } }
/* Overview: a single centered identity and one compact usage strip. */
body.account-page .ov-top { display:flex; flex-direction:column; }
body.account-page .account-home--overview .ov-hero { display:block; text-align:center; }
body.account-page .account-home--overview .account-hero__avatar-wrap { margin:0 auto 16px; }
body.account-page .ov-usage { gap:0; overflow:hidden; }
body.account-page .ov-usage__item { background:transparent; border:0; border-radius:0; box-shadow:none; backdrop-filter:none; display:flex; flex-direction:column; justify-content:center; }
body.account-page .ov-usage__item + .ov-usage__item { border-left:1px solid var(--ac-border-soft); }
body.account-page .ov-plan { display:grid; grid-template-columns:40px 1fr; column-gap:12px; text-align:left; width:100%; }
body.account-page .ov-plan__badge.ms-badge { --ms-size:36px; grid-row:1 / 3; margin:0; }
body.account-page .ov-plan__name { font-size:14px; font-weight:500; }
body.account-page .ov-lumen-bar { width:100%; margin:0; }
body.account-page .ov-lumen-bar__track { display:none; }
body.account-page .ov-lumen-bar__meta { justify-content:flex-start; gap:4px; }
body.account-page .ov-lumen-bar__val { font-size:12px; font-weight:500; }
body.account-page .ov-lumen-bar__unit { font-size:11px; font-weight:400; text-transform:none; }
body.account-page .ov-usage__item--stat .ov-usage__val { font-size:22px; color:var(--ac-ink); font-weight:450; }
body.account-page .ov-usage__label { font-size:12px; text-transform:none; letter-spacing:0; font-weight:400; }
body.account-page .account-search input { width:100%; max-width:none; flex:1 1 0; }
@media (max-width:520px) { body.account-page .ov-usage__item--plan { border-bottom:1px solid var(--ac-border-soft); } body.account-page .ov-usage__item--devices { border-left:0; } }
body.account-page .ov-top { align-items:stretch; }
body.account-page .account-search { display:flex!important; }
body.account-page .account-home--overview .account-hero__avatar-wrap.av-frame { --av:64px; margin-bottom:12px; }
body.account-page .account-home--overview .account-hero__name { font-size:28px; }
body.account-page .account-home--overview .ov-top { gap:20px; }
body.account-page .account-home--overview .ov-usage__item { padding:12px 20px; }
body.account-page .account-home--overview .ov-search { margin-top:24px; }
body.account-page .account-home--overview .ov-qa { margin-top:28px; }

/* Sidebar scroll affordances: no visible scrollbar, including the mobile drawer. */
body.account-page .account-sidebar {
  scrollbar-width: none;
  -ms-overflow-style: none;
}
body.account-page .account-sidebar::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}
