/* R41: one entry-page composition, sharing the archive's typography, palette
   and functional surfaces. Native forms, routes and theme handlers remain. */
@font-face {font-family:"General Sans";src:url("../workspace-dashboard-r31/fonts/GeneralSans-Variable.woff2") format("woff2");font-weight:200 700;font-style:normal;font-display:swap;}
html:has(body.auth-page[data-design="landing"]) {background:#f2f2f2;scroll-padding-top:80px;scroll-padding-bottom:160px;}
html[data-theme="dark"]:has(body.auth-page[data-design="landing"]) {background:#111111;}
body.auth-page[data-design="landing"] {
  --bg:#f2f2f2;--surface:#fff;--raised:#f5f5f5;--field:#fff;--subtle:#f5f5f5;--hover:#f0f0f0;
  --ink:#202020;--secondary:#505050;--muted:#666666;--line:#ddd;--line-strong:#949494;
  --accent:#176f63;--accent-hover:#125c53;--accent-text:#176f63;--on-accent:#fff;--focus:#505050;
  --radius:8px;--radius-control:7px;--radius-detail:3px;
  --control-height:38px;--control-small:38px;--control-line-height:22px;--control-padding:12px;
  --font-ui:"General Sans",-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  --font-heading:var(--font-ui);--font-code:var(--font-ui);
  background:var(--bg);color:var(--ink);font-family:var(--font-ui);
  font-size:14.5px;line-height:22px;min-height:100dvh;
}
html[data-theme="dark"] body.auth-page[data-design="landing"] {
  --bg:#111111;--surface:#181818;--raised:#1e1e1e;--field:#141414;--subtle:#1e1e1e;--hover:#242424;
  --ink:#f2f2f2;--secondary:#bcbcbc;--muted:#a0a0a0;--line:#343434;--line-strong:#727272;
  --accent:#1f9383;--accent-hover:#2ba594;--accent-text:#82c7b9;--on-accent:#101010;--focus:#dedede;
  background:var(--bg);
}
body.auth-page[data-design="landing"]::before,
body.auth-page[data-design="landing"] #app::before {display:none;}
body.auth-page[data-design="landing"] #app {display:flex;flex-direction:column;min-height:100dvh;}

/* Branding and appearance occupy the same application header on every page. */
body.auth-page[data-design="landing"] .entry-header {
  flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;gap:16px;
  height:64px;padding:0 24px;border-bottom:1px solid var(--line);
  background:var(--surface);color:var(--ink);
}
body.auth-page[data-design="landing"] .entry-header .brand-link {padding:0;line-height:0;}
body.auth-page[data-design="landing"] .entry-header .brand-link img {width:124px;max-width:100%;height:auto;}
body.auth-page[data-design="landing"] .entry-header .logo-light {display:block !important;}
body.auth-page[data-design="landing"] .entry-header .logo-dark {display:none !important;}
html[data-theme="dark"] body.auth-page[data-design="landing"] .entry-header .logo-light {display:none !important;}
html[data-theme="dark"] body.auth-page[data-design="landing"] .entry-header .logo-dark {display:block !important;}
body.auth-page[data-design="landing"] .entry-header .icon-btn {
  width:40px;height:40px;min-width:40px;min-height:40px;padding:0;
  border:1px solid var(--line-strong);border-radius:7px;
  color:var(--ink);background:var(--surface);box-shadow:none;
}
body.auth-page[data-design="landing"] .entry-header .icon-btn:hover:not(:disabled) {background:var(--subtle);}
body.auth-page[data-design="landing"] :is(.entry-header .icon-btn,.btn,.password-field .icon-btn) .icon {width:17px;height:17px;flex-shrink:0;}

/* The free page head precedes a working surface. Legal links are outside main. */
body.auth-page[data-design="landing"] main#main.auth-main {
  flex:1 0 auto;display:block;width:min(500px,calc(100% - 40px));max-width:none;min-height:0;
  margin:40px auto;padding:0;border:0;border-radius:0;background:transparent;
}
body.auth-page[data-design="landing"] :is(.auth-card,.entry-login) {
  position:relative;width:100%;max-width:none;padding:0;margin:0;
  border:0;border-radius:0;background:transparent;box-shadow:none;
}
body.auth-page[data-design="landing"] .auth-head {display:block;min-height:0;margin:0 0 8px;}
body.auth-page[data-design="landing"] .auth-head .auth-titel {
  margin:0;min-width:0;color:var(--ink);font-family:var(--font-ui);
  font-size:28px;line-height:36px;font-weight:550;letter-spacing:-.025em;
  text-align:left;overflow-wrap:anywhere;
}
body.auth-page[data-design="landing"] .auth-intro {margin:0 0 24px;text-align:left;}
body.auth-page[data-design="landing"] .auth-caption,
body.auth-page[data-design="landing"] .auth-intro .auth-caption {
  margin:0 0 24px;color:var(--muted);font-size:14.5px;line-height:22px;text-align:left;
}
body.auth-page[data-design="landing"] .auth-intro .auth-caption:last-child {margin-bottom:0;}
body.auth-page[data-design="landing"] .auth-intro > .secondary {margin-top:8px;}
body.auth-page[data-design="landing"] .auth-workarea,
body.auth-page[data-design="landing"] .auth-card > form:has(.field):not(.button-row) {
  padding:22px;margin:0 0 20px;border:1px solid var(--line);
  border-radius:8px;background:var(--surface);
}
body.auth-page[data-design="landing"] .auth-workarea > .form-section {margin:0;padding:0;border:0;}
body.auth-page[data-design="landing"] .auth-workarea > form {margin:0;}
body.auth-page[data-design="landing"] .auth-card > :is(.auth-note,.notice,.form-section) + form:not(.button-row) {margin-top:20px;}
body.auth-page[data-design="landing"] .auth-secondary-entry {margin:24px 0 0;padding:20px 0 0;border-top:1px solid var(--line);}
body.auth-page[data-design="landing"] .auth-alternative-label {margin:0 0 10px;color:var(--secondary);font-size:13px;line-height:20px;font-weight:450;}
body.auth-page[data-design="landing"] .auth-note {margin:12px 0 0;color:var(--muted);font-size:13px;line-height:20px;text-align:left;}
body.auth-page[data-design="landing"] .auth-secondary-entry .auth-note {margin-top:10px;}
body.auth-page[data-design="landing"] .auth-workarea + .auth-note {margin-top:0;}

/* Native fields retain their own autofill, validation and authentication state. */
body.auth-page[data-design="landing"] :is(button,input,select,textarea) {font-family:var(--font-ui);}
body.auth-page[data-design="landing"] :is(.field label,.field-label) {font-size:14px;line-height:22px;font-weight:450;}
body.auth-page[data-design="landing"] .field {min-width:0;margin-bottom:20px;}
body.auth-page[data-design="landing"] .field input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="range"]),
body.auth-page[data-design="landing"] .field :is(select,textarea) {
  min-width:0;max-width:100%;width:100%;height:38px;min-height:38px;padding:7px 12px;
  border:1px solid var(--line-strong);border-radius:7px;background:var(--field);color:var(--ink);
  font-family:var(--font-ui);font-size:14.5px;line-height:22px;box-shadow:none;
}
body.auth-page[data-design="landing"] .field textarea {height:auto;min-height:108px;resize:vertical;}
body.auth-page[data-design="landing"] .field :is(input,textarea)[readonly] {background:var(--subtle);color:var(--ink);}
body.auth-page[data-design="landing"] .field :is(input,select,textarea):not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="range"])[aria-invalid="true"] {border-color:var(--negative);}
body.auth-page[data-design="landing"] :is(input,textarea)::placeholder {color:var(--muted);opacity:1;}
body.auth-page[data-design="landing"] .password-field .icon-btn {
  top:0;right:0;width:38px;height:100%;min-width:38px;min-height:0;margin:0;padding:0;
  border:0;border-radius:0 7px 7px 0;background:transparent;color:var(--muted);box-shadow:none;
}
body.auth-page[data-design="landing"] .auth-options {
  display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;
  gap:8px 16px;margin:4px 0 16px;
}
body.auth-page[data-design="landing"] .auth-options :is(a,.check-label) {
  display:inline-flex;align-items:center;min-height:38px;margin:0;font-size:13px;line-height:20px;
}
body.auth-page[data-design="landing"] .auth-options a {color:var(--accent-text);}
body.auth-page[data-design="landing"] .btn {
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  min-height:38px;height:auto;padding:7px 12px;border:1px solid var(--line-strong);border-radius:7px;
  background:var(--subtle);color:var(--ink);font-family:var(--font-ui);
  font-size:14px;line-height:22px;font-weight:450;text-align:center;white-space:normal;box-shadow:none;
}
body.auth-page[data-design="landing"] .btn:hover:not(:disabled):not([aria-disabled="true"]) {background:var(--hover);}
body.auth-page[data-design="landing"] .btn.primary {background:var(--accent);border-color:var(--accent);color:var(--on-accent);}
body.auth-page[data-design="landing"] .btn.primary:hover:not(:disabled):not([aria-disabled="true"]) {background:var(--accent-hover);border-color:var(--accent-hover);}
body.auth-page[data-design="landing"] :is(.btn.full,.sso-button) {width:100%;}
body.auth-page[data-design="landing"] .auth-card .sso-button {margin:0;}
body.auth-page[data-design="landing"] .form-error.field-error {
  height:auto;opacity:1;padding:0;margin-top:8px;border:0;background:transparent;
  color:var(--negative);font-size:13px;line-height:20px;
}
body.auth-page[data-design="landing"] :is(button,a,input,select,textarea):focus-visible {outline:2px solid var(--focus);outline-offset:3px;}
body.auth-page[data-design="landing"] .auth-error-card .error-number {margin:0 0 12px;color:var(--muted);font-size:16px;line-height:22px;font-weight:450;letter-spacing:0;text-align:left;}
body.auth-page[data-design="landing"] :is(.auth-card,.entry-login) :is(strong,b) {font-weight:500;}

