.agenda-gate {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 76% 32%, rgba(87, 150, 140, .34), transparent 28%),
    linear-gradient(122deg, #061923, #0e3448 56%, #28534e);
}

.agenda-gate-pattern {
  position: absolute;
  inset: 0 0 0 48%;
  opacity: .12;
  background-image:
    linear-gradient(rgba(255, 255, 255, .18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .18) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, transparent, #000 30%);
}

.agenda-gate-glass {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, .24);
  background: linear-gradient(135deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .02));
  box-shadow: inset 0 0 55px rgba(255, 255, 255, .04), 0 32px 80px rgba(0, 0, 0, .16);
  transform: rotate(-7deg);
}

.agenda-gate-glass-a {
  width: 340px;
  height: 340px;
  top: 20%;
  right: 10%;
}

.agenda-gate-glass-b {
  width: 250px;
  height: 250px;
  right: -10px;
  bottom: 3%;
  opacity: .55;
  transform: rotate(6deg);
}

.agenda-gate-header {
  position: relative;
  z-index: 3;
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
  border-bottom: 1px solid rgba(255, 255, 255, .16);
}

.agenda-gate-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: #fff;
  text-decoration: none;
}

.agenda-gate-brand .brand-symbol {
  color: rgba(255, 255, 255, .9);
}

.agenda-gate-brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.4;
}

.agenda-gate-brand-copy small {
  color: rgba(255, 255, 255, .64);
  font-size: .64rem;
}

.agenda-gate-brand-copy strong {
  font-family: "Noto Serif JP", "Yu Mincho", serif;
  font-size: 1rem;
  letter-spacing: .06em;
}

.agenda-gate-back {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 7px 11px;
  color: rgba(255, 255, 255, .82);
  border: 1px solid transparent;
  border-radius: 5px;
  font-size: .78rem;
  font-weight: 700;
  text-decoration: none;
}

.agenda-gate-back:hover,
.agenda-gate-back:focus-visible {
  color: #fff;
  border-color: rgba(255, 255, 255, .32);
  background: rgba(255, 255, 255, .07);
  outline: none;
}

.agenda-gate-layout {
  position: relative;
  z-index: 2;
  min-height: calc(100vh - 88px);
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr);
  gap: clamp(60px, 9vw, 130px);
  align-items: center;
  padding-block: 76px 96px;
}

.agenda-gate-intro {
  position: relative;
  max-width: 620px;
}

.agenda-gate-label,
.agenda-gate-panel-label {
  margin: 0 0 14px;
  color: #d0b476;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .16em;
}

.agenda-gate-intro h1 {
  margin: 0;
  font-family: "Noto Serif JP", "Yu Mincho", serif;
  font-size: clamp(3.5rem, 7.2vw, 6.4rem);
  line-height: 1.22;
  letter-spacing: .07em;
}

.agenda-gate-intro > p:not(.agenda-gate-label) {
  max-width: 520px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, .7);
  line-height: 2;
}

.agenda-gate-mark {
  position: relative;
  width: 92px;
  height: 92px;
  margin-top: 46px;
  color: rgba(255, 255, 255, .5);
}

.agenda-gate-mark i {
  position: absolute;
  width: 64px;
  height: 64px;
  border: 1px solid currentColor;
}

.agenda-gate-mark i:first-child {
  top: 0;
  left: 0;
  background: rgba(167, 211, 213, .08);
}

.agenda-gate-mark i:last-child {
  right: 0;
  bottom: 0;
  background: rgba(49, 93, 84, .12);
}

.agenda-gate-panel {
  padding: 38px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-top: 3px solid #c5a567;
  background: rgba(5, 25, 34, .46);
  box-shadow: 0 28px 76px rgba(0, 0, 0, .2);
  backdrop-filter: blur(18px);
}

.agenda-gate-panel h2 {
  margin: 0;
  font-family: "Noto Serif JP", "Yu Mincho", serif;
  font-size: clamp(1.55rem, 2.6vw, 2.05rem);
  line-height: 1.45;
  letter-spacing: .03em;
  white-space: nowrap;
}

