:root {
  color-scheme: light;
  --ink: #30251f;
  --wine: #542632;
  --wine-deep: #351a22;
  --muted: #68584e;
  --paper: #fffdfa;
  --line: #e7ded3;
  --gold: #ad7231;
  font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: #f2ece4; color: var(--ink); line-height: 1.5; min-width: 280px; }
a { color: var(--wine); text-underline-offset: .2em; }
img { max-width: 100%; }
main { width: min(100% - 48px, 1080px); margin-inline: auto; }
.site-head { display: flex; justify-content: space-between; align-items: center; margin-block: 34px 22px; gap: 16px; }
.wordmark { display: flex; align-items: center; gap: 15px; }
.logo { display: block; width: 72px; height: 62px; object-fit: cover; object-position: center; border-radius: 8px; }
.hotel { display: block; font-weight: 650; font-size: 1rem; }
.property { display: block; font-size: .875rem; color: var(--muted); }
.head-link { font-size: .875rem; font-weight: 650; }
.layout { display: grid; grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr); overflow: hidden; border: 1px solid #e2d7ca; border-radius: 24px; box-shadow: 0 20px 55px #40281713; background: var(--paper); }
.hero { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: space-between; gap: 54px; overflow: hidden; padding: 54px 38px 42px; color: #fdf5f0; background: radial-gradient(ellipse at 88% 105%, #8b4d4a 0%, transparent 58%), linear-gradient(156deg, #65323e, var(--wine-deep) 84%); }
.hero::after { content: ''; z-index: -1; position: absolute; width: 480px; height: 480px; left: 43%; bottom: -220px; border: 1px solid #efcba82b; border-radius: 50%; box-shadow: 0 0 0 23px #efcba817, 0 0 0 46px #efcba813, 0 0 0 70px #efcba810, 0 0 0 93px #efcba80d, 0 0 0 116px #efcba80a; }
.kicker { color: #f1cba4; font-size: .875rem; font-weight: 650; letter-spacing: .09em; text-transform: uppercase; }
h1, h2, .profile-name { font-family: Georgia, serif; font-weight: 400; }
h1 { font-size: clamp(2.35rem, 5vw, 4.3rem); line-height: .99; letter-spacing: -.055em; margin: .35em 0 0; }
.hero p { max-width: 30ch; color: #f5e3da; margin: 22px 0 0; }
.profile { display: flex; gap: 14px; align-items: center; padding-top: 20px; border-top: 1px solid #f9e4ce53; }
.initials { display: grid; place-items: center; flex: 0 0 48px; height: 48px; border-radius: 50%; color: #ffe7c8; border: 1px solid #f9e4ce64; background: #ffe4c51c; font-family: Georgia, serif; font-size: 1.1rem; }
.profile-name { display: block; font-size: 1.35rem; line-height: 1.25; overflow-wrap: anywhere; }
.profile-team { display: block; color: #f1d2bb; font-size: .875rem; margin-top: 2px; }
.content { min-width: 0; padding: 46px 44px 39px; }
.content h2, .admin h1 { margin: 0; font-size: clamp(1.85rem, 3.5vw, 2.65rem); letter-spacing: -.045em; line-height: 1.08; }
.intro { margin: 9px 0 23px; color: var(--muted); }
.demo { width: fit-content; margin: 0 0 17px; padding: 5px 10px; border-radius: 5px; background: #f2e7db; color: #634829; font-size: .875rem; }
fieldset { border: 0; padding: 0; margin: 0 0 23px; min-width: 0; }
legend, label { font-weight: 650; }
.rating { display: flex; gap: clamp(4px, 1.3vw, 10px); margin-top: 9px; align-items: center; }
.rating input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.rating label { flex: 0 1 54px; min-width: 0; width: 54px; height: 50px; display: grid; place-items: center; border: 1px solid #dfd2c4; border-radius: 10px; color: #8a6848; cursor: pointer; background: #fbf6ef; font-family: Arial, sans-serif; font-size: 1.6rem; line-height: 1; }
.rating label:hover, .rating label.filled, .rating input:checked + label { background: #f4e2c8; border-color: #b78855; color: #81501e; }
.rating input:focus-visible + label, :focus-visible { outline: 2px solid #965d3a; outline-offset: 3px; }
.hint { margin: 7px 0 0; color: var(--muted); font-size: .875rem; }
.optional { font-weight: 400; color: var(--muted); font-size: .875rem; margin-left: 5px; }
textarea, input[type=text], input[type=date], select { margin-top: 8px; width: 100%; border: 1px solid #dcd0c3; border-radius: 9px; padding: 12px 13px; background: #fffcf8; color: var(--ink); font: inherit; }
.stay-fields > label, .stay-pair > label { display: block; }
.stay-fields > label { margin-top: 8px; }
.stay-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 12px; margin-top: 10px; }
.stay-pair input { min-width: 0; }
@media (max-width: 390px) { .stay-pair { grid-template-columns: 1fr; } }
textarea { display: block; min-height: 92px; resize: vertical; }
.count { text-align: right; margin: 5px 0 13px; }
.button, button { display: inline-flex; align-items: center; justify-content: center; min-height: 49px; border: 0; border-radius: 9px; background: var(--wine); color: #fff7f2; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; padding: 10px 18px; }
.button:hover, button:hover { background: #703746; }
.submit { width: 100%; }
.privacy { margin: 12px 0 0; text-align: center; font-size: .875rem; color: var(--muted); }
.error { border-left: 3px solid #a1323f; background: #f9e8e8; color: #722635; padding: 10px 13px; margin-block: 12px; }
.site-foot { padding: 22px 0 28px; color: var(--muted); font-size: .875rem; }
.confirmation { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 15px; }
.confirmation p { margin: 0; }
.check { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; color: #3b5f46; background: #e4eee3; font-size: 1.5rem; font-weight: 700; }
.admin { padding: 32px; border-radius: 22px; border: 1px solid var(--line); background: var(--paper); }
.admin h2 { margin: 0 0 14px; font-size: 1.55rem; }
.admin section { margin-top: 29px; border-top: 1px solid var(--line); padding-top: 24px; }
.create { display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 12px; align-items: end; }
.results { display: grid; gap: 8px; list-style: none; padding: 0; }
.results li { background: #f8f1e8; border-radius: 10px; padding: 10px 14px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; overflow-wrap: anywhere; }
.actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.text-button { color: var(--wine); background: none; text-decoration: underline; min-height: 36px; padding: 0; font-weight: 600; }
.text-button:hover { color: #8e4859; background: none; }
.review { padding: 12px 0; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.review p { margin: 7px 0 0; white-space: pre-wrap; }
.qr-preview { display: block; width: min(100%, 280px); margin: 16px 0; }
@media (max-width: 720px) {
  main { width: calc(100% - 28px); }
  .site-head { margin-block: 17px 14px; }
  .logo { width: 57px; height: 50px; }
  .wordmark { gap: 9px; }
  .layout { grid-template-columns: 1fr; border-radius: 17px; }
  .hero { padding: 24px 23px 21px; gap: 22px; }
  .hero p { margin-top: 12px; max-width: none; }
  .profile { padding-top: 12px; }
  .initials { height: 39px; flex-basis: 39px; }
  .content, .admin { padding: 24px 22px; }
  .confirmation { min-height: 245px; }
  .create { grid-template-columns: 1fr; }
}
@media (max-width: 345px) {
  .head-link { max-width: 65px; text-align: right; }
  .content, .hero { padding-inline: 17px; }
}
