/* ============ RESET & BASE ============ */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  background: var(--bg-app);
  color: var(--text-on-light);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4, p, figure { margin: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); color: inherit; }
button, input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; margin: 0; padding: 0; }
::selection { background: var(--focus-lime); color: var(--focus-dark); }

#app { min-height: 100%; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ============ APP SHELL ============ */
.screen {
  width: 100%;
  max-width: var(--app-max-width);
  margin: 0 auto;
  min-height: 100vh;
  min-height: 100dvh;
  padding-bottom: calc(var(--bottom-nav-height) + var(--safe-bottom) + var(--space-6));
  position: relative;
}

.screen--dark-top { background: var(--bg-app); }

.hero {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  padding: calc(var(--space-6) + var(--safe-top)) var(--space-5) var(--space-8);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.hero__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-6);
}

.hero__greeting {
  font-size: 1.15rem;
  font-weight: 600;
}

.icon-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-dark);
  background: rgba(245, 247, 246, 0.04);
  color: inherit;
  transition: background .15s ease, transform .15s ease;
}
.icon-btn:active { transform: scale(0.94); }
.icon-btn:hover { background: rgba(245, 247, 246, 0.1); }

.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-display);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

/* Non-hero page header (light background) */
.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: calc(var(--space-5) + var(--safe-top)) var(--space-5) var(--space-4);
}
.page-header h1 {
  font-size: var(--fs-h1);
  font-weight: 700;
}
.page-header--dark {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  padding-bottom: var(--space-6);
}

/* ============ CONTENT SECTIONS ============ */
.content {
  padding: 0 var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.content--overlap {
  margin-top: calc(var(--space-7) * -1);
}

.section-title {
  font-size: var(--fs-h2);
  font-weight: 700;
  color: var(--text-on-light);
}
.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}
.link-action {
  color: var(--brand-teal);
  font-weight: 600;
  font-size: var(--fs-small);
}

/* ============ CARDS ============ */
.card {
  background: var(--surface-card);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-light);
}
.card--dark {
  background: var(--surface-card-dark);
  border: 1px solid var(--border-dark);
  color: var(--text-on-dark);
  box-shadow: none;
}
.card--tight { padding: var(--space-4); }

.goal-card {
  display: flex;
  align-items: center;
  gap: var(--space-5);
}
.goal-card__info { flex: 1; min-width: 0; }
.goal-card__title { font-weight: 700; font-size: 1.1rem; margin-bottom: var(--space-3); }
.goal-card__value { font-size: 1.35rem; font-weight: 800; font-family: var(--font-display); }
.goal-card__value small { font-size: 0.95rem; font-weight: 500; color: var(--text-on-light-muted); }
.goal-card__unit { font-size: var(--fs-small); color: var(--text-on-light-muted); margin-bottom: var(--space-3); }

