
.auth-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

:root {
  --auth-bg: #f0f0f0;                 
  --auth-fg: #272727;                 
  --auth-card: #edeaea;               
  --auth-card-line: #9c9c9c;          
  --auth-muted: #606060;              
  --auth-muted-dim: #606060;
  --auth-primary: #eeff22;            
  --auth-primary-fg: #101010;         
  --auth-primary-line: #101010;       
  --auth-accent: #e3f30c;             
  --auth-accent-stripe: #d3e300;      
  --auth-link: #0741ff;               
  --auth-focus: #0741ff;              
  --auth-border: #7a7a7a;             
  --auth-border-strong: #7a7a7a;
  --auth-divider: rgba(0, 0, 0, 0.09); 
  --auth-input-bg: #f8f8f8;           
  --auth-plate: #e3e3e3;              
  --auth-plate-hover: #d6d6d6;
  --auth-plate-press: #cacaca;
  --auth-plate-line: #7a7a7a;
  --auth-plate-line-hover: #101010;
  --auth-plate-text: #1c1c1c;         
  --auth-underline: rgba(16, 16, 16, 0.2); 
  --auth-link-bg-hover: rgba(17, 17, 17, 0.04);
  --auth-focus-ring: rgba(7, 65, 255, 0.2);
  --auth-ring: 0 0 0 2px var(--auth-card), 0 0 0 4px var(--auth-focus);    
  --auth-ring-page: 0 0 0 2px var(--auth-bg), 0 0 0 4px var(--auth-focus); 
  --auth-error-bg: rgba(254, 54, 27, 0.12);  
  --auth-error-fg: #b71902;           
  --auth-error-line: #fe361b;         
  --auth-success-fg: #006144;         
  --auth-warn-fg: #5b6300;            
  --auth-meter-1: #ef4433;
  --auth-meter-2: #f59e0b;
  --auth-meter-3: #14b0c4;
  --auth-meter-4: #0741ff;
  --auth-meter-track: #d3d0d0;
  --auth-shadow: none;
  --auth-shadow-hover: none;
  color-scheme: light;
}

[data-color-scheme="dark"] {
  --auth-bg: #111112;
  --auth-fg: #ededed;
  --auth-card: #18181a;
  --auth-card-line: rgba(255, 255, 255, 0.12);
  --auth-muted: #9d9d9d;
  --auth-muted-dim: #9d9d9d;
  --auth-primary-line: #eeff22;
  --auth-link: #8da6ff;
  --auth-focus: #8aa4ff;
  --auth-border: rgba(255, 255, 255, 0.39);
  --auth-border-strong: rgba(255, 255, 255, 0.39);
  --auth-divider: rgba(255, 255, 255, 0.07);
  --auth-input-bg: #111112;
  --auth-plate: #222225;
  --auth-plate-hover: #2d2d31;
  --auth-plate-press: #37373c;
  --auth-plate-line: #6d6d70;
  --auth-plate-line-hover: #ededed;
  --auth-plate-text: #ececec;
  --auth-underline: rgba(255, 255, 255, 0.16);
  --auth-link-bg-hover: rgba(255, 255, 255, 0.05);
  --auth-focus-ring: rgba(138, 164, 255, 0.3);
  --auth-error-bg: rgba(254, 54, 27, 0.16);
  --auth-error-fg: #fe7059;
  --auth-success-fg: #6bb998;
  --auth-warn-fg: #eeff22;
  --auth-meter-1: #ff7b6b;
  --auth-meter-2: #f5b041;
  --auth-meter-3: #45c4d6;
  --auth-meter-4: #8aa4ff;
  --auth-meter-track: #333337;
  color-scheme: dark;
}

[data-color-scheme="light"] { color-scheme: light; }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
.hidden { display: none !important; }
[hidden] { display: none !important; }

html, body { background: var(--auth-bg); color: var(--auth-fg); }

body {
  position: relative;
  font-family: var(--font-family-sans);
  font-size: 13px;
  line-height: 1.5;
  min-height: 100vh;
}

.auth-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  width: 100%;
  padding: 56px 16px;
  background: var(--auth-bg);
  color: var(--auth-fg);
}

@supports (mask-composite: intersect) and (width: round(down, 100%, 80px)) {
  .auth-page--grid { position: relative; isolation: isolate; }
  .auth-page--grid::before,
  .auth-page--grid::after {
    content: "";
    position: absolute;
    z-index: -1;
    pointer-events: none;
    background: var(--auth-fg);
  }
  @media (forced-colors: active) {
    .auth-page--grid::before,
    .auth-page--grid::after { display: none; }
  }
  .auth-page--grid::before {
    inset: 0;
    mask: url("/auth/grid-lines.svg") 50% 0 / 80px 80px repeat;
  }
  .auth-page--grid::after {
    top: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: calc(round(down, 100% - 80px, 160px) + 80px);
    height: round(down, 100%, 80px);
    mask-image: url("/auth/grid-mark.svg"), linear-gradient(to right, #000 calc(50% - (round(up, 210px + 16px, 80px) - 14px)), transparent 0, transparent calc(50% + (round(up, 210px + 16px, 80px) - 14px)), #000 0), linear-gradient(to bottom, #000 var(--auth-grid-cut-top, 0px), transparent 0, transparent var(--auth-grid-cut-bottom, 100%), #000 0);
    mask-position: 0 0, 0 0, 0 0;
    mask-size: 80px 80px, 100% 100%, 100% 100%;
    mask-repeat: repeat, no-repeat, no-repeat;
    mask-composite: intersect, add;
  }
}

.auth-card {
  --cut: 16px;
  --cut-angle: 315deg;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
  width: 100%;
  max-width: 420px;
  padding: 23px;
  border: 1px solid transparent;
  border-radius: 0;
  background:
    linear-gradient(var(--cut-angle), transparent calc(var(--cut) * 0.7071 - 0.414px), var(--auth-card) calc(var(--cut) * 0.7071 - 0.414px)) padding-box,
    linear-gradient(var(--cut-angle), transparent calc(var(--cut) * 0.7071), var(--auth-card-line) calc(var(--cut) * 0.7071)) border-box;
}
[dir="rtl"] .auth-card { --cut-angle: 45deg; }
.auth-card > * { margin: 0; }
.auth-card > #totp-mode,
.auth-card > #backup-mode,
.auth-card > #content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.auth-card > #content > *,
.auth-card > #totp-mode > *,
.auth-card > #backup-mode > * { margin: 0; }
.auth-card > div:empty,
.auth-card > p:has(> #wait-link[hidden]) { display: none; }
.auth-card > p:has(> #wait-link) { text-align: center; }
#wait-refused { justify-content: center; }
#wait-text { text-wrap: balance; }

@media (max-width: 599px) {
  .auth-card { padding: 15px; }
}

.auth-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  color: var(--auth-fg);
}
.auth-brand__logo {
  flex: none;
  display: block;
  width: 112px;
  height: 32px;
  background: url("/auth/hoody-logo-horizontal-32-on-light.svg") center / contain no-repeat;
}
[data-color-scheme="dark"] .auth-brand__logo {
  background-image: url("/auth/hoody-logo-horizontal-32-on-dark.svg");
}
@media (forced-colors: active) {
  .auth-brand__logo,
  [data-color-scheme="dark"] .auth-brand__logo {
    forced-color-adjust: none;
    background-image: none;
    background-color: CanvasText;
    -webkit-mask: url("/auth/hoody-logo.svg") center / contain no-repeat;
    mask: url("/auth/hoody-logo.svg") center / contain no-repeat;
  }
}
@media print {
  .auth-brand__logo,
  [data-color-scheme="dark"] .auth-brand__logo {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
    background-image: url("/auth/hoody-logo-horizontal-32-on-light.svg");
  }
}

.auth-caption {
  font-family: var(--font-family-mono);
  font-size: 11px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  color: var(--auth-muted);
  margin: 0;
}
.auth-card .auth-caption { display: none; }

.auth-title {
  margin: 0;
  font-family: var(--font-family-heading);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 32px;
  text-align: center;
  color: var(--auth-fg);
  overflow-wrap: anywhere;
}

.auth-subtitle {
  margin: 0;
  font-size: 13px;
  color: var(--auth-muted);
  line-height: 1.5;
  text-align: center; 
}

.auth-form {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.auth-field { display: block; }

.auth-field label,
.auth-field > .auth-label {
  display: block;
  font-family: var(--font-family-sans);
  font-size: 12px;
  font-weight: 500;
  line-height: 18px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--auth-fg);
  margin-bottom: 4px;
}

.auth-label-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.auth-generate-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 4px;
  padding: 0;
  background: none;
  border: 0;
  font-family: var(--font-family-sans);
  font-size: 12px;
  font-weight: 600;
  line-height: 18px;
  color: var(--auth-plate-text);
  text-decoration: underline;
  text-decoration-color: var(--auth-underline);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  cursor: pointer;
}
.auth-generate-btn:hover { text-decoration-color: currentColor; }
.auth-generate-btn:focus-visible { outline: none; box-shadow: var(--auth-ring); }
.auth-generate-btn .auth-icon { width: 12px; height: 12px; flex: 0 0 auto; }

.auth-input {
  width: 100%;
  height: 40px;
  padding: 0 12px;
  background: var(--auth-input-bg);
  color: var(--auth-fg);
  border: 1px solid var(--auth-border);
  border-radius: 0;
  font-family: var(--font-family-sans);
  font-size: 13px;
  line-height: 1.5;
  outline: none;
  transition: box-shadow 120ms ease-out;
  appearance: none;
}
.auth-input::placeholder { color: var(--auth-muted); opacity: 1; }
.auth-input:focus {
  box-shadow: var(--auth-ring);
}

.auth-select {
  padding-right: 32px;
  cursor: pointer;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--auth-muted) 50%),
    linear-gradient(135deg, var(--auth-muted) 50%, transparent 50%);
  background-position: right 17px center, right 12px center;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}
