/* ==========================================================================
   Kost48 — sistem tema
   Satu sistem, dua permukaan: `app` untuk halaman kerja dan `marketing` untuk
   landing. Token di sini adalah satu-satunya sumber warna; `landing.css` hanya
   memuat varian marketing. Aturan lengkap: docs/05-TEMA.md.
   ========================================================================== */

:root {
  /* brand — hijau pinus: tenang, terawat, aman */
  --brand: #0f6e56;
  --brand-strong: #094c3b;
  --brand-soft: #dff3ec;
  --brand-contrast: #ffffff;
  --brand-rgb: 15, 110, 86;
  --brand-strong-rgb: 9, 76, 59;

  /* aksen — terracotta, hanya untuk permukaan marketing */
  --accent: #b4552f;
  --accent-strong: #8f3f22;
  --accent-soft: #f7e8df;
  --accent-rgb: 180, 85, 47;

  /* permukaan & teks — netral hangat, bukan abu klinis */
  --bg: #f6f3ec;
  --surface: #ffffff;
  --surface-soft: #faf8f3;
  --text: #16211c;
  --muted: #55655d;
  --border: #dde3dd;
  --text-rgb: 22, 33, 28;

  /* status — konvensional, selalu berlabel teks */
  --warning: #92400e;
  --warning-soft: #fef3c7;
  --danger: #b91c1c;
  --danger-soft: #fee2e2;
  --success: #166534;
  --success-soft: #dcfce7;
  --success-rgb: 22, 101, 52;
  --info: #1e40af;
  --info-soft: #dbeafe;

  /* chrome — header & footer memakai token yang sama di app dan marketing */
  --header-bg: var(--brand);
  --header-fg: var(--brand-contrast);
  --header-muted: rgba(255, 255, 255, 0.82);
  --header-border: rgba(255, 255, 255, 0.16);
  --footer-bg: var(--brand-strong);
  --footer-fg: #eaf2ee;
  --footer-muted: #a9c4b9;
  --footer-border: rgba(255, 255, 255, 0.14);

  /* tipografi — app memakai system UI; marketing memakai font yang sudah dimuat */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --font-marketing: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* bentuk, jarak, kontainer */
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 3px rgba(22, 33, 28, 0.08);
  --shadow-lg: 0 12px 30px rgba(22, 33, 28, 0.12);
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --container: 1120px;
  --sidebar-w: 240px;
  --appbar-h: 56px;
}

* { box-sizing: border-box; }

html, body { margin: 0; }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  font-size: 15px;
}

a { color: var(--brand-strong); }

button, input, select, textarea { font: inherit; }

button { cursor: pointer; }

h1, h2, h3 { line-height: 1.25; }

h2 { font-size: 17px; margin: 0 0 10px; }
h3 { font-size: 14px; margin: 0 0 6px; }

code { font-size: 0.92em; background: var(--surface-soft); padding: 1px 5px; border-radius: 5px; }

.muted { color: var(--muted); }
.small { font-size: 12px; }
.inline { display: inline; }
.inline-form { display: inline; margin: 0; }

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 200;
  background: var(--brand-strong);
  color: #fff;
  padding: 10px 14px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: top 0.15s ease;
}
.skip-link:focus { top: 12px; }

/* Brand lockup dipakai di appbar, sidebar, header marketing, dan footer. */
.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: inherit;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-decoration: none;
}

.site-brand__logo {
  display: block;
  height: 28px;
  width: auto;
  max-width: 48px;
  flex-shrink: 0;
  object-fit: contain;
  background: #fff;
  border-radius: 7px;
  padding: 3px;
}

.site-brand__name { font-size: 14px; line-height: 1.1; }
.site-brand__name span { color: var(--brand-soft); }
.site-brand__name small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.site-brand--sidebar {
  width: 100%;
  padding: 4px 8px 14px;
  color: var(--brand-strong);
  letter-spacing: 0.05em;
}
.site-brand--sidebar .site-brand__logo {
  max-width: 46px;
  border: 1px solid var(--border);
  padding: 2px 3px;
}
.site-brand--sidebar .site-brand__name { display: flex; flex-direction: column; }

/* ------------------------------------------------------------------ shell */
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--sidebar-w);
  background: var(--surface);
  border-right: 1px solid var(--border);
  color: var(--text);
  padding: 14px 10px 28px;
  overflow-y: auto;
  z-index: 60;
}

.sidebar nav { display: flex; flex-direction: column; gap: 2px; }

.sidebar .sgroup {
  font-size: 12px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 800;
  margin: 16px 9px 5px;
}

.site-nav { display: flex; align-items: center; gap: 2px; }

.site-nav__link,
.sidebar .sitem {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 10px;
  border-radius: 9px;
  color: var(--muted);
  font-size: 13.5px;
  text-decoration: none;
}

.site-nav__link:hover,
.sidebar .sitem:hover { background: var(--surface-soft); color: var(--text); }
.site-nav__link[aria-current="page"],
.sidebar .sitem.on { background: var(--brand-soft); color: var(--brand-strong); font-weight: 800; }

.main {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.has-sidebar .main { margin-left: var(--sidebar-w); }

/* Header dasar: app dan marketing memakai struktur yang sama. */
.site-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-header--app {
  position: sticky;
  top: 0;
  z-index: 40;
  min-height: var(--appbar-h);
  padding: 8px 16px;
  background: var(--header-bg);
  color: var(--header-fg);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}

.site-header--app .site-brand { color: var(--header-fg); }
.site-header--app .site-brand__logo {
  max-width: 120px;
  padding: 2px 4px;
  border-radius: 5px;
}

.site-header__title {
  flex: 1;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  color: var(--header-fg);
  font-size: 16px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-header__actions { display: flex; align-items: center; gap: 4px; }

.iconbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 40px;
  padding: 0;
  border: none;
  border-radius: 9px;
  background: none;
  color: #fff;
  font-size: 17px;
  line-height: 1;
  text-decoration: none;
}

.iconbtn:hover { background: rgba(255, 255, 255, 0.16); }

.nav-toggle { display: none; }

.content { padding: 20px 22px 44px; width: 100%; flex: 1; }
.content-shell { max-width: var(--container); margin: 0 auto; }

/* Footer dasar: app compact, marketing di landing.css. */
.site-footer {
  margin-top: auto;
  background: var(--footer-bg);
  color: var(--footer-fg);
}
.site-footer a { color: inherit; }

.site-footer__copy {
  margin: 0;
  color: var(--footer-muted);
  font-size: 12px;
  line-height: 1.5;
}

.site-footer__nav { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }

.site-footer .site-nav__link {
  min-height: 0;
  padding: 2px 0;
  color: var(--footer-fg);
  font-size: 12.5px;
}
.site-footer .site-nav__link:hover { background: transparent; color: #fff; }

.site-footer--app .site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 20px;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px 22px;
}

.scrim {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  z-index: 50;
}
.scrim[hidden] { display: none; }

/* ------------------------------------------------------------ tipografi */
.eyebrow {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 800;
}

.page-intro { margin-bottom: 14px; }
.page-intro .lead { margin: 4px 0 0; font-size: 13.5px; max-width: 72ch; }

.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
  font-size: 12.5px;
  color: var(--muted);
}
.crumbs a { display: inline-flex; align-items: center; min-height: 24px; padding: 0 2px; color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--brand-strong); text-decoration: underline; }
.crumbs [aria-current="page"] { color: var(--text); font-weight: 700; }
.crumb-sep { color: var(--muted); }

.hubgrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 8px;
}
.hubcard {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 56px;
  padding: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow);
  color: var(--text);
  text-decoration: none;
}
.hubcard:hover { background: var(--brand-soft); border-color: var(--brand-soft); }
.hubcard-label { font-size: 14px; font-weight: 700; }
.hubcard-go { color: var(--brand); font-weight: 800; }

.hdr {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

/* ---------------------------------------------------------------- kartu */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px;
  margin-bottom: 12px;
  max-width: 100%;
}

.card:has(> .table) { overflow-x: auto; }

.card > h2:first-child,
.card > h3:first-child { margin-top: 0; }

.cardtitle { font-weight: 800; font-size: 14px; margin-bottom: 8px; }

.hero {
  background-color: var(--brand);
  background-image: linear-gradient(135deg, var(--brand), #10b981);
  border: none;
  color: #fff;
}
.hero .cardtitle { color: #fff; }
.hero .muted { color: #d1fae5; }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.cards .card { margin: 0; padding: 14px; }
.cards .card h3 {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 800;
}
.cards .card .big {
  margin: 6px 0 0;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.15;
  white-space: nowrap;
}

.grid2 { display: grid; grid-template-columns: 1fr; gap: 12px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 12px; }

.stat {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 8px;
  text-align: center;
  color: var(--text);
  text-decoration: none;
  min-height: 68px;
  box-shadow: var(--shadow);
}
.stat:hover { background: var(--surface-soft); }
.stat .n { display: block; font-size: 18px; font-weight: 800; line-height: 1.15; }
.stat .l { display: block; font-size: 12px; color: var(--muted); margin-top: 3px; }

.kv {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--border);
}
.kv:last-child { border-bottom: none; }

.listrow {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 2px;
  min-height: 54px;
  border: none;
  border-bottom: 1px dashed var(--border);
  background: none;
  color: var(--text);
  text-align: left;
  text-decoration: none;
}
.listrow:last-child { border-bottom: none; }
.listrow:hover { background: var(--surface-soft); }
.hero .listrow { color: #fff; border-color: rgba(255, 255, 255, 0.28); }
.hero .listrow:hover { background: rgba(255, 255, 255, 0.12); }
.hero .listrow small { color: #d1fae5; }

.listmain { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.listmain strong { font-size: 13.5px; }
.listmain small { font-size: 12px; color: var(--muted); line-height: 1.35; }

.srcbox {
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 9px 11px;
  font-size: 12px;
  line-height: 1.5;
  margin-bottom: 8px;
}

.empty {
  text-align: center;
  padding: 20px 10px;
  color: var(--muted);
  font-size: 13px;
}
.empty .ic { font-size: 24px; display: block; margin-bottom: 4px; }

/* ----------------------------------------------------------------- chip */
.chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}
.chip.green { background: var(--success-soft); color: var(--success); }
.chip.amber { background: var(--warning-soft); color: var(--warning); }
.chip.red { background: var(--danger-soft); color: var(--danger); }
.chip.blue { background: var(--info-soft); color: var(--info); }
.chip.gray { background: var(--surface-soft); color: var(--muted); border: 1px solid var(--border); }

/* -------------------------------------------------------------- tombol */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid var(--brand);
  border-radius: var(--radius-sm);
  background: var(--brand);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.btn:hover { background: var(--brand-strong); border-color: var(--brand-strong); }

.btn-ghost {
  background: var(--surface);
  color: var(--brand-strong);
  border-color: var(--border);
}
.btn-ghost:hover { background: var(--brand-soft); border-color: var(--border); }

.btn.small { min-height: 34px; padding: 5px 10px; font-size: 12px; }
.btn-lg { min-height: 44px; padding: 10px 20px; font-size: 14px; }

.btn-on-dark {
  border-color: rgba(255, 255, 255, 0.55);
  background: transparent;
  color: #fff;
}
.btn-on-dark:hover { background: rgba(255, 255, 255, 0.16); border-color: #fff; }

.btn-contrast {
  border-color: #fff;
  background: #fff;
  color: var(--brand-strong);
}
.btn-contrast:hover { background: var(--brand-soft); border-color: var(--brand-soft); }

.btn-soft {
  border-color: var(--brand-soft);
  background: var(--brand-soft);
  color: var(--brand-strong);
}
.btn-soft:hover { background: #cdebe1; border-color: #cdebe1; }

.btnrow { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }

/* --------------------------------------------------------- segmented tab */
.segmented {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 3px;
  margin-bottom: 12px;
}
.segbtn {
  flex: 1;
  min-width: 90px;
  min-height: 38px;
  border: none;
  border-radius: 9px;
  background: none;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.segbtn:hover { background: var(--surface-soft); }
.segbtn.on { background: var(--brand); color: #fff; }

/* --------------------------------------------------------------- tabel */
.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.table th,
.table td {
  text-align: left;
  padding: 10px 9px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.table th {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 800;
  background: var(--surface-soft);
  white-space: nowrap;
}
.table tbody tr:hover td { background: var(--surface-soft); }
.table tr:last-child td { border-bottom: none; }
.table .btn { min-height: 32px; padding: 4px 9px; font-size: 12px; }

.tablewrap { overflow-x: auto; border: 1px solid var(--border); border-radius: 10px; }

/* ------------------------------------------------------------- formulir */
label {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 12px;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  padding: 9px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 400;
  color: var(--text);
  background: var(--surface);
}

textarea { min-height: 110px; resize: vertical; }

input::placeholder { color: #7c8b84; }

.toolbar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 14px;
}
.toolbar input,
.toolbar select { width: auto; min-width: 160px; }

.form-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.form-actions.between { justify-content: space-between; }

/* Utilitas layout — hanya jarak/lebar/teks. Warna tetap lewat token. */
.input-sm { width: 100px; min-width: 100px; }
.input-md { width: 130px; min-width: 130px; }
.input-lg { width: 180px; min-width: 180px; }
.toolbar .input-sm { min-width: 100px; }
.toolbar .input-md { min-width: 130px; }
.toolbar .input-lg { min-width: 180px; }

.m-0 { margin: 0; }
.my-1 { margin: 6px 0; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 12px; }
.mb-2 { margin-bottom: 10px; }
.pre-wrap { white-space: pre-wrap; }

.check { flex-direction: row; align-items: center; gap: 8px; font-weight: 400; font-size: 14px; color: var(--text); }
.check input { width: auto; min-height: 0; }

fieldset {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px;
  margin: 0 0 16px;
}
legend { font-weight: 800; font-size: 13px; padding: 0 6px; }

/* ------------------------------------------------------- detail & daftar */
.detail {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 8px 14px;
  margin: 0 0 16px;
  font-size: 14px;
}
.detail dt { color: var(--muted); }
.detail dd { margin: 0; }

.list { margin: 0; padding-left: 18px; }
.list li { padding: 4px 0; }

.pagination {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 14px;
  font-size: 13px;
}

/* --------------------------------------------------------------- flash */
.flash {
  margin: 0 0 12px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  border: 1px solid transparent;
}
.flash-success { background: var(--success-soft); color: var(--success); border-color: #b7e4d4; }
.flash-error { background: var(--danger-soft); color: var(--danger); border-color: #fecaca; }
.flash-warning { background: var(--warning-soft); color: var(--warning); border-color: #fde68a; }

/* ---------------------------------------------------------------- auth */
.auth-main {
  flex: 1;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 24px;
  background: var(--bg);
}

.auth-main .flash { width: min(400px, 100%); margin: 0; }

.auth-brand { color: var(--brand-strong); font-size: 15px; }
.auth-brand .site-brand__logo { height: 34px; max-width: 58px; }

.auth-card {
  width: min(400px, 100%);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.auth-card h1 { margin: 0 0 4px; font-size: 22px; }
.auth-card label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--text); font-weight: 600; }
.auth-links { font-size: 13.5px; }

.status-code { font-size: 42px; font-weight: 800; margin: 0; color: var(--brand-strong); }

/* ------------------------------------------------------------ fokus */
:where(a, button, input, select, textarea, summary):focus-visible {
  outline: 3px solid #f59e0b;
  outline-offset: 2px;
}

/* ------------------------------------------------------- bottom navigasi */
.bottomnav { display: none; }

/* ------------------------------------------------------------- galeri kamar */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.gallery-item { margin: 0; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.gallery-item img { width: 100%; height: 140px; object-fit: cover; display: block; }
.gallery-item figcaption { font-size: 12px; color: var(--muted); padding: 8px 10px; }

/* ------------------------------------------------------------ responsif */
@media (min-width: 1000px) {
  .grid2 { grid-template-columns: 1fr 1fr; }
  .content { padding: 24px 28px 48px; }
}

/* Daftar utama: tabel menjadi kartu di layar sempit. Opt-in lewat .table-cards. */
@media (max-width: 640px) {
  .card:has(> .table.table-cards) {
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
    overflow: visible;
  }
  .card:has(> .table.table-cards) > .toolbar {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 12px;
  }
  .table.table-cards { display: block; min-width: 0; }
  .table.table-cards thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
  .table.table-cards tbody { display: block; }
  .table.table-cards tr {
    display: block;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 10px 12px;
    margin-bottom: 8px;
  }
  .table.table-cards tr:last-child { margin-bottom: 0; }
  .table.table-cards tr:hover td { background: transparent; }
  .table.table-cards td {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    border: none;
    padding: 4px 0;
    text-align: right;
  }
  .table.table-cards td::before {
    content: attr(data-label);
    flex: 0 0 auto;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    text-align: left;
  }
  .table.table-cards td.cell-primary {
    display: block;
    margin-bottom: 6px;
    padding: 0 0 8px;
    border-bottom: 1px dashed var(--border);
    text-align: left;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.35;
  }
  .table.table-cards td.cell-primary::before { content: none; }
  .table.table-cards td.cell-primary a { display: inline-block; padding: 4px 0; }
  .table.table-cards td.cell-actions { justify-content: flex-end; padding-top: 10px; }
  .table.table-cards td.cell-actions::before { content: none; }
}

@media (max-width: 900px) {
  .sidebar {
    width: 264px;
    transform: translateX(-100%);
    visibility: hidden;
    transition: transform 0.2s ease, visibility 0s linear 0.2s;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  }
  body.nav-open .sidebar { transform: none; visibility: visible; transition: transform 0.2s ease, visibility 0s; }
  body.nav-open { overflow: hidden; }

  .has-sidebar .main { margin-left: 0; }
  .nav-toggle { display: inline-flex; }
  .site-header--app { padding: 8px 10px; }
  .site-header--app .site-brand__logo { height: 24px; }

  .content { padding: 16px 14px 92px; }
  .detail { grid-template-columns: 1fr; gap: 2px 0; }
  .detail dt { margin-top: 8px; }
  .grid3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stat .n { font-size: 16px; }
  .card { padding: 14px; }
  .table { font-size: 12.5px; }

  .bottomnav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 45;
    display: flex;
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding-bottom: env(safe-area-inset-bottom, 0);
  }
  .bnitem {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    min-height: 56px;
    border: none;
    background: none;
    color: var(--muted);
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 2px;
  }
  .bnitem.on { color: var(--brand-strong); background: var(--brand-soft); }
  .bnicon { font-size: 17px; line-height: 1; }
}

@media (max-width: 520px) {
  .site-header__title { font-size: 15px; }
  .cards { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
  .grid3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .stat { padding: 10px 5px; }
  .stat .n { font-size: 14px; }
  .stat .l { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .sidebar, .skip-link { transition: none; }
}

/* --------------------------------------------------- halaman cek kamar */
body.rooms-page .content { padding-bottom: 104px; }

.rooms-page { display: grid; gap: 14px; }

.rooms-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  grid-template-areas:
    "body photo"
    "body aside";
  gap: clamp(18px, 3vw, 34px);
  overflow: hidden;
  padding: clamp(22px, 4vw, 38px);
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--brand-strong), var(--brand));
  color: var(--brand-contrast);
  box-shadow: var(--shadow-lg);
}

.rooms-hero::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -110px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: rgba(var(--brand-rgb), 0.35);
  filter: blur(2px);
  pointer-events: none;
}

.rooms-hero__body,
.rooms-hero__photo,
.rooms-hero__aside { position: relative; z-index: 1; }

.rooms-hero__body { display: grid; grid-area: body; align-content: center; gap: 12px; }

/* Foto cover /rooms — sumber 360×270, jadi ditampilkan 4:3 tanpa crop */
.rooms-hero__photo {
  grid-area: photo;
  align-self: start;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  background: rgba(var(--brand-rgb), 0.35);
  box-shadow: var(--shadow);
}

.rooms-hero__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rooms-hero .eyebrow { color: var(--brand-soft); }

.rooms-hero__title {
  max-width: 19ch;
  margin: 0;
  color: var(--brand-contrast);
  font-size: clamp(2rem, 4.2vw, 3.5rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.rooms-hero__lead {
  max-width: 66ch;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  line-height: 1.7;
}

.rooms-hero__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.rooms-hero__actions .btn { min-height: 44px; }

.rooms-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 6px 0 0;
  padding: 0;
}

.rooms-stats div {
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
}

.rooms-stats dt {
  color: rgba(255, 255, 255, 0.74);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.3;
  text-transform: uppercase;
}

.rooms-stats dd {
  margin: 4px 0 0;
  color: var(--brand-contrast);
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
}

.rooms-stats dd small { color: rgba(255, 255, 255, 0.7); font-size: 11px; }

.rooms-hero__aside {
  grid-area: aside;
  align-self: center;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.rooms-hero__rating { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; }
.rooms-hero__rating strong { font-size: 2.5rem; font-weight: 800; line-height: 1; }
.rooms-hero__rating span { color: var(--warning-soft); font-size: 15px; letter-spacing: 0.08em; }
.rooms-hero__rating small { color: rgba(255, 255, 255, 0.74); font-size: 11px; }
.rooms-hero__aside p { margin: 10px 0 6px; color: var(--brand-contrast); font-size: 12.5px; line-height: 1.6; }
.rooms-hero__aside .rooms-hero__by { color: rgba(255, 255, 255, 0.7); font-size: 11px; }
.rooms-hero__aside a { color: var(--brand-contrast); font-size: 11.5px; font-weight: 700; }

.rooms-panel { padding: clamp(16px, 2.4vw, 24px); }

.rooms-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.rooms-section-head h2 {
  margin: 3px 0 0;
  font-size: clamp(1.35rem, 2.6vw, 1.9rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.rooms-section-head__note {
  max-width: 44ch;
  margin: 0;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.55;
  text-align: right;
}

.rooms-filters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto auto;
  align-items: end;
  gap: 8px;
  margin: 0;
}

.rooms-filters label { width: auto; min-width: 0; margin: 0; }
.rooms-filters input,
.rooms-filters select { width: 100%; }
.rooms-filters .btn { min-height: 44px; }

.rooms-filter-foot {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.55;
}

.rooms-calendar-card { padding: clamp(16px, 2.4vw, 24px); }

.rooms-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 700;
}

.rooms-legend__item { display: inline-flex; align-items: center; gap: 5px; }
.rooms-legend__swatch { display: inline-block; width: 12px; height: 12px; border-radius: 3px; border: 1px solid var(--border); }
.rooms-legend__swatch.heat-0 { background: var(--surface); }
.rooms-legend__swatch.heat-1 { background: var(--info-soft); border-color: var(--info); }
.rooms-legend__swatch.heat-2 { background: var(--warning-soft); border-color: var(--warning); }
.rooms-legend__swatch.heat-3 { background: var(--brand); border-color: var(--brand); }
.rooms-legend__swatch.is-today { background: transparent; outline: 2px solid var(--brand); outline-offset: 1px; }
.rooms-legend__swatch.is-vacant { background: var(--success-soft); outline: 2px solid var(--success); outline-offset: -2px; }
.rooms-legend__swatch.is-overdue { background: var(--danger-soft); border: 1px dashed var(--danger); }

.rooms-forecast {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}

.rooms-forecast__card {
  min-width: 0;
  padding: 9px 10px;
  border: 1px solid var(--border);
  border-top-width: 4px;
  border-radius: 10px;
  background: var(--surface);
  transition: box-shadow 0.16s ease, border-color 0.16s ease;
}

.rooms-forecast__card.heat-1 { border-color: var(--info); background: var(--info-soft); }
.rooms-forecast__card.heat-2 { border-color: var(--warning); background: var(--warning-soft); }
.rooms-forecast__card.heat-3 { border-color: var(--brand); background: var(--brand-soft); }
.rooms-forecast__card.is-current { border-color: var(--brand-strong); box-shadow: 0 0 0 2px var(--brand-strong); }
.rooms-forecast__head { display: flex; align-items: center; justify-content: space-between; gap: 4px; }
.rooms-forecast__month {
  color: var(--muted);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.rooms-forecast__band {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: var(--muted);
  font-size: 8px;
  font-weight: 800;
  text-transform: uppercase;
}
.rooms-forecast__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--border); }
.rooms-forecast__dot.heat-1 { background: var(--info); }
.rooms-forecast__dot.heat-2 { background: var(--warning); }
.rooms-forecast__dot.heat-3 { background: var(--brand); }
.rooms-forecast__value {
  margin: 5px 0 0;
  color: var(--brand-strong);
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
}
.rooms-forecast__card.heat-1 .rooms-forecast__value { color: var(--info); }
.rooms-forecast__card.heat-2 .rooms-forecast__value { color: var(--warning); }
.rooms-forecast__unit { margin: 3px 0 0; color: var(--text); font-size: 9.5px; font-weight: 700; }
.rooms-forecast__meta { margin: 6px 0 0; color: var(--muted); font-size: 9px; line-height: 1.45; }
.rooms-forecast__note { margin: 4px 0 0; color: var(--success); font-size: 9px; font-weight: 800; line-height: 1.4; }
.rooms-forecast__note.is-alert { color: var(--danger); }

.rooms-calendar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.rooms-month {
  min-width: 0;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface-soft);
}

.rooms-month h3 {
  margin: 0 0 8px;
  color: var(--text);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-transform: capitalize;
}

.rooms-weekdays,
.rooms-week {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 2px;
}

.rooms-weekdays {
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 8.5px;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}

.rooms-week + .rooms-week { margin-top: 2px; }

.rooms-day {
  display: grid;
  align-content: start;
  min-height: 43px;
  min-width: 0;
  padding: 3px;
  border: 1px solid transparent;
  border-radius: 5px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  text-align: left;
}

.rooms-day.is-empty { background: transparent; }
.rooms-day__num { color: var(--muted); font-size: 9.5px; font-weight: 800; line-height: 1.2; }
.rooms-day__events { display: flex; flex-wrap: wrap; gap: 1px; margin-top: 2px; }
.rooms-day__events span {
  padding: 1px 2px;
  border-radius: 2px;
  background: rgba(var(--brand-rgb), 0.12);
  color: var(--brand-strong);
  font-size: 7.5px;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
}

.rooms-day.heat-0 { background: var(--surface); }
.rooms-day.heat-1 { border-color: var(--info); background: var(--info-soft); }
.rooms-day.heat-2 { border-color: var(--warning); background: var(--warning-soft); }
.rooms-day.heat-3 { border-color: var(--brand); background: var(--brand); }
.rooms-day.heat-1 .rooms-day__num { color: var(--info); }
.rooms-day.heat-2 .rooms-day__num { color: var(--warning); }
.rooms-day.heat-3 .rooms-day__num { color: var(--brand-contrast); }
.rooms-day.heat-1 .rooms-day__events span,
.rooms-day.heat-2 .rooms-day__events span { background: var(--surface); }
.rooms-day.heat-1 .rooms-day__events span { color: var(--info); border: 1px solid var(--info-soft); }
.rooms-day.heat-2 .rooms-day__events span { color: var(--warning); border: 1px solid var(--warning-soft); }
.rooms-day.heat-3 .rooms-day__events span { color: var(--brand-contrast); background: rgba(255, 255, 255, 0.2); }
.rooms-day .rooms-day__events span.is-vacant { background: var(--success-soft); color: var(--success); outline: 1px solid var(--success); }
.rooms-day .rooms-day__events span.is-overdue { background: var(--danger-soft); color: var(--danger); }
.rooms-day.heat-3 .rooms-day__events span.is-vacant { background: var(--success-soft); color: var(--success); }
.rooms-day.heat-3 .rooms-day__events span.is-overdue { background: var(--danger-soft); color: var(--danger); }
.rooms-day.is-today { outline: 2px solid var(--brand-strong); outline-offset: 1px; }
.rooms-day.is-past { opacity: 0.45; }
.rooms-day.is-past.has-overdue { opacity: 1; }
.rooms-day.has-overdue { border-style: dashed; border-color: var(--danger); }
button.rooms-day { cursor: pointer; }
button.rooms-day:hover { border-color: var(--brand); }
button.rooms-day:focus-visible { outline: 3px solid var(--brand-strong); outline-offset: 2px; }

.rooms-calendar-more {
  margin: 10px 0 0;
  padding: 8px 10px;
  border: 1px dashed var(--border);
  border-radius: 8px;
  background: var(--surface-soft);
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.5;
}

.rooms-vacant-block {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.rooms-vacant-block h3 { margin: 2px 0 0; font-size: 16px; }

.rooms-contract-block {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.rooms-contract-block__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.rooms-contract-block__head h3 { margin: 2px 0 0; font-size: 16px; }
.rooms-contract-block__head p { margin: 0; font-size: 11px; text-align: right; }

.rooms-contracts { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }

.rooms-contract {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  transition: border-color 0.16s ease, background 0.16s ease;
}

.rooms-contract.is-highlight { border-color: var(--brand); background: var(--brand-soft); }
.rooms-contract__date { display: grid; gap: 3px; }
.rooms-contract__date strong { font-size: 12px; line-height: 1.3; }
.rooms-contract__date .chip { justify-self: start; font-size: 9.5px; padding: 2px 7px; }

.rooms-contract__main { display: grid; gap: 2px; min-width: 0; }
.rooms-contract__main strong { font-size: 12.5px; }
.rooms-contract__room { color: var(--brand-strong); text-decoration: none; }
.rooms-contract__room:hover,
.rooms-contract__room:focus-visible { text-decoration: underline; text-underline-offset: 2px; }
.rooms-contract__main span { color: var(--muted); font-size: 11px; }
.rooms-contract__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; }
.rooms-contract__meta .chip { padding: 1px 7px; font-size: 9.5px; }
.rooms-contract .btn { min-height: 40px; }
.rooms-overdue { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--danger); }
.rooms-overdue h4 { margin: 0 0 6px; color: var(--danger); font-size: 12px; }

.rooms-caption {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.55;
}

.rooms-list-section { display: grid; gap: 12px; }
.rooms-list-head { margin-bottom: 0; }
.rooms-list-head p { margin: 5px 0 0; }
.rooms-compare-hint {
  align-self: end;
  max-width: 30ch;
  padding: 7px 10px;
  border: 1px dashed var(--border);
  border-radius: 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  text-align: right;
}

.rooms-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }

.rooms-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.rooms-card:hover { transform: translateY(-3px); border-color: rgba(var(--brand-rgb), 0.3); box-shadow: var(--shadow-lg); }

.rooms-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface-soft); }
.rooms-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.rooms-card:hover .rooms-card__media img { transform: scale(1.03); }
.rooms-card__status { position: absolute; top: 9px; left: 9px; z-index: 1; box-shadow: var(--shadow); }
.rooms-card__flag {
  position: absolute;
  top: 9px;
  right: 9px;
  z-index: 1;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--warning-soft);
  color: var(--warning);
  font-size: 9.5px;
  font-weight: 800;
  box-shadow: var(--shadow);
}

.rooms-card__body { display: flex; flex: 1; flex-direction: column; gap: 8px; padding: 14px; }
.rooms-card__title { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.rooms-card__title h3 { margin: 0; font-size: 15px; letter-spacing: -0.02em; }
.rooms-card__title h3 a { text-decoration: none; }
.rooms-card__title p { margin: 2px 0 0; color: var(--muted); font-size: 10.5px; }
.rooms-card__price { color: var(--accent); font-size: 15px; font-weight: 800; text-align: right; white-space: nowrap; }
.rooms-card__price small { color: var(--muted); font-size: 10px; font-weight: 600; }

.rooms-card__tags { display: flex; flex-wrap: wrap; gap: 4px; }
.rooms-card__tags span {
  padding: 3px 7px;
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--muted);
  font-size: 9.5px;
  font-weight: 700;
}

.rooms-insight {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface-soft);
}
.rooms-insight div { display: grid; align-content: start; gap: 2px; min-width: 0; }
.rooms-insight span { color: var(--muted); font-size: 9px; font-weight: 700; line-height: 1.3; text-transform: uppercase; }
.rooms-insight strong { font-size: 11px; line-height: 1.3; }
.rooms-insight .chip { justify-self: start; font-size: 9px; padding: 2px 6px; }
.rooms-card__note { margin: 0; color: var(--muted); font-size: 10.5px; line-height: 1.5; }

.rooms-card__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; margin-top: auto; }
.rooms-card__actions .btn { min-height: 40px; padding: 0 8px; font-size: 10.5px; }
.rooms-card__actions .btn-soft { grid-column: 1 / -1; }

.rooms-compare-check {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 7px;
  margin: 0;
  padding-top: 7px;
  border-top: 1px dashed var(--border);
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 600;
  cursor: pointer;
}
.rooms-compare-check input { width: 16px; min-width: 16px; min-height: 16px; accent-color: var(--brand); }

.rooms-reviews { padding: clamp(16px, 2.4vw, 24px); }
.rooms-reviews__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.rooms-reviews__head h2 { margin: 3px 0 0; font-size: clamp(1.3rem, 2.5vw, 1.8rem); letter-spacing: -0.03em; }
.rooms-rating { display: grid; justify-items: end; gap: 1px; flex: 0 0 auto; }
.rooms-rating strong { font-size: 2rem; line-height: 1; }
.rooms-rating span { color: var(--warning); font-size: 13px; letter-spacing: 0.08em; }
.rooms-rating small { color: var(--muted); font-size: 10px; }
.rooms-reviews__note { margin: 4px 0 10px; color: var(--muted); font-size: 10.5px; line-height: 1.55; }
.rooms-topics { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 10px; }
.rooms-topics .chip { font-size: 9.5px; padding: 2px 8px; }
.rooms-review {
  margin: 0 0 8px;
  padding: 10px 12px;
  border-left: 3px solid var(--brand);
  border-radius: 0 8px 8px 0;
  background: var(--surface-soft);
}
.rooms-review__stars { color: var(--warning); font-size: 11px; letter-spacing: 0.08em; }
.rooms-review p { margin: 3px 0; font-size: 12.5px; line-height: 1.6; }
.rooms-review__by { color: var(--muted); font-size: 10.5px; }
.rooms-reviews__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }

/* ------------------------------------------------- detail kamar publik */
.room-detail { display: grid; gap: 14px; }
.room-detail-topline { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.room-detail-title { margin: 3px 0 4px; font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -0.035em; }
.room-detail-subtitle { margin: 0; color: var(--muted); font-size: 12.5px; line-height: 1.55; }
.room-detail-topline__actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

.room-detail-layout { display: grid; gap: 14px; }
.room-detail-main { display: grid; gap: 12px; }
.room-detail-section { margin: 0; padding: clamp(14px, 2.2vw, 20px); }
.room-detail-section-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.room-detail-section-title { margin: 0; font-size: 16px; letter-spacing: -0.02em; }
.room-detail-section-subtitle { margin: 3px 0 0; color: var(--muted); font-size: 11.5px; line-height: 1.5; }

.room-detail-gallery { display: grid; gap: 8px; }
.room-detail-gallery__stage {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface-soft);
}
.room-detail-gallery__stage img { display: block; width: 100%; height: auto; max-height: 520px; object-fit: contain; }
.room-detail-gallery__stage img[hidden] { display: none; }
.room-detail-gallery__count {
  position: absolute;
  right: 10px;
  top: 10px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(var(--text-rgb), 0.68);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}
.room-detail-gallery__nav {
  position: absolute;
  top: 50%;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--surface);
  color: var(--text);
  font-size: 24px;
  line-height: 1;
  box-shadow: var(--shadow);
  transform: translateY(-50%);
}
.room-detail-gallery__nav.is-prev { left: 10px; }
.room-detail-gallery__nav.is-next { right: 10px; }
.room-detail-gallery__nav[hidden] { display: none; }
.room-detail-gallery__thumbs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}
.room-detail-gallery__thumbs::-webkit-scrollbar { height: 6px; }
.room-detail-gallery__thumbs::-webkit-scrollbar-thumb { border-radius: 999px; background: var(--border); }
.room-detail-gallery__thumbs::-webkit-scrollbar-track { background: transparent; }
.room-detail-gallery__thumb {
  flex: 0 0 auto;
  width: 78px;
  height: 56px;
  padding: 0;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 8px;
  background: var(--surface-soft);
}
.room-detail-gallery__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.room-detail-gallery__thumb.is-active { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand); }
.room-detail-gallery__thumb[hidden] { display: none; }
.room-detail-gallery__empty { margin: 0; padding: 10px 12px; border: 1px dashed var(--border); border-radius: 8px; color: var(--muted); font-size: 12px; }
.room-detail-gallery__empty[hidden] { display: none; }

