:root {
  color-scheme: light;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #17243b;
  background: #f3f6fa;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: #155e9b; }
.topbar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px max(18px, calc((100vw - 1180px) / 2));
  color: white; background: #12243e;
}
.brand { color: white; font-size: 20px; font-weight: 700; text-decoration: none; }
.brand span { margin-left: 8px; color: #c8d8ec; font-size: 14px; font-weight: 400; }
.topbar-link { color: white; }
.account, .account form, .actions, .inline-form { display: flex; align-items: center; gap: 10px; }
.page { width: min(1180px, 100%); margin: 20px auto; padding: 0 16px 40px; }
.auth-card, .card {
  padding: 22px; background: white; border: 1px solid #e1e8f0; border-radius: 12px;
  box-shadow: 0 4px 20px #17243b0a;
}
.auth-card { width: min(480px, calc(100% - 28px)); margin: 8vh auto; }
.card { margin: 16px 0; }
.intake-card { width: min(760px, 100%); margin: 4vh auto; }
.intake-intro { max-width: 640px; }
.hotel-intake-page { background: linear-gradient(160deg, #f3f7fc, #eaf1f8); }
.hotel-intake-page .intake-card { padding: clamp(20px, 4vw, 36px); border-radius: 18px; box-shadow: 0 14px 40px #17243b12; }
.hotel-intake-page .intake-intro h1 { font-size: clamp(25px, 4vw, 32px); letter-spacing: -.025em; }
.eyebrow { margin: 0 0 8px; color: #165fb3; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.notice.draft-privacy { border-color: #bed6ec; background: #f2f8ff; }
.intake-footnote { margin-bottom: 0; font-size: 14px; }
h1 { margin: 0 0 8px; font-size: 25px; }
h2 { margin: 0 0 12px; font-size: 20px; }
h3 { margin: 4px 0 10px; }
p { line-height: 1.55; }
.muted, small { color: #69798f; }
.grid { display: grid; gap: 16px; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form-panel { padding: 16px; border: 1px solid #e1e8f0; border-radius: 10px; background: #fbfcfe; }
label { display: block; margin: 12px 0; font-size: 14px; font-weight: 600; }
.catalog-currency { margin: 12px 0; font-size: 14px; font-weight: 600; }
.catalog-currency output {
  display: block; margin-top: 5px; padding: 10px 12px; border: 1px solid #d5deea;
  border-radius: 7px; color: #53647a; background: #f3f6fa; font-weight: 400;
}
label.field-with-guide { position: relative; }
input, textarea, select, button {
  width: 100%; margin-top: 5px; padding: 10px 12px; border: 1px solid #acbacb;
  border-radius: 7px; color: #17243b; background: white; font: inherit;
}
textarea { resize: vertical; }
button { width: auto; cursor: pointer; font-weight: 600; }
button:hover { filter: brightness(.97); }
button:disabled { cursor: wait; opacity: .7; }
.field-guide-trigger {
  float: right; width: 19px; height: 19px; margin: -2px 0 0 6px; padding: 0;
  border: 1px solid #acbacb; border-radius: 50%; color: #163863; background: #edf4fc;
  font-size: 12px; line-height: 17px;
}
.field-guide-tip {
  position: absolute; top: 100%; right: 0; z-index: 20;
  width: min(280px, calc(100vw - 56px)); padding: 10px 12px;
  border: 1px solid #324a68; border-radius: 8px; color: white; background: #12243e;
  box-shadow: 0 4px 16px #17243b33; font-size: 13px; font-weight: 400; line-height: 1.45;
}
.field-guide-tip[hidden] { display: none; }
.grid.two.hotel-management-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: start; }
.hotel-registration { padding: 0; border: 0; background: transparent; }
.registration-hint { margin: 16px 0 12px; color: #69798f; font-size: 14px; }
.required-mark { color: #a41925; }
.hotel-step {
  margin: 10px 0; padding: 0 16px 6px; border: 1px solid #dce5ef;
  border-radius: 12px; background: white; box-shadow: 0 2px 8px #17243b08;
}
.hotel-step[open] { border-color: #adcbe9; box-shadow: 0 4px 16px #165fb30c; }
.hotel-step .grid { row-gap: 0; }
.hotel-step summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 64px; padding: 12px 0 6px; cursor: pointer; color: #163863; list-style: none;
}
.hotel-step summary::-webkit-details-marker { display: none; }
.hotel-step summary strong { display: block; font-size: 15px; }
.hotel-step summary small { display: block; margin-top: 3px; font-size: 13px; line-height: 1.35; font-weight: 400; }
.hotel-step summary::after {
  content: "+"; flex: 0 0 30px; width: 30px; height: 30px; border-radius: 50%;
  color: #165fb3; background: #edf4fc; text-align: center; font-size: 21px; line-height: 28px;
}
.hotel-step[open] summary::after { content: "\2212"; }
.hotel-step summary:focus-visible { outline: 2px solid #165fb3; outline-offset: 3px; }
.hotel-step input:focus, .hotel-step textarea:focus, .hotel-step select:focus {
  border-color: #165fb3; outline: 2px solid #c6ddf7; outline-offset: 1px;
}
.registration-action {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 18px; color: #69798f; font-size: 13px;
}
.registration-action .primary { flex-shrink: 0; }
.review-notice { margin-bottom: 4px; color: #694b0c; }
label.review-confirmation { display: flex; align-items: flex-start; gap: 8px; line-height: 1.5; }
.review-confirmation input { width: auto; margin: 4px 0 0; }
.primary { color: white; background: #165fb3; border-color: #165fb3; }
.secondary { color: #163863; background: #edf4fc; }
.danger { color: #a41925; background: #fff7f7; border-color: #e4b7bc; }
.notice { padding: 12px 14px; border: 1px solid #b9d8c1; border-radius: 8px; background: #f0faf2; }
.notice.error { border-color: #e4b7bc; background: #fff7f7; color: #a41925; }
.hotel-switcher { display: flex; flex-wrap: wrap; gap: 10px; }
.hotel-chip { display: flex; flex-direction: column; gap: 3px; padding: 10px 14px; border: 1px solid #cbd6e3; border-radius: 8px; text-decoration: none; }
.hotel-chip.selected { border-color: #165fb3; background: #eff6ff; }
.profile-heading { margin-top: 24px; }
.profile-values { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 16px 0; }
.profile-values > div { min-width: 0; padding: 12px; border: 1px solid #e1e8f0; border-radius: 8px; background: #fbfcfe; }
.profile-values dt { color: #69798f; font-size: 13px; font-weight: 600; }
.profile-values dd { margin: 5px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.profile-values .profile-wide { grid-column: 1 / -1; }
.creation-card > summary, .profile-edit > summary, .pending-hotel > summary {
  cursor: pointer; color: #163863; font-size: 16px; font-weight: 650;
}
.pending-hotel { margin-top: 10px; padding: 14px; border: 1px solid #dce5ef; border-radius: 8px; }
.pending-hotel summary small { font-size: 13px; font-weight: 400; }
.faq-list { display: grid; gap: 10px; margin: 14px 0; }
.faq-item { padding: 14px; border: 1px solid #e1e8f0; border-radius: 8px; }
.faq-item summary { cursor: pointer; font-weight: 650; }
.compact { margin-top: 12px; }
.inline-form { margin-top: 10px; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 10px 12px; border-bottom: 1px solid #e1e8f0; text-align: left; vertical-align: top; }
th { background: #f4f7fb; white-space: nowrap; }
td { overflow-wrap: anywhere; }
@media (max-width: 700px) {
  .topbar { align-items: flex-start; flex-direction: column; padding: 14px 16px; }
  .account { width: 100%; justify-content: space-between; }
  .account form { flex: 0 0 auto; }
  .grid.two { grid-template-columns: 1fr; }
  .grid.two.hotel-management-grid { grid-template-columns: 1fr; }
  .profile-values { grid-template-columns: 1fr; }
  .field-guide-trigger { min-height: 19px; }
  .registration-action { align-items: stretch; flex-direction: column; }
  .registration-action .primary { width: 100%; }
  .page { margin-top: 10px; padding: 0 10px 28px; }
  .card, .auth-card { padding: 16px; }
  button { min-height: 42px; }
  table { min-width: 600px; }
}
