@import url("https://fonts.googleapis.com/css2?family=Press+Start+2P&family=VT323&family=Space+Mono:wght@400;700&display=swap");

:root {
  color-scheme: dark;
  --void: #0e0724;
  --void-deep: #070318;
  --panel: #1a1038;
  --panel-alt: #221545;
  --line: #3b2470;
  --line-soft: #2c1a56;
  --ink: #ece8ff;
  --muted: #a194d6;
  --soft: #7d6fb4;
  --cyan: #3ff0dc;
  --magenta: #ff4fa3;
  --yellow: #ffd23f;
  --green: #5dff95;
  --orange: #ff8a3d;
  --accent: var(--cyan);
  --accent-dark: #8ef7ea;
  --accent-soft: #23183f;
  --shadow: 4px 4px 0 var(--void-deep);
  --shadow-lift: 7px 7px 0 var(--void-deep);
  --pixel: "Press Start 2P", "Courier New", monospace;
  --crt: "VT323", "Courier New", monospace;
  font-family: "Space Mono", "Courier New", monospace;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

:target,
#overview,
#problems,
#insights {
  scroll-margin-top: 80px;
}

body {
  position: relative;
  min-width: 360px;
  min-height: 100vh;
  margin: 0;
  background-color: var(--void);
  background-image: radial-gradient(circle at 18% 0%, #2a1159 0%, transparent 55%),
    radial-gradient(circle at 92% 8%, #0d3a56 0%, transparent 45%),
    linear-gradient(transparent 95%, #ffffff0a 95%),
    linear-gradient(90deg, transparent 95%, #ffffff0a 95%);
  background-size: auto, auto, 32px 32px, 32px 32px;
  color: var(--ink);
}

/* CRT scanlines + glass glare, drawn over everything */
body::after {
  position: fixed;
  z-index: 9999;
  inset: 0;
  background: repeating-linear-gradient(#0000 0 2px, #00000038 2px 4px);
  content: "";
  pointer-events: none;
}

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

button,
input,
select {
  font: inherit;
}

::selection {
  background: var(--magenta);
  color: var(--void-deep);
}

.app-shell {
  min-height: 100vh;
}

.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 2;
  display: flex;
  width: 250px;
  flex-direction: column;
  padding: 26px 15px 16px;
  border-right: 2px solid var(--line);
  background: var(--panel);
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 46px 4px;
  font-family: var(--pixel);
  font-size: 13px;
  letter-spacing: -0.5px;
  line-height: 1.4;
  text-shadow: 2px 2px 0 #00000080;
}

.brand-mark {
  display: grid;
  width: 30px;
  height: 30px;
  flex: none;
  place-items: center;
  border: 2px solid var(--void-deep);
  background: var(--cyan);
  box-shadow: 3px 3px 0 var(--magenta);
  color: var(--void-deep);
  font-family: var(--pixel);
  font-size: 13px;
  text-shadow: none;
}

.brand-dot {
  color: var(--magenta);
}

.nav-label,
.section-kicker,
.eyebrow {
  color: var(--soft);
  font-family: var(--pixel);
  font-size: 8px;
  letter-spacing: 0.5px;
}

.nav-label {
  margin: 0 0 14px 6px;
}

.navigation {
  display: grid;
  gap: 6px;
}

.nav-link {
  display: flex;
  min-height: 40px;
  align-items: center;
  gap: 11px;
  padding: 0 11px;
  border: 2px solid transparent;
  color: var(--muted);
  font-size: 12px;
  transition: transform 90ms steps(2), color 90ms steps(2), background 90ms steps(2),
    border-color 90ms steps(2), box-shadow 90ms steps(2);
}

.nav-link:hover {
  border-color: var(--line);
  background: var(--panel-alt);
  color: var(--ink);
}

.nav-link.active {
  border-color: var(--void-deep);
  background: var(--cyan);
  box-shadow: 3px 3px 0 var(--void-deep);
  color: var(--void-deep);
  font-weight: 700;
}

.nav-link:active {
  transform: translate(2px, 2px);
  box-shadow: 0 0 0 var(--void-deep);
}

.nav-icon {
  width: 16px;
  font-size: 15px;
  text-align: center;
}

.sidebar-note {
  display: flex;
  gap: 10px;
  margin: auto 0 18px;
  padding: 13px 11px;
  border: 2px dashed var(--line);
  background: #ffd23f0d;
}

.note-icon {
  color: var(--yellow);
  font-size: 13px;
}

.sidebar-note p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.7;
}

.sidebar-footer {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 3px 0;
  border-top: 2px solid var(--line-soft);
}

.avatar {
  display: grid;
  width: 32px;
  height: 32px;
  flex: none;
  place-items: center;
  border: 2px solid var(--void-deep);
  background: var(--magenta);
  box-shadow: 2px 2px 0 var(--void-deep);
  color: var(--void-deep);
  font-family: var(--pixel);
  font-size: 11px;
}

.sidebar-footer strong,
.sidebar-footer small {
  display: block;
}

.sidebar-footer strong {
  color: var(--ink);
  font-size: 10px;
  font-weight: 700;
}

.sidebar-footer small {
  margin-top: 4px;
  color: var(--soft);
  font-size: 9px;
}

.main-content {
  max-width: 1540px;
  min-height: 100vh;
  margin-left: 250px;
  padding: 0 48px;
}

.topbar {
  display: flex;
  height: 62px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--line-soft);
}

.breadcrumb {
  color: var(--muted);
  font-family: var(--crt);
  font-size: 17px;
  letter-spacing: 0.5px;
}

.breadcrumb::after {
  display: inline-block;
  margin-left: 6px;
  animation: blink 1.1s steps(1) infinite;
  color: var(--cyan);
  content: "_";
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

.breadcrumb span {
  padding: 0 8px;
  color: var(--magenta);
}

.breadcrumb .crumb-current {
  padding: 0;
  color: var(--cyan);
}

.profile-link {
  padding: 7px 11px;
  border: 2px solid var(--line);
  background: var(--panel);
  box-shadow: 3px 3px 0 var(--void-deep);
  color: var(--cyan);
  font-size: 10px;
  transition: transform 90ms steps(2), box-shadow 90ms steps(2), border-color 90ms steps(2);
}

.profile-link:hover {
  border-color: var(--cyan);
  box-shadow: 5px 5px 0 var(--void-deep);
  transform: translate(-1px, -1px);
}

.profile-link:active {
  box-shadow: 0 0 0 var(--void-deep);
  transform: translate(3px, 3px);
}

.profile-link span {
  margin-left: 5px;
}

.page-intro {
  position: relative;
  display: flex;
  min-height: 118px;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
  padding: 18px 2px 16px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--yellow);
  font-size: 8px;
}

.eyebrow-line {
  display: inline-block;
  width: 22px;
  height: 3px;
  background: var(--yellow);
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin: 18px 0 16px;
  color: var(--ink);
  font-family: var(--pixel);
  font-size: clamp(19px, 2.1vw, 30px);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.55;
  text-shadow: 3px 3px 0 #ff4fa347, 6px 6px 0 #3ff0dc2e;
}

h1 span {
  color: var(--cyan);
}

.intro-copy {
  margin: 0;
  color: var(--muted);
  font-family: var(--crt);
  font-size: 19px;
}

.intro-decoration {
  position: relative;
  width: 132px;
  height: 108px;
  margin: 0 6% 0 0;
}

.orbit {
  position: absolute;
  inset: 50%;
  border: 2px solid var(--line);
  transform: translate(-50%, -50%) rotate(45deg);
}

.orbit-one {
  width: 48px;
  height: 48px;
  animation: spin 9s linear infinite;
  border-color: var(--cyan);
}

.orbit-two {
  width: 74px;
  height: 74px;
  animation: spin 16s linear infinite reverse;
  border-color: var(--magenta);
}

.orbit-three {
  width: 102px;
  height: 102px;
  animation: spin 26s linear infinite;
  border-style: dashed;
  border-color: var(--line);
}

@keyframes spin {
  to {
    transform: translate(-50%, -50%) rotate(405deg);
  }
}

.orbit-center {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 2px solid var(--void-deep);
  background: var(--yellow);
  box-shadow: 3px 3px 0 var(--void-deep);
  color: var(--void-deep);
  font-family: var(--pixel);
  font-size: 15px;
  transform: translate(-50%, -50%);
}

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

.stat-card,
.panel {
  border: 2px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.stat-card {
  min-height: 140px;
  padding: 16px 18px 14px;
  transition: transform 110ms steps(2), box-shadow 110ms steps(2), border-color 110ms steps(2);
}

.stat-card:hover {
  border-color: var(--cyan);
  box-shadow: var(--shadow-lift);
  transform: translate(-2px, -2px);
}

.stat-total {
  border-color: var(--magenta);
}

.stat-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--soft);
  font-family: var(--pixel);
  font-size: 7px;
  letter-spacing: 0.4px;
}

.stat-icon {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border: 2px solid var(--line);
  background: var(--panel-alt);
  color: var(--cyan);
  font-family: "Space Mono", monospace;
  font-size: 12px;
  letter-spacing: 0;
}

.stat-total .stat-icon {
  border-color: var(--magenta);
  color: var(--magenta);
}

.stat-value {
  margin-top: 10px;
  color: var(--ink);
  font-family: var(--crt);
  font-size: 54px;
  font-weight: 400;
  letter-spacing: 1px;
  line-height: 1;
  text-shadow: 0 0 14px #3ff0dc4d;
}

.stat-total .stat-value {
  color: var(--cyan);
}

.stat-value.stat-date {
  font-size: 34px;
}

.stat-foot {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.5;
}

.green-dot {
  width: 7px;
  height: 7px;
  background: var(--green);
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(265px, 1fr);
  gap: 18px;
  margin-bottom: 20px;
}

.panel {
  min-width: 0;
  padding: 19px 21px;
}

.activity-panel,
.language-panel {
  min-height: 282px;
}

.panel-heading,
.problems-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.section-kicker {
  margin: 0 0 9px;
  color: var(--magenta);
  font-size: 7px;
}

h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--pixel);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.5;
}

