:root {
  --ink: #1b211d;
  --muted: #626a63;
  --paper: #f7f4ee;
  --soft: #e7ded2;
  --moss: #5b6f52;
  --clay: #b06f52;
  --teal: #265f63;
  --white: #fffaf2;
  --line: rgba(27, 33, 29, 0.16);
  --shadow: 0 22px 80px rgba(27, 33, 29, 0.14);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.admin-page {
  background: #eef0e8;
}

.guest-page {
  background: #eef0e8;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  width: 100%;
  color: var(--white);
}

.notice {
  display: flex;
  justify-content: center;
  gap: 16px;
  padding: 9px 18px;
  background: var(--teal);
  font-size: 0.82rem;
}

.notice a {
  border-bottom: 1px solid currentColor;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(20px, 4vw, 56px);
  background: linear-gradient(180deg, rgba(27, 33, 29, 0.54), rgba(27, 33, 29, 0));
}

.brand,
.nav-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 0.8rem;
}

.nav-links {
  gap: clamp(18px, 3vw, 34px);
  font-size: 0.94rem;
}

.nav-cta {
  padding: 11px 18px;
  border: 1px solid rgba(255, 250, 242, 0.7);
  border-radius: 999px;
}

.language-switch {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  border: 1px solid rgba(255, 250, 242, 0.5);
  border-radius: 999px;
}

.language-switch button {
  min-width: 42px;
  min-height: 32px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--white);
  cursor: pointer;
}

.language-switch button.active {
  background: var(--white);
  color: var(--ink);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 250, 242, 0.75);
  border-radius: 50%;
  background: transparent;
  color: var(--white);
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 1px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  padding: 160px clamp(20px, 5vw, 72px) 40px;
  overflow: hidden;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(22, 27, 24, 0.74) 0%, rgba(22, 27, 24, 0.44) 38%, rgba(22, 27, 24, 0.08) 74%),
    linear-gradient(0deg, rgba(22, 27, 24, 0.52), rgba(22, 27, 24, 0.08) 45%);
}

.hero-content {
  position: relative;
  z-index: 1;
  align-self: center;
  max-width: 780px;
  color: var(--white);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f1b28f;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 12ch;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4rem, 10vw, 9.5rem);
  font-weight: 400;
  line-height: 0.88;
}

.hero-copy {
  max-width: 620px;
  margin: 28px 0 0;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.55;
}

.booking-panel {
  position: relative;
  z-index: 2;
  align-self: end;
  display: grid;
  grid-template-columns: 1.1fr repeat(3, minmax(145px, 0.7fr)) auto;
  gap: 1px;
  width: min(1160px, 100%);
  margin-top: 48px;
  background: rgba(255, 250, 242, 0.38);
  box-shadow: var(--shadow);
}

.booking-panel label,
.booking-panel button {
  border: 0;
  background: var(--white);
}

.booking-panel label {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.booking-panel span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.booking-panel select,
.booking-panel input {
  width: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  outline: 0;
}

.booking-panel button {
  min-width: 150px;
  padding: 16px 24px;
  background: var(--ink);
  color: var(--white);
  cursor: pointer;
}

.booking-message {
  grid-column: 1 / -1;
  margin: 0;
  padding: 0 18px 16px;
  background: var(--white);
  color: var(--moss);
  font-weight: 700;
}

.booking-panel [data-open-reservation] {
  grid-column: 1 / -1;
  width: 100%;
  min-height: 52px;
  background: var(--moss);
}

.intro,
.features,
.section-heading,
.stays,
.membership,
.journal,
.footer {
  padding-inline: clamp(20px, 5vw, 72px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
  gap: clamp(28px, 7vw, 120px);
  padding-top: 96px;
  padding-bottom: 76px;
}

h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 5vw, 5rem);
  font-weight: 400;
  line-height: 0.98;
}

.intro > p,
.membership p {
  margin: 0;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.75;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.features article {
  min-height: 260px;
  padding: 34px 30px 38px;
  border-right: 1px solid var(--line);
}

.features article:last-child {
  border-right: 0;
}

.features span {
  color: var(--clay);
  font-weight: 800;
}

.features h3,
.stay-body h3,
.journal h3 {
  margin: 26px 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.8rem;
  font-weight: 400;
  line-height: 1.08;
}

.features p,
.stay-body span,
.journal a,
.footer p {
  color: var(--muted);
  line-height: 1.65;
}

.section-heading {
  padding-top: 96px;
  padding-bottom: 34px;
}

.compact {
  padding-inline: 0;
  padding-top: 0;
}

.city-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 18px;
  padding: 0 clamp(20px, 5vw, 72px) 98px;
}

