/* Aidestra / 2026-09. Shared product tokens; existing interaction classes stay intact. */
:root {
  --ink-950: #0c172b;
  --ink-900: #162238;
  --ink-700: #3a4b65;
  --ink-600: #53647a;
  --ink-500: #62728a;
  --ink-400: #62728a;
  --surface-soft: #f5f7fa;
  --surface-tint: #edf2fa;
  --primary-900: #113691;
  --primary-800: #1945b5;
  --primary-700: #2255d7;
  --primary-600: #2b62e8;
  --primary-500: #3b70ee;
  --primary-100: #e9efff;
  --primary-50: #f1f5ff;
  --border: #dfe5ee;
  --border-strong: #c4cfdf;
  --focus: #376fea;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 18px;
  --shadow-xs: 0 1px 2px #16223806;
  --shadow-sm: 0 4px 14px #16223808;
  --shadow-md: 0 16px 42px #16223810;
  --sidebar-width: 246px;
  --topbar-height: 76px;
  --shell: #111d32;
  --shell-muted: #a4b4cf;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}
body { font-size: 1rem; }
h1, h2, h3 { letter-spacing: -.035em; }
.btn { min-height: 42px; border-radius: 7px; box-shadow: none; font-size: .875rem; }
.btn--primary { background: var(--primary-700); box-shadow: 0 2px 3px #16348014; }
.btn--primary:hover { background: var(--primary-800); transform: none; }
.btn--lg { min-height: 50px; padding-inline: 23px; font-size: .9375rem; }
.btn--sm { min-height: 36px; }
.input { min-height: 44px; border-radius: 7px; background: #fff; }
.field > label, .language-picker { font-size: .875rem; }
.language-picker select { inline-size: 125px; border-color: transparent; background-color: transparent; }
.brand-mark { border-radius: 7px; box-shadow: none; }
.brand-name { font-size: 1.35rem; letter-spacing: -.055em; }
.brand-product { font-family: var(--mono); font-size: .6875rem; letter-spacing: .035em; }
.product-link { display: inline-flex; align-items: center; gap: 8px; border-color: #c4d5ff; color: var(--primary-800); background: var(--primary-50); font-size: .875rem; font-weight: 650; white-space: nowrap; }
.product-link:hover { background: var(--primary-100); border-color: var(--primary-700); }
.public-footer__links .icon { transform: rotate(-40deg); }

/* The public page is a product introduction; the signed-in shell remains a working surface. */
.public-page { background: #fff; }
.container { width: min(1240px, calc(100% - 80px)); }
.public-nav { background: #ffffffee; border-bottom: 1px solid var(--border); box-shadow: none; }
.public-nav__inner { height: 86px; gap: 24px; }
.public-nav__links { margin-inline: auto; gap: 0; }
.public-nav__links .btn { color: var(--ink-600); font-weight: 500; }
.public-nav__actions { gap: 12px; }
.hero { padding: 96px 0 76px; background: #fff; }
.hero::before { display: none; }
.hero__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 76px; align-items: center; }
.eyebrow { display: inline-flex; gap: 9px; padding: 0; border: 0; border-radius: 0; color: var(--primary-700); background: none; font-size: .875rem; }
.eyebrow__spark { width: 25px; height: 25px; background: none; }
.hero h1 { margin-block: 25px 26px; font-size: clamp(2.75rem, 4.45vw, 4.15rem); font-weight: 740; line-height: 1.17; letter-spacing: -.055em; }
.hero h1 span { color: var(--primary-700); background: none; -webkit-text-fill-color: currentColor; }
.hero__lead { max-width: 35rem; color: var(--ink-600); font-size: 1.0625rem; line-height: 1.9; }
.hero__actions { margin-block: 30px 0; gap: 12px; }
.hero__actions > .btn { min-height: 64px; }
.hero-app-link { border-color: #c0cff0; }
.hero-app-link > span { display: grid; gap: 4px; text-align: start; }
.hero-app-link strong { font-size: .9375rem; font-weight: 650; }
.hero-app-link small { color: var(--ink-600); font-size: .75rem; font-weight: 400; }
.hero__meta { margin-top: 28px; gap: 18px; font-size: .8125rem; }
.hero__meta .icon { color: var(--primary-700); }
.connection-map { padding: 24px; background: #f5f7fb; border: 1px solid #dce3ee; border-radius: 14px; box-shadow: 14px 14px 0 #edf1f8; }
.connection-map__heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 25px; font-family: var(--mono); font-size: .75rem; color: var(--ink-600); }
.connection-map__heading > span:first-child { display: inline-flex; gap: 9px; align-items: center; color: var(--ink-900); font-family: inherit; font-weight: 650; font-size: .875rem; }
.connection-map__heading .icon { color: var(--primary-700); }
.connection-map__endpoint { padding: 18px; border: 1px solid #254d9c; border-radius: 8px; color: #fff; background: var(--shell); }
.connection-map__endpoint > span { display: block; margin-bottom: 9px; color: #b3c8ed; font-size: .8125rem; }
.connection-map__endpoint code { display: block; font-family: var(--mono); font-size: .875rem; overflow-wrap: anywhere; direction: ltr; text-align: left; }
.connection-map__routes { position: relative; display: grid; gap: 10px; padding-top: 23px; }
.connection-map__routes::before { content: ""; position: absolute; top: 0; inset-inline-start: 28px; width: 1px; height: 23px; background: #aebfdb; }
.connection-route { display: flex; align-items: center; gap: 12px; min-height: 73px; padding: 13px 15px; border: 1px solid var(--border); border-radius: 7px; background: #fff; }
.connection-route__number { flex: 0 0 auto; color: var(--ink-500); font-family: var(--mono); font-size: .6875rem; }
.connection-route > .icon { flex-shrink: 0; width: 19px; color: var(--primary-700); }
.connection-route > div { min-width: 0; }
.connection-route strong { display: block; font-size: .875rem; font-weight: 650; }
.connection-route div > span { display: block; color: var(--ink-600); margin-top: 4px; font-size: .75rem; line-height: 1.5; overflow-wrap: anywhere; }
.connection-map__footer { display: flex; align-items: center; gap: 9px; color: var(--ink-600); padding-top: 20px; font-size: .8125rem; }
.connection-map__footer > span:last-child { margin-inline-start: auto; color: var(--primary-700); }
.product-spotlight { padding-bottom: 64px; background: #fff; }
.product-spotlight__panel { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 56px; align-items: center; padding: 44px 48px; color: #fff; border: 1px solid #274473; border-radius: 14px; background: var(--shell); }
.product-spotlight__eyebrow { display: flex; align-items: center; gap: 10px; color: #b8d1ff; font-size: .875rem; }
.product-spotlight h2 { margin: 18px 0 16px; color: #fff; font-size: clamp(2.15rem, 3.3vw, 3rem); line-height: 1.15; letter-spacing: -.05em; }
.product-spotlight h2 span { color: #96baff; }
.product-spotlight__summary { max-width: 640px; margin: 0; color: #f5f8ff; font-size: 1.125rem; line-height: 1.7; }
.product-spotlight__login { margin-block: 12px 0; color: #bdcbe2; font-size: .9375rem; line-height: 1.75; }
.product-spotlight__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; margin-top: 25px; }
.product-spotlight__actions .btn { color: #122c58; background: #fff; white-space: normal; text-align: center; }
.product-spotlight__actions .btn:hover { background: #e5edff; }
.product-spotlight__platform { color: #c6d5ed; font-size: .8125rem; }
.product-spotlight__availability { margin-top: 15px; margin-bottom: 0; color: #adbfdc; font-size: .8125rem; line-height: 1.65; }
.product-capabilities { display: grid; gap: 12px; min-width: 0; }
.product-capability { display: flex; align-items: center; gap: 20px; min-height: 82px; padding: 20px 24px; border: 1px solid #385170; border-radius: 8px; background: #1a2b45; }
.product-capability > .icon { flex-shrink: 0; width: 25px; height: 25px; color: #a7c8ff; }
.product-capability strong { color: #eaf1ff; font-size: 1.0625rem; font-weight: 550; overflow-wrap: anywhere; }
.logo-strip { border-block: 1px solid var(--border); background: #fff; }
.logo-strip__inner { min-height: 100px; gap: 36px; padding-block: 24px; }
.logo-strip__label { max-width: 150px; flex-shrink: 0; white-space: normal; line-height: 1.6; color: var(--ink-500); font-size: .8125rem; }
.provider-list { justify-content: space-between; flex: 1; gap: 25px; flex-wrap: wrap; }
.provider-list span { color: var(--ink-700); font-size: 1.125rem; font-weight: 650; letter-spacing: -.035em; }
.section { padding: 84px 0; }
.section-heading { max-width: none; margin-bottom: 38px; text-align: start; }
.section-kicker { display: block; margin-bottom: 16px; font-family: var(--mono); color: var(--primary-700); font-size: .75rem; font-weight: 500; letter-spacing: .045em; }
.section-heading h2, .integration-panel h2 { max-width: 720px; font-size: clamp(1.75rem, 2.8vw, 2.45rem); line-height: 1.3; }
.section-heading > p { max-width: 700px; margin-inline: 0; font-size: 1rem; }
.feature-grid { gap: 0; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; background: var(--border); grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feature-card { border: 0; border-radius: 0; padding: 30px; background: #fff; box-shadow: none; outline: 1px solid var(--border); }
.feature-card:hover { transform: none; box-shadow: none; background: #f9fbff; }
.feature-card__icon, .feature-card:nth-child(n) .feature-card__icon { width: 35px; height: 35px; margin-bottom: 24px; border: 0; color: var(--primary-700); background: transparent; }
.feature-card h3 { font-size: 1.0625rem; font-weight: 650; }
.feature-card p { font-size: .9375rem; line-height: 1.8; }
.section--tint { background: var(--surface-soft); border-block: 1px solid var(--border); }
.integration-panel { padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 64px; }
.integration-panel > div > p { font-size: 1rem; line-height: 1.9; }
.code-window { border-radius: 10px; border: 1px solid #2b3a55; background: var(--shell); box-shadow: none; }
.code-window pre { font-size: .8125rem; line-height: 1.9; }
.code-window__bar { border-bottom: 1px solid #293951; background: #16243c; color: #b7c7df; }
.window-dots i { background: #53657e; }
.cta-panel { padding: 50px; text-align: start; border: 1px solid #244a87; border-radius: 12px; background: var(--shell); box-shadow: none; }
.cta-panel::before, .cta-panel::after { display: none; }
.cta-panel .section-kicker { color: #9ebff8; }
.cta-panel h2 { max-width: 800px; font-size: clamp(1.75rem, 2.8vw, 2.5rem); }
.cta-panel p { margin-inline: 0; color: #b7c7df; font-size: 1rem; }
.cta-panel .btn-row { justify-content: flex-start; }
.public-footer { background: #fff; border-top: 1px solid var(--border); }
.public-footer__inner { min-height: 112px; }
.public-footer__links > a { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-900); }

/* Authentication: shared neutral entry; never advertise administrator roles. */
.auth-page { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); background: #fff; }
.auth-main { padding: 34px 48px; background: #fff; }
.auth-card-wrap { padding-block: 58px; }
.auth-card { width: min(420px, 100%); margin: auto; }
.auth-card h1 { font-size: 2.25rem; letter-spacing: -.045em; }
.auth-card__lead { margin-bottom: 32px; font-size: 1rem; }
.auth-card__back { margin-bottom: 32px; padding-inline: 0; }
.auth-aside { margin: 18px; border-radius: 14px; padding: 56px; background: var(--shell); overflow: hidden; }
.auth-aside::before, .auth-aside::after { display: none; }
.auth-aside__content { max-width: 500px; }
.auth-aside__tag { display: block; padding: 0; border: 0; color: #9ebff8; background: none; font-family: var(--mono); font-size: .8125rem; }
.auth-aside h2 { margin-block: 44px 26px; max-width: 480px; font-size: clamp(2rem, 3.4vw, 3.25rem); line-height: 1.3; }
.auth-aside__content > p { color: #b4c3d9; font-size: 1rem; line-height: 1.9; }
.auth-proof { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 60px; gap: 0; border-top: 1px solid #35425a; border-bottom: 1px solid #35425a; }
.auth-proof__item { min-inline-size: 0; overflow-wrap: anywhere; padding: 24px 12px; border: 0; border-radius: 0; background: none; }
.auth-proof__item + .auth-proof__item { border-inline-start: 1px solid #35425a; }
.auth-proof__item strong { font-size: 1.375rem; }
.auth-proof__item span { color: #b4c3d9; font-size: .8125rem; }

/* Console: quiet surfaces and a distinct navigation rail, shared by both roles. */
.sidebar { background: var(--shell); border-color: #26364e; }
.sidebar .brand-name { color: #fff; }
.sidebar .brand-product { color: var(--shell-muted); }
.sidebar__brand { height: 96px; padding-inline: 25px; border-color: #29374f; }
.sidebar__nav { gap: 5px; padding: 28px 14px; }
.sidebar__label { margin: 0 13px 16px; color: #8d9eba; font-size: .75rem; }
.nav-item { min-height: 45px; padding-inline: 13px; border: 1px solid transparent; border-radius: 7px; color: #b9c7dc; font-size: .875rem; font-weight: 500; }
.nav-item > .icon { width: 18px; height: 18px; color: #8fa3c2; }
.nav-item:hover { color: #fff; background: #1d2d46; }
.nav-item.is-active { color: #fff; background: #234682; border-color: #355a95; }
.nav-item.is-active .icon { color: #bcd5ff; }
.nav-item__pill { color: #fff; background: #496993; }
.sidebar__bottom { padding: 18px 16px; }
.sidebar__home { display: flex; align-items: center; gap: 10px; padding: 10px; margin-bottom: 14px; color: #afbeda; font-size: .8125rem; }
.sidebar__home:hover { color: #fff; }
.support-card { border: 1px solid #31415c; border-radius: 8px; padding: 16px; background: #17263e; }
.support-card strong { color: #e4ecfa; font-size: .8125rem; }
.support-card p { color: #a3b5d1; font-size: .75rem; line-height: 1.7; }
.support-card .btn { color: #c5d9ff; background: #253d62; }
.topbar { height: var(--topbar-height); padding-inline: 32px; background: #ffffffed; backdrop-filter: blur(16px); box-shadow: none; }
.topbar__breadcrumb { font-size: .8125rem; color: var(--ink-500); }
.topbar__breadcrumb strong { font-weight: 600; color: var(--ink-800); }
.user-button__copy > strong { font-size: .8125rem; }
.user-button__copy > span { font-size: .75rem; }
.avatar { border-radius: 9px; color: #2357c6; background: #e8efff; }
.portal-main { padding: calc(var(--topbar-height) + 36px) 32px 56px; background: var(--surface-soft); }
.page-wrap { max-width: 1440px; }
.page-header { align-items: center; margin-bottom: 30px; }
.page-header h1 { font-size: 1.875rem; font-weight: 680; }
.page-header p { max-width: 760px; font-size: .875rem; line-height: 1.7; }
.stats-grid { gap: 18px; }
.stat-card { padding: 24px; border-radius: 10px; border-color: var(--border); box-shadow: var(--shadow-xs); }
.stat-card__label { font-size: .8125rem; }
.stat-card__icon, .stat-card:nth-child(n) .stat-card__icon { border-radius: 7px; color: var(--ink-500); background: #f0f3f8; }
.stat-card__value { margin-block: 18px 10px; font-size: clamp(1.7rem, 2.25vw, 2.4rem); font-weight: 600; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.stat-card__meta { color: var(--ink-600); font-size: .75rem; }
.account-stats .stat-card:first-child { color: #fff; background: var(--shell); border-color: #203555; }
.account-stats .stat-card:first-child .stat-card__value { color: #fff; }
.account-stats .stat-card:first-child :is(.stat-card__label, .stat-card__meta) { color: #b6c8e5; }
.account-stats .stat-card:first-child .stat-card__icon { color: #bcd4fb; background: #263b5b; }
.dashboard-grid { gap: 22px; margin-top: 22px; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); }
.card { border-radius: 10px; box-shadow: var(--shadow-xs); }
.card__head { padding: 23px 25px; border-bottom-color: #ebeff5; }
.card__head h2, .card__head h3 { font-size: 1rem; font-weight: 650; }
.card__head-copy p { font-size: .8125rem; }
.card__body { padding: 25px; }
.card__body--flush { padding: 0; }
.bar-chart__bar { max-width: 42px; margin-inline: auto; border-radius: 4px 4px 0 0; background: var(--primary-600); }
.quick-action { padding: 14px 0; border: 0; border-bottom: 1px solid #edf0f5; border-radius: 0; background: #fff; }
.quick-action:last-child { border-bottom: 0; }
.quick-action:hover { background: #f7f9fe; transform: none; }
.quick-action__icon { width: 36px; height: 36px; color: var(--primary-700); background: #eef3ff; border-radius: 7px; }
.quick-action__copy strong { font-size: .875rem; }
.quick-action__copy > span { font-size: .75rem; }
.endpoint-box { border-radius: 8px; background: var(--shell); }
.endpoint-box__head { border-color: #31405a; }
.desktop-entry { background: #edf3ff; border-color: #d7e2f5; }
.desktop-entry .card__head { border-bottom: 0; padding-bottom: 0; }
.desktop-entry .card__head > .icon { color: var(--primary-700); }
.desktop-entry .card__body > p { color: var(--ink-600); font-size: .875rem; line-height: 1.8; }
.data-table th { padding-block: 14px; background: #f8fafd; color: var(--ink-600); font-size: .75rem; font-weight: 600; }
.data-table td { padding-block: 18px; font-size: .8125rem; border-color: #eaf0f6; }
.data-table tbody tr:hover { background: #f8faff; }
.badge { border-radius: 5px; font-size: .75rem; }
.notice { border-radius: 8px; font-size: .875rem; line-height: 1.7; }
.model-card, .model-profile-card { border-radius: 10px; box-shadow: none; }
.model-card:hover { transform: none; border-color: #9aafe0; box-shadow: var(--shadow-sm); }
.model-card.is-selected { border-color: var(--primary-700); }
.modal { border-radius: 14px; }
.modal__head { padding-block: 24px; }
.modal__foot { background: #f7f9fc; border-top: 1px solid var(--border); }
.toast { border-radius: 8px; }

@media (max-width: 1180px) {
  .auth-proof { grid-template-columns: 1fr; margin-top: 36px; }
  .auth-proof__item { display: flex; align-items: baseline; gap: 18px; padding: 15px 0; }
  .auth-proof__item + .auth-proof__item { border-inline-start: 0; border-top: 1px solid #35425a; }
  .auth-proof__item strong { flex: 1; font-size: 1.0625rem; }
  .auth-proof__item span { flex: 1.3; margin-top: 0; }
  .public-nav__links { display: none; }
  .public-nav__actions { margin-inline-start: auto; }
  .hero__grid { gap: 40px; }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dashboard-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
  .topbar .server-status { display: none; }
}
@media (max-width: 920px) {
  :root { --sidebar-width: 220px; }
  .container { width: calc(100% - 48px); }
  .hero { padding-block: 60px; }
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__copy { max-width: 700px; }
  .connection-map { max-width: 640px; width: calc(100% - 14px); margin-inline: 0; }
  .product-spotlight__panel { grid-template-columns: 1fr; gap: 30px; padding: 34px; }
  .product-capabilities { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .product-capability { flex-direction: column; align-items: flex-start; gap: 14px; padding: 20px; }
  .integration-panel, .dashboard-grid { grid-template-columns: 1fr; }
  .integration-panel { gap: 34px; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .auth-page { grid-template-columns: 1fr; }
  .auth-aside { display: none; }
  .auth-main { padding: 28px; }
  .portal-main { padding-inline: 22px; }
  .topbar { padding-inline: 22px; }
}
@media (max-width: 760px) {
  .public-nav__inner { min-height: 76px; height: auto; padding-block: 14px; flex-wrap: wrap; gap: 14px; }
  .public-nav__actions { flex-wrap: wrap; gap: 9px; }
  .public-nav__actions .btn--ghost { display: inline-flex; }
  .product-link { display: inline-flex; white-space: normal; }
  .product-spotlight { padding-bottom: 42px; }
  .hero h1 { font-size: clamp(2.3rem, 8vw, 3.5rem); }
  .hero__lead { font-size: 1rem; }
  .hero__meta { flex-wrap: wrap; gap: 12px 18px; }
  .logo-strip__inner { align-items: flex-start; flex-direction: column; gap: 20px; }
  .logo-strip__label { max-width: none; }
  .provider-list { width: 100%; justify-content: flex-start; gap: 18px 26px; }
  .provider-list span { font-size: 1rem; }
  .section { padding-block: 54px; }
  .section-heading { margin-bottom: 27px; }
  .feature-card { padding: 25px; }
  .cta-panel { padding: 30px; }
  .sidebar { width: var(--sidebar-width); }
  .topbar { height: auto; min-height: 70px; padding-block: 10px; gap: 12px; }
  .topbar__breadcrumb { display: none; }
  .portal-main { padding: 99px 20px 35px; }
  .page-header { align-items: flex-start; flex-direction: column; gap: 18px; }
  .page-header h1 { font-size: 1.625rem; }
  .page-header__actions { gap: 8px; }
  .stats-grid { gap: 12px; }
  .stat-card { padding: 18px; }
  .stat-card__value { font-size: 1.625rem; overflow-wrap: anywhere; }
  .card__head { padding: 20px; }
  .card__body { padding: 20px; }
  .card__body--flush { padding: 0; }
}
@media (max-width: 520px) {
  .container { width: calc(100% - 36px); }
  .public-nav__inner > a { flex: 1; }
  .public-nav__actions { margin-inline-start: 0; }
  .public-nav__actions .btn { padding-inline: 12px; }
  .public-nav__actions .language-picker select { inline-size: 100px; }
  .hero { padding-top: 42px; }
  .hero__actions { align-items: stretch; flex-direction: column; }
  .hero__actions .btn { justify-content: center; }
  html[lang] .public-nav__actions .product-link { flex: 1 0 100%; justify-content: center; }
  html[lang] .public-nav__actions > .btn--ghost { flex: 0 1 auto; padding-inline: 8px; white-space: nowrap; }
  html[lang] .public-nav__actions > .btn--primary { flex: 1 1 100px; padding-inline: 8px; }
  .product-spotlight__panel { padding: 27px 23px; }
  .product-spotlight__summary { font-size: 1rem; }
  .product-spotlight__actions { align-items: stretch; flex-direction: column; gap: 14px; }
  .product-spotlight__actions .btn { justify-content: center; }
  .product-capabilities { grid-template-columns: 1fr; }
  .product-capability { flex-direction: row; align-items: center; min-height: 58px; padding: 15px 18px; }
  .product-capability strong { font-size: .9375rem; }
  .connection-map { padding: 17px; box-shadow: 7px 7px 0 #edf1f8; width: calc(100% - 7px); }
  .connection-route { padding: 12px; gap: 9px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card__icon, .feature-card:nth-child(n) .feature-card__icon { margin-bottom: 15px; }
  .code-window pre { padding: 18px; font-size: .75rem; }
  .cta-panel { padding: 25px; }
  .public-footer__inner { align-items: flex-start; padding-block: 28px; gap: 18px; }
  .auth-main { padding: 22px; }
  .auth-card-wrap { padding-block: 35px; }
  .auth-card h1 { font-size: 2rem; }
  .portal-main { padding-inline: 14px; }
  .topbar { padding-inline: 14px; }
  .topbar__right { gap: 9px; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat-card { padding: 21px; }
  .stat-card__value { font-size: 2rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0s !important; animation-duration: 0s !important; }
}