.room-detail-photo-empty {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px dashed var(--border);
  border-radius: 10px;
  background: var(--surface-soft);
}
.room-detail-photo-empty__mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  border-radius: 12px;
  background: var(--brand);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}
.room-detail-photo-empty strong { display: block; font-size: 14px; }
.room-detail-photo-empty p { margin: 2px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.room-detail-photo-empty .btn { margin-left: auto; }

.room-detail-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; }
.room-detail-fact {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 70px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface-soft);
}
.room-detail-fact__icon { display: grid; place-items: center; width: 34px; height: 34px; flex: 0 0 auto; border-radius: 9px; background: var(--brand-soft); font-size: 17px; }
.room-detail-fact small { display: block; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase; }
.room-detail-fact strong { display: block; font-size: 12.5px; line-height: 1.3; }

.room-detail-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 10px; color: var(--muted); font-size: 11.5px; }
.room-detail-meta strong { color: var(--text); font-weight: 700; }

.room-detail-insight {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 8px;
  margin-top: 12px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface-soft);
}
.room-detail-insight div { display: grid; align-content: start; gap: 2px; min-width: 0; }
.room-detail-insight span { color: var(--muted); font-size: 9.5px; font-weight: 700; line-height: 1.3; text-transform: uppercase; }
.room-detail-insight strong { font-size: 12px; line-height: 1.3; }

