/* ============================================
   HOCS - Hospitality Operations Control System
   Master Stylesheet
   ============================================ */

/* CSS Custom Properties */
:root {
  /* Primary Palette */
  --primary: #1a3a5c;
  --primary-light: #2a5a8c;
  --primary-dark: #0f2740;
  --primary-50: rgba(26, 58, 92, 0.05);
  --primary-100: rgba(26, 58, 92, 0.1);
  --primary-200: rgba(26, 58, 92, 0.2);

  /* Accent */
  --accent: #c8a45e;
  --accent-light: #dfc07a;
  --accent-dark: #a88840;

  /* Neutrals */
  --white: #ffffff;
  --gray-50: #f8f9fb;
  --gray-100: #f1f3f6;
  --gray-200: #e4e8ed;
  --gray-300: #d1d7e0;
  --gray-400: #a0aab8;
  --gray-500: #6b7a8d;
  --gray-600: #4a5568;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;

  /* Status Colors */
  --success: #16a34a;
  --success-light: #dcfce7;
  --warning: #f59e0b;
  --warning-light: #fef3c7;
  --danger: #dc2626;
  --danger-light: #fee2e2;
  --info: #2563eb;
  --info-light: #dbeafe;

  /* Shadows — warm-tinted for premium feel */
  --shadow-xs: 0 1px 2px rgba(15,39,64,0.05);
  --shadow-sm: 0 1px 3px rgba(15,39,64,0.08), 0 1px 2px rgba(15,39,64,0.04);
  --shadow-md: 0 4px 8px -1px rgba(15,39,64,0.09), 0 2px 4px -1px rgba(15,39,64,0.05);
  --shadow-lg: 0 12px 20px -4px rgba(15,39,64,0.10), 0 4px 8px -2px rgba(15,39,64,0.04);
  --shadow-xl: 0 24px 48px -8px rgba(15,39,64,0.12), 0 12px 16px -4px rgba(15,39,64,0.04);
  --shadow-card: 0 1px 3px rgba(15,39,64,0.06), 0 0 0 1px rgba(15,39,64,0.03);
  --shadow-card-hover: 0 8px 24px -4px rgba(15,39,64,0.12), 0 0 0 1px rgba(15,39,64,0.06);

  /* Radius */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Typography */
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Spacing */
  --sidebar-width: 260px;
  --sidebar-collapsed: 72px;
  --topbar-height: 64px;
  --app-header-height: 60px;

  /* Transitions */
  --transition-fast: 0.15s cubic-bezier(0.22, 1, 0.36, 1);
  --transition-base: 0.25s cubic-bezier(0.22, 1, 0.36, 1);
  --transition-slow: 0.4s cubic-bezier(0.22, 1, 0.36, 1);

  /* Z-index system */
  --z-sidebar: 100;
  --z-header: 50;
  --z-modal: 1000;
  --z-drawer: 1001;
  --z-notification: 1100;
  --z-toast: 9999;
}