[dir="rtl"] .auth-select {
  padding-right: 12px;
  padding-left: 32px;
  background-position: left 12px center, left 17px center;
}
.auth-select option { background: var(--auth-input-bg); color: var(--auth-fg); }

.auth-link-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 16px;
}
.auth-link-row > * { display: flex; }
.auth-link-row__end { margin-inline-start: auto; }
@media (max-width: 359px) {
  .auth-link-row { flex-direction: column; align-items: flex-start; }
  .auth-link-row__end { margin-inline-start: 0; }
}

.auth-oauth-pending { visibility: hidden; }

.auth-input-wrapper { position: relative; }
.auth-input-wrapper .auth-input { padding-inline-end: 36px; }
.auth-input-wrapper .auth-input { font-family: var(--font-family-mono); font-size: 12px; }
.auth-eye-btn {
  position: absolute;
  inset-inline-end: 2px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  color: var(--auth-muted);
  cursor: pointer;
  padding: 0;
}
.auth-eye-btn:hover { color: var(--auth-fg); }
.auth-eye-btn:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--auth-input-bg), 0 0 0 4px var(--auth-focus); }
.auth-eye-btn .auth-icon { width: 16px; height: 16px; }
.auth-eye-btn .auth-eye-btn__hide { display: none; }
.auth-eye-btn[aria-pressed="true"] .auth-eye-btn__show { display: none; }
.auth-eye-btn[aria-pressed="true"] .auth-eye-btn__hide { display: inline-block; }

.auth-help {
  margin-top: 4px;
  font-family: var(--font-family-sans);
  font-size: 12px;
  line-height: 18px;
  letter-spacing: 0;
  color: var(--auth-muted);
}

.auth-hint {
  margin-top: 4px;
  font-family: var(--font-family-sans);
  font-size: 12px;
  line-height: 18px;
  letter-spacing: 0;
}
.auth-hint--error { color: var(--auth-error-fg); }
.auth-hint--ok { color: var(--auth-success-fg); }
.auth-hint--ink.auth-hint--ok { color: var(--auth-fg); }

.auth-input[aria-invalid="true"],
.auth-input--mismatch,
.auth-input--mismatch:focus {
  border-color: var(--auth-error-line);
}

.auth-error {
  font-size: 13px;
  color: var(--auth-fg);
  background: var(--auth-error-bg);
  border: 1px solid color-mix(in srgb, var(--auth-error-line) 30%, transparent);
  border-inline-start: 3px solid var(--auth-error-fg);
  min-height: 40px;
  padding: 8px 16px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.auth-error[data-tone="warn"] {
  position: relative;
  background: var(--auth-plate);
  border: 1px solid var(--auth-plate-line);
  border-inline-start: 0;
  padding-inline-start: 24px;
}
.auth-error[data-tone="warn"]::before {
  content: "";
  position: absolute;
  inset-block: 0;
  inset-inline-start: 0;
  width: 8px;
  background: repeating-linear-gradient(135deg, var(--auth-primary) 0 5px, var(--auth-primary-fg) 5px 10px);
}
@media (forced-colors: active) {
  .auth-error[data-tone="warn"] { border-inline-start: 8px solid CanvasText; padding-inline-start: 16px; }
  .auth-error[data-tone="warn"]::before { display: none; }
}

.auth-btn,
.auth-button,
.auth-oauth-btn {
  --plate: var(--auth-plate);
  --plate-line: var(--auth-plate-line);
  --plate-angle: 315deg;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 32px;
  padding: 5px 14px;
  border: 1px solid transparent;
  border-radius: 0;
  background:
    linear-gradient(var(--plate-angle), transparent 6.65px, var(--plate) 6.65px) padding-box,
    linear-gradient(var(--plate-angle), transparent 6.114px, var(--plate-line) 6.614px) border-box;
  color: var(--auth-plate-text);
  font-family: var(--font-family-mono);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  user-select: none;
  box-shadow: none;
  transition: box-shadow 120ms ease-out;
}
[dir="rtl"] .auth-btn,
[dir="rtl"] .auth-button,
[dir="rtl"] .auth-oauth-btn { --plate-angle: 45deg; }
.auth-button:hover,
.auth-oauth-btn:hover {
  --plate: var(--auth-plate-hover);
  --plate-line: var(--auth-plate-line-hover);
}
.auth-button:active,
.auth-oauth-btn:active {
  --plate: var(--auth-plate-press);
  --plate-line: var(--auth-plate-line-hover);
}
.auth-btn:focus-visible,
.auth-button:focus-visible,
.auth-oauth-btn:focus-visible {
  outline: none;
  box-shadow: var(--auth-ring);
}

.auth-btn {
  --plate: var(--auth-primary);
  --plate-line: var(--auth-primary-line);
  background:
    linear-gradient(var(--plate-angle), transparent 5.95px, var(--plate) 5.95px) padding-box,
    linear-gradient(var(--plate-angle), transparent 6.364px, var(--plate-line) 6.364px) border-box;
  color: var(--auth-primary-fg);
}
.auth-btn:hover:not(:disabled) { --plate: var(--auth-accent); }
.auth-btn:active:not(:disabled) { --plate: var(--auth-accent-stripe); }
.auth-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.auth-btn[aria-busy="true"]:disabled { opacity: 1; cursor: progress; }
.auth-btn[aria-busy="true"] .auth-btn__icon-cell::before {
  width: 12px;
  height: 12px;
  margin: 0;
  box-sizing: border-box;
  border: 1.5px solid currentColor;
  border-inline-end-color: transparent;
  border-radius: 50%;
  transform: none;
  animation: auth-spin 0.8s linear infinite;
}
@media (prefers-reduced-motion: reduce) {
  .auth-btn[aria-busy="true"] .auth-btn__icon-cell::before { animation: none; }
}
.auth-btn[disabled],
.auth-btn[aria-disabled="true"] { opacity: 0.5; cursor: not-allowed; pointer-events: none; }

:lang(ar) :is(.auth-btn, .auth-button, .auth-oauth-btn) {
  font-family: var(--font-family-sans);
  letter-spacing: normal;
  line-height: 1.5;
  text-transform: none;
}

.auth-btn__main {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
}
.auth-btn__divider,
.auth-btn__spacer,
.auth-btn__cap,
.auth-btn__icon { display: none; }
.auth-btn__icon-cell {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
}
.auth-btn__icon-cell::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-inline-end: 3px;
  border-block-start: 1.5px solid currentColor;
  border-inline-end: 1.5px solid currentColor;
  transform: rotate(45deg);
}
[dir="rtl"] .auth-btn__icon-cell::before { transform: rotate(-45deg); }

