:root {
  --ey-yellow: #FFE600;
  --ey-dark: #2E2E38;
  --ey-darker: #1A1A24;
  --ey-gray-100: #F5F5F6;
  --ey-gray-200: #E6E6E9;
  --ey-gray-300: #C4C4CD;
  --ey-gray-400: #9897A6;
  --ey-gray-500: #747480;
  --bg-app: #F0F2F5;
  --bg-surface: #FFFFFF;
  --bg-sidebar: #1A1A24;
  --text-primary: #2E2E38;
  --text-secondary: #747480;
  --text-on-dark: #FFFFFF;
  --accent: #FFE600;
  --status-new: #5C6BC0;
  --status-assessed: #FF9800;
  --status-progress: #2196F3;
  --status-auto: #00BCD4;
  --status-resolved: #4CAF50;
  --status-critical: #F44336;
  --priority-low: #8BC34A;
  --priority-medium: #FF9800;
  --priority-high: #F44336;
  --priority-critical: #D32F2F;
  --radius: 10px;
  --radius-sm: 6px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --sidebar-width: 240px;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg-app);
  color: var(--text-primary);
  line-height: 1.5;
  overflow: hidden;
  height: 100vh;
}

.app-layout {
  display: flex;
  height: 100vh;
}

/* Sidebar */
.sidebar {
  width: var(--sidebar-width);
  background: var(--bg-sidebar);
  color: var(--text-on-dark);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition);
  z-index: 100;
  flex-shrink: 0;
}

.sidebar-header {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-area a { display: flex; align-items: center; }
.logo-text { font-size: 15px; font-weight: 600; letter-spacing: 0.3px; }

.nav-menu {
  list-style: none;
  padding: 12px 0;
  flex: 1;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  cursor: pointer;
  font-size: 14px;
  color: var(--ey-gray-400);
  transition: all var(--transition);
  position: relative;
}

.nav-item svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.nav-item:hover {
  color: var(--text-on-dark);
  background: rgba(255,255,255,0.05);
}

.nav-item.active {
  color: var(--accent);
  background: rgba(255,230,0,0.08);
}

.nav-item.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 3px;
  background: var(--accent);
  border-radius: 0 3px 3px 0;
}

.sidebar-footer {
  padding: 16px 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.autonomy-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--status-resolved);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--status-resolved);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

/* Main Area */
.main-area {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-width: 0;
}

.top-bar {
  background: var(--bg-surface);
  padding: 12px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--ey-gray-200);
  flex-shrink: 0;
}

.top-bar-left { display: flex; align-items: center; gap: 16px; }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.menu-toggle svg { width: 24px; height: 24px; color: var(--text-primary); }

.page-title { font-size: 20px; font-weight: 600; }

.top-bar-right { display: flex; align-items: center; gap: 16px; }

.live-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--status-resolved);
  background: rgba(76,175,80,0.08);
  padding: 4px 12px;
  border-radius: 20px;
}

.live-dot {
  width: 6px;
  height: 6px;
  background: var(--status-resolved);
  border-radius: 50%;
  animation: pulse 1.5s ease-in-out infinite;
}

.user-avatar-sm {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--ey-gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
}

.user-avatar-sm svg { width: 20px; height: 20px; color: var(--text-secondary); }

/* Content Area */
.content-area {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
}

.view { display: none; }
.view.active { display: block; animation: fadeIn 0.4s ease; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Metrics Grid */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.metric-card {
  background: var(--bg-surface);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  animation: slideUp 0.5s ease both;
}

.metric-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
}

.metric-card.total::after { background: var(--ey-dark); }
.metric-card.pending::after { background: var(--status-new); }
.metric-card.assessed::after { background: var(--status-assessed); }
.metric-card.resolved::after { background: var(--status-resolved); }
.metric-card.auto::after { background: var(--status-auto); }

