.eb-page{background:#f5f0e8;color:#40382f;padding:42px 0 80px}.eb-wrap{width:min(1180px,calc(100% - 48px));margin:auto}.eb-back{font-size:12px;color:#756450}.eb-header{padding-bottom:35px}.eb-kicker{font-size:11px;letter-spacing:.13em;color:#92734f;font-weight:700;margin:25px 0 12px}.eb-header h1{font-family:'Noto Serif KR',serif;font-size:clamp(30px,3.8vw,45px);line-height:1.45;letter-spacing:-.04em;font-weight:500}.eb-header>p:last-of-type{margin:20px 0;color:#786e63;line-height:1.9;font-size:14px}.eb-notice{display:flex;flex-wrap:wrap;gap:5px 12px;font-size:12px;line-height:1.8;padding:15px 18px;border:1px solid #deceb5;background:#fffbf4;border-radius:9px}.eb-workspace{display:grid;grid-template-columns:minmax(0,1.03fr) minmax(0,.97fr);align-items:start;gap:32px}.eb-panel{padding:28px;background:#fffdfa;border:1px solid #e4d8c7;border-radius:13px;margin-bottom:18px}.eb-panel .eb-kicker{margin-top:0}.eb-panel h2{font-family:serif;font-size:23px;line-height:1.5;margin-bottom:20px;letter-spacing:-.03em}.eb-field{display:block;font-size:13px;font-weight:700;margin-top:20px}.eb-field>span{float:right;color:#9b8a77;font-size:11px;font-weight:400}.eb-field input,.eb-field select{display:block;width:100%;border:1px solid #d9cbb7;background:white;border-radius:7px;padding:12px;margin-top:8px;font-size:14px;font-weight:400;line-height:1.5}.eb-theme-options{margin-top:22px;border:0;display:flex;gap:12px}.eb-theme-options legend{font-size:13px;font-weight:700;margin-bottom:10px}.eb-theme-options label{display:flex;align-items:center;gap:8px;flex:1}.eb-swatch{padding:16px 14px;border-radius:7px;border:1px solid #d7c8b2;display:block;width:100%;font-size:12px}.eb-swatch--linen{background:#faf5eb;color:#765d43}.eb-swatch--forest{background:#eff4ef;color:#315647}.eb-page input[type=checkbox],.eb-page input[type=radio]{accent-color:#775c3b;width:17px;height:17px;flex-shrink:0}.eb-help{color:#837565;font-size:12px;line-height:1.85;word-break:keep-all}.eb-chapters{margin-top:20px}.eb-chapter{border:1px solid #e5d9c9;border-radius:8px;padding:12px;margin-bottom:10px}.eb-chapter-row{display:flex;justify-content:space-between;gap:12px;align-items:center}.eb-chapter-row>label{display:flex;align-items:center;gap:9px;font-size:13px;line-height:1.6}.eb-order{display:flex;flex-shrink:0;gap:5px}.eb-order button{width:32px;min-height:34px;border:1px solid #dbcdbb;border-radius:5px;background:white}.eb-order button:disabled{opacity:.35}.eb-chapter summary{font-size:12px;color:#8a765e;cursor:pointer;margin-top:12px;padding:7px 0}.eb-chapter>.eb-help{margin-top:10px}.eb-chapter.is-excluded{background:#f1efeb}.eb-records{max-height:290px;overflow:auto}.eb-records label{display:flex;gap:10px;padding:13px 0;border-top:1px solid #e9e1d7;align-items:flex-start}.eb-records label>span{min-width:0;font-size:12px;line-height:1.8}.eb-records strong{display:block;color:#675541}.eb-records small{color:#8a7b69}.eb-record-excerpt{display:block;max-height:110px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;color:#847867}.eb-select-actions{display:flex;gap:16px;margin:15px 0;font-size:12px;color:#816646}.eb-select-actions button{text-decoration:underline;text-underline-offset:4px;min-height:30px}.eb-photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;max-height:470px;overflow:auto;margin-top:18px}.eb-photo-grid label{position:relative;display:flex;flex-direction:column;border:1px solid #ded2c0;border-radius:8px;overflow:hidden;background:#faf6f0}.eb-photo-grid input{position:absolute;left:8px;top:8px;z-index:1}.eb-photo-grid img{width:100%;height:105px;object-fit:cover}.eb-photo-grid span{font-size:11px;padding:9px;line-height:1.6;overflow-wrap:anywhere}.eb-primary,.eb-secondary{width:100%;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:15px 18px;border-radius:8px;font-size:14px;font-weight:700;min-height:51px}.eb-primary{background:#705438;color:white;margin-top:20px}.eb-secondary{border:1px solid #b39b7c;color:#6e5436;margin-top:10px;justify-content:center;background:#fffcf7}.eb-page button:disabled{opacity:.5;cursor:not-allowed}.eb-selection{margin-top:15px;font-size:13px;font-weight:700;color:#785c3c}.eb-status{font-size:12px;line-height:1.8;margin-top:14px;color:#6f7e60;min-height:24px}.eb-status.is-error{color:#a1402f}.eb-preview-panel{position:sticky;top:100px;min-width:0;max-height:calc(100vh - 125px);overflow:auto;border:1px solid #ddd0bd;border-radius:13px;background:#e8dfd1;padding:25px}.eb-preview-heading{text-align:center;margin-bottom:24px}.eb-preview-heading>span{display:block;color:#968064;font-size:9px;letter-spacing:.2em}.eb-preview-heading>strong{display:block;font-family:serif;font-size:22px;margin:10px 0}.eb-preview-heading p{font-size:11px;line-height:1.8;color:#8a7964}.eb-book-cover{position:relative;display:flex;align-items:center;flex-direction:column;text-align:center;padding:40px 26px 30px;min-height:510px;background:#faf5eb;color:#765d43;box-shadow:6px 10px 18px #63462515;border:1px solid #c4ae8e;border-left:8px solid #ac9270}.eb-book--forest{background:#eff4ef;color:#315647;border-color:#809888}.eb-book-cover>span{font-size:11px;letter-spacing:.12em}.eb-book-cover h2{font-family:'Noto Serif KR',serif;font-size:27px;line-height:1.55;word-break:keep-all;overflow-wrap:anywhere;font-weight:500;margin:26px 0}.eb-book-cover>img{max-width:100%;width:200px;height:200px;object-fit:contain;margin:5px 0 20px}.eb-book-cover>p{font-size:12px;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere;margin-top:auto}.eb-book-cover>small{font-size:8px;letter-spacing:.2em;margin-top:30px}.eb-book-symbol{font-size:52px;font-weight:400;opacity:.5;margin:40px 0 60px}.eb-preview-empty{text-align:center;font-size:12px;line-height:1.9;color:#97846c;margin-top:25px}.eb-book-page{background:#fffcf7;margin-top:20px;padding:30px 25px;box-shadow:3px 5px 14px #63462510}.eb-book-page h2{font-family:serif;font-size:23px;line-height:1.6;margin-bottom:25px;color:#6c583e;word-break:keep-all}.eb-book-page ol{list-style:decimal;padding-left:20px;font-size:13px;line-height:2.3;color:#7b6951}.eb-book-record{margin-bottom:24px}.eb-book-record h3{font-size:15px;margin-bottom:12px;font-weight:700;line-height:1.8;overflow-wrap:anywhere}.eb-book-record p{white-space:pre-wrap;font-size:13px;line-height:2;overflow-wrap:anywhere}.eb-book-record small{display:block;color:#a18a6e;font-size:11px;margin-top:12px}.eb-book-page figure{margin:0 0 24px}.eb-book-page img{max-height:300px;width:100%;object-fit:contain}.eb-book-page figcaption{text-align:center;color:#8d7960;font-size:11px;margin-top:10px;line-height:1.8}.eb-page :is(a,button,input,select,summary):focus-visible{outline:3px solid #b99c66;outline-offset:3px}.eb-preview-content{scroll-margin-top:100px}
@media(max-width:900px){.eb-workspace{grid-template-columns:1fr;gap:20px}.eb-preview-panel{position:static;max-height:none}.eb-header h1{font-size:34px}.eb-wrap{width:calc(100% - 32px)}.eb-page{padding-top:28px}.eb-panel{padding:22px}.eb-book-cover{max-width:450px;margin:auto}.eb-book-page{max-width:450px;margin:20px auto 0}}
@media(max-width:400px){.eb-panel{padding:17px}.eb-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.eb-theme-options{gap:8px}.eb-swatch{padding:13px 8px}.eb-panel h2{font-size:21px}.eb-preview-panel{padding:15px}.eb-chapter-row{gap:5px}.eb-chapter-row>label{font-size:12px}.eb-order button{width:28px}.eb-book-cover{padding:32px 20px}.eb-book-cover h2{font-size:24px}}

.eb-auto{background:#f1f5ed;border-color:#bfccb6}.eb-auto .eb-primary{background:#355845}.eb-auto .eb-help:last-of-type{margin-top:14px}.eb-start-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.eb-start-grid .eb-panel{margin-bottom:0}.eb-start-grid+.eb-panel{margin-top:20px}@media(max-width:700px){.eb-start-grid{grid-template-columns:1fr}}

.eb-preview-panel,#ebook-form{scroll-margin-top:90px}.eb-preview-actions{margin-bottom:22px}.eb-preview-actions>a{display:block;text-align:center;font-size:12px;color:#705438;padding:12px 0}

/* The editor and the printed keepsake share a restrained, warm palette. */
@font-face{font-family:EbookBatang;src:url('/static/fonts/moriam/GowunBatang-Regular.ttf') format('truetype');font-display:swap}
.eb-field textarea{display:block;width:100%;margin-top:8px;padding:13px;border:1px solid #d9cbb7;border-radius:7px;background:#fff;font-family:inherit;font-size:14px;font-weight:400;line-height:1.9;resize:vertical;min-height:80px}
.eb-page textarea:focus-visible{outline:3px solid #b99c66;outline-offset:3px}
.eb-writing{margin-top:24px;padding-top:22px;border-top:1px solid #e4d8c7}
.eb-include{display:flex;align-items:center;gap:10px;font-size:14px;font-weight:700;line-height:1.7}
.eb-theme-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.eb-theme-options label{flex-direction:column;position:relative;text-align:center;gap:8px}
.eb-swatch{padding:15px 6px;line-height:1.7;word-break:keep-all}
.eb-swatch--rose{background:#f9efeb;color:#875f59}
.eb-volume{--book-accent:#765b3e;--book-paper:#f7f1e7;--book-gold:#b49a70;--book-ink:#393d36;font-family:EbookBatang,'Noto Serif KR',serif}
.eb-volume--forest{--book-accent:#315749;--book-paper:#f0f2e9}
.eb-volume--rose{--book-accent:#875f59;--book-paper:#f9efeb}
.eb-volume .eb-book-cover{isolation:isolate;min-height:610px;padding:48px 35px 33px;border:0;border-left:9px solid var(--book-accent);color:var(--book-accent);background:var(--book-paper);box-shadow:5px 8px 24px #60482c20}
.eb-volume .eb-book-cover::after{content:'';position:absolute;inset:18px 16px 18px 13px;border:1px solid var(--book-gold);opacity:.6;pointer-events:none;z-index:-1}
.eb-book-eyebrow{display:block;font-family:Arial,sans-serif;font-size:9px!important;letter-spacing:.16em!important;line-height:1.7;color:var(--book-accent)}
.eb-volume .eb-cover-edition{font-size:10px;letter-spacing:.05em;margin:10px 0 0}
.eb-volume .eb-book-cover h2{font-family:inherit;font-size:28px;line-height:1.6;font-weight:400;margin:25px 0;position:relative}
.eb-volume .eb-book-cover>img{width:220px;height:235px;padding:7px;background:#fffdf8;object-fit:contain;margin:0 0 23px}
.eb-volume .eb-book-cover .eb-cover-line{font-size:13px;line-height:1.9;margin:0 0 20px;white-space:pre-wrap;overflow-wrap:anywhere}
.eb-volume .eb-book-cover .eb-cover-subtitle{font-size:10px;margin:0;line-height:1.9;white-space:pre-wrap}
.eb-volume .eb-book-cover>small{font-family:Arial,sans-serif;font-size:8px;letter-spacing:.1em;line-height:1.8;margin-top:24px}
.eb-botanical{display:block;width:60px;height:78px;color:var(--book-gold);flex-shrink:0}
.eb-book-cover>.eb-botanical{position:absolute;right:27px;top:29px;width:33px;height:43px;opacity:.6;z-index:-1}
.eb-cover-ornament{height:235px;display:flex;justify-content:center;align-items:center}
.eb-cover-ornament .eb-botanical{width:98px;height:140px}
.eb-volume .eb-book-page{position:relative;padding:44px 34px 37px;background:#fffdf8;color:var(--book-ink);min-height:440px;border-top:2px solid var(--book-paper)}
.eb-volume .eb-book-page h2{font-family:inherit;font-size:25px;font-weight:400;color:var(--book-accent);line-height:1.6;margin:22px 0 20px;overflow-wrap:anywhere}
.eb-volume .eb-book-page .eb-chapter-note{font-size:12px;line-height:2;color:#7b766b;white-space:pre-wrap;word-break:keep-all;margin:0 0 21px}
.eb-fine-rule{width:42px;height:1px;background:var(--book-gold);margin:25px 0}
.eb-volume .eb-book-contents ol{list-style:none;counter-reset:contents;padding:0;font-size:13px;line-height:1.9;margin:25px 0}
.eb-volume .eb-book-contents li{counter-increment:contents;display:flex;gap:16px;padding:12px 0;border-bottom:1px solid #d4c9b844;color:var(--book-accent)}
.eb-volume .eb-book-contents li::before{content:counter(contents,decimal-leading-zero);font-family:Arial,sans-serif;font-size:10px;color:#a08d71;flex-shrink:0;padding-top:4px}
.eb-book-page>.eb-botanical{margin:30px auto 0;width:43px;height:57px}
.eb-volume .eb-editorial-prose{font-size:14px;line-height:2.2;white-space:pre-wrap;overflow-wrap:anywhere;word-break:normal}
.eb-volume .eb-book-record h3{font-family:inherit;font-size:15px;font-weight:700;color:var(--book-accent)}
.eb-volume .eb-book-record p{line-height:2.1;font-size:13px}
.eb-volume .eb-book-record+.eb-book-record{padding-top:24px;border-top:1px solid #d4c9b866}
.eb-volume .eb-book-page figure{margin:26px 0 38px}
.eb-volume .eb-book-page img{max-height:390px}
.eb-volume .eb-book-page figcaption{font-family:inherit;color:#7b766b}
.eb-volume .eb-book-colophon{text-align:center;display:flex;align-items:center;justify-content:center;flex-direction:column;min-height:510px}
.eb-volume .eb-book-colophon>.eb-botanical{width:64px;height:86px;margin:10px auto 20px}
.eb-volume .eb-book-colophon p{font-size:12px;line-height:2;color:#7b766b}
.eb-volume .eb-book-colophon small{font-family:Arial,sans-serif;font-size:8px;letter-spacing:.2em;margin-top:45px;color:#7b766b}
@media(max-width:450px){.eb-volume .eb-book-cover{padding:46px 27px 32px;min-height:580px}.eb-volume .eb-book-cover h2{font-size:25px}.eb-volume .eb-book-cover>img{max-width:100%;height:210px}.eb-volume .eb-book-page{padding:35px 24px}.eb-volume .eb-book-page h2{font-size:23px}.eb-volume .eb-editorial-prose{font-size:13px}.eb-swatch{font-size:11px}}
.eb-readiness{max-width:800px;padding-top:28px;padding-bottom:60px}.eb-readiness h1{font-family:QRSerif,serif;font-size:clamp(28px,4vw,40px);line-height:1.6;color:#304d3d}.eb-readiness-lead{line-height:2;color:#655f52}.eb-readiness .eb-panel{margin-top:24px}.eb-readiness-important{margin:28px 0;padding:24px;border:1px solid #cbb58d;border-radius:22px;background:#fbf5e9;line-height:1.9;color:#594a32}.eb-readiness-important h2{font-size:20px}.eb-readiness-count{font-size:22px;color:#315749}.eb-readiness-count small{font-size:14px}.eb-readiness-list{padding-left:22px;line-height:2}.eb-readiness-list li+li{margin-top:8px}.eb-readiness-check{display:flex;gap:12px;align-items:flex-start;line-height:1.9;cursor:pointer;padding:12px 0}.eb-readiness-check input{width:20px;height:20px;flex-shrink:0;margin-top:5px;accent-color:#315749}.eb-readiness-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px}.eb-readiness-actions>*{min-height:48px}.eb-final-dialog{border:1px solid #cbb58d;border-radius:24px;background:#fcf9f0;color:#304d3d;width:min(560px,calc(100vw - 32px));padding:28px;line-height:1.9}.eb-final-dialog::backdrop{background:#20392fc4}.eb-final-dialog h2{font-size:24px;line-height:1.5}.eb-final-dialog button{min-height:48px}.eb-final-dialog .eb-readiness-actions{justify-content:flex-end}@media(max-width:600px){.eb-readiness{padding-top:18px}.eb-readiness-actions{flex-direction:column}.eb-readiness-actions>*{width:100%;text-align:center}.eb-final-dialog{padding:22px}.eb-readiness-important{padding:20px}}
