:root {
  --sts-accent: #a3e635;
  --sts-accent-2: #65a30d;
  --sts-good: #10b981;
  --sts-warn: #f59e0b;
  --sts-bad: #ef4444;
  --sts-bg: #0a0a0f;
  --sts-card: #0f1410;
  --sts-border: #1c2418;
  --sts-text: #eef5e8;
  --sts-text-gray: #8a9384;
  --sts-text-dark: #545c4e;
}

.sts-wrapper { max-width: 760px; margin: 0 auto; font-family: 'Space Grotesk', sans-serif; color: var(--sts-text); }
.sts-nav { margin-bottom: 1.5rem; }
.sts-nav a { color: var(--sts-accent); text-decoration: none; font-size: 0.9rem; font-weight: 600; }

.sts-header { text-align: center; margin-bottom: 2rem; animation: stsFadeIn 0.6s ease both; }
.sts-eyebrow {
  display: inline-block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--sts-accent); background: rgba(163,230,53,0.12);
  padding: 0.4rem 0.9rem; border-radius: 20px; margin-bottom: 0.9rem;
}
.sts-header h1 {
  font-size: 2.1rem; font-weight: 700; margin: 0.3rem 0 0.6rem;
  background: linear-gradient(135deg, #ffffff, var(--sts-accent));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.sts-subtitle { color: var(--sts-text-gray); font-size: 1.0rem; max-width: 580px; margin: 0 auto; }

.sts-card { background: var(--sts-card); border: 1px solid var(--sts-border); border-radius: 16px; padding: 1.8rem; margin-bottom: 1.5rem; animation: stsFadeIn 0.6s ease 0.1s both; }
.sts-section-label { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--sts-accent); margin-bottom: 0.9rem; }
.sts-divider { border: none; border-top: 1px solid var(--sts-border); margin: 1.5rem 0 1.2rem; }

.sts-months-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; font-size: 0.85rem; color: var(--sts-text-gray); }
.sts-month-btns { display: flex; gap: 0.5rem; }
.sts-month-btn {
  background: rgba(163,230,53,0.08) !important; color: var(--sts-accent) !important;
  -webkit-text-fill-color: var(--sts-accent) !important; border: 1px solid rgba(163,230,53,0.25) !important;
  border-radius: 6px; padding: 0.35rem 0.7rem; font-size: 0.78rem; cursor: pointer; font-family: 'Space Grotesk', sans-serif;
}
.sts-month-btn:hover { background: rgba(163,230,53,0.16) !important; }

.sts-months-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.7rem; margin-bottom: 1rem; }
.sts-month-field { display: flex; flex-direction: column; }
.sts-month-label { font-size: 0.74rem; color: var(--sts-text-gray); margin-bottom: 0.35rem; }
.sts-hint { font-size: 0.78rem; color: var(--sts-text-dark); margin-bottom: 0.5rem; line-height: 1.5; }

#root input {
  background-color: rgba(10,10,15,0.8) !important; color: #eef5e8 !important;
  -webkit-text-fill-color: #eef5e8 !important; border: 1px solid var(--sts-border) !important;
  border-radius: 8px !important; padding: 0.6rem 0.7rem !important; font-size: 0.92rem !important;
  width: 100% !important; box-sizing: border-box !important; font-family: 'Space Grotesk', sans-serif !important;
}
#root input:focus { outline: none !important; border-color: var(--sts-accent) !important; background-color: rgba(10,10,15,0.95) !important; }
#root input:-webkit-autofill { -webkit-box-shadow: 0 0 0 1000px rgba(10,10,15,0.9) inset !important; -webkit-text-fill-color: #eef5e8 !important; }
#root input::placeholder { color: #545c4e !important; }

.sts-radio-group { display: flex; gap: 0.7rem; flex-wrap: wrap; margin-bottom: 0.6rem; }
.sts-radio {
  display: flex; align-items: center; gap: 0.4rem; padding: 0.55rem 1rem;
  background: rgba(255,255,255,0.03); border: 1px solid var(--sts-border); border-radius: 8px;
  cursor: pointer; color: var(--sts-text); font-size: 0.88rem; transition: border-color 0.2s;
}
.sts-radio:hover { border-color: var(--sts-accent); }
.sts-radio input { accent-color: var(--sts-accent); }