/* Progress ring */
.ring { position: relative; flex-shrink: 0; }
.ring svg { transform: rotate(-90deg); }
.ring__track { stroke: rgba(38, 124, 102, 0.14); fill: none; }
.ring__fill { stroke: url(#ringGradient); fill: none; stroke-linecap: round; transition: stroke-dashoffset .5s ease; }
.ring__label {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
}
.ring__pct { font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; }
.ring__pct-sub { font-size: 0.68rem; color: var(--text-on-light-muted); font-weight: 600; }

/* Progress bar */
.pbar { height: 8px; border-radius: var(--radius-pill); background: rgba(38, 124, 102, 0.14); overflow: hidden; }
.pbar--dark { background: rgba(245,247,246,0.12); }
.pbar__fill { height: 100%; background: var(--gradient-brand); border-radius: var(--radius-pill); transition: width .4s ease; }
.pbar-row { display: flex; align-items: center; gap: var(--space-3); }
.pbar-row .pbar { flex: 1; }
.pbar-row__pct { font-weight: 700; font-size: var(--fs-small); }

/* Stat grid */
.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
}
.stat-tile {
  background: var(--surface-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.stat-tile__icon {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-pill);
  background: rgba(158, 219, 69, 0.14);
  color: var(--brand-teal);
}
.stat-tile__label { font-size: var(--fs-small); color: var(--text-on-light-muted); font-weight: 500; }
.stat-tile__value { font-size: 1.2rem; font-weight: 700; font-family: var(--font-display); }

/* List items (activity, history) */
.list { display: flex; flex-direction: column; gap: var(--space-3); }
.list-item {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  background: var(--surface-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: var(--space-4);
}
.list-item__icon {
  width: 42px; height: 42px; flex-shrink: 0;
  border-radius: var(--radius-pill);
  display: flex; align-items: center; justify-content: center;
  background: rgba(118, 220, 196, 0.16);
  color: var(--brand-teal);
}
.list-item__body { flex: 1; min-width: 0; }
.list-item__title { font-weight: 600; font-size: 0.98rem; }
.list-item__meta { font-size: var(--fs-small); color: var(--text-on-light-muted); margin-top: 2px; }
.list-item__check {
  width: 30px; height: 30px; flex-shrink: 0; border-radius: var(--radius-pill);
  display: flex; align-items: center; justify-content: center;
  background: rgba(158, 219, 69, 0.18); color: var(--brand-teal);
}
.list-item--link { justify-content: space-between; }
.list-item__chevron { color: var(--quiet-gray); flex-shrink: 0; }
.list-item--button { width: 100%; text-align: left; border: 1px solid var(--border-light); background: var(--surface-card); }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  border: none; border-radius: var(--radius-pill);
  padding: var(--space-4) var(--space-6);
  font-weight: 700; font-size: 1rem;
  min-height: 52px;
  transition: transform .12s ease, filter .15s ease, background .15s ease;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: var(--gradient-brand);
  color: var(--focus-dark);
}
.btn-primary:hover { filter: brightness(1.05); }
.btn-primary:disabled { opacity: .5; pointer-events: none; }
.btn-secondary {
  background: transparent;
  border: 1.5px solid var(--border-dark);
  color: var(--text-on-dark);
}
.btn-secondary--light { border-color: var(--border-light); color: var(--text-on-light); }
.btn-ghost {
  background: transparent; color: var(--brand-teal); min-height: auto; padding: var(--space-2) var(--space-3);
  border: none; border-radius: var(--radius-pill); font-weight: 600; font-size: var(--fs-small);
}
.btn-danger { background: rgba(228, 99, 63, 0.14); color: var(--danger); }
.btn-block { width: 100%; }
.btn-sm { min-height: 40px; padding: var(--space-2) var(--space-4); font-size: var(--fs-small); }

/* Chips */
.chip-row { display: flex; gap: var(--space-2); overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
.chip-row::-webkit-scrollbar { display: none; }
.chip {
  flex-shrink: 0;
  border-radius: var(--radius-pill);
  padding: var(--space-3) var(--space-5);
  background: rgba(245, 247, 246, 0.06);
  border: 1px solid var(--border-dark);
  color: var(--text-on-dark);
  font-weight: 600;
  font-size: var(--fs-small);
  white-space: nowrap;
}
.chip--light {
  background: var(--surface-card);
  border-color: var(--border-light);
  color: var(--text-on-light);
}
.chip.is-active {
  background: var(--focus-lime);
  border-color: var(--focus-lime);
  color: var(--focus-dark);
}

/* Segmented tabs */
.tabs {
  display: flex;
  background: rgba(245, 247, 246, 0.06);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-pill);
  padding: 4px;
  gap: 4px;
}
.tabs--light { background: rgba(38,124,102,0.08); border-color: var(--border-light); }
.tab {
  flex: 1;
  border: none;
  background: transparent;
  padding: var(--space-3) var(--space-2);
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: var(--fs-small);
  color: var(--text-on-dark-muted);
  text-align: center;
  transition: background .15s ease, color .15s ease;
}
.tabs--light .tab { color: var(--text-on-light-muted); }
.tab.is-active {
  background: var(--focus-lime);
  color: var(--focus-dark);
}

/* ============ TIMER ============ */
.timer-card {
  background: var(--bg-dark-surface);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: var(--space-7) var(--space-5);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-5);
  text-align: center;
}
.select-pill {
  background: rgba(245, 247, 246, 0.06);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-pill);
  padding: var(--space-2) var(--space-4);
  color: var(--text-on-dark);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}
