:root {
  --ink: #20262b;
  --muted: #68605b;
  --accent: #c65313;
  --deep: #a73c09;
  --peach: #f5d7c1;
  --cream: #fbf1e8;
  --edge: #cc571b;
  --line: #e9dacc;
  --white: #fff;
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: #fcfaf7;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
a,
input {
  font: inherit;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
  color: inherit;
}
button:disabled {
  cursor: wait;
  opacity: 0.65;
}
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid #675278;
  outline-offset: 2px;
}
.top {
  height: 52px;
  background: #fff;
  border-bottom: 1px solid #e9e6e3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  position: relative;
}
#back {
  position: absolute;
  left: max(14px, calc(50% - 239px));
  font-size: 29px;
  border: 0;
  background: none;
  color: var(--deep);
  width: 42px;
}
main {
  width: min(100%, 540px);
  margin: 0 auto;
  padding: 0 clamp(16px, 5.8vw, 32px) 24px;
  background: white;
  min-height: calc(100dvh - 52px);
}
.mast {
  display: grid;
  grid-template-columns: 1fr 1.1fr 1fr;
  align-items: center;
  gap: 8px;
  padding: 28px 0;
  color: var(--muted);
  font-size: clamp(10px, 2.65vw, 14px);
  line-height: 1.3;
}
.mast b {
  font-size: clamp(20px, 5vw, 26px);
  display: block;
  color: var(--ink);
  margin-top: 5px;
  font-variant-numeric: tabular-nums;
}
.mast small {
  display: block;
  font-size: inherit;
}
.mast img {
  width: 100%;
  max-width: 168px;
}
.weather {
  text-align: right;
}
#view {
  display: grid;
  gap: 16px;
}
.panel,
.guestcard {
  border: 1.3px solid var(--edge);
  border-radius: 20px;
  background: #fff;
  padding: 14px;
}
.guestcard {
  padding: 0;
  overflow: hidden;
}
.cardhead {
  background: var(--accent);
  color: white;
  padding: 16px;
}
.cardhead small {
  font-weight: 700;
  letter-spacing: 0.035em;
}
.cardhead strong {
  display: block;
  font-size: 24px;
  margin: 3px 0 8px;
}
.barline {
  display: flex;
  gap: 8px;
  align-items: center;
}
.barframe {
  background: white;
  border-radius: 9px;
  flex: 1;
  display: grid;
  place-items: center;
  height: 38px;
  min-width: 0;
}
.barframe img {
  width: 95%;
  height: 30px;
}
.pill {
  color: var(--deep);
  background: var(--cream);
  border: none;
  border-radius: 16px;
  font-weight: 700;
  padding: 6px 9px;
}
.cardbody {
  padding: 12px;
}
.sectiontitle {
  width: 100%;
  text-align: center;
  display: block;
  background: none;
  border: 0;
  font-size: clamp(18px, 4.7vw, 24px);
  font-weight: 750;
  margin-bottom: 12px;
}
.sectiontitle span {
  margin: 0 14px;
  color: var(--deep);
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2 {
  text-align: center;
  line-height: 1.2;
  font-size: clamp(19px, 4.6vw, 24px);
  margin: 1px 0 14px;
}
h3 {
  font-size: 17px;
}
.balance,
.details {
  border-radius: 13px;
  background: var(--cream);
  padding: 12px;
}
.balance {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.balance small,
.details small,
.muted {
  color: var(--muted);
}
.balance small,
.details small {
  display: block;
  margin-bottom: 5px;
}
.balance b {
  font-size: clamp(16px, 4.5vw, 23px);
}
.active {
  color: var(--deep);
}
.primary,
.secondary,
.slot,
.chip,
.chatAction {
  display: block;
  text-align: center;
  border: 0;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 670;
  padding: 12px 14px;
  width: 100%;
}
.primary {
  color: white;
  background: var(--accent);
}
.secondary,
.chatAction {
  background: var(--cream);
  color: var(--deep);
}
.primary:hover {
  background: var(--deep);
}
.tilesPanel {
  background: var(--peach);
}
.tiles,
.contactgrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}
.tile,
.contact {
  border: 0;
  border-radius: 13px;
  background: white;
  padding: 12px 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-direction: column;
  min-height: 76px;
  font-weight: 700;
  text-align: center;
  line-height: 1.15;
  font-size: clamp(12px, 3vw, 16px);
}
.tile:hover,
.contact:hover {
  background: #fff9f4;
}
.icon {
  color: var(--deep);
  font-size: 24px;
  font-weight: 400;
  height: 25px;
  line-height: 1;
}
.floor {
  display: grid;
  gap: 6px;
  padding: 7px;
  background: #efe5da;
  border-radius: 12px;
  text-align: center;
  font-weight: 650;
}
.hall {
  background: #f4bd96;
  border-radius: 8px;
  padding: 8px;
}
.beds {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px 12px;
  padding: 8px;
}
.bed {
  height: 14px;
  border: 1px solid #b38561;
  border-radius: 3px;
  background: #fff7eb;
  position: relative;
}
.bed:before {
  content: "";
  position: absolute;
  inset: 2px auto 2px 5px;
  width: 14%;
  border-radius: 2px;
  background: #bc8d6e;
}
.rooms {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.rooms span,
.entry {
  background: #fffaf3;
  padding: 5px;
  border-radius: 5px;
  font-size: 13px;
}
.mapbtn {
  margin-top: 10px;
}
.contacts {
  background: var(--cream);
}
.contactgrid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.contact {
  align-items: flex-start;
  text-align: left;
  padding: 12px;
  min-height: 68px;
  font-size: 14px;
  text-decoration: none;
  color: var(--ink);
}
.contact small {
  color: var(--deep);
  font-weight: 550;
}
.stack {
  display: grid;
  gap: 12px;
}
.photo {
  width: 100%;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}
.details b {
  display: block;
}
.muted,
p {
  line-height: 1.45;
}
.step {
  min-height: 420px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.step h1 {
  margin-bottom: 6px;
}
.step > .primary:last-child {
  margin-top: auto;
}
.actions {
  display: grid;
  gap: 8px;
}
.chips {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}
.chip {
  width: auto;
  background: var(--cream);
  font-weight: 600;
  font-size: 13px;
  padding: 9px 12px;
}
.chip.on {
  background: var(--accent);
  color: white;
}
.slot {
  display: flex;
  justify-content: space-between;
  text-align: left;
  align-items: center;
  background: var(--cream);
  gap: 10px;
}
.slot small {
  display: block;
  color: var(--muted);
  font-weight: 450;
  margin-top: 4px;
}
.slot em {
  font-style: normal;
  color: var(--deep);
  white-space: nowrap;
}
.day {
  font-size: 13px;
  text-transform: capitalize;
  color: var(--muted);
  margin-top: 5px;
}
#notice {
  background: #fff2de;
  color: #723a13;
  padding: 12px;
  border-radius: 8px;
  margin: 0 0 12px;
}
footer {
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  padding-top: 14px;
}
.field {
  display: grid;
  gap: 6px;
}
input:not([type="checkbox"]) {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 16px;
}
.check {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 14px;
}
.check input {
  width: 18px;
  height: 18px;
}
dialog {
  width: min(92%, 440px);
  border: 1px solid var(--edge);
  border-radius: 19px;
  padding: 30px 20px 20px;
  color: var(--ink);
}
dialog::backdrop {
  background: #23180e66;
}
#close {
  float: right;
  font-size: 22px;
  border: 0;
  background: transparent;
}
dialog h2 {
  text-align: left;
}
dialog img {
  width: 100%;
  height: 80px;
}
.chat {
  background: #e9edf7;
  border-radius: 16px;
  overflow: hidden;
  display: grid;
}
.chathead,
.composer {
  background: white;
  padding: 12px;
}
.chathead {
  border-bottom: 1px solid #d7dceb;
}
.chathead small {
  display: block;
  color: var(--muted);
}
.thread {
  padding: 14px;
  min-height: 230px;
  max-height: 55dvh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.bubble {
  align-self: flex-start;
  background: white;
  border-radius: 12px 12px 12px 3px;
  padding: 10px 12px;
  max-width: 90%;
  font-size: 14px;
  line-height: 1.4;
}
.bubble.mine {
  align-self: flex-end;
  background: #d7e3ff;
  border-radius: 12px 12px 3px 12px;
}
.chatAction {
  background: #f7f8fc;
  color: #485c9f;
  padding: 9px;
  font-size: 14px;
}
.composer {
  display: flex;
  gap: 6px;
}
.composer button {
  width: auto;
}
.spaced {
  margin-top: 12px;
}
[hidden] {
  display: none !important;
}
@media (min-width: 650px) {
  main {
    box-shadow: 0 8px 45px #51352209;
    border-inline: 1px solid #eee5dc;
  }
  .top {
    height: 54px;
  }
  .mast {
    padding: 29px 0;
  }
  .tile {
    min-height: 90px;
  }
}
@media (max-width: 350px) {
  .barline {
    gap: 4px;
  }
  .pill {
    font-size: 12px;
  }
  .balance small {
    font-size: 11px;
  }
  .mast {
    gap: 4px;
  }
  .panel {
    padding: 11px;
  }
}

.contact {
  position: relative;
  padding-left: clamp(26px, 7vw, 37px);
}
.contact i {
  position: absolute;
  top: calc(50% - 8px);
  left: 8px;
  font-size: 16px;
  color: var(--deep);
  font-style: normal;
}
.balance small {
  font-size: clamp(10px, 2.65vw, 14px);
}
.balance {
  align-items: start;
}
