:root {
  color-scheme: dark;
  --bg: #09080d;
  --bg-soft: #0f1111;
  --surface: #151217;
  --surface-2: #1a1024;
  --surface-3: #241533;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #f5f7fb;
  --muted: #a5adbb;
  --muted-2: #737b89;
  --primary: #8750f7;
  --primary-strong: #a66cff;
  --primary-soft: rgba(135, 80, 247, 0.16);
  --accent: #c084fc;
  --accent-soft: rgba(192, 132, 252, 0.12);
  --danger: #fb7185;
  --danger-soft: rgba(251, 113, 133, 0.12);
  --warning: #f59e0b;
  --warning-soft: rgba(245, 158, 11, 0.12);
  --info: #67e8f9;
  --info-soft: rgba(103, 232, 249, 0.12);
  --radius: 8px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.34);
  --sidebar: 264px;
  --topbar: 64px;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  max-width: 100%;
  overflow: hidden;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(135, 80, 247, 0.12), transparent 34rem),
    radial-gradient(circle at bottom right, rgba(192, 132, 252, 0.06), transparent 30rem),
    #111214;
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  letter-spacing: 0;
}

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

button {
  cursor: pointer;
}

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

.material-symbols-outlined {
  font-size: 20px;
  line-height: 1;
  font-variation-settings: "FILL" 0, "wght" 500, "GRAD" 0, "opsz" 24;
}

.app-shell {
  position: relative;
  width: 100%;
  max-width: 100%;
  height: 100vh;
  margin: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: rgba(10, 11, 12, 0.94);
  box-shadow: none;
}

.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 30;
  width: var(--sidebar);
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 20px 16px 14px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(26, 29, 29, 0.94);
  backdrop-filter: blur(18px);
  overflow: hidden;
}

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

.brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(135, 80, 247, 0.5);
  border-radius: var(--radius);
  background: var(--primary-soft);
  color: var(--primary);
  font-family: Sora, Inter, sans-serif;
  font-weight: 700;
}

.brand-name {
  margin: 0;
  font-family: Sora, Inter, sans-serif;
  font-size: 17px;
  font-weight: 700;
}

.brand-subtitle {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sidebar-action {
  width: 100%;
  min-height: 42px;
}

.nav-group {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 5px;
  min-height: 0;
  overflow-y: auto;
  padding-right: 2px;
}

.nav-group.secondary {
  flex: 0 0 auto;
  margin-top: auto;
  padding-top: 14px;
  padding-right: 0;
  border-top: 1px solid var(--border);
  overflow: visible;
}

.nav-link {
  min-height: 40px;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 0 12px;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-align: left;
  text-transform: uppercase;
  transition: background 0.18s ease, color 0.18s ease, border 0.18s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
  background: var(--primary-soft);
}

.nav-link.active {
  box-shadow: inset 3px 0 0 var(--primary);
}

.main-shell {
  height: 100vh;
  margin-left: var(--sidebar);
  padding-top: var(--topbar);
  min-width: 0;
  overflow: hidden;
}

.topbar {
  position: fixed;
  top: 0;
  right: 0;
  left: var(--sidebar);
  z-index: 20;
  height: var(--topbar);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(18, 19, 20, 0.92);
  backdrop-filter: blur(16px);
}

.mobile-brand {
  display: none;
  align-items: center;
  gap: 10px;
  font-family: Sora, Inter, sans-serif;
  font-weight: 700;
}

.topbar-search {
  min-width: 260px;
  max-width: 420px;
  flex: 1;
}

.panel,
.metric-card,
.task-column,
.detail-panel,
.list-panel {
  min-width: 0;
}

.search-box {
  min-height: 40px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--muted);
}

.search-box input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
}

.search-box input::placeholder,
input::placeholder,
textarea::placeholder {
  color: var(--muted-2);
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.avatar {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--primary);
  font-family: Sora, Inter, sans-serif;
  font-weight: 700;
}

.page {
  width: 100%;
  max-width: 100%;
  height: calc(100vh - var(--topbar));
  margin: 0 auto;
  padding: 34px clamp(24px, 3vw, 56px);
  overflow-x: hidden;
  overflow-y: auto;
}

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

.page-title {
  margin: 0;
  font-family: Sora, Inter, sans-serif;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.12;
  letter-spacing: 0;
}

.page-subtitle {
  max-width: 680px;
  margin: 9px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.page-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.button {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-2);
  color: var(--text);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: transform 0.18s ease, background 0.18s ease, border 0.18s ease, color 0.18s ease;
}

.button:hover {
  transform: translateY(-1px);
  border-color: var(--border-strong);
  background: var(--surface-3);
}

.button:disabled,
.button:disabled:hover {
  cursor: not-allowed;
  opacity: 0.46;
  transform: none;
}

.button.primary {
  border-color: rgba(135, 80, 247, 0.48);
  background: var(--primary-soft);
  color: var(--primary);
}

.button.danger {
  border-color: rgba(251, 113, 133, 0.35);
  background: var(--danger-soft);
  color: var(--danger);
}

.button.ghost {
  background: transparent;
}

.button.icon {
  width: 38px;
  padding: 0;
}