.sts-error { background: rgba(239,68,68,0.12); border: 1px solid var(--sts-bad); color: #fca5a5; padding: 0.8rem 1rem; border-radius: 8px; font-size: 0.88rem; margin: 1rem 0; }

.sts-btn-row { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-top: 0.5rem; }
#sts-calc-btn {
  flex: 1; min-width: 200px;
  background: linear-gradient(135deg, var(--sts-accent), var(--sts-accent-2)) !important;
  color: #0a0a0f !important; -webkit-text-fill-color: #0a0a0f !important;
  border: none !important; border-radius: 10px; padding: 0.85rem 1.5rem;
  font-size: 0.92rem; font-weight: 700; letter-spacing: 0.03em; cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s;
}
#sts-calc-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(163,230,53,0.3); }
#sts-calc-btn:disabled { opacity: 0.75; cursor: wait; }
#sts-reset-btn {
  background: transparent !important; color: #8a9384 !important; -webkit-text-fill-color: #8a9384 !important;
  border: 1px solid rgba(255,255,255,0.1) !important; border-radius: 10px;
  padding: 0.85rem 1.3rem; font-size: 0.9rem; cursor: pointer; transition: border-color 0.2s;
}
#sts-reset-btn:hover { border-color: var(--sts-text-gray); }

.sts-results { background: var(--sts-card); border: 1px solid var(--sts-border); border-radius: 16px; padding: 1.8rem; margin-bottom: 1.5rem; animation: stsFadeIn 0.5s ease both; }

.sts-hero-card { text-align: center; padding: 1.6rem; border-radius: 14px; margin-bottom: 1rem; background: rgba(163,230,53,0.06); border: 2px solid; }
.sts-hero-top { display: flex; align-items: center; justify-content: center; gap: 1.6rem; flex-wrap: wrap; }
.sts-hero-left { text-align: left; }
.sts-hero-label { font-size: 0.8rem; font-weight: 700; color: var(--sts-text-gray); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.7rem; }
.sts-hero-amount { font-size: 2.6rem; font-weight: 800; color: var(--sts-text); }
.sts-hero-amount span { font-size: 1.0rem; font-weight: 600; color: var(--sts-text-gray); }
.sts-hero-ring { display: flex; flex-direction: column; align-items: center; }
.sts-ring-svg { display: block; }
.sts-ring-progress { transition: stroke-dashoffset 1s ease; }
.sts-ring-caption { font-size: 0.7rem; color: var(--sts-text-gray); margin-top: 0.4rem; text-align: center; line-height: 1.3; }

.sts-confidence-badge {
  font-size: 0.82rem; color: var(--sts-text-gray); background: rgba(255,255,255,0.03);
  border: 1px solid; border-radius: 8px; padding: 0.7rem 1rem; margin-bottom: 1.1rem; line-height: 1.5;
}

.sts-insight-box {
  display: flex; gap: 0.7rem; align-items: flex-start; background: rgba(163,230,53,0.05);
  border: 1px solid rgba(163,230,53,0.18); border-radius: 10px; padding: 0.9rem 1.1rem; margin-bottom: 1.3rem;
}
.sts-insight-icon { font-size: 1.1rem; flex-shrink: 0; }
.sts-insight-text { font-size: 0.86rem; color: #c0c9b8; line-height: 1.55; }
.sts-insight-text strong { color: var(--sts-accent); }

.sts-tiers-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; margin-bottom: 1.5rem; }
.sts-tier-item { background: rgba(255,255,255,0.03); border: 1px solid var(--sts-border); border-radius: 10px; padding: 0.9rem 0.5rem; text-align: center; transition: border-color 0.2s; }
.sts-tier-active { border-color: var(--sts-accent); background: rgba(163,230,53,0.06); }
.sts-tier-label { font-size: 0.72rem; color: var(--sts-text-gray); margin-bottom: 0.35rem; }
.sts-tier-val { font-size: 1.05rem; font-weight: 700; color: var(--sts-text); }
.sts-tier-active .sts-tier-val { color: var(--sts-accent); }

.sts-section-title { font-size: 0.78rem; font-weight: 700; color: var(--sts-text-gray); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.8rem; }
.sts-chart-wrap { margin-bottom: 1.5rem; }
.sts-chart-svg { width: 100%; height: auto; display: block; }

.sts-stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; margin-bottom: 1.5rem; }
.sts-stat { background: rgba(255,255,255,0.03); border: 1px solid var(--sts-border); border-radius: 12px; padding: 1rem 0.6rem; text-align: center; }
.sts-stat-label { font-size: 0.72rem; color: var(--sts-text-gray); text-transform: uppercase; letter-spacing: 0.03em; margin-bottom: 0.4rem; }
.sts-stat-val { font-size: 1.15rem; font-weight: 700; color: var(--sts-accent); }
.sts-stat-sub { font-size: 0.72rem; color: var(--sts-text-dark); margin-top: 0.2rem; }