/* ============================================
   Reset & Base
   ============================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 15px;
}

body {
  font-family: var(--font-main);
  font-size: 0.933rem;
  line-height: 1.65;
  color: var(--gray-700);
  background: var(--white);
  overflow-x: hidden;
  letter-spacing: -0.01em;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

img { max-width: 100%; height: auto; }

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  outline: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

table {
  border-collapse: collapse;
  width: 100%;
}

ul, ol { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.25;
  color: var(--gray-900);
  letter-spacing: -0.02em;
}

h1 { font-size: 2.5rem; font-weight: 800; }
h2 { font-size: 2rem; font-weight: 800; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.2rem; }
h5 { font-size: 1.05rem; }
h6 { font-size: 0.95rem; }

/* ============================================
   PUBLIC SITE NAVIGATION
   ============================================ */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow var(--transition-base);
}
.site-nav.scrolled {
  box-shadow: var(--shadow-md);
}
.site-nav .nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  height: 72px;
}
.site-nav .nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--primary);
}
.site-nav .nav-logo img {
  height: 42px;
  width: auto;
}
.site-nav .nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.site-nav .nav-links a {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--gray-600);
  transition: all var(--transition-fast);
}
.site-nav .nav-links a:hover {
  color: var(--primary);
  background: var(--primary-50);
}
.site-nav .nav-links a.active {
  color: var(--primary);
  background: var(--primary-100);
}
.site-nav .nav-links .nav-cta {
  background: var(--primary);
  color: var(--white);
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-weight: 600;
  margin-left: 8px;
}
.site-nav .nav-links .nav-cta:hover {
  background: var(--primary-light);
  color: var(--white);
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  padding: 140px 24px 80px;
  background: linear-gradient(135deg, #f0f4f8 0%, #e8edf5 50%, #f5f0e8 100%);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,164,94,0.08) 0%, transparent 70%);
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -100px; left: -100px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26,58,92,0.05) 0%, transparent 70%);
}
.hero .hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-content .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 24px;
  box-shadow: var(--shadow-xs);
}
.hero-content .hero-badge .badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
.hero-content h1 {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  color: var(--primary-dark);
}
.hero-content h1 span {
  color: var(--accent);
}
.hero-content p {
  font-size: 1.15rem;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 520px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero-visual {
  position: relative;
}
.hero-visual .dashboard-preview {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: 20px;
  border: 1px solid var(--gray-200);
  position: relative;
}
.hero-visual .dashboard-preview .preview-topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--gray-100);
}
.hero-visual .dashboard-preview .preview-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.hero-visual .dashboard-preview .preview-dot.red { background: #ff5f57; }
.hero-visual .dashboard-preview .preview-dot.yellow { background: #ffbd2e; }
.hero-visual .dashboard-preview .preview-dot.green { background: #28ca41; }
.hero-visual .preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.hero-visual .preview-card {
  background: var(--gray-50);
  border-radius: var(--radius-sm);
  padding: 14px;
  border: 1px solid var(--gray-100);
}
.hero-visual .preview-card .pc-label {
  font-size: 0.7rem;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}
.hero-visual .preview-card .pc-value {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-dark);
}
.hero-visual .preview-card .pc-bar {
  height: 4px;
  border-radius: 2px;
  background: var(--gray-200);
  margin-top: 8px;
}
.hero-visual .preview-card .pc-bar-fill {
  height: 100%;
  border-radius: 2px;
  background: var(--accent);
}
.hero-visual .floating-card {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 14px 18px;
  border: 1px solid var(--gray-100);
  animation: float 3s ease-in-out infinite;
}
.hero-visual .floating-card.fc-1 {
  top: -10px; right: -30px;
}
.hero-visual .floating-card.fc-2 {
  bottom: -10px; left: -30px;
  animation-delay: 1.5s;
}
.hero-visual .floating-card .fc-icon {
  width: 32px; height: 32px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  margin-bottom: 6px;
}
.hero-visual .floating-card .fc-text {
  font-size: 0.75rem;
  color: var(--gray-500);
}
.hero-visual .floating-card .fc-val {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-800);
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.875rem;
  transition: all var(--transition-fast);
  border: 1.5px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  letter-spacing: -0.01em;
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  box-shadow: 0 1px 2px rgba(26,58,92,0.2);
}
.btn-primary:hover {
  background: var(--primary-light);
  border-color: var(--primary-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(26,58,92,0.3);
}
.btn-accent {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
  box-shadow: 0 1px 2px rgba(200,164,94,0.25);
}
.btn-accent:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(200,164,94,0.35);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--gray-300);
}
.btn-outline:hover {
  border-color: var(--primary);
  background: var(--primary-50);
}
.btn-white {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn-white:hover {
  background: var(--gray-50);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-sm {
  padding: 7px 14px;
  font-size: 0.8rem;
}
.btn-lg {
  padding: 14px 32px;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
}
.btn-xs {
  padding: 4px 10px;
  font-size: 0.75rem;
}
.btn-icon {
  width: 36px; height: 36px;
  padding: 0;
  border-radius: var(--radius-sm);
}
.btn-success { background: var(--success); color: #fff; box-shadow: 0 1px 2px rgba(22,163,74,0.25); }
.btn-success:hover { background: #15803d; box-shadow: 0 4px 12px rgba(22,163,74,0.3); transform: translateY(-1px); }
.btn-danger { background: var(--danger); color: #fff; box-shadow: 0 1px 2px rgba(220,38,38,0.25); }
.btn-danger:hover { background: #b91c1c; box-shadow: 0 4px 12px rgba(220,38,38,0.3); transform: translateY(-1px); }
.btn-warning { background: var(--warning); color: #fff; }
.btn-ghost { background: transparent; color: var(--gray-600); border-color: transparent; }
.btn-ghost:hover { background: var(--gray-100); color: var(--gray-800); }

/* ============================================
   HOMEPAGE SECTIONS
   ============================================ */
.section {
  padding: 80px 24px;
}
.section-inner {
  max-width: 1280px;
  margin: 0 auto;
}
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 50px;
}
.section-header .section-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-header h2 {
  margin-bottom: 16px;
  color: var(--primary-dark);
}
.section-header p {
  color: var(--gray-500);
  font-size: 1.05rem;
  line-height: 1.7;
}

.section-alt {
  background: var(--gray-50);
}

/* Value Proposition Cards */
.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.value-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  border: 1px solid var(--gray-200);
  transition: all var(--transition-base);
  text-align: center;
}
.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}
.value-card .vc-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.5rem;
  background: var(--primary-50);
  color: var(--primary);
}
.value-card h4 {
  margin-bottom: 8px;
  font-size: 1.05rem;
}
.value-card p {
  font-size: 0.88rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* Pain Points */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.pain-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  background: var(--white);
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-200);
  transition: all var(--transition-fast);
}
.pain-item:hover {
  border-color: var(--danger);
  background: var(--danger-light);
}
.pain-item .pain-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--danger-light);
  color: var(--danger);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.pain-item h5 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}
.pain-item p {
  font-size: 0.82rem;
  color: var(--gray-500);
}

/* Product Pillars */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.pillar-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 30px 24px;
  border: 1px solid var(--gray-200);
  text-align: center;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}
.pillar-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0;
  transition: opacity var(--transition-base);
}
.pillar-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.pillar-card:hover::before { opacity: 1; }
.pillar-card .pc-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-md);
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}
.pillar-card h4 {
  font-size: 1rem;
  margin-bottom: 8px;
}
.pillar-card p {
  font-size: 0.82rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* Tier Cards */
.tier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.tier-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  transition: all var(--transition-base);
  position: relative;
}
.tier-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}
.tier-card.featured {
  border-color: var(--accent);
}
.tier-card .tier-header {
  padding: 32px 28px 24px;
  border-bottom: 1px solid var(--gray-100);
}
.tier-card.featured .tier-header {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: var(--white);
  border-bottom: none;
}
.tier-card.featured .tier-header h3,
.tier-card.featured .tier-header p {
  color: var(--white);
}
.tier-card.featured .tier-header .tier-badge {
  background: var(--accent);
  color: var(--white);
}
.tier-card .tier-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  background: var(--primary-50);
  color: var(--primary);
}
.tier-card .tier-header h3 {
  font-size: 1.35rem;
  margin-bottom: 8px;
}
.tier-card .tier-header p {
  font-size: 0.88rem;
  color: var(--gray-500);
  line-height: 1.6;
}
.tier-card .tier-body {
  padding: 24px 28px;
}
.tier-card .tier-target {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray-600);
  margin-bottom: 16px;
}
.tier-card .tier-modules {
  margin-bottom: 24px;
}
.tier-card .tier-modules li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  font-size: 0.88rem;
  color: var(--gray-600);
}
.tier-card .tier-modules li .tm-check {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--success-light);
  color: var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  flex-shrink: 0;
}
.tier-card .tier-footer {
  padding: 0 28px 28px;
}