.agenda-gate-description {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, .64);
  font-size: .86rem;
}

.agenda-gate-form {
  display: grid;
  gap: 12px;
  margin-top: 30px;
}

.agenda-gate-form > label {
  color: rgba(255, 255, 255, .82);
  font-size: .78rem;
  font-weight: 700;
}

.agenda-gate-form input {
  width: 100%;
  min-height: 56px;
  padding: 12px 54px 12px 15px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 5px;
  background: rgba(255, 255, 255, .07);
  outline: none;
}

.agenda-gate-form input:focus {
  border-color: rgba(216, 194, 147, .85);
  box-shadow: 0 0 0 3px rgba(216, 194, 147, .12);
}

.agenda-gate-form .password-toggle {
  color: rgba(255, 255, 255, .82) !important;
}

.agenda-gate-form .password-toggle:hover,
.agenda-gate-form .password-toggle:focus-visible {
  background: rgba(255, 255, 255, .08) !important;
}

.agenda-gate-button {
  min-height: 56px;
  margin-top: 4px;
  color: #102c40;
  border: 1px solid #fff;
  border-radius: 5px;
  background: #fff;
  font-weight: 700;
  cursor: pointer;
}

.agenda-gate-button:hover,
.agenda-gate-button:focus-visible {
  color: #fff;
  border-color: #315d54;
  background: #315d54;
  outline: 3px solid rgba(255, 255, 255, .12);
  outline-offset: 2px;
}

.agenda-gate-message {
  min-height: 1.7em;
  margin: 3px 0 0;
  color: #ffd3d3;
  font-size: .78rem;
}

.agenda-gate-message.is-success {
  color: #c9e4db;
}

.agenda-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.agenda-header-actions .back-link {
  margin-left: 0;
}

.agenda-logout {
  min-height: 42px;
  padding: 7px 12px;
  color: #315d54;
  border: 1px solid rgba(49, 93, 84, .4);
  border-radius: 5px;
  background: #fff;
  font-size: .78rem;
  font-weight: 700;
  cursor: pointer;
}

.agenda-logout:hover,
.agenda-logout:focus-visible {
  color: #fff;
  border-color: #315d54;
  background: #315d54;
  outline: none;
}

@media (max-width: 760px) {
  .agenda-gate-header,
  .agenda-gate-layout {
    width: min(100% - 32px, 1120px);
  }

  .agenda-gate-header {
    min-height: 74px;
  }

  .agenda-gate-brand-copy small {
    display: none;
  }

  .agenda-gate-brand-copy strong {
    font-size: .78rem;
    letter-spacing: .02em;
    white-space: nowrap;
  }

  .agenda-gate-back {
    min-height: 48px;
    padding-inline: 8px;
    white-space: nowrap;
  }

  .agenda-gate-layout {
    min-height: calc(100vh - 74px);
    grid-template-columns: 1fr;
    gap: 42px;
    padding-block: 56px 72px;
  }

  .agenda-gate-intro h1 {
    font-size: clamp(2.8rem, 14vw, 4.4rem);
  }

  .agenda-gate-intro > p:not(.agenda-gate-label) {
    margin-top: 20px;
  }

  .agenda-gate-mark {
    display: none;
  }

  .agenda-gate-panel {
    padding: 30px 22px;
  }

  .agenda-gate-panel h2 {
    font-size: clamp(1.35rem, 6vw, 1.65rem);
    letter-spacing: .01em;
  }

  .agenda-gate-glass-a {
    right: -210px;
  }

  .agenda-gate-glass-b {
    display: none;
  }

  .agenda-header-actions {
    gap: 4px;
  }

  .agenda-header-actions .back-link,
  .agenda-logout {
    min-height: 44px;
    padding-inline: 7px;
    font-size: .68rem;
    white-space: nowrap;
  }
}

@media print {
  .agenda-gate,
  .agenda-logout {
    display: none !important;
  }
}