.panel {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(18, 8, 28, 0.72);
  box-shadow: var(--shadow);
}

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

.panel-title {
  margin: 0;
  font-family: Sora, Inter, sans-serif;
  font-size: 17px;
}

.panel-body {
  padding: 20px;
}

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

.mono {
  font-family: "JetBrains Mono", Consolas, monospace;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 24px;
  padding: 0 9px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.pill.success {
  border-color: rgba(135, 80, 247, 0.32);
  background: rgba(135, 80, 247, 0.12);
  color: var(--primary-strong);
}

.pill.warning {
  border-color: rgba(245, 158, 11, 0.28);
  background: var(--warning-soft);
  color: var(--warning);
}

.pill.danger {
  border-color: rgba(251, 113, 133, 0.28);
  background: var(--danger-soft);
  color: var(--danger);
}

.pill.info {
  border-color: rgba(103, 232, 249, 0.28);
  background: var(--info-soft);
  color: var(--info);
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.metric-card {
  min-height: 144px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(25, 14, 38, 0.94), rgba(17, 8, 27, 0.94));
}

.metric-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
}

.metric-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.metric-value {
  margin: 22px 0 6px;
  font-family: Sora, Inter, sans-serif;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.12;
  overflow-wrap: anywhere;
}

.metric-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(280px, 0.9fr);
  gap: 18px;
}

.bar-chart {
  min-height: 320px;
  display: grid;
  grid-template-columns: repeat(6, minmax(38px, 1fr));
  align-items: end;
  gap: 12px;
  padding-top: 30px;
}

.bar-item {
  display: grid;
  align-items: end;
  gap: 10px;
  min-height: 250px;
}

.bar-track {
  position: relative;
  height: 220px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

.bar-fill {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  min-height: 4px;
  border-radius: var(--radius) var(--radius) 0 0;
  background: linear-gradient(180deg, var(--primary-strong), rgba(135, 80, 247, 0.26));
}

.bar-value,
.bar-label {
  text-align: center;
  color: var(--muted);
  font-size: 12px;
}

.activity-list,
.client-list,
.note-list,
.task-column-list {
  display: flex;
  flex-direction: column;
}

.activity-item {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.activity-item:last-child {
  border-bottom: 0;
}

.activity-icon {
  width: 36px;
  height: 36px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border-radius: var(--radius);
  background: rgba(135, 80, 247, 0.24);
  color: var(--primary);
}

.activity-title,
.client-name,
.task-title {
  font-weight: 700;
}

.activity-subtitle,
.client-meta,
.task-description,
.invoice-meta {
  margin-top: 4px;
  color: var(--muted);
  line-height: 1.5;
}

.client-layout {
  display: grid;
  grid-template-columns: minmax(300px, 380px) minmax(0, 1fr);
  gap: 18px;
  min-height: calc(100vh - 190px);
}

.list-panel {
  overflow: hidden;
}

.list-tools {
  display: grid;
  gap: 10px;
  padding: 14px;
  border-bottom: 1px solid var(--border);
}

.client-list {
  max-height: calc(100vh - 294px);
  overflow: auto;
}

.client-card {
  display: block;
  width: 100%;
  padding: 16px;
  border: 0;
  border-bottom: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  text-align: left;
}

.client-card:hover,
.client-card.active {
  background: var(--surface-2);
}

.client-card.active {
  box-shadow: inset 3px 0 0 var(--primary);
}

.client-card-head,
.detail-head,
.invoice-row-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.client-card-head,
.detail-head {
  align-items: flex-start;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 12px;
}

.detail-panel {
  min-width: 0;
  overflow: hidden;
}

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

.detail-field {
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.detail-label {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.detail-value {
  overflow-wrap: anywhere;
}

.note-form {
  display: grid;
  gap: 10px;
  margin-top: 18px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.note-card,
.task-card {
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(27, 13, 42, 0.88);
}

.note-card + .note-card,
.task-card + .task-card {
  margin-top: 10px;
}

.note-head,
.task-card-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.kanban-toolbar,
.finance-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.toolbar-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.kanban-board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  overflow-x: hidden;
  padding-bottom: 8px;
}

.task-column {
  min-height: 460px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(10, 11, 12, 0.45);
}

.task-column-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 14px;
  border-bottom: 1px solid var(--border);
}

.task-column-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--muted);
}

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

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

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

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

.task-column-list {
  min-height: 400px;
  gap: 10px;
  padding: 14px;
}

.task-column.drag-over {
  border-color: rgba(135, 80, 247, 0.6);
  background: rgba(135, 80, 247, 0.08);
}

.task-card {
  cursor: grab;
}

.task-card:active {
  cursor: grabbing;
}

.task-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--border-strong);
  color: var(--muted);
  font-size: 12px;
}

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

.table-wrap {
  overflow: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

.data-table th,
.data-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  text-align: left;
}