/* The application footer fills the bottom of short pages in normal flow. */
body.auth-page[data-design="landing"] #app > .auth-footer {
  position:static;flex:0 0 auto;display:flex;flex-direction:row;align-items:center;justify-content:space-between;flex-wrap:wrap;
  gap:6px 24px;width:100%;margin:0;padding:6px 24px;border-top:0;
  background:var(--bg);color:var(--muted);font-size:12px;line-height:18px;font-weight:400;
}
body.auth-page[data-design="landing"] .auth-footer :is(strong,b) {font-weight:400;}
body.auth-page[data-design="landing"] #app > .auth-footer nav {
  display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;width:auto;gap:0 20px;
}
body.auth-page[data-design="landing"] #app > .auth-footer nav a {
  min-height:44px;color:var(--muted);font-size:12px;line-height:18px;font-weight:400;
  text-decoration:none;text-underline-offset:3px;
}
body.auth-page[data-design="landing"] #app > .auth-footer nav a:is(:hover,:focus-visible) {color:var(--ink);text-decoration:underline;}
@media(min-width:1024px) and (pointer:fine) {
  body.auth-page[data-design="landing"] #app > .auth-footer nav a {min-height:32px;}
}
@media(max-width:1023px), (any-pointer:coarse) {
  body.auth-page[data-design="landing"] #app > .auth-footer nav a {min-height:44px;}
}
@media(max-width:1023px) {
  body.auth-page[data-design="landing"] {--control-height:44px;--control-small:44px;}
  body.auth-page[data-design="landing"] .field input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="range"]),
  body.auth-page[data-design="landing"] .field :is(select,textarea) {height:44px;min-height:44px;font-size:16px;padding:10px 12px;}
  body.auth-page[data-design="landing"] .field textarea {height:auto;min-height:108px;}
  body.auth-page[data-design="landing"] .btn,
  body.auth-page[data-design="landing"] .auth-options :is(a,.check-label) {min-height:44px;}
  body.auth-page[data-design="landing"] .password-field .icon-btn {width:44px;min-width:44px;}
  body.auth-page[data-design="landing"] .entry-header .icon-btn {width:44px;height:44px;min-width:44px;min-height:44px;}
}
@media(max-width:599px) {
  body.auth-page[data-design="landing"] .entry-header {padding-inline:20px;}
  body.auth-page[data-design="landing"] main#main.auth-main {width:calc(100% - 32px);margin:24px auto 32px;}
  body.auth-page[data-design="landing"] .auth-head .auth-titel {font-size:26px;line-height:34px;}
  body.auth-page[data-design="landing"] .auth-workarea,
  body.auth-page[data-design="landing"] .auth-card > form:has(.field):not(.button-row) {padding:16px;}
  body.auth-page[data-design="landing"] #app > .auth-footer {display:block;padding:6px 20px;}
  body.auth-page[data-design="landing"] #app > .auth-footer nav {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px;margin-top:8px;}
}

