/**
 * Rivoj PMS — System UX layer (loads last)
 * Shell → forms → lists → dashboard/board → mobile
 */

:root {
  --space-1: 0.35rem;
  --space-2: 0.55rem;
  --space-3: 0.85rem;
  --space-4: 1.15rem;
  --space-5: 1.65rem;
  --space-6: 2.25rem;
  --focus-ring: 0 0 0 3px rgba(232, 106, 12, 0.22);
  --content-max: 80rem;
  --ease-spring: cubic-bezier(0.22, 1.15, 0.36, 1);
}

/* ═══════════════════════════════════════
   PAGE ENTER
   ═══════════════════════════════════════ */
.page-content {
  max-width: var(--content-max);
  margin-inline: auto;
}

.page-content:has(> .dash-page),
.page-content:has(> .board-page),
.page-content:has(> .hk-page),
.page-content:has(> .walkin-page),
.page-content:has(> .report-page),
.page-content:has(> .folio-page),
.page-content:has(> .calendar-page),
.page-content:has(> #calendar-page),
.page-content:has(> #board-page) {
  max-width: none;
}

.main {
  padding: 1.25rem 1.65rem 2.75rem;
}

#spa-root .page-content > .dash-page,
#spa-root .page-content > .board-page,
#spa-root .page-content > .app-page,
#spa-root .page-content > .report-page,
#spa-root .page-content > .hk-page,
#spa-root .page-content > .walkin-page,
#spa-root .page-content > .expense-page,
#spa-root .page-content > .folio-page,
#spa-root .page-content > .calendar-page,
#spa-root .page-content > #calendar-page,
#spa-root .page-content > #board-page,
#spa-root > .messages + .page-content {
  animation: uxRise 0.42s var(--ease-spring) both;
}

@keyframes uxRise {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes uxFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ═══════════════════════════════════════
   SHELL — sidebar + topbar (final)
   ═══════════════════════════════════════ */
.sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
}

.sidebar .nav-group {
  gap: 0.18rem;
}

.nav-label {
  margin: 0 0 0.4rem 0.65rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(184, 154, 126, 0.85);
  opacity: 1;
}

.sidebar nav a {
  padding: 0.55rem 0.75rem;
  border-radius: 11px;
  opacity: 0.72;
  transition:
    background 0.18s ease,
    opacity 0.18s ease,
    transform 0.18s var(--ease-out),
    box-shadow 0.18s ease;
}

.sidebar nav a:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.07);
  transform: translateX(2px);
}

.sidebar nav a.is-active {
  opacity: 1;
  background: linear-gradient(135deg, rgba(232, 106, 12, 0.5), rgba(192, 74, 0, 0.32));
  box-shadow:
    inset 0 1px 0 rgba(255, 200, 140, 0.22),
    0 4px 14px rgba(232, 106, 12, 0.22);
}

.sidebar nav a.is-active::before {
  opacity: 1;
  color: #fff;
}

.sidebar-footer {
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 246, 236, 0.08);
}

.sidebar-footer .muted,
.sidebar-property-label {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  color: var(--sidebar-muted);
}

.tenant-switch button,
.property-switch button,
.logout-form button {
  width: 100%;
  margin: 0.2rem 0;
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--sidebar-ink);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.tenant-switch button:hover,
.property-switch button:hover,
.logout-form button:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 178, 92, 0.25);
  transform: none;
  box-shadow: none;
}

.tenant-switch button.active,
.property-switch button.active {
  background: rgba(232, 106, 12, 0.28);
  border-color: rgba(255, 178, 92, 0.35);
  color: #fff;
}

.logout-form button {
  margin-top: 0.55rem;
  text-align: center;
  color: rgba(255, 200, 180, 0.9);
}

.topbar {
  position: relative;
  z-index: 200;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.15rem;
  padding: 0.7rem 1.05rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px) saturate(1.35);
  -webkit-backdrop-filter: blur(18px) saturate(1.35);
  box-shadow: var(--shadow-card);
}

.topbar-home {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 11px;
  background: rgba(232, 106, 12, 0.08);
  color: var(--accent-deep);
  font-size: 1.1rem;
  transition: background 0.15s ease, color 0.15s ease;
}

.topbar-home:hover {
  background: rgba(232, 106, 12, 0.16);
  color: var(--accent-deep);
}

.role-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.plan-pill {
  border-radius: 999px;
  font-size: 0.7rem;
}

