/* Gateway SUITE — Enterprise Design System */
:root {
  --gw-cream: #F8F6F1;
  --gw-ivory: #FAF8F3;
  --gw-warm-white: #FDFCF8;
  --gw-gold: #B8963E;
  --gw-gold-light: #D4AF65;
  --gw-gold-subtle: #EDE3CE;
  --gw-dark: #1A1814;
  --gw-charcoal: #2D2A26;
  --gw-slate: #4A4640;
  --gw-medium: #6B6560;
  --gw-muted: #9A9390;
  --gw-border: #E5E0D8;
  --gw-border-light: #EDE9E2;
  --wrike-blue: #4050D8;
  --wrike-blue-light: #EEF0FD;
  --powerbi-accent: #F2C811;
  --powerbi-dark: #252423;
  --powerbi-light: #FEF8E3;
  --status-live: #047857;
  --status-live-bg: #ECFDF5;
  --status-review: #92400E;
  --status-review-bg: #FEF3C7;
  --status-draft: #374151;
  --status-draft-bg: #F3F4F6;
  --status-rejected: #991B1B;
  --status-rejected-bg: #FEF2F2;
  --status-overdue: #B91C1C;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--gw-cream);
  color: var(--gw-charcoal);
  line-height: 1.5;
  min-height: 100vh;
}

h1, h2, h3 { font-family: 'Playfair Display', serif; }

/* ============================================================ 
   APP SHELL
   ============================================================ */
#app { display: flex; flex-direction: column; min-height: 100vh; }

/* TOP HEADER */
.app-header {
  background: var(--gw-dark);
  color: white;
  padding: 0 32px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(184,150,62,0.3);
}

.header-brand { display: flex; flex-direction: column; }
.header-brand .brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--gw-gold-light);
  letter-spacing: 0.03em;
}
.header-brand .brand-sub {
  font-size: 10px;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 1px;
}
.header-right { display: flex; align-items: center; gap: 16px; }

/* PERSONA SWITCHER */
.persona-switcher {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 6px;
  padding: 6px 12px;
  cursor: pointer;
  transition: all 0.2s;
}
.persona-switcher:hover { background: rgba(255,255,255,0.12); }
.persona-switcher .demo-label {
  font-size: 10px;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.persona-switcher .persona-name {
  font-size: 13px;
  color: white;
  font-weight: 500;
}
.persona-switcher i { color: var(--gw-gold-light); font-size: 11px; }

.persona-dropdown {
  position: absolute;
  top: 60px;
  right: 32px;
  background: white;
  border: 1px solid var(--gw-border);
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  min-width: 240px;
  z-index: 200;
  overflow: hidden;
}
.persona-dropdown .dropdown-header {
  padding: 12px 16px;
  background: var(--gw-ivory);
  border-bottom: 1px solid var(--gw-border);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gw-medium);
  font-weight: 600;
}
.persona-option {
  padding: 12px 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: background 0.15s;
  border-bottom: 1px solid var(--gw-border-light);
}
.persona-option:last-child { border-bottom: none; }
.persona-option:hover { background: var(--gw-ivory); }
.persona-option.active { background: var(--gw-cream); }
.persona-option .persona-icon {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
}
.persona-option .persona-info .p-name { font-size: 14px; font-weight: 500; color: var(--gw-charcoal); }
.persona-option .persona-info .p-hotel { font-size: 12px; color: var(--gw-medium); }

.presenter-btn {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: rgba(255,255,255,0.6);
  transition: all 0.2s;
}
.presenter-btn:hover { background: rgba(255,255,255,0.15); color: white; }

.user-chip {
  display: flex; align-items: center; gap: 8px;
  padding: 4px 10px;
  background: rgba(255,255,255,0.06);
  border-radius: 20px;
}
.user-chip .avatar {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--gw-gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 10px;
  font-weight: 600;
  color: white;
}
.user-chip .user-name { font-size: 12px; color: rgba(255,255,255,0.7); }

/* MAIN LAYOUT */
.app-layout { display: flex; flex: 1; }

