:root{--ink:#203d44;--muted:#61737a;--paper:#fcfcf7;--blue:#3a559c;--leaf:#d8e6bd;--line:#dce3dc;--soft:#eef1e6}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font:17px/1.6 "Segoe UI",Arial,sans-serif}a{color:inherit}button,input,select,textarea{font:inherit}button,a,input,textarea,select{outline-offset:5px}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #bc8b20}button,.button{border:0;cursor:pointer;background:var(--blue);color:white;border-radius:8px;padding:14px 25px;font-weight:600;display:inline-block;text-decoration:none;line-height:1.4}button:hover,.button:hover{background:#29417f}button:disabled{opacity:.5;cursor:wait}.button.secondary,button.secondary{background:transparent;color:var(--ink);border:1px solid #afbbb3}.small{padding:11px 18px}.skip{position:fixed;top:-80px;z-index:20;background:white;padding:15px}.skip:focus{top:0}.preview-note{text-align:center;background:var(--soft);font-size:12px;padding:6px 15px;color:#465b50}header{max-width:1280px;padding:27px 45px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{text-decoration:none;font:600 28px/1.1 Georgia,serif;white-space:nowrap;display:block}.brand-icon{color:var(--blue);font-size:36px;vertical-align:middle;margin-right:5px}.brand-note{display:block;font:11px/1.5 "Segoe UI",sans-serif;letter-spacing:1.3px;margin-left:42px;margin-top:5px}nav{display:flex;align-items:center;gap:28px}nav a{text-decoration:none;font-size:14px}nav a:hover{text-decoration:underline}main{min-height:65vh}.wrap{max-width:1190px;margin:auto;padding:30px 40px 80px}.hero{display:grid;grid-template-columns:1fr 1.05fr;align-items:center;gap:65px;padding-top:45px;padding-bottom:70px}.eyebrow{font-size:14px;display:flex;gap:10px;align-items:center;color:#52674b}.eyebrow:before{content:'';width:23px;height:2px;background:#78935e}h1,h2,h3{font-family:Georgia,"Times New Roman",serif;font-weight:400;line-height:1.08;letter-spacing:-1.6px}h1{font-size:clamp(44px,5.1vw,70px);margin:22px 0}h2{font-size:40px}h3{font-size:27px;letter-spacing:-.6px}p{max-width:64ch}.lead{font-size:18px;color:var(--muted);line-height:1.75}.hero .actions{margin:28px 0 16px}.actions{display:flex;gap:14px;flex-wrap:wrap;align-items:center}.subtle{font-size:13px;color:var(--muted)}.cover-scene{position:relative;background:#e4ecd9;padding:35px 34px 50px;border-radius:46% 46% 10px 10px;min-width:0}.cover-book{transform:rotate(3deg);background:#f7f4dd;box-shadow:12px 15px 0 #d1d9c3,18px 22px 35px #1e36202a;border-radius:3px 13px 13px 3px;overflow:hidden;padding:15px 15px 20px;border-left:9px solid #c5d1ac}.cover-book img{width:100%;aspect-ratio:1;object-fit:contain;display:block;border-radius:3px}.cover-title{text-align:center;font:27px/1.2 Georgia,serif;margin:17px 0 4px}.cover-note{text-align:center;font-size:11px;color:#53634e}.book-sticker{position:absolute;bottom:15px;left:-23px;background:#fff5c8;padding:13px 22px;transform:rotate(-7deg);box-shadow:0 2px 6px #0001;border-radius:4px;font:italic 19px Georgia,serif}.feature-strip{border-block:1px solid var(--line);display:flex;justify-content:space-around;padding:20px 0;gap:15px;font-size:14px}.section{padding-top:65px}.section-heading{display:flex;justify-content:space-between;align-items:end;gap:25px;margin-bottom:25px}.section-heading h2{margin:0 0 13px}.section-heading p{margin:0;color:var(--muted)}.steps,.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:25px}.steps article{padding:23px 0}.step-number{display:inline-grid;place-items:center;background:var(--leaf);width:36px;height:36px;border-radius:50%;font-family:Georgia,serif}.steps p,.cards p{font-size:15px;color:var(--muted)}.sample{display:grid;grid-template-columns:1fr 1fr;background:var(--soft);border-radius:14px;overflow:hidden}.sample img{width:100%;aspect-ratio:1;object-fit:cover;display:block}.sample-text{padding:35px;align-self:center}.sample h3{font-size:36px;margin:12px 0}.label{font-size:12px;color:var(--muted)}details{border-bottom:1px solid var(--line);padding:20px 0}summary{cursor:pointer;font-weight:600}details p{color:var(--muted);font-size:15px}footer{padding:45px 40px;background:#edf1e8;display:flex;flex-wrap:wrap;justify-content:space-between;gap:25px;align-items:center}footer p{font-size:14px}footer small{width:100%;font-size:12px;color:var(--muted)}footer .brand{font-size:25px}footer nav{gap:20px}.form-layout{display:grid;grid-template-columns:minmax(0,1.6fr) 1fr;gap:40px}.panel{border:1px solid var(--line);padding:30px;border-radius:14px;background:#fff}.form-layout aside{align-self:start;background:var(--soft)}label{display:block;font-size:14px;font-weight:600;margin:18px 0 8px}input,select,textarea{width:100%;border:1px solid #acbbb4;border-radius:7px;padding:12px;background:white;color:var(--ink)}textarea{resize:vertical;min-height:110px}.field-row{display:grid;grid-template-columns:1fr 1fr;gap:18px}.role{border-bottom:1px solid var(--line);padding-bottom:20px}.role h3{font-size:24px;margin:20px 0 0}.role small{font-size:12px}.status{padding:15px;border-radius:7px;background:var(--soft);font-size:14px;margin:20px 0}.error{background:#fff0e8;color:#803a20}.book-reader{max-width:1000px;margin:auto}.reader-page{display:grid;grid-template-columns:1.2fr 1fr;background:white;border:1px solid var(--line);border-radius:6px;overflow:hidden;box-shadow:0 15px 35px #203d4410;min-height:420px}.reader-page img{width:100%;height:100%;max-height:600px;object-fit:contain;background:#f0f1e9}.reader-copy{padding:35px;align-self:center;font:25px/1.65 Georgia,serif}.reader-controls{display:flex;justify-content:center;gap:25px;align-items:center;margin:25px 0}.reader-controls button{padding:10px 22px}.page-dots{display:flex;justify-content:center;flex-wrap:wrap;gap:8px}.page-dots button{width:30px;height:30px;padding:0;border-radius:50%;background:#e6eadd;color:var(--ink);font-size:12px}.page-dots button[aria-current=true]{background:var(--blue);color:white}.story-editor{margin-top:25px}.story-editor textarea{min-height:300px}.page-edit{margin:15px 0}.legal{max-width:800px}.legal h1{font-size:48px}.legal p{color:var(--muted)}#notice{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);background:var(--ink);color:white;padding:10px 20px;border-radius:7px;max-width:90vw;z-index:5}#notice:empty{display:none}.shelf-card{padding:25px;border:1px solid var(--line);border-radius:10px}.shelf-card h3{margin-top:0}.empty{padding:50px;border:1px dashed #acbbb4;text-align:center;border-radius:10px}img{max-width:100%}@media(max-width:760px){body{font-size:16px}header{padding:20px;align-items:start}.brand{font-size:23px}.brand-note{display:none}header nav{gap:14px;flex-wrap:wrap;justify-content:end}header nav>a:not(.button){font-size:12px}header nav a[href="#how"]{display:none}.wrap{padding:20px 22px 50px}.hero{grid-template-columns:1fr;gap:35px;padding-top:10px}.hero h1{font-size:49px;max-width:12ch}.cover-scene{max-width:450px;margin:0 12px;padding:30px}.feature-strip{flex-wrap:wrap;justify-content:start;gap:12px 25px}.steps,.cards{grid-template-columns:1fr;gap:0}.section{padding-top:45px}h2{font-size:33px}.sample,.form-layout,.reader-page{grid-template-columns:1fr}.sample-text{padding:25px}.reader-copy{font-size:23px;padding:25px}.reader-page{min-height:0}.reader-page img{max-height:none;aspect-ratio:1}.reader-controls{gap:15px}.field-row{grid-template-columns:1fr}.panel{padding:20px}.section-heading{align-items:start;flex-direction:column}footer{padding:30px 22px}footer nav{flex-wrap:wrap;gap:18px}.brand-icon{font-size:28px}.preview-note{font-size:11px}.book-sticker{left:-5px} }@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{animation:none!important;transition:none!important}}

.consent{display:flex;align-items:flex-start;gap:12px;font-weight:400}.consent input{width:20px;height:20px;flex:none;margin-top:4px}.node-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:15px;margin:20px 0}.node-card{border:1px solid var(--line);border-radius:8px;padding:12px;display:flex;flex-direction:column;gap:7px;font-size:13px}.node-card img{width:100%;aspect-ratio:1;object-fit:contain}.node-card button{padding:8px;font-size:12px}#productionControls{margin:20px 0}#exportPanel{margin-top:35px}#editPicture{margin:20px 0}#productionPanel .reader-page{margin-top:20px}