/* Feature / Innovation Grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  transition: all var(--transition-fast);
}
.feature-item:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
}
.feature-item .fi-icon {
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.feature-item h5 {
  font-size: 0.9rem;
  margin-bottom: 4px;
}
.feature-item p {
  font-size: 0.8rem;
  color: var(--gray-500);
  line-height: 1.5;
}

/* Screen Previews */
.screens-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.screen-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: all var(--transition-base);
}
.screen-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.screen-card .sc-preview {
  height: 200px;
  background: linear-gradient(135deg, var(--gray-100), var(--gray-50));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.screen-card .sc-preview .sc-mock {
  width: 85%;
  height: 80%;
  background: var(--white);
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.screen-card .sc-preview .sc-mock .mock-bar {
  height: 24px;
  background: var(--primary-dark);
  display: flex;
  align-items: center;
  padding: 0 8px;
  gap: 4px;
}
.screen-card .sc-preview .sc-mock .mock-bar span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
}
.screen-card .sc-preview .sc-mock .mock-body {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 6px;
}
.screen-card .sc-preview .sc-mock .mock-block {
  background: var(--gray-100);
  border-radius: 3px;
}
.screen-card .sc-info {
  padding: 18px 20px;
}
.screen-card .sc-info .sc-tier {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--accent);
  margin-bottom: 6px;
}
.screen-card .sc-info h4 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}
.screen-card .sc-info p {
  font-size: 0.8rem;
  color: var(--gray-500);
}

/* Industries */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.industry-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  border: 1px solid var(--gray-200);
  text-align: center;
  transition: all var(--transition-base);
}
.industry-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}
.industry-card .ic-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}
.industry-card h4 {
  font-size: 1rem;
  margin-bottom: 6px;
}
.industry-card p {
  font-size: 0.82rem;
  color: var(--gray-500);
}

/* Trust Section */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.trust-item {
  text-align: center;
  padding: 24px 16px;
}
.trust-item .ti-icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--primary-50);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin: 0 auto 12px;
}
.trust-item h5 {
  font-size: 0.9rem;
  margin-bottom: 4px;
}
.trust-item p {
  font-size: 0.78rem;
  color: var(--gray-500);
}

/* Footer */
.site-footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.7);
  padding: 60px 24px 24px;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand .fb-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 12px;
}
.footer-brand .fb-logo img {
  height: 36px;
  filter: brightness(10);
}
.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.7;
  max-width: 320px;
}
.footer-col h5 {
  color: var(--white);
  font-size: 0.9rem;
  margin-bottom: 16px;
  font-weight: 600;
}
.footer-col a {
  display: block;
  padding: 5px 0;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition-fast);
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
}

/* ============================================
   APP LAYOUT (Demo Interiors)
   ============================================ */
.app-layout {
  display: flex;
  min-height: 100vh;
  background: var(--gray-50);
}

/* Sidebar */
.app-sidebar {
  width: var(--sidebar-width);
  background: var(--primary-dark);
  color: rgba(255,255,255,0.8);
  position: fixed;
  top: 0; left: 0; bottom: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-base);
  overflow-y: auto;
  overflow-x: hidden;
}
.app-sidebar::-webkit-scrollbar { width: 4px; }
.app-sidebar::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 2px; }
.app-sidebar .sidebar-header {
  padding: 20px 20px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  gap: 12px;
}
.app-sidebar .sidebar-header img {
  height: 32px;
  filter: brightness(10);
}
.app-sidebar .sidebar-header .sh-text h4 {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 700;
}
.app-sidebar .sidebar-header .sh-text span {
  font-size: 0.7rem;
  color: var(--accent);
  font-weight: 600;
}
.sidebar-nav {
  flex: 1;
  padding: 12px 0;
}
.sidebar-nav .nav-group {
  margin-bottom: 8px;
}
.sidebar-nav .nav-group-title {
  padding: 8px 20px 4px;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: rgba(255,255,255,0.35);
}
.sidebar-nav .nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 20px;
  font-size: 0.86rem;
  color: rgba(255,255,255,0.6);
  transition: all var(--transition-fast);
  cursor: pointer;
  border-left: 3px solid transparent;
  position: relative;
  margin: 1px 8px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.sidebar-nav .nav-item:hover {
  background: rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.95);
}
.sidebar-nav .nav-item.active {
  background: rgba(200,164,94,0.12);
  color: var(--white);
  border-left-color: var(--accent);
  font-weight: 600;
}
.sidebar-nav .nav-item .ni-icon {
  width: 20px;
  text-align: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}
.sidebar-nav .nav-item .ni-badge {
  margin-left: auto;
  background: var(--danger);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--radius-full);
}
.sidebar-nav .nav-item .ni-badge.accent {
  background: var(--accent);
}
.sidebar-footer {
  padding: 16px 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.sidebar-footer .sf-user {
  display: flex;
  align-items: center;
  gap: 10px;
}
.sidebar-footer .sf-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--white);
}
.sidebar-footer .sf-info span {
  display: block;
  font-size: 0.82rem;
  color: var(--white);
  font-weight: 600;
}
.sidebar-footer .sf-info small {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.45);
}