.room-detail-caption { margin: 8px 0 0; color: var(--muted); font-size: 11px; line-height: 1.55; }
.room-detail-note {
  margin: 12px 0 0;
  padding: 10px 12px;
  border-left: 3px solid var(--brand);
  border-radius: 0 8px 8px 0;
  background: var(--surface-soft);
  font-size: 12.5px;
  line-height: 1.6;
}

.room-detail-amenities { display: flex; flex-wrap: wrap; gap: 6px; }
.room-detail-amenities span {
  padding: 5px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-strong);
  font-size: 11.5px;
  font-weight: 700;
}

.room-detail-rates { font-size: 12.5px; }
.room-detail-rates .is-number { text-align: right; white-space: nowrap; }
.room-detail-rates tbody tr.is-recommended td { background: var(--surface-soft); }
.room-detail-rates .chip { margin-left: 6px; vertical-align: middle; }

.room-detail-cost { display: grid; gap: 6px; margin: 12px 0 0; padding: 0; }
.room-detail-cost div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 6px; border-bottom: 1px solid var(--border); }
.room-detail-cost dt { color: var(--muted); font-size: 12px; }
.room-detail-cost dd { margin: 0; font-size: 12.5px; font-weight: 700; text-align: right; }
.room-detail-cost .is-total { border-bottom: 0; padding-top: 4px; }
.room-detail-cost .is-total dt,
.room-detail-cost .is-total dd { color: var(--brand-strong); }