/* R46: a functional sign-in composition; original assets and neutral surfaces. */
body.auth-page[data-design="landing"] main#main.auth-main:has(.auth-login) {width:min(960px,calc(100% - 64px));margin:72px auto 48px;}
body.auth-page[data-design="landing"] .auth-login-layout {display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,410px);gap:64px;align-items:start;}
body.auth-page[data-design="landing"] .auth-login-summary {min-width:0;padding-top:14px;}
body.auth-page[data-design="landing"] .auth-login-summary .auth-head .auth-titel {font-size:32px;line-height:40px;}
body.auth-page[data-design="landing"] .auth-login-guide {margin-top:40px;max-width:39ch;}
body.auth-page[data-design="landing"] .auth-login-guide h2 {font-size:16px;line-height:24px;font-weight:500;margin:0 0 20px;}
body.auth-page[data-design="landing"] .auth-login-guide dl {margin:0;}
body.auth-page[data-design="landing"] .auth-login-guide dl>div {padding:0 0 20px;}
body.auth-page[data-design="landing"] .auth-login-guide dt {font-weight:450;color:var(--ink);}
body.auth-page[data-design="landing"] .auth-login-guide dd {margin:5px 0 0;color:var(--muted);font-size:14px;line-height:22px;}
body.auth-page[data-design="landing"] .auth-login .auth-workarea {padding:28px;}
body.auth-page[data-design="landing"] .auth-local-login-heading {margin:0 0 22px;font-size:18px;line-height:26px;font-weight:500;}
body.auth-page[data-design="landing"] .auth-provider-entry {margin:0 0 26px;padding-bottom:24px;border-bottom:1px solid var(--line);}
body.auth-page[data-design="landing"] .auth-provider-entry h2 {font-size:18px;font-weight:500;margin:0 0 4px;}
body.auth-page[data-design="landing"] .auth-provider-entry>p {color:var(--muted);margin:0 0 16px;}
body.auth-page[data-design="landing"] .auth-provider-entry>p.auth-note {margin:12px 0 0;font-size:13px;}
@media(max-width:799px){body.auth-page[data-design="landing"] main#main.auth-main:has(.auth-login){width:min(500px,calc(100% - 32px));margin:28px auto 36px;}body.auth-page[data-design="landing"] .auth-login-layout{grid-template-columns:minmax(0,1fr);gap:0;}body.auth-page[data-design="landing"] .auth-login-summary{padding:0;}body.auth-page[data-design="landing"] .auth-login-guide{display:none;}body.auth-page[data-design="landing"] .auth-login .auth-workarea{padding:22px;}body.auth-page[data-design="landing"] .auth-login-summary .auth-head .auth-titel{font-size:28px;line-height:36px;}}

body.auth-page[data-design="landing"] .auth-login-form{min-width:0;}

/* Login, access selection and password request: the current Manea entry palette. */
html:has(body.auth-page[data-design="landing"]:is([data-entry="login"],[data-entry="reset"]) :is(.auth-login,.entry-login,.auth-forgot)) {background:#f3f6f9;}
html[data-theme="dark"]:has(body.auth-page[data-design="landing"]:is([data-entry="login"],[data-entry="reset"]) :is(.auth-login,.entry-login,.auth-forgot)) {background:#111720;}
body.auth-page[data-design="landing"]:is([data-entry="login"],[data-entry="reset"]):has(.auth-login,.entry-login,.auth-forgot) {
  --bg:#f3f6f9;--surface:#f6fbfa;--raised:#edf3f4;--field:#fff;--subtle:#e4ecef;--hover:#dce7e9;
  --ink:#202a34;--secondary:#495b68;--muted:#596879;--line:#d8e1e3;--line-strong:#71818e;
  --accent:#018081;--accent-hover:#006b6c;--accent-text:#006f70;--on-accent:#fff;--focus:#018081;
  --radius:16px;--radius-control:8px;--control-height:48px;--control-small:44px;--control-line-height:24px;
  --login-sheen:rgba(255,255,255,.7);--login-edge:rgba(255,255,255,.9);
  --login-shadow:0 12px 30px rgba(28,56,65,.06);
  font-size:17px;line-height:26px;background:var(--bg);
}
html[data-theme="dark"] body.auth-page[data-design="landing"]:is([data-entry="login"],[data-entry="reset"]):has(.auth-login,.entry-login,.auth-forgot) {
  --bg:#111720;--surface:#1b242b;--raised:#222d35;--field:#172028;--subtle:#252c34;--hover:#303d46;
  --ink:#f1f5f8;--secondary:#c1ccd5;--muted:#b2beca;--line:#39464f;--line-strong:#778b98;
  --accent:#e1f9f4;--accent-hover:#c8eee6;--accent-text:#e1f9f4;--on-accent:#005b5c;--focus:#e1f9f4;
  --login-sheen:rgba(255,255,255,.055);--login-edge:rgba(255,255,255,.1);
  --login-shadow:0 12px 30px rgba(0,0,0,.12);
}
body.auth-page[data-design="landing"]:is([data-entry="login"],[data-entry="reset"]):has(.auth-login,.entry-login,.auth-forgot) .entry-header {
  height:80px;min-height:80px;padding:0 24px;
  background:var(--surface);box-shadow:inset 0 1px 0 var(--login-edge);
}
body.auth-page[data-design="landing"]:is([data-entry="login"],[data-entry="reset"]):has(.auth-login,.entry-login,.auth-forgot) .entry-header .brand-link img {width:152px;}
body.auth-page[data-design="landing"]:is([data-entry="login"],[data-entry="reset"]):has(.auth-login,.entry-login,.auth-forgot) .entry-header .icon-btn {
  width:44px;height:44px;min-width:44px;min-height:44px;border-radius:6px;
}
body.auth-page[data-design="landing"]:is([data-entry="login"],[data-entry="reset"]):has(.auth-login,.entry-login,.auth-forgot) .entry-header .icon-btn .icon {width:22px;height:22px;}
body.auth-page[data-design="landing"]:is([data-entry="login"],[data-entry="reset"]):has(.auth-login,.entry-login,.auth-forgot) main#main.auth-main:has(.auth-login) {
  width:min(1080px,calc(100% - 64px));margin:64px auto 48px;
}
body.auth-page[data-design="landing"]:is([data-entry="login"],[data-entry="reset"]):has(.auth-login,.entry-login,.auth-forgot) .auth-login-layout {
  grid-template-columns:minmax(0,1fr) 460px;gap:64px;
}
body.auth-page[data-design="landing"]:is([data-entry="login"],[data-entry="reset"]):has(.auth-login,.entry-login,.auth-forgot) .auth-login-summary {padding-top:20px;}
body.auth-page[data-design="landing"]:is([data-entry="login"],[data-entry="reset"]):has(.auth-login,.entry-login,.auth-forgot) .auth-login-summary .auth-head .auth-titel {
  font-size:36px;line-height:44px;
}
body.auth-page[data-design="landing"]:is([data-entry="login"],[data-entry="reset"]):has(.auth-login,.entry-login,.auth-forgot) .auth-intro {margin-bottom:28px;}
body.auth-page[data-design="landing"]:is([data-entry="login"],[data-entry="reset"]):has(.auth-login,.entry-login,.auth-forgot) .auth-intro :is(.auth-caption,.secondary) {
  font-size:17px;line-height:26px;
}
body.auth-page[data-design="landing"]:is([data-entry="login"],[data-entry="reset"]):has(.auth-login,.entry-login,.auth-forgot) .auth-login-guide {margin-top:40px;}
body.auth-page[data-design="landing"]:is([data-entry="login"],[data-entry="reset"]):has(.auth-login,.entry-login,.auth-forgot) .auth-login-guide h2 {
  font-size:20px;line-height:28px;margin-bottom:24px;font-weight:500;
}
body.auth-page[data-design="landing"]:is([data-entry="login"],[data-entry="reset"]):has(.auth-login,.entry-login,.auth-forgot) .auth-login-guide dl > div {padding-bottom:24px;}
body.auth-page[data-design="landing"]:is([data-entry="login"],[data-entry="reset"]):has(.auth-login,.entry-login,.auth-forgot) .auth-login-guide dt {font-size:18px;line-height:26px;font-weight:500;}
body.auth-page[data-design="landing"]:is([data-entry="login"],[data-entry="reset"]):has(.auth-login,.entry-login,.auth-forgot) .auth-login-guide dd {margin-top:6px;font-size:16px;line-height:26px;}
body.auth-page[data-design="landing"]:is([data-entry="login"],[data-entry="reset"]):has(.auth-login,.entry-login,.auth-forgot) .auth-login .auth-workarea {
  padding:32px;margin-bottom:20px;border:1px solid var(--line);border-radius:16px;
  background:linear-gradient(180deg,var(--login-sheen),transparent 48px),var(--surface);
  box-shadow:inset 0 1px 0 var(--login-edge),var(--login-shadow);
}
body.auth-page[data-design="landing"]:is([data-entry="login"],[data-entry="reset"]):has(.auth-login,.entry-login,.auth-forgot) :is(.auth-local-login-heading,.auth-provider-entry h2) {
  font-size:24px;line-height:32px;font-weight:550;
}
body.auth-page[data-design="landing"]:is([data-entry="login"],[data-entry="reset"]):has(.auth-login,.entry-login,.auth-forgot) .auth-local-login-heading {margin-bottom:24px;}
body.auth-page[data-design="landing"]:is([data-entry="login"],[data-entry="reset"]):has(.auth-login,.entry-login,.auth-forgot) .auth-provider-entry > p {font-size:16px;line-height:26px;}
body.auth-page[data-design="landing"]:is([data-entry="login"],[data-entry="reset"]):has(.auth-login,.entry-login,.auth-forgot) :is(.field label,.field-label) {font-size:16px;line-height:24px;font-weight:500;}
body.auth-page[data-design="landing"]:is([data-entry="login"],[data-entry="reset"]):has(.auth-login,.entry-login,.auth-forgot) .field {margin-bottom:24px;}
body.auth-page[data-design="landing"]:is([data-entry="login"],[data-entry="reset"]):has(.auth-login,.entry-login,.auth-forgot) .field input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="range"]) {
  height:48px;min-height:48px;padding:11px 14px;border-radius:8px;font-size:17px;line-height:24px;
}
body.auth-page[data-design="landing"]:is([data-entry="login"],[data-entry="reset"]):has(.auth-login,.entry-login,.auth-forgot) .password-field input {padding-right:56px !important;}
body.auth-page[data-design="landing"]:is([data-entry="login"],[data-entry="reset"]):has(.auth-login,.entry-login,.auth-forgot) .password-field .icon-btn {
  width:48px;height:48px;min-width:48px;min-height:48px;border-radius:0 8px 8px 0;
}
body.auth-page[data-design="landing"]:is([data-entry="login"],[data-entry="reset"]):has(.auth-login,.entry-login,.auth-forgot) .password-field .icon-btn .icon {width:22px;height:22px;}
body.auth-page[data-design="landing"]:is([data-entry="login"],[data-entry="reset"]):has(.auth-login,.entry-login,.auth-forgot) .btn {
  min-height:48px;padding:11px 16px;border-radius:6px;font-size:17px;line-height:24px;font-weight:550;
}
body.auth-page[data-design="landing"]:is([data-entry="login"],[data-entry="reset"]):has(.auth-login,.entry-login,.auth-forgot) .auth-options {gap:8px 16px;margin:4px 0 20px;}
body.auth-page[data-design="landing"]:is([data-entry="login"],[data-entry="reset"]):has(.auth-login,.entry-login,.auth-forgot) .auth-options :is(a,.check-label) {min-height:44px;font-size:15px;line-height:24px;}
body.auth-page[data-design="landing"]:is([data-entry="login"],[data-entry="reset"]):has(.auth-login,.entry-login,.auth-forgot) .auth-secondary-entry {margin-top:28px;padding-top:24px;}
body.auth-page[data-design="landing"]:is([data-entry="login"],[data-entry="reset"]):has(.auth-login,.entry-login,.auth-forgot) .auth-alternative-label {margin-bottom:12px;font-size:15px;line-height:24px;font-weight:500;}
body.auth-page[data-design="landing"]:is([data-entry="login"],[data-entry="reset"]):has(.auth-login,.entry-login,.auth-forgot) .auth-note,
body.auth-page[data-design="landing"]:is([data-entry="login"],[data-entry="reset"]):has(.auth-login,.entry-login,.auth-forgot) .auth-provider-entry > p.auth-note {font-size:15px;line-height:24px;}
body.auth-page[data-design="landing"]:is([data-entry="login"],[data-entry="reset"]):has(.auth-login,.entry-login,.auth-forgot) .form-error.field-error {font-size:15px;line-height:24px;}
body.auth-page[data-design="landing"]:is([data-entry="login"],[data-entry="reset"]):has(.auth-login,.entry-login,.auth-forgot) :is(button,a,input,select,textarea):focus-visible {outline:2px solid var(--focus);outline-offset:3px;}
body.auth-page[data-design="landing"]:is([data-entry="login"],[data-entry="reset"]):has(.auth-login,.entry-login,.auth-forgot) #app > .auth-footer {
  padding:8px 24px;font-size:14px;line-height:22px;
}
body.auth-page[data-design="landing"]:is([data-entry="login"],[data-entry="reset"]):has(.auth-login,.entry-login,.auth-forgot) #app > .auth-footer nav a {min-height:44px;font-size:14px;line-height:22px;}
@media(max-width:1023px) {
  body.auth-page[data-design="landing"]:is([data-entry="login"],[data-entry="reset"]):has(.auth-login,.entry-login,.auth-forgot) main#main.auth-main:has(.auth-login) {width:min(520px,calc(100% - 32px));margin:32px auto 40px;}
  body.auth-page[data-design="landing"]:is([data-entry="login"],[data-entry="reset"]):has(.auth-login,.entry-login,.auth-forgot) .auth-login-layout {grid-template-columns:minmax(0,1fr);gap:0;}
  body.auth-page[data-design="landing"]:is([data-entry="login"],[data-entry="reset"]):has(.auth-login,.entry-login,.auth-forgot) .auth-login-summary {padding-top:0;}
  body.auth-page[data-design="landing"]:is([data-entry="login"],[data-entry="reset"]):has(.auth-login,.entry-login,.auth-forgot) .auth-login-guide {display:none;}
}
@media(max-width:599px) {
  body.auth-page[data-design="landing"]:is([data-entry="login"],[data-entry="reset"]):has(.auth-login,.entry-login,.auth-forgot) .entry-header {padding-inline:16px;}
  body.auth-page[data-design="landing"]:is([data-entry="login"],[data-entry="reset"]):has(.auth-login,.entry-login,.auth-forgot) .auth-login .auth-workarea {padding:20px;}
  body.auth-page[data-design="landing"]:is([data-entry="login"],[data-entry="reset"]):has(.auth-login,.entry-login,.auth-forgot) .auth-login-summary .auth-head .auth-titel {font-size:32px;line-height:40px;}
  body.auth-page[data-design="landing"]:is([data-entry="login"],[data-entry="reset"]):has(.auth-login,.entry-login,.auth-forgot) :is(.auth-local-login-heading,.auth-provider-entry h2) {font-size:22px;line-height:30px;}
  body.auth-page[data-design="landing"]:is([data-entry="login"],[data-entry="reset"]):has(.auth-login,.entry-login,.auth-forgot) #app > .auth-footer {padding-inline:16px;}
}

