@font-face {
  font-family: Poppins;
  src: url("/static/poppins-latin-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Poppins;
  src: url("/static/poppins-latin-600.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

:root { font-family: Poppins, system-ui, sans-serif; color: #102f38; background: #f4f7f5; }
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
button, input { font: inherit; }
[hidden] { display: none !important; }
.auth-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  min-height: 100vh;
  min-height: 100svh;
}
.brand-panel {
  --side: clamp(32px, 4.5vw, 76px);
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: min(680px, 100svh);
  color: white;
  background: radial-gradient(ellipse at 72% 48%, #052c36, transparent 60%), #021c25;
}
.brand-row {
  grid-area: 1 / 1;
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 1;
  margin: var(--side) var(--side) 0;
}
.brand-logo { display: block; width: clamp(65px, 5.5vw, 88px); height: auto; }
.brand-context { display: grid; gap: 2px; border-left: 1px solid #6b999f; padding-left: 16px; line-height: 1.45; }
.brand-context strong { font-size: .875rem; font-weight: 600; }
.brand-context span { color: #d0e8ef; font-size: .75rem; }
h1 {
  grid-area: 2 / 1; z-index: 1;
  margin: clamp(34px, 8svh, 96px) var(--side) 0;
  font-weight: 600; font-size: clamp(3.25rem, 5.85vw, 6.1rem); letter-spacing: -.065em; line-height: 1.01;
}
h1 span { display: block; color: #ffb14c; }
.brand-art {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  display: block; min-width: 0; min-height: 0;
}
.brand-art img {
  position: absolute; inset: 0 0 0 auto; display: block;
  height: 100%; width: 100%;
  object-fit: contain; object-position: right bottom;
}
/* Soften the empty background near the copy while preserving the complete illustration. */
.brand-art::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(91deg, #021c257d, transparent 43%);
}
.access-panel {
  display: grid; justify-items: center; align-content: center; min-width: 0;
  padding: 40px clamp(24px, 4.3vw, 74px);
  background: radial-gradient(ellipse at 99% 100%, #fff0db, transparent 56%), linear-gradient(145deg, #e8f3f1, #f9f8f6 65%);
}
.access-card { width: min(100%, 444px); padding: clamp(26px, 2.9vw, 44px); background: white; border: 1px solid white; border-radius: 20px; box-shadow: 0 24px 64px -22px #07384638, 0 3px 11px #17333109; }
.lock-mark { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 16px; border-radius: 12px; color: #875000; background: linear-gradient(150deg, #fff5e6, #ffe4bb); }
.lock-mark svg { width: 22px; height: 22px; }
h2 { margin: 0; color: #102f38; font-size: clamp(1.55rem, 2.1vw, 2rem); font-weight: 600; line-height: 1.18; letter-spacing: -.045em; }
.description, .invite p { margin: 10px 0 0; color: #52656a; font-size: .875rem; line-height: 1.58; }
form { display: grid; gap: 17px; margin-top: 23px; }
.field { display: grid; gap: 6px; }
.field label { font-size: .875rem; font-weight: 600; }
.input-wrap {
  display: flex; align-items: center; min-width: 0; min-height: 49px; gap: 0;
  border: 1px solid #aabcc0; border-radius: 9px; background: white;
}
.input-wrap:focus-within { border-color: #00516c; outline: 2px solid #00516c; outline-offset: 1px; }
.field-icon { display: grid; flex: 0 0 37px; padding-left: 12px; place-items: center; color: #486771; }
.field-icon svg, .submit svg { width: 18px; height: 18px; }
.field input { outline: 0; border: 0; width: 100%; min-width: 0; min-height: 47px; padding: 10px 12px 10px 4px; border-radius: 9px; color: #14333b; background: transparent; font-size: 1rem; line-height: 1.35; }
.field input::placeholder { color: #64777d; opacity: 1; }
.eye-toggle { display: grid; flex: 0 0 42px; place-items: center; min-height: 42px; margin-right: 2px; padding: 0; border: 0; border-radius: 6px; background: transparent; color: #496871; cursor: pointer; }
.eye-toggle:hover { background: #edf6f7; }
.eye-toggle svg { width: 20px; height: 20px; }
.eye-slash { display: none; }
.eye-toggle[aria-pressed="true"] .eye-slash { display: block; }
.field-hint { font-size: .8125rem; color: #52656a; line-height: 1.5; }
a { color: #00516c; text-underline-offset: 3px; }
.forgot { justify-self: end; display: inline-flex; align-items: center; min-height: 34px; font-size: .8125rem; font-weight: 600; }
.submit { display: flex; justify-content: center; align-items: center; gap: 9px; width: 100%; min-height: 49px; border: 0; border-radius: 9px; padding: 12px 16px; font-weight: 600; background: #ff9700; color: #192b30; cursor: pointer; }
.submit:hover { background: #ffad36; }
button:focus-visible, a:focus-visible { outline: 2px solid #00516c; outline-offset: 3px; }
.session-note { display: flex; justify-content: center; align-items: flex-start; gap: 7px; margin: 18px 0 0; color: #51656b; font-size: .75rem; line-height: 1.5; }
.session-note svg { width: 15px; height: 15px; flex: 0 0 15px; margin-top: 1px; color: #00516c; }
.invite { margin-top: 19px; padding-top: 15px; border-top: 1px solid #e2ebec; }
.invite a { font-size: .875rem; font-weight: 600; }
.invite p { font-size: .8125rem; margin-top: 5px; }
.invite-ready, .success, .error { padding: 11px 13px; margin: 0; border-radius: 8px; font-size: .875rem; line-height: 1.5; }
.invite-ready, .success { color: #17534a; background: #e9f4f0; }
.success { margin-top: 15px; }
.error { background: #fbece5; color: #8b321d; }
h2 + .error, .description + .error { margin-top: 14px; }
.invite-file { margin-top: -7px; }
.invite-file button { border: 1px solid #a7bec0; border-radius: 8px; padding: 6px 10px; font: inherit; font-size: .82rem; background: #f5f9f9; color: #00515c; cursor: pointer; }
.invite-file .field-hint { display: block; margin-top: 5px; }

@media (min-width: 851px) and (max-width: 1050px) {
  .brand-panel { --side: clamp(26px, 3.8vw, 40px); }
  .access-panel { padding-inline: clamp(19px, 3.2vw, 34px); }
}
@media (max-width: 850px) {
  .auth-shell { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; }
  .brand-panel {
    --side: clamp(18px, 5vw, 36px);
    min-height: clamp(212px, 34vw, 274px);
    background: radial-gradient(ellipse at 84% 75%, #052e38, transparent 60%), #021c25;
  }
  .brand-row { grid-area: 1 / 1 / 2 / 3; gap: 12px; margin-top: 20px; }
  .brand-logo { width: 63px; }
  .brand-context { padding-left: 12px; }
  .brand-context strong { font-size: .8rem; }
  .brand-context span { font-size: .68rem; }
  h1 { margin: clamp(21px, 5vw, 38px) 0 22px var(--side); font-size: clamp(2.25rem, 7.9vw, 3.75rem); }
  .brand-art { left: 21%; }
  .brand-art::after { background: linear-gradient(90deg, #021c25 0%, #021c2590 12%, transparent 36%); }
  .access-panel { align-content: start; padding: 24px 16px 38px; }
  .access-card { padding: clamp(23px, 5vw, 34px); }
}
@media (max-height: 550px) and (min-width: 851px) {
  .brand-panel { --side: 27px; }
  h1 { margin-top: 25px; }
  .access-panel { padding-block: 22px; }
}
