.auth-page #footer { display: none; }
.auth-page #main { display: grid; grid-template-columns: calc(50% + 10px) minmax(0,1fr); gap: 12px; min-height: 100svh; padding: 12px 12px 12px 0; }
.auth-nav { position: absolute; z-index: 2; inset: 0 40px auto calc(50% + 56px); height: 64px; display: flex; align-items: center; gap: 2px; }
.auth-nav .brand { margin-right: auto; }
.auth-nav .icon-btn { width: 34px; height: 34px; }
.auth-nav .pop-menu { right: 0; }
.auth-scene { position: relative; grid-column: 1; grid-row: 1; border-radius: 11px; overflow: hidden; margin-left: 12px; background: var(--soft); }
.auth-scene canvas { display: block; position: absolute; inset: 0; width: 100%; height: 100%; }
.auth-scene > div { position: absolute; inset: auto 48px 48px; }
.auth-scene h2 { font-size: 24px; font-weight: 600; margin-bottom: 12px; }
.auth-scene p { color: var(--muted); font-size: 14px; line-height: 1.65; max-width: 450px; }
.auth-column { grid-column: 2; grid-row: 1; position: relative; margin: 0 28px 0 40px; padding: 52px 0 44px; display: grid; min-width: 0; place-items: center; }
.auth-content { width: min(100%, 384px); padding: 38px 0; }
.auth-content h1 { font-size: 24px; line-height: 32px; font-weight: 600; }
.auth-description { font-size: 14px; color: var(--muted); margin-top: 6px; }
.auth-content .form { margin-top: 34px; gap: 16px; }
.auth-content label { display: block; font-size: 14px; font-weight: 500; }
.auth-content label > input, .auth-password { margin-top: 5px; }
.auth-required { display: inline; color: var(--bad); margin-inline-start: 4px; }
.auth-content input { min-width: 0; min-height: 38px; padding: 8px 12px; border-radius: 8px; background: color-mix(in srgb, var(--panel) 42%, var(--bg)); font-size: 14px; }
.auth-content input:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.auth-label { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.auth-label a, .auth-links a { color: var(--link); font-size: 14px; font-weight: 600; }
.auth-label a:hover, .auth-links a:hover { text-decoration: underline; }
.auth-password { position: relative; }
.auth-password input { padding-inline-end: 58px; }
.auth-password button { position: absolute; inset: 5px 2px 5px auto; width: 51px; height: auto; border-inline-start: 1px solid var(--line); border-radius: 0; color: var(--muted); }
.auth-password button[aria-pressed=false] .eye-slash { visibility: hidden; }
.auth-content .btn.auth-submit { min-height: 36px; border-radius: 8px; font-size: 14px; padding: 6px 12px; }
.auth-content .auth-links { display: block; text-align: center; margin-top: 31px; color: var(--muted); }
.auth-content .auth-links a { margin-inline-start: 5px; }
.auth-config { margin: 0; padding: 8px 10px; border: 1px solid var(--line); border-radius: 7px; color: var(--muted); font-size: 13px; }
.auth-copyright { position: absolute; inset: auto 0 0; color: var(--muted); font-size: 12px; }
.public-status-page .status-page { width: min(calc(100% - 48px), 960px); min-height: max(524px, calc(100svh - 140px)); padding-top: 128px; }
.public-status-page .status-page h1 { font-weight: 300; line-height: 40px; }
.public-status-page .status-page .lede { font-size: 14px; margin: 8px 0 30px; }
.status-loading, .status-empty { min-height: 222px; display: grid; place-items: center; font-size: 14px; color: var(--muted); text-align: center; }
.status-empty p { margin: 0; }
.status-empty a { color: var(--link); text-decoration: underline; }
.status-spinner { width: 21px; height: 21px; border: 3px solid var(--line); border-top-color: var(--ink); border-radius: 50%; animation: status-spin .8s linear infinite; }
@keyframes status-spin { to { transform: rotate(1turn); } }
.status-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-bottom: 12px; }
.status-toolbar > h2 { font-size: 17px; }
.status-toolbar .btn { min-height: 32px; padding: 4px 12px; font-size: 13px; }
.status-toolbar small { color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .status-spinner { animation: none; } }
@media (max-width: 900px) {
  .auth-page #main { display: block; padding: 0; }
  .auth-nav { inset: 0 20px auto; }
  .auth-scene { display: none; }
  .auth-column { min-height: 100svh; margin: 0; padding: 64px 20px 50px; }
  .auth-content { padding: 32px 0; }
  .auth-copyright { inset: auto 20px 15px; }
}
@media (max-width: 700px) {
  .public-status-page .status-page { width: calc(100% - 32px); padding-top: 96px; }
  .public-status-page .status-page h1 { font-size: 29px; }
}
