.guest-page { max-width: 860px; margin-inline: auto; }
.guest-page .page-head p { max-width: 64ch; }
.guest-page form, .guest-section { display: grid; gap: 18px; }
.guest-section { margin: 0; min-width: 0; padding: 18px clamp(16px, 3vw, 30px) 25px; }
.guest-section > legend, .guest-office > legend {
  max-width: 100%; padding: 0 .35em; margin-left: -.35em;
  color: var(--ink); font-size: 1.18rem; font-weight: 720; line-height: 1.3;
}
.guest-kinds, .guest-services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.guest-kinds label, .guest-service {
  display: flex; align-items: center; gap: 9px; min-height: 48px; margin: 0;
  border: 1px solid var(--line); border-radius: 9px; padding: 8px 10px;
  background: var(--paper); cursor: pointer; font-size: .94rem; line-height: 1.25;
}
.guest-page .guest-kinds input, .guest-page .guest-service input {
  width: 18px; height: 18px; min-height: 18px; flex: none; margin: 0; accent-color: var(--red);
}
.guest-kinds label:has(:checked), .guest-service:has(:checked) {
  border-color: var(--red); background: var(--soft);
}
.guest-page details { margin: 0; padding: 0; border: 0; background: transparent; }
.guest-page summary { display: list-item; font-weight: 700; padding-block: 4px; }
.guest-service img { width: 38px; height: 38px; flex: none; border-radius: 5px; object-fit: cover; }
.guest-hint { color: var(--muted); font-size: .9rem; font-weight: 400; line-height: 1.45; }
.guest-privacy { margin: 0; }
.guest-office { min-width: 0; border: 0; border-left: 3px solid var(--line); padding: 0 0 0 15px; margin: 0; }
.guest-office > legend { float: left; width: 100%; font-size: 1rem; margin: 0; padding: 0; }
.guest-office p { clear: both; padding-top: 5px; }
.guest-page .guest-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.guest-page .guest-actions a:not(.button) { padding-block: 10px; }
.guest-error { background: #fae9eb; color: #861627; border-left: 3px solid currentColor; padding: 12px 16px; }
.guest-success { max-width: 690px; margin: clamp(24px, 6vw, 64px) auto; border-top: 4px solid var(--red); }
.guest-success h1 { font-size: clamp(1.7rem, 5vw, 2.5rem); }
.guest-success p { max-width: 58ch; }
.guest-success strong { overflow-wrap: anywhere; }
@media (max-width: 760px) {
  .guest-services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .guest-kinds, .guest-section .form-grid { grid-template-columns: minmax(0, 1fr); }
  .guest-kinds label { min-height: 44px; }
  .guest-service { gap: 6px; padding: 7px; flex-wrap: wrap; align-content: center; }
  .guest-service img { width: 28px; height: 28px; }
  .guest-service span { flex-basis: 100%; }
  .guest-page form > .guest-actions > .button { width: 100%; }
  .guest-page input:not([type=checkbox]):not([type=radio]), .guest-page textarea { font-size: 16px; }
}
