:root {
  color-scheme: light;
  --canvas: #f7f5ed;
  --surface: #fdfcf7;
  --paper: #fffef9;
  --ink: #152821;
  --muted: #52625a;
  --line: #dcded2;
  --forest: #122c25;
  --green: #155540;
  --mint: #e6eee3;
  --lime: #d7ea9c;
  --sans: "Aptos", "Segoe UI", system-ui, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
  --mono: "Aptos Mono", "Consolas", monospace;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: 1rem; }
body { margin: 0; background: var(--canvas); color: var(--ink); font: 1rem/1.5 var(--sans); }
body.has-comparison { padding-bottom: 9rem; }
body:has(dialog[open]) { overflow: hidden; }
button, input, select { color: inherit; font: inherit; }
button, select { cursor: pointer; }
a { color: inherit; }
p, h1, h2, h3, dl { margin: 0; }
:focus-visible { outline: 3px solid #477b55; outline-offset: 3px; }
.shell { width: min(100% - 5rem, 76rem); margin-inline: auto; }
.sr-only, .skip-link:not(:focus) {
  position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.skip-link:focus { position: fixed; z-index: 8; top: 1rem; left: 1rem; padding: .75rem; background: var(--paper); }

.topbar { border-bottom: 1px solid var(--line); background: var(--canvas); }
.topbar-inner, .topbar nav, .brand, .footer-inner, .footer-links { display: flex; align-items: center; }
.topbar-inner { min-height: 5rem; justify-content: space-between; gap: 1rem; }
.brand { gap: .7rem; text-decoration: none; }
.brand-mark { display: block; border-radius: 50%; background: #0b1510; }
.brand-wordmark { display: grid; line-height: 1.16; }
.brand-wordmark strong { font-size: 1rem; font-weight: 800; letter-spacing: .09em; }
.brand-wordmark span { font-size: .875rem; color: var(--muted); }
.topbar nav { gap: clamp(1.1rem, 4vw, 2.65rem); font-size: .9375rem; font-weight: 650; }
.topbar nav a { text-decoration: none; }
.nav-link { position: relative; padding-block: 1.7rem; }
.nav-link.current::after { content: ""; position: absolute; bottom: -1px; left: 5%; right: 5%; height: 2px; background: var(--green); }
.nav-contact { display: inline-flex; align-items: center; gap: .55rem; border: 1px solid #a9b4a6; border-radius: .5rem; padding: .56rem .9rem; }
.nav-contact:hover { background: var(--mint); }

.hero {
  position: relative; display: grid; grid-template-columns: 1.05fr .95fr; isolation: isolate; overflow: hidden;
  min-height: 20.25rem; margin-block: 1.65rem 2.05rem; background: var(--forest); color: #fcfaed; border-radius: 1.05rem;
}
.hero-copy { z-index: 1; align-self: center; min-width: 0; padding: 2.65rem 0 2.8rem clamp(2rem, 5vw, 4rem); }
.hero-location, .eyebrow {
  display: flex; align-items: center; gap: .55rem; color: var(--lime); font: 700 .875rem/1.4 var(--mono);
  text-transform: uppercase; letter-spacing: .115em;
}
.hero h1 { margin-top: .75rem; font: 400 clamp(3.25rem, 6.5vw, 6.1rem)/.93 var(--serif); letter-spacing: -.062em; }
.hero h1 em { color: var(--lime); font-weight: 400; }
.hero-description { max-width: 32rem; margin-top: 1.3rem; color: #edf1e6; font-size: 1rem; line-height: 1.55; }
.hero-art { position: relative; min-height: 100%; overflow: hidden; }
.map-glow {
  position: absolute; inset: 0; background: radial-gradient(ellipse at 66% 42%, #47715190 0, #254f3899 31%, transparent 73%);
}
.map-grid {
  position: absolute; width: 143%; height: 157%; top: -30%; left: -8%; transform: rotate(-24deg) skew(10deg);
  background-image: linear-gradient(#a1c29c24 1px, transparent 1px), linear-gradient(90deg, #a1c29c24 1px, transparent 1px);
  background-size: 43px 43px;
  mask-image: radial-gradient(ellipse at center, #000 11%, transparent 67%);
}
.map-road, .map-block { position: absolute; display: block; pointer-events: none; }
.map-road { height: 7px; width: 135%; border-block: 1px solid #94b49282; transform-origin: left center; }
.road-one { left: 7%; top: 88%; transform: rotate(-26deg); }
.road-two { left: 28%; top: 101%; transform: rotate(-29deg); }
.road-three { left: 26%; top: -16%; transform: rotate(61deg); }
.road-four { left: 59%; top: -13%; transform: rotate(56deg); }
.map-block { width: 14%; height: 17%; background: #9bab762c; border: 1px solid #bdd99553; border-radius: .3rem; transform: rotate(-26deg); }
.block-one { left: 33%; top: 27%; }
.block-two { left: 69%; top: 14%; }
.block-three { left: 77%; top: 60%; }
.block-four { left: 47%; top: 76%; }
.map-home {
  display: grid; place-items: center; position: absolute; left: 60%; top: 44%; transform: translate(-50%, -50%);
  width: 4.65rem; aspect-ratio: 1; color: #163c29; background: var(--lime); border-radius: 50%;
  box-shadow: 0 0 0 .95rem #bada8333, 0 0 0 1rem #d7ea9c36, 0 0 0 2rem #cee49a15, 0 0 0 2.05rem #d7ea9c26;
}
.map-home .icon { width: 2rem; height: 2rem; }
.map-label {
  position: absolute; left: 60%; top: calc(44% + 3.2rem); transform: translateX(-50%); white-space: nowrap;
  color: #f4f6e7; background: var(--forest); border: 1px solid #a7bb7f91; border-radius: .4rem;
  padding: .42rem .65rem; font: 650 .8125rem/1.3 var(--mono);
}

.finder { display: grid; grid-template-columns: 17.5rem minmax(0, 1fr); align-items: start; gap: 1.65rem; padding-bottom: 3rem; }
.filters { background: var(--surface); border: 1px solid var(--line); border-radius: .85rem; padding: 1rem 1rem 1.2rem; }
.filter-header { display: flex; justify-content: space-between; align-items: center; gap: .55rem; margin-bottom: .8rem; }
.filter-header h2 { display: flex; gap: .45rem; align-items: center; font-size: 1.09rem; font-weight: 720; }
.filter-count { border-radius: 50%; background: var(--mint); min-width: 1.35rem; padding: .12rem; text-align: center; font-size: .78rem; }
.filters form, .filter-group { display: grid; gap: .75rem; }
.filter-group > label, .rent-fields label, .sort { display: grid; gap: .25rem; font-size: .875rem; font-weight: 650; }
.filters fieldset { min-width: 0; border: 0; border-top: 1px solid var(--line); margin: .15rem 0 0; padding: .7rem 0 0; }
.filters legend { padding: 0 .45rem 0 0; font-size: .875rem; font-weight: 750; }
.rent-fields { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.rent-fields label { font-size: .8125rem; color: var(--muted); }
.filters select, .filters input, .sort select {
  width: 100%; min-width: 0; min-height: 2.65rem; border: 1px solid #c8cfc2; border-radius: .44rem; background: var(--paper);
  padding: .36rem .55rem; font-size: .875rem; font-weight: 500;
}
select { appearance: none; }
.filters select, .sort select {
  padding-right: 1.55rem;
  background-image: linear-gradient(45deg, transparent 47%, #486052 50% 58%, transparent 61%), linear-gradient(135deg, transparent 47%, #486052 50% 58%, transparent 61%);
  background-position: calc(100% - 14px) center, calc(100% - 9px) center;
  background-size: 6px 6px; background-repeat: no-repeat;
}
.sort select:disabled { cursor: default; opacity: .65; }
.filters input::placeholder { color: var(--muted); }
.filters [aria-invalid="true"] { border-color: #aa4038; }
.field-error { margin-top: .42rem; color: #932c24; font-size: .875rem; }
.text-button { padding: .35rem .1rem; border: 0; background: transparent; color: var(--green); font-size: .875rem; font-weight: 700; }
.text-button:hover { text-decoration: underline; text-underline-offset: .2em; }
.filters-toggle, .mobile-results { display: none !important; }

.results-header { min-height: 3.6rem; display: flex; justify-content: space-between; align-items: center; gap: .5rem 1rem; margin-bottom: 1rem; }
.results-header h2 { font: 400 clamp(2rem, 3.7vw, 2.85rem)/1.02 var(--serif); letter-spacing: -.035em; }
.results-header p { color: var(--muted); margin-top: .35rem; font-size: .875rem; }
.sort { display: flex; align-items: center; gap: .5rem; font-weight: 600; color: var(--muted); white-space: nowrap; }
.sort select { width: auto; color: var(--ink); }
.active-filters, .compare-items { display: flex; flex-wrap: wrap; gap: .4rem; }
.active-filters { margin-bottom: .85rem; }
.chip { display: inline-flex; align-items: center; gap: .4rem; padding: .24rem .48rem; border: 1px solid #cbd5c9; border-radius: .4rem; background: var(--mint); color: var(--green); font-size: .82rem; text-align: left; }
.chip:hover { background: #d6e5d4; }
.chip .icon { width: .66rem; height: .66rem; }

.room-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .95rem; }
.empty {
  grid-column: 1/-1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 19.5rem; padding: 2rem min(5vw, 3rem); text-align: center; background: var(--surface);
  border: 1px dashed #b5c1b0; border-radius: .85rem;
}
.empty-icon {
  display: grid; place-items: center; width: 3.4rem; height: 3.4rem; margin-bottom: .88rem;
  color: var(--green); background: var(--mint); border-radius: .75rem;
}
.empty-icon .icon { width: 1.55rem; height: 1.55rem; }
.empty h3 { font: 400 clamp(1.45rem, 3vw, 1.85rem)/1.12 var(--serif); letter-spacing: -.025em; }
.empty p { max-width: 28rem; margin: .6rem auto 1.2rem; color: var(--muted); }
.empty-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: .65rem; }
.button {
  display: inline-flex; justify-content: center; align-items: center; gap: .45rem; min-height: 2.7rem;
  padding: .54rem .85rem; border: 1px solid transparent; border-radius: .45rem; font-size: .875rem;
  font-weight: 700; line-height: 1.25; text-align: center; text-decoration: none;
}
.button:disabled { cursor: default; opacity: .55; }
.primary { color: #fffef7; background: var(--green); }
.primary:hover:not(:disabled) { background: #103d30; }
.secondary { color: var(--green); background: var(--paper); border-color: #bac7b9; }
.secondary:hover, .secondary[aria-pressed="true"] { background: var(--mint); border-color: #a6b8a7; }

.room-card { display: flex; flex-direction: column; overflow: hidden; min-width: 0; background: var(--paper); border: 1px solid var(--line); border-radius: .85rem; }
.room-photo { position: relative; background: #eef1e6; color: #3f6251; min-height: 8rem; overflow: hidden; }
.room-photo img { display: block; width: 100%; aspect-ratio: 2.4; object-fit: cover; }
.photo-placeholder {
  position: relative; display: flex; flex-direction: column; justify-content: center; align-items: center; min-height: inherit;
  gap: .35rem; font-size: .8125rem;
  background: repeating-linear-gradient(135deg, transparent 0 15px, #a8ba9e30 15px 16px), #edf0e5;
}
.photo-placeholder .icon { width: 1.45rem; height: 1.45rem; }
.verified {
  position: absolute; top: .65rem; left: .65rem; display: inline-flex; align-items: center; gap: .25rem;
  padding: .22rem .48rem; border-radius: .32rem; color: #1b5942; background: #f7faf0; border: 1px solid #b9ccbc; font-size: .8125rem; font-weight: 700;
}
.room-card-body { display: flex; flex-direction: column; flex: 1; min-width: 0; padding: 1rem; }
.card-location { display: flex; align-items: center; gap: .35rem; color: var(--green); font-size: .875rem; }
.room-card h3 { font: 400 1.55rem/1.18 var(--serif); letter-spacing: -.022em; overflow-wrap: anywhere; margin-top: .35rem; }
.card-price, .detail-price { margin-top: .48rem; color: var(--muted); font-size: .875rem; }
.card-price strong, .detail-price strong { color: var(--green); font-size: 1.28rem; }
.card-price strong.missing, .detail-price strong.missing { color: var(--muted); font-size: .9375rem; }
.card-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .52rem; padding-block: .65rem; margin-top: .65rem; border-top: 1px solid var(--line); }
dt { color: var(--muted); font-size: .8125rem; }
dd { margin: 0; font-weight: 600; font-size: .875rem; overflow-wrap: anywhere; }
.missing { color: var(--muted); font-weight: 450; }
.card-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin-top: auto; padding-top: .35rem; }

.site-footer { border-top: 1px solid var(--line); background: #efefe3; }
.footer-inner { justify-content: space-between; gap: 1rem; min-height: 5.3rem; }
.footer-brand { display: flex; align-items: baseline; gap: .75rem; flex-wrap: wrap; }
.footer-brand strong { font-size: .9rem; letter-spacing: .12em; }
.footer-brand span { color: var(--muted); font-size: .875rem; }
.footer-links { gap: 1.1rem; }
.footer-links a { font-size: .875rem; font-weight: 600; text-underline-offset: .22em; }

.compare-bar { position: fixed; z-index: 4; bottom: 0; left: 0; right: 0; background: var(--paper); border-top: 1px solid #b8c4b7; box-shadow: 0 -8px 30px #122c2514; }
.compare-bar-inner { display: flex; justify-content: space-between; align-items: center; gap: .75rem; min-height: 5.3rem; padding-block: .75rem; padding-bottom: max(.75rem, env(safe-area-inset-bottom)); }
.compare-bar p { color: var(--muted); font-size: .875rem; }
.compare-items { margin-top: .35rem; }
.compare-items button { max-width: 15rem; overflow-wrap: anywhere; }
.compare-actions { display: flex; align-items: center; flex-shrink: 0; gap: .75rem; }

.dialog { width: min(100% - 2rem, 40rem); max-height: calc(100% - 2rem); max-height: calc(100dvh - 2rem); padding: 0; border: 1px solid var(--line); border-radius: .9rem; color: var(--ink); background: var(--paper); box-shadow: 0 1rem 4rem #0b1d1a44; }
.dialog::backdrop { background: #0b1d1ab8; }
.dialog-header { display: flex; justify-content: space-between; align-items: flex-start; gap: .8rem; padding: 1.15rem 1.3rem; border-bottom: 1px solid var(--line); }
.dialog-header .eyebrow { color: var(--green); }
.dialog-header h2 { margin-top: .22rem; font: 400 clamp(1.7rem, 4vw, 2.4rem)/1.1 var(--serif); overflow-wrap: anywhere; }
.icon-button { display: grid; place-items: center; flex: none; width: 2.65rem; height: 2.65rem; padding: 0; border: 1px solid var(--line); border-radius: .45rem; color: var(--green); background: var(--surface); }
.icon-button:hover { background: var(--mint); }
.detail-body { padding: 1rem 1.3rem; }
.detail-body .room-photo { border-radius: .5rem; }
.detail-facts { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: .6rem; margin-block: 1rem; border-block: 1px solid var(--line); padding-block: .8rem; }
.detail-body h3 { font-size: 1rem; margin-bottom: .3rem; }
.listing-notes { white-space: pre-line; overflow-wrap: anywhere; }
.dialog-actions { display: flex; flex-wrap: wrap; gap: .5rem; padding: 1rem 1.3rem; border-top: 1px solid var(--line); }
.compare-dialog { width: min(100% - 2rem, 60rem); }
.comparison-scroll { overflow-x: auto; margin: .85rem 1rem 1rem; }
.comparison-scroll table { width: 100%; border-spacing: 0; text-align: left; font-size: .875rem; }
.comparison-scroll td, .comparison-scroll th { min-width: 8.4rem; padding: .65rem; vertical-align: top; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.comparison-scroll th:first-child { min-width: 7.1rem; position: sticky; left: 0; background: var(--paper); }
.comparison-scroll thead th { background: var(--mint); color: var(--green); font-size: .95rem; }
.comparison-scroll thead th:first-child { background: var(--mint); }
.compare-link { display: inline-flex; align-items: flex-start; gap: .35rem; color: var(--green); font-weight: 650; text-underline-offset: .17em; }
.compare-link .icon { margin-top: .2rem; }

.icon { display: inline-block; position: relative; width: 1rem; height: 1rem; flex: none; color: inherit; }
.icon::before, .icon::after { content: ""; display: block; position: absolute; }
.icon-pin::before { inset: 6% 16% 18%; border: .105em solid currentColor; transform: rotate(-45deg); border-radius: 60% 60% 60% 0; }
.icon-pin::after { inset: 29% 39% 49%; border-radius: 50%; background: currentColor; }
.icon-home::before { width: 66%; height: 66%; left: 17%; top: 10%; transform: rotate(45deg); border-left: 2px solid currentColor; border-top: 2px solid currentColor; border-radius: 2px; }
.icon-home::after { width: 67%; height: 55%; left: 17%; top: 39%; border: 2px solid currentColor; border-top: 0; border-radius: 0 0 2px 2px; }
.icon-chat::before { inset: 7% 4% 14% 4%; border: 1.5px solid currentColor; border-radius: 40%; }
.icon-chat::after { left: 20%; bottom: 3%; width: 26%; height: 27%; border-left: 1.5px solid currentColor; transform: skew(-26deg); }
.icon-filter::before { inset: 15% 5%; background: repeating-linear-gradient(to bottom, currentColor 0 1.5px, transparent 1.5px 5px); }
.icon-filter::after { top: 4%; left: 33%; width: 2px; height: 26%; background: currentColor; box-shadow: .32rem .32rem 0 currentColor, .07rem .63rem 0 currentColor; }
.icon-check::before { top: 17%; left: 21%; width: 54%; height: 36%; border-left: 1.8px solid currentColor; border-bottom: 1.8px solid currentColor; transform: rotate(-45deg); }
.icon-chevron::before { top: 17%; left: 28%; width: 48%; height: 48%; transform: rotate(45deg); border-right: 1.6px solid; border-bottom: 1.6px solid; }
.icon-cross::before, .icon-cross::after, .icon-plus::before, .icon-plus::after { width: 83%; height: 1.6px; left: 8%; top: 46%; background: currentColor; }
.icon-cross::before { transform: rotate(45deg); }
.icon-cross::after { transform: rotate(-45deg); }
.icon-plus::after { transform: rotate(90deg); }

@media (max-width: 61rem) {
  .shell { width: calc(100% - 3rem); }
  .finder { grid-template-columns: 15rem minmax(0, 1fr); gap: 1rem; }
  .card-facts { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 47rem) {
  .shell { width: calc(100% - 2rem); }
  .topbar-inner { min-height: 4.1rem; }
  .brand-mark { width: 2.4rem; height: 2.4rem; }
  .nav-link { padding-block: 1.36rem; }
  .hero { margin-block: 1rem 1.1rem; min-height: 16rem; }
  .hero-copy { padding: 1.75rem 0 1.85rem 1.35rem; }
  .hero h1 { font-size: clamp(2.85rem, 9vw, 4.5rem); }
  .hero-description { font-size: .9375rem; margin-top: .9rem; }
  .finder { grid-template-columns: minmax(0, 1fr); gap: 1.2rem; }
  .filters { padding: .65rem .8rem; }
  .filter-header { margin: 0; }
  .filter-header h2 { margin-right: auto; }
  .filters-toggle, .mobile-results { display: grid !important; }
  .filters-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
  .filters form { display: none; }
  .filters form.mobile-open { display: grid; padding-top: .65rem; }
  .filter-group { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .mobile-results { margin-top: .25rem; }
  .results-header { margin-bottom: .75rem; }
  .card-facts { grid-template-columns: repeat(3, minmax(0,1fr)); }
}
@media (max-width: 33rem) {
  .hero { grid-template-columns: minmax(0, 1fr); min-height: 15.75rem; }
  .hero-copy { padding-right: 1rem; }
  .hero h1 { font-size: clamp(2.85rem, 12vw, 4.5rem); }
  .hero-description { max-width: 21rem; }
  .hero-art { position: absolute; inset: 0 -23% 0 40%; min-height: auto; opacity: .35; pointer-events: none; }
  .map-home, .map-label { display: none; }
  .room-grid { grid-template-columns: minmax(0,1fr); }
  .topbar nav { gap: .6rem; }
  .topbar .nav-link { display: none; }
  .footer-brand { flex-direction: column; gap: .25rem; }
  .sort > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .sort select { max-width: 9.2rem; }
  .empty { min-height: 18rem; padding-block: 1.45rem; }
  .empty-actions { flex-direction: column; width: min(100%, 16rem); }
  .compare-bar-inner { align-items: stretch; flex-direction: column; gap: .5rem; }
  .compare-items { flex-wrap: nowrap; overflow-x: auto; padding-bottom: .2rem; }
  .compare-items .chip { flex: none; }
  .compare-actions { justify-content: space-between; }
  .compare-actions .primary { min-width: 10rem; }
  .detail-facts { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .button, .chip, .nav-contact { transition: background-color 120ms ease; }
}

.nav-admin {
  color: var(--green);
  font-weight: 700;
}
.topbar nav .nav-admin:hover {
  text-decoration: underline;
  text-underline-offset: .2em;
}
.card-speciality, .detail-speciality {
  color: var(--muted);
  overflow-wrap: anywhere;
}
.card-speciality { font-size: .875rem; margin-top: .55rem; }
.detail-speciality { margin-top: .65rem; }

.editor { width: min(100% - 3rem, 51rem); padding-block: 2.3rem 3.2rem; }
.editor-heading { margin-bottom: 1.4rem; }
.editor-heading .eyebrow { color: var(--green); }
.editor-heading h1 {
  margin-block: .32rem .45rem; font: 400 clamp(2.65rem, 7vw, 4.35rem)/1.04 var(--serif); letter-spacing: -.047em;
}
.editor-heading > p:last-child, .editor-success p { color: var(--muted); }
.editor-form, .editor-success {
  background: var(--surface); border: 1px solid var(--line); border-radius: .85rem; padding: clamp(1rem, 4vw, 1.9rem);
}
.editor-form fieldset { min-width: 0; border: 0; margin: 0 0 1.35rem; padding: 0; }
.editor-form legend { width: 100%; padding: 0 0 .5rem; border-bottom: 1px solid var(--line); margin-bottom: .8rem; font-weight: 750; }
.editor-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem 1rem; }
.editor-wide { grid-column: 1 / -1; }
.editor-grid label { display: block; font-size: .875rem; font-weight: 650; }
.editor-grid .required { color: var(--muted); font-size: .8125rem; font-weight: 500; }
.editor-grid input, .editor-grid select, .editor-grid textarea {
  display: block; width: 100%; min-width: 0; min-height: 2.85rem; margin-top: .26rem; padding: .48rem .63rem;
  border: 1px solid #c8cfc2; border-radius: .44rem; background-color: var(--paper); color: var(--ink);
  font: 400 1rem/1.4 var(--sans);
}
.editor-grid textarea { resize: vertical; }
.editor-grid select {
  padding-right: 1.7rem;
  background-image: linear-gradient(45deg, transparent 47%, #486052 50% 58%, transparent 61%), linear-gradient(135deg, transparent 47%, #486052 50% 58%, transparent 61%);
  background-position: calc(100% - 14px) center, calc(100% - 9px) center;
  background-size: 6px 6px; background-repeat: no-repeat;
}
.editor-grid input::placeholder, .editor-grid textarea::placeholder { color: var(--muted); }
.editor-grid [aria-invalid="true"] { border-color: #aa4038; }
.editor-footer { display: grid; justify-items: start; gap: .85rem; padding-top: .8rem; border-top: 1px solid var(--line); }
.check-label { display: inline-flex; align-items: center; gap: .55rem; min-height: 2.75rem; font-weight: 650; cursor: pointer; }
.check-label input { margin: 0; width: 1.18rem; height: 1.18rem; accent-color: var(--green); }
.form-error { padding: .75rem .9rem; border: 1px solid #aa4038; border-radius: .45rem; color: #932c24; }
.form-error ul { margin: .4rem 0 0; padding-left: 1.1rem; }
.editor-success h2 { font: 400 2rem/1.18 var(--serif); }
.editor-success p { margin-top: .42rem; }
.editor-actions { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1rem; }
@media (max-width: 33rem) {
  .topbar .nav-admin + .nav-contact { display: none; }
  .editor { width: calc(100% - 2rem); padding-top: 1.5rem; }
  .editor-grid { grid-template-columns: minmax(0, 1fr); }
}

.code-search {
  display: grid;
  gap: .26rem;
  margin-bottom: .9rem;
}
.code-search label { font-size: .875rem; font-weight: 650; }
.code-search input {
  width: 100%;
  min-height: 2.75rem;
  border: 1px solid #c8cfc2;
  border-radius: .44rem;
  background: var(--paper);
  padding: .4rem .65rem;
}
.code-search input::placeholder { color: var(--muted); }
.listing-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .38rem .7rem;
  margin-bottom: .63rem;
}
.listing-status {
  display: inline-block;
  padding: .19rem .45rem;
  border: 1px solid transparent;
  border-radius: .32rem;
  font-size: .875rem;
  font-weight: 700;
}
.status-available { background: #e0efdf; color: #174b30; border-color: #bad2bc; }
.status-booked { background: #f6e9d5; color: #713f14; border-color: #ddc49e; }
.status-unknown { background: #eeeede; color: var(--muted); border-color: var(--line); }
.room-code {
  display: inline-block;
  padding: .2rem .4rem;
  border: 1px solid var(--line);
  border-radius: .32rem;
  background: var(--paper);
  color: var(--ink);
  font: 650 .875rem/1.35 var(--mono);
  overflow-wrap: anywhere;
}
.editor-description { color: var(--muted); }
.editor-heading .room-code { margin-top: .65rem; }
.card-actions a { grid-column: 1 / -1; }
@media (min-width: 61rem) {
  .card-actions:has(a) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .card-actions a { grid-column: auto; }
}

.list-your-room {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .8rem 1.2rem;
  flex-wrap: wrap;
  margin-block: 0 1.8rem;
  padding: 1.1rem 1.3rem;
  border: 1px solid var(--line);
  border-radius: .75rem;
  background: var(--surface);
}
.list-your-room h2 { font-size: 1.13rem; }
.list-your-room p { margin-top: .24rem; color: var(--muted); }
.media-inputs { display: grid; align-content: start; gap: .75rem; }
.field-note { color: var(--muted); font-size: .875rem; font-weight: 500; margin-top: .3rem; }
.media-inputs .field-note { display: block; }
.media-inputs input[type="file"] { max-width: 100%; }
.room-media, .room-media-item { display: grid; gap: .55rem; }
.room-media { margin-block: .85rem; }
.room-media-item h4 { margin: 0; }
.room-media-item a { color: var(--green); font-size: .9rem; width: max-content; max-width: 100%; }
.media-preview {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: .5rem;
  background: var(--forest);
}
.detail-body .room-photo img { aspect-ratio: auto; max-height: 29rem; object-fit: contain; }