.city-card {
  position: relative;
  display: flex;
  min-height: 440px;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: 28px;
  color: var(--white);
  isolation: isolate;
}

.city-card::before,
.stay-thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
}

.city-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(27, 33, 29, 0.12), rgba(27, 33, 29, 0.72));
}

.london::before {
  background-image: linear-gradient(135deg, #244c57, #b87554 55%, #e1c8a2);
}

.berlin::before {
  background-image: linear-gradient(135deg, #263b35, #73866a 48%, #c1a17e);
}

.lisbon::before {
  background-image: linear-gradient(135deg, #235b67, #d18755 50%, #f0ca83);
}

.city-card p,
.stay-body p,
.journal span {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.city-card h3 {
  margin: 10px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 4vw, 4.8rem);
  font-weight: 400;
}

.city-card a {
  width: fit-content;
  padding-bottom: 5px;
  border-bottom: 1px solid currentColor;
  font-weight: 700;
}

.stays {
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(28px, 6vw, 86px);
  padding-top: 84px;
  padding-bottom: 100px;
  background: var(--white);
}

.stays-results {
  display: grid;
  gap: 24px;
  min-width: 0;
}

.stay-filters {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper) 58%, var(--white));
}

.filter-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 10px;
}

.filter-row.secondary {
  grid-template-columns: minmax(110px, 0.65fr) minmax(110px, 0.65fr) minmax(260px, 1.7fr) auto;
  align-items: end;
}