.select-pill select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: transparent;
  border: none;
  color: inherit;
  font: inherit;
  font-weight: 700;
  padding: 0 var(--space-5) 0 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F5F7F6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right center;
  background-size: 16px;
}
.select-pill select:focus { outline: none; }
.select-pill select option { color: var(--ink); background: var(--white); }
.timer-display {
  font-family: var(--font-body);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  font-size: clamp(3rem, 2.4rem + 3vw, 4.5rem);
  color: var(--text-on-dark);
  letter-spacing: -0.02em;
  position: relative;
}
.timer-caption { color: var(--text-on-dark-muted); font-size: var(--fs-body); max-width: 26ch; }
.timer-card .btn-primary { width: 100%; max-width: 320px; }

.timer-ring-wrap { position: relative; width: min(72vw, 260px); height: min(72vw, 260px); }
.timer-ring-wrap .timer-display { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: clamp(2.1rem, 1.7rem + 2vw, 3rem); }

/* Ambient sound */
.ambient-row {
  display: flex; align-items: center; gap: var(--space-4);
  padding: var(--space-4) 0;
}
.ambient-row + .ambient-row { border-top: 1px solid var(--border-light); }
.ambient-row__icon { font-size: 1.4rem; width: 36px; text-align: center; }
.ambient-row__body { flex: 1; }
.ambient-row__title { font-size: var(--fs-small); color: var(--text-on-light-muted); }
.ambient-row__name { font-weight: 700; color: var(--brand-teal); }
.play-btn {
  width: 40px; height: 40px; border-radius: var(--radius-pill);
  border: 1px solid var(--border-light);
  display: flex; align-items: center; justify-content: center;
  background: var(--surface-card);
  color: var(--brand-teal);
}
.play-btn.is-playing { background: var(--gradient-brand); color: var(--focus-dark); border-color: transparent; }

/* Salas (rooms) */
.room-card { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3) var(--space-4); }
.room-card__avatars { display: flex; order: 1; }
.room-card > .btn { order: 2; margin-left: auto; }
.room-card__body { order: 3; flex-basis: 100%; }
.avatar {
  width: 38px; height: 38px; border-radius: var(--radius-pill);
  display: flex; align-items: center; justify-content: center;
  background: var(--gradient-brand);
  color: var(--focus-dark);
  font-weight: 800; font-size: 0.85rem;
  border: 2px solid var(--surface-card);
}
.room-card__avatars .avatar:not(:first-child) { margin-left: -12px; }
.room-card__body { flex: 1; min-width: 0; }
.room-card__title { font-weight: 700; }
.room-card__meta { font-size: var(--fs-small); color: var(--text-on-light-muted); }
.room-card__status { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-tiny); color: var(--brand-teal); font-weight: 600; margin-top: 2px; }
.room-card__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--focus-lime); }
.active-room-banner {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--gradient-brand); color: var(--focus-dark);
  border-radius: var(--radius-md); padding: var(--space-4) var(--space-5);
  font-weight: 700;
}

/* Stats chart */
.bar-chart {
  display: flex;
  align-items: flex-end;
  gap: var(--space-2);
  height: 160px;
  padding-top: var(--space-4);
}
.bar-chart__col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: var(--space-2); height: 100%; justify-content: flex-end; }
.bar-chart__track { width: 100%; max-width: 28px; background: rgba(38,124,102,0.1); border-radius: var(--radius-pill); flex: 1; display: flex; align-items: flex-end; overflow: hidden; }
.bar-chart__fill { width: 100%; background: var(--gradient-brand); border-radius: var(--radius-pill); min-height: 6px; transition: height .5s ease; }
.bar-chart__fill.is-today { background: var(--focus-lime); }
.bar-chart__label { font-size: var(--fs-tiny); color: var(--text-on-light-muted); font-weight: 600; }

.side-nav { display: none; }

