.rhal { --rhal-accent: #2b5f4a; --rhal-line: #d9d4ca; --rhal-muted: #6b6457; --rhal-err: #b3261e; --rhal-bg: #faf8f4; max-width: 820px; margin: 0 auto; }
.rhal *, .rhal *::before, .rhal *::after { box-sizing: border-box; }
.rhal-lang { text-align: right; margin: 0 0 8px; font-size: 14px; }
.rhal-title { margin: 0 0 4px; }
.rhal-property { color: var(--rhal-muted); margin: 0 0 16px; font-size: 14px; }
.rhal-intro { margin: 0 0 24px; line-height: 1.6; }
.rhal-box { border: 1px solid var(--rhal-line); border-radius: 8px; padding: 20px; margin: 0 0 20px; background: #fff; min-width: 0; }
.rhal-box legend { font-weight: 600; padding: 0 8px; font-size: 16px; }
.rhal-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px; }
.rhal-field label { display: block; font-size: 14px; font-weight: 600; margin: 0 0 6px; }
.rhal-field input, .rhal-field select { width: 100%; max-width: 100%; padding: 10px 12px; border: 1px solid var(--rhal-line); border-radius: 6px; font-size: 16px; background: #fff; color: inherit; min-height: 44px; }
.rhal-field input:focus, .rhal-field select:focus { outline: 2px solid var(--rhal-accent); outline-offset: 1px; border-color: var(--rhal-accent); }
.rhal-req { color: var(--rhal-err); }
.rhal-has-err input, .rhal-has-err select { border-color: var(--rhal-err); }
.rhal-err { display: block; color: var(--rhal-err); font-size: 13px; margin-top: 4px; }
.rhal-errors { border: 1px solid var(--rhal-err); background: #fdf1f0; color: var(--rhal-err); padding: 12px 16px; border-radius: 6px; margin: 0 0 20px; }
.rhal-errors p { margin: 6px 0 0; }
.rhal-sub { font-size: 15px; margin: 22px 0 12px; padding-top: 16px; border-top: 1px solid var(--rhal-line); }
.rhal-foreign { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--rhal-line); }
.rhal-ptnote { display: none; color: var(--rhal-muted); font-size: 14px; margin: 12px 0 0; }
.rhal-js .rhal-guest.is-pt .rhal-foreign { display: none; }
.rhal-js .rhal-guest.is-pt .rhal-ptnote { display: block; }
.rhal-js .rhal-guest.is-empty .rhal-foreign { display: none; }
.rhal-js .rhal-off { display: none; }
.rhal-stay { display: flex; flex-wrap: wrap; gap: 12px 32px; margin: 0 0 14px; }
.rhal-stay dt { font-size: 13px; color: var(--rhal-muted); }
.rhal-stay dd { margin: 2px 0 0; font-weight: 600; }
.rhal-decl label { display: flex; gap: 10px; align-items: flex-start; line-height: 1.5; cursor: pointer; }
.rhal-decl input { margin-top: 4px; width: 20px; height: 20px; flex: none; }
.rhal-decl.rhal-has-err { border-color: var(--rhal-err); }
.rhal-links { margin: 10px 0 0 30px; font-size: 14px; }
.rhal-privacy { font-size: 13px; color: var(--rhal-muted); line-height: 1.6; }
.rhal-submit { background: var(--rhal-accent); color: #fff; border: 0; border-radius: 6px; padding: 14px 28px; font-size: 16px; font-weight: 600; cursor: pointer; min-height: 48px; }
.rhal-submit:hover, .rhal-submit:focus { filter: brightness(1.1); }
.rhal-submit[disabled] { opacity: .6; cursor: wait; }
.rhal-notice, .rhal-done { border: 1px solid var(--rhal-line); background: var(--rhal-bg); padding: 24px; border-radius: 8px; line-height: 1.6; }
.rhal-done h2 { margin-top: 0; color: var(--rhal-accent); }
.rhal-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 640px) {
  .rhal-grid { grid-template-columns: 1fr; }
  .rhal-box { padding: 16px; }
  .rhal-submit { width: 100%; }
}
