@import"https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800;900&display=swap";:root{color:#172126;background:#f7f7f2;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}:root{color:#3e4050;background:#fff9ee;font-family:Nunito,Atkinson Hyperlegible,Inter,ui-sans-serif,system-ui,sans-serif}body{background:linear-gradient(180deg,#fff9ee,#f7f0ff 45%,#eef8ff)}.heroCtas{display:flex;flex-wrap:wrap;gap:14px;margin:26px 0 18px}.heroCtasMobile{display:none}.primaryHeroButton{background:linear-gradient(135deg,#3b96ff,#705dff);border:0;color:#fff;padding:0 24px}.secondaryHeroButton{background:#ffffffc7;border:2px solid rgba(255,143,190,.55);box-shadow:none;color:#51359a;padding:0 22px}.storyLibraryHome{margin:22px auto;max-width:1280px;padding:26px}.storyLibraryFilters{display:grid;gap:12px;grid-template-columns:minmax(220px,1.4fr) repeat(2,minmax(160px,.8fr));margin:22px 0}.storySearchToggle{display:none}.storyGrid{display:grid;gap:18px;grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}.storyCard{background:#ffffffeb;border:1px solid rgba(115,87,199,.14);border-radius:20px;box-shadow:0 14px 34px #26334d14;display:grid;grid-template-rows:auto 1fr;overflow:hidden}.storyCover{border:0;border-radius:0;box-shadow:none;cursor:pointer;display:block;min-height:0;padding:0;width:100%;background:#f7f0ff;aspect-ratio:3 / 4;overflow:hidden;position:relative}.storyCover:focus-visible{outline:4px solid #6577ff;outline-offset:-4px}.storyCover img{display:block;height:100%;object-fit:contain;object-position:center center;width:100%}.storyCardBody{display:grid;gap:12px;padding:18px}.adminStoryCoverThumb{align-self:start;aspect-ratio:3 / 4;border:1px solid rgba(115,87,199,.18);border-radius:10px;box-shadow:0 10px 24px #26334d1a;height:104px;object-fit:cover;object-position:center center;width:78px}.storyCardTitleRow,.storyActionRow,.storyMetaRow,.storyBadgeRow,.moreCreateActions{display:flex;flex-wrap:wrap;gap:10px}.storyCardTitleRow{align-items:flex-start;justify-content:space-between}.storyNumber{color:#7051c8;flex:0 0 100%;font-size:.78rem;font-weight:900;text-transform:uppercase}.storyMetaLine{color:#5d5970;font-size:.88rem;font-weight:800;margin:0}.libraryLoadMore{align-items:center;display:flex;flex-direction:column;gap:8px;justify-content:center;padding:24px 0 4px}.libraryLoadMore span{color:#62637a;font-size:.88rem;font-weight:700}.storyCard h3,.storyCard p{margin:0}.storyCard.compactOriginalStoryCard{grid-template-columns:118px minmax(0,1fr);grid-template-rows:1fr}.compactOriginalStoryCard .storyCover{aspect-ratio:auto;height:100%;min-height:210px}.compactOriginalStoryCard .storyCover img{background:#fff9e8;object-fit:contain}.compactOriginalStoryCard .storyCardBody{padding:14px}.storyMetaRow span,.storyBadgeRow span{background:#fff6d7;border:1px solid rgba(244,201,93,.55);border-radius:999px;color:#26334d;font-size:.85rem;font-weight:800;padding:6px 10px}.storyBadgeRow span:nth-child(2n){background:#fff2f8;border-color:#ff8fbe85}.favoriteButton{background:#fff;border:1px solid rgba(255,143,190,.6);box-shadow:none;color:#51359a;min-height:38px;padding:0 12px}.favoriteButton.selected{background:#fff2f8}.homepageSupportGrid{display:grid;gap:16px;grid-template-columns:repeat(3,1fr);margin-top:24px}.homepageSupportGrid section{background:#ffffffb8;border:1px solid rgba(139,124,246,.16);border-radius:18px;padding:18px}.storyPreviewBackdrop{align-items:center;background:#26334d52;display:flex;inset:0;justify-content:center;padding:20px;position:fixed;z-index:2000}.storyPreviewModal{background:#fffdf8;border:1px solid rgba(255,143,190,.48);border-radius:24px;box-shadow:0 28px 80px #26334d3d;max-height:min(760px,92vh);max-width:760px;overflow:auto;padding:24px;width:min(760px,100%)}.previewPersonalizationGrid{display:grid;gap:12px;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));margin:18px 0}.previewStoryText{background:#f7fbff;border:1px solid rgba(59,150,255,.22);border-radius:18px;margin:16px 0;padding:16px}.generatedStoryGrid,.adminStoryList{display:grid;gap:12px}.generatedStoryCard,.adminStoryRow,.adminStoryEditor,.adminAnalytics,.adminStoryManager{background:#ffffffc2;border:1px solid rgba(139,124,246,.16);border-radius:18px;padding:16px}.adminStoryManager,.adminAnalytics{margin-top:20px}.adminStoryRow{align-items:start;display:grid;gap:14px;grid-template-columns:78px 1fr auto}.adminStoryRow h4,.generatedStoryCard h3{margin:0 0 6px}.adminStoryRow p,.generatedStoryCard p{margin:0 0 8px}.storyStatus{display:block;margin:8px 0;color:#4f466b;font-weight:800}.storyStatus-generating_voice,.storyStatus-mixing_audio{color:#315bb8}.storyStatus-failed{color:#a33458}.storyActionRow audio,.storySoundtrack{width:min(100%,420px)}.storySoundtrack{display:grid;gap:6px}.storySoundtrack strong,.soundtrackResult strong{align-items:center;display:flex;gap:7px}.deleteStoryButton{color:#a33458;margin-left:auto}.deleteStoryButton:hover{background:#a3345814;color:#7a1f3a}.storySoundtrack svg,.soundtrackResult svg{height:18px;width:18px}.audioProcessingPanel{align-items:start;background:#f4f9ff;border:1px solid rgba(78,151,255,.42);border-radius:12px;display:grid;gap:10px;grid-template-columns:auto minmax(0,1fr);margin-top:10px;padding:12px;width:100%}.audioProcessingPanel>svg{color:#5266d9;height:22px;margin-top:1px;width:22px}.audioProcessingPanel>div{display:grid;gap:6px}.audioProcessingPanel span{align-items:center;color:#5c5576;display:flex;font-size:.86rem;gap:5px}.audioProcessingPanel span svg{height:15px;width:15px}.audioProcessingPanel progress{accent-color:#5266d9;height:8px;width:100%}.audioProcessingPanel.completed{background:#f4fbf7;border-color:#3ba66966}.audioProcessingPanel.failed{background:#fff4f8;border-color:#dc4c806b}.processingSpinner{animation:audio-spin .9s linear infinite}.soundtrackResult{border-top:1px solid rgba(115,87,199,.16);display:grid;gap:7px;margin-top:8px;padding-top:10px;width:100%}@keyframes audio-spin{to{transform:rotate(360deg)}}.validationNotes{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.validationNotes span{background:#fff2f8;border:1px solid rgba(255,143,190,.5);border-radius:999px;color:#6d2850;font-size:.82rem;font-weight:800;padding:5px 9px}.coverAuditSummary{display:grid;gap:10px;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));margin:14px 0}.coverAuditSummary span,.coverAuditRow{background:#ffffffb8;border:1px solid rgba(92,181,255,.28);border-radius:14px}.coverAuditSummary span{color:#4f436f;font-weight:800;padding:10px 12px}.coverAuditSummary strong{color:#172659;display:block;font-size:1.1rem}.coverAuditGrid{display:grid;gap:10px}.coverAuditRow{align-items:center;display:grid;gap:12px;grid-template-columns:58px minmax(0,1fr) auto auto;padding:10px}.coverAuditRow h4,.coverAuditRow p{margin:0}.coverAuditRow p,.coverAuditRow small{color:#6b6286}.coverAuditStatus{border-radius:999px;font-size:.78rem;font-weight:900;padding:7px 10px;white-space:nowrap}.coverAuditStatus.matched{background:#effaf5;border:1px solid rgba(60,166,120,.34);color:#185a42}.coverAuditStatus.missing,.coverAuditStatus.broken,.coverAuditStatus.title-review{background:#fff2f8;border:1px solid rgba(255,143,190,.5);color:#6d2850}.adminStoryEditor{display:grid;gap:12px;grid-template-columns:repeat(2,1fr);margin:12px 0}.adminStoryEditor label:nth-child(2){grid-column:1 / -1}.analyticsGrid{display:grid;gap:10px;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));margin:14px 0}.analyticsGrid span{background:#f7fbff;border:1px solid rgba(59,150,255,.2);border-radius:14px;display:grid;gap:4px;padding:12px}@media(max-width:780px){.storyLibraryFilters,.homepageSupportGrid{grid-template-columns:1fr}.storyCard{grid-template-rows:auto auto}.storyCover{aspect-ratio:3 / 4}.storyCard.compactOriginalStoryCard{grid-template-columns:104px minmax(0,1fr);grid-template-rows:1fr}.compactOriginalStoryCard .storyCover{aspect-ratio:auto;min-height:190px}.storyCardBody{display:grid;min-height:0;overflow:visible}.heroCtas button,.storyActionRow button{width:100%}.adminStoryRow,.adminStoryEditor,.coverAuditRow{grid-template-columns:1fr}}main{background:radial-gradient(circle at 8% 8%,rgba(244,201,93,.26),transparent 20rem),radial-gradient(circle at 92% 12%,rgba(191,232,247,.45),transparent 22rem),linear-gradient(180deg,#fff9ee,#f7f0ff 45%,#eef8ff);overflow:hidden;padding:28px}h1,h2,h3,.storyChoiceCard strong,.coverCopy h3{color:#26334d;font-family:Nunito,ui-sans-serif,system-ui,sans-serif;letter-spacing:0}h1{font-size:clamp(3rem,7vw,4.85rem);line-height:.95}h2{font-size:clamp(1.8rem,3.4vw,2.55rem);line-height:1.05}h3{font-size:1.15rem}button{align-items:center;background:linear-gradient(135deg,#7357c7,#493680);border-radius:999px;box-shadow:0 12px 28px #4936802e;display:inline-flex;font-weight:800;gap:8px;justify-content:center;min-height:48px;transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease}button:hover:not(:disabled){box-shadow:0 16px 34px #49368038;transform:translateY(-2px)}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid rgba(244,201,93,.92);outline-offset:3px}input[type=text],input:not([type]),select,textarea{border:2px solid rgba(115,87,199,.18);border-radius:18px;color:#3e4050}input[type=text],input:not([type]),select{min-height:48px}.panel{background:#ffffffd1;border:1px solid rgba(115,87,199,.14);border-radius:24px;box-shadow:0 18px 55px #49368014}.eyebrow{color:#7357c7;font-size:.9rem}.quiet{color:#5a5d70;font-size:1rem}.storybookHero,.topToolMenu,.storyPath,.adventureSteps,.storyChoiceSection,.templateCarouselSection,.familyMagicGrid,.moodSelector,.topStoryChoices,.ideaGenerator,.createLayout,.voiceStudio,.variableReference,.publishedInfoCard,.admin,.grid{max-width:1240px}.storybookHero{align-items:center;background:linear-gradient(120deg,#fff9eef5,#f7f0ffbf),radial-gradient(circle at 76% 22%,rgba(244,201,93,.35),transparent 15rem);border:1px solid rgba(115,87,199,.16);border-radius:36px;box-shadow:0 28px 90px #49368029;display:grid;gap:28px;grid-template-columns:minmax(0,.88fr) minmax(420px,1.12fr);margin:0 auto 24px;min-height:560px;overflow:hidden;padding:42px;position:relative}.storybookHero,.topToolMenu,.heroCopy,.heroArt,.familyMagicGrid,.topStoryChoices,.grid,.panel{min-width:0}.storybookHero:before,.storybookHero:after{content:"";position:absolute;pointer-events:none}.topToolMenu{align-items:center;background:#ffffffe0;border:1px solid rgba(115,87,199,.14);border-radius:22px;box-shadow:0 18px 55px #49368014;display:grid;gap:16px;grid-template-columns:minmax(210px,.65fr) minmax(0,1.35fr);margin:0 auto 18px;padding:16px 18px}.topToolMenu h2{font-size:1.1rem;margin-bottom:0}.topToolActions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}.topToolActions button{background:#fff;border:1px solid rgba(115,87,199,.18);box-shadow:none;color:#493680;min-height:38px;padding:0 12px}.topToolActions button.selected{background:#1e5c59;color:#fff}.toolPanel{display:none}.toolGrid:not(.activeToolGrid){display:none}.toolPanel.activeToolPanel,.toolGrid.activeToolGrid{display:grid}.storybookHero:before{background-image:radial-gradient(circle,rgba(244,201,93,.95) 0 2px,transparent 3px),radial-gradient(circle,rgba(247,184,199,.85) 0 2px,transparent 3px);background-size:68px 68px,92px 92px;inset:0;opacity:.65}.storybookHero:after{background:linear-gradient(135deg,#cdeedb73,#bfe8f759);border-radius:999px;bottom:-110px;height:240px;left:9%;width:520px}.heroCopy,.heroArt{position:relative;z-index:1}.heroSubtitle{color:#3e4050;font-size:clamp(1.15rem,2vw,1.35rem);line-height:1.55;margin:18px 0 0;max-width:560px}.secondaryStoryButton,.softButton,.previewButton{background:#fff;border:2px solid rgba(115,87,199,.18);color:#493680}.trustLine{color:#5c5279;font-weight:800;margin:18px 0 0}.heroArt{min-height:460px}.heroArt img{border-radius:32px;box-shadow:0 24px 70px #26334d3d;height:100%;max-width:100%;object-fit:cover;width:100%}.floatingCard{background:#ffffffe0;border:1px solid rgba(255,255,255,.8);border-radius:999px;box-shadow:0 12px 32px #26334d2e;color:#493680;font-weight:900;padding:10px 14px;position:absolute}.momCard{right:12%;top:8%}.grandpaCard{left:9%;top:18%}.petCard{bottom:10%;right:14%}.sparkle{animation:floaty 5s ease-in-out infinite;color:#f4c95d;font-size:2rem;font-weight:900;position:absolute}.sparkleOne{left:12%;top:10%}.sparkleTwo{right:8%;top:36%}.sparkleThree{bottom:18%;left:20%}.storyPath{align-items:center;display:grid;gap:10px;grid-template-columns:repeat(6,minmax(0,1fr));margin:0 auto 24px;position:relative}.storyPath:before{background:linear-gradient(90deg,#f4c95d,#f7b8c7,#bfe8f7);border-radius:999px;content:"";height:6px;left:7%;position:absolute;right:7%;top:25px}.storyPath article{align-items:center;display:grid;gap:8px;justify-items:center;position:relative;z-index:1}.storyPath span,.adventureStepGrid span,.choiceIcon,.avatarBubble,.moodCard span{align-items:center;background:#fff;border:3px solid #f4c95d;border-radius:999px;color:#7357c7;display:inline-flex;justify-content:center}.storyPath span{height:52px;width:52px}.storyPath .current span{background:#7357c7;border-color:#fff;color:#fff;transform:scale(1.08)}.storyPath p{color:#493680;font-size:.95rem;font-weight:900;margin:0}.sectionIntro{margin:0 auto 18px;max-width:1240px}.inlineIntro{align-items:end;display:flex;justify-content:space-between;gap:16px}.adventureSteps,.storyChoiceSection,.templateCarouselSection{margin:0 auto 24px}.adventureStepGrid{display:grid;gap:16px;grid-template-columns:repeat(4,minmax(0,1fr));margin:0 auto;max-width:1240px}.adventureStepGrid article{background:#ffffffc7;border:1px solid rgba(115,87,199,.12);border-radius:26px;box-shadow:0 18px 45px #49368014;padding:20px;position:relative}.adventureStepGrid article:after{color:#f7b8c7;content:"*";font-size:2rem;position:absolute;right:18px;top:12px}.adventureStepGrid span,.choiceIcon,.avatarBubble,.moodCard span{height:58px;width:58px}.adventureStepGrid p,.storyChoiceCard small,.coverCopy p,.narratorCard p,.moodCard small,.publishedInfoCard p{color:#5a5d70;line-height:1.45}.storyChoiceGrid{display:grid;gap:16px;grid-template-columns:repeat(4,minmax(0,1fr));margin:0 auto;max-width:1240px}.storyChoiceCard{align-items:flex-start;background:#fff;border:2px solid transparent;border-radius:28px;box-shadow:0 18px 45px #4936801a;color:#3e4050;display:grid;gap:10px;min-height:260px;padding:18px;text-align:left}.storyChoiceCard:disabled{background:#ffffffb8;color:#6b637e}.storyChoiceCard.selected{border-color:#7357c7;box-shadow:0 0 0 5px #f4c95d6b,0 20px 50px #49368024}.choiceBadge{align-self:start;background:#fff2bf;border-radius:999px;color:#493680;font-size:.78rem;font-weight:900;padding:6px 10px}.storyChoiceCard strong{font-size:1.32rem}.storyChoiceCard em{color:#7357c7;font-style:normal;font-weight:900;margin-top:auto}.storyChoiceCard.violet .choiceIcon,.coverCard.moon .coverArt{background:#f7f0ff}.storyChoiceCard.gold .choiceIcon,.coverCard.candle .coverArt{background:#fff2bf}.storyChoiceCard.mint .choiceIcon,.coverCard.letters .coverArt{background:#cdeedb}.storyChoiceCard.rose .choiceIcon,.coverCard.heart .coverArt{background:#fde4eb}.storyChoiceCard.sky .choiceIcon,.coverCard.stars .coverArt{background:#dff5fc}.storyChoiceCard.peach .choiceIcon,.coverCard.kitchen .coverArt{background:#ffe4d6}.storyChoiceCard.navy .choiceIcon,.coverCard.bear .coverArt{background:#e7ecff}.templateCarousel{display:grid;gap:16px;grid-auto-columns:minmax(245px,285px);grid-auto-flow:column;margin:0 auto;max-width:1240px;overflow-x:auto;padding:4px 4px 18px;scroll-snap-type:x mandatory}.coverCard{background:#fff;border:1px solid rgba(115,87,199,.13);border-radius:28px;box-shadow:0 16px 45px #4936801a;display:grid;gap:12px;min-height:390px;padding:14px;position:relative;scroll-snap-align:start}.favoriteButton{background:#fff;color:#d65f85;min-height:42px;padding:0;position:absolute;right:22px;top:22px;width:42px;z-index:1}.coverArt{align-items:center;background:radial-gradient(circle at 70% 20%,rgba(244,201,93,.62),transparent 4rem),linear-gradient(135deg,#f7f0ff,#bfe8f7);border-radius:22px;color:#493680;display:flex;font-family:Nunito,sans-serif;font-size:4.7rem;font-weight:900;justify-content:center;min-height:170px}.coverCopy h3{font-size:1.35rem}.coverCopy small{background:#f7f0ff;border-radius:999px;color:#493680;display:inline-flex;font-weight:800;margin:4px 4px 0 0;padding:6px 9px}.coverActions,.miniActions{display:grid;gap:8px}.familyMagicGrid{display:grid;gap:18px;grid-template-columns:minmax(0,1.15fr) minmax(360px,.85fr);margin:0 auto 24px}.characterGrid{display:grid;gap:12px;grid-template-columns:repeat(3,minmax(0,1fr))}.characterCard,.moodCard{background:#fff;border:2px solid rgba(115,87,199,.12);border-radius:24px;color:#3e4050;display:grid;gap:8px;justify-items:start;min-height:150px;padding:14px;text-align:left}.characterCard strong,.moodCard strong{color:#26334d;font-family:Nunito,sans-serif;font-size:1.1rem}.characterCard.pet .avatarBubble{animation:petBounce 2.6s ease-in-out infinite}.narratorRail{display:grid;gap:12px;grid-auto-columns:minmax(220px,1fr);max-width:100%}.narratorCard{background:#fff;border:1px solid rgba(115,87,199,.14);border-radius:24px;box-shadow:0 12px 34px #49368014;display:grid;gap:8px;padding:16px}.narratorCard small{background:#cdeedb;border-radius:999px;color:#275143;font-weight:900;justify-self:start;padding:6px 10px}.moodSelector{margin:0 auto 24px}.moodGrid{display:grid;gap:12px;grid-template-columns:repeat(4,minmax(0,1fr))}.topStoryChoices{grid-template-columns:minmax(0,1.25fr) minmax(360px,.95fr)}.prewrittenLibrary,.publicDomainTop,.ideaGenerator,.voiceStudio,.variableReference{border-radius:28px}.prewrittenGrid,.libraryList{scrollbar-color:#7357c7 #f7f0ff}.prewrittenCard,.libraryItem,.templateButton{border-radius:20px}.prewrittenCard.selected,.libraryItem.selected,.templateButton.selected{background:#f7f0ff;border-color:#7357c7;box-shadow:inset 5px 0 #f4c95d}.modeButton{border-radius:20px;min-height:94px}.modeButton.selected{background:#fff8df;border-color:#7357c7;box-shadow:inset 5px 0 #f4c95d}.voiceStudio .stepBox,.workflowPanel .stepBox,.recorder{border-radius:24px}.recorderControls button:has(svg){border-radius:999px}.recorderControls button:not(:disabled):first-child{animation:micPulse 1.6s ease-in-out infinite}.publishedInfoCard{align-items:center;background:#ffffffb8;border:1px solid rgba(115,87,199,.14);border-radius:28px;box-shadow:0 16px 45px #49368014;display:flex;gap:18px;justify-content:space-between;margin:0 auto 18px;padding:22px}.compactWizard{margin:0 auto 22px;max-width:1240px}.advancedWorkflow,.compactOpsGrid{margin:0 auto 18px;max-width:1240px}.advancedWorkflow{background:#ffffffad;border:1px solid rgba(115,87,199,.14);border-radius:22px;box-shadow:0 12px 32px #4936800f;padding:8px}.compactOpsGrid{display:grid;gap:12px;grid-template-columns:repeat(2,minmax(0,1fr))}.advancedWorkflow>summary,.compactDisclosure>summary{align-items:center;cursor:pointer;display:flex;gap:12px;justify-content:space-between;list-style:none;min-height:48px}.advancedWorkflow>summary{padding:8px 12px}.compactDisclosure>summary{margin:-6px -4px 8px;padding:6px 4px}.advancedWorkflow>summary::-webkit-details-marker,.compactDisclosure>summary::-webkit-details-marker{display:none}.advancedWorkflow>summary span,.compactDisclosure>summary span{color:#26334d;font-family:Nunito,sans-serif;font-size:1.05rem;font-weight:800}.advancedWorkflow>summary small,.compactDisclosure>summary small{color:#6a607a;font-weight:800;text-align:right}.advancedWorkflow>summary:after,.compactDisclosure>summary:after{background:#f7f0ff;border-radius:999px;color:#7357c7;content:"Open";flex:0 0 auto;font-size:.82rem;font-weight:900;padding:6px 10px}.advancedWorkflow[open]>summary:after,.compactDisclosure[open]>summary:after{content:"Close"}.advancedWorkflow .createLayout{margin-bottom:0}.compactDisclosure:not([open]){padding-bottom:10px}.quickStepGrid{align-items:start;display:grid;gap:10px;grid-template-columns:repeat(3,minmax(0,1fr))}.quickStep{background:#fff;border:1px solid rgba(115,87,199,.14);border-radius:18px;display:grid;gap:9px;align-content:start;padding:13px}.quickStep h3{font-size:1rem;margin-bottom:0}.quickStep label{color:#40504a;display:grid;font-size:.86rem;font-weight:800;gap:4px}.quickStep input:not([type]),.quickStep input[type=text],.quickStep select{min-height:40px;padding:8px 11px}.quickStep textarea{min-height:76px;resize:vertical}.sourceSetupNote{background:#fff9ee;border:1px solid rgba(255,206,81,.7);border-radius:12px;color:#5f5877;display:grid;gap:4px;line-height:1.35;padding:10px}.sourceSetupNote strong{color:#24335f}.sourceSetupNote p{margin:0}.quickChecks{display:grid;gap:8px;grid-template-columns:repeat(2,minmax(0,1fr))}.compactCheck{align-items:center;background:#fff9ee;border:1px solid rgba(244,201,93,.55);border-radius:999px;min-height:42px;padding:8px 10px}.compactList{max-height:360px}.fieldHelp{color:#6a607a;font-size:.82rem;line-height:1.32;margin:0}.characterChipGrid{display:flex;flex-wrap:wrap;gap:6px}.characterChip{background:#fff9ee;border:1px solid rgba(244,201,93,.7);box-shadow:none;color:#493680;min-height:34px;padding:0 9px}.selectedCharacterPills{display:flex;flex-wrap:wrap;gap:6px}.selectedCharacterPill{align-items:center;background:#fff;border:1px solid rgba(115,87,199,.18);border-radius:999px;display:inline-flex;gap:2px;min-height:34px;overflow:hidden}.selectedCharacterPill.main{border-color:#f4c95dd9}.selectedCharacterPill button{background:transparent;box-shadow:none;color:#493680;min-height:34px;padding:0 9px}.quickTemplateList{display:grid;gap:7px;max-height:180px;overflow:auto;padding-right:4px}.quickTemplateList .prewrittenCard,.quickTemplateList .libraryItem{min-height:64px;padding:8px}.templateNeeds{background:#fff9ee;border:1px solid rgba(255,218,86,.75);border-radius:12px;display:flex;flex-wrap:wrap;gap:8px;padding:9px}.templateNeeds strong{color:#24335f;display:block;margin:0}.templateNeeds p{color:#5b5375;line-height:1.35;margin:0}.neededChipRow{display:flex;flex-wrap:wrap;gap:5px}.neededChipRow span{background:#fff;border:1px solid rgba(255,147,190,.52);border-radius:999px;color:#493680;font-size:.78rem;font-weight:850;padding:3px 8px}.quickNameGrid{display:grid;gap:8px;grid-template-columns:repeat(3,minmax(0,1fr))}.quickNameGrid.twoColumn{grid-template-columns:minmax(0,1fr) minmax(135px,.6fr)}.selectedCharacterCard,.savedVoiceOption,.voiceAssignmentRow{align-items:center;background:#fff;border:1px solid rgba(115,87,199,.14);border-radius:18px;display:grid;gap:10px;grid-template-columns:auto minmax(0,1fr) auto auto;padding:10px}.selectedCharacterCard.main{border-color:#7357c7;box-shadow:inset 4px 0 #f4c95d}.selectedCharacterCard strong,.savedVoiceOption strong{display:block}.selectedCharacterCard small,.savedVoiceOption small{color:#6a607a}.characterEditor,.characterVoicePanel,.validationList{background:#fff;border:1px solid rgba(115,87,199,.14);border-radius:22px;display:grid;gap:14px;margin-top:14px;padding:16px}.savedVoicePicker,.savedVoiceSelectGroup,.customAudioGrid{display:grid;gap:10px}.savedVoiceSelectGroup select[multiple]{min-height:82px}.appStorytellerSummary{align-items:center;background:linear-gradient(135deg,#fff8d8,#f2f8ff);border:1px solid rgba(255,147,190,.42);border-radius:12px;display:grid;gap:8px;grid-template-columns:minmax(0,1fr);padding:10px}.appStorytellerSummary strong{color:#493680;display:block;margin-bottom:2px}.appStorytellerSummary p{color:#6a607a;margin:0}.appStorytellerSummary span,.savedVoiceSummary span{color:#6a607a;font-size:.82rem;line-height:1.25}.appVoiceChooser label{margin:0}.appVoicePreviewRow{display:flex;align-items:center;gap:10px;min-width:0}.appVoicePreviewRow button{flex:0 0 auto}.appVoicePreviewRow audio{width:min(100%,310px);min-width:0;height:38px}@media(max-width:560px){.appVoicePreviewRow{align-items:stretch;flex-direction:column}.appVoicePreviewRow audio{width:100%}}.savedVoiceSummary{background:#fff;border:1px solid rgba(115,87,199,.14);border-radius:12px;display:grid;gap:4px;padding:9px}.familiarVoicePrompt{background:linear-gradient(135deg,#fff6cf,#fff2fa 58%,#eef8ff);border:1px solid rgba(255,147,190,.5);border-radius:14px;display:flex;flex-wrap:wrap;gap:8px;justify-content:space-between;padding:10px}.familiarVoicePrompt strong{color:#24335f;display:block;font-size:.92rem;margin:0}.familiarVoicePrompt p{color:#5b5375;line-height:1.4;margin:0}.familyVoiceFirstCallout{align-items:center;background:#fff8df;border:1px solid rgba(255,147,190,.55);border-radius:14px;display:flex;gap:12px;justify-content:space-between;padding:12px}.familyVoiceFirstCallout strong{color:#24335f;display:block;margin-bottom:3px}.familyVoiceFirstCallout p{color:#5b5375;line-height:1.4;margin:0}.voiceSetupChoices{border:0;display:grid;gap:10px;grid-template-columns:repeat(2,minmax(0,1fr));margin:0;padding:0}.voiceSetupChoices legend{color:#24335f;font-weight:800;margin-bottom:8px}.voiceSetupChoices>button{align-items:center;background:#fff;border:2px solid rgba(115,87,199,.2);color:#24335f;display:flex;gap:10px;justify-content:flex-start;min-height:76px;padding:12px;text-align:left}.voiceSetupChoices>button.selected{background:#fff8df;border-color:#685cff;box-shadow:0 0 0 3px #685cff1f}.voiceSetupChoices span,.voiceSetupChoices small,.familyCloneNotice span,.savedFamilyVoiceRow span,.savedFamilyVoiceRow small{display:block}.voiceSetupChoices small,.familyCloneNotice span,.savedFamilyVoiceRow small{color:#655c77;font-weight:500;margin-top:3px}.familyCloneNotice{background:#eef8ff;border:1px solid rgba(76,126,255,.28);border-radius:12px;display:grid;gap:3px;padding:11px}.familyVoiceLibrary{display:grid;gap:8px;margin-top:8px}.savedFamilyVoiceRow{align-items:center;background:#fff;border:1px solid rgba(115,87,199,.2);border-radius:12px;display:grid;gap:8px;grid-template-columns:minmax(130px,1fr) auto auto auto;padding:9px}.studioChoiceDivider{align-items:center;color:#6a607a;display:flex;font-size:.78rem;font-weight:800;gap:8px;text-transform:uppercase}.studioChoiceDivider:before,.studioChoiceDivider:after{background:#7357c72e;content:"";flex:1;height:1px}.familiarVoiceActions,.recordingControls{display:flex;flex-wrap:wrap;gap:6px}.recordVoiceButton,.chooseVoiceButton{align-items:center;border-radius:10px;display:inline-flex;gap:6px;min-height:36px;padding:0 10px}.recordVoiceButton{background:#24335f;border:1px solid #24335f;color:#fff}.recordVoiceButton:hover:not(:disabled){background:#4b4fc9;border-color:#4b4fc9}.chooseVoiceButton{background:#ffffffd1;border:1px solid rgba(115,87,199,.22);box-shadow:none;color:#493680}.selectedVoiceCard,.voiceReadyCard{align-items:center;background:#fff;border:1px solid rgba(255,147,190,.55);border-radius:14px;box-shadow:inset 3px 0 #ffda56,0 8px 18px #4c7eff14;display:grid;gap:8px;grid-template-columns:auto minmax(0,1fr) auto auto;padding:9px}.selectedVoiceCard p{color:#5b5375;margin:2px 0 0}.compactSettingsGrid{display:grid;gap:8px;grid-template-columns:repeat(3,minmax(0,1fr))}.selectedVoiceCard small,.voiceReadyCard small{color:#6a607a;display:block}.inlineVoiceRecorder{background:#fbf8ff;border:1px solid rgba(115,87,199,.2);border-radius:20px;box-shadow:0 18px 42px #4c7eff1f;display:grid;gap:14px;padding:14px}.inlineRecorderHeader{align-items:center;display:flex;gap:12px;justify-content:space-between}.inlineRecorderHeader h4{color:#24335f;font-size:1.05rem;margin:3px 0 0}.miniStep{color:#7357c7;font-size:.76rem;font-weight:900;letter-spacing:.06em;text-transform:uppercase}.recorderStep{display:grid;gap:12px}.recorderIdentity{display:grid;gap:8px}.roleChoiceGrid{display:flex;flex-wrap:wrap;gap:8px}.roleChoiceGrid button{background:#fff;border:1px solid rgba(255,147,190,.6);border-radius:999px;box-shadow:none;color:#493680;min-height:40px;padding:0 12px}.roleChoiceGrid button.selected{background:#e2f4ff;border-color:#6f7cff;box-shadow:inset 0 -3px #ffda56;color:#24335f}.largeMicButton{align-items:center;background:linear-gradient(135deg,#ff93be,#6f7cff);border:0;border-radius:999px;color:#fff;display:inline-flex;height:82px;justify-content:center;justify-self:center;width:82px}.largeMicButton.recording{animation:pulseMic 1.2s ease-in-out infinite;box-shadow:0 0 0 8px #ff93be2e}.recordingPassage{background:#fff;border:1px dashed rgba(115,87,199,.35);border-radius:16px;color:#24335f;font-weight:700;line-height:1.45;margin:0;padding:13px}.recordingTimer{color:#493680;font-weight:800;margin:0}.micActionLabel{color:#493680;font-weight:800;margin:-4px 0 0;text-align:center}.recordingReview{display:grid;gap:6px}.inlineVoiceRecorder audio{width:100%}.voiceReadyCard audio{min-width:180px;width:100%}.compactStudioStep.recorderOpen>label,.compactStudioStep.recorderOpen>.studioChoiceDivider,.compactStudioStep.recorderOpen>.appStorytellerSummary,.compactStudioStep.recorderOpen>.savedVoiceSelectGroup,.compactStudioStep.recorderOpen>.selectedVoiceCard,.compactStudioStep.recorderOpen>.savedVoiceSummary{display:none}@keyframes pulseMic{0%,to{transform:scale(1)}50%{transform:scale(1.05)}}.voiceAssignmentGrid{display:grid;gap:10px}.voiceAssignmentRow{grid-template-columns:minmax(120px,1fr) minmax(170px,1.2fr) auto minmax(130px,.9fr)}.languageWarning,.validationList{background:#fff8df;border-color:#f4c95dcc}.quickCreateBar{align-items:center;background:#fffafd;border:1px solid rgba(255,147,190,.32);border-radius:16px;display:flex;gap:12px;justify-content:space-between;margin-top:12px;padding:12px}.quickCreateBar strong{color:#24335f;display:block;font-size:1rem;margin-bottom:2px}.quickCreateBar button{min-width:172px}.quickStep .quickCreateBar{align-items:stretch;flex-direction:column;margin-top:2px;padding:10px}.quickStep .quickCreateBar button{min-width:0;width:100%}.quickCreateBar .createIssue{color:#8c3262;font-weight:700}.quickCreateBar button.needsAction{background:linear-gradient(135deg,#91cfff,#b2b7ff);box-shadow:none;opacity:.88}.quickCreateBar button.needsAction:hover,.quickCreateBar button.needsAction:focus-visible{opacity:1}.quickIdeaEditor{background:#f7fbff;border:1px solid rgba(145,207,255,.72);border-radius:14px;display:grid;gap:8px;padding:10px}.quickIdeaEditor>div:first-child{display:grid;gap:2px}.quickIdeaEditor>div:first-child span,.quickIdeaEditor button small{color:#6a607a;font-size:.82rem}.quickIdeaEditor>button{background:#fff;border:1px solid rgba(255,147,190,.42);border-radius:10px;box-shadow:none;color:#24335f;display:grid;gap:4px;min-height:56px;padding:9px 10px;text-align:left}.quickIdeaEditor>button.selected{background:#fff8d8;border-color:#ffca43;box-shadow:inset 0 -3px #91cfff}.quickResult{margin-top:16px}.toolsMenu,.toolsMenu .topStoryChoices,.toolsMenu .ideaGenerator{margin-top:0}.languageWarning{border:1px solid rgba(244,201,93,.8);border-radius:16px;display:grid;gap:10px;padding:12px}.languageWarning p,.validationList p{color:#6c3f12;margin:0}.customAudioGrid{background:#fbfcfb;border:1px solid rgba(115,87,199,.1);border-radius:18px;padding:12px}.catalogItem{flex-wrap:wrap;min-width:0}.catalogItem span{white-space:normal}.admin{background:#ffffffb8}.admin .panelHeader h2:after{content:" > Book Rights > Feature Controls";color:#7357c7;font-family:Nunito,sans-serif;font-size:.95rem;font-weight:800}.warning{background:#fff9ee;border-color:#f4c95db3}.statusPill,.notice,.workflowMap{display:none}@keyframes floaty{0%,to{transform:translateY(0)}50%{transform:translateY(-12px)}}@keyframes petBounce{0%,to{transform:translateY(0)}50%{transform:translateY(-4px)}}@keyframes micPulse{0%,to{box-shadow:0 0 #7357c740}50%{box-shadow:0 0 0 8px #7357c700}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.001ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:.001ms!important}}@media(max-width:980px){main{padding:20px}.storybookHero,.familyMagicGrid,.topStoryChoices,.quickStepGrid,.compactOpsGrid{grid-template-columns:1fr}.storybookHero{min-height:0;padding:24px}.heroArt{min-height:300px}.floatingCard{display:none}.storyPath,.adventureStepGrid,.storyChoiceGrid,.moodGrid,.quickNameGrid,.quickNameGrid.twoColumn,.voiceAssignmentRow,.selectedCharacterCard,.savedVoiceOption,.selectedVoiceCard,.voiceReadyCard{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:720px){main{padding:16px}.storybookHero{border-radius:26px}.storybookHero:after{display:none}.publishedInfoCard,.inlineIntro{align-items:stretch;flex-direction:column}.storyPath,.adventureStepGrid,.storyChoiceGrid,.characterGrid,.moodGrid,.voiceAssignmentRow,.selectedCharacterCard,.savedVoiceOption,.selectedVoiceCard,.voiceReadyCard{grid-template-columns:1fr}.familiarVoiceActions,.recordingControls,.inlineRecorderHeader,.familyVoiceFirstCallout{align-items:stretch;flex-direction:column}.voiceSetupChoices,.savedFamilyVoiceRow{grid-template-columns:1fr}.recordVoiceButton,.chooseVoiceButton{justify-content:center;min-height:44px;width:100%}.storyPath:before{height:auto;inset:8% auto 12% 25px;width:6px}.storyPath article{grid-template-columns:52px 1fr;justify-items:start}.templateCarousel,.narratorRail{display:grid;grid-auto-columns:minmax(82vw,1fr);grid-auto-flow:column;max-width:100%;overflow-x:auto}}body{margin:0}main{min-height:100vh;padding:24px}button,input,select,textarea{font:inherit}button{border:0;border-radius:8px;background:#205c58;color:#fff;cursor:pointer;min-height:40px;padding:0 14px}button:disabled{cursor:not-allowed;opacity:.55}input[type=text],input:not([type]),select,textarea{width:100%;border:1px solid #c7d0cb;border-radius:8px;background:#fff}input[type=text],input:not([type]),select{min-height:42px;padding:0 12px}textarea{line-height:1.45;min-height:112px;padding:10px 12px;resize:vertical}.topbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 auto 18px;max-width:1180px}.eyebrow{color:#5e6a66;font-size:.82rem;font-weight:700;letter-spacing:0;margin:0 0 6px;text-transform:uppercase}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(1.9rem,3vw,3.3rem);line-height:1.02;margin-bottom:0}h2{font-size:1.2rem;margin-bottom:0}h3{font-size:1rem;margin-bottom:4px}.statusPill,.notice,.mode,.flag,.catalogItem{display:flex;align-items:flex-start;gap:10px}.statusPill{align-items:center;background:#122c34;border-radius:999px;color:#fff;padding:10px 14px;white-space:nowrap}.notice{max-width:1180px;margin:0 auto 18px;background:#fff8df;border:1px solid #dfcc86;border-radius:8px;padding:14px}.notice p,.mode p,.catalogItem p,.quiet{color:#55615d;line-height:1.45;margin-bottom:0}.workflowMap{display:grid;gap:12px;grid-template-columns:repeat(4,minmax(0,1fr));margin:0 auto 18px;max-width:1180px}.workflowMap article{align-items:flex-start;background:#fff;border:1px solid #dce6e1;border-radius:8px;display:flex;gap:10px;min-height:112px;padding:14px}.workflowMap span{align-items:center;background:#205c58;border-radius:999px;color:#fff;display:inline-flex;flex:0 0 auto;font-weight:800;height:28px;justify-content:center;width:28px}.workflowMap h3,.variableCard h3{margin-bottom:3px}.workflowMap p,.variableCard p{color:#55615d;line-height:1.4;margin-bottom:0}.grid{display:grid;gap:18px;margin:0 auto 18px;max-width:1180px}.two{grid-template-columns:repeat(2,minmax(0,1fr))}.createLayout{grid-template-columns:320px minmax(0,1fr)}.topStoryChoices{display:grid;gap:18px;grid-template-columns:minmax(0,1.45fr) minmax(340px,.85fr);margin:0 auto 18px;max-width:1180px}.panel{background:#fff;border:1px solid #dde5e1;border-radius:8px;padding:18px}.panelHeader{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}.panelHeader span{color:#6a766f;font-size:.88rem;white-space:nowrap}.modeGrid,.catalogList,.flagGrid{display:grid;gap:10px}.modeButton{align-items:flex-start;background:#fff;border:1px solid #dbe5e1;color:#172126;display:flex;flex-direction:column;gap:4px;min-height:78px;padding:12px;text-align:left}.modeButton span{font-weight:800}.modeButton small{color:#596762;line-height:1.35}.modeButton.selected{background:#e7f2ee;border-color:#205c58;box-shadow:inset 4px 0 #205c58}.mode,.catalogItem{border:1px solid #e0e7e3;border-radius:8px;padding:12px}.mode svg{color:#21695d;flex:0 0 auto}.mode.disabled{background:#f3f4f2;color:#68726e}.mode.disabled svg{color:#8d6d38}.readAlong{border-top:1px solid #e0e7e3;margin-top:16px;padding-top:16px}.readAlong p{color:#4d5955;line-height:1.5}.workflowEmpty{align-items:flex-start;background:#f6f8f6;border:1px solid #dfe8e3;border-radius:8px;display:flex;flex-direction:column;gap:8px;padding:18px}.workflowEmpty.blocked{background:#f7f2ed;border-color:#e5c8a8}.readAlongWorkflow,.libraryWorkflow,.originalWorkflow,.familyWriterWorkflow{display:grid;gap:14px}.guideGrid{display:grid;gap:10px;grid-template-columns:repeat(2,minmax(0,1fr))}.guideCard{align-items:flex-start;background:#f7faf8;border:1px solid #dfe8e3;border-radius:8px;color:#40504a;display:flex;gap:10px;line-height:1.4;padding:10px}.guideCard svg{color:#205c58;flex:0 0 auto}.toolRow{display:flex;flex-wrap:wrap;gap:10px}.storyTextarea{min-height:220px}.templateGrid{display:grid;gap:10px;grid-template-columns:repeat(2,minmax(0,1fr))}.templateButton{align-items:flex-start;background:#fff;border:1px solid #dfe8e3;color:#172126;display:flex;flex-direction:column;gap:4px;min-height:74px;padding:10px 12px;text-align:left}.templateButton span{font-weight:800}.templateButton small{color:#596762;line-height:1.35}.templateButton.selected{background:#e7f2ee;border-color:#205c58;box-shadow:inset 4px 0 #205c58}.storyDraft{background:#fbfcfb;border:1px solid #dfe8e3;border-radius:8px;padding:14px}.storyDraft pre{color:#25312d;font-family:inherit;line-height:1.55;margin:0;white-space:pre-wrap}.stepStoryPreview{margin-top:14px;padding:12px;border:1px solid rgba(255,160,196,.7);border-radius:14px;background:#fffbffdb;box-shadow:0 12px 26px #22305e14}.stepStoryPreviewHeader{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:10px}.stepStoryPreviewHeader strong{color:#17295b}.stepStoryPreviewHeader p{margin:3px 0 0;color:#655a7f;font-size:.88rem}.stepStoryPreviewHeader a,.secondaryLinkButton{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:0 13px;border:1px solid rgba(255,160,196,.9);border-radius:10px;background:#fff;color:#4c35b7;font-weight:800;text-decoration:none;white-space:nowrap}.stepStoryPreviewHeader a:focus-visible,.secondaryLinkButton:focus-visible{outline:3px solid rgba(70,151,255,.55);outline-offset:2px}.stepStoryPreview article,.storyReadText{border:1px solid rgba(143,210,255,.75);border-radius:12px;background:linear-gradient(180deg,#fff,#fff9fd)}.stepStoryPreview h4{margin:0;padding:10px 12px 0;color:#17295b}.stepStoryPreview pre,.storyReadText pre{margin:0;padding:10px 12px 12px;max-height:210px;overflow:auto;white-space:pre-wrap;font-family:inherit;color:#2f2f48;line-height:1.55}.liveStoryPage{min-height:100vh;padding:32px clamp(16px,4vw,56px);background:radial-gradient(circle at 12% 10%,rgba(255,218,92,.28),transparent 24%),radial-gradient(circle at 88% 18%,rgba(255,172,208,.3),transparent 26%),linear-gradient(135deg,#fff7e8,#fff2fb 48%,#eaf7ff)}.liveStoryReader{max-width:860px;margin:0 auto}.liveStoryReader h1{max-width:680px;margin-bottom:6px}.storyReadText pre{max-height:none;font-size:1.05rem}.resultActions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;align-items:center}.resultActions a{display:inline-flex;min-height:38px;align-items:center;justify-content:center;padding:0 12px;border:1px solid rgba(255,160,196,.9);border-radius:10px;background:#fff;color:#4c35b7;font-weight:800;text-decoration:none}.twoCardWorkflow{align-items:start;grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr)}.storyCreationStep,.voiceSoundStep{min-height:0}.storyCreationStep h4{color:var(--color-ink, #24335f);font-size:.98rem;margin:0}.combinedStoryFields{display:grid;gap:12px;margin-top:12px;padding-top:12px;border-top:1px solid rgba(122,208,255,.34)}.approveStoryButton{width:100%;margin-top:10px;border:1px solid rgba(255,202,67,.85);background:linear-gradient(135deg,#ffda56,#91cfff);color:#17295b;box-shadow:0 12px 24px #4c7eff1f}.approveStoryButton.approved{background:linear-gradient(135deg,#eaf7ff,#fff7cf);border-color:#35a8ffa6}.voiceSoundStep.needsStoryApproval{box-shadow:inset 0 0 0 1px #ffca4373,var(--shadow-card, 0 10px 28px rgba(76, 126, 255, .08))}@media(max-width:980px){.twoCardWorkflow{grid-template-columns:1fr}}.libraryList{display:grid;gap:8px;max-height:420px;overflow:auto;padding-right:4px}.libraryItem{align-items:flex-start;background:#fff;border:1px solid #dfe8e3;color:#172126;display:flex;flex-direction:column;gap:4px;min-height:58px;padding:10px 12px;text-align:left}.libraryItem span{font-weight:800}.libraryItem small{color:#596762;line-height:1.35}.libraryItem em{color:#68766f;font-size:.82rem;font-style:normal;line-height:1.35}.libraryItem.selected{background:#e7f2ee;border-color:#205c58;box-shadow:inset 4px 0 #205c58}.libraryWorkflow .libraryList{align-content:start}.libraryWorkflow .libraryItem{flex:0 0 auto;height:auto;min-height:92px;overflow:visible}.featuredPublicDomain{background:linear-gradient(135deg,#fffaf0,#f4f8ff);border:1px solid #ead9ae;border-radius:18px;margin:18px 0;padding:16px}.featuredPublicDomainHeader{align-items:end;display:flex;gap:16px;justify-content:space-between;margin-bottom:14px}.featuredPublicDomainHeader h3{margin:2px 0 0}.featuredPublicDomainHeader>span{color:#655a7f;font-size:.84rem;font-weight:800}.publicDomainStoryGrid{display:grid;gap:14px;grid-template-columns:repeat(3,minmax(0,1fr))}.publicDomainStoryCard{background:#fff;border:1px solid #e4d7bf;border-radius:14px;display:grid;grid-template-columns:118px minmax(0,1fr);min-width:0;overflow:hidden}.publicDomainStoryCard>img{background:#fbf4df;height:100%;min-height:190px;object-fit:contain;object-position:center;width:100%}.publicDomainStoryCard>div{display:flex;flex-direction:column;min-width:0;padding:12px}.publicDomainStoryCard>div>span:first-child{color:#176b56;font-size:.66rem;font-weight:900;letter-spacing:.05em;text-transform:uppercase}.publicDomainStoryCard h3{color:var(--color-ink);font-size:1rem;line-height:1.15;margin:4px 0}.publicDomainStoryCard p{color:var(--color-muted);font-size:.78rem;line-height:1.35;margin:0 0 6px}.publicDomainStoryCard small{color:#5e5670;font-size:.72rem;margin-top:auto}.publicDomainStoryActions{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}.publicDomainStoryActions button{align-items:center;display:inline-flex;font-size:.72rem;gap:4px;min-height:34px;padding:6px 9px}.publicDomainStoryActions svg{height:14px;width:14px}.publicDomainStoryActions .awaitingAudio{color:#7d5878;font-size:.75rem;font-weight:800}.publicDomainBadge{color:#176b56;font-size:.72rem;font-weight:900;letter-spacing:.05em;text-transform:uppercase}.storyActionRow .awaitingAudio{color:#7d5878;font-size:.8rem;font-weight:800}@media(max-width:1100px){.publicDomainStoryGrid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:680px){.featuredPublicDomainHeader{align-items:flex-start;flex-direction:column;gap:4px}.publicDomainStoryGrid{grid-template-columns:1fr}.publicDomainStoryCard{grid-template-columns:104px minmax(0,1fr)}}.stepGrid{display:grid;gap:14px;grid-template-columns:repeat(2,minmax(0,1fr))}.stepBox,.recorder{border:1px solid #dfe8e3;border-radius:8px;display:grid;gap:12px;padding:14px}.stepBox label{color:#40504a;display:grid;font-size:.9rem;font-weight:700;gap:6px}.stepNumber{align-items:center;background:#205c58;border-radius:999px;color:#fff;display:inline-flex;font-size:.82rem;font-weight:800;height:28px;justify-content:center;width:28px}.checkboxRow{align-items:flex-start;display:flex!important;gap:10px!important}.checkboxRow input{accent-color:#205c58;flex:0 0 auto;height:20px;margin-top:2px;width:20px}.recorder{background:#fbfcfb}.recorder.locked{background:#f2f3f2}.recorder p{color:#55615d;line-height:1.45;margin-bottom:0}.recorderControls{display:flex;flex-wrap:wrap;gap:10px}.recorderControls button{align-items:center;display:inline-flex;gap:8px}.audioPreview{align-items:center;background:#f5fbf8;border:1px solid rgba(30,92,89,.16);border-radius:16px;display:flex;flex-wrap:wrap;gap:12px;padding:10px}.storyAudioMixer{background:#fff;border:1px solid rgba(86,103,217,.24);border-radius:10px;display:grid;flex:1 1 100%;gap:12px;padding:14px}.storyMixerHeader,.storyMixerHeader>div,.storyMixerActions,.storyMixTransport,.personalizationReview{background:#fff8df;border:1px solid rgba(255,147,190,.5);border-radius:14px;display:grid;gap:10px;padding:12px}.personalizationReview dl{display:grid;gap:8px;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));margin:0}.personalizationReview dl>div{background:#fff;border:1px solid rgba(115,87,199,.16);border-radius:10px;padding:8px}.personalizationReview dt{color:#655c77;font-size:.76rem;font-weight:800}.personalizationReview dd{color:#24335f;font-weight:800;margin:2px 0 0}.storyMixDownloads{align-items:center;display:flex;gap:9px}.storyMixerHeader{justify-content:space-between}.storyMixerHeader h4{font-size:1rem;margin:0}.storyMixerHeader svg,.storyMixerActions svg,.storyMixTransport svg{height:18px;width:18px}.storyMixerActions{justify-content:flex-end}.storyMixerHeader>span{color:#5c5576;font-size:.82rem;font-weight:800}.mixerMusicSelect{display:grid;gap:5px}.storyMixerLevels{display:grid;gap:14px;grid-template-columns:repeat(2,minmax(0,1fr))}.storyMixerLevels label{display:grid;gap:6px}.storyMixerLevels label>span{display:flex;justify-content:space-between}.storyMixerLevels output{color:#5b4acb;font-weight:900}.storyMixerLevels input[type=range]{accent-color:#6375ef;margin:0;width:100%}.storyMixTransport{border-top:1px solid rgba(86,103,217,.16);padding-top:12px}.storyMixTransport>span{color:#5c5576;font-variant-numeric:tabular-nums;font-weight:800}.storyMixTransport .iconButton{min-width:44px;padding-inline:11px}.storyMixDownloads{flex:1 1 100%;flex-wrap:wrap}.storyMixDownloads audio{display:none}.audioPreview audio{flex:1 1 260px;max-width:100%}.audioPreview a{color:#1e5c59;font-weight:900;text-decoration:none}@media(max-width:640px){.storyMixerLevels{grid-template-columns:1fr}.storyMixerHeader{align-items:flex-start;flex-direction:column}.storyMixTransport{flex-wrap:wrap}}.creativeTonieBanner,.creativeToniePage{width:min(1220px,calc(100% - 32px));margin:18px auto}.creativeTonieBanner{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(240px,.8fr);gap:18px 28px;padding:24px;border:1px solid #ffc6df;border-radius:8px;background:#fffdf9;box-shadow:0 14px 34px #302a5b1a}.creativeTonieBanner h2,.creativeTonieHero h1,.creativeToniePanel h2,.creativeToniePanel h3{color:#172a5b}.creativeTonieBanner h2{margin:4px 0 8px}.creativeTonieBanner p{margin:0;max-width:680px}.creativeTonieBanner ul{display:grid;grid-template-columns:1fr 1fr;align-content:center;gap:10px;margin:0;padding:0;list-style:none}.creativeTonieBanner li,.creativeToniePromise span{display:flex;align-items:center;gap:7px;color:#433b64;font-weight:700}.creativeTonieBanner svg,.creativeToniePromise svg{width:18px;color:#5f63e8}.creativeTonieBannerActions{display:flex;align-items:center;gap:10px}.creativeTonieBanner>small{align-self:center;color:#6b6680}.creativeToniePage{display:grid;gap:16px}.creativeTonieHero{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(260px,.7fr);gap:28px;padding:28px;border:1px solid #ffc4dc;border-radius:8px;background:radial-gradient(circle at 18px 18px,#ffd676 3px,transparent 3.5px) 0 0 / 62px 62px,#fffdf8;box-shadow:0 18px 44px #282d631f}.creativeTonieHero h1{max-width:760px;margin:8px 0 12px;font-size:clamp(2rem,4vw,3.4rem);line-height:1.05}.creativeTonieHero p{max-width:760px;color:#46405e;font-size:1.05rem}.creativeTonieHero small{display:block;margin-top:14px;color:#6b6680}.creativeTonieActions{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}.creativeToniePromise{display:grid;align-content:center;gap:14px;padding:20px;border:1px solid #b9dfff;border-radius:8px;background:#f2f9fff0}.creativeToniePromise>strong{color:#172a5b;font-size:1.2rem}.creativeTonieTabs{display:flex;gap:8px;overflow-x:auto;padding:4px 0}.creativeTonieTabs a{flex:0 0 auto;min-height:44px;padding:10px 15px;border:1px solid #f4bfd8;border-radius:8px;background:#fff;color:#503ca0;font-weight:800;text-decoration:none}.creativeToniePanel{padding:24px;border:1px solid #c7e7ff;border-radius:8px;background:#fff;box-shadow:0 12px 28px #2f376614}.creativeToniePanel>.secondaryLinkButton{min-height:44px}.creativeTonieSectionHeading{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:18px}.creativeTonieSectionHeading h2{margin:3px 0 0}.creativeTonieSectionHeading>span{padding:7px 11px;border:1px solid #ffd266;border-radius:999px;background:#fff8d9;color:#51466e;font-weight:800;white-space:nowrap}.creativeTonieEmpty{display:grid;justify-items:center;gap:8px;padding:30px;border:1px dashed #c4b9ea;border-radius:8px;text-align:center}.creativeTonieEmpty>svg,.creativeTonieProgress>svg,.creativeTonieSuccess>svg{width:42px;height:42px;color:#5c61e9}.creativeTonieSteps{display:grid;grid-template-columns:repeat(5,1fr);gap:6px;margin:0 0 20px;padding:0;list-style:none}.creativeTonieSteps li{display:flex;align-items:center;gap:7px;min-width:0;padding:8px;border-bottom:3px solid #e9e5f1;color:#777187;font-size:.84rem;font-weight:800}.creativeTonieSteps li span{display:grid;width:25px;height:25px;flex:0 0 25px;place-items:center;border-radius:50%;background:#edeaf5}.creativeTonieSteps li svg{width:15px}.creativeTonieSteps li.active{border-color:#5f65ed;color:#2e2a62}.creativeTonieSteps li.active span{background:#5f65ed;color:#fff}.creativeTonieStoryGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.creativeTonieStoryGrid article{display:grid;grid-template-columns:72px minmax(0,1fr) auto;gap:12px;align-items:center;min-width:0;padding:10px;border:1px solid #d7eafa;border-radius:8px}.creativeTonieStoryGrid article.selected{border-color:#6a68ee;box-shadow:0 0 0 2px #6a68ee24}.creativeTonieStoryGrid img{width:72px;aspect-ratio:3 / 4;object-fit:cover;border-radius:6px}.creativeTonieStoryGrid h3,.creativeTonieStoryGrid p{margin:0 0 3px}.creativeTonieStoryGrid small{color:#6c6680}.creativeTonieChoice{display:grid;max-width:680px;gap:9px}.creativeTonieChoice label{display:grid;grid-template-columns:auto 1fr auto;gap:10px;align-items:center;min-height:52px;padding:10px 13px;border:1px solid #d8d1ef;border-radius:8px;font-weight:800}.creativeTonieChoice label:has(input:checked){border-color:#6867ec;background:#f3f2ff}.creativeTonieChoice label small{color:#6b6680;font-weight:600}.creativeTonieCoverChoice{display:grid;grid-template-columns:150px minmax(0,1fr);gap:22px;align-items:center;max-width:760px}.creativeTonieCoverChoice img{width:150px;aspect-ratio:3 / 4;object-fit:cover;border-radius:8px}.creativeTonieProgress,.creativeTonieSuccess{display:grid;justify-items:center;gap:8px;padding:28px;text-align:center}.creativeTonieProgress progress{width:min(560px,100%);height:14px;accent-color:#5f65ed}.creativeTonieError{margin-top:12px;padding:12px;border:1px solid #ef88aa;border-radius:8px;background:#fff2f6;color:#8f1644;font-weight:700}.creativeTonieCollectionGrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:14px}.creativeTonieCollectionGrid label{display:grid;grid-template-columns:auto 44px minmax(0,1fr);align-items:center;gap:9px;min-height:58px;padding:7px 10px;border:1px solid #d9eafa;border-radius:8px;font-weight:800}.creativeTonieCollectionGrid label:has(input:checked){border-color:#6a68ee;background:#f5f3ff}.creativeTonieCollectionGrid img{width:44px;height:44px;object-fit:cover;border-radius:5px}.creativeTonieHowTo{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:0 0 18px;padding:0;list-style:none}.creativeTonieHowTo li{display:flex;gap:10px;padding:14px;border:1px solid #d9eafa;border-radius:8px}.creativeTonieHowTo li>span{display:grid;width:30px;height:30px;flex:0 0 30px;place-items:center;border-radius:50%;background:#ffdc76;color:#172a5b;font-weight:900}.creativeTonieHowTo p{margin:4px 0 0;color:#645e75}.creativeTonieFaq{display:grid;gap:8px}.creativeTonieFaq details{padding:13px;border:1px solid #d9eafa;border-radius:8px}.creativeTonieFaq summary{cursor:pointer;color:#172a5b;font-weight:800}.creativeTonieHistory{display:grid;gap:8px}.creativeTonieHistory article{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;padding:10px 12px;border:1px solid #d9eafa;border-radius:8px}.creativeTonieHistory article>svg{width:24px;color:#5f65ed}.creativeTonieHistory small{display:block;color:#6b6680}.creativeToniePage svg,.creativeTonieBanner svg{height:1em}@media(max-width:900px){.creativeTonieBanner,.creativeTonieHero{grid-template-columns:1fr}.creativeTonieStoryGrid,.creativeTonieCollectionGrid,.creativeTonieHowTo{grid-template-columns:1fr 1fr}}@media(max-width:640px){.creativeTonieBanner,.creativeToniePage{width:min(100% - 16px,1220px)}.creativeTonieBanner,.creativeTonieHero,.creativeToniePanel{padding:16px}.creativeTonieBanner ul,.creativeTonieStoryGrid,.creativeTonieCollectionGrid,.creativeTonieHowTo{grid-template-columns:1fr}.creativeTonieBannerActions,.creativeTonieActions{display:grid}.creativeTonieBannerActions>*,.creativeTonieActions>*{width:100%;min-height:44px}.creativeTonieSteps li{justify-content:center;padding:7px 2px;font-size:0}.creativeTonieSteps li span{font-size:.8rem}.creativeTonieStoryGrid article{grid-template-columns:64px minmax(0,1fr)}.creativeTonieStoryGrid article>button{grid-column:1 / -1;min-height:44px}.creativeTonieStoryGrid img{width:64px}.creativeTonieChoice label{grid-template-columns:auto 1fr}.creativeTonieChoice label small{grid-column:2}.creativeTonieCoverChoice{grid-template-columns:90px minmax(0,1fr)}.creativeTonieCoverChoice img{width:90px}.creativeTonieSectionHeading{display:grid}.creativeTonieSectionHeading>span{justify-self:start}}.playerAudioOutputRow,.mixerAudioOutput{margin-top:12px}.audioOutputControl{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.audioOutputConnectButton,.audioOutputSettingsButton,.speakerTestButton,.audioOutputActions button{min-height:44px;border:1px solid #d9c8ff;border-radius:8px;color:#32246f;background:#fff;font:inherit;font-weight:700;cursor:pointer}.audioOutputConnectButton,.speakerTestButton,.audioOutputActions button{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:9px 14px}.audioOutputConnectButton svg,.audioOutputSettingsButton svg,.speakerTestButton svg,.audioOutputActions svg{width:18px;height:18px}.audioOutputSettingsButton{display:inline-grid;place-items:center;width:44px;padding:0}.audioOutputStatus{display:inline-flex;align-items:center;min-height:32px;padding:5px 10px;border:1px solid #d9c8ff;border-radius:999px;color:#4b436d;background:#f8f5ff;font-size:.8rem;font-weight:700}.audioOutputStatus.status-connected{color:#164f47;border-color:#80cfc1;background:#e9faf6}.bedtimePlayer .audioOutputConnectButton,.bedtimePlayer .audioOutputSettingsButton{color:#fff8da;border-color:#65708e;background:#293451}.bedtimePlayer .audioOutputStatus{color:#e8eaff;border-color:#55617f;background:#222d49}.bedtimePlayer .audioOutputStatus.status-connected{color:#d8fff6;border-color:#4f9f91;background:#203e3d}.audioOutputDialogBackdrop{position:fixed;z-index:1000;inset:0;display:grid;place-items:center;padding:20px;background:#151c34ad}.audioOutputDialog{width:min(680px,100%);max-height:min(760px,calc(100vh - 40px));overflow-y:auto;padding:22px;border:1px solid #e8b9da;border-radius:8px;color:#172750;background:#fffdfb;box-shadow:0 24px 70px #231f4852}.audioOutputDialog>header{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;gap:12px;align-items:start}.audioOutputDialog>header>span,.audioOutputDialog>header>button{display:grid;place-items:center;width:44px;height:44px;border:1px solid #e0d2ff;border-radius:50%;color:#4932a4;background:#f5f0ff}.audioOutputDialog>header>button{cursor:pointer}.audioOutputDialog h2,.audioOutputDialog h3,.audioOutputDialog p{margin-top:0}.audioOutputDialog h2{margin-bottom:6px;font-size:1.35rem}.audioOutputCurrent{margin:18px 0;padding:14px;border-left:4px solid #ffbc45;background:#fff8dc}.audioOutputCurrent p{margin:5px 0 0}.audioOutputActions{display:flex;flex-wrap:wrap;gap:10px}.audioOutputActions .audioOutputPrimary{color:#fff;border-color:#4c5dff;background:#4c5dff}.audioOutputInstructions{margin-top:20px;padding-top:18px;border-top:1px solid #eadff5}.audioOutputInstructions ol{margin:8px 0;padding-left:22px}.audioOutputInstructions li{margin:6px 0}.audioOutputPlatformHelp{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:16px}.audioOutputPlatformHelp details{padding:10px 12px;border:1px solid #e8dff4;border-radius:8px;background:#fff}.audioOutputPlatformHelp summary{display:flex;align-items:center;gap:7px;font-weight:700;cursor:pointer}.audioOutputPlatformHelp summary svg{width:17px}.audioOutputPlatformHelp p{margin:8px 0 0}.audioOutputConnectButton:focus-visible,.audioOutputSettingsButton:focus-visible,.speakerTestButton:focus-visible,.audioOutputDialog button:focus-visible,.audioOutputDialog summary:focus-visible{outline:3px solid #ffbe3d;outline-offset:2px}@media(max-width:640px){.audioOutputControl{align-items:stretch}.audioOutputConnectButton{flex:1 1 auto}.audioOutputStatus{flex-basis:100%}.audioOutputDialogBackdrop{align-items:end;padding:0}.audioOutputDialog{width:100%;max-height:88vh;padding:18px 16px calc(18px + env(safe-area-inset-bottom));border-radius:8px 8px 0 0}.audioOutputActions,.audioOutputActions button{width:100%}.audioOutputPlatformHelp{grid-template-columns:1fr}}.recordingMeta{color:#4d5955;display:flex;flex-wrap:wrap;gap:10px}.recordingMeta span{background:#e8f0ed;border-radius:999px;padding:7px 10px}.secondary{background:#40504a;justify-self:start}.searchMessage,.warning{background:#fff6ed;border:1px solid #e6bb8d;border-radius:8px;color:#6c3f12;line-height:1.45;padding:12px;white-space:pre-line}.catalogItem{align-items:center;justify-content:space-between}.catalogItem p{font-size:.92rem}.catalogItem span{background:#e8f0ed;border-radius:999px;color:#205c58;font-size:.78rem;padding:5px 8px;white-space:nowrap}.admin,.voiceStudio,.ideaGenerator,.prewrittenLibrary{margin:0 auto 18px;max-width:1180px}.topStoryChoices .prewrittenLibrary,.topStoryChoices .publicDomainTop{margin:0;max-width:none}.publicDomainTop{display:flex;flex-direction:column;min-height:0}.publicDomainFilters{display:grid;gap:12px;grid-template-columns:minmax(0,1fr);margin-bottom:14px}.topLibraryList{max-height:520px}.prewrittenControls{display:grid;gap:12px;grid-template-columns:2fr 1fr 1fr;margin-bottom:14px}.prewrittenGrid{display:grid;gap:10px;grid-template-columns:repeat(3,minmax(0,1fr));max-height:520px;overflow:auto;padding-right:4px}.prewrittenCard{align-items:flex-start;background:#fff;border:1px solid #dfe8e3;color:#172126;display:flex;flex-direction:column;gap:5px;min-height:104px;padding:12px;text-align:left}.prewrittenCard span{font-weight:800}.prewrittenCard small,.prewrittenCard em{color:#596762;font-size:.84rem;font-style:normal;line-height:1.35}.prewrittenCard.selected{background:#e7f2ee;border-color:#205c58;box-shadow:inset 4px 0 #205c58}.prewrittenActions{align-items:center;display:flex;gap:12px;justify-content:space-between;margin-top:14px}.variableReference{margin:0 auto 18px;max-width:1180px}.variableGrid{display:grid;gap:10px;grid-template-columns:repeat(3,minmax(0,1fr))}.variableCard{background:#fbfcfb;border:1px solid #dfe8e3;border-radius:8px;display:grid;gap:10px;grid-template-columns:minmax(132px,auto) minmax(0,1fr);padding:12px}.variableCard code{align-self:start;background:#eef5f2;border:1px solid #d4e2dc;border-radius:6px;color:#174842;font-size:.85rem;font-weight:800;padding:7px 8px;white-space:nowrap}.variableCard small{color:#6a766f;display:block;line-height:1.35;margin-top:6px}.ideaControls{display:grid;gap:12px;grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:14px}.ideaControls label{color:#40504a;display:grid;font-size:.9rem;font-weight:700;gap:6px}.ideaGrid{display:grid;gap:12px;grid-template-columns:repeat(3,minmax(0,1fr))}.ideaCard{background:#fbfcfb;border:1px solid #dfe8e3;border-radius:8px;display:grid;gap:12px;padding:14px}.ideaCard p{color:#40504a;line-height:1.45;margin:0}.segmented{background:#eef3f0;border-radius:8px;display:inline-flex;gap:4px;margin-bottom:14px;padding:4px}.segmented button{background:transparent;color:#30423b}.segmented button.selected{background:#205c58;color:#fff}.voiceGrid{align-items:stretch;display:grid;gap:12px;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.voiceGrid.singleStudioStep{grid-template-columns:minmax(0,1fr)}.approvedStorySummary{display:flex;align-items:center;gap:12px;padding:14px 16px;border:1px solid #a9d9ca;border-radius:8px;background:#f2fbf8;color:#183f38}.approvedStorySummary>svg{flex:0 0 auto}.approvedStorySummary div{display:grid;gap:2px}.compactStudioStep{align-content:start;gap:10px}.studioStepHeader{align-items:start;display:grid;gap:10px;grid-template-columns:auto minmax(0,1fr)}.studioStepHeader h3,.studioStepHeader p{margin:0}.voiceChoiceGrid,.effectGrid{display:grid;gap:10px}.expandedEffects{grid-template-columns:repeat(2,minmax(0,1fr))}.effectOption{border:1px solid #dfe8e3;border-radius:8px;padding:10px}.effectOption span{display:grid;gap:2px}.effectOption small,.musicLibrary small,.sectionMicrocopy{color:#6a607a;font-size:.82rem;line-height:1.3}.creatorBox{background:#fff8fd;border:1px solid rgba(255,147,190,.36);border-radius:12px;display:grid;gap:10px;padding:10px}.creatorBox textarea{min-height:74px}.compactSelectionSummary{background:#f7fbff;border:1px solid rgba(145,207,255,.72);border-radius:10px;display:grid;gap:3px;padding:9px 10px}.compactSelectionSummary strong{color:#24335f}.compactSelectionSummary span{color:#6a607a;font-size:.84rem;line-height:1.3}.storyMusicSelection{display:grid;grid-template-columns:minmax(0,1fr) minmax(190px,.7fr);align-items:center;gap:12px;padding:12px;border:1px solid #ffd0df;border-radius:8px;background:#fff9fc}.storyMusicSelection>div{display:grid;gap:3px;min-width:0}.storyMusicSelection span,.storyMusicSelection small{color:var(--muted);line-height:1.35}.storyMusicSelection audio{width:100%;min-width:0;height:38px}@media(max-width:700px){.storyMusicSelection{grid-template-columns:1fr}}.selectedEffectList{align-items:center;background:#fff8fd;border:1px solid rgba(255,147,190,.28);border-radius:10px;display:flex;flex-wrap:wrap;gap:6px;min-height:42px;padding:7px}.selectedEffectList span{color:#6a607a;font-size:.84rem}.selectedEffectList button{background:#fff;border:1px solid rgba(115,87,199,.22);border-radius:999px;box-shadow:none;color:#493680;min-height:30px;padding:5px 9px}.miniStudioTool{background:#fff;border:1px solid rgba(115,87,199,.14);border-radius:10px;padding:0}.miniStudioTool summary{cursor:pointer;font-weight:800;padding:9px 10px}.miniStudioTool .creatorBox{border:0;border-top:1px solid rgba(255,147,190,.24);border-radius:0 0 10px 10px}.advancedStoryCreator{margin-top:4px}.advancedStoryCreator>summary{color:#7051c8;font-size:.84rem}.advancedStoryCreator[open]{background:#faf8ff;border-color:#7357c738;padding-bottom:10px}.advancedStoryCreator[open]>summary{border-bottom:1px solid rgba(115,87,199,.12);margin-bottom:10px}.advancedStoryCreator label,.advancedStoryCreator select,.advancedStoryCreator textarea,.advancedStoryCreator input{padding-inline:10px}.musicLibrary{display:grid;gap:8px;grid-template-columns:repeat(2,minmax(0,1fr))}.musicLibrary button{background:#fff;border:1px solid rgba(145,207,255,.72);border-radius:10px;box-shadow:none;color:#24335f;display:grid;gap:2px;min-height:72px;padding:10px;text-align:left}.musicLibrary button.selected{background:#eaf7ff;border-color:#35a8ff;box-shadow:inset 0 -3px #ffda56}.musicLibrary span{color:#493680;font-size:.84rem}.subnav{color:#5e6a66;line-height:1.5;margin:6px 0 0}.flagGrid{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:14px}.flag{align-items:center;border:1px solid #e0e7e3;border-radius:8px;justify-content:space-between;min-height:48px;padding:10px 12px}.flag span{align-items:center;display:flex;gap:10px}.flag input{accent-color:#205c58;height:20px;width:20px}@media(max-width:760px){main{padding:14px}.topbar,.panelHeader{align-items:stretch;flex-direction:column}.statusPill{justify-content:center}.two,.flagGrid,.createLayout,.topStoryChoices,.stepGrid,.templateGrid,.guideGrid,.voiceGrid,.ideaControls,.ideaGrid,.prewrittenControls,.prewrittenGrid,.workflowMap,.variableGrid,.variableCard{grid-template-columns:1fr}.prewrittenActions{align-items:stretch;flex-direction:column}}.toolPanel:not(.activeToolPanel){display:none!important}.toolPanel.activeToolPanel{display:grid}body{background:radial-gradient(circle at 9% 10%,rgba(255,218,86,.38),transparent 16rem),radial-gradient(circle at 88% 13%,rgba(255,147,190,.32),transparent 18rem),linear-gradient(180deg,#fff7c8,#ffe5f2 42%,#dff4ff)}main{background:radial-gradient(circle at 8% 8%,rgba(255,218,86,.36),transparent 18rem),radial-gradient(circle at 88% 11%,rgba(255,147,190,.32),transparent 19rem),radial-gradient(circle at 76% 72%,rgba(122,208,255,.34),transparent 24rem),linear-gradient(180deg,#fff8cf,#ffe7f3 44%,#def5ff)}h1,h2,h3,.storyChoiceCard strong,.coverCopy h3{color:#24335f}button,.quickCreateBar button,.recorderControls button:not(:disabled):first-child{background:linear-gradient(135deg,#35a8ff,#6f7cff);box-shadow:0 12px 28px #4c7eff38;color:#fff}button:hover:not(:disabled){box-shadow:0 16px 34px #4c7eff47}.secondaryStoryButton,.secondary,.topToolActions button,.previewButton{background:#fff!important;border:2px solid rgba(255,147,190,.48);color:#5b4acb!important}.topToolActions button.selected,.segmented button.selected,.modeButton.selected,.templateButton.selected,.libraryItem.selected,.prewrittenCard.selected{background:#e2f4ff!important;border-color:#35a8ff!important;box-shadow:inset 5px 0 #ffda56;color:#24335f!important}.storybookHero{background:linear-gradient(120deg,#fffdecf5,#ffe5f2e0),radial-gradient(circle at 78% 20%,rgba(122,208,255,.28),transparent 15rem),radial-gradient(circle at 22% 78%,rgba(255,218,86,.34),transparent 14rem);border-color:#ff93be57;box-shadow:0 28px 90px #4c7eff29}.storybookHero:before{background-image:radial-gradient(circle,rgba(255,218,86,.95) 0 3px,transparent 4px),radial-gradient(circle,rgba(255,147,190,.9) 0 3px,transparent 4px),radial-gradient(circle,rgba(122,208,255,.85) 0 2px,transparent 4px);background-size:68px 68px,92px 92px,118px 118px}.storybookHero:after{background:radial-gradient(circle at 32% 45%,rgba(255,218,86,.62),transparent 5rem),radial-gradient(circle at 70% 36%,rgba(255,147,190,.48),transparent 6rem),linear-gradient(135deg,#fff8cfb8,#dff4ffad)}.heroArt{background:linear-gradient(135deg,#ffda5633,#ff93be29),#fff;border-radius:34px;min-height:260px}.floatingCard,.momCard,.grandpaCard,.petCard{background:#fff6cf;border:2px solid rgba(255,147,190,.45);color:#5b4acb}.sparkle{color:#ffcf2e}.panel,.topToolMenu,.publishedInfoCard,.advancedWorkflow{border-color:#7ad0ff47;box-shadow:0 18px 55px #4c7eff1a}.quickStep,.stepBox,.recorder,.storyDraft,.ideaCard,.variableCard,.guideCard,.mode,.catalogItem,.prewrittenCard,.libraryItem,.voiceAssignmentRow,.selectedCharacterCard,.savedVoiceOption,.effectOption,.flag{border-color:#7ad0ff47}.stepNumber,.workflowMap span{background:linear-gradient(135deg,#ff93be,#6f7cff)}.characterChip,.compactCheck,.recordingMeta span,.catalogItem span,.variableCard code,.audioPreview{background:#fff6cf;border-color:#ffda56bf;color:#5b4acb}.quickCreateBar,.workflowEmpty,.recorder,.storyDraft,.ideaCard,.variableCard{background:#fffafd}.segmented{background:#e2f4ff}input[type=text],input:not([type]),select,textarea{border-color:#7ad0ff8c}input:focus-visible,select:focus-visible,textarea:focus-visible,button:focus-visible{outline-color:#ffda56f5}.storybookHero{align-items:stretch;gap:16px;grid-template-columns:1fr;min-height:0;padding:30px 38px 20px}.heroMain{align-items:center;display:grid;gap:24px;grid-template-columns:minmax(0,1.22fr) minmax(360px,.78fr);min-width:0;position:relative;z-index:1}.heroCopy .eyebrow{margin-bottom:16px}.heroCopy h1{font-size:clamp(2.85rem,4vw,3rem);line-height:1.02;max-width:690px}.heroSubtitle{font-size:clamp(1.08rem,1.45vw,1.28rem);line-height:1.48;margin-top:20px;max-width:615px}.secondaryStoryButton{box-shadow:0 8px 18px #4c7eff14}.trustLine{color:#51486d;font-size:.96rem;line-height:1.45;margin-top:22px;max-width:650px}.heroTools{border-top:1px solid rgba(255,147,190,.34);display:grid;gap:10px;min-width:0;padding-top:13px;position:relative;z-index:1}.appInteriorRoute{padding-top:0}.navigationOnlyHero{margin-bottom:20px;min-height:0;padding-bottom:0}.navigationOnlyHero .heroTools{padding-bottom:14px!important}.appInteriorRoute>.panel,.appInteriorRoute>.advancedWorkflow,.appInteriorRoute>.publishedInfoCard,.appInteriorRoute>.creativeToniePage,.appInteriorRoute>.sleepSoundsPage{margin-left:auto;margin-right:auto;max-width:1280px;width:100%}.appInteriorRoute .panelHeader{align-items:flex-start;gap:16px;margin-bottom:18px}.appInteriorRoute .panelHeader h2,.appInteriorRoute .panelHeader h1{color:var(--color-ink);line-height:1.08;margin:2px 0 4px}.appInteriorRoute .panelHeader .quiet{max-width:760px}.heroToolsHeader{align-items:baseline;display:flex;gap:14px;justify-content:space-between}.heroToolsHeader span{color:#24335f;font-size:.78rem;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.heroToolsHeader small{color:#5c5279;font-size:.88rem;font-weight:700}.heroToolsButtons{display:flex;flex-wrap:wrap;gap:8px 10px}.heroToolsButtons button{background:#ffffffd1!important;border:1px solid rgba(255,147,190,.52);border-radius:10px;box-shadow:0 8px 18px #4c7eff14;color:#5b4acb!important;min-height:40px;padding:0 15px}.heroToolsButtons button.primaryToolButton{background:linear-gradient(135deg,#35a8ff,#6f7cff)!important;border-color:transparent;box-shadow:0 12px 28px #4c7eff33;color:#fff!important}.heroToolsButtons button:hover:not(:disabled){background:#fff6cf!important;border-color:#6f7cff8c;box-shadow:0 10px 22px #4c7eff21}.heroToolsButtons button:focus-visible{outline:3px solid rgba(255,218,86,.96);outline-offset:3px}.heroToolsButtons button.selected{background:#e2f4ff!important;border-color:#35a8ff;box-shadow:inset 0 -3px #ffda56;color:#24335f!important}@media(max-width:980px){.heroMain{grid-template-columns:1fr}.heroCopy h1{font-size:clamp(2.65rem,8vw,3.6rem);max-width:760px}.heroSubtitle{max-width:720px}}@media(max-width:760px){.storybookHero{gap:18px;padding:24px 18px 20px}.heroCopy .eyebrow{margin-bottom:12px}.heroCopy h1{font-size:clamp(1.75rem,7.8vw,1.95rem);line-height:1.03;max-width:100%}.heroSubtitle{font-size:1.04rem;line-height:1.5;margin-top:18px;max-width:100%}.trustLine{font-size:.92rem;margin-top:16px;max-width:100%}.heroTools{gap:10px;padding-top:14px}.heroToolsHeader{align-items:flex-start;flex-direction:column;gap:3px}.heroToolsButtons{flex-wrap:nowrap;margin:0 -4px;overflow-x:auto;padding:0 4px 6px;scroll-snap-type:x proximity}.heroToolsButtons button{flex:0 0 auto;min-height:44px;scroll-snap-align:start}}:root{--font-display: "Nunito", ui-sans-serif, system-ui, sans-serif;--font-body: "Nunito", "Atkinson Hyperlegible", Inter, ui-sans-serif, system-ui, sans-serif;--color-ink: #24335f;--color-text: #3e4050;--color-muted: #6a607a;--color-blue: #35a8ff;--color-blue-soft: #eaf7ff;--color-pink: #ff93be;--color-pink-soft: #fff0f7;--color-yellow: #ffda56;--color-yellow-soft: #fff7cf;--color-purple: #5b4acb;--color-surface: rgba(255, 255, 255, .9);--color-surface-solid: #ffffff;--border-soft: rgba(122, 208, 255, .34);--border-pink: rgba(255, 147, 190, .46);--shadow-panel: 0 18px 55px rgba(76, 126, 255, .1);--shadow-card: 0 10px 28px rgba(76, 126, 255, .08);--radius-panel: 22px;--radius-card: 16px;--radius-control: 12px;--radius-pill: 999px;--space-1: 6px;--space-2: 10px;--space-3: 14px;--space-4: 18px;--space-5: 24px}*{box-sizing:border-box}html{background:#fff8cf;overflow-y:scroll;scrollbar-gutter:stable}body{background:radial-gradient(circle at 10% 8%,rgba(255,218,86,.34),transparent 17rem),radial-gradient(circle at 88% 10%,rgba(255,147,190,.28),transparent 18rem),linear-gradient(180deg,#fff8cf,#ffe7f3 44%,#def5ff);color:var(--color-text);font-family:var(--font-body);margin:0}main{background:radial-gradient(circle at 8% 8%,rgba(255,218,86,.3),transparent 18rem),radial-gradient(circle at 88% 11%,rgba(255,147,190,.26),transparent 19rem),radial-gradient(circle at 76% 72%,rgba(122,208,255,.3),transparent 24rem),linear-gradient(180deg,#fff8cf,#ffe7f3 44%,#def5ff);color:var(--color-text);min-height:100vh;padding:24px}h1,h2,h3,h4,.storyChoiceCard strong,.coverCopy h3,.advancedWorkflow>summary span,.compactDisclosure>summary span{color:var(--color-ink);font-family:var(--font-display);letter-spacing:0;margin-top:0}h1{font-size:clamp(2.8rem,4vw,3.2rem);line-height:1.02}h2{font-size:clamp(1.45rem,2.2vw,2rem);line-height:1.12}h3{font-size:1.05rem;line-height:1.2}p{line-height:1.45}.quiet,.fieldHelp,.sectionMicrocopy,.ideaCard p,.libraryItem small,.prewrittenCard small,.templateButton small,.compactSelectionSummary span,.selectedEffectList span{color:var(--color-muted)}.storybookHero,.panel,.topToolMenu,.publishedInfoCard,.advancedWorkflow,.compactDisclosure,.voiceStudio,.ideaGenerator,.variableReference,.prewrittenLibrary,.admin,.compactWizard{background:var(--color-surface);border:1px solid var(--border-soft);border-radius:var(--radius-panel);box-shadow:var(--shadow-panel)}.storybookHero,.topToolMenu,.storyPath,.adventureSteps,.storyChoiceSection,.templateCarouselSection,.familyMagicGrid,.moodSelector,.topStoryChoices,.ideaGenerator,.createLayout,.voiceStudio,.variableReference,.publishedInfoCard,.admin,.grid,.compactWizard,.advancedWorkflow,.compactOpsGrid{max-width:1240px}.quickStep,.stepBox,.recorder,.storyDraft,.ideaCard,.variableCard,.guideCard,.mode,.catalogItem,.prewrittenCard,.libraryItem,.voiceAssignmentRow,.selectedCharacterCard,.savedVoiceOption,.effectOption,.flag,.templateButton,.characterCard,.moodCard,.narratorCard,.coverCard,.creatorBox,.compactSelectionSummary,.selectedEffectList,.miniStudioTool,.quickIdeaEditor,.templateNeeds,.sourceSetupNote,.familiarVoicePrompt,.inlineVoiceRecorder,.selectedVoiceCard,.savedVoiceSummary{background:var(--color-surface-solid);border:1px solid var(--border-soft);border-radius:var(--radius-card);box-shadow:none}.quickStep,.stepBox,.recorder,.storyDraft,.ideaCard,.variableCard,.guideCard,.prewrittenCard,.libraryItem,.templateButton{gap:var(--space-2);padding:var(--space-3)}button,.buttonLike{align-items:center;background:linear-gradient(135deg,var(--color-blue),#6f7cff);border:1px solid transparent;border-radius:var(--radius-control);box-shadow:0 10px 24px #4c7eff29;color:#fff;display:inline-flex;font-family:var(--font-body);font-weight:800;gap:8px;justify-content:center;min-height:42px;padding:0 14px}button:hover:not(:disabled){box-shadow:0 14px 30px #4c7eff38;transform:translateY(-1px)}button:disabled{cursor:not-allowed;opacity:.58}.secondaryStoryButton,.secondary,.topToolActions button,.previewButton,.softButton,.characterChip,.selectedCharacterPill button,.roleChoiceGrid button,.selectedEffectList button,.heroToolsButtons button:not(.primaryToolButton){background:#fff!important;border:1px solid var(--border-pink);box-shadow:none;color:var(--color-purple)!important}.topToolActions button.selected,.segmented button.selected,.modeButton.selected,.templateButton.selected,.libraryItem.selected,.prewrittenCard.selected,.storyChoiceCard.selected,.roleChoiceGrid button.selected,.quickIdeaEditor>button.selected,.musicLibrary button.selected{background:var(--color-blue-soft)!important;border-color:var(--color-blue)!important;box-shadow:inset 0 -3px 0 var(--color-yellow);color:var(--color-ink)!important}input[type=text],input:not([type]),input[type=file],select,textarea{background:#fff;border:1px solid rgba(122,208,255,.62);border-radius:var(--radius-control);color:var(--color-text);font-family:var(--font-body);font-size:.96rem;min-height:42px;padding:9px 11px;width:100%}textarea{line-height:1.45;resize:vertical}label{color:#40504a;font-weight:800}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid rgba(255,218,86,.96);outline-offset:3px}.eyebrow{color:var(--color-purple);font-weight:900;letter-spacing:.02em;text-transform:uppercase}.stepNumber,.workflowMap span{background:linear-gradient(135deg,var(--color-pink),#6f7cff);border-radius:var(--radius-pill);color:#fff}.compactCheck,.recordingMeta span,.catalogItem span,.variableCard code,.neededChipRow span,.choiceBadge{background:var(--color-yellow-soft);border:1px solid rgba(255,218,86,.75);border-radius:var(--radius-pill);color:var(--color-purple)}.heroToolsButtons,.topToolActions,.toolRow,.recorderControls,.characterChipGrid,.selectedCharacterPills,.selectedEffectList{gap:8px}.quickStepGrid,.voiceGrid,.topStoryChoices,.compactOpsGrid,.stepGrid,.templateGrid,.guideGrid,.ideaGrid,.prewrittenGrid,.variableGrid,.flagGrid{gap:12px}.storyDraft pre,.familyDraft pre,pre{color:var(--color-text);font-family:var(--font-body)}.searchMessage,.warning,.languageWarning,.validationList{background:var(--color-yellow-soft);border:1px solid rgba(255,218,86,.75);border-radius:var(--radius-card);color:#6c3f12}.danger{background:#9e3d33}.topStoryChoices{align-items:start;gap:12px;grid-template-columns:repeat(2,minmax(0,1fr));margin:0 auto 16px}.topStoryChoices .prewrittenLibrary,.topStoryChoices .publicDomainTop{background:var(--color-surface);border:1px solid var(--border-soft);border-radius:var(--radius-panel);box-shadow:var(--shadow-panel);padding:var(--space-4)}.prewrittenLibrary,.publicDomainTop{border-radius:var(--radius-panel)}.prewrittenControls,.publicDomainFilters{gap:8px;margin-bottom:10px}.prewrittenGrid,.libraryList,.topLibraryList{gap:8px;max-height:300px;padding-right:2px}.prewrittenGrid{grid-template-columns:repeat(2,minmax(0,1fr))}.prewrittenCard,.libraryItem{background:var(--color-surface-solid);border:1px solid var(--border-soft);border-radius:var(--radius-card);box-shadow:none;color:var(--color-text);gap:4px;min-height:0;padding:10px 12px}.prewrittenCard span,.libraryItem span{color:var(--color-ink);font-family:var(--font-display);font-size:.98rem;font-weight:800;line-height:1.18}.prewrittenCard small,.prewrittenCard em,.libraryItem small,.libraryItem em{color:var(--color-muted);font-size:.84rem;line-height:1.3}.prewrittenCard.selected,.libraryItem.selected{background:var(--color-blue-soft)!important;border-color:var(--color-blue)!important;box-shadow:inset 0 -3px 0 var(--color-yellow);color:var(--color-ink)!important}.prewrittenActions{gap:10px;margin-top:10px}.toolsMenu.activeToolPanel{background:transparent;border:0;box-shadow:none;padding:0}.toolsMenu.activeToolPanel>summary{background:transparent;border:0;box-shadow:none;justify-self:end;margin:0 0 8px auto;min-height:36px;padding:0;width:max-content}.toolsMenu.activeToolPanel>summary span,.toolsMenu.activeToolPanel>summary small{clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}.toolsMenu.activeToolPanel>summary:after{background:#fff;border:1px solid var(--border-pink);border-radius:var(--radius-pill);box-shadow:var(--shadow-card);color:var(--color-purple);content:"Close";min-height:36px;padding:8px 14px}.toolsMenu.activeToolPanel .topStoryChoices{margin-top:0}.toolPanel.activeToolPanel>summary{display:none}.toolGrid.activeToolGrid{grid-template-columns:1fr}.toolGrid.activeToolGrid .activeToolPanel{grid-column:1 / -1;width:100%}main{min-height:calc(100vh + 1px)}@media(max-width:980px){main{padding:18px}.quickStepGrid,.topStoryChoices,.heroMain{grid-template-columns:1fr}}@media(max-width:760px){main{padding:12px}h1{font-size:clamp(1.75rem,7.8vw,2rem)}h2{font-size:1.35rem}.panel,.storybookHero,.advancedWorkflow,.compactDisclosure{border-radius:18px}.quickStepGrid,.voiceGrid,.topStoryChoices,.compactOpsGrid,.stepGrid,.templateGrid,.guideGrid,.ideaControls,.ideaGrid,.prewrittenControls,.prewrittenGrid,.workflowMap,.variableGrid,.flagGrid{grid-template-columns:1fr}button{min-height:44px}}.quickStepGrid.twoCardWorkflow{align-items:start;grid-template-columns:minmax(0,1fr)}.creationProgress{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:4px 0 16px}.creationProgress span{align-items:center;display:flex;gap:7px;min-height:44px;padding:8px 12px;border:1px solid var(--border-soft);border-radius:10px;background:#fff;color:#655a7f;font-size:.86rem;font-weight:800}.creationProgress span.current{border-color:#ffb7d2;background:#fff5fa;color:#17295b;box-shadow:inset 4px 0 #ffca43}.creationProgress span.complete{border-color:#92d1ff;background:#edf8ff;color:#243e85}.creationProgress svg{width:17px;height:17px}.stepStoryPreview{scroll-margin-top:88px}.finishedStoryMix{display:grid;flex:1 1 100%;gap:8px;width:100%;padding:14px;border:1px solid rgba(104,121,238,.3);border-radius:12px;background:#f4f8ff}.finishedStoryMix strong{align-items:center;display:flex;gap:7px;color:#17295b}.finishedStoryMix p{margin:0;color:#655a7f}.finishedStoryMix audio{display:block;width:100%}.finishedStoryMix a{justify-self:start;color:#4c35b7}.compactHeaderActions{justify-content:flex-end}.voiceSoundStep{scroll-margin-top:88px}.storyCreationStep h4{color:var(--color-ink);font-size:.98rem;margin:0}.combinedStoryFields{display:grid;gap:12px;margin-top:12px;padding-top:12px;border-top:1px solid var(--border-soft)}.approveStoryButton{width:100%;margin-top:10px;border:1px solid rgba(255,202,67,.85);background:linear-gradient(135deg,var(--color-yellow),#91cfff);color:#17295b;box-shadow:0 12px 24px #4c7eff1f}.approveStoryButton.approved{background:linear-gradient(135deg,var(--color-blue-soft),var(--color-yellow-soft));border-color:#35a8ffa6}.approvalNotice{display:grid;gap:4px;margin-bottom:12px;padding:11px 12px;border:1px solid rgba(255,202,67,.72);border-radius:14px;background:#fff8d8}.approvalNotice strong{color:#17295b}.approvalNotice p{margin:0;color:#655a7f;font-size:.9rem}.personalizationMeter,.qualityScoreCard{display:grid;gap:4px;padding:10px 12px;border:1px solid rgba(122,208,255,.7);border-radius:14px;background:#f7fbff}.personalizationMeter strong,.qualityScoreCard strong{color:#17295b}.personalizationMeter span,.qualityScoreCard span{color:#655a7f;font-size:.9rem}.personalizationMeter.highly-personalized{background:#fff8d8;border-color:#ffca43e6}.pageEditorList{display:grid;gap:10px;margin-top:12px}.pageEditorHeader,.pageEditorCard>div:first-child{display:flex;justify-content:space-between;gap:10px;align-items:center}.pageEditorHeader button,.pageEditorActions button{min-height:34px;padding:6px 10px;border:1px solid rgba(255,160,196,.85);border-radius:10px;background:#fff;color:#4c35b7;box-shadow:none}.pageEditorCard{display:grid;gap:8px;padding:10px;border:1px solid rgba(143,210,255,.75);border-radius:12px;background:#fff}.pageEditorCard p,.pageEditorCard small{margin:0}.pageEditorCard small{color:#655a7f}.pageEditorActions{display:flex;flex-wrap:wrap;gap:7px}.voiceSoundStep.needsStoryApproval{box-shadow:inset 0 0 0 1px #ffca4373,var(--shadow-card)}@media(max-width:980px){.quickStepGrid.twoCardWorkflow{grid-template-columns:1fr}}@media(max-width:640px){.creationProgress{display:flex;overflow-x:auto;padding-bottom:4px}.creationProgress span{flex:0 0 190px}}.heroTools{align-items:center!important;border-bottom:1px solid rgba(236,164,198,.52)!important;border-top:0!important;display:grid!important;gap:12px!important;grid-template-columns:auto minmax(0,1fr)!important;padding-bottom:14px!important;padding-top:0!important;position:relative;z-index:30}.heroToolsHeader{align-items:center!important;display:flex!important;gap:14px!important;justify-content:flex-start!important}.authControls{align-items:center;display:flex;gap:8px}.authButton{align-items:center;background:#ffffffdb!important;border:1px solid rgba(236,164,198,.72)!important;border-radius:10px!important;box-shadow:none!important;color:#5145cd!important;display:inline-flex;font-size:.86rem!important;font-weight:800!important;justify-content:center;min-height:40px!important;padding:0 12px!important}.authButtonPrimary{background:#24335f!important;border-color:#24335f!important;color:#fff!important}.authButton:hover:not(:disabled),.authButton:focus-visible{border-color:#7457f5!important;outline:3px solid rgba(116,87,245,.2);outline-offset:2px}.authButton:disabled{cursor:not-allowed;opacity:.55}.authLoading{color:#5c5279;font-size:.85rem;font-weight:700}.authControls .cl-userButtonTrigger{height:44px;width:44px}.heroToolsHeader span{color:#24335f!important;font-size:.82rem!important;font-weight:900!important;letter-spacing:.08em!important;text-transform:uppercase!important}.heroToolsHeader small{color:#5c5279!important;font-size:.9rem!important}.mobileMenuButton{display:none}.heroToolsButtons{display:flex!important;flex-wrap:wrap!important;gap:8px!important;justify-content:flex-end!important;margin:0!important;overflow:visible!important;padding:0!important}.heroToolsButtons button{background:#ffffffd1!important;border:1px solid rgba(236,164,198,.65)!important;border-radius:12px!important;box-shadow:none!important;color:#5145cd!important;min-height:42px!important;padding:0 14px!important}.heroToolsButtons button:hover:not(:disabled){background:#fff!important;border-color:#7c6cf2!important;transform:translateY(-1px)}.heroToolsButtons button.selected,.heroToolsButtons button[aria-current=page]{background:linear-gradient(135deg,#3f7cff,#7457f5)!important;border-color:transparent!important;box-shadow:0 6px 14px #4b5cdc2e!important;color:#fff!important}.heroToolsButtons button.adminNavItem{margin-left:0;min-height:38px!important;opacity:.9}.moreToolsMenu{background:#fff;border:1px solid rgba(236,164,198,.72);border-radius:10px;box-shadow:0 16px 34px #24335f29;display:grid;gap:6px;padding:8px;position:absolute;right:0;top:52px;width:220px;z-index:20}.moreToolsMenu button{background:#fff;border:0;box-shadow:none;color:#3f2a76;justify-content:flex-start;min-height:44px;padding:8px 10px;text-align:left}.moreToolsMenu button:hover,.moreToolsMenu button:focus-visible{background:#f7f0ff;outline:3px solid rgba(101,119,255,.2)}.moreToolsPage{margin-inline:auto;max-width:1180px;padding:clamp(24px,4vw,44px)}.moreToolsPage .panelHeader{margin-bottom:24px}.moreToolsGrid{display:grid;gap:18px;grid-template-columns:repeat(3,minmax(0,1fr))}.moreToolCard{align-content:start;background:linear-gradient(145deg,#fff,#faf8ff);border:1px solid #d9dff8;border-radius:20px;box-shadow:0 12px 28px #24335f14;color:#202d57;display:grid;gap:18px;min-height:250px;padding:24px;text-align:left}.moreToolCard:hover,.moreToolCard:focus-visible{border-color:#7457f5;box-shadow:0 18px 38px #3f4caa29;outline:3px solid rgba(116,87,245,.16);transform:translateY(-3px)}.moreToolIcon{align-items:center;background:linear-gradient(135deg,#3f7cff,#7457f5);border-radius:16px;color:#fff;display:inline-flex;height:54px;justify-content:center;width:54px}.moreToolIcon svg{height:26px;width:26px}.moreToolCopy{display:grid;gap:8px}.moreToolCopy strong{font-size:1.12rem;line-height:1.2}.moreToolCopy>span{color:#655a7f;font-size:.9rem;line-height:1.5}.moreToolAction{align-self:end;color:#5145cd;font-size:.88rem;font-weight:900;margin-top:auto}@media(max-width:820px){.moreToolsGrid{grid-template-columns:1fr}.moreToolCard{min-height:0}}.originalSongsLibrary{display:grid;gap:18px}.originalSongsGrid{display:grid;gap:18px;grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}.songLibraryTools{align-items:end;background:#fffaf0;border:1px solid #ffd28a;border-radius:16px;display:grid;gap:14px;grid-template-columns:minmax(220px,1fr) auto;padding:14px}.songLibraryTools label{display:grid;gap:6px;font-weight:800}.songLibraryTools input{min-height:46px}.storyCatalogTools{margin-bottom:18px}.secondaryStoryFilters{margin-top:0}.songTypeChoices{display:flex;flex-wrap:wrap;gap:8px}.songTypeChoices button{background:#fff;border:1px solid #bba8ef;color:#3f2a76}.songTypeChoices button.active{background:#6657e8;color:#fff}@media(max-width:720px){.songLibraryTools{grid-template-columns:1fr}.songTypeChoices button{flex:1 1 130px}}.originalSongCard{background:#ffffffeb;border:1px solid rgba(115,87,199,.14);border-radius:20px;box-shadow:0 14px 34px #26334d14;display:grid;grid-template-rows:auto 1fr;overflow:hidden}.originalSongCover{aspect-ratio:3 / 4;background:#fff9e8;border-bottom:4px solid #f4c95d;display:block;overflow:hidden;width:100%}.originalSongCover img{display:block;height:100%;object-fit:contain;object-position:center;width:100%}.originalSongCardBody{display:grid;align-content:start;gap:10px;min-width:0;padding:18px}.originalSongCard span{color:#a55b00;font-size:.72rem;font-weight:900;text-transform:uppercase}.originalSongCard h3,.originalSongCard p{margin:0}.originalSongCardBody>.storyActionRow button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:42px;font-weight:850}.originalSongCardBody>.storyActionRow button svg{width:17px}.songsSignInState{display:grid;justify-items:start;gap:8px;padding:20px;border:1px solid #ffd28a;border-radius:14px;background:#fffaf0}.songsSignInState p{margin:0;color:#655a7f}.panelHeader .storyResultCount,.storyResultCount{background:#fff6d7;border:1px solid rgba(244,201,93,.62);border-radius:999px;color:#24335f;font-weight:900;padding:8px 12px}.howItWorksPanel{margin:22px auto;max-width:1280px;padding:26px}.howItWorksSteps{display:grid;gap:16px;grid-template-columns:repeat(5,minmax(0,1fr));margin-top:20px}.howItWorksSteps article{background:#ffffffc7;border:1px solid rgba(139,124,246,.16);border-radius:18px;padding:16px}.howItWorksSteps span{align-items:center;background:linear-gradient(135deg,#3f7cff,#7457f5);border-radius:999px;color:#fff;display:inline-flex;font-weight:900;height:34px;justify-content:center;width:34px}@media(max-width:768px){.heroTools{grid-row:1;grid-template-columns:1fr!important}.navigationOnlyHero{margin-bottom:12px}.appInteriorRoute>.panel,.appInteriorRoute>.advancedWorkflow,.appInteriorRoute>.publishedInfoCard{border-radius:16px;padding:16px}.heroMain{grid-row:2}.heroToolsHeader{align-items:center!important;flex-direction:row!important;justify-content:space-between!important}.authControls{margin-left:auto}.authButton{min-height:44px!important}.authButton:not(.authButtonPrimary){display:none}.heroToolsHeader small{display:none}.mobileMenuButton{background:#ffffffe0!important;border:1px solid rgba(236,164,198,.65)!important;border-radius:12px!important;box-shadow:none!important;color:#5145cd!important;display:inline-flex;min-height:44px;padding:0 14px}.heroToolsButtons{display:grid!important;grid-template-columns:1fr!important}.heroToolsButtons button{display:none}.heroToolsButtons.open button{display:inline-flex}.heroToolsButtons button{justify-content:flex-start;min-height:44px!important;width:100%}.heroToolsButtons button.adminNavItem{margin-left:0}.howItWorksSteps{grid-template-columns:1fr}}.heroPlayerArt{min-width:0;overflow:visible}.heroPlayerEmpty{display:grid;min-height:320px;place-items:center;align-content:center;gap:10px;padding:30px;border-radius:22px;background:#111a34;color:#fff;text-align:center;box-shadow:0 20px 45px #1e204938}.heroPlayerEmptyIcon{display:grid;width:64px;height:64px;place-items:center;border-radius:50%;background:#ffdc7a;color:#17203d}.heroPlayerEmptyIcon svg{width:28px;height:28px}.heroPlayerEmpty strong{font-size:1.35rem}.heroPlayerEmpty p{max-width:340px;margin:0;color:#dfe5fb}.heroPlayerEmpty button{min-height:46px;padding:0 18px;border:0;border-radius:12px;background:#6577ff;color:#fff;font-weight:800}.heroMain.playlistWorkspaceOpen{align-items:start;grid-template-columns:minmax(0,1fr)}.playlistWorkspaceOpen .heroCopy{display:none}.playlistLandingIntro{background:linear-gradient(135deg,#eef4ff,#fff8df 62%,#fff0f7);border:1px solid rgba(101,119,255,.3);border-radius:18px;display:grid;gap:16px;grid-template-columns:minmax(220px,.8fr) minmax(0,1.2fr);padding:18px}.playlistLandingIntro h1,.playlistLandingIntro p{margin:0}.playlistLandingIntro>div{display:grid;gap:5px}.playlistLandingIntro ol{display:grid;gap:8px;grid-template-columns:repeat(3,minmax(0,1fr));list-style:none;margin:0;padding:0;grid-column:2;grid-row:1}.playlistStoryCreatorCallout{align-items:center;background:#24335f;border-radius:14px;color:#fff;display:grid;gap:12px;grid-column:1 / -1;grid-template-columns:auto minmax(0,1fr) auto;padding:13px}.playlistStoryCreatorCallout>svg{color:#ffda56;height:30px;width:30px}.playlistStoryCreatorCallout p{color:#e8ebf8;line-height:1.4;margin-top:3px}.playlistStoryCreatorCallout button,.playlistCreateStoryLink{align-items:center;background:#ffda56;border:1px solid #ffda56;color:#24335f;display:inline-flex;font-weight:900;gap:6px;justify-content:center}.storyLibraryHome>.panelHeader,.originalSongsLibrary>.panelHeader,#tool-status .generatedStoryGrid{scroll-margin-top:16px}.playlistLandingIntro li{align-items:center;background:#ffffffdb;border:1px solid rgba(115,87,199,.16);border-radius:12px;display:flex;gap:8px;padding:9px}.playlistLandingIntro li>b{background:#6577ff;border-radius:999px;color:#fff;display:grid;flex:0 0 28px;height:28px;place-items:center}.playlistLandingIntro li span,.playlistLandingIntro li small{display:block}.playlistLandingStatus{background:#fff;border:1px solid rgba(101,119,255,.3);border-radius:10px;color:#24335f;font-weight:800;grid-column:1 / -1;padding:9px 11px}.playlistLandingIntro li small{color:#655a7f;font-size:.7rem;margin-top:2px}.playlistWorkspaceOpen .heroPlayerArt{margin-inline:auto;max-width:1120px;width:100%}.playlistWorkspaceOpen .heroPlaylist{padding:4px 16px 16px}.playlistWorkspaceOpen .heroSamplePicker{grid-template-columns:repeat(4,minmax(0,1fr));max-height:260px;overflow-x:hidden}.heroPlaylist{background:#ffffffad;border:1px solid #ead9f3;border-radius:10px;display:block;margin-top:8px;padding:0 9px 9px}.heroSamplePicker{display:grid;gap:8px;grid-template-columns:repeat(3,minmax(0,1fr));max-height:128px;overflow-y:auto;padding-right:3px}.heroQueueHeader{align-items:center;color:#202d57;display:flex;gap:10px;justify-content:space-between;margin:10px 1px 7px}.heroQueueHeader>div:first-child{display:grid;gap:1px}.heroQueueHeader strong{font-size:.82rem}.heroQueueHeader span{color:#655a7f;font-size:.72rem;font-weight:700}.heroQueueActions{display:flex;gap:6px}.heroQueueActions button{align-items:center;background:#ffffffe6;border:1px solid #e6c9ef;border-radius:8px;box-shadow:none;color:#4c35b7;display:inline-flex;font-size:.68rem;font-weight:900;gap:4px;min-height:32px;padding:4px 8px}.heroQueueActions button:hover,.heroQueueActions button:focus-visible,.heroQueueActions button[aria-pressed=true]{background:#fff6cf;border-color:#6577ff}.heroQueueActions svg{height:14px;width:14px}.heroQueueActions .heroPlaylistStart{background:#6577ff;border-color:#6577ff;color:#fff}.heroPlaylistSetup{background:#fffaf0;border:1px solid #f3cee3;border-radius:8px;display:grid;gap:9px;margin-bottom:8px;padding:10px}.savedPlaylistChooser{display:grid;gap:10px;margin-bottom:8px;padding:12px;border:1px solid #d9d4ff;border-radius:14px;background:#faf9ff}.savedPlaylistChooser header{display:grid;gap:2px}.savedPlaylistChooser header span{color:#59546f;font-size:.78rem}.savedPlaylistList{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:8px}.savedPlaylistItem{align-items:stretch;display:grid;gap:6px;grid-template-columns:minmax(0,1fr) auto}.savedPlaylistChoice{display:flex;align-items:center;gap:9px;min-height:58px;padding:9px 11px;border:2px solid #ded9f7;border-radius:12px;background:#fff;color:#17132f;text-align:left;width:100%}.savedPlaylistDelete{align-items:center;background:#fff;border:1px solid #efb7c8;border-radius:10px;color:#9f294f;display:inline-flex;flex-direction:column;font-size:.68rem;gap:3px;justify-content:center;min-width:58px;padding:7px}.savedPlaylistDelete svg{height:17px;width:17px}.savedPlaylistChoice>b{display:grid;flex:0 0 28px;width:28px;height:28px;place-items:center;border:2px solid #6758e7;border-radius:7px;background:#fff;color:#fff}.savedPlaylistChoice>b svg{width:18px;height:18px}.savedPlaylistChoice>span{display:grid;min-width:0;gap:2px}.savedPlaylistChoice small{color:#625d76}.savedPlaylistChoice.isChecked{border-color:#6758e7;background:#f0edff}.savedPlaylistChoice.isChecked>b{background:#6758e7}.playlistSetupChoices{display:grid;gap:9px}.playlistSetupChoiceIntro{display:grid;gap:2px}.playlistSetupChoiceIntro strong{color:#202d57;font-size:.82rem}.playlistSetupChoiceIntro span{color:#655a7f;font-size:.7rem;font-weight:700}.playlistSetupChoice{align-items:center;background:#fff;border:1px solid #d9dff8;border-radius:10px;box-shadow:none;color:#202d57;display:grid;gap:10px;grid-template-columns:34px minmax(0,1fr);min-height:64px;padding:9px 12px;text-align:left;width:100%}.playlistSetupChoice>b{align-items:center;background:#6577ff;border-radius:999px;color:#fff;display:inline-flex;height:32px;justify-content:center;width:32px}.playlistSetupChoice>span{display:grid;gap:2px}.playlistSetupChoice strong{font-size:.78rem}.playlistSetupChoice small{color:#655a7f;font-size:.67rem;font-weight:700}.playlistSetupChoice.isRecommended{background:#f2f4ff;border-color:#6577ff;box-shadow:0 0 0 2px #6577ff1f}.heroManualPlaylistActions{display:flex;gap:6px}.heroPlaylistSetupHeader,.heroManualPlaylistBar{align-items:center;display:flex;gap:10px;justify-content:space-between}.heroPlaylistSetupHeader>div{display:grid;gap:1px}.heroPlaylistSetupHeader strong{color:#202d57;font-size:.78rem}.heroPlaylistSetupHeader span,.heroScheduleNote{color:#655a7f;font-size:.7rem;font-weight:700;margin:0}.heroPlaylistSetupHeader button,.heroManualPlaylistBar button,.heroPlaylistBuild{align-items:center;background:#fff;border:1px solid #e6c9ef;border-radius:8px;box-shadow:none;color:#4c35b7;display:inline-flex;font-size:.7rem;font-weight:900;gap:5px;min-height:36px;padding:6px 10px}.heroPlaylistFields{display:grid;gap:8px;grid-template-columns:1fr 1fr}.heroPlaylistFields label{color:#394b44;display:grid;font-size:.68rem;font-weight:900;gap:3px}.heroPlaylistFields select,.heroPlaylistFields input{background:#fff;border:1px solid #b9dcff;border-radius:7px;color:#202d57;font:inherit;min-height:38px;padding:6px 8px}.heroScheduleToggle{align-items:center;color:#202d57;display:flex;font-size:.72rem;font-weight:900;gap:7px}.heroScheduleToggle input{height:18px;width:18px}.heroPlaylistBuild{background:#6577ff;border-color:#6577ff;color:#fff;justify-content:center;min-height:40px;width:100%}.heroPlaylistBuild svg,.heroManualPlaylistBar svg{height:15px;width:15px}.heroQueueHelp{color:#655a7f;font-size:.72rem;font-weight:700;margin:0 1px 6px}.playlistPriorityBuilder{display:grid;gap:12px}.playlistPriorityGroup{background:#ffffffb8;border:1px solid #dce8ff;border-radius:12px;display:grid;gap:8px;padding:10px}.playlistPriorityGroup>header{align-items:center;display:flex;gap:9px}.playlistPriorityGroup>header>b{align-items:center;background:#6577ff;border-radius:999px;color:#fff;display:inline-flex;flex:0 0 27px;height:27px;justify-content:center}.playlistPriorityGroup>header>div{display:grid}.playlistPriorityGroup>header strong{color:#202d57;font-size:.8rem}.playlistPriorityGroup>header span{color:#655a7f;font-size:.67rem;font-weight:700}.playlistPriorityGroup>header .playlistCreateStoryLink{font-size:.74rem;margin-left:auto;min-height:36px;padding:6px 10px}.playlistSelectionCount{color:#263c83;font-size:.82rem;font-weight:900;margin-top:4px}.heroManualPlaylistActions button:disabled{background:#e7e9f1;border-color:#d6d9e5;color:#686f82;cursor:not-allowed;opacity:1}.finishedStoryNextStep{align-items:center;background:#eef8f1;border:2px solid #70b884;border-radius:14px;display:flex;gap:14px;justify-content:space-between;margin-top:12px;padding:14px}.finishedStoryNextStep>div{display:grid;gap:3px}.finishedStoryNextStep span{color:#3f5546;font-size:.86rem}.finishedStoryNextStep button{align-items:center;background:#315ee8;color:#fff;display:inline-flex;flex:0 0 auto;font-weight:900;gap:7px;justify-content:center;min-height:44px}.finishedStoryNextStep button svg{height:17px;width:17px}.finishedStoryPrimaryActions{display:flex;flex:0 0 auto;flex-wrap:wrap;gap:8px}.storyActionRow .storyPlayButton,.storyActionRow .storyPrepareAudioButton{align-items:center;display:inline-flex;gap:6px;justify-content:center}.storyActionRow button svg{height:16px;width:16px}.playlistCreateStoryLink svg{height:15px;width:15px}.playlistSongsGroup{border-color:#f0d493}.playlistSongsGroup>header>b{background:#ee9b32}.playlistExtrasGroup{gap:7px;padding:8px 10px}.playlistExtrasGroup>header>b{background:#7d8a98}.playlistExtraDropdowns{display:grid;gap:7px;grid-template-columns:1fr 1fr}.playlistExtraDropdowns label{align-items:center;display:grid;gap:5px;grid-template-columns:auto minmax(0,1fr)}.playlistExtraStatus{color:#8a5a21;font-size:.67rem;font-weight:800;grid-column:1 / -1;margin:0}.playlistExtraDropdowns label>span{color:#394b44;font-size:.67rem;font-weight:900}.playlistExtraDropdowns select,.playlistExtraDropdowns button{border:1px solid #d4dae5;border-radius:7px;font:inherit;min-height:34px}.playlistExtraDropdowns select{background:#fff;color:#202d57;min-width:0;padding:4px 6px}.playlistExtraDropdowns button{background:#eef1f5;color:#394b44;font-size:.67rem;font-weight:900;padding:4px 8px}.heroQueueItem{min-width:0;position:relative}.playlistOrderEditor{border:1px solid #d8dcf4;border-radius:14px;background:#f8f9ff;padding:12px}.playlistOrderEditor>header{display:grid;gap:3px;margin-bottom:10px}.playlistOrderEditor>header span{color:#5d6682;font-size:.78rem}.playlistOrderEditor ol{display:grid;gap:8px;list-style:none;margin:0;padding:0}.playlistOrderEditor li{--item-accent: #6577ff;align-items:center;border:1px solid #dfe3f1;border-left:5px solid var(--item-accent);border-radius:10px;background:#fff;display:grid;gap:9px;grid-template-columns:28px 48px minmax(120px,1fr) auto;min-height:62px;padding:7px}.playlistOrderEditor li[data-item-type=kids_song]{--item-accent: #e98a18}.playlistOrderEditor li[data-item-type=instrumental]{--item-accent: #2f9d69}.playlistOrderEditor li[data-item-type=sound]{--item-accent: #168fa1}.playlistOrderEditor li img{border-radius:7px;height:48px;object-fit:cover;width:48px}.playlistOrderNumber{color:#45537a;font-weight:900;text-align:center}.playlistOrderTitle{display:grid;gap:2px;min-width:0}.playlistOrderTitle strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.playlistOrderTitle small{color:#65708d}.playlistOrderActions{display:flex;gap:6px}.playlistOrderActions button{align-items:center;background:#fff;border:1px solid #ccd3e8;border-radius:8px;color:#263762;display:inline-flex;gap:4px;min-height:40px;padding:6px 9px}.playlistOrderActions button svg{height:16px;width:16px}.playlistOrderActions button:disabled{opacity:.4}.playlistOrderActions .playlistOrderRemove{border-color:#efb7bc;color:#a72832}.playlistAddItemsHeading{color:#172d64;margin:14px 0 2px}@media(max-width:720px){.playlistOrderEditor li{grid-template-columns:24px 48px minmax(0,1fr)}.playlistOrderActions{grid-column:2 / -1}.playlistOrderActions button{flex:1;justify-content:center}}.heroSamplePicker .heroQueueSelect{--item-accent: #6577ff;--item-soft: #eef0ff;align-items:center;background:#ffffffe0;border:1px solid #e6c9ef;border-radius:8px;box-shadow:none;color:#202d57;display:grid;font-size:.72rem;font-weight:800;gap:7px;grid-template-columns:34px minmax(0,1fr);line-height:1.15;min-height:48px;padding:5px 7px;text-align:left;width:100%}.heroQueueSelect[data-item-type=kids_song]{--item-accent: #e98a18;--item-soft: #fff1d8}.heroQueueSelect[data-item-type=instrumental]{--item-accent: #2f9d69;--item-soft: #e4f7ed}.heroQueueSelect[data-item-type=sound]{--item-accent: #168fa1;--item-soft: #e1f6f9}.heroQueueSelect[data-item-type]{border-left:5px solid var(--item-accent);background:linear-gradient(90deg,var(--item-soft),rgba(255,255,255,.94) 48%)}.heroSamplePicker .heroQueueSelect>span{align-items:center;display:flex;gap:6px;min-width:0}.heroQueueSelectText{display:grid;gap:2px;min-width:0}.heroQueueSelectText small{color:#655a7f;font-size:.62rem}.heroSamplePicker .heroQueueSelect b{align-items:center;background:var(--item-soft);border-radius:999px;color:var(--item-accent);display:inline-flex;flex:0 0 20px;font-size:.65rem;height:20px;justify-content:center}.heroSamplePicker .heroQueueSelect b svg{height:12px;width:12px}.heroSamplePicker.isEditing .heroQueueSelect[aria-pressed=false]{opacity:.58}.heroSamplePicker .heroQueueSelect:hover,.heroSamplePicker .heroQueueSelect:focus-visible,.heroSamplePicker .heroQueueSelect[aria-pressed=true]{background:#fff;border-color:var(--item-accent);box-shadow:0 0 0 2px color-mix(in srgb,var(--item-accent) 22%,transparent)}.heroQueueSelect[data-item-type] small{background:var(--item-soft);border-radius:999px;color:var(--item-accent);font-size:.58rem;font-weight:900;padding:2px 5px}.heroSamplePicker img{aspect-ratio:3 / 4;border-radius:4px;height:38px;object-fit:cover;width:29px}.heroSamplePicker.isEditing .heroQueueSelect{gap:12px;grid-template-columns:68px minmax(0,1fr);min-height:98px;padding:7px 10px}.heroSamplePicker.isEditing .heroQueueSelect b{background:#fff;border:2px solid var(--item-accent);box-shadow:0 2px 7px #0b10203d;color:var(--item-accent);flex-basis:28px;font-size:.8rem;height:28px}.heroSamplePicker.isEditing .heroQueueSelect b svg{height:16px;stroke-width:3;width:16px}.heroSamplePicker.isEditing img{height:84px;width:63px}.heroSamplePicker.isEditing .heroQueueSelectText{font-size:.8rem;line-height:1.25}.bedtimePlayer{--item-accent: #7786ff;--item-soft: rgba(119, 134, 255, .18);color:#fff3d6;font-family:Nunito,system-ui,sans-serif;position:relative}.notFoundPage{align-items:center;display:flex;justify-content:center;min-height:100dvh;padding:24px}.notFoundCard{background:#fffffff0;border:1px solid #e6c9ef;border-radius:24px;box-shadow:0 24px 70px #281f5429;color:#202d57;max-width:620px;padding:clamp(28px,7vw,58px);text-align:center}.notFoundCard>span{color:#6577ff;display:block;font-size:clamp(4rem,16vw,8rem);font-weight:1000;letter-spacing:-.08em;line-height:.8;margin-bottom:24px}.notFoundCard h1{font-size:clamp(1.8rem,5vw,3rem);margin:8px 0 12px}.notFoundCard>p:not(.eyebrow){color:#655a7f;line-height:1.6}.notFoundActions{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;margin-top:24px}.bedtimePlayer-kids_song{--item-accent: #f2a436;--item-soft: rgba(242, 164, 54, .18)}.bedtimePlayer-instrumental{--item-accent: #55bd82;--item-soft: rgba(85, 189, 130, .18)}.bedtimePlayer-sound{--item-accent: #40bed0;--item-soft: rgba(64, 190, 208, .18)}.bedtimePlayerSurface{background:linear-gradient(150deg,#1b2745fa,#0b1020fc);border:1px solid color-mix(in srgb,var(--item-accent) 48%,transparent);border-top:5px solid var(--item-accent);box-shadow:0 24px 58px #0b102052;overflow:hidden;position:relative;z-index:1}.bedtimePlayerCompact .bedtimePlayerSurface{border-radius:18px;padding:15px}.bedtimePlayerFull{align-items:center;display:flex;min-height:100dvh;justify-content:center;overflow:hidden;padding:24px}.bedtimePlayerFull .bedtimePlayerSurface{border-radius:24px;max-width:920px;padding:22px 28px 20px;width:min(100%,920px)}.bedtimePlayerBackdrop{background-position:center;background-size:cover;filter:blur(44px) saturate(.78);inset:-60px;opacity:.28;position:fixed;transform:scale(1.12)}.bedtimePlayerBackdrop:after{background:#0b1020c7;content:"";inset:0;position:absolute}.bedtimePlayerHeader{align-items:center;display:grid;grid-template-columns:44px 1fr 44px;margin-bottom:14px;text-align:center}.bedtimePlayerHeader>div{display:grid;gap:1px}.bedtimePlayerHeader strong{color:#fff3d6;font-size:.82rem;letter-spacing:.06em;text-transform:uppercase}.bedtimePlayerHeader span{color:#ffffff9e;font-size:.74rem}.bedtimePlayerHeader>svg{height:20px;justify-self:center;opacity:.68;width:20px}.playerIconButton,.playerPrimaryControls button,.playerVolumeControl button{align-items:center;background:transparent!important;border:0;box-shadow:none!important;color:#fff3d6!important;display:inline-flex;justify-content:center;min-height:44px;min-width:44px;padding:0}.playerIconButton svg{height:21px;width:21px}.bedtimePlayerBody{align-items:center;display:grid;gap:26px;grid-template-columns:minmax(170px,.74fr) minmax(250px,1.26fr)}.bedtimePlayerCover{aspect-ratio:auto;background:#0b1020;border:3px solid var(--item-accent);border-radius:13px;box-shadow:0 18px 42px #00000061;display:block;height:auto;max-height:440px;object-fit:contain;object-position:center;width:100%}.heroArt img.bedtimePlayerCover{border-radius:13px;height:auto;object-fit:contain}.bedtimePlayerCompact .bedtimePlayerBody{gap:22px;grid-template-columns:minmax(210px,.42fr) minmax(0,1.58fr)}.bedtimePlayerCompact .bedtimePlayerCover{justify-self:center;max-height:none;max-width:340px;width:100%}.bedtimePlayerDetails{min-width:0}.bedtimePlayerDetails .playerSampleLabel{background:var(--item-soft);border-radius:999px;color:var(--item-accent);display:inline-flex;font-size:.72rem;font-weight:900;letter-spacing:.08em;margin:0 0 7px;padding:4px 8px;text-transform:uppercase}.bedtimePlayerDetails h2{color:#fff3d6;font-size:clamp(1.3rem,2.5vw,2rem);line-height:1.12;margin:0 0 5px}.bedtimePlayerCompact .bedtimePlayerDetails h2{font-size:1.18rem}.bedtimePlayerDetails>p:not(.playerSampleLabel,.playerTimerStatus){color:#ffffffa6;font-size:.82rem;margin:2px 0}.playerProgressLabel{display:block;margin-top:15px}.playerProgressLabel input,.playerVolumeControl input{accent-color:var(--item-accent);cursor:pointer;height:24px;margin:0;width:100%}.playerProgressLabel input{background:linear-gradient(to right,#f6d88a 0 var(--player-progress),rgba(255,255,255,.18) var(--player-progress) 100%);border:0;border-radius:999px}.playerTimes{color:#ffffff94;display:flex;font-size:.72rem;justify-content:space-between;margin-top:-2px}.playerPrimaryControls{align-items:center;display:flex;gap:12px;justify-content:center;margin:8px 0 10px}.playerPrimaryControls button:not(.playerPlayButton){position:relative}.playerPrimaryControls button:not(.playerPlayButton) svg{height:25px;width:25px}.playerPrimaryControls button:not(.playerPlayButton) span{font-size:.55rem;font-weight:900;position:absolute}.playerPrimaryControls .playerPlayButton{background:#f6d88a!important;border-radius:999px;box-shadow:0 10px 30px #f6d88a33!important;color:#0b1020!important;height:58px;width:58px}.playerPlayButton svg{height:26px;width:26px}.playerPlayButton svg:first-child:not(:only-child){margin-left:2px}.playerSpinner{animation:bedtime-spin .9s linear infinite;border:3px solid rgba(11,16,32,.24);border-radius:50%;border-top-color:#0b1020;height:23px;width:23px}@keyframes bedtime-spin{to{transform:rotate(360deg)}}.playerSecondaryControls{align-items:end;display:grid;gap:9px;grid-template-columns:repeat(2,minmax(0,1fr))}.bedtimePlayerCompact .playerVolumeControl{grid-column:auto}.bedtimePlayerCompact .playerSecondaryControls{align-items:center;grid-template-columns:minmax(0,1fr) auto}.playerMoreButton{align-items:center;background:#ffffff17;border:1px solid rgba(255,255,255,.18);border-radius:9px;box-shadow:none;color:#fff3d6;display:inline-flex;font-size:.75rem;font-weight:900;gap:6px;min-height:40px;padding:0 12px}.playerMoreButton svg{height:16px;width:16px}.adminMusicEditor{display:grid;gap:12px}.adminMusicReviewCard{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:14px;border:1px solid #f0b8d2;border-radius:8px;background:#fff}.adminMusicReviewCard>div:first-child,.adminMusicReviewCard>audio,.adminMusicNotes,.adminMusicReviewCard .storyActionRow{grid-column:1 / -1}.adminMusicReviewCard audio{width:100%}.playerLinkCopied{color:#3f2a76;font-size:.85rem;font-weight:700}@media(max-width:640px){.storyLibraryFilters{grid-template-columns:repeat(2,minmax(0,1fr))}.storySearchToggle{align-items:center;display:inline-flex;gap:7px;grid-column:1 / -1;justify-self:end;min-height:44px}.storySearchToggle svg{height:18px;width:18px}.storyLibraryFilters input{display:none;grid-column:1 / -1}.storyLibraryFilters input.isOpen{display:block}.storyLibraryFilters select{min-width:0;width:100%}.moreToolsMenu{left:0;right:0;top:58px;width:auto}.heroQueueHeader{align-items:flex-start;flex-direction:column}.heroQueueActions{width:100%}.heroQueueActions button{flex:1 1 0;justify-content:center;min-height:40px}.heroPlaylistSetupHeader,.heroManualPlaylistBar{align-items:stretch;flex-direction:column}.heroPlaylistSetupHeader button,.heroManualPlaylistBar button{justify-content:center;min-height:44px;width:100%}.heroManualPlaylistActions{display:grid;grid-template-columns:1fr}.playlistSetupChoice{min-height:78px}.heroPlaylistFields,.adminMusicReviewCard{grid-template-columns:1fr}}.bedtimePlayerFull .playerSecondaryControls{grid-template-columns:1fr 1fr 1.4fr}.playerSecondaryControls label{color:#ffffff9e;display:grid;font-size:.69rem;font-weight:800;gap:4px}.playerSecondaryControls label>span{align-items:center;display:flex;gap:4px}.playerSecondaryControls label svg{height:13px;width:13px}.playerSecondaryControls select{background:#ffffff17;border:1px solid rgba(255,255,255,.14);border-radius:9px;color:#fff3d6;font:inherit;min-height:38px;padding:0 8px;width:100%}.playerSecondaryControls option{background:#17213d}.playerLevelingToggle button{background:#ffffff17;border:1px solid rgba(255,255,255,.18);border-radius:9px;color:#fff3d6;font:inherit;font-weight:900;min-height:38px}.playerLevelingToggle button[aria-checked=true]{background:#2f9d69;border-color:#83d9af;color:#fff}.playerVolumeControl{align-items:center;display:flex!important;grid-template-columns:40px 1fr}.playerVolumeControl button svg{height:18px;width:18px}.playerTimerStatus{color:#f6d88a;font-size:.72rem;margin:8px 0 0;text-align:center}.bedtimeReminder{color:#ffffff80;font-size:.76rem;margin:18px 0 0;text-align:center}.playerError{background:#fff3d614;border:1px solid rgba(246,216,138,.3);border-radius:12px;margin-top:16px;padding:12px}.playerError p{color:#fff3d6;margin:0 0 8px}.playerError button,.playerCompletion button,.playerCompletion a,.bedtimeLoadActions button,.bedtimeLoadActions a{background:#f6d88a;border:0;border-radius:10px;color:#0b1020;display:inline-flex;font-weight:900;justify-content:center;min-height:44px;padding:11px 15px;text-decoration:none}.playerCompletion{background:#0b1020f7;border:1px solid rgba(246,216,138,.3);border-radius:18px;inset:auto 20px 20px;padding:20px;position:absolute;text-align:center;z-index:3}.playerCompletion h3{color:#fff3d6;font-size:1.6rem;margin:0}.playerCompletion p{color:#ffffffad}.playerCompletion div,.bedtimeLoadActions{display:flex;gap:10px;justify-content:center}.bedtimePlayerPage{background:#0b1020;min-height:100dvh}.sharedAudioElement{display:none}.rightsFooter{color:#655a7f;font-size:.76rem;line-height:1.5;margin-top:28px;padding:18px 20px;text-align:center;width:100%}.bedtimePlayerPage .rightsFooter{color:#ffffffa3}body.hasPersistentMiniPlayer{padding-bottom:94px}.persistentMiniPlayer{align-items:center;background:#121b34fa;border:1px solid rgba(246,216,138,.42);border-radius:14px;bottom:12px;box-shadow:0 18px 46px #0b102057;color:#fff3d6;display:grid;font-family:Nunito,system-ui,sans-serif;gap:10px;grid-template-columns:52px minmax(130px,210px) 44px 50px 44px minmax(280px,1fr) 44px 44px 44px;left:50%;max-width:1120px;min-height:72px;padding:9px 10px;position:fixed;transform:translate(-50%);width:calc(100% - 32px);z-index:1000}.persistentPlaylistPanel{background:#fffaf0;border:1px solid rgba(101,119,255,.34);border-radius:18px;bottom:94px;box-shadow:0 22px 60px #0b10204d;color:#202d57;left:50%;max-height:min(560px,58dvh);max-width:1120px;overflow:hidden;padding:14px;position:fixed;transform:translate(-50%);width:calc(100% - 32px);z-index:999}.persistentPlaylistPanel>header{align-items:center;display:flex;justify-content:space-between;margin-bottom:10px}.persistentPlaylistPanel>header div{display:grid}.persistentPlaylistPanel>header strong{font-size:1rem}.persistentPlaylistPanel>header span,.persistentPlaylistPanel>p{color:#655a7f;font-size:.8rem;font-weight:700}.persistentPlaylistPanel button{min-height:42px}.persistentPlaylistPanel>header button,.persistentQueueActions button{align-items:center;background:#fff;border:1px solid #dfd5ed;border-radius:10px;box-shadow:none;color:#4c35b7;display:inline-flex;justify-content:center;min-width:42px;padding:6px}.persistentPlaylistPanel ol{display:grid;gap:7px;list-style:none;margin:0;max-height:calc(min(560px,58dvh) - 70px);overflow-y:auto;padding:0 3px 2px 0}.persistentPlaylistPanel li{align-items:center;background:#ffffffd1;border:1px solid #eadff0;border-radius:12px;display:grid;gap:8px;grid-template-columns:minmax(0,1fr) auto;padding:6px}.persistentPlaylistPanel li.current{background:#fff6cf;border-color:#6577ff;box-shadow:inset 4px 0 #6577ff}.persistentQueueItem{align-items:center;background:transparent;border:0;box-shadow:none;color:#202d57;display:grid;gap:9px;grid-template-columns:46px minmax(0,1fr);padding:2px;text-align:left}.persistentQueueItem img{aspect-ratio:1;border-radius:8px;height:46px;object-fit:cover;width:46px}.persistentQueueItem span{display:grid;min-width:0}.persistentQueueItem b,.persistentQueueItem small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.persistentQueueItem small{color:#655a7f}.persistentQueueActions{display:flex;gap:5px}.persistentMiniPlayer>img{aspect-ratio:1;border:1px solid rgba(246,216,138,.32);border-radius:8px;height:52px;object-fit:cover;width:52px}.miniPlayerTitle{display:grid;min-width:0}.miniPlayerTitle strong,.miniPlayerTitle span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.miniPlayerTitle strong{color:#fff3d6;font-size:.9rem}.miniPlayerTitle span{color:#ffffff9e;font-size:.72rem}.persistentMiniPlayer button{align-items:center;background:transparent;border:0;border-radius:999px;box-shadow:none;color:#fff3d6;display:inline-flex;height:44px;justify-content:center;min-height:44px;min-width:44px;padding:0}.persistentMiniPlayer button:hover,.persistentMiniPlayer button:focus-visible{background:#ffffff1a;outline:3px solid rgba(246,216,138,.28)}.persistentMiniPlayer svg{height:20px;width:20px}.persistentMiniPlayer .miniPlayerPlay{background:#f6d88a;color:#0b1020;height:48px;width:48px}.miniPlayerDesktopControls{align-items:center;display:flex;gap:9px;min-width:0}.miniPlayerProgress{appearance:none;accent-color:#f6d88a;background:linear-gradient(to right,#f6d88a 0 var(--mini-progress),rgba(255,255,255,.18) var(--mini-progress) 100%);border-radius:999px;cursor:ew-resize;height:8px;min-width:120px;touch-action:none;width:100%}.miniPlayerProgress::-webkit-slider-thumb{appearance:none;background:#f6d88a;border:3px solid #fff3d6;border-radius:50%;box-shadow:0 1px 6px #00000059;height:22px;width:22px}.miniPlayerProgress::-moz-range-thumb{background:#f6d88a;border:3px solid #fff3d6;border-radius:50%;box-shadow:0 1px 6px #00000059;height:16px;width:16px}.miniPlayerProgress:focus-visible{outline:3px solid rgba(246,216,138,.48);outline-offset:6px}.miniPlayerRemaining{color:#ffffffa3;font-size:.72rem;min-width:40px}.miniPlayerVolume{align-items:center;display:grid;gap:5px;grid-template-columns:20px 80px}.miniPlayerVolume input{accent-color:#f6d88a;min-width:0;width:100%}.fullBedtimeWorkspace{display:grid;min-height:100dvh;width:100%}.fullBedtimeNavigation{align-items:center;align-self:end;background:#121b34fa;border-top:1px solid rgba(246,216,138,.24);display:flex;flex-wrap:wrap;gap:8px;justify-content:center;padding:12px 18px;position:relative;z-index:4}.fullBedtimeNavigation button{background:#ffffff12;border:1px solid rgba(246,216,138,.24);border-radius:9px;box-shadow:none;color:#fff3d6;min-height:42px;padding:8px 13px}.fullBedtimeNavigation button[aria-current=page]{background:#f6d88a;color:#0b1020}.bedtimePlayerLoadState{align-items:center;color:#fff3d6;display:flex;flex-direction:column;gap:18px;justify-content:center;padding:28px;text-align:center}.bedtimeLoadingCover{animation:bedtime-pulse 1.8s ease-in-out infinite;aspect-ratio:3 / 4;background:#1b2745;border-radius:16px;width:min(56vw,260px)}.bedtimeLoadingLine{animation:bedtime-pulse 1.8s ease-in-out infinite;background:#1b2745;border-radius:999px;height:18px;width:min(70vw,360px)}@keyframes bedtime-pulse{50%{opacity:.48}}.srOnly{clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}@media(max-width:980px){.heroPlayerArt{margin-inline:auto;max-width:620px;width:100%}}@media(max-width:640px){.playlistLandingIntro{grid-template-columns:1fr;padding:14px}.playlistLandingIntro ol{grid-column:1;grid-row:auto;grid-template-columns:1fr}.playlistStoryCreatorCallout{grid-template-columns:auto minmax(0,1fr)}.playlistStoryCreatorCallout button{grid-column:1 / -1;min-height:46px;width:100%}.playlistPriorityGroup>header .playlistCreateStoryLink{grid-column:1 / -1;margin-left:0;min-height:44px;width:100%}.finishedStoryNextStep{align-items:stretch;flex-direction:column}.finishedStoryNextStep button{width:100%}.finishedStoryPrimaryActions{display:grid;width:100%}.playlistLandingIntro li{min-height:58px}.heroCtasDesktop{display:none}.heroCtasMobile{display:grid;gap:10px;margin:0;width:100%}.heroCtasMobile button{min-height:48px;width:100%}.heroSamplePicker{display:flex;max-height:none;overflow-x:auto;overflow-y:hidden;padding-bottom:3px;scroll-snap-type:x proximity}.playlistWorkspaceOpen .heroSamplePicker{display:flex;max-height:none;overflow-x:auto;overflow-y:hidden}.heroQueueItem{flex:0 0 180px;scroll-snap-align:start}.heroSamplePicker .heroQueueSelect{min-height:52px}.heroSamplePicker.isEditing,.playlistWorkspaceOpen .heroSamplePicker.isEditing{display:grid;gap:10px;grid-template-columns:minmax(0,1fr);max-height:68dvh;overflow-x:hidden;overflow-y:auto;padding:3px 4px 6px 2px}.heroSamplePicker.isEditing .heroQueueSelect{align-content:center;display:grid;gap:8px;grid-template-columns:120px minmax(0,1fr);min-height:176px;padding:8px;position:relative}.heroSamplePicker.isEditing .heroQueueSelect>span{align-items:start;display:block}.heroSamplePicker.isEditing .heroQueueSelect b{background:#fff;border:3px solid var(--item-accent);box-shadow:0 2px 8px #0b102047;color:var(--item-accent);height:32px;position:absolute;right:12px;top:12px;width:32px;z-index:2}.heroSamplePicker.isEditing img{aspect-ratio:3 / 4;background:#eef1f8;border-radius:8px;height:160px;object-fit:contain;width:120px}.heroSamplePicker.isEditing .heroQueueSelectText{font-size:.78rem;line-height:1.22;min-height:42px}.bedtimePlayerCompact .bedtimePlayerBody,.bedtimePlayerFull .bedtimePlayerBody{grid-template-columns:1fr}.bedtimePlayerCompact .bedtimePlayerCover{margin-inline:auto;max-height:none;max-width:min(100%,290px);width:auto}.bedtimePlayerFull{align-items:flex-start;padding:0}.bedtimePlayerFull .bedtimePlayerSurface{border:0;border-radius:0;min-height:100dvh;padding:18px 18px 24px}body.hasPersistentMiniPlayer{padding-bottom:82px}.persistentMiniPlayer{bottom:8px;gap:8px;grid-template-columns:46px minmax(0,1fr) 48px 44px 44px 44px;min-height:66px;padding:8px;width:calc(100% - 16px)}.persistentMiniPlayer>img{height:46px;width:46px}.persistentMiniPlayer .miniPlayerDesktopControls,.persistentMiniPlayer .miniPlayerClose,.miniPlayerTitle span{display:none}.persistentPlaylistPanel{bottom:82px;border-radius:16px 16px 0 0;max-height:68dvh;padding:12px 10px;width:calc(100% - 12px)}.persistentPlaylistPanel ol{max-height:calc(68dvh - 68px)}.persistentQueueActions{display:grid;grid-template-columns:repeat(3,42px)}.fullBedtimeNavigation{justify-content:flex-start;overflow-x:auto;padding-bottom:max(12px,env(safe-area-inset-bottom))}.fullBedtimeNavigation button{flex:0 0 auto}.bedtimePlayerFull .bedtimePlayerCover{margin-inline:auto;max-height:42dvh;width:auto}.bedtimePlayerFull .playerSecondaryControls{grid-template-columns:1fr 1fr}.bedtimePlayerFull .playerVolumeControl{grid-column:1 / -1}.playerCompletion div,.bedtimeLoadActions{flex-direction:column}}.sleepExperience{width:min(1240px,calc(100% - 32px));margin:18px auto 40px;color:#172650}.sleepPageHeader,.sleepSectionTitle,.sleepSectionTitle>div,.sleepSoundActions,.masterControls,.saveRoutineRow,.familySleepRecording,.sleepSafety{display:flex;align-items:center}.sleepPageHeader{justify-content:space-between;gap:24px;padding:22px 24px;border:1px solid #f1b9d1;border-radius:8px;background:#fffdf7;box-shadow:0 12px 30px #30356f14}.sleepPageHeader h2{margin:4px 0 6px;font-size:clamp(1.8rem,3vw,2.5rem);letter-spacing:0}.sleepPageHeader p{margin:0;max-width:720px}.sleepDarkToggle,.sleepSoundActions button,.masterControls button,.mixerMinimize{min-width:44px;min-height:44px}.sleepWorkspace{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(330px,.85fr);gap:16px;margin-top:16px;align-items:start}.sleepLibrarySection,.bedtimeMixer,.familySleepRecording,.sleepSafety,.sleepAdminNotice{border:1px solid #c7dcff;border-radius:8px;background:#fffffff5;box-shadow:0 12px 28px #30356f12}.sleepLibrarySection,.bedtimeMixer{padding:18px}.bedtimeMixer{position:sticky;scroll-margin-top:12px;top:12px}.sleepSectionTitle{justify-content:space-between;gap:12px;margin-bottom:12px}.sleepSectionTitle>div{gap:8px}.sleepSectionTitle h2{margin:0;font-size:1.25rem}.sleepSectionTitle svg,.sleepSearch svg{width:20px;height:20px;color:#6654da}.sleepSearch{position:relative;display:block}.sleepSearch svg{position:absolute;left:13px;top:13px}.sleepSearch input{width:100%;min-height:46px;padding-left:42px}.sleepFilters{display:flex;gap:8px;padding:10px 0 14px;overflow-x:auto}.sleepFilters button{min-height:40px;white-space:nowrap;background:#fff;color:#4e3aaa;border-color:#ebbad4}.sleepFilters button.selected{background:#546dff;color:#fff;border-color:#546dff}.recentSounds{display:flex;align-items:center;gap:8px;overflow-x:auto;padding:0 0 12px}.recentSounds button{min-height:36px;padding:6px 10px;white-space:nowrap}.sleepSoundGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.sleepSoundCard{display:grid;grid-template-columns:76px minmax(0,1fr);overflow:hidden;border:1px solid #d9ddf4;border-radius:8px;background:#fff}.sleepSoundArtwork{display:grid;place-items:center;color:#fff;background:#7187e8}.sleepSoundCard.tone-pink .sleepSoundArtwork{background:#e176a7}.sleepSoundCard.tone-blue .sleepSoundArtwork{background:#4c9fd8}.sleepSoundCard.tone-yellow .sleepSoundArtwork{background:#c88a21}.sleepSoundCard.tone-lavender .sleepSoundArtwork{background:#8068c7}.sleepSoundCard.tone-navy .sleepSoundArtwork{background:#25376f}.sleepSoundArtwork svg{width:30px;height:30px}.sleepSoundCardBody{min-width:0;padding:12px}.sleepSoundCardBody>div:first-child{display:flex;justify-content:space-between;gap:8px;color:#67627e;font-size:.75rem}.sleepSoundCardBody h3,.sleepSoundCardBody p{margin:5px 0}.sleepSoundCardBody h3{font-size:1rem}.sleepSoundCardBody p,.sleepSoundCardBody small{color:#5c6172;font-size:.82rem}.sleepSoundActions{gap:6px;margin-top:10px}.sleepSoundActions button:last-child{flex:1}.mixerLayer{padding:12px 0;border-top:1px solid #e5e1f1}.mixerLayerHeader{display:flex;align-items:center;gap:8px;margin-bottom:8px}.mixerLayerHeader>span{display:grid;width:25px;height:25px;place-items:center;border-radius:50%;background:#ffe69b;color:#283867;font-weight:800}.mixerLayer select,.timerControls select{width:100%}.selectedStoryMini{display:grid;grid-template-columns:48px minmax(0,1fr);gap:10px;align-items:center;margin-top:8px}.selectedStoryMini img{width:48px;aspect-ratio:3 / 4;object-fit:cover;border-radius:4px}.selectedStoryMini span,.selectedStoryMini small{display:block}.sleepVolumeControl{display:block;margin-top:10px}.sleepVolumeControl>span{display:grid;grid-template-columns:20px 1fr auto;gap:7px;align-items:center;font-size:.86rem}.sleepVolumeControl input{width:100%}.sleepCheck{display:flex;gap:8px;align-items:center;margin-top:10px}.masterControls{gap:8px;padding:12px;border-radius:8px;background:#fff4c9}.masterControls .sleepVolumeControl{flex:1;margin:0}.masterPlay{color:#fff;background:#526aff}.mixerStatus{min-height:42px;margin:10px 0;padding:9px 10px;border-left:4px solid #e578ab;background:#fff5fa}.timerControls{display:grid;grid-template-columns:1fr 1fr;gap:8px}.timerControls label{display:grid;gap:4px}.timerControls strong{grid-column:1 / -1}.saveRoutineRow{gap:8px;margin-top:12px}.saveRoutineRow input{flex:1}.savedRoutines{margin-top:12px}.savedRoutines>div{display:grid;grid-template-columns:minmax(0,1fr) 44px 44px;gap:6px;margin-top:6px}.savedRoutines>div>button:first-child{justify-content:flex-start;overflow:hidden;text-overflow:ellipsis}.familySleepRecording,.sleepSafety,.sleepAdminNotice{gap:10px;margin-top:16px;padding:16px 18px}.familySleepRecording>div{flex:1}.familySleepRecording h2,.familySleepRecording p,.sleepSafety p{margin:2px 0}.uploadFamilySound{display:inline-flex;min-height:44px;align-items:center;gap:7px;padding:8px 12px;border:1px solid #e7aaca;border-radius:8px;cursor:pointer}.uploadFamilySound input{position:absolute;width:1px;height:1px;opacity:0}.familySleepRecording [role=status]{flex-basis:100%}.sleepSafety{align-items:flex-start;border-color:#e8c969;background:#fff9dd}.sleepSafety>div{flex:1}.sleepAdminNotice{border-color:#e1b1d4;background:#fff5fb}.sleepAdminGrid{margin-top:12px;border-top:1px solid #e7c772;max-height:320px;overflow:auto}.sleepAdminGrid>div{display:grid;grid-template-columns:minmax(150px,1.5fr) minmax(130px,1fr) minmax(110px,1fr) auto;gap:10px;align-items:center;padding:8px 0;border-bottom:1px solid #ead797}.sleepAdminGrid button{min-height:38px}.sleepDarkMode{color:#f8f5ff;padding:10px;border-radius:8px;background:#151b34}.sleepDarkMode .sleepPageHeader,.sleepDarkMode .sleepLibrarySection,.sleepDarkMode .bedtimeMixer,.sleepDarkMode .familySleepRecording,.sleepDarkMode .sleepSoundCard,.sleepDarkMode .sleepAdminNotice{color:#f8f5ff;background:#202946;border-color:#4b587d}.sleepDarkMode p,.sleepDarkMode small,.sleepDarkMode .sleepSoundCardBody p,.sleepDarkMode .sleepSoundCardBody small{color:#d9dcf1}.sleepDarkMode input,.sleepDarkMode select,.sleepDarkMode button:not(.masterPlay){color:#f8f5ff;background:#2a3558;border-color:#66749e}.sleepExperience button:focus-visible,.sleepExperience input:focus-visible,.sleepExperience select:focus-visible{outline:3px solid #ffbe3d;outline-offset:2px}@media(max-width:900px){.sleepWorkspace{grid-template-columns:1fr}.bedtimeMixer{position:sticky;z-index:8;top:8px}.familySleepRecording{flex-wrap:wrap}}@media(max-width:640px){.sleepExperience{box-sizing:border-box;max-width:100%;min-width:0;width:100%;margin-top:10px}.sleepExperience>*,.sleepWorkspace,.sleepLibrarySection,.bedtimeMixer{box-sizing:border-box;max-width:100%;min-width:0}.sleepPageHeader{display:grid;padding:16px}.sleepDarkToggle{width:100%}.sleepLibrarySection,.bedtimeMixer{padding:12px}.sleepSoundGrid{grid-template-columns:1fr}.sleepSoundCard{grid-template-columns:64px minmax(0,1fr)}.sleepFilters button,.recentSounds button{min-height:44px}.sleepFilters,.recentSounds{max-width:100%;min-width:0;overscroll-behavior-x:contain}.timerControls{grid-template-columns:1fr}.saveRoutineRow,.familySleepRecording{align-items:stretch;flex-direction:column}.saveRoutineRow button,.familySleepRecording button,.uploadFamilySound{width:100%}.familySleepRecording input:not([type=file]){width:100%}.uploadFamilySound input[type=file]{height:1px;width:1px}}.bedtimeAuthPage{min-height:100vh;padding:18px 5vw 28px;color:#102b6c;background:radial-gradient(circle at 9% 8%,#ffd677 0 5px,transparent 6px),radial-gradient(circle at 94% 18%,#f7b9d0 0 5px,transparent 6px),radial-gradient(circle at 82% 88%,#afd8f5 0 5px,transparent 6px),#fffdfa;background-size:210px 190px,260px 230px,290px 240px}.bedtimeAuthHeader{max-width:1500px;min-height:64px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:20px}.bedtimeAuthBrand{color:#102b6c;text-decoration:none;font-size:22px;font-weight:900;letter-spacing:.1em}.bedtimeAuthSignIn{color:#102b6c;text-decoration:none;min-height:44px;display:flex;align-items:center;gap:6px}.bedtimeAuthLayout{max-width:1500px;min-height:690px;margin:auto;display:grid;grid-template-columns:1.2fr .8fr;overflow:hidden;border:1px solid #d6dcef;border-radius:28px;background:#fff;box-shadow:0 16px 44px #152a5e14}.bedtimeAuthImage{position:relative;min-height:690px;margin-right:-80px;background:url(/auth/sleeping-child-hero.png) left center/cover no-repeat;-webkit-mask-image:linear-gradient(90deg,#000 0%,#000 82%,rgba(0,0,0,.72) 89%,transparent 100%);mask-image:linear-gradient(90deg,#000 0%,#000 82%,rgba(0,0,0,.72) 89%,transparent 100%)}.bedtimeAuthPanel{position:relative;z-index:2;align-self:center;padding:clamp(28px,3vw,46px);background:#fff}.bedtimeAuthPanel h1{margin:0 0 14px;font-size:clamp(34px,3vw,46px);line-height:1.04;letter-spacing:-.03em}.bedtimeAuthEyebrow{margin:0 0 10px;color:#6359f3;font-weight:850;letter-spacing:.04em}.bedtimeAuthLead{margin:0 0 18px;font-size:17px;line-height:1.45}.bedtimeAuthPreview{display:inline-flex;min-height:44px;align-items:center;margin-bottom:10px;color:#1557df;text-decoration:none;font-weight:750}.bedtimeClerkRoot,.bedtimeClerkCardBox{width:100%!important}.bedtimeClerkCard{width:100%!important;padding:0!important;border:0!important;box-shadow:none!important;background:transparent!important}.bedtimeClerkHidden{display:none!important}.bedtimeClerkPrimary,.bedtimePrimary{min-height:48px!important;color:#102b6c!important;background:linear-gradient(90deg,#ffc127,#ffd552)!important;box-shadow:none!important;font-weight:850!important}.bedtimeClerkSocial{min-height:48px!important;border:1px solid #ccd4e5!important;background:#fff!important}.bedtimeAuthNote{text-align:center;color:#334c84;line-height:1.55}.bedtimeAuthBenefits{max-width:1380px;margin:0 auto;padding:28px 3vw 0;display:grid;grid-template-columns:repeat(3,1fr);gap:32px}.bedtimeAuthBenefits div{display:grid;grid-template-columns:56px 1fr;gap:14px}.bedtimeAuthBenefits span{display:grid;place-items:center;width:54px;height:54px;border-radius:50%;background:#fff0c9;font-size:28px}.bedtimeAuthBenefits p{display:grid;gap:5px;margin:0}.bedtimeAuthBenefits small{line-height:1.4}.bedtimeSetupForm{display:grid;gap:14px}.bedtimeSetupForm label{font-weight:750}.bedtimeSetupForm input:not([type=radio]):not([type=checkbox]){display:block;width:100%;min-height:46px;margin-top:5px;padding:10px 13px;border:1px solid #cbd6e8;border-radius:10px}.bedtimeSetupForm fieldset{margin:4px 0;padding:0;border:0}.bedtimeSetupForm legend{margin-bottom:10px;font-weight:850}.bedtimeChoiceGrid,.bedtimeThemeGrid,.bedtimeLengthGrid{display:grid;gap:10px}.bedtimeChoiceGrid{grid-template-columns:repeat(4,1fr)}.bedtimeThemeGrid{grid-template-columns:repeat(3,1fr)}.bedtimeLengthGrid{grid-template-columns:1fr}.bedtimeChoice{display:flex;align-items:center;gap:8px;min-height:48px;padding:10px;border:1px solid #ccd6eb;border-radius:11px;background:#fff}.bedtimeChoice:has(input:checked){border-color:#655cf5;background:#f1efff;box-shadow:0 0 0 1px #655cf5}.bedtimePrimary,.bedtimeSecondary{min-height:50px;border-radius:11px;border:1px solid #ffc331;cursor:pointer}.bedtimePrimary{width:100%}.bedtimeSecondary{padding:0 24px;color:#102b6c;border-color:#102b6c;background:#fff;font-weight:800}.bedtimeButtonRow{display:grid;grid-template-columns:auto 1fr;gap:12px}.bedtimeSkip{display:block;min-height:44px;margin:10px auto 0;border:0;color:#102b6c;background:transparent;cursor:pointer}.bedtimeAuthPage button:focus-visible,.bedtimeAuthPage a:focus-visible,.bedtimeAuthPage input:focus-visible{outline:3px solid #655cf5;outline-offset:3px}@media(max-width:900px){.bedtimeAuthPage{padding:12px}.bedtimeAuthLayout{grid-template-columns:1fr}.bedtimeAuthImage{min-height:330px;margin:0 0 -55px;-webkit-mask-image:linear-gradient(180deg,#000 0%,#000 76%,transparent 100%);mask-image:linear-gradient(180deg,#000 0%,#000 76%,transparent 100%)}.bedtimeAuthPanel{padding:28px 22px 34px}.bedtimeAuthBenefits{grid-template-columns:1fr}.bedtimeThemeGrid{grid-template-columns:repeat(2,1fr)}}@media(max-width:520px){.bedtimeAuthBrand{font-size:16px}.bedtimeAuthSignIn{font-size:13px}.bedtimeChoiceGrid{grid-template-columns:repeat(2,1fr)}.bedtimeButtonRow{grid-template-columns:1fr}.bedtimeSecondary{width:100%}}.bedtimeClerkMain{display:grid!important;gap:20px!important}.bedtimeClerkForm{display:grid!important;gap:18px!important}.bedtimeClerkFieldRow{margin:0!important}.bedtimeClerkInput{min-height:50px!important;padding:12px 14px!important}.bedtimeClerkForm .bedtimeClerkPrimary{margin-top:2px!important}.bedtimeProtectedActions{display:grid;gap:12px;margin:20px 0}.bedtimeProtectedLink{display:flex;align-items:center;justify-content:center;text-decoration:none}.bedtimeAuthLoading{min-height:100vh;display:grid;place-items:center;color:#102b6c;background:#fffdfa;font-weight:800}.bedtimeAuthError{padding:12px;border:1px solid #d74848;border-radius:10px;color:#9f2020;background:#fff1f1}
