:root {
  --aurora-primary: #0f766e;
  --aurora-primary-dark: #115e59;
  --aurora-navy-950: #06152f;
  --aurora-navy-900: #08204a;
  --aurora-blue: #2563eb;
  --aurora-green: #16a34a;
  --aurora-amber: #d97706;
  --aurora-red: #dc2626;
  --aurora-purple: #6d5bd0;
  --text-strong: #111827;
  --text-body: #374151;
  --text-muted: #6b7280;
  --border-soft: #e5e7eb;
  --surface: #ffffff;
  --surface-soft: #f8fafc;
  --surface-tint: #eef6ff;
  --shadow-sm: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 18px 44px rgba(15, 23, 42, 0.12);
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --sidebar-width: 248px;
  --topbar-height: 72px;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text-body);
  background: var(--surface-soft);
  font-family: Inter, system-ui, "Segoe UI", Arial, sans-serif;
  letter-spacing: 0;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  border: 0;
}

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

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

.app-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: var(--sidebar-width) minmax(0, 1fr);
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px 12px 16px;
  color: #e5efff;
  background: linear-gradient(180deg, var(--aurora-navy-950), var(--aurora-navy-900));
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 10px 12px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-lg);
  color: #b8f7ff;
  background: rgba(37, 99, 235, 0.2);
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
}

.brand strong {
  display: block;
  color: #ffffff;
  font-size: 20px;
  line-height: 1;
  text-transform: uppercase;
}

.brand span {
  display: block;
  margin-top: 3px;
  color: #a9c7f5;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.nav-list {
  display: grid;
  gap: 4px;
}

.nav-caption {
  margin: 0 10px 6px;
  color: #8fb1e4;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.nav-item {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  color: #d9e7ff;
  font-size: 14px;
  font-weight: 650;
}

.nav-item:hover,
.nav-item.is-active {
  color: #ffffff;
  background: #1463f3;
}

.nav-item-admin {
  min-height: 38px;
  color: #c3d6f6;
  font-size: 13px;
}

.nav-divider {
  height: 1px;
  margin: 2px 10px;
  background: rgba(255, 255, 255, 0.1);
}

.nav-icon,
.top-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  display: inline-grid;
  place-items: center;
  border: 1.8px solid currentColor;
  border-radius: var(--radius-sm);
  opacity: 0.95;
}

.icon-home,
.icon-users,
.icon-user-cog {
  border-radius: 50%;
}

.icon-map {
  border-style: double;
}

.icon-calendar::before {
  content: "";
  width: 10px;
  height: 2px;
  background: currentColor;
  box-shadow: 0 5px 0 currentColor;
}

.icon-desk::before {
  content: "";
  width: 8px;
  height: 8px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
}

.icon-cash::before,
.icon-archive::before {
  content: "";
  width: 9px;
  height: 5px;
  border: 2px solid currentColor;
}

.icon-cart::before {
  content: "";
  width: 9px;
  height: 6px;
  border-bottom: 2px solid currentColor;
  border-left: 2px solid currentColor;
}

.icon-spark::before {
  content: "";
  width: 6px;
  height: 6px;
  background: currentColor;
  transform: rotate(45deg);
}

.icon-tool::before {
  content: "";
  width: 11px;
  height: 2px;
  background: currentColor;
  transform: rotate(-35deg);
}

.icon-chart::before {
  content: "";
  width: 11px;
  height: 9px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
}

.icon-gear::before {
  content: "";
  width: 6px;
  height: 6px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.icon-bell,
.icon-help {
  border-radius: 50%;
}

.property-card {
  margin-top: auto;
  padding: 16px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  background: rgba(20, 99, 243, 0.12);
  text-align: center;
}

.property-icon {
  width: 38px;
  height: 28px;
  display: block;
  margin: 0 auto 10px;
  border: 2px solid #4cc9f0;
  border-radius: var(--radius-sm);
}

.property-card strong,
.property-card small {
  display: block;
}

.property-card strong {
  color: #ffffff;
  font-size: 15px;
}

.property-card small {
  margin: 6px 0 12px;
  color: #bad1f3;
  font-size: 11px;
}

.ghost-button {
  width: 100%;
  min-height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-md);
  color: #ffffff;
  background: rgba(2, 8, 23, 0.26);
  font-size: 12px;
  font-weight: 750;
}