/* App Main Content */
.app-main {
  flex: 1;
  margin-left: var(--sidebar-width);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* App Header */
.app-header {
  height: var(--app-header-height);
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 1px 3px rgba(15,39,64,0.04);
}
.app-header .ah-left {
  display: flex;
  align-items: center;
  gap: 16px;
}
.app-header .ah-left .sidebar-toggle {
  display: none;
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--gray-600);
  cursor: pointer;
}
.app-header .ah-left .sidebar-toggle:hover {
  background: var(--gray-100);
}
.app-header .ah-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--gray-400);
}
.app-header .ah-breadcrumb .current {
  color: var(--gray-700);
  font-weight: 600;
}
.app-header .ah-search {
  flex: 1;
  max-width: 360px;
  margin: 0 24px;
  position: relative;
}
.app-header .ah-search input {
  width: 100%;
  padding: 8px 12px 8px 36px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  background: var(--gray-50);
  font-size: 0.84rem;
  transition: all var(--transition-fast);
  cursor: pointer;
}
.app-header .ah-search input:focus {
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(26,58,92,0.06);
}
.app-header .ah-search .search-kbd {
  position: absolute;
  right: 10px; top: 50%;
  transform: translateY(-50%);
  background: var(--gray-100);
  color: var(--gray-400);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.68rem;
  font-family: Inter, monospace;
  font-weight: 600;
  border: 1px solid var(--gray-200);
  pointer-events: none;
}
.app-header .ah-search .search-icon {
  position: absolute;
  left: 12px; top: 50%;
  transform: translateY(-50%);
  color: var(--gray-400);
  font-size: 0.85rem;
}
.app-header .ah-right {
  display: flex;
  align-items: center;
  gap: 8px;
}
.app-header .ah-right .ah-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-500);
  transition: all var(--transition-fast);
  position: relative;
  cursor: pointer;
}
.app-header .ah-right .ah-btn:hover {
  background: var(--gray-100);
  color: var(--gray-700);
}
.app-header .ah-right .ah-btn .notif-dot {
  position: absolute;
  top: 8px; right: 8px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--danger);
  border: 2px solid var(--white);
}
.app-header .ah-profile {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 8px;
  cursor: pointer;
  padding: 4px 12px 4px 4px;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}
.app-header .ah-profile:hover {
  background: var(--gray-50);
}
.app-header .ah-profile .profile-avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
}
.app-header .ah-profile .profile-info {
  display: flex;
  flex-direction: column;
}
.app-header .ah-profile .profile-info span {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray-700);
}
.app-header .ah-profile .profile-info small {
  font-size: 0.7rem;
  color: var(--gray-400);
}

/* App Content Area */
.app-content {
  flex: 1;
  padding: 24px;
}

/* App Pages (sidebar nav switching) */
.app-page {
  display: none;
}
.app-page.active {
  display: block;
}
.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}
.page-header h2 {
  font-size: 1.5rem;
}
.page-header .ph-subtitle {
  font-size: 0.88rem;
  color: var(--gray-500);
}
.page-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ============================================
   DASHBOARD WIDGETS
   ============================================ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}
.stat-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 22px;
  border: 1px solid var(--gray-200);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.stat-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
  border-color: var(--gray-300);
}
.stat-card .sc-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 12px;
}
.stat-card .sc-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}
.stat-card .sc-label {
  font-size: 0.78rem;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  font-weight: 600;
}
.stat-card .sc-value {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1.2;
  margin-bottom: 6px;
}
.stat-card .sc-change {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: var(--radius-full);
}
.stat-card .sc-change.up {
  color: var(--success);
  background: var(--success-light);
}
.stat-card .sc-change.down {
  color: var(--danger);
  background: var(--danger-light);
}

/* Dashboard Grid */
.dash-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.dash-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}
.dash-grid-equal {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

/* Widget Card */
.widget {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: box-shadow var(--transition-base);
}
.widget:hover {
  box-shadow: var(--shadow-md);
}
.widget-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--gray-100);
}
.widget-header h4 {
  font-size: 0.95rem;
}
.widget-header .wh-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}
.widget-header .wh-actions button {
  font-size: 0.78rem;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  color: var(--gray-500);
  border: 1px solid var(--gray-200);
  background: var(--white);
  transition: all var(--transition-fast);
}
.widget-header .wh-actions button:hover,
.widget-header .wh-actions button.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.widget-body {
  padding: 20px;
}
.widget-body.no-padding { padding: 0; }
.widget-footer {
  padding: 12px 20px;
  border-top: 1px solid var(--gray-100);
  text-align: center;
}
.widget-footer a {
  font-size: 0.82rem;
  color: var(--primary);
  font-weight: 600;
}

/* ============================================
   TABLES
   ============================================ */
.data-table {
  width: 100%;
}
.data-table thead th {
  padding: 11px 16px;
  text-align: left;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--gray-500);
  background: var(--gray-50);
  border-bottom: 2px solid var(--gray-200);
  white-space: nowrap;
  position: sticky;
  top: 0;
  z-index: 2;
}
.data-table tbody td {
  padding: 12px 16px;
  font-size: 0.84rem;
  border-bottom: 1px solid var(--gray-100);
  vertical-align: middle;
  color: var(--gray-700);
}
.data-table tbody td strong {
  color: var(--gray-900);
  font-weight: 600;
}
.data-table tbody tr {
  transition: background var(--transition-fast);
}
.data-table tbody tr:hover {
  background: rgba(26,58,92,0.02);
}
.data-table tbody tr:last-child td {
  border-bottom: none;
}
.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* ============================================
   STATUS PILLS / BADGES
   ============================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 600;
  white-space: nowrap;
  letter-spacing: 0.02em;
}
.badge-success { background: var(--success-light); color: var(--success); }
.badge-warning { background: var(--warning-light); color: #b45309; }
.badge-danger { background: var(--danger-light); color: var(--danger); }
.badge-info { background: var(--info-light); color: var(--info); }
.badge-gray { background: var(--gray-100); color: var(--gray-600); }
.badge-accent { background: rgba(200,164,94,0.15); color: var(--accent-dark); }
.badge-primary { background: var(--primary-100); color: var(--primary); }

/* ============================================
   CARDS
   ============================================ */
.card {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  padding: 20px;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-base);
}
.card:hover {
  box-shadow: var(--shadow-card-hover);
}