.room-detail-promo {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--brand-soft);
}
.room-detail-promo__icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border-radius: 9px;
  background: var(--brand);
  color: #fff;
  font-size: 17px;
}
.room-detail-promo strong { display: block; color: var(--brand-strong); font-size: 13.5px; line-height: 1.35; }
.room-detail-promo p { margin: 2px 0 0; color: var(--muted); font-size: 11.5px; line-height: 1.5; }
.room-detail-book__promo {
  margin: 0 0 12px;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--brand-soft);
  color: var(--brand-strong);
  font-size: 12px;
  font-weight: 800;
}

.room-detail-utility { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 8px; margin: 0; }
.room-detail-utility div { display: grid; gap: 2px; padding: 10px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface-soft); }
.room-detail-utility dt { color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: 0.03em; text-transform: uppercase; }
.room-detail-utility dd { margin: 0; font-size: 12.5px; font-weight: 700; line-height: 1.4; }
.room-detail-utility small { color: var(--muted); font-size: 10.5px; line-height: 1.4; }

.room-detail-steps { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.room-detail-steps li {
  position: relative;
  display: grid;
  gap: 2px;
  padding: 10px 12px 10px 42px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface-soft);
}
.room-detail-steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 10px;
  top: 10px;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}
.room-detail-steps strong { font-size: 12.5px; }
.room-detail-steps span { color: var(--muted); font-size: 11.5px; line-height: 1.5; }