.notify-dropdown {
  border-radius: 16px;
  padding: 0.4rem;
  box-shadow: var(--shadow-soft);
  min-width: min(22rem, 88vw);
}

.notify-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.7rem 0.8rem;
  margin: 0.15rem 0;
  border-radius: 12px;
  border-left: 3px solid transparent;
  color: inherit;
  transition: background 0.15s ease;
}

.notify-item:hover {
  background: rgba(232, 106, 12, 0.06);
  color: inherit;
}

.notify-item strong {
  font-size: 0.88rem;
}

.notify-item span {
  font-size: 0.8rem;
  color: var(--muted);
}

.notify-empty {
  margin: 0.65rem 0.75rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.lang-switch select {
  min-height: 2.1rem;
  padding: 0.35rem 1.75rem 0.35rem 0.55rem;
  border-radius: 10px;
  font-size: 0.82rem;
  width: auto;
}

/* ═══════════════════════════════════════
   FOCUS
   ═══════════════════════════════════════ */
:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

.btn:focus-visible,
a.btn:focus-visible,
.btn-ghost:focus-visible,
a.btn-ghost:focus-visible {
  box-shadow: var(--focus-ring), 0 8px 18px rgba(232, 106, 12, 0.18);
}

/* ═══════════════════════════════════════
   MESSAGES
   ═══════════════════════════════════════ */
.messages {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.messages li {
  margin: 0;
  padding: 0.75rem 1rem;
  border-radius: 14px;
  border: 1px solid var(--line-soft);
  background: linear-gradient(165deg, #fff 0%, #faf7f3 100%);
  box-shadow: var(--shadow-card);
  font-size: 0.9rem;
  font-weight: 500;
  animation: uxRise 0.32s var(--ease-out) both;
}

.messages li.success,
.messages li.debug {
  border-color: rgba(47, 138, 91, 0.25);
  background: linear-gradient(165deg, #f3faf6, #fff);
  color: #1e5c3a;
}

.messages li.error {
  border-color: rgba(179, 58, 46, 0.28);
  background: linear-gradient(165deg, #fff5f3, #fff);
  color: var(--danger);
}

.messages li.warning {
  border-color: rgba(196, 122, 18, 0.3);
  background: linear-gradient(165deg, #fff8ef, #fff);
  color: #8a5510;
}

.messages li.info {
  border-color: rgba(61, 107, 138, 0.25);
  background: linear-gradient(165deg, #f3f8fb, #fff);
  color: #2a4f66;
}

/* ═══════════════════════════════════════
   CONTROLS
   ═══════════════════════════════════════ */
.main input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="file"]),
.main select,
.main textarea,
.modal-dialog input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
.modal-dialog select,
.modal-dialog textarea {
  width: 100%;
  min-height: 2.55rem;
  padding: 0.55rem 0.8rem;
  font: inherit;
  font-size: 0.92rem;
  color: var(--ink);
  border: 1px solid rgba(26, 20, 16, 0.12);
  border-radius: 12px;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.main textarea,
.modal-dialog textarea {
  min-height: 5.5rem;
  resize: vertical;
}

.main input:focus,
.main select:focus,
.main textarea:focus,
.modal-dialog input:focus,
.modal-dialog select:focus,
.modal-dialog textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: var(--focus-ring);
}

.main label,
.modal-dialog label,
.form-field > label,
.filter-field-label {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.main select,
.modal-dialog select,
.filter-panel-grid .filter-field select,
.search-form select,
.lang-switch select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236b635c' d='M1.1 1.2 6 6.1l4.9-4.9 1.1 1.1L6 8.3 0 2.3z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 0.7rem;
  cursor: pointer;
}

.check-label,
.form-field.field-check label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
}

.main form p > label,
.stack-form p > label {
  display: block;
  margin-bottom: 0.3rem;
}

.main form p {
  margin: 0 0 0.85rem;
}

.search-form {
  gap: 0.5rem;
  margin-bottom: 1.1rem;
  padding: 0.75rem 0.9rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
}

.search-form input,
.search-form select {
  min-height: 2.4rem;
  border-radius: 11px;
}

.search-form .btn,
.search-form button[type="submit"] {
  min-height: 2.4rem;
  flex: 0 0 auto;
}

/* ═══════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════ */
.btn,
a.btn {
  min-height: 2.55rem;
  border-radius: 12px;
  letter-spacing: 0.01em;
}

.main button[type="submit"]:not(.btn-ghost):not(.btn-sm),
.modal-dialog button[type="submit"]:not(.btn-ghost) {
  min-height: 2.55rem;
  border-radius: 12px;
}

.btn-sm,
a.btn-sm,
.btn.btn-sm,
a.btn.btn-sm {
  min-height: 2.1rem;
  padding: 0.4rem 0.75rem !important;
  font-size: 0.8rem !important;
  border-radius: 10px;
}

.btn-ghost,
a.btn-ghost {
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.55);
}

.row-actions,
.expense-actions,
.detail-actions {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}

.row-actions form,
.expense-actions form {
  display: inline;
  margin: 0;
}

/* ═══════════════════════════════════════
   HEROES + PANELS
   ═══════════════════════════════════════ */
.app-hero.page-head,
.page-head.app-hero,
.detail-hero {
  margin-bottom: 1.2rem;
  padding: 1.4rem 1.55rem;
}

.app-hero-sub,
.page-subtitle {
  max-width: 40rem;
  line-height: 1.45;
}

.page-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.1rem;
  padding: 0.65rem 0.8rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(8px);
}

.section-panel,
.section-card {
  padding: 1.15rem 1.25rem;
  margin-bottom: 1.15rem;
  border-radius: 18px;
}

.section-panel > h2:first-child,
.section-panel .dash-section-head {
  margin-bottom: 0.85rem;
}

/* ═══════════════════════════════════════
   LISTS
   ═══════════════════════════════════════ */
.entity-list,
.main .list.entity-list {
  gap: 0.55rem;
}

.entity-row,
.main .list li.guest-chip,
.entity-list .entity-row {
  padding: 0.95rem 1.05rem;
  border-radius: 16px;
  align-items: center;
}

.entity-title {
  font-size: 1.02rem;
}

.entity-meta {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(26, 20, 16, 0.06);
  color: var(--ink-soft);
  border: 1px solid rgba(26, 20, 16, 0.06);
}

.status-pill.status-checked_out,
.status-pill.status-ready,
.badge-ok {
  background: rgba(47, 138, 91, 0.12);
  color: #1e5c3a;
  border-color: rgba(47, 138, 91, 0.18);
}

.status-pill.status-inquiry,
.status-pill.status-dirty {
  background: rgba(196, 122, 18, 0.12);
  color: #8a5510;
  border-color: rgba(196, 122, 18, 0.2);
}

.badge-blacklist {
  background: rgba(179, 58, 46, 0.12);
  color: var(--danger);
}

.badge-vip {
  background: rgba(232, 106, 12, 0.12);
  color: var(--accent-deep);
}

.empty-state {
  padding: 1.75rem 1.35rem;
  border-radius: 18px;
  border: 1px dashed rgba(26, 20, 16, 0.14);
  background:
    radial-gradient(ellipse 80% 60% at 0% 0%, rgba(232, 106, 12, 0.06), transparent 55%),
    rgba(255, 255, 255, 0.55);
}

.empty-state-title {
  font-size: 1.15rem;
}

/* ═══════════════════════════════════════
   TABLES
   ═══════════════════════════════════════ */
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-lg);
}

