:root{--brand: #b5402e;--brand-dark: #96351f;--brand-soft: #f9f0ec;--brand-line: #e3c4b8;--ink: #1c1b19;--ink-soft: #7a776f;--sumi: #1c1b19;--sumi-dark: #000000;--paper: #ffffff;--paper-outer: #f0efec;--desk: #f7f6f4;--panel: #ffffff;--line: #eceae6;--danger: #b04a5a;--fill: #f6f5f3;--fill-strong: #edece9;--radius-s: 2px;--radius-m: 6px;--font-serif: "Shippori Mincho", "Noto Serif JP", "Hiragino Mincho ProN", serif;--font-num: "Jost", "Noto Sans JP", sans-serif;--shadow-soft: 0 1px 3px rgba(28, 27, 25, .06);--ease: .22s ease}*{box-sizing:border-box}html,body{margin:0;padding:0;background:var(--paper-outer);color:var(--ink);font-family:Noto Sans JP,Hiragino Sans,system-ui,sans-serif;-webkit-text-size-adjust:100%;line-height:1.6}button{font:inherit}button,a.primary-button{transition:background-color var(--ease),color var(--ease),border-color var(--ease),box-shadow var(--ease),opacity var(--ease)}:focus-visible{outline:2px solid var(--brand);outline-offset:2px}.editor,.login-screen{max-width:560px;margin:0 auto;min-height:100dvh;background:var(--paper);display:flex;flex-direction:column;box-shadow:0 0 24px #1c1b1914}.login-screen{justify-content:center;align-items:center;gap:16px;padding:24px;text-align:center}.brand{font-family:var(--font-serif);color:var(--ink);font-size:20px;font-weight:600;letter-spacing:.12em;margin:0;white-space:nowrap}.login-note{font-size:13px;color:var(--ink-soft);max-width:320px}.login-buttons{display:flex;gap:12px}.login-dev{margin-top:40px;font-size:11px;color:var(--ink-soft)}.login-dev summary{cursor:pointer;letter-spacing:.12em;opacity:.65}.login-dev-buttons{display:flex;gap:10px;justify-content:center;margin-top:12px}.primary-button{background:transparent;color:var(--ink);border:1px solid var(--ink);border-radius:var(--radius-s);padding:11px 26px;font-size:12.5px;font-weight:500;letter-spacing:.24em;cursor:pointer;min-height:42px;transition:background-color .25s ease,color .25s ease}.primary-button:hover,.primary-button:active{background:var(--sumi);color:#fff}.primary-button:disabled{border-color:var(--line);color:var(--ink-soft);background:transparent}.secondary-button{background:var(--panel);color:var(--ink);border:1px solid var(--line);border-radius:var(--radius-s);padding:8px 14px;letter-spacing:.04em;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;gap:4px;font-size:13px;min-height:38px}.secondary-button:hover{border-color:var(--ink-soft)}.secondary-button.danger{color:var(--danger);border-color:var(--danger)}.secondary-button:disabled{opacity:.4;cursor:default}.icon-button{background:transparent;border:none;font-size:20px;padding:6px 10px;cursor:pointer;color:var(--ink)}.icon-button:disabled{opacity:.3}.app-header{display:flex;flex-direction:column;background:var(--paper);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:20}.app-header-row{display:flex;align-items:center;gap:8px;padding:10px 10px 2px}.product-info{display:flex;align-items:center;flex:1;min-width:0}.brand-small{font-family:var(--font-serif);font-size:13px;font-weight:600;color:var(--ink);letter-spacing:.08em;white-space:nowrap}.spec-line{padding:0 16px 9px;font-family:var(--font-num);font-size:10.5px;letter-spacing:.14em;color:var(--ink-soft);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.price{color:var(--ink);font-weight:700}.header-right{display:flex;align-items:center;gap:8px}.save-status{font-size:11px;color:var(--ink-soft)}.save-status.save-error,.save-status.save-conflict{color:var(--danger);font-weight:700}.order-button{background:none;color:var(--ink);border:none;border-bottom:2px solid var(--brand);border-radius:0;padding:10px 4px 6px;font-size:13px;font-weight:500;letter-spacing:.22em;cursor:pointer;min-height:40px;min-width:44px}.order-button:hover{color:var(--brand-dark)}.editor-side{display:contents}@media(min-width:1000px){.editor{display:grid;grid-template-columns:minmax(0,1fr) minmax(360px,420px);grid-template-rows:auto minmax(0,1fr) auto auto auto auto;max-width:1400px;min-height:100dvh}.app-header,.notice-banner{grid-column:1 / -1}.save-alert{position:fixed;top:0;left:0;right:0;z-index:70;box-shadow:0 2px 8px #00000026}.app-header{grid-row:1}.canvas-area{grid-column:1;grid-row:2;display:flex;flex-direction:column;justify-content:center}.nav-row{grid-column:1;grid-row:3}.page-strip{grid-column:1;grid-row:4}.page-list-toggle{grid-column:1;grid-row:5}.page-list-panel{grid-column:1;grid-row:6}.editor-side{display:flex;flex-direction:column;grid-column:2;grid-row:2 / span 5;align-self:stretch;overflow-y:auto;border-left:1px solid var(--line);background:#fff;contain:size;min-height:0}.editor-side .toolbar{order:-1;position:sticky;top:0;margin-top:0;border-top:none;border-bottom:1px solid var(--line);padding-bottom:0}.canvas-area .spread-container{max-width:min(100%,calc((100dvh - 270px) * (296 / 210)));margin:0 auto}.nav-row .secondary-button{white-space:nowrap}.canvas-area.canvas-preview{grid-column:1 / -1}.canvas-area.canvas-preview .spread-container{max-width:min(100%,calc((100dvh - 200px) * (296 / 210)))}.editor.editor-previewing{height:100dvh;min-height:0}.editor-previewing .guide-ribbon{display:none}.editor-previewing .canvas-area{min-height:0;overflow:hidden}.editor-previewing .canvas-area .spread-container{max-width:100%}.editor-previewing .preview-actions{grid-row:5}}.menu-drawer{position:absolute;z-index:40;top:74px;left:8px;background:#fff;border:1px solid var(--line);border-radius:var(--radius-m);padding:12px;display:flex;flex-direction:column;gap:8px;box-shadow:0 8px 24px #0000002e;font-size:13px}.notice-banner{display:flex;align-items:center;justify-content:space-between;gap:8px;background:#fdf2d0;border-bottom:1px solid #e5d28a;padding:8px 12px;font-size:12px}.save-alert{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;background:#fbe4e4;border-bottom:2px solid #d9776f;padding:10px 12px;font-size:13px;position:relative;z-index:70}.save-alert-actions{display:flex;flex-wrap:wrap;gap:8px}.save-alert .primary-button,.save-alert .secondary-button{font-size:12px;padding:6px 10px}.cover-text-remove{position:absolute;top:-10px;right:-10px;width:22px;height:22px;border-radius:50%;border:1px solid var(--line);background:var(--panel);color:var(--ink-soft);font-size:13px;line-height:1;cursor:pointer;display:none;align-items:center;justify-content:center;padding:0;box-shadow:var(--shadow-soft);writing-mode:horizontal-tb}.cover-text-editable:hover .cover-text-remove,.cover-finish-editable:hover .cover-text-remove,.cover-text-remove:focus-visible{display:flex}@media(hover:none){.cover-text-editable .cover-text-remove,.cover-finish-editable .cover-text-remove{display:flex}}.cover-text-remove:hover{color:var(--danger);border-color:var(--danger)}.cover-peek{display:none;position:fixed;left:50%;transform:translate(-50%);width:min(80vw,420px);z-index:1200;pointer-events:none;filter:drop-shadow(0 10px 28px rgba(28,27,25,.28))}@media(max-width:999px){.desktop-preview-toggle{display:none}.cover-peek{display:block}}.cover-inline-textarea{resize:none;overflow-x:auto;overflow-y:hidden;white-space:pre;line-height:1.2}.cover-inline-input{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;box-sizing:border-box;background:#ffffffa6;border:1.5px solid var(--brand);border-radius:4px;font:inherit;color:var(--ink);-webkit-text-fill-color:var(--ink);text-align:inherit;letter-spacing:inherit;padding:0 2px;outline:none}.cover-text-placeholder,.cover-finish-placeholder{opacity:.75;font-size:12px;font-weight:400;color:#6f6a62;-webkit-text-fill-color:#6f6a62;text-shadow:0 0 3px rgba(255,255,255,.7);padding:2px 6px;writing-mode:horizontal-tb}.cover-text-placeholder-compact{display:none}@media(max-width:400px){.cover-text-placeholder{padding:0 2px;white-space:nowrap;font-size:10px;line-height:1}.cover-text-placeholder-full{display:none}.cover-text-placeholder-compact{display:inline}}.cover-text-spine .cover-text-placeholder{writing-mode:vertical-rl;font-size:9px;padding:4px 0}.panel-section-title{margin:18px 0 6px;padding-bottom:0;border-bottom:none;font-family:var(--font-serif);font-size:13px;font-weight:600;color:var(--ink);letter-spacing:.32em}.panel-section-title:first-child{margin-top:2px}.finish-header .panel-section-title{margin:0;padding-bottom:0;border-bottom:none;flex:1}.paper-cards{display:grid;grid-template-columns:1fr 1fr;gap:10px}.paper-card{display:flex;flex-direction:column;align-items:flex-start;gap:6px;padding:12px;border:1.5px solid transparent;border-radius:var(--radius-m);background:var(--panel);box-shadow:var(--shadow-soft);cursor:pointer;text-align:left}.paper-card-active{border-color:var(--brand)}.paper-card-swatch{width:100%;height:34px;border-radius:var(--radius-s);border:1px solid var(--line)}.paper-card-section{display:block;width:100%;height:100%}.paper-card-section rect{fill:#3e3a3257}.paper-card-swatch-superfine{background:linear-gradient(135deg,#fff,#f6f3ec 55%,#efeadf)}.paper-card-swatch-elecom{background:linear-gradient(180deg,#0000000f,#0000 22%),linear-gradient(135deg,#fff,#f3efe6,#e9e2d2);box-shadow:inset 0 -3px #00000012}.paper-card-name{font-size:13px;font-weight:700}.paper-card-desc{font-size:11px;color:var(--ink-soft);line-height:1.5}.page-count-chips{display:flex;flex-wrap:wrap;gap:8px}.page-count-chip{display:flex;flex-direction:column;align-items:center;gap:0;min-width:64px;padding:7px 10px;border:1.5px solid transparent;border-radius:var(--radius-m);background:var(--panel);box-shadow:var(--shadow-soft);cursor:pointer;line-height:1.35}.page-count-chip-active{border-color:var(--brand)}.page-count-chip-pages{font-size:14px;font-weight:700}.page-count-chip-active .page-count-chip-pages{color:var(--brand-dark)}.page-count-chip-price{font-size:10px;color:var(--ink-soft)}.cover-field-label-foil:before{content:"";display:inline-block;width:10px;height:10px;border-radius:50%;background:#c9a24b;margin-right:6px;box-shadow:inset 0 1px 1px #ffffffb3,inset 0 -1px 1px #00000040}.size-slider{display:flex;align-items:center;gap:10px;font-size:13px}.size-slider input[type=range]{flex:1;accent-color:var(--brand);min-height:32px}.size-slider-value{min-width:56px;text-align:right;font-weight:700;color:var(--brand-dark)}.foil-color-swatch{box-shadow:inset 0 1px 2px #fff9,inset 0 -1px 2px #00000040}.cover-text-editable{cursor:grab;touch-action:none}.cover-text-editable:active{cursor:grabbing}.cover-text-editable:hover{outline:1px dashed var(--brand-line);outline-offset:2px}.finish-title-note{margin:0;font-size:12px;color:var(--ink-soft)}.guide-ribbon{display:flex;align-items:stretch;gap:8px;padding:8px 12px;background:var(--panel);border-bottom:1px solid var(--line)}@media(min-width:1000px){.editor .guide-ribbon{display:none}.editor.editor-guide-expanded .guide-ribbon{display:flex}}.guide-ribbon-steps{display:flex;flex:1;gap:6px;min-width:0;overflow-x:auto}.guide-step{display:flex;flex-direction:column;align-items:flex-start;gap:1px;flex:1 0 auto;min-width:76px;padding:6px 10px;background:var(--panel);border:1px solid transparent;border-radius:var(--radius-s);box-shadow:var(--shadow-soft);cursor:pointer;text-align:left}.guide-step-active{border-color:var(--brand)}.guide-step-done .guide-step-no{background:var(--brand);color:#fff}.guide-step-no{font-family:var(--font-serif);font-size:10px;width:16px;height:16px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:var(--paper-outer);color:var(--ink)}.guide-step-label{font-size:12px;font-weight:700;letter-spacing:.06em}.guide-step-hint{font-size:10px;color:var(--ink-soft);white-space:nowrap}.guide-skip{flex:0 0 auto;align-self:center;background:transparent;border:none;font-size:11px;color:var(--ink-soft);text-decoration:underline;cursor:pointer;padding:6px}.draft-suggest{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 12px;background:var(--desk);border-bottom:1px solid var(--line);padding:10px 12px;font-size:13px;color:var(--ink)}.draft-suggest .primary-button{min-height:38px;padding:8px 16px;font-size:13px}.loading-banner{display:flex;align-items:center;gap:8px;background:#fff;border:1px solid var(--line);padding:8px 12px;font-size:12px;color:var(--ink);position:fixed;top:64px;left:50%;transform:translate(-50%);z-index:60;border-radius:var(--radius-m);box-shadow:0 4px 14px #0000002e;max-width:min(92vw,480px)}.spinner{flex:0 0 auto;width:14px;height:14px;border:2px solid var(--brand-line);border-top-color:var(--brand);border-radius:50%;animation:spinner-rotate .7s linear infinite}@keyframes spinner-rotate{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.spinner{animation-duration:2s}}.canvas-area{padding:22px 14px;background:var(--desk)}@media(max-width:999px){.canvas-area{position:sticky;top:0;z-index:30;padding:10px 12px 14px}}.canvas-area.canvas-preview{background:var(--desk);padding:28px 16px}.spread-container{width:100%}.spread{position:relative;width:100%;overflow:hidden;border-radius:0;box-shadow:0 1px 2px #1c1b1912,0 16px 44px #1c1b191f}.spread:after{content:"";position:absolute;inset-block:0;left:50%;width:36px;transform:translate(-50%);pointer-events:none;z-index:5;background:linear-gradient(90deg,#33393d00,#33393d0d 42%,#33393d17,#33393d0d 58%,#33393d00)}.page-surface{position:absolute;inset-block:0;width:50%}.page-surface-left{left:0}.page-surface-right{right:0}.cover-spread{position:relative;width:100%;overflow:hidden;border-radius:0;box-shadow:0 1px 2px #1c1b1912,0 16px 44px #1c1b191f}.cover-spine{position:absolute;inset-block:0;border-left:1px solid rgba(0,0,0,.35);border-right:1px solid rgba(0,0,0,.35);background:#0000000a}.cover-text{position:absolute;display:flex;align-items:center;justify-content:center;white-space:pre-wrap}.cover-text-spine{line-height:1}.cover-label{position:absolute;bottom:4px;font-size:10px;color:#00000073}.cover-label-back{left:4px}.cover-label-front{right:4px}.finish-area-guide,.cover-finish{position:absolute;pointer-events:none;white-space:pre-wrap}.finish-area-guide{border:1px dashed rgba(57,89,134,.65)}.cover-finish{border:1px dashed transparent;display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:700}.cover-finish-photo{width:100%;height:100%;object-fit:cover;display:block}.cover-finish-deboss{color:#555;border-style:solid;border-color:#0000002e;background:#0000000d;box-shadow:inset 0 2px 5px #00000052,inset 0 -1px 2px #ffffff8c;overflow:hidden}.cover-finish-deboss .cover-finish-photo{width:100%;height:100%;object-fit:cover;display:block}.spread-gutter{position:absolute;left:50%;top:0;bottom:0;width:8px;transform:translate(-50%);background:linear-gradient(to right,#0000,#0000002e,#0000);pointer-events:none}.trim-guide{position:absolute;top:2px;right:2px;bottom:2px;left:2px;border:1px dashed rgba(200,40,40,.65);pointer-events:none}.trim-guide-left{right:50%}.trim-guide-right{left:50%}.safe-area-guide{position:absolute;border:1px dashed rgba(33,101,151,.8);pointer-events:none}.safe-area-info{width:min(92vw,480px);display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;background:#fff;border:1px solid var(--line);color:var(--ink);font-size:12px;position:fixed;top:64px;left:50%;transform:translate(-50%);z-index:60;border-radius:var(--radius-m);box-shadow:0 4px 14px #0000002e;max-width:min(92vw,480px)}.safe-area-info .secondary-button{flex:0 0 auto;white-space:nowrap}.slot{position:absolute;overflow:hidden;touch-action:pan-y}.slot-editable{touch-action:none}.slot-empty.slot-editable{border:1px dashed var(--ink-soft);background:#ffffff59;display:flex;align-items:center;justify-content:center}.slot-placeholder{color:var(--ink-soft);font-size:22px;pointer-events:none}.slot-selected{outline:2px solid var(--brand);outline-offset:-2px}.resolution-warning-badge{position:absolute;z-index:3;top:6px;right:6px;display:grid;place-items:center;width:24px;height:24px;border:1px solid #b8542f;border-radius:50%;background:#fff4df;color:#8a341b;font-size:16px;font-weight:700;pointer-events:none}.slot-photo{position:absolute;max-width:none;max-height:none;-webkit-user-select:none;user-select:none;-webkit-user-drag:none}.spread-text{position:absolute;white-space:pre-wrap;line-height:1.3;overflow:visible}.text-editable{cursor:pointer;touch-action:manipulation}.cover-finish-editable{cursor:grab;touch-action:none;pointer-events:auto}.cover-finish-editable:hover,.cover-finish-editable:active{border-color:currentColor}.text-selected{outline:1px solid var(--brand);outline-offset:2px}.page-number{position:absolute;font-family:Cormorant Garamond,Georgia,serif;font-size:12px;line-height:1;color:#69727a;pointer-events:none}.nav-row{display:flex;align-items:center;gap:8px;padding:8px 12px;background:var(--desk)}.nav-row .secondary-button{white-space:nowrap}.page-indicator{flex:1;text-align:center;background:transparent;border-radius:0;padding:6px 0;font-family:var(--font-num);font-size:13px;letter-spacing:.08em;color:var(--ink);white-space:nowrap}.page-strip{display:flex;gap:6px;padding:6px 12px 10px;background:var(--desk);overflow-x:auto;scrollbar-width:thin}.page-chip{flex:0 0 auto;min-width:46px;padding:6px 8px;border:1px solid var(--line);border-radius:0;background:#fff;color:var(--ink);font-size:12px;cursor:pointer}.page-chip-active{border-color:var(--sumi);background:var(--sumi);color:#fff;font-weight:600}.page-chip-cover{min-width:58px}.page-thumb-chip{display:flex;flex-direction:column;align-items:center;gap:2px;padding:4px 6px 3px;min-width:56px}.page-thumb-frame{display:flex;width:46px;height:32px;background:var(--paper-outer);border:1px solid var(--line);border-radius:2px;overflow:hidden}.page-thumb-frame img{flex:1 1 0;min-width:0;object-fit:cover}.page-thumb-cover{border-color:#0000001f}.page-thumb-label{font-size:10px;line-height:1.2;color:var(--ink-soft)}.page-chip-active .page-thumb-label{color:#fff;font-weight:700}.page-chip-list{align-self:center}.page-list-toggle{align-self:flex-start;margin:0 12px 8px;padding:5px 9px;border:1px solid var(--line);border-radius:var(--radius-s);background:#fff;color:var(--ink);font-size:12px;cursor:pointer}.page-list-panel{background:#fff;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:10px 12px}.page-list-header,.page-list-row{display:flex;align-items:center;justify-content:space-between;gap:8px}.page-list-header{margin-bottom:8px}.page-list-rows{max-height:240px;overflow-y:auto;border-top:1px solid var(--line)}.page-list-row{min-height:38px;border-bottom:1px solid var(--line);font-size:12px}.page-list-fixed{color:#777}.page-list-select{border:none;background:transparent;color:inherit;padding:8px 4px;cursor:pointer;display:flex;align-items:baseline;gap:8px}.page-list-summary{font-size:11px;color:#6b7075}.page-list-draggable{cursor:grab}.page-list-draggable:active{cursor:grabbing}.page-drag-handle{color:#9aa0a5;font-size:12px;letter-spacing:-2px;padding:0 2px;-webkit-user-select:none;user-select:none}.page-list-dragging{opacity:.4}.page-list-drop-target{box-shadow:inset 0 3px 0 var(--brand);background:var(--brand-soft)}.page-list-label{min-width:74px;text-align:left}.page-list-thumbs{display:inline-flex;gap:3px}.page-list-thumb{width:26px;height:26px;object-fit:cover;border-radius:4px;border:1px solid var(--line)}.page-list-select-active{color:var(--brand-dark);font-weight:700}.page-move-buttons{display:flex}.page-move-buttons .icon-button{font-size:18px;padding:3px 10px}.slot-toolbar{display:flex;align-items:center;gap:8px;padding:8px 12px;background:var(--panel);border-top:1px solid var(--line);flex-wrap:wrap;font-size:12px}.slot-resolution-message{flex:1 0 100%;padding:6px 8px;border-left:3px solid #b8542f;background:#fff4df;color:#71311e;font-size:12px;font-weight:700}.zoom-label{display:flex;align-items:center;gap:6px;flex:1;min-width:140px;font-size:12px}.zoom-label input[type=range]{flex:1}.segmented-control{display:inline-flex;border:1px solid var(--line);border-radius:var(--radius-s);overflow:hidden}.segmented-control button{min-height:38px;padding:6px 12px;border:0;border-right:1px solid var(--line);background:var(--panel);color:var(--ink);cursor:pointer}.segmented-control button:last-child{border-right:0}.segmented-control .segmented-active,.segmented-control button[aria-pressed=true],.secondary-button-active{background:var(--sumi);color:#fff;font-weight:700;box-shadow:none}.tool-area{background:var(--panel);border-top:1px solid var(--line);min-height:148px}.panel{padding:10px 12px;display:flex;flex-direction:column;gap:8px}.panel-header{display:flex;justify-content:space-between;align-items:center;font-size:13px}.checkbox-label{display:flex;align-items:center;gap:6px;font-size:12px}.order-review{min-width:0;margin:20px 0 12px;padding:16px;border:1px solid #d9d4cc;border-radius:12px;background:#faf8f5}.order-review legend{padding:0 6px;font-weight:600}.order-review .checkbox-label{min-height:44px;align-items:flex-start;padding:10px 0;line-height:1.6;font-size:14px}.order-review input[type=checkbox]{flex-shrink:0;margin-top:5px;width:18px;height:18px}.order-review details{overflow-wrap:anywhere}.order-review summary{cursor:pointer;padding:8px 0}.panel-actions{display:flex;gap:8px;flex-wrap:wrap}.photo-library-header{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:13px}.photo-library-header>span{margin-right:auto}.photo-options summary{min-height:44px;display:flex;align-items:center;cursor:pointer;text-decoration:underline}.photo-options[open]{flex-basis:100%}.photo-options-content{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding-bottom:8px}.photo-options-content .checkbox-label{min-height:44px}.cover-photo-header{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:13px}.cover-preset-card[aria-pressed=true]{outline:2px solid var(--brand);outline-offset:-2px}.cover-tool-area{min-height:0}.cover-panel{gap:10px}.cover-settings-row,.finish-header,.cover-color-list,.finish-editor{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.cover-settings-row{justify-content:space-between;font-size:12px}.cover-settings-row label,.cover-field{display:flex;align-items:center;flex-wrap:wrap;gap:8px;font-size:12px}.cover-field textarea.cover-field-textarea{resize:none;overflow:hidden;line-height:1.4}.cover-field input,.cover-field textarea.cover-field-textarea{flex:1;min-width:0;padding:8px 2px 6px;border:none;border-bottom:1px solid var(--line);border-radius:0;background:transparent;font:inherit}.cover-field-font{flex:0 0 auto;max-width:40%;font-size:11px}.cover-field input:focus,.cover-field textarea.cover-field-textarea:focus{outline:none;border-bottom-color:var(--brand);box-shadow:0 1px 0 var(--brand)}.cover-color-swatch{width:28px;height:28px;border:2px solid var(--line);border-radius:2px;cursor:pointer}.cover-color-active{border-color:var(--brand);box-shadow:0 0 0 1px #fff inset}.finish-header{justify-content:space-between;font-size:12px}.finish-editor{padding:8px;border-top:1px solid var(--line);font-size:11px}.finish-editor input[type=number]{width:58px}.file-button{position:relative;overflow:hidden}.file-button input[type=file]{position:absolute;top:0;right:0;bottom:0;left:0;opacity:0;cursor:pointer}.panel-hint{font-size:11px;color:#7a8087;margin:0}.panel-hint-warning{color:var(--danger);font-weight:700}.photo-tray{display:grid;grid-template-columns:repeat(auto-fill,minmax(72px,1fr));gap:8px;max-height:min(34dvh,300px);overflow-y:auto;overscroll-behavior:contain;border:1px solid var(--line);border-radius:var(--radius-s);padding:8px;scrollbar-width:thin}.photo-thumb-checked{outline:3px solid var(--danger);outline-offset:-3px;border-radius:var(--radius-s)}.photo-check-badge{position:absolute;top:2px;left:2px;width:22px;height:22px;border-radius:50%;background:var(--danger);color:#fff;font-size:14px;font-weight:700;display:flex;align-items:center;justify-content:center;pointer-events:none}.photo-thumb-wrap{position:relative;width:100%;aspect-ratio:1 / 1;content-visibility:auto;contain-intrinsic-size:96px}.photo-thumb{position:relative;width:100%;height:100%;border:2px solid transparent;border-radius:var(--radius-s);padding:0;background:#fff;cursor:pointer;overflow:hidden;touch-action:auto;-webkit-touch-callout:none}.photo-thumb img{pointer-events:none;-webkit-touch-callout:none;-webkit-user-select:none;width:100%;height:100%;object-fit:cover;display:block}.photo-thumb-selected{border-color:var(--brand)}.usage-badge{position:absolute;top:2px;right:2px;background:#ffffffeb;color:var(--ink);border:1px solid rgba(28,27,25,.4);border-radius:50%;width:22px;height:22px;font-size:11px;display:flex;align-items:center;justify-content:center;padding:0;cursor:pointer}.finish-photo-picker{display:flex;gap:6px;overflow-x:auto;padding:4px 0;width:100%}.photo-thumb-mini{flex:0 0 auto;width:56px;height:56px;border:2px solid transparent;border-radius:var(--radius-s);padding:0;background:#fff;overflow:hidden;cursor:pointer}.photo-thumb-mini img{width:100%;height:100%;object-fit:cover;display:block}.photo-thumb-mini-selected{border-color:var(--brand)}.photo-delete{position:absolute;top:2px;left:2px;width:22px;height:22px;border:none;border-radius:50%;background:#282828a6;color:#fff;font-size:14px;line-height:1;display:flex;align-items:center;justify-content:center;padding:0;cursor:pointer}.drag-ghost{position:fixed;width:64px;height:64px;transform:translate(-50%,-70%);border-radius:var(--radius-m);overflow:hidden;box-shadow:0 4px 12px #00000059;pointer-events:none;z-index:300;opacity:.9}.drag-ghost img{width:100%;height:100%;object-fit:cover;display:block}.slot-drop-target{outline:2px dashed var(--brand);outline-offset:-2px}.template-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(118px,1fr));gap:10px}.template-intro{display:flex;flex-direction:column;gap:2px;margin-bottom:4px}.template-intro strong{font-size:15px;font-weight:600}.template-intro span{color:var(--ink-soft);font-size:12px}.template-more{border-top:1px solid var(--line);margin-top:12px;padding-top:4px}.template-more>summary{cursor:pointer;font-size:13px;min-height:44px;display:flex;align-items:center;justify-content:space-between;list-style:none}.template-more>summary::-webkit-details-marker{display:none}.template-more>summary:after{content:"＋";color:var(--ink-soft);font-size:18px;font-weight:300}.template-more[open]>summary:after{content:"−"}.template-more-content{display:flex;flex-direction:column;gap:10px;padding:8px 0 12px}.template-more-content .panel-hint{margin:0}.template-card{width:100%;border:2px solid transparent;border-radius:var(--radius-m);background:#fff;box-shadow:var(--shadow-soft);cursor:pointer;padding:6px;display:flex;flex-direction:column;gap:4px}.template-card-active{border-color:var(--brand)}.template-preview{position:relative;display:block;width:100%;aspect-ratio:290 / 205;background:#f1f1f1}.template-frame{position:absolute;background:#8b9096}.template-name{font-size:11px}.template-caption{font-size:9px;color:var(--ink-soft);line-height:1.3}.template-frame-contain{background:#e6e4df;display:flex;align-items:center;justify-content:center}.template-frame-contain:after{content:"";width:78%;aspect-ratio:3 / 2;background:#8b9096}.background-list{display:flex;gap:10px;overflow-x:auto}.background-swatch{flex:0 0 auto;width:72px;height:56px;border:2px solid transparent;box-shadow:var(--shadow-soft);border-radius:var(--radius-m);cursor:pointer;display:flex;align-items:flex-end;justify-content:center;padding:4px}.background-swatch-active{border-color:var(--brand)}.swatch-name{font-size:10px;background:#ffffffd9;border-radius:var(--radius-s);padding:1px 6px}.text-list{display:flex;flex-direction:column;gap:6px;align-items:flex-start}.text-editor{display:flex;flex-direction:column;gap:8px}.text-editor textarea{width:100%;border:1px solid var(--line);border-radius:var(--radius-m);padding:8px;font:inherit;resize:vertical}.text-editor-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:12px}.text-editor-row label{display:flex;align-items:center;gap:4px}.color-row{display:flex;gap:6px}.color-swatch{width:24px;height:24px;border-radius:2px;border:2px solid var(--line);cursor:pointer}.color-swatch-active{border-color:var(--brand)}.nudge-group{display:flex;gap:4px}.toolbar{display:flex;overflow-x:auto;background:var(--panel);border-top:1px solid var(--line);position:sticky;bottom:0;z-index:20;margin-top:auto;padding-bottom:env(safe-area-inset-bottom,0px)}.tool-button{flex:1 1 0;min-width:0;min-height:48px;background:transparent;border:none;padding:10px 8px;font-size:11px;color:var(--ink);cursor:pointer}.tool-button:disabled{color:#b6bbc0;cursor:default}.tool-button-active{color:var(--ink);font-weight:700;background:transparent;border-radius:0;box-shadow:inset 0 3px 0 var(--brand)}.resize-grip{position:absolute;right:-14px;bottom:-14px;width:18px;height:18px;border-radius:50%;border:1px solid var(--line);background:var(--panel);box-shadow:var(--shadow-soft);cursor:nwse-resize;display:none;touch-action:none;writing-mode:horizontal-tb}.resize-grip:after{content:"";position:absolute;top:5px;right:5px;bottom:5px;left:5px;border-right:2px solid var(--ink-soft);border-bottom:2px solid var(--ink-soft);border-radius:1px}.cover-text-editable:hover .resize-grip,.cover-finish-editable:hover .resize-grip,.resize-grip:focus-visible{display:block}@media(hover:none){.cover-text-editable .resize-grip,.cover-finish-editable .resize-grip{display:block}}.tool-sheet-handle{display:none;width:100%;background:var(--panel);border:none;padding:8px 0 6px;cursor:pointer}.tool-sheet-grip{display:block;width:44px;height:4px;border-radius:2px;background:var(--line);margin:0 auto}@media(max-width:999px){.editor-editing .toolbar{position:fixed;left:0;right:0;bottom:var(--vv-gap, 0px);height:calc(48px + env(safe-area-inset-bottom,0px));padding-bottom:env(safe-area-inset-bottom,0px);z-index:45}.editor-editing .page-strip{position:fixed;left:0;right:0;bottom:calc(48px + env(safe-area-inset-bottom,0px) + var(--vv-gap, 0px));height:64px;z-index:45;background:var(--paper);border-top:1px solid var(--line);margin:0}.editor-editing .nav-row{position:fixed;left:0;right:0;bottom:calc(112px + env(safe-area-inset-bottom,0px) + var(--vv-gap, 0px));height:48px;z-index:45;padding:4px 12px}.editor-editing .tool-sheet{position:fixed;left:0;right:0;bottom:calc(160px + env(safe-area-inset-bottom,0px) + var(--vv-gap, 0px));z-index:44;display:flex;flex-direction:column;max-height:42dvh;background:var(--panel);border-top:1px solid var(--line);border-radius:var(--radius-m) var(--radius-m) 0 0;box-shadow:0 -10px 28px #1c1b191a;transition:transform var(--ease)}.editor-editing .tool-sheet-closed{transform:translateY(calc(100% - 20px))}.editor-editing .tool-sheet-closed .tool-sheet-body{pointer-events:none}.tool-sheet-handle{display:block;flex:0 0 auto}.tool-sheet-body{overflow-y:auto;overscroll-behavior:contain}.editor-editing{padding-bottom:calc(160px + 24px + env(safe-area-inset-bottom,0px) + var(--vv-gap, 0px))}}@media(min-width:1000px){.tool-sheet,.tool-sheet-body{display:contents}.tool-sheet-closed .tool-sheet-body{display:none}}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000073;display:flex;align-items:center;justify-content:center;z-index:1300;padding:20px}.modal{background:#fff;border-radius:var(--radius-m);max-width:420px;width:100%;padding:20px;font-size:14px;line-height:1.6;max-height:85dvh;overflow-y:auto}.modal-title{font-family:var(--font-serif);color:var(--ink);font-size:16px;letter-spacing:.12em;margin:0 0 8px}.modal-warning{font-size:12px;color:#7a5a00}.unfilled-page-confirm{margin:18px 0;padding:12px 0;border-top:1px solid #dedbd6;border-bottom:1px solid #dedbd6;color:#262626;font-size:14px}.unfilled-page-confirm p{margin:0 0 8px}.unfilled-page-confirm .checkbox-label{margin-top:12px}.ai-mode-list{display:flex;flex-direction:column;gap:10px;margin:12px 0}.ai-mode{display:flex;gap:8px;align-items:flex-start;font-size:13px;cursor:pointer}.ai-mode input{margin-top:4px;accent-color:var(--brand)}.modal-buttons{display:flex;justify-content:center;gap:12px;margin-top:14px}.modal-buttons button{white-space:nowrap}.order-checkout-link{display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:fit-content;max-width:100%;min-height:48px;margin:16px 0;line-height:1.5;text-align:center}.export-image{width:100%;border:1px solid var(--line)}@media(min-width:900px){.login-screen{max-width:720px}.tool-area{min-height:180px}}@media(min-width:900px)and (max-width:999px){.editor{max-width:720px}}.foil-ink{background:linear-gradient(115deg,transparent 30%,rgba(255,255,255,.5) 46%,transparent 54%) no-repeat,linear-gradient(115deg,color-mix(in srgb,var(--foil, #c9a24b),#fff 40%) 0%,var(--foil, #c9a24b) 45%,color-mix(in srgb,var(--foil, #c9a24b),#000 30%) 100%);background-size:260% 100%,100% 100%;background-position:130% 0,0 0;-webkit-background-clip:text;background-clip:text;color:transparent;animation:foil-sheen 8s ease-in-out infinite}@keyframes foil-sheen{0%,62%{background-position:130% 0,0 0}82%,to{background-position:-80% 0,0 0}}@media(prefers-reduced-motion:reduce){.foil-ink{animation:none}}.foil-ink .cover-text-remove{color:var(--ink-soft);-webkit-text-fill-color:var(--ink-soft)}.tailor-screen{position:fixed;top:0;right:0;bottom:0;left:0;z-index:65;background:var(--paper);overflow-y:auto;display:flex;flex-direction:column;align-items:center;padding-bottom:max(20px,env(safe-area-inset-bottom))}.tailor-head{width:100%;max-width:640px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:8px;padding:10px 14px}.tailor-back{justify-self:start;background:none;border:none;padding:8px 6px;font-size:13px;color:var(--ink-soft);cursor:pointer}.tailor-title{margin:0;font-family:var(--font-serif);font-size:15px;font-weight:600;letter-spacing:.24em;color:var(--ink)}.tailor-saved{justify-self:end;font-size:11px;color:var(--ink-soft)}.tailor-stage{width:100%;max-width:640px;padding:4px 16px 12px;display:flex;flex-direction:column;gap:10px}.tailor-try{font-size:11px;color:var(--ink-soft);letter-spacing:.06em;text-align:center}.tailor-controls{width:100%;max-width:560px;padding:4px 16px 24px;display:flex;flex-direction:column;gap:10px}.cover-steps{display:flex;gap:6px;position:sticky;top:0;z-index:5;background:var(--panel, #fff);padding:8px 0 10px;margin-bottom:4px;border-bottom:1px solid var(--line)}.cover-step-chip{flex:1;min-height:44px;padding:6px 2px;font-size:12px;letter-spacing:.04em;background:none;border:none;border-bottom:2px solid transparent;border-radius:0;color:var(--ink-soft);cursor:pointer;white-space:nowrap}.cover-step-chip.cover-step-active{color:var(--ink);font-weight:700;border-bottom-color:var(--brand)}.cover-step-next{margin-top:14px;width:100%}.tailor-embed{display:flex;flex-direction:column;align-items:stretch}.tailor-embed .tailor-try{text-align:left;margin:2px 0 4px}.tailor-embed .tailor-controls{max-width:none;padding:0 0 8px}.tailor-row-label{display:flex;align-items:baseline;gap:10px;margin-top:10px;font-family:var(--font-serif);font-size:13px;letter-spacing:.18em;color:var(--ink)}.tailor-row-value{font-family:Noto Sans JP,sans-serif;font-size:11px;letter-spacing:.02em;color:var(--ink-soft)}.tailor-swatches{display:flex;flex-wrap:wrap;gap:12px}.tailor-swatch{width:38px;height:38px;border:2px solid var(--line);border-radius:2px;cursor:pointer}.tailor-swatch.cover-color-active{border-color:var(--brand);box-shadow:0 0 0 1px #fff inset}.tailor-inlay,.tailor-inlay-empty{display:flex;flex-direction:column;gap:8px}.tailor-inlay-empty .secondary-button{align-self:flex-start}.tailor-inlay-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap;font-size:12px}.tailor-foot{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;margin-top:18px;padding-top:12px;border-top:1px solid var(--line)}.tailor-foot .primary-button{white-space:normal;flex:1 0 100%}.tailor-foot .tailor-back{flex:0 0 auto;min-height:44px}.tailor-spec{font-size:11px;color:var(--ink-soft);white-space:nowrap}.tailor-spec b{margin-left:8px;font-size:15px;color:var(--ink)}.tailor-stage .spread-container{max-width:640px;margin:0 auto}.library-screen{max-width:560px;margin:0 auto;min-height:100dvh;background:var(--paper);padding:20px 16px calc(32px + env(safe-area-inset-bottom,0px));box-shadow:0 0 24px #1c1b1914}.library-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.library-title{margin:2px 0 0;font-family:var(--font-serif);font-size:20px;font-weight:600;letter-spacing:.08em;color:var(--ink)}.library-note{margin:10px 0 14px;font-size:12px;color:var(--ink-soft)}.library-create{width:100%;margin-bottom:18px}.doc-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:14px}.doc-card{display:flex;flex-direction:column;align-items:stretch;gap:6px;padding:10px;background:var(--panel);border:1px solid var(--line);box-shadow:var(--shadow-soft);cursor:pointer;text-align:left}.doc-card:hover{border-color:var(--brand)}.doc-card-cover{display:flex;align-items:center;justify-content:center;aspect-ratio:142 / 200;border:1px solid rgba(0,0,0,.08);padding:8px}.doc-card-cover-title{font-family:var(--font-serif);font-size:11px;color:#3c3832bf;text-align:center;overflow:hidden;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical}.doc-card-name{font-size:13px;font-weight:700;color:var(--ink);overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.doc-card-spec{font-size:11px;color:var(--ink-soft)}.doc-card-foot{display:flex;align-items:center;justify-content:space-between;gap:6px}.doc-card-date{font-size:10px;color:var(--ink-soft)}.doc-card-badge{font-size:10px;padding:2px 8px;border:1px solid var(--line);color:var(--ink-soft);white-space:nowrap}.doc-card-badge-ordered{border-color:#b98d2f;color:#8a6a1f;background:#f8efd8}.lock-banner{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 12px;background:#f8efd8;border-bottom:1px solid #d9c07a;padding:10px 12px;font-size:12px}.layout-staging{position:fixed;top:0;right:0;bottom:0;left:0;z-index:80;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;background:#fffffff0}.layout-staging-book{display:flex;gap:4px}.layout-staging-page{width:84px;height:118px;background:linear-gradient(100deg,#efede8 38%,#faf9f5,#efede8 62%);background-size:220% 100%;border:1px solid var(--line);animation:staging-shimmer 1.1s linear infinite}.layout-staging-page:first-child{border-radius:2px 0 0 2px;border-right:none}.layout-staging-page:last-child{border-radius:0 2px 2px 0}@keyframes staging-shimmer{0%{background-position:120% 0}to{background-position:-100% 0}}.layout-staging-text{margin:0;font-family:var(--font-serif);font-size:14px;letter-spacing:.08em;color:var(--ink)}.spread-reveal .spread-container{animation:spread-reveal .46s ease-out}@keyframes spread-reveal{0%{opacity:.35;transform:translateY(10px) scale(.985)}to{opacity:1;transform:none}}@media(prefers-reduced-motion:reduce){.layout-staging-page,.spread-reveal .spread-container{animation:none}}.preset-fee-badge{display:inline-block;font-size:11px;font-weight:600;letter-spacing:.08em;padding:6px 0;margin-right:8px;vertical-align:1px}.preset-fee-free{color:var(--ink)}.preset-fee-paid{color:var(--brand)}.cover-preset-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.cover-preset-card{display:flex;min-width:0;flex-direction:column;align-items:center;gap:4px;padding:6px 4px;border:1.5px solid transparent;background:var(--panel);box-shadow:var(--shadow-soft);cursor:pointer}.cover-preset-card:hover{border-color:var(--brand-line)}.cover-preset-card:active{border-color:var(--brand)}.cover-preset-svg{width:100%;display:block}.cover-preset-page{fill:#fdfdfc;stroke:var(--line);stroke-width:1.6}.cover-preset-photo{fill:#e3e0da;stroke:#c9c5bd;stroke-width:1}.cover-preset-bar-title{fill:#55524c}.cover-preset-bar{fill:#b6b2a9}.cover-preset-name{font-size:9.5px;color:var(--ink-soft);letter-spacing:.02em;white-space:normal;overflow-wrap:anywhere}.ai-rotate-option{margin-left:22px;color:var(--ink)}.font-chips{min-width:0;display:flex;gap:8px;overflow-x:auto;padding:2px 1px 6px;scrollbar-width:thin}.font-disclosure summary{min-height:48px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:6px 8px;border:1px solid var(--line);cursor:pointer;font-size:13px}.font-disclosure summary span:first-child{min-width:0;overflow-wrap:anywhere}.font-change-label{flex:0 0 auto;text-decoration:underline}.font-with-preview{min-width:0}.font-preview{padding:8px 0;min-width:0}.font-preview-label{color:var(--ink-soft);font-size:12px}.font-preview-scroll{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;white-space:pre;padding:6px 2px;font-size:28px;line-height:1.5;color:var(--ink)}.font-preview-scroll:focus-visible{outline:2px solid var(--brand);outline-offset:-2px}.font-with-preview .font-disclosure .font-chips{grid-template-columns:minmax(0,1fr)}.font-with-preview .font-disclosure .font-chip{align-items:flex-start;text-align:left}.font-with-preview .font-disclosure .font-chip-sample{display:block;font-size:28px;white-space:nowrap;text-overflow:ellipsis}.font-disclosure[open] summary{border-bottom:2px solid var(--brand)}.font-disclosure .font-chips{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));max-height:none;overflow:visible;padding:8px 0}.font-disclosure .font-chip{min-height:64px;min-width:0}.font-disclosure .font-chip-name{font-size:12px;white-space:normal}.font-disclosure .font-chip-sample{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;overflow-wrap:anywhere;line-height:1.4;max-width:100%}.photo-check-badge{pointer-events:none}.photo-placement-hint{margin:0;min-height:44px;display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;line-height:1.4;color:var(--ink)}.photo-selection-cancel{min-height:44px;flex-shrink:0;border:0;background:transparent;font:inherit;color:var(--ink-soft);text-decoration:underline}.photo-placement-hint span{display:block;color:var(--ink-soft);font-size:11px}.photo-placement-hint:not(:has(button)){min-height:32px}.preset-card-fee{display:block;padding:4px;font-size:11px;line-height:1.4;color:var(--ink-soft)}.preset-card-fee-paid,.preset-selected-fee{color:var(--ink-soft);font-weight:400}.preset-selected-fee{display:block;padding:6px 3px;font-size:12px;line-height:1.4}.preview-actions{grid-column:1 / -1;display:flex;flex:0 0 auto;justify-content:center;gap:12px;padding:8px 12px;padding-bottom:max(8px,env(safe-area-inset-bottom));background:#fff;border-top:1px solid var(--line)}.preview-actions button{min-height:44px}.preview-actions .primary-button{flex:1;max-width:380px}.font-chip{flex:0 0 auto;min-width:64px;display:flex;flex-direction:column;align-items:center;gap:2px;padding:8px 10px 6px;border:1px solid var(--line);background:#fff;cursor:pointer}.font-chip-sample{font-size:20px;line-height:1.1;color:var(--ink)}.font-chip-name{font-size:9px;color:var(--ink-soft);white-space:nowrap}.font-chip-active{border:1.5px solid var(--brand);padding:7.5px 9.5px 5.5px}.photo-thumb{background:#fff;border:1px solid var(--line);padding:3px}.photo-thumb-selected{border:2px solid var(--brand);padding:2px}.tool-button svg{display:block;width:20px;height:20px;margin:0 auto 3px;stroke:currentColor;fill:none;stroke-width:1.4}.tool-button{letter-spacing:.14em}.tool-button-label{display:block}.editor-mode-switch,.mobile-page-list-toggle{display:none}.slot-position-details{display:block;flex:1 0 100%}.slot-position-details>summary{display:list-item;width:fit-content;min-height:36px;padding:7px 10px;color:var(--ink);cursor:pointer}.slot-position-controls,.slot-position-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}@media(max-width:999px){.editor-body{max-width:none}.editor-body.editor-editing,.editor-body.editor-previewing{height:100dvh;min-height:0;overflow:hidden;padding-bottom:0}.editor-body .app-header{position:relative;top:auto;flex:0 0 auto;border-bottom:0}.editor-body .app-header-row{min-height:58px;padding:10px 16px 5px}.editor-body .brand-small{font-size:12px;letter-spacing:.11em}.editor-body .spec-line{display:none}.editor-body .save-status{font-size:10px}.editor-body .order-button{min-height:38px;padding-top:8px;font-size:12px}.editor-mode-switch{display:grid;grid-template-columns:1fr 1fr;flex:0 0 auto;margin:12px 28px 14px;border:1px solid #dedbd5;border-radius:6px;overflow:hidden;background:#fff}.editor-mode-switch button{min-height:44px;border:0;background:#fff;color:var(--ink);font-size:14px;letter-spacing:.08em;cursor:pointer}.editor-mode-switch button+button{border-left:1px solid #dedbd5}.editor-mode-switch .editor-mode-active{color:var(--brand);box-shadow:inset 0 0 0 1px var(--brand);font-weight:600}.editor-body .canvas-area,.editor-body .canvas-area.canvas-preview{position:relative;top:auto;z-index:1;flex:1 1 auto;min-height:0;display:flex;align-items:flex-start;justify-content:flex-start;padding:34px 10px 18px;overflow:hidden}.editor-body .canvas-area .spread-container{width:100%;max-height:100%;margin:0 auto}.editor-body .nav-row{position:relative;inset:auto;flex:0 0 58px;height:58px;z-index:2;padding:4px 18px;gap:4px;background:#fff;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.editor-body .desktop-preview-toggle{display:none}.editor-body .nav-row>[data-testid=undo-button],.editor-body .nav-row>[data-testid=redo-button],.editor-body .nav-row>[data-testid=safe-area-help]{display:none}.editor-body .nav-row .icon-button{min-width:50px;min-height:48px;padding:4px 12px;font-size:32px;font-weight:300;line-height:1}.editor-body .page-indicator{font-size:14px;letter-spacing:.13em}.editor-body .page-indicator:after{content:" / " attr(data-total-pages)}.mobile-page-list-toggle{display:inline-flex;flex-direction:column;align-items:center;justify-content:center;min-width:56px;min-height:48px;padding:0 4px;border:0;background:transparent;color:var(--ink);font-size:12px;letter-spacing:.1em;cursor:pointer}.editor-body .page-strip{display:none}.editor-body .page-list-panel{position:fixed;left:12px;right:12px;bottom:calc(12px + env(safe-area-inset-bottom,0px));z-index:70;max-height:min(70dvh,560px);overflow-y:auto;border:1px solid var(--line);box-shadow:0 12px 44px #1c1b1933}.editor-body.editor-editing .editor-side{display:flex;flex:0 0 auto;flex-direction:column;max-height:35dvh;min-height:0;background:#fff}.editor-body.editor-editing .toolbar{position:relative;inset:auto;order:-1;flex:0 0 66px;height:66px;padding-bottom:0;margin:0;border-top:0;border-bottom:1px solid var(--line);z-index:2;overflow:hidden}.editor-body .toolbar [data-testid=tab-cover],.editor-body .toolbar [data-testid=tab-tailor]{display:none}.editor-body .tool-button{min-height:66px;padding:8px 10px 7px;border-right:1px solid var(--line);font-size:12px}.editor-body .tool-button:last-of-type{border-right:0}.editor-body .tool-button-active{color:var(--brand);box-shadow:inset 0 -3px 0 var(--brand)}.editor-body .tool-button svg{width:21px;height:21px;margin-bottom:4px}.editor-body.editor-editing .tool-sheet{position:relative;inset:auto;display:flex;min-height:0;max-height:calc(35dvh - 66px);border:0;border-radius:0;box-shadow:none;transform:none;transition:none}.editor-body .tool-sheet-handle{display:none}.editor-body .tool-sheet-body{min-height:0;overflow-y:auto}.editor-body .tool-sheet-body:has(.slot-toolbar){height:200px}.editor-body .tool-sheet-closed .tool-sheet-body{display:none}.editor-body .slot-toolbar{display:grid;grid-template-columns:1fr 1fr;gap:10px 12px;min-height:200px;padding:14px 28px calc(16px + env(safe-area-inset-bottom,0px));border-top:0;background:#fff}.editor-body .slot-resolution-message{grid-column:1 / -1}.editor-body .slot-swap-button{grid-column:1 / -1;width:100%;min-height:48px;justify-content:center;color:var(--brand);border-color:var(--brand);font-size:15px;letter-spacing:.12em}.editor-body .slot-position-details{display:block;min-width:0}.editor-body .slot-position-details>summary{display:flex;align-items:center;justify-content:center;min-height:48px;border:1px solid #dedbd5;border-radius:4px;background:#fff;color:var(--ink);font-size:13px;letter-spacing:.08em;cursor:pointer;list-style:none}.editor-body .slot-position-details>summary::-webkit-details-marker{display:none}.editor-body .slot-position-details[open]{grid-column:1 / -1}.editor-body .slot-position-controls{display:flex;flex-direction:column;gap:12px;margin-top:10px;padding:14px 0 4px;border-top:1px solid var(--line);background:#fff}.editor-body .slot-position-actions{display:flex;flex-wrap:wrap;gap:8px}.editor-body .slot-clear-button{min-height:48px;justify-content:center;border:1px solid #dedbd5;border-radius:4px;font-size:13px}.editor-body .slot-close-button{display:none}}.tailor-inlay-choice{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:12px}.tailor-choice-label{letter-spacing:.08em;color:var(--ink-soft)}.secondary-button{border:none;background:transparent;padding:9px 10px;border-radius:var(--radius-s);letter-spacing:.12em;font-size:12.5px;color:var(--ink);text-underline-offset:4px}.secondary-button:hover{background:transparent;text-decoration:underline;text-decoration-thickness:1px}.secondary-button:disabled{background:transparent}.secondary-button.danger{background:transparent;color:var(--danger)}.secondary-button-active{background:transparent;color:var(--ink);font-weight:700;text-decoration:underline;text-decoration-color:var(--brand);text-decoration-thickness:2px;text-underline-offset:5px}.order-button{letter-spacing:.2em}.segmented-control{border:none;background:transparent;border-radius:0;padding:0;gap:14px}.segmented-control button{border:none;background:transparent;border-radius:0;min-height:34px;padding:6px 2px;color:var(--ink-soft);letter-spacing:.12em;box-shadow:none}.segmented-control .segmented-active,.segmented-control button[aria-pressed=true]{background:transparent;color:var(--ink);font-weight:700;box-shadow:inset 0 -2px 0 var(--ink)}.font-chips{gap:4px}.font-chip,.font-chip-active{border:none;background:transparent;border-radius:0;padding:6px 8px 8px}.font-chip-active{box-shadow:inset 0 -2px 0 var(--brand)}.font-chip-active .font-chip-name{color:var(--ink);font-weight:700}.template-card,.cover-preset-card,.paper-card,.page-count-chip,.guide-step{border:1.5px solid transparent;background:transparent;border-radius:var(--radius-m);box-shadow:none;padding:6px}.template-card:hover,.cover-preset-card:hover,.paper-card:hover,.page-count-chip:hover{background:var(--fill)}.template-card-active,.paper-card-active,.page-count-chip-active,.guide-step-active,.cover-preset-card:active{border-color:var(--brand);background:transparent;box-shadow:none}.cover-preset-svg .cover-preset-page{fill:#fff;stroke:var(--line);stroke-width:1.2}.template-preview{background:#f3f2ef}.photo-tray{border:none;background:transparent;border-radius:0;padding:0;gap:3px;grid-template-columns:repeat(auto-fill,minmax(76px,1fr))}.photo-thumb{border:none;background:transparent;padding:0;border-radius:0;box-shadow:none}.photo-thumb img{border-radius:0}.photo-thumb-selected,.photo-thumb-checked{border:none;outline:none;padding:0;border-radius:0;box-shadow:none}.photo-thumb-selected:after,.photo-thumb-checked:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;box-shadow:inset 0 0 0 2.5px var(--brand)}.photo-thumb-checked:after{box-shadow:inset 0 0 0 3px var(--danger)}.photo-delete{width:20px;height:20px;font-size:12px;background:#1716148c}.usage-badge{width:20px;height:20px;font-size:10px}.page-strip{gap:10px}.page-chip{border:none;background:transparent;border-radius:0;padding:4px 2px 6px}.page-chip-active{background:transparent;color:var(--ink);box-shadow:inset 0 -2px 0 var(--ink)}.page-chip-active .page-thumb-label{color:var(--ink)}.page-thumb-label{font-family:var(--font-num);letter-spacing:.06em}.page-thumb-frame{border:1px solid var(--line);border-radius:0}.page-list-toggle{border:none;background:transparent;border-radius:0;letter-spacing:.12em}.modal{border-radius:var(--radius-m);padding:26px 24px}.menu-drawer{border:none;border-radius:var(--radius-m);box-shadow:0 12px 34px #1c1b1929}.text-editor textarea{border:none;border-bottom:1px solid var(--line);border-radius:0;background:transparent;padding:8px 2px}.text-editor textarea:focus{outline:none;border-bottom-color:var(--brand)}.cover-color-swatch,.tailor-swatch,.color-swatch{border:none;border-radius:2px;box-shadow:inset 0 0 0 1px #1c1b191a}.cover-color-active,.tailor-swatch.cover-color-active,.color-swatch-active{border:none;box-shadow:inset 0 0 0 1px #1c1b191a,0 0 0 2px var(--brand)}.photo-thumb-mini{border:none;border-radius:0;overflow:hidden}.photo-thumb-mini-selected{border:none;box-shadow:0 0 0 2px var(--brand)}.finish-editor{border-top:none;background:transparent;border-radius:0;padding:0;display:grid;grid-template-columns:minmax(0,1fr)}.doc-card{border:none;border-radius:0;background:transparent}.doc-card:hover{border:none;background:var(--fill)}.panel-hint{font-size:10.5px;line-height:1.7;color:#8a867e}.tailor-inlay-choice{gap:14px}.page-count-chip-photos{font-size:10.5px;color:var(--ink-soft);letter-spacing:.04em}.ai-fit-option{display:block;margin:0 0 10px}.order-price-lines{margin:8px 0 14px;border-top:1px solid var(--line, rgba(28, 27, 25, .18))}.order-price-line{display:flex;justify-content:space-between;gap:16px;padding:6px 0;font-size:13px;border-bottom:1px solid var(--line, rgba(28, 27, 25, .12))}.order-price-total{font-weight:700;letter-spacing:.04em}.order-option{display:block;margin:2px 0}.cover-field-inline{display:flex;align-items:center;gap:10px;font-size:12px;margin-top:6px}.book-start{min-height:100dvh;display:grid;place-items:center;padding:max(40px,env(safe-area-inset-top)) 24px max(40px,env(safe-area-inset-bottom));box-sizing:border-box;background:#fff}.page-count-picker{width:100%;max-width:640px;margin:auto;color:#222}.page-count-picker h1{font-family:"Noto Serif JP",serif;font-size:clamp(23px,5vw,32px);font-weight:400;letter-spacing:.04em;line-height:1.45;margin:14px 0 6px}.page-count-picker p{line-height:1.8}.page-count-eyebrow{font-size:12px;color:#666;letter-spacing:.08em}.page-count-intro{margin:0;color:#666;font-size:14px}.page-count-spine-callout{margin:12px 0 0;padding:8px 10px;border-left:2px solid #ac594a;background:#f8f5f2;font-size:13px}.page-count-spine-callout strong{font-weight:600}.page-count-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:20px 0 12px}.page-count-options button{min-height:132px;padding:16px 12px;border:1px solid #d9d6d2;background:#fff;color:#555;border-radius:8px;display:flex;flex-direction:column;align-items:stretch;justify-content:center;gap:10px;cursor:pointer}.page-count-options button[aria-pressed=true]{border:2px solid #af5d4c;background:#fcf7f4;color:#222}.page-count-options button:focus-visible{outline:2px solid #222;outline-offset:3px}.page-count-options strong{font-size:22px}.page-count-options small{font-size:13px;font-weight:400}.page-count-options span{font-size:12px}.page-count-options .page-count-spine-availability{color:#765d55;font-size:11px;white-space:nowrap}.page-count-card-top{display:flex;align-items:baseline;justify-content:center;gap:6px}.page-count-book{display:block;width:100%;height:145px;overflow:visible}.page-count-options .page-thickness-label{display:block;color:#62564f;text-align:center;font-size:12px;line-height:1.5}.page-count-actions{display:flex;flex-direction:column;gap:6px;margin-top:16px}.page-count-actions button{min-height:48px}.page-count-actions .primary-button{background:#222;border-color:#222;color:#fff;border-radius:0}.page-count-actions .secondary-button{background:transparent;border-color:transparent;color:#444;border-radius:0}.page-count-actions .resume-new-button{border:1px solid #333;color:#222;background:#fff;font-weight:600}.page-count-actions .resume-new-button:hover{background:#f8f7f5}.page-count-actions .resume-new-button:focus-visible{outline:2px solid #222;outline-offset:3px}.page-count-edit{background:transparent;border:0;text-decoration:underline;color:inherit;font:inherit;font-size:12px;white-space:nowrap;padding:6px 8px;min-height:44px;cursor:pointer}.product-info:has(.page-count-edit){flex-wrap:wrap}.page-count-dialog{border:0;border-radius:12px;width:min(640px,calc(100vw - 48px));max-height:calc(100dvh - 48px);padding:20px;box-sizing:border-box;overflow:auto}.page-count-dialog::backdrop{background:#0008}@media(min-width:700px){.page-count-options{grid-template-columns:repeat(5,minmax(0,1fr))}}@media(max-width:699px){.book-start{padding:max(24px,env(safe-area-inset-top)) 24px max(24px,env(safe-area-inset-bottom))}.page-count-picker h1{margin:12px 0 5px}.page-count-spine-callout{margin-top:12px;padding:10px 12px}.page-count-options{gap:6px;margin:14px 0 8px}.page-count-options button{min-height:120px;gap:8px}.page-count-actions{gap:8px;margin-top:12px}}.workflow-actions{display:flex;padding:6px 10px;gap:8px}.mobile-cover-continue{display:none}.workflow-actions button{width:100%;min-height:40px}.editing-warning{background:#fff6ed;border-left:3px solid #a63b25;padding:8px 10px;color:#762b1b;font-size:13px}.editing-warning p{margin:4px 0}.body-text-warning{position:sticky;top:0;z-index:4;padding:2px 6px}.body-text-warning button{width:100%;min-height:44px;padding:4px;font-size:12px;color:inherit}.mobile-surface-switch{display:none}@media(max-width:999px){html:has(.editor),body:has(.editor){overflow:hidden;overscroll-behavior:none;height:100%}body:has(.editor){position:fixed;top:0;right:0;bottom:0;left:0;width:100%}.editor.editor-editing,.editor.editor-previewing{position:fixed;inset:var(--editor-top, 0px) 0 auto;width:100%;max-width:none;height:var(--editor-height, 100dvh);min-height:0;padding:0;overflow:hidden;display:flex}.editor .app-header{position:static;flex:0 0 auto;border-bottom:1px solid var(--line)}.editor .app-header-row{min-height:48px;padding:0 8px;gap:4px}.editor .brand-small,.editor .spec-line{display:none}.editor .product-info{flex-wrap:nowrap}.editor .mobile-surface-switch,.editor .editor-mode-switch{display:none}.editor .editor-mode-switch button{min-height:36px;font-size:12px}.editor .guide-ribbon{display:none}.editor.editor-guide-expanded .guide-ribbon{display:flex;flex:0 0 auto;padding:2px 4px;gap:2px;align-items:center}.editor .guide-ribbon-steps{overflow:visible;gap:1px}.editor .guide-step{min-width:0;flex:1 1 0;padding:2px;min-height:44px;align-items:center;justify-content:center;color:var(--ink)}.editor .guide-step-hint{display:none}.editor .guide-step-label{font-size:11px;letter-spacing:0;white-space:nowrap}.editor .guide-skip{font-size:10px;padding:2px;min-height:44px}.editor .canvas-area,.editor .canvas-area.canvas-preview{position:relative;top:auto;flex:1 1 0;min-height:0;z-index:1;display:flex;align-items:center;justify-content:center;padding:8px 10px;overflow:hidden}.editor .canvas-area .spread-container{flex:0 0 auto;max-width:100%;max-height:none;margin:auto}.editor .nav-row{position:static;flex:0 0 44px;height:44px;min-height:44px;padding:0 6px;gap:2px;z-index:2;background:#fff}.editor .nav-row .icon-button{min-width:36px;min-height:44px;padding:2px 6px;font-size:22px}.editor .mobile-page-list-toggle{min-width:44px;min-height:44px}.editor .desktop-preview-toggle{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:2px 8px;font-size:12px}.editor .page-strip{display:none}.editor.editor-editing .editor-side{display:flex;flex-direction:column;flex:0 0 40%;height:40%;min-height:230px;max-height:none;overflow:hidden;padding-bottom:env(safe-area-inset-bottom,0px);background:#fff}.editor.editor-editing .toolbar{order:-1;position:static;inset:auto;flex:0 0 48px;height:48px;min-height:48px;padding:0;margin:0;z-index:2;overflow:visible}.editor.editor-body.editor-editing .editor-side{flex-basis:48%;height:48%}.editor.editor-cover.editor-editing .editor-side{flex-basis:52%;height:52%}.editor .tool-button{min-height:48px;padding:2px 4px;font-size:11px;letter-spacing:0}.editor .tool-button svg{width:18px;height:18px;margin-bottom:2px}.editor .workflow-actions{order:3;flex:0 0 auto;min-height:44px;padding:2px 8px;border-top:1px solid var(--line)}.editor .workflow-actions button{min-height:40px;font-size:14px}.editor .workflow-actions .mobile-cover-continue{display:block}.editor.editor-editing .tool-sheet{position:relative;inset:auto;flex:1 1 0;min-height:0;max-height:none;display:flex;flex-direction:column;border:0;border-radius:0;box-shadow:none;transform:none;transition:none;overflow:hidden;z-index:1}.editor .tool-sheet-handle{display:block;flex:0 0 18px;height:18px;padding:4px}.editor .slot-toolbar{min-height:0;padding:8px 10px;gap:6px}.editor .slot-swap-button{grid-column:1 / 2;min-height:44px;font-size:13px;letter-spacing:0}.editor .slot-close-button{display:flex;grid-column:2 / 3;min-height:44px;justify-content:center;font-size:12px}.editor .slot-position-details{grid-column:1 / 2}.editor .slot-clear-button{grid-column:2 / 3;min-height:44px}.editor .tool-sheet-body,.editor .tool-sheet-body:has(.slot-toolbar){flex:1 1 0;min-height:0;height:auto;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;padding:0 10px max(64px,calc(16px + env(safe-area-inset-bottom)));scroll-padding-top:8px;scroll-padding-bottom:64px}.editor .tool-sheet-closed .tool-sheet-body{display:none}.editor.editor-editing:has(.tool-sheet-closed) .editor-side{flex-basis:190px;height:190px;min-height:0}.editor.editor-cover:has(.tool-sheet-closed) .editor-side{flex-basis:62px;height:62px}.editor .photo-tray{max-height:none;overflow:visible;padding:4px 0;gap:6px;grid-template-columns:repeat(4,minmax(0,1fr))}.editor .cover-steps{position:static;padding:2px 0 4px}.editor .cover-panel>.panel-section-title,.editor .tailor-heading{margin:0;font-size:13px;line-height:1.4}.editor .cover-panel>.panel-section-title:first-of-type,.editor .tailor-heading{display:none}.editor .cover-panel{gap:6px}.editor .cover-layout-guide{margin:0 0 2px;font-size:12px;line-height:1.5}.editor .cover-preset-group-label{margin:2px 0;font-size:11px}.editor .cover-preset-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.editor .cover-preset-name{font-size:11px}.editor .cover-photo-help{margin:2px 0 6px;font-size:11px}.editor .photo-library-header{gap:4px;font-size:11px}.editor [data-testid=panel-photos]{padding-top:0;padding-bottom:0;gap:0}.editor .photo-library-header .file-button{min-height:44px;padding:8px 4px;font-size:12px}.editor .photo-options summary{padding:0 4px;font-size:12px}.editor .tailor-embed,.editor .tailor-controls,.editor .tailor-inlay{min-width:0;max-width:100%}.editor .tailor-embed{touch-action:pan-y pinch-zoom}.editor .tailor-embed .finish-photo-picker{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));overflow:visible}.editor .tailor-embed .photo-thumb-mini{width:100%;height:auto;aspect-ratio:1}.editor .tailor-foot{flex-wrap:wrap}.editor .tailor-foot .primary-button{white-space:normal;flex:1 1 100%}.editor .panel-header{flex-wrap:wrap;gap:6px}.editor .panel-actions{flex-wrap:wrap}.editor .notice-banner,.editor .save-alert,.editor .lock-banner{flex:0 0 auto;max-height:70px;overflow-y:auto}.editor .draft-suggest{flex:0 0 auto;max-height:58px;overflow-y:auto;padding:4px 8px}.editor .draft-suggest>span{display:none}.editor .draft-suggest>button{width:100%;min-height:40px}.editor .page-list-panel{position:absolute;inset:auto 8px 8px;max-height:65%;overflow-y:auto;z-index:70}.editor .page-list-header{display:grid;grid-template-columns:1fr auto;gap:2px 8px}.editor .page-list-header>strong{white-space:nowrap}.editor .page-list-header>.panel-hint{grid-row:2;grid-column:1 / -1}.editor .page-list-header>button{grid-row:1;grid-column:2;min-width:64px;min-height:44px}.editor input:not([type=checkbox]):not([type=range]),.editor textarea,.editor select{font-size:16px}.editor.editor-typing .canvas-area{flex:0 0 90px}.editor.editor-typing .nav-row,.editor.editor-typing .toolbar,.editor.editor-typing .workflow-actions{display:none}.editor.editor-typing.editor-editing .editor-side{flex:1 1 0;height:auto;min-height:0}.editor.editor-typing .tool-sheet-body{scroll-padding:12px}.editor .cover-field{display:block;margin:8px 0}.editor .cover-field input:not([type=range]),.editor .cover-field textarea.cover-field-textarea{display:block;width:100%;font-size:16px;max-height:88px;overflow-y:auto}.editor.editor-typing .cover-text-placeholder,.editor.editor-typing .cover-finish-placeholder,.editor.editor-typing .cover-text-remove,.editor.editor-typing .cover-label{display:none}}.print-copy-notice{width:min(520px,calc(100vw - 32px));max-height:calc(100dvh - 32px);box-sizing:border-box;overflow:auto;border:0;border-radius:4px;padding:30px;color:#292929;background:#fff}.print-copy-notice::backdrop{background:#0007}.print-copy-notice .print-copy-eyebrow{font-size:12px;letter-spacing:.09em;color:#6b6b6b;margin:0 0 16px}.print-copy-notice h2{font-size:24px;font-weight:500;line-height:1.6;letter-spacing:.02em;margin:0}.print-copy-flow{display:grid;grid-template-columns:1fr 28px 1fr;align-items:center;gap:8px;margin:24px 0;text-align:center}.print-copy-flow svg{width:100%;max-width:130px;height:100px;fill:none;stroke:#5a5a5a;stroke-width:1.5}.print-copy-flow strong,.print-copy-flow div span{display:block;font-size:13px;line-height:1.8}.print-copy-flow strong{font-weight:500}.print-copy-flow div span{color:#6b6b6b;font-size:12px}.print-copy-arrow{color:#777;font-size:24px}.print-copy-explanation,.print-copy-assurance,.print-copy-details p{font-size:14px;line-height:1.9;margin:0 0 16px}.print-copy-explanation strong{font-weight:500}.print-copy-assurance{margin-bottom:20px}.print-copy-details{font-size:13px;line-height:1.8;margin-bottom:24px}.print-copy-details summary{cursor:pointer;text-decoration:underline;text-underline-offset:4px}.print-copy-details p{margin:12px 0 0;color:#555;font-size:13px}.print-copy-actions{display:grid;gap:12px}.print-copy-actions .primary-button{min-height:46px;width:100%;background:#292929;border-color:#292929;color:#fff}.print-copy-cancel{min-height:40px;border:0;background:none;color:#555;font-size:13px;cursor:pointer}.print-copy-notice :focus-visible{outline:2px solid #555;outline-offset:4px}@media(max-width:420px){.print-copy-notice{padding:24px}.print-copy-notice h2{font-size:21px}.print-copy-flow{margin:18px 0}}.toolbar-simple .tool-button{flex:1 1 50%}.toolbar-simple .tool-button-label{letter-spacing:.02em}.body-extra-nav{position:sticky;top:0;z-index:3;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:8px 0 12px;background:#fff}.body-extra-nav button{min-height:44px;border:1px solid var(--line);background:#fff;color:var(--ink);font:inherit;font-size:13px;cursor:pointer}.body-extra-nav button[aria-pressed=true]{border-color:var(--brand);color:var(--brand-dark);font-weight:600}.body-extra-nav button:focus-visible,.cover-more-templates:focus-visible{outline:2px solid var(--brand);outline-offset:2px}.cover-more-templates{display:block;width:100%;min-height:44px;margin:10px 0 4px;padding:8px 12px;border:1px solid var(--line);background:#fff;color:var(--ink);font:inherit;font-size:13px;text-align:center;cursor:pointer}.photo-upload-info>summary{min-height:32px;display:flex;align-items:center;color:var(--ink-soft);font-size:11px;line-height:1.4;cursor:pointer}.photo-upload-info>summary:focus-visible{outline:2px solid var(--brand);outline-offset:2px}.photo-upload-info>.panel-hint{padding:2px 0 8px}.body-workflow{width:100%;display:flex;flex-direction:column;gap:4px}.body-workflow h2{margin:0 0 2px;font-family:"Noto Serif JP",serif;font-size:17px;font-weight:500;line-height:1.35;text-align:center}.body-flow-step{margin:0;color:var(--brand-dark);font-size:10px;letter-spacing:.13em;text-align:center}.body-next-hint{margin:0 0 4px;text-align:center;font-size:12px;line-height:1.4;color:var(--ink-soft)}.body-choice-list{display:grid;grid-template-columns:1fr 1fr;gap:6px}.body-choice-list button{min-width:0;padding-inline:4px;font-size:12px;white-space:nowrap}.body-text-link{align-self:center;min-height:28px;padding:3px 8px;color:var(--brand-dark);font-size:12px;text-decoration:underline;cursor:pointer}.body-adjust-details{font-size:12px;text-align:center;color:var(--brand-dark)}.body-adjust-details summary{min-height:28px;cursor:pointer}.body-adjust-details .body-help-actions{flex-wrap:wrap;justify-content:center}.body-start-choices{display:grid;grid-template-columns:1fr 1fr;gap:6px}.body-start-choices span{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;min-height:38px;padding:3px 4px;border:1px solid var(--line);background:#faf9f7;text-align:center}.body-start-choices strong{font-size:12px;font-weight:600}.body-start-choices small{font-size:10px;color:var(--ink-soft)}.body-quick-actions{display:grid;grid-template-columns:1fr 1fr;gap:6px}.body-quick-actions>*{min-width:0;text-align:center}.body-help-actions{display:flex;justify-content:space-between;gap:8px}.body-help-actions button,.body-help-actions label{min-height:32px;padding:2px 4px;border:0;background:transparent;color:var(--brand-dark);text-decoration:underline;font:inherit;font-size:12px;cursor:pointer;white-space:nowrap}.body-help-actions button:focus-visible{outline:2px solid var(--brand);outline-offset:2px}.unfilled-warning-screen{padding:14px 16px;background:#fff4de;border-left:4px solid #ae673d;color:#28231e;line-height:1.7}.unfilled-warning-screen p{margin:0 0 8px}.unfilled-warning-screen p:last-child{margin-bottom:0}.print-size-reminder{line-height:1.6}.unfilled-page-summary{padding:8px 10px;background:#fff4de}.body-progress{text-align:center;font-size:12px;color:var(--ink-soft);line-height:1.5}.body-first-upload{display:flex;align-items:center;justify-content:center;min-height:44px;cursor:pointer}.workflow-actions .body-skip{min-height:32px;border:0;background:none;font-size:12px;text-decoration:underline;color:var(--ink-soft);cursor:pointer}.body-first-upload:focus-within{outline:2px solid var(--brand);outline-offset:2px}.guided-editor{--guided-accent: #955b4d;--guided-soft: #faf4f0;min-height:100dvh;background:#fff;color:#302d2a;font-size:15px;line-height:1.7}.guided-page-picker{width:min(860px,100%);margin:0 auto;padding:20px 16px 60px}.guided-save{margin-left:auto;color:#777;font-size:12px}.guided-preview .cover-front-only{position:relative;width:min(245px,72%);overflow:hidden;box-shadow:0 12px 28px #271b161c}.guided-spine-book{display:flex;align-items:stretch;justify-content:center;width:min(300px,92%);perspective:800px;filter:drop-shadow(8px 12px 12px #271b1626)}.guided-spine-book .cover-front-only{flex:1;width:auto;max-width:210px;margin:0;transform:rotateY(-7deg);transform-origin:left center;box-shadow:none}.guided-spine-face{flex:none;position:relative;border-right:1px solid #0002;border-radius:2px 0 0 2px;transform:rotateY(36deg);transform-origin:right center;box-shadow:inset 4px 0 7px #0002;overflow:hidden}.guided-preview .spread-container:not(.cover-front-only){width:100%}.guided-alert{display:flex;justify-content:space-between;align-items:center;gap:12px;width:min(1100px,calc(100% - 40px));margin:0 auto 10px;padding:8px 12px;border-left:3px solid #b77754;background:#fff4e8;font-size:13px}.guided-alert button{border:0;background:transparent;cursor:pointer;font-size:20px}.guided-panel h3{margin:24px 0 8px;font-size:15px;font-weight:600}.guided-caption{color:#777;font-size:12px}.guided-text-link{display:block;min-height:44px;padding:10px 0;border:0;background:transparent;color:#815244;font:inherit;text-align:left;text-decoration:underline;cursor:pointer}.guided-layout-icon,.guided-template-mark{display:block;color:#956f62;font-family:Georgia,serif;font-size:32px;font-weight:400;line-height:1}.guided-layout-preview{display:block;width:72px;margin:0 auto 2px;pointer-events:none}.guided-layout-preview .cover-front-only{position:relative;overflow:hidden;width:100%;box-shadow:0 4px 9px #271b1620}.guided-template-preview{display:flex;gap:2px;width:92px;height:66px;padding:5px;background:#e8e4df;box-shadow:0 3px 8px #271b1619}.guided-template-page{position:relative;flex:1;background:#fff}.guided-template-page i{display:none;position:absolute;background:#c9beb5}.guided-template-story .guided-template-page:first-child i:first-child{display:block;top:9px;right:5px;bottom:26px;left:5px}.guided-template-story .guided-template-page:last-child i{display:block;height:2px;left:8px;right:8px}.guided-template-story .guided-template-page:last-child i:nth-child(1){top:23px}.guided-template-story .guided-template-page:last-child i:nth-child(2){top:29px}.guided-template-story .guided-template-page:last-child i:nth-child(3){top:35px}.guided-template-variety .guided-template-page:first-child i:first-child{display:block;top:6px;right:5px;bottom:6px;left:5px}.guided-template-variety .guided-template-page:last-child i:nth-child(1){display:block;top:6px;right:5px;bottom:29px;left:5px}.guided-template-variety .guided-template-page:last-child i:nth-child(2){display:block;top:32px;right:5px;bottom:6px;left:5px}.guided-template-uncropped .guided-template-page i:first-child{display:block;top:9px;right:4px;bottom:9px;left:4px;background:#d9d0c7}.guided-template-uncropped .guided-template-page:first-child i:first-child{top:9px;right:8px;bottom:9px;left:8px}.guided-template-uncropped .guided-template-page:last-child i:first-child{top:17px;right:4px;bottom:17px;left:4px}.page-count-card-top{display:flex;flex-direction:column;align-items:center;gap:2px}.page-count-card-top strong,.page-count-card-top>span{white-space:nowrap}.page-count-card-top strong{font-size:21px;line-height:1.2}.guided-upload{display:grid;place-items:center;min-height:68px;border:1px dashed #b7a69a;border-radius:8px;background:#fcfaf8;color:#815244;cursor:pointer}.guided-upload input{position:absolute;width:1px;height:1px;opacity:0}.guided-upload:focus-within{outline:2px solid var(--guided-accent);outline-offset:3px}.guided-photo-count{margin:20px 0 0;font-size:13px;color:#655e57}.guided-photo-select{position:relative;aspect-ratio:1;padding:0;overflow:hidden;border:2px solid transparent;border-radius:6px;background:#f6f4f1;cursor:pointer}.guided-photo-select[aria-pressed=true]{border-color:var(--guided-accent)}.guided-photo-select img{display:block;width:100%;height:100%;object-fit:cover}.guided-photo-select span{position:absolute;top:4px;right:4px;display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#fffc;color:#493b36;font-size:17px}.guided-page-nav{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;font-size:12px}.guided-page-nav button{min-height:44px;padding:8px 10px;border:1px solid #dcd5ce;border-radius:5px;background:#fff;color:#554c45;font:inherit;cursor:pointer}.guided-selected-hint,.guided-blank-warning{padding:10px 12px;border-radius:6px;background:#fff4e8;color:#654735;font-size:13px}.guided-editor *,.guided-editor *:before,.guided-editor *:after{box-sizing:border-box}.guided-header{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;padding:16px 20px;border-bottom:1px solid #eee9e5;background:#fff}.guided-header h1{margin:0;font-size:18px;font-weight:500;letter-spacing:.04em}.guided-header button{min-height:44px;padding:8px 12px;background:#fff;border:1px solid #e2ddd8;border-radius:6px;color:#655e57;font:inherit;font-size:13px;cursor:pointer}.guided-header .guided-help{color:#695b52;font-size:12px;text-decoration:underline;text-underline-offset:3px}.guided-progress{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:6px 16px;padding:16px 20px;color:#8a8178;font-size:12px}.guided-progress>*{display:inline-flex;align-items:center;gap:7px}.guided-progress .active,.guided-progress [aria-current=step]{color:var(--guided-accent);font-weight:600}.guided-progress .done{color:#655e57}.guided-main{display:grid;gap:24px;width:min(1120px,100%);margin:0 auto;padding:8px 20px 112px}.guided-preview{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;min-width:0;min-height:220px;padding:24px 16px;border-radius:10px;background:#f6f4f1;overflow:hidden}.guided-preview>p{margin:0;color:#7a7168;font-size:12px;text-align:center}.guided-preview img{max-width:100%;object-fit:contain}.guided-preview .slot-photo{max-width:none;max-height:none}.guided-photo-actions{display:flex;gap:12px;margin:12px 0}.guided-photo-actions button{min-height:44px;padding:8px 16px;border:1px solid #d7d0c9;border-radius:6px;background:#fff}.guided-preview.guided-cover-photo-preview{position:static;min-height:0;margin-bottom:16px;padding:16px}.guided-customize{width:100%;margin:8px 0 20px}.guided-editor[data-step=photos] .guided-main>.guided-preview{display:none}.guided-editor[data-step=photos] .guided-main{display:block;max-width:680px}.guided-typing .guided-footer{position:static;margin-top:20px}@media(max-width:699px){.guided-preview.guided-cover-photo-preview{position:sticky;top:8px;z-index:3;padding:10px}.guided-preview.guided-cover-photo-preview .cover-front-only{width:104px}.guided-editor:has(input:focus,textarea:focus) .guided-footer{position:static;margin-top:20px}}.guided-panel{min-width:0;padding:0}.guided-panel h2{margin:0 0 10px;font-size:clamp(22px,3vw,28px);font-weight:500;line-height:1.5;letter-spacing:.025em}.guided-panel>p{margin:0 0 24px;color:#786f66;font-size:14px}.guided-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:20px 0}.guided-choice-card,.guided-color-card{position:relative;min-width:0;min-height:112px;padding:16px 12px;border:1px solid #e1dbd5;border-radius:8px;background:#fff;color:#49423c;text-align:center;font:inherit;cursor:pointer;transition:border-color .15s,background .15s,box-shadow .15s}.guided-choice-card{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px}.guided-choice-card strong{font-size:15px;font-weight:600}.guided-choice-card small{color:#7a7168;font-size:12px;line-height:1.6}.guided-choice-card.selected,.guided-color-card.selected,.guided-choice-card[aria-pressed=true],.guided-color-card[aria-pressed=true]{border-color:var(--guided-accent);background:var(--guided-soft);box-shadow:inset 0 0 0 1px var(--guided-accent)}.guided-color-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:20px 0}.guided-color-card{display:flex;flex-direction:column;align-items:center;gap:10px;min-height:100px;padding-inline:8px;font-size:12px}.guided-color-card>span:first-child{width:42px;height:42px;border-radius:50%;border:1px solid #00000012}.guided-form{display:grid;gap:20px;margin:24px 0}.guided-subtitle-choice{display:grid;gap:4px;color:#52483f;font-size:14px}.guided-subtitle-choice .guided-slot-choice{margin:4px 0 0}.guided-title-font{display:grid;gap:8px;min-width:0;color:#52483f;font-size:14px}.guided-title-font .font-disclosure{width:100%}.guided-title-font .font-disclosure summary{min-height:48px;border:1px solid #dcd5ce;border-radius:6px;background:#fff}.guided-title-font .font-disclosure .font-chips{max-height:min(50vh,360px);overflow-y:auto}.guided-form label{display:grid;gap:8px;color:#52483f;font-size:14px}.guided-form input,.guided-form textarea,.guided-form select{width:100%;min-height:48px;padding:12px;border:1px solid #dcd5ce;border-radius:6px;background:#fff;color:#302d2a;font:inherit;font-size:16px}.guided-form textarea{min-height:100px;resize:vertical}.guided-word-layouts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.guided-word-layouts button{display:grid;justify-items:center;gap:8px;min-width:0;padding:12px 7px;border:1px solid #ded8d1;border-radius:7px;background:#fff;color:#403a35;font:inherit;font-size:13px;cursor:pointer}.guided-word-layouts button[aria-pressed=true]{border:2px solid var(--guided-accent);padding:11px 6px;background:var(--guided-soft)}.guided-word-paper{display:flex;flex-direction:column;align-items:center;gap:4px;width:42px;height:59px;padding:12px 7px;background:#fff;border:1px solid #e3ddd7;box-shadow:1px 3px 5px #3d342616}.guided-word-paper-top{justify-content:flex-start}.guided-word-paper-middle{justify-content:center}.guided-word-paper-bottom{justify-content:flex-end}.guided-word-paper i{width:100%;height:2px;background:#83746b}.guided-word-paper i:last-child{width:70%}.guided-field-error{display:block;padding:8px 10px;border-left:3px solid #b25443;background:#fff1eb;color:#873b2e;font-size:13px;line-height:1.5}.guided-editor :focus-visible{outline:2px solid var(--guided-accent);outline-offset:3px}.guided-footer{position:fixed;z-index:90;inset:auto 0 0;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 20px calc(14px + env(safe-area-inset-bottom));border-top:1px solid #e8e2db;background:#fffffff5;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.guided-back,.guided-next{min-height:48px;padding:12px 24px;border-radius:6px;font:inherit;font-size:14px;cursor:pointer}.guided-undo{min-height:44px;padding:8px 12px;border:0;background:transparent;color:#735f55;font:inherit;font-size:13px;cursor:pointer}.guided-back{border:1px solid #dcd5ce;background:#fff;color:#62584f}.guided-next{margin-left:auto;border:1px solid var(--guided-accent);background:var(--guided-accent);color:#fff;font-weight:600}.guided-editor button:disabled{cursor:default;opacity:.45}.guided-photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:20px 0}.guided-photo-card{position:relative;min-width:0;aspect-ratio:1;border:1px solid #e6dfd8;border-radius:6px;overflow:hidden;background:#f6f4f1}.guided-photo-card img{width:100%;height:100%;object-fit:cover;display:block}.guided-photo-card button{position:absolute;top:4px;right:4px;min-width:32px;min-height:32px;border:0;border-radius:50%;background:#fffffff0;color:#4a4038;cursor:pointer}.guided-manual-view{grid-column:1 / -1;min-width:0}.guided-review{display:grid;gap:12px;margin:24px 0;padding:20px;border:1px solid #e5ded7;border-radius:8px;background:#fcfbf9}.guided-review p{margin:0}.guided-review dl{display:grid;grid-template-columns:auto 1fr;gap:8px 20px;margin:0;font-size:14px}.guided-review dt{color:#7a7168}.guided-review dd{margin:0;text-align:right}@media(hover:hover){.guided-choice-card:hover,.guided-color-card:hover{border-color:#bca69a;background:#fcf9f6}.guided-next:hover{background:#7e4b3f}}@media(min-width:760px){.guided-header{padding:20px 36px}.guided-progress{padding:22px;gap:28px;font-size:13px}.guided-main{grid-template-columns:minmax(0,1fr) minmax(0,440px);align-items:start;gap:48px;padding:24px 32px 130px}.guided-preview{position:sticky;top:24px;min-height:480px;padding:40px 28px}.guided-panel{padding-top:16px}.guided-footer{padding-inline:max(32px,calc((100vw - 1056px)/2))}.guided-color-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:759px){.guided-header{padding:10px 16px}.guided-header h1{font-size:16px}.guided-header button{font-size:12px;padding-inline:8px}.guided-progress{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2px 6px;padding:8px 16px;font-size:10px;text-align:center}.guided-progress>*{justify-content:center}.guided-main{gap:18px;padding:4px 16px 112px}.guided-preview{min-height:0;padding:14px 12px}.guided-editor[data-step=cover-color] .guided-main>.guided-preview,.guided-editor[data-step=cover-layout] .guided-main>.guided-preview,.guided-editor[data-step=cover-photo] .guided-main>.guided-preview,.guided-editor[data-step=cover-spine] .guided-main>.guided-preview,.guided-editor[data-step=customize-layout] .guided-main>.guided-preview{position:sticky;top:0;z-index:5;min-height:0;padding:7px 12px;border:1px solid #ece5de;box-shadow:0 5px 18px #271b1617}.guided-editor[data-step=cover-color] .guided-main>.guided-preview .cover-front-only,.guided-editor[data-step=cover-photo] .guided-main>.guided-preview .cover-front-only,.guided-editor[data-step=cover-layout] .guided-main>.guided-preview .cover-front-only{width:clamp(142px,41vw,165px)}.guided-editor[data-step=cover-color] .guided-main>.guided-preview>p,.guided-editor[data-step=cover-photo] .guided-main>.guided-preview>p,.guided-editor[data-step=cover-layout] .guided-main>.guided-preview>p{display:none}.guided-preview .cover-front-only{width:min(165px,50%)}.guided-preview .spread-container:not(.cover-front-only){width:min(280px,88%)}.guided-preview>p{font-size:11px}.guided-panel h2{font-size:22px}.guided-panel>p{margin-bottom:14px;font-size:13px}.guided-choice-grid,.guided-color-grid{gap:8px;margin:14px 0}.guided-choice-card{min-height:105px;padding:10px 7px}.guided-editor[data-step=cover-color] .guided-color-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin:10px 0 16px}.guided-editor[data-step=cover-color] .guided-color-card{min-height:72px;gap:4px;padding:7px 3px 5px;font-size:11px;line-height:1.25}.guided-editor[data-step=cover-color] .guided-color-card>span:first-child{flex:none;width:30px;height:30px}.guided-footer{padding:10px 16px calc(10px + env(safe-area-inset-bottom))}.guided-footer{gap:6px}.guided-back,.guided-next{padding-inline:13px;font-size:13px}.guided-undo{padding-inline:5px;font-size:12px}}@media(max-width:359px){.guided-editor[data-step=cover-color] .guided-color-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}.guided-order-choice,.guided-slot-choice{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}.guided-page-type-choice{min-width:0;margin:14px 0;padding:0;border:0}.guided-page-type-choice legend{padding:0;color:#473d38;font-size:13px;font-weight:600}.guided-page-type-choice .guided-slot-choice{margin:8px 0 0}.guided-order-choice>span{flex-basis:100%;color:#5d5048;font-size:13px}.guided-order-choice button,.guided-slot-choice button{min-height:44px;padding:9px 14px;border:1px solid #ddd5cf;border-radius:7px;background:#fff;color:#473d38;font:inherit;font-size:13px;cursor:pointer}.guided-order-choice button[aria-pressed=true],.guided-slot-choice button[aria-pressed=true]{border-color:var(--guided-accent);background:var(--guided-soft);box-shadow:inset 0 0 0 1px var(--guided-accent)}.guided-pair-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:16px;max-height:340px;overflow-y:auto}.guided-pair-list button{display:grid;gap:2px;min-height:56px;padding:8px 12px;border:1px solid #e1dbd5;border-radius:7px;background:#fff;color:#403833;text-align:left;font:inherit;cursor:pointer}.guided-pair-list button small{color:#7a7168;font-size:11px}.guided-pair-list button[aria-pressed=true]{border-color:var(--guided-accent);background:var(--guided-soft)}.guided-layout-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:16px 0}.guided-layout-grid button{display:grid;justify-items:center;gap:3px;min-height:104px;padding:10px;border:1px solid #e1dbd5;border-radius:7px;background:#fff;color:#403833;font:inherit;cursor:pointer}.guided-layout-grid button[aria-pressed=true]{border-color:var(--guided-accent);background:var(--guided-soft)}.guided-layout-grid strong{font-size:13px;font-weight:600}.guided-layout-grid small{color:#7a7168;font-size:11px}.guided-layout-mini{position:relative;display:block;width:70px;height:49px;background:linear-gradient(to right,#fff 0,#fff 49.3%,#e0d9d2 49.3%,#e0d9d2 50.7%,#fff 50.7%,#fff);border:1px solid #e7e0da;box-shadow:2px 3px 7px #271b161a}.guided-layout-mini i{position:absolute;display:block;background:#baa99d}.guided-text-position{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;width:min(270px,100%);margin:16px auto;padding:12px;border:1px solid #e3dbd2;background:#fff;aspect-ratio:142 / 200}.guided-text-position button{display:grid;place-content:center;gap:2px;min-width:0;border:1px solid #e9e2db;border-radius:3px;background:#fcfaf8;color:#584c44;font:inherit;cursor:pointer}.guided-text-position button:hover,.guided-text-position button:focus-visible{border-color:var(--guided-accent);background:var(--guided-soft)}.guided-text-position button[aria-pressed=true]{border-color:var(--guided-accent);background:var(--guided-soft);box-shadow:inset 0 0 0 1px var(--guided-accent)}.guided-text-position button span{font-family:"Noto Serif JP",serif;font-size:18px}.guided-text-position button small{font-size:10px}.guided-compact-choices .guided-choice-card{min-height:88px}.guided-fine-tune{margin:12px 0;padding:12px;border:1px solid #e5ded7;border-radius:7px}.guided-fine-tune summary{min-height:30px;color:#815244;cursor:pointer}.guided-fine-tune .guided-slot-choice{margin-bottom:0}.guided-background-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}.guided-background-grid .guided-color-card{min-height:72px;padding:7px 2px;font-size:10px}.guided-background-grid .guided-color-card>span:first-child{width:28px;height:28px}@media(max-width:759px){.guided-editor[data-step=body-template] .guided-main>.guided-preview,.guided-editor[data-step^=customize-] .guided-main>.guided-preview{position:sticky;top:0;z-index:5;min-height:0;padding:10px;border:1px solid #ece5de;box-shadow:0 5px 18px #271b1617}.guided-editor[data-step=body-template] .guided-main>.guided-preview .spread-container,.guided-editor[data-step^=customize-] .guided-main>.guided-preview .spread-container{width:min(340px,94%)}.guided-editor[data-step^=customize-] .guided-page-nav{font-size:11px}.guided-editor[data-step^=customize-] .guided-page-nav button{padding-inline:6px}.guided-pair-list{max-height:none;overflow:visible}}.resume-screen{min-height:100dvh;display:grid;place-items:center;padding:32px 20px;background:#fff;color:#302d2a}.resume-content{width:min(850px,100%)}.resume-eyebrow{margin:0 0 12px;color:#95655a;font-size:11px;letter-spacing:.16em}.resume-content h1{margin:0;font-size:clamp(29px,5vw,43px);font-weight:500;letter-spacing:.04em}.resume-lead{margin:14px 0 30px;color:#6c645e;font-size:15px;line-height:1.7}.resume-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.resume-option{display:grid;grid-template-columns:94px minmax(0,1fr) 20px;align-items:center;gap:15px;min-height:164px;padding:20px;border:1px solid #ded8d1;border-radius:12px;background:#fff;color:#302d2a;text-align:left;cursor:pointer}.resume-option:hover,.resume-option:focus-visible{border-color:#955b4d;box-shadow:0 10px 25px #271b1614}.resume-option-primary{background:#faf5f1;border-color:#cbb4aa}.resume-book{display:grid;place-items:center;width:76px;height:104px;padding:6px;border-radius:1px 5px 5px 1px;box-shadow:4px 5px 10px #271b1625,inset 5px 0 4px #00000018;transform:rotate(-4deg)}.resume-book span{max-width:100%;overflow:hidden;text-align:center;text-overflow:ellipsis;white-space:nowrap;font-family:var(--font-serif);font-size:10px}.resume-new-art{display:grid;place-items:center;width:80px;height:104px;position:relative}.resume-new-art i{position:absolute;display:block;width:70px;height:94px;border:1px solid #c8b5a9;background:#fff;box-shadow:3px 4px 8px #271b1614;transform:rotate(7deg)}.resume-new-art i:last-child{transform:rotate(-4deg);border-color:#d9cec4;background:#f6eee9}.resume-option-copy{display:grid;gap:3px;min-width:0}.resume-option-copy small{color:#976b5d;font-size:10px;letter-spacing:.12em}.resume-option-copy strong{font-size:18px;font-weight:600}.resume-option-copy span{overflow:hidden;color:#786e68;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.resume-option-arrow{align-self:start;color:#955b4d;font-size:19px}.resume-library{display:block;min-height:44px;margin:25px auto 0;padding:10px;border:0;background:transparent;color:#955b4d;font:inherit;cursor:pointer}.resume-note{margin:6px 0 0;color:#8b817b;font-size:12px;text-align:center}.login-screen{width:100%;max-width:none;box-shadow:none;background:#fff}.login-screen .brand{max-width:90vw;color:#302d2a;font-size:clamp(24px,5vw,35px);white-space:normal}.login-screen .login-note{max-width:370px;color:#6c645e;font-size:15px;line-height:1.9}.login-screen .primary-button{min-height:52px;padding-inline:28px;border-radius:6px;background:#955b4d;color:#fff}.library-screen{max-width:none;width:100%;margin:0;padding:clamp(24px,5vw,56px) max(20px,calc((100vw - 1040px)/2));background:#fff;color:#302d2a;box-shadow:none}.library-header{align-items:center}.library-eyebrow{margin:0 0 8px;color:#95655a;font-size:11px;letter-spacing:.13em}.library-title{margin:0;color:#302d2a;font-family:inherit;font-size:clamp(29px,5vw,42px);font-weight:500;letter-spacing:.04em}.library-header .secondary-button{flex:none;min-height:44px;padding:8px 12px;border:1px solid #e2ddd8;border-radius:6px;background:#fff;color:#655e57;font-size:12px;white-space:nowrap}.library-note{margin:16px 0 28px;color:#6c645e;font-size:15px;line-height:1.7}.library-create{display:flex;align-items:center;justify-content:space-between;gap:12px;width:min(100%,420px);min-height:62px;padding:14px 18px;border:1px solid #955b4d;border-radius:8px;background:#955b4d;color:#fff;font-size:16px;font-weight:600;box-shadow:none}.library-create:hover{background:#7e4b3f}.library-section-title{margin:38px 0 16px;color:#564c45;font-size:15px;font-weight:600}.doc-cards{grid-template-columns:repeat(auto-fill,minmax(min(100%,330px),1fr));gap:12px}.doc-card-shell{min-width:0}.library-screen .doc-card{display:grid;grid-template-columns:76px minmax(0,1fr) 18px;align-items:center;gap:14px;min-height:130px;padding:14px;border:1px solid #e1dbd5;border-radius:10px;background:#fff;box-shadow:0 4px 15px #271b160d}.doc-card-shell .doc-card{width:100%}.doc-card-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:6px 10px;min-height:42px;padding:4px 2px;color:#655e57;font-size:12px}.doc-card-actions button{min-height:40px;padding:7px 10px;border:1px solid #ded8d1;border-radius:5px;background:#fff;color:#625a53;font:inherit;cursor:pointer}.doc-card-actions button:hover,.doc-card-actions button:focus-visible{border-color:#955b4d}.doc-card-actions .doc-card-delete{border-color:transparent;color:#835c50}.doc-card-actions .doc-card-delete-confirm{border-color:#955b4d;background:#955b4d;color:#fff}.doc-card-protected{margin:8px 2px 0;color:#796f67;font-size:12px;text-align:right}.doc-card-expiry{color:#8a6154;font-size:11px;line-height:1.45}.library-delete-error{color:#a02b24;font-size:13px}.library-screen .doc-card:hover,.library-screen .doc-card:focus-visible{border-color:#bda89c;box-shadow:0 8px 20px #271b161b}.doc-card-cover{width:68px;height:96px;padding:5px;border-radius:1px 5px 5px 1px;box-shadow:3px 4px 8px #271b1620,inset 5px 0 4px #00000014}.doc-card-cover-title{font-size:9px}.doc-card-copy{display:grid;gap:7px;min-width:0}.doc-card-name{color:#302d2a;font-size:15px;font-weight:600}.doc-card-spec{color:#746b65;font-size:13px;line-height:1.5}.doc-card-foot{gap:8px}.doc-card-date{color:#8b817b;font-size:10px}.doc-card-badge{padding:3px 7px;border-color:#dfd3ca;border-radius:4px;color:#805b4f}.doc-card-arrow{align-self:start;color:#955b4d;font-size:18px}@media(max-width:650px){.library-screen{padding:22px 16px calc(32px + env(safe-area-inset-bottom))}.library-header .secondary-button{padding-inline:8px}.library-create{width:100%}.library-section-title{margin-top:34px}.doc-cards{grid-template-columns:1fr}}@media(max-width:650px){.resume-options{grid-template-columns:1fr}.resume-option{min-height:134px;grid-template-columns:76px minmax(0,1fr) 20px;padding:14px}.resume-book{width:58px;height:84px}.resume-new-art{width:60px;height:86px}.resume-new-art i{width:54px;height:76px}}@media(prefers-reduced-motion:reduce){.guided-choice-card,.guided-color-card{transition:none}}@media(max-width:999px){.editor .body-next-hint{font-size:12px}.editor .body-quick-actions>*{min-height:40px;padding-left:4px;padding-right:4px;font-size:12px}.editor .body-choice-list button{min-height:40px}.editor .body-help-actions button{font-size:11px;min-height:28px}.editor .toolbar-simple .tool-button{min-height:48px;font-size:13px}.editor .body-extra-nav{padding-top:2px}.editor .cover-step-next,.editor .tailor-foot{display:none}.editor .workflow-actions{flex-basis:auto}.editor .workflow-actions>button{letter-spacing:.02em;font-size:13px}}@media(max-width:999px)and (max-height:600px){.editor.editor-editing:not(.editor-typing):not(:has(.tool-sheet-closed)) .editor-side{flex-basis:62%;min-height:280px}.editor .draft-suggest{padding:2px 8px}.editor .draft-suggest>button{min-height:32px}}.intake-availability-banner{max-width:680px;margin:0 auto 20px;padding:13px 16px;border:1px solid #c7a294;border-left:4px solid #a75f4b;border-radius:4px;background:#fff8f4;color:#593b33;font-size:14px;line-height:1.65;text-align:left}.order-quantities{border:1px solid #d9d8d2;border-radius:16px;padding:16px;margin:16px 0;min-width:0}.order-quantities legend{font-weight:650;padding:0 6px}.order-quantity-buttons{display:flex;gap:8px}.order-quantity-buttons button{flex:1;min-height:48px;padding:8px 2px;border:1px solid #c8c8c2;border-radius:10px;background:#fff;color:#252525;font:inherit;cursor:pointer}.order-quantity-buttons button[aria-pressed=true]{background:#264f48;border-color:#264f48;color:#fff}.order-quantity-buttons button:active{transform:scale(.96)}.order-quantities select{min-height:48px;width:100%;font-size:16px}