/* LEFT NAV */
.app-nav {
  width: 232px;
  min-width: 232px;
  background: var(--gw-dark);
  display: flex;
  flex-direction: column;
  padding: 24px 0;
  position: sticky;
  top: 60px;
  height: calc(100vh - 60px);
  overflow-y: auto;
}
.nav-section-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.25);
  padding: 16px 20px 8px;
  font-weight: 600;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  cursor: pointer;
  transition: all 0.15s;
  color: rgba(255,255,255,0.55);
  font-size: 13px;
  font-weight: 400;
  border-left: 3px solid transparent;
  text-decoration: none;
}
.nav-item:hover { background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.85); }
.nav-item.active {
  background: rgba(184,150,62,0.1);
  color: var(--gw-gold-light);
  border-left-color: var(--gw-gold);
  font-weight: 500;
}
.nav-item i { width: 16px; text-align: center; font-size: 12px; }
.nav-badge {
  margin-left: auto;
  background: #DC2626;
  color: white;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 10px;
  font-weight: 600;
}
.nav-system-badge {
  margin-left: auto;
  font-size: 9px;
  padding: 2px 5px;
  border-radius: 3px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.nav-system-badge.wrike { background: rgba(64,80,216,0.25); color: #818CF8; }
.nav-system-badge.powerbi { background: rgba(242,200,17,0.2); color: #F2C811; }

/* MAIN CONTENT */
.app-main {
  flex: 1;
  overflow: auto;
  min-width: 0;
}

.page-content {
  padding: 32px 36px;
  max-width: 1400px;
}

/* ============================================================
   SYSTEM BADGES (Wrike / Power BI)
   ============================================================ */
.system-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.system-badge.wrike {
  background: var(--wrike-blue-light);
  color: var(--wrike-blue);
  border: 1px solid rgba(64,80,216,0.2);
}
.system-badge.powerbi {
  background: var(--powerbi-light);
  color: #78620A;
  border: 1px solid rgba(242,200,17,0.4);
}

/* ============================================================
   PAGE HEADERS
   ============================================================ */
.page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 28px;
}
.page-header-left { display: flex; flex-direction: column; gap: 6px; }
.page-title {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  font-weight: 600;
  color: var(--gw-dark);
  line-height: 1.2;
}
.page-subtitle { font-size: 14px; color: var(--gw-medium); }
.page-header-actions { display: flex; align-items: center; gap: 10px; }

/* BREADCRUMB */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--gw-medium);
  margin-bottom: 20px;
}
.breadcrumb .sep { color: var(--gw-muted); }
.breadcrumb .current { color: var(--gw-charcoal); font-weight: 500; }

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: white;
  border: 1px solid var(--gw-border);
  border-radius: 10px;
  padding: 24px;
}
.card-sm { padding: 16px; }
.card-lg { padding: 32px; }
.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.card-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--gw-dark);
}
.card-subtitle { font-size: 13px; color: var(--gw-medium); margin-top: 2px; }