.period-label {
  padding: 7px 9px;
  border: 2px solid var(--line-soft);
  background: var(--panel-alt);
  color: var(--muted);
  font-size: 9px;
}

.period-label span {
  padding-left: 7px;
  color: var(--cyan);
}

.activity-summary {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 10px;
}

.activity-summary strong {
  color: var(--yellow);
  font-family: var(--crt);
  font-size: 30px;
  font-weight: 400;
  line-height: 1;
}

.activity-period {
  margin-left: auto;
  color: var(--soft);
  font-family: var(--crt);
  font-size: 16px;
}

.chart {
  display: grid;
  height: 120px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: end;
  gap: 13px;
  margin-top: 6px;
  padding: 0 6px;
  border-bottom: 2px solid var(--line);
}

.chart-column {
  display: flex;
  height: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.chart-bar-track {
  display: flex;
  width: min(30px, 72%);
  height: 86px;
  align-items: flex-end;
  justify-content: center;
  background: repeating-linear-gradient(#ffffff0a 0 1px, transparent 1px 8px);
}

/* Bars are built from stacked pixel blocks, arcade health-bar style. */
.chart-bar {
  width: 100%;
  min-height: 4px;
  border: 2px solid var(--void-deep);
  background-color: #8d6cff;
  background-image: repeating-linear-gradient(#00000000 0 6px, #00000059 6px 8px);
  box-shadow: 0 0 10px #8d6cff40;
  transition: height 350ms steps(8), background-color 120ms steps(2);
}

.chart-column.current .chart-bar {
  background-color: var(--cyan);
  box-shadow: 0 0 12px #3ff0dc59;
}

.chart-bar:not(.zero):hover {
  background-color: var(--yellow);
}

.chart-bar.zero {
  border-color: var(--line);
  background-color: var(--line);
  background-image: none;
  box-shadow: none;
}

.chart-count {
  height: 12px;
  color: var(--cyan);
  font-family: var(--crt);
  font-size: 15px;
  line-height: 1;
}

.chart-month {
  height: 16px;
  color: var(--soft);
  font-family: var(--pixel);
  font-size: 7px;
}

.chart-caption {
  margin: 10px 0 0;
  color: var(--soft);
  font-size: 9px;
  line-height: 1.5;
}

.language-symbol {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 2px solid var(--line);
  background: var(--panel-alt);
  color: var(--yellow);
  font-size: 12px;
  font-weight: 700;
}

.language-total {
  margin: 18px 0 16px;
  color: var(--muted);
  font-size: 10px;
}

.language-total strong {
  color: var(--green);
  font-family: var(--crt);
  font-size: 30px;
  font-weight: 400;
}

.language-bars {
  display: grid;
  gap: 12px;
}

.language-row {
  display: grid;
  grid-template-columns: 40px 1fr 30px;
  align-items: center;
  gap: 9px;
  font-size: 9px;
}

.language-name {
  color: var(--ink);
  font-family: var(--pixel);
  font-size: 7px;
}

.language-track {
  height: 12px;
  overflow: hidden;
  border: 2px solid var(--line-soft);
  background: var(--void-deep);
}

.language-fill {
  height: 100%;
  background-color: var(--cyan);
  background-image: repeating-linear-gradient(90deg, #00000000 0 6px, #00000066 6px 8px);
}

.language-row:nth-child(even) .language-fill {
  background-color: var(--magenta);
}

.language-count {
  color: var(--muted);
  font-family: var(--crt);
  font-size: 16px;
  text-align: right;
}

.honesty-note {
  display: flex;
  gap: 9px;
  margin-top: 20px;
  padding: 11px;
  border: 2px dashed var(--line);
  background: #3ff0dc0d;
  color: var(--cyan);
}

.honesty-note > span {
  font-size: 11px;
}

.honesty-note p {
  margin: 0;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.6;
}

.honesty-note strong {
  color: var(--cyan);
}

.problems-panel {
  padding: 20px 21px 14px;
}

.problems-heading {
  gap: 18px;
  margin-bottom: 20px;
}

.count-pill {
  display: inline-block;
  margin-left: 7px;
  padding: 4px 8px;
  border: 2px solid var(--void-deep);
  background: var(--yellow);
  color: var(--void-deep);
  font-family: var(--pixel);
  font-size: 8px;
  letter-spacing: 0;
  vertical-align: 2px;
}

.filters {
  display: flex;
  gap: 9px;
}

.search-box,
.select-wrap {
  display: flex;
  height: 36px;
  align-items: center;
  border: 2px solid var(--line);
  background: var(--void-deep);
  transition: border-color 90ms steps(2);
}

.search-box:focus-within,
.select-wrap:focus-within {
  border-color: var(--cyan);
}

.search-box {
  width: 200px;
  gap: 8px;
  padding: 0 10px;
  color: var(--cyan);
  font-size: 16px;
}

.search-box input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--crt);
  font-size: 17px;
}

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

.select-wrap select {
  max-width: 135px;
  height: 100%;
  padding: 0 10px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--muted);
  font-family: var(--crt);
  font-size: 17px;
}

.select-wrap select option {
  background: var(--panel);
  color: var(--ink);
}

.table-wrap {
  max-height: 460px;
  overflow: auto;
  scrollbar-color: var(--cyan) var(--void-deep);
  scrollbar-width: thin;
}

.table-wrap::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

.table-wrap::-webkit-scrollbar-track {
  border: 2px solid var(--line-soft);
  background: var(--void-deep);
}

.table-wrap::-webkit-scrollbar-thumb {
  border: 2px solid var(--void-deep);
  background: var(--cyan);
  background-image: repeating-linear-gradient(#00000000 0 6px, #00000059 6px 8px);
}

.table-wrap::-webkit-scrollbar-thumb:hover {
  background-color: var(--magenta);
}

.table-wrap::-webkit-scrollbar-corner {
  background: var(--void-deep);
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

/* Header rides along as the list scrolls; borders are drawn as shadows because
   sticky cells drop their own. */
thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: var(--panel);
  box-shadow: inset 0 2px 0 var(--line), inset 0 -2px 0 var(--line);
}

th {
  height: 36px;
  color: var(--soft);
  font-family: var(--pixel);
  font-size: 7px;
  font-weight: 400;
  letter-spacing: 0.4px;
}

td {
  height: 48px;
  border-bottom: 1px dashed var(--line-soft);
  color: var(--muted);
  font-size: 10px;
}

tbody tr {
  transition: background 90ms steps(2);
}

tbody tr:hover {
  background: #3ff0dc0f;
}

tbody tr:last-child td {
  border-bottom: 0;
}

.problem-title {
  color: var(--ink);
  font-size: 10px;
  font-weight: 700;
  transition: color 90ms steps(2);
}

.problem-title:hover {
  color: var(--cyan);
}

.file-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.file-icon {
  display: grid;
  width: 24px;
  height: 22px;
  flex: none;
  place-items: center;
  border: 2px solid var(--void-deep);
  background: var(--cyan);
  color: var(--void-deep);
  font-family: var(--pixel);
  font-size: 7px;
}

tbody tr:nth-child(even) .file-icon {
  background: var(--yellow);
}

.language-pill {
  display: inline-block;
  min-width: 40px;
  padding: 4px 7px;
  border: 2px solid var(--line-soft);
  background: var(--panel-alt);
  color: var(--muted);
  font-size: 8px;
  text-align: center;
}

.date-cell {
  color: var(--soft);
  font-family: var(--crt);
  font-size: 16px;
}

.row-actions {
  white-space: nowrap;
  text-align: right;
}

.row-actions a {
  padding: 6px 8px;
  border: 2px solid transparent;
  color: var(--muted);
  font-size: 9px;
  transition: color 90ms steps(2), border-color 90ms steps(2), background 90ms steps(2);
}

.row-actions a:hover {
  border-color: var(--cyan);
  background: var(--accent-soft);
  color: var(--cyan);
}

.row-actions .leetcode-link {
  margin-left: 4px;
  color: var(--yellow);
}

.empty-state {
  padding: 30px 12px;
  color: var(--muted);
  font-family: var(--crt);
  font-size: 20px;
  text-align: center;
}

.date-disclaimer {
  margin: 12px 0 0;
  color: var(--soft);
  font-size: 9px;
  line-height: 1.6;
}

.page-footer {
  display: flex;
  justify-content: space-between;
  padding: 20px 2px 26px;
  color: var(--soft);
  font-family: var(--pixel);
  font-size: 7px;
  line-height: 1.8;
}

.footer-heart {
  color: var(--magenta);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

@media (min-width: 1500px) {
  .main-content {
    margin-right: auto;
    padding-right: 72px;
    padding-left: 72px;
  }
}

@media (max-width: 1100px) {
  .sidebar {
    width: 212px;
  }

  .main-content {
    margin-left: 212px;
    padding-right: 28px;
    padding-left: 28px;
  }

  .content-grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(245px, 1fr);
  }

  .intro-decoration {
    margin-right: 2%;
  }

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

@media (max-width: 820px) {
  .sidebar {
    position: sticky;
    top: 0;
    width: 100%;
    height: 60px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    border-right: 0;
    border-bottom: 2px solid var(--line);
  }

  .brand {
    margin: 0;
    font-size: 11px;
  }

  .brand-mark {
    width: 26px;
    height: 26px;
    font-size: 11px;
  }

  .nav-label,
  .sidebar-note,
  .sidebar-footer {
    display: none;
  }

  .navigation {
    display: flex;
    gap: 4px;
  }

  .nav-link {
    min-height: 34px;
    gap: 6px;
    padding: 0 9px;
    font-size: 10px;
  }

  .nav-icon {
    width: auto;
    font-size: 13px;
  }

  .main-content {
    margin-left: 0;
    padding: 0 24px;
  }

  .topbar {
    height: 54px;
  }

  .page-intro {
    min-height: 110px;
  }

  .intro-decoration {
    transform: scale(0.8);
    transform-origin: center right;
  }

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

  .activity-panel,
  .language-panel {
    min-height: initial;
  }

  .language-panel {
    padding-bottom: 18px;
  }

  .language-bars {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 580px) {
  .sidebar {
    padding: 0 10px;
  }

  .brand {
    gap: 7px;
    font-size: 9px;
  }

  .navigation {
    gap: 0;
  }

  .nav-link {
    gap: 4px;
    padding: 0 7px;
    font-size: 9px;
  }

  .nav-icon {
    display: none;
  }

  .main-content {
    padding: 0 14px;
  }

  .page-intro {
    min-height: 100px;
    padding: 16px 0;
  }

  h1 {
    font-size: 16px;
    line-height: 1.7;
  }

  .intro-copy {
    max-width: 250px;
    font-size: 17px;
    line-height: 1.4;
  }

  .intro-decoration {
    position: absolute;
    right: -40px;
    bottom: -34px;
    opacity: 0.4;
    transform: scale(0.6);
    transform-origin: bottom right;
  }

  .stat-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .stat-card {
    min-height: 112px;
    padding: 13px 15px;
  }

  .stat-value {
    margin-top: 4px;
    font-size: 42px;
  }

  .stat-value.stat-date {
    font-size: 30px;
  }

  .stat-foot {
    margin-top: 4px;
  }

  .panel {
    padding: 16px 14px;
  }

  .activity-panel {
    min-height: 250px;
  }

  .chart {
    gap: 6px;
    padding: 0 2px;
  }

  .problems-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .table-wrap {
    max-height: 380px;
  }

  .filters {
    width: 100%;
  }

  .search-box {
    flex: 1;
    width: auto;
  }

  .select-wrap select {
    max-width: 120px;
  }

  th:first-child,
  td:first-child {
    min-width: 195px;
  }

  th:nth-child(2),
  td:nth-child(2) {
    min-width: 90px;
  }

  th:nth-child(3),
  td:nth-child(3) {
    min-width: 115px;
  }

  .page-footer {
    gap: 12px;
    font-size: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
}
