:root{
  --editorial-bg: #f5fbf7;
  --editorial-surface: rgba(255,255,255,0.92);
  --editorial-surface-soft: rgba(239,245,241,0.88);
  --editorial-border: rgba(23,61,45,0.10);
  --editorial-text: #171d1b;
  --editorial-muted: #586c63;
  --editorial-accent: #19c37d;
  --editorial-accent-strong: #006d43;
  --editorial-glow: 0 32px 60px rgba(23, 29, 27, 0.08);
}

html[data-theme="dark"] body,
body[data-theme="dark"]{
  --editorial-bg: #07110d;
  --editorial-surface: rgba(10,20,16,0.88);
  --editorial-surface-soft: rgba(16,30,23,0.74);
  --editorial-border: rgba(126,189,162,0.12);
  --editorial-text: #eaf5ef;
  --editorial-muted: #97afa4;
  --editorial-accent: #48e096;
  --editorial-accent-strong: #69fdb1;
  --editorial-glow: 0 32px 60px rgba(0,0,0,0.26);
}

body{
  color: var(--editorial-text);
  font-family: "Manrope","Inter","Segoe UI",sans-serif;
}

.site-header{
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(245,251,247,0.78);
  border-bottom: 1px solid rgba(23,61,45,0.08);
}

body[data-theme="dark"] .site-header{
  background: rgba(7,17,13,0.78);
  border-bottom-color: rgba(126,189,162,0.10);
}

.site-footer{
  background: transparent;
  border-top: 1px solid rgba(23,61,45,0.08);
}

body[data-theme="dark"] .site-footer{
  border-top-color: rgba(126,189,162,0.10);
}

.brand,
.panel-brand,
.page-title,
.guide-hero-copy h1,
.guide-section-head h2,
.guide-chapter-copy h2,
.guide-cta-card h3{
  font-family: "Manrope","Inter",sans-serif;
}

.brand{
  font-weight: 800;
  letter-spacing: -0.03em;
}

.panel-shell,
.page-header,
.card,
.summary-card,
.guide-card,
.guide-routine-card,
.guide-cta-card,
.guide-hero-visual img,
.guide-figure img{
  box-shadow: var(--editorial-glow);
}

.panel-shell{
  border-radius: 32px;
  border: 1px solid var(--editorial-border);
}

.panel-head{
  border-bottom: 0;
  margin-bottom: 1.15rem;
}

.page-header{
  border-radius: 28px;
  border: 1px solid var(--editorial-border);
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(25,195,125,0.12), transparent 58%),
    var(--editorial-surface);
  padding: 1.2rem;
}

.eyebrow,
.guide-eyebrow{
  color: var(--editorial-accent);
  letter-spacing: 0.16em;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.page-title{
  letter-spacing: -0.04em;
  line-height: 0.98;
}

.page-subtitle,
.lead,
.section-lead{
  color: var(--editorial-muted);
  line-height: 1.6;
}

.page-actions .btn,
.plan-actions .btn,
.guide-hero-actions .btn,
.guide-cta-card .btn{
  min-height: 48px;
  border-radius: 999px;
}

.btn.btn-primary{
  background: linear-gradient(135deg, var(--editorial-accent-strong) 0%, var(--editorial-accent) 100%);
  border-color: transparent;
  color: #fff;
}

.btn.btn-ghost{
  border-color: rgba(23,61,45,0.10);
  background: rgba(255,255,255,0.78);
  color: var(--editorial-text);
}

body[data-theme="dark"] .btn.btn-ghost{
  border-color: rgba(126,189,162,0.12);
  background: rgba(255,255,255,0.04);
  color: var(--editorial-text);
}

.panel-icon-btn,
.current-date-chip,
.theme-toggle,
.privacy-toggle,
.mobile-month-chip,
.mobile-icon-btn{
  min-height: 42px;
  border-radius: 999px;
  border: 1px solid var(--editorial-border);
  background: rgba(255,255,255,0.78);
  color: var(--editorial-text);
}

body[data-theme="dark"] .panel-icon-btn,
body[data-theme="dark"] .current-date-chip,
body[data-theme="dark"] .theme-toggle,
body[data-theme="dark"] .privacy-toggle,
body[data-theme="dark"] .mobile-month-chip,
body[data-theme="dark"] .mobile-icon-btn{
  background: rgba(255,255,255,0.05);
}

.summary-card,
.card{
  border-radius: 24px;
}

.summary-context-bar{
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.85rem;
  margin: -0.15rem 0 1rem;
  color: var(--editorial-muted);
  font-size: 0.92rem;
}

.summary-context-bar strong{
  color: var(--editorial-text);
}

.mobile-topbar{
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.support-page{
  min-height: calc(100vh - 4.5rem);
  padding: 1.25rem 0 2rem;
}

.support-shell{
  width: min(1120px, calc(100% - 1.8rem));
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}

.support-hero{
  border: 1px solid var(--editorial-border);
  border-radius: 32px;
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(25,195,125,0.12), transparent 58%),
    var(--editorial-surface);
  padding: 1.5rem;
  box-shadow: var(--editorial-glow);
}

.support-hero h1{
  margin: 0.35rem 0 0;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.04em;
  line-height: 0.98;
}

.support-hero p{
  margin: 0.7rem 0 0;
  max-width: 60ch;
  color: var(--editorial-muted);
  line-height: 1.65;
}

.support-grid{
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(320px, 0.7fr);
  gap: 1rem;
}

.support-card{
  border: 1px solid var(--editorial-border);
  border-radius: 28px;
  background: var(--editorial-surface);
  padding: 1.2rem;
  box-shadow: var(--editorial-glow);
}

.support-card h2,
.support-card h3{
  margin: 0;
  letter-spacing: -0.03em;
}

.support-card p{
  color: var(--editorial-muted);
  line-height: 1.6;
}

.support-card .ui-field{
  margin-top: 0.9rem;
}

.support-card .ui-input,
.support-card .ui-textarea{
  border-radius: 18px;
  border: 1px solid var(--editorial-border);
  background: rgba(255,255,255,0.82);
}

body[data-theme="dark"] .support-card .ui-input,
body[data-theme="dark"] .support-card .ui-textarea{
  background: rgba(255,255,255,0.05);
}

.support-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1rem;
}

.support-list{
  display: grid;
  gap: 0.8rem;
  margin-top: 1rem;
}

.support-list-item{
  border-radius: 20px;
  background: var(--editorial-surface-soft);
  padding: 0.95rem 1rem;
}

.support-list-item strong{
  display: block;
  margin-bottom: 0.3rem;
  color: var(--editorial-text);
}

@media (max-width: 860px){
  .support-grid{
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px){
  .page-header{
    padding: 1rem;
  }

  .support-hero{
    padding: 1.15rem;
  }

  .support-actions{
    flex-direction: column;
  }
}
