@font-face{font-family:Nunito;src:url("/assets/nunito-400-26210e20.woff2") format('woff2');font-weight:400;font-display:swap}
@font-face{font-family:Nunito;src:url("/assets/nunito-600-45807721.woff2") format('woff2');font-weight:600;font-display:swap}
@font-face{font-family:Nunito;src:url("/assets/nunito-700-66e37a9f.woff2") format('woff2');font-weight:700;font-display:swap}
@font-face{font-family:Nunito;src:url("/assets/nunito-800-7a83f4f7.woff2") format('woff2');font-weight:800;font-display:swap}
@font-face{font-family:Nunito;src:url("/assets/nunito-900-7cb531f6.woff2") format('woff2');font-weight:900;font-display:swap}
:root{font-family:Nunito,system-ui,sans-serif;color:#164a43;background:#f9f7ef;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,textarea{ -webkit-tap-highlight-color:transparent}a{color:inherit}button,input[type=submit]{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #ecab40;outline-offset:4px}h1,h2,p{margin:0}h1,h2{line-height:1.16;letter-spacing:-.035em}h1{font-size:clamp(32px,3.5vw,50px);font-weight:900}h2{font-size:29px;font-weight:900}p{line-height:1.6;color:#63786f}.family-page{min-height:100svh;display:flex;flex-direction:column;background:radial-gradient(ellipse at 12% 55%,#e3eee0 0,transparent 43%),#f9f7ef}.family-header{height:115px;display:flex;align-items:center;gap:24px;max-width:1200px;width:100%;padding:20px 40px;margin:auto auto 0}.family-brand{display:block;flex-shrink:0}.family-brand img{width:160px;height:75px;object-fit:contain}.family-header>span{color:#708277;font-size:14px;border-left:1px solid #d4ddcf;padding-left:24px}.family-header>form{margin-left:auto}.welcome-grid{width:min(1140px,100%);display:grid;grid-template-columns:1.2fr 1fr;gap:65px;align-items:center;margin:32px auto 60px;padding:0 40px;flex:1}.eyebrow,.step-label{display:block;font-size:11px;font-weight:900;letter-spacing:.14em;color:#448475;margin-bottom:18px}.welcome-story h1{font-size:clamp(38px,4vw,58px)}.welcome-story>p{font-size:18px;margin-top:22px}.welcome-art{position:relative;display:flex;align-items:center;margin-top:24px;height:225px}.welcome-art>img{width:210px;height:225px;object-fit:contain;filter:drop-shadow(0 13px 14px #1d5c3b12)}.art-bubble{background:#fff;border:1px solid #d9e3d4;border-radius:25px 25px 25px 2px;padding:20px 25px;font-weight:800;font-size:19px;line-height:1.4;transform:translate(-10px,-10px);box-shadow:0 8px 20px #164a4308}.art-bubble span{color:#efa041;margin-left:12px}.form-card{background:#fffdf7;border:1px solid #e1e7d8;border-radius:30px;padding:36px;box-shadow:0 18px 55px #26493c0b}.form-card>p{margin:15px 0 24px;font-size:15px}.form-card .step-label{color:#ca8a38}.form-card label,.episode-form label{display:block;font-size:14px;font-weight:800;margin:21px 0 9px}.form-card input:not([type=submit]):not([type=radio]),.episode-form input:not([type=submit]):not([type=checkbox]),textarea{width:100%;background:#fff;border:1.5px solid #d3ddd0;border-radius:13px;padding:14px 16px;font-size:17px;color:#164a43;min-height:52px}.form-card input::placeholder{color:#99a69a;font-size:16px}.field-help{font-size:12px!important;margin:9px 0 22px!important;line-height:1.5!important}.button-primary{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:13px;background:#13695c;color:white;padding:15px 22px;font-weight:900;text-decoration:none;box-shadow:0 4px 0 #094d42;min-height:54px;transition:background .15s}.button-primary:hover{background:#0f594e}.form-card input[type=submit]{width:100%;margin-top:9px}.dev-note{background:#f3f2e6;border:1px dashed #d2cdb0;border-radius:14px;padding:14px 17px;margin-top:27px;display:flex;flex-direction:column;gap:5px;font-size:12px;color:#7b7957;line-height:1.5}.dev-note strong{font-size:12px;color:#6d7054}.dev-note code{font:900 29px Nunito,sans-serif;letter-spacing:.27em;color:#16594b}.parent-note{font-size:12px!important;text-align:center;margin:24px 0 0!important}.text-link{font-size:13px;font-weight:800;color:#377666;border:0;background:none;text-decoration:none;padding:5px 0}.text-link:hover{text-decoration:underline}.back-form{display:block;text-align:center;margin-top:25px}.otp-input{letter-spacing:.32em;font-size:28px!important;font-weight:900;text-align:center}.form-error{border:1px solid #f4c3b7;background:#fff1ea;color:#944331;border-radius:12px;padding:14px;font-size:14px;line-height:1.5;margin:20px 0}.family-footer{margin-top:auto;padding:24px 40px;text-align:center;font-size:12px;color:#6f8275;border-top:1px solid #e4e8dc}.family-footer span{margin-left:30px;color:#92a08e}.flash{padding:12px 20px;background:#e7f2df;border:1px solid #d0e3c7;color:#32694d;font-size:14px;border-radius:12px;margin:10px auto;max-width:1060px}.flash.alert{background:#fff0e9;color:#984433;border-color:#f0ccba}.profiles-page{width:min(1140px,100%);margin:35px auto 65px;padding:0 40px;flex:1}.profiles-heading{margin-bottom:35px}.profiles-heading h1{font-size:40px}.profiles-heading>p{margin-top:13px}.profiles-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:23px;align-items:start}.profiles-grid form{margin:0}.profile-card{border:1px solid #dae4d3;border-radius:26px;background:#fffdf7;padding:26px 18px;width:100%;display:flex;align-items:center;flex-direction:column;min-height:255px;color:#174b42;box-shadow:0 5px 0 #e5ebdb}.profile-card:hover{border-color:#51a092;transform:translateY(-2px)}.profile-card>strong{font-size:23px;margin-top:12px}.profile-card>span:last-child{font-size:12px;color:#6c8777;margin-top:8px}.profile-avatar{width:120px;height:120px;background:#e6efda;border-radius:100%;display:grid;place-items:center;font-size:54px;overflow:hidden}.profile-avatar img{width:112px;height:145px;object-fit:contain;object-position:top;transform:translateY(10px)}.profile-avatar.lightbulb{background:#fff0d1}.profile-avatar.leaf{background:#e5f1e1}.new-profile{padding:26px;grid-column:span 1;min-width:0}.new-profile h2{font-size:25px}.avatar-choices{border:0;padding:0;margin:20px 0;display:flex;flex-wrap:wrap;gap:8px}.avatar-choices legend{font-size:13px;font-weight:800;margin-bottom:9px}.avatar-choices label{margin:0;display:flex;align-items:center;gap:6px;padding:7px 9px;border:1px solid #d7e1cd;border-radius:10px}.admin-login{padding:45px 25px 85px;display:grid;place-items:center;flex:1}.admin-login>.form-card{max-width:480px;width:100%}.admin-login h1{font-size:36px}.admin-page{display:flex;min-height:100svh}.admin-sidebar{width:245px;padding:28px 25px;border-right:1px solid #dde6d7;background:#f0f3e7;display:flex;flex-direction:column;gap:28px;flex-shrink:0}.admin-sidebar .family-brand img{width:175px}.admin-sidebar .step-label{margin:0;font-size:10px}.admin-sidebar nav{display:flex;flex-direction:column;gap:12px}.admin-sidebar nav>a{text-decoration:none;font-size:15px;font-weight:800;padding:13px;border-radius:12px;background:#e3edda}.admin-sidebar nav>a:hover{background:#d8e6ce}.admin-sidebar>form{margin-top:auto}.admin-main{padding:50px 45px;flex:1;min-width:0;max-width:1500px}.admin-heading{margin-bottom:32px}.admin-heading h1{font-size:36px;max-width:720px}.admin-heading>p{margin-top:14px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:35px 0}.stats article{background:#fffdf7;border:1px solid #e1e7d8;border-radius:20px;padding:23px;display:flex;flex-direction:column;gap:8px}.stats strong{font-size:37px;font-weight:900}.stats span{font-size:13px;color:#758675}.admin-panel{background:#fffdf7;border:1px solid #e1e7d8;border-radius:22px;padding:27px}.panel-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:24px}.panel-heading h2{font-size:24px}.compact{font-size:13px;min-height:42px;padding:11px 15px}.table-scroll{overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:left;font-size:14px;white-space:nowrap}th{font-size:11px;color:#748873;letter-spacing:.04em;padding:12px;border-bottom:1px solid #dae4d3}td{padding:21px 12px;border-bottom:1px solid #edf0e5}td strong{display:block;font-weight:800}td small{font-size:11px;display:block;color:#94a18a;margin-top:5px}.badge{padding:6px 10px;border-radius:20px;background:#f0e9d8;color:#8a7759;font-size:11px;font-weight:800}.badge.published{background:#e3f0da;color:#4a784f}.admin-note{font-size:13px;background:#eaf0df;border-radius:16px;margin-top:25px;padding:20px 25px;line-height:1.6}.admin-note p{margin-top:6px}.episode-form{max-width:700px}.episode-form label:first-child{margin-top:0}.episode-form .button-primary{margin-top:23px}.checkbox-label{display:flex!important;align-items:center;gap:10px}.checkbox-label input{width:19px;height:19px;accent-color:#13695c}.episode-form textarea{resize:vertical}.episode-form .field-help{margin-bottom:10px!important}
@media(min-width:1100px){.profiles-grid{grid-template-columns:repeat(3,1fr)}.new-profile{grid-column:span 1}}@media(max-width:900px){.welcome-grid{gap:30px;padding:0 25px}.form-card{padding:28px}.welcome-art>img{width:150px;height:200px}.art-bubble{font-size:16px;padding:16px}.welcome-story h1{font-size:40px}.admin-sidebar{width:200px;padding:25px 18px}.admin-sidebar .family-brand img{width:155px}.admin-main{padding:35px 25px}.stats{grid-template-columns:repeat(2,1fr)}.admin-heading h1{font-size:30px}}@media(max-width:650px){.family-header{height:93px;padding:15px 22px;gap:13px}.family-brand img{width:120px;height:61px}.family-header>span{font-size:10px;padding-left:13px}.family-header>form .text-link{font-size:11px}.family-header>form+span{display:none}.welcome-grid{display:flex;flex-direction:column;gap:28px;margin:20px auto 35px;padding:0 22px;align-items:stretch}.welcome-story h1{font-size:35px}.welcome-story .eyebrow{font-size:9px;margin-bottom:12px}.welcome-story>p{font-size:15px;margin-top:14px}.welcome-art{display:none}.form-card{padding:27px 24px;border-radius:23px}.form-card h2{font-size:27px}.form-card .step-label{font-size:10px}.form-card>p{font-size:14px;margin-top:13px}.dev-note{margin-top:23px}.family-footer{padding:21px;font-size:11px}.family-footer span{display:block;margin:6px 0 0;font-size:10px}.flash{margin:0 22px 10px;font-size:12px}.profiles-page{padding:0 22px;margin-top:23px}.profiles-heading h1{font-size:31px}.profiles-grid{grid-template-columns:1fr}.profile-card{min-height:215px}.admin-page{display:block}.admin-sidebar{width:100%;padding:15px 20px;gap:12px;border-right:0;border-bottom:1px solid #dde6d7;display:grid;grid-template-columns:1fr auto}.admin-sidebar .family-brand img{width:115px;height:55px}.admin-sidebar .step-label{display:none}.admin-sidebar nav{grid-row:2;grid-column:1 / -1;flex-direction:row;gap:8px;overflow-x:auto}.admin-sidebar nav>a{font-size:11px;white-space:nowrap;padding:10px}.admin-sidebar>form{align-self:center;margin:0}.admin-main{padding:30px 20px}.admin-main>.flash{margin:0 0 20px}.admin-heading h1{font-size:29px}.stats{gap:10px;margin:25px 0}.stats article{padding:17px}.stats strong{font-size:29px}.stats span{font-size:11px}.admin-panel{padding:19px}.panel-heading{align-items:flex-start;flex-direction:column}.admin-heading>p{font-size:14px}.admin-login{padding:20px 22px 50px}.admin-login h1{font-size:31px}}
/* Shared presentation for phone signup and verification; profile forms keep their existing layout. */
.signup-page .welcome-story h1{font-size:clamp(38px,4vw,56px);line-height:1.06}
.signup-page .welcome-story>p{max-width:460px;font-size:20px;line-height:1.65}
.signup-brand{display:inline-block;margin-bottom:30px}
.signup-page .form-card h2{font-size:28px}
.signup-page .parent-note{line-height:1.6}
@media(max-width:900px){.signup-page .welcome-story h1{font-size:42px}.signup-page .welcome-story>p{font-size:18px}.signup-page .form-card h2{font-size:25px}}
@media(max-width:650px){.signup-page{gap:26px}.signup-page .welcome-story h1{font-size:34px}.signup-page .welcome-story>p{font-size:17px;margin-top:18px}.signup-brand{margin-bottom:24px}.signup-page .form-card h2{font-size:25px}}
@media(max-width:360px){.signup-page .welcome-story h1{font-size:32px}}

.signup-scene{background:linear-gradient(90deg,#f9f7efed,#f9f7efd9 55%,#f9f7efb8),url("/landing-assets/signup-coastal-world.webp") center/cover no-repeat}
.signup-scene .signup-page{margin:60px auto 35px}
.signup-scene .form-card{background:#fffdf7f7;box-shadow:0 16px 55px #164a4317}
.signup-footer{width:100%;margin-top:auto;padding:0 24px 12px;background:linear-gradient(transparent,#f9f7efe6)}
.signup-footer img{display:block;width:min(100%,1000px);height:auto;margin:0 auto}
@media(max-width:650px){.signup-scene{background:linear-gradient(#f9f7efeb,#f9f7efe0),url("/landing-assets/signup-coastal-world.webp") 58% center/cover no-repeat}.signup-scene .signup-page{margin:28px auto 28px}.signup-footer{padding:0 12px 12px}}

.otp-resend{text-align:center;margin-top:24px}.otp-resend .field-help{display:block;margin:8px 0!important}.otp-resend button:disabled{opacity:.55;cursor:not-allowed;text-decoration:none}

.onboarding-form select{width:100%;min-height:52px;border:1.5px solid #d3ddd0;border-radius:13px;padding:12px 16px;background:#fff;color:#164a43;font:inherit}.onboarding-form .parent-phone{display:block;margin-top:20px;font-size:14px;font-weight:800}.onboarding-form .profile-field-help{font-size:12px;line-height:1.5;margin:8px 0 20px}.onboarding-form input[type=password]{letter-spacing:.3em}.onboarding-form .button-primary{width:100%}

.admin-family-search{margin-bottom:24px}.admin-family-search label{display:block;margin-bottom:8px;font-size:14px;font-weight:800}.admin-family-search>div{display:flex;gap:12px}.admin-family-search input[type=search]{flex:1;min-width:0;border:1px solid #d3ddd0;border-radius:12px;padding:12px 14px;background:#fff;min-height:46px}.admin-token-grid{display:grid;grid-template-columns:minmax(210px,.65fr) minmax(0,1fr);gap:24px;align-items:start}.admin-token-summary{background:#e7f5f8;text-align:center}.admin-token-summary img{object-fit:contain;margin-bottom:12px}.admin-token-summary h2{font-size:22px}.admin-token-summary p{margin-top:16px}.admin-token-summary strong{font-size:42px;font-weight:900;color:#087f8e}.admin-token-form{margin-top:24px}.admin-token-form label{margin-top:18px}.admin-token-form .button-primary{width:100%;margin-top:12px}.admin-token-history{margin-top:28px}.admin-token-description{white-space:normal;min-width:160px;max-width:320px;overflow-wrap:anywhere}.admin-token-pagination{display:flex;justify-content:space-between;gap:16px;margin-top:18px}.admin-token-pagination:empty{display:none}
@media(max-width:900px){.admin-token-grid{grid-template-columns:1fr}.admin-token-summary{padding:20px}.admin-token-summary img{width:70px;height:70px}.admin-token-summary p{margin-top:8px}}
@media(max-width:650px){.admin-family-search>div{flex-direction:column}.admin-token-form .button-primary{white-space:normal}}

/* Read-only child progress in the administration. */
.admin-child-link{display:block;min-height:44px;align-content:center;text-decoration:underline;text-underline-offset:3px}.admin-family-children{margin-bottom:28px}.admin-child-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px}.admin-child-card{display:flex;align-items:center;gap:14px;border:1px solid #d9e4d4;border-radius:14px;padding:14px;text-decoration:none;background:#fff}.admin-child-card:hover{border-color:#148c9b}.admin-child-card img,.admin-child-heading>img{object-fit:contain}.admin-child-card>span{display:grid;gap:6px}.admin-child-card strong{font-size:19px}.admin-child-card span span{font-size:13px;color:#377666}.admin-child-heading{display:flex;align-items:center;gap:20px;margin-top:20px}.admin-child-heading .eyebrow{margin-bottom:8px}.admin-child-heading h1{overflow-wrap:anywhere}.admin-child-heading p{margin-top:8px}.admin-child-sections{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:32px}.admin-child-sections a{display:inline-flex;align-items:center;min-height:44px;padding:10px 18px;border-radius:12px;background:#e3edda;font-size:14px;font-weight:800;text-decoration:none}.admin-child-section{margin-top:36px;scroll-margin-top:24px}.admin-child-section>h2{font-size:26px;margin-bottom:14px}.admin-child-section>p{margin-bottom:20px}.admin-adventure{margin-top:16px}.admin-adventure summary{display:flex;align-items:center;gap:20px;cursor:pointer;min-height:56px;list-style:none}.admin-adventure summary::-webkit-details-marker{display:none}.admin-adventure summary::after{content:'⌄';font-size:24px;margin-left:auto}.admin-adventure[open] summary::after{transform:rotate(180deg)}.admin-adventure summary:focus-visible{outline:3px solid #ecab40;outline-offset:6px;border-radius:4px}.admin-adventure-title{display:grid;gap:8px;flex:1;min-width:0}.admin-adventure-title strong{font-size:19px;overflow-wrap:anywhere}.admin-adventure-title>span{font-size:13px;color:#63786f}.admin-adventure-progress{display:grid;gap:9px;max-width:240px;font-size:12px;color:#63786f}.admin-adventure-progress progress{width:100%;height:10px;accent-color:#148c9b}.admin-adventure[open] summary{margin-bottom:20px}.admin-progress-table{min-width:540px}.admin-progress-table tbody th{font-size:14px;color:#164a43;letter-spacing:0;font-weight:800;white-space:normal;min-width:180px;max-width:340px;border-bottom:1px solid #edf0e5}.admin-progress-table .sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.admin-progress-history{margin-top:22px;font-size:13px;line-height:1.6}.admin-progress-history h3{font-size:15px;margin:0 0 8px}.admin-progress-history ul{padding-left:20px}.admin-progress-note{font-size:13px;margin-top:20px}.admin-achievement-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.admin-achievement-grid article{min-width:0;text-align:center}.admin-achievement-grid h3{font-size:18px;margin:12px 0;overflow-wrap:anywhere}.admin-achievement-grid p{font-size:13px;overflow-wrap:anywhere}.admin-achievement-grid img{max-width:100%;object-fit:contain}.admin-invention>img{width:100%;height:auto;aspect-ratio:1.6}.admin-earned-badge>img{height:150px;width:150px}
@media(max-width:1100px){.admin-achievement-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-adventure summary{flex-wrap:wrap}.admin-adventure-progress{order:2;flex-basis:100%;max-width:none}.admin-adventure summary::after{order:1}.admin-adventure-title{flex-basis:80%}}
@media(max-width:650px){.admin-child-heading{gap:12px}.admin-child-heading>img{width:62px;height:72px}.admin-achievement-grid{grid-template-columns:1fr}.admin-adventure-title strong{font-size:17px}.admin-child-section>h2{font-size:23px}.admin-child-stats article{min-width:0}.admin-child-cards{grid-template-columns:1fr}}

.referral-table{overflow-x:auto}.referral-table table{min-width:650px;width:100%;text-align:left;border-collapse:collapse}.referral-table th,.referral-table td{padding:12px 10px;border-bottom:1px solid #dde6d7}.referral-version{padding:12px 0;border-bottom:1px solid #dde6d7}.family-referral-code{overflow-wrap:anywhere}

.referral-search{display:flex;align-items:end;gap:12px;flex-wrap:wrap;margin-bottom:18px}.referral-search label{width:100%;font-weight:800}.referral-search input[type=search]{padding:11px 14px;border:1px solid #b5c8be;border-radius:10px;min-width:0;flex:1}.referral-search input[type=submit]{padding:11px 18px;border:0;border-radius:10px;background:#32685e;color:white;font-weight:800}.referral-version+.referral-version{margin-top:8px}

.referral-currency{display:block;width:100%;padding:13px 15px;border:1px solid #d6dfd2;border-radius:13px;background:white;color:#164a43;margin:8px 0 18px;font:inherit}

/* Parent onboarding uses the same explicit notification preference as settings. */
.retention-consent { display:flex !important; align-items:flex-start; gap:.7rem; font-weight:600 !important; line-height:1.5; margin:1rem 0; }
.retention-consent input[type=checkbox] { width:20px !important; height:20px !important; min-width:20px; flex:0 0 20px; margin-top:3px; accent-color:#007a7c; }

.retention-tabs{display:flex;gap:12px;flex-wrap:wrap;margin:0 0 24px}.retention-tabs a{padding:10px 14px;border-radius:10px;background:#e3edda;font-weight:800;text-decoration:none}.retention-section{margin-bottom:24px}.retention-section>h2{margin-bottom:16px}.retention-section>p{margin:12px 0}.retention-form select{display:block;max-width:100%;width:100%;padding:12px;border:1px solid #d3ddd0;border-radius:12px;background:#fff;color:#164a43}.retention-form h2{font-size:23px;margin:30px 0 18px}.retention-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.retention-fields label{margin-top:16px!important}.retention-message{white-space:pre-wrap;overflow-wrap:anywhere;margin:20px 0;padding:18px 22px;border-left:4px solid #448475;background:#f0f3e7;line-height:1.7;color:#164a43}.retention-actions{display:flex;align-items:center;gap:20px;flex-wrap:wrap;margin:18px 0}.retention-history{margin-top:20px}.retention-history summary{cursor:pointer;font-weight:800}.retention-history pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px}.retention-results{padding-left:22px;line-height:1.8}.retention-subheading{margin-top:28px!important}@media(max-width:650px){.retention-tabs{gap:6px}.retention-tabs a{font-size:12px;padding:9px}.retention-fields{gap:10px}.retention-message{padding:14px}}