/* Access selection and password request share the native entry working surface. */
body.auth-page[data-design="landing"]:is([data-entry="login"],[data-entry="reset"]):has(.auth-login,.entry-login,.auth-forgot) main#main.auth-main:has(.entry-login,.auth-forgot) {
  width:min(520px,calc(100% - 64px));margin:64px auto 48px;
}
body.auth-page[data-design="landing"]:is([data-entry="login"],[data-entry="reset"]):has(.auth-login,.entry-login,.auth-forgot) :is(.entry-login,.auth-forgot) .auth-head .auth-titel {font-size:36px;line-height:44px;}
body.auth-page[data-design="landing"]:is([data-entry="login"],[data-entry="reset"]):has(.auth-login,.entry-login,.auth-forgot) :is(.entry-login,.auth-forgot) > .auth-caption {font-size:17px;line-height:26px;}
body.auth-page[data-design="landing"]:is([data-entry="login"],[data-entry="reset"]):has(.auth-login,.entry-login,.auth-forgot) :is(.entry-login .auth-workarea,.auth-forgot > form) {
  padding:32px;margin-bottom:20px;border:1px solid var(--line);border-radius:16px;
  background:linear-gradient(180deg,var(--login-sheen),transparent 48px),var(--surface);
  box-shadow:inset 0 1px 0 var(--login-edge),var(--login-shadow);
}
body.auth-page[data-design="landing"]:is([data-entry="login"],[data-entry="reset"]):has(.auth-login,.entry-login,.auth-forgot) .auth-forgot .auth-back {margin:4px 0 16px;}
body.auth-page[data-design="landing"]:is([data-entry="login"],[data-entry="reset"]):has(.auth-login,.entry-login,.auth-forgot) .auth-forgot .auth-back a {
  display:inline-flex;align-items:center;gap:8px;min-height:44px;
  color:var(--accent-text);font-size:16px;line-height:24px;border-radius:6px;text-underline-offset:3px;
}
body.auth-page[data-design="landing"]:is([data-entry="login"],[data-entry="reset"]):has(.auth-login,.entry-login,.auth-forgot) .auth-forgot .auth-back .icon {flex:none;width:20px;height:20px;}
@media(max-width:899px) {
  body.auth-page[data-design="landing"]:is([data-entry="login"],[data-entry="reset"]):has(.auth-login,.entry-login,.auth-forgot) main#main.auth-main:has(.entry-login,.auth-forgot) {width:min(520px,calc(100% - 32px));margin:32px auto 40px;}
}
@media(max-width:599px) {
  body.auth-page[data-design="landing"]:is([data-entry="login"],[data-entry="reset"]):has(.auth-login,.entry-login,.auth-forgot) :is(.entry-login,.auth-forgot) .auth-head .auth-titel {font-size:32px;line-height:40px;}
  body.auth-page[data-design="landing"]:is([data-entry="login"],[data-entry="reset"]):has(.auth-login,.entry-login,.auth-forgot) :is(.entry-login .auth-workarea,.auth-forgot > form) {padding:20px;}
}