table.data-table tbody tr,
table.data tbody tr {
  transition: background 0.15s ease;
}

table.data-table tbody tr:hover,
table.data tbody tr:hover {
  background: rgba(232, 106, 12, 0.04);
}

table.data-table td.num,
table.data td.num,
th.num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.money {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* ═══════════════════════════════════════
   MODALS
   ═══════════════════════════════════════ */
.modal-overlay {
  backdrop-filter: blur(6px);
  animation: uxFade 0.2s ease both;
}

.modal-dialog {
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-soft);
  animation: uxRise 0.28s var(--ease-spring) both;
  max-height: min(88vh, 720px);
  overflow: auto;
}

.quick-add-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--line-soft);
}

.quick-add-form {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

/* ═══════════════════════════════════════
   DASHBOARD
   ═══════════════════════════════════════ */
.dash-hero-premium .dash-hero-main {
  min-height: 210px;
  padding: 1.55rem 1.65rem;
  border-radius: 22px;
}

.dash-quick-actions .btn,
.dash-quick-actions .btn-ghost {
  min-height: 2.4rem;
}

.dash-stats .stat,
.stats-grid .stat {
  border-radius: 18px;
  padding: 1rem 1.05rem;
  transition: transform 0.22s var(--ease-out), box-shadow 0.22s ease;
}

@media (hover: hover) {
  .dash-stats .stat:hover,
  .stats-grid .stat:hover,
  .dash-pnl-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
  }
}

