@font-face{font-family:Ebook Serif;src:url(/fonts/ebook/NotoSerif-Regular.ttf)format("truetype");font-style:normal;font-weight:400;font-display:swap}@font-face{font-family:Ebook Sans;src:url(/fonts/ebook/NotoSans-Regular.ttf)format("truetype");font-style:normal;font-weight:400;font-display:swap}.ebook-app{--ebook-text:#1c1c1e;--ebook-text-muted:#555a6a;--ebook-primary:#395aff;--ebook-primary-hover:#2f4fe7;--ebook-on-primary:#fff;--ebook-accent:#fde050;--ebook-surface:#fff;--ebook-workspace:#f7f8fa;--ebook-selected:#eef2ff;--ebook-border:#e4e7ec;--ebook-success:#4c8063;--ebook-control-radius:8px;--ebook-card-radius:12px;color:var(--ebook-text);background:var(--ebook-surface);font-family:var(--font-sans);min-height:100vh;font-size:14px;line-height:1.5}.ebook-app button,.ebook-app a,.ebook-app input,.ebook-app select,.ebook-app textarea{-webkit-tap-highlight-color:transparent;font-family:inherit}.ebook-app button{cursor:pointer}.ebook-app button:disabled{cursor:not-allowed;opacity:.45}.ebook-app button:focus-visible,.ebook-app a:focus-visible,.ebook-app input:focus-visible,.ebook-app select:focus-visible,.ebook-app textarea:focus-visible{outline:2px solid var(--ebook-primary);outline-offset:3px}.ebook-header{border-bottom:1px solid var(--ebook-border);background:var(--ebook-surface);justify-content:space-between;align-items:center;gap:20px;height:76px;padding:0 clamp(20px,4vw,64px);display:flex}.ebook-header nav,.ebook-brand{align-items:center;gap:22px;display:flex}.ebook-brand{color:var(--ebook-text);letter-spacing:-1px;flex-shrink:0;gap:10px;font-family:Georgia,Times New Roman,serif;font-size:24px;font-weight:400}.ebook-header nav{min-width:0;font-size:14px}.ebook-nav-active{font-weight:600}.ebook-button{border-radius:var(--ebook-control-radius);background:var(--ebook-primary);color:var(--ebook-on-primary);border:1px solid var(--ebook-primary);white-space:nowrap;justify-content:center;align-items:center;gap:9px;min-height:40px;padding:11px 17px;font-size:14px;font-weight:600;line-height:1.4;transition:background-color .15s,border-color .15s,transform .15s;display:inline-flex}.ebook-button:hover:not(:disabled){background:var(--ebook-primary-hover);border-color:var(--ebook-primary-hover)}.ebook-button.secondary:hover:not(:disabled){background:var(--ebook-workspace);border-color:var(--ebook-border)}.ebook-button.secondary{background:var(--ebook-surface);color:var(--ebook-text);border-color:var(--ebook-border)}.ebook-button.large{border-radius:var(--ebook-control-radius);padding:16px 23px;font-size:16px}.ebook-button.full{width:100%}.ebook-icon-button{border-radius:var(--ebook-control-radius);justify-content:center;align-items:center;min-width:40px;min-height:40px;padding:8px;display:inline-flex}.ebook-icon-button:hover,.ebook-tool-button:hover{background:var(--ebook-workspace)}.ebook-text-button{color:var(--ebook-primary);text-underline-offset:3px;min-height:40px;padding:5px 0;font-size:14px;text-decoration:underline}.ebook-tool-button{border-radius:var(--ebook-control-radius);align-items:center;gap:7px;min-height:40px;padding:9px 10px;font-size:14px;display:inline-flex}.ebook-tool-button.active{background:var(--ebook-selected)}.ebook-eyebrow{text-transform:uppercase;letter-spacing:.14em;color:var(--ebook-text-muted);align-items:center;gap:9px;font-size:12px;font-weight:600;display:inline-flex}.ebook-status-dot{background:var(--ebook-primary);border-radius:50%;flex-shrink:0;width:6px;height:6px;display:inline-block}.ebook-demo{color:var(--ebook-text-muted);border:1px solid var(--ebook-border);border-radius:var(--ebook-card-radius);background:var(--ebook-surface);flex-wrap:wrap;align-items:center;gap:9px;padding:11px 15px;font-size:12px;line-height:1.65;display:flex}.ebook-demo strong{color:var(--ebook-text);font-weight:600}.ebook-availability{border:1px solid var(--ebook-border);border-left:3px solid var(--ebook-primary);border-radius:var(--ebook-card-radius);background:var(--ebook-surface);margin:20px 0;padding:18px 20px;font-size:14px;line-height:1.65}.ebook-availability.ready{border-left-color:var(--ebook-success)}.ebook-availability p{color:var(--ebook-text-muted);margin-top:8px}.ebook-availability ul{margin:8px 0 0;padding-left:20px;list-style:outside}.ebook-generation dl>div{border:1px solid var(--ebook-border);border-radius:var(--ebook-card-radius);min-width:145px;padding:10px 14px}.ebook-generation dt{color:var(--ebook-text-muted);font-size:12px}.ebook-generation dd{font-variant-numeric:tabular-nums;margin:6px 0 0;font-size:15px;font-weight:600}.ebook-generation details ul{padding:12px 0 12px 20px;font-size:13px;line-height:1.8;list-style:outside}.ebook-error{color:var(--destructive);border:1px solid color-mix(in oklab, var(--destructive) 25%, var(--ebook-border));border-radius:var(--ebook-card-radius);align-items:flex-start;gap:10px;margin:16px 0;padding:16px;font-size:14px;display:flex}.ebook-error small{overflow-wrap:anywhere;margin:7px 0;display:block}.ebook-error button{margin-top:10px}.ebook-empty{text-align:center;flex-direction:column;align-items:center;gap:15px;min-height:300px;padding:75px 20px;display:flex}.ebook-empty h1,.ebook-empty h2{font-size:24px;font-weight:600}.ebook-empty p{color:var(--ebook-text-muted);max-width:430px;font-size:14px;line-height:1.8}.ebook-library{max-width:1280px;margin:auto;padding:48px clamp(20px,4vw,48px) 70px}.ebook-library-intro{justify-content:space-between;align-items:center;gap:24px;margin-bottom:30px;display:flex}.ebook-library-intro h1{letter-spacing:-.04em;align-items:center;gap:13px;margin:9px 0;font-size:28px;font-weight:600;display:flex}.ebook-library-intro p{color:var(--ebook-text-muted);font-size:14px}.ebook-count{font-family:var(--font-sans);color:var(--ebook-text-muted);background:var(--ebook-workspace);border-radius:var(--ebook-control-radius);letter-spacing:0;padding:4px 8px;font-size:12px}.ebook-library-toolbar{justify-content:space-between;align-items:center;gap:15px;margin:34px 0 22px;display:flex}.ebook-library-toolbar h2{font-size:24px;font-weight:600}.ebook-search{color:var(--ebook-text-muted);border:1px solid var(--ebook-border);border-radius:var(--ebook-control-radius);align-items:center;gap:8px;min-height:40px;padding:8px 11px;display:flex}.ebook-search input{width:170px;min-width:0;color:var(--ebook-text);background:0 0;outline:0;font-size:14px}.ebook-empty-library{border:1px dashed var(--ebook-border);border-radius:var(--ebook-card-radius);background:var(--ebook-surface)}.ebook-empty-symbol{background:var(--ebook-surface);border:1px solid var(--ebook-border);border-radius:var(--ebook-card-radius);color:var(--ebook-primary);padding:18px;position:relative}.ebook-empty-symbol svg:last-child{position:absolute;top:3px;right:4px}.ebook-book-grid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:28px;display:grid}.ebook-book-card{min-width:0;display:block}.ebook-book-jacket{aspect-ratio:1;border-radius:var(--ebook-card-radius);box-shadow:inset 6px 0 0 color-mix(in oklab, var(--ebook-text) 8%, transparent), 0 6px 18px color-mix(in oklab, var(--ebook-text) 6%, transparent);border:1px solid var(--ebook-border);background:var(--ebook-surface);color:var(--ebook-text);text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:17px;padding:25px;transition:transform .2s;display:flex}.ebook-book-card:hover .ebook-book-jacket{transform:translateY(-3px)}.ebook-book-jacket.jacket-1,.ebook-book-jacket.jacket-2,.ebook-book-jacket.jacket-3{background:var(--ebook-surface)}.ebook-book-jacket>span{letter-spacing:.15em;text-transform:uppercase;color:var(--ebook-text-muted);font-size:12px}.ebook-book-jacket h3{font-family:var(--font-sans);overflow-wrap:anywhere;font-size:24px;font-weight:600;line-height:1.5}.ebook-jacket-line{background:var(--ebook-text);opacity:.3;width:28px;height:1px}.ebook-book-jacket small{color:var(--ebook-text-muted);font-size:12px}.ebook-book-card-info{justify-content:space-between;gap:10px;margin-top:16px;display:flex}.ebook-book-card-info h3{overflow-wrap:anywhere;font-size:16px;font-weight:600}.ebook-book-card-info p{color:var(--ebook-text-muted);margin:6px 0 9px;font-size:12px}.ebook-pill{border:1px solid var(--ebook-border);border-radius:var(--ebook-control-radius);color:var(--ebook-text-muted);white-space:nowrap;padding:3px 7px;font-size:12px;line-height:1.5;display:inline-flex}.ebook-pill.ready{color:var(--ebook-success);background:var(--ebook-surface)}.ebook-create{background:var(--ebook-surface);border:1px solid var(--ebook-border);box-shadow:0 8px 30px color-mix(in oklab, var(--ebook-text) 4%, transparent);border-radius:var(--ebook-card-radius);margin-top:26px;padding:26px}.ebook-section-heading{justify-content:space-between;align-items:center;gap:15px;margin-bottom:20px;display:flex}.ebook-section-heading h2{margin-top:5px;font-size:24px;font-weight:600}.ebook-form-grid{grid-template-columns:1fr 1fr;gap:14px;display:grid}.ebook-field{flex-direction:column;gap:8px;margin-top:18px;font-size:14px;font-weight:500;display:flex}.ebook-field input:not([type=range]),.ebook-field textarea,.ebook-field select{border:1px solid var(--ebook-border);background:var(--ebook-surface);color:var(--ebook-text);border-radius:var(--ebook-control-radius);width:100%;min-width:0;min-height:40px;padding:10px 11px;font-size:14px;font-weight:400;line-height:1.6}.ebook-field textarea{resize:vertical;min-height:90px}.ebook-field input[type=color]{height:40px;padding:5px}.ebook-field input[type=range]{accent-color:var(--ebook-primary)}.ebook-field.compact{margin-top:10px}.ebook-help{color:var(--ebook-text-muted);margin:10px 0;font-size:12px;font-weight:400;line-height:1.8;display:block}.ebook-validation{color:var(--destructive);font-size:12px}.ebook-spec{flex-wrap:wrap;gap:9px;margin-top:24px;display:flex}.ebook-spec span{border-radius:var(--ebook-control-radius);background:var(--ebook-workspace);padding:5px 8px;font-size:12px}.ebook-form-footer{color:var(--ebook-text-muted);justify-content:space-between;align-items:center;gap:15px;margin-top:22px;font-size:12px;display:flex}.ebook-editor .ebook-header{height:62px;padding:0 22px}.ebook-editor .ebook-brand{font-size:24px;font-family:var(--font-sans);font-weight:600}.ebook-editor .ebook-header nav{flex:1;justify-content:flex-end;gap:12px}.ebook-project-name{text-overflow:ellipsis;white-space:nowrap;max-width:40vw;margin-right:auto;font-size:14px;overflow:hidden}.ebook-save-status{color:var(--ebook-text-muted);white-space:nowrap;align-items:center;gap:5px;font-size:12px;display:inline-flex}.ebook-save-status.conflict,.ebook-save-status.error,.ebook-save-status.offline{color:var(--destructive)}.ebook-editor-toolbar{border-bottom:1px solid var(--ebook-border);justify-content:space-between;align-items:center;gap:15px;padding:9px 18px;display:flex}.ebook-inline-actions{flex-wrap:wrap;align-items:center;gap:7px;display:flex}.ebook-divider{background:var(--ebook-border);width:1px;height:20px;margin:0 5px}.ebook-editor>.ebook-demo{border-width:0 0 1px;border-radius:0;margin:0;padding:8px 23px;font-size:12px}.ebook-editor-grid{grid-template-columns:184px minmax(0,1fr) 290px;align-items:stretch;min-height:calc(100vh - 160px);display:grid}.ebook-page-sidebar{border-right:1px solid var(--ebook-border);scrollbar-width:thin;max-height:calc(100vh - 155px);padding:20px 16px;position:sticky;top:0;overflow-y:auto}.ebook-page-sidebar .ebook-section-heading{margin-bottom:17px}.ebook-page-sidebar h2,.ebook-inspector h2{font-size:14px;font-weight:600}.ebook-page-sidebar .ebook-section-heading>span{color:var(--ebook-text-muted);font-size:12px}.ebook-thumbnails{grid-template-columns:1fr 1fr;gap:13px 10px;margin-top:16px;display:grid}.ebook-page-thumb{border-radius:var(--ebook-control-radius);border:1px solid #0000;width:100%;min-width:0;padding:4px}.ebook-page-thumb>svg{border:1px solid var(--ebook-border);box-shadow:0 2px 5px color-mix(in oklab, var(--ebook-text) 5%, transparent)}.ebook-page-thumb>span{color:var(--ebook-text-muted);margin-top:6px;font-size:12px;display:block}.ebook-page-thumb.selected{border-color:var(--ebook-primary);background:var(--ebook-selected)}.ebook-canvas{font-kerning:none;font-variant-ligatures:none;width:100%;height:auto;display:block;overflow:hidden}.ebook-canvas g:focus-visible{outline:2px solid var(--ring)}.ebook-canvas.compact{pointer-events:none}.ebook-workspace{background:var(--ebook-workspace);min-width:0;padding:20px clamp(16px,3vw,42px) 30px}.ebook-canvas-toolbar{color:var(--ebook-text-muted);justify-content:space-between;align-items:center;margin-bottom:20px;font-size:12px;display:flex}.ebook-stage{justify-content:center;align-items:center;gap:3px;max-width:621px;min-height:220px;margin:0 auto;display:flex}.ebook-stage.spread{max-width:1100px}.ebook-page-sheet{border:1px solid var(--ebook-border);background:var(--ebook-surface);min-width:0;box-shadow:0 10px 26px color-mix(in oklab, var(--ebook-text) 9%, transparent);flex:1}.ebook-page-navigation{color:var(--ebook-text-muted);justify-content:center;align-items:center;gap:18px;margin:16px 0;font-size:12px;display:flex}.ebook-layer-list{border-top:1px solid var(--ebook-border);flex-wrap:wrap;gap:7px;max-width:621px;margin:auto;padding-top:14px;display:flex}.ebook-layer-list h3{color:var(--ebook-text-muted);align-items:center;gap:6px;width:100%;margin-bottom:4px;font-size:14px;display:flex}.ebook-layer-list button{background:var(--ebook-surface);border:1px solid var(--ebook-border);border-radius:var(--ebook-control-radius);align-items:center;gap:6px;max-width:100%;min-height:40px;padding:7px 9px;font-size:14px;display:inline-flex}.ebook-layer-list button span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.ebook-layer-list button.active{border-color:var(--ebook-primary);background:var(--ebook-selected)}.ebook-canvas-help{color:var(--ebook-text-muted);text-align:center;margin-top:18px;font-size:12px;line-height:1.7}.ebook-inspector{border-left:1px solid var(--ebook-border);scrollbar-width:thin;min-width:0;max-height:calc(100vh - 155px);padding:22px 18px;position:sticky;top:0;overflow-y:auto}.ebook-inspector-heading{justify-content:space-between;align-items:center;margin-bottom:18px;display:flex}.ebook-metadata{border-top:1px solid var(--ebook-border);border-bottom:1px solid var(--ebook-border);margin-bottom:18px;padding:14px 0}.ebook-metadata summary{cursor:pointer;font-size:14px}.ebook-metadata[open]{padding-bottom:20px}.ebook-inspector-empty{color:var(--ebook-text-muted);font-size:14px;line-height:1.8}.ebook-inspector-empty small{margin-top:14px;font-size:12px;display:block}.ebook-inspector h3{border-top:1px solid var(--ebook-border);margin-top:22px;padding-top:16px;font-size:14px}.ebook-inspector .ebook-field{margin-top:14px}.ebook-inspector .ebook-field textarea{font-size:14px}.ebook-inspector fieldset:disabled{opacity:.6}.ebook-asset-preview{margin-top:18px;margin-bottom:12px;position:relative}.ebook-asset-preview img{object-fit:contain;background:var(--ebook-workspace);border-radius:var(--ebook-card-radius);width:100%;max-height:170px}.ebook-asset-preview small{color:var(--ebook-text-muted);margin-top:4px;font-size:12px;display:block}.ebook-save-alert{border-bottom:1px solid var(--ebook-border);background:var(--ebook-surface);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding:15px 24px;font-size:12px;display:flex}.ebook-save-alert p{color:var(--ebook-text-muted);margin-top:5px;font-size:12px;line-height:1.7}.ebook-history{border-bottom:1px solid var(--ebook-border);padding:24px}.ebook-history h2{font-size:24px;font-weight:600}.ebook-history p{color:var(--ebook-text-muted);margin:7px 0 14px;font-size:12px}.ebook-history-list{gap:9px;padding:4px;display:flex;overflow-x:auto}.ebook-history-item{text-align:left;border:1px solid var(--ebook-border);border-radius:var(--ebook-card-radius);flex-direction:column;gap:6px;min-width:150px;padding:12px;font-size:14px;display:flex}.ebook-history-item span,.ebook-history-item small{color:var(--ebook-text-muted);font-size:12px}.ebook-generation{border:1px solid var(--ebook-border);border-radius:var(--ebook-card-radius);background:var(--ebook-surface);margin:24px;padding:24px}.ebook-stages{justify-content:space-between;gap:12px;margin:24px 0 20px;display:flex}.ebook-stages>div{color:var(--ebook-text-muted);align-items:center;gap:8px;font-size:12px;display:flex}.ebook-stages>div>span{border:1px solid var(--ebook-border);border-radius:50%;justify-content:center;align-items:center;width:26px;height:26px;font-size:12px;display:inline-flex}.ebook-stages .current{color:var(--ebook-text);font-weight:600}.ebook-stages .current>span,.ebook-stages .done>span{background:var(--ebook-primary);color:var(--ebook-on-primary);border-color:var(--ebook-primary)}.ebook-job-status{align-items:center;gap:12px;font-size:14px;display:flex}.ebook-job-status code{color:var(--destructive)}.ebook-progress{width:100%;height:5px;accent-color:var(--ebook-primary);margin:16px 0 8px}.ebook-export-panel{border-bottom:1px solid var(--ebook-border);background:var(--ebook-surface);padding:24px}.ebook-export-panel>.ebook-section-heading,.ebook-export-panel>div,.ebook-export-panel>p{max-width:1050px;margin-left:auto;margin-right:auto}.ebook-preflight-summary{background:var(--ebook-surface);border:1px solid var(--ebook-border);border-radius:var(--ebook-card-radius);align-items:center;gap:13px;padding:16px;font-size:14px;display:flex}.ebook-preflight-summary>div{flex:1}.ebook-preflight-summary p{color:var(--ebook-text-muted);margin-top:6px;font-size:12px}.ebook-preflight-summary.blocked{color:var(--destructive)}.ebook-preflight-issues{max-height:240px;margin:13px 0;overflow-y:auto}.ebook-preflight-issue{border-bottom:1px solid var(--ebook-border);align-items:flex-start;gap:12px;padding:9px 0;font-size:14px;display:flex}.ebook-preflight-issue p{flex:1}.ebook-preflight-issue small{color:var(--ebook-text-muted);margin-top:4px;font-size:12px;display:block}.ebook-preflight-issue.error>.ebook-pill{color:var(--destructive)}.ebook-export-item{border-top:1px solid var(--ebook-border);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px 20px;padding:20px 0;display:flex}.ebook-export-item h3{font-size:16px;font-weight:600}.ebook-export-item p{color:var(--ebook-text-muted);margin-top:5px;font-size:12px}.ebook-export-state{width:100%;color:var(--ebook-text-muted);font-size:12px}.ebook-warning{color:var(--destructive);padding:10px 0;font-size:12px}.ebook-navigation-dialog{z-index:100;background:color-mix(in oklab, var(--ebook-text) 35%, transparent);justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.ebook-navigation-dialog>div{border-radius:var(--ebook-card-radius);background:var(--ebook-surface);max-width:530px;box-shadow:0 20px 70px color-mix(in oklab, var(--ebook-text) 20%, transparent);padding:28px}.ebook-navigation-dialog h2{font-size:24px;font-weight:600}.ebook-navigation-dialog p{color:var(--ebook-text-muted);margin:15px 0 22px;font-size:14px;line-height:1.8}.ebook-mobile-tabs{display:none}.ebook-hero{grid-template-columns:1.05fr 1fr;align-items:center;gap:65px;max-width:1320px;margin:auto;padding:80px 60px 95px;display:grid}.ebook-hero-copy h1{font-family:var(--font-display);letter-spacing:-.045em;margin:25px 0 24px;font-size:clamp(40px,4.3vw,64px);font-weight:600;line-height:1.25}.ebook-hero-copy>p{color:var(--ebook-text-muted);max-width:470px;margin-bottom:28px;font-size:16px;line-height:1.95}.ebook-hero-copy>small{color:var(--ebook-text-muted);margin-top:14px;font-size:12px;display:block}.ebook-hero-facts{color:var(--ebook-text-muted);flex-wrap:wrap;gap:20px;margin-top:32px;font-size:12px;display:flex}.ebook-hero-facts span{align-items:center;gap:7px;display:inline-flex}.ebook-hero-art{background:var(--ebook-surface);border-radius:50% 50% 40% 40%;justify-content:center;align-items:center;min-height:440px;display:flex;position:relative}.ebook-hero-book{background:color-mix(in oklab, var(--ebook-primary) 18%, var(--ebook-surface));width:300px;height:360px;box-shadow:12px 17px 35px color-mix(in oklab, var(--ebook-text) 12%, transparent), inset -5px 0 0 var(--ebook-surface), inset -8px 0 0 var(--ebook-border);text-align:center;border-radius:4px 12px 12px 4px;flex-direction:column;align-items:center;gap:15px;padding:28px 30px 20px 40px;display:flex;position:relative;transform:rotate(-7deg)}.ebook-hero-book-spine{background:color-mix(in oklab, var(--ebook-primary) 14%, transparent);border-right:1px solid color-mix(in oklab, var(--ebook-primary) 20%, transparent);width:14px;position:absolute;top:0;bottom:0;left:0}.ebook-hero-book-kicker{text-transform:uppercase;letter-spacing:.18em;color:var(--ebook-text-muted);font-size:12px}.ebook-hero-book h2{font-family:var(--font-display);letter-spacing:-.04em;font-size:24px;font-weight:600;line-height:1.35}.ebook-hero-book p{color:var(--ebook-text-muted);font-size:12px;line-height:1.6}.ebook-hero-book-rule{background:var(--ebook-primary);opacity:.4;width:35px;height:1px}.ebook-hero-book-count{color:var(--ebook-text-muted);margin-top:auto;font-size:12px}.ebook-art-note{z-index:2;background:var(--ebook-accent);border:1px solid var(--ebook-border);border-radius:var(--ebook-card-radius);box-shadow:0 5px 15px color-mix(in oklab, var(--ebook-text) 5%, transparent);color:var(--ebook-text);align-items:center;gap:8px;padding:11px 14px;font-size:12px;display:flex;position:absolute;top:38px;left:-16px;transform:rotate(-3deg)}.ebook-art-export{background:var(--ebook-surface);border:1px solid var(--ebook-border);border-radius:var(--ebook-card-radius);box-shadow:0 6px 20px color-mix(in oklab, var(--ebook-text) 6%, transparent);align-items:center;gap:13px;padding:15px 18px;display:flex;position:absolute;bottom:22px;right:-20px}.ebook-art-export strong{font-size:14px;font-weight:600}.ebook-art-export small{color:var(--ebook-text-muted);margin-top:4px;font-size:12px;display:block}.ebook-home-process{border-top:1px solid var(--ebook-border);background:var(--ebook-surface);padding:60px max(28px,50vw - 600px)}.ebook-home-process .ebook-section-heading{align-items:flex-end;margin-bottom:38px}.ebook-home-process h2,.ebook-home-bottom h2{font-family:var(--font-display);letter-spacing:-.02em;margin-top:13px;font-size:40px;font-weight:600}.ebook-home-process .ebook-section-heading p{color:var(--ebook-text-muted);max-width:300px;font-size:12px;line-height:1.8}.ebook-process-grid{grid-template-columns:repeat(3,1fr);gap:36px;display:grid}.ebook-process-grid article{border-top:1px solid var(--ebook-border);padding:24px 0;position:relative}.ebook-step-number{color:var(--ebook-text-muted);opacity:.45;font-size:12px;position:absolute;top:24px;right:0}.ebook-process-grid h3{font-size:16px;font-weight:600;font-family:var(--font-display);margin:22px 0 12px}.ebook-process-grid p{color:var(--ebook-text-muted);font-size:14px;line-height:1.9}.ebook-home-bottom{text-align:center;flex-direction:column;align-items:center;gap:18px;padding:70px 25px;display:flex}.ebook-home-bottom h2{margin-top:2px}.ebook-home-bottom p{color:var(--ebook-text-muted);max-width:520px;font-size:14px;line-height:1.8}.ebook-home-footer{border-top:1px solid var(--ebook-border);color:var(--ebook-text-muted);align-items:center;gap:30px;padding:25px clamp(24px,4vw,65px);font-size:12px;display:flex}.ebook-home-footer>a{font-family:var(--font-display);color:var(--ebook-text);font-size:24px;font-weight:600}.ebook-home-footer nav{gap:20px;margin-left:auto;display:flex}@media (width>=1600px){.ebook-editor-grid{grid-template-columns:210px minmax(0,1fr) 320px}.ebook-workspace{padding-top:26px}}@media (width<=1050px){.ebook-editor-grid{grid-template-columns:140px minmax(0,1fr) 245px}.ebook-inspector{padding:18px 13px}.ebook-page-sidebar{padding:16px 10px}.ebook-workspace{padding:16px}.ebook-hero{gap:40px;padding:60px 35px}.ebook-hero-book{width:260px;height:330px;padding:25px 25px 18px 35px}.ebook-hero-book h2{font-size:24px;font-weight:600}}@media (width<=760px){.ebook-header{height:64px;padding:0 18px}.ebook-brand{font-size:24px;font-family:var(--font-sans);font-weight:600}.ebook-header nav{gap:12px}.ebook-library{padding:28px 18px}.ebook-library-intro{align-items:flex-start}.ebook-library-intro h1{font-size:28px}.ebook-library-intro p{max-width:260px;font-size:14px;line-height:1.6}.ebook-create{padding:20px}.ebook-book-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.ebook-book-jacket{border-radius:var(--ebook-card-radius);background:var(--ebook-surface);gap:10px;padding:16px}.ebook-book-jacket h3{font-size:24px;font-family:var(--font-sans);font-weight:600}.ebook-book-jacket svg{width:30px;height:30px}.ebook-editor .ebook-header{padding:0 12px}.ebook-editor .ebook-brand span{display:none}.ebook-project-name{max-width:40vw;font-size:14px}.ebook-save-status{font-size:12px}.ebook-editor-toolbar{gap:5px;padding:8px}.ebook-tool-button{gap:4px;min-height:40px;padding:7px;font-size:14px}.ebook-editor-toolbar .ebook-button{padding:9px 10px;font-size:14px}.ebook-editor-grid{grid-template-columns:90px minmax(0,1fr)}.ebook-inspector{display:none}.ebook-page-sidebar{max-height:70vh}.ebook-thumbnails{grid-template-columns:1fr}.ebook-mobile-tabs{border-bottom:1px solid var(--ebook-border);gap:6px;padding:8px 12px;display:flex}.ebook-mobile-tabs button{border-radius:var(--ebook-control-radius);align-items:center;gap:5px;min-height:40px;padding:7px 10px;font-size:14px;display:inline-flex}.ebook-mobile-tabs .active{background:var(--ebook-selected)}.ebook-editor-grid.mobile-properties{grid-template-columns:minmax(0,1fr)}.mobile-properties .ebook-page-sidebar{display:none}.mobile-properties .ebook-inspector{border-left:0;border-top:1px solid var(--ebook-border);max-height:none;padding:22px;display:block;position:static}.mobile-properties .ebook-workspace{max-height:65vh;overflow-y:auto}.ebook-workspace{padding:12px}.ebook-canvas-toolbar{gap:5px;font-size:12px}.ebook-stages{flex-wrap:wrap;justify-content:flex-start;gap:12px 18px}.ebook-generation{border-radius:var(--ebook-card-radius);background:var(--ebook-surface);margin:15px;padding:18px}.ebook-generation .ebook-section-heading{flex-direction:column;align-items:flex-start}.ebook-export-panel{padding:20px}.ebook-hero{grid-template-columns:1fr;gap:36px;padding:40px 25px 55px}.ebook-hero-copy h1{max-width:520px;margin-top:20px;font-size:clamp(40px,4.3vw,64px);font-weight:600}.ebook-hero-copy>p{font-size:14px}.ebook-hero-art{width:100%;max-width:480px;min-height:380px;margin:auto}.ebook-art-note{border-radius:var(--ebook-card-radius);background:var(--ebook-accent);color:var(--ebook-text);top:22px;left:0}.ebook-art-export{border-radius:var(--ebook-card-radius);bottom:12px;right:0}.ebook-home-process{padding:40px 25px}.ebook-home-process .ebook-section-heading{flex-direction:column;align-items:flex-start;gap:14px}.ebook-process-grid{grid-template-columns:1fr;gap:0}.ebook-process-grid article{padding:22px 0}.ebook-process-grid h3{font-family:var(--font-display);margin-top:15px;font-weight:600}.ebook-home-bottom{padding:45px 25px}.ebook-home-footer{flex-wrap:wrap;gap:16px;font-size:12px}.ebook-home-footer nav{margin-left:0}}.ebook-candidate-previews{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:16px;display:grid}.ebook-candidate-preview{min-width:0;margin:0}.ebook-candidate-preview figcaption{margin-bottom:8px;font-weight:600}@media (width<=680px){.ebook-candidate-previews{grid-template-columns:1fr}}@media (prefers-reduced-motion:reduce){.ebook-app *,.ebook-app :before,.ebook-app :after{transition-duration:.01ms!important;animation-duration:.01ms!important}}.ebook-review-options{border:1px solid var(--ebook-border);background:var(--ebook-surface);border-radius:12px;margin:16px 0;padding:16px}.ebook-review-options legend{padding:0 8px;font-weight:600}.ebook-review-checkpoints{flex-wrap:wrap;gap:8px 24px;display:flex}.ebook-review-checkpoints label{align-items:center;gap:8px;min-height:40px;font-size:14px;display:flex}.ebook-review-checkpoints input{accent-color:var(--ebook-primary)}.ebook-review-summary{background:var(--ebook-selected);border-radius:12px;margin:16px 0;padding:16px}.ebook-review-summary ul{margin:8px 0 0;padding-left:20px}.ebook-project-tools{border-bottom:1px solid var(--ebook-border);background:var(--ebook-surface);flex-wrap:wrap;gap:8px;padding:8px 24px;display:flex}.ebook-project-tools .ebook-tool-button{border-radius:8px;min-height:40px;padding:8px 16px}.ebook-project-tools .ebook-tool-button.active{background:var(--ebook-selected);color:var(--ebook-primary)}.ebook-billing-details,.ebook-welcome-credits{border:1px solid var(--ebook-border);background:var(--ebook-surface);border-radius:12px;margin:16px 0;padding:16px}.ebook-billing-details>summary,.ebook-welcome-credits>summary{cursor:pointer;min-height:40px;font-weight:600}.ebook-ledger-table{max-width:100%;margin:16px 0;overflow-x:auto}.ebook-ledger-table table{border-collapse:collapse;text-align:left;width:100%}.ebook-ledger-table th,.ebook-ledger-table td{border-bottom:1px solid var(--ebook-border);padding:12px;font-size:14px}