/* Login options share the field-label scale and retain native form semantics. */
body.auth-page[data-design="landing"][data-entry="login"]:has(.auth-login) .auth-login .auth-options :is(a,.check-label) {font-size:16px;line-height:24px;}
body.auth-page[data-design="landing"][data-entry="login"]:has(.auth-login) .auth-login .auth-options .check-label {gap:10px;}
body.auth-page[data-design="landing"][data-entry="login"]:has(.auth-login) .auth-login .auth-options .checkbox {width:20px;height:20px;min-width:20px;min-height:20px;flex:0 0 20px;}
body.auth-page[data-design="landing"][data-entry="login"]:has(.auth-login) .auth-login .auth-options .checkbox::before {width:12px;height:12px;}

/* The alternate login follows the existing field-label and spacing rhythm. */
body.auth-page[data-design="landing"][data-entry="login"]:has(.auth-login) .auth-login .auth-secondary-entry {margin-top:24px;}
body.auth-page[data-design="landing"][data-entry="login"]:has(.auth-login) .auth-login .auth-alternative-label {font-size:16px;}
body.auth-page[data-design="landing"][data-entry="login"]:has(.auth-login) .auth-login .auth-secondary-entry .auth-note {margin-top:12px;}

/* Headerless account pages need no reserved toolbar space during focus scrolling. */
@media(max-height:760px) {
  html:has(> body.auth-page[data-design="landing"] :is(.auth-login,.auth-forgot,.auth-reset,.auth-confirm,.entry-login)) {scroll-padding-block:16px;}
}