.sts-buffer-box { background: rgba(163,230,53,0.05); border: 1px solid rgba(163,230,53,0.2); border-radius: 12px; padding: 1.2rem 1.4rem; margin-bottom: 1.2rem; text-align: center; }
.sts-buffer-amount { font-size: 1.7rem; font-weight: 800; color: var(--sts-text); margin-bottom: 0.5rem; }
.sts-buffer-sub { font-size: 0.84rem; color: var(--sts-text-gray); line-height: 1.5; }

.sts-stress-box { background: rgba(255,255,255,0.03); border: 1px solid var(--sts-border); border-radius: 12px; padding: 1.2rem 1.4rem; }
.sts-stress-text { font-size: 0.86rem; color: #c8d4c0; line-height: 1.6; }
.sts-stress-text strong { color: var(--sts-warn); }

.sts-explain-box {
  background: rgba(255,255,255,0.02); border: 1px solid var(--sts-border); border-radius: 12px;
  padding: 0.9rem 1.2rem; margin-top: 1.2rem;
}
.sts-explain-summary {
  font-size: 0.84rem; font-weight: 700; color: var(--sts-accent); cursor: pointer;
  list-style: none; outline: none;
}
.sts-explain-summary::-webkit-details-marker { display: none; }
.sts-explain-summary::before { content: '▸ '; }
details[open] .sts-explain-summary::before { content: '▾ '; }
.sts-explain-body { margin-top: 0.9rem; padding-top: 0.9rem; border-top: 1px solid var(--sts-border); }
.sts-explain-row { display: flex; justify-content: space-between; font-size: 0.82rem; color: var(--sts-text-gray); padding: 0.4rem 0; }
.sts-explain-row strong { color: var(--sts-text); }
.sts-explain-final { border-top: 1px dashed var(--sts-border); margin-top: 0.4rem; padding-top: 0.7rem; }
.sts-explain-final strong { color: var(--sts-accent); font-size: 0.95rem; }

.sts-share-wrap { text-align: center; margin-bottom: 2rem; }
.sts-share-title { font-size: 0.85rem; color: var(--sts-text-gray); margin-bottom: 0.8rem; }
.sts-share-block { display: flex; justify-content: center; gap: 0.6rem; flex-wrap: wrap; }
.sts-share-btn { display: inline-block; padding: 0.55rem 1rem; border-radius: 8px; font-size: 0.82rem; font-weight: 600; text-decoration: none; border: 1px solid var(--sts-border); color: var(--sts-text); background: rgba(255,255,255,0.04); cursor: pointer; transition: transform 0.15s, border-color 0.2s; }
.sts-share-btn:hover { transform: translateY(-2px); border-color: var(--sts-accent); }

.sts-seo { margin-top: 2rem; line-height: 1.7; }
.sts-seo h2 { font-size: 1.4rem; margin-top: 2.2rem; color: var(--sts-text); }
.sts-seo h3 { font-size: 1.1rem; margin-top: 1.6rem; color: var(--sts-text); }
.sts-seo p { color: #c0c9b8; margin: 0.9rem 0; }
.sts-seo strong { color: var(--sts-text); }
.sts-seo hr { border: none; border-top: 1px solid var(--sts-border); margin: 2rem 0; }

.sts-example-box { background: rgba(163,230,53,0.05); border: 1px solid rgba(163,230,53,0.2); border-radius: 12px; padding: 1.2rem 1.4rem; margin: 1.2rem 0; }
.sts-example-box ul { margin: 0.6rem 0 0; padding-left: 1.2rem; }
.sts-example-box li { color: #c0c9b8; margin-bottom: 0.4rem; }

.sts-related { margin-top: 2.5rem; }
.sts-related h2 { font-size: 1.3rem; margin-bottom: 1rem; }
.wp-block-latest-posts li { background: #10150f !important; border: 1px solid rgba(255,255,255,0.08) !important; border-radius: 12px !important; padding: 1rem !important; margin-bottom: 0.5rem !important; }

@keyframes stsFadeIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .sts-header, .sts-card, .sts-results { animation: none !important; } }

@media (max-width: 640px) {
  .sts-months-grid { grid-template-columns: repeat(2, 1fr); }
  .sts-tiers-row, .sts-stats-grid { grid-template-columns: 1fr; }
  .sts-header h1 { font-size: 1.6rem; }
  .sts-hero-amount { font-size: 2.1rem; }
  .sts-hero-top { flex-direction: column; }
  .sts-hero-left { text-align: center; }
}
