html:has(body.is-login-route), body.is-login-route { width: 100%; min-width: 100%; margin: 0; padding: 0; background: #dceffc; }
body.is-login-route { overflow: hidden; }
body.is-login-route > #app { position: fixed; inset: 0; width: 100vw; min-width: 100vw; max-width: none; height: 100dvh; margin: 0; padding: 0; }
.login-page { width: 100vw; min-width: 100vw; max-width: none; height: 100dvh; min-height: 100dvh; margin: 0; position: relative; overflow: hidden; color: #09265e; background: #d9edfb; isolation: isolate; }
.login-photo { width: 100%; min-width: 100%; height: 100dvh; position: absolute; inset: 0; z-index: 0; display: block; object-fit: cover; object-position: center; background: #d9edfb; }
.login-photo-shade { position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(240,249,255,.08), transparent 44%, rgba(5,44,79,.04)); }
.login-brand { position: absolute; z-index: 2; top: clamp(38px, 7.2vh, 78px); left: clamp(38px, 4.1vw, 80px); width: min(46vw, 680px); }
.login-brand-asset { width: min(100%, 620px); aspect-ratio: 1536 / 450; display: block; position: relative; overflow: hidden; }
.login-brand-asset img { width: 100%; height: auto; display: block; transform: translateY(-1.2%); }
.login-brand p { width: 65%; margin: -46px 0 0 25%; color: #0755a4; font-size: clamp(20px, 1.55vw, 27px); font-weight: 750; text-align: center; white-space: nowrap; text-shadow: 0 1px 10px rgba(255,255,255,.65); }
.login-zone { min-height: calc(100dvh - 58px); position: relative; z-index: 2; display: flex; justify-content: flex-end; align-items: center; padding: 34px clamp(52px, 5.7vw, 108px) 34px 60%; }
.login-card { width: min(100%, 566px); padding: clamp(30px, 4vh, 54px) clamp(34px, 3.25vw, 58px) clamp(26px, 3.4vh, 42px); border: 1px solid rgba(255,255,255,.88); border-radius: 25px; background: rgba(255,255,255,.975); box-shadow: 0 14px 36px rgba(13,61,103,.12); }
.login-card header { margin-bottom: clamp(24px, 3.2vh, 34px); text-align: center; }
.login-card h1 { margin: 0; color: #082760; font-size: clamp(28px, 2vw, 36px); line-height: 1.2; letter-spacing: -.5px; }
.login-card header p { margin: 10px 0 0; color: #617293; font-size: 16px; line-height: 1.45; }
.login-card header .login-identity-status { margin-top: 10px; }
.login-field { margin-top: 21px; }
.login-field label { display: block; margin-bottom: 8px; color: #0a285e; font-size: 15px; font-weight: 750; }
.login-control { height: 56px; display: flex; align-items: center; gap: 13px; padding: 0 16px; border: 1px solid #cad5e3; border-radius: 10px; background: #fff; color: #6680a7; transition: border-color .15s, box-shadow .15s; }
.login-control:focus-within { border-color: #0878e4; box-shadow: 0 0 0 3px rgba(8,120,228,.12); }
.login-control > svg { width: 23px; flex: 0 0 23px; }
.login-control input { min-width: 0; flex: 1; height: 100%; padding: 0; border: 0 !important; outline: 0 !important; box-shadow: none !important; background: transparent; color: #102c5d; font-size: 15px; }
.login-eye { width: 38px; height: 42px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 7px; background: transparent; color: #657da2; }
.login-eye:hover { background: #eff6ff; color: #0878e4; }
.login-eye svg { width: 22px; }
.login-error { min-height: 19px; display: block; padding-top: 4px; color: #cb2f3b; font-size: 13px; }
.login-field.has-error .login-control { border-color: #d94450; box-shadow: 0 0 0 3px rgba(217,68,80,.08); }
.login-options { min-height: 36px; display: flex; align-items: center; justify-content: space-between; margin: 9px 0 17px; gap: 18px; }
.login-check { display: inline-flex; align-items: center; gap: 10px; color: #536a8c; font-size: 15px; cursor: pointer; }
.login-check input { position: absolute; opacity: 0; pointer-events: none; }
.login-check span { width: 20px; height: 20px; display: grid; place-items: center; border: 1px solid #9db0c9; border-radius: 4px; background: #fff; color: transparent; font-size: 14px; font-weight: 800; }
.login-check input:checked + span { border-color: #076fe0; background: #076fe0; color: #fff; }
.login-check input:focus-visible + span { outline: 3px solid rgba(20,121,232,.22); outline-offset: 2px; }
.login-link { padding: 5px 0; border: 0; background: transparent; color: #0069dc; font-size: 15px; }
.login-link:hover { text-decoration: underline; }
.login-submit, .login-support-button { width: 100%; min-height: 56px; border-radius: 10px; font-size: 16px; font-weight: 750; }
.login-submit { position: relative; border: 1px solid #0874dc; background: linear-gradient(180deg, #0d83ed, #0566cf); color: #fff; box-shadow: 0 5px 12px rgba(5,102,207,.15); }
.login-submit:hover { background: #066cd7; }
.login-submit:active { transform: translateY(1px); }
.login-submit:disabled { cursor: wait; opacity: .76; }
.login-submit i { display: none; width: 18px; height: 18px; border: 2px solid rgba(255,255,255,.45); border-top-color: #fff; border-radius: 50%; animation: login-spin .7s linear infinite; }
.is-submitting .login-submit span { display: none; }
.is-submitting .login-submit i { display: inline-block; }
.login-support-button { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 14px; border: 1.5px solid #0876e8; background: #fff; color: #076bd5; }
.login-support-button:hover { background: #f1f7ff; }
.login-support-button svg { width: 23px; }
.login-form-message { margin-top: 12px; padding: 9px 11px; border-radius: 7px; background: #edf6ff; color: #245d91; font-size: 13px; }
.login-support-copy { display: flex; align-items: center; gap: 14px; margin-top: 28px; padding-top: 22px; border-top: 1px solid #dbe3ec; color: #607190; }
.login-support-copy > span { width: 48px; height: 48px; display: grid; place-items: center; flex: 0 0 48px; border-radius: 50%; background: #ebf4ff; color: #0875e4; }
.login-support-copy svg { width: 25px; }
.login-support-copy p { margin: 0; font-size: 13.5px; line-height: 1.65; }
.login-support-copy b { display: block; color: #455d82; font-weight: 500; }
.login-footer { height: 58px; position: absolute; z-index: 3; inset: auto 0 0; display: flex; align-items: center; justify-content: space-between; padding: 0 clamp(42px, 11vw, 192px); color: #fff; background: linear-gradient(90deg, #0968bf, #064d9f 58%, #043b88); box-shadow: 0 -1px 0 rgba(255,255,255,.16); }
.login-footer::after { content: ''; position: absolute; right: 0; bottom: 0; width: 210px; height: 58px; opacity: .24; background-image: radial-gradient(circle, #54c9ff 1px, transparent 1.3px); background-size: 9px 9px; transform: skewX(-22deg); }
.login-footer p { margin: 0; font-size: 13px; }
.login-footer div { z-index: 1; display: flex; align-items: center; gap: 15px; }
.login-footer button { padding: 6px 0; border: 0; background: none; color: inherit; font-size: 13px; cursor: default; }
.login-footer i { width: 1px; height: 16px; background: rgba(255,255,255,.5); }
.login-dialog { width: min(90vw, 410px); padding: 32px; border: 0; border-radius: 18px; color: #19365f; text-align: center; box-shadow: 0 20px 60px rgba(0,39,82,.25); }
.login-dialog::backdrop { background: rgba(3,31,65,.4); backdrop-filter: blur(2px); }
.login-dialog-close { position: absolute; top: 10px; right: 12px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: transparent; color: #6e7f98; font-size: 25px; }
.login-dialog-icon { width: 52px; height: 52px; display: grid; place-items: center; margin: 0 auto 12px; border-radius: 50%; background: #e9f3ff; color: #0875e4; }
.login-dialog-icon svg { width: 27px; }
.login-dialog h2 { margin: 0 0 12px; color: #092861; font-size: 23px; }
.login-dialog p { margin: 0 0 10px; color: #647590; }
.login-dialog b { line-height: 1.6; }
.login-dialog-ok { width: 100%; min-height: 44px; margin-top: 24px; border: 0; border-radius: 8px; background: #0876df; color: #fff; font-weight: 700; }
@keyframes login-spin { to { transform: rotate(360deg); } }

@media (max-height: 800px) and (min-width: 901px) {
  .login-card { padding-top: 24px; padding-bottom: 21px; }
  .login-card header { margin-bottom: 14px; }
  .login-card header p { margin-top: 7px; font-size: 14px; }
  .login-field { margin-top: 10px; }
  .login-control { height: 48px; }
  .login-options { margin: 2px 0 10px; }
  .login-submit, .login-support-button { min-height: 48px; }
  .login-support-button { margin-top: 10px; }
  .login-support-copy { margin-top: 15px; padding-top: 13px; }
}
@media (max-width: 1100px) {
  .login-zone { padding-left: 51%; padding-right: 34px; }
  .login-brand { width: 46vw; left: 28px; }
  .login-brand p { width: 65%; margin: -40px 0 0 22%; font-size: 18px; }
  .login-card { padding-left: 32px; padding-right: 32px; }
}
@media (max-width: 800px) {
  body.is-login-route { overflow: auto; }
  body.is-login-route > #app { position: static; width: 100%; min-width: 0; height: auto; }
  .login-page { width: 100%; min-width: 0; height: auto; min-height: 100dvh; padding-bottom: 0; }
  .login-photo, .login-photo-shade { bottom: 0; }
  .login-photo-shade { background: linear-gradient(rgba(229,244,255,.86), rgba(216,237,250,.74)), linear-gradient(90deg, rgba(255,255,255,.38), transparent); }
  .login-brand { position: relative; top: auto; left: auto; width: min(92%, 500px); margin: 22px auto 10px; }
  .login-brand-asset { width: 100%; }
  .login-brand p { width: 65%; margin: -24px 0 0 22%; font-size: 16px; text-align: center; white-space: normal; }
  .login-zone { min-height: auto; padding: 12px 18px 88px; }
  .login-card { width: min(100%, 520px); margin: auto; padding: 27px 24px 24px; border-radius: 18px; }
  .login-card h1 { font-size: 27px; }
  .login-footer { height: auto; min-height: 70px; position: absolute; flex-direction: column; justify-content: center; gap: 2px; padding: 8px 18px; text-align: center; }
  .login-footer div { gap: 8px; }
  .login-footer button, .login-footer p { font-size: 11.5px; }
}
@media (max-width: 480px) {
  .login-drop { display: none; }
  .login-options { align-items: flex-start; }
  .login-check, .login-link { font-size: 13.5px; }
  .login-footer div { flex-wrap: wrap; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .login-submit i { animation-duration: 1.4s; } }

.google-login-page {
  min-height: 100dvh;
  position: relative;
  display: grid;
  place-items: start center;
  overflow: hidden;
  isolation: isolate;
  background: #dceffc;
  color: #0648a6;
}
.google-login-background {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  z-index: -2;
  display: block;
  object-fit: cover;
  object-position: center;
}
.google-login-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(247, 252, 255, .18) 0%, rgba(236, 248, 255, .08) 46%, rgba(5, 46, 78, .08) 100%);
}
.google-login-content {
  width: min(1120px, calc(100% - 48px));
  display: grid;
  justify-items: center;
  gap: 28px;
  padding-top: clamp(44px, 7.5vh, 82px);
  text-align: center;
}
.google-login-brand { width: min(680px, 74vw); }
.google-login-brand-art {
  width: 100%;
  aspect-ratio: 1536 / 450;
  display: block;
  overflow: hidden;
}
.google-login-brand-art img { width: 100%; height: auto; display: block; }
.google-login-brand p {
  width: 65%;
  max-width: 450px;
  margin: -5px 0 0 32%;
  color: #0753b5;
  font-size: 22px;
  font-weight: 750;
  line-height: 1.25;
  letter-spacing: 0;
  text-align: center;
  white-space: nowrap;
  text-shadow: 0 1px 12px rgba(255, 255, 255, .9);
}
.google-login-actions {
  width: min(780px, 100%);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.google-login-action {
  min-width: 0;
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 12px 20px;
  border: 1px solid rgba(4, 86, 214, .92);
  border-radius: 8px;
  background: linear-gradient(180deg, #1689f4 0%, #0759d5 100%);
  box-shadow: 0 7px 18px rgba(0, 76, 172, .2), inset 0 1px 0 rgba(255, 255, 255, .26);
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  text-shadow: 0 1px 1px rgba(0, 42, 112, .2);
  transition: background-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.google-login-action:hover {
  border-color: #0348bd;
  background: #075dcc;
  box-shadow: 0 9px 22px rgba(0, 68, 158, .27);
  color: #fff;
}
.google-login-action:active { transform: translateY(1px); }
.google-login-action:disabled,
.google-login-action[aria-disabled="true"] { opacity: .72; cursor: wait; pointer-events: none; }
.google-login-google-mark {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  flex: 0 0 31px;
  border-radius: 50%;
  background: #fff;
  color: #4285f4;
  font-size: 20px;
  font-weight: 800;
  text-shadow: none;
}
.google-login-action-icon { width: 30px; height: 30px; display: grid; place-items: center; flex: 0 0 30px; }
.google-login-action-icon svg { width: 29px; height: 29px; display: block; }
.google-login-message {
  max-width: 640px;
  margin: -12px 0 0;
  padding: 8px 13px;
  border-radius: 7px;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 3px 12px rgba(5, 54, 105, .12);
  color: #9b2c34;
  font-size: 13px;
  font-weight: 650;
}

@media (max-width: 760px) {
  .google-login-overlay { background: linear-gradient(180deg, rgba(246, 252, 255, .36), rgba(227, 244, 253, .18) 52%, rgba(5, 46, 78, .12)); }
  .google-login-content { width: min(520px, calc(100% - 32px)); gap: 22px; padding-top: clamp(34px, 7vh, 66px); }
  .google-login-brand { width: min(100%, 540px); }
  .google-login-brand p { width: 100%; max-width: none; margin: 0; font-size: 18px; }
  .google-login-actions { width: min(440px, 100%); grid-template-columns: 1fr; gap: 12px; }
  .google-login-action { min-height: 54px; font-size: 16px; }
}

@media (max-height: 650px) and (min-width: 761px) {
  .google-login-content { gap: 18px; padding-top: 24px; }
  .google-login-brand { width: min(560px, 66vw); }
  .google-login-action { min-height: 50px; }
}