/* Alert Cards */
.alert-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  border: 1px solid;
}
.alert-card.alert-danger {
  background: var(--danger-light);
  border-color: rgba(220,38,38,0.2);
}
.alert-card.alert-warning {
  background: var(--warning-light);
  border-color: rgba(245,158,11,0.2);
}
.alert-card.alert-info {
  background: var(--info-light);
  border-color: rgba(37,99,235,0.2);
}
.alert-card.alert-success {
  background: var(--success-light);
  border-color: rgba(22,163,74,0.2);
}
.alert-card .alert-icon {
  font-size: 1rem;
  margin-top: 2px;
}
.alert-card .alert-text h5 {
  font-size: 0.85rem;
  margin-bottom: 2px;
}
.alert-card .alert-text p {
  font-size: 0.78rem;
  color: var(--gray-600);
}

/* Activity Timeline */
.activity-list { padding: 0; }
.activity-item {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-100);
  font-size: 0.85rem;
}
.activity-item:last-child { border-bottom: none; }
.activity-item .ai-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  margin-top: 6px;
  flex-shrink: 0;
}
.activity-item .ai-content { flex: 1; }
.activity-item .ai-content strong { font-weight: 600; }
.activity-item .ai-time {
  font-size: 0.75rem;
  color: var(--gray-400);
  white-space: nowrap;
}

/* ============================================
   FORMS
   ============================================ */
.form-group {
  margin-bottom: 18px;
}
.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 6px;
}
.form-control {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  background: var(--white);
  transition: all var(--transition-fast);
  color: var(--gray-800);
}
.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,58,92,0.08);
  background: var(--white);
}
.form-control::placeholder {
  color: var(--gray-400);
}
select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%236b7a8d' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ============================================
   MODALS & DRAWERS
   ============================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-base);
}
.modal-overlay.active {
  display: flex;
  opacity: 1;
}
.modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  width: 90%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  transform: translateY(20px);
  transition: transform var(--transition-base);
}
.modal-overlay.active .modal {
  transform: translateY(0);
}
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--gray-200);
}
.modal-header h3 { font-size: 1.1rem; }
.modal-close {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--gray-500);
  cursor: pointer;
  transition: all var(--transition-fast);
}
.modal-close:hover { background: var(--gray-100); }
.modal-body { padding: 24px; }
.modal-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--gray-200);
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

/* Drawer */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1000;
  display: none;
  opacity: 0;
  transition: opacity var(--transition-base);
}
.drawer-overlay.active {
  display: block;
  opacity: 1;
}
.drawer {
  position: fixed;
  top: 0; right: -480px; bottom: 0;
  width: 480px;
  max-width: 90vw;
  background: var(--white);
  z-index: 1001;
  box-shadow: var(--shadow-xl);
  transition: right var(--transition-base);
  display: flex;
  flex-direction: column;
}
.drawer.active { right: 0; }
.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--gray-200);
}
.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
}
.drawer-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--gray-200);
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

/* ============================================
   TABS
   ============================================ */
.tabs {
  display: flex;
  gap: 4px;
  border-bottom: 2px solid var(--gray-200);
  margin-bottom: 20px;
  overflow-x: auto;
}
.tab-btn {
  padding: 10px 20px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gray-500);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all var(--transition-fast);
  white-space: nowrap;
  cursor: pointer;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
}
.tab-btn:hover { color: var(--gray-700); }
.tab-btn.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}
.tab-content { display: none; }
.tab-content.active { display: block; }

/* ============================================
   ROOM BOARD
   ============================================ */