.stay-filters label,
.filter-amenities {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.stay-filters span,
.filter-amenities > span {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stay-filters input,
.stay-filters select {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  padding: 0 10px;
}

.filter-amenities div {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: thin;
}

.filter-amenities label {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 7px;
  min-height: 32px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  background: var(--white);
  white-space: nowrap;
}

.filter-amenities input {
  width: 15px;
  min-height: 15px;
  accent-color: var(--ink);
}

.filter-amenities label span {
  color: var(--ink);
  font-size: 0.78rem;
  letter-spacing: 0;
  text-transform: none;
}

.filter-status {
  min-height: 20px;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.stay-filters .ghost-action {
  min-height: 42px;
  padding-inline: 16px;
  white-space: nowrap;
}

.stay-list {
  display: grid;
  gap: 18px;
}

.stay-list article {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  min-height: 210px;
  border: 1px solid var(--line);
}

.stay-thumb {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.thumb-one::before {
  background-image: var(--stay-image, linear-gradient(135deg, #214b51, #d0a86d));
}

.thumb-two::before {
  background-image: var(--stay-image, linear-gradient(135deg, #536653, #c9c2af));
}

.thumb-three::before {
  background-image: var(--stay-image, linear-gradient(135deg, #c36e45, #285f65));
}

.stay-thumb::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 250, 242, 0.58);
}

.stay-body {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 30px;
}

.stay-price,
.hostel-hero-price,
.booking-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
}

.stay-price {
  margin-top: 4px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stay-price strong,
.hostel-hero-price strong,
.booking-price strong {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  font-weight: 400;
}

.stay-price span,
.hostel-hero-price span,
.booking-price span {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

.rating-line {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 900;
}

.rating-line.muted,
.muted-copy {
  color: var(--muted);
}

.review-list {
  display: grid;
  gap: 12px;
}

.review-card {
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid var(--line);
  background: #fffdf8;
}

.review-card div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--ink);
  font-weight: 900;
}

.review-card h5,
.review-card p {
  margin: 0;
}

.review-card h5 {
  font-size: 1rem;
}

.review-card p {
  color: var(--muted);
  line-height: 1.6;
}

.rule-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.rule-grid div {
  display: grid;
  gap: 5px;
  padding: 14px;
  border: 1px solid var(--line);
  background: #fffdf8;
}

.rule-grid span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rule-grid strong {
  font-size: 1rem;
}

.admin-page .text-action {
  display: inline-block;
  width: fit-content;
  margin-top: 18px;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: var(--ink);
  font-weight: 800;
  cursor: pointer;
}

.stay-body p,
.journal span {
  color: var(--clay);
}

.membership {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.72fr);
  gap: clamp(30px, 7vw, 110px);
  padding-top: 96px;
  padding-bottom: 96px;
  background: var(--moss);
  color: var(--white);
}

.membership .eyebrow {
  color: #ffd2b5;
}

.membership p {
  max-width: 660px;
  margin-top: 24px;
  color: rgba(255, 250, 242, 0.78);
}

.membership ul {
  display: grid;
  gap: 20px;
  align-content: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.membership li {
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 250, 242, 0.28);
  font-size: 1.06rem;
}

.journal {
  padding-top: 96px;
  padding-bottom: 112px;
}

.journal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 34px;
}

.journal article {
  min-height: 300px;
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--white);
}

.journal h3 {
  min-height: 126px;
}

.journal a {
  display: inline-block;
  margin-top: 28px;
  border-bottom: 1px solid currentColor;
  font-weight: 800;
}

.footer {
  display: grid;
  grid-template-columns: minmax(220px, 0.75fr) minmax(280px, 1fr);
  gap: 34px;
  padding-top: 48px;
  padding-bottom: 48px;
  background: var(--ink);
  color: var(--white);
}

.footer-brand {
  width: fit-content;
}

.footer p {
  max-width: 360px;
  color: rgba(255, 250, 242, 0.66);
}

.admin-shell {
  padding: 96px clamp(20px, 5vw, 72px) 110px;
  background: #eef0e8;
}

.admin-only {
  min-height: 100svh;
}

.admin-only h1 {
  max-width: none;
  font-size: clamp(3rem, 7vw, 6rem);
}

.admin-language {
  justify-self: end;
  color: var(--ink);
  border-color: var(--line);
}

.admin-language button {
  color: var(--ink);
}

.admin-language button.active {
  background: var(--ink);
  color: var(--white);
}

.login-form {
  max-width: 520px;
}

.login-form h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.login-form p {
  color: var(--muted);
}

.admin-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.65fr);
  gap: clamp(24px, 6vw, 96px);
  align-items: end;
  margin-bottom: 32px;
}

.admin-heading > p {
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.7;
}

.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.admin-tabs button,
.admin-toolbar button,
.location-form button,
.reservation-form button,
.ghost-action {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
}

.admin-tabs button {
  min-height: 44px;
  padding: 11px 16px;
  border-radius: 999px;
}

.admin-tabs button.active,
.admin-toolbar button,
.location-form button[type="submit"],
.reservation-form menu button[type="submit"] {
  background: var(--ink);
  color: var(--white);
}

.admin-panel {
  display: none;
  padding: 22px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 18px 54px rgba(27, 33, 29, 0.08);
}

.admin-panel.active {
  display: block;
}

.easy-dashboard {
  display: grid;
  gap: 20px;
}

.easy-actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.easy-actions button {
  min-height: 86px;
  border: 1px solid var(--line);
  background: var(--ink);
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 800;
  cursor: pointer;
}

.easy-actions button:nth-child(even) {
  background: var(--moss);
}

.admin-home-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.admin-home-grid article {
  min-height: 220px;
  padding: 22px;
  border: 1px solid var(--line);
  background: #fffdf8;
}

.admin-home-grid h3 {
  margin: 0 0 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.7rem;
  font-weight: 400;
}

.simple-line {
  margin: 0;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  line-height: 1.45;
}

.simple-line strong {
  color: var(--ink);
}

.admin-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.location-create-toolbar {
  justify-content: flex-start;
}

.admin-toolbar label,
.location-form label,
.reservation-form label {
  display: grid;
  gap: 8px;
}

.admin-toolbar span,
.location-form span,
.reservation-form span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.admin-toolbar select,
.admin-toolbar button,
.location-form input,
.location-form button,
.reservation-form input,
.reservation-form select,
.reservation-form button {
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
}

.admin-toolbar select,
.location-form input,
.reservation-form input,
.reservation-form select {
  width: 100%;
  min-width: 0;
  background: #fffdf8;
  color: var(--ink);
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
}

table {
  width: 100%;
  min-width: 850px;
  border-collapse: collapse;
}

th,
td {
  padding: 15px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--muted);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

td {
  color: var(--ink);
}

.row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.row-actions button {
  min-height: 34px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  background: #fffdf8;
  color: var(--ink);
  cursor: pointer;
}

.text-action {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  margin-top: 7px;
  padding: 5px 0;
  border: 0;
  background: transparent;
  color: var(--teal);
  cursor: pointer;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.row-actions button[data-action="cancel"] {
  color: #8e382c;
}

.row-actions button[data-delete-location] {
  color: #8e382c;
}

.status {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
}

.status.confirmed,
.status.checked-in,
.status.checked-out,
.status.paid {
  background: rgba(91, 111, 82, 0.15);
  color: var(--moss);
}

.status.pending,
.status.partial,
.status.due {
  background: rgba(176, 111, 82, 0.16);
  color: #965637;
}

.status.cancelled,
.status.no-show,
.status.refunded {
  background: rgba(142, 56, 44, 0.14);
  color: #8e382c;
}

.status.checked-in {
  background: rgba(38, 95, 99, 0.14);
  color: var(--teal);
}

.status.checked-out {
  background: rgba(27, 33, 29, 0.1);
  color: var(--ink);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}

.metric-card {
  min-height: 126px;
  padding: 20px;
  border: 1px solid var(--line);
  background: #fffdf8;
}

.metric-card span {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.metric-card strong {
  display: block;
  margin-top: 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 400;
}

.report-bars {
  display: grid;
  gap: 14px;
}

.invoice-dialog {
  max-width: min(720px, calc(100vw - 28px));
}

.client-dialog {
  width: min(1120px, calc(100vw - 28px));
}

.client-cabinet {
  display: grid;
  gap: 18px;
  max-height: min(84vh, 920px);
  overflow: auto;
  padding: 24px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.client-contact-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.client-contact-strip span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 7px 10px;
  border: 1px solid var(--line);
  background: #fffdf8;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
}

.client-metrics {
  margin-bottom: 0;
}

.client-section {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  background: #fffdf8;
}

.client-section h4 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  font-weight: 400;
}

.client-section table {
  background: var(--white);
}

.client-message-list {
  display: grid;
  gap: 10px;
}

.client-chat-list {
  display: grid;
  gap: 14px;
}

.client-chat-room {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  background: var(--white);
}

.client-chat-room header {
  display: flex;
  flex-wrap: wrap;
  align-items: start;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.client-chat-room header div {
  display: grid;
  gap: 4px;
}

.client-chat-room header span,
.client-chat-room header small {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.client-chat-room header strong {
  font-size: 1rem;
}

.client-message {
  display: grid;
  gap: 8px;
  max-width: 82%;
  padding: 12px;
  border: 1px solid var(--line);
  background: var(--white);
}

.client-message.incoming {
  justify-self: start;
  border-color: rgba(176, 111, 82, 0.35);
}

.client-message.outgoing {
  justify-self: end;
  background: #eef4ea;
}

.client-message div {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  color: var(--muted);
  font-size: 0.82rem;
}

.client-message h4,
.client-message p {
  margin: 0;
}

.client-message p {
  line-height: 1.5;
}

.client-chat-compose {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
}

.client-chat-compose textarea {
  width: 100%;
  min-width: 0;
  resize: vertical;
  border: 1px solid var(--line);
  background: #fffdf8;
  color: var(--ink);
  font: inherit;
  padding: 12px;
}

.client-chat-compose button {
  min-height: 46px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--white);
  cursor: pointer;
  padding: 10px 14px;
  font-weight: 900;
}

.invoice-box {
  display: grid;
  gap: 18px;
  min-width: min(620px, calc(100vw - 70px));
}

.invoice-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.invoice-heading span,
.invoice-box dt {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.invoice-heading h3 {
  margin: 6px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 400;
}

.invoice-box dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.invoice-box dl div {
  padding: 14px;
  border: 1px solid var(--line);
  background: #fffdf8;
}

.invoice-box dd {
  margin: 6px 0 0;
  font-weight: 900;
}

.report-bar {
  display: grid;
  grid-template-columns: 160px 1fr auto;
  gap: 14px;
  align-items: center;
}

.pricing-calendar-panel {
  display: grid;
  gap: 12px;
  margin: 22px 0;
  padding: 16px;
  border: 1px solid var(--line);
  background: #fffdf8;
}

.pricing-calendar-panel h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  font-weight: 400;
}

.calendar-quick-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  background: var(--white);
}

.calendar-quick-actions p {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.calendar-quick-actions div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.calendar-quick-actions button {
  min-height: 38px;
  border: 1px solid var(--line);
  background: var(--ink);
  color: var(--white);
  cursor: pointer;
  padding: 8px 12px;
  font-weight: 800;
}

.calendar-quick-actions button:nth-child(2) {
  background: #fffdf8;
  color: var(--ink);
}

.calendar-quick-actions button:nth-child(3) {
  background: var(--teal);
}

.pricing-calendar-weekdays,
.pricing-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}

.pricing-calendar-weekdays span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.pricing-calendar-grid button {
  display: grid;
  min-height: 88px;
  align-content: start;
  gap: 6px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  padding: 10px;
  text-align: left;
}

.pricing-calendar-grid button:hover {
  border-color: var(--ink);
}

.pricing-calendar-grid button.custom {
  background: #eef4ea;
}

.pricing-calendar-grid button.blocked {
  background: #f3eadf;
}

.pricing-calendar-grid button.reserved {
  background: #eadfda;
}

.pricing-calendar-grid button.selected {
  outline: 2px solid var(--ink);
  outline-offset: -2px;
}

.pricing-calendar-grid button strong {
  font-size: 1rem;
}

.pricing-calendar-grid button span {
  font-weight: 900;
}

.pricing-calendar-grid button small {
  color: var(--muted);
}

.bar-track {
  height: 16px;
  background: var(--soft);
}

.bar-fill {
  display: block;
  height: 100%;
  background: var(--teal);
}

.location-form {
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 12px;
  align-items: end;
  margin-bottom: 22px;
}

.form-section,
.wide-field,
.service-fieldset {
  grid-column: 1 / -1;
}

.form-section h3 {
  margin: 20px 0 4px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.7rem;
  font-weight: 400;
}

.location-form textarea {
  width: 100%;
  min-width: 0;
  resize: vertical;
  border: 1px solid var(--line);
  background: #fffdf8;
  color: var(--ink);
  font: inherit;
  padding: 12px;
}

.upload-field input {
  border-style: dashed;
}

.image-preview-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.image-preview-grid:empty {
  display: none;
}

.image-preview-grid figure {
  min-width: 0;
  margin: 0;
  border: 1px solid var(--line);
  background: #fffdf8;
}

.image-preview-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.image-preview-grid figcaption {
  overflow: hidden;
  padding: 8px;
  color: var(--muted);
  font-size: 0.72rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.service-fieldset {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 14px;
  border: 1px solid var(--line);
}

.service-fieldset legend {
  padding: 0 8px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.service-fieldset label {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  background: #fffdf8;
}

.amenity-group {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.62);
}

.amenity-group strong {
  flex: 0 0 100%;
  margin-bottom: 2px;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 900;
}

.ghost-action {
  background: transparent !important;
  color: var(--ink) !important;
}

.location-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.location-item {
  padding: 20px;
  border: 1px solid var(--line);
  background: #fffdf8;
}

.location-item h3 {
  margin: 0 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.6rem;
  font-weight: 400;
}

.location-item p {
  margin: 0 0 14px;
  color: var(--muted);
}

.location-item dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 0 0 18px;
}

.location-item dt {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.location-item dd {
  margin: 4px 0 0;
  font-weight: 800;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 18px;
}

.service-tags span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(91, 111, 82, 0.09);
  color: var(--moss);
  font-size: 0.86rem;
  font-weight: 800;
}

.reservation-dialog,
.property-dialog {
  width: min(660px, calc(100vw - 28px));
  border: 0;
  padding: 0;
  background: transparent;
}

.property-dialog {
  width: min(980px, calc(100vw - 28px));
}

.guest-shell {
  display: grid;
  gap: 22px;
  max-width: 940px;
  margin: 0 auto;
  padding: 48px clamp(16px, 4vw, 42px) 72px;
}

.guest-brand {
  width: fit-content;
}

.guest-card,
.guest-chat {
  display: grid;
  gap: 22px;
  padding: clamp(20px, 4vw, 34px);
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 18px 54px rgba(27, 33, 29, 0.08);
}

.guest-card h1,
.guest-chat h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 7vw, 4.8rem);
  font-weight: 400;
}

.guest-card p,
.guest-chat-heading p {
  margin: 8px 0 0;
  color: var(--muted);
}

.guest-card form,
.chat-compose {
  display: grid;
  gap: 14px;
}

.guest-card label,
.chat-compose label {
  display: grid;
  gap: 7px;
}

.guest-card label span,
.chat-compose label span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.guest-card input,
.chat-compose textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #fffdf8;
  color: var(--ink);
  font: inherit;
  padding: 13px 14px;
}