/* KPI CARDS */
.kpi-grid { display: grid; gap: 16px; }
.kpi-card {
  background: white;
  border: 1px solid var(--gw-border);
  border-radius: 10px;
  padding: 20px 22px;
}
.kpi-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gw-medium);
  font-weight: 600;
  margin-bottom: 8px;
}
.kpi-value {
  font-size: 24px;
  font-weight: 700;
  color: var(--gw-dark);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.kpi-value.large { font-size: 28px; }
.kpi-sub { font-size: 12px; color: var(--gw-medium); margin-top: 4px; }
.kpi-trend { font-size: 11px; margin-top: 6px; }
.kpi-trend.up { color: var(--status-live); }
.kpi-trend.down { color: var(--status-rejected); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s;
  border: 1px solid transparent;
  white-space: nowrap;
  text-decoration: none;
}
.btn:disabled { opacity: 0.4; cursor: not-allowed; }
.btn-primary {
  background: var(--gw-dark);
  color: white;
  border-color: var(--gw-dark);
}
.btn-primary:hover:not(:disabled) { background: var(--gw-charcoal); }
.btn-gold {
  background: var(--gw-gold);
  color: white;
  border-color: var(--gw-gold);
}
.btn-gold:hover:not(:disabled) { background: #A0832E; }
.btn-secondary {
  background: white;
  color: var(--gw-charcoal);
  border-color: var(--gw-border);
}
.btn-secondary:hover:not(:disabled) { background: var(--gw-ivory); border-color: var(--gw-muted); }
.btn-danger {
  background: #FEF2F2;
  color: #991B1B;
  border-color: #FECACA;
}
.btn-danger:hover:not(:disabled) { background: #FEE2E2; }
.btn-sm { padding: 6px 12px; font-size: 12px; }
.btn-lg { padding: 12px 24px; font-size: 14px; }
.btn-wrike {
  background: var(--wrike-blue);
  color: white;
  border-color: var(--wrike-blue);
}
.btn-wrike:hover:not(:disabled) { background: #3444C4; }
.btn-powerbi {
  background: var(--powerbi-dark);
  color: var(--powerbi-accent);
  border-color: var(--powerbi-dark);
}

/* ============================================================
   STATUS CHIPS
   ============================================================ */
.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  text-transform: capitalize;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.status-chip::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: currentColor;
}
.chip-live { background: var(--status-live-bg); color: var(--status-live); }
.chip-draft { background: var(--status-draft-bg); color: var(--status-draft); }
.chip-submitted { background: #EFF6FF; color: #1D4ED8; }
.chip-commercial_review, .chip-submitted { background: #EFF6FF; color: #1D4ED8; }
.chip-media_planning { background: #F0FDF4; color: #166534; }
.chip-budget_approval { background: #FFFBEB; color: #92400E; }
.chip-creative_development { background: #FDF4FF; color: #7E22CE; }
.chip-creative_review { background: #FFF7ED; color: #9A3412; }
.chip-campaign_setup { background: #F0F9FF; color: #0369A1; }
.chip-qa { background: #EEF2FF; color: #3730A3; }
.chip-ready_to_launch { background: #F0FDF4; color: #166534; }
.chip-changes_required { background: #FEF3C7; color: #92400E; }
.chip-rejected { background: var(--status-rejected-bg); color: var(--status-rejected); }
.chip-cancelled { background: #F9FAFB; color: #6B7280; }
.chip-completed { background: #ECFDF5; color: #065F46; }
.chip-approved { background: var(--status-live-bg); color: var(--status-live); }
.chip-awaiting_review { background: #FFF7ED; color: #9A3412; }
.chip-changes_requested { background: #FEF3C7; color: #92400E; }
.chip-open { background: #EFF6FF; color: #1D4ED8; }
.chip-overdue { background: #FEF2F2; color: #991B1B; }
.chip-applied { background: var(--status-live-bg); color: var(--status-live); }
.chip-recommended { background: #F0F9FF; color: #0369A1; }
.chip-action_created { background: #FDF4FF; color: #7E22CE; }
.chip-implementing { background: #FFFBEB; color: #92400E; }
.chip-monitoring { background: #F0FDF4; color: #166534; }
.chip-closed { background: #F3F4F6; color: #6B7280; }

/* ============================================================
   TABLES
   ============================================================ */
.data-table-wrap { overflow-x: auto; }
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.data-table th {
  text-align: left;
  padding: 11px 14px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--gw-medium);
  background: var(--gw-ivory);
  border-bottom: 1px solid var(--gw-border);
  white-space: nowrap;
}
.data-table td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--gw-border-light);
  color: var(--gw-charcoal);
  vertical-align: middle;
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: var(--gw-ivory); cursor: pointer; }
.data-table .td-primary { font-weight: 500; color: var(--gw-dark); }
.data-table .td-muted { color: var(--gw-medium); font-size: 12px; }
.data-table .td-right { text-align: right; }
.data-table .td-currency { font-variant-numeric: tabular-nums; }

/* ============================================================
   FORMS
   ============================================================ */
.form-grid { display: grid; gap: 20px; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--gw-slate);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.form-label .required { color: #DC2626; margin-left: 2px; }
.form-control {
  padding: 9px 13px;
  border: 1px solid var(--gw-border);
  border-radius: 6px;
  font-size: 13px;
  font-family: 'Inter', sans-serif;
  color: var(--gw-charcoal);
  background: white;
  transition: border-color 0.15s, box-shadow 0.15s;
  outline: none;
}
.form-control:focus {
  border-color: var(--gw-gold);
  box-shadow: 0 0 0 3px rgba(184,150,62,0.1);
}
.form-control::placeholder { color: var(--gw-muted); }
.form-control:disabled { background: var(--gw-ivory); color: var(--gw-medium); cursor: not-allowed; }
textarea.form-control { resize: vertical; min-height: 80px; }
select.form-control { cursor: pointer; }
.form-hint { font-size: 11px; color: var(--gw-medium); margin-top: 3px; }
.form-error { font-size: 11px; color: #DC2626; margin-top: 3px; }
.form-section-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--gw-dark);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--gw-border);
  margin-bottom: 16px;
}

/* ============================================================
   TABS
   ============================================================ */
.tab-bar {
  display: flex;
  border-bottom: 2px solid var(--gw-border);
  margin-bottom: 24px;
  gap: 0;
}
.tab-item {
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 500;
  color: var(--gw-medium);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all 0.15s;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.tab-item:hover { color: var(--gw-charcoal); }
.tab-item.active {
  color: var(--gw-dark);
  border-bottom-color: var(--gw-gold);
  font-weight: 600;
}
.tab-count {
  background: var(--gw-border);
  color: var(--gw-medium);
  font-size: 10px;
  padding: 1px 6px;
  border-radius: 10px;
  font-weight: 600;
}
.tab-item.active .tab-count {
  background: var(--gw-gold-subtle);
  color: var(--gw-gold);
}

/* ============================================================
   INITIATIVE TIMELINE
   ============================================================ */
.workflow-timeline {
  display: flex;
  align-items: center;
  gap: 0;
  overflow-x: auto;
  padding: 4px 0;
}
.timeline-step {
  display: flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
}
.timeline-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.timeline-dot {
  width: 24px; height: 24px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 9px;
  font-weight: 700;
  border: 2px solid transparent;
}
.timeline-dot.completed { background: var(--status-live); color: white; }
.timeline-dot.active { background: var(--gw-gold); color: white; border-color: var(--gw-gold-light); box-shadow: 0 0 0 3px rgba(184,150,62,0.2); }
.timeline-dot.pending { background: var(--gw-border); color: var(--gw-muted); }
.timeline-label {
  font-size: 10px;
  color: var(--gw-medium);
  text-align: center;
  max-width: 64px;
  line-height: 1.2;
}
.timeline-connector {
  width: 24px; height: 2px;
  background: var(--gw-border);
  flex-shrink: 0;
}
.timeline-connector.completed { background: var(--status-live); }

/* ============================================================
   SECTION DIVIDERS
   ============================================================ */
.section-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 24px 0;
}
.section-divider-line { flex: 1; height: 1px; background: var(--gw-border); }
.section-divider-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gw-muted);
}

/* ============================================================
   NOTIFICATION / TOAST
   ============================================================ */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.toast {
  padding: 12px 16px;
  background: var(--gw-dark);
  color: white;
  border-radius: 8px;
  font-size: 13px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: slideIn 0.2s ease;
  min-width: 300px;
}
.toast.success { border-left: 3px solid var(--status-live); }
.toast.error { border-left: 3px solid #DC2626; }
.toast.warning { border-left: 3px solid #F59E0B; }
@keyframes slideIn { from { transform: translateX(20px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* ============================================================
   MODAL
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal {
  background: white;
  border-radius: 12px;
  max-width: 640px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}
.modal-lg { max-width: 820px; }
.modal-xl { max-width: 1000px; }
.modal-header {
  padding: 22px 24px;
  border-bottom: 1px solid var(--gw-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.modal-title {
  font-family: 'Playfair Display', serif;
  font-size: 19px;
  font-weight: 600;
  color: var(--gw-dark);
}
.modal-close {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: var(--gw-medium);
  transition: all 0.15s;
}
.modal-close:hover { background: var(--gw-ivory); color: var(--gw-charcoal); }
.modal-body { padding: 24px; }
.modal-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--gw-border);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

/* ============================================================
   LOADING / EMPTY STATES
   ============================================================ */
.loading-state {
  padding: 60px 24px;
  text-align: center;
  color: var(--gw-medium);
}
.loading-spinner {
  width: 32px; height: 32px;
  border: 3px solid var(--gw-border);
  border-top-color: var(--gw-gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 16px;
}
@keyframes spin { to { transform: rotate(360deg); } }

.empty-state {
  padding: 56px 24px;
  text-align: center;
  color: var(--gw-medium);
}
.empty-state-icon {
  font-size: 36px;
  color: var(--gw-border);
  margin-bottom: 16px;
}
.empty-state-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--gw-slate);
  margin-bottom: 6px;
}
.empty-state-sub { font-size: 13px; color: var(--gw-medium); }

/* ============================================================
   SLA INDICATOR
   ============================================================ */
.sla-indicator {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
}
.sla-dot { width: 7px; height: 7px; border-radius: 50%; }
.sla-on-track { color: var(--status-live); }
.sla-on-track .sla-dot { background: var(--status-live); }
.sla-due-today { color: #D97706; }
.sla-due-today .sla-dot { background: #D97706; }
.sla-overdue { color: var(--status-rejected); }
.sla-overdue .sla-dot { background: var(--status-rejected); }
.sla-completed { color: var(--gw-medium); }
.sla-completed .sla-dot { background: var(--gw-border); }

/* ============================================================
   BUDGET METER
   ============================================================ */
.budget-meter { margin-top: 8px; }
.budget-meter-bar {
  height: 6px;
  background: var(--gw-border);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 6px;
}
.budget-meter-fill-commit {
  height: 100%;
  background: var(--gw-gold);
  border-radius: 3px;
  transition: width 0.5s ease;
}
.budget-meter-fill-spend {
  height: 100%;
  background: var(--status-live);
  border-radius: 3px;
  transition: width 0.5s ease;
}
.budget-meter-labels {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--gw-medium);
}

/* ============================================================
   QA CHECKLIST
   ============================================================ */
.qa-checklist { display: flex; flex-direction: column; gap: 8px; }
.qa-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--gw-ivory);
  border-radius: 8px;
  border: 1px solid var(--gw-border);
  cursor: pointer;
  transition: all 0.15s;
}
.qa-item:hover { border-color: var(--gw-gold); }
.qa-item.checked {
  background: #ECFDF5;
  border-color: #A7F3D0;
}
.qa-checkbox {
  width: 20px; height: 20px;
  border-radius: 4px;
  border: 2px solid var(--gw-border);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: all 0.15s;
}
.qa-item.checked .qa-checkbox {
  background: var(--status-live);
  border-color: var(--status-live);
  color: white;
}
.qa-label { font-size: 13px; font-weight: 500; color: var(--gw-charcoal); }
.qa-item.checked .qa-label { color: var(--status-live); }
.qa-by { font-size: 11px; color: var(--gw-medium); margin-left: auto; }

/* ============================================================
   MEDIA MIX VISUALIZER
   ============================================================ */
.mix-visualizer {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 16px;
}
.mix-block {
  background: var(--gw-ivory);
  border: 1px solid var(--gw-border);
  border-radius: 8px;
  padding: 14px;
  text-align: center;
}
.mix-block-label { font-size: 11px; color: var(--gw-medium); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 4px; }
.mix-block-value { font-size: 22px; font-weight: 700; color: var(--gw-dark); }
.mix-block-amount { font-size: 12px; color: var(--gw-gold); margin-top: 2px; }

/* ============================================================
   ACTIVITY LOG
   ============================================================ */
.activity-list { display: flex; flex-direction: column; gap: 0; }
.activity-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--gw-border-light);
}
.activity-item:last-child { border-bottom: none; }
.activity-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gw-gold);
  margin-top: 5px;
  flex-shrink: 0;
}
.activity-content { flex: 1; }
.activity-action { font-size: 13px; color: var(--gw-charcoal); }
.activity-action strong { color: var(--gw-dark); }
.activity-meta { font-size: 11px; color: var(--gw-medium); margin-top: 2px; }
.activity-comment {
  font-size: 12px;
  color: var(--gw-slate);
  margin-top: 4px;
  padding: 6px 10px;
  background: var(--gw-ivory);
  border-radius: 4px;
  border-left: 2px solid var(--gw-gold-subtle);
}

/* ============================================================
   SEARCH OWNERSHIP TABLE
   ============================================================ */
.ownership-warning {
  background: #FFFBEB;
  border: 1px solid #FDE68A;
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 12px;
  color: #92400E;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

/* ============================================================
   CREATIVE VERSION CARD
   ============================================================ */
.creative-version-card {
  border: 1px solid var(--gw-border);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 16px;
}
.creative-version-header {
  padding: 12px 16px;
  background: var(--gw-ivory);
  border-bottom: 1px solid var(--gw-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.creative-version-body { padding: 16px; }
.creative-headline { font-size: 13px; font-weight: 500; color: var(--gw-dark); padding: 3px 0; }
.creative-desc { font-size: 12px; color: var(--gw-medium); padding: 3px 0; }
.creative-comment {
  margin-top: 10px;
  padding: 8px 12px;
  background: #FFF7ED;
  border: 1px solid #FED7AA;
  border-radius: 6px;
  font-size: 12px;
  color: #9A3412;
}

/* ============================================================
   CONTEXT PANEL
   ============================================================ */
.context-panel {
  background: var(--gw-ivory);
  border: 1px solid var(--gw-border);
  border-radius: 8px;
  padding: 16px;
}
.context-panel-title {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gw-medium);
  font-weight: 600;
  margin-bottom: 12px;
}
.context-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--gw-border-light);
  font-size: 13px;
}
.context-row:last-child { border-bottom: none; }
.context-key { color: var(--gw-medium); }
.context-value { font-weight: 600; color: var(--gw-dark); text-align: right; }
.context-value.highlight { color: var(--gw-gold); }

/* ============================================================
   ILLUSTRATIVE DATA NOTE
   ============================================================ */
.demo-data-note {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--gw-medium);
  background: var(--gw-ivory);
  border: 1px solid var(--gw-border);
  border-radius: 4px;
  padding: 6px 10px;
  margin-bottom: 16px;
}
.demo-data-note i { color: var(--gw-gold); }

/* ============================================================
   ALERTS / NOTIFICATIONS
   ============================================================ */
.alert {
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 13px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 16px;
}
.alert i { margin-top: 1px; flex-shrink: 0; }
.alert-info { background: #EFF6FF; color: #1D4ED8; border: 1px solid #BFDBFE; }
.alert-warning { background: #FFFBEB; color: #92400E; border: 1px solid #FDE68A; }
.alert-success { background: #ECFDF5; color: #065F46; border: 1px solid #A7F3D0; }
.alert-danger { background: #FEF2F2; color: #991B1B; border: 1px solid #FECACA; }

/* ============================================================
   PRESENTOR TOOLS PANEL
   ============================================================ */
.presenter-panel {
  position: fixed;
  top: 60px;
  right: 0;
  width: 320px;
  height: calc(100vh - 60px);
  background: var(--gw-dark);
  z-index: 300;
  padding: 24px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.25s ease;
  border-left: 1px solid rgba(255,255,255,0.1);
}
.presenter-panel.open { transform: translateX(0); }
.presenter-panel-title {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gw-gold);
  font-weight: 600;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.presenter-tool-btn {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  color: white;
  font-size: 13px;
  cursor: pointer;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.15s;
  margin-bottom: 8px;
}
.presenter-tool-btn:hover { background: rgba(255,255,255,0.1); }
.presenter-tool-btn i { color: var(--gw-gold); width: 16px; }

/* ============================================================
   POWER BI CHART CONTAINERS
   ============================================================ */
.chart-container { position: relative; }
.chart-container canvas { max-height: 240px; }

/* ============================================================
   HOTEL CARD
   ============================================================ */
.hotel-row-card {
  border: 1px solid var(--gw-border);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 16px;
  transition: box-shadow 0.15s;
}
.hotel-row-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.06); cursor: pointer; }
.hotel-row-header {
  padding: 16px 20px;
  background: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--gw-border-light);
}
.hotel-name-badge {
  display: flex;
  align-items: center;
  gap: 12px;
}
.hotel-icon {
  width: 36px; height: 36px;
  background: var(--gw-dark);
  color: var(--gw-gold-light);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
}
.hotel-name { font-size: 15px; font-weight: 600; color: var(--gw-dark); }
.hotel-city { font-size: 12px; color: var(--gw-medium); }
.hotel-row-metrics {
  padding: 14px 20px;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  background: var(--gw-ivory);
}
.hotel-metric { text-align: center; }
.hotel-metric-label { font-size: 10px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--gw-medium); }
.hotel-metric-value { font-size: 14px; font-weight: 700; color: var(--gw-dark); margin-top: 2px; }

/* ============================================================
   MISC UTILITIES
   ============================================================ */
.text-gold { color: var(--gw-gold); }
.text-muted { color: var(--gw-medium); }
.text-dark { color: var(--gw-dark); }
.text-sm { font-size: 12px; }
.text-xs { font-size: 11px; }
.text-right { text-align: right; }
.font-mono { font-family: 'SF Mono', 'Fira Code', monospace; font-size: 12px; }
.mt-0 { margin-top: 0; }
.mt-4 { margin-top: 4px; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-16 { margin-bottom: 16px; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.w-full { width: 100%; }
.hidden { display: none !important; }

/* ============================================================
   SCROLLBAR
   ============================================================ */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--gw-border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gw-muted); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1200px) {
  .hotel-row-metrics { grid-template-columns: repeat(4, 1fr); }
  .mix-visualizer { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .app-nav { width: 48px; min-width: 48px; padding: 12px 0; }
  .nav-item span, .nav-section-label, .nav-system-badge, .nav-badge { display: none; }
  .page-content { padding: 20px; }
  .form-grid-2 { grid-template-columns: 1fr; }
  .form-grid-3 { grid-template-columns: 1fr 1fr; }
}