.dash-stat-icon {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 13px;
}

.ops-chip {
  border-radius: 16px;
  padding: 0.95rem 1rem;
  background: linear-gradient(165deg, #fff, #faf7f3);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-card);
  transition: transform 0.18s var(--ease-out), border-color 0.18s ease;
}

.ops-chip:hover {
  transform: translateY(-2px);
  color: inherit;
}

.ops-chip strong {
  font-size: 1.35rem;
}

.dash-pnl-item {
  padding: 1rem 1.1rem;
  border-radius: 18px;
  background: linear-gradient(165deg, #fff, #faf7f3);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-card);
  transition: transform 0.22s var(--ease-out), box-shadow 0.22s ease;
}

.dash-pnl-item span {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.dash-pnl-item strong {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.dash-pnl-net {
  background: linear-gradient(165deg, #fff5eb, #ffe8d4);
  border-color: rgba(232, 106, 12, 0.2);
}

/* ═══════════════════════════════════════
   BOARD
   ═══════════════════════════════════════ */
.board-hero {
  border-radius: 22px;
  padding: 1.45rem 1.55rem;
}

.board-stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.board-stat {
  padding: 0.85rem 0.95rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-card);
  text-align: center;
}

.board-stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.board-stat-lbl {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.board-stat.is-vacant .board-stat-num { color: var(--ok); }
.board-stat.is-occupied .board-stat-num { color: var(--accent-deep); }
.board-stat.is-dirty .board-stat-num { color: var(--warn); }
.board-stat.is-ooo .board-stat-num { color: var(--muted); }

.board-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding: 0.65rem 0.8rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.75);
}

.board-page .room-tile {
  min-height: 124px;
  border-radius: 16px;
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s ease;
}

@media (hover: hover) {
  .board-page .room-tile:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
  }
}

.room-tile .tile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-top: 0.45rem;
}

.room-tile .btn-sm,
.room-tile .btn-ghost-tile {
  min-height: 1.85rem;
  padding: 0.28rem 0.55rem !important;
  font-size: 0.72rem !important;
  border-radius: 8px;
}

/* ═══════════════════════════════════════
   FILTERS / REPORTS
   ═══════════════════════════════════════ */
.filter-panel,
.filter-panel-card {
  border-radius: 18px;
  padding: 1rem 1.1rem;
  margin-bottom: 1.15rem;
}

.filter-panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: flex-end;
}

.page-meta-bar {
  margin: -0.35rem 0 1.1rem;
  font-size: 0.88rem;
  line-height: 1.45;
}

.form-block-follow,
.app-form.is-embedded.form-block-follow,
.stack-form.is-embedded.form-block-follow {
  margin-top: 1rem;
  max-width: none;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line-soft);
}

.folio-summary-premium .folio-stat,
.folio-summary .stat {
  border-radius: 16px;
  padding: 0.95rem 1rem;
  background: linear-gradient(165deg, #fff, #faf7f3);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-card);
}

.folio-summary-premium .folio-stat.warn,
.folio-summary .stat.warn {
  background: linear-gradient(165deg, #fff8ef, #fff);
  border-color: rgba(196, 122, 18, 0.25);
}

.empty-row {
  padding: 0.85rem 0.25rem !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.expense-filter.panel {
  margin-bottom: 1.15rem;
  padding: 1rem 1.1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-card);
}

.expense-filter-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.expense-filter-title {
  margin: 0;
  font-size: 1.15rem;
}

.expense-filter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  gap: 0.75rem;
}

.expense-field span,
.expense-field > span {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.hk-hero {
  margin-bottom: 1.15rem;
  padding: 1.4rem 1.55rem;
  border-radius: 22px;
}

.hk-stats {
  grid-template-columns: repeat(auto-fit, minmax(7rem, 1fr));
}

/* ═══════════════════════════════════════
   WALK-IN
   ═══════════════════════════════════════ */
.walkin-hero {
  border-radius: 22px;
  padding: 1.4rem 1.55rem;
  background:
    linear-gradient(135deg, rgba(24, 18, 14, 0.96) 0%, rgba(42, 28, 18, 0.92) 55%, rgba(176, 68, 8, 0.72) 100%);
  color: #fff;
  box-shadow: 0 20px 48px rgba(20, 14, 10, 0.18);
}

.walkin-hero h1 {
  color: #fff;
  -webkit-text-fill-color: #fff;
}

.walkin-hero .eyebrow {
  color: rgba(255, 200, 140, 0.9);
}

.walkin-hero-sub {
  color: rgba(255, 246, 236, 0.72);
}

.walkin-hero .btn-ghost {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.walkin-hero .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.walkin-steps {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 1.15rem;
  padding: 0.65rem 0.85rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.8);
  overflow-x: auto;
}

.walkin-step {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
}

.walkin-step.is-active {
  color: var(--ink);
}

.walkin-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  background: rgba(26, 20, 16, 0.08);
  color: var(--muted);
}

.walkin-step.is-active .walkin-step-num {
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #fff;
}

.walkin-step-line {
  flex: 1 1 1.5rem;
  height: 1px;
  min-width: 1rem;
  background: rgba(26, 20, 16, 0.12);
}

.walkin-panel {
  border-radius: 18px;
  padding: 1.15rem 1.2rem;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-card);
}