.room-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
}
.room-cell {
  border-radius: var(--radius-sm);
  padding: 14px;
  border: 2px solid;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
}
.room-cell:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.room-cell .rc-number {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 4px;
}
.room-cell .rc-type {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}
.room-cell .rc-guest {
  font-size: 0.75rem;
  font-weight: 600;
}
.room-cell .rc-dates {
  font-size: 0.68rem;
  opacity: 0.7;
}
/* Room states */
.room-cell.vacant-clean { background: #e8f5e9; border-color: #4caf50; color: #2e7d32; }
.room-cell.vacant-dirty { background: #fff3e0; border-color: #ff9800; color: #e65100; }
.room-cell.occupied { background: #e3f2fd; border-color: #2196f3; color: #1565c0; }
.room-cell.cleaning { background: #fce4ec; border-color: #e91e63; color: #ad1457; }
.room-cell.inspection { background: #f3e5f5; border-color: #9c27b0; color: #6a1b9a; }
.room-cell.blocked { background: var(--gray-100); border-color: var(--gray-400); color: var(--gray-600); }
.room-cell.maintenance { background: #fff8e1; border-color: #ffc107; color: #f57f17; }
.room-cell.dnd { background: #efebe9; border-color: #795548; color: #4e342e; }

/* Room Legend */
.room-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
}
.room-legend .rl-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--gray-600);
}
.room-legend .rl-dot {
  width: 12px; height: 12px;
  border-radius: 3px;
}

/* ============================================
   TABLE FLOOR PLAN (Restaurant)
   ============================================ */
.floor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 14px;
}
.table-cell {
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: 2px solid;
}
.table-cell:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.table-cell .tc-number { font-size: 1.2rem; font-weight: 800; }
.table-cell .tc-seats { font-size: 0.7rem; opacity: 0.7; }
.table-cell .tc-status { font-size: 0.72rem; font-weight: 600; margin-top: 4px; }
.table-cell .tc-waiter { font-size: 0.68rem; opacity: 0.7; }
.table-cell.t-available { background: #e8f5e9; border-color: #4caf50; color: #2e7d32; }
.table-cell.t-occupied { background: #e3f2fd; border-color: #2196f3; color: #1565c0; }
.table-cell.t-reserved { background: #fff3e0; border-color: #ff9800; color: #e65100; }
.table-cell.t-billing { background: #f3e5f5; border-color: #9c27b0; color: #6a1b9a; }
.table-cell.t-cleaning { background: #fce4ec; border-color: #e91e63; color: #ad1457; }

/* ============================================
   CHART CONTAINERS
   ============================================ */
.chart-container {
  position: relative;
  height: 280px;
  width: 100%;
}
.chart-container-sm { height: 200px; }
.chart-container-lg { height: 360px; }

/* ============================================
   FILTERS BAR
   ============================================ */
.filter-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.filter-bar .filter-item {
  display: flex;
  align-items: center;
  gap: 6px;
}
.filter-bar .filter-item label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gray-600);
  white-space: nowrap;
}
.filter-bar .filter-item select,
.filter-bar .filter-item input {
  padding: 7px 12px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  background: var(--white);
}
.filter-bar .filter-search {
  flex: 1;
  min-width: 200px;
  position: relative;
}
.filter-bar .filter-search input {
  width: 100%;
  padding: 8px 12px 8px 34px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
}

/* ============================================
   NOTIFICATIONS PANEL
   ============================================ */
.notif-panel {
  position: fixed;
  top: 0; right: -380px; bottom: 0;
  width: 380px;
  max-width: 90vw;
  background: var(--white);
  z-index: 200;
  box-shadow: var(--shadow-xl);
  transition: right var(--transition-base);
  display: flex;
  flex-direction: column;
}
.notif-panel.active { right: 0; }
.notif-panel .np-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  border-bottom: 1px solid var(--gray-200);
}
.notif-panel .np-list {
  flex: 1;
  overflow-y: auto;
}
.notif-panel .np-item {
  display: flex;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--gray-100);
  cursor: pointer;
  transition: background var(--transition-fast);
}
.notif-panel .np-item:hover { background: var(--gray-50); }
.notif-panel .np-item.unread { background: var(--info-light); }
.notif-panel .np-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.notif-panel .np-text h5 {
  font-size: 0.85rem;
  margin-bottom: 2px;
}
.notif-panel .np-text p {
  font-size: 0.78rem;
  color: var(--gray-500);
}
.notif-panel .np-time {
  font-size: 0.7rem;
  color: var(--gray-400);
  white-space: nowrap;
  margin-left: auto;
}

/* ============================================
   INSIGHT CARDS (AI Layer)
   ============================================ */
.insight-card {
  background: linear-gradient(135deg, #f8f4ed, #faf8f5);
  border: 1px solid rgba(200,164,94,0.3);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin-bottom: 12px;
}
.insight-card .ic-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.insight-card .ic-header .ic-spark {
  font-size: 0.9rem;
}
.insight-card .ic-header h5 {
  font-size: 0.88rem;
  color: var(--accent-dark);
}
.insight-card .ic-body {
  font-size: 0.82rem;
  color: var(--gray-600);
  line-height: 1.6;
}
.insight-card .ic-action {
  margin-top: 10px;
}
.insight-card .ic-action a {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent-dark);
}

/* ============================================
   QUICK ACTIONS
   ============================================ */
.quick-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.qa-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray-700);
  cursor: pointer;
  transition: all var(--transition-fast);
}
.qa-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}
.qa-btn .qa-icon {
  font-size: 0.9rem;
}

/* ============================================
   PROGRESS BARS
   ============================================ */
.progress-bar {
  height: 8px;
  background: var(--gray-200);
  border-radius: 4px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  border-radius: 4px;
  transition: width var(--transition-slow);
}
.progress-fill.green, .progress-fill.success { background: var(--success); }
.progress-fill.blue { background: var(--info); }
.progress-fill.yellow, .progress-fill.warning { background: var(--warning); }
.progress-fill.red, .progress-fill.danger { background: var(--danger); }
.progress-fill.accent { background: var(--accent); }
.progress-fill.primary { background: var(--primary); }

/* Profile dropdown styles are in Premium Refinements section below */

/* ============================================
   UTILITIES
   ============================================ */
.text-success { color: var(--success); }
.text-danger { color: var(--danger); }
.text-warning { color: var(--warning); }
.text-info { color: var(--info); }
.text-muted { color: var(--gray-500); }
.text-primary { color: var(--primary); }
.text-accent { color: var(--accent); }
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-sm { font-size: 0.82rem; }
.text-xs { font-size: 0.75rem; }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.p-0 { padding: 0; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.d-flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.w-100 { width: 100%; }
.hidden { display: none !important; }
.visible { display: block; }

/* Skeleton Loaders (for visual polish) */
.skeleton {
  background: linear-gradient(90deg, var(--gray-100) 25%, var(--gray-200) 50%, var(--gray-100) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* Overlay for mobile sidebar */
.sidebar-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 99;
  display: none;
  opacity: 0;
  transition: opacity var(--transition-base);
}
.sidebar-overlay.active {
  display: block;
  opacity: 1;
}

/* Notification dot */
.notif-dot {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 8px;
  height: 8px;
  background: var(--danger);
  border-radius: var(--radius-full);
}
.ah-btn {
  position: relative;
}

/* ============================================
   PREMIUM REFINEMENTS — Round 2
   ============================================ */

/* Modal Animations */
.modal-overlay {
  transition: opacity 0.25s ease;
  opacity: 0;
  pointer-events: none;
}
.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.modal-overlay.active .modal {
  animation: modalSlideIn 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes modalSlideIn {
  from { opacity: 0; transform: translateY(-16px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.modal {
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 80px rgba(0,0,0,0.2);
}
.modal-header {
  border-bottom: 1px solid var(--gray-100);
}
.modal-footer {
  border-top: 1px solid var(--gray-100);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

/* Tab Refinement */
.tabs {
  border-bottom: 2px solid var(--gray-100);
  gap: 0;
}
.tab-btn {
  position: relative;
  padding: 10px 20px;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--gray-500);
  border: none;
  background: none;
  cursor: pointer;
  transition: color var(--transition-fast);
  white-space: nowrap;
}
.tab-btn:hover {
  color: var(--gray-800);
}
.tab-btn.active {
  color: var(--primary);
  font-weight: 600;
}
.tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0; right: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 2px 2px 0 0;
}

/* Tab Content Animation */
.tab-content {
  display: none;
}
.tab-content.active {
  display: block;
  animation: fadeInPage 0.25s ease;
}
@keyframes fadeInPage {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Drawer Animations */
.drawer {
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: -8px 0 40px rgba(0,0,0,0.15);
}

/* Enhanced Notification Panel — complements the slide-in approach from the main definition */
.notif-panel {
  box-shadow: -4px 0 40px rgba(0,0,0,0.12);
}
.notif-panel.active {
  box-shadow: -8px 0 48px rgba(0,0,0,0.16);
}

/* Profile Dropdown Polish */
.profile-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  z-index: 60;
  width: 220px;
  border-radius: var(--radius-md);
  box-shadow: 0 12px 36px rgba(0,0,0,0.12);
  border: 1px solid var(--gray-200);
  background: var(--white);
  padding: 6px;
  transform: translateY(-8px);
  opacity: 0;
  transition: all 0.2s ease;
  pointer-events: none;
}
.profile-dropdown.active {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.profile-dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  font-size: 0.84rem;
  border-radius: var(--radius-sm);
  color: var(--gray-700);
  transition: background var(--transition-fast);
}
.profile-dropdown a:hover {
  background: var(--gray-50);
  color: var(--gray-900);
}
.pd-divider {
  height: 1px;
  background: var(--gray-100);
  margin: 4px 0;
}

/* Enhanced Filter Bar */
.filter-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 14px 20px;
  background: var(--gray-50);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  border: 1px solid var(--gray-100);
}
.filter-bar .filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 500;
  background: var(--white);
  border: 1px solid var(--gray-200);
  color: var(--gray-600);
  cursor: pointer;
  transition: all var(--transition-fast);
}
.filter-bar .filter-chip:hover,
.filter-bar .filter-chip.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

/* Pagination */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 16px 0;
}
.pagination .page-btn {
  min-width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--gray-600);
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.pagination .page-btn:hover {
  background: var(--gray-100);
  border-color: var(--gray-200);
}
.pagination .page-btn.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 48px 24px;
  color: var(--gray-400);
}
.empty-state .es-icon {
  font-size: 3rem;
  margin-bottom: 16px;
  opacity: 0.5;
}
.empty-state h4 {
  color: var(--gray-600);
  margin-bottom: 8px;
}
.empty-state p {
  font-size: 0.88rem;
  color: var(--gray-400);
  max-width: 360px;
  margin: 0 auto 20px;
}

/* Timeline */
.timeline {
  position: relative;
  padding-left: 28px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 0; bottom: 0;
  width: 2px;
  background: var(--gray-200);
}
.timeline-item {
  position: relative;
  padding-bottom: 20px;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -22px;
  top: 6px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--primary);
  border: 2px solid var(--white);
  box-shadow: 0 0 0 2px var(--gray-200);
}
.timeline-item .ti-time {
  font-size: 0.75rem;
  color: var(--gray-400);
  font-weight: 500;
  margin-bottom: 4px;
}
.timeline-item .ti-content {
  font-size: 0.86rem;
  color: var(--gray-700);
}
.timeline-item .ti-content strong {
  color: var(--gray-900);
}

/* Insight Card (AI) */
.insight-card {
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background: linear-gradient(135deg, rgba(200,164,94,0.04), var(--white));
}
.insight-card .ic-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.insight-card .ic-badge {
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  background: rgba(200,164,94,0.12);
  color: var(--accent-dark);
  font-weight: 600;
}

/* Progress Bar — see main definition in PROGRESS BARS section */

/* Quick Stats Mini */
.quick-stat {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1px solid var(--gray-200);
}
.quick-stat .qs-icon {
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.quick-stat .qs-info .qs-label {
  font-size: 0.75rem;
  color: var(--gray-500);
  font-weight: 500;
}
.quick-stat .qs-info .qs-value {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gray-900);
}

/* Scrollbar Styling */
.app-content::-webkit-scrollbar { width: 6px; }
.app-content::-webkit-scrollbar-thumb { background: var(--gray-300); border-radius: 3px; }
.app-content::-webkit-scrollbar-track { background: transparent; }

/* Chart Container */
.chart-container {
  position: relative;
  height: 280px;
  width: 100%;
}
.chart-container canvas {
  max-width: 100%;
}

/* App Background */
.app-content {
  background: var(--gray-50);
}

/* ============================================
   ROUND 3 — SALES PRESENTATION LAYER
   ============================================ */
.hero-proof-grid,
.brochure-grid,
.comparison-highlights,
.deployment-grid,
.tour-grid,
.summary-panel-grid,
.module-strip {
  display: grid;
  gap: 18px;
}

.hero-proof-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 22px;
}

