@font-face{font-family:StorykeryUI;src:url('/torykery-home/assets/fonts/PretendardVariable.woff2') format('woff2');font-weight:100 900;font-display:swap}
:root{--paper:#f7f8f3;--surface:#fff;--ink:#233e34;--muted:#65766d;--line:#d7e1d8;--green:#234b3d;--soft:#eaf1e9;--warn:#855329;--warn-bg:#fff4e8;--danger:#9e3b2c;font:16px/1.6 StorykeryUI,Pretendard,system-ui,sans-serif;color:var(--ink);background:var(--paper);color-scheme:light}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:default;opacity:.5}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #bd7956;outline-offset:3px}button{min-height:44px;border:1px solid var(--line);border-radius:9px;padding:9px 14px;color:var(--ink);background:var(--surface)}button:hover:not(:disabled){border-color:#859f8e;background:#f0f5ef}button.primary{background:var(--green);color:white;border-color:var(--green)}button.primary:hover:not(:disabled){background:#163a2b}button.quiet{background:transparent;color:var(--muted)}button.small{font-size:13px;padding:7px 10px}h1,h2,h3,p{margin:0}h1{font-size:34px;line-height:1.35;font-weight:600;letter-spacing:-.035em}h2{font-size:21px;line-height:1.45;font-weight:600;letter-spacing:-.025em}h3{font-size:16px}small,.small-text{font-size:13px;color:var(--muted)}.topbar{height:80px;display:flex;align-items:center;justify-content:space-between;padding:0 max(24px,calc((100vw - 1220px)/2));border-bottom:1px solid var(--line);background:#fff;gap:20px}.brand{text-decoration:none;color:var(--green);font-family:Georgia,serif;font-size:23px;letter-spacing:2px}.brand span{display:block;font-family:StorykeryUI,system-ui,sans-serif;font-size:11px;letter-spacing:0}.preview-label{font-size:13px;color:var(--muted)}.page{display:grid;grid-template-columns:minmax(0,760px) 300px;gap:48px;max-width:1190px;margin:0 auto;padding:48px 24px 90px}.welcome{margin-bottom:40px;display:grid;gap:14px}.eyebrow{text-transform:uppercase;font-size:12px;letter-spacing:1.7px;color:var(--muted)}.honest-note{font-size:13px;color:var(--muted);max-width:600px}.chat-entry{margin-bottom:28px}.assistant-label{display:flex;gap:8px;align-items:center;margin-bottom:10px;font-size:12px;color:var(--muted)}.assistant-dot{width:24px;height:24px;border-radius:50%;display:grid;place-items:center;background:var(--green);color:#fff;font-family:Georgia,serif}.assistant-bubble{border:1px solid var(--line);background:var(--surface);border-radius:4px 18px 18px 18px;padding:24px;display:grid;gap:18px}.answered-question{padding:0 0 10px;font-size:15px;color:var(--muted)}.user-bubble{margin-left:auto;max-width:88%;padding:13px 16px;border-radius:16px 4px 16px 16px;background:var(--soft);display:flex;align-items:flex-start;justify-content:space-between;gap:16px;white-space:pre-wrap;overflow-wrap:anywhere}.user-bubble .answer-text{min-width:0}.user-bubble button{flex:none;background:transparent;border-color:transparent;color:#476651}.recheck{display:block;font-size:12px;color:var(--warn);margin-top:5px}.question-help{font-size:14px;color:var(--muted)}.choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.choice{text-align:left;display:flex;gap:12px;align-items:flex-start;min-height:78px;padding:15px}.choice-icon{width:34px;height:38px;border:1px solid #a9b9ad;background:#f2f5ef;display:grid;place-items:center;flex:none;font-size:18px}.choice strong{display:block;font-size:15px;font-weight:600}.choice span span{display:block;font-size:12px;color:var(--muted);margin-top:2px}.choice[aria-pressed=true]{border:2px solid #315c44;padding:14px;background:#f1f6ef}.choice[aria-pressed=true] strong::after{content:' ✓';color:var(--green)}.field{display:grid;gap:7px;min-width:0;font-size:14px;font-weight:500}.field input,.field textarea,.field select{display:block;width:100%;border:1px solid #bdcfc0;border-radius:8px;padding:11px 12px;background:#fff;color:var(--ink);font-size:16px;font-weight:400;min-width:0}.field textarea{min-height:110px;resize:vertical;line-height:1.7}.field input[readonly]{background:#f1f3ef;color:var(--muted)}.field-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}.fields{display:grid;gap:15px}.actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:4px}.actions .primary{margin-right:auto}.form-error{color:var(--danger);background:#fff0ea;padding:10px 12px;border-radius:6px;font-size:14px}.warning{padding:12px 14px;background:var(--warn-bg);color:var(--warn);border-radius:8px;font-size:13px}.info{padding:12px 14px;border:1px solid var(--line);background:#f8faf6;border-radius:8px;font-size:13px}.status-note{font-size:13px;color:var(--muted)}.illustration{width:100%;display:block;max-height:325px;color:var(--ink)}.a4-reference{fill:none;stroke:#aab5ad;stroke-width:1;stroke-dasharray:5 4}.selected-book{fill:#e8eee1;stroke:#43644d;stroke-width:1.4}.illustration text{fill:currentColor;font:14px StorykeryUI,system-ui,sans-serif}.paper-line{stroke:#80917b;stroke-width:1}.sample-carousel{display:grid;gap:12px}.sample-art{height:310px;background:#f0f2ec;display:flex;align-items:center;justify-content:center;overflow:hidden;border-radius:10px}.sample-art img{display:block;max-width:100%;width:auto;height:100%;object-fit:contain}.sample-caption{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;font-size:13px}.sample-navigation{display:flex;gap:7px;align-items:center}.sample-navigation span{margin:auto;font-size:13px;color:var(--muted)}.sample-thumbs{display:flex;flex-wrap:wrap;gap:7px}.sample-thumbs button{font-size:12px}.sample-thumbs [aria-pressed=true]{border-color:var(--green);background:var(--soft)}.upload-zone{border:1px dashed #a0b6a5;padding:20px;border-radius:9px;background:#fafbf8;display:grid;gap:10px}.upload-zone input{max-width:100%;font-size:14px}.upload-zone input::file-selector-button{min-height:44px;border:1px solid #a6bdad;border-radius:7px;background:white;color:var(--ink);padding:8px 12px;margin-right:10px}.upload-row{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.upload-name{overflow-wrap:anywhere;font-size:13px;color:var(--muted)}.divider{border:0;border-top:1px solid var(--line);margin:4px 0}.toc-preview{white-space:pre-wrap;border-left:2px solid #bacdbd;padding-left:15px;font-size:14px}.studio-tabs{display:flex;flex-wrap:wrap;gap:7px}.studio-tabs [aria-pressed=true]{background:var(--soft);border-color:var(--green)}.studio-preview{padding:18px;background:#edf0e9;border-radius:10px;overflow:hidden}.cover-face{position:relative;background:var(--cover-bg,#e9e6db);color:var(--cover-ink,#284a3c);aspect-ratio:128/188;max-width:235px;margin:auto;padding:17% 9% 8%;display:flex;flex-direction:column;overflow:hidden;box-shadow:3px 3px 7px #223b3020}.cover-face .art-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0}.cover-words{position:relative;z-index:1;white-space:pre-wrap;overflow-wrap:anywhere}.cover-face h3{font-size:23px;line-height:1.35;letter-spacing:-.045em}.cover-face .subtitle{font-size:12px;margin-top:12px}.cover-face .authors{font-size:11px;margin-top:auto;padding-top:22px}.cover-face .imprint{font-size:10px;margin-top:14px;letter-spacing:2px}.cover-logo{position:absolute;z-index:2;width:25%;height:auto;max-height:18%;object-fit:contain}.cover-logo[data-corner=tl]{top:5%;left:6%}.cover-logo[data-corner=tr]{top:5%;right:6%}.cover-logo[data-corner=bl]{bottom:5%;left:6%}.cover-logo[data-corner=br]{bottom:5%;right:6%}.cover-spread{display:grid;grid-template-columns:.45fr 1fr .09fr 1fr .45fr;aspect-ratio:386/188;max-width:100%;background:var(--cover-bg,#e9e6db);color:var(--cover-ink,#284a3c)}.spread-part{position:relative;padding:11% 10%;overflow:hidden;border-right:1px dashed #8b9e8c;font-size:clamp(8px,1.1vw,11px);white-space:pre-wrap;overflow-wrap:anywhere}.spread-part h3{font-size:inherit;margin-bottom:10%}.spread-part.front{padding:0;border:0}.spread-part .cover-face{max-width:none;height:100%;width:100%;box-shadow:none}.spread-part .cover-face h3{font-size:clamp(9px,2vw,18px)}.spread-part .cover-face .subtitle{font-size:clamp(7px,1vw,10px)}.spread-part .cover-face .authors{font-size:clamp(7px,1vw,9px)}.spread-part .cover-face .imprint{font-size:clamp(6px,.8vw,8px)}.spread-part.spine{writing-mode:vertical-rl;padding:12% 0;text-align:center;font-size:8px;border:0}.color-swatches{display:flex;gap:9px;flex-wrap:wrap}.color-swatches button{display:flex;gap:8px;align-items:center}.swatch{width:20px;height:20px;border:1px solid #bdc7b9;border-radius:50%;background:var(--swatch)}.book-summary{position:relative}.book-summary details{position:sticky;top:24px;border:1px solid var(--line);border-radius:14px;background:#fff;overflow:hidden}.book-summary summary{padding:18px 20px;font-weight:600;cursor:pointer;list-style:none}.book-summary summary::after{content:'⌄';float:right}.book-summary summary span{display:block;font-size:12px;font-weight:400;color:var(--muted);margin-top:4px}#summary-content{border-top:1px solid var(--line);padding:20px;display:grid;gap:20px}.summary-book{padding:16px 35px;background:#f1f3ec;border-radius:8px}.summary-book .cover-face{padding:18% 10% 8%;min-height:230px}.summary-book .cover-face h3{font-size:20px}.summary-list{margin:0;display:grid;gap:7px;font-size:13px}.summary-list div{display:flex;gap:8px;justify-content:space-between}.summary-list dt{color:var(--muted)}.summary-list dd{margin:0;text-align:right;max-width:65%;overflow-wrap:anywhere}.price strong{font-size:23px;letter-spacing:-.035em;display:block}.price p{font-size:12px;color:var(--muted);margin-top:6px}.price .quote-status{font-size:13px;color:var(--warn);margin-top:10px}.summary-caption{font-size:12px;color:var(--muted)}.final-list{display:grid;gap:0;margin:0}.final-row{display:grid;grid-template-columns:90px minmax(0,1fr) auto;gap:12px;padding:12px 0;border-bottom:1px solid var(--line);font-size:14px}.final-row dt{color:var(--muted)}.final-row dd{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.complete-mark{width:42px;height:42px;border-radius:50%;background:var(--soft);display:grid;place-items:center;font-size:24px}.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}[hidden]{display:none!important}
@media(max-width:1000px){.page{grid-template-columns:minmax(0,1fr) 270px;gap:24px;padding:32px 20px 70px}.assistant-bubble{padding:20px}.topbar{padding:0 20px}.summary-book{padding:14px 25px}}
@media(max-width:800px){.page{display:flex;flex-direction:column;padding:22px 16px 60px;gap:24px}.book-summary{order:-1}.book-summary details{position:static;border-radius:10px}.book-summary summary{padding:13px 16px;min-height:60px}.book-summary summary span{display:inline;margin-left:12px}.summary-book{max-width:240px;margin:auto;width:100%}#summary-content{grid-template-columns:1fr;gap:16px}.summary-list{max-width:420px;width:100%;margin:auto}.welcome{margin-bottom:28px;gap:12px}h1{font-size:29px}.topbar{height:70px;padding:0 16px}.brand{font-size:20px}.preview-label{font-size:11px;max-width:86px;text-align:right}.assistant-bubble{padding:18px 16px}.choices{gap:8px}.choice{padding:12px;gap:8px;min-height:84px}.choice[aria-pressed=true]{padding:11px}.choice-icon{display:none}.sample-art{height:240px}.field-row{grid-template-columns:1fr}.user-bubble{max-width:94%;padding:11px 13px}.final-row{grid-template-columns:65px minmax(0,1fr) auto;gap:8px}.actions{gap:7px}.actions .primary{flex:1 1 100%;margin:0}.actions button:not(.primary){flex:1}.spread-part{font-size:9px}.cover-spread{min-height:160px;aspect-ratio:auto}.spread-part .cover-face h3{font-size:11px}.spread-part .cover-face .subtitle,.spread-part .cover-face .authors{font-size:8px}.spread-part .cover-face .imprint{font-size:7px}.studio-preview{padding:10px}.honest-note{font-size:12px}}
.paper-comparison{display:grid;grid-template-columns:1fr 1fr;gap:12px}.paper-sample{padding:18px;border:1px solid #d5d8ce;border-radius:6px;color:#3b463a;font-size:13px}.paper-sample.cream{background:#f2ecd9}.paper-sample.white{background:#fff}.paper-sample p{white-space:pre-line;margin-top:12px}.paper-sample strong{font-size:14px}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
.template-service-notice{max-width:1190px;margin:24px auto 0;padding:0 24px;color:#1757a8;font-size:16px;font-weight:700;line-height:1.65;overflow-wrap:anywhere}
.manuscript-upload-guide{display:grid;gap:8px;padding:14px 16px;border:1px solid var(--line);border-radius:12px;background:var(--paper);font-size:14px;word-break:keep-all;overflow-wrap:anywhere}
.manuscript-upload-limits{font-weight:650}
.manuscript-upload-guide a{color:var(--green);text-underline-offset:2px}
.service-notice,.service-notice-sections{display:grid;gap:12px}
.service-notice-sections{grid-template-columns:repeat(2,minmax(0,1fr))}
.service-notice-section{border:1px solid var(--line);border-radius:12px;background:var(--paper);padding:14px;display:grid;gap:4px;align-content:start}
.service-notice-section h4{font-size:15px;margin:0}
.service-notice-section p{font-size:14px;line-height:1.55;word-break:keep-all;overflow-wrap:anywhere}
.order-contract-summary{font-size:14px}
.cover-request-form,.cover-request-summary{display:grid;gap:12px;padding:16px;border:1px solid var(--line);border-radius:12px;background:var(--paper);min-width:0}
.cover-request-form h3{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.cover-request-optional{font-size:12px;color:var(--muted);font-weight:500}
.cover-request-form .field textarea{min-height:84px}
.cover-reference-pick{justify-self:start}
.chapter-modes { border: 0; margin: 0; padding: 0; min-inline-size: 0; }
.chapter-modes legend { padding: 0; font-size: 16px; font-weight: 600; }
.chapter-mode-guide { margin: 4px 0 12px; font-size: 14px; color: var(--muted); }
.chapter-mode-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.chapter-mode { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto 1fr; align-items: start; gap: 12px 9px; border: 1px solid var(--line); border-radius: 12px; padding: 14px; background: var(--surface); cursor: pointer; }
.chapter-mode:hover { border-color: var(--green); }
.chapter-mode:has(:checked) { border-color: var(--green); box-shadow: inset 0 0 0 1px var(--green); background: var(--soft); }
.chapter-mode:has(:focus-visible) { outline: 2px solid var(--green); outline-offset: 2px; }
.chapter-mode input { margin: 3px 0 0; width: 18px; height: 18px; accent-color: var(--green); }
.chapter-mode-title { font-size: 16px; line-height: 1.45; overflow-wrap: anywhere; }
.chapter-mode-example { grid-column: 1 / -1; display: grid; align-content: start; gap: 4px; padding: 10px 12px; border-radius: 9px; background: var(--paper); }
.mode-example-label { font-size: 13px; font-weight: 650; color: var(--muted); }
.mode-example-chapter { display: block; padding: 3px 0 4px; }
.mode-example-chapter + .mode-example-chapter { border-top: 1px solid var(--line); padding-top: 6px; }
.mode-example-title, .mode-example-writing { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 6px; }
.mode-example-title { font-size: 15px; }
.mode-example-chapter-author, .mode-example-number { flex: none; font-size: 13px; color: var(--muted); }
.mode-example-writings { display: grid; gap: 2px; margin: 3px 0 0 8px; padding-left: 10px; border-left: 1px solid #bcc8ba; }
.mode-example-writing { font-size: 13px; line-height: 1.35; }
.mode-example-byline { flex: none; color: var(--muted); }
.chapter-plan { display: grid; gap: 8px; min-width: 0; }
.chapter-plan h3 { font-size: 16px; }
.chapter-mode-summary { font-weight: 600; }
.chapter-groups { display: grid; gap: 8px; }
.chapter-group { border-radius: 12px; background: var(--paper); padding: 11px 14px; overflow-wrap: anywhere; }
.chapter-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 14px; }
.chapter-heading h4 { margin: 0; font-size: 15px; }
.chapter-heading select { max-width: 100%; min-height: 44px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); color: var(--ink); padding: 4px 8px; }
.chapter-hint { font-size: 13px; color: var(--muted); }
.chapter-writings { display: grid; gap: 3px; padding-left: 20px; margin: 5px 0 0; font-size: 14px; }
.chapter-byline { margin-inline-start: 8px; color: var(--muted); white-space: nowrap; }
.chapter-owner { font-size: 13px; color: var(--green); font-weight: 600; }
.chapter-source-editor > summary { cursor: pointer; display: list-item; min-height: 44px; padding: 9px 0; font-size: 14px; }
.chapter-plan-summary > button { justify-self: start; }
@media(max-width:580px){.chapter-mode-options{grid-template-columns:minmax(0,1fr)}}
.cover-request-files{display:grid;gap:6px;padding:0;margin:0;list-style:none}
.cover-request-files li{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:14px;overflow-wrap:anywhere}
.cover-request-summary p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px}
.cover-reference-error{color:var(--danger);background:#fff0ea;padding:10px 12px;border-radius:6px;font-size:14px}
.order-contract-summary summary{cursor:pointer;min-height:44px;padding:10px 0;font-weight:600}
.order-contract-clauses{display:grid;gap:12px;margin-top:8px}
@media(max-width:600px){.service-notice-sections{grid-template-columns:minmax(0,1fr)}}
@media(max-width:800px){.template-service-notice{margin-top:20px;padding:0 16px}}
.actions{justify-content:flex-end}.actions .primary{margin-left:auto;margin-right:0;order:2}.actions .quiet{order:1}.style-role-example{display:grid;gap:8px;padding:15px;border-left:2px solid #a2b8a6;background:#f5f8f1}.style-role-example strong{font-size:16px;font-weight:700}.style-role-example em{font-size:14px;font-style:italic}.style-role-example span{font-size:13px}.file-list{margin:0;padding-left:22px;overflow-wrap:anywhere}.author-list{display:grid;gap:10px}.author-row{display:grid;grid-template-columns:55px minmax(0,1fr) auto auto;gap:7px}.author-row input{min-width:0;width:100%;padding:8px;border:1px solid #bdcfc0;border-radius:7px;font-size:16px}.contents-list{display:grid;gap:9px}.contents-card{border:1px solid var(--line);border-radius:8px;background:#fafbf8}.contents-card summary{padding:12px;cursor:pointer;min-height:44px}.contents-card>.fields{padding:0 14px 14px}.source-body{font:inherit;font-size:14px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere;max-height:260px;overflow:auto;padding:12px;background:#f0f3ed;border-radius:6px;margin:0}.style-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.style-card{display:grid;text-align:left;gap:9px;min-width:0;padding:10px}.style-card img{width:100%;height:200px;object-fit:contain;background:#f1f3ec}.style-card strong{font-size:14px}.style-card small{font-size:11px}.style-card[aria-pressed=true]{border:2px solid var(--green);padding:9px;background:#edf4e8}.selected-style-preview{height:230px;background:#f1f3ec;border-radius:8px;display:flex;justify-content:center;padding:10px}.selected-style-preview img{max-width:100%;height:100%;object-fit:contain}.check-line{display:flex;gap:10px;align-items:center;min-height:44px;font-size:14px}.check-line input{width:20px;height:20px;flex:none}.logo-layouts{display:grid;grid-template-columns:1fr 1fr;gap:14px}.logo-placement{padding:12px;background:#f0f4ec;border-radius:8px}.logo-points{display:grid;grid-template-columns:repeat(3,44px);justify-content:center;gap:8px;padding:18px 8px}.logo-point{display:grid;place-items:center;width:44px;height:44px;border:1px solid #bccdbd;border-radius:50%;background:#fff}.logo-point input{width:20px;height:20px;accent-color:#315c44}.production-dialog{border:1px solid var(--line);border-radius:14px;padding:26px;width:calc(100vw - 32px);max-width:620px;max-height:calc(100dvh - 32px);overflow:auto;background:#fff;color:var(--ink)}.production-dialog::backdrop{background:#142b2466}.production-dialog h2,.production-dialog p,.production-dialog ul{margin:0 0 18px}.production-dialog li{margin:12px 0}.production-dialog .actions{margin-top:20px}.qa-banner{margin:0;padding:10px 20px;background:#fff0ce;color:#614a16;font-size:13px;text-align:center}
@media(max-width:800px){.actions .primary{flex:0 1 auto;margin-left:auto;margin-right:0}.actions button:not(.primary){flex:0 1 auto}.author-row{grid-template-columns:48px minmax(0,1fr)}.author-row button{grid-column:auto}.style-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.style-card img{height:170px}.logo-layouts{grid-template-columns:1fr}.production-dialog{padding:20px}.production-dialog .actions{flex-wrap:wrap}.style-role-example{padding:12px}}

.order-link{display:inline-block;padding:10px 14px;border-radius:9px;text-decoration:none;background:#234b3d;color:white;min-height:44px}.receipt-payment{display:grid;gap:10px;padding:20px;background:#eaf1e9;border-radius:9px}.receipt-payment strong{font-size:25px}.production-dialog details{margin:18px 0;font-size:14px}.production-dialog details section{margin-top:18px}.production-dialog h3{margin-bottom:8px}#service-status{max-width:1142px;margin:20px auto;padding:12px 16px}
