#topbar {
  border-bottom: 1px solid #e5e7ee;
  background: #fff;
}

#topbar .bar {
  height: 66px;
}

#topbar .brand {
  gap: 10px;
  color: #242348;
  font: 700 19px/1 var(--sans);
  letter-spacing: 0.015em;
}

.room-mark {
  position: relative;
  display: inline-block;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: #343372;
}

.room-mark::before,
.room-mark::after {
  position: absolute;
  content: '';
  height: 14px;
  width: 7px;
  top: 8px;
  border-radius: 1px;
}

.room-mark::before {
  left: 7px;
  background: #fff;
  transform: skewY(17deg);
}

.room-mark::after {
  left: 16px;
  background: #b7bbff;
  transform: skewY(-17deg);
}

#topbar .bar-label,
#topbar .bar-actions .link {
  color: #595b72;
}

#topbar .bar-actions .link:hover {
  background: #f3f3fa;
}

body:has(.access-panel),
body:has(.gate.simple) {
  background: #f6f7fb;
}

.access-panel {
  width: min(1056px, calc(100% - 80px));
  min-height: clamp(450px, 61vh, 560px);
  margin: clamp(48px, 10vh, 100px) auto 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid #dedfe9;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 16px 48px -26px #29284238;
  color: #202137;
}

.access-copy {
  align-self: center;
  width: 100%;
  max-width: 510px;
  margin: 0 auto;
  padding: clamp(42px, 5vw, 74px);
}

.access-copy h1,
.gate.simple h1 {
  color: #24253e;
  font-family: var(--sans);
  font-weight: 650;
  letter-spacing: -0.055em;
}

.access-copy h1 {
  font-size: clamp(32px, 3.3vw, 44px);
  line-height: 1.25;
}

.access-copy .subtitle,
.gate.simple .subtitle {
  margin-top: 13px;
  color: #646576;
  font-size: 15px;
  line-height: 1.8;
}

.access-copy .stack {
  margin-top: 35px;
  gap: 17px;
}

.access-copy .field {
  gap: 9px;
}

.access-copy .field-name {
  color: #25253f;
  font-size: 14px;
  font-weight: 600;
}

.access-copy .pw-control {
  min-height: 51px;
  gap: 10px;
  padding: 0 7px 0 14px;
  border: 1px solid #cfd1df;
  border-radius: 10px;
  transition: border-color 120ms ease, box-shadow 120ms ease;
}

.access-copy .pw-control:focus-within {
  border-color: #6661c7;
  box-shadow: 0 0 0 3px #e6e5fb;
}

.access-copy .pw-control > svg {
  width: 17px;
  height: 17px;
  color: #777991;
}

.access-copy .pw-control input {
  padding: 10px 0;
  outline: none;
  font-size: 16px;
}

.access-copy .pw-control input::placeholder {
  color: #757789;
}

.access-copy .pw-control .btn {
  color: #595879;
  border-radius: 6px;
}

.access-copy .pw-control .btn:hover {
  background: #f1f0fa;
}

.access-copy .btn.primary {
  min-height: 51px;
  justify-content: center;
  gap: 10px;
  border: none;
  border-radius: 10px;
  color: #fff;
  background: #45409a;
  font-size: 15px;
}

.access-copy .btn.primary:hover {
  background: #36317e;
}

.access-panel button:focus-visible,
#topbar a:focus-visible {
  outline-color: #625cc1;
}

.access-art {
  background-color: #494290;
  background-image: url('/review-cover.webp'),
    radial-gradient(ellipse at 14% 88%, #aca8ef 0, #817cc4 24%, transparent 53%),
    linear-gradient(135deg, #7773b6 0%, #464078 50%, #252348 100%);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.gate.simple {
  border-color: #dfe1ea;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 16px 48px -30px #29284236;
}

.gate.simple .emblem {
  color: #4b458e;
  background: #eeedfa;
}

@media (max-width: 760px) {
  .access-panel {
    width: calc(100% - 48px);
    grid-template-columns: 1.2fr 1fr;
    min-height: 395px;
  }

  .access-copy {
    padding: 35px 26px;
  }
}

@media (max-width: 600px) {
  #topbar .bar {
    height: 56px;
    padding-inline: 20px;
  }

  #topbar .brand {
    font-size: 17px;
  }

  .access-panel {
    width: calc(100% - 32px);
    max-width: 460px;
    min-height: 0;
    margin: 28px auto;
    grid-template-columns: minmax(0, 1fr);
    border-radius: 17px;
  }

  .access-copy {
    padding: 30px 25px;
  }

  .access-copy h1 {
    font-size: 29px;
  }

  .access-copy .stack {
    margin-top: 24px;
  }

  .access-art {
    min-height: clamp(115px, 33vw, 162px);
    background-position: center 58%;
  }
}