.guest-card button,
.chat-compose button {
  min-height: 48px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--white);
  cursor: pointer;
  font-weight: 900;
}

.guest-chat-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.airbnb-chat-heading {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.airbnb-chat-heading h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
}

.chat-host-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 180px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  background: #fffdf8;
}

.chat-host-badge > span,
.chat-avatar {
  display: inline-grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  font-weight: 900;
}

.chat-host-badge small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.8rem;
}

.airbnb-chat-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.38fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.chat-reservation-card {
  position: sticky;
  top: 18px;
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  background: #fffdf8;
}

.chat-reservation-card > span,
.chat-reservation-card dt {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.chat-reservation-card > strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  font-weight: 400;
}

.chat-reservation-card dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.chat-reservation-card dd {
  margin: 4px 0 0;
  font-weight: 900;
}

.chat-reservation-card button {
  min-height: 42px;
  border: 1px solid var(--line);
  cursor: pointer;
}

.chat-room-panel {
  display: grid;
  min-height: 620px;
  border: 1px solid var(--line);
  background: var(--white);
}

.chat-thread {
  display: grid;
  gap: 12px;
  max-height: 560px;
  align-content: start;
  overflow: auto;
  padding: 18px;
  background: #fffdf8;
}

.chat-message {
  display: flex;
  gap: 8px;
  max-width: 82%;
  align-items: end;
}