@media (pointer: coarse), (max-width: 600px) {
  .auth-btn,
  .auth-button,
  .auth-oauth-btn { min-height: 44px; }
  .auth-input { height: 44px; }
  .auth-link-mono,
  .auth-link-btn,
  .auth-generate-btn { display: inline-flex; align-items: center; min-height: 44px; }
  .auth-eye-btn { inset-inline-end: 0; width: 44px; height: 44px; }
  .auth-input-wrapper .auth-input { padding-inline-end: 52px; }
  .auth-adv > .auth-adv__summary { min-height: 44px; padding-block: 0; }
  .auth-error { min-height: 44px; }
  .auth-coupon__remove { width: 44px; height: 44px; }
  .auth-footer .auth-link { display: inline-flex; align-items: center; min-height: 44px; }
  .auth-legal > a { display: inline-block; margin: -15px -5px; padding: 15px 5px; }
}

.auth-actions-row {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 16px;
}

.auth-link,
.auth-link-mono,
.auth-link-btn,
.auth-card a:not([class]) {
  color: var(--auth-plate-text);
  font-family: var(--font-family-sans);
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  text-decoration: underline;
  text-decoration-color: var(--auth-underline);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  cursor: pointer;
}
.auth-link:hover,
.auth-link-mono:hover,
.auth-link-btn:hover,
.auth-card a:not([class]):hover { text-decoration-color: currentColor; }
.auth-link:focus-visible,
.auth-link-mono:focus-visible,
.auth-link-btn:focus-visible,
.auth-card a:not([class]):focus-visible { outline: none; box-shadow: var(--auth-ring); }

.auth-link-mono {
  display: inline-block;
  font-size: 13px;
  line-height: 1.5;
  background: transparent;
  border: 0;
  padding: 0;
  margin: 0;
}

.auth-link-btn {
  background: none;
  border: 0;
  padding: 0;
  font-size: 13px;
  line-height: 1.5;
}

.auth-card--token-only > .auth-caption,
.auth-card--token-only > .auth-title,
.auth-card--token-only > .auth-subtitle,
.auth-card--token-only > .auth-form,
.auth-card--token-only > .auth-actions-row,
.auth-card--token-only > .auth-divider,
.auth-card--token-only > .auth-oauth-buttons,
.auth-card--token-only > .auth-legal,
.auth-card--token-only > .auth-footer,
.auth-card--token-only > #verify-link-notice,
.auth-card--token-only > #verify-disown-notice,
.auth-card--token-only > #token-signin > summary,
.auth-card:not(.auth-card--token-only) > .auth-token-landing { display: none !important; }
.auth-card--token-only > #token-signin { margin-top: 0; }
.auth-card--token-only > .auth-token-landing { display: flex; flex-direction: column; gap: 16px; }
.auth-token-landing__back { margin: 0; text-align: center; }
.auth-actions-inline:not([hidden]) { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }

.auth-adv > .auth-adv__summary {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  list-style: none;
  font-size: 13px;
  font-weight: 500;
  color: var(--auth-fg);
  text-decoration: none;
}
.auth-adv > .auth-adv__summary::-webkit-details-marker { display: none; }
.auth-adv > .auth-adv__summary::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  margin-inline: 3px 5px;
  border-block-start: 1.5px solid var(--auth-muted);
  border-inline-end: 1.5px solid var(--auth-muted);
  transform: rotate(45deg);
  transition: transform 120ms ease-out;
}
[dir="rtl"] .auth-adv > .auth-adv__summary::before { transform: rotate(-45deg); }
.auth-adv[open] > .auth-adv__summary::before { transform: rotate(135deg); }
[dir="rtl"] .auth-adv[open] > .auth-adv__summary::before { transform: rotate(-135deg); }

