/* Member workspace refinement. Keep the established Little Believers blue and warm accent. */
:root {
  --ink: #183251;
  --muted: #526882;
  --blue: #245fcf;
  --blue-deep: #174eaF;
  --line: #dce6f2;
  --paper: #f3f7fc;
  --shadow: 0 8px 28px rgba(25, 61, 110, .07);
}

html { scroll-padding-top: 78px; scroll-padding-bottom: 84px; }
body { font-size: 16px; line-height: 1.5; }
body.menu-open { overflow: hidden; }
button, a { touch-action: manipulation; }
:where(a, button, input):focus-visible {
  outline: 3px solid #276bd7;
  outline-offset: 3px;
}
.skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  transform: translateY(-160%);
  border-radius: 8px;
  background: #fff;
  color: var(--blue-deep);
  font-size: 14px;
  font-weight: 800;
}
.skip-link:focus { transform: translateY(0); }
.ui-icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: middle;
}

.topbar { height: 64px; padding-inline: 16px; }
.menu-toggle { width: 44px; height: 44px; }
.menu-toggle .ui-icon { width: 22px; height: 22px; }
.breadcrumb { max-width: calc(100vw - 184px); overflow: hidden; text-overflow: ellipsis; font-size: 12px; color: #5c718b; }
.breadcrumb strong { color: var(--ink); }
.sign-out, .topbar-login { min-height: 44px; padding-inline: 10px; font-size: 12px; }
.sign-out { color: #355477; }

.sidebar-close { width: 44px; height: 44px; }
.workspace-pill strong { font-size: 13px; }
.workspace-pill small { font-size: 11px; color: #5f7189; }
.nav-heading { color: #62748d; font-size: 11px; }
.nav-link { min-height: 48px; gap: 12px; color: #46607e; font-size: 14px; }
.nav-link:hover, .nav-link.active { background: #e7f0ff; color: #1855bc; }
.nav-icon { width: 21px; height: 21px; }
.nav-count { font-size: 11px; color: #3c597a; }
.brand-mark .ui-icon { width: 24px; height: 24px; }
.help-icon .ui-icon, .locked-icon .ui-icon, .dialog-icon .ui-icon,
.empty-icon .ui-icon, .orders-icon .ui-icon, .coming-card .ui-icon { width: 23px; height: 23px; }
.profile-button { min-height: 64px; }
.profile-copy strong { font-size: 13px; }
.profile-copy small { color: #62768f; font-size: 11px; }
.sidebar-tip p { color: #576c85; font-size: 12px; }

main { min-height: calc(100dvh - 64px); padding: 0 16px calc(112px + env(safe-area-inset-bottom)); }
.page { padding-top: 24px; }
.page-intro { margin-bottom: 20px; }
.eyebrow { color: #3464ad; font-size: 11px; letter-spacing: .12em; }
.page-intro h1 { margin: 8px 0 7px; font-size: clamp(28px, 6vw, 35px); line-height: 1.15; }
.page-intro p { color: var(--muted); font-size: 15px; }
.section-heading { align-items: flex-start; margin: 26px 0 14px; }
.section-heading h2 { font-size: 23px; line-height: 1.2; }
.section-heading p { color: var(--muted); font-size: 14px; }
.section-count { font-size: 12px; color: #315886; }

.hero { min-height: 318px; border-radius: 20px; background: linear-gradient(125deg, #173e91 0%, #2868d4 69%, #6eb5ec 100%); }
.hero-copy { padding: 25px 24px 126px; }
.hero-kicker { font-size: 11px; }
.hero h2 { margin: 10px 0; font-size: clamp(26px, 6vw, 32px); line-height: 1.12; }
.hero p { max-width: 400px; margin-bottom: 18px; color: #f0f6ff; font-size: 14px; line-height: 1.5; }
.hero-button { min-height: 46px; padding-inline: 17px; border-radius: 10px; color: #194b9d; font-size: 14px; }
.hero-button:hover { background: #edf4ff; }
.hero-art { width: 190px; height: 126px; right: 8px; }
.hero-art img { width: 102px; height: 102px; }
.hero-art img:last-child { left: 75px; }

.stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.stat-card { min-height: 108px; padding: 14px 15px; }
.stat-icon { width: 34px; height: 34px; }
.stat-icon .ui-icon { width: 19px; height: 19px; }
.stat-card small { margin: 4px 0 8px; color: #4e6785; font-size: 10px; letter-spacing: .08em; }
.stat-card strong { font-size: 29px; }
.stat-card > span:last-child { margin-top: 4px; color: var(--muted); font-size: 12px; line-height: 1.25; }

.product-grid { grid-template-columns: 1fr; gap: 13px; }
.product-card { gap: 13px; min-height: 160px; padding: 12px; border-radius: 16px; }
.product-art { flex-basis: 98px; width: 98px; min-height: 98px; height: 98px; border-radius: 11px; }
.product-art img { aspect-ratio: 1; }
.product-top { flex-wrap: wrap; align-items: flex-start; gap: 4px 7px; }
.product-eyebrow { color: #4e6888; font-size: 10px; }
.product-state { padding: 5px 7px; font-size: 10px; letter-spacing: .02em; }
.product-state.unlocked { background: #e5f6ec; color: #266247; }
.product-state.locked { background: #e9f0ff; color: #315c9b; }
.product-body h2 { margin: 7px 0 5px; font-size: 19px; line-height: 1.2; }
.product-body p { color: var(--muted); font-size: 13px; line-height: 1.45; }
.card-action { min-height: 44px; margin-top: 12px; padding: 8px 11px; border-radius: 9px; color: #1e56af; font-size: 13px; }
.card-action:active, .material-open:active, .material-download:active, .hero-button:active { filter: brightness(.94); }
.empty-state p, .coming-card p, .orders-panel p, .help-card p { color: var(--muted); font-size: 14px; }
.empty-state h2, .orders-panel h2, .help-card h2 { font-size: 20px; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; color: #205abb; font-size: 14px; }
.coming-card strong { font-size: 15px; }

.back-link { min-height: 44px; margin-bottom: 14px; color: #2358a4; font-size: 14px; }
.product-hero { grid-template-columns: 88px minmax(0, 1fr); gap: 14px; padding: 16px; }
.product-cover { width: 88px; }
.product-hero-copy h1 { font-size: clamp(21px, 5vw, 30px); line-height: 1.16; }
.product-hero-copy p { color: var(--muted); font-size: 13px; line-height: 1.5; }
.product-hero-actions { margin-top: 12px; }
.access-pill { color: #31578c; font-size: 11px; }
.access-pill.unlocked { color: #246246; }
.product-file-count { color: #4e6682; font-size: 12px; }
.material-grid { grid-template-columns: 1fr; gap: 12px; }
.material-card { gap: 12px; padding: 14px; border-radius: 14px; }
.material-icon { width: 44px; height: 44px; flex-basis: 44px; }
.material-icon .ui-icon { width: 22px; height: 22px; }
.material-copy small { color: #4b6b96; font-size: 11px; }
.material-copy strong { color: var(--ink); font-size: 15px; line-height: 1.35; }
.material-actions { gap: 9px; margin-top: 3px; }
.material-open, .material-download { min-height: 46px; gap: 6px; padding: 8px 10px; border-radius: 10px; font-size: 13px; line-height: 1.2; }
.material-open { background: #e3eeff; color: #184f9f; }
.material-download { color: #2a527f; }
.material-actions .ui-icon { width: 17px; height: 17px; }
.primary-button, .secondary-button { min-height: 46px; font-size: 13px; }
.locked-panel p { color: #46627f; font-size: 14px; }
.locked-panel h2 { font-size: 21px; }
.help-card { padding: 22px; }
.order-row strong { font-size: 15px; }
.order-row span { color: #526882; font-size: 12px; }
.order-row b { font-size: 11px; }

.reader-heading h1 { font-size: clamp(24px, 5vw, 30px); }
.reader-heading p { color: var(--muted); font-size: 14px; }
.reader-actions .primary-button { min-height: 46px; }
.reader-viewer { overflow: visible; }
.reader-toolbar { position: sticky; top: 64px; z-index: 5; border-radius: 14px 14px 0 0; }
.reader-toolbar button { min-height: 44px; padding-inline: 10px; font-size: 13px; white-space: nowrap; }
.reader-toolbar strong { color: #3d5877; font-size: 13px; white-space: nowrap; }
.reader-canvas-wrap { min-height: 0; max-height: none; overflow: visible; padding: 14px; border-radius: 0 0 14px 14px; }
.reader-viewer #reader-status { color: #445d7d; font-size: 12px; }

.mobile-bottom-nav { padding-top: 5px; padding-bottom: max(5px, env(safe-area-inset-bottom)); }
.mobile-bottom-nav a { position: relative; min-height: 58px; gap: 3px; color: #526782; font-size: 11px; }
.mobile-bottom-nav a.active { color: #1455b9; }
.mobile-bottom-nav a.active::before { content: ''; position: absolute; top: -5px; width: 34px; height: 3px; border-radius: 0 0 4px 4px; background: #276bd7; }
.mobile-bottom-nav .ui-icon { width: 22px; height: 22px; }

dialog { border-radius: 19px; }
.dialog-close { display: grid; place-items: center; width: 44px; height: 44px; top: 8px; right: 8px; }
.dialog-inner p { color: var(--muted); font-size: 14px; }
.dialog-inner label { font-size: 14px; }
.dialog-inner input { min-height: 48px; font-size: 16px; }
.auth-message { font-size: 13px; }
footer { color: #5f7188; font-size: 12px; }

@media (min-width: 600px) {
  main { padding: 0 28px 88px; }
  .hero { min-height: 270px; }
  .hero-copy { padding: 30px 250px 30px 32px; }
  .hero-art { right: 22px; bottom: 16px; width: 220px; height: 165px; }
  .hero-art img { width: 135px; height: 135px; }
  .hero-art img:last-child { left: 95px; }
  .product-hero { grid-template-columns: 150px minmax(0, 1fr); gap: 24px; padding: 22px; }
  .product-cover { width: 150px; }
  .product-hero-copy p { font-size: 15px; }
  .material-grid { grid-template-columns: 1fr; }
}
@media (min-width: 600px) and (max-width: 759px) {
  .hero { min-height: 318px; }
  .hero-copy { padding: 25px 24px 126px; }
  .hero-art { right: 8px; bottom: 0; width: 190px; height: 126px; }
  .hero-art img { width: 102px; height: 102px; }
  .hero-art img:last-child { left: 75px; }
}
@media (min-width: 760px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
  .topbar { height: 72px; }
  .breadcrumb { max-width: none; font-size: 13px; }
  main { min-height: calc(100dvh - 72px); padding: 0 36px 40px; }
  .page { padding-top: 32px; }
  .page-intro { margin-bottom: 24px; }
  .hero-copy { padding: 34px 320px 34px 38px; }
  .hero-art { right: 48px; }
  .reader-toolbar { top: 72px; }
  .material-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1250px) {
  .material-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 380px) {
  .topbar { padding-inline: 10px; }
  .product-card { gap: 10px; }
  .product-art { flex-basis: 88px; width: 88px; height: 88px; }
  .product-hero { grid-template-columns: 82px minmax(0, 1fr); gap: 11px; }
  .product-cover { width: 82px; }
  .material-open, .material-download { font-size: 12px; }
  .reader-toolbar { gap: 4px; padding: 7px; }
  .reader-toolbar button, .reader-toolbar strong { font-size: 12px; }
  .reader-toolbar button { padding-inline: 7px; }
}
@media (max-width: 340px) {
  .material-actions { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* Little Believers member app — calm canvas, expressive content, clear navigation. */
:root {
  --ink: #142444;
  --muted: #52647f;
  --blue: #315fe5;
  --blue-deep: #244ac5;
  --line: #e4e9f3;
  --paper: #f5f7fb;
  --shadow: 0 8px 28px rgba(27, 45, 88, .065);
}
body { background: var(--paper); color: var(--ink); }
.page-container { max-width: 1170px; }
.mobile-brand { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; font-family: Nunito, Arial, sans-serif; font-size: 16px; font-weight: 900; letter-spacing: -.045em; white-space: nowrap; }
.mobile-brand strong { color: #315fe5; }
.mobile-brand-mark { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; background: #f7ce73; color: #152a5b; box-shadow: 0 3px 0 #e8b655; }
.mobile-brand-mark .ui-icon { width: 17px; height: 17px; }
.topbar { height: 68px; background: rgba(255,255,255,.94); border-color: #e7ebf3; backdrop-filter: blur(16px); }
.topbar-start { min-width: 0; }
.topbar-actions { gap: 5px; }
.menu-toggle { flex: 0 0 44px; background: #eff3fb; border-radius: 13px; color: #284b9b; }
.menu-toggle:active { transform: scale(.96); }
.breadcrumb { display: none; }
.sign-out { font-size: 12px; color: #536786; }
.sign-out:hover { color: #244ac5; background: #eff3ff; border-radius: 11px; }
.topbar-login { border-radius: 11px; background: #eff3ff; color: #2453c1; font-size: 12px; }

.sidebar { background: #121e3b; border-right: 0; color: #f7f9ff; box-shadow: 16px 0 56px rgba(9, 23, 56, .25); }
.sidebar-head { padding-top: 25px; }
.brand { color: #f7f9ff; }
.brand strong { color: #f7ce73; }
.brand-mark { background: #f7ce73; color: #172b59; border-radius: 14px; box-shadow: 0 4px 0 #dba94d; }
.sidebar-close { background: #243454; color: #f2f5ff; }
.workspace-pill { margin-top: 29px; margin-bottom: 25px; border-color: #344465; background: #1c2b4b; }
.workspace-avatar { color: #1c3059; background: #f7ce73; }
.workspace-pill strong { color: #f8faff; }
.workspace-pill small { color: #acbad4; }
.nav-heading { color: #8499bf; }
.nav-link { color: #c5d0e5; border: 1px solid transparent; border-radius: 12px; transition: background .2s ease, color .2s ease, transform .2s ease; }
.nav-link:hover { color: #fff; background: #26395f; }
.nav-link.active { color: #fff; background: #3659aa; border-color: #4770cf; box-shadow: inset 0 1px 0 #ffffff2b, 0 7px 15px #070f2730; }
.nav-link:active { transform: scale(.98); }
.nav-link .product-dot { display: grid; place-items: center; }
.nav-count { color: #e9efff; background: #ffffff30; }
.sidebar-bottom { padding-bottom: 24px; }
.sidebar-tip { background: linear-gradient(135deg,#2a4279,#203761); border-color: #4568a7; }
.sidebar-tip > span { color: #ffd981; }
.sidebar-tip strong { color: #fff; }
.sidebar-tip p { color: #d3def5; }
.profile-button { border-color: #334360; color: #fff; }
.profile-button:hover { background: #1d2d4f; border-radius: 12px; }
.avatar { background: #f7ce73; color: #243759; border-radius: 12px; }
.profile-copy strong { color: #f9fbff; }
.profile-copy small, .profile-arrow { color: #a9bbdb; }

.page { padding-top: 25px; }
.page-intro { margin-bottom: 20px; }
.page-intro h1 { font-size: clamp(27px, 6.6vw, 39px); letter-spacing: -.055em; }
.page-intro p { max-width: 58ch; font-size: 14px; }
.eyebrow { color: #536fa9; font-size: 10px; letter-spacing: .13em; }
.section-heading { align-items: flex-end; margin: 27px 0 14px; }
.section-heading h2 { font-size: clamp(22px, 4vw, 27px); letter-spacing: -.045em; }
.section-heading p { font-size: 13px; }
.section-link { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-height: 44px; flex: 0 0 auto; color: #2c56bf; font-size: 13px; font-weight: 900; }
.section-link:hover { color: #173d9e; }

.hero { min-height: 252px; background: radial-gradient(circle at 83% 7%, #526fe6 0, transparent 35%), linear-gradient(122deg, #122758 0%, #2f5cd9 72%, #6d8bee 100%); border: 1px solid #496ce1; border-radius: 26px; box-shadow: 0 16px 30px rgba(28, 65, 150, .18), inset 0 1px 0 #ffffff2e; }
.hero::before { right: -85px; top: -135px; width: 320px; height: 320px; border: 1px solid #ffffff24; box-shadow: 0 0 0 55px #ffffff08, 0 0 0 110px #ffffff07; }
.hero::after { content: ''; position: absolute; width: 84px; height: 84px; right: 76px; bottom: -50px; border-radius: 26px; transform: rotate(-25deg); background: #f5cf7440; filter: blur(6px); }
.hero-copy { padding: 23px 118px 24px 23px; }
.hero-kicker { color: #cbdcff; font-size: 10px; }
.hero h2 { margin: 12px 0 10px; font-size: clamp(24px, 6.3vw, 30px); line-height: 1.08; letter-spacing: -.045em; }
.hero h2 em { color: #ffdc83; }
.hero p { max-width: 26ch; margin: 0 0 17px; font-size: 13px; line-height: 1.4; }
.hero-button { min-height: 45px; padding: 0 14px; gap: 10px; background: #ffdf8d; border-radius: 11px; color: #172b5b; box-shadow: 0 4px 0 #e0b960; font-size: 12px; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.hero-button:hover { background: #ffebae; transform: translateY(-2px); box-shadow: 0 6px 0 #e0b960; }
.hero-button:active { transform: translateY(2px); box-shadow: 0 2px 0 #e0b960; }
.hero-art { width: 127px; height: 137px; right: 2px; bottom: 19px; z-index: 1; }
.hero-art img { width: 119px; height: 119px; border: 4px solid #fff; border-radius: 18px; box-shadow: 0 13px 23px #10245466; }
.hero-art img:first-child { display: none; }
.hero-art img:last-child { left: 0; top: 8px; transform: rotate(9deg); }

.product-grid { gap: 13px; }
.product-card { position: relative; min-height: 171px; gap: 13px; padding: 12px; border-radius: 21px; border-color: #e3e8f1; background: #fff; box-shadow: 0 3px 0 #e3e8f1, 0 10px 22px rgba(24, 45, 90, .055); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.product-card:hover { transform: translateY(-3px); border-color: #b9caf1; box-shadow: 0 5px 0 #d0daf0, 0 18px 30px rgba(24, 45, 90, .11); }
.product-art { display: block; flex: 0 0 107px; width: 107px; min-height: 107px; height: 107px; overflow: visible; border-radius: 17px; background: #eaf0ff; }
.product-card[data-product="premium"] .product-art { background: #fff0c9; }
.product-card[data-product="teachers_guide"] .product-art { background: #dff5ea; }
.product-card[data-product="crafts"] .product-art { background: #fff0e4; }
.product-card[data-product="family_faith"] .product-art { background: #efe9ff; }
.product-card[data-product="passport"] .product-art { background: #d9efff; }
.product-art img { border-radius: 15px; object-fit: cover; box-shadow: 0 4px 10px #20345f24; }
.product-body { padding: 1px 0; }
.product-top { justify-content: flex-start; }
.product-eyebrow { color: #637697; font-size: 10px; }
.product-state { padding: 5px 8px; font-size: 9px; }
.product-body h2 { margin: 8px 0 4px; font-size: 18px; line-height: 1.16; }
.product-body h2 a:hover { color: #315fe5; }
.product-body p { color: #5c6f87; font-size: 12px; line-height: 1.4; }
.product-details { display: block; margin-top: 8px; color: #6b7f9d; font-size: 11px; font-weight: 800; }
.product-price { display: block; margin-top: 10px; color: #183b82; font-size: 17px; line-height: 1.1; }

.preview-banner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 9px 18px; max-width: 1170px; margin: 17px auto 0; padding: 12px 15px; border: 1px solid #e8c36b; border-radius: 13px; background: #fff5d8; color: #59421d; font-size: 12px; line-height: 1.45; }
.preview-banner strong { font-weight: 900; }
.preview-banner a { display: inline-flex; align-items: center; min-height: 35px; color: #1950a9; font-weight: 900; white-space: nowrap; }
.preview-banner a:hover { text-decoration: underline; }

/* Companion offers use the same artwork as the Hotmart checkout banners. */
#recommendations-grid { grid-template-columns: 1fr; }
.recommendation-card { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 13px; min-width: 0; padding: 12px; border: 1px solid #e3e8f1; border-radius: 20px; background: #fff; box-shadow: 0 3px 0 #e3e8f1, 0 10px 22px rgba(24, 45, 90, .055); }
.recommendation-art { display: block; min-width: 0; overflow: hidden; border-radius: 12px; background: #eaf0ff; }
.recommendation-art img { display: block; width: 100%; height: 100%; min-height: 100px; object-fit: cover; }
.recommendation-body { display: flex; flex-direction: column; min-width: 0; gap: 6px; }
.recommendation-body h3 { margin: 0; color: #18335d; font-family: Nunito, Arial, sans-serif; font-size: 16px; line-height: 1.18; }
.recommendation-body p { margin: 0; color: #60718b; font-size: 11px; line-height: 1.4; }
.recommendation-body .card-action { margin-top: auto; }
@media (min-width: 700px) {
  .recommendation-card { display: block; padding: 13px; }
  .recommendation-art img { height: auto; min-height: 0; aspect-ratio: 3.08; object-fit: contain; }
  .recommendation-body { flex-direction: row; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 3px 2px; }
  .recommendation-body h3 { font-size: 18px; }
  .recommendation-body p { margin-top: 4px; font-size: 12px; }
  .recommendation-body .card-action { flex: 0 0 auto; margin-top: 0; }
}
.card-action { min-height: 38px; margin-top: 11px; padding: 7px 11px; background: #eff3ff; border-radius: 10px; color: #264fc5; font-size: 12px; }
.card-action:hover { background: #dfe8ff; }

.stats { gap: 12px; margin-top: 25px; }
.stat-card { min-height: 103px; border-radius: 19px; box-shadow: 0 3px 0 #e3e8f1; }
.stat-card small { color: #657795; }
.stat-card > span:last-child { color: #667890; }
.stat-icon { border-radius: 11px; }
.empty-state, .orders-panel, .help-card, .coming-card, .locked-panel { border-radius: 20px; }
.empty-state { background: #fff; border-style: solid; }
.help-card { box-shadow: 0 3px 0 #e3e8f1; }
.coming-card { background: #eef3fe; }

.back-link { color: #2b55bf; font-weight: 900; }
.product-hero { position: relative; overflow: hidden; border-radius: 25px; border-color: #e2e9f5; background: radial-gradient(circle at 4% 4%, #e7eeff, transparent 44%), #fff; box-shadow: 0 4px 0 #e4e9f2, 0 12px 26px rgba(24,45,90,.05); }
.product-hero[data-product="premium"] { background: radial-gradient(circle at 4% 4%, #fff0c9, transparent 44%), #fff; }
.product-hero[data-product="teachers_guide"] { background: radial-gradient(circle at 4% 4%, #dff5ea, transparent 44%), #fff; }
.product-hero[data-product="crafts"] { background: radial-gradient(circle at 4% 4%, #fff0e4, transparent 44%), #fff; }
.product-hero[data-product="family_faith"] { background: radial-gradient(circle at 4% 4%, #efe9ff, transparent 44%), #fff; }
.product-hero[data-product="passport"] { background: radial-gradient(circle at 4% 4%, #d9efff, transparent 44%), #fff; }
.product-cover { border-radius: 18px; box-shadow: 0 5px 15px #20345f25; }
.product-hero-copy h1 { letter-spacing: -.045em; }
.product-hero-copy p { font-size: 13px; }
.access-pill { padding: 8px 11px; }
.product-content .section-heading { margin-top: 35px; }
.material-card { border-radius: 18px; padding: 15px; box-shadow: 0 3px 0 #e3e8f1; }
.material-card:hover { border-color: #b8c9ed; background: #fff; }
.material-icon { border-radius: 12px; background: #e9efff; color: #315ac6; }
.material-copy strong { font-size: 15px; }
.material-open { background: #315fe5; color: #fff; }
.material-open:hover { background: #244ac5; }
.material-download { border-color: #cbd8ef; background: #f7f9fe; color: #2c54b0; }
.material-download:hover { background: #eaf0fe; }
.reader-viewer { border-radius: 18px; }
.reader-toolbar { background: #fff; }
.reader-canvas-wrap { background: #e9edf6; }
.primary-button { background: #315fe5; border-radius: 11px; }
.primary-button:hover { background: #244ac5; }
.secondary-button { border-radius: 11px; }
.text-link { color: #2b55bf; }
dialog { border-radius: 24px; }
.dialog-icon { background: #eaf0ff; color: #315fe5; }

.mobile-bottom-nav { inset: auto 12px calc(10px + env(safe-area-inset-bottom)); width: calc(100% - 24px); padding: 5px; border: 1px solid #e3e9f3; border-radius: 22px; background: rgba(255,255,255,.96); box-shadow: 0 11px 32px #1a326143, 0 1px 1px #fff inset; backdrop-filter: blur(18px); }
.mobile-bottom-nav a { min-height: 57px; border-radius: 16px; color: #60708e; font-size: 11px; }
.mobile-bottom-nav a.active { color: #254fbe; background: #edf2ff; }
.mobile-bottom-nav a.active::before { display: none; }
.mobile-bottom-nav .ui-icon { width: 21px; height: 21px; }

@media (max-width: 380px) {
  .mobile-brand { font-size: 14px; }
  .mobile-brand-mark { width: 25px; height: 25px; }
  .topbar { padding-inline: 10px; }
  .hero-copy { padding-right: 103px; }
  .hero h2 { font-size: 23px; }
  .hero-art { width: 105px; right: -2px; bottom: 18px; }
  .hero-art img { width: 101px; height: 101px; }
  .product-art { flex-basis: 88px; width: 88px; height: 88px; min-height: 88px; }
  .product-body h2 { font-size: 17px; }
  .product-details { font-size: 10px; }
}
@media (min-width: 600px) {
  .hero { min-height: 260px; }
  .hero-copy { padding: 32px 245px 32px 33px; }
  .hero h2 { font-size: 31px; }
  .hero p { max-width: 36ch; font-size: 14px; }
  .hero-art { right: 24px; bottom: 18px; width: 215px; height: 171px; }
  .hero-art img { width: 139px; height: 139px; }
  .hero-art img:first-child { display: block; left: 0; top: 25px; transform: rotate(-10deg); }
  .hero-art img:last-child { left: 89px; top: 4px; }
  .product-hero { grid-template-columns: 145px minmax(0,1fr); padding: 23px; }
  .product-cover { width: 145px; }
}
@media (min-width: 760px) and (max-width: 1099px) {
  .product-art { flex-basis: 91px; width: 91px; height: 91px; min-height: 91px; }
  .product-body h2 { font-size: 17px; }
  .product-top { gap: 3px 5px; }
}
@media (min-width: 900px) {
  .app-shell { grid-template-columns: 258px minmax(0, 1fr); }
  .sidebar { box-shadow: none; }
  .mobile-brand { display: none; }
  .breadcrumb { display: block; color: #61718d; font-size: 13px; }
  .topbar { height: 72px; padding-inline: 35px; }
  .page { padding-top: 34px; }
  .page-intro { margin-bottom: 24px; }
  .hero { min-height: 276px; }
  .hero-copy { padding: 38px 290px 38px 39px; }
  .hero h2 { font-size: clamp(31px, 3vw, 38px); }
  .hero-art { right: 40px; }
  .topbar-badge { background: #edf6ef; color: #34704f; }
  .topbar-badge span { background: #4caf7d; }
  .reader-toolbar { top: 72px; }
}
@media (min-width: 1100px) {
  .product-art { flex-basis: 115px; width: 115px; height: 115px; min-height: 115px; }
}
@media (min-width: 1250px) {
  .hero-art { right: 78px; }
  .hero-copy { padding-right: 350px; }
}

/* Dedicated entry page. The member shell stays hidden until /api/me resolves. */
.session-checking .app-shell { visibility: hidden; }
.session-checking::before { content: 'Opening your space…'; position: fixed; inset: 0; display: grid; place-items: center; color: #41547c; font-family: Nunito, Arial, sans-serif; font-size: 16px; font-weight: 900; }
.login-mode { background: #fff; }
.login-mode .app-shell { display: block; }
.login-mode .sidebar, .login-mode .topbar, .login-mode .mobile-bottom-nav, .login-mode footer { display: none !important; }
.login-mode main { min-height: 100dvh; padding: 0; }
.login-mode .page-container { max-width: none; }
.login-page { min-height: 100dvh; padding: 0; }
.login-layout { display: grid; grid-template-columns: 1fr; min-height: 100dvh; background: #fff; }
.login-showcase { position: relative; display: flex; flex-direction: column; min-height: 285px; overflow: hidden; padding: 22px 24px; background: radial-gradient(circle at 85% 30%, #5275e4 0, transparent 35%), linear-gradient(135deg, #112653, #335fe0); color: #fff; }
.login-showcase::before { content: ''; position: absolute; width: 250px; height: 250px; right: -60px; bottom: -110px; border: 1px solid #ffffff25; border-radius: 50%; box-shadow: 0 0 0 45px #ffffff09, 0 0 0 90px #ffffff07; }
.login-brand { position: relative; z-index: 2; display: inline-flex; align-items: center; align-self: flex-start; gap: 10px; min-height: 45px; color: #fff; font-family: Nunito, Arial, sans-serif; font-size: 17px; font-weight: 900; line-height: .86; letter-spacing: -.045em; }
.login-brand strong { color: #ffdf8d; font-size: 21px; }
.login-brand .brand-mark { width: 43px; height: 43px; }
.login-showcase-copy { position: relative; z-index: 2; max-width: 225px; margin-top: 43px; }
.login-kicker { color: #d3e1ff; font-size: 10px; font-weight: 900; letter-spacing: .13em; }
.login-showcase h1 { margin: 9px 0 8px; font-family: Nunito, Arial, sans-serif; font-size: clamp(25px, 6vw, 34px); line-height: 1.08; letter-spacing: -.05em; }
.login-showcase h1 em { color: #ffdf8d; font-style: normal; }
.login-showcase p { max-width: 23ch; margin: 0; color: #e3ecff; font-size: 13px; line-height: 1.45; }
.login-cover-stack { position: absolute; z-index: 1; right: 7px; bottom: 15px; width: 125px; height: 123px; }
.login-cover-stack img { position: absolute; width: 108px; height: 108px; object-fit: cover; border: 3px solid #fff; border-radius: 15px; box-shadow: 0 12px 22px #07193677; }
.login-cover-stack img:first-child { display: none; }
.login-cover-stack img:last-child { right: 0; bottom: 0; transform: rotate(8deg); }
.login-showcase-note { display: none; }
.login-panel { display: grid; align-items: center; padding: 29px 24px 42px; }
.login-panel-inner { width: min(100%, 430px); margin: 0 auto; }
.login-panel .dialog-icon { width: 48px; height: 48px; margin-bottom: 19px; border-radius: 14px; }
.login-panel h2 { margin: 7px 0 7px; font-family: Nunito, Arial, sans-serif; font-size: clamp(28px, 6vw, 34px); line-height: 1.1; letter-spacing: -.05em; }
.login-panel p { color: #52647f; font-size: 14px; line-height: 1.5; }
.login-panel #dialog-description { max-width: 36ch; margin: 0 0 24px; }
.login-panel form label { display: block; margin: 0 0 8px; color: #2d4168; font-size: 13px; font-weight: 900; }
.login-panel form input { width: 100%; min-height: 52px; padding: 0 15px; border: 1px solid #cbd6e8; border-radius: 12px; background: #f9fbff; color: #142444; font-size: 16px; outline: 0; }
.login-panel form input:focus { border-color: #315fe5; box-shadow: 0 0 0 4px #dfe7ff; }
.login-panel form .primary-button { width: 100%; min-height: 52px; gap: 9px; margin-top: 12px; border-radius: 12px; font-size: 14px; }
.login-panel form button:disabled { cursor: wait; opacity: .68; }
.login-panel .text-link { margin-top: 12px; }
.login-panel .auth-message { min-height: 22px; margin-top: 13px; font-size: 13px; }
.login-panel .code-hint { margin: 0 0 19px; padding: 13px 14px; border: 1px solid #dce7f6; border-radius: 12px; background: #f3f7ff; color: #40577c; font-size: 13px; line-height: 1.5; overflow-wrap: anywhere; }
.login-panel .code-hint strong { color: #173d9e; }
.login-panel .code-label { margin-top: 16px; }
.code-resend { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 7px 14px; margin-top: 13px; }
.login-panel .code-resend button { min-height: 44px; padding: 6px 0; border: 0; background: none; color: #2453c1; font-size: 13px; font-weight: 900; }
.login-panel .code-resend button:disabled { color: #6b7e9d; opacity: 1; cursor: default; }
.login-panel .code-resend .text-link { margin: 0; }
.login-help { margin: 13px 0 0; padding-top: 18px; border-top: 1px solid #e5eaf2; }
.login-help a { color: #2453c1; font-weight: 900; }
.login-help a:hover { text-decoration: underline; }
@media (max-width: 350px) {
  .login-showcase { min-height: 263px; padding-inline: 20px; }
  .login-showcase-copy { max-width: 205px; margin-top: 34px; }
  .login-showcase h1 { font-size: 24px; }
  .login-cover-stack { right: -6px; bottom: 11px; width: 101px; }
  .login-cover-stack img { width: 91px; height: 91px; }
  .login-panel { padding-inline: 20px; }
}
@media (min-width: 900px) {
  .login-layout { grid-template-columns: minmax(0, 48%) minmax(0, 52%); }
  .login-showcase { min-height: 100dvh; padding: clamp(30px, 4vw, 64px); }
  .login-showcase-copy { max-width: 530px; margin-top: auto; margin-bottom: 230px; }
  .login-showcase h1 { font-size: clamp(42px, 4.6vw, 68px); }
  .login-showcase p { max-width: 35ch; font-size: 17px; }
  .login-cover-stack { right: 8%; bottom: 70px; width: 330px; height: 210px; }
  .login-cover-stack img { width: 205px; height: 205px; border-width: 5px; border-radius: 22px; }
  .login-cover-stack img:first-child { display: block; left: 0; bottom: 0; transform: rotate(-11deg); }
  .login-cover-stack img:last-child { right: 0; bottom: 13px; }
  .login-showcase-note { position: relative; z-index: 2; display: block; max-width: 160px; margin-top: auto; color: #dbe6ff; font-size: 12px; font-weight: 700; line-height: 1.5; }
  .login-panel { padding: 50px; }
}

/* Install guide in Help. */
.install-card { padding: 22px; border: 1px solid #e1e8f3; border-radius: 24px; background: #fff; box-shadow: 0 4px 0 #e4e9f2, 0 12px 26px rgba(24,45,90,.05); }
.install-intro { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 21px; border-bottom: 1px solid #e9edf5; }
.install-intro > div:first-child { min-width: 0; }
.install-intro h2 { max-width: 22ch; margin: 8px 0 8px; font-family: Nunito, Arial, sans-serif; font-size: clamp(22px, 5.4vw, 29px); line-height: 1.15; letter-spacing: -.045em; }
.install-intro p { max-width: 42ch; margin: 0; color: #5c6f87; font-size: 13px; line-height: 1.5; }
.install-preview { display: grid; justify-items: center; flex: 0 0 88px; gap: 6px; color: #536789; font-size: 10px; font-weight: 900; text-align: center; }
.install-preview img { width: 74px; height: 74px; border-radius: 18px; box-shadow: 0 5px 13px #1f35574d; }
.install-options { display: grid; gap: 10px; margin-top: 18px; }
.install-method { border: 1px solid #dfe7f3; border-radius: 15px; background: #f9fbff; }
.install-method[open] { border-color: #c5d5f3; background: #f6f9ff; }
.install-method summary { display: flex; align-items: center; gap: 12px; min-height: 65px; padding: 10px 13px; cursor: pointer; list-style: none; color: #172b50; font-size: 14px; font-weight: 900; }
.install-method summary::-webkit-details-marker { display: none; }
.install-method summary > span:nth-child(2) { display: grid; gap: 2px; }
.install-method summary small { color: #637795; font-size: 11px; font-weight: 700; }
.install-platform { display: grid; place-items: center; flex: 0 0 43px; width: 43px; height: 43px; border-radius: 12px; background: #e5edff; color: #3059bc; font-size: 13px; }
.install-method[data-platform="android"] .install-platform { background: #e4f6e8; color: #2c8352; }
.install-method[data-platform="desktop"] .install-platform { background: #fff0d0; color: #926322; }
.install-chevron { margin-left: auto; color: #5e75a0; font-size: 20px; transition: transform .2s ease; }
.install-method[open] .install-chevron { transform: rotate(180deg); }
.install-method ol { display: grid; gap: 11px; margin: 0; padding: 4px 18px 18px 72px; color: #495d79; font-size: 13px; line-height: 1.48; overflow-wrap: anywhere; }
.install-method li { padding-left: 2px; }
.install-method li::marker { color: #315fe5; font-weight: 900; }
.install-method strong { color: #1b3769; }
.install-note { margin: 18px 0 0; padding: 13px 15px; border-radius: 12px; background: #f1f5fc; color: #536985; font-size: 12px; line-height: 1.5; }
@media (min-width: 700px) {
  .install-card { padding: 27px; }
  .install-preview { flex-basis: 120px; }
  .install-preview img { width: 105px; height: 105px; border-radius: 24px; }
  .install-intro p { font-size: 14px; }
  .install-method ol { font-size: 14px; }
}

/* Shown once after each successful sign-in. */
.install-dialog { width: min(470px, calc(100% - 28px)); max-height: calc(100dvh - 32px); margin: auto; padding: 0; overflow: auto; border: 0; border-radius: 24px; background: #fff; color: #17294e; box-shadow: 0 26px 80px #07163366; }
.install-dialog::backdrop { background: #0c1d3ccc; backdrop-filter: blur(4px); }
.install-dialog-inner { position: relative; padding: 26px 24px 22px; }
.install-dialog-close { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 12px; background: #f0f4fa; color: #344d73; font-size: 27px; cursor: pointer; }
.install-dialog-close:hover, .install-dialog-close:focus-visible { background: #e2ebfa; outline: 2px solid #567deb; outline-offset: 2px; }
.install-dialog-header { display: flex; align-items: center; gap: 15px; padding-right: 30px; }
.install-dialog-header img { flex: 0 0 68px; width: 68px; height: 68px; border-radius: 17px; box-shadow: 0 5px 15px #15285540; }
.install-dialog-header .eyebrow { color: #315bbb; font-size: 10px; letter-spacing: .1em; }
.install-dialog h2 { margin: 5px 0 0; font-family: Nunito, Arial, sans-serif; font-size: clamp(23px, 6vw, 29px); line-height: 1.12; letter-spacing: -.045em; }
.install-dialog p { margin: 17px 0 18px; color: #536985; font-size: 14px; line-height: 1.5; }
.install-dialog-steps { padding: 17px 18px; border: 1px solid #dce7fa; border-radius: 16px; background: #f5f8ff; }
.install-dialog [hidden] { display: none !important; }
.install-dialog-steps > strong { color: #214baf; font-size: 14px; }
.install-dialog-steps ol { display: grid; gap: 10px; margin: 11px 0 0; padding-left: 20px; color: #405879; font-size: 13px; line-height: 1.48; overflow-wrap: anywhere; }
.install-dialog-steps li::marker { color: #2854c5; font-weight: 900; }
.install-dialog .primary-button { width: 100%; min-height: 51px; margin-top: 19px; border-radius: 12px; font-size: 14px; }
.install-dialog-help { display: block; width: fit-content; min-height: 44px; margin: 8px auto 0; padding: 11px 8px; color: #2854c5; font-size: 13px; font-weight: 900; text-align: center; }
.install-dialog-help:hover, .install-dialog-help:focus-visible { text-decoration: underline; }
@media (max-width: 380px) { .install-dialog-inner { padding-inline: 19px; } .install-dialog-header img { flex-basis: 59px; width: 59px; height: 59px; } }

/* Product discovery and offer details */
.offer-price { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; min-width: 0; }
.offer-price[hidden], .product-offer-details[hidden] { display: none !important; }
.offer-price-amounts { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 9px; }
.offer-price-amounts del { color: #8693a7; font-size: 13px; font-weight: 700; text-decoration-thickness: 1px; }
.offer-price-amounts strong { color: #183c82; font-family: Nunito, Arial, sans-serif; font-size: 24px; font-weight: 1000; line-height: 1; letter-spacing: -.045em; }
.offer-discount { display: inline-flex; align-items: center; min-height: 25px; padding: 4px 8px; border-radius: 7px; background: #dbf6e6; color: #136341; font-size: 10px; font-weight: 1000; letter-spacing: .04em; white-space: nowrap; }
.product-card-price { margin-top: 11px; }
.product-card-price .offer-price-amounts strong { font-size: 22px; }
.product-card:has(.product-card-price:not([hidden])) .card-action { margin-top: 12px; }
.product-card .card-action, .recommendation-card .card-action { justify-content: center; min-height: 44px; padding: 10px 15px; border-radius: 11px; background: #e9efff; color: #214eb7; font-size: 13px; font-weight: 900; text-align: center; }
.product-card .card-action:hover, .recommendation-card .card-action:hover { background: #d9e4ff; }
.product-card .card-action:focus-visible, .recommendation-card .card-action:focus-visible, #product-offer:focus-visible { outline: 3px solid #e3ae3f; outline-offset: 3px; }

#recommendations-grid { grid-template-columns: 1fr; gap: 14px; }
.recommendation-card { display: grid; grid-template-columns: 104px minmax(0,1fr); gap: 14px; padding: 13px; border: 1px solid #dfe7f3; border-radius: 20px; background: linear-gradient(135deg,#fff 60%,#f7f9ff); box-shadow: 0 4px 0 #e0e8f4, 0 13px 24px #1d356212; transition: transform .18s ease, box-shadow .18s ease; }
.recommendation-card:hover { transform: translateY(-2px); box-shadow: 0 6px 0 #d8e3f2, 0 18px 27px #1d356220; }
.recommendation-art { width: 104px; height: 104px; min-height: 0; border-radius: 14px; background: #edf2ff; box-shadow: 0 5px 13px #1e386020; }
.recommendation-art img { width: 100%; height: 100%; min-height: 0; aspect-ratio: 1; object-fit: cover; }
.recommendation-body { display: flex; flex-direction: column; align-items: flex-start; gap: 0; min-width: 0; padding: 1px 0 0; }
.recommendation-eyebrow { color: #5572a5; font-size: 10px; font-weight: 1000; letter-spacing: .09em; text-transform: uppercase; }
.recommendation-body h3 { margin: 5px 0 5px; color: #172f5b; font-size: 18px; line-height: 1.13; letter-spacing: -.025em; }
.recommendation-body h3 a:hover { color: #315ac6; }
.recommendation-body p { margin: 0 0 10px; color: #5d6e88; font-size: 12px; line-height: 1.4; }
.recommendation-body .offer-price { margin-top: auto; }
.recommendation-body .card-action { align-self: stretch; width: 100%; margin-top: 12px; }

.product-sales { display: block; margin-top: 18px; padding: 22px; border: 1px solid #cbd9f6; border-radius: 22px; background: linear-gradient(145deg,#fff,#f3f7ff); box-shadow: 0 5px 0 #e0e9f8, 0 14px 28px #213d7020; }
.product-sales .locked-icon { display: none; }
.product-sales > div { width: 100%; }
.product-sales h2 { margin: 0 0 6px; color: #193562; font-size: 24px; letter-spacing: -.035em; }
.product-sales #locked-description { margin-bottom: 18px; color: #526981; font-size: 14px; }
.product-offer-details h3 { margin: 0 0 12px; color: #243b63; font-family: Nunito, Arial, sans-serif; font-size: 17px; }
.product-offer-details ul { display: grid; gap: 11px; margin: 0 0 22px; padding: 0; list-style: none; }
.product-offer-details li { position: relative; padding-left: 29px; color: #304865; font-size: 14px; line-height: 1.4; }
.product-offer-details li::before { content: '✓'; position: absolute; top: 0; left: 0; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #e1f6e9; color: #19734a; font-size: 13px; font-weight: 1000; }
.offer-price-detail { gap: 11px 16px; padding: 18px 0 6px; border-top: 1px solid #dce6f5; }
.offer-price-detail .offer-price-amounts del { font-size: 16px; }
.offer-price-detail .offer-price-amounts strong { font-size: 34px; }
.offer-price-detail .offer-discount { min-height: 29px; padding-inline: 10px; font-size: 11px; }
.product-sales .offer-payment-note { margin: 2px 0 18px; color: #687c98; font-size: 12px; }
.product-sales #product-offer { display: inline-flex; width: 100%; min-height: 52px; margin: 0; padding: 12px 18px; border: 0; border-radius: 12px; background: #315fe5; color: #fff; font-size: 15px; box-shadow: 0 5px 0 #2149b7; }
.product-sales #product-offer:hover { background: #244fc9; }

@media (min-width: 700px) {
  #recommendations-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .recommendation-card { display: grid; grid-template-columns: 104px minmax(0,1fr); padding: 13px; }
  .recommendation-art img { height: 100%; aspect-ratio: 1; object-fit: cover; }
  .recommendation-body { flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 0; padding: 1px 0 0; }
  .recommendation-body p { margin: 0 0 10px; font-size: 12px; }
  .recommendation-body .card-action { flex: 0 0 auto; width: 100%; margin-top: 12px; }
  .product-sales { max-width: 750px; padding: 30px; }
}
@media (max-width: 380px) {
  .recommendation-card { grid-template-columns: 88px minmax(0,1fr); gap: 11px; padding: 10px; }
  .recommendation-art { width: 88px; height: 88px; }
  .recommendation-body h3 { font-size: 16px; }
  .offer-price-amounts strong { font-size: 21px; }
}

.mana-access-panel{grid-column:1/-1;padding:28px;border:1px solid #dce8f5;border-radius:20px;background:#f7faff}.mana-access-panel h2{margin:0 0 8px;color:#142b60}.mana-access-panel p{max-width:560px;margin:0 0 18px;color:#526684}.mana-access-panel .primary-button{display:inline-flex;text-decoration:none}
.mana-overview-notice{display:grid;gap:5px;margin:0 0 18px;padding:18px 21px;border:1px solid #f1d992;border-radius:16px;background:linear-gradient(110deg,#fff9e9,#eef5ff);color:#183763;box-shadow:0 7px 20px rgba(45,70,110,.07)}
.mana-overview-notice span,.mana-coming-eyebrow{color:#a07419;font-size:10px;font-weight:900;letter-spacing:.15em}
.mana-overview-notice strong{font-family:Nunito,Arial,sans-serif;font-size:20px;line-height:1.2}
.mana-overview-notice small{color:#506986;font-size:12px;line-height:1.5}
.mana-overview-notice:hover{border-color:#ddb95b}
.mana-coming-panel{background:linear-gradient(145deg,#fff9e9,#f3f8ff);border-color:#eadba9}
.mana-coming-panel h2{margin-top:8px}
.mana-coming-panel .mana-coming-support{display:inline-flex;margin-left:14px;color:#315baa;font-size:12px;font-weight:800;text-decoration:underline;text-underline-offset:3px}
@media(max-width:520px){.mana-coming-panel{padding:22px}.mana-coming-panel .mana-coming-support{display:flex;margin:15px 0 0}}

/* Maná Kids Sunday planner */
.planner-nav{font-weight:900!important;color:#16428f!important;background:#eaf1ff!important}
.planner-nav.active{color:#fff!important;background:#315fe5!important}
.planner-lead{display:flex;justify-content:space-between;align-items:center;gap:24px;margin:0 0 22px;padding:clamp(22px,4vw,36px);border-radius:24px;background:linear-gradient(115deg,#183c80,#315fe5 70%,#5794f4);color:#fff;box-shadow:0 13px 30px #244a9926}
.planner-lead-kicker{font-size:11px;font-weight:1000;letter-spacing:.15em;color:#ffda78}
.planner-lead h2{max-width:18ch;margin:9px 0;font-family:Nunito,Arial,sans-serif;font-size:clamp(26px,4vw,38px);line-height:1.08;letter-spacing:-.04em}
.planner-lead p{max-width:52ch;margin:0;color:#e5edff;font-size:14px;line-height:1.55}
.planner-lead-mark{display:grid;place-items:center;flex:0 0 130px;width:130px;height:130px;border:2px solid #ffffff80;border-radius:50%;background:#ffffff1c;font-family:Nunito,Arial,sans-serif;font-size:34px;font-weight:1000;line-height:1}
.planner-lead-mark span{display:block;font-family:Arial,sans-serif;font-size:10px;letter-spacing:.15em}
.planner-form{display:flex;align-items:end;flex-wrap:wrap;gap:12px;margin:0 0 22px;padding:18px;border:1px solid #dce7f4;border-radius:18px;background:#fff}
.planner-form label{display:grid;gap:7px;flex:1 1 180px;color:#31486b;font-size:12px;font-weight:900}
.planner-form input,.planner-form select{width:100%;min-height:48px;padding:10px 12px;border:1px solid #cddbee;border-radius:10px;background:#fbfdff;color:#19365f;font:inherit;font-size:15px}
.planner-form button{min-height:48px;padding:10px 18px;border:0;border-radius:10px;background:#315fe5;color:#fff;font-size:14px;font-weight:900;cursor:pointer}
.planner-form :is(button,input,select):focus-visible,.planner-resource-link:focus-visible{outline:3px solid #ffcd57;outline-offset:3px}
.planner-summary{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:0 0 14px;color:#314e7d;font-size:14px}.planner-summary strong{font-family:Nunito,Arial,sans-serif;font-size:21px}
.planner-summary span{align-self:center;color:#5a718e;font-weight:800}
.planner-weeks{display:grid;gap:17px}
.planner-week{padding:clamp(20px,3vw,28px);border:1px solid #dce7f4;border-radius:20px;background:#fff;box-shadow:0 5px 0 #e7edf6,0 14px 28px #183c6d0b}
.planner-week-head{display:flex;justify-content:space-between;gap:12px;align-items:start;padding-bottom:15px;border-bottom:1px solid #e6edf6}
.planner-week-number{color:#315fe5;font-size:11px;font-weight:1000;letter-spacing:.1em}
.planner-week h2{margin:6px 0 3px;color:#193865;font-family:Nunito,Arial,sans-serif;font-size:clamp(21px,3vw,26px);line-height:1.13}
.planner-week-head p{margin:0;color:#5e7290;font-size:13px}
.planner-duration{padding:7px 10px;border-radius:8px;background:#eaf4ed;color:#267749;font-size:12px;font-weight:900;white-space:nowrap}
.planner-line{margin:17px 0;color:#334b6a;font-size:14px;line-height:1.5}.planner-line strong{margin-right:8px;color:#1c3d73}
.planner-steps{display:grid;gap:11px;margin:0;padding:0;list-style:none;counter-reset:planner}
.planner-steps li{position:relative;padding:11px 14px 11px 49px;border-radius:12px;background:#f6f9ff;counter-increment:planner}
.planner-steps li:before{content:counter(planner);position:absolute;top:10px;left:12px;display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:#dfe9ff;color:#3158bc;font-size:12px;font-weight:1000}
.planner-steps strong{color:#244b85;font-size:13px}.planner-steps p{margin:3px 0 0;color:#526882;font-size:13px;line-height:1.48}
.planner-resource{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;margin-top:18px;padding:15px;border:1px solid #f0dda8;border-radius:13px;background:#fffbef}
.planner-resource div{display:grid;gap:3px}.planner-resource small{color:#8a651b;font-size:10px;font-weight:1000;letter-spacing:.08em}.planner-resource strong{color:#283e60;font-size:14px}
.planner-resource-link{display:inline-flex;justify-content:center;align-items:center;min-height:43px;padding:10px 14px;border-radius:9px;background:#315fe5;color:#fff;font-size:13px;font-weight:900;text-align:center}.planner-resource-link:hover{background:#254fca}
.planner-footnote{margin:19px 0 0;color:#647892;font-size:12px;line-height:1.5}
@media(max-width:600px){.planner-lead-mark{display:none}.planner-form button{width:100%}.planner-resource-link{width:100%}}
@media(max-width:899px){.mobile-bottom-nav:has([data-route="planner"]){grid-template-columns:repeat(5,minmax(0,1fr))}.mobile-bottom-nav [data-route="planner"]{font-size:12px;font-weight:1000}}

/* Maná Kids: choose a group, build a plan, then focus on one Sunday. */
.planner-v2 :is(#planner-setup,#planner-result,#planner-group-form,#planner-progress,#planner-history)[hidden]{display:none!important}
.planner-v2-intro{max-width:760px}
.planner-v2-intro p{max-width:64ch}
.planner-v2-hero{margin-bottom:20px;padding:clamp(23px,4vw,37px);border-radius:24px;background:linear-gradient(120deg,#203e7e,#2f63c9 66%,#74a6f2);color:#fff;box-shadow:0 12px 29px #244b9224}
.planner-v2-hero>span{color:#ffe498;font-size:11px;font-weight:1000;letter-spacing:.14em}
.planner-v2-hero h2{max-width:20ch;margin:9px 0;font-family:Nunito,Arial,sans-serif;font-size:clamp(25px,3.6vw,37px);line-height:1.08;letter-spacing:-.04em}
.planner-v2-hero p{margin:0;color:#e9efff;font-size:14px;line-height:1.5}
.planner-v2-grid{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:18px;align-items:start}
.planner-v2-panel{padding:clamp(19px,2.5vw,27px);border:1px solid #dde6f2;border-radius:21px;background:#fff;box-shadow:0 4px 0 #e8eef6,0 12px 25px #1f3b6610}
.planner-v2-panel-head{display:flex;align-items:center;gap:13px;margin-bottom:19px}
.planner-step{display:grid;place-items:center;flex:0 0 36px;width:36px;height:36px;border-radius:11px;background:#ffe8a6;color:#674614;font-weight:1000}
.planner-v2-panel-head h2{margin:0;color:#193967;font-family:Nunito,Arial,sans-serif;font-size:21px;line-height:1.15}
.planner-v2-panel-head p{margin:4px 0 0;color:#687b92;font-size:12px}
.planner-group-list{display:grid;gap:9px}
.planner-group{display:flex;align-items:center;gap:8px;min-width:0;padding:7px;border:1px solid #e1e8f1;border-radius:12px;background:#fbfcff}
.planner-group.selected{border-color:#5790e1;background:#f0f6ff;box-shadow:0 0 0 2px #e4efff inset}
.planner-group-choice{display:grid;gap:3px;flex:1;min-width:0;padding:6px 8px;border:0;background:transparent;color:#254066;text-align:left;cursor:pointer}
.planner-group-choice strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px}
.planner-group-choice small{color:#667d9a;font-size:12px}
.planner-group-edit,.planner-text-button{min-height:36px;padding:8px 10px;border:0;border-radius:8px;background:#eaf1ff;color:#3158a8;font-size:12px;font-weight:900;cursor:pointer}
.planner-text-button{margin-top:12px;background:#fff;color:#2c58b4}
.planner-group-edit:hover,.planner-text-button:hover{background:#dae7ff}
.planner-empty-groups{margin:0;padding:15px;border:1px dashed #cbd9e9;border-radius:11px;color:#627893;font-size:13px}
.planner-group-form{display:grid;gap:12px;margin-top:15px;padding:15px;border:1px solid #d8e6f7;border-radius:13px;background:#f7faff}
.planner-group-form label,.planner-generate-form label{display:grid;gap:7px;color:#344d70;font-size:12px;font-weight:900}
.planner-group-form input,.planner-group-form select,.planner-generate-form input,.planner-generate-form select{width:100%;min-height:45px;padding:10px 12px;border:1px solid #cfdaea;border-radius:9px;background:#fff;color:#18365e;font-size:14px}
.planner-group-form>div{display:flex;gap:8px}.planner-group-form>div button{min-height:41px;padding:9px 13px;border:0;border-radius:9px;background:#315fe5;color:#fff;font-size:13px;font-weight:900;cursor:pointer}.planner-group-form>div button:last-child{background:#e7eef8;color:#345276}
.planner-generate-form{display:grid;gap:15px}
.planner-month-shortcuts{display:flex;gap:8px;margin-top:-8px}.planner-month-shortcuts button{min-height:41px;padding:8px 13px;border:1px solid #d9e3f0;border-radius:9px;background:#fff;color:#385b88;font-size:12px;font-weight:900;cursor:pointer}.planner-month-shortcuts button.active{border-color:#6b93dc;background:#eaf2ff;color:#214fa7}
.planner-month-label{margin-top:-4px}
.planner-generate-button{min-height:52px;margin-top:4px;padding:11px 18px;border:0;border-radius:11px;background:linear-gradient(110deg,#f4bb21,#f27d1e);color:#222c3e;font-size:14px;font-weight:1000;box-shadow:0 4px 0 #ba6b1c;cursor:pointer}
.planner-generate-button:hover{filter:brightness(1.04)}.planner-generate-button:disabled{opacity:.55;cursor:not-allowed}
.planner-form-message{margin:-6px 0 0;color:#ae4237;font-size:12px}
.planner-progress{display:grid;justify-items:center;gap:7px;margin-top:17px;padding:18px;border-radius:13px;background:#fff8e3;color:#544622;text-align:center}
.planner-progress strong{font-size:14px}.planner-progress small{color:#6f6144;font-size:12px}
.planner-progress-spinner{width:27px;height:27px;border:3px solid #efdcaa;border-top-color:#e99619;border-radius:50%;animation:planner-spin .8s linear infinite}
@keyframes planner-spin{to{transform:rotate(360deg)}}
.planner-history{margin-top:26px}.planner-history h2{margin:5px 0 14px;color:#1c3e70;font-family:Nunito,Arial,sans-serif;font-size:22px}
#planner-history-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.planner-history-item{display:grid;gap:5px;padding:15px;border:1px solid #dce6f3;border-radius:12px;background:#fff;color:#213b62;text-align:left;cursor:pointer}
.planner-history-item strong{font-size:14px}.planner-history-item small{color:#637b99;font-size:11px}.planner-history-item span{margin-top:5px;color:#315fe5;font-size:12px;font-weight:900}
.planner-history-item:hover{border-color:#86acec;background:#f7faff}
.planner-result-actions{display:flex;justify-content:space-between;gap:12px;margin-bottom:15px}.planner-result-actions button{min-height:40px;padding:8px 12px;border:1px solid #dbe5f0;border-radius:9px;background:#fff;color:#31557f;font-size:12px;font-weight:900;cursor:pointer}
.planner-result-hero{padding:clamp(22px,4vw,40px);border-radius:23px;background:linear-gradient(125deg,#238d62,#49b968);color:#fff;box-shadow:0 11px 29px #24805930}
.planner-result-hero>span{display:inline-block;padding:9px 14px;border-radius:30px;background:#ffffff2b;color:#f7fffa;font-size:11px;font-weight:900;letter-spacing:.04em}
.planner-result-hero h2{max-width:20ch;margin:17px 0 8px;font-family:Nunito,Arial,sans-serif;font-size:clamp(29px,4.5vw,49px);line-height:1.02;letter-spacing:-.04em}
.planner-result-hero>p{margin:0 0 19px;color:#e3f9e9;font-size:14px}
#planner-result-focus{display:grid;gap:5px;max-width:520px;padding:16px 19px;border-radius:14px;background:#fff;color:#284d3c;box-shadow:0 5px 14px #164b2820}
#planner-result-focus small{color:#278264;font-size:10px;font-weight:1000;letter-spacing:.1em}
#planner-result-focus strong{font-family:Nunito,Arial,sans-serif;font-size:19px;line-height:1.3}
.planner-result-content{margin-top:18px;padding:clamp(16px,2.6vw,26px);border:1px solid #dce8e0;border-radius:21px;background:#fff}
.planner-result-heading{display:flex;justify-content:space-between;align-items:end;gap:14px}.planner-result-heading h2{margin:5px 0 13px;color:#1d4b38;font-family:Nunito,Arial,sans-serif;font-size:22px}.planner-result-heading>span{padding-bottom:14px;color:#637c70;font-size:12px;font-weight:900}
.planner-week-tabs{display:grid;grid-template-columns:repeat(auto-fit,minmax(105px,1fr));gap:8px;padding:2px 1px 12px}
.planner-week-tabs button{flex:0 0 auto;min-height:43px;padding:9px 6px;border:1px solid #dae8df;border-radius:10px;background:#f8fbf8;color:#526d5c;font-size:11px;font-weight:900;white-space:nowrap;cursor:pointer}
.planner-week-tabs button.active{border-color:#42aa6e;background:#e8f8ec;color:#1e6a43;box-shadow:0 0 0 2px #d6f1de inset}
.planner-week-detail{padding:clamp(17px,3vw,27px);border:1px solid #e4eadc;border-radius:16px;background:#fffdf3}
.planner-detail-head{padding-bottom:15px;border-bottom:1px solid #e9e4cb}.planner-detail-head h3{margin:7px 0 4px;color:#44341e;font-family:Nunito,Arial,sans-serif;font-size:clamp(23px,3vw,30px);line-height:1.15}.planner-detail-head p{margin:0;color:#746b59;font-size:13px}
.planner-detail-goal{display:grid;gap:8px;margin:17px 0;padding:17px;border-radius:12px;background:#fff;color:#3e4f36;box-shadow:0 2px 10px #6d7c3420}.planner-detail-goal small,.planner-detail-resource small{color:#a47720;font-size:10px;font-weight:1000;letter-spacing:.09em}.planner-detail-goal strong{font-size:16px;line-height:1.45}
.planner-detail-section{padding:10px 0}.planner-detail-section h4{margin:0 0 6px;color:#36523f;font-size:15px}.planner-detail-section p{margin:0;color:#4d5e57;font-size:13px;line-height:1.55}
.planner-detail-resource{margin:14px 0;padding:20px;border:1px dashed #dac779;border-radius:14px;background:#fff}.planner-detail-resource h4{margin:7px 0;color:#3c4323;font-family:Nunito,Arial,sans-serif;font-size:21px}.planner-detail-resource>p{margin:0 0 14px;color:#4f5b51;font-size:13px;line-height:1.5}
.planner-v2-drive{display:inline-flex;align-items:center;justify-content:center;min-height:45px;padding:10px 16px;border-radius:9px;background:#e6aa1c;color:#31270b;font-size:13px;font-weight:1000}.planner-v2-drive:hover{background:#f3be3e}
.planner-practical{margin-top:16px;padding:14px;border-radius:10px;background:#f6f8f9}.planner-practical strong{color:#314c5c;font-size:13px}.planner-practical p{margin:6px 0 0;color:#526777;font-size:12px;line-height:1.5}
.planner-week-arrows{display:flex;justify-content:space-between;gap:8px;margin-top:16px}.planner-week-arrows button{min-height:42px;padding:8px 12px;border:1px solid #cfe1d5;border-radius:9px;background:#f1faf3;color:#286c43;font-size:12px;font-weight:900;cursor:pointer}.planner-week-arrows button:disabled{opacity:.4;cursor:default}
.planner-v2 :is(button,input,select,a):focus-visible{outline:3px solid #e6ab34;outline-offset:3px}
@media(max-width:760px){.planner-v2-grid{grid-template-columns:1fr}#planner-history-list{grid-template-columns:1fr}.planner-result-hero h2{font-size:31px}.planner-week-tabs{display:flex;overflow-x:auto;scrollbar-width:none}.planner-week-tabs::-webkit-scrollbar{display:none}}
@media(max-width:430px){.planner-v2-hero,.planner-result-hero{border-radius:17px}.planner-result-heading{align-items:start;flex-direction:column;gap:0}.planner-result-heading>span{padding:0 0 10px}}
@media print{body:has(#page-planner:not([hidden])) .sidebar,body:has(#page-planner:not([hidden])) .topbar,body:has(#page-planner:not([hidden])) .mobile-bottom-nav,body:has(#page-planner:not([hidden])) .planner-v2-intro,body:has(#page-planner:not([hidden])) .planner-result-actions,body:has(#page-planner:not([hidden])) .planner-week-tabs,body:has(#page-planner:not([hidden])) .planner-week-arrows{display:none!important}body:has(#page-planner:not([hidden])) .workspace{display:block!important}body:has(#page-planner:not([hidden])) main{padding:0!important}body:has(#page-planner:not([hidden])) .planner-result-hero{background:#fff!important;color:#222!important;box-shadow:none!important}body:has(#page-planner:not([hidden])) .planner-result-hero *{color:#222!important}body:has(#page-planner:not([hidden])) .planner-result-content{border:0;padding:0}}