.walkin-panel-icon {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 11px;
  background: linear-gradient(135deg, rgba(232, 106, 12, 0.14), rgba(255, 143, 31, 0.08));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.walkin-panel-icon::before {
  content: "";
  width: 1.05rem;
  height: 1.05rem;
  background: var(--accent-deep);
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
}

.walkin-panel-icon.is-guest::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='black' stroke-width='1.8'%3E%3Cpath d='M20 21v-2a4 4 0 00-4-4H8a4 4 0 00-4 4v2M12 11a4 4 0 100-8 4 4 0 000 8z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='black' stroke-width='1.8'%3E%3Cpath d='M20 21v-2a4 4 0 00-4-4H8a4 4 0 00-4 4v2M12 11a4 4 0 100-8 4 4 0 000 8z'/%3E%3C/svg%3E");
}

.walkin-panel-icon.is-extra::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='black' stroke-width='1.8'%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M12 1v2M12 21v2M4.2 4.2l1.4 1.4M18.4 18.4l1.4 1.4M1 12h2M21 12h2M4.2 19.8l1.4-1.4M18.4 5.6l1.4-1.4'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='black' stroke-width='1.8'%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M12 1v2M12 21v2M4.2 4.2l1.4 1.4M18.4 18.4l1.4 1.4M1 12h2M21 12h2M4.2 19.8l1.4-1.4M18.4 5.6l1.4-1.4'/%3E%3C/svg%3E");
}

.walkin-panel-icon.is-room::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='black' stroke-width='1.8'%3E%3Cpath d='M3 21h18M5 21V8l7-4 7 4v13M9 21v-6h6v6'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='black' stroke-width='1.8'%3E%3Cpath d='M3 21h18M5 21V8l7-4 7 4v13M9 21v-6h6v6'/%3E%3C/svg%3E");
}

.walkin-empty-icon {
  width: 3rem;
  height: 3rem;
  margin-bottom: 0.65rem;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(232, 106, 12, 0.18), rgba(255, 143, 31, 0.1));
}

.walkin-empty-icon::before {
  content: "";
  display: block;
  width: 1.4rem;
  height: 1.4rem;
  margin: 0.8rem auto;
  background: var(--accent-deep);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='black' stroke-width='1.8'%3E%3Cpath d='M3 21h18M5 21V7l7-4 7 4v14M9 21v-6h6v6'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='black' stroke-width='1.8'%3E%3Cpath d='M3 21h18M5 21V7l7-4 7 4v14M9 21v-6h6v6'/%3E%3C/svg%3E") center / contain no-repeat;
}

.walkin-room-card {
  border-radius: 14px;
  transition: transform 0.18s var(--ease-out), box-shadow 0.18s ease, border-color 0.18s ease;
}

.walkin-room-card.is-selectable:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.walkin-room-card.is-selected {
  border-color: var(--accent);
  box-shadow: var(--focus-ring), var(--shadow-card);
}

.walkin-submit-premium {
  border-radius: 16px;
  padding: 1rem 1.15rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  background: linear-gradient(165deg, #fff, #faf7f3);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-card);
}

.walkin-submit-btn {
  min-width: 12rem;
}

.walkin-available-count {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--accent-deep);
  margin-right: 0.25rem;
}