.auth-coupon {
  margin: 0;
  padding: 12px 16px;
  border: 1px solid var(--auth-divider);
  background: var(--auth-input-bg);
  text-align: start;
}
.auth-coupon__row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.auth-coupon__icon {
  flex: none;
  width: 18px;
  height: 18px;
  color: var(--auth-fg);
}
.auth-coupon__text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.auth-coupon__label {
  font-size: 12px;
  font-weight: 500;
  color: var(--auth-muted);
}
.auth-coupon__code {
  text-align: match-parent;
  font-family: var(--font-family-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--auth-fg);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.auth-coupon__remove {
  flex: none;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid transparent;
  color: var(--auth-muted);
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
}
.auth-coupon__remove:hover {
  color: var(--auth-fg);
  border-color: var(--auth-border);
}
.auth-coupon__remove:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--auth-input-bg), 0 0 0 4px var(--auth-focus);
}
.auth-coupon__hint {
  margin: 8px 0 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--auth-muted);
}
.auth-coupon__toggle {
  font-size: 13px;
}
.auth-coupon__input {
  font-family: var(--font-family-mono);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.auth-coupon__note {
  color: var(--auth-success-fg);
  font-size: 13px;
}

.auth-legal {
  margin: 0;
  text-align: center;
  font-family: var(--font-family-sans);
  font-size: 12px;
  letter-spacing: 0;
  line-height: 18px;
  color: var(--auth-muted);
}
.auth-legal a {
  color: var(--auth-plate-text);
  font-weight: 600;
  white-space: nowrap; 
  text-decoration: underline;
  text-decoration-color: var(--auth-underline);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.auth-legal a:hover { text-decoration-color: currentColor; }
.auth-legal a:focus-visible { outline: none; box-shadow: var(--auth-ring); }

.auth-divider {
  margin: 0;
  height: 1px;
  background: var(--auth-divider);
}
.auth-divider span { display: none; }

.auth-oauth-buttons {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.auth-oauth-btn { padding-inline: 14px 16px; }
.auth-oauth-btn .auth-icon { width: 16px; height: 16px; flex: 0 0 auto; }
.auth-oauth-btn .auth-icon path[fill] { fill: currentColor; }

.auth-footer {
  margin: 0;
  padding-top: 16px;
  border-top: 1px solid var(--auth-divider);
  text-align: center;
  font-size: 13px;
  color: var(--auth-muted);
}

.auth-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 64px 0;
  color: var(--auth-muted);
  font-size: 13px;
}
.auth-spinner {
  width: 24px;
  height: 24px;
  border: 2px solid var(--auth-divider);
  border-top-color: var(--auth-fg);
  border-radius: 50%;
  animation: auth-spin 0.8s linear infinite;
}
@keyframes auth-spin { to { transform: rotate(360deg); } }

.auth-password-strength {
  --meter-fill: var(--auth-meter-track);
  margin-top: 8px;
}
.auth-password-strength[data-strength="1"] { --meter-fill: var(--auth-meter-1); }
.auth-password-strength[data-strength="2"] { --meter-fill: var(--auth-meter-2); }
.auth-password-strength[data-strength="3"] { --meter-fill: var(--auth-meter-3); }
.auth-password-strength[data-strength="4"] { --meter-fill: var(--auth-meter-4); }
.auth-password-strength__bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 3px;
}
.auth-password-strength__bar > span {
  display: block;
  height: 6px;
  background: var(--auth-meter-track);
}
.auth-password-strength__bar[data-strength="1"] > span:nth-child(-n+1),
.auth-password-strength__bar[data-strength="2"] > span:nth-child(-n+2),
.auth-password-strength__bar[data-strength="3"] > span:nth-child(-n+3),
.auth-password-strength__bar[data-strength="4"] > span { background: var(--meter-fill); }
.auth-password-strength__label {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 8px;
  margin: 6px 0 0;
  font-family: var(--font-family-sans);
  font-size: 12px;
  line-height: 18px;
  color: var(--auth-muted);
}
.auth-password-strength__level {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--auth-fg);
}
.auth-password-strength__level::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  background: var(--meter-fill);
}
.auth-password-strength__level[hidden] { display: none; }
@media (forced-colors: active) {
  .auth-password-strength__bar > span { background: GrayText; forced-color-adjust: none; }
  .auth-password-strength__bar[data-strength="1"] > span:nth-child(-n+1),
  .auth-password-strength__bar[data-strength="2"] > span:nth-child(-n+2),
  .auth-password-strength__bar[data-strength="3"] > span:nth-child(-n+3),
  .auth-password-strength__bar[data-strength="4"] > span,
  .auth-password-strength__level::before { background: Highlight; forced-color-adjust: none; }
}

.auth-success-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin: 0;
  padding: 0;
  text-align: center;
  font-size: 13px;
  color: var(--auth-fg);
}
.auth-success-card p { margin: 0; }
.auth-success-card > .auth-btn { align-self: stretch; }
.auth-success-card .auth-title {
  margin: 0;
  font-size: 22px;
  line-height: 28px;
  text-align: center;
}

.auth-success-icon {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  color: var(--auth-fg);
}
.auth-success-icon svg { width: 24px; height: 24px; }
.auth-success-icon--error { color: var(--auth-error-fg); }
.auth-success-icon--warning { color: var(--auth-warn-fg); }

.auth-success-card .auth-link { display: inline-block; }

.auth-centered-spinner {
  display: flex;
  justify-content: center;
  margin: 0;
  padding: 16px 0;
}

.auth-totp-input {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  direction: ltr;
}
.auth-totp-input input {
  flex: 1 1 0;
  min-width: 0;
  height: 48px;
  background: var(--auth-input-bg);
  color: var(--auth-fg);
  border: 1px solid var(--auth-border);
  border-radius: 0;
  font-family: var(--font-family-mono);
  font-size: 20px;
  text-align: center;
  padding: 0;
  outline: none;
  transition: box-shadow 120ms ease-out;
  appearance: none;
  -moz-appearance: textfield;
}
.auth-totp-input input::-webkit-outer-spin-button,
.auth-totp-input input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.auth-totp-input input:focus {
  box-shadow: var(--auth-ring);
}

.auth-text-center { text-align: center; }
.auth-text-muted { color: var(--auth-muted); }
.auth-text-success { color: var(--auth-success-fg); font-size: 13px; }
.auth-mt-sm { margin-top: 8px; display: inline-block; }
.auth-mt-lg { margin-top: 24px; }
.auth-card > .auth-mt-lg { margin-top: 0; }

.auth-noscript {
  margin: 0;
  padding: 8px 16px;
  border: 1px solid color-mix(in srgb, var(--auth-error-line) 30%, transparent);
  border-inline-start: 3px solid var(--auth-error-line);
  background: var(--auth-error-bg);
  color: var(--auth-fg);
  font-size: 13px;
}

.auth-top {
  position: absolute;
  inset-block-start: 0;
  inset-inline-end: 0;
  z-index: 1;
  display: flex;
  padding: 6px 12px;
}
.auth-theme {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 0;
  background: transparent;
  color: var(--auth-muted);
  cursor: pointer;
}
.auth-theme[hidden],
[data-auth-theme-pinned] .auth-theme { display: none; }
.auth-theme:hover {
  border-color: var(--auth-border);
  color: var(--auth-fg);
}
.auth-theme:focus-visible {
  outline: none;
  box-shadow: var(--auth-ring-page);
}
.auth-theme__icon {
  display: block;
  width: 16px;
  height: 16px;
  fill: currentColor;
}
.auth-theme__sun { display: none; }
.auth-theme[aria-pressed="true"] .auth-theme__sun { display: inline; }
.auth-theme[aria-pressed="true"] .auth-theme__moon { display: none; }
@media (pointer: coarse), (max-width: 600px) {
  .auth-top { padding: 0 4px; }
  .auth-theme { width: 44px; height: 44px; }
}
@media print {
  .auth-top { display: none; }
}


.auth-hub {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 32px 16px 48px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  color: var(--auth-fg);
}

.auth-hub__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 4px;
  font-family: var(--font-family-mono);
  font-size: 11px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  color: var(--auth-muted);
}
.auth-hub__header-identity {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.auth-hub__header-actions {
  display: flex;
  gap: 8px;
  flex: 0 0 auto;
}

.auth-hub__icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  padding: 0 10px;
  border: 1px dashed var(--auth-border-strong);
  background: transparent;
  font-family: var(--font-family-mono);
  font-size: 11px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  color: color-mix(in oklab, var(--auth-fg) 80%, transparent);
  cursor: pointer;
  text-decoration: none;
  transition: color 150ms ease, border-color 150ms ease, background-color 150ms ease;
}
.auth-hub__icon-btn:hover:not(:disabled):not([aria-disabled="true"]) {
  border-color: var(--auth-link);
  background: var(--auth-link-bg-hover);
  color: var(--auth-link);
}
.auth-hub__icon-btn:disabled,
.auth-hub__icon-btn[aria-disabled="true"] {
  opacity: 0.5;
  cursor: not-allowed;
}
.auth-hub__icon-btn svg {
  width: 14px;
  height: 14px;
}

