/* ══════════════════════════════════════════════════════════════
   PM System — Design System CSS (Phase 1)
   Redesigned 2026-04-19 · Unified Design Tokens & Components
   ══════════════════════════════════════════════════════════════ */

/* ── CSS Variables / Design Tokens (Override / Additions) ── */
:root {
  /* Spacing Scale */
  --space-0: 0;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-14: 56px;
  --space-16: 64px;

  /* Typography */
  --font-xs: 11px;
  --font-sm: 12px;
  --font-base: 13px;
  --font-md: 14px;
  --font-lg: 15px;
  --font-xl: 16px;
  --font-2xl: 20px;
  --font-3xl: 26px;

  /* Font Weights */
  --font-light: 300;
  --font-normal: 400;
  --font-medium: 500;
  --font-semibold: 550;
  --font-bold: 600;
  --font-extrabold: 650;
  --font-black: 700;

  /* Line Heights */
  --leading-tight: 1.2;
  --leading-snug: 1.3;
  --leading-normal: 1.5;
  --leading-relaxed: 1.625;

  /* Z-Index Scale */
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal-backdrop: 1040;
  --z-modal: 1050;
  --z-popover: 1060;
  --z-tooltip: 1070;
}

/* ── Base Reset & Typography (Override) ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font);
  background: var(--bg-page);
  color: var(--text-primary);
  font-size: var(--font-md);
  line-height: var(--leading-normal);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

button {
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
}

/* ── Layout Framework ── */
.app-layout {
  display: flex;
  min-height: 100vh;
}

/* ── Sidebar (Override existing .sidebar) ── */
.sidebar {
  width: var(--sidebar-w, 256px);
  background: var(--bg-sidebar, var(--card));
  border-right: 1px solid var(--border, var(--border));
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 100;
  transition: transform var(--transition, 0.2s ease);
}

.sidebar-header {
  padding: 20px 16px 12px;
  border-bottom: 1px solid var(--border, var(--border));
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sidebar-logo {
  width: 32px;
  height: 32px;
  background: var(--primary);
  border-radius: var(--radius-sm, 8px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: var(--font-bold);
  font-size: 15px;
  flex-shrink: 0;
}

.sidebar-brand-text {
  font-size: var(--font-lg);
  font-weight: var(--font-semibold);
  color: var(--text-primary);
  white-space: nowrap;
}

.sidebar-brand-sub {
  font-size: var(--font-xs);
  color: var(--text-muted);
  margin-top: 1px;
}

.sidebar-nav {
  flex: 1;
  overflow-y: auto;
  padding: 8px 0;
}

.sidebar-nav::-webkit-scrollbar {
  width: 4px;
}

.sidebar-nav::-webkit-scrollbar-thumb {
  background: var(--border, var(--border));
  border-radius: 4px;
}

/* ── Nav Group / Item (Override existing .nav-group/.nav-item) ── */
.nav-group {
  margin-bottom: 4px;
}

.nav-group-label {
  padding: 10px 16px 4px;
  font-size: var(--font-xs);
  font-weight: var(--font-bold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
  transition: background var(--transition);
}

.nav-group-label:hover {
  background: var(--bg-hover);
}

.nav-group-label .chevron {
  width: 14px;
  height: 14px;
  transition: transform var(--transition);
  color: var(--text-muted);
}

.nav-group.collapsed .chevron {
  transform: rotate(-90deg);
}

.nav-group.collapsed .nav-items {
  display: none;
}

.nav-items {
  padding: 2px 8px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 12px;
  border-radius: var(--radius-sm, 8px);
  color: var(--text-secondary);
  font-size: var(--font-sm);
  font-weight: 450;
  transition: all var(--transition);
  cursor: pointer;
  white-space: nowrap;
}

.nav-item:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
}

.nav-item.active {
  background: var(--bg-active);
  color: var(--primary);
  font-weight: var(--font-semibold);
}

.nav-item i {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  opacity: 0.7;
}

.nav-item.active i {
  opacity: 1;
}

.nav-item .badge {
  margin-left: auto;
  font-size: var(--font-xs);
  font-weight: var(--font-bold);
  padding: 1px 7px;
  border-radius: 10px;
  background: var(--primary);
  color: var(--text-inverse);
}

/* ── Sidebar Footer ── */
.sidebar-footer {
  padding: 12px 16px;
  border-top: 1px solid var(--border, var(--border));
}

.sidebar-user {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
}

.user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #7c3aed);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 13px;
  font-weight: var(--font-semibold);
  flex-shrink: 0;
}

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

.user-name {
  font-size: var(--font-sm);
  font-weight: var(--font-semibold);
  color: var(--text-primary);
}

.user-role {
  font-size: var(--font-xs);
  color: var(--text-muted);
}

.theme-toggle {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm, 8px);
  border: 1px solid var(--border, var(--border));
  background: var(--bg-card, var(--card));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all var(--transition);
  flex-shrink: 0;
}