/* ═══════════════════════════════════════
   CALENDAR
   ═══════════════════════════════════════ */
.calendar-hero {
  border-radius: 22px;
  padding: 1.4rem 1.55rem;
}

.calendar-stats {
  margin-bottom: 1rem;
}

.calendar-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding: 0.65rem 0.8rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.75);
}

.calendar-wrap-premium {
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-card);
  padding: 0.35rem;
}

.calendar-table-premium th.cal-day-col {
  padding: 0.55rem 0.2rem;
}

.calendar-nav-btn {
  display: inline-flex;
  align-items: center;
  min-height: 2.4rem;
  padding: 0.4rem 0.85rem;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
}

.calendar-nav-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

/* ═══════════════════════════════════════
   FOLIO + DETAIL
   ═══════════════════════════════════════ */
.folio-hero {
  border-radius: 22px;
  margin-bottom: 1.15rem;
}

.folio-balance-card {
  border-radius: 18px;
  padding: 1rem 1.15rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
}

.folio-balance-card.has-balance {
  background: rgba(255, 178, 92, 0.16);
  border-color: rgba(255, 178, 92, 0.35);
}

.folio-guide {
  gap: 0.65rem;
  margin-bottom: 1.15rem;
  padding: 0.85rem 1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.folio-mini-form {
  border-radius: 16px;
  padding: 1rem;
  background: linear-gradient(165deg, #fff, #faf7f3);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-card);
}

.folio-mini-title {
  margin: 0 0 0.75rem;
  font-size: 1rem;
}

.kv-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.kv-list li {
  display: grid;
  grid-template-columns: minmax(7rem, 10rem) 1fr;
  gap: 0.75rem;
  padding: 0.65rem 0.75rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(26, 20, 16, 0.05);
}

.kv-list li > span:first-child {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  align-self: center;
}

.alert-banner {
  margin: 0 0 1.1rem;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(179, 58, 46, 0.25);
  background: linear-gradient(165deg, #fff5f3, #fff);
  color: var(--danger);
}

.alert-banner.blacklist a {
  color: var(--accent-deep);
  font-weight: 600;
}

.detail-actions.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0 1.5rem;
}

/* ═══════════════════════════════════════
   REPORTS + CASH
   ═══════════════════════════════════════ */
.report-hero {
  border-radius: 22px;
  margin-bottom: 1.15rem;
}

.report-filter {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-card);
}

.filter-panel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr));
  gap: 0.75rem;
  align-items: end;
}

.pnl-summary-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.15rem;
}

.pnl-charts-grid,
.flash-charts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1rem;
}

.chart-wrap {
  border-radius: 16px;
  padding: 1rem;
  background: linear-gradient(165deg, #fff, #faf7f3);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-card);
}

.cash-shift-live {
  border-radius: 18px;
}

.cash-shift-status-pill {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(47, 138, 91, 0.12);
  color: #1e5c3a;
  border: 1px solid rgba(47, 138, 91, 0.2);
}

.cash-shift-expected {
  border-radius: 16px;
  padding: 0.9rem 1.05rem;
  background: linear-gradient(165deg, #fff5eb, #ffe8d4);
  border: 1px solid rgba(232, 106, 12, 0.2);
}

.field-row {
  display: flex;
  gap: 0.45rem;
  align-items: center;
}

.field-row > :first-child {
  flex: 1;
  min-width: 0;
}

.payment-modal {
  width: min(28rem, 94vw);
}

.payment-modal-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.45rem;
  margin: 0 0 0.85rem;
  padding: 0.7rem 0.85rem;
  border-radius: 12px;
  background: rgba(232, 106, 12, 0.06);
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.payment-modal-form {
  box-shadow: none;
  border: 0;
  padding: 0;
  background: transparent;
}

.payment-modal-form .btn {
  width: 100%;
  margin-top: 0.75rem;
}

.payment-modal-foot {
  margin: 0.85rem 0 0;
  text-align: center;
  font-size: 0.82rem;
}

.btn-warn,
a.btn-warn,
button.btn-warn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.55rem;
  padding: 0.55rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(196, 122, 18, 0.35);
  background: linear-gradient(165deg, #fff8ef, #ffe8c8);
  color: #8a5510;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-warn:hover,
a.btn-warn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(196, 122, 18, 0.18);
  color: #8a5510;
}

.form-errors {
  margin: 0 0 0.85rem;
  padding: 0.7rem 0.85rem;
  border-radius: 12px;
  background: rgba(179, 58, 46, 0.08);
  border: 1px solid rgba(179, 58, 46, 0.2);
  color: var(--danger);
  font-size: 0.88rem;
}

/* —— Group booking rooms —— */
.group-rooms-block {
  margin: 1.25rem 0 0;
  padding: 1.1rem 1.15rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.85);
}

.group-rooms-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 0.75rem;
  margin-bottom: 0.95rem;
}

