/* Shared client sign-in / first-password screens. Desktop split is unchanged. */
html.ge-signin {
  -webkit-text-size-adjust: 100%;
  height: 100%;
  scrollbar-width: thin;
  scrollbar-color: #c4a35a #0c1826;
}
html.ge-signin::-webkit-scrollbar,
body.ge-signin::-webkit-scrollbar,
body.ge-signin *::-webkit-scrollbar {
  width: 11px;
  height: 11px;
}
html.ge-signin::-webkit-scrollbar-track,
body.ge-signin::-webkit-scrollbar-track,
body.ge-signin *::-webkit-scrollbar-track {
  background: linear-gradient(90deg, #050b14 0%, #0c1826 100%);
}
html.ge-signin::-webkit-scrollbar-thumb,
body.ge-signin::-webkit-scrollbar-thumb,
body.ge-signin *::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #e0c58a 0%, #c4a35a 42%, #8a6a32 100%);
  border: 2px solid #050b14;
  border-radius: 999px;
}
html.ge-signin::-webkit-scrollbar-thumb:hover,
body.ge-signin::-webkit-scrollbar-thumb:hover,
body.ge-signin *::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #f4e7c5 0%, #d4b56a 55%, #c4a35a 100%);
}
html.ge-signin::-webkit-scrollbar-corner,
body.ge-signin::-webkit-scrollbar-corner,
body.ge-signin *::-webkit-scrollbar-corner {
  background: #050b14;
}
html.ge-signin,
body.ge-signin {
  margin: 0;
  height: auto;
  min-height: 100%;
  background: #050b14;
  color: #f4ead4;
  font-family: Inter, system-ui, sans-serif;
  scrollbar-width: thin;
  scrollbar-color: #c4a35a #0c1826;
}
body.ge-signin {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  min-height: 100svh;
}
body.ge-signin * { box-sizing: border-box; }
body.ge-signin .ge-skip {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 80;
  padding: 8px 12px;
  background: #f4ead4;
  color: #050b14;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
  transform: translateY(-120%);
}
body.ge-signin .ge-skip:focus,
body.ge-signin .ge-skip:focus-visible {
  transform: none;
}
body.ge-signin .shell {
  display: flex;
  flex: 1 1 auto;
  min-height: 0;
}
body.ge-signin .pane {
  flex: 1 1 50%;
  display: flex;
  align-items: center;
  padding: 56px 64px;
}
body.ge-signin .stage {
  position: relative;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(600px 400px at 20% 20%, rgba(196,163,90,.14), transparent 55%),
    url("/client/assets/media/images/2600x1600/bg-1-dark.png") center / cover no-repeat,
    #07111f;
}
body.ge-signin .stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(5,11,20,.15), rgba(5,11,20,.72));
  pointer-events: none;
}
body.ge-signin .stage-inner { position: relative; z-index: 1; width: 100%; max-width: 460px; }
body.ge-signin .copy { background: radial-gradient(720px 380px at 0% 0%, rgba(196,163,90,.12), transparent 58%), #050b14; }
body.ge-signin .copy-inner { width: 100%; max-width: 420px; margin: 0 auto; }
body.ge-signin .mark {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 22px;
  letter-spacing: .04em;
  color: #f4e7c5;
  font-weight: 600;
}
body.ge-signin .mark small {
  display: block;
  margin-top: 7px;
  font-family: Inter, sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(232,213,163,.62);
}
body.ge-signin .rule {
  width: 48px;
  height: 1px;
  margin: 32px 0 24px;
  background: linear-gradient(90deg, #c4a35a, transparent);
}
body.ge-signin h1 {
  margin: 0 0 12px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(40px, 4.6vw, 56px);
  font-weight: 500;
  font-style: italic;
  line-height: .95;
  color: #fff;
}
body.ge-signin .lead {
  margin: 0 0 28px;
  color: rgba(244,234,212,.62);
  font-size: 15px;
  line-height: 1.55;
}
body.ge-signin label {
  display: block;
  margin: 0 0 8px;
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(232,213,163,.7);
}
body.ge-signin .field { margin-bottom: 18px; }
body.ge-signin .field-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 8px;
}
body.ge-signin .field-head label { margin: 0; }
body.ge-signin .forgot {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  color: rgba(232,213,163,.78);
  font-size: 12px;
  letter-spacing: .02em;
  text-decoration: none;
  white-space: nowrap;
}
@media (hover: hover) and (pointer: fine) {
  body.ge-signin .forgot:hover { color: #f4e7c5; }
}
body.ge-signin .forgot:focus-visible { color: #f4e7c5; outline: 2px solid #c4a35a; outline-offset: 2px; }
body.ge-signin .wrap { position: relative; }
body.ge-signin input[type="email"],
body.ge-signin input[type="password"],
body.ge-signin input[type="text"] {
  width: 100%;
  height: 50px;
  padding: 0 14px;
  border: 1px solid rgba(196,163,90,.28);
  border-radius: 2px;
  background: rgba(255,255,255,.03);
  color: #fff;
  font-size: 15px;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
body.ge-signin input[type="password"],
body.ge-signin input[name="password"],
body.ge-signin input[name="password2"] { padding-right: 48px; }
body.ge-signin input:focus { border-color: #c4a35a; box-shadow: 0 0 0 3px rgba(196,163,90,.16); }
body.ge-signin input:focus-visible { border-color: #c4a35a; }
body.ge-signin .eye {
  position: absolute;
  right: 2px;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: #e8d5a3;
  cursor: pointer;
  border-radius: 2px;
  display: grid;
  place-items: center;
  touch-action: manipulation;
}
body.ge-signin .eye svg,
body.ge-signin .eye .ge-ico {
  width: 18px;
  height: 18px;
  display: block;
}
body.ge-signin .eye:focus-visible { outline: 2px solid #c4a35a; outline-offset: 2px; }
body.ge-signin .err {
  margin: 0 0 18px;
  padding: 12px 14px;
  border-radius: 2px;
  background: rgba(185,28,28,.16);
  color: #fecaca;
  font-size: 13px;
  line-height: 1.45;
}
body.ge-signin .note {
  margin: 0 0 18px;
  padding: 12px 14px;
  border-radius: 2px;
  background: rgba(196,163,90,.14);
  color: #f4ead4;
  font-size: 13px;
  line-height: 1.45;
}
body.ge-signin .hint {
  margin: 0 0 18px;
  color: rgba(244,234,212,.45);
  font-size: 13px;
  line-height: 1.45;
}
body.ge-signin .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 50px;
  margin-top: 8px;
  border: 1px solid #d4b56a;
  border-radius: 2px;
  cursor: pointer;
  background: linear-gradient(180deg, #ead7a6 0%, #c4a35a 100%);
  color: #07111f;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  box-shadow: 0 10px 28px rgba(196,163,90,.18);
  touch-action: manipulation;
  transition: background 180ms ease, transform 160ms ease, opacity 160ms ease;
}
@media (hover: hover) and (pointer: fine) {
  body.ge-signin .btn:hover { background: linear-gradient(180deg, #f4e7c5 0%, #d4b56a 100%); }
}
body.ge-signin .btn:active { transform: translateY(1px); }
body.ge-signin .btn:focus-visible { outline: 2px solid #f4e7c5; outline-offset: 3px; }
body.ge-signin .btn[disabled] { opacity: .7; cursor: wait; transform: none; }
body.ge-signin .back {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 12px;
  color: rgba(244,234,212,.45);
  font-size: 13px;
  text-decoration: none;
}
@media (hover: hover) and (pointer: fine) {
  body.ge-signin .back:hover { color: #e8d5a3; }
}
body.ge-signin .back:focus-visible { color: #e8d5a3; }
body.ge-signin .whisper {
  margin: 32px 0 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 26px;
  font-style: italic;
  color: #fff;
  line-height: 1.2;
}

body.ge-signin .ge-access {
  flex: 0 0 auto;
  position: relative;
  z-index: 3;
  border-top: 1px solid rgba(196, 163, 90, .28);
  background:
    linear-gradient(180deg, rgba(196, 163, 90, .09), transparent 42%),
    #040910;
  color: rgba(244, 234, 212, .72);
  padding:
    18px 32px
    max(18px, env(safe-area-inset-bottom, 0px));
}
body.ge-signin .ge-access-inner {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(220px, auto);
  gap: 16px 28px;
  align-items: center;
}
body.ge-signin .ge-access-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(196, 163, 90, .45);
  background: rgba(196, 163, 90, .08);
  color: #e8d5a3;
  flex: 0 0 auto;
}
body.ge-signin .ge-access-mark svg {
  width: 22px;
  height: 22px;
  display: block;
}
body.ge-signin .ge-access-kicker {
  margin: 0 0 6px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #c4a35a;
}
body.ge-signin .ge-access-copy {
  min-width: 0;
}
body.ge-signin .ge-access-copy p {
  margin: 0;
  max-width: none;
  font-size: 12px;
  line-height: 1.55;
  color: rgba(244, 234, 212, .62);
  overflow: visible;
  overflow-wrap: anywhere;
  white-space: normal;
}
body.ge-signin .ge-access-copy b {
  color: #f4e7c5;
  font-weight: 600;
}
body.ge-signin .ge-access-session {
  min-width: 0;
  padding: 10px 14px 11px;
  border: 1px solid rgba(196, 163, 90, .22);
  background: rgba(255, 255, 255, .03);
}
body.ge-signin .ge-access-ip {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .04em;
  color: #f4e7c5;
  font-variant-numeric: tabular-nums;
  word-break: break-all;
}
body.ge-signin .ge-access-ip.is-unknown { color: rgba(244, 234, 212, .55); font-weight: 500; }
body.ge-signin .ge-access-live {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3d9a6a;
  box-shadow: 0 0 0 4px rgba(61, 154, 106, .16);
  flex: 0 0 auto;
  animation: ge-access-pulse 2.4s ease-in-out infinite;
}
body.ge-signin .ge-access-meta {
  margin-top: 5px;
  font-size: 11px;
  line-height: 1.4;
  color: rgba(244, 234, 212, .45);
}
@keyframes ge-access-pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(61, 154, 106, .16); }
  50% { box-shadow: 0 0 0 7px rgba(61, 154, 106, .06); }
}

@media (max-width: 959px) {
  body.ge-signin .shell {
    flex-direction: column;
    min-height: 0;
    overflow: visible;
  }
  body.ge-signin .pane {
    flex: 0 0 auto;
    align-items: stretch;
    padding:
      max(28px, env(safe-area-inset-top, 0px))
      max(20px, env(safe-area-inset-right, 0px))
      20px
      max(20px, env(safe-area-inset-left, 0px));
  }
  body.ge-signin .copy {
    flex: 1 1 auto;
  }
  body.ge-signin .copy-inner { max-width: 440px; margin: 0; }
  body.ge-signin .stage {
    display: none;
  }
  body.ge-signin h1 { font-size: clamp(36px, 11vw, 44px); }
  body.ge-signin .rule { margin: 22px 0 18px; }
  body.ge-signin .lead { margin-bottom: 22px; font-size: 15px; }
  body.ge-signin input[type="email"],
  body.ge-signin input[type="password"],
  body.ge-signin input[type="text"] {
    height: 48px;
    font-size: 16px;
  }
  body.ge-signin .btn {
    height: 48px;
    margin-top: 12px;
  }
  body.ge-signin .forgot { min-height: 44px; }
  body.ge-signin .ge-access {
    padding:
      16px max(20px, env(safe-area-inset-right, 0px))
      max(18px, env(safe-area-inset-bottom, 0px))
      max(20px, env(safe-area-inset-left, 0px));
  }
  body.ge-signin .ge-access-inner {
    grid-template-columns: auto minmax(0, 1fr);
  }
  body.ge-signin .ge-access-session { grid-column: 1 / -1; }
}

@media (max-width: 959px) and (max-height: 700px) {
  body.ge-signin .ge-access {
    padding: 12px max(20px, env(safe-area-inset-right, 0px)) max(14px, env(safe-area-inset-bottom, 0px)) max(20px, env(safe-area-inset-left, 0px));
  }
  body.ge-signin .ge-access-copy p {
    font-size: 12px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  body.ge-signin .ge-access-mark { width: 36px; height: 36px; }
}

@media (max-width: 959px) and (max-height: 520px) {
  body.ge-signin .pane.copy {
    padding-top: max(16px, env(safe-area-inset-top));
    padding-bottom: max(16px, env(safe-area-inset-bottom));
  }
  body.ge-signin h1 { font-size: 32px; }
  body.ge-signin .rule { margin: 14px 0 12px; }
  body.ge-signin .lead { margin-bottom: 14px; }
}

@media (max-width: 360px) {
  body.ge-signin .pane.copy {
    padding-left: max(16px, env(safe-area-inset-left));
    padding-right: max(16px, env(safe-area-inset-right));
  }
}

@media print {
  body.ge-signin .ge-access { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  body.ge-signin .btn:active { transform: none; }
  body.ge-signin .btn,
  body.ge-signin .eye {
    transition: none;
  }
  body.ge-signin .ge-access-live { animation: none; }
}