.room-detail-aside { display: grid; align-content: start; gap: 12px; }
.room-detail-book { margin: 0; padding: 16px; border-color: var(--brand-soft); box-shadow: var(--shadow-lg); }
.room-detail-book__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.room-detail-book__head h3 { margin: 2px 0; font-size: 18px; letter-spacing: -0.02em; }
.room-detail-book__head .muted { margin: 0; font-size: 11.5px; }
.room-detail-book__price { margin: 12px 0; padding: 12px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface-soft); }
.room-detail-book__price span { display: block; color: var(--muted); font-size: 10.5px; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase; }
.room-detail-book__price strong { display: inline-block; margin-top: 3px; color: var(--brand-strong); font-size: 26px; line-height: 1.1; letter-spacing: -0.04em; }
.room-detail-book__price small { color: var(--muted); font-size: 11.5px; }
.room-detail-book__facts { display: grid; gap: 6px; margin: 0 0 12px; }
.room-detail-book__facts div { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding-bottom: 6px; border-bottom: 1px solid var(--border); }
.room-detail-book__facts dt { color: var(--muted); font-size: 11.5px; }
.room-detail-book__facts dd { margin: 0; font-size: 12px; font-weight: 700; text-align: right; }
.room-detail-book__actions { display: grid; gap: 7px; }
.room-detail-book__note { margin: 10px 0 0; color: var(--muted); font-size: 10.5px; line-height: 1.55; }