.group-rooms-head h2 {
  margin: 0;
}

.group-room-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.group-room-card {
  margin: 0;
  padding: 1rem 1.05rem;
  border-radius: 16px;
  border: 1px solid rgba(26, 20, 16, 0.08);
  background: linear-gradient(165deg, #fff, #faf7f3);
  box-shadow: var(--shadow-card);
  min-width: 0;
}

.group-room-card.is-deleted {
  display: none;
}

.group-room-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.group-room-legend {
  margin: 0;
  padding: 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
}

.group-room-fields {
  margin: 0;
}

#group-room-add span {
  font-size: 1.15rem;
  line-height: 1;
  margin-right: 0.15rem;
}

/* —— Room type presets —— */
.room-preset-seed {
  margin: 0 0 1.1rem;
  padding: 1rem 1.1rem;
  border-radius: 16px;
  background:
    radial-gradient(ellipse 70% 80% at 0% 0%, rgba(232, 106, 12, 0.08), transparent 55%),
    linear-gradient(165deg, #fff, #faf7f3);
  border: 1px solid rgba(232, 106, 12, 0.14);
  box-shadow: var(--shadow-card);
}

.room-preset-seed-copy strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.room-preset-seed-copy p {
  margin: 0.25rem 0 0.75rem;
  font-size: 0.88rem;
  max-width: 40rem;
}

.room-preset-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.9rem;
}

.room-preset-chip {
  display: inline-flex;
  flex-direction: column;
  gap: 0.1rem;
  padding: 0.55rem 0.75rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(26, 20, 16, 0.08);
  font: inherit;
  text-align: left;
}

.room-preset-chip strong {
  font-size: 0.88rem;
}

.room-preset-chip small {
  font-size: 0.72rem;
  color: var(--muted);
}