.stage-nav{flex-wrap:wrap;gap:8px 22px;margin-bottom:32px}.stage-nav a{padding:6px 0}.stage-nav [aria-current]{border-bottom:3px solid var(--blue);font-weight:700}
main[data-stage=characters] #ideaFields,main[data-stage=characters] #writingActions,main[data-stage=characters] #editor,main[data-stage=characters] #productionPanel{display:none}
main[data-stage=story] #characterFields,main[data-stage=story] #pagePlan,main[data-stage=story] #productionPanel{display:none}
main[data-stage=plan] .form-layout,main[data-stage=plan] #storyWriting,main[data-stage=plan] #productionPanel{display:none}
main[data-stage=production] .form-layout,main[data-stage=production] #editor,main[data-stage=production] #personalReader,main[data-stage=production] #exportPanel{display:none}
main[data-stage=book] .form-layout,main[data-stage=book] #editor,main[data-stage=book] #productionPanel>h2,main[data-stage=book] #productionPanel>p,main[data-stage=book] #productionPanel>.consent,main[data-stage=book] #productionPanel>.actions,main[data-stage=book] #productionStatus,main[data-stage=book] #productionNodes,main[data-stage=book] #productionControls{display:none}
#pagePlan textarea{min-height:80px;height:100px}#pagePlan .page-edit{padding:18px}#pagePlan h3{margin:0 0 12px}#pagePlan label{margin-top:10px}
#personalReader .reader-page{grid-template-columns:1fr;max-width:1000px;margin:auto}#personalReader .reader-page img{width:100%;max-height:none;aspect-ratio:1;object-fit:contain}#personalReader .reader-copy{font-size:25px;padding:25px 35px}#personalReader{max-width:1000px;margin:auto}.role-tools{background:var(--soft);border-radius:8px;padding:15px;margin:15px 0}.role-tools img{max-width:180px;border-radius:8px;margin:10px 0}.role-tools select{margin:8px 0}.role-tools .actions{margin-top:12px}.role-tools button{padding:10px 15px;font-size:14px}