.theme-toggle:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
}

.sidebar-logout {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: var(--radius-sm, 8px);
  color: var(--text-secondary);
  font-size: var(--font-sm);
  cursor: pointer;
  transition: background var(--transition);
  margin-top: 4px;
}

.sidebar-logout:hover {
  background: var(--bg-hover);
  color: var(--danger);
}

/* ── Mobile Sidebar Toggle ── */
.mobile-toggle {
  display: none;
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm, 8px);
  border: 1px solid var(--border, var(--border));
  background: var(--bg-card, var(--card));
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
}

.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 90;
}

/* ── Main Content ── */
.main-content {
  flex: 1;
  margin-left: var(--sidebar-w, 256px);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.main-shell {
  flex: 1;
  display: flex;
  flex-direction: column;
  margin-left: var(--sidebar-w, 256px);
}

/* ── Page Framework ── */
.page {
  display: none;
  flex-direction: column;
  flex: 1;
  animation: fadeIn 0.2s ease;
}

.page.active {
  display: flex;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Page Header (New) ── */
.page-header {
  padding: 20px 28px 16px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.page-header-left h1 {
  font-size: var(--font-2xl);
  font-weight: var(--font-extrabold);
  color: var(--text-primary);
  line-height: 1.3;
}

.page-header-left p {
  font-size: var(--font-sm);
  color: var(--text-muted);
  margin-top: 2px;
}

.page-header-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-shrink: 0;
}

/* ── Buttons (Override) ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: var(--radius-sm, 8px);
  font-size: var(--font-sm);
  font-weight: var(--font-medium);
  border: 1px solid var(--border, var(--border));
  background: var(--bg-card, var(--card));
  color: var(--text-secondary);
  transition: all var(--transition);
  white-space: nowrap;
}

.btn:hover {
  background: var(--bg-hover);
  border-color: var(--text-placeholder);
}

.btn i {
  width: 15px;
  height: 15px;
}

.btn-primary {
  background: var(--primary);
  color: var(--text-inverse);
  border-color: var(--primary);
}

.btn-primary:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
}

.btn-sm {
  padding: 5px 10px;
  font-size: var(--font-xs);
}

.btn-sm i {
  width: 14px;
  height: 14px;
}

.btn-group {
  display: inline-flex;
  border-radius: var(--radius-sm, 8px);
  overflow: hidden;
  border: 1px solid var(--border, var(--border));
}

.btn-group .btn {
  border: none;
  border-radius: 0;
}

.btn-group .btn:first-child {
  border-left: 1px solid var(--border, var(--border));
}

.btn-group .btn:last-child {
  border-right: 1px solid var(--border, var(--border));
}

.btn-group .btn.active {
  background: var(--primary);
  color: var(--text-inverse);
  z-index: 1;
}

/* ── Stats Row (New) ── */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  padding: 0 28px 16px;
}

.stat-card {
  background: var(--bg-card, var(--card));
  border: 1px solid var(--border, var(--border));
  border-radius: var(--radius-md, 12px);
  padding: 16px 18px;
  transition: box-shadow var(--transition);
}

.stat-card:hover {
  box-shadow: var(--shadow-md);
}

.stat-label {
  font-size: var(--font-xs);
  color: var(--text-muted);
  font-weight: var(--font-medium);
  display: flex;
  align-items: center;
  gap: 6px;
}

.stat-label i {
  width: 14px;
  height: 14px;
}

.stat-value {
  font-size: var(--font-3xl);
  font-weight: var(--font-black);
  color: var(--text-primary);
  margin-top: 4px;
  line-height: 1.2;
}

.stat-value .unit {
  font-size: var(--font-sm);
  font-weight: var(--font-medium);
  color: var(--text-muted);
  margin-left: 2px;
}

.stat-change {
  font-size: var(--font-xs);
  margin-top: 4px;
  font-weight: var(--font-medium);
  display: flex;
  align-items: center;
  gap: 3px;
}

.stat-change i {
  width: 13px;
  height: 13px;
}

.stat-change.up {
  color: var(--success);
}

.stat-change.down {
  color: var(--danger);
}

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

/* ── Content Area (New) ── */
.content-area {
  padding: 0 28px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ── Card (Override) ── */
.card {
  background: var(--bg-card, var(--card));
  border: 1px solid var(--border, var(--border));
  border-radius: var(--radius-md, 12px);
  overflow: hidden;
}

.card-header {
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border, var(--border));
}

.card-title {
  font-size: var(--font-md);
  font-weight: var(--font-bold);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-title i {
  width: 16px;
  height: 16px;
  color: var(--text-muted);
}

.card-body {
  padding: 18px;
}

.card-footer {
  padding: 12px 18px;
  border-top: 1px solid var(--border, var(--border));
  background: var(--bg-page, var(--bg));
}

/* ── Grid Layout ── */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

/* ── Chart Placeholders ── */
.chart-placeholder {
  height: 220px;
  background: var(--bg-page, var(--bg));
  border-radius: var(--radius-sm, 8px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: var(--font-sm);
  position: relative;
  overflow: hidden;
}

.chart-placeholder i {
  width: 28px;
  height: 28px;
  margin-bottom: 8px;
  opacity: 0.5;
}

/* ── Donut Placeholder ── */
.donut-placeholder {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: conic-gradient(var(--primary) 0deg 130deg,
      var(--success) 130deg 210deg,
      var(--warning) 210deg 280deg,
      #8b5cf6 280deg 330deg,
      var(--border, var(--border)) 330deg 360deg);
  position: relative;
  margin: 10px auto;
}

.donut-placeholder::after {
  content: '';
  position: absolute;
  inset: 35%;
  border-radius: 50%;
  background: var(--bg-card, var(--card));
}

.donut-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 16px;
  font-size: var(--font-sm);
  color: var(--text-secondary);
}

.donut-legend span {
  display: flex;
  align-items: center;
  gap: 5px;
}

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

/* ── Table (Override) ── */
.table-wrapper {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--font-sm);
}

thead {
  position: sticky;
  top: 0;
  z-index: 1;
}

th {
  background: var(--bg-page, var(--bg));
  padding: 10px 14px;
  text-align: left;
  font-weight: var(--font-bold);
  font-size: var(--font-xs);
  color: var(--text-muted);
  border-bottom: 1px solid var(--border, var(--border));
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border-light, var(--border-light));
  color: var(--text-secondary);
  white-space: nowrap;
}

