body {
  margin: 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  background: #eef2f6;
  color: #1e2937;
}
.hidden { display: none !important; }
.auth-shell,
.collector-shell { min-height: 100vh; padding: 24px; }
.auth-shell { display: grid; place-items: center; }
.auth-card,
.collector-card {
  background: white;
  border: 1px solid rgba(154,168,183,0.34);
  border-radius: 28px;
  box-shadow: 0 18px 45px rgba(36,47,62,0.12);
}
.auth-card {
  width: min(460px, 100%);
  padding: 28px;
}
.collector-card { padding: 24px; }
.auth-head,
.collector-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}
.auth-head {
  display: block;
  margin-bottom: 18px;
}
.eyebrow {
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #415a77;
  margin: 0 0 10px;
}
.segment-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  background: #f7f9fb;
  padding: 8px;
  border-radius: 18px;
}
.segment {
  border: 0;
  border-radius: 14px;
  padding: 12px;
  background: transparent;
  color: #667487;
  font-weight: 700;
  cursor: pointer;
}
.segment.active {
  background: white;
  color: #1e2937;
  box-shadow: 0 10px 20px rgba(36,47,62,0.08);
}
.form-stack {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}
.field {
  display: grid;
  gap: 8px;
}
.field label {
  font-weight: 700;
}
.field input {
  border: 1px solid rgba(154,168,183,0.34);
  background: #f7f9fb;
  color: #1e2937;
  border-radius: 16px;
  padding: 14px 16px;
}
.primary-btn,
.ghost-btn {
  border: 0;
  cursor: pointer;
  border-radius: 16px;
  padding: 14px 18px;
  font-weight: 800;
}
.primary-btn {
  background: linear-gradient(135deg, #415a77, #8d99a8);
  color: white;
}
.ghost-btn {
  background: #f7f9fb;
  color: #1e2937;
  border: 1px solid rgba(154,168,183,0.34);
}
.collector-head {
  margin-bottom: 18px;
}
.collector-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.user-label {
  color: #667487;
  font-size: .92rem;
}
.ad-banner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 16px 18px;
  margin-bottom: 18px;
  border-radius: 22px;
  border: 1px solid rgba(154,168,183,0.34);
  background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(242,246,250,0.95));
}
.ad-banner span {
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #415a77;
}
.ad-banner strong {
  color: #667487;
  font-size: .94rem;
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid rgba(154,168,183,0.34);
  border-radius: 18px;
  overflow: hidden;
}
.data-table th, .data-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid rgba(154,168,183,0.34);
}
.data-table thead { background: #f7f9fb; }
.app-toast {
  position: fixed;
  top: 22px;
  right: 22px;
  z-index: 120;
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(24,33,45,.94);
  color: #f8fafc;
  box-shadow: 0 24px 48px rgba(10,17,28,.28);
}
@media (max-width: 760px) {
  .collector-shell,
  .auth-shell { padding: 16px; }
  .collector-head,
  .collector-actions,
  .ad-banner { flex-direction: column; align-items: stretch; }
}