.room-detail-location { margin: 0; padding: 14px; }
.room-detail-location h3 { margin: 0 0 6px; font-size: 14px; }
.room-detail-location p { margin: 0 0 6px; font-size: 12px; line-height: 1.55; }
.room-detail-location__actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }

.room-detail-mobile-cta { display: none; }

@media (min-width: 960px) {
  .room-detail-layout { grid-template-columns: minmax(0, 1.7fr) minmax(300px, 0.9fr); align-items: start; }
  .room-detail-aside { position: sticky; top: calc(var(--appbar-h) + 14px); }
}

@media (max-width: 959px) {
  .room-detail { padding-bottom: 132px; }
  .room-detail-mobile-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 110;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--border);
    background: var(--surface);
    box-shadow: 0 -8px 24px rgba(var(--text-rgb), 0.12);
  }
  .room-detail-mobile-cta div { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px; min-width: 0; }
  .room-detail-mobile-cta span { color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase; }
  .room-detail-mobile-cta strong { color: var(--brand-strong); font-size: 16px; }
  .room-detail-mobile-cta small { color: var(--muted); font-size: 10px; }
  .room-detail-mobile-cta .btn { flex: 0 0 auto; min-height: 44px; }
}

@media (max-width: 600px) {
  .room-detail-section-head { flex-direction: column; }
  .room-detail-facts { grid-template-columns: 1fr 1fr; }
  .room-detail-photo-empty { flex-wrap: wrap; }
  .room-detail-photo-empty .btn { margin-left: 0; }
}

.compare-bar {
  position: fixed;
  right: 50%;
  bottom: 14px;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: min(720px, calc(100% - 28px));
  padding: 9px 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  transform: translateX(50%);
}
.compare-bar[hidden] { display: none; }
.compare-bar__count { color: var(--text); font-size: 12px; font-weight: 700; }
.compare-bar__count strong { color: var(--brand); font-size: 16px; }
.compare-bar__actions { display: flex; gap: 6px; }
.compare-bar__actions .btn { min-height: 40px; padding: 0 12px; font-size: 11px; }

.compare-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(15, 23, 42, 0.55);
}
.compare-backdrop[hidden] { display: none; }

.compare-dialog {
  width: min(920px, calc(100% - 24px));
  max-height: 88vh;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow-lg);
}
.compare-dialog.is-fallback {
  position: fixed;
  inset: 0;
  z-index: 61;
  margin: auto;
}
body.dialog-open { overflow: hidden; }
.compare-dialog::backdrop { background: rgba(15, 23, 42, 0.55); }
.compare-dialog__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--border); }
.compare-dialog__head h2 { margin: 3px 0 0; font-size: 1.5rem; letter-spacing: -0.03em; }
.compare-close {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface-soft);
  color: var(--text);
  font-size: 20px;
  cursor: pointer;
}
.compare-scroll { overflow: auto; max-height: 62vh; }
.compare-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.compare-table th,
.compare-table td { padding: 9px 10px; border-bottom: 1px solid var(--border); border-left: 1px solid var(--border); text-align: left; vertical-align: top; }
.compare-table th:first-child,
.compare-table td:first-child { border-left: 0; color: var(--muted); font-weight: 700; width: 130px; }
.compare-table thead th { position: sticky; top: 0; z-index: 1; background: var(--surface-soft); font-size: 11px; }
.compare-table .btn { min-height: 40px; padding: 0 9px; font-size: 10.5px; }
.compare-note { margin: 0; padding: 10px 18px 14px; color: var(--muted); font-size: 10.5px; line-height: 1.55; }