#pageZoom{max-width:96vw;width:1100px;max-height:95vh;overflow:auto;border:0;border-radius:12px;padding:20px}#pageZoom::backdrop{background:#142729cc}#pageZoom img{display:block;width:100%;margin-top:15px}#pageZoom p{font:24px/1.6 Georgia,serif;margin:20px auto}#openPageImage{cursor:zoom-in}

/* Unified customer workspace, based on the local design review. */
body{background:#f4f6f2}.wrap{padding-top:24px}main[data-stage] h1{font-size:40px;letter-spacing:-1px;margin:18px 0}main[data-stage] #stageEyebrow{display:none}main[data-stage] .wrap>.lead{font-size:16px;margin-bottom:25px}.stage-nav{margin-bottom:20px}.stage-nav a{min-height:44px;display:flex;align-items:center;padding:8px 12px}.panel{box-shadow:none}.role{padding-bottom:18px}.role-tools{background:transparent;padding:0;margin-top:15px}.role-sources{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:15px}.role-sources button{background:white;color:var(--ink);border:1px solid var(--line)}.role-sources [aria-pressed=true]{background:var(--ink);color:white}.role-tools[data-source=describe] .library-source,.role-tools[data-source=describe] .photo-source,.role-tools[data-source=library] .photo-source,.role-tools[data-source=photo] .library-source{display:none}.photo-source,.library-source{background:#f4f6f2;padding:16px;border-radius:8px}.role-tools[data-source=describe] #role-candidate{display:none}main[data-stage=characters] .form-layout{grid-template-columns:minmax(0,760px) minmax(200px,1fr)}main[data-stage=characters] aside{background:transparent;border:0}.plan-pages{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0}.plan-pages button{background:white;color:var(--ink);border:1px solid var(--line);padding:10px 16px}.plan-pages [aria-current=true],.plan-pages [aria-current=page]{background:var(--blue);color:white}#pagePlan .page-edit[hidden]{display:none}#pagePlan .page-edit{max-width:850px;background:white}#pagePlan textarea{min-height:140px;height:160px}#continueProduction{margin-top:16px}button:disabled{cursor:not-allowed}button[aria-busy=true]{cursor:progress}.book-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 20px}.book-toolbar h2{font-size:28px;margin:0 0 6px}#personalReader[data-mode=read] #editPicture{display:none}#personalReader[data-mode=edit]{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:18px 28px;align-items:start}#personalReader .book-toolbar{grid-column:1/-1}#personalReader[data-mode=edit] #editPicture{grid-column:2;grid-row:2;margin:0;background:white;border:1px solid var(--line);padding:20px;border-radius:10px}#personalReader[data-mode=edit] .reader-controls{grid-column:1;margin:0}#personalReader[data-mode=edit] .reader-page{margin:0}#personalReader .reader-page img{display:block;width:100%;height:auto;max-height:none;aspect-ratio:auto;object-fit:contain}#personalReader .reader-copy{font-size:22px;line-height:1.6}#personalReader{max-width:1200px}main[data-stage=book] .wrap>h1,main[data-stage=book] .wrap>.lead{display:none}main[data-stage=book] #productionPanel{padding-top:12px}main[data-stage=book] #exportPanel:not(.export-open){display:none}#exportPanel{padding:24px;background:white;border-radius:12px;border:1px solid var(--line)}.download-file{display:inline-flex!important;align-items:center;min-height:48px;margin:10px 12px 0 0;padding:10px 20px;border:1px solid var(--line);border-radius:8px;text-decoration:none}#editPicture button{min-height:44px}#readBook[aria-pressed=true],#editBook[aria-pressed=true]{background:var(--ink);color:white}#continueCharacters{position:static;box-shadow:none;margin-top:20px}
@media(max-width:760px){main[data-stage] h1{font-size:30px}.stage-nav{flex-wrap:nowrap;overflow-x:auto;gap:4px;margin-inline:-10px}.stage-nav a{white-space:nowrap;font-size:13px}main[data-stage=characters] .form-layout{grid-template-columns:1fr}main[data-stage=characters] aside{display:none}.book-toolbar{align-items:start;flex-direction:column;gap:12px}#personalReader[data-mode=edit]{display:block}#personalReader[data-mode=edit] #editPicture{margin-top:18px}#personalReader .reader-copy{padding:20px;font-size:20px}#personalReader .reader-page img{max-height:none}#pagePlan textarea{height:170px}#continueProduction{display:block;text-align:center;position:static}.role-sources button{padding:10px 13px}.book-toolbar .actions{gap:8px}.book-toolbar button{padding:10px 14px}.wrap{padding-bottom:40px}}

.book-toolbar button{background:white;color:var(--ink);border:1px solid var(--line)}.book-toolbar button[aria-pressed=true]{background:var(--ink);color:white}

.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.photo-picker{font-weight:600;width:max-content}.photo-source:focus-within .photo-picker{outline:2px solid var(--blue);outline-offset:4px}

.illustration-details{margin-top:16px;border:0;padding:12px 0 0;border-top:1px solid var(--line)}.illustration-details summary{min-height:44px;display:flex;align-items:center;gap:12px}.illustration-details summary:before{content:"＋";font-size:20px}.illustration-details[open] summary:before{content:"−"}#pagePlan .illustration-details label{margin-top:8px}

/* The sample shelf shows complete books, separate from the private creator. */
.sample-books{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:32px}.sample-book-card{display:block;background:white;border:1px solid var(--line);border-radius:12px;overflow:hidden;text-decoration:none;color:var(--ink)}.sample-book-read>img{display:block;width:100%;aspect-ratio:1;object-fit:contain;background:#edf1e8}.sample-book-info{padding:26px}.sample-book-info h3{font-size:30px;margin:0 0 12px}.sample-book-info p{max-width:50ch}.sample-book-card:hover{border-color:var(--blue)}.sample-shelf h1{font-size:48px}.book-reader #spread .reader-page img{display:block;height:auto;max-height:none}.book-reader .reader-controls{flex-wrap:wrap}.book-reader h1{overflow-wrap:anywhere}@media(max-width:760px){.sample-books{grid-template-columns:1fr;gap:24px}.sample-shelf h1{font-size:36px}.sample-book-info{padding:22px}.sample-book-info h3{font-size:27px}.book-reader h1{font-size:34px!important}.book-reader .reader-controls{gap:12px}.book-reader .reader-copy{font-size:21px}}

.sample-book-read{display:block;text-decoration:none;color:inherit}.sample-watch{margin:0 26px 26px}.sample-mode{display:flex;gap:12px;margin:24px 0}.sample-mode button[aria-pressed=true]{background:var(--ink);color:white}#sampleVideo{display:block;width:100%;max-width:440px;max-height:75vh;aspect-ratio:9/16;background:#12232c;margin:auto}#sampleViewing>.subtle{text-align:center}#sampleViewing .actions{justify-content:center;margin:22px 0}.deliverables{font-size:17px;line-height:1.6;max-width:44ch}.book-reader [hidden]{display:none!important}@media(max-width:760px){#sampleVideo{max-width:100%;max-height:none}.sample-watch{margin:0 22px 22px}.sample-mode button{padding:12px 16px}#sampleViewing .actions{align-items:flex-start;flex-direction:column}.deliverables{font-size:16px}}

#sampleViewing .sample-downloads{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}#sampleViewing .sample-downloads>a{display:flex;align-items:center;justify-content:center;min-height:54px;text-align:center;margin:0}@media(max-width:760px){#sampleViewing .sample-downloads{grid-template-columns:1fr}}

.account-page{max-width:620px}.account-page h1{font-size:42px}.account-page .panel{margin:24px 0}.account-page button{margin-top:20px}.account-page input{font-size:18px}.account-page [hidden]{display:none!important}#accountBooks{margin-top:28px}#accountBooks .shelf-card{background:white}.account-page #signInStatus{min-height:30px}@media(max-width:760px){.account-page h1{font-size:32px}.account-page .panel{padding:22px}}

@media(max-width:760px){.account-enabled header{flex-direction:column;gap:16px}.account-enabled header nav{width:100%;justify-content:flex-start;align-items:center;gap:12px}.account-enabled header nav .button{white-space:nowrap;font-size:13px;padding:10px 12px}.account-enabled .brand{white-space:nowrap}}

.account-save-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 16px;margin:0 0 20px;background:#fff;border:1px solid var(--line);border-radius:8px}.account-save-bar p{margin:0;font-size:14px;line-height:1.5}.account-save-bar button{flex-shrink:0;min-height:44px}#accountSaveStatus[data-state=failed]{color:#a33220}#accountSaveStatus[data-state=saved]{color:#315f44}@media(max-width:600px){.account-save-bar{align-items:flex-start;flex-direction:column;gap:10px}.account-save-bar button{width:100%}}
