.access-shell {
  --access-ink: #20332f;
  --access-muted: #687a74;
  --access-line: #dce5df;
  --access-paper: #f2f5f1;
  --access-deep: #102a2c;
  --access-deep-2: #17393a;
  --access-green: #34765a;
  --access-mint: #cce3d3;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: var(--access-ink);
  background: var(--access-paper);
  font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
}

.access-shell *,
.access-shell *::before,
.access-shell *::after { box-sizing: border-box; }

.access-header {
  position: relative;
  z-index: 1;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 clamp(22px, 6vw, 88px);
  color: #f0f5f1;
  background: var(--access-deep);
  border-bottom: 1px solid rgba(215, 235, 224, .14);
}

.access-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

.access-brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(204, 227, 211, .45);
  border-radius: 9px 9px 9px 2px;
  color: var(--access-mint);
  font-size: 19px;
  font-weight: 800;
  line-height: 1;
}

.access-brand-name {
  color: #f1f5f2;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .16em;
}

.access-brand-name span { color: #a9c6b2; font-weight: 500; }
.access-header-note { color: #a8c0b6; font-size: 9px; font-weight: 700; letter-spacing: .17em; }

.access-main {
  width: min(100% - 48px, 1080px);
  flex: 1;
  margin: 0 auto;
  padding: clamp(54px, 8vh, 96px) 0 76px;
}

.access-intro { margin: 0 auto 52px; text-align: center; }
.access-eyebrow { color: var(--access-green); font-size: 10px; font-weight: 800; letter-spacing: .18em; }
.access-intro h1 {
  margin: 18px 0 13px;
  color: #183434;
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 650;
  letter-spacing: -.065em;
  line-height: 1.02;
}
.access-title-break { display: none; }
.access-intro > p { margin: 0; color: var(--access-muted); font-size: 15px; letter-spacing: .01em; }

.access-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.access-choice {
  min-height: 310px;
  display: flex;
  flex-direction: column;
  padding: clamp(26px, 3.2vw, 42px);
  border: 1px solid var(--access-line);
  border-radius: 12px;
  background: #fbfcfa;
  box-shadow: 0 15px 38px rgba(24, 53, 43, .045);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.access-choice:hover { transform: translateY(-3px); border-color: #a9c6b3; box-shadow: 0 20px 46px rgba(24, 53, 43, .09); }
.access-choice-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.access-choice-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #d6eadb;
  background: var(--access-deep-2);
}
.access-choice-plant .access-choice-icon { color: #173c31; background: #d8e9dc; }
.access-icon { display: block; width: 24px; height: 24px; }
.access-choice-index { color: #84938c; font-size: 9px; font-weight: 750; letter-spacing: .14em; }
.access-choice-copy { margin: auto 0 25px; padding-top: 36px; }
.access-choice-copy h2 { margin: 0 0 10px; color: #1c3532; font-size: clamp(21px, 2.5vw, 28px); letter-spacing: -.045em; }
.access-choice-copy p { max-width: 420px; margin: 0; color: #697b73; font-size: 13px; line-height: 1.7; }

.access-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 17px;
  border: 1px solid var(--access-deep);
  border-radius: 6px;
  color: #f5f8f5;
  background: var(--access-deep);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color .18s ease, border-color .18s ease, transform .18s ease;
}
.access-choice > .access-button { width: 100%; }
.access-button .access-icon { width: 18px; height: 18px; }
.access-button:hover { border-color: #2d654b; background: #2d654b; }
.access-button:active { transform: translateY(1px); }
.access-shell a:focus-visible,
.access-shell button:focus-visible,
.access-shell input:focus-visible {
  outline: 3px solid #77ad82;
  outline-offset: 3px;
}
.access-button:disabled { opacity: .65; cursor: wait; }

.access-footer {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 clamp(22px, 6vw, 88px);
  border-top: 1px solid #dce5df;
  color: #7f9087;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .13em;
}

.access-entry {
  background:
    radial-gradient(ellipse at 50% 10%, rgba(215, 233, 218, .55), transparent 38%),
    var(--access-paper);
}
.access-entry-main {
  width: min(100% - 40px, 650px);
  flex: 1;
  margin: 0 auto;
  padding: clamp(50px, 8vh, 90px) 0 76px;
}
.access-entry-heading { margin: 0 auto 34px; text-align: center; }
.access-entry-heading h1 {
  margin: 13px 0 9px;
  color: #183434;
  font-size: clamp(34px, 5vw, 49px);
  font-weight: 650;
  letter-spacing: -.06em;
  line-height: 1.08;
}
.access-entry-heading p { margin: 0; color: var(--access-muted); font-size: 14px; line-height: 1.65; }
.access-entry-panel {
  padding: clamp(24px, 5vw, 42px);
  border: 1px solid #dce5df;
  border-radius: 12px;
  background: #fbfcfa;
  box-shadow: 0 18px 48px rgba(24, 53, 43, .065);
}
.access-code-form label { display: block; margin: 0 0 8px; color: #304740; font-size: 13px; font-weight: 750; }
.access-help { margin: 0 0 17px; color: #728079; font-size: 12px; line-height: 1.65; }
.access-code-control { display: flex; align-items: stretch; gap: 10px; }
.access-code-control input {
  min-width: 0;
  min-height: 50px;
  flex: 1;
  padding: 0 14px;
  border: 1px solid #cdd9d1;
  border-radius: 6px;
  color: #1e3430;
  background: #fff;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 13px;
  letter-spacing: .045em;
}
.access-code-control input:disabled { color: #78847e; background: #f0f3f0; }
.access-code-control .access-button { white-space: nowrap; }
.access-entry-message { min-height: 20px; margin-top: 11px; color: #54715e; font-size: 12px; line-height: 1.55; }
.access-entry-message[data-kind="error"] { color: #a34136; }
.access-entry-message[data-kind="pending"] { color: #687a74; }
.access-entry-message[data-kind="success"] { color: #34765a; }
.access-company-confirmed {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 6px;
  padding: 15px 0;
  border-top: 1px solid #e4ebe5;
  border-bottom: 1px solid #e4ebe5;
}
.access-company-confirmed > .access-icon { flex: 0 0 auto; width: 35px; height: 35px; padding: 8px; border-radius: 50%; color: #356d50; background: #e1eee2; }
.access-company-confirmed div { display: grid; gap: 4px; }
.access-company-confirmed div span { color: #809187; font-size: 9px; font-weight: 800; letter-spacing: .14em; }
.access-company-confirmed strong { color: #263b34; font-size: 15px; font-weight: 700; }
.access-session-result:empty, .access-operator-host:empty { display: none; }
.access-continue-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 16px;
  padding: 14px 15px;
  border: 1px solid #b9d2c0;
  border-radius: 6px;
  color: #28563d;
  background: #edf5ed;
  font-size: 12px;
  line-height: 1.5;
  text-decoration: none;
}
.access-continue-link:hover { border-color: #79a984; background: #e5f0e5; }
.access-continue-link strong { font-weight: 750; }
.access-continue-link .access-icon { width: 18px; height: 18px; flex: 0 0 auto; }
.access-operator-host { margin-top: 18px; }
.access-login-child { padding-top: 3px; }
.access-no-operators, .access-inline-error { margin: 0; padding: 10px 0 0; color: #687a74; font-size: 12px; line-height: 1.65; }
.access-inline-error { color: #a34136; }

.access-login-child :is(label) { display: block; margin: 13px 0 7px; color: #475a51; font-size: 12px; font-weight: 650; }
.access-login-child :is(input, select) {
  width: 100%;
  min-height: 47px;
  padding: 0 13px;
  border: 1px solid #d2ddd5;
  border-radius: 6px;
  color: #243a32;
  background: #fff;
}
.access-login-child :is(input, select):focus-visible { outline: 3px solid #77ad82; outline-offset: 2px; }
.access-login-child :is(button, input[type="submit"]) {
  min-height: 48px;
  margin-top: 19px;
  padding: 0 17px;
  border: 1px solid var(--access-deep);
  border-radius: 6px;
  color: #f5f8f5;
  background: var(--access-deep);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
}
.access-login-child :is(button, input[type="submit"]):hover { background: #2d654b; }
.access-login-child :is(button, input[type="submit"]):focus-visible { outline: 3px solid #77ad82; outline-offset: 3px; }
.access-login-child :is(button, input[type="submit"]):disabled { opacity: .6; cursor: wait; }
.access-login-child :is(p, .muted) { color: #687a74; font-size: 12px; line-height: 1.6; }

@media (max-width: 700px) {
  .access-header { min-height: 66px; padding: 0 20px; }
  .access-header-note { font-size: 8px; letter-spacing: .1em; }
  .access-main { width: min(100% - 36px, 500px); padding: 54px 0 58px; }
  .access-intro { margin-bottom: 34px; }
  .access-title-break { display: initial; }
  .access-choice-grid { grid-template-columns: 1fr; gap: 14px; }
  .access-choice { min-height: 270px; padding: 25px; }
  .access-choice-copy { padding-top: 29px; }
  .access-footer { min-height: 50px; padding: 0 20px; font-size: 8px; letter-spacing: .08em; }
  .access-entry-main { width: min(100% - 32px, 520px); padding: 48px 0 56px; }
  .access-entry-heading { margin-bottom: 27px; }
}

@media (max-width: 480px) {
  .access-brand { gap: 9px; }
  .access-brand-mark { width: 32px; height: 32px; font-size: 17px; }
  .access-brand-name { font-size: 10px; letter-spacing: .13em; }
  .access-header-note { max-width: 112px; text-align: right; line-height: 1.5; }
  .access-intro h1 { font-size: 44px; }
  .access-intro > p { font-size: 13px; }
  .access-choice { min-height: 260px; }
  .access-choice-copy h2 { font-size: 23px; }
  .access-entry-panel { padding: 22px 18px; }
  .access-code-control { flex-direction: column; }
  .access-code-control .access-button { justify-content: center; }
  .access-footer { align-items: flex-start; flex-direction: column; justify-content: center; gap: 4px; padding-top: 10px; padding-bottom: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .access-shell *,
  .access-shell *::before,
  .access-shell *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
