html {
  background: #eef3f8;
  color: #17202a;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

button,
input {
  font: inherit;
}

[v-cloak] {
  display: none;
}

.field {
  width: 100%;
  border-radius: 6px;
  border: 1px solid #cbd5e1;
  background: #fff;
  padding: 0.625rem 0.875rem;
  font-size: 0.875rem;
  color: #0f172a;
  outline: none;
  transition: all 0.2s ease;
}

.field:focus {
  border-color: #0f2d59;
  box-shadow: 0 0 0 3px rgba(15, 45, 89, 0.15);
}

.label {
  margin-bottom: 0.375rem;
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #475569;
}

.btn,
.btn-primary,
.btn-secondary {
  display: inline-flex;
  height: 2.625rem;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  border: 1px solid transparent;
  padding: 0 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn-primary {
  background: #0f2d59;
  color: #fff;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.btn-primary:hover {
  background: #173d75;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(15, 45, 89, 0.15);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  border-color: #cbd5e1;
  background: #fff;
  color: #0f172a;
}

.btn-secondary:hover {
  background: #f8fafc;
  border-color: #94a3b8;
}

.btn-primary:disabled,
.btn-secondary:disabled {
  cursor: not-allowed;
  opacity: 0.6;
  transform: none !important;
  box-shadow: none !important;
}

.stat {
  background: #fff;
  padding: 1.25rem;
  transition: all 0.2s ease;
}

.app-shell {
  display: grid;
  min-height: 100vh;
  grid-template-columns: 280px minmax(0, 1fr);
}

.sidebar {
  position: sticky;
  top: 0;
  display: flex;
  height: 100vh;
  flex-direction: column;
  overflow-y: auto;
  background: linear-gradient(180deg, #0e1d35 0%, #07101e 100%);
}

.main-panel {
  min-width: 0;
  background: #f1f5f9;
}

.menu-item {
  width: 100%;
  border-radius: 6px;
  padding: 0.75rem 1rem;
  text-align: left;
  color: #94a3b8;
  transition: all 0.2s ease;
  border-left: 4px solid transparent;
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.menu-item:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #f1f5f9;
}

.menu-item-active {
  background: rgba(245, 158, 11, 0.1) !important;
  color: #fbbf24 !important;
  border-left-color: #f59e0b;
  font-weight: 600;
}

@media (min-width: 640px) {
  .stat {
    border-right: 1px solid #d8dee7;
    border-bottom: 0;
  }
}

@media (max-width: 820px) {
  .app-shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
    height: auto;
  }
}