.chat-message.guest {
  justify-self: end;
  flex-direction: row-reverse;
}

.chat-message.host {
  justify-self: start;
}

.chat-message.guest .chat-avatar {
  background: var(--moss);
}

.chat-bubble {
  display: grid;
  gap: 8px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: var(--white);
}

.chat-message.guest .chat-bubble {
  background: #eef4ea;
}

.chat-bubble div {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 0.82rem;
}

.chat-bubble h3,
.chat-bubble p {
  margin: 0;
}

.chat-bubble h3 {
  font-size: 1rem;
}

.chat-bubble p {
  line-height: 1.55;
}

.empty-chat {
  align-self: center;
  justify-self: center;
  max-width: 360px;
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--white);
  text-align: center;
}

.empty-chat p {
  margin: 8px 0 0;
  color: var(--muted);
}

.chat-compose {
  position: sticky;
  bottom: 0;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  padding: 14px;
  border-top: 1px solid var(--line);
  background: var(--white);
}

.chat-compose textarea {
  min-height: 52px;
  max-height: 150px;
  resize: vertical;
}

.chat-compose .booking-message {
  grid-column: 1 / -1;
  margin: 0;
}

.stay-card-link {
  cursor: pointer;
}

.reservation-dialog::backdrop,
.property-dialog::backdrop {
  background: rgba(27, 33, 29, 0.58);
}