.hero-proof-card {
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(255,255,255,0.72);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  box-shadow: 0 16px 30px rgba(15,39,64,0.08);
  backdrop-filter: blur(10px);
}

.hero-proof-card strong,
.brochure-card h4,
.deployment-card h4,
.tour-card h4,
.summary-panel h4,
.module-card h4 {
  display: block;
  color: var(--gray-900);
}

.hero-proof-card strong {
  font-size: 0.86rem;
  margin-bottom: 4px;
}

.hero-proof-card span {
  font-size: 0.77rem;
  color: var(--gray-500);
  line-height: 1.55;
}

.presentation-bar {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  padding: 26px 24px;
}

.presentation-bar .presentation-bar-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 20px;
  align-items: center;
}

.presentation-copy h3 {
  color: var(--white);
  font-size: 1.45rem;
  margin-bottom: 8px;
}

.presentation-copy p {
  color: rgba(255,255,255,0.76);
  max-width: 720px;
}

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

.presentation-pill {
  padding: 12px 14px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--white);
}

.presentation-pill strong {
  display: block;
  font-size: 0.82rem;
  margin-bottom: 3px;
}

.presentation-pill span {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.68);
}

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

.brochure-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-card);
}

.brochure-card .bc-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}

.brochure-card h4 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.brochure-card p {
  font-size: 0.86rem;
  color: var(--gray-500);
}

