body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial;
  background: #020617;
  color: #e2e8f0;
  min-height: 100vh;
}

.surface {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0) 0%, rgba(15, 23, 42, 0.75) 100%);
}

.theme-panel {
  background: rgba(248, 250, 252, 0.98);
  color: #0f172a;
  border-radius: 28px;
  box-shadow: 0 30px 70px -40px rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.card {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.mono {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.72);
  transition: all 0.2s ease;
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.nav-link-active {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  box-shadow: 0 18px 36px -20px rgba(15, 23, 42, 0.8);
}

.nav-link-mobile {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.28);
  transition: all 0.2s ease;
}

.nav-link-mobile:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.45);
}

.nav-link-mobile-active {
  background: rgba(255, 255, 255, 0.2);
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 12px 30px -18px rgba(15, 23, 42, 0.8);
}

.progress-outer {
  width: 100%;
  height: 12px;
  border-radius: 999px;
  background: #e5e7eb;
  overflow: hidden;
}

.progress-inner {
  height: 12px;
  border-radius: 999px;
  width: 0%;
  background: #dc2626;
}

.grid-auto {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

/* Removed site-card-wide span rule for consistent card widths */

.table {
  width: 100%;
  border-collapse: collapse;
}

.table th,
.table td {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  vertical-align: middle;
}

.table th {
  text-align: left;
  font-weight: 600;
  color: #64748b;
}

.pill {
  border-radius: 999px;
  padding: 0.25rem 0.6rem;
  font-weight: 600;
  font-size: 0.85rem;
}

.pill-mine {
  background: #10b98122;
  color: #065f46;
  border: 1px solid #10b98155;
}

.pill-sell {
  background: #ef444422;
  color: #7f1d1d;
  border: 1px solid #ef444455;
}

.pill-hybrid {
  background: #6366f122;
  color: #312e81;
  border: 1px solid #6366f155;
}

.pill-current {
  background: #c7d2fe66;
  border: 1px solid #818cf8;
  color: #3730a3;
}

.strip {
  display: flex;
  gap: 2px;
  flex-wrap: wrap;
}

.hcell {
  width: 20px;
  height: 14px;
  border-radius: 3px;
  border: 1px solid rgba(0, 0, 0, 0.12);
}

.mine {
  background: #10b98122;
  border-color: #10b98155;
}

.sell {
  background: #ef444422;
  border-color: #ef444455;
}

.hybrid {
  background: #6366f122;
  border-color: #6366f155;
}

.neutral {
  background: #e5e7eb;
}

body[data-customer-mode="read-only"] .customer-manager-only { display: none; }
body[data-customer-mode="global"] .customer-view-only { display: none; }

