.access-page {
  display: grid;
  min-height: 100vh;
  min-height: 100dvh;
  place-items: center;
  padding: clamp(22px, 5vw, 60px) 16px;
}

.access-shell {
  width: min(100%, 460px);
}

.access-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: 0 12px 36px rgb(23 23 20 / 7%);
}

.access-brand {
  display: grid;
  place-items: center;
  padding: 12px;
  border-bottom: 3px solid var(--gold);
  background: #000;
}

.access-brand img {
  width: 112px;
  height: auto;
  object-fit: contain;
}

.access-content {
  padding: clamp(21px, 6vw, 34px);
}

.access-content h1 {
  font-size: clamp(2.55rem, 8vw, 3.35rem);
  line-height: 1;
}

.access-intro {
  margin: 10px 0 19px;
  color: var(--muted);
}

.access-form {
  display: grid;
  gap: 7px;
}

.access-form label {
  font-weight: 700;
}

.access-form input {
  width: 100%;
  min-height: 45px;
  margin-bottom: 7px;
  padding: 8px 11px;
  border: 1px solid #dcd9cf;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-size: 16px;
}

.access-form .button {
  justify-content: center;
  min-height: 44px;
  margin-top: 3px;
}

.access-status {
  margin-top: 12px;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.access-status:empty,
.access-account:empty {
  display: none;
}

.access-status[data-state="error"],
.access-status.is-error {
  color: #8c281b;
}

.access-success {
  padding: 15px;
  margin-top: 14px;
  border: 1px solid #eadba8;
  border-radius: 10px;
  background: #fff8e1;
}

.access-success h2 {
  font-size: 1.7rem;
}

.access-account {
  margin-top: 5px;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.access-success .button {
  margin-top: 12px;
}

.access-return {
  display: grid;
  width: fit-content;
  min-height: 44px;
  place-items: center;
  margin: 6px auto 0;
  color: var(--muted);
  font-weight: 700;
  text-underline-offset: 3px;
}

.access-return:hover {
  color: var(--ink);
}

.access-shell.is-planning {width:min(100%,780px)}
.access-actions {display:flex;flex-wrap:wrap;gap:8px}
.access-plans {margin-top:20px}

.student-plan-days {display:grid;gap:6px;margin:13px 0 0}
.student-plan-days dt {font-weight:700;color:#242014}
.student-plan-days dd {margin:0 0 10px;padding:12px;background:#faf9f5;border:1px solid var(--border);border-radius:8px;white-space:pre-wrap;overflow-wrap:anywhere}

.feedback-photo {display:grid;justify-items:start;gap:8px;margin-top:12px}
.feedback-photo .access-status {margin:0}
.feedback-photo img {max-width:100%;max-height:65vh;object-fit:contain;border:1px solid var(--border);border-radius:9px}
