/*
  Better Being — mockup custom layer (ported verbatim from inline <style> blocks,
  union of all 9 pages, brand hex re-tokened to bb vars). Sits above the Tailwind
  static build; below module CSS.
*/
9..144,500;9..144,600;9..144,700&family=Inter:wght@400;500;600;700&display=swap');
:root { --bb-ink: var(--bb-ink); --bb-primary: var(--bb-primary); --bb-primary-soft: var(--bb-primary-soft); --bb-sage: var(--bb-sage); --bb-cream: var(--bb-cream); --bb-cream-2: var(--bb-cream-2); --bb-coral: var(--bb-coral); --bb-coral-soft: var(--bb-coral-soft); --bb-honey: var(--bb-honey); --origin-orange: var(--origin-orange); --stone-line: var(--stone-line); }
.display { font-family: var(--bb-font-display); letter-spacing: -0.01em; }
.card { background: #fff; border: 1px solid var(--stone-line); border-radius: 20px; }
.card-lg { border-radius: 28px; }
.surface-cream { background: var(--bb-cream); }
.surface-cream2 { background: var(--bb-cream-2); }
.pill { padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; display: inline-block; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; font-size: 12px; font-weight: 500; }
.grid-bg { background-image: radial-gradient(circle at 1px 1px, #E5DED1 1px, transparent 0); background-size: 18px 18px; }
.ring-pillar { background: conic-gradient(var(--bb-primary) calc(var(--p) * 1%), #E5DED1 0); }
.ring-coral { background: conic-gradient(var(--bb-coral) calc(var(--p) * 1%), #E5DED1 0); }
.badge-shine { background: radial-gradient(circle at 30% 25%, #ffffffaa, transparent 55%), linear-gradient(135deg, var(--bb-honey), var(--bb-coral)); }
.gradient-deep { background: var(--bb-ink-panel); color: #fff; }
.gradient-deep .display, .gradient-deep h1, .gradient-deep h2, .gradient-deep h3, .gradient-deep p { color: #fff; }
.gradient-deep .pill { background: color-mix(in srgb, var(--bb-primary) 34%, transparent); color: #fff; }
.gradient-warm { background: linear-gradient(135deg, #fff, var(--bb-cream-2)); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 20px; border-radius: 999px; font-weight: 600; font-size: 14px; transition: all .15s ease; cursor: pointer; border: 1px solid transparent; line-height: 1; }
.btn-lg { padding: 14px 26px; font-size: 15px; }
.btn-primary { background: var(--bb-primary); color: white; }
.btn-primary:hover { background: var(--bb-ink); }
.btn-secondary { border-color: var(--bb-primary); color: var(--bb-primary); background: transparent; }
.btn-secondary:hover { background: var(--bb-primary); color: white; }
.btn-ghost { color: var(--bb-primary); background: transparent; }
.btn-ghost:hover { background: var(--bb-cream); }
.btn-coral { background: var(--bb-coral); color: white; }
.btn-coral:hover { filter: brightness(0.95); }
input[type="text"], input[type="email"], input[type="password"], input[type="tel"], select, textarea { transition: all .15s ease; font-family: inherit; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--bb-primary); box-shadow: 0 0 0 3px rgba(31,77,63,0.12); }
.field { width: 100%; padding: 10px 14px; border-radius: 12px; border: 1px solid #E5DED1; background: white; font-size: 14px; }
.field-lg { padding: 14px 16px; border-radius: 14px; font-size: 15px; }
.label { font-size: 11px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: #78716C; }
.toggle-track { width: 36px; height: 22px; border-radius: 999px; background: #E5DED1; position: relative; transition: all .15s; cursor: pointer; }
.toggle-track.on { background: var(--bb-primary); }
.toggle-thumb { position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 999px; background: white; transition: all .15s; }
.toggle-track.on .toggle-thumb { left: 17px; }
.step-dot { width: 10px; height: 10px; border-radius: 999px; background: #E5DED1; }
.step-dot.active { background: var(--bb-primary); }
.step-dot.done { background: var(--bb-primary-soft); }
.app-header { border-bottom: 1px solid rgba(231,222,209,0.6); background: rgba(255,255,255,0.72); backdrop-filter: blur(10px); position: sticky; top: 0; z-index: 30; }
.app-nav-link { padding: 6px 14px; border-radius: 999px; font-size: 14px; color: #57534E; font-weight: 500; transition: all .12s; }
.app-nav-link:hover { background: rgba(31,77,63,0.06); color: var(--bb-ink); }
.app-nav-link.active { background: var(--bb-primary); color: white; }
.hover-lift { transition: all .15s ease; }
.hover-lift:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(15,42,35,0.06); }
.avatar-1 { background: linear-gradient(135deg, var(--bb-primary-soft), var(--bb-primary)); }
.avatar-2 { background: linear-gradient(135deg, var(--bb-coral), #D86A3F); }
.avatar-3 { background: linear-gradient(135deg, var(--bb-honey), #C8902F); }
.avatar-4 { background: linear-gradient(135deg, #5B7FB1, #3F5C8C); }
.avatar-5 { background: linear-gradient(135deg, #8B6FB1, #6E548C); }
.likert-btn { padding: 10px 8px; border-radius: 12px; border: 1px solid #E5DED1; background: white; font-size: 12px; font-weight: 500; line-height: 1.2; transition: all .12s; cursor: pointer; min-height: 56px; display: flex; align-items: center; justify-content: center; text-align: center; color: #44403C; }
.likert-btn:hover { border-color: #94A89C; }
.likert-btn.selected { border-color: var(--bb-primary); border-width: 2px; background: #F4F8F5; color: var(--bb-primary); font-weight: 600; }
details > summary { list-style: none; cursor: pointer; }
details > summary::-webkit-details-marker { display: none; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.fade-up { animation: fadeUp .35s ease both; }
@keyframes scoreReveal { from { opacity: 0; transform: scale(0.92); } to { opacity: 1; transform: scale(1); } }
.score-reveal { animation: scoreReveal .55s cubic-bezier(.2,.7,.2,1) both; }
/* Range styles */
  input[type="range"] { -webkit-appearance: none; appearance: none; height: 8px; border-radius: 999px; background: #E5DED1; outline: none; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 22px; height: 22px; border-radius: 999px; background: white; border: 3px solid var(--bb-primary); cursor: grab; box-shadow: 0 2px 6px rgba(0,0,0,0.08); }
input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 999px; background: white; border: 3px solid var(--bb-primary); cursor: grab; box-shadow: 0 2px 6px rgba(0,0,0,0.08); }
[data-day] { background: white; border: 1px solid #E5DED1; color: #A8A29E; }
[data-day]:hover { border-color: #94A89C; }
[data-day].on { background: var(--bb-primary); border-color: var(--bb-primary); color: white; }
.pillar-card { transition: all .15s ease; }
.pillar-card.selected { border-color: var(--bb-primary); background: #F4F8F5; box-shadow: 0 0 0 3px rgba(31,77,63,0.12); }
.pillar-card.selected .check { opacity: 1; transform: scale(1); }
.check { opacity: 0; transform: scale(0.6); transition: all .15s ease; }
.hover-lift:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(15,42,35,0.08); }
.filter-chip { padding: 8px 16px; border-radius: 999px; font-size: 13px; font-weight: 600; cursor: pointer; transition: all .12s; border: 1px solid var(--stone-line); background: white; color: #57534E; }
.filter-chip:hover { border-color: var(--bb-primary-soft); }
.filter-chip.active { background: var(--bb-primary); color: white; border-color: var(--bb-primary); }
.hero-art { aspect-ratio: 16/10; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 48px; position: relative; overflow: hidden; }
/* Card art: muted, desaturated pillar tints that sit calmly under any client theme (was loud pastels that clashed with hot brands) */
.hero-mindset { background: linear-gradient(135deg, #EFEAF4, #E3DAEE); color: #5B4A78; }
.hero-movement { background: linear-gradient(135deg, #F5ECE1, #EBDDC8); color: #7A5A32; }
.hero-nutrition { background: linear-gradient(135deg, #E9EFE1, #D9E5CD); color: #4A5E38; }
.hero-recovery { background: linear-gradient(135deg, #E6ECF1, #D5DFE9); color: #3E5163; }
.hero-bonus { background: linear-gradient(135deg, var(--bb-coral-soft), var(--bb-coral)); color: white; }
.field { width: 100%; padding: 10px 14px; border-radius: 12px; border: 1px solid #E5DED1; background: white; font-size: 14px; font-family: inherit; }
details > summary { list-style: none; cursor: pointer; padding: 16px 0; }
details > summary::after { content: '+'; float: right; font-size: 20px; color: #A8A29E; transition: transform .2s ease; }
details[open] > summary::after { content: '−'; }
.eap-card { background: var(--bb-tint); border: 1px solid color-mix(in srgb, var(--bb-primary) 20%, transparent); }
.tick-circle { width: 88px; height: 88px; border-radius: 999px; background: var(--bb-primary); display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 30px rgba(31,77,63,0.18); }
.tick-circle svg { width: 44px; height: 44px; }
.confetti-dot { position: absolute; width: 8px; height: 8px; border-radius: 999px; opacity: 0; }
@keyframes confetti-burst {
  0% { opacity: 1; transform: translate(0, 0) rotate(0deg); }
  100% { opacity: 0; transform: translate(var(--dx), var(--dy)) rotate(360deg); }
}
.confetti-dot.go { animation: confetti-burst 1.4s cubic-bezier(.2,.7,.2,1) both; }
.copy-btn.copied { background: var(--bb-primary-soft); color: white; }

/* Inter-section rhythm: mockup <main> space-y-8 — dnd_area wraps sections so the
   utility can't reach them; recreate the 32px stack gap on dnd section wrappers. */
.bb-stack-8 .dnd-section + .dnd-section { margin-top: 2rem; }