.workspace {
  min-width: 0;
  display: grid;
  grid-template-rows: var(--topbar-height) minmax(0, 1fr);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 24px;
  border-bottom: 1px solid var(--border-soft);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
}

.icon-button {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  color: #172554;
  background: var(--surface);
}

.icon-button:disabled,
.search-box input:disabled {
  cursor: default;
  opacity: 1;
}

.menu-lines,
.menu-lines::before,
.menu-lines::after {
  width: 16px;
  height: 2px;
  display: block;
  border-radius: 999px;
  background: currentColor;
}

.menu-lines {
  position: relative;
}

.menu-lines::before,
.menu-lines::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-lines::before {
  top: -5px;
}

.menu-lines::after {
  top: 5px;
}

.search-box {
  flex: 1;
  max-width: 460px;
}

.search-box input {
  width: 100%;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  color: var(--text-muted);
  background: var(--surface);
  outline: 0;
}

.topbar-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.has-badge {
  position: relative;
}

.has-badge::after {
  content: "5";
  position: absolute;
  top: -5px;
  right: -4px;
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: var(--aurora-red);
  font-size: 10px;
  font-weight: 800;
}

.user-menu {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: 8px;
}

.avatar {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: linear-gradient(135deg, var(--aurora-primary), var(--aurora-blue));
  font-size: 12px;
  font-weight: 800;
}

.user-menu strong,
.user-menu span {
  display: block;
}

.user-menu strong {
  color: #172554;
  font-size: 13px;
}

.user-menu span {
  color: var(--text-muted);
  font-size: 11px;
}

.main-content {
  min-width: 0;
  padding: 24px 28px 32px;
}

.page-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.eyebrow {
  margin: 0 0 6px;
  color: var(--aurora-primary);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 8px;
  color: #172554;
  font-size: 28px;
  line-height: 1.12;
}

h2 {
  margin-bottom: 4px;
  color: #172554;
  font-size: 17px;
  line-height: 1.2;
}

p {
  color: var(--text-muted);
}

.date-control {
  display: flex;
  align-items: center;
  gap: 10px;
}

