.auth-page { --auth-ink: #153a3b; --auth-accent: #17766c; --auth-muted: #75817f; display: grid; grid-template-columns: 56% 44%; width: 100%; min-height: 100dvh; height: 100dvh; overflow: auto; background: #f7f8f5; color: var(--auth-ink); font-family: "Avenir Next", "PingFang SC", "Microsoft YaHei", sans-serif; }
.auth-page * { box-sizing: border-box; }
.auth-page button, .auth-page input { font: inherit; }
.auth-page button { cursor: pointer; }
.auth-page button:disabled { cursor: wait; opacity: .6; }
.auth-page button:focus-visible, .auth-page a:focus-visible { outline: 3px solid #459e93; outline-offset: 4px; }
.auth-page [hidden] { display: none !important; }
.auth-page .auth-visual { position: relative; min-height: 100%; padding: 46px 9%; color: #f3f8f2; overflow: hidden; background: #153637; isolation: isolate; }
.auth-page .auth-visual::before { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(140deg, rgba(7,35,38,.96) 5%, rgba(9,43,44,.73) 48%, rgba(9,37,40,.44) 75%, rgba(9,31,35,.86)), url('/prototype/satellite.png') 54% center / cover; }
.auth-page .auth-visual::after { content: ""; position: absolute; z-index: -1; inset: 0; opacity: .14; background-image: linear-gradient(#adcabc 1px, transparent 1px), linear-gradient(90deg,#adcabc 1px,transparent 1px); background-size: 80px 80px; mask-image: linear-gradient(transparent 30%, #000); }
.auth-page .auth-brand { display: inline-flex; align-items: center; gap: 15px; color: inherit; text-decoration: none; }
.auth-page .auth-brand svg { width: 42px; height: 32px; }
.auth-page .auth-brand > span { font-size: 26px; font-weight: 650; letter-spacing: 5px; line-height: 1.15; }
.auth-page .auth-brand-caption { display: block; font-size: 10px; font-weight: 400; letter-spacing: 2.4px; margin-top: 9px; opacity: .7; }
.auth-page .auth-hero { position: absolute; z-index: 1; top: 27%; left: 9%; right: 5%; }
.auth-page .auth-eyebrow { margin: 0 0 26px; color: #9ebab3; font-size: 10px; letter-spacing: 2.6px; }
.auth-page .auth-hero h2 { font-size: clamp(36px, 3.8vw, 64px); font-weight: 500; letter-spacing: 2px; line-height: 1.45; margin: 0; }
.auth-page .auth-hero h2 span { color: #78b6a6; }
.auth-page .auth-hero-copy { margin: 22px 0 0; color: #c1d2cb; font-size: 14px; letter-spacing: 1px; }
.auth-page .auth-map-art { position: absolute; inset: 20% -18% -14% 4%; color: #a6d7bd; opacity: .58; }
.auth-page .auth-map-art svg { width: 100%; height: 100%; }
.auth-page .auth-map-label { position: absolute; right: 32%; bottom: 25%; font-size: 10px; letter-spacing: 2px; color: #d6e7d9; }
.auth-page .auth-visual-footer { position: absolute; bottom: 46px; left: 9%; right: 9%; display: flex; align-items: center; gap: 25px; border-top: 1px solid #d9f3e026; padding-top: 24px; font-size: 12px; letter-spacing: 2px; color: #d1ddd8; }
.auth-page .auth-visual-footer i { width: 3px; height: 3px; border-radius: 50%; background: #8ab2a5; }
.auth-page .auth-entry { min-width: 0; padding: 42px clamp(28px, 5vw, 86px) 26px; display: flex; flex-direction: column; }
.auth-page .auth-entry-top { display: flex; justify-content: space-between; gap: 12px; color: #7e8c86; font-size: 11px; letter-spacing: 1px; }
.auth-page .auth-edition { font-size: 9px; letter-spacing: 1.4px; }
.auth-page .auth-panel { width: 100%; max-width: 390px; margin: auto; padding: 50px 0 40px; animation: auth-enter .45s ease-out both; }
.auth-page .auth-section-label { display: flex; align-items: center; gap: 8px; font-size: 11px; color: #3b7e6e; letter-spacing: 1px; margin: 0 0 17px; }
.auth-page .auth-section-label > span { width: 6px; height: 6px; background: #328775; border-radius: 50%; }
.auth-page h1 { font-size: 32px; font-weight: 600; letter-spacing: 1px; margin: 0 0 12px; color: #193b3b; line-height: 1.4; }
.auth-page .auth-intro { font-size: 13px; line-height: 1.9; color: var(--auth-muted); margin: 0 0 34px; }
.auth-page fieldset { padding: 0; border: 0; margin: 0; min-width: 0; }
.auth-page .auth-field { margin-bottom: 23px; }
.auth-page .auth-field label { font-size: 13px; font-weight: 500; display: block; margin-bottom: 10px; color: #38504b; }
.auth-page .auth-field input { display: block; height: 49px; width: 100%; border: 1px solid #d5ded8; border-radius: 5px; background: #fff; color: #213e3a; padding: 0 15px; font-size: 14px; transition: border-color .15s, box-shadow .15s; }
.auth-page .auth-field input::placeholder { color: #9ba8a1; font-size: 13px; }
.auth-page .auth-field input:focus { border-color: #358b7d; outline: 0; box-shadow: 0 0 0 3px #33857715; }
.auth-page .auth-field input[aria-invalid=true] { border-color: #b85946; }
.auth-page .auth-password { position: relative; }
.auth-page .auth-password input { padding-right: 52px; }
.auth-page .auth-password button { position: absolute; top: 1px; right: 1px; width: 46px; height: 47px; border: 0; border-radius: 4px; background: transparent; color: #8a9991; display: grid; place-items: center; }
.auth-page .auth-password svg { width: 19px; height: 19px; }
.auth-page .auth-password button[aria-pressed=true] { color: #166c5c; background: #edf5ed; }
.auth-page .auth-captcha-row { display: grid; grid-template-columns: minmax(0,1fr) 128px; gap: 12px; }
.auth-page .auth-captcha-image { height: 49px; border: 1px solid #d5ded8; background: #eaf0e8; border-radius: 5px; color: #537166; padding: 0; overflow: hidden; display: grid; place-items: center; font-size: 11px; }
.auth-page .auth-captcha-image img { width: 100%; height: 100%; object-fit: contain; }
.auth-page .auth-field-hint { color: #8b9991; margin: 9px 0 0; font-size: 11px; min-height: 17px; }
.auth-page .auth-message { font-size: 12px; color: #a34d37; background: #f9eee7; border-left: 2px solid #c47b5d; line-height: 1.7; padding: 10px 12px; margin: -2px 0 18px; overflow-wrap: anywhere; }
.auth-page .auth-primary { width: 100%; min-height: 49px; display: flex; align-items: center; justify-content: center; gap: 20px; border: 1px solid #1b7163; border-radius: 5px; background: #1b7163; color: #fff; font-size: 14px; font-weight: 500; letter-spacing: 1px; padding: 12px; transition: background .15s; }
.auth-page .auth-primary:hover:not(:disabled) { background: #125d50; }
.auth-page .auth-primary svg { width: 20px; height: 20px; }
.auth-page .auth-secondary { width: 100%; margin-top: 12px; min-height: 44px; background: transparent; color: #607970; border: 1px solid #d5ded8; border-radius: 5px; font-size: 13px; }
.auth-page .auth-help { margin: 22px 0 0; text-align: center; color: #8b9991; font-size: 11px; line-height: 1.8; }
.auth-page .auth-footer { text-align: center; font-size: 10px; color: #849389; letter-spacing: .5px; padding-top: 14px; line-height: 1.8; }
.auth-page .auth-footer span { display: block; margin-top: 2px; color: #9aa69e; }
.auth-page .auth-tenant-list { display: grid; gap: 12px; max-height: 300px; overflow-y: auto; margin-bottom: 25px; padding: 3px; }
.auth-page .auth-tenant-option { display: flex; align-items: center; gap: 14px; border: 1px solid #d5ded8; background: #fff; border-radius: 5px; padding: 16px; cursor: pointer; }
.auth-page .auth-tenant-option:has(input:checked) { border-color: #3c8d79; background: #ecf3ec; }
.auth-page .auth-tenant-option input { accent-color: #1b7163; }
.auth-page .auth-tenant-option strong { display: block; font-size: 14px; overflow-wrap: anywhere; }
.auth-page .auth-tenant-option small { display: block; margin-top: 6px; color: #8b9991; font-size: 11px; }
.auth-page .auth-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.app-shell .auth-account-tenant { display: block; padding: 9px 12px; color: #8faaa9; font-size: 11px; }
.app-shell .auth-account-logout { width: 100%; text-align: left; background: transparent; border: 0; color: inherit; font: inherit; padding: 10px 12px; cursor: pointer; }
.app-shell .auth-account-logout:hover { background: #ffffff12; }
.app-shell .auth-account-menu:focus-within .nav-dropdown { display: block; }
@keyframes auth-enter { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 1100px) {
  .auth-page { grid-template-columns: 48% 52%; }
  .auth-page .auth-entry { padding-left: 40px; padding-right: 40px; }
  .auth-page .auth-visual-footer { gap: 14px; }
  .auth-page .auth-hero h2 { font-size: 38px; }
}
@media (max-height: 760px) and (min-width: 701px) {
  .auth-page .auth-entry { padding-top: 26px; padding-bottom: 20px; }
  .auth-page .auth-panel { padding-top: 30px; padding-bottom: 24px; }
  .auth-page .auth-intro { margin-bottom: 23px; }
  .auth-page .auth-field { margin-bottom: 18px; }
  .auth-page .auth-entry-top, .auth-page .auth-footer { display: none; }
}
@media (max-width: 700px) {
  .auth-page { display: flex; flex-direction: column; height: 100dvh; }
  .auth-page .auth-visual { flex: 0 0 140px; min-height: 140px; padding: 29px 28px; }
  .auth-page .auth-brand > span { font-size: 23px; }
  .auth-page .auth-hero, .auth-page .auth-visual-footer, .auth-page .auth-map-label { display: none; }
  .auth-page .auth-map-art { inset: -290px -60px -230px 20%; }
  .auth-page .auth-entry { flex: 1 0 auto; padding: 0 28px 22px; }
  .auth-page .auth-entry-top { display: none; }
  .auth-page .auth-panel { padding: 35px 0 30px; }
  .auth-page h1 { font-size: 28px; }
  .auth-page .auth-intro { margin-bottom: 25px; }
}
@media (prefers-reduced-motion: reduce) { .auth-page .auth-panel { animation: none; } }

.auth-page .auth-message[data-kind="info"] { color: #276756; background: #e9f2e8; border-color: #548a6d; }
.app-shell .auth-account-menu .user-button > span { display: inline-block; max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: middle; }