/* ============ BOTTOM NAV ============ */
.bottom-nav {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: var(--z-nav);
  background: var(--white);
  border-top: 1px solid var(--border-light);
  display: flex;
  justify-content: center;
  padding-bottom: var(--safe-bottom);
}
.bottom-nav__inner {
  width: 100%;
  max-width: var(--app-max-width);
  display: flex;
  height: var(--bottom-nav-height);
}
.nav-item {
  flex: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px;
  background: transparent; border: none;
  color: var(--quiet-gray);
  font-size: var(--fs-tiny);
  font-weight: 600;
}
.nav-item svg { width: 24px; height: 24px; }
.nav-item.is-active { color: var(--brand-teal); }
.nav-item.is-active .nav-item__icon { color: var(--focus-lime); }

/* ============ FORMS ============ */
.field { display: flex; flex-direction: column; gap: var(--space-2); }
.field label { font-weight: 600; font-size: var(--fs-small); color: var(--text-on-light-muted); }
.field input, .field textarea, .field select {
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  background: var(--surface-card);
  color: var(--text-on-light);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: 2px solid var(--focus-lime);
  outline-offset: 1px;
}
.switch { position: relative; width: 46px; height: 26px; flex-shrink: 0; }
.switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.switch__track {
  position: absolute; inset: 0; background: rgba(38,124,102,0.2);
  border-radius: var(--radius-pill); transition: background .2s ease;
}
.switch__thumb {
  position: absolute; top: 3px; left: 3px; width: 20px; height: 20px;
  background: var(--white); border-radius: 50%; transition: transform .2s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.switch input:checked ~ .switch__track { background: var(--gradient-brand); }
.switch input:checked ~ .switch__thumb { transform: translateX(20px); }

/* ============ MODAL / TOAST ============ */
.modal-backdrop {
  position: fixed; inset: 0; background: rgba(7,17,15,0.55);
  display: flex; align-items: flex-end; justify-content: center;
  z-index: var(--z-modal);
  animation: fadeIn .15s ease;
}
.modal-sheet {
  width: 100%; max-width: var(--app-max-width);
  background: var(--white);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  padding: var(--space-6) var(--space-5) calc(var(--space-6) + var(--safe-bottom));
  display: flex; flex-direction: column; gap: var(--space-5);
  animation: slideUp .2s ease;
  max-height: 85vh;
  overflow-y: auto;
}
.modal-sheet__header { display: flex; align-items: center; justify-content: space-between; }
.modal-sheet__title { font-size: var(--fs-h2); font-weight: 700; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { transform: translateY(24px); opacity: .6; } to { transform: translateY(0); opacity: 1; } }

.toast-stack {
  position: fixed;
  bottom: calc(var(--bottom-nav-height) + var(--safe-bottom) + var(--space-4));
  left: 50%; transform: translateX(-50%);
  z-index: var(--z-toast);
  display: flex; flex-direction: column-reverse; gap: var(--space-2);
  width: calc(100% - var(--space-8));
  max-width: calc(var(--app-max-width) - var(--space-8));
}
.toast {
  background: var(--focus-dark); color: var(--text-on-dark);
  border-radius: var(--radius-md); padding: var(--space-4);
  box-shadow: var(--shadow-float);
  display: flex; align-items: center; gap: var(--space-3);
  font-size: var(--fs-small); font-weight: 600;
  animation: slideUp .2s ease;
  border: 1px solid var(--border-dark);
}
@keyframes slideUp { from { transform: translateY(12px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/* ============ MISC ============ */
.empty-state {
  text-align: center;
  padding: var(--space-8) var(--space-5);
  color: var(--text-on-light-muted);
  display: flex; flex-direction: column; align-items: center; gap: var(--space-3);
}
.empty-state__icon { font-size: 2.2rem; }
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  background: rgba(158, 219, 69, 0.16); color: var(--brand-teal);
  border-radius: var(--radius-pill); padding: 3px 10px; font-size: var(--fs-tiny); font-weight: 700;
}
.badge--locked { background: rgba(155,169,164,0.16); color: var(--quiet-gray); }
.level-hex {
  width: 64px; height: 64px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800; font-size: 1.5rem;
  color: var(--focus-dark);
}
.divider { height: 1px; background: var(--border-light); }
.section-note { font-size: var(--fs-tiny); color: var(--text-on-light-muted); }

/* ============ AUTH ============ */
body.is-auth { background: var(--bg-dark); }
body.is-auth .screen { padding-bottom: var(--space-8); }
.auth {
  max-width: 420px;
  margin: 0 auto;
  padding: calc(var(--space-8) + var(--safe-top)) var(--space-5) var(--space-8);
  color: var(--text-on-dark);
  display: flex; flex-direction: column; gap: var(--space-3);
}
.auth__brand {
  display: flex; align-items: center; gap: var(--space-3);
  font-family: var(--font-display); font-weight: 800; font-size: 1.2rem;
  margin-bottom: var(--space-5);
}
.auth__brand img { width: 44px; height: 44px; border-radius: 12px; }
.auth__title { font-size: var(--fs-h1); font-weight: 700; line-height: 1.15; }
.auth__subtitle { color: var(--text-on-dark-muted); margin-bottom: var(--space-4); }
.auth__card { display: flex; flex-direction: column; gap: var(--space-4); color: var(--text-on-light); }
.auth__error {
  background: rgba(228, 99, 63, 0.12); color: #B5432A;
  border-radius: var(--radius-sm); padding: var(--space-3) var(--space-4);
  font-size: var(--fs-small); font-weight: 600;
}
.auth__switch { text-align: center; color: var(--text-on-dark-muted); font-size: var(--fs-small); margin-top: var(--space-3); }
.auth__switch .link-action { background: none; border: 0; padding: 0; color: var(--focus-lime); }
@media (min-width: 720px) {
  .auth { padding-top: 12vh; }
}

/* ============ RESPONSIVE ============ */
@media (min-width: 720px) {
  :root { --bottom-nav-height: 0px; }
  .bottom-nav { display: none; }
  .app-shell { display: flex; min-height: 100vh; }
  .side-nav {
    display: flex; flex-direction: column;
    width: 240px; flex-shrink: 0;
    background: var(--bg-dark); color: var(--text-on-dark);
    padding: var(--space-6) var(--space-4);
    gap: var(--space-2);
    position: sticky; top: 0; height: 100vh;
  }
  .side-nav__brand { display: flex; align-items: center; gap: var(--space-3); padding: 0 var(--space-3) var(--space-6); font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; }
  .side-nav__brand img { width: 34px; height: 34px; border-radius: 10px; }
  .nav-item--side {
    flex-direction: row; justify-content: flex-start; gap: var(--space-3);
    padding: var(--space-3) var(--space-4); border-radius: var(--radius-md);
    color: var(--text-on-dark-muted); font-size: var(--fs-body);
  }
  .nav-item--side.is-active { background: rgba(158,219,69,0.14); color: var(--focus-lime); }
  .nav-item--side.is-active .nav-item__icon { color: var(--focus-lime); }

  .screen { max-width: none; flex: 1; padding-bottom: var(--space-8); }
  .content { max-width: 720px; margin: 0 auto; width: 100%; }
  .hero, .page-header--dark { border-radius: 0; }
}

@media (min-width: 1024px) {
  .content { max-width: 840px; }
  .content.content--grid-desktop {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    align-items: start;
    max-width: var(--app-max-width-desktop);
  }
  .content--grid-desktop > .content__main { display: flex; flex-direction: column; gap: var(--space-6); grid-column: 1; }
  .content--grid-desktop > .content__side { display: flex; flex-direction: column; gap: var(--space-6); grid-column: 2; }
  .stat-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 480px) {
  .room-card__avatars { order: 1; }
  .room-card__body { order: 2; flex-basis: 0; flex-grow: 1; min-width: 140px; }
  .room-card > .btn { order: 3; margin-left: 0; }
}

@media (max-width: 380px) {
  .stat-grid { gap: var(--space-2); }
  .hero__title { font-size: 1.7rem; }
}
