@font-face{font-family:Newsreader;src:url('./fonts/newsreader-normal-400.ttf') format('truetype');font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:Newsreader;src:url('./fonts/newsreader-italic-400.ttf') format('truetype');font-style:italic;font-weight:400;font-display:swap}
@font-face{font-family:Inter;src:url('./fonts/inter-normal-400.ttf') format('truetype');font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:Inter;src:url('./fonts/inter-normal-500.ttf') format('truetype');font-style:normal;font-weight:500;font-display:swap}
@font-face{font-family:Inter;src:url('./fonts/inter-normal-600.ttf') format('truetype');font-style:normal;font-weight:600;font-display:swap}
:root{--paper:#f8f7f3;--panel:#fffefa;--soft:#eeeee5;--line:#deded2;--ink:#252b26;--muted:#626a61;--accent:#244b40;--accent-hover:#17392f;--gold:#826747;--serif:Newsreader,Georgia,'Times New Roman',serif;--sans:Inter,system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;font-family:var(--sans);font-size:16px;color:var(--ink);background:var(--paper);font-synthesis:none;-webkit-font-smoothing:antialiased;color-scheme:light}
:root[data-theme=evening]{--paper:#171513;--panel:#211e1b;--soft:#2b2621;--line:#3d352e;--ink:#eae4d9;--muted:#b1a89c;--accent:#8eb6a2;--accent-hover:#b3d1c1;--gold:#bba57c;color-scheme:dark}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:105px}body{margin:0}button,input,select,textarea{font:inherit}button{background:none;border:0;color:inherit;cursor:pointer}button:disabled{opacity:.4;cursor:default}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:2px solid var(--accent);outline-offset:4px}h1,h2,h3,h4,p{margin:0}h1,h2,h3,h4{font:400 1em/1.2 var(--serif)}p{line-height:1.8}img{display:block;max-width:100%}[hidden]{display:none!important}::selection{background:#d6dfcf;color:#143d2d}
.portfolio-bar{height:30px;padding:0 6%;background:#1e3b2e;color:#d3d9ca;display:flex;justify-content:space-between;align-items:center;font-size:14px}.portfolio-bar a{text-decoration:underline;text-underline-offset:3px}.portfolio-bar>span{font-size:14px}
header{height:86px;display:flex;align-items:center;gap:35px;padding:0 6%;border-bottom:1px solid var(--line);background:var(--paper);position:sticky;top:0;z-index:20}.brand{display:inline-flex;align-items:center;gap:8px;color:var(--accent);font:400 35px/1 var(--serif);letter-spacing:-1.7px}.brand-period{margin-left:-7px}.brand svg{margin-right:4px}header nav{display:flex;gap:28px;margin-left:30px;font-size:14px;color:var(--muted)}header nav a:hover{color:var(--accent)}.header-controls{margin-left:auto;display:flex;align-items:center;gap:22px;font-size:14px;color:var(--muted)}.quiet-button{border:1px solid var(--line);background:var(--panel);border-radius:5px;padding:10px 16px;font-size:14px}
.eyebrow{display:block;font-size:12px;letter-spacing:1.8px;color:var(--gold);font-weight:500;line-height:1.7}.hero{max-width:1270px;margin:auto;padding:53px 6% 42px;display:grid;grid-template-columns:1.35fr 1fr;gap:10%;align-items:center}.hero h1{font-size:clamp(46px,4.6vw,65px);line-height:1.08;letter-spacing:-2.5px;margin-top:21px}.hero h1 em{color:var(--accent);font-weight:400}.hero-copy>p:not(.epub-explainer){font-size:16px;color:var(--muted);line-height:1.85;margin-top:22px;max-width:510px}.hero-actions{display:flex;align-items:center;gap:22px;margin-top:25px}.hero-actions>span{font-size:14px;line-height:1.7;color:var(--muted)}.button{display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:13px 22px;background:var(--accent);color:var(--paper);border-radius:5px;border:1px solid transparent;font-size:14px;font-weight:500;line-height:1.6;transition:background .2s,transform .2s}.button:hover:not(:disabled){background:var(--accent-hover);transform:translateY(-1px)}.button.secondary{background:var(--panel);color:var(--ink);border-color:var(--line)}.button.secondary:hover:not(:disabled){background:var(--soft)}.button.full{width:100%}.epub-explainer{font-size:14px;color:var(--muted);line-height:1.8;border-left:2px solid var(--line);padding-left:13px;max-width:470px;margin-top:24px}.epub-explainer strong{font-weight:500;color:var(--ink)}.hero-trust{font-size:14px;color:var(--muted);display:flex;align-items:center;gap:8px;margin-top:18px}.hero-trust svg{color:var(--accent)}
.format-strip{max-width:1120px;margin:0 auto;padding:19px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:24px}.format-strip>span:first-child{font-size:12px;letter-spacing:1.4px;color:var(--gold)}.format-strip>div{display:flex;gap:22px;font-size:14px;color:var(--muted)}.epub-label{font:italic 16px var(--serif);color:var(--accent)}
.workshop{max-width:1320px;padding:55px 6% 70px;margin:auto}.section-heading{display:flex;justify-content:space-between;align-items:end;gap:25px;margin-bottom:28px}.section-heading h2{font-size:32px;letter-spacing:-.8px;margin-top:13px}.section-heading h2 br{display:none}.draft-status{font-size:14px;color:var(--muted);line-height:1.8;text-align:right;max-width:250px}
.wizard-steps{display:grid;grid-template-columns:1fr 1fr 1fr;border:1px solid var(--line);border-radius:8px;margin-bottom:27px;overflow:hidden;background:var(--panel)}.wizard-steps button{display:flex;align-items:center;gap:13px;text-align:left;padding:19px 20px;position:relative;border-right:1px solid var(--line);opacity:1}.wizard-steps button:last-child{border-right:0}.wizard-steps button:disabled{opacity:.5}.wizard-steps button[aria-current=step]{background:var(--soft)}.wizard-steps button[aria-current=step]:after{content:'';position:absolute;bottom:0;left:0;right:0;height:2px;background:var(--accent)}.wizard-step-number{display:grid;place-items:center;flex-shrink:0;width:30px;height:30px;border:1px solid var(--line);border-radius:50%;font-size:14px;color:var(--muted)}.wizard-steps [aria-current=step] .wizard-step-number{background:var(--accent);color:var(--paper);border-color:var(--accent)}.wizard-steps [data-complete=true] .wizard-step-number{color:var(--accent);border-color:var(--accent)}.wizard-steps strong{display:block;font-size:14px;font-weight:500;line-height:1.6}.wizard-steps small{display:block;font-size:12px;line-height:1.7;color:var(--muted);margin-top:3px}
.workshop-layout{display:grid;grid-template-columns:minmax(0,1fr) 285px;gap:28px;align-items:start}.workshop-main{display:flex;flex-direction:column;gap:20px;min-width:0}.work-card{border:1px solid var(--line);background:var(--panel);border-radius:8px;padding:30px}.wizard-panel:focus{outline:none}.card-heading{display:flex;align-items:start;gap:13px;margin-bottom:26px}.card-heading h3{font-size:27px;letter-spacing:-.5px}.card-heading p{font-size:14px;color:var(--muted);margin-top:10px;max-width:560px;line-height:1.8}.step-number{display:none}.input-tabs{display:flex;gap:25px;border-bottom:1px solid var(--line);margin-bottom:22px}.input-tabs button{font-size:14px;color:var(--muted);padding:0 0 12px;position:relative}.input-tabs button[aria-selected=true]{color:var(--accent)}.input-tabs button[aria-selected=true]:after{content:'';height:2px;position:absolute;bottom:-1px;left:0;right:0;background:var(--accent)}.dropzone{background:var(--paper);border:1px dashed var(--line);border-radius:6px;padding:30px 20px;text-align:center;display:flex;align-items:center;flex-direction:column;transition:border-color .2s,background .2s}.dropzone.dragging{border-color:var(--accent);background:var(--soft)}.dropzone>svg{color:var(--accent);margin-bottom:20px;width:33px;height:39px}.dropzone h4{font-size:24px}.dropzone p{font-size:14px;line-height:1.8;color:var(--muted);margin:12px 0 22px}.dropzone>span{font-size:14px;color:var(--muted);margin-top:16px}.source-label{font-size:14px;color:var(--accent);line-height:1.8;overflow-wrap:anywhere;margin-top:13px}.source-label:empty{display:none}.source-tip{font-size:14px;color:var(--muted);line-height:1.85;padding-top:18px;margin-top:20px;border-top:1px solid var(--line)}.source-tip strong{font-weight:500;color:var(--ink)}.paste-actions{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:17px}.text-button{font-size:14px;color:var(--accent);padding:5px 0;border-bottom:1px solid transparent;line-height:1.6}.text-button:hover:not(:disabled){border-color:var(--accent)}
textarea,input,select{font:400 16px/1.6 var(--sans);color:var(--ink);background:var(--paper);border:1px solid var(--line);border-radius:5px;padding:11px 13px;max-width:100%}textarea{width:100%;resize:vertical;line-height:1.85}select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='m2 2 4 4 4-4' fill='none' stroke='%2382786c' stroke-width='1.4'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 13px center;padding-right:35px}label{font-size:14px;color:var(--muted);display:block;margin-bottom:9px}fieldset{padding:0;border:0;margin:0;min-width:0}.metadata-fields{display:grid;grid-template-columns:1fr 1fr;gap:23px 20px}.field{min-width:0}.field input,.field select{width:100%;height:46px}.field.wide{grid-column:1/-1}.optional-label{font-size:12px;color:var(--gold);margin-left:6px}.field-help{font-size:14px;line-height:1.8;color:var(--muted);margin-top:16px}
.chapter-details{margin-top:28px;border-top:1px solid var(--line);padding-top:23px}.chapter-details>summary{display:flex;justify-content:space-between;align-items:center;gap:20px;cursor:pointer;list-style:none}.chapter-details>summary::-webkit-details-marker{display:none}.chapter-details summary strong{font-size:14px;font-weight:500;color:var(--ink)}.chapter-details summary strong>span{font-size:14px;color:var(--gold);margin-left:5px}.chapter-details summary small{display:block;font-size:14px;color:var(--muted);line-height:1.8;margin-top:7px}.details-plus{font-size:25px;font-weight:300;color:var(--accent);transition:transform .2s}.chapter-details[open] .details-plus{transform:rotate(45deg)}.chapter-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-top:27px;padding-top:22px;border-top:1px solid var(--line)}.chapter-heading h4{font-size:23px}.chapter-heading>div{display:flex;gap:18px}.chapter-heading .text-button{font-size:14px}.empty-chapters{font-size:14px;color:var(--muted);line-height:1.8;text-align:center;padding:30px 15px;border:1px dashed var(--line);margin-top:20px;border-radius:5px}.chapter-workspace{display:grid;grid-template-columns:145px minmax(0,1fr);gap:22px;margin-top:23px}.chapter-list{display:flex;flex-direction:column;gap:5px;max-height:560px;overflow:auto;padding-right:5px}.chapter-list button{text-align:left;padding:12px 10px;font-size:14px;color:var(--muted);border:1px solid transparent;border-radius:5px;line-height:1.7;overflow-wrap:anywhere}.chapter-list button.active{background:var(--soft);border-color:var(--line);color:var(--accent)}.chapter-list button>span{font-size:12px;letter-spacing:1px;color:var(--gold);display:block;margin-bottom:5px}.chapter-editor{min-width:0}.chapter-editor>input{width:100%;margin-bottom:18px;background:var(--panel)}.chapter-editor>textarea{font-size:14px;background:var(--panel)}.chapter-editor label>span{font-size:12px;display:block;margin-top:5px;line-height:1.8}.chapter-actions{display:flex;gap:10px 17px;flex-wrap:wrap;margin-top:12px}.chapter-actions .text-button{font-size:14px}.editor-help{font-size:14px;line-height:1.8;color:var(--muted);margin-top:16px}.cleanup-panel{border-top:1px solid var(--line);margin-top:26px;padding-top:20px}.cleanup-panel>summary{cursor:pointer;font-size:14px;color:var(--accent);line-height:1.8}.cleanup-panel>summary>span{display:block;font-size:14px;line-height:1.8;color:var(--muted);margin:5px 0 0 16px}.cleanup-options{display:flex;flex-direction:column;gap:12px;margin-top:21px}.cleanup-options label{display:flex;align-items:center;gap:9px;font-size:14px;margin:0}.cleanup-options input{width:14px;height:14px;accent-color:var(--accent);margin:0}.cleanup-actions{display:flex;gap:15px;align-items:center;margin-top:20px}.cleanup-actions select,.cleanup-actions .button{font-size:14px}.cleanup-panel>p{font-size:14px;color:var(--muted);line-height:1.8;margin-top:17px}
.wizard-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:3px 0}.wizard-help{font-size:14px;line-height:1.8;color:var(--muted);max-width:330px}.wizard-footer .button{font-size:14px;padding:12px 18px;white-space:nowrap}.wizard-footer .wizard-help{margin-right:auto}
.book-sidebar{position:sticky;top:110px;display:flex;flex-direction:column;gap:18px}.cover-card{border:1px solid var(--line);border-radius:8px;background:var(--soft);padding:23px}.sidebar-heading{display:flex;justify-content:space-between;align-items:center;gap:10px}.sidebar-heading h3{font-size:25px}.sidebar-heading>span{font-size:12px;letter-spacing:.8px;color:var(--gold);text-align:right;line-height:1.7}.summary-description{font-size:14px;line-height:1.8;color:var(--muted);margin:13px 0 20px}.cover-frame{aspect-ratio:2/3;position:relative;max-width:168px;margin:0 auto 23px;background:var(--panel);box-shadow:9px 12px 20px #2e241617;border-radius:2px 4px 4px 2px;overflow:hidden}.cover-frame canvas,.cover-frame img{width:100%;height:100%;object-fit:contain;display:block}.book-stats{display:grid;grid-template-columns:1fr 1fr 1fr;gap:10px;border-top:1px solid var(--line);padding-top:19px}.book-stats strong{font:400 25px/1.2 var(--serif);color:var(--accent);display:block}.book-stats span{display:block;font-size:12px;color:var(--muted);margin-top:6px}.cover-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:20px}.cover-actions .text-button{font-size:14px}.cover-hint{font-size:14px;color:var(--muted);line-height:1.8;margin-top:12px}.cover-theme-label{font-size:14px;margin-top:16px;margin-bottom:8px}.cover-card select{width:100%;font-size:14px;background-color:var(--paper);padding:10px 33px 10px 11px}.export-card{padding:24px;border:1px solid var(--line);border-radius:8px;background:var(--panel)}.export-card h3{font-size:25px}.export-explanation{font-size:14px;line-height:1.8;color:var(--muted);margin:13px 0 20px}.export-note{font-size:14px;color:var(--muted);text-align:center;line-height:1.8;margin-top:16px}.download-area>p{font-size:14px;color:var(--accent);line-height:1.8;margin-bottom:16px}.workshop[data-current-step="3"] .cover-frame{max-width:110px}.workshop[data-current-step="3"] .cover-card{padding-bottom:20px}.workshop[data-current-step="3"] .summary-description{font-size:14px;margin-bottom:17px}
.preview-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:18px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.preview-heading label{font-size:14px;margin:0;white-space:nowrap}.preview-heading select{font-size:14px;max-width:320px;min-width:0;flex:1}.reading-preview{font:400 18px/1.9 var(--serif);color:var(--ink);max-height:520px;overflow:auto;padding:34px 18px 10px;overflow-wrap:anywhere}.reading-preview h2{font-size:32px;line-height:1.3;margin:0 0 25px}.reading-preview h3,.reading-preview h4,.reading-preview h5,.reading-preview h6{font-size:24px;line-height:1.4;margin:25px 0 17px}.reading-preview p{margin-bottom:19px;line-height:1.9}.reading-preview blockquote{border-left:2px solid var(--line);margin:20px 0;padding-left:20px;color:var(--muted);font-style:italic}.reading-preview pre{white-space:pre-wrap;font:13px/1.8 monospace;background:var(--soft);padding:15px;border-radius:5px}.reading-preview code{font:inherit;font-family:monospace;font-size:.85em}.reading-preview table{border-collapse:collapse;max-width:100%;font-size:14px}.reading-preview td,.reading-preview th{padding:8px;border:1px solid var(--line)}.review-note{border-top:1px solid var(--line);margin-top:22px;padding-top:20px;font-size:14px;color:var(--muted)}.review-note strong{font-weight:500;color:var(--ink)}.review-note p{margin-top:8px;font-size:14px;line-height:1.8}
.notice,.error{padding:15px 18px;border:1px solid var(--line);border-radius:5px;margin-bottom:22px;font-size:14px;line-height:1.8;white-space:pre-line}.notice{background:var(--soft);color:var(--muted)}.error{background:#fff0e9;color:#813321;border-color:#e9c3ae}.progress-area{display:flex;align-items:center;gap:20px;background:var(--panel);border:1px solid var(--line);border-radius:6px;padding:18px;margin-bottom:22px;font-size:14px;color:var(--muted)}progress{height:5px;flex:1;min-width:50px;accent-color:var(--accent);border:0}progress::-webkit-progress-bar{background:var(--soft);border-radius:4px}progress::-webkit-progress-value{background:var(--accent);border-radius:4px}
.reader-guide{max-width:1120px;margin:0 auto 55px;border-top:1px solid var(--line);padding-top:45px;display:grid;grid-template-columns:.9fr 1.4fr;gap:10%}.reader-guide h2{font-size:35px;line-height:1.2;letter-spacing:-.8px;margin-top:18px}.reader-guide>div>p{font-size:14px;color:var(--muted);line-height:1.8;margin-top:20px;max-width:340px}.guide-grid{display:grid;grid-template-columns:1fr 1fr;gap:28px}.guide-grid h3{font-size:23px}.guide-grid p{font-size:14px;color:var(--muted);line-height:1.85;margin-top:12px}.privacy-note{max-width:830px;padding:25px 25px 55px;margin:auto;text-align:center}.privacy-note h2{font-size:30px;letter-spacing:-.5px}.privacy-note p{font-size:14px;color:var(--muted);line-height:1.9;margin-top:18px}.privacy-note p+p{font-size:14px}footer{display:flex;justify-content:space-between;align-items:center;gap:25px;border-top:1px solid var(--line);padding:27px 6%}footer .brand{font-size:30px}footer>span{font-size:14px;color:var(--muted)}footer>span:nth-child(2){font:italic 14px var(--serif)}.heart{color:#8b3a2b;margin:0 2px}footer>span>a{color:var(--accent)}footer>span>a:hover{text-decoration:underline;text-underline-offset:3px}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);max-width:90%;background:var(--accent);color:var(--paper);padding:13px 21px;font-size:14px;line-height:1.8;border-radius:5px;z-index:50;display:none}.sr-only,.skip{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.skip:focus{clip:auto;width:auto;height:auto;padding:15px;background:var(--panel);z-index:100}@keyframes book-arrive{from{opacity:0;transform:perspective(1100px) rotateY(-20deg) rotateZ(10deg) translateY(15px)}to{opacity:1;transform:perspective(1100px) rotateY(-12deg) rotateZ(7deg)}}
@media(min-width:1600px){header,.portfolio-bar,footer{padding-left:10%;padding-right:10%}.hero{padding-left:3%;padding-right:3%}.workshop{padding-left:3%;padding-right:3%}}
@media(max-width:1250px){.format-strip,.reader-guide{margin-left:6%;margin-right:6%}.hero{gap:6%}.hero h1{font-size:58px}.workshop-layout{grid-template-columns:minmax(0,1fr) 260px;gap:23px}.work-card{padding:26px}.cover-card,.export-card{padding:21px}.chapter-workspace{grid-template-columns:125px minmax(0,1fr);gap:17px}.wizard-steps button{padding:17px 15px;gap:10px}.wizard-steps small{font-size:12px}.wizard-help{max-width:250px}}
@media(max-width:1000px){header nav{margin-left:15px;gap:20px}.header-controls{gap:15px}.hero{padding-top:40px;padding-bottom:38px}.hero h1{font-size:51px}.hero-copy>p:not(.epub-explainer){font-size:15px}.hero-art{min-height:310px}.hero-art:before{width:270px;height:270px}.hero-book{width:170px;height:250px}.book-front{padding:23px 19px}.book-front strong{font-size:21px}.book-flourish{font-size:25px;margin-top:18px}.book-front i{margin-top:15px}.book-note{padding:13px 17px;left:24%}.book-note p{font-size:15px}.format-strip>div{gap:15px;font-size:14px}.format-strip{gap:17px}.format-strip>span:first-child{font-size:12px}.epub-label{font-size:14px}.section-heading h2{font-size:30px}.workshop-layout{grid-template-columns:minmax(0,1fr) 235px;gap:20px}.wizard-steps small{display:none}.wizard-steps strong{font-size:14px}.wizard-step-number{width:26px;height:26px;font-size:14px}.chapter-workspace{grid-template-columns:1fr}.chapter-list{flex-direction:row;max-height:130px;overflow:auto;padding:0 0 6px;gap:8px}.chapter-list button{min-width:140px;max-width:190px}.chapter-heading{align-items:start;flex-direction:column}.wizard-footer{flex-wrap:wrap;gap:13px}.wizard-footer .wizard-help{flex:1;max-width:none;min-width:150px}.wizard-footer .button{font-size:14px;padding:11px 13px}.cover-frame{max-width:145px}.sidebar-heading>span{font-size:7px}.cover-actions{flex-direction:column;align-items:start;gap:6px}.book-stats strong{font-size:23px}.book-stats span{font-size:12px}.preview-heading{align-items:stretch;flex-direction:column;gap:10px}.preview-heading select{max-width:none;flex:auto}.reading-preview{padding:26px 0 10px;font-size:17px}.reader-guide{grid-template-columns:1fr;gap:30px}.reader-guide h2 br{display:none}.reader-guide>div>p{max-width:600px}.reader-guide h2{font-size:32px}.guide-grid{gap:28px 40px}}
@media(max-width:740px){header{height:76px;padding:0 6%;gap:15px}header nav{display:none}.brand{font-size:31px}.brand svg{width:22px}.header-controls{font-size:12px;gap:14px}.quiet-button{font-size:12px;padding:9px 12px}.portfolio-bar{height:28px;font-size:12px}.portfolio-bar>span{display:none}.hero{grid-template-columns:1fr;gap:25px;padding:34px 6% 32px}.hero h1{font-size:clamp(43px,9vw,59px);letter-spacing:-2px}.hero-copy .eyebrow{font-size:12px}.hero-copy>p:not(.epub-explainer){font-size:15px;max-width:540px}.hero-actions{gap:20px;margin-top:23px}.hero-actions .button{font-size:14px}.hero-actions>span{font-size:12px}.epub-explainer{font-size:14px;margin-top:20px}.hero-art{display:none}.hero-trust{font-size:12px;margin-top:15px}.format-strip{margin-left:6%;margin-right:6%;padding:17px 0;flex-wrap:wrap;gap:12px}.format-strip>span:first-child{width:100%;font-size:12px}.format-strip>div{flex-wrap:wrap;font-size:12px;gap:13px}.epub-label{font-size:14px}.workshop{padding:38px 6% 45px}.section-heading{align-items:start;flex-direction:column;gap:15px;margin-bottom:23px}.section-heading .eyebrow{font-size:12px}.section-heading h2{font-size:29px;line-height:1.25}.draft-status{font-size:12px;text-align:left;max-width:none}.wizard-steps{margin-bottom:20px;border-radius:6px}.wizard-steps button{padding:14px 9px;gap:8px;align-items:start;flex-direction:column}.wizard-step-number{width:24px;height:24px;font-size:12px}.wizard-steps strong{font-size:14px;line-height:1.5}.wizard-steps button[aria-current=step]:after{height:2px}.workshop-layout{grid-template-columns:1fr;gap:22px}.work-card{padding:24px 20px}.card-heading{margin-bottom:22px}.card-heading h3{font-size:26px}.card-heading p{font-size:14px;line-height:1.8}.input-tabs{gap:21px}.input-tabs button{font-size:14px}.dropzone{padding:26px 15px}.dropzone h4{font-size:23px}.dropzone p{font-size:14px;line-height:1.8}.dropzone .button{font-size:14px}.dropzone>span{font-size:12px}.source-tip{font-size:14px}.paste-actions{gap:15px}.paste-actions .button{font-size:14px;padding:12px 17px}.paste-actions .text-button{font-size:14px}.metadata-fields{gap:19px 14px}.field input,.field select{font-size:14px}.field label{font-size:14px}.field-help{font-size:14px}.optional-label{font-size:12px}.chapter-details{margin-top:23px;padding-top:20px}.chapter-details summary strong{font-size:14px}.chapter-details summary small{font-size:14px}.chapter-heading h4{font-size:22px}.chapter-heading .text-button{font-size:12px}.chapter-editor>textarea{min-height:280px;font-size:14px}.chapter-editor label>span{font-size:12px}.chapter-actions{gap:8px 15px}.chapter-actions .text-button{font-size:14px}.editor-help{font-size:12px}.cleanup-options label{font-size:14px}.cleanup-panel>summary{font-size:14px}.cleanup-panel>summary>span{font-size:12px}.cleanup-actions{flex-direction:column;align-items:stretch;gap:12px}.cleanup-actions .button{width:100%}.cleanup-panel>p{font-size:12px}.wizard-footer{display:grid;grid-template-columns:1fr 1fr;gap:14px}.wizard-help{grid-column:1/-1;grid-row:1;font-size:14px;min-width:0!important}.wizard-footer .button{font-size:14px;padding:12px 14px;white-space:normal}.wizard-footer #wizard-next{grid-column:2}.wizard-footer #wizard-next:only-child{grid-column:1/-1}.book-sidebar{position:static;gap:18px}.cover-card{padding:22px;display:grid;grid-template-columns:104px minmax(0,1fr);column-gap:22px}.sidebar-heading{grid-column:1/-1;margin-bottom:16px}.sidebar-heading h3{font-size:24px}.sidebar-heading>span{font-size:12px}.summary-description{grid-column:2;grid-row:2;margin:0;font-size:14px}.cover-frame{grid-column:1;grid-row:2/4;width:104px;max-width:104px;margin:0}.book-stats{grid-column:2;grid-row:3;padding-top:14px;margin-top:16px;gap:12px}.book-stats strong{font-size:24px}.book-stats span{font-size:12px}#cover-customization{grid-column:1/-1;border-top:1px solid var(--line);margin-top:21px;padding-top:3px}.cover-actions{flex-direction:row;align-items:center;margin-top:14px}.cover-actions .text-button{font-size:14px}.cover-hint{font-size:14px}.cover-theme-label{font-size:14px}.cover-card select{font-size:14px}.export-card{padding:25px}.export-card h3{font-size:27px}.export-explanation{font-size:14px}.export-card .button{font-size:14px}.export-note{font-size:14px}.workshop[data-current-step="3"] .cover-frame{max-width:104px}.workshop[data-current-step="3"] .summary-description{font-size:14px;margin-bottom:0}.preview-heading label,.preview-heading select{font-size:14px}.reading-preview{font-size:17px;max-height:430px;padding:25px 0 7px}.reading-preview h2{font-size:29px}.reading-preview h3,.reading-preview h4{font-size:23px}.review-note{font-size:14px}.review-note p{font-size:14px}.notice,.error{padding:14px 16px;font-size:14px}.progress-area{flex-wrap:wrap;gap:12px;padding:16px;font-size:14px}.progress-area>span{width:100%}.reader-guide{margin:0 6% 35px;padding-top:33px;gap:25px}.reader-guide .eyebrow{font-size:12px}.reader-guide h2{font-size:29px}.reader-guide>div>p{font-size:14px}.guide-grid{gap:25px}.guide-grid h3{font-size:22px}.guide-grid p{font-size:14px}.privacy-note{padding:23px 6% 42px}.privacy-note h2{font-size:28px}.privacy-note p{font-size:14px}.privacy-note p+p{font-size:14px}footer{padding:25px 6%;flex-wrap:wrap;gap:20px}footer .brand{font-size:28px}footer>span:last-child{width:100%;font-size:12px}footer>span:nth-child(2){margin-left:auto;font-size:14px}}
@media(max-width:390px){.metadata-fields{grid-template-columns:1fr}.field{grid-column:1/-1}.hero h1{font-size:43px}.wizard-steps strong{font-size:12px}.wizard-steps button{padding-left:8px;padding-right:8px}.cover-card{grid-template-columns:85px minmax(0,1fr);column-gap:17px}.cover-frame,.workshop[data-current-step="3"] .cover-frame{width:85px;max-width:85px}.book-stats{gap:7px}.book-stats strong{font-size:21px}.book-stats span{font-size:12px}.summary-description,.workshop[data-current-step="3"] .summary-description{font-size:14px}.guide-grid{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}}

/* The studio: the worktable is the first destination, the library comes after. */
.portfolio-bar{height:34px;background:#244b40;color:#edf0e4;font-size:12px}.portfolio-bar>span{font-size:12px}
header{height:88px;padding-inline:6%;gap:28px}header nav{font-size:14px;gap:26px;margin-left:20px}.header-controls{font-size:13px;gap:20px}.brand{font-size:40px}.quiet-button{font-size:13px;border-radius:30px;padding:10px 17px}
.hero-creator{max-width:1320px;grid-template-columns:1.1fr 1fr;gap:12%;padding:52px 6% 42px}.hero-creator h1{font-size:clamp(56px,6.2vw,88px);line-height:.99;letter-spacing:-2.8px;margin-top:20px}.hero-introduction{position:relative;padding-top:34px}.hero-introduction>p{font-size:18px;line-height:1.7;max-width:380px}.hero-introduction>p+p{font-size:15px;line-height:1.9;color:var(--muted);margin-top:15px}.hero-introduction .hero-trust{font-size:12px;margin-top:24px;gap:9px}.personal-stamp{position:absolute;right:0;top:5px;display:grid;place-items:center;width:48px;height:48px;border:1px solid var(--line);border-radius:50%;color:var(--accent);font:italic 28px var(--serif);transform:rotate(12deg)}
.eyebrow{font-size:11px;letter-spacing:1.6px}.workshop{padding-top:20px;padding-bottom:80px}.section-heading{border-top:1px solid var(--line);padding-top:30px;margin-bottom:26px}.section-heading h2{font-size:36px;letter-spacing:-.9px;margin-top:9px}.section-intro{font-size:14px;line-height:1.7;color:var(--muted);margin-top:9px}.draft-status{font-size:12px;max-width:245px}.wizard-steps{border-radius:7px;margin-bottom:24px}.wizard-steps button{padding:18px 20px}.wizard-steps strong{font-size:14px}.wizard-steps small{font-size:12px}.wizard-step-number{font-size:13px;width:32px;height:32px}.workshop-layout{grid-template-columns:minmax(0,1fr) 300px;gap:24px}.work-card{padding:32px;border-radius:8px}.card-heading h3{font-size:30px}.card-heading p{font-size:15px;line-height:1.8}.dropzone{padding:28px 20px;background:var(--paper);border-color:#bec8b6}.dropzone h4{font-size:28px}.dropzone p{font-size:14px;max-width:330px;margin-bottom:20px}.dropzone>span{font-size:12px}.dropzone>svg{margin-bottom:16px}.source-tip{font-size:13px}.source-label{font-size:13px}.input-tabs button{font-size:14px}.button{border-radius:5px;font-size:14px}.text-button{font-size:14px}.wizard-footer .button{font-size:14px}.wizard-help{font-size:13px;max-width:250px}.field-help{font-size:13px}.optional-label{font-size:12px}label{font-size:14px}.field input,.field select{height:48px}.chapter-editor label>span,.editor-help{font-size:12px}.chapter-heading .text-button,.chapter-actions .text-button{font-size:13px}
.book-sidebar{top:112px}.cover-card{position:relative;background:var(--soft);padding:24px;border-radius:8px}.sidebar-heading h3{font-size:28px}.sidebar-heading>span{font-size:10px;letter-spacing:.8px}.summary-description{font-size:13px;line-height:1.8;margin:12px 0 24px}.cover-frame{max-width:174px;box-shadow:5px 6px 0 #c8c4b52b,12px 18px 23px #24372924;transform:rotate(-3deg);margin-bottom:24px;transition:transform .6s}.cover-card:hover .cover-frame{transform:rotate(0)}.edition-caption{text-align:center;margin:0 0 24px;overflow-wrap:anywhere}.edition-caption strong{display:block;font:400 23px/1.2 var(--serif);letter-spacing:-.3px}.edition-caption>span{display:block;color:var(--muted);font-size:12px;line-height:1.7;margin-top:8px}.book-stats{gap:8px;padding-top:20px}.book-stats strong{font-size:28px}.book-stats span{font-size:12px}.cover-hint{font-size:12px}.cover-actions .text-button{font-size:13px}.cover-theme-label{font-size:13px}.cover-card select{font-size:14px}.export-card h3{font-size:29px}.export-explanation{font-size:14px}.export-note{font-size:12px}.download-area>p{font-size:14px}.workshop[data-current-step="3"] .summary-description{font-size:13px}.workshop[data-current-step="3"] .cover-frame{max-width:120px}.workshop[data-current-step="3"] .edition-caption{margin-bottom:18px}.preview-heading label,.preview-heading select{font-size:14px}.reading-preview{padding-inline:24px;font-size:20px}.reading-preview h2{font-size:37px}.review-note p,.review-note{font-size:13px}
.reading-shelf{max-width:1160px;padding:65px 0 55px;margin:0 auto 65px;border-top:1px solid var(--line)}.shelf-heading{display:grid;grid-template-columns:1.2fr 1fr;align-items:end;gap:12%;margin-bottom:36px}.shelf-heading h2{font-size:clamp(35px,3.8vw,48px);line-height:1.06;letter-spacing:-1.2px;margin-top:18px}.shelf-heading h2 em{color:var(--accent);font-weight:400}.shelf-heading>div>p{font-size:16px;line-height:1.8;color:var(--muted);max-width:410px}.shelf-source{display:block;color:var(--gold);font-size:12px;margin-top:13px}.shelf-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid var(--line);padding-bottom:20px}.shelf-categories{display:flex;flex-wrap:wrap;gap:7px}.shelf-categories button{padding:9px 16px;border:1px solid transparent;border-radius:30px;font-size:14px;line-height:1.6;color:var(--muted);transition:background .2s,color .2s}.shelf-categories button:hover{background:var(--soft);color:var(--ink)}.shelf-categories [aria-pressed=true]{background:var(--accent);color:var(--paper);border-color:var(--accent)}.shelf-format{font-size:11px;letter-spacing:1.3px;white-space:nowrap;color:var(--gold)}.shelf-status-row{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:65px}.shelf-status-row p{font-size:12px;color:var(--muted);line-height:1.8}.shelf-status-row button{font-size:12px;white-space:nowrap}.shelf-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:36px 26px}.shelf-book{min-width:0;animation:shelf-arrive .5s ease both}.shelf-book-visual{background:#e7e9de;display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden;border-radius:5px}.shelf-book-visual:before{content:'';position:absolute;inset:0;background:linear-gradient(125deg,#fff6 0%,#fff0 45%,#65725c17 100%)}.shelf-book-details{padding:20px 2px 0}.shelf-book-category{display:block;font-size:11px;letter-spacing:1.4px;text-transform:uppercase;color:var(--gold);margin-bottom:10px}.shelf-book h3{font-size:27px;line-height:1.14;letter-spacing:-.5px;overflow-wrap:anywhere}.shelf-book-author{font-size:13px;line-height:1.6;color:var(--muted);margin-top:9px}.shelf-book-description{font-size:14px;line-height:1.8;color:var(--muted);margin-top:14px;min-height:76px}.shelf-book-actions{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:21px;border-top:1px solid var(--line);padding-top:15px;font-size:13px}.shelf-download{color:var(--accent);font-weight:500;border-bottom:1px solid var(--accent);padding-bottom:3px}.shelf-about{color:var(--muted);font-size:12px}.shelf-about:hover{text-decoration:underline;text-underline-offset:4px}.shelf-more{display:flex;margin:38px auto 0}.shelf-footnote{margin-top:44px;border-top:1px solid var(--line);padding-top:24px;display:flex;align-items:start;justify-content:space-between;gap:40px}.shelf-footnote>span{font:italic 20px/1.4 var(--serif);color:var(--accent);max-width:330px}.shelf-footnote p{font-size:12px;line-height:1.8;max-width:495px;color:var(--muted)}.shelf-footnote a{text-decoration:underline;text-underline-offset:3px}.shelf-empty{grid-column:1/-1;padding:50px;text-align:center;border:1px dashed var(--line);border-radius:5px}.shelf-empty h3{font-size:28px}.shelf-empty p{color:var(--muted);margin-top:12px}.shelf-book[data-genre=fiction] .shelf-book-visual{background:#eee5dc}.shelf-book[data-genre=mystery] .shelf-book-visual{background:#e1e6e5}.shelf-book[data-genre=poetry] .shelf-book-visual{background:#eeebdf}.shelf-book[data-genre=philosophy] .shelf-book-visual{background:#e6e7de}
:root[data-theme=evening] .shelf-book-visual{background:#302e27}:root[data-theme=evening] .dropzone{border-color:var(--line)}:root[data-theme=evening] .shelf-categories [aria-pressed=true]{color:var(--paper)}.reader-guide{max-width:1160px}.privacy-note p{font-size:14px}.privacy-note p+p{font-size:13px}footer{font-size:13px}
@keyframes shelf-arrive{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:1500px){.hero-creator{padding-left:0;padding-right:0;max-width:1160px}.workshop{max-width:1320px}}
@media(max-width:1250px){.reading-shelf,.reader-guide{margin-left:6%;margin-right:6%}.shelf-format{display:none}}
@media(max-width:1000px){header nav{margin-left:0;gap:18px}header nav a:last-child{display:none}.hero-creator{gap:8%}.hero-introduction>p{font-size:17px}.hero-introduction .hero-trust{max-width:250px}.workshop-layout{grid-template-columns:minmax(0,1fr) 260px;gap:20px}.work-card{padding:25px}.card-heading h3{font-size:28px}.wizard-steps button{padding:16px 13px;gap:10px}.wizard-steps small{font-size:11px}.wizard-help{max-width:190px}.wizard-footer{flex-wrap:wrap;gap:12px}.wizard-footer .wizard-help{width:100%;max-width:none;order:-1}.shelf-grid{gap:32px 20px}.shelf-book-visual{}.shelf-book h3{font-size:25px}.shelf-book-description{min-height:100px}.shelf-footnote{gap:35px}}
@media(max-width:740px){header{height:76px;gap:15px;flex-wrap:nowrap;padding-inline:6%}.brand{font-size:35px}header nav{margin-left:auto;gap:0}header nav a:first-child{display:none}header nav a:nth-child(2){font-size:12px}.header-controls{margin-left:0;gap:10px}#theme-toggle{font-size:0;padding:8px;border:1px solid var(--line);border-radius:50%;width:35px;height:35px}#theme-toggle:before{content:'☾';font-size:21px;line-height:1}#theme-toggle[aria-pressed=true]:before{content:'☀'}.quiet-button{font-size:12px;padding:8px 13px}.portfolio-bar{height:29px;font-size:11px}.portfolio-bar>span{display:none}.hero-creator{grid-template-columns:1fr;gap:23px;padding:35px 6% 31px}.hero-creator h1{font-size:64px;line-height:1;letter-spacing:-2px;margin-top:16px}.hero-introduction{padding:0 46px 0 0}.hero-introduction>p{font-size:17px;line-height:1.7;max-width:400px}.hero-introduction>p+p{font-size:14px;margin-top:10px}.hero-introduction .hero-trust{font-size:11px;max-width:none;margin-top:17px;line-height:1.8}.personal-stamp{right:0;top:0;width:35px;height:35px;font-size:23px}.workshop{padding:8px 6% 52px}.section-heading{padding-top:24px;gap:13px}.section-heading h2{font-size:31px;margin-top:7px}.section-heading .draft-status{font-size:11px;max-width:none;text-align:left}.section-intro{font-size:13px;margin-top:8px}.wizard-steps{margin-bottom:18px}.wizard-steps button{padding:13px 9px;gap:9px;flex-direction:column;align-items:start}.wizard-step-number{font-size:12px;width:25px;height:25px}.wizard-steps strong{font-size:12px;line-height:1.5}.wizard-steps small{display:none}.workshop-layout{grid-template-columns:1fr;gap:20px}.work-card{padding:23px}.card-heading{margin-bottom:22px}.card-heading h3{font-size:28px}.card-heading p{font-size:14px}.input-tabs{gap:20px}.input-tabs button{font-size:13px}.dropzone{padding:24px 17px}.dropzone h4{font-size:26px}.dropzone p{font-size:13px}.dropzone>span{font-size:11px}.source-tip{font-size:12px}.wizard-footer{display:grid;grid-template-columns:1fr 1fr}.wizard-footer .wizard-help{font-size:12px;grid-column:1/-1;margin:0;order:-1}.wizard-footer .button{font-size:13px;padding:12px 10px}.workshop[data-current-step="1"] #wizard-next{grid-column:1/-1}.book-sidebar{position:static}.cover-card{padding:22px;grid-template-columns:102px minmax(0,1fr);gap:0 23px}.cover-frame{width:102px;max-width:102px;grid-column:1;grid-row:2/5;margin:0}.sidebar-heading{grid-column:1/-1;margin-bottom:17px}.sidebar-heading h3{font-size:26px}.summary-description{grid-column:2;font-size:12px;margin:0 0 13px}.edition-caption{grid-column:2;text-align:left;margin:0 0 15px}.edition-caption strong{font-size:22px}.edition-caption>span{font-size:11px;margin-top:5px}.book-stats{grid-column:2;padding-top:13px;gap:6px}.book-stats strong{font-size:25px}.book-stats span{font-size:10px}.cover-card #cover-customization{grid-column:1/-1}.cover-theme-label{font-size:13px}.cover-card select{font-size:14px}.cover-hint{font-size:12px}.workshop[data-current-step="3"] .cover-frame{width:102px;max-width:102px}.workshop[data-current-step="3"] .summary-description{font-size:12px;margin:0 0 13px}.workshop[data-current-step="3"] .edition-caption{margin-bottom:15px}.preview-heading{gap:12px}.preview-heading label,.preview-heading select{font-size:12px}.reading-preview{font-size:19px;padding:27px 0 10px}.reading-preview h2{font-size:32px}.review-note,.review-note p{font-size:12px}.export-card{padding:24px}.export-card h3{font-size:28px}.export-explanation{font-size:14px}.reading-shelf{padding:38px 0 36px;margin-bottom:40px}.shelf-heading{grid-template-columns:1fr;gap:19px;margin-bottom:25px}.shelf-heading h2{font-size:39px;letter-spacing:-1px;margin-top:13px}.shelf-heading>div>p{font-size:14px;max-width:none}.shelf-source{font-size:11px;margin-top:10px}.shelf-toolbar{padding-bottom:17px}.shelf-categories{gap:5px}.shelf-categories button{font-size:12px;padding:8px 12px}.shelf-status-row{min-height:65px;gap:10px}.shelf-status-row p,.shelf-status-row button{font-size:11px}.shelf-grid{grid-template-columns:1fr 1fr;gap:30px 18px}.shelf-book-visual{}.shelf-book-details{padding-top:17px}.shelf-book h3{font-size:25px}.shelf-book-category{font-size:10px;margin-bottom:8px}.shelf-book-author{font-size:12px;margin-top:8px}.shelf-book-description{font-size:13px;min-height:0;margin-top:11px}.shelf-book-actions{font-size:12px;gap:8px;align-items:start;margin-top:16px;padding-top:12px;flex-wrap:wrap}.shelf-about{font-size:11px}.shelf-footnote{display:block;margin-top:30px;padding-top:22px}.shelf-footnote>span{font-size:21px;display:block;max-width:280px}.shelf-footnote p{font-size:11px;margin-top:16px}.shelf-more{margin-top:28px;font-size:13px}.reader-guide h2{font-size:32px}.reader-guide>div>p,.guide-grid p{font-size:14px}.privacy-note h2{font-size:30px}.privacy-note p{font-size:14px}.privacy-note p+p{font-size:12px}}
@media(max-width:390px){header nav{display:none}.header-controls{margin-left:auto}.hero-creator h1{font-size:56px}.hero-introduction{padding-right:0}.personal-stamp{display:none}.work-card{padding:20px}.wizard-steps strong{font-size:11px}.shelf-grid{gap:27px 13px}.shelf-book-visual{}.shelf-book h3{font-size:23px}.shelf-book-description{font-size:12px}.cover-card{column-gap:18px;grid-template-columns:85px minmax(0,1fr)}.cover-frame,.workshop[data-current-step="3"] .cover-frame{width:85px;max-width:85px}.edition-caption strong{font-size:20px}}
@media(prefers-reduced-motion:reduce){.shelf-book,.cover-frame{animation:none;transition:none}}

/* Keep the cover controls before Continue on small screens and in tab order. */
.workshop-layout{grid-template-areas:"main aside" "footer aside";grid-template-rows:min-content 1fr;row-gap:20px}.workshop-main{grid-area:main}.book-sidebar{grid-area:aside}.wizard-footer{grid-area:footer;align-self:start}
@media(max-width:740px){.workshop-layout{grid-template-areas:"main" "aside" "footer";grid-template-rows:auto auto auto}}

/* A quiet, illustrated welcome, with the worktable one click away. */
.hero.hero-banner{position:relative;isolation:isolate;display:block;width:88%;max-width:1160px;margin:30px auto 35px;padding:42px 48px;min-height:425px;overflow:hidden;border-radius:10px;background:#173b30;color:#f8f6ec;border:0}
.hero-banner-image{position:absolute;inset:0 0 0 auto;z-index:-2;width:65%;height:100%;object-fit:cover;object-position:50% 24%}.hero-banner:after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#173b30 0%,#173b30 30%,#173b30f5 39%,#173b30ba 49%,#173b3020 70%,#173b3000 100%)}.hero-banner-copy{position:relative;z-index:1;max-width:450px}.hero-banner .eyebrow{font-size:11px;letter-spacing:1.6px;color:#d6c79e}.hero.hero-banner h1{font-size:clamp(58px,5.8vw,78px);line-height:.99;letter-spacing:-2.3px;margin:20px 0 0;color:#fffdf2}.hero.hero-banner h1 em{color:#e7d8ad}.banner-description{font-size:16px;color:#e1e6d6;line-height:1.8;max-width:355px;margin-top:20px}.banner-actions{display:flex;align-items:center;flex-wrap:wrap;gap:20px;margin-top:25px}.banner-actions .button{background:#ede8d8;color:#173b30;padding:12px 21px;font-size:14px;border-color:#ede8d8}.banner-actions .button:hover{background:#fffdf2}.banner-shelf-link{font-size:13px;color:#edf0e1;text-decoration:underline;text-underline-offset:5px;line-height:1.7}.banner-shelf-link:hover{color:#e7d8ad}.banner-trust{font-size:12px;line-height:1.8;color:#c0cfbd;margin-top:21px}.hero-banner a:focus-visible{outline-color:#ede8d8}
/* Full-bleed portrait jackets use the proportions of a printed book. */
.shelf-book-visual{border:1px solid var(--line);background:var(--soft)}.shelf-cover-frame{position:relative;transition:transform .4s}.shelf-book-image{display:block;width:100%;height:100%;object-fit:cover;object-position:center;filter:none;opacity:0;transition:opacity .3s}.shelf-book-visual[data-cover-state=loaded] .shelf-book-image{opacity:1}.shelf-book-visual[data-cover-state=loading] .shelf-cover-frame:before{content:'';position:absolute;inset:0;border:1px solid var(--line);background:linear-gradient(105deg,var(--paper),var(--soft));border-radius:2px}.shelf-cover-fallback{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;gap:16px;padding:18px;border:1px solid var(--line);background:var(--paper);color:var(--muted)}.shelf-cover-fallback>span{font-size:11px;line-height:1.6}.shelf-cover-fallback>strong{font:400 25px/1.15 var(--serif);color:var(--ink);overflow-wrap:anywhere}.shelf-cover-fallback>em{font:italic 14px/1.5 var(--serif)}.shelf-book:hover .shelf-book-image,.shelf-book:focus-within .shelf-book-image{transform:scale(1.025)}
@media(max-width:1000px){.hero.hero-banner{padding:36px;min-height:410px}.hero-banner-copy{max-width:400px}.hero.hero-banner h1{font-size:67px}.hero-banner-image{width:68%;object-position:50% 26%}.hero-banner:after{background:linear-gradient(90deg,#173b30 0%,#173b30fa 29%,#173b30d9 43%,#173b3040 68%,#173b3000)}.banner-description{font-size:15px;max-width:310px}.banner-actions{gap:17px}.banner-shelf-link{font-size:12px}.shelf-book-visual{}.shelf-cover-frame{}}
@media(max-width:740px){.hero.hero-banner{width:88%;margin:22px auto 25px;padding:30px 27px;min-height:0;border-radius:8px}.hero-banner-copy{max-width:420px}.hero-banner-image{width:100%;object-position:65% 25%;opacity:.55}.hero-banner:after{background:linear-gradient(90deg,#173b30f7 0%,#173b30d9 55%,#173b3080 100%)}.hero.hero-banner h1{font-size:60px;letter-spacing:-1.8px;margin-top:18px}.hero-banner .eyebrow{font-size:10px;letter-spacing:1.3px}.banner-description{font-size:14px;max-width:320px;margin-top:19px}.banner-actions{margin-top:23px;gap:16px}.banner-actions .button{font-size:13px;padding:11px 18px}.banner-shelf-link{font-size:12px}.banner-trust{font-size:11px;margin-top:21px}.shelf-book-visual{}.shelf-cover-frame{}.shelf-cover-fallback{padding:12px;gap:13px}.shelf-cover-fallback>strong{font-size:22px}.shelf-cover-fallback>em{font-size:12px}}
@media(max-width:390px){.hero.hero-banner{padding:28px 22px}.hero.hero-banner h1{font-size:53px}.hero-banner .eyebrow{font-size:9px;letter-spacing:1.1px}.banner-actions{align-items:start;flex-direction:column;gap:14px}.banner-description{font-size:14px}.banner-trust{font-size:10px}.shelf-book-visual{}.shelf-cover-frame{}}
@media(prefers-reduced-motion:reduce){.shelf-cover-frame,.shelf-book-image{transition:none}}

.shelf-book-visual{aspect-ratio:2/3;width:100%;border:0;border-radius:7px;box-shadow:0 3px 12px #24372b0d;isolation:isolate}
.shelf-book-visual:before{content:none}
.shelf-book-visual:after{content:'';position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(180deg,transparent 48%,#13291f05 65%,#13291f14 82%,#13291f4d 100%)}
.shelf-cover-frame{position:absolute;inset:0;width:100%;height:100%;max-width:none}
.shelf-book-image{transition:opacity .3s,transform .6s cubic-bezier(.2,.7,.2,1)}
@media(prefers-reduced-motion:reduce){.shelf-book-image{transition:none}.shelf-book:hover .shelf-book-image,.shelf-book:focus-within .shelf-book-image{transform:none}}

/* Each shelf card is a native link to its book page. */
.shelf-book-link{display:block;height:100%;border-radius:7px}.shelf-book-link:hover .shelf-download{text-decoration:underline;text-underline-offset:4px}.shelf-book-link:focus-visible{outline-offset:7px}

/* Keep the studio promises readable without enclosing badges. */
.hero-banner .banner-trust{font-size:14px;font-weight:600;color:#e7d8ad;line-height:1.9}
.banner-actions button.banner-shelf-link{font-family:inherit;background:none;border:0;padding:0;cursor:pointer}
.hero-banner button:focus-visible{outline:3px solid #ede8d8;outline-offset:5px}

/* Imabook identity */
.brand .imabook-logo{width:40px;height:40px;flex-shrink:0}.brand{gap:10px}.imabook-logo{vertical-align:middle}