.room-preset-chip.is-button {
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.room-preset-chip.is-button:hover,
.room-preset-chip.is-selected {
  border-color: rgba(232, 106, 12, 0.4);
  box-shadow: var(--focus-ring);
}

.room-preset-chip.is-selected {
  background: linear-gradient(165deg, #fff5eb, #fff);
}

.room-preset-seed-form {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.75rem;
}

.room-preset-base {
  flex: 1 1 12rem;
  margin: 0;
}

.room-preset-base span {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.room-preset-rates {
  margin: 0 0 0.35rem;
}

.room-type-code {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  padding: 0.1rem 0.35rem;
  border-radius: 6px;
  background: rgba(26, 20, 16, 0.06);
}

.room-preset-hint {
  margin: -0.35rem 0 0.85rem;
}

.room-preset-picker .room-preset-chips {
  margin-bottom: 0;
}

.transfer-page .transfer-current {
  margin-bottom: 1rem;
  padding: 0.95rem 1.05rem;
  border-radius: 14px;
  background: linear-gradient(165deg, #fff5eb, #fff);
  border: 1px solid rgba(232, 106, 12, 0.18);
}

.transfer-current-main {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin: 0.2rem 0 0.35rem;
  font-size: 1.15rem;
}

.transfer-hint {
  margin: 0 0 1rem;
  max-width: 40rem;
  line-height: 1.45;
}

/* ═══════════════════════════════════════
   AUTH
   ═══════════════════════════════════════ */
body.auth .auth-card-premium {
  border-radius: 0;
}

body.auth .auth-card-inner {
  animation: uxRise 0.5s var(--ease-spring) both;
}

body.auth .auth-submit {
  min-height: 2.85rem;
  border-radius: 14px;
  letter-spacing: 0.02em;
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s ease;
}

body.auth .auth-submit:hover {
  transform: translateY(-1px);
}

body.auth .auth-field-wrap {
  border-radius: 12px;
}

body.auth .auth-hero-content {
  animation: uxRise 0.55s var(--ease-spring) 0.05s both;
}

/* ═══════════════════════════════════════
   SPA PROGRESS + SCROLL
   ═══════════════════════════════════════ */
.spa-progress {
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--brass-soft), var(--accent));
  background-size: 200% 100%;
  animation: spaBar 1s linear infinite;
}

@keyframes spaBar {
  from { background-position: 100% 0; }
  to { background-position: -100% 0; }
}

.sidebar,
.table-scroll,
.notify-dropdown,
.modal-dialog {
  scrollbar-width: thin;
  scrollbar-color: rgba(26, 20, 16, 0.2) transparent;
}

/* ═══════════════════════════════════════
   MOBILE
   ═══════════════════════════════════════ */
@media (max-width: 1100px) {
  .board-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .main {
    padding: 0.85rem 0.9rem 2rem;
  }

  .page-toolbar,
  .board-toolbar,
  .calendar-toolbar {
    justify-content: flex-start;
  }

  .dash-pnl-row,
  .pnl-summary-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
  }

  .entity-row,
  .main .list li.guest-chip {
    flex-wrap: wrap;
  }

  .board-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .kv-list li {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .walkin-submit-premium {
    flex-direction: column;
    align-items: stretch;
  }

  .walkin-submit-btn {
    width: 100%;
  }
}

@media (max-width: 720px) {
  .app-hero.page-head,
  .page-head.app-hero,
  .detail-hero,
  .board-hero,
  .dash-hero,
  .walkin-hero,
  .calendar-hero,
  .folio-hero,
  .report-hero,
  .hk-hero {
    flex-direction: column;
    align-items: stretch;
  }

  .app-hero-actions,
  .page-actions,
  .detail-actions,
  .dash-quick-actions,
  .folio-hero-actions,
  .report-hero-actions,
  .walkin-hero-actions {
    width: 100%;
  }

  .app-hero-actions .btn,
  .app-hero-actions .btn-ghost,
  .page-actions .btn,
  .page-actions .btn-ghost,
  .dash-quick-actions .btn,
  .dash-quick-actions .btn-ghost,
  .folio-hero-actions .btn,
  .folio-hero-actions .btn-ghost,
  .report-hero-actions .btn,
  .report-hero-actions .btn-ghost,
  .walkin-hero-actions .btn-ghost {
    flex: 1 1 auto;
    justify-content: center;
  }

  .dash-pnl-item strong,
  .board-stat-num {
    font-size: 1.25rem;
  }

  .board-date-nav,
  .calendar-date-nav {
    width: 100%;
    justify-content: space-between;
  }

  .pnl-summary-row {
    grid-template-columns: 1fr 1fr;
  }

  .topbar {
    border-radius: 14px;
    padding: 0.6rem 0.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  #spa-root .page-content > .dash-page,
  #spa-root .page-content > .board-page,
  #spa-root .page-content > .app-page,
  #spa-root .page-content > .report-page,
  #spa-root .page-content > .hk-page,
  #spa-root .page-content > .walkin-page,
  #spa-root .page-content > .expense-page,
  .messages li,
  .modal-overlay,
  .modal-dialog,
  .spa-progress,
  body.auth .auth-card-inner,
  body.auth .auth-hero-content,
  section {
    animation: none !important;
  }

  .stats-grid .stat:hover,
  .dash-stats .stat:hover,
  .dash-pnl-item:hover,
  .ops-chip:hover,
  .btn:hover,
  a.btn:hover,
  body.auth .auth-submit:hover,
  .board-page .room-tile:hover,
  .sidebar nav a:hover {
    transform: none;
  }
}

/* E-mehmon / checkbox rows on booking forms */
.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  cursor: pointer;
}
.checkbox-row input[type="checkbox"] {
  margin-top: 0.2rem;
  width: 1.05rem;
  height: 1.05rem;
  accent-color: var(--accent, #0f766e);
}
.emehmon-box {
  margin: 1rem 0;
  padding: 1rem 1.1rem;
  border: 1px solid color-mix(in srgb, var(--border, #e5e7eb) 80%, transparent);
  border-radius: 12px;
  background: color-mix(in srgb, var(--surface, #fff) 92%, #0f766e 8%);
}
.emehmon-box legend {
  font-weight: 650;
  padding: 0 0.35rem;
}
