:root {
  --navy: #071c35;
  --navy2: #123b6a;
  --gold: #dfbf6b;
  --cream: #f6f2e9;
  --paper: #fff;
  --ink: #0d1e35;
  --muted: #657287;
  --line: #dfe5ec;
  --blue: #2169d5;
  --green: #2e8b57;
  --danger: #b43a3a;
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: var(--navy);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
html {
  min-height: 100%;
  background: var(--navy);
}
body {
  overflow-x: hidden;
  min-width: 320px;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  background: linear-gradient(180deg, var(--navy) 0 190px, #eef2f5 190px 100%);
  font-size: 15px;
  line-height: 1.45;
}
.hidden {
  display: none !important;
}
button,
input {
  font: inherit;
}
input:not([type="checkbox"]):not([type="radio"]),
select,
textarea {
  font-size: 16px;
}
.boot {
  position: fixed;
  z-index: 20;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 18px;
  padding: 24px;
  color: #fff;
  background: linear-gradient(145deg, #071c35, #123b6a);
}
.boot img {
  width: 152px;
  height: auto;
  filter: drop-shadow(0 12px 22px rgba(0, 0, 0, 0.2));
}
.boot > span {
  width: 38px;
  height: 38px;
  border: 3px solid rgba(255, 255, 255, 0.2);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
.boot p {
  margin: 0;
  color: #dbe7f4;
}
.app {
  overflow-x: clip;
  width: min(720px, 100%);
  min-height: 100dvh;
  margin: 0 auto;
  padding: 0 18px calc(76px + env(safe-area-inset-bottom)); /* room for the floating WhatsApp button */
  background: #eef2f5;
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.2);
}
.brand-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: calc(78px + env(safe-area-inset-top));
  margin: 0 -18px;
  padding: env(safe-area-inset-top) 22px 0;
  color: #dce8f5;
  background: linear-gradient(135deg, var(--navy), #123b6a);
}
.brand-header img {
  width: 142px;
  height: 48px;
  object-fit: contain;
  object-position: left center;
}
.brand-header span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
/* WhatsApp: a square green button fixed at the lower right, on every screen. */
.whatsapp-button {
  position: fixed;
  z-index: 55;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom));
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border-radius: 16px;
  color: #fff;
  background: #25d366;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.36), 0 2px 6px rgba(13, 30, 53, 0.18);
  transition: background .15s ease, transform .15s ease;
}
.whatsapp-button:hover { background: #1fbf5b; }
.whatsapp-button:active { transform: scale(0.96); }
.whatsapp-button:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.whatsapp-button svg { width: 30px; height: 30px; fill: currentColor; }
/* One-time confirmation after the e-mail link binds the stay to an account. */
.link-success-modal { position: fixed; z-index: 1300; inset: 0; display: grid; place-items: center; padding: 24px; background: rgba(7, 28, 53, .42); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); animation: link-success-fade .2s ease-out both; cursor: pointer; }
.link-success-modal.is-leaving { animation: link-success-fade .2s ease-in reverse both; }
.link-success-card { display: grid; justify-items: center; width: min(100%, 360px); padding: 28px 24px 24px; border-radius: 18px; background: #fff; box-shadow: 0 24px 60px rgba(4, 18, 35, .3); text-align: center; animation: link-success-pop .28s cubic-bezier(.2, .9, .3, 1.2) both; }
.link-success-card span { display: grid; width: 56px; height: 56px; margin-bottom: 14px; place-items: center; border-radius: 50%; color: #fff; background: linear-gradient(135deg, #2e8b57, #4bb375); font-size: 26px; font-weight: 900; }
.link-success-card strong { color: var(--navy); font-size: 18px; line-height: 1.25; }
.link-success-card p { margin: 6px 0 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
@keyframes link-success-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes link-success-pop { from { opacity: 0; transform: translateY(10px) scale(.96); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .link-success-modal, .link-success-modal.is-leaving, .link-success-card { animation: none; } }
.stay-hero {
  position: relative;
  height: 245px;
  margin: 0 -18px;
  overflow: hidden;
  background: #173653;
}
.stay-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.stay-hero > div {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(4, 18, 34, 0.1),
    rgba(4, 18, 34, 0.9)
  );
}
.stay-hero article {
  position: absolute;
  right: 24px;
  bottom: 24px;
  left: 24px;
  color: #fff;
}
.stay-hero article span {
  display: inline-block;
  margin-bottom: 5px;
  color: #f5d98d;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.stay-hero h1 {
  margin: 0;
  font-family: Georgia, serif;
  font-size: 38px;
  line-height: 1;
}
.stay-hero p {
  margin: 7px 0 0;
  color: #e9eef5;
}
.stay-period {
  position: relative;
  z-index: 2;
  display: grid;
  /* Two equal halves; the arrow is centred on the divider (it no longer takes a
     grid column, which pushed the checkout half to the right). */
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 0;
  margin: 12px 0 18px;
  padding: 0;
  border: 1px solid #e6dcc4;
  border-radius: 18px;
  background: linear-gradient(#eadfc6, #eadfc6) center / 1px 100% no-repeat, #fff;
  box-shadow: 0 12px 30px rgba(13, 30, 53, 0.07);
}
.stay-period div {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto auto auto;
  align-items: center;
  align-content: center;
  column-gap: 7px;
  min-width: 0;
  min-height: 0;
  padding: 18px 22px 16px 26px;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.stay-period div > i {
  grid-row: 1;
  display: grid;
  width: 16px;
  height: 16px;
  place-content: center;
  border-radius: 5px;
  color: #fff;
  background: linear-gradient(135deg, #b78529, #d8ad52);
  font-size: 9px;
  font-style: normal;
  font-weight: 900;
}
.stay-period span {
  display: block;
  grid-column: 2;
  grid-row: 1;
  color: #a07c2c;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}
.stay-period strong {
  display: block;
  grid-column: 1 / -1;
  grid-row: 2;
  margin-top: 9px;
  color: var(--navy);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.stay-period em {
  display: block;
  grid-column: 1 / -1;
  grid-row: 3;
  margin-top: 3px;
  color: #5b6b82;
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.2;
}
.stay-period > b {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  transform: translate(-50%, -50%);
  display: grid;
  width: 30px;
  height: 30px;
  margin: 0;
  place-content: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #b78529, #d8ad52);
  box-shadow: 0 4px 10px rgba(183, 133, 41, 0.28);
  font-size: 15px;
  font-weight: 900;
}
.content-card {
  min-width: 0;
  margin: 14px 0;
  padding: 21px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(24, 43, 67, 0.06);
}
.content-card.intro small,
.section-heading small,
.welcome small {
  color: #9a762c;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
/* One gold shimmer across the whole greeting line when the page loads. */
.content-card.intro small.welcome-line {
  display: inline-block;
  color: #9a762c;
  background: linear-gradient(100deg, #9a762c 0%, #9a762c 35%, #f3dfa6 50%, #9a762c 65%, #9a762c 100%);
  background-size: 250% 100%;
  background-position: 120% 0;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: welcome-shine 1.6s ease-in-out 0.4s 1 both;
}
.welcome-name {
  color: inherit;
  font-style: normal;
}
@keyframes welcome-shine {
  from { background-position: 120% 0; }
  to { background-position: -120% 0; }
}
@media (prefers-reduced-motion: reduce) {
  .content-card.intro small.welcome-line { animation: none; background: none; -webkit-text-fill-color: #9a762c; }
}
.content-card h2 {
  margin: 3px 0 8px;
  font-family: Georgia, serif;
  font-size: 25px;
  line-height: 1.15;
}
.content-card p {
  margin: 0;
  color: var(--muted);
}
.form-title {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 22px;
}
.form-title > span {
  display: grid;
  flex: 0 0 38px;
  height: 38px;
  place-content: center;
  border-radius: 10px;
  color: #6d551e;
  background: #f8edcf;
  font-weight: 800;
}
.form-title strong {
  display: block;
  font-size: 18px;
}
.form-title p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 13px;
}
.identity-form label > span {
  display: block;
  margin: 0 0 7px;
  font-size: 12px;
  font-weight: 800;
}
.identity-form > label {
  display: block;
  margin-top: 17px;
}
.identity-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(170px, .65fr);
  gap: 12px;
  margin-top: 17px;
}
.identity-grid label {
  min-width: 0;
}
.identity-form input[type="text"],
.identity-form input[name="fullName"],
.identity-form input[name="cpf"],
.identity-form input[type="tel"],
.identity-form input[type="password"],
.identity-form input[type="email"] {
  width: 100%;
  height: 52px;
  padding: 0 14px;
  border: 1px solid #cad3dd;
  border-radius: 10px;
  color: var(--ink);
  background: #fff;
  outline: none;
}
.contact-grid {
  margin-top: 12px;
}
.phone-control {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  height: 52px;
  border: 1px solid #cad3dd;
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.phone-control:focus-within {
  border-color: #276bb7;
  box-shadow: 0 0 0 3px rgba(39, 107, 183, 0.13);
}
.phone-country {
  align-self: stretch;
  min-width: 104px;
  padding: 0 30px 0 13px;
  border-right: 1px solid #d9e0e7;
  border-top: 0;
  border-bottom: 0;
  border-left: 0;
  border-radius: 0;
  color: #173f67;
  background: #f2f7fc;
  background-image: linear-gradient(45deg, transparent 50%, #55718c 50%), linear-gradient(135deg, #55718c 50%, transparent 50%);
  background-position: calc(100% - 15px) 23px, calc(100% - 10px) 23px;
  background-repeat: no-repeat;
  background-size: 5px 5px, 5px 5px;
  appearance: none;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 900;
  outline: none;
}
.identity-form .phone-control input[type="tel"] {
  height: 50px;
  padding: 0 14px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}
.contact-note {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}
.identity-form input:focus {
  border-color: #276bb7;
  box-shadow: 0 0 0 3px rgba(39, 107, 183, 0.13);
}
.identity-form .phone-control input:focus {
  box-shadow: none;
}
.identity-form .phone-control select:focus-visible {
  box-shadow: inset 0 0 0 2px rgba(39, 107, 183, 0.2);
}
.upload-field input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.upload-field > b {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 58px;
  padding: 12px 14px;
  border: 1px dashed #9eafc1;
  border-radius: 10px;
  color: #29455f;
  background: #f7f9fb;
  cursor: pointer;
}
.upload-field > b i {
  display: grid;
  width: 32px;
  height: 32px;
  place-content: center;
  border-radius: 9px;
  color: #fff;
  background: linear-gradient(135deg, #1d69c9, #674de3);
  font-style: normal;
}
.upload-field.selected > b {
  border-style: solid;
  border-color: #76b79a;
  color: #216340;
  background: #eff9f3;
}
.upload-field small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 11px;
}
.consent {
  display: grid !important;
  grid-template-columns: 20px 1fr;
  align-items: center;
  gap: 12px;
  padding: 13px;
  border-radius: 10px;
  background: #f5f7fa;
}
.consent input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--blue);
}
.consent span {
  margin: 0 !important;
  color: #526177;
  font-size: 11px !important;
  font-weight: 500 !important;
}
.primary-button,
.secondary-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  margin-top: 20px;
  border: 0;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, #153f70, #2169d5);
  box-shadow: 0 8px 18px rgba(27, 93, 174, 0.2);
  font-weight: 800;
  cursor: pointer;
}
.primary-button.loading:after {
  width: 18px;
  height: 18px;
  margin-left: 10px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  content: "";
  animation: spin 0.7s linear infinite;
}
.primary-button:disabled {
  opacity: 0.7;
  cursor: wait;
}
.privacy-note {
  display: flex;
  gap: 12px;
  margin: 16px 0;
  padding: 16px;
  border-radius: 12px;
  color: #56677a;
  background: #e5edf5;
}
.privacy-note span {
  font-size: 24px;
}
.privacy-note p {
  margin: 0;
  font-size: 12px;
}
.content-card.welcome {
  display: flex;
  align-items: center;
  gap: 14px;
}
.welcome-identity {
  position: relative;
  display: grid;
  flex: 0 0 72px;
  width: 72px;
  height: 72px;
  place-items: center;
}
.welcome-avatar {
  position: absolute;
  inset: 0;
  display: block;
  width: 72px;
  height: 72px;
  border: 1px solid rgba(46, 152, 99, .24);
  border-radius: 20px;
  object-fit: cover;
  background: #f3f4f6;
  box-shadow: 0 8px 20px rgba(7, 28, 53, .14);
}
.content-card.welcome > div {
  min-width: 0;
}
/* Navigation to the account's reservations: a full-width button right under the welcome card. */
.welcome-reservations-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 48px;
  margin: 0 0 14px;
  padding: 0 16px;
  border: 1px solid #d3e2f2;
  border-radius: 12px;
  color: #174f89;
  background: #eaf3fc;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  transition: background .15s ease, border-color .15s ease;
}
.welcome-reservations-link:hover { background: #dfedfb; border-color: #bfd6ee; }
.welcome-reservations-link:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.welcome-reservations-link b {
  font-size: 16px;
  transition: transform .16s ease;
}
.welcome-reservations-link:hover b,
.welcome-reservations-link:focus-visible b {
  transform: translateX(3px);
}
.verified-mark {
  display: grid;
  width: 52px;
  height: 52px;
  place-content: center;
  border-radius: 50%;
  color: #fff;
  background: var(--green);
  font-size: 22px;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 15px;
}
.section-heading h2 {
  font-family: inherit;
  font-size: 20px;
}
.status-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #e1a63d;
  box-shadow: 0 0 0 5px rgba(225, 166, 61, 0.15);
}
.status-dot.ready {
  background: #48a46d;
  box-shadow: 0 0 0 5px rgba(72, 164, 109, 0.15);
}
.access-pending {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border-radius: 12px;
  background: #f5f7fa;
}
.access-pending strong {
  display: block;
}
.access-pending p {
  margin: 3px 0 0;
  font-size: 12px;
}
.release-countdown p {
  font-size: 13px;
}
.release-countdown b {
  font-variant-numeric: tabular-nums;
  font-size: 15px;
  letter-spacing: 0.02em;
}
.access-card.apartment .release-countdown b { color: #fff; }
.mini-loader {
  flex: 0 0 30px;
  height: 30px;
  border: 3px solid #d9e2eb;
  border-top-color: #2871c6;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
.entry-code {
  padding: 24px 20px;
  border-radius: 14px;
  color: #fff;
  text-align: center;
  background: linear-gradient(135deg, #071c35, #1b477b);
}
.entry-code > strong {
  display: block;
  margin: 0;
  color: #fff;
  font-size: 38px;
  letter-spacing: 0.18em;
}
.slot-count {
  padding: 7px 10px;
  border-radius: 999px;
  color: #765619;
  background: #fff1c9;
  font-size: 11px;
  font-weight: 850;
  white-space: nowrap;
}
.people-list {
  display: grid;
  gap: 9px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}
.people-list li {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 11px;
}
.people-list li > span {
  display: grid;
  height: 40px;
  place-content: center;
  border-radius: 10px;
  color: #205d9a;
  background: #e8f3ff;
  font-weight: 800;
}
.people-list strong,
.people-list small {
  display: block;
}
.people-list small {
  color: var(--muted);
  font-size: 10px;
}
.people-list b {
  color: #42637e;
  font-size: 10px;
}
.empty-visitors {
  margin-top: 15px;
  padding: 16px;
  border: 1px dashed #c8d1db;
  border-radius: 11px;
  color: var(--muted);
  text-align: center;
}
.secondary-button {
  color: #174f89;
  background: #eaf3fc;
  box-shadow: none;
}
.secondary-button.active {
  color: #6c2730;
  background: #fbecef;
}
.guest-account-card {
  display: grid;
  width: 100%;
  min-width: 0;
  gap: 16px;
}
.guest-account-card.is-linked {
  border-color: #b8ddc8;
  background: linear-gradient(180deg, #fff, #f5fbf7);
}
.guest-account-heading,
.guest-account-intro {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 13px;
}
.guest-account-heading > div,
.guest-account-intro > div {
  min-width: 0;
}
.guest-account-heading small,
.guest-account-intro small {
  color: #9a762c;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.guest-account-heading h2,
.guest-account-intro h2 {
  margin: 2px 0;
  font-family: inherit;
  font-size: 19px;
}
.guest-account-heading p,
.guest-account-intro p {
  overflow: hidden;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: normal;
}
.guest-account-avatar,
.guest-account-intro > span {
  display: grid;
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 13px;
  color: #fff;
  background: linear-gradient(135deg, #153f70, #2169d5);
  font-size: 16px;
  font-weight: 800;
}
.guest-account-heading > b {
  margin-left: auto;
  padding: 6px 9px;
  border-radius: 999px;
  color: #216340;
  background: #e5f5eb;
  font-size: 9px;
  white-space: nowrap;
}
.account-choice-note,
.account-linked-note,
.account-conflict {
  padding: 12px 13px;
  border-radius: 10px;
  font-size: 12px;
}
.account-choice-note {
  background: #f4f6f9;
}
.account-linked-note {
  color: #216340 !important;
  background: #eaf7ef;
}
.account-conflict {
  display: grid;
  gap: 2px;
  color: #853137;
  background: #fbecef;
}
.guest-account-actions,
.guest-account-options {
  min-width: 0;
  gap: 9px;
}
.guest-account-actions {
  display: flex;
  flex-wrap: wrap;
}
.guest-account-options {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  padding: 4px;
  border-radius: 12px;
  background: #edf2f7;
}
.guest-account-actions .primary-button,
.guest-account-actions .secondary-button,
.guest-account-options .secondary-button,
.guest-account-form .primary-button {
  width: auto;
  min-height: 44px;
  margin: 0;
  padding: 0 16px;
  text-decoration: none;
}
.guest-account-options .secondary-button {
  width: 100%;
  min-width: 0;
  min-height: 42px;
  padding: 0 10px;
  color: #526177;
  background: transparent;
}
.guest-account-options .secondary-button.is-active {
  color: #174f89;
  background: #fff;
  box-shadow: 0 4px 12px rgba(24, 43, 67, .08);
}
.text-button {
  min-height: 42px;
  padding: 0 9px;
  border: 0;
  color: #526177;
  background: transparent;
  font-weight: 700;
  cursor: pointer;
}
.guest-account-form {
  display: grid;
  width: 100%;
  min-width: 0;
  gap: 12px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
}
.guest-account-form label > span {
  display: block;
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 800;
}
.guest-account-form label,
.guest-account-form .otp-row {
  width: 100%;
  min-width: 0;
}
.guest-account-form input:not([type="checkbox"]) {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 49px;
  padding: 0 13px;
  border: 1px solid #cad3dd;
  border-radius: 10px;
  color: var(--ink);
  background: #fff;
  outline: none;
}
.guest-account-form input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(33, 105, 213, .12);
}
.account-remember {
  display: flex;
  align-items: center;
  gap: 8px;
}
.account-remember input {
  width: 18px;
  height: 18px;
  accent-color: var(--blue);
}
.account-remember span {
  margin: 0 !important;
}
.account-form-note {
  padding: 11px 12px;
  border-radius: 9px;
  background: #f4f6f9;
  font-size: 11px;
}
.otp-row {
  display: grid;
  gap: 5px;
  padding: 12px;
  border-radius: 10px;
  background: #eef5fc;
}
.otp-row small {
  color: var(--muted);
  font-size: 10px;
}
.visitor-form {
  margin: 0;
}

.access-gate { margin-top: 22px; }
.access-gate .guest-account-intro h1 { margin: 2px 0 7px; color: var(--navy); font-size: clamp(24px, 6vw, 34px); }
.access-gate-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin-top: 18px; padding: 4px; border: 1px solid #d9e2ec; border-radius: 12px; background: #eef3f8; }
.access-gate-tabs .secondary-button { width: 100%; min-width: 0; min-height: 44px; margin: 0; padding: 0 8px; border: 0; border-radius: 9px; color: #526177; background: transparent; box-shadow: none; font-size: 13px; font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color .15s ease, background .15s ease, box-shadow .15s ease; }
@media (max-width: 360px) { .access-gate-tabs .secondary-button { font-size: 12px; padding: 0 6px; } }
.access-gate-tabs .secondary-button:hover { color: #174f89; }
.access-gate-tabs .secondary-button:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.access-gate-tabs .secondary-button.is-active { color: #174f89; background: #fff; box-shadow: 0 4px 12px rgba(24, 43, 67, .08); }
.access-gate .access-back-button { width: 100%; min-height: 46px; margin: 12px 0 0; border: 1px solid #d3e2f2; border-radius: 10px; color: #174f89; background: #eaf3fc; box-shadow: none; font-size: 15px; }
.access-create-fields { display: grid; gap: 12px; padding: 14px; border: 1px solid #d9e2ec; border-radius: 11px; background: #f7fafc; }
.access-create-fields > p { margin: 0; color: var(--muted); font-size: 12px; }
.access-account-choice { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 12px; margin-top: 18px; padding: 15px; border: 1px solid #d9e2ec; border-radius: 12px; background: #f7fafc; }
.access-account-choice > div { display: grid; min-width: 0; gap: 2px; }
.access-account-choice small, .access-account-choice span { overflow: hidden; color: var(--muted); font-size: 11px; text-overflow: ellipsis; }
.access-account-choice .primary-button, .access-account-choice .text-button, .access-account-choice p { grid-column: 1 / -1; }
.identity-ready-list { display: grid; gap: 8px; padding: 14px; border-radius: 11px; color: #246448; background: #eaf7ef; font-size: 13px; font-weight: 750; }
.visitor-avatar { position: relative; overflow: hidden; }
.visitor-avatar .welcome-avatar { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.visitor-modal-open {
  overflow: hidden;
}
.visitor-modal {
  position: fixed;
  z-index: 60;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: max(24px, env(safe-area-inset-top)) 16px max(24px, env(safe-area-inset-bottom));
  background: rgba(7, 28, 53, .68);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.visitor-modal-card {
  position: relative;
  flex: 0 0 auto;
  width: min(100%, 520px);
  max-height: none;
  margin: auto;
  overflow: visible;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(4, 18, 35, .34);
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
.visitor-modal-card .form-title {
  padding-right: 42px;
}
.visitor-modal-close {
  position: absolute;
  z-index: 2;
  top: 16px;
  right: 16px;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 11px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 8px 20px rgba(7, 28, 53, .1);
  font-size: 25px;
  line-height: 1;
}
footer {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 24px 4px;
  color: #617083;
  font-size: 11px;
}
.error-screen {
  display: grid;
  min-height: 100dvh;
  place-content: center;
  justify-items: center;
  padding: 32px;
  text-align: center;
}
.error-screen img {
  width: 180px;
}
.error-screen > span {
  display: grid;
  width: 54px;
  height: 54px;
  margin: 30px 0 12px;
  place-content: center;
  border-radius: 50%;
  color: #fff;
  background: var(--danger);
  font-size: 28px;
  font-weight: 900;
}
.error-screen h1 {
  margin: 0;
  font-family: Georgia, serif;
}
.error-screen p {
  max-width: 380px;
  color: #526177;
}
.error-screen small {
  color: #728096;
}
.error-reservations-link {
  width: auto;
  min-width: 220px;
  margin-top: 26px;
  padding: 0 22px;
}
.access-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.access-card { display: flex; flex-direction: column; min-width: 0; padding: 18px; border: 1px solid #dccca7; border-radius: 14px; background: #faf5e7; }
.access-card h3 { margin: 0 0 8px; font-size: 17px; color: #795d24; }
.access-card .access-description { margin: 0 0 18px; font-size: 13px; line-height: 1.5; color: #695f4b; }
.access-card.apartment { background: #1d3452; border-color: #1d3452; }
.access-card.apartment h3 { color: #e6c985; }
.access-card.apartment .access-description { color: #d3dce7; }
.access-card .entry-code { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin: auto 0 0; padding: 0; border: 0; background: transparent; }
.access-card .entry-code strong { font-size: 26px; letter-spacing: 1px; color: #1d3452; overflow-wrap: anywhere; min-width: 0; }
.access-card.apartment .entry-code strong { color: #fff; }
/* Access codes: digits in small groups inside a quiet pill, tabular so they align like a keypad. */
.access-card .entry-code:has(strong.code-digits) { justify-content: center; }
.access-card .entry-code strong.code-digits { display: inline-flex; flex: 0 1 auto; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 0 0.45em; margin: 0 auto; padding: 12px 22px; text-align: center; border: 1px solid rgba(181, 132, 39, 0.28); border-radius: 12px; background: rgba(255, 255, 255, 0.72); color: #1d3452; font-size: 32px; font-weight: 800; letter-spacing: 0.08em; line-height: 1.1; font-variant-numeric: tabular-nums lining-nums; }
.access-card.apartment .entry-code strong.code-digits { border-color: rgba(255, 255, 255, 0.16); background: rgba(255, 255, 255, 0.08); color: #fff; }
.access-card .entry-code strong.code-digits span { display: inline-block; white-space: nowrap; }
@media (max-width: 400px) { .access-card .entry-code strong.code-digits { font-size: 28px; padding: 11px 15px; } }
.checkin-account-bar { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:14px; padding:14px 16px; margin:0 0 18px; border:1px solid #dce3ea; border-radius:14px; background:#fff; box-shadow:0 8px 22px rgba(13,30,53,.05); }
.checkin-account-bar > div { display:grid; gap:2px; min-width:0; }
.checkin-account-bar strong { color:#1d3452; font-size:15px; line-height:1.3; overflow-wrap:anywhere; }
.checkin-account-bar span { color:var(--muted); font-size:13px; line-height:1.45; }
.checkin-account-bar .secondary-button,
.checkin-account-bar .primary-button { width:auto; min-height:42px; margin:0; padding:0 18px; border-radius:10px; font-size:14px; white-space:nowrap; }
.checkin-account-bar .secondary-button { color:#174f89; background:#eaf3fc; box-shadow:none; }
.checkin-login-option { margin:14px 0 0; }
.checkin-choice-divider { display:flex; align-items:center; gap:14px; margin:16px 4px 0; color:var(--muted); font-size:12px; }
.checkin-choice-divider::before,
.checkin-choice-divider::after { content:""; flex:1; height:1px; background:var(--line); }
.saved-contact { margin:12px 0 20px; }
.saved-contact summary { color:#1d3452; cursor:pointer; padding:8px 0; }
.saved-contact .identity-grid { margin-top:12px; }
.reuse-email-button { margin:0 0 18px; text-align:left; }
[data-access-error] { color:#9d2935; background:#fff0f0; border-radius:10px; padding:14px; line-height:1.5; }
.access-account-choice .secondary-button { grid-column:1 / -1; }
.access-card .access-pending { margin-top: auto; }
.access-card.apartment .access-pending { color: #e4ebf3; background: #294260; }
.access-card.apartment .access-pending p { color: #d3dce7; }
@media (max-width: 640px) { .access-cards { grid-template-columns: 1fr; } }
.identity-form .form-error {
  margin: 12px 0;
  padding: 14px 16px;
  border: 1px solid #e4b6b6;
  border-radius: 10px;
  color: #802b2b;
  background: #fff2f2;
  font-size: 14px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.form-error:focus { outline: 2px solid #9d3434; outline-offset: 2px; }
.toast {
  position: fixed;
  z-index: 1400;
  right: 18px;
  bottom: calc(18px + env(safe-area-inset-bottom));
  left: 18px;
  max-width: 560px;
  margin: auto;
  padding: 14px 16px;
  border-radius: 10px;
  color: #fff;
  background: #173756;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.25);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: 0.2s;
}
.toast.show {
  opacity: 1;
  transform: none;
}
.toast.error {
  background: #9d3434;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@media (max-width: 520px) {
  .identity-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .visitor-modal {
    padding: max(16px, env(safe-area-inset-top)) 0 0;
  }
  .visitor-modal-card {
    width: 100%;
    max-height: none;
    margin: auto 0 0;
    padding: 22px 17px max(24px, env(safe-area-inset-bottom));
    border-radius: 20px 20px 0 0;
  }
  body {
    font-size: 14px;
  }
  .app {
    padding-right: 12px;
    padding-left: 12px;
  }
  .brand-header,
  .stay-hero {
    margin-right: -12px;
    margin-left: -12px;
  }
  .brand-header {
    padding-right: 16px;
    padding-left: 16px;
  }
  .brand-header img {
    width: 128px;
  }
  .brand-header span {
    font-size: 10px;
  }
  .stay-hero {
    height: 220px;
  }
  .stay-hero article {
    right: 18px;
    bottom: 20px;
    left: 18px;
  }
  .stay-hero h1 {
    font-size: 34px;
  }
  .stay-period {
    border-radius: 16px;
  }
  .stay-period div {
    column-gap: 6px;
    padding: 15px 16px 13px 22px;
  }
  .stay-period div > i {
    width: 15px;
    height: 15px;
    font-size: 9px;
  }
  .stay-period > b {
    width: 26px;
    height: 26px;
    margin: 0;
    font-size: 13px;
  }
  .stay-period strong {
    margin-top: 8px;
    font-size: 16px;
  }
  .stay-period em {
    font-size: 13px;
  }
  .stay-period span {
    font-size: 9px;
    letter-spacing: 0.12em;
  }
  .content-card {
    padding: 17px;
  }
  .section-heading {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .entry-code > strong {
    font-size: 34px;
  }
  .people-list li {
    grid-template-columns: 38px 1fr;
  }
  .people-list li > b {
    grid-column: 2;
  }
  .content-card h2 {
    font-size: 23px;
  }
  .guest-account-heading h2,
  .guest-account-intro h2 {
    font-size: 20px;
  }
  .guest-account-heading {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .guest-account-heading > b {
    margin-left: 59px;
    margin-top: -9px;
  }
  .guest-account-actions .primary-button,
  .guest-account-actions .secondary-button,
  .guest-account-form .primary-button {
    flex: 1 1 100%;
    width: 100%;
  }
  .guest-account-options .secondary-button {
    width: 100%;
  }
  .text-button {
    width: 100%;
  }
  footer {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    justify-content: stretch;
    justify-items: center;
    text-align: center;
  }
}
.stay-address {
  display: block;
  margin-top: 3px;
  color: #cfd9e4;
  font-size: 10px;
}

.registration-warning {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  margin-top: 14px;
  padding: 12px;
  border: 1px solid #e8cf8b;
  border-radius: 10px;
  color: #5f481b;
  background: #fff8e6;
}
.registration-warning > span,
.locked-registration-note > span {
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #c48b20;
  font-weight: 900;
}
.registration-warning > span {
  width: 32px;
  height: 32px;
}
.registration-warning strong,
.registration-warning p,
.person-lock-status span,
.person-lock-status small,
.slot-exhausted strong,
.slot-exhausted span {
  display: block;
}
.registration-warning p {
  margin: 2px 0 0;
  color: #7a653b;
  font-size: 11px;
  line-height: 1.45;
}

body.face-redo-modal-open {
  overflow: hidden;
}
.face-access-state {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  gap: 11px;
  align-items: center;
  padding: 14px 16px;
}
.face-access-state > span {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 10px;
  font-size: 17px;
  font-weight: 900;
}
.face-access-state > div {
  min-width: 0;
}
.face-access-state small,
.face-access-state strong,
.face-access-state p {
  display: block;
  margin: 0;
  overflow-wrap: anywhere;
}
.face-access-state small {
  color: #8b6b25;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.face-access-state strong {
  margin-top: 2px;
  font-size: 15px;
}
.face-access-state.failed {
  border-color: #e8c878;
  background: #fffaf0;
}
.face-access-state.active {
  border-color: #b8dfc7;
  color: #216944;
  background: #f1fbf5;
}

.face-access-state.active > span {
  color: #fff;
  background: #2e9863;
}
.face-access-state.active small {
  color: #347557;
}
.face-access-state.failed > span {
  color: #fff;
  background: #c48b20;
}
.face-access-state.disabled {
  color: #5d6875;
  background: #f5f7f9;
}
.face-access-state.disabled > span {
  color: #748291;
  background: #e6ebef;
}
.face-access-state .secondary-button {
  width: auto;
  min-height: 38px;
  margin: 0;
  padding: 0 15px;
  border-radius: 9px;
  white-space: nowrap;
}
.face-redo-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 24px;
  overflow: auto;
  background: rgba(3, 16, 31, .86);
  backdrop-filter: blur(8px);
}
.face-redo-card {
  position: relative;
  width: min(520px, 100%);
  max-height: calc(100vh - 48px);
  padding: 28px;
  overflow: auto;
  border: 1px solid rgba(196, 139, 32, .45);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .34);
}
.face-redo-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid #dfe5ec;
  border-radius: 11px;
  color: #071c35;
  background: #fff;
  box-shadow: 0 8px 20px rgba(7, 28, 53, .1);
  font-size: 24px;
  line-height: 1;
}
.face-redo-heading {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}
.face-redo-heading > span {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #c48b20;
  font-size: 25px;
  font-weight: 900;
}
.face-redo-heading small,
.face-redo-heading h2 {
  display: block;
  margin: 0;
}
.face-redo-heading small {
  color: #9a711f;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.face-redo-heading h2 {
  margin-top: 3px;
  color: #071c35;
  font-size: 26px;
  line-height: 1.08;
}
.face-redo-card > p {
  margin: 18px 0 20px;
  color: #52667a;
  font-size: 13px;
  line-height: 1.55;
}
.current-face-preview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 104px;
  gap: 16px;
  align-items: center;
  margin: 0 0 18px;
  padding: 13px;
  border: 1px solid #dfe6ed;
  border-radius: 14px;
  background: #f7f9fb;
}
.current-face-preview small,
.current-face-preview strong {
  display: block;
}
.current-face-preview small {
  color: #9a711f;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.current-face-preview strong {
  margin-top: 4px;
  color: #29455f;
  font-size: 13px;
  line-height: 1.35;
}
.current-face-image {
  position: relative;
  display: grid;
  width: 104px;
  height: 104px;
  place-items: center;
  overflow: hidden;
  border: 1px solid #ccd7e1;
  border-radius: 13px;
  color: #6b7c8e;
  background: #eaf0f5;
  text-align: center;
}
.current-face-image span {
  padding: 8px;
  font-size: 10px;
}
.current-face-image img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.face-redo-form {
  margin: 0;
}
.face-redo-notice {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 11px 12px;
  border: 1px solid #e8cf8b;
  border-radius: 10px;
  color: #68572e;
  background: #fff8e6;
}
.face-redo-notice > span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #c48b20;
  font-weight: 900;
}
.face-redo-notice p {
  margin: 0;
  font-size: 11px;
  line-height: 1.45;
}
@media (max-width: 560px) {
  .welcome-identity,
  .welcome-avatar {
    width: 64px;
    height: 64px;
  }
  .welcome-identity {
    flex-basis: 64px;
  }
  .face-access-state.failed {
    grid-template-columns: 36px minmax(0, 1fr);
  }
  .face-access-state.failed .secondary-button {
    grid-column: 1 / -1;
    width: 100%;
  }
  .face-redo-modal {
    align-items: end;
    padding: 12px;
  }
  .face-redo-card {
    max-height: calc(100vh - 24px);
    padding: 22px 18px calc(22px + env(safe-area-inset-bottom));
    border-radius: 20px;
  }
  .face-redo-heading h2 {
    font-size: 23px;
  }
  .current-face-preview {
    grid-template-columns: minmax(0, 1fr) 86px;
    gap: 12px;
  }
  .current-face-image {
    width: 86px;
    height: 86px;
  }
}
.person-lock-status {
  text-align: right;
}
.person-lock-status span {
  color: #496279;
  font-size: 10px;
}
.person-lock-status small {
  margin-top: 2px;
  color: #8b6b25;
  font-size: 9px;
  font-weight: 700;
}
.locked-registration-note {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  margin: 12px 0 16px;
  padding: 11px 12px;
  border: 1px solid #e3d6b2;
  border-radius: 10px;
  color: #68572e;
  background: #fffaf0;
}
.locked-registration-note > span {
  width: 28px;
  height: 28px;
  background: #a9852f;
}
.locked-registration-note p {
  margin: 0;
  font-size: 11px;
  line-height: 1.45;
}
.slot-exhausted {
  margin-top: 16px;
  padding: 13px 14px;
  border: 1px solid #dce3e9;
  border-radius: 10px;
  color: #4f6273;
  background: #f7f9fb;
}
.slot-exhausted span {
  margin-top: 3px;
  color: #71808e;
  font-size: 11px;
  line-height: 1.45;
}
.account-invitation-card {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  border-color: #e5d19d;
  background: linear-gradient(135deg, #fffdf7, #fff8e9);
}
.account-invitation-card > span,
.account-activation-heading > span {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  color: #102b46;
  background: #d9ba72;
  font-size: 21px;
  font-weight: 900;
}
.account-invitation-card small,
.account-invitation-card h2 {
  display: block;
}
.account-invitation-card small,
.account-activation-heading small {
  color: #9a711f;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.account-invitation-card h2 {
  margin: 3px 0 4px;
  color: #102b46;
  font-size: 20px;
}
.account-invitation-card p {
  margin: 0;
  color: #5a6b7b;
  font-size: 12px;
  line-height: 1.5;
}
body.account-activation-modal-open {
  overflow: hidden;
}
.account-activation-modal {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(7, 28, 53, .72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.account-activation-card {
  position: relative;
  width: min(100%, 500px);
  max-height: calc(100dvh - 48px);
  overflow: auto;
  padding: 30px;
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(4,18,35,.38);
}
.account-activation-heading {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding-right: 38px;
}
.account-activation-heading h2 {
  margin: 4px 0 0;
  color: #102b46;
  font-size: 26px;
  line-height: 1.12;
}
.account-activation-card > p {
  margin: 20px 0;
  color: #52667a;
  font-size: 13px;
  line-height: 1.6;
}
.account-activation-form {
  margin: 0;
}
.account-activation-form .text-button {
  justify-self: center;
}
@media (max-width: 560px) {
  .account-invitation-card {
    grid-template-columns: 42px minmax(0, 1fr);
  }
  .account-invitation-card > span {
    width: 42px;
    height: 42px;
  }
  .account-invitation-card .secondary-button {
    grid-column: 1 / -1;
    width: 100%;
  }
  .account-activation-modal {
    align-items: end;
    padding: 12px;
  }
  .account-activation-card {
    max-height: calc(100dvh - 24px);
    padding: 24px 18px calc(22px + env(safe-area-inset-bottom));
    border-radius: 20px;
  }
  .account-activation-heading h2 {
    font-size: 23px;
  }
}

/* House rules accepted at check-in (owner request, 5 October 2026). */
.house-rules { display: grid; gap: 12px; margin: 18px 0 0; padding: 16px; border: 1px solid rgba(201, 165, 90, .45); border-radius: 16px; background: rgba(255, 249, 235, .75); }
.house-rules-head { display: flex; gap: 10px; align-items: flex-start; }
.house-rules-head > span { display: grid; place-items: center; width: 24px; height: 24px; flex: none; border-radius: 50%; background: #b38b37; color: #fff; font-weight: 700; }
.house-rules-head strong { display: block; color: #16304d; font-size: 15px; }
.house-rules-head p { margin: 2px 0 0; color: #5d6676; font-size: 13px; line-height: 1.45; }
.house-rules-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.house-rules-list li { display: grid; gap: 2px; padding-left: 18px; position: relative; }
.house-rules-list li::before { content: "•"; position: absolute; left: 4px; top: -1px; color: #b38b37; font-weight: 700; }
.house-rules-list strong { color: #16304d; font-size: 14px; }
.house-rules-list span { color: #4f5969; font-size: 13px; line-height: 1.5; }
.house-rules-notice { margin: 0; padding-top: 10px; border-top: 1px solid rgba(201, 165, 90, .35); color: #8a5a2b; font-size: 12.5px; line-height: 1.5; }
.house-rules-accept { margin: 0; }
.house-rules-card { display: grid; gap: 12px; }
.house-rules-accepted { display: flex; align-items: center; gap: 8px; margin: 0; color: #2e7d4f; font-size: 13px; font-weight: 600; }
.house-rules-mark { font-weight: 600; color: #8a2b2b; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.house-rules-notice .house-rules-mark { color: #8a2b2b; }
.consent-group { display: grid; gap: 10px; margin-top: 20px; }
.consent-group .consent { margin: 0; }
.house-rules-summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.house-rules-summary small { display: block; color: #8a7a53; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.house-rules-summary h2 { margin: 2px 0 0; }
.house-rules-summary > div { min-width: 0; }
.house-rules-summary .secondary-button { flex: 0 0 auto; width: auto; min-width: 0; padding: 0 16px; white-space: nowrap; }
.house-rules-modal-open { overflow: hidden; }
.house-rules-modal { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 18px; background: rgba(7, 28, 53, .66); backdrop-filter: blur(2px); }
.house-rules-modal.hidden { display: none; }
.house-rules-modal-card { position: relative; width: min(520px, 100%); max-height: 86vh; overflow-y: auto; display: grid; gap: 14px; padding: 22px 20px; border-radius: 18px; background: #fff; box-shadow: 0 24px 60px -24px rgba(7, 28, 53, .55); }
.house-rules-modal-head small { color: #8a7a53; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.house-rules-modal-head h2 { margin: 4px 0 0; }

/* ----------------------------------------------------------------------------
   Wi-Fi card and guest check-out (owner request, 18 October 2026).
   Both build on the patterns above (content-card, section-heading, access-pending,
   visitor-modal bottom sheet, form-error). New rules are namespaced wifi-* and
   checkout-* so nothing here touches the existing cards.
   ---------------------------------------------------------------------------- */
/* Wi-Fi card: label and copy button on one line, the value full width underneath
   so a 63-character password still reads comfortably on a phone. */
.wifi-card .section-heading { margin-bottom: 14px; }
.wifi-badge { display: grid; flex: none; width: 44px; height: 44px; place-items: center; border-radius: 13px; color: #fff; background: linear-gradient(135deg, #153f70, #2169d5); box-shadow: 0 8px 18px rgba(27, 93, 174, .22); }
.wifi-badge svg { width: 24px; height: 24px; fill: currentColor; }
.wifi-panel { display: grid; overflow: hidden; border: 1px solid #d9e2ec; border-radius: 14px; background: #f7f9fb; }
.wifi-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto; align-items: center; column-gap: 12px; row-gap: 4px; padding: 12px 16px 15px; }
.wifi-row + .wifi-row { border-top: 1px solid #e3e9f0; }
.wifi-row > small { grid-column: 1; grid-row: 1; color: #9a762c; font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.wifi-row > .wifi-copy { grid-column: 2; grid-row: 1; }
.wifi-row > .wifi-value { grid-column: 1 / -1; grid-row: 2; }
.wifi-value { display: block; min-width: 0; color: var(--navy); font-size: 21px; font-weight: 800; letter-spacing: -0.01em; line-height: 1.25; overflow-wrap: anywhere; -webkit-user-select: all; user-select: all; }
.wifi-password { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace; font-size: 19px; font-weight: 700; letter-spacing: .03em; word-break: break-all; font-variant-ligatures: none; }
.wifi-copy { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px; padding: 0 14px; border: 1px solid #d3e2f2; border-radius: 10px; color: #174f89; background: #eaf3fc; font-size: 13px; font-weight: 800; white-space: nowrap; cursor: pointer; transition: background .15s ease, border-color .15s ease, color .15s ease; }
.wifi-copy:hover { border-color: #bfd6ee; background: #dfedfb; }
.wifi-copy:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.wifi-copy:active { transform: translateY(1px); }
.wifi-copy svg { width: 17px; height: 17px; flex: none; }
.wifi-copy.is-copied { border-color: #b8dfc7; color: #216340; background: #e5f5eb; }
.wifi-pending { align-items: center; }
.wifi-pending-icon { display: grid; flex: 0 0 38px; width: 38px; height: 38px; place-items: center; border-radius: 11px; color: #6b7c8e; background: #e6ebef; }
.wifi-pending-icon svg { width: 20px; height: 20px; }
.wifi-pending strong { color: #16304d; font-size: 14px; line-height: 1.35; }
.wifi-muted { margin: 0; padding: 13px 14px; border: 1px dashed #c8d1db; border-radius: 11px; color: var(--muted); font-size: 13px; line-height: 1.5; }

/* Check-out card: the scheduled moment in the stay-period gold language, one
   sentence, and a deliberate primary action that opens a confirmation sheet. */
.checkout-card .section-heading { margin-bottom: 14px; }
.checkout-when { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; padding: 12px 15px; border: 1px solid #e6dcc4; border-radius: 14px; background: #fcf9f1; }
.checkout-when > i { display: grid; flex: none; width: 34px; height: 34px; place-content: center; border-radius: 10px; color: #fff; background: linear-gradient(135deg, #b78529, #d8ad52); font-size: 15px; font-style: normal; font-weight: 900; }
.checkout-when > div { display: flex; flex-wrap: wrap; align-items: baseline; min-width: 0; column-gap: 8px; }
.checkout-when span { flex: 1 1 100%; color: #a07c2c; font-size: 10px; font-weight: 850; letter-spacing: .14em; line-height: 1.2; text-transform: uppercase; }
.checkout-when strong { margin-top: 3px; color: var(--navy); font-size: 18px; font-weight: 800; letter-spacing: -0.01em; line-height: 1.2; }
.checkout-when em { color: #5b6b82; font-size: 14px; font-style: normal; font-weight: 700; }
.checkout-intro { font-size: 14px; line-height: 1.55; }
.checkout-button { gap: 10px; margin-top: 18px; font-size: 16px; }
.checkout-button svg { width: 22px; height: 22px; flex: none; }
.checkout-button:hover { box-shadow: 0 10px 22px rgba(27, 93, 174, .28); }
.checkout-button:focus-visible { outline: 3px solid rgba(33, 105, 213, .45); outline-offset: 2px; }
/* RM28-occupied-fix (27 Oct 2026): arrival-day lock, greyed until 00:00 of the next day. */
.checkout-button.is-disabled { color: #7b8796; background: #e7ebf0; box-shadow: none; cursor: not-allowed; }
.checkout-button.is-disabled:hover { box-shadow: none; }
.checkout-locked-hint { margin: 10px 0 0; color: #6a7686; font-size: 13px; font-weight: 700; line-height: 1.45; text-align: center; }
.checkout-state { display: flex; align-items: center; gap: 14px; }
.checkout-state > div { min-width: 0; }
.checkout-state strong { display: block; color: #16304d; font-size: 15px; line-height: 1.3; }
.checkout-state p { margin: 3px 0 0; font-size: 13px; line-height: 1.5; }
.checkout-state small { display: block; margin-top: 6px; color: #8b97a7; font-size: 11px; }
.checkout-card.is-recorded { border-color: #b8dfc7; background: linear-gradient(180deg, #fff, #f3fbf6); }
.checkout-card.is-recorded .section-heading small { color: #347557; }
.checkout-state.is-recorded { padding: 14px 16px; border: 1px solid #c9e7d4; border-radius: 14px; background: #eef9f2; }
.checkout-check { display: grid; flex: 0 0 48px; width: 48px; height: 48px; place-items: center; border-radius: 50%; color: #fff; background: linear-gradient(135deg, #2e8b57, #4bb375); box-shadow: 0 8px 18px rgba(46, 139, 87, .25); }
.checkout-check svg { width: 26px; height: 26px; }
.checkout-state.is-recorded strong { color: #1e5c3b; font-size: 17px; }
.checkout-state.is-recorded p { color: #3b6b50; }
.checkout-state.is-refused { padding: 13px 14px; border: 1px solid #e8cf8b; border-radius: 12px; color: #68572e; background: #fff8e6; }
.checkout-state.is-refused > span { display: grid; flex: 0 0 34px; width: 34px; height: 34px; place-items: center; border-radius: 50%; color: #fff; background: #c48b20; font-weight: 900; }
.checkout-state.is-refused strong { color: #5f481b; }
.checkout-state.is-refused p { color: #7a653b; }
.checkout-whatsapp { margin-top: 14px; text-decoration: none; }
.checkout-whatsapp:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

/* Confirmation sheet: same overlay and bottom-sheet behaviour as the visitor modal. */
.checkout-modal-open { overflow: hidden; }
.checkout-sheet { padding: 26px 24px 24px; outline: none; }
.checkout-sheet:focus-visible { box-shadow: 0 28px 80px rgba(4, 18, 35, .34), 0 0 0 3px rgba(33, 105, 213, .35); }
.checkout-sheet-head { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 14px; align-items: center; padding-right: 44px; }
.checkout-sheet-head > span { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 14px; color: #fff; background: linear-gradient(135deg, #153f70, #2169d5); box-shadow: 0 8px 18px rgba(27, 93, 174, .22); }
.checkout-sheet-head svg { width: 26px; height: 26px; }
.checkout-sheet-head small { display: block; color: #9a762c; font-size: 10px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.checkout-sheet-head h2 { margin: 3px 0 0; color: var(--navy); font-family: Georgia, serif; font-size: 26px; line-height: 1.1; }
.checkout-sheet-head h2 span { white-space: nowrap; }
.checkout-sheet-lead { margin: 18px 0 0; color: #52667a; font-size: 14px; line-height: 1.55; }
.checkout-checklist { margin: 16px 0 0; padding: 14px 16px; border: 1px solid #dfe6ed; border-radius: 14px; background: #f7f9fb; }
.checkout-checklist small { display: block; color: #9a762c; font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.checkout-checklist ul { display: grid; gap: 9px; margin: 10px 0 0; padding: 0; list-style: none; }
.checkout-checklist li { display: flex; align-items: center; gap: 10px; color: #16304d; font-size: 14px; font-weight: 600; }
.checkout-checklist li svg { width: 22px; height: 22px; flex: none; padding: 4px; border-radius: 50%; color: #216340; background: #e5f5eb; }
.checkout-sheet-note { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 10px; align-items: center; margin: 12px 0 0; padding: 11px 12px; border: 1px solid #e8cf8b; border-radius: 10px; color: #68572e; background: #fff8e6; }
.checkout-sheet-note > span { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 50%; color: #fff; background: #c48b20; }
.checkout-sheet-note svg { width: 16px; height: 16px; }
.checkout-sheet-note p { margin: 0; font-size: 12px; line-height: 1.45; }
.checkout-sheet-form { display: grid; gap: 10px; margin: 20px 0 0; }
.checkout-sheet-form .primary-button,
.checkout-sheet-form .secondary-button { margin: 0; }
.checkout-sheet-form .form-error { margin: 0; }
@media (min-width: 521px) {
  .checkout-sheet { width: min(100%, 460px); }
}
@media (max-width: 520px) {
  .checkout-sheet { padding: 22px 17px max(24px, env(safe-area-inset-bottom)); }
  .checkout-sheet-head h2 { font-size: 23px; }
}

/* CHECKIN-reuse (27 Oct 2026): "Usar meus dados da última estadia" card and confirmation */
.reuse-card { display:grid; gap:4px; }
.reuse-card-head { display:grid; grid-template-columns:44px minmax(0,1fr); gap:13px; align-items:start; }
.reuse-card-head h2 { margin:2px 0 6px; font-size:21px; }
.reuse-card-head small { color:#9a762c; font-size:10px; font-weight:800; letter-spacing:.1em; text-transform:uppercase; }
.reuse-card-head p { font-size:13px; }
.reuse-card-icon { display:grid; width:44px; height:44px; place-content:center; border-radius:12px; color:#6d551e; background:#f8edcf; }
.reuse-card-icon svg { width:22px; height:22px; }
.reuse-card.is-recognized { border-color:#e7d7a8; background:linear-gradient(180deg,#fffdf7 0%,#fff 70%); box-shadow:0 10px 26px rgba(154,118,44,.10); }
.reuse-card .reuse-main-button { margin-top:16px; }
.reuse-otp-form { margin-top:4px; }
.reuse-otp-form > label { margin-top:14px; }
.reuse-otp-form .otp-row { margin-top:12px; }
.reuse-otp-form .otp-row input { width:100%; height:52px; padding:0 14px; border:1px solid #cad3dd; border-radius:10px; font-size:20px; letter-spacing:.3em; text-align:center; background:#fff; }
.reuse-otp-form .primary-button.compact { min-height:50px; margin-top:16px; }
.reuse-phone { grid-template-columns:auto minmax(0,1fr); }
.reuse-phone-prefix { display:grid; align-self:stretch; place-content:center; min-width:76px; padding:0 12px; border-right:1px solid #d9e0e7; color:#173f67; background:#f2f7fc; font-size:13px; font-weight:900; }
.reuse-phone input[readonly] { color:#526177; }
.reuse-otp-actions { display:flex; flex-wrap:wrap; justify-content:center; gap:4px 10px; margin-top:6px; }
.reuse-otp-actions .text-button:disabled { opacity:.6; cursor:default; }
.reuse-people { display:grid; gap:10px; margin:4px 0 0; padding:0; list-style:none; }
.reuse-person { display:grid; grid-template-columns:42px minmax(0,1fr) auto; align-items:start; gap:11px; padding:12px; border:1px solid var(--line); border-radius:12px; background:#fff; transition:opacity .18s ease, background .18s ease, border-color .18s ease; }
.reuse-person.needs-photo { border-color:#ecd9a6; background:#fffcf3; }
.reuse-person.is-removed { opacity:.62; background:#f5f7fa; border-style:dashed; }
.reuse-person.is-removed .reuse-person-body strong { text-decoration:line-through; text-decoration-color:rgba(82,97,119,.5); }
.reuse-avatar { display:grid; width:42px; height:42px; place-content:center; border-radius:11px; color:#205d9a; background:#e8f3ff; font-weight:800; font-size:14px; }
.reuse-person-body { min-width:0; }
.reuse-person-body strong { display:block; color:#1d3452; font-size:15px; line-height:1.3; overflow-wrap:anywhere; }
.reuse-person-body small { display:block; margin-top:2px; color:var(--muted); font-size:11px; line-height:1.4; }
.reuse-person-body small em { font-style:normal; }
.reuse-person.needs-photo .reuse-person-body small em { color:#8a6417; font-weight:700; }
.reuse-photo { margin-top:10px; }
.reuse-photo p { margin:0 0 8px; color:#7a5b16; font-size:12px; }
.reuse-photo .upload-field { display:block; margin:0; position:relative; }
.reuse-photo .upload-field > b { min-height:50px; }
.reuse-person-tag { align-self:center; padding:6px 10px; border-radius:999px; color:#765619; background:#fff1c9; font-size:11px; font-weight:850; }
.reuse-toggle.secondary-button.compact { width:auto; min-height:38px; margin:0; padding:0 12px; border-radius:9px; font-size:12px; align-self:center; }
.reuse-person.is-removed .reuse-toggle { color:#1d6b45; background:#e7f6ee; }
.reuse-slots { margin:12px 0 0; padding:10px 12px; border-radius:10px; color:#526177; background:#f4f6f9; font-size:12px; }
.reuse-slots.is-over { color:#8b2b2b; background:#fbecec; font-weight:700; }
.reuse-note { margin:12px 0 0; color:var(--muted); font-size:12px; }
.reuse-add-note { display:grid; grid-template-columns:24px minmax(0,1fr); gap:10px; align-items:center; padding:11px 12px; border:1px dashed #c8d1db; border-radius:10px; }
.reuse-add-note b { display:grid; width:24px; height:24px; place-content:center; border-radius:7px; color:#174f89; background:#eaf3fc; }
.reuse-confirm-form .saved-contact { margin-top:16px; }
.reuse-confirm-form [data-reuse-back] { margin-top:10px; }
.reuse-confirm-form[aria-busy="true"] .reuse-people { opacity:.75; }
@media (max-width: 380px) {
  .reuse-person { grid-template-columns:38px minmax(0,1fr); }
  .reuse-avatar { width:38px; height:38px; }
  .reuse-person > .reuse-toggle, .reuse-person > .reuse-person-tag { grid-column:2; justify-self:start; }
}
@media (prefers-reduced-motion: reduce) { .reuse-person { transition:none; } }
