.sv-body {
  margin: 0;
  min-height: 100vh;
  color: #0f172a;
  background:
    radial-gradient(900px 480px at 85% -10%, rgba(37, 99, 235, 0.14), transparent 55%),
    radial-gradient(700px 420px at -10% 30%, rgba(15, 23, 42, 0.06), transparent 50%),
    linear-gradient(180deg, #f8fafc 0%, #eef2ff 40%, #f1f5f9 100%);
  font-family: "Segoe UI", "IBM Plex Sans", "Helvetica Neue", sans-serif;
}

.sv-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(248, 250, 252, 0.85);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}

.sv-header-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.sv-brand {
  font-weight: 750;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: #0f172a;
  text-decoration: none;
}

.sv-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sv-user {
  font-size: 0.85rem;
  color: #64748b;
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sv-main {
  max-width: 1080px;
  margin: 0 auto;
  padding: 36px 20px 72px;
}

.sv-hero {
  margin-bottom: 36px;
  animation: sv-fade-up 0.55s ease both;
}

.sv-hero-brand {
  margin: 0 0 10px;
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 780;
}

.sv-hero-lead {
  margin: 0;
  max-width: 34rem;
  color: #475569;
  font-size: 1.1rem;
  line-height: 1.45;
}

.sv-grid {
  display: grid;
  gap: 22px;
}

.sv-card {
  display: grid;
  grid-template-columns: minmax(180px, 280px) 1fr;
  gap: 0;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
  animation: sv-fade-up 0.6s ease both;
}

.sv-card:nth-child(2) {
  animation-delay: 0.08s;
}

.sv-card-visual {
  background: linear-gradient(155deg, #0f172a 0%, #1e3a8a 100%);
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.sv-card-visual svg {
  width: min(100%, 220px);
  height: auto;
}

.sv-card-body {
  padding: 28px 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sv-card-body h2 {
  margin: 0;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
}

.sv-card-body .sv-desc {
  margin: 0;
  color: #475569;
  line-height: 1.5;
}

.sv-pros {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.sv-pros li {
  position: relative;
  padding-left: 18px;
  color: #334155;
  font-size: 0.95rem;
  line-height: 1.4;
}

.sv-pros li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: #2563eb;
}

.sv-pros-locked {
  opacity: 0.55;
}

.sv-card-actions {
  margin-top: auto;
  padding-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.sv-hint {
  font-size: 0.82rem;
  color: #64748b;
}

.sv-modal[hidden] {
  display: none !important;
}

.sv-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 20px;
}

.sv-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  animation: sv-fade 0.2s ease both;
}

.sv-modal-card {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  background: #fff;
  border-radius: 16px;
  padding: 28px 24px 22px;
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.18);
  animation: sv-pop 0.28s ease both;
}

.sv-modal-x {
  position: absolute;
  top: 10px;
  right: 12px;
  border: 0;
  background: transparent;
  font-size: 1.5rem;
  line-height: 1;
  color: #64748b;
  cursor: pointer;
}

.sv-modal-card h2 {
  margin: 0 0 6px;
  font-size: 1.4rem;
}

.sv-modal-lead {
  margin: 0 0 16px;
  color: #64748b;
  font-size: 0.95rem;
}

.sv-form .field {
  margin-bottom: 12px;
}

.sv-form .btn.block {
  width: 100%;
  margin-top: 4px;
}

.sv-switch {
  margin: 14px 0 0;
  text-align: center;
}

.linkish {
  background: none;
  border: 0;
  color: #2563eb;
  cursor: pointer;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.sv-error {
  margin: 12px 0 0;
  color: #b91c1c;
  font-size: 0.92rem;
}

@keyframes sv-fade-up {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes sv-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes sv-pop {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 800px) {
  .sv-card {
    grid-template-columns: 1fr;
  }

  .sv-card-visual {
    min-height: 160px;
  }

  .sv-user {
    display: none;
  }
}