.tier-card .tier-note {
  font-size: 0.82rem;
  color: var(--gray-600);
  margin-top: 14px;
  line-height: 1.65;
}

.tier-role-chips,
.focus-chip-list,
.module-chip-list,
.comparison-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tier-role-chips {
  margin-top: 14px;
}

.comparison-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.comparison-card .comparison-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--gray-100);
}

.comparison-card .comparison-head h3 {
  font-size: 1.1rem;
}

.comparison-card .comparison-head p {
  color: var(--gray-500);
  font-size: 0.84rem;
  margin-top: 4px;
}

.comparison-table {
  width: 100%;
}

.comparison-table th,
.comparison-table td {
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid var(--gray-100);
  vertical-align: top;
}

.comparison-table th {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-500);
  background: var(--gray-50);
}

.comparison-table td:first-child {
  width: 18%;
  font-weight: 700;
  color: var(--gray-900);
}

.comparison-table td {
  font-size: 0.84rem;
  color: var(--gray-600);
}

.comparison-table strong {
  color: var(--gray-900);
}

.comparison-highlights {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 20px;
}

.comparison-highlight {
  background: linear-gradient(135deg, rgba(26,58,92,0.04), rgba(200,164,94,0.08));
  border: 1px solid rgba(26,58,92,0.08);
  border-radius: var(--radius-md);
  padding: 18px 20px;
}

.comparison-highlight strong {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 6px;
  color: var(--gray-900);
}

.comparison-highlight span {
  color: var(--gray-500);
  font-size: 0.82rem;
}

.deployment-grid {
  grid-template-columns: 1.2fr 1fr;
  align-items: stretch;
}

.deployment-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 28px;
}

.deployment-card h4 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.deployment-card p {
  color: var(--gray-500);
  margin-bottom: 16px;
}

.deployment-checklist {
  display: grid;
  gap: 10px;
}

.deployment-checklist li {
  display: flex;
  gap: 10px;
  font-size: 0.86rem;
  color: var(--gray-600);
}

.deployment-checklist li::before {
  content: '✓';
  color: var(--success);
  font-weight: 800;
}

.module-strip {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 18px;
}

.module-card {
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(248,249,251,0.9), rgba(255,255,255,0.95));
  border: 1px solid var(--gray-200);
}

.module-card h4 {
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.module-card p {
  color: var(--gray-500);
  font-size: 0.8rem;
  line-height: 1.6;
}

.ah-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: 6px;
}

.demo-mode-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: var(--radius-full);
  background: rgba(200,164,94,0.14);
  color: var(--accent-dark);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.role-switch-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border: 1px solid var(--gray-200);
  background: var(--white);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-xs);
}

.role-switch-label {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gray-500);
}

.role-switcher {
  border: none;
  background: transparent;
  color: var(--gray-800);
  font-size: 0.82rem;
  font-weight: 600;
  padding-right: 18px;
  cursor: pointer;
}

.dashboard-intro {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

.summary-panel {
  background: linear-gradient(135deg, rgba(15,39,64,0.96), rgba(26,58,92,0.94));
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-lg);
}

.summary-panel .summary-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.7);
  margin-bottom: 12px;
}

.summary-panel h4 {
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.summary-panel p {
  color: rgba(255,255,255,0.74);
  font-size: 0.88rem;
}

.summary-panel-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 18px;
}

.summary-stat {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  padding: 14px 16px;
}

.summary-stat strong {
  display: block;
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 4px;
}

.summary-stat span {
  font-size: 0.76rem;
  color: rgba(255,255,255,0.68);
}

.role-lens-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 24px;
}

.role-lens-card .lens-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.role-lens-card h4 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.role-lens-card p {
  color: var(--gray-500);
  font-size: 0.84rem;
}

.focus-chip-list {
  margin-top: 16px;
}

.focus-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border-radius: var(--radius-full);
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--gray-700);
}

.tour-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 24px;
}

.tour-card {
  text-align: left;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-base);
}

.tour-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--primary-200);
}

.tour-card .tour-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-50);
  color: var(--primary);
  margin-bottom: 12px;
  font-size: 1.1rem;
}

.tour-card h4 {
  font-size: 0.93rem;
  margin-bottom: 6px;
}

.tour-card p {
  font-size: 0.8rem;
  color: var(--gray-500);
  margin-bottom: 10px;
}

.tour-card span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--primary);
}

.nav-item.role-priority {
  background: linear-gradient(90deg, rgba(26,58,92,0.14), rgba(26,58,92,0.02));
  color: var(--white);
  box-shadow: inset 2px 0 0 var(--accent);
}

.nav-item.role-priority .ni-text,
.nav-item.role-priority .ni-icon {
  color: var(--white);
}

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

.report-meta-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  box-shadow: var(--shadow-card);
}

.report-meta-card strong {
  display: block;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-500);
  margin-bottom: 8px;
}

.report-meta-card span {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--gray-900);
}

.report-meta-card small {
  display: block;
  margin-top: 6px;
  font-size: 0.76rem;
  color: var(--gray-500);
}

/* Selection */
::selection {
  background: rgba(26,58,92,0.12);
  color: var(--gray-900);
}

/* Focus Visible */
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* Print */
@media print {
  .app-sidebar, .app-header, .sidebar-overlay, .site-nav,
  .notif-panel, .profile-dropdown, .modal-overlay,
  button, .btn, .no-print { display: none !important; }
  .app-main { margin-left: 0 !important; }
  .app-content { padding: 0 !important; }
  .app-page { display: block !important; }
  .widget, .stat-card, .card { break-inside: avoid; box-shadow: none !important; border: 1px solid #ddd !important; }
}