.data-table th {
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.data-table tbody tr:hover {
  background: var(--surface-2);
}

.data-table tbody tr.row-due {
  background: rgba(245, 158, 11, 0.06);
}

.data-table tbody tr.row-due td:first-child {
  box-shadow: inset 3px 0 0 var(--warning);
}

.field,
.textarea,
.select {
  width: 100%;
  min-height: 40px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  outline: 0;
}

.field,
.select {
  padding: 0 12px;
}

.textarea {
  min-height: 96px;
  padding: 12px;
  resize: vertical;
}

.field:focus,
.textarea:focus,
.select:focus {
  border-color: rgba(135, 80, 247, 0.68);
  box-shadow: 0 0 0 3px rgba(135, 80, 247, 0.12);
}

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

.form-field {
  display: grid;
  gap: 7px;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.62);
}

.modal {
  width: min(640px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: var(--surface-2);
  box-shadow: var(--shadow);
}

.modal-head,
.modal-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
}

.modal-foot {
  border-top: 1px solid var(--border);
  border-bottom: 0;
}

.modal-body {
  padding: 18px;
}

.modal-title {
  margin: 0;
  font-family: Sora, Inter, sans-serif;
  font-size: 18px;
}

.toast-stack {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  display: grid;
  gap: 10px;
  width: min(380px, calc(100vw - 36px));
}

.toast {
  padding: 14px 16px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: var(--surface-2);
  color: var(--text);
  box-shadow: var(--shadow);
}

.tab-view {
  display: none;
}

.tab-view.active {
  display: block;
}

.app-dashboard {
  min-height: 0;
}

.reports-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(280px, 0.9fr);
  gap: 18px;
}

.line-chart {
  position: relative;
  min-height: 290px;
}

.line-chart svg {
  width: 100%;
  height: 250px;
  overflow: visible;
}

.line-chart-grid {
  fill: none;
  stroke: rgba(255, 255, 255, 0.13);
  stroke-width: 0.35;
}

.line-chart-fill {
  fill: rgba(135, 80, 247, 0.18);
  stroke: none;
}

.line-chart-line {
  fill: none;
  stroke: var(--primary);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.4;
}

.line-chart-labels {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: 12px;
}

.donut-wrap {
  display: grid;
  place-items: center;
  gap: 22px;
  min-height: 290px;
}

.donut {
  width: 166px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle, #13091f 0 52%, transparent 53%),
    conic-gradient(
      #19c997 0 calc(var(--done) * 1%),
      var(--primary) 0 calc((var(--done) + var(--progress)) * 1%),
      #f59e0b 0 calc((var(--done) + var(--progress) + var(--review)) * 1%),
      rgba(255, 255, 255, 0.1) 0 100%
    );
}

.donut strong {
  display: block;
  font-family: Sora, Inter, sans-serif;
  font-size: 28px;
  text-align: center;
}

.donut span {
  color: var(--muted);
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: 11px;
  text-transform: uppercase;
}

.donut-legend {
  display: grid;
  gap: 9px;
  width: 100%;
}

.donut-legend span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: 12px;
}

.donut-legend i {
  width: 9px;
  height: 9px;
  margin-right: 8px;
  border-radius: 999px;
}

.legend-done {
  background: #19c997;
}

.legend-progress {
  background: var(--primary);
}

.legend-review {
  background: #f59e0b;
}

.login-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.login-card {
  width: min(420px, 100%);
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  background: rgba(14, 8, 22, 0.94);
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.45);
}

.login-card .form-field {
  margin-top: 16px;
}

.login-error {
  margin: 18px 0 4px;
  padding: 12px 14px;
  border: 1px solid rgba(251, 113, 133, 0.35);
  border-radius: var(--radius);
  background: var(--danger-soft);
  color: var(--danger);
}

.empty-state {
  padding: 28px;
  color: var(--muted);
  text-align: center;
}

.mobile-nav {
  display: none;
}

@media (max-width: 1180px) {
  .kpi-grid,
  .kanban-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .client-list {
    max-height: 360px;
  }
}

@media (max-width: 820px) {
  .sidebar {
    display: none;
  }

  .app-shell {
    width: 100%;
    height: 100vh;
    margin: 0;
    border: 0;
    border-radius: 0;
  }

  .main-shell {
    margin-left: 0;
    padding-top: var(--topbar);
    padding-bottom: 74px;
    width: 100%;
    height: 100vh;
  }

  .topbar {
    left: 0;
    padding: 0 16px;
  }

  .mobile-brand {
    display: flex;
  }

  .topbar-search {
    display: none;
  }

  .page {
    padding: 22px 16px;
    height: calc(100vh - var(--topbar) - 74px);
  }

  .page-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .page-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .kpi-grid,
  .summary-grid,
  .detail-grid,
  .form-grid,
  .kanban-board {
    grid-template-columns: 1fr;
  }

  .kanban-board {
    overflow: visible;
  }

  .mobile-nav {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 50;
    display: grid;
    grid-template-columns: repeat(6, minmax(64px, 1fr));
    overflow-x: auto;
    border-top: 1px solid var(--border);
    background: rgba(20, 22, 26, 0.95);
    backdrop-filter: blur(16px);
  }

  .mobile-nav a {
    min-width: 64px;
    min-height: 64px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 4px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
  }

  .mobile-nav a.active {
    color: var(--primary);
  }
}
