@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
  src: url("/media/fonts/dm-sans-latin-468d56b6b25b.woff2") format("woff2");
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/media/fonts/manrope-latin-e310b55a7fd9.woff2") format("woff2");
}

:root {
  font-family: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: #102b3b;
  background: #f3f7f8;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  --admin-ink: #102b3b;
  --admin-muted: #617b86;
  --admin-line: #dce8ed;
  --admin-gradient: linear-gradient(125deg, #3edbc5, #3c8ef2);
  --admin-gradient-dark: linear-gradient(112deg, #072d42, #0a455b 58%, #08747b);
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 280px; }
button, input { font: inherit; }
button:disabled, input:disabled { cursor: not-allowed; }
button:disabled { -webkit-text-fill-color: currentColor; }
svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.admin-access-shell {
  width: min(1100px, 100%);
  min-height: 100svh;
  margin: 0 auto;
  padding: 40px 28px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.preview-note {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin: 0 3px 16px;
  font-size: 12px;
  line-height: 1.5;
  color: #627780;
}
.preview-note > span { width: 6px; height: 6px; flex: 0 0 6px; border-radius: 50%; background: #809aa5; }

.login-layout {
  display: grid;
  grid-template-columns: 0.94fr 1.06fr;
  min-height: 612px;
  border: 1px solid #e0eaee;
  border-radius: 26px;
  background: white;
  overflow: hidden;
  box-shadow: 0 24px 70px #123c5010, 0 4px 14px #123c5005;
}

.brand-panel {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  padding: 43px 42px 33px;
  overflow: hidden;
  color: white;
  background: var(--admin-gradient-dark);
}

.brand-lockup { display: flex; align-items: center; gap: 12px; }
.brand-lockup img { display: block; flex: 0 0 46px; border-radius: 12px; }
.brand-lockup div { display: flex; flex-direction: column; gap: 5px; }
.brand-lockup strong { font-family: "Manrope", sans-serif; font-size: 20px; font-weight: 800; letter-spacing: .035em; line-height: 1.2; }
.brand-lockup span { color: #67dfd0; font-size: 9px; font-weight: 700; letter-spacing: .2em; }

.brand-message { position: relative; z-index: 1; margin: auto 0; padding: 68px 0 75px; }
.eyebrow { font-size: 10px; font-weight: 700; letter-spacing: .14em; color: #80d7d6; }
h1 { margin: 18px 0 21px; font: 700 clamp(36px, 3.5vw, 46px)/1.18 "Manrope", sans-serif; letter-spacing: -.045em; }
.brand-message p { margin: 0; font-size: 16px; line-height: 1.7; color: #bfd5df; }
.brand-bottom { position: relative; z-index: 1; }
.brand-line { display: block; width: 38px; height: 3px; margin-bottom: 19px; border-radius: 3px; background: var(--admin-gradient); }
.brand-bottom p { display: flex; align-items: center; gap: 12px; margin: 0; font-size: 11px; color: #c0d7df; }
.brand-bottom p span { color: #548a9b; }

.architectural-lines { position: absolute; z-index: -1; width: 290px; height: 350px; right: -145px; bottom: -62px; transform: rotate(-28deg); }
.architectural-lines i { position: absolute; inset: 0; border: 1px solid #6ee9dc25; border-radius: 86px; }
.architectural-lines i:nth-child(2) { inset: 25px; }
.architectural-lines i:nth-child(3) { inset: 50px; background: #6ee9dc05; }

.access-panel { display: flex; align-items: center; justify-content: center; padding: 52px 48px; }
.access-content { width: 100%; max-width: 344px; }
.access-label { display: block; color: #167f91; font-size: 10px; font-weight: 700; letter-spacing: .12em; }
.access-heading h2 { margin: 12px 0 9px; font: 800 27px/1.3 "Manrope", sans-serif; letter-spacing: -.035em; }
.access-heading p { margin: 0; color: var(--admin-muted); font-size: 14px; line-height: 1.6; }
.access-fields { margin-top: 32px; }
.field + .field { margin-top: 21px; }
.field label { display: block; margin-bottom: 9px; font-size: 13px; font-weight: 600; color: #264555; }
.input-wrap { position: relative; }
.input-wrap > svg { position: absolute; width: 18px; height: 18px; left: 16px; top: 17px; color: #7a929e; pointer-events: none; }
.field input { display: block; width: 100%; height: 53px; border: 1px solid #dce6eb; border-radius: 12px; padding: 0 16px 0 44px; background: #f9fbfc; color: #7b919d; font-size: 14px; outline: none; opacity: 1; }
.field input::placeholder { color: #8599a4; opacity: 1; -webkit-text-fill-color: #8599a4; }
.recovery-row { display: flex; justify-content: flex-end; margin: 15px 0 25px; }
.recovery-button { padding: 0; border: 0; background: none; color: #3e7486; font-size: 12px; line-height: 1.5; }
.admin-primary { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 53px; padding: 12px 18px; border: 0; border-radius: 12px; background: var(--admin-gradient); color: #082536; font-size: 14px; font-weight: 700; box-shadow: 0 7px 18px #2a9abf26; }
.enter-button { width: 100%; }
.enter-button:disabled { opacity: .55; }
.enter-button > svg { width: 18px; height: 18px; }
.team-note { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 26px 0 0; color: #7b8f99; font-size: 10px; line-height: 1.5; text-align: center; }
.team-note svg { width: 13px; height: 13px; flex: 0 0 13px; }
.page-footer { display: flex; justify-content: space-between; gap: 20px; margin: 21px 4px 0; color: #83959e; font-size: 11px; line-height: 1.5; }
.page-footer span:last-child { color: #517b88; }

@media (max-width: 900px) and (min-width: 681px) {
  .brand-panel { padding: 35px 28px 30px; }
  .brand-lockup strong { font-size: 17px; }
  .access-panel { padding: 42px 30px; }
  .access-heading h2 { font-size: 24px; }
  .brand-bottom p { gap: 8px; font-size: 10px; }
}

@media (max-width: 680px) {
  .admin-access-shell { padding: 22px 18px 22px; justify-content: flex-start; }
  .preview-note { justify-content: center; font-size: 10px; margin-bottom: 13px; gap: 6px; }
  .login-layout { grid-template-columns: 1fr; min-height: 0; border-radius: 22px; }
  .brand-panel { padding: 26px 27px 28px; }
  .brand-lockup { gap: 10px; }
  .brand-lockup img { width: 38px; height: 38px; flex-basis: 38px; border-radius: 10px; }
  .brand-lockup strong { font-size: 18px; }
  .brand-lockup span { font-size: 8px; }
  .brand-message { padding: 26px 0 0; margin: 0; }
  .eyebrow { display: none; }
  h1 { font-size: 29px; margin: 0 0 12px; line-height: 1.2; }
  h1 br { display: none; }
  .brand-message p { font-size: 13px; line-height: 1.6; max-width: 250px; }
  .desktop-break { display: none; }
  .brand-bottom { display: none; }
  .architectural-lines { right: -138px; bottom: -150px; }
  .access-panel { padding: 29px 27px 30px; }
  .access-label { font-size: 9px; }
  .access-heading h2 { font-size: 23px; margin-top: 9px; }
  .access-heading p { font-size: 13px; }
  .access-fields { margin-top: 25px; }
  .field + .field { margin-top: 19px; }
  .field label { font-size: 12px; }
  .field input { font-size: 16px; }
  .recovery-row { margin: 14px 0 23px; }
  .recovery-button { font-size: 11px; }
  .team-note { margin-top: 21px; font-size: 9px; gap: 5px; }
  .page-footer { margin: 17px 3px 0; font-size: 9px; gap: 10px; }
}

@media (max-width: 350px) {
  .admin-access-shell { padding-inline: 12px; }
  .brand-panel, .access-panel { padding-inline: 22px; }
  .brand-lockup strong { font-size: 16px; }
  h1 { font-size: 27px; }
  .access-heading h2 { font-size: 21px; }
}

/* Actual access screens share the approved preview; behavior lives in the separate script. */
.preview-note { display: none; }
.access-form { margin: 0; }
.access-form fieldset { margin: 32px 0 0; padding: 0; border: 0; min-width: 0; }
.access-form legend.sr-only, .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.action-space { height: 24px; }
.input-wrap input:not(:disabled) { background: #fff; color: #102b3b; }
.input-wrap input:not(:disabled):focus { border-color: #129aa6; box-shadow: 0 0 0 3px #18a8b326; }
a:focus-visible, button:focus-visible { outline: 2px solid #078c9d; outline-offset: 3px; }
.admin-primary:not(:disabled) { cursor: pointer; }
.admin-primary:not(:disabled):hover { box-shadow: 0 9px 22px #1d80a52e; }
.recovery-link, .back-link { color: #226b80; font-size: 12px; text-decoration: none; text-underline-offset: 4px; }
.recovery-link:hover, .back-link:hover { text-decoration: underline; }
.back-row { margin: 23px 0 0; text-align: center; }
.back-link { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; }
.back-link svg { width: 15px; height: 15px; }
.access-feedback { margin: 20px 0 0; border: 1px solid #efc9c4; border-radius: 12px; padding: 12px 14px; color: #8c332d; background: #fff6f4; font-size: 13px; line-height: 1.5; overflow-wrap: anywhere; }
.access-feedback[hidden], .access-status[hidden] { display: none; }
.access-status { margin: 18px 0 0; color: #245f6c; font-size: 13px; line-height: 1.6; }
.field-help { color: #617b86; font-size: 12px; line-height: 1.5; margin: 11px 0 0; }
.access-progress { display: block; margin: 12px 0 0; min-height: 18px; color: #617b86; font-size: 11px; line-height: 1.5; text-align: center; }
.access-noscript { margin-top: 18px; border: 1px solid #e7d6b6; border-radius: 12px; padding: 12px 14px; color: #74572a; background: #fffaf0; font-size: 13px; line-height: 1.5; }
.access-signed-out { display: grid; place-items: center; width: 52px; height: 52px; margin: 0 0 23px; color: #167c81; background: #e9f9f5; border: 1px solid #d4eee7; border-radius: 15px; }
.access-signed-out svg { width: 25px; height: 25px; }
.signed-out-action { margin-top: 30px; text-decoration: none; }
@media (max-width: 680px) { .access-form fieldset { margin-top: 25px; } .field-help { font-size: 11px; } .access-feedback, .access-status { font-size: 12px; } }
