/* Family dashboard, following the supplied autumn portal reference. */
:root{--tl-hill:#efe3c8;--tl-pine:#3d6b5c;--tl-pine2:#5c8a74;--tl-trunk:#7a4f2e;--tl-ground:#e2d1aa;--tl-tent:#c8553d;--tl-a:#d9822b;--tl-b:#c8553d;--tl-c:#e3a72f;--tl-d:#a8562c}
body{background-size:440px 440px,220px 220px}
.landscape-header{height:clamp(255px,25.5vw,420px);border-bottom:0}
.landscape-header picture>img{object-position:center 64%}
.header-badge{top:49%;padding:27px 28px 29px;min-width:222px;border-radius:45% 45% 39% 39% / 25% 25% 22% 22%;transform:translate(-50%,-50%);border:5px solid #fff2d1;outline:4px solid var(--navy);box-shadow:0 10px 35px #102d4266;background:#153e55}
.header-badge:before{inset:7px;border:1px solid #eddbb4;border-radius:inherit}
.header-badge .brand{font-size:32px;gap:13px;text-shadow:0 2px 0 #0003}
.header-badge .brand-mark{height:57px;width:67px}
.header-badge>span{font-size:8px;letter-spacing:.12em;color:#f4e8c9}
.site-nav{position:sticky;top:0;z-index:20;background-image:var(--nav-texture),var(--tex-grain),linear-gradient(180deg,#ffffff0c,#0002);box-shadow:0 7px 18px -14px #12394f}
.site-nav:before,.site-nav:after{border-top-width:2px}
.site-nav-inner{max-width:1248px;min-height:72px}
.site-nav .nav a{font-size:15px;padding:11px 18px}
.site-nav .nav a>.icon{display:none}
.content{max-width:1248px;padding:38px 24px 54px}
.dashboard-intro{margin:0 0 27px;display:block}
.dashboard-intro .eyebrow{color:var(--muted);font-size:12px;letter-spacing:.08em;margin-bottom:5px}
.dashboard-intro .headline{max-width:none;font-size:clamp(26px,3vw,40px);line-height:1.2;letter-spacing:-.025em}
.dashboard-children{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:34px}
.dashboard-children .kid-tab{padding:12px 14px;gap:12px;min-height:90px;border-radius:20px;border-color:color-mix(in srgb,var(--stage) 42%,white)}
.dashboard-children .kid-tab strong{font-size:21px;margin-bottom:4px}
.dashboard-children .kid-tab small{max-width:none;font-size:13px;color:#5a6b74}
.dashboard-children .kid-tab[aria-pressed=true]{background:var(--stage);box-shadow:0 10px 18px -13px var(--stage);border-color:var(--stage);color:white}
.dashboard-children .kid-tab[aria-pressed=true] small{color:white}
.dashboard-children .kid-tab[style*="#f69b16"][aria-pressed=true]{color:#1d3a4a}
.dashboard-children .kid-tab[style*="#f69b16"][aria-pressed=true] small{color:#1d3a4a}
.dashboard-children .kid-picture,.for-child .kid-picture{width:63px;height:63px;object-fit:cover;object-position:50% 12%;background:#fff;border:3px solid #fff;border-radius:50%}
.kid-initial{display:grid;place-items:center;color:var(--stage);font:800 25px var(--display)}
.dashboard-add-child{display:flex;align-items:center;justify-content:center;gap:6px;min-height:63px;align-self:start;border:2px dashed var(--line);background:transparent;border-radius:20px;color:var(--forest);font:800 17px var(--display);padding:19px 12px}
.dashboard-add-child:hover{background:#fff9;border-color:var(--forest)}
.dashboard-stage{display:grid;grid-template-columns:minmax(0,1fr) 130px;gap:40px;align-items:start;padding:30px 32px;border-radius:20px;background:var(--stage-soft)}
.for-child{display:inline-flex;align-items:center;gap:10px;border:0;border-radius:99px;padding:5px 15px 5px 5px;background:var(--stage);color:white;text-transform:uppercase;font:800 16px var(--display);letter-spacing:.03em;box-shadow:0 4px 9px -5px var(--stage)}
.family-dashboard[style*="#f69b16"] .for-child{color:var(--ink)}
.for-child .kid-picture{height:38px;width:38px;border-width:2px}
.for-child .icon{width:16px;height:16px}
.dashboard-stage .stage-name{font-size:11px;font-weight:800;letter-spacing:.09em;text-transform:uppercase;color:var(--muted);margin:19px 0 3px}
.dashboard-stage h2{font:800 clamp(27px,3vw,36px)/1.2 var(--display);letter-spacing:-.025em;margin:0}
.dashboard-stage h2 em,.featured-book h2 em,.podcast-banner h2 em{font:400 1.28em/1 var(--script);font-style:normal;color:var(--stage)}
.dashboard-stage .stage-lead{font-size:17px;max-width:700px;line-height:1.6;margin:13px 0 0}
.stage-tags{display:flex;gap:7px;flex-wrap:wrap;padding:0;list-style:none;margin:16px 0 0}
.stage-tags li{padding:5px 12px;border-radius:99px;background:white;font-size:13px;line-height:1.4}
.stage-ring-wrap{text-align:center;padding-top:4px}
.stage-ring-wrap svg{width:104px;height:104px;display:block;margin:0 auto 10px}
.stage-ring-wrap text{font:800 18px var(--display);fill:var(--ink)}
.stage-ring-wrap>span{display:block;font-size:11px;color:var(--muted);font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.stage-ring-wrap small{font-size:11px;color:var(--muted)}
.dashboard-stack{margin-top:38px}

.dashboard-panel{padding:28px;border:1px solid var(--line);border-radius:20px;background:white;min-width:0}
.dashboard-panel>h2{display:flex;align-items:center;gap:14px;font:800 clamp(21px,2.25vw,27px)/1.25 var(--display);letter-spacing:-.025em;margin:0 0 23px}
.section-badge{height:48px;width:48px;display:grid;place-items:center;flex:none;background:var(--stage-soft,#fff0d9);color:var(--stage,#b86b09);border:2px solid color-mix(in srgb,var(--stage,#f69b16) 35%,white);border-radius:50%;outline:1px dashed color-mix(in srgb,var(--stage,#f69b16) 60%,white);outline-offset:-7px}
.section-badge .icon{width:23px;height:23px}
.monthly-mail{overflow:hidden;border:1px solid var(--line);border-radius:13px}
.monthly-mail-head{display:flex;gap:16px;align-items:center;position:relative;min-height:104px;padding:17px 19px;background:var(--stage-soft)}
.month-stamp{position:relative;z-index:1;display:grid;place-content:center;flex:none;text-align:center;width:61px;height:72px;border-radius:4px;background:var(--stage);color:white;outline:3px dotted var(--stage-soft);outline-offset:-7px;transform:rotate(-4deg);box-shadow:0 5px 9px #0001;font-family:var(--display);font-weight:800}
.family-dashboard[style*="#f69b16"] .month-stamp{color:var(--ink)}
.month-stamp b{text-transform:uppercase;font-size:21px;line-height:1.2}
.month-stamp small{font-size:11px}
.postmark{position:absolute;left:50px;top:23px;width:205px;height:57px;color:var(--stage);opacity:.36;transform:rotate(-6deg)}
.mail-for{position:relative;margin-left:auto;font-size:11px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);text-align:right}
.mail-for strong{display:block;color:var(--ink);font:800 23px var(--display);letter-spacing:0;text-transform:none;overflow-wrap:anywhere}
.monthly-mail-body{padding:5px 14px 14px}
.dashboard-resource{display:grid;grid-template-columns:112px minmax(0,1fr);align-items:start;gap:16px;padding:18px 0;border-bottom:1px solid var(--line)}
.resource-thumb{display:block;border:0;background:#eee;padding:0;border-radius:10px;overflow:hidden;width:100%;aspect-ratio:1.5}
.resource-thumb .scene{width:100%;height:100%;object-fit:cover;display:block}
.dashboard-resource .topic-label,.book-item .topic-label{font:800 11px/1.4 var(--body);letter-spacing:.05em;color:#a65c08;text-transform:uppercase;margin:3px 0 5px}
.dashboard-resource h3{font:700 16px/1.35 var(--body);margin:0 0 4px}
.dashboard-resource h3 button:hover,.watch-card h3 button:hover,.book-item h3 button:hover{text-decoration:underline;text-underline-offset:3px;color:var(--forest)}
.dashboard-resource p{font-size:14px;line-height:1.5;color:var(--muted);margin:0}















.featured-book,.podcast-banner{display:grid;grid-template-columns:140px minmax(0,1fr) 245px;align-items:center;gap:32px;border:1px solid var(--line);border-radius:20px;padding:28px 36px;background:linear-gradient(105deg,#e6f0e9,#fff0d4 64%,#f3d7ae)}
.featured-book h2,.podcast-banner h2{font:800 clamp(23px,2.5vw,32px)/1.22 var(--display);letter-spacing:-.025em;margin:0 0 12px}
.featured-book h2 em,.podcast-banner h2 em{color:#d56549}
.featured-book p,.podcast-banner p{font-size:16px;line-height:1.6;margin:0;color:#426073}
.featured-book .eyebrow,.podcast-banner .eyebrow{font-size:11px;margin-bottom:12px;color:#2d8058;letter-spacing:.09em}
.featured-book .feature-actions .button,.featured-book .feature-actions .button:visited{color:#fff}
.featured-cover,.book-open{border:0;padding:0;background:transparent;display:block;text-align:left}
.featured-cover{transform:rotate(-3deg)}
.feature-actions{display:grid;gap:10px}
.feature-actions .button{width:100%;background:var(--navy);border-color:var(--navy);font:800 16px var(--display)}
.feature-actions small{font-size:11px;color:#526574;text-align:center}
.watch-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px;margin-bottom:19px}
.watch-picture{display:block;position:relative;aspect-ratio:1.55;border:0;padding:0;border-radius:13px;overflow:hidden;background:#c4d3cd;width:100%}
.watch-picture .scene{width:100%;height:100%;object-fit:cover;display:block}
.watch-overlay{position:absolute;inset:0;background:linear-gradient(transparent 35%,#123146d9)}
.play-disc{position:absolute;top:44%;left:50%;transform:translate(-50%,-50%);display:grid;place-items:center;border-radius:50%;height:52px;width:52px;background:#fffffff0;color:#ed9615;font-size:20px;padding-left:3px;box-shadow:0 3px 15px #0001}
.watch-picture:hover .play-disc{transform:translate(-50%,-50%) scale(1.1)}
.watch-picture>small{position:absolute;bottom:12px;left:12px;right:12px;text-align:left;font-size:11px;line-height:1.3;font-weight:800;color:white}
.watch-card h3{font:800 16px/1.4 var(--body);margin:10px 0 3px}
.media-caption{font-size:11px;color:var(--muted)}
.section-note{font-size:14px;color:var(--muted);margin:-10px 0 23px 62px}
.books-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:28px}
.book-cover{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;text-align:center;aspect-ratio:2/3;width:158px;max-width:100%;padding:16px 13px 14px;color:#fff8e5;background:#226b74;border-radius:3px 10px 10px 3px;box-shadow:4px 10px 16px -7px #132f3f66,inset 6px 0 6px #0002,inset 9px 0 1px #ffffff1a;overflow:hidden;transition:transform .15s}
.book-cover:before{content:'';position:absolute;width:160px;height:160px;border:1px solid #ffffff38;border-radius:50%;top:92px;left:-45px}
.book-cover:after{content:'';position:absolute;inset:7px;border:1px solid #ffffff26;pointer-events:none}
.book-cover.navy{background:#234d65}.book-cover.rust{background:#b65c40}.book-cover.green{background:#386749}
.book-cover>small{font-size:6px;font-weight:800;letter-spacing:.11em;margin-bottom:16px;position:relative}
.book-cover>strong{font:800 19px/1.13 var(--display);letter-spacing:-.04em;position:relative}
.book-motif{display:block;margin:auto 0 6px}
.book-motif>.icon{width:48px;height:48px;stroke-width:1;color:#f7d584}
.book-cover>em{font:400 14px var(--script);position:relative;margin-top:6px}
.book-cover>span:last-child{font-size:6px;letter-spacing:.1em;text-transform:uppercase;margin-top:7px;position:relative}
.book-open{margin-bottom:19px}.book-open:hover .book-cover{transform:rotate(-2deg) translateY(-3px)}
.book-item h3{font:800 16px/1.3 var(--body);margin:4px 0 6px}
.book-item>p:not(.topic-label){font-size:14px;line-height:1.55;color:var(--muted);margin:0 0 12px}
.book-item .text-link{font-size:13px;text-decoration:underline;text-underline-offset:3px}
.featured-cover .book-cover{width:132px}
.featured-cover .book-cover>strong{font-size:17px}
.topic-pills{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:3px}
.topic-pills .pill{font-size:13px;padding:7px 12px;border:1px solid var(--line);color:var(--ink);font-weight:600}
.topic-pills .pill[aria-pressed=true]{background:var(--ink);border-color:var(--ink);color:white}
.dashboard-topic-filters{flex-wrap:wrap;font-size:13px}
.dashboard-topic-results .dashboard-resource{grid-template-columns:116px minmax(0,1fr) auto;align-items:center;padding:18px 0}
.dashboard-topic-results .dashboard-resource h3{font-size:17px}
.row-actions{display:flex;align-items:center;gap:7px}
.resource-save,.resource-share{display:inline-flex;align-items:center;justify-content:center;gap:5px;border:1px solid var(--line);background:white;border-radius:99px;padding:6px 10px;color:#687c85;font-size:12px;font-weight:800;min-height:35px}
.resource-save .icon,.resource-share .icon{height:16px;width:16px}
.resource-save[aria-pressed=true]{background:#e3f1ed;border-color:#5b9f94;color:#17676a}
.browse-more{display:flex;justify-content:center;padding-top:20px}
.dashboard-empty{padding:20px 0;color:var(--muted);font-size:15px;grid-column:1/-1}
.dashboard-empty p{margin:0 0 10px}
.podcast-banner{background:linear-gradient(105deg,#f5d379,#f6df9d 40%,#d3e9df);margin-top:48px}
.podcast-banner .eyebrow{color:#ae513b}
.podcast-cover{border:0;aspect-ratio:1;max-width:140px;width:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:13px 10px;background:linear-gradient(155deg,#df744e 55%,#3f9587 55%);color:#fff1ce;border-radius:7px;box-shadow:0 6px 15px #263e4824;transform:rotate(-2deg)}
.podcast-cover>small{font-size:6px;letter-spacing:.08em;font-weight:800;margin-bottom:8px}
.podcast-cover>.icon{width:27px;height:27px;margin-bottom:5px}
.podcast-cover>strong{font:800 18px/1 var(--display)}
.podcast-cover em{font:400 24px/1 var(--script)}
.podcast-cover>span{font-size:7px;margin-top:7px;letter-spacing:.06em;text-transform:uppercase}
.podcast-banner .feature-actions>.button{background:#ce6246;border-color:#ce6246}
.podcast-banner .feature-actions>.secondary{background:transparent;border-color:#9cae90;color:var(--ink)}
.product-footer{max-width:1200px;margin:0 auto;padding:22px 0 55px}
.autumn-treeline{height:128px;width:100%;overflow:hidden;opacity:.85;pointer-events:none;margin-top:0}
.autumn-treeline>svg{width:100%;height:100%;display:block}
.help-launch{position:fixed;bottom:22px;right:20px;width:58px;height:58px;padding:3px;border:2px solid var(--ink);border-radius:50%;background:#fff9e3;box-shadow:0 5px 16px #12394f3a;z-index:30}
.help-launch>img{display:block;width:100%;height:100%;border-radius:50%;object-fit:cover}
.help-launch>.sage-badge{position:absolute;right:-4px;top:-4px;border:2px solid white;background:var(--forest);color:white;border-radius:50%;width:22px;height:22px;font-weight:800;font-size:13px;line-height:18px}
.help-options{display:grid;gap:10px;margin:23px 0}
.help-options button{display:flex;align-items:center;gap:13px;background:white;border:1px solid var(--line);border-radius:12px;padding:15px;text-align:left;color:var(--ink);font-size:15px;font-weight:800}
.help-options button .icon:last-child{margin-left:auto}
.review-bar{font-size:10px;min-height:28px;height:auto;padding:5px 20px;background:#f4eddd}
@media(max-width:1050px){.dashboard-panel{padding:22px}.dashboard-resource{grid-template-columns:90px minmax(0,1fr);gap:12px}.dashboard-children{grid-template-columns:repeat(2,minmax(0,1fr))}.featured-book,.podcast-banner{grid-template-columns:120px minmax(0,1fr);gap:25px;padding:25px}.feature-actions{grid-column:2;display:flex;align-items:center;flex-wrap:wrap}.feature-actions .button{width:auto}.feature-actions small{text-align:left}.featured-cover,.podcast-cover{grid-row:1/3}.watch-grid{gap:15px}.books-grid{gap:20px}.book-cover>strong{font-size:17px}.section-note{margin-left:0}.product-footer{margin-inline:24px}}
@media(max-width:760px){.landscape-header{height:240px}
.landscape-header picture>img{object-fit:contain;object-position:left bottom}.header-badge{min-width:165px;padding:19px 20px 20px}.header-badge .brand{font-size:25px;gap:8px}.header-badge .brand-mark{width:45px;height:37px}.header-badge>span{font-size:7px}.header-tools{top:14px;right:15px}.header-profile{font-size:10px;padding:6px 10px}.site-nav{position:relative}.site-nav-inner{min-height:60px;padding:10px 16px;gap:0}.site-nav .nav a{font-size:13px;padding:8px 12px}.site-nav .nav-utility{display:none}.content{padding:27px 17px 32px}.dashboard-intro .headline{font-size:29px;line-height:1.22}.dashboard-intro{margin-bottom:23px}.dashboard-children{gap:12px;margin-bottom:25px}.dashboard-children .kid-tab{padding:10px;gap:9px;min-height:83px}.dashboard-children .kid-tab strong{font-size:17px}.dashboard-children .kid-tab small{font-size:11px;line-height:1.4}.dashboard-children .kid-picture{height:50px;width:50px}.dashboard-add-child{font-size:15px;min-height:48px;padding:12px}.dashboard-stage{padding:24px;gap:20px;grid-template-columns:minmax(0,1fr) 97px}.dashboard-stage .stage-lead{font-size:16px}.stage-ring-wrap svg{width:82px;height:82px}.stage-ring-wrap>span{font-size:9px}.dashboard-stack{margin-top:25px}.dashboard-panel{padding:23px;border-radius:17px}.dashboard-panel>h2{font-size:24px;gap:12px}.dashboard-resource{grid-template-columns:112px minmax(0,1fr)}.watch-grid,.books-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:23px}.book-cover{width:154px}.book-cover>strong{font-size:19px}.featured-book,.podcast-banner{grid-template-columns:105px minmax(0,1fr);padding:25px 22px;gap:20px}.featured-cover .book-cover{width:105px;padding:11px}.featured-cover .book-cover>strong{font-size:14px}.featured-cover .book-cover>small{margin-bottom:8px;font-size:5px}.featured-cover .book-motif>.icon{width:34px;height:34px}.featured-cover .book-cover>em{font-size:11px}.featured-book h2,.podcast-banner h2{font-size:23px}.featured-book p,.podcast-banner p{font-size:14px}.feature-actions{grid-column:1/-1;justify-content:center}.featured-cover,.podcast-cover{grid-row:auto}.feature-actions .button{font-size:14px}.dashboard-topic-results .dashboard-resource{grid-template-columns:90px minmax(0,1fr)}.row-actions{grid-column:2;margin-top:-6px}.dashboard-topic-results .dashboard-resource h3{font-size:16px}.product-footer{padding-bottom:24px;gap:16px;align-items:start;flex-wrap:wrap;margin-inline:20px}.autumn-treeline{height:108px;margin-bottom:60px}.help-launch{bottom:79px;right:14px;width:50px;height:50px}.podcast-cover>strong{font-size:15px}.podcast-cover em{font-size:20px}.podcast-cover>.icon{width:20px;height:20px}.podcast-cover>small{font-size:5px}.podcast-cover>span{font-size:6px}.review-bar{font-size:9px}.mobile-nav a{font-size:9px}}
@media(max-width:460px){.dashboard-children{grid-template-columns:minmax(0,1fr)}.dashboard-children .kid-tab{padding:10px 14px;min-height:79px}.dashboard-children .kid-tab strong{font-size:20px}.dashboard-children .kid-tab small{font-size:13px}.dashboard-add-child{font-size:16px}.dashboard-stage{position:relative;grid-template-columns:1fr;padding:22px}.dashboard-stage>div:first-child{min-width:0}.stage-ring-wrap{position:absolute;top:21px;right:17px;width:75px}.stage-ring-wrap svg{width:65px;height:65px;margin-bottom:3px}.stage-ring-wrap>span{font-size:7px}.stage-ring-wrap small{display:none}.for-child{font-size:12px;max-width:calc(100% - 75px)}.for-child .kid-picture{width:30px;height:30px}.for-child>.icon{display:none}.dashboard-stage .stage-name{margin-top:22px;max-width:calc(100% - 70px);font-size:9px}.dashboard-stage h2{font-size:29px;margin-top:13px}.stage-tags{gap:6px}.stage-tags li{font-size:11px}.dashboard-panel{padding:20px 16px}.dashboard-panel>h2{font-size:20px;gap:10px}.section-badge{width:41px;height:41px}.monthly-mail-head{padding:14px;min-height:100px}.monthly-mail-body{padding:2px 12px 12px}.dashboard-resource{grid-template-columns:77px minmax(0,1fr);gap:11px;padding:16px 0}.dashboard-resource h3{font-size:14px}.dashboard-resource p{font-size:12px}.dashboard-resource .topic-label{font-size:9px}.watch-grid{gap:16px}.watch-card h3{font-size:14px}.play-disc{width:39px;height:39px;font-size:15px}.watch-picture>small{bottom:8px;left:8px;font-size:8px}.books-grid{gap:22px 16px}.book-cover{width:134px;padding:13px 10px}.book-cover>strong{font-size:16px}.book-cover>small{font-size:5px;margin-bottom:11px}.book-cover>em{font-size:12px}.book-motif>.icon{width:35px;height:35px}.book-item h3{font-size:15px}.book-item>p:not(.topic-label){font-size:13px}.book-item .topic-label{font-size:9px}.topic-pills .pill{font-size:11px;padding:6px 10px}.dashboard-topic-results .dashboard-resource{grid-template-columns:78px minmax(0,1fr)}.dashboard-topic-results .dashboard-resource h3{font-size:14px}.row-actions{gap:6px}.resource-save,.resource-share{font-size:11px}.featured-book,.podcast-banner{padding:23px 19px;gap:17px}.featured-book .eyebrow,.podcast-banner .eyebrow{font-size:9px}.featured-book h2,.podcast-banner h2{font-size:20px}.featured-book p,.podcast-banner p{font-size:13px}.dashboard-intro .headline{font-size:28px}.site-nav .nav a{font-size:12px;padding:8px 10px}.site-nav-inner{padding-inline:12px}.header-badge{min-width:156px}.header-badge .brand{font-size:23px}.review-actions{gap:9px}.review-actions button{font-size:8px}.review-bar strong{font-size:8px}}
@media(prefers-reduced-motion:reduce){.play-disc,.book-cover{transition:none}}

:root{--nav-texture:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='120'%3E%3Cfilter id='w'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.006 0.22' numOctaves='3' seed='7'/%3E%3CfeColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 -1.6 1.05'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23w)' opacity='.38'/%3E%3C/svg%3E")}

/* Sage, Yonder's autumn trail guide. Keep the portrait clear at launcher size. */
.help-launch{width:72px;height:72px;padding:2px;background:#fff8e8}
.help-launch>img{object-fit:contain}
.sage-welcome{display:flex;align-items:center;gap:19px;margin-bottom:22px}
.sage-welcome>img{flex:none;width:104px;height:104px;object-fit:contain;border-radius:50%;background:#edf3e8;border:2px solid #d3dece}
.sage-welcome .eyebrow{margin:0 0 8px}
.sage-welcome h2{margin:0}
@media(max-width:760px){.help-launch{width:62px;height:62px}.sage-welcome{gap:15px}.sage-welcome>img{width:84px;height:84px}}

/* The landscape and badge travel at different scroll speeds. */
.landscape-header picture{transform:translate3d(0,var(--landscape-drift,0px),0) scale(1.04);transform-origin:center center;will-change:transform}
.landscape-header .header-badge{transform:translate(-50%,-50%) translate3d(0,var(--logo-drift,0px),0);will-change:transform}
@media(prefers-reduced-motion:reduce){
 .landscape-header picture{transform:none;will-change:auto}
 .landscape-header .header-badge{transform:translate(-50%,-50%);will-change:auto}
}

/* Saved resources live inside the Library. */
.library-tabs{display:flex;align-items:center;gap:8px;border-bottom:1px solid var(--line);padding:0 0 17px;margin:0 0 27px;flex-wrap:wrap}
.library-tabs a{display:inline-flex;align-items:center;gap:9px;text-decoration:none;color:var(--navy);font-weight:800;font-size:14px;line-height:1.4;padding:11px 19px;border:1px solid #c5d7d3;border-radius:99px;background:#fffdf8}
.library-tabs a[aria-current=page]{background:var(--navy);color:#fff8e8;border-color:var(--navy)}
.library-tabs a:hover{box-shadow:0 3px 12px #12394f19}.library-tabs .icon{width:17px;height:17px}.library-saved-count{display:inline-grid;place-items:center;min-width:23px;height:23px;padding:0 6px;border-radius:99px;background:#dff0eb;color:var(--navy);font-size:11px}.library-tabs a[aria-current=page] .library-saved-count{background:#fff0d0}
@media(max-width:480px){.library-tabs{gap:7px;margin-bottom:22px;padding-bottom:15px}.library-tabs a{padding:10px 13px;font-size:12px;gap:6px}.library-saved-count{min-width:21px;height:21px}.library-tabs .icon{width:15px;height:15px}}

/* The digest and vertically stacked prompts share the main dashboard row. */
.dashboard-highlights{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:26px;align-items:start}
.dashboard-highlights>.dashboard-panel>h2{font-size:clamp(21px,2.05vw,25px)}
.dashboard-digest .monthly-mail-body{padding:5px 14px 14px}
.dashboard-videos .watch-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 18px}
.dashboard-videos .watch-picture>small{font-size:10px;bottom:10px;left:10px;right:10px}
.dashboard-videos .watch-card{min-width:0}
.dashboard-videos .watch-card h3{overflow-wrap:anywhere}

/* Episode cards use the same child and preference matching as the digest. */

.podcast-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:20px;margin:0 0 23px}
.podcast-card{display:flex;flex-direction:column;min-width:0;padding:22px;border:1px solid #e9e3d8;border-radius:14px;background:white}
.podcast-card-head{display:grid;grid-template-columns:76px minmax(0,1fr);gap:16px;align-items:center}
.podcast-art{display:grid;place-items:center;aspect-ratio:1;border-radius:13px;background:linear-gradient(145deg,#277b78 55%,#e7bc71 55%);color:#fff8df;box-shadow:0 4px 10px #12394f15}
.podcast-card:nth-child(2) .podcast-art{background:linear-gradient(145deg,#bf6549 55%,#f0c678 55%)}
.podcast-card:nth-child(3) .podcast-art{background:linear-gradient(145deg,#294f65 55%,#75a99b 55%)}
.podcast-art>.icon{width:33px;height:33px}
.podcast-meta{font-size:11px;line-height:1.5;color:var(--muted);margin:0 0 5px;overflow-wrap:anywhere}
.podcast-card h3{font:800 17px/1.35 var(--body);margin:0;overflow-wrap:anywhere}
.podcast-card h3 button:hover{text-decoration:underline;text-underline-offset:3px;color:var(--forest)}
.podcast-description{font-size:14px;line-height:1.6;color:var(--muted);margin:17px 0}
.podcast-card-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:auto}
.podcast-card-actions .text-link{display:inline-flex;align-items:center;gap:7px;font-size:13px}
.podcast-card-actions .icon{width:16px;height:16px}
@media(max-width:1000px){.dashboard-highlights{grid-template-columns:1fr}.dashboard-videos .watch-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.dashboard-highlights{gap:25px}.podcast-grid{gap:15px}.podcast-card{padding:19px}.dashboard-podcasts .section-note{margin-left:0}}
@media(max-width:460px){.dashboard-highlights>.dashboard-panel>h2{font-size:20px}.dashboard-digest .monthly-mail-body{padding:4px 12px 12px}.dashboard-videos .watch-grid{gap:20px 15px}.dashboard-videos .watch-picture>small{font-size:8px;bottom:8px;left:8px;right:8px}.podcast-card-head{grid-template-columns:60px minmax(0,1fr);gap:13px}.podcast-art>.icon{width:28px;height:28px}.podcast-card h3{font-size:16px}.podcast-card{padding:17px}}

/* Personal dashboard layout and keyboard-friendly organizer. */
.dashboard-sections{display:grid;gap:38px}
.dashboard-sections>.dashboard-stack,.dashboard-highlights>.dashboard-stack{margin-top:0}
.dashboard-sections>.dashboard-videos .watch-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.dashboard-sections>.dashboard-digest .monthly-mail-body{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:24px}
.dashboard-sections>.dashboard-digest .dashboard-empty{grid-column:1/-1}
/* Every portal section spans the content width in its saved order. */
.layout-list{list-style:none;padding:0;margin:23px 0;border:1px solid var(--line);border-radius:15px;overflow:hidden}
.layout-row{display:flex;align-items:center;gap:12px;padding:13px 15px;background:#fffdf7;border-bottom:1px solid var(--line)}
.layout-row:last-child{border-bottom:0}.layout-hidden{background:#f3f3ee}.layout-hidden .layout-section-name{color:var(--muted)}
.layout-section-icon{color:var(--forest);display:grid;place-items:center}.layout-section-icon .icon{width:21px;height:21px}
.layout-section-name{font-size:14px;line-height:1.4;font-weight:800;flex:1;min-width:0}
.layout-move{display:flex;gap:3px}.layout-move .icon-button{width:36px;height:38px;border:1px solid var(--line);border-radius:9px;background:white;font-size:20px;color:var(--navy)}
.layout-move button:disabled{opacity:.3;cursor:default}.layout-show{display:flex;align-items:center;gap:6px;font-size:12px;cursor:pointer;min-height:40px}.layout-show input{width:19px;height:19px;accent-color:var(--forest)}
.layout-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.layout-footer .text-link{font-size:12px}.layout-footer .form-actions{margin:0;gap:9px}
.dashboard-layout-empty p{color:var(--muted);line-height:1.6}
@media(max-width:760px){.dashboard-sections{gap:25px}.dashboard-sections>.dashboard-videos .watch-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-sections>.dashboard-digest .monthly-mail-body{grid-template-columns:1fr}}
@media(max-width:460px){.layout-row{padding:11px 10px;gap:8px}.layout-section-icon{display:none}.layout-section-name{font-size:13px}.layout-move .icon-button{width:34px;height:40px}.layout-show{gap:3px}.layout-show span{display:none}.layout-footer{align-items:stretch}.layout-footer>.form-actions{width:100%;justify-content:flex-end}}

.suggestion-form .field-row{display:grid;gap:7px;margin:18px 0;font-size:13px;font-weight:800}.suggestion-form textarea{resize:vertical;min-height:110px}.suggestion-preview-note{padding:13px 15px;background:#fff2d8;border:1px solid #ecd2a2;border-radius:12px;font-size:13px!important}.suggestion-preview-note a{color:var(--forest);font-weight:800}.suggestion-success-icon{width:57px;height:57px;display:grid;place-items:center;border-radius:50%;background:#e5f0e6;color:var(--forest);margin-bottom:23px}.suggestion-success-icon .icon{width:27px;height:27px}

/* A compact brand signature and clear ways to stay in touch. */
.product-footer{display:grid;grid-template-columns:1fr auto;gap:26px 35px;align-items:center;padding:28px 0 30px;border-top:1px solid var(--line)}
.product-footer .footer-brand{display:grid;gap:12px;justify-items:start}.footer-logo{display:flex;align-items:center;gap:11px;background:var(--navy);color:#fff9e7;padding:13px 18px;border:2px solid #ddbd81;border-radius:15px;text-decoration:none;box-shadow:0 3px 0 #14384d15}.footer-logo .brand-mark{width:38px;height:33px}.product-footer .footer-logo strong{font:800 24px/1 var(--display);letter-spacing:.045em;color:#fff9e7;margin:0}.footer-logo small{display:block;font:800 7px/1.2 var(--body);letter-spacing:.19em;text-align:center;color:#f0c275;margin-top:7px}.product-footer .footer-brand>span{font-size:12px;color:var(--muted)}.footer-connect{display:grid;justify-items:end;gap:13px}.footer-email{display:inline-flex;align-items:center;gap:8px;color:var(--forest);font-size:14px;font-weight:700;text-decoration:none}.footer-email:hover{text-decoration:underline}.footer-email .icon{width:18px;height:18px}.footer-socials{display:flex;gap:9px}.footer-socials a{width:40px;height:40px;display:grid;place-items:center;border:1px solid #bdd0c8;border-radius:50%;color:var(--navy);background:#fffdf7;transition:background .15s,color .15s}.footer-socials a:hover{background:var(--forest);color:white}.footer-socials svg{width:19px;height:19px}.footer-bottom{grid-column:1/-1;display:flex;justify-content:space-between;align-items:center;gap:20px;border-top:1px solid var(--line);padding-top:17px}.product-footer .footer-bottom p{margin:0;font-size:11px;line-height:1.6;color:var(--muted)}.footer-links{display:flex;align-items:center;gap:20px;flex-wrap:wrap}.footer-links .text-link{font-size:12px}
.help-launch{transition:transform .2s ease,box-shadow .2s ease;transform-origin:bottom right}.help-launch .sage-prompt{position:absolute;right:calc(100% + 15px);top:50%;transform:translate(5px,-50%);display:block;width:215px;padding:13px 16px;border:1px solid #bfd3c7;border-radius:14px;background:#fffdf7;box-shadow:0 5px 20px #12394f20;color:var(--navy);font:800 14px/1.5 var(--body);text-align:left;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .18s,transform .18s,visibility .18s}.help-launch .sage-prompt:after{content:"";position:absolute;right:-6px;top:calc(50% - 6px);width:10px;height:10px;background:#fffdf7;border-top:1px solid #bfd3c7;border-right:1px solid #bfd3c7;transform:rotate(45deg)}.help-launch:focus-visible{transform:scale(1.08)}.help-launch:focus-visible .sage-prompt{opacity:1;visibility:visible;transform:translate(0,-50%)}
@media(hover:hover){.help-launch:hover{transform:scale(1.08);box-shadow:0 7px 24px #12394f35}.help-launch:hover .sage-prompt{opacity:1;visibility:visible;transform:translate(0,-50%)}}
@media(max-width:760px){.product-footer{margin-inline:20px;padding:25px 0;gap:22px}.footer-logo{padding:11px 13px;gap:8px}.product-footer .footer-logo strong{font-size:20px}.footer-logo .brand-mark{width:30px;height:29px}.footer-email{font-size:12px}.footer-bottom{align-items:start;flex-wrap:wrap}.help-launch .sage-prompt{width:195px;right:calc(100% + 12px);font-size:13px}}
@media(max-width:440px){.product-footer{grid-template-columns:1fr}.footer-connect{justify-items:start;gap:14px}.footer-bottom{display:grid;gap:15px}}
@media(prefers-reduced-motion:reduce){.help-launch,.help-launch .sage-prompt{transition:none}.help-launch:hover,.help-launch:focus-visible{transform:none}}

/* Publisher imagery and direct resource links. */
a[data-member-outbound]{color:inherit;text-decoration:none}
a[data-member-outbound]:focus-visible{outline:3px solid #287c80;outline-offset:4px}
a.card-picture{display:block}
/* Predictable frames keep publisher artwork and missing-image states aligned. */
.resource-artwork{--art-bg:#e3eeea;--art-ink:#315e59;display:block;position:relative;width:100%;height:100%;min-height:0;overflow:hidden;background:var(--art-bg);border-radius:10px;isolation:isolate}
.resource-artwork[data-artwork-theme="development"]{--art-bg:#f2ead9;--art-ink:#866126}
.resource-artwork[data-artwork-theme="education"]{--art-bg:#e3edf3;--art-ink:#365e78}
.resource-artwork[data-artwork-theme="health"]{--art-bg:#f4e5de;--art-ink:#88523e}
.resource-artwork[data-artwork-theme="faith"]{--art-bg:#ece6f2;--art-ink:#6f5489}
.resource-artwork[data-artwork-theme="civic"]{--art-bg:#e6ebdf;--art-ink:#526744}
.resource-artwork[data-artwork-theme="entertainment"]{--art-bg:#f3e8d7;--art-ink:#886136}
.artwork-fallback{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:9px;padding:12px;color:var(--art-ink);text-align:center;background:radial-gradient(ellipse at 90% 105%,#ffffff70 0 35%,transparent 36%),var(--art-bg)}
.artwork-fallback .icon{width:32px;height:32px;flex-shrink:0}
.artwork-fallback small{font-size:11px;font-weight:600;line-height:1.35}
.resource-thumb .artwork-fallback small,.resource-thumb .artwork-wordmark,.podcast-art .artwork-fallback small,.podcast-art .artwork-wordmark{display:none}
.resource-thumb .artwork-fallback,.podcast-art .artwork-fallback{padding:6px}
.resource-thumb .artwork-fallback .icon,.podcast-art .artwork-fallback .icon{width:24px;height:24px}
.artwork-wordmark{font:600 10px Georgia,serif;letter-spacing:.18em;opacity:.7}
.has-publisher-image>.artwork-fallback{visibility:hidden}
.publisher-image{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;object-position:50% 35%;background:var(--art-bg)}
.is-podcast .publisher-image,.is-video .publisher-image,.is-book .publisher-image,.publisher-image.preserve-portrait{object-fit:contain;object-position:center}
.card-picture:has(>.resource-artwork),.mobile-preview .card-picture:has(>.resource-artwork),.resource-thumb:has(>.resource-artwork),.watch-picture:has(>.resource-artwork){height:auto;aspect-ratio:16/9;border-radius:10px;overflow:hidden}
.card-picture:has(>.is-podcast),.mobile-preview .card-picture:has(>.is-podcast),.resource-thumb:has(>.is-podcast),.podcast-art{aspect-ratio:1}
.card-picture:has(>.is-book),.mobile-preview .card-picture:has(>.is-book),.resource-thumb:has(>.is-book){aspect-ratio:2/3}
.resource-artwork.is-book{aspect-ratio:2/3;height:auto;min-height:0}
.resource-thumb>.resource-artwork.is-book,.card-picture>.resource-artwork.is-book{height:100%}
.books-grid{column-gap:clamp(32px,4vw,56px);row-gap:40px}
.book-open{display:block;width:calc(100% - 16px);max-width:220px;margin:8px auto 24px}
.featured-cover{transform:none}
.book-open:focus-visible,.featured-cover:focus-visible{outline:3px solid var(--navy);outline-offset:5px;border-radius:10px}
.podcast-art{overflow:hidden;background:#edf0eb!important;box-shadow:none}
.podcast-art .resource-artwork{aspect-ratio:1}
.mobile-resource>.resource-artwork{height:auto;aspect-ratio:16/9;margin-bottom:16px}
.mobile-resource>.is-podcast{aspect-ratio:1}
.mobile-resource>.is-book{aspect-ratio:2/3;max-width:220px;margin-inline:auto}
@media(min-width:761px) and (max-width:1050px){.books-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* One full-width content listing per row on phones, across all portal sections. */
@media(max-width:760px){
  .card-grid,.card-grid.home-cards,
  .watch-grid,.dashboard-videos .watch-grid,.dashboard-sections>.dashboard-videos .watch-grid,
  .books-grid,.podcast-grid{grid-template-columns:minmax(0,1fr);gap:24px}
  .watch-card h3,.book-item h3,.podcast-card h3{font-size:19px;line-height:1.4}
  .media-caption,.podcast-meta{font-size:12px}
  .dashboard-videos .watch-picture>small{font-size:12px}
  .books-grid{gap:40px}
}

/* Match the topic pills in Library and Browse by topic; retain the native picker. */
.filter-detail{flex-wrap:wrap;gap:14px}
.filter-detail .format-control{position:relative;display:inline-flex;align-items:center;margin-left:auto;max-width:100%;color:var(--ink)}
.format-control>span{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.format-control::after{content:"";position:absolute;right:16px;top:50%;width:7px;height:7px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:translateY(-70%) rotate(45deg);pointer-events:none}
.format-control .small-select{appearance:none;-webkit-appearance:none;min-height:44px;min-width:0;max-width:100%;padding:9px 38px 9px 15px;border:1px solid var(--line);border-radius:99px;background:#fff;color:var(--ink);font-size:13px;font-weight:600;line-height:1.5;cursor:pointer}
.format-control.is-filtered{color:#fff}
.format-control.is-filtered .small-select{background:var(--ink);border-color:var(--ink);color:#fff}
.format-control .small-select option{background:#fff;color:var(--ink)}
.format-control .small-select:hover{border-color:var(--forest)}
.header-tools .header-signout{min-height:44px;padding:10px 16px;background:#fffdf8;color:var(--navy);font-size:13px}
.header-tools .header-signout:hover{background:#f3e8d2}
@media(max-width:540px){.header-tools .header-signout{font-size:12px;padding:9px 12px}}


/* Three small, age-aware prompts. Keep every card readable in the page flow. */
.stage-moments{min-width:0}
/* Scripture shares the stitched trail-patch design with a distinct forest banner. */
.dashboard-panel.family-scripture-card{display:block;padding:0;overflow:hidden;background:linear-gradient(125deg,#fffaf0,#f7f0df);border-color:#c8bc9f;position:relative;box-shadow:0 5px 20px -16px #365443}
.scripture-header{position:relative;display:flex;align-items:center;gap:15px;padding:18px 22px;background-color:#365443;background-image:var(--tex-grain),linear-gradient(135deg,#ffffff0b,#0000000a);border-bottom:2px solid #d7b77b}
.scripture-header::after{content:"";position:absolute;inset:6px;border:1px dashed #f8dfac70;border-radius:12px;pointer-events:none}
.scripture-symbol{display:grid;place-items:center;flex:0 0 54px;height:54px;border:2px solid #d7b77b;border-radius:50%;outline:1px dashed #365443;outline-offset:-6px;color:#365443;background:#fff0ce;transform:rotate(-7deg);box-shadow:0 2px 3px #061f2b30}
.scripture-symbol .icon{width:28px;height:28px}
.dashboard-scripture h2{font-size:19px;margin:0 0 14px}
.dashboard-scripture .scripture-header h2{min-width:0;font:400 clamp(27px,2.3vw,32px)/1.15 var(--script);letter-spacing:.01em;color:#fff0ce;margin:0;overflow-wrap:anywhere;text-shadow:0 1px 1px #1d302755}
.scripture-body{padding:24px}
.dashboard-scripture blockquote{margin:0}
.dashboard-scripture blockquote p{font:600 clamp(18px,1.8vw,22px)/1.55 var(--display);color:var(--ink);margin:0 0 18px;overflow-wrap:anywhere}
.dashboard-scripture blockquote footer{font-size:13px;line-height:1.6;color:#55675f;padding:12px 15px;background:#fffdf7;border:1px solid #ded5bc;border-left:3px solid #c5a663;border-radius:3px 12px 12px 3px}
.dashboard-scripture blockquote a{font-weight:700;color:#365443;text-underline-offset:3px}
@media(max-width:600px){.scripture-header{padding:17px 19px;gap:12px}.scripture-symbol{flex-basis:48px;height:48px}.scripture-symbol .icon{width:25px;height:25px}.scripture-body{padding:21px}.dashboard-scripture .scripture-header h2{font-size:27px}.dashboard-scripture blockquote p{font-size:18px}}
.stage-moments-heading{display:flex;flex-direction:column;align-items:flex-start;gap:12px;margin-bottom:20px}
.stage-moments-heading h2{font:800 clamp(21px,2.05vw,25px)/1.25 var(--display);letter-spacing:-.015em;margin:0 0 8px;overflow-wrap:anywhere}
.stage-moments-heading .section-note{font-size:15px;line-height:1.5;margin:0;max-width:660px}
.stage-moments-stage{display:inline-flex;align-items:center;gap:7px;flex-shrink:0;padding:8px 12px;border-radius:99px;background:var(--stage-soft);font-size:12px;font-weight:800;color:var(--ink)}
.stage-moments-stage .icon{width:16px;height:16px}
.stage-moments-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:14px}
.stage-moment{min-width:0;padding:22px;border:1px solid var(--line);border-top:3px solid var(--stage);border-radius:16px;background:var(--paper);box-shadow:0 5px 16px -14px #173c40}
.stage-moment:last-child{background:color-mix(in srgb,var(--stage-soft) 55%,var(--paper))}
.stage-moment-header{position:relative;display:flex;align-items:center;gap:13px;margin:-22px -22px 18px;padding:16px 18px;background-color:var(--navy);background-image:var(--tex-grain),linear-gradient(135deg,#ffffff0b,#0000000a);border-radius:13px 13px 0 0;border-bottom:2px solid #d7b77b}
.stage-moment-header::after{content:"";position:absolute;inset:5px;border:1px dashed #f8dfac70;border-radius:9px;pointer-events:none}
.stage-moment-icon{display:grid;place-items:center;flex:0 0 46px;width:46px;height:46px;border:2px solid #d7b77b;border-radius:50%;outline:1px dashed #365666;outline-offset:-6px;background:#fff0ce;color:var(--navy);box-shadow:0 2px 3px #061f2b30}
.stage-moment-icon .icon{width:23px;height:23px}
.stage-moment-header h3{min-width:0;font:400 clamp(26px,2.3vw,31px)/1.1 var(--script);letter-spacing:.01em;margin:0;color:#fff0ce;overflow-wrap:anywhere;text-shadow:0 1px 1px #09263755}
.stage-moment>p{font-size:16px;line-height:1.65;margin:0;color:var(--ink);overflow-wrap:anywhere}
@media(max-width:600px){.stage-moments-heading{flex-direction:column;gap:12px}.stage-moments-stage{font-size:11px}.stage-moment{padding:20px}.stage-moment-header{margin:-20px -20px 17px;padding:15px;gap:11px}.stage-moment-icon{flex-basis:42px;width:42px;height:42px}.stage-moment-header h3{font-size:27px}}

/* Desktop digest: a consistent square image column balanced with the copy. */
@media(min-width:761px){
 body:not(.mobile-preview) .dashboard-digest .dashboard-resource{--digest-art-size:clamp(128px,13vw,168px);grid-template-columns:var(--digest-art-size) minmax(0,1fr);column-gap:20px;row-gap:14px;align-items:center;padding:22px 0}
 body:not(.mobile-preview) .dashboard-digest .resource-thumb{width:100%;aspect-ratio:1;align-self:center;border-radius:12px;overflow:hidden}
 body:not(.mobile-preview) .dashboard-digest .resource-thumb .resource-artwork{aspect-ratio:1!important;width:100%;height:100%}
 body:not(.mobile-preview) .dashboard-digest .dashboard-resource>div:not(.content-actions){display:grid;align-content:center;gap:6px;min-height:var(--digest-art-size);min-width:0}
 body:not(.mobile-preview) .dashboard-digest .dashboard-resource h3,body:not(.mobile-preview) .dashboard-digest .dashboard-resource p{margin:0}
 body:not(.mobile-preview) .dashboard-digest .dashboard-resource>.content-actions{grid-column:1/-1;margin-top:0}
}

/* Keep both family moments together beneath the prompts on desktop and mobile. */
.dashboard-family-moments{display:grid;gap:20px;min-width:0}
.dashboard-family-moments>.dashboard-panel{margin:0}
/* A little trail-patch personality, using the same stitched header as the prompts. */
.dashboard-panel.dashboard-dad-joke{padding:0;overflow:hidden;background:linear-gradient(125deg,#fffaf0,#f3f5e9);border-color:#c8bc9f;box-shadow:0 5px 20px -16px #183e55}
.dad-joke-header{position:relative;display:flex;align-items:center;gap:15px;padding:18px 22px;background-color:var(--navy);background-image:var(--tex-grain),linear-gradient(135deg,#ffffff0b,#0000000a);border-bottom:2px solid #d7b77b}
.dad-joke-header::after{content:"";position:absolute;inset:6px;border:1px dashed #f8dfac70;border-radius:12px;pointer-events:none}
.dad-joke-badge{display:grid;place-items:center;flex:0 0 54px;height:54px;border:2px solid #d7b77b;border-radius:50%;outline:1px dashed #365666;outline-offset:-6px;background:#fff0ce;color:var(--navy);transform:rotate(-7deg);box-shadow:0 2px 3px #061f2b30}
.dad-joke-badge svg{width:42px;height:42px}
.dashboard-scripture .dad-joke-header h2{min-width:0;font:400 clamp(27px,2.3vw,32px)/1.15 var(--script);letter-spacing:.01em;color:#fff0ce;margin:0;text-shadow:0 1px 1px #09263755}
.dad-joke-body{padding:24px}
.dad-joke-setup{font:600 19px/1.5 var(--display);color:var(--ink);margin:0 0 18px;overflow-wrap:anywhere}
.dad-joke-punchline{font-size:16px;font-weight:600;line-height:1.6;color:var(--navy);margin:0;padding:14px 16px;background:#fffdf7;border:1px solid #ded5bc;border-left:3px solid #c5a663;border-radius:3px 12px 12px 3px;overflow-wrap:anywhere}
@media(max-width:600px){.dad-joke-header{padding:17px 19px;gap:12px}.dad-joke-badge{flex-basis:48px;height:48px}.dad-joke-badge svg{width:37px;height:37px}.dad-joke-body{padding:21px}.dad-joke-setup{font-size:18px}.dashboard-scripture .dad-joke-header h2{font-size:27px}}

/* A warm berry trail patch for mothers' everyday humor. */
.dashboard-mom-quip .dad-joke-header{background-color:#784b5a}
.dashboard-mom-quip .dad-joke-badge{color:#784b5a;outline-color:#784b5a}
.dashboard-mom-quip .dad-joke-badge .icon{width:28px;height:28px}
.mom-quip-text{font:600 19px/1.6 var(--display);color:var(--ink);margin:0;overflow-wrap:anywhere}
@media(max-width:600px){.mom-quip-text{font-size:18px}}

/* Keep the landing signup action in the navigation at every screen size. */
.welcome .site-nav-inner{flex-wrap:wrap;gap:10px 18px}
.welcome .site-nav .nav{flex:1;flex-wrap:wrap;min-width:0}
.welcome .site-nav .nav-get-started{display:inline-flex;justify-content:center;align-items:center;flex:none;min-height:44px;padding:10px 20px;border:1px solid #f7eddb;border-radius:99px;background:#fffdf8;color:var(--navy);font-size:14px;font-weight:800;white-space:nowrap}
.welcome .site-nav .nav-get-started span{display:inline}
.welcome .site-nav .nav-get-started:hover{background:#f3e8d2}
.welcome .site-nav .nav-get-started:focus-visible{outline:2px solid #fffdf8;outline-offset:3px}
@media(max-width:760px){.welcome .site-nav .nav{flex-basis:100%;justify-content:center}.welcome .site-nav-inner{justify-content:center;padding-block:13px}.welcome .site-nav .nav-get-started{padding-inline:22px;font-size:13px}}

/* The selected child's guidance is the permanent profile header. */
.dashboard-panel.stage-moments{padding:clamp(20px,3vw,32px);border:1px solid color-mix(in srgb,var(--stage) 28%,var(--line));border-top:5px solid var(--stage);background:linear-gradient(135deg,var(--stage-soft),var(--paper));border-radius:24px}
.stage-moments-heading{flex-direction:row;align-items:center;justify-content:space-between;gap:16px}
.stage-moments-heading h2{font-size:clamp(23px,2.5vw,32px);margin:0}
.stage-moments-stage{max-width:100%;flex-shrink:1;background:var(--paper);border:1px solid color-mix(in srgb,var(--stage) 35%,var(--line));line-height:1.5}
.stage-moments-stage .kid-picture{width:34px;height:34px;flex:0 0 34px;margin:0}
.stage-moments .stage-moment{background:var(--paper);border-color:color-mix(in srgb,var(--stage) 30%,var(--line));border-top-color:var(--stage)}
.stage-moments .stage-moment-header{background-color:color-mix(in srgb,var(--stage) 24%,var(--navy));border-bottom-color:var(--stage)}
.stage-moments .stage-moment-icon{background:var(--stage-soft);border-color:var(--stage);color:var(--ink)}
@media(min-width:1001px){.stage-moments-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.stage-moment-header{min-height:100px}.stage-moment-header h3{font-size:clamp(24px,2.1vw,29px)}}
@media(max-width:760px){.stage-moments-heading{flex-direction:column;align-items:flex-start}.dashboard-panel.stage-moments{border-radius:20px}.stage-moments-grid{grid-template-columns:minmax(0,1fr)}}

/* Keep the optional explanation separate from the guidance paragraph. */
.stage-moment .moment-why{margin-top:16px;text-align:left}
.stage-moment .moment-why>summary{display:list-item;width:fit-content;margin:0;padding:0;text-align:left;list-style-position:inside}
.stage-moment .moment-why>p{margin:12px 0 0}

/* Align the three explanation controls, including after three-things.css loads. */
.stage-moments .stage-moment{display:flex;flex-direction:column}
.stage-moments .stage-moment>p{flex:1}
.stage-moments .stage-moment .moment-why{margin:18px 0 0;padding:0;text-align:left}
.stage-moments .stage-moment .moment-why>summary{display:block;margin:0;padding:0;list-style:none;text-align:left;width:fit-content}
.stage-moments .stage-moment .moment-why>summary::-webkit-details-marker{display:none}
.stage-moments .stage-moment .moment-why>summary::before{content:"▸";display:inline-block;width:14px;text-decoration:none}
.stage-moments .stage-moment .moment-why[open]>summary::before{content:"▾"}

/* Yonder Tips share the stitched trail-patch treatment of family moments. */
.family-dashboard .dashboard-panel.yonder-tip{display:block;position:relative;margin-top:28px;padding:0;overflow:hidden;background:linear-gradient(125deg,#fffaf0,#f5eedb);border:1px solid #c8b48a;border-radius:20px;box-shadow:0 7px 24px -16px #183e5570}
.yonder-tip-header{position:relative;display:flex;align-items:center;gap:16px;padding:18px 24px;background-color:#28665e;background-image:var(--tex-grain),linear-gradient(135deg,#ffffff0b,#00000012);border-bottom:3px solid #d7b77b}
.yonder-tip-header::after{content:"";position:absolute;inset:6px;border:1px dashed #f8dfac80;border-radius:12px;pointer-events:none}
.yonder-tip-badge{display:grid;place-items:center;flex:0 0 54px;height:54px;border:2px solid #d7b77b;border-radius:50%;outline:1px dashed #28665e;outline-offset:-6px;background:#fff0ce;color:#28665e;transform:rotate(-7deg);box-shadow:0 2px 4px #061f2b40}
.yonder-tip-badge .icon{width:29px;height:29px}
.family-dashboard .yonder-tip-header h2{margin:0;color:#fff0ce;font:400 clamp(29px,2.5vw,34px)/1.15 var(--script);letter-spacing:.01em;text-shadow:0 1px 2px #102e2755}
.yonder-tip-body{padding:25px 28px 28px}
.family-dashboard .yonder-tip-body h3{margin:0 0 12px;color:#183e55;font:750 23px/1.3 var(--display);overflow-wrap:anywhere}
.family-dashboard .yonder-tip-body p{margin:0;max-width:78ch;color:#355247;font-size:16px;line-height:1.7}
@media(max-width:600px){.family-dashboard .dashboard-panel.yonder-tip{margin-top:22px}.yonder-tip-header{padding:17px 20px;gap:13px}.yonder-tip-badge{flex-basis:48px;height:48px}.family-dashboard .yonder-tip-header h2{font-size:29px}.yonder-tip-body{padding:22px}.family-dashboard .yonder-tip-body h3{font-size:21px}.family-dashboard .yonder-tip-body p{font-size:15px}}


/* Quiet frames distinguish digest picks only in the two-column layout. */
@media(min-width:761px){
 .dashboard-sections>.dashboard-digest .monthly-mail-body{row-gap:18px;padding-top:18px}
 .dashboard-sections>.dashboard-digest .monthly-mail-body>.dashboard-resource{border:1px solid #e9e3d8;border-radius:12px;padding:16px;min-width:0;grid-template-rows:minmax(0,1fr) auto}
 .dashboard-sections>.dashboard-digest .monthly-mail-body>.dashboard-resource>.content-actions{grid-column:1/-1;align-self:end}
}

/* Keep card controls together on the left across every format and viewport. */
.content-actions,.dashboard-digest .content-actions,.podcast-card-actions{justify-content:flex-start}
.content-actions .resource-save{margin-left:0}
/* Keep the fixed mobile navigation above scrolling portal content. */
.mobile-nav{z-index:60;pointer-events:auto}
.mobile-nav a{position:relative;pointer-events:auto;touch-action:manipulation}


/* The adjacent signup card is the desktop CTA; touch layouts keep both choices. */
@media(min-width:1101px) and (hover:hover) and (pointer:fine){
 .welcome-hero .actions>[data-action="onboard"]{display:none}
}
@media(any-pointer:coarse){
 .welcome-hero .actions>[data-action="onboard"]{display:inline-flex}
}
