:root{font-size:24px;--paper:#f6f5f1;--ink:#242d27;--muted:#72796f;--green:#405b42;--green-dark:#304732;--line:#dedfd6;--surface:#fff;--radius:6px;font-family:Arial,Helvetica,sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit}button,a,input,textarea{outline-offset:4px}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:2px solid #769067}button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}a{color:inherit}button,input,textarea{-webkit-tap-highlight-color:transparent}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.site-header{min-height:88px;background:#171717;color:#f8f7f1;padding:0 5.4%;display:flex;align-items:center;gap:36px}.site-header .brand{display:block;flex-shrink:0;text-decoration:none}.site-header .brand img{display:block;width:148px;height:auto;filter:brightness(0) invert(1)}.site-header .descriptor{font-size:13.5px;letter-spacing:2px;color:#bdc3b8;border-left:1px solid #4b534c;padding-left:27px}.site-header .actions{margin-left:auto;display:flex;align-items:center;gap:22px}.site-header .status{font-size:16.5px;color:#bdc3b8}.site-header .status:before{content:'';display:inline-block;width:5px;height:5px;border-radius:50%;background:#a6b98c;margin-right:8px}.workspace{max-width:1440px;padding:64px 5.4% 0;margin:auto}.eyebrow{font-size:15px;letter-spacing:2.1px;font-weight:700;color:var(--green);margin:0 0 17px}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:25px;margin-bottom:48px}h1,h2,h3,p{margin-top:0}h1{font-family:Georgia,'Times New Roman',serif;font-size:49px;line-height:1.13;font-weight:400;letter-spacing:-1.8px;margin:0 0 16px}h1>span{color:#758867}.intro{font-size:21px;line-height:1.6;color:var(--muted);margin:0}.button{border:1px solid transparent;border-radius:4px;min-height:44px;padding:12px 19px;display:inline-flex;align-items:center;justify-content:center;gap:18px;text-decoration:none;font-size:18px;font-weight:600;white-space:nowrap;transition:background .15s,border-color .15s}.button.primary{background:var(--green);color:#fff}.button.primary:hover:not(:disabled){background:var(--green-dark)}.button.secondary{background:#fff;border-color:#d7dbd2;color:var(--ink)}.button.secondary:hover:not(:disabled){background:#f4f5f0;border-color:#a6b2a1}.button>span{font-size:27px;font-weight:400}.text-button{background:none;border:0;padding:7px 0;font-size:16.5px;font-weight:600;color:var(--green);text-decoration:underline;text-underline-offset:3px}.text-button.light{color:#ecefe6}.library-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:0 0 24px;border-bottom:1px solid var(--line);margin-bottom:28px}.search{display:flex;align-items:center;gap:10px;width:320px}.search svg{width:16px;height:16px;stroke:#7c8478;stroke-width:1.6;fill:none;flex-shrink:0}.search input{width:100%;background:none;border:0;padding:8px 0;font-size:18px;color:var(--ink)}.search input::placeholder{color:#858a80}.library-toolbar .count{font-size:16.5px;color:var(--muted);margin:0}.library .items{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:25px}.library .item{border:1px solid var(--line);border-radius:6px;overflow:hidden;background:#fff;transition:border-color .15s,box-shadow .15s}.library .item:hover{border-color:#aeb9a6;box-shadow:0 7px 22px #1d35200a}.library .cover{position:relative;height:265px;display:flex;justify-content:center;align-items:center;padding:23px;border:0;width:100%;overflow:hidden;background:#eceee7}.library .cover img{max-height:100%;max-width:80%;object-fit:contain;box-shadow:2px 5px 14px #15211724;transition:transform .2s}.library .cover:hover img{transform:translateY(-3px)}.library .cover .page-badge{position:absolute;right:12px;bottom:12px;background:#ffffffde;padding:5px 7px;border-radius:3px;color:#4f594d;font-size:13.5px;letter-spacing:.2px}.library .cover .placeholder{height:210px;width:148px;max-width:78%;background:#fff;box-shadow:2px 5px 14px #15211724;display:flex;flex-direction:column;justify-content:center;align-items:center;border:7px solid #fff;outline:1px solid #ffffff80;outline-offset:2px}.library .placeholder .letter{font:56px Georgia,serif;color:#71836a}.library .placeholder .label{font-size:12px;letter-spacing:2px;color:#788471;margin-top:18px}.library .details{padding:20px 20px 15px}.library .details h2{font:400 23px/1.25 Georgia,'Times New Roman',serif;letter-spacing:-.4px;margin:0 0 9px;overflow-wrap:anywhere}.library .meta{font-size:15px;color:var(--muted);display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:0}.library .meta span+span:before{content:'·';margin-right:8px}.library .card-actions{display:flex;align-items:center;gap:16px;border-top:1px solid #eeeee8;margin-top:18px;padding-top:12px}.library .share-button{background:none;border:0;padding:7px 0;color:var(--green);font-size:16.5px;font-weight:700;display:flex;gap:12px;align-items:center}.library .share-button span{font-size:24px}.library .edit-button{margin-left:auto;background:none;border:0;padding:7px 0;font-size:16.5px;color:#626b5f}.library .delete-button{border:0;background:none;color:#92988c;width:28px;height:28px;padding:6px}.library .delete-button:hover{color:#a33b32}.library .delete-button svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.5}.empty-state{text-align:center;padding:33px 20px 70px}.empty-state .illustration{width:190px;height:166px;margin:3px auto 33px;position:relative}.empty-state .page{width:97px;height:130px;border:1px solid #c6cdbb;border-radius:3px;position:absolute;left:44px;top:15px}.empty-state .page.back{transform:rotate(-13deg);background:#e5e9dc}.empty-state .page.front{transform:rotate(7deg);background:#fdfdf9;display:flex;align-items:center;flex-direction:column;justify-content:center;gap:7px;box-shadow:5px 7px 12px #27351e0a}.empty-state .page.front img{display:block;width:84px;height:auto;margin:0 auto 16px}.empty-state .page.front i{display:block;width:40px;height:1px;background:#c9d0c1}.empty-state .page.front i:last-child{width:25px}.empty-state .spark{position:absolute;right:9px;top:15px;font-size:33px;color:#8ba07a}.empty-state .eyebrow{font-size:13.5px;letter-spacing:2px;margin-bottom:13px}.empty-state h2{font:400 32px/1.2 Georgia,serif;letter-spacing:-.6px;margin-bottom:15px}.empty-state>p:not(.eyebrow){color:var(--muted);font-size:19.5px;line-height:1.8;margin-bottom:24px}.empty-state>small{display:block;font-size:15px;color:#93988d;margin-top:14px}.no-results{text-align:center;padding:80px 20px}.no-results h2{font:30px Georgia,serif}.no-results p{font-size:19.5px;color:var(--muted)}.workspace-footer{border-top:1px solid var(--line);padding:24px 0 29px;margin-top:45px;display:flex;justify-content:space-between;color:#858c7f;font-size:15px;gap:20px}.workspace-footer>span:last-child{color:#506247}.workspace-footer>span:last-child>span{margin-left:14px}.notice{font-size:18px;line-height:1.6;padding:12px 14px;border-radius:4px;margin-bottom:16px}.notice.error{background:#f9eeeb;border:1px solid #ebd4cf;color:#8c3d34}.access-screen{padding:90px 24px}.access-card{max-width:430px;margin:auto;background:#fff;border:1px solid var(--line);border-radius:8px;padding:38px}.access-card h1{font-size:37px;letter-spacing:-1px}.access-card>p:not(.eyebrow){font-size:19.5px;line-height:1.7;color:var(--muted);margin-bottom:25px}.access-card label{font-size:18px;font-weight:600;display:block;margin-bottom:9px}.access-card input{width:100%;border:1px solid var(--line);border-radius:4px;padding:12px;background:#fff;margin-bottom:18px}.access-card .button{width:100%}dialog{padding:0;border:1px solid #d9ddd2;border-radius:9px;box-shadow:0 25px 100px #101b1840;color:var(--ink);max-height:calc(100dvh - 44px);max-width:calc(100vw - 40px);background:#fff}dialog::backdrop{background:#1b241fb3;backdrop-filter:blur(3px)}.editor-dialog{width:1000px}.dialog-heading{padding:28px 30px 24px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #e8eae2;gap:18px}.dialog-heading .eyebrow{font-size:12px;letter-spacing:1.7px;margin-bottom:8px}.dialog-heading h2{font:400 31px/1.15 Georgia,serif;letter-spacing:-.8px;margin:0}.icon-button{width:33px;height:33px;padding:0;display:grid;place-items:center;border:1px solid #e5e7df;border-radius:50%;background:#fff;font:36px/1 Arial;color:#7b8475;flex-shrink:0}.icon-button:hover{background:#f4f5f0}.editor-body{display:grid;grid-template-columns:1fr 1fr;min-height:442px}.preview-panel{position:relative;background:#f2f0eb;display:flex;align-items:center;justify-content:center;min-width:0;padding:28px;overflow:hidden;border-right:1px solid #e8eae2}.drop-zone{width:100%;border:1px dashed #b4bfaa;border-radius:5px;min-height:340px;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;padding:25px 14px;transition:background .15s,border-color .15s}.drop-zone.dragging{background:#dfe8d6;border:2px solid #6f895e}.upload-symbol{font:42px/1 Georgia,serif;color:#7d9270;width:70px;height:70px;border-radius:50%;background:#e7ebdf;display:grid;place-items:center;margin-bottom:24px}.drop-zone h3{font:24px/1.2 Georgia,serif;letter-spacing:-.5px;margin-bottom:10px}.drop-zone p{font-size:11px;color:#747e6f;line-height:1.6;margin-bottom:19px}.drop-zone small{font-size:9px;color:#8b9485;margin-top:17px}.drop-zone .button{font-size:11px;min-height:39px;padding:10px 17px}.cover-preview{display:flex;align-items:center;justify-content:center;width:100%;height:100%;min-height:340px;padding-bottom:23px}.cover-preview img{max-width:100%;max-height:380px;box-shadow:3px 9px 24px #1b301b25;object-fit:contain}.preview-tag{position:absolute;bottom:20px;left:0;right:0;text-align:center;font-size:8px;letter-spacing:1.6px;color:#75816e}.saved-preview{width:100%;height:100%;min-height:340px;padding-bottom:23px}.saved-preview iframe{border:0;width:100%;height:100%;min-height:330px;border-radius:3px}.file-processing{position:absolute;inset:0;background:#f2f0ebef;display:flex;align-items:center;justify-content:center;gap:12px;font-size:12px;color:#5e6e54}.spinner{width:18px;height:18px;border:2px solid #cdd7c4;border-top-color:#536f42;border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.editor-fields{padding:28px 29px 15px}.field{margin:0 0 26px;padding:0;border:0;min-width:0}.field>label,.field>legend{font-size:11px;font-weight:700;margin-bottom:10px;display:block}.field>input{width:100%;border:1px solid #dce0d5;padding:12px 11px;border-radius:4px;font-size:12px;background:#fff;color:var(--ink)}.field>small{display:block;color:#8a9283;font-size:10px;margin-top:8px}.color-controls{display:flex;gap:10px;align-items:center}.color-picker{width:43px;height:39px;border:1px solid #dce0d5;border-radius:4px;padding:4px;display:block;background:#fff}.color-picker input{appearance:none;padding:0;border:0;background:transparent;width:100%;height:100%;cursor:pointer}.color-picker input::-webkit-color-swatch-wrapper{padding:0}.color-picker input::-webkit-color-swatch{border:0;border-radius:2px}.hex-field input{width:105px;height:39px;padding:9px 11px;border:1px solid #dce0d5;border-radius:4px;background:#fff;font:12px ui-monospace,SFMono-Regular,Consolas,monospace}.presets{display:flex;gap:10px;margin-top:12px}.presets button{width:22px;height:22px;border:1px solid #d6dbcf;border-radius:50%;background:var(--swatch)}.presets button[aria-pressed=true]{outline:1px solid #6e825f;outline-offset:3px}.choices{display:grid;grid-template-columns:1fr 1fr;gap:9px}.choices label{cursor:pointer;position:relative;display:block}.choices input{position:absolute;left:10px;top:12px;accent-color:var(--green)}.choices label>span{display:block;padding:12px 10px 12px 31px;min-height:99px;border:1px solid #dce0d5;border-radius:4px;background:#fff}.choices input:checked+span{background:#f2f6ee;border-color:#94a685}.choices input:focus-visible+span{outline:2px solid #769067;outline-offset:3px}.choices strong{display:block;font-size:10px;line-height:1.5;margin:8px 0 4px}.choices small{font-size:9px;line-height:1.5;color:#7b8573;display:block}.mode-icon{display:block;border:1px solid #6e825f;height:17px;width:13px;margin-top:1px}.mode-icon.spread{width:24px;position:relative}.mode-icon.spread:after{content:'';height:100%;width:1px;background:#6e825f;position:absolute;left:50%}.field-note{font-size:13.5px;color:#88917f;line-height:1.6;margin:10px 0 0}.file-summary{display:flex;gap:10px;align-items:center;padding:0 0 17px;margin-bottom:21px;border-bottom:1px solid #e6e9df;min-width:0}.pdf-badge{padding:9px 5px;background:#f0f3eb;color:#6c805c;font-size:9px;border:1px solid #dfe5d6;border-radius:3px}.file-summary>div{min-width:0;flex:1}.file-summary strong{display:block;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:230px}.file-summary small{display:block;font-size:9px;color:#899280;margin-top:4px}.file-summary .text-button{font-size:9px}.dialog-footer{border-top:1px solid #e8eae2;padding:18px 28px;display:flex;align-items:center;justify-content:space-between;gap:16px;background:#fcfcf9}.dialog-footer>p{font-size:10px;color:#8a9381;margin:0}.dialog-footer>div{display:flex;gap:10px}.dialog-footer .button{font-size:11px;min-height:40px;padding:10px 16px}.upload-progress{padding:18px 29px;background:#f7faf4}.upload-progress>div{display:flex;justify-content:space-between;font-size:11px;color:#65765a;margin-bottom:10px}.upload-progress progress{height:5px;width:100%;accent-color:var(--green);border:0;display:block;border-radius:3px;overflow:hidden;background:#e0e7d9}.upload-progress progress::-webkit-progress-bar{background:#e0e7d9}.upload-progress progress::-webkit-progress-value{background:var(--green)}.share-dialog{width:910px}.share-body{padding:23px 28px 17px}.share-preview{height:370px;background:#f2f0eb;border:1px solid #e3e7dc;border-radius:5px;overflow:hidden;margin-bottom:23px}.share-preview iframe{width:100%;height:100%;border:0}.share-heading{display:flex;justify-content:space-between;gap:14px;align-items:baseline;margin-bottom:18px}.share-heading h3{font:22px/1.3 Georgia,serif;margin:0;overflow-wrap:anywhere}.text-link{font-size:15px;color:var(--green);text-decoration:none;white-space:nowrap}.text-link>span{margin-left:9px}.share-fields>label{font-size:16.5px;display:block;font-weight:600;margin:18px 0 9px}.copy-field{display:flex;gap:10px}.copy-field input{min-width:0;flex:1;border:1px solid #dce0d5;border-radius:4px;padding:11px 12px;color:#5d6855;background:#f9faf6;font-size:16.5px}.copy-field .button{font-size:15px;min-height:39px}.embed-field{border:1px solid #dce0d5;border-radius:4px;background:#f9faf6;padding:10px 12px}.embed-field textarea{display:block;width:100%;resize:vertical;border:0;background:transparent;color:#66725c;font:15px/1.7 ui-monospace,SFMono-Regular,Consolas,monospace}.embed-field .text-button{font-size:15px}.copy-status{font-size:15px;color:var(--green);min-height:13px;margin:10px 0 0}.toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);border:1px solid #465e3b;background:#2f412b;color:#fff;padding:14px 22px;border-radius:5px;font-size:18px;box-shadow:0 5px 20px #1a2d1529;z-index:10;max-width:calc(100% - 32px);text-align:center}@media(min-width:1400px){.library .items{grid-template-columns:repeat(3,minmax(0,1fr))}.library .cover{height:250px}}@media(max-width:1000px){.site-header{padding:0 5%}.workspace{padding:45px 5% 0}.library .items{grid-template-columns:repeat(2,minmax(0,1fr))}.page-heading{margin-bottom:35px}h1{font-size:43px}.site-header .descriptor{display:none}}@media(max-width:700px){.site-header{min-height:75px}.site-header .brand img{width:130px}.site-header .status{font-size:15px}.site-header .actions{gap:15px}.workspace{padding-top:33px}.page-heading{align-items:flex-start;flex-direction:column;gap:23px;margin-bottom:24px}h1{font-size:38px;letter-spacing:-1.3px}.intro{font-size:18px}.eyebrow{font-size:13.5px;margin-bottom:13px}.page-heading .button{min-height:41px;font-size:16.5px;padding:11px 16px}.library-toolbar{align-items:flex-start;padding-bottom:18px;margin-bottom:20px;gap:12px}.library-toolbar .count{font-size:15px;padding-top:10px;text-align:right;white-space:nowrap}.search{width:230px;max-width:70%}.search input{font-size:16.5px}.library .items{gap:15px}.library .cover{height:210px;padding:20px}.library .cover img{max-width:100%}.library .details{padding:16px 13px 12px}.library .details h2{font-size:21px}.library .card-actions{gap:9px}.library .meta{font-size:13.5px;gap:5px}.library .meta span+span:before{margin-right:5px}.library .share-button,.library .edit-button{font-size:15px}.library .share-button{gap:4px}.empty-state{padding:25px 0 40px}.empty-state h2{font-size:28px}.empty-state>p:not(.eyebrow){font-size:18px}.empty-state .illustration{margin-bottom:26px}.workspace-footer{font-size:13.5px;line-height:1.7;margin-top:35px}.workspace-footer>span:first-child{max-width:160px}dialog{max-width:calc(100vw - 20px);max-height:calc(100dvh - 20px);border-radius:7px}.dialog-heading{padding:22px 20px 19px}.dialog-heading h2{font-size:28px}.editor-body{grid-template-columns:1fr}.preview-panel{min-height:240px;border-right:0;border-bottom:1px solid #e8eae2;padding:20px}.drop-zone{min-height:230px;padding:18px}.drop-zone .upload-symbol{height:48px;width:48px;font-size:31px;margin-bottom:13px}.drop-zone h3{font-size:22px;margin-bottom:6px}.drop-zone p{margin-bottom:12px}.drop-zone small{margin-top:12px}.cover-preview{min-height:250px;padding-bottom:18px}.cover-preview img{max-height:250px;max-width:85%}.preview-tag{bottom:14px}.saved-preview{min-height:250px}.saved-preview iframe{min-height:250px}.editor-fields{padding:23px 20px 5px}.field{margin-bottom:23px}.field>input{font-size:16px}.hex-field input{font-size:14px}.choices label>span{min-height:94px}.choices strong{font-size:11px}.choices small{font-size:10px}.dialog-footer{padding:16px 20px;flex-wrap:wrap;justify-content:flex-end}.dialog-footer>p{margin-right:auto;max-width:130px;font-size:9px;line-height:1.5}.dialog-footer .button{padding:10px 12px;gap:8px}.share-body{padding:18px 19px 13px}.share-preview{height:280px}.share-heading{align-items:flex-start;flex-direction:column;gap:8px}.share-heading h3{font-size:21px}.copy-field{gap:7px}.copy-field input{font-size:15px;padding:9px}.copy-field .button{padding:10px;font-size:15px}.access-screen{padding:50px 20px}.access-card{padding:30px 25px}.access-card h1{font-size:33px}.desktop-only{display:none}}@media(max-width:430px){.library .items{grid-template-columns:1fr}.library .cover{height:285px}.library .details{padding:20px}.library .details h2{font-size:25px}.library .card-actions{gap:18px}.library .share-button,.library .edit-button{font-size:16.5px}.site-header .status{max-width:110px;line-height:1.5}.site-header .status:before{display:none}.dialog-footer>p{display:none}.library .cover img{max-width:80%}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}.spinner{animation-duration:1.5s}}

/* Editor typography: 50% larger, scoped to the new/edit flipbook dialog. */
.editor-dialog { font-size: 24px; }
.editor-dialog .dialog-heading .eyebrow { font-size: 12px; }
.editor-dialog .dialog-heading h2 { font-size: 46.5px; }
.editor-dialog .icon-button { font-size: 36px; width: 44px; height: 44px; }
.editor-dialog .upload-symbol { font-size: 63px; }
.editor-dialog .drop-zone h3 { font-size: 36px; }
.editor-dialog .drop-zone p,
.editor-dialog .drop-zone .button { font-size: 16.5px; }
.editor-dialog .drop-zone small { font-size: 13.5px; }
.editor-dialog .preview-tag { font-size: 12px; }
.editor-dialog .file-processing,
.editor-dialog .notice { font-size: 18px; }
.editor-dialog .field > label,
.editor-dialog .field > legend { font-size: 16.5px; }
.editor-dialog .field > input { font-size: 18px; }
.editor-dialog .field > small { font-size: 15px; }
.editor-dialog .hex-field input { font-size: 18px; width: 145px; height: auto; min-height: 43px; }
.editor-dialog .color-picker { height: 43px; }
.editor-dialog .choices strong { font-size: 15px; }
.editor-dialog .choices small,
.editor-dialog .field-note,
.editor-dialog .pdf-badge,
.editor-dialog .file-summary small,
.editor-dialog .file-summary .text-button { font-size: 13.5px; }
.editor-dialog .file-summary strong { font-size: 15px; }
.editor-dialog .dialog-footer > p { font-size: 15px; }
.editor-dialog .dialog-footer .button,
.editor-dialog .upload-progress > div { font-size: 16.5px; }
.editor-dialog .button > span { font-size: 27px; }
.editor-dialog .dialog-footer { flex-wrap: wrap; }
.editor-dialog .dialog-footer > div { margin-left: auto; flex-wrap: wrap; }
@media (max-width: 700px) {
  .editor-dialog .dialog-heading h2 { font-size: 42px; }
  .editor-dialog .drop-zone .upload-symbol { font-size: 46.5px; }
  .editor-dialog .drop-zone h3 { font-size: 33px; }
  .editor-dialog .field > input { font-size: 24px; }
  .editor-dialog .hex-field input { font-size: 21px; }
  .editor-dialog .choices strong { font-size: 16.5px; }
  .editor-dialog .choices small { font-size: 15px; }
  .editor-dialog .dialog-footer > p { font-size: 13.5px; }
}

/* Allow the larger interface text to wrap within narrow layouts. */
.site-header .actions { flex-wrap: wrap; }
.library .card-actions { flex-wrap: wrap; }
.library-toolbar { flex-wrap: wrap; }
.share-heading { flex-wrap: wrap; }
.share-dialog .icon-button { width: 44px; height: 44px; }
@media (max-width: 700px) {
  .library-toolbar .count { white-space: normal; }
  .workspace-footer { flex-wrap: wrap; }
}