.reservation-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.customer-auth {
  display: grid;
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  background: #fffdf8;
}

.customer-auth h4,
.customer-auth h5,
.customer-auth p {
  margin: 0;
}

.customer-auth h4 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  font-weight: 400;
}

.customer-auth p {
  color: var(--muted);
  line-height: 1.5;
}

.customer-auth-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 12px;
}

.customer-auth-grid > div {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  background: var(--white);
}

.customer-auth-grid input {
  width: 100%;
  min-height: 42px;
  min-width: 0;
  border: 1px solid var(--line);
  background: #fffdf8;
  color: var(--ink);
  font: inherit;
  padding: 10px 12px;
}

.customer-auth-grid button {
  min-height: 42px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--white);
  cursor: pointer;
  font-weight: 900;
}

[data-reservation-content] {
  display: grid;
  gap: 16px;
}

.dialog-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.dialog-heading h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 400;
}

.dialog-heading button {
  width: 42px;
  min-height: 42px;
  border-radius: 50%;
  padding: 0;
  font-size: 1.5rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.reservation-form menu {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.price-breakdown {
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid var(--line);
  background: #fffdf8;
}

.price-breakdown:empty {
  display: none;
}

.price-breakdown h4 {
  margin: 0 0 6px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 400;
}

.price-breakdown div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
}

.price-breakdown strong {
  color: var(--ink);
}

.price-breakdown .price-total {
  margin-top: 6px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 800;
}

.policy-box {
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid var(--line);
  background: #f7faf5;
}

.policy-box:empty {
  display: none;
}

.policy-box h4 {
  margin: 0 0 6px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  font-weight: 400;
}

.policy-box div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
}