.metric-label {
  font-size: 12px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.metric-value {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
}

.metric-sub {
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 8px;
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.metric-card:nth-child(1) { animation-delay: 0.05s; }
.metric-card:nth-child(2) { animation-delay: 0.1s; }
.metric-card:nth-child(3) { animation-delay: 0.15s; }
.metric-card:nth-child(4) { animation-delay: 0.2s; }
.metric-card:nth-child(5) { animation-delay: 0.25s; }

/* Cards */
.card {
  background: var(--bg-surface);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 16px;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.card-header h3 { font-size: 15px; font-weight: 600; }

.fade-in-up {
  animation: slideUp 0.5s ease both;
  animation-delay: var(--delay, 0s);
}

/* Dashboard Charts */
.dashboard-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.chart-card { min-height: 260px; }

.chart-container {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 180px;
  padding-top: 10px;
}

.chart-bar-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  justify-content: flex-end;
}

.chart-bar {
  width: 100%;
  max-width: 40px;
  background: linear-gradient(180deg, var(--accent) 0%, #e6cf00 100%);
  border-radius: 4px 4px 0 0;
  transition: height 1s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  min-height: 4px;
}

.chart-bar:hover { filter: brightness(1.1); }

.chart-bar-label {
  font-size: 11px;
  color: var(--text-secondary);
  margin-top: 6px;
}

.chart-bar-value {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

/* Category Bars */
.category-bars { display: flex; flex-direction: column; gap: 12px; }

.cat-row { display: flex; align-items: center; gap: 12px; }

.cat-label {
  width: 110px;
  font-size: 12px;
  color: var(--text-secondary);
  text-align: right;
  flex-shrink: 0;
}

.cat-bar-track {
  flex: 1;
  height: 20px;
  background: var(--ey-gray-100);
  border-radius: 10px;
  overflow: hidden;
}

.cat-bar-fill {
  height: 100%;
  border-radius: 10px;
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  min-width: 2px;
}

.cat-bar-fill.c0 { background: linear-gradient(90deg, #5C6BC0, #7986CB); }
.cat-bar-fill.c1 { background: linear-gradient(90deg, #FF9800, #FFB74D); }
.cat-bar-fill.c2 { background: linear-gradient(90deg, #4CAF50, #81C784); }
.cat-bar-fill.c3 { background: linear-gradient(90deg, #2196F3, #64B5F6); }
.cat-bar-fill.c4 { background: linear-gradient(90deg, #F44336, #E57373); }
.cat-bar-fill.c5 { background: linear-gradient(90deg, #9C27B0, #BA68C8); }
.cat-bar-fill.c6 { background: linear-gradient(90deg, #00BCD4, #4DD0E1); }
.cat-bar-fill.c7 { background: linear-gradient(90deg, #795548, #A1887F); }

.cat-count {
  width: 30px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}

/* Activity List */
.activity-list { display: flex; flex-direction: column; }

.activity-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--ey-gray-100);
  cursor: pointer;
  transition: background var(--transition);
}

.activity-item:last-child { border-bottom: none; }
.activity-item:hover { background: var(--ey-gray-100); margin: 0 -20px; padding: 12px 20px; }

.activity-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.activity-info { flex: 1; min-width: 0; }

.activity-title {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.activity-meta {
  font-size: 11px;
  color: var(--text-secondary);
  margin-top: 2px;
}

.activity-badge {
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
}

/* Status Badges */
.badge-new { background: rgba(92,107,192,0.12); color: var(--status-new); }
.badge-assessed { background: rgba(255,152,0,0.12); color: var(--status-assessed); }
.badge-in_progress { background: rgba(33,150,243,0.12); color: var(--status-progress); }
.badge-auto_resolved { background: rgba(0,188,212,0.12); color: var(--status-auto); }
.badge-resolved { background: rgba(76,175,80,0.12); color: var(--status-resolved); }

/* Filter Bar */
.filter-bar {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.search-box {
  flex: 1;
  min-width: 200px;
  position: relative;
}

.search-box svg {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--text-secondary);
}

.search-box input {
  width: 100%;
  padding: 10px 14px 10px 40px;
  border: 1px solid var(--ey-gray-200);
  border-radius: var(--radius-sm);
  font-size: 14px;
  outline: none;
  transition: border-color var(--transition);
  background: var(--bg-surface);
}

.search-box input:focus { border-color: var(--ey-dark); }

.filter-select {
  padding: 10px 14px;
  border: 1px solid var(--ey-gray-200);
  border-radius: var(--radius-sm);
  font-size: 14px;
  outline: none;
  background: var(--bg-surface);
  cursor: pointer;
  min-width: 150px;
}

/* Requests Table */
.requests-table { display: flex; flex-direction: column; gap: 8px; }

.request-row {
  background: var(--bg-surface);
  border-radius: var(--radius);
  padding: 16px 20px;
  display: grid;
  grid-template-columns: 1fr 140px 100px 100px 120px;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: all var(--transition);
  animation: slideUp 0.3s ease both;
}

.request-row:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.request-row-title {
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.request-row-sub {
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 2px;
}

.request-row-cell {
  font-size: 13px;
  color: var(--text-secondary);
}

.priority-badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 500;
}

.priority-Low { background: rgba(139,195,74,0.12); color: var(--priority-low); }
.priority-Medium { background: rgba(255,152,0,0.12); color: var(--priority-medium); }
.priority-High { background: rgba(244,67,54,0.12); color: var(--priority-high); }
.priority-Critical { background: rgba(211,47,47,0.15); color: var(--priority-critical); }

/* Request Detail */
.detail-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}

.detail-back {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-secondary);
  cursor: pointer;
  margin-bottom: 16px;
  transition: color var(--transition);
}

.detail-back:hover { color: var(--text-primary); }
.detail-back svg { width: 18px; height: 18px; }

.detail-title { font-size: 22px; font-weight: 600; margin-bottom: 8px; }

.detail-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.detail-meta-item {
  font-size: 13px;
  color: var(--text-secondary);
}

.detail-meta-item strong { color: var(--text-primary); }

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.score-bar-track {
  width: 100%;
  height: 8px;
  background: var(--ey-gray-100);
  border-radius: 4px;
  overflow: hidden;
  margin-top: 8px;
}

.score-bar-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 1s ease;
}

.score-label {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  margin-bottom: 4px;
}

.action-list { display: flex; flex-direction: column; gap: 8px; }

.action-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--ey-gray-100);
  border-radius: var(--radius-sm);
  font-size: 13px;
}

.action-priority {
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 500;
}

.action-priority-Immediate { background: #F44336; color: white; }
.action-priority-High { background: #FF9800; color: white; }
.action-priority-Medium { background: #2196F3; color: white; }

.response-text {
  white-space: pre-wrap;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-primary);
  background: var(--ey-gray-100);
  padding: 16px;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--accent);
}

.next-steps-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}

.next-step {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}

.step-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--ey-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

.docs-list { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }

.doc-link {
  font-size: 13px;
  color: var(--status-progress);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
}

.doc-link:hover { text-decoration: underline; }

.relevance-tag {
  font-size: 10px;
  padding: 1px 6px;
  border-radius: 3px;
  background: rgba(33,150,243,0.1);
  color: var(--status-progress);
}

/* Form */
.form-card { max-width: 800px; }

.request-form { display: flex; flex-direction: column; gap: 16px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group { display: flex; flex-direction: column; gap: 6px; }

.form-group label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 10px 14px;
  border: 1px solid var(--ey-gray-200);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color var(--transition);
  background: var(--bg-surface);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--ey-dark);
}

.form-actions-row {
  display: flex;
  justify-content: flex-end;
  margin-top: 8px;
}

.btn-primary {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: var(--ey-dark);
  color: var(--text-on-dark);
  border: none;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-primary:hover { background: #1e1e28; transform: translateY(-1px); }

.btn-text {
  background: none;
  border: none;
  color: var(--status-progress);
  font-size: 13px;
  cursor: pointer;
  font-weight: 500;
}

.btn-text:hover { text-decoration: underline; }

.btn-outline {
  padding: 8px 20px;
  background: transparent;
  color: var(--ey-dark);
  border: 1px solid var(--ey-gray-300);
  border-radius: var(--radius-sm);
  font-size: 13px;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-outline:hover { border-color: var(--ey-dark); background: var(--ey-gray-100); }

/* Assessment Result */
.assessment-result {
  max-width: 800px;
  border-left: 4px solid var(--status-resolved);
  animation: slideUp 0.5s ease;
}

/* Data Sources */
.datasources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.ds-card {
  background: var(--bg-surface);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  animation: slideUp 0.4s ease both;
}

.ds-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.ds-header { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }

.ds-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.ds-icon.documentation { background: rgba(33,150,243,0.1); color: #2196F3; }
.ds-icon.historical { background: rgba(156,39,176,0.1); color: #9C27B0; }
.ds-icon.templates { background: rgba(255,152,0,0.1); color: #FF9800; }
.ds-icon.logs { background: rgba(76,175,80,0.1); color: #4CAF50; }

.ds-name { font-size: 15px; font-weight: 600; }
.ds-type { font-size: 12px; color: var(--text-secondary); }

.ds-stats { display: flex; justify-content: space-between; margin-top: 12px; }

.ds-stat-label { font-size: 11px; color: var(--text-secondary); }
.ds-stat-value { font-size: 14px; font-weight: 600; margin-top: 2px; }

.ds-status {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 12px;
  color: var(--status-resolved);
}

.ds-status-dot {
  width: 6px;
  height: 6px;
  background: var(--status-resolved);
  border-radius: 50%;
}

/* Processing Overlay */
.processing-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  backdrop-filter: blur(4px);
}

.processing-overlay.active { display: flex; }

.processing-modal {
  background: var(--bg-surface);
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  min-width: 320px;
}

.processing-spinner {
  position: relative;
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
}

.spinner-ring {
  position: absolute;
  inset: 0;
  border: 3px solid transparent;
  border-radius: 50%;
}

.spinner-ring:nth-child(1) {
  border-top-color: var(--accent);
  animation: spin 1s linear infinite;
}

.spinner-ring:nth-child(2) {
  inset: 6px;
  border-right-color: var(--ey-dark);
  animation: spin 1.5s linear infinite reverse;
}

.spinner-ring:nth-child(3) {
  inset: 12px;
  border-bottom-color: var(--status-progress);
  animation: spin 2s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.processing-text {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.processing-steps { text-align: left; }

.processing-step {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  font-size: 13px;
  color: var(--text-secondary);
  transition: color 0.3s;
}

.processing-step.done { color: var(--status-resolved); }

.processing-step.active {
  color: var(--text-primary);
  font-weight: 500;
}

.step-icon { width: 18px; text-align: center; }

/* Footer */
.app-footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--ey-gray-200);
  padding: 10px 24px;
  flex-shrink: 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo { height: 24px; }

.footer-text {
  font-size: 11px;
  color: var(--text-secondary);
}

/* CRM Connection */
.btn-crm-connect {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid var(--ey-gray-300);
  background: var(--bg-surface);
  color: var(--text-primary);
  transition: all var(--transition);
}

.btn-crm-connect:hover {
  border-color: var(--ey-dark);
  background: var(--ey-gray-100);
}

.btn-crm-connect.connected {
  border-color: var(--status-resolved);
  color: var(--status-resolved);
  background: rgba(76,175,80,0.06);
}

.btn-crm-connect.syncing {
  border-color: var(--status-assessed);
  color: var(--status-assessed);
}

.user-info-badge {
  font-size: 12px;
  color: var(--text-secondary);
  padding: 4px 10px;
  background: var(--ey-gray-100);
  border-radius: 20px;
}

.ds-icon.crm { background: rgba(0,120,212,0.1); color: #0078D4; }

/* Count-up animation helper */
.count-up { display: inline-block; }

/* Responsive */
@media (max-width: 1024px) {
  .dashboard-row { grid-template-columns: 1fr; }
  .detail-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .sidebar {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    transform: translateX(-100%);
  }
  .sidebar.open { transform: translateX(0); }
  .menu-toggle { display: block; }

  .request-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .form-row { grid-template-columns: 1fr; }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
}