.date-control > div {
  min-width: 132px;
  min-height: 44px;
  display: grid;
  place-items: center;
  padding: 4px 12px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.date-control strong,
.date-control span {
  display: block;
}

.date-control strong {
  color: #172554;
  font-size: 13px;
}

.date-control span {
  color: var(--text-muted);
  font-size: 11px;
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.metric-card,
.panel {
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.metric-card {
  min-height: 132px;
  position: relative;
  padding: 18px 18px 16px;
  overflow: hidden;
}

.metric-card::after {
  content: "";
  position: absolute;
  inset: auto -20px -30px auto;
  width: 120px;
  height: 80px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.08;
}

.metric-card small {
  display: block;
  margin: 4px 0 8px;
  color: #334155;
  font-size: 12px;
  font-weight: 750;
}

.metric-card strong {
  display: block;
  color: #172554;
  font-size: 32px;
  line-height: 1;
}

.metric-card p {
  margin: 10px 0 0;
  font-size: 12px;
}

.metric-icon {
  width: 34px;
  height: 34px;
  display: inline-block;
  border-radius: var(--radius-lg);
  background: currentColor;
}

.metric-blue {
  color: var(--aurora-blue);
}

.metric-green {
  color: var(--aurora-green);
}

.metric-red {
  color: var(--aurora-red);
}

.metric-amber {
  color: var(--aurora-amber);
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 18px;
}

.panel {
  padding: 18px;
}

.panel-large {
  min-height: 420px;
}

.panel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  color: #075985;
  background: #e0f2fe;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.status-muted {
  color: #475569;
  background: #f1f5f9;
}

.visual-placeholder {
  display: grid;
  gap: 16px;
}

.placeholder-block,
.placeholder-row span,
.placeholder-grid span {
  border-radius: var(--radius-lg);
  background: linear-gradient(90deg, #eef6ff, #f8fafc);
}

.block-wide {
  height: 72px;
}

.placeholder-row {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 12px;
}

.placeholder-row span {
  height: 48px;
}

.placeholder-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.placeholder-grid span {
  height: 108px;
  border: 1px solid #dbeafe;
}

.side-stack {
  display: grid;
  align-content: start;
  gap: 18px;
}

.activity-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 12px 0 0;
  list-style: none;
  color: var(--text-body);
  font-size: 13px;
}

.dot {
  width: 9px;
  height: 9px;
  display: inline-block;
  margin-right: 8px;
  border-radius: 50%;
}

.dot-blue {
  background: var(--aurora-blue);
}

.dot-green {
  background: var(--aurora-green);
}

.dot-amber {
  background: var(--aurora-amber);
}

.muted {
  color: var(--text-muted);
}

.primary-button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border-radius: var(--radius-md);
  color: #ffffff;
  background: #1463f3;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 12px 24px rgba(20, 99, 243, 0.22);
}

.primary-button::before {
  content: "+";
  font-size: 20px;
  line-height: 1;
}

.primary-button:disabled {
  cursor: default;
  opacity: 1;
}

.dashboard-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.dashboard-heading h1 {
  font-size: 27px;
}

.dashboard-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dashboard-kpis {
  display: grid;
  grid-template-columns: repeat(6, minmax(132px, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.kpi-card {
  min-height: 126px;
  position: relative;
  padding: 15px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.kpi-card::after {
  content: "";
  position: absolute;
  right: -34px;
  bottom: -40px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.08;
}

.kpi-icon {
  width: 38px;
  height: 38px;
  display: inline-block;
  margin-bottom: 10px;
  border-radius: var(--radius-lg);
  background: currentColor;
}

.kpi-card small {
  display: block;
  min-height: 30px;
  color: #334155;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
}

.kpi-card strong {
  display: block;
  margin-top: 2px;
  color: #172554;
  font-size: 28px;
  line-height: 1;
}

.kpi-card p {
  margin: 8px 0 8px;
  font-size: 11px;
}

.kpi-bar {
  height: 4px;
  border-radius: 999px;
  background: #e8eef7;
  overflow: hidden;
}

.kpi-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: currentColor;
}

.kpi-blue {
  color: var(--aurora-blue);
}

.kpi-green {
  color: var(--aurora-green);
}

.kpi-red {
  color: #ef4444;
}

.kpi-cyan {
  color: #0ea5e9;
}

.kpi-purple {
  color: var(--aurora-purple);
}

.kpi-amber {
  color: var(--aurora-amber);
}

.dashboard-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 16px;
  align-items: start;
}

.dashboard-main-column,
.dashboard-side-column {
  min-width: 0;
}

.room-map-panel {
  min-height: 610px;
}

.room-map-header {
  align-items: center;
}

.room-map-header h2 {
  margin-bottom: 10px;
}

.room-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
}

.room-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #334155;
  font-size: 12px;
  font-weight: 700;
}

.legend-dot {
  width: 10px;
  height: 10px;
  display: inline-block;
  border-radius: 50%;
  background: currentColor;
}

.room-map-tools {
  display: flex;
  align-items: center;
  gap: 8px;
}

.filter-button {
  min-height: 38px;
  min-width: 130px;
  padding: 0 12px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  color: #172554;
  background: var(--surface);
  font-size: 12px;
  font-weight: 800;
}

.icon-button.is-selected {
  color: #ffffff;
  border-color: #1463f3;
  background: #1463f3;
}

.floors-stack {
  display: grid;
  gap: 20px;
}

.floor-group h3 {
  margin: 0 0 10px;
  color: #172554;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.rooms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(106px, 1fr));
  gap: 14px;
}

.room-card {
  min-height: 108px;
  display: flex;
  flex-direction: column;
  padding: 12px;
  border: 1px solid currentColor;
  border-radius: var(--radius-lg);
  background: color-mix(in srgb, currentColor 7%, #ffffff);
}

.room-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.room-card strong {
  color: currentColor;
  font-size: 19px;
  line-height: 1;
}

.room-card span,
.room-card small {
  color: #475569;
  font-size: 11px;
  line-height: 1.25;
}

.room-card b {
  margin: 5px 0 3px;
  color: currentColor;
  font-size: 12px;
}

.room-state-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: currentColor;
}

.room-card .room-state-dot {
  color: inherit;
}

.room-free {
  color: #059669;
}

.room-occupied {
  color: #ef4444;
}

.room-reserved {
  color: #2563eb;
}

.room-cleaning {
  color: #f59e0b;
}

.room-maintenance {
  color: #64748b;
}

.room-blocked {
  color: #991b1b;
}

.quick-actions {
  display: grid;
  grid-template-columns: repeat(6, minmax(104px, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.quick-action {
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  color: #172554;
  background: var(--surface);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.15;
  box-shadow: var(--shadow-sm);
}

.quick-action span {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  border: 2px solid currentColor;
  border-radius: var(--radius-sm);
}

.quick-blue {
  color: var(--aurora-blue);
}

.quick-green {
  color: var(--aurora-green);
}

.quick-purple {
  color: var(--aurora-purple);
}

.quick-amber {
  color: var(--aurora-amber);
}

.quick-red {
  color: var(--aurora-red);
}

.side-panel {
  padding: 16px;
}

.compact-header {
  align-items: center;
  margin-bottom: 12px;
}

.compact-header h2 {
  margin: 0;
  font-size: 16px;
}

.today-activity,
.alert-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.today-activity li {
  display: grid;
  grid-template-columns: 44px minmax(72px, 0.8fr) minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  min-height: 36px;
  color: #334155;
  font-size: 12px;
}

.today-activity time {
  color: #172554;
  font-weight: 800;
}

.today-activity span {
  color: currentColor;
  font-weight: 800;
}

.today-activity strong {
  color: #334155;
  font-size: 12px;
}

.today-activity small {
  grid-column: 3;
  color: var(--text-muted);
  font-size: 11px;
}

.activity-blue {
  color: var(--aurora-blue);
}

.activity-purple {
  color: var(--aurora-purple);
}

.activity-green {
  color: var(--aurora-green);
}

.alert-list li {
  min-height: 34px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #334155;
  font-size: 12px;
  font-weight: 700;
}

.alert-list span {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  border-radius: var(--radius-sm);
  background: currentColor;
  opacity: 0.16;
}

.alert-amber {
  color: var(--aurora-amber);
}

.alert-blue {
  color: var(--aurora-blue);
}

.alert-red {
  color: var(--aurora-red);
}

.alert-slate {
  color: #64748b;
}

.revenue-panel > small {
  display: block;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
}

.revenue-panel > strong {
  display: block;
  margin: 6px 0 14px;
  color: #172554;
  font-size: 28px;
  line-height: 1;
}

.revenue-chart {
  height: 74px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: end;
  gap: 7px;
  padding: 10px 0 0;
  border-bottom: 1px solid #dbeafe;
}

.revenue-chart span {
  display: block;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(180deg, #60a5fa, #2563eb);
}

.revenue-chart span:nth-child(1) {
  height: 38%;
}

.revenue-chart span:nth-child(2) {
  height: 52%;
}

.revenue-chart span:nth-child(3) {
  height: 47%;
}

.revenue-chart span:nth-child(4) {
  height: 76%;
}

.revenue-chart span:nth-child(5) {
  height: 68%;
}

.revenue-chart span:nth-child(6) {
  height: 88%;
}

.payment-split {
  display: grid;
  gap: 7px;
  margin-top: 12px;
}

.payment-split span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--aurora-blue);
  font-size: 12px;
  font-weight: 750;
}

.payment-split b {
  color: #475569;
}

.simple-data-panel {
  margin-bottom: 18px;
}

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

.simple-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  color: #334155;
  font-size: 13px;
}

.simple-table th,
.simple-table td {
  padding: 11px 12px;
  border-bottom: 1px solid var(--border-soft);
  text-align: left;
  white-space: nowrap;
}

.simple-table th {
  color: #172554;
  background: #f8fafc;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.simple-table td:first-child {
  font-weight: 800;
}

.table-note {
  margin: 12px 0 0;
  font-size: 12px;
}

.message-stack {
  display: grid;
  gap: 10px;
  margin: 0 0 16px;
}

.message {
  margin: 0;
  padding: 12px 14px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  background: var(--surface);
  color: #172554;
  font-size: 13px;
  font-weight: 750;
  box-shadow: var(--shadow-sm);
}

.message-success {
  border-color: #bbf7d0;
  background: #f0fdf4;
  color: #166534;
}

.message-error {
  border-color: #fecaca;
  background: #fef2f2;
  color: #991b1b;
}

.frontdesk-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 18px;
  align-items: start;
}

.frontdesk-panel-main {
  min-height: 420px;
}

.frontdesk-panel .panel-header p {
  margin: 4px 0 0;
}

.frontdesk-table {
  min-width: 900px;
}

.inline-action-form {
  display: grid;
  grid-template-columns: minmax(130px, 1fr) 92px;
  gap: 8px;
  align-items: center;
}

.inline-action-form input,
.reservation-row input,
.walkin-form input,
.walkin-form select,
.maintenance-form input,
.maintenance-form select,
.cashbox-form input,
.cashbox-form select,
.consumption-form input,
.consumption-form select {
  width: 100%;
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  color: var(--text-body);
  background: #ffffff;
  outline: 0;
}

.action-button {
  min-height: 34px;
  padding: 0 11px;
  border-radius: var(--radius-md);
  color: #ffffff;
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
}

.action-green {
  background: var(--aurora-green);
}

.action-purple {
  background: var(--aurora-purple);
}

.action-amber {
  background: var(--aurora-amber);
}

.frontdesk-side-stack,
.reservation-stack {
  display: grid;
  gap: 12px;
}

.reservation-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 9px;
  padding: 12px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  background: #f8fafc;
}