.auth-hub__icon-btn--flash {
  animation: auth-hub-flash 200ms ease-out;
}
@keyframes auth-hub-flash {
  0%   { background: var(--auth-link-bg-hover); }
  100% { background: transparent; }
}

.auth-hub__title-block {
  padding: 0 4px;
}
.auth-hub__title-block .auth-caption {
  margin-bottom: 4px;
}
.auth-hub__title-block .auth-title {
  font-size: 26px;
  margin-top: 8px;
}
@media (min-width: 640px) {
  .auth-hub__title-block .auth-title { font-size: 32px; }
}
.auth-hub__title-block .auth-subtitle {
  margin-top: 8px;
}

.auth-hub__info-grid {
  display: grid;
  grid-template-columns: max-content 1fr;
  row-gap: 8px;
  column-gap: 16px;
  margin: 20px auto 0;
  max-width: 440px;
  text-align: left;
}
.auth-hub__info-label {
  font-family: var(--font-family-mono);
  font-size: 10px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  color: var(--auth-muted);
  align-self: center;
}
.auth-hub__info-value {
  font-family: var(--font-family-mono);
  font-size: 12px;
  color: var(--auth-fg);
  align-self: center;
  word-break: break-word;
  display: flex;
  align-items: center;
  gap: 8px;
}