@media (max-width: 1100px) {
  .rooms-hero {
    grid-template-columns: 1fr;
    grid-template-areas:
      "body"
      "photo"
      "aside";
  }
  .rooms-hero__photo,
  .rooms-hero__aside { max-width: 520px; }
  .rooms-calendar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rooms-forecast { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rooms-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rooms-filters { grid-template-columns: repeat(3, minmax(0, 1fr)) auto auto; }
}

@media (max-width: 760px) {
  .rooms-page { gap: 10px; }
  .rooms-hero { padding: 18px; }
  .rooms-hero__title { font-size: clamp(1.8rem, 8vw, 2.5rem); }
  .rooms-hero__lead { font-size: 12.5px; }
  .rooms-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rooms-hero__aside { padding: 12px; }
  .rooms-hero__rating strong { font-size: 2rem; }
  .rooms-section-head { flex-direction: column; gap: 6px; }
  .rooms-section-head__note,
  .rooms-compare-hint { max-width: none; text-align: left; }
  .rooms-filters { grid-template-columns: 1fr; }
  .rooms-filters .btn { width: 100%; }
  .rooms-calendar { grid-template-columns: 1fr; }
  .rooms-forecast { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rooms-day { min-height: 48px; padding: 4px; }
  .rooms-day__num { font-size: 10.5px; }
  .rooms-day__events span { font-size: 8.5px; }
  .rooms-contract { grid-template-columns: 1fr auto; }
  .rooms-contract__date { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
  .rooms-contract__main { grid-column: 1; }
  .rooms-contract .btn { grid-column: 2; grid-row: 2; }
  .rooms-grid { grid-template-columns: 1fr; }
  .rooms-card__media { aspect-ratio: 16 / 10; }
  .rooms-reviews__head { flex-direction: column; }
  .rooms-rating { justify-items: start; }
  .compare-bar { bottom: 8px; width: calc(100% - 16px); padding: 8px 9px; }
  .compare-bar__count { font-size: 10.5px; }
  .compare-bar__count strong { font-size: 14px; }
  .compare-bar__actions .btn { min-height: 40px; font-size: 10px; }
  .compare-table th:first-child,
  .compare-table td:first-child { width: 92px; }
  body.rooms-page .content { padding-bottom: 118px; }
}

@media (prefers-reduced-motion: reduce) {
  .rooms-card,
  .rooms-card__media img,
  .rooms-contract { transition: none; }
  .rooms-card:hover { transform: none; }
  .rooms-card:hover .rooms-card__media img { transform: none; }
}

@media (max-width: 900px) {
  body.has-sidebar .compare-bar { bottom: 74px; }
  body.has-sidebar.rooms-page .content { padding-bottom: 186px; }
}

/* --------------------------------------------------------- kokpit OWNER */
.owner-dashboard {
  display: grid;
  gap: 16px;
}

.owner-dashboard__intro {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.owner-dashboard__intro h1 {
  margin: 3px 0 5px;
  font-size: clamp(24px, 3vw, 32px);
}

.owner-dashboard__intro p { margin: 0; }
.owner-dashboard__eyebrow { color: var(--muted); font-size: 13px; }

.owner-dashboard__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.owner-stat {
  display: flex;
  min-width: 0;
  min-height: 116px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.owner-stat:hover {
  transform: translateY(-2px);
  border-color: var(--brand);
}

.owner-stat__label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.owner-stat__value {
  overflow-wrap: anywhere;
  color: var(--brand-strong);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.15;
}

.owner-stat__detail { color: var(--muted); font-size: 11px; }

.owner-dashboard__panels,
.owner-dashboard__bottom {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.owner-panel { min-width: 0; margin: 0; }

.owner-panel__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.owner-panel__header h2 { margin: 0 0 3px; }
.owner-panel__header p { margin: 0; }

.owner-panel__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 40px;
  flex: 0 0 auto;
  color: var(--brand-strong);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.owner-panel__link:hover { text-decoration: underline; }

.owner-occupancy {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 144px;
  color: var(--text);
  text-decoration: none;
}

.owner-donut {
  position: relative;
  display: block;
  width: 144px;
  flex: 0 0 144px;
  aspect-ratio: 1;
}

.owner-donut svg { display: block; width: 100%; height: 100%; }
.owner-donut__track,
.owner-donut__value { fill: none; stroke-width: 4; }
.owner-donut__track { stroke: var(--border); }
.owner-donut__value {
  stroke: var(--brand);
  stroke-linecap: round;
  transform: rotate(-90deg);
  transform-origin: 50% 50%;
}

.owner-donut__center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.owner-donut__center strong { color: var(--brand-strong); font-size: 25px; line-height: 1.1; }
.owner-donut__center span { color: var(--muted); font-size: 12px; }

.owner-occupancy__legend {
  display: grid;
  flex: 1;
  gap: 10px;
  min-width: 0;
}

.owner-occupancy__legend > span {
  display: grid;
  grid-template-columns: 12px 1fr auto;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}

.owner-occupancy__legend strong { font-variant-numeric: tabular-nums; }
.owner-occupancy__legend .owner-occupancy__total {
  grid-template-columns: 1fr auto;
  padding-top: 8px;
  border-top: 1px solid var(--border);
  color: var(--muted);
}

.owner-key { width: 10px; height: 10px; border-radius: 50%; }
.owner-key--occupied { background: var(--brand); }
.owner-key--empty { background: var(--border); }

.owner-finance { display: grid; gap: 18px; padding-top: 4px; }
.owner-finance__row { display: grid; gap: 8px; }
.owner-finance__label { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; }
.owner-finance__label span { color: var(--muted); }
.owner-finance__label strong { text-align: right; font-variant-numeric: tabular-nums; }
.owner-finance__bar { display: block; width: 100%; height: 10px; overflow: visible; }
.owner-finance__track { fill: var(--surface-soft); }
.owner-finance__income { fill: var(--brand); }
.owner-finance__expense { fill: var(--warning); }
.owner-finance__net {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  font-size: 13px;
}
.owner-finance__net strong { color: var(--brand-strong); text-align: right; }

.owner-queue { display: grid; }

.owner-queue__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 54px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  text-decoration: none;
}

.owner-queue__item:last-child { border-bottom: 0; }
.owner-queue__item:hover strong { color: var(--brand-strong); text-decoration: underline; }
.owner-queue__item > span:first-child { display: grid; gap: 2px; min-width: 0; }
.owner-queue__item strong { font-size: 13px; }
.owner-queue__item small { color: var(--muted); font-size: 11px; line-height: 1.35; }

.owner-hubs { display: grid; gap: 8px; }

.owner-hub {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 56px;
  padding: 9px 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  text-decoration: none;
}

.owner-hub:hover { border-color: var(--brand); background: var(--brand-soft); }
.owner-hub__copy { display: grid; gap: 2px; min-width: 0; }
.owner-hub__copy strong { font-size: 13px; }
.owner-hub__copy small { color: var(--muted); font-size: 11px; line-height: 1.35; }
.owner-hub__go { flex: 0 0 auto; color: var(--brand); font-weight: 800; }

@media (max-width: 900px) {
  .owner-dashboard__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .owner-dashboard__panels,
  .owner-dashboard__bottom { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
  .owner-dashboard__intro { flex-direction: column; }
  .owner-dashboard__intro .chip { align-self: flex-start; }
  .owner-stat { min-height: 104px; padding: 11px; }
  .owner-occupancy { gap: 12px; }
  .owner-donut { width: 120px; flex-basis: 120px; }
  .owner-donut__center strong { font-size: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .owner-stat { transition: none; }
  .owner-stat:hover { transform: none; }
}