.policy-box strong {
  color: var(--ink);
}

.policy-box p {
  margin: 4px 0 0;
  color: var(--muted);
}

.reservation-confirmation {
  display: grid;
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--line);
  background: #f7faf5;
}

.reservation-confirmation[hidden] {
  display: none;
}

.reservation-confirmation h4 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.8rem;
  font-weight: 400;
}

.reservation-confirmation p {
  margin: 0;
  color: var(--muted);
}

.reservation-confirmation dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 0;
}

.reservation-confirmation dt {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.reservation-confirmation dd {
  margin: 4px 0 0;
  font-weight: 900;
}

.guest-chat-link {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--white);
  font-weight: 900;
}

.property-detail {
  display: grid;
  gap: 20px;
  max-height: 88svh;
  overflow: auto;
  padding: 24px;
  background: var(--white);
}

.hostel-page {
  padding: 34px max(24px, calc((100vw - 1180px) / 2)) 72px;
  background: var(--white);
}

.back-to-stays {
  margin-bottom: 18px;
}

.hostel-page-heading {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.hostel-page-heading h1 {
  max-width: 850px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 5vw, 5rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.95;
}

.hostel-page-heading p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.hostel-hero-price {
  margin-top: 18px;
}

.hostel-hero-price strong {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.hostel-gallery {
  margin-bottom: 28px;
}

.hostel-page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 380px);
  gap: 32px;
  align-items: start;
}

.hostel-page-main {
  display: grid;
  gap: 24px;
}

.hostel-page-sidebar {
  position: sticky;
  top: 104px;
}

.property-detail .dialog-heading h3 {
  margin-top: 0;
}

.property-gallery {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 10px;
}

.property-gallery img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  background: var(--soft);
}

.property-gallery img:first-child {
  height: 360px;
}

.property-description {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.property-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.property-facts span {
  padding: 14px;
  border: 1px solid var(--line);
  background: #fffdf8;
  font-weight: 800;
}

.property-section h4 {
  margin: 0 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  font-weight: 400;
}

.property-section p {
  margin: 0 0 14px;
  color: var(--muted);
}

.property-section iframe {
  width: 100%;
  height: 320px;
  border: 1px solid var(--line);
}

.section-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.calendar-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--muted);
  font-size: 0.9rem;
}

.calendar-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.calendar-legend i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.calendar-nav {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
}

.calendar-nav strong {
  text-align: center;
}

.calendar-nav button {
  margin-top: 0;
}

.calendar-nav button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.available-dot {
  background: #5f7f55;
}

.unavailable-dot {
  background: #c8c1b4;
}

.detail-booking {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  background: #fffdf8;
}

