:root { color-scheme: light; --ink: #202b28; --muted: #52615b; --teal: #20584d; --line: #d7dfdb; --light: #f4f7f5; --error: #a02f27; }
* { box-sizing: border-box; }
body { margin: 0; background: #fff; color: var(--ink); font-family: -apple-system, BlinkMacSystemFont, "Noto Sans", "Hiragino Sans", "Microsoft JhengHei", sans-serif; font-size: 16px; line-height: 1.65; letter-spacing: 0; }
button, input, select, textarea { font: inherit; letter-spacing: 0; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: var(--teal); text-underline-offset: 3px; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .5; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #c17422; outline-offset: 3px; }
.header { max-width: 1120px; padding: 22px 32px; margin: auto; display: flex; justify-content: space-between; align-items: center; gap: 16px; border-bottom: 1px solid var(--line); }
.brand { font-weight: 700; color: var(--ink); font-size: 22px; text-decoration: none; }
.languages { display: flex; gap: 2px; padding: 3px; background: var(--light); border-radius: 4px; }
.languages button { width: 44px; min-height: 44px; padding: 0; border: 0; background: transparent; color: var(--muted); font-size: 14px; font-weight: 600; border-radius: 3px; }
.languages button[aria-pressed="true"] { background: #fff; box-shadow: 0 1px 4px #00000015; color: var(--teal); }
.page { max-width: 1120px; margin: 0 auto; padding: 30px 32px 70px; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: 28px; line-height: 1.35; margin-bottom: 12px; }
h2 { font-size: 20px; line-height: 1.4; margin-bottom: 18px; }
h3 { font-size: 17px; line-height: 1.4; margin-bottom: 12px; }
.pageHeading { margin-bottom: 30px; }
.pageHeading p { color: var(--muted); max-width: 680px; margin-bottom: 0; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 54px; }
.layout > *, .adminLayout > * { min-width: 0; }
.staySection { padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.field { display: flex; flex-direction: column; gap: 7px; margin: 0 0 18px; min-width: 0; font-size: 15px; font-weight: 600; }
.field input, .field select, .field textarea { display: block; color: var(--ink); border: 1px solid #a9b6af; border-radius: 4px; width: 100%; max-width: 100%; min-width: 0; min-height: 46px; padding: 10px 12px; background: #fff; font-size: 16px; font-weight: 400; line-height: 1.45; }
.field textarea { resize: vertical; overflow-wrap: anywhere; }
.field select { text-overflow: ellipsis; }
.field input[readonly], .field select:disabled { color: var(--ink); background: var(--light); opacity: 1; -webkit-text-fill-color: var(--ink); }
.field input[type="file"] { padding: 8px; white-space: normal; font-size: 13px; color: transparent; }
.field input[type="file"]::file-selector-button { color: var(--ink); min-height: 30px; }
input[type="date"] { appearance: none; -webkit-appearance: none; min-width: 0; }
.twoColumns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.hint { font-size: 13px; color: var(--muted); line-height: 1.55; margin: -8px 0 20px; }
.guestSection { padding-top: 28px; }
.guest { border: 0; border-bottom: 1px solid var(--line); padding: 12px 0 28px; margin: 0 0 24px; min-width: 0; position: relative; }
.guest > legend { font-size: 18px; font-weight: 700; padding: 0 52px 0 0; }
.removeGuest { position: absolute; right: 0; top: -35px; }
.choice { margin: 0 0 20px; padding: 0; border: 0; min-width: 0; }
.choice legend { margin-bottom: 9px; padding: 0; font-size: 15px; font-weight: 600; }
.choiceOptions { display: flex; flex-wrap: wrap; gap: 10px; }
.choiceOptions label { display: flex; align-items: center; gap: 9px; min-height: 46px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 4px; cursor: pointer; }
.choiceOptions label:has(input:checked) { border-color: var(--teal); background: #edf5f1; }
input[type="radio"], input[type="checkbox"] { width: 20px; height: 20px; flex: none; accent-color: var(--teal); margin: 0; }
.contextNote { color: var(--muted); font-size: 14px; padding-left: 12px; border-left: 2px solid var(--line); }
.passportFields { padding-top: 12px; }
.passportPreview { display: block; max-width: 100%; object-fit: contain; margin: 0 0 12px; background: var(--light); }
.fileStatus { color: var(--muted); font-size: 13px; font-weight: 400; overflow-wrap: anywhere; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.primary, .secondary, .iconButton { display: inline-flex; justify-content: center; align-items: center; gap: 9px; min-height: 46px; padding: 10px 18px; border: 1px solid var(--line); border-radius: 4px; font-size: 15px; font-weight: 600; text-decoration: none; line-height: 1.5; }
.primary { background: var(--teal); color: #fff; border-color: var(--teal); }
.secondary, .iconButton { background: #fff; color: var(--teal); }
.primary:hover { background: #17483e; }
.secondary:hover, .iconButton:hover { background: var(--light); }
.iconButton { width: 46px; padding: 10px; flex: none; }
.icon { flex: none; width: 20px; height: 20px; }
.primary .icon { filter: brightness(0) invert(1); }
.privacy { color: var(--muted); font-size: 13px; margin: 24px 0; }
.error { color: var(--error); padding: 10px 0; font-weight: 600; }
.demoWarning { border-left: 3px solid #b87122; padding: 8px 12px; background: #fff8eb; color: #70420a; font-size: 13px; margin-bottom: 26px; }
.stayAside { align-self: start; position: sticky; top: 22px; color: var(--muted); font-size: 14px; }
.stayAside h2 { font-size: 19px; color: var(--ink); margin: 16px 0 10px; }
.stayCover { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; background: var(--light); border-radius: 4px; }
.stayAside dl { border-top: 1px solid var(--line); padding-top: 18px; }
dl { margin: 16px 0 24px; }
dt { color: var(--muted); font-size: 13px; }
dd { margin: 3px 0 14px; white-space: pre-wrap; overflow-wrap: anywhere; color: var(--ink); }
.textLink { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.company { padding-top: 16px; border-top: 1px solid var(--line); margin-top: 20px; }
.guestReview { padding: 20px 0; border-bottom: 1px solid var(--line); }
.completion { max-width: 660px; padding: 40px 0; }
.successMark { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; background: #edf5f1; margin-bottom: 20px; border-radius: 50%; }
.completion p { color: var(--muted); }
.login { max-width: 420px; margin: 40px auto; }
.statistics { border-bottom: 1px solid var(--line); margin: 26px 0; padding-bottom: 20px; }
.filterForm { display: grid; grid-template-columns: minmax(0, 240px) minmax(0, 240px) auto; align-items: end; justify-content: start; gap: 16px; }
.filterForm .field { margin-bottom: 0; }
.filterNote { font-size: 13px; color: var(--muted); margin: 12px 0; }
.statisticsResult { font-weight: 600; margin-bottom: 0; }
.hotelFilters { grid-column: 1 / -1; border: 0; padding: 0 0 12px; margin: 0; min-width: 0; }
.hotelFilters legend { font-size: 15px; font-weight: 600; padding: 0; }
.hotelChoices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px 20px; }
.hotelChoice { display: flex; align-items: center; gap: 9px; min-height: 44px; cursor: pointer; font-size: 14px; }
.hotelChoice span { overflow-wrap: anywhere; }
.allHotels { font-weight: 600; margin: 4px 0; }
.recordActions { display: flex; align-items: center; gap: 8px; flex: none; }
.danger { color: var(--error); }
.detailActions { margin-top: 18px; }
.detailActions #print { margin-top: 0; }
.adminLayout { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 44px; }
.inviteSection h1 { font-size: 22px; }
.inviteSection { border-right: 1px solid var(--line); padding-right: 24px; }
.registryHeading, .detailHeading { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.registryHeading h2, .detailHeading h2 { margin: 0; }
.recordRow { display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); padding: 20px 0; }
.recordRow > div { min-width: 0; }
.recordRow h3, .recordRow p { overflow-wrap: anywhere; }
.recordRow p { margin-bottom: 8px; }
.recordRow .hint { margin: 0 0 8px; }
.status { font-size: 13px; }
.pending { color: #8b4d12; }
.verified { color: var(--teal); }
.verified .icon { vertical-align: middle; }
.pagination { margin-top: 24px; font-size: 13px; color: var(--muted); }
.checkLabel { display: flex; gap: 10px; align-items: flex-start; min-height: 44px; margin: 16px 0; font-size: 14px; }
.checkLabel input { margin-top: 4px; }
#verifyForm { padding: 20px 0; }
#print { margin-top: 18px; }
.printOnly { display: none; }
.guestPage .header, .guestPage .page { max-width: 824px; }
.guestPage .page { padding-top: 24px; }
.guestPage h1 { font-size: 22px; margin-bottom: 0; }
.guestPage .pageHeading { margin-bottom: 14px; }
.guestPage .demoWarning { background: transparent; border: 0; padding: 0; font-size: 12px; margin-bottom: 14px; }
.bookingSummary { margin-bottom: 18px; }
.bookingSummary h2 { font-size: 16px; margin: 0 0 4px; overflow-wrap: anywhere; }
.bookingSummary p { margin: 2px 0; font-size: 13px; color: var(--muted); overflow-wrap: anywhere; }
.stayDates { display: flex; flex-wrap: wrap; gap: 0 12px; }
.stayDates span { white-space: nowrap; }
.countForm { display: grid; grid-template-columns: 116px 88px auto; align-items: center; justify-content: start; gap: 10px; padding: 14px 0 20px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.countForm label { font-size: 14px; }
.stayDateFields { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; margin-bottom: 4px; }
.stayDateFields .formRow { grid-template-columns: 116px minmax(0, 1fr); }
.stayDateFields input[type="date"] { width: 100%; min-width: 0; min-height: 44px; }
.guestPage .countForm { grid-template-columns: 116px 88px minmax(0, 1fr); }
.countForm > button { justify-self: start; }
.guestPage .formContents { border: 0; margin: 0; padding: 0; min-width: 0; }
.guestPage .guest { border: 0; border-bottom: 1px solid var(--line); padding: 8px 0 14px; margin: 0 0 16px; }
.guestPage .guest > legend { font-size: 16px; padding: 0; }
.formRow { display: grid; grid-template-columns: 116px minmax(0, 1fr); align-items: center; gap: 10px; margin-bottom: 8px; min-width: 0; }
.formRow > label, .formRow > span { font-size: 14px; overflow-wrap: anywhere; }
.formRow input:not([type="checkbox"]):not([type="file"]), .formRow select, .countForm input { display: block; border: 1px solid #a9b6af; border-radius: 3px; color: var(--ink); background: #fff; width: 100%; min-width: 0; min-height: 44px; font-size: 16px; padding: 8px 10px; line-height: 1.45; }
.formRow input[readonly] { background: var(--light); }
.sharedControl { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px; min-width: 0; }
.singleControl { min-width: 0; }
.sameToggle { display: flex; align-items: center; gap: 6px; min-height: 44px; max-width: 114px; font-size: 12px; line-height: 1.4; cursor: pointer; }
.sameToggle span { overflow-wrap: anywhere; }
.guestPage .passportFields { padding: 0; }
.hiddenUpload { display: none; }
.uploadControl { display: flex; align-items: center; gap: 10px; min-width: 0; }
.uploadControl .fileStatus { font-size: 12px; min-width: 0; line-height: 1.45; }
.guestPage .secondary, .guestPage .primary { font-size: 14px; min-height: 44px; padding: 9px 12px; border-radius: 3px; }
.uploadControl .photoButton { flex: none; }
.guestPage .submission { padding-top: 0; }
.guestPage .submission .primary { width: auto; min-width: 132px; }
.privacyDetails { font-size: 12px; color: var(--muted); margin: 8px 0 0; }
.privacyDetails summary, .prefillDetails summary { display: flex; align-items: center; min-height: 44px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.privacyDetails p { margin: 8px 0; }
.registerFooter { margin-top: 20px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); overflow-wrap: anywhere; }
.prefillDetails { margin-bottom: 20px; }
.visuallyHidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.adminBody { background: #fff; font-size: 14px; line-height: 1.55; }
html:has(.adminHeader) { scrollbar-gutter: stable; scroll-padding-top: 78px; }
.adminBody .adminHeader { position: sticky; top: 0; z-index: 20; display: grid;
  grid-template: "identity nav actions" 44px / minmax(0, 1fr) auto 72px; gap: 0 20px;
  max-width: none; min-height: 64px; padding: 9px max(24px, calc((100% - 1200px) / 2)) 10px; background: #fff; }
.adminHeader .adminIdentity { grid-area: identity; }
.adminHeader .adminNav { grid-area: nav; }
.adminActions { grid-area: actions; height: 44px; }
.adminActions button { width: 100%; }
.adminIdentity { display: flex; align-items: center; gap: 16px; min-width: 0; }
.adminBody .brand { font-size: 17px; line-height: 1.4; font-weight: 700; }
.adminContext { color: #68736f; font-size: 12px; border-left: 1px solid var(--line); padding-left: 16px; }
.adminBody .page { max-width: 1248px; padding: 28px 24px 40px; }
.adminPageHeading { margin-bottom: 22px; }
.adminBody h1 { font-size: 24px; line-height: 1.4; font-weight: 700; margin: 0; }
.adminBody h2 { font-size: 17px; line-height: 1.5; font-weight: 650; }
.adminBody h3 { font-size: 14px; line-height: 1.6; font-weight: 600; }
.adminBody .primary, .adminBody .secondary, .adminBody .iconButton { min-height: 44px; font-size: 13px; padding: 9px 14px; }
.adminBody .iconButton { width: 44px; padding: 10px; }
.adminBody .statistics { margin: 0 0 28px; padding: 20px 24px 16px; background: #f6f8f9; border-top: 1px solid #e0e5e7; border-bottom: 1px solid #e0e5e7; }
.adminBody .statistics h2 { margin-bottom: 12px; }
.adminBody .filterForm { grid-template-columns: minmax(0, 220px) minmax(0, 220px) minmax(0, 1fr); gap: 16px; }
.adminBody .hotelFilters { padding: 0 0 14px; border-bottom: 1px solid #e0e5e7; }
.hotelFilterHeading { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; }
.hotelFilterHeading > span { color: #52615b; font-size: 12px; font-weight: 600; }
.adminBody .allHotels { margin: 0; font-size: 12px; font-weight: 500; }
.adminBody .hotelChoices { gap: 0 24px; }
.adminBody .hotelChoice { min-height: 44px; font-size: 13px; padding: 6px 0; }
.adminBody .hotelChoice input { width: 17px; height: 17px; }
.adminBody .field { font-size: 12px; font-weight: 500; gap: 6px; }
.adminBody .field input, .adminBody .field select { min-height: 44px; padding: 9px 11px; border-color: #bac5c0; font-size: 14px; }
.adminBody .filterNote { font-size: 12px; margin: 12px 0 10px; color: #65716d; }
.adminBody .statisticsResult { margin: 0; font-size: 13px; font-weight: 400; }
.statisticsResult strong { color: #202b28; font-size: 20px; font-weight: 650; margin: 0 3px; }
.statSeparator { color: #a7b1ac; margin: 0 12px; }
.adminBody .registryHeading { margin-bottom: 12px; }
.adminBody .registryHeading .actions { gap: 8px; }
.adminBody .recordColumns, .adminBody .recordRow { display: grid; grid-template-columns: minmax(120px, 1fr) minmax(160px, 1.3fr) minmax(150px, 1.1fr) 85px 110px; gap: 20px; align-items: center; }
.recordColumns { padding: 10px 0; color: #65716d; font-size: 12px; border-bottom: 1px solid var(--line); }
.adminBody .recordRow { padding: 18px 0; }
.adminBody .recordRow > div:first-child { display: contents; }
.adminBody .recordRow h3, .adminBody .recordRow p { margin: 0; }
.adminBody .recordRow p { font-size: 13px; }
.adminBody .recordRow .hint { font-size: 12px; line-height: 1.7; }
.adminBody .status { font-size: 12px; }
.adminBody .recordActions { gap: 6px; }
.adminBody .recordDetail { border-top: 1px solid var(--line); padding-top: 20px; }
.adminBody .detailHeading { margin-bottom: 14px; }
.adminBody .guestReview { padding: 16px 0; }
.adminBody .guestReview h3 { margin-bottom: 10px; }
.adminBody dt { font-size: 12px; }
.adminBody dd { font-size: 14px; }
.adminBody .privacy { border-top: 1px solid var(--line); margin: 28px 0 0; padding-top: 16px; font-size: 12px; }
.notificationSettings { border-top: 1px solid var(--line); margin-top: 28px; padding-top: 20px; }
.notificationSettings .detailHeading { justify-content: flex-start; gap: 16px; }
.notificationSettings .hint { margin: 0; font-size: 12px; }
.emailRows { max-width: 680px; margin-bottom: 14px; }
.emailRow { display: grid; grid-template-columns: minmax(0, 1fr) 44px; align-items: start; gap: 10px; margin-bottom: 8px; }
.emailRow .field { margin: 0; }
#emailSaveNotice { color: var(--teal); font-size: 13px; }
.emptyRecipients { color: var(--muted); font-size: 13px; }
.adminBody .notificationSettings .primary { width: auto; }
.adminNav { display: grid; grid-template-columns: repeat(3, minmax(0, 94px)); gap: 4px; }
.adminNav a { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 4px 8px; border-bottom: 2px solid transparent; border-radius: 4px 4px 0 0; text-decoration: none; color: var(--muted); font-size: 14px; font-weight: 600; text-align: center; }
.adminNav a:hover { background: var(--light); }
.adminNav a[aria-current] { color: var(--teal); background: #eef5f1; border-color: var(--teal); }
.opsHeading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.opsHeading h1 { margin: 0; }
#opsStatus, .opsMuted { color: var(--muted); font-size: 13px; }
.opsSection { padding: 20px 0; border-top: 1px solid var(--line); }
.opsSection h2 { margin-bottom: 12px; }
.opsChecks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.opsChecks li { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 2px 10px; padding: 8px 12px; background: var(--light); border-radius: 4px; }
.opsChecks li .opsMuted { grid-column: 1 / -1; }
.opsChecks strong[data-health="ok"] { color: var(--teal); }
.opsChecks strong[data-health="error"] { color: var(--error); }
.opsUsageGrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 20px; }
.opsUsage { min-width: 0; }
.opsUsage h3, .opsUsage p { margin: 0 0 4px; }
.opsUsage meter { display: block; width: 100%; height: 16px; margin-bottom: 4px; }
.opsFacts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; margin: 0; }
.opsFacts > div { min-width: 0; padding: 8px 0; border-bottom: 1px solid var(--line); }
.opsFacts dd { overflow-wrap: anywhere; margin: 4px 0 0; }
.opsMailNote { margin: 10px 0 0; }
.opsRenewalForm { display: flex; align-items: end; flex-wrap: wrap; gap: 10px 16px; margin-top: 16px; }
.opsRenewalForm .field { margin: 0; }
.opsRenewalForm > a { display: inline-flex; align-items: center; min-height: 44px; }
@media (max-width: 680px) { .opsUsageGrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) {
  .opsFacts { grid-template-columns: minmax(0, 1fr); }
  .opsChecks li { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  html:has(.adminHeader) { scroll-padding-top: 114px; }
  .adminBody .adminHeader { grid-template: "identity actions" 44px "nav nav" 44px / minmax(0, 1fr) 64px; gap: 2px 10px; padding: 6px 16px; }
  .adminNav { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.hotelPageHeading { align-items: center; }
.hotelPageHeading h1 { margin: 0 0 6px; }
.hotelPageHeading p { margin: 0; }
.hotelList { border-top: 1px solid var(--line); }
.hotelRow { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.hotelRow > div { min-width: 0; }
.adminBody .hotelRow h2 { font-size: 16px; margin: 0 0 4px; overflow-wrap: anywhere; }
.hotelRow p { margin: 0; }
.hotelRow .actions { flex-shrink: 0; flex-wrap: wrap; }
.hotelVisibility { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; cursor: pointer; }
.hotelVisibility input { width: 20px; height: 20px; accent-color: var(--teal); }
.hotelEditor { border-top: 2px solid var(--teal); padding-top: 24px; margin-top: 32px; scroll-margin-top: 24px; }
.hotelEditor fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.hotelEditor textarea { font: inherit; width: 100%; resize: vertical; border: 1px solid var(--line); border-radius: 4px; padding: 10px 12px; }
.hotelNames { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
.hotelCoordinates { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.hotelBasics { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.hotelBasics .field { width: 140px; }
.hotelSwitches { display: flex; flex-wrap: wrap; gap: 0 18px; }
.hotelSwitches .checkLabel { min-height: 44px; margin: 0; }
.hotelEditor .hint { overflow-wrap: anywhere; }
.hotelTranslations { margin: 20px 0 28px; }
.hotelTranslations details { border-top: 1px solid var(--line); }
.hotelTranslations summary { padding: 14px 0; cursor: pointer; font-weight: 600; min-height: 44px; }
.hotelPhotos { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.hotelPhotos li { min-width: 0; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.hotelPhotos li > img { display: block; width: 100%; height: 160px; object-fit: contain; background: #f2f5f6; }
.photoTools { display: flex; align-items: center; justify-content: space-between; gap: 4px; padding: 6px; }
.photoTools > span { width: 24px; text-align: center; font-size: 12px; }
.reverseIcon { display: inline-flex; transform: rotate(180deg); }
.hotelSaveActions { padding: 18px 0; border-top: 1px solid var(--line); }
.adminBody #hotelAdmin .primary { width: auto; }
@media (max-width: 600px) {
  .hotelRow { align-items: flex-start; flex-direction: column; gap: 8px; }
  .hotelNames, .hotelCoordinates { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .hotelPageHeading { flex-wrap: wrap; }
  .hotelPhotos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .hotelPhotos li > img { height: 120px; }
  .photoTools { flex-wrap: wrap; justify-content: flex-start; }
  .photoTools > span { width: 100%; text-align: left; }
}
.qrEditorGrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.qrEditor { min-width: 0; border: 1px solid var(--line); border-radius: 4px; padding: 18px; }
.qrEditor h3 { margin: 0; }
.qrEditorPreview { width: 200px; height: 200px; max-width: 100%; display: grid; place-items: center; background: #f6f8f9; margin: 0 0 16px; overflow: hidden; }
.qrEditorPreview img { display: block; width: 100%; height: 100%; object-fit: contain; }
.qrNotice { font-size: 12px; overflow-wrap: anywhere; }
@media (max-width: 600px) { .qrEditorGrid { grid-template-columns: minmax(0, 1fr); gap: 16px; } }
.adminBody .login { max-width: 360px; margin: 42px auto; }
.adminBody .login h1 { margin-bottom: 24px; }
@media (max-width: 1000px) {
  .adminBody .recordColumns { display: none; }
  .adminBody .recordRow { grid-template-columns: minmax(0, 1fr) auto; gap: 16px; }
  .adminBody .recordRow > div:first-child { display: block; }
  .adminBody .recordRow h3 { font-size: 15px; margin-bottom: 5px; }
  .adminBody .recordRow p { margin-bottom: 5px; }
  .adminBody .hotelChoices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .adminIdentity { gap: 10px; }
  .adminContext { padding-left: 10px; font-size: 11px; }
  .adminBody .page { padding: 22px 16px 32px; }
  .adminBody h1 { font-size: 22px; }
  .adminPageHeading { margin-bottom: 18px; }
  .adminBody .statistics { margin-inline: -16px; padding: 16px; margin-bottom: 24px; }
  .adminBody .filterForm { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 12px; }
  .adminBody .filterForm > .actions { grid-column: 1 / -1; }
  .adminBody .field input[type="date"] { font-size: 16px; padding-inline: 8px; }
  .adminBody .hotelChoices { gap: 0 12px; }
  .adminBody .hotelChoices .hotelChoice:nth-child(n+5) { grid-column: 1 / -1; }
  .adminBody .recordActions { flex-direction: row; align-self: start; }
  .adminBody .recordRow .recordActions .secondary { padding-inline: 10px; }
  .adminBody .recordRow { gap: 12px; }
  .adminBody .registryHeading { gap: 10px; }
  .adminBody .registryHeading h2 { font-size: 16px; }
}
@media print {
  .adminPageHeading, .recordColumns { display: none !important; }
  .adminBody .page { max-width: none; padding: 0; }
  .adminBody .recordDetail { border: 0; padding: 0; }
}
@media (max-width: 600px) {
  .hotelChoices { grid-template-columns: minmax(0, 1fr); }
  .recordActions { flex-direction: column; align-items: stretch; }
  .filterForm { grid-template-columns: minmax(0, 1fr); }
  .filterForm .actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .formRow { grid-template-columns: 80px minmax(0, 1fr); gap: 8px; }
  .countForm { grid-template-columns: 80px 64px auto; gap: 8px; }
  .guestPage .countForm { grid-template-columns: 80px 64px minmax(0, 1fr); }
  .stayDateFields .formRow { grid-template-columns: 80px minmax(0, 1fr); }
  .sameToggle { max-width: 98px; }
}
@media print { .detailHeading .iconButton { display: none !important; } }
@media (max-width: 1000px) { .layout { grid-template-columns: minmax(0, 1fr) 230px; gap: 30px; } .adminLayout { grid-template-columns: 270px minmax(0, 1fr); gap: 26px; } }
@media (max-width: 760px) { .layout, .adminLayout { grid-template-columns: minmax(0, 1fr); gap: 32px; } .stayAside { position: static; border-top: 1px solid var(--line); padding-top: 24px; } .stayCover { max-width: 280px; } .inviteSection { border-right: 0; border-bottom: 1px solid var(--line); padding: 0 0 28px; } }
@media (max-width: 480px) { .header { padding: 16px; gap: 10px; flex-wrap: wrap; } .brand { font-size: 20px; } .page { padding: 24px 16px 48px; } h1 { font-size: 25px; } .twoColumns { gap: 10px; } .choiceOptions { flex-direction: column; } .choiceOptions label { width: 100%; } .primary { width: 100%; } .actions { gap: 10px; } .recordRow { align-items: flex-start; } .recordRow .secondary { padding-inline: 12px; flex: none; } }
@media (max-width: 480px) {
  .guestPage .header { padding-block: 10px; }
  .guestPage .languages { display: grid; grid-template-columns: repeat(5, minmax(44px,1fr)); width: 100%; }
  .guestPage .languages button { width: 100%; }
  .guestPage .sharedControl { grid-template-columns: minmax(0,1fr); gap: 0; }
  .guestPage .sharedControl .sameToggle { max-width: none; }
  .guestPage .submission .primary { width: 100%; }
  .guestPage input, .guestPage select { scroll-margin-block: 16px; }
  .hotelBasics { align-items: flex-start; }
  .hotelBasics .field { flex: 0 0 108px; }
  .hotelSwitches { flex-direction: column; }
}
@media print { .header, .demoWarning, .noPrint, .pagination, #adminError, .registryHeading, .inviteSection { display: none !important; } .adminLayout, .layout { display: block; } .page { padding: 0; max-width: none; } .recordDetail { display: block; } .printOnly { display: block; } .recordDetail h2 { font-size: 18px; } .guestReview { break-inside: avoid; } dl { margin-block: 10px; } dd { margin-bottom: 8px; } .recordDetail .textLink { display: none; } body { color: #000; font-size: 12px; } @page { size: A4; margin: 15mm; } }