tr:last-child td {
  border-bottom: none;
}

tr:hover td {
  background: var(--bg-hover);
}

/* ── Status Badges ── */
.status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: var(--font-xs);
  font-weight: var(--font-medium);
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.status-active {
  background: var(--success-light);
  color: var(--success);
}

.status-active .status-dot {
  background: var(--success);
}

.status-warning {
  background: var(--warning-light);
  color: var(--warning);
}

.status-warning .status-dot {
  background: var(--warning);
}

.status-danger {
  background: var(--danger-light);
  color: var(--danger);
}

.status-danger .status-dot {
  background: var(--danger);
}

.status-default {
  background: var(--badge-bg, var(--bg-badge));
  color: var(--text-muted);
}

.status-default .status-dot {
  background: var(--text-placeholder);
}

.status-primary {
  background: var(--primary-light);
  color: var(--primary);
}

.status-primary .status-dot {
  background: var(--primary);
}

/* ── Progress Bar ── */
.progress-bar {
  width: 100px;
  height: 6px;
  background: var(--border, var(--border));
  border-radius: 3px;
  overflow: hidden;
  display: inline-block;
  vertical-align: middle;
  margin-right: 6px;
}

.progress-fill {
  height: 100%;
  border-radius: 3px;
  background: var(--primary);
  transition: width 0.6s ease;
}

.progress-fill.high {
  background: var(--success);
}

.progress-fill.mid {
  background: var(--warning);
}

.progress-fill.low {
  background: var(--danger);
}

/* ── Filter Bar (New) ── */
.filter-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 28px 12px;
  flex-wrap: wrap;
}

.filter-bar .search-input {
  flex: 0 1 280px;
}

.search-input {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border: 1px solid var(--border, var(--border));
  border-radius: var(--radius-sm, 8px);
  background: var(--bg-input, var(--card));
  transition: border-color var(--transition);
}

.search-input:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.search-input i {
  width: 15px;
  height: 15px;
  color: var(--text-placeholder);
  flex-shrink: 0;
}

.search-input input {
  border: none;
  background: none;
  outline: none;
  font-size: var(--font-sm);
  color: var(--text-primary);
  width: 100%;
  font-family: inherit;
}

.search-input input::placeholder {
  color: var(--text-placeholder);
}

.filter-select {
  padding: 7px 28px 7px 10px;
  border: 1px solid var(--border, var(--border));
  border-radius: var(--radius-sm, 8px);
  background: var(--bg-input, var(--card));
  font-size: var(--font-sm);
  color: var(--text-secondary);
  font-family: inherit;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  cursor: pointer;
}

.filter-select:focus {
  outline: none;
  border-color: var(--primary);
}