.booking-price {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.availability-calendar {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
  margin: 0 0 14px;
}

.calendar-empty {
  min-height: 58px;
  border: 1px solid transparent;
}

.availability-calendar button {
  min-height: 58px;
  padding: 8px 6px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
}

.availability-calendar button span,
.availability-calendar button strong {
  display: block;
}

.availability-calendar button span {
  color: var(--muted);
  font-size: 0.74rem;
  text-transform: uppercase;
}

.availability-calendar button strong {
  margin-top: 4px;
  font-size: 1rem;
}

.availability-calendar button.available:hover,
.availability-calendar button.selected {
  border-color: var(--ink);
  background: #eef4ea;
}

.availability-calendar button.in-range {
  background: #f7faf5;
}

.availability-calendar button.unavailable {
  background: #ebe6dd;
  color: var(--muted);
  cursor: not-allowed;
  text-decoration: line-through;
}

.detail-booking-form {
  display: grid;
  gap: 12px;
}

.detail-booking-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.newsletter {
  justify-self: end;
  width: min(540px, 100%);
}

.newsletter label {
  display: block;
  margin-bottom: 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
}

.newsletter div {
  display: grid;
  grid-template-columns: 1fr auto;
  border: 1px solid rgba(255, 250, 242, 0.28);
}

.newsletter input,
.newsletter button {
  min-width: 0;
  border: 0;
  padding: 16px;
}

.newsletter input {
  background: transparent;
  color: var(--white);
  outline: 0;
}

.newsletter input::placeholder {
  color: rgba(255, 250, 242, 0.56);
}

.newsletter button {
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
}

.newsletter p {
  margin-bottom: 0;
  color: #ffd2b5;
  font-weight: 700;
}

@media (max-width: 980px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    right: 20px;
    display: none;
    width: min(320px, calc(100vw - 40px));
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    background: var(--ink);
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 14px;
  }

  .nav-cta {
    border-radius: 0;
  }

  .booking-panel,
  .intro,
  .stays,
  .membership,
  .hostel-page-layout,
  .admin-heading,
  .footer {
    grid-template-columns: 1fr;
  }

  .booking-panel {
    max-width: 620px;
  }

  .filter-row,
  .filter-row.secondary {
    grid-template-columns: 1fr 1fr;
  }

  .filter-amenities {
    grid-column: 1 / -1;
  }

  .filter-row.secondary .ghost-action {
    min-height: 46px;
  }

  .hostel-page-sidebar {
    position: static;
  }

  .city-grid,
  .journal-grid {
    grid-template-columns: 1fr;
  }

  .features {
    grid-template-columns: 1fr;
  }

  .features article {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .features article:last-child {
    border-bottom: 0;
  }

  .newsletter {
    justify-self: stretch;
  }

  .metric-grid,
  .location-list {
    grid-template-columns: 1fr 1fr;
  }

  .service-fieldset {
    grid-template-columns: 1fr 1fr;
  }

  .easy-actions,
  .admin-home-grid {
    grid-template-columns: 1fr 1fr;
  }

  .location-form {
    grid-template-columns: 1fr 1fr;
  }

  .report-bar {
    grid-template-columns: 1fr;
  }

  .calendar-quick-actions,
  .calendar-quick-actions div {
    align-items: stretch;
    flex-direction: column;
  }

  .calendar-quick-actions button {
    width: 100%;
  }

  .invoice-box,
  .invoice-box dl {
    grid-template-columns: 1fr;
    min-width: 0;
  }

  .guest-chat-heading {
    display: grid;
  }

  .airbnb-chat-layout {
    grid-template-columns: 1fr;
  }

  .chat-reservation-card {
    position: static;
  }

  .chat-room-panel {
    min-height: 540px;
  }

  .chat-compose {
    grid-template-columns: 1fr;
  }

  .chat-message {
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .notice {
    justify-content: space-between;
    gap: 10px;
    font-size: 0.74rem;
  }

  .nav {
    padding-inline: 16px;
  }

  .brand span:last-child {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 132px 16px 24px;
  }

  h1 {
    font-size: clamp(3.25rem, 18vw, 5.6rem);
  }

  .booking-panel {
    margin-top: 34px;
  }

  .stay-filters {
    padding: 12px;
  }

  .filter-row,
  .filter-row.secondary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .filter-amenities,
  .filter-status {
    grid-column: 1 / -1;
  }

  .stay-filters .ghost-action {
    grid-column: 1 / -1;
    width: 100%;
  }

  .city-card {
    min-height: 330px;
  }

  .stay-list article {
    grid-template-columns: 1fr;
  }

  .rule-grid {
    grid-template-columns: 1fr;
  }

  .stay-thumb {
    min-height: 180px;
  }

  .newsletter div {
    grid-template-columns: 1fr;
  }

  .admin-shell {
    padding-inline: 16px;
  }

  .hostel-page {
    padding: 24px 16px 52px;
  }

  .hostel-page-heading h1 {
    font-size: clamp(2.4rem, 14vw, 4.2rem);
  }

  .admin-panel {
    padding: 16px;
  }

  .client-cabinet {
    padding: 16px;
  }

  .client-message {
    max-width: 100%;
  }

  .client-chat-compose {
    grid-template-columns: 1fr;
  }

  .customer-auth-grid {
    grid-template-columns: 1fr;
  }

  .admin-toolbar,
  .reservation-form menu {
    align-items: stretch;
    flex-direction: column;
  }

  .metric-grid,
  .easy-actions,
  .admin-home-grid,
  .location-form,
  .location-list,
  .image-preview-grid,
  .service-fieldset,
  .form-grid,
  .property-gallery,
  .property-facts {
    grid-template-columns: 1fr;
  }

  .property-gallery img,
  .property-gallery img:first-child {
    height: 220px;
  }
}