.auth-hub__tree {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.auth-hub__project {
  border: 1px dashed var(--auth-border);
  background: var(--auth-card);
}
.auth-hub__project-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 14px 20px;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-family: var(--font-family-mono);
  font-size: 11px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  color: var(--auth-fg);
  text-align: left;
}
.auth-hub__project-header:hover {
  background: color-mix(in oklab, var(--auth-link) 6%, transparent);
}
.auth-hub__project-chevron {
  display: inline-block;
  width: 12px;
  flex: 0 0 auto;
  color: var(--auth-muted);
  transition: transform 150ms ease;
  font-size: 10px;
}
.auth-hub__project-header[aria-expanded="true"] .auth-hub__project-chevron {
  transform: rotate(90deg);
}
.auth-hub__project-alias {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.auth-hub__project-count {
  flex: 0 0 auto;
  color: var(--auth-muted);
  font-size: 10px;
}
.auth-hub__project-body {
  padding: 0 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.auth-hub__project-body.hidden {
  display: none !important;
}

.auth-hub__container {
  padding: 12px 0 4px;
  border-top: 1px dashed var(--auth-divider);
}
.auth-hub__container:first-child {
  border-top: 0;
  padding-top: 4px;
}
.auth-hub__container-line {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-family: var(--font-family-mono);
  font-size: 11px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}
.auth-hub__status-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex: 0 0 auto;
}
.auth-hub__status-dot--running   { background: #22c55e; }
.auth-hub__status-dot--transient { background: #f59e0b; animation: auth-hub-pulse 1.4s ease-in-out infinite; }
.auth-hub__status-dot--stopped   { background: var(--auth-muted); }
.auth-hub__status-dot--failed    { background: var(--auth-error-fg); }
@keyframes auth-hub-pulse {
  0%, 100% { opacity: 0.45; }
  50%      { opacity: 1; }
}
.auth-hub__container-name {
  color: var(--auth-fg);
  font-weight: 500;
  flex: 1 1 140px;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.auth-hub__container-status {
  color: var(--auth-muted);
}
.auth-hub__container-server {
  color: var(--auth-muted);
  font-size: 10px;
}

.auth-hub__container-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.auth-hub__container-actions .auth-btn {
  height: 34px;
  width: auto;
  flex: 0 0 auto;
  min-width: 140px;
}
.auth-hub__container-actions .auth-btn__main {
  padding: 0 12px;
}
.auth-hub__container-actions .auth-btn__main span {
  font-size: 11px;
}

.auth-hub__helper {
  margin-top: 8px;
  font-family: var(--font-family-mono);
  font-size: 10px;
  letter-spacing: 0.3px;
  color: var(--auth-muted);
}

.auth-hub__more {
  position: relative;
  display: inline-flex;
}
.auth-hub__more-toggle {
  height: 34px;
  padding: 0 14px;
  border: 1px dashed var(--auth-border-strong);
  background: transparent;
  font-family: var(--font-family-mono);
  font-size: 11px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  color: color-mix(in oklab, var(--auth-fg) 80%, transparent);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.auth-hub__more-toggle:hover:not([aria-disabled="true"]) {
  border-color: var(--auth-link);
  background: var(--auth-link-bg-hover);
  color: var(--auth-link);
}
.auth-hub__more-toggle[aria-expanded="true"] {
  border-color: var(--auth-link);
  background: var(--auth-link-bg-hover);
  color: var(--auth-link);
}
.auth-hub__more-toggle[aria-disabled="true"] {
  opacity: 0.5;
  cursor: not-allowed;
}
.auth-hub__more-toggle .chev {
  font-size: 9px;
}

.auth-hub__more-menu {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  min-width: 200px;
  max-width: 280px;
  padding: 4px 0;
  margin: 0;
  list-style: none;
  background: var(--auth-card);
  border: 1px dashed var(--auth-border);
  box-shadow: var(--auth-shadow);
  z-index: 50;
}
.auth-hub__more-menu.hidden {
  display: none !important;
}
.auth-hub__more-menu li {
  display: block;
}
.auth-hub__more-menu a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  font-family: var(--font-family-mono);
  font-size: 11px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  color: var(--auth-fg);
  text-decoration: none;
}
.auth-hub__more-menu a:hover,
.auth-hub__more-menu a:focus {
  background: var(--auth-link-bg-hover);
  color: var(--auth-link);
}
.auth-hub__more-menu a:focus-visible {
  outline: 2px solid var(--auth-link);
  outline-offset: -2px;
}
.auth-hub__more-menu a[aria-disabled="true"] {
  opacity: 0.45;
  cursor: not-allowed;
}
.auth-hub__more-menu a[aria-disabled="true"]:hover,
.auth-hub__more-menu a[aria-disabled="true"]:focus {
  background: transparent;
  color: var(--auth-fg);
}

.auth-hub__container-actions .auth-btn[aria-disabled="true"],
.auth-hub__more-toggle[aria-disabled="true"] {
  pointer-events: none;
}
.auth-hub__container-actions .auth-btn[aria-disabled="true"] .auth-btn__main {
  background: color-mix(in oklab, var(--auth-primary) 30%, var(--auth-card));
  color: color-mix(in oklab, var(--auth-primary-fg) 50%, transparent);
}

.auth-hub__state-card {
  border: 1px dashed var(--auth-border);
  background: var(--auth-card);
  padding: 32px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
@media (min-width: 640px) {
  .auth-hub__state-card { padding: 40px 32px; }
}
.auth-hub__state-card .auth-spinner {
  width: 28px;
  height: 28px;
}
.auth-hub__state-card-body {
  max-width: 480px;
  font-size: 14px;
  color: var(--auth-muted);
  line-height: 1.5;
}
.auth-hub__state-card-cta {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}
.auth-hub__state-card-cta .auth-btn {
  max-width: 320px;
}

.auth-hub__retry-link {
  font-family: var(--font-family-mono);
  font-size: 11px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  color: var(--auth-link);
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  text-decoration: none;
}
.auth-hub__retry-link:hover { text-decoration: underline; }
.auth-hub__retry-link[aria-disabled="true"],
.auth-hub__retry-link:disabled {
  color: var(--auth-muted);
  cursor: not-allowed;
  text-decoration: none;
}

.auth-hub__check {
  width: 40px;
  height: 40px;
  border: 1px dashed var(--auth-border-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--auth-link);
}
.auth-hub__check--warn { color: #b45309; }
[data-color-scheme="dark"] .auth-hub__check--warn { color: #fbbf24; }
.auth-hub__check--err  { color: var(--auth-error-fg); }

.auth-hub__footer {
  padding: 20px 4px 0;
  border-top: 1px dashed var(--auth-divider);
  text-align: center;
  font-family: var(--font-family-mono);
  font-size: 11px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  color: var(--auth-muted);
}
.auth-hub__footer a {
  color: var(--auth-link);
  text-decoration: none;
}
.auth-hub__footer a:hover { text-decoration: underline; }
.auth-hub__footer--borderless {
  padding: 12px 0 0;
  border: 0;
}

.auth-hub__load-more {
  margin: 8px auto 0;
  display: flex;
  justify-content: center;
}

@media (max-width: 640px) {
  .auth-hub { padding: 24px 12px 32px; gap: 16px; }
  .auth-hub__project-header { padding: 12px 14px; }
  .auth-hub__project-body { padding: 0 14px 14px; }
  .auth-hub__container-actions .auth-btn {
    flex: 1 1 100%;
    width: 100%;
    min-width: 0;
  }
  .auth-hub__more { position: static; }
  .auth-hub__more-menu {
    position: fixed;
    left: 0;
    right: 0;
    top: auto;
    bottom: 0;
    max-width: none;
    padding: 8px 0 16px;
    border-top: 1px dashed var(--auth-border);
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
    background: var(--auth-card);
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.15);
    z-index: 100;
  }
}

[dir="rtl"] .auth-hub__project-header[aria-expanded="true"] .auth-hub__project-chevron {
  transform: rotate(-90deg);
}
[dir="rtl"] .auth-hub__project-header .auth-hub__project-chevron {
  transform: rotate(180deg);
}
[dir="rtl"] .auth-hub__info-grid,
[dir="rtl"] .auth-hub__project-header {
  text-align: right;
}
@media (min-width: 641px) {
  [dir="rtl"] .auth-hub__more-menu {
    right: auto;
    left: 0;
  }
}


.auth-hub__pitch {
  font-family: var(--font-family-mono);
  font-size: 11px;
  letter-spacing: 0.2px;
  color: var(--auth-muted);
  text-align: center;
  max-width: 720px;
  margin: 12px auto 24px;
  line-height: 1.6;
}

.auth-hub__hero {
  max-width: 760px;
  margin: 0 auto;
  padding: 32px 28px;
  background: var(--auth-card);
  border: 1px dashed var(--auth-border);
}

.auth-hub__hero-subhead {
  margin-top: 12px;
  margin-bottom: 0;
  font-family: var(--font-family-mono);
  font-size: 10px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--auth-muted);
}

body:has(> main.auth-hub) { overflow-x: hidden; }

.auth-hub__agent-embed {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  width: min(100vw, 1920px);
  height: calc(100vh - 140px);
  min-height: 480px;
  margin: 4px 0 8px;
  background: #000;
  border-top: 1px solid var(--auth-border);
  border-bottom: 1px solid var(--auth-border);
  overflow: hidden;
}
@media (min-width: 1024px) {
  .auth-hub__agent-embed {
    border: 1px solid var(--auth-border);
    border-radius: 6px;
  }
}
.auth-hub__agent-embed-iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: none; 
}
.auth-hub__agent-embed-iframe.ready { display: block; }
.auth-hub__agent-embed-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 14px;
  background: #000;
  color: #fff;
  text-align: center;
  padding: 24px;
}
.auth-hub__agent-embed-overlay.hidden { display: none; }
.auth-hub__agent-embed-overlay-title {
  font-size: 15px;
  font-weight: 600;
}
.auth-hub__agent-embed-overlay-detail {
  font-size: 12px;
  opacity: 0.8;
  max-width: 420px;
}
.auth-hub__agent-embed-fullscreen {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  font-size: 11px;
  padding: 4px 9px;
  opacity: 0.55;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 3px;
  text-decoration: none;
  font-family: var(--font-family-sans);
}
.auth-hub__agent-embed-fullscreen:hover,
.auth-hub__agent-embed-fullscreen:focus {
  opacity: 1;
  outline: 2px solid #fff;
}
[dir="rtl"] .auth-hub__agent-embed-fullscreen {
  right: auto;
  left: 8px;
}
@media (max-width: 600px) {
  .auth-hub__agent-embed { height: calc(100vh - 96px); }
}

.auth-hub__primary-trio {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
  align-items: stretch;
}
.auth-hub__primary {
  flex: 0 0 auto;
}
.auth-hub__primary--dominant {
  flex: 1 1 280px;
}
.auth-hub__primary--secondary .auth-btn__main {
  padding: 10px 18px;
}
.auth-hub__primary--disabled {
  pointer-events: none;
  opacity: 0.55;
}

.auth-hub__primary-tagline {
  margin-top: 10px;
  font-family: var(--font-family-mono);
  font-size: 11px;
  color: var(--auth-muted);
}

.auth-hub__status-cta {
  margin-top: 20px;
}

.auth-hub__lifecycle {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-family: var(--font-family-mono);
  font-size: 11px;
  color: var(--auth-muted);
}
.auth-hub__lifecycle--inline {
  display: inline-flex;
  margin-top: 0;
  margin-left: 12px;
}
.auth-hub__lifecycle-btn {
  background: transparent;
  border: 0;
  padding: 4px 8px;
  color: var(--auth-muted);
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  border-radius: 2px;
}
.auth-hub__lifecycle-btn:hover {
  color: var(--auth-fg);
  background: var(--auth-link-bg-hover);
}
.auth-hub__lifecycle-btn[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}
.auth-hub__lifecycle-btn--confirm {
  color: var(--auth-error-fg);
  background: var(--auth-error-bg);
  font-weight: 600;
}
.auth-hub__lifecycle-sep {
  color: var(--auth-muted-dim);
}
.auth-hub__lifecycle-error,
.auth-hub__lifecycle-action-error {
  margin-top: 10px;
  font-family: var(--font-family-mono);
  font-size: 11px;
  color: var(--auth-error-fg);
  background: var(--auth-error-bg);
  padding: 6px 10px;
  border-left: 2px solid var(--auth-error-fg);
}

.auth-hub__hero-urls {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px dashed var(--auth-border);
  font-family: var(--font-family-mono);
  font-size: 10px;
}
.auth-hub__hero-urls-intro {
  font-size: 10px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  color: var(--auth-muted);
  margin: 0 0 10px;
}
.auth-hub__hero-url-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}
.auth-hub__hero-url-slug {
  flex: 0 0 90px;
  color: var(--auth-fg);
  font-weight: 600;
}
.auth-hub__hero-url {
  flex: 1 1 auto;
  background: rgba(0,0,0,0.05);
  padding: 4px 8px;
  border-radius: 2px;
  color: var(--auth-fg);
  font-size: 10px;
  word-break: break-all;
  white-space: pre-wrap;
}
.auth-hub__hero-url-open {
  flex: 0 0 auto;
  font-family: var(--font-family-mono);
  font-size: 10px;
  color: var(--auth-link);
  text-decoration: none;
  padding: 4px 8px;
}
.auth-hub__hero-url-open:hover { background: var(--auth-link-bg-hover); }
.auth-hub__hero-urls-caveat {
  margin: 12px 0 0;
  font-size: 10px;
  color: var(--auth-muted-dim);
  line-height: 1.5;
}

.auth-hub__provisioning-hint {
  margin-top: 16px;
  font-family: var(--font-family-mono);
  font-size: 11px;
  color: var(--auth-muted);
}

.auth-hub__cached-cta {
  margin: 16px 0;
}
.auth-hub__cached-note {
  margin-top: 6px;
  font-family: var(--font-family-mono);
  font-size: 10px;
  color: var(--auth-muted-dim);
}

.auth-hub__body {
  max-width: 760px;
  margin: 28px auto 0;
}
.auth-hub__section {
  padding: 20px 0;
  border-top: 1px dashed var(--auth-border);
}
.auth-hub__section-header {
  font-family: var(--font-family-mono);
  font-size: 12px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  color: var(--auth-fg);
  margin: 0 0 12px;
}
.auth-hub__section-body {
  font-family: var(--font-family-mono);
  font-size: 11px;
  color: var(--auth-muted);
  line-height: 1.6;
  margin: 0 0 8px;
}
.auth-hub__url-pattern {
  display: block;
  background: rgba(0,0,0,0.05);
  padding: 8px 12px;
  border-radius: 2px;
  color: var(--auth-fg);
  font-family: var(--font-family-mono);
  font-size: 10px;
  word-break: break-all;
  margin: 8px 0;
}
.auth-hub__permissions-warning {
  font-family: var(--font-family-mono);
  font-size: 10px;
  color: var(--auth-muted);
  background: var(--auth-accent);
  padding: 8px 12px;
  border-left: 2px solid var(--auth-accent-stripe);
  margin: 12px 0;
  line-height: 1.5;
}

.auth-hub__programs {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.auth-hub__program-row {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  font-family: var(--font-family-mono);
  font-size: 11px;
}
.auth-hub__program-slug {
  color: var(--auth-fg);
  font-weight: 600;
}
.auth-hub__program-desc {
  color: var(--auth-muted);
}
.auth-hub__program-url {
  display: none;       
}
.auth-hub__program-actions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.auth-hub__program-open {
  font-size: 10px;
  color: var(--auth-link);
  text-decoration: none;
  padding: 2px 6px;
  border: 1px dashed var(--auth-border);
}
.auth-hub__program-open:hover { background: var(--auth-link-bg-hover); }
.auth-hub__copy-btn,
.auth-hub__plus-btn {
  background: transparent;
  border: 1px dashed var(--auth-border);
  color: var(--auth-muted);
  font-family: var(--font-family-mono);
  font-size: 12px;
  padding: 1px 6px;
  cursor: pointer;
  border-radius: 2px;
}
.auth-hub__copy-btn:hover,
.auth-hub__plus-btn:hover {
  color: var(--auth-fg);
  background: var(--auth-link-bg-hover);
}
.auth-hub__plus-btn {
  font-weight: 700;
}

.auth-hub__headless {
  margin-top: 10px;
  font-family: var(--font-family-mono);
  font-size: 11px;
}
.auth-hub__headless > summary {
  cursor: pointer;
  color: var(--auth-link);
  padding: 4px 0;
  font-size: 10px;
  letter-spacing: 0.3px;
}
.auth-hub__headless > summary:hover { background: var(--auth-link-bg-hover); }
.auth-hub__headless-note {
  margin: 6px 0;
  font-size: 10px;
  color: var(--auth-muted-dim);
}
.auth-hub__programs--headless .auth-hub__program-row {
  grid-template-columns: 110px 1fr auto;
  font-size: 10px;
}

.auth-hub__helper {
  font-family: var(--font-family-mono);
  font-size: 10px;
  color: var(--auth-muted-dim);
  margin: 12px 0 0;
}

.auth-hub__control {
  list-style: none;
  padding: 0;
  margin: 12px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.auth-hub__control-row {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  font-family: var(--font-family-mono);
  font-size: 11px;
}
.auth-hub__control-label {
  color: var(--auth-fg);
  font-weight: 600;
}
.auth-hub__control-body {
  color: var(--auth-muted);
  font-size: 10px;
  word-break: break-word;
}
.auth-hub__control-cta {
  font-size: 10px;
  color: var(--auth-link);
  text-decoration: none;
  padding: 2px 8px;
  border: 1px dashed var(--auth-border);
}
.auth-hub__control-cta:hover { background: var(--auth-link-bg-hover); }
.auth-hub__control-spawn {
  margin-top: 16px;
  padding: 10px;
  background: rgba(0,0,0,0.03);
  border-left: 2px solid var(--auth-border-strong);
  font-size: 11px;
  color: var(--auth-muted);
  line-height: 1.6;
}
.auth-hub__control-spawn code {
  display: inline-block;
  margin-top: 6px;
  padding: 4px 8px;
  background: rgba(0,0,0,0.07);
  font-size: 10px;
}

.auth-hub__outgrow-cta { margin-top: 12px; }

.auth-hub__row-btn {
  font-size: 10px;
}

.auth-hub__why { margin-top: 28px; }

.auth-hub__tree-section { margin-top: 32px; }

@media (max-width: 600px) {
  .auth-hub__hero {
    padding: 20px 16px;
  }
  .auth-hub__primary-trio {
    flex-direction: column;
  }
  .auth-hub__program-row,
  .auth-hub__control-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .auth-hub__program-actions {
    justify-content: flex-start;
    margin-top: 4px;
  }
  .auth-hub__hero-url-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .auth-hub__hero-url-slug {
    flex: none;
  }
}

.hub-os-spinner {
  width: 28px; height: 28px;
  border: 3px solid rgba(255,255,255,0.2);
  border-top-color: #fff;
  border-radius: 50%;
  animation: hub-os-spin 0.9s linear infinite;
}
@keyframes hub-os-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}

:root { --auth-base: #e3e3e3; }
[data-color-scheme="dark"] { --auth-base: #1f1f22; }
.auth-card--tabs {
  --pad: 23px;
  position: relative;
  isolation: isolate;
  margin-block-start: 52px;
}
@media (max-width: 599px) {
  .auth-card--tabs { --pad: 15px; }
}
.auth-card--tabs > .auth-brand {
  position: absolute;
  inset-inline: 0;
  inset-block-end: calc(100% + 21px);
}
.auth-tabs {
  display: flex;
  margin: calc(-1 * var(--pad)) calc(-1 * var(--pad)) 8px;
}
.auth-tab {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 4px 8px;
  font-family: var(--font-family-mono);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.auth-tab[aria-current="page"] { color: var(--auth-fg); font-weight: 700; }
a.auth-tab {
  background: var(--auth-plate);
  color: var(--auth-muted);
  border-block-end: 1px solid var(--auth-card-line);
}
a.auth-tab:first-child { border-inline-end: 1px solid var(--auth-card-line); }
a.auth-tab:last-child { border-inline-start: 1px solid var(--auth-card-line); }
a.auth-tab:hover { background: var(--auth-plate-hover); color: var(--auth-fg); }
a.auth-tab:focus-visible { outline: 2px solid var(--auth-focus); outline-offset: -2px; }
@media (pointer: coarse), (max-width: 599px) {
  .auth-tab { min-height: 44px; }
}
.auth-card--tabs:has(> .auth-footer.hidden) > .auth-tabs,
.auth-card--token-only > .auth-tabs,
.auth-card--token-only > .auth-base { display: none; }
.auth-card--tabs > .auth-title,
.auth-card--tabs > .auth-token-landing > .auth-title { text-align: start; }
.auth-card--tabs > .auth-subtitle { margin-block-start: -8px; }
.auth-card--tabs .auth-subtitle { text-align: start; }
.auth-card--tabs:not(.auth-card--token-only) > div.auth-base {
  display: block;
  height: 1px;
  margin: 8px calc(-1 * var(--pad)) 0;
  background: var(--auth-card-line);
}
.auth-card--tabs:not(.auth-card--token-only) > .auth-base ~ * { position: relative; }
.auth-card--tabs:not(.auth-card--token-only) > .auth-base ~ *::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset-block: -16px calc(-1 * var(--pad));
  inset-inline: calc(-1 * var(--pad));
  background: linear-gradient(var(--cut-angle), transparent calc(var(--cut) * 0.7071 - 0.414px), var(--auth-base) calc(var(--cut) * 0.7071 - 0.414px));
}
.auth-card--tabs:not(.auth-card--token-only) > .auth-base ~ .auth-footer::before { inset-block-end: 0; inset-inline: 0; }
.auth-card--tabs:not(.auth-card--token-only) > .auth-base ~ .auth-divider::before { inset-block-start: 0; background: var(--auth-base); }
.auth-card--tabs:not(.auth-card--token-only) > .auth-base ~ .auth-legal { position: static; border-image: conic-gradient(var(--auth-base) 0 0) fill 0 / 0 / 16px var(--pad) 2px; }
.auth-card--tabs:not(.auth-card--token-only) > .auth-base ~ .auth-legal::before { content: none; }
.auth-card--tabs:not(.auth-card--token-only) > .auth-base ~ .auth-oauth-buttons.auth-oauth-pending::before { inset-block-end: -52px; }
.auth-card--tabs > .auth-oauth-pending::before { visibility: visible; }
.auth-card--tabs > .auth-divider {
  display: flex;
  justify-content: center;
  height: 0;
  margin-block: -16px 8px;
  background: none;
}
.auth-card--tabs > .auth-divider span {
  display: flex;
  align-items: center;
  height: 21px;
  margin-block-start: -11px;
  padding: 0 10px;
  border: 1px solid var(--auth-card-line);
  background: var(--auth-card);
  color: var(--auth-muted);
  font-family: var(--font-family-mono);
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.auth-card--tabs > .auth-oauth-buttons .auth-oauth-btn:not(:hover):not(:active) { --plate: var(--auth-card); }
.auth-card--tabs > .auth-footer {
  margin: 0 calc(-1 * var(--pad)) calc(-1 * var(--pad));
  padding: 14px var(--pad) 16px;
}
@media (forced-colors: active) {
  .auth-card--tabs > div.auth-base { background: CanvasText; }
  .auth-card--tabs > .auth-base ~ *::before { display: none; }
  a.auth-tab { border-color: CanvasText; }
}
@media print {
  .auth-tabs { display: none; }
}

@media (forced-colors: active) {
  .auth-card { background: Canvas; border-color: CanvasText; }
  .auth-btn,
  .auth-button,
  .auth-oauth-btn { background: ButtonFace; border-color: ButtonText; color: ButtonText; }
  .auth-input:focus,
  .auth-totp-input input:focus,
  .auth-card :focus-visible,
  .auth-theme:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; }
}

:root { --auth-company-fg: #525252; --auth-bar-line: #5c5c5c; }
[data-color-scheme="dark"] { --auth-company-fg: #9d9d9d; --auth-bar-line: #8a8a8a; }

.auth-company {
  position: fixed;
  inset-block-end: 0;
  inset-inline: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content minmax(max-content, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 45px;
  padding: 0 16px env(safe-area-inset-bottom);
  background: var(--auth-bg);
  border-block-start: 1px solid var(--auth-bar-line);
  overflow-x: auto;
  scroll-padding-inline: 16px;
  scrollbar-width: none;
}
.auth-company::-webkit-scrollbar { display: none; }
.hbar {
  grid-column: 2;
  display: flex;
  gap: 4px;
}
.hbar__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  font-family: var(--font-family-mono);
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--auth-fg);
  text-decoration: none;
}
.hbar__link:hover { text-decoration: underline; text-underline-offset: 3px; }
.hbar__link[aria-current="page"] { background: var(--auth-primary); color: var(--auth-primary-fg); }
.hbar__link:focus-visible { outline: 2px solid var(--auth-focus); outline-offset: -2px; }
.hbar__link[aria-current="page"]:focus-visible { outline-color: var(--auth-primary-fg); }
@media (max-width: 480px) {
  .hbar { gap: 0; }
  .hbar__link { padding: 0 9px; }
}
.auth-company__line {
  grid-column: 3;
  justify-self: end;
  margin: 0;
  font-family: var(--font-family-mono);
  font-size: 11px;
  letter-spacing: 0.3px;
  white-space: nowrap;
  color: var(--auth-company-fg);
}
.auth-company__link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.auth-company__link:hover { color: var(--auth-fg); }
.auth-company__link:focus-visible {
  outline: none;
  box-shadow: var(--auth-ring-page);
}
.auth-page { padding-block-end: calc(56px + env(safe-area-inset-bottom)); }
@media (min-height: 480px) {
  html { scroll-padding-block-end: calc(56px + env(safe-area-inset-bottom)); }
}

@media (forced-colors: active) {
  .auth-company__link:focus-visible,
  .hbar__link:focus-visible { outline: 2px solid Highlight; outline-offset: -2px; }
  .hbar__link[aria-current="page"] { border: 1px solid Highlight; }
}
@media (pointer: coarse), (max-width: 600px) {
  .auth-company__link { display: inline-flex; align-items: center; min-height: 44px; }
}

@media (max-width: 768px) and (min-height: 480px) {
  .auth-company { grid-template-columns: minmax(0, 1fr); gap: 0; overflow-x: visible; }
  .hbar { grid-column: 1; flex-wrap: wrap; justify-content: center; }
  .auth-company__line { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; column-gap: 8px; grid-column: 1; justify-self: center; min-height: 44px; text-align: center; white-space: normal; }
  .auth-page { padding-block-end: calc(2 * 44px + 1px + 24px + env(safe-area-inset-bottom)); }
  html { scroll-padding-block-end: calc(2 * 44px + 1px + env(safe-area-inset-bottom)); }
}
@media (max-width: 600px) and (min-height: 480px) {
  .auth-company { padding-inline: 0; }
  .hbar { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; inline-size: 100%; }
  .hbar__link { justify-content: center; padding: 0 8px; white-space: normal; text-align: center; }
  .auth-company__line { padding-inline: 16px; }
  .auth-page { padding-block-end: calc(3 * 44px + 1px + 32px + env(safe-area-inset-bottom)); }
  html { scroll-padding-block-end: calc(3 * 44px + 1px + env(safe-area-inset-bottom)); }
}

@media (max-height: 479px) {
  .auth-company { display: none; }
}
@media print {
  .auth-company { display: none; }
  .auth-page::before,
  .auth-page::after { display: none; }
  .auth-card,
  .auth-btn,
  .auth-button,
  .auth-oauth-btn { background: none; border: 1px solid #000; color: #000; }
}