/* ── Pivot Table ── */
.pivot-table th.date-col {
  min-width: 48px;
  text-align: center;
  font-size: var(--font-xs);
  padding: 8px 6px;
}

.pivot-table td.hours-cell {
  text-align: center;
  padding: 8px 6px;
  font-size: var(--font-xs);
  font-variant-numeric: tabular-nums;
}

.pivot-table td.hours-cell.has-value {
  background: var(--primary-light);
  color: var(--primary);
  font-weight: var(--font-semibold);
}

.pivot-table td.hours-cell.high-value {
  background: var(--primary);
  color: white;
  font-weight: var(--font-semibold);
}

.pivot-table td.total-col {
  font-weight: var(--font-black);
  color: var(--text-primary);
  background: var(--bg-page, var(--bg));
}

.pivot-table .name-col {
  position: sticky;
  left: 0;
  background: var(--bg-card, var(--card));
  z-index: 1;
  font-weight: var(--font-semibold);
  color: var(--text-primary);
}

.pivot-table thead .name-col {
  background: var(--bg-page, var(--bg));
}

/* ── Empty State (New) ── */
.empty-state {
  padding: 60px 20px;
  text-align: center;
  color: var(--text-muted);
}

.empty-state i {
  width: 40px;
  height: 40px;
  margin-bottom: 12px;
  opacity: 0.4;
}

.empty-state p {
  font-size: var(--font-md);
}

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

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

  .stats-row {
    padding: 0 16px 12px;
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .sidebar {
    transform: translateX(-100%);
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .sidebar-overlay.show {
    display: block;
  }

  .mobile-toggle {
    display: flex;
  }

  .main-content,
  .main-shell {
    margin-left: 0;
  }

  .page-header {
    padding: 16px 16px 12px;
    padding-top: 56px;
  }

  .content-area {
    padding: 0 16px 16px;
  }

  .filter-bar {
    padding: 0 16px 10px;
  }

  .page-header-actions {
    display: none;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .stats-row {
    grid-template-columns: 1fr;
  }

  .grid-4 {
    grid-template-columns: 1fr;
  }
}

/* ── Scrollbar (Override) ── */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: var(--border, var(--border));
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-placeholder);
}

/* ── Utility Classes ── */
.text-primary {
  color: var(--primary);
}

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

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

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

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

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

.font-xs {
  font-size: var(--font-xs);
}

.font-sm {
  font-size: var(--font-sm);
}

.font-md {
  font-size: var(--font-md);
}

.font-lg {
  font-size: var(--font-lg);
}

.font-xl {
  font-size: var(--font-xl);
}

.font-2xl {
  font-size: var(--font-2xl);
}

.font-3xl {
  font-size: var(--font-3xl);
}

.font-light {
  font-weight: var(--font-light);
}

.font-normal {
  font-weight: var(--font-normal);
}

.font-medium {
  font-weight: var(--font-medium);
}

.font-semibold {
  font-weight: var(--font-semibold);
}

.font-bold {
  font-weight: var(--font-bold);
}

.font-extrabold {
  font-weight: var(--font-extrabold);
}

.font-black {
  font-weight: var(--font-black);
}

.font-mono {
  font-family: 'SF Mono', 'Cascadia Code', 'Consolas', monospace;
  font-size: var(--font-xs);
}

.font-tabular {
  font-variant-numeric: tabular-nums;
}

.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 200px;
}

.w-full {
  width: 100%;
}

.w-auto {
  width: auto;
}

.h-100 {
  height: 100%;
}

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.gap-1 {
  gap: var(--space-1);
}

.gap-2 {
  gap: var(--space-2);
}

.gap-3 {
  gap: var(--space-3);
}

.gap-4 {
  gap: var(--space-4);
}

.gap-6 {
  gap: var(--space-6);
}

.gap-8 {
  gap: var(--space-8);
}

.rounded-sm {
  border-radius: var(--radius-sm, 8px);
}

.rounded-md {
  border-radius: var(--radius-md, 12px);
}

.rounded-lg {
  border-radius: var(--radius-lg, 16px);
}

.rounded-full {
  border-radius: 9999px;
}

.shadow-sm {
  box-shadow: var(--shadow-sm, 0 1px 3px rgba(0, 0, 0, 0.08));
}

.shadow-md {
  box-shadow: var(--shadow-md, 0 4px 12px rgba(0, 0, 0, 0.08));
}

/* ── Mobile Header (Override existing .mobile-header) ── */
.mobile-header {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 56px;
  background: var(--bg-card, var(--card));
  border-bottom: 1px solid var(--border, var(--border));
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  z-index: 100;
}

.mobile-title {
  font-size: var(--font-md);
  font-weight: var(--font-bold);
  color: var(--text-primary);
}