.reservation-row strong,
.reservation-row span {
  display: block;
}

.reservation-row strong {
  color: #172554;
  font-size: 13px;
}

.reservation-row span {
  margin-top: 3px;
  color: var(--text-muted);
  font-size: 12px;
}

.frontdesk-empty {
  max-width: 680px;
}

.walkin-form {
  display: grid;
  gap: 10px;
}

.walkin-form label {
  display: grid;
  gap: 5px;
}

.walkin-form label span {
  color: #334155;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

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

.walkin-submit {
  width: 100%;
  min-height: 38px;
}

.housekeeping-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.housekeeping-panel {
  min-height: 360px;
}

.task-stack {
  display: grid;
  gap: 12px;
}

.task-card {
  display: grid;
  gap: 10px;
  padding: 13px;
  border: 1px solid var(--border-soft);
  border-left: 4px solid currentColor;
  border-radius: var(--radius-lg);
  background: #f8fafc;
}

.task-card strong,
.task-card span,
.task-card small {
  display: block;
}

.task-card strong {
  color: #172554;
  font-size: 14px;
}

.task-card span,
.task-card small {
  margin-top: 4px;
  color: var(--text-muted);
  font-size: 12px;
}

.task-pending {
  color: var(--aurora-amber);
}

.task-progress {
  color: var(--aurora-blue);
}

.task-completed {
  color: var(--aurora-green);
}

.task-actions {
  display: grid;
  gap: 8px;
}

.task-actions-wide {
  grid-template-columns: minmax(0, 1fr) auto;
}

.task-actions select,
.task-actions input {
  width: 100%;
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  color: var(--text-body);
  background: #ffffff;
  outline: 0;
}

.housekeeping-empty {
  max-width: 680px;
}

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

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

.maintenance-form,
.maintenance-form label {
  display: grid;
  gap: 10px;
}

.maintenance-form label span {
  color: #334155;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

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

.maintenance-submit {
  width: 100%;
  min-height: 38px;
}

.task-maintenance {
  color: #64748b;
}

.maintenance-empty {
  max-width: 680px;
}

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

.cashbox-forms-stack,
.cashbox-form {
  display: grid;
  gap: 12px;
}

.cashbox-form label {
  display: grid;
  gap: 6px;
}

.cashbox-form label span {
  color: #334155;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

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

.cashbox-submit {
  width: 100%;
  min-height: 38px;
}

.cashbox-kpis {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.cashbox-kpi {
  min-height: 92px;
  display: grid;
  align-content: center;
  gap: 7px;
  padding: 18px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.cashbox-kpi span {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.cashbox-kpi strong {
  color: #172554;
  font-size: 24px;
  line-height: 1;
}

.cashbox-table {
  min-width: 820px;
}

.cashbox-check {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cashbox-check input {
  width: 16px;
  min-height: 16px;
}

.cashbox-check span {
  text-transform: none;
}

.cashbox-balance-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 18px;
}

.cashbox-empty {
  max-width: 680px;
}

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

.consumption-main {
  display: grid;
  gap: 18px;
}

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

.consumption-form label {
  display: grid;
  gap: 6px;
}

.consumption-form label span {
  color: #334155;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

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

.consumption-submit {
  width: 100%;
  min-height: 38px;
}

.consumption-table {
  min-width: 900px;
}

.consumption-empty {
  max-width: 680px;
}

.reports-heading .date-control {
  display: grid;
  grid-template-columns: repeat(2, minmax(128px, 1fr));
}

.reports-heading-actions {
  display: grid;
  justify-items: end;
  gap: 10px;
}

.reports-empty {
  max-width: 680px;
}

.reports-filter-panel {
  margin-bottom: 22px;
}

.reports-export-strip {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: -8px 0 22px;
  padding: 10px 12px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.reports-export-strip span {
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.reports-export-strip a {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border: 1px solid #dbeafe;
  border-radius: var(--radius-md);
  color: #075985;
  background: #f0f9ff;
  font-size: 12px;
  font-weight: 800;
}

.reports-filter-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(160px, 1fr)) auto;
  gap: 12px;
  align-items: end;
}

.reports-filter-form label {
  display: grid;
  gap: 6px;
}

.reports-filter-form label span {
  color: #334155;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.reports-filter-form input,
.reports-filter-form select {
  width: 100%;
  min-height: 40px;
  padding: 0 10px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  color: var(--text-body);
  background: var(--surface);
}

.reports-section {
  display: grid;
  gap: 18px;
}

.reports-section + .reports-section {
  margin-top: 26px;
}

.reports-cash-section {
  padding-top: 24px;
  border-top: 1px solid var(--border-soft);
}

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

.reports-section-title h2 {
  font-size: 21px;
}

.reports-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.reports-kpi-card {
  min-height: 112px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 18px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.reports-kpi-card span {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.reports-kpi-card strong {
  color: #172554;
  font-size: 25px;
  line-height: 1;
}

.reports-kpi-card small {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
}

.reports-cash-kpi {
  border-color: #dbeafe;
  background: #f8fbff;
}

.reports-grid-two {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.reports-panel {
  min-width: 0;
}

.reports-status-list {
  display: grid;
  gap: 10px;
}

.reports-status-row {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 12px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  background: var(--surface-soft);
}

.reports-status-row span {
  color: #334155;
  font-size: 13px;
  font-weight: 800;
}

.reports-status-row strong {
  color: #172554;
  font-size: 18px;
}

.reports-chart-panel {
  min-height: 188px;
}

.reports-chart-slots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.reports-chart-slots div {
  min-height: 110px;
  display: grid;
  place-items: center;
  border: 1px dashed #bfdbfe;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #f8fbff, #f1f5f9);
}

.reports-chart-slots span {
  color: #64748b;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.reports-table {
  min-width: 860px;
}

.login-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: linear-gradient(135deg, var(--aurora-navy-950), #0f766e);
}

.login-panel {
  width: min(420px, 100%);
  display: grid;
  gap: 22px;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-md);
}

.login-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.login-brand strong,
.login-brand span {
  display: block;
}

.login-brand strong {
  color: #172554;
  font-size: 20px;
  font-weight: 900;
  text-transform: uppercase;
}

.login-brand span {
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.login-heading h1 {
  margin-bottom: 8px;
}

.login-form {
  display: grid;
  gap: 14px;
}

.login-form label {
  display: grid;
  gap: 6px;
}

.login-form label span {
  color: #334155;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.login-form input {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  color: var(--text-body);
  background: var(--surface);
}

.login-submit {
  width: 100%;
}

.users-panel + .users-panel {
  margin-top: 18px;
}

.users-table {
  min-width: 920px;
}

.audit-table {
  min-width: 980px;
}

.permission-panel {
  max-width: 680px;
}

.admin-summary-heading .date-control {
  display: grid;
  grid-template-columns: repeat(2, minmax(128px, 1fr));
}

.admin-summary-filter {
  grid-template-columns: repeat(3, minmax(150px, 1fr)) auto;
}

.admin-kpi-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.admin-kpi-card {
  min-height: 118px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 16px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.admin-kpi-card span {
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-kpi-card strong {
  color: #172554;
  font-size: 24px;
  line-height: 1;
}

.admin-kpi-card small {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
}

.admin-summary-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 18px;
  align-items: start;
}

.admin-summary-main {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.admin-summary-side {
  display: grid;
  gap: 18px;
}

.admin-widget {
  min-width: 0;
}

.admin-status-bars,
.admin-cash-grid {
  display: grid;
  gap: 10px;
}

.admin-status-row,
.admin-cash-grid div {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  background: var(--surface-soft);
}

.admin-status-row span,
.admin-cash-grid span {
  color: #334155;
  font-size: 13px;
  font-weight: 800;
}

.admin-status-row strong,
.admin-cash-grid strong {
  color: #172554;
  font-size: 15px;
}

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

.admin-link-grid a {
  min-height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid #dbeafe;
  border-radius: var(--radius-md);
  color: #075985;
  background: #f0f9ff;
  font-size: 13px;
  font-weight: 850;
}

.admin-activity {
  max-height: 420px;
  overflow: auto;
}

@media (max-width: 1100px) {
  .app-shell {
    grid-template-columns: 88px minmax(0, 1fr);
  }

  .sidebar {
    padding-inline: 10px;
  }

  .brand div:last-child,
  .nav-item span:last-child,
  .nav-caption,
  .property-card strong,
  .property-card small,
  .ghost-button {
    display: none;
  }

  .brand {
    justify-content: center;
    padding-inline: 0;
  }

  .nav-item {
    justify-content: center;
    padding-inline: 0;
  }

  .property-card {
    padding: 12px 8px;
  }

  .dashboard-kpis {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .dashboard-side-column {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }

  .rooms-grid {
    grid-template-columns: repeat(3, minmax(112px, 1fr));
  }

  .quick-actions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .topbar {
    gap: 10px;
    padding-inline: 16px;
  }

  .topbar-actions .icon-button,
  .user-menu div:last-child {
    display: none;
  }

  .main-content {
    padding: 20px 16px 28px;
  }

  .page-heading,
  .content-grid,
  .frontdesk-grid,
  .housekeeping-grid,
  .maintenance-layout,
  .maintenance-grid,
  .cashbox-layout,
  .consumption-layout,
  .reports-grid-two,
  .admin-summary-layout,
  .admin-summary-main {
    grid-template-columns: 1fr;
  }

  .reports-filter-form,
  .reports-kpi-grid,
  .admin-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-heading {
    display: grid;
  }

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

  .dashboard-heading,
  .dashboard-actions {
    display: grid;
  }

  .reports-heading-actions {
    justify-items: start;
  }

  .reports-export-strip {
    flex-wrap: wrap;
  }

  .dashboard-side-column {
    grid-template-columns: 1fr;
  }

  .room-map-header,
  .room-map-tools {
    display: grid;
    justify-items: start;
  }
}

@media (max-width: 640px) {
  .app-shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
    height: auto;
  }

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

  .nav-item span:last-child,
  .nav-caption,
  .property-card strong,
  .property-card small,
  .ghost-button {
    display: inline;
  }

  .brand div:last-child {
    display: block;
  }

  .topbar {
    position: static;
  }

  .reports-heading-actions {
    justify-items: stretch;
  }

  .status-grid,
  .placeholder-row,
  .placeholder-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-kpis,
  .rooms-grid,
  .quick-actions,
  .walkin-grid-two,
  .task-actions-wide,
  .maintenance-grid-two,
  .cashbox-grid-two,
  .cashbox-kpis,
  .consumption-grid-two,
  .reports-heading .date-control,
  .admin-summary-heading .date-control,
  .admin-summary-filter,
  .reports-filter-form,
  .reports-kpi-grid,
  .admin-kpi-grid,
  .reports-chart-slots {
    grid-template-columns: 1fr;
  }

  .today-activity li {
    grid-template-columns: 42px 1fr;
  }

  .today-activity strong,
  .today-activity small {
    grid-column: 2;
  }
}
