.multipage-editor{color:#191919;background:#fff9f0;padding:clamp(20px,4vw,48px);border-radius:28px;font-family:Arial,sans-serif}.multipage-editor *{box-sizing:border-box}.mp-heading h2{font-size:clamp(28px,4vw,48px);line-height:1.08;margin:12px 0}.mp-heading p,.mp-help,.mp-preview p{color:#64615c;line-height:1.5}.mp-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,1fr);gap:32px;margin-top:28px}.mp-preview{min-width:0;align-self:start;position:sticky;top:20px}.mp-preview canvas{width:100%;height:420px;display:block;border-radius:24px;background:#f4f0e8;touch-action:none}.mp-toolbar{display:flex;gap:10px;margin-top:14px}.mp-form{display:grid;gap:20px;min-width:0}.mp-form fieldset{min-width:0;margin:0;padding:22px;border:1px solid #ded9d0;border-radius:22px;background:white}.mp-form legend{font-size:20px;font-weight:700;padding:0 8px}.mp-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px}.mp-form label{display:grid;gap:8px;margin:8px 0 14px;font-size:14px;font-weight:700;min-width:0}.mp-form input,.mp-form select{font:inherit;color:#191919;background:#fff;width:100%;min-width:0;padding:13px 12px;border:1px solid #d6d1c9;border-radius:12px}.mp-form input[type=file]{font-weight:400}.multipage-editor button{font-size:15px;font-weight:700;border-radius:999px;padding:13px 22px;border:1px solid #272727;background:white;color:#191919;cursor:pointer}.multipage-editor .primary{background:#ff001a;color:#fff;border-color:#ff001a}.multipage-editor button:disabled{opacity:.5;cursor:not-allowed}.multipage-editor :focus-visible{outline:3px solid #167cc1;outline-offset:3px}.mp-help{font-size:13px;font-weight:400;margin-bottom:0}.mp-quote{padding:20px;background:#fff;border:1px solid #ded9d0;border-radius:20px}.mp-quote strong,.mp-quote span{display:block}.mp-quote strong{font-size:26px;margin-bottom:6px}.mp-quote p{font-size:13px;color:#64615c}.multipage-editor [data-message]{line-height:1.45;overflow-wrap:anywhere}.multipage-editor [hidden]{display:none!important}@media(max-width:760px){.mp-layout{grid-template-columns:1fr;gap:20px}.mp-preview{position:static}.mp-preview canvas{height:300px}.mp-form fieldset{padding:16px}}@media(max-width:380px){.mp-fields{grid-template-columns:1fr}}
.multipage-editor .mp-insert-row{padding:14px 0;margin-bottom:14px;border-bottom:1px solid #ded9d0}.multipage-editor .mp-insert-row:last-child{margin-bottom:18px}
.mp-approval{display:grid;gap:16px;margin-top:20px}.mp-approval a{color:#c60018;overflow-wrap:anywhere}.mp-approval label{display:flex;align-items:flex-start;gap:12px;font-weight:400;line-height:1.5}.mp-approval input[type=checkbox]{width:20px;min-width:20px;height:20px;margin:0;padding:0}.mp-approval p{font-size:14px;color:#64615c;line-height:1.5}
/* Standalone edition navigation, without touching editor or approval state. */
body:has(#edition-editor)>header{display:flex;flex-wrap:wrap;gap:12px 24px;align-items:center;padding:18px max(24px,calc((100vw - 1440px)/2));background:#fffdf8;border-bottom:1px solid #e7e2da}
body:has(#edition-editor)>header>a:not(:first-child){display:flex;align-items:center;justify-content:center;min-height:44px;padding:10px 16px;border:1px solid #e1dad0;border-radius:12px;font-size:14px}
@media(max-width:760px){body:has(#edition-editor)>header{display:grid;grid-template-columns:1fr 1fr;gap:8px 12px;padding:10px 16px}body:has(#edition-editor)>header>a:first-child{grid-column:1/-1;justify-self:start}body:has(#edition-editor)>header>a:first-child img{width:140px!important;max-width:140px!important}body:has(#edition-editor)>header>a:not(:first-child){font-size:14px}body:has(#edition-editor)>main{padding:20px 16px}}
.edition-reader-toolbar{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;gap:10px;margin:0 0 12px;text-align:center}
.edition-reader-toolbar button{min-width:44px;min-height:44px;margin:0;padding:8px}
.edition-reader-spread{display:flex;justify-content:center;align-items:flex-start;gap:2px;padding:12px;background:#e9e5dd;border-radius:12px;min-width:0}
.edition-reader-spread figure{margin:0;flex:0 1 50%;min-width:0;text-align:center}
.edition-reader-spread figure:only-child{flex-basis:80%}
.edition-reader-spread canvas{display:block;width:100%;height:auto;background:white;box-shadow:0 3px 14px #0002}
.edition-reader-spread figcaption{font-size:12px;margin-top:6px}
.edition-reader[hidden]{display:none!important}
.multipage-editor .mp-toolbar{flex-wrap:wrap}
.multipage-editor .mp-empty-preview{display:grid;place-content:center;gap:14px;min-height:300px;padding:30px;border:1px dashed #c8bfb0;border-radius:20px;background:#f4f0e8;text-align:center;line-height:1.5}
.multipage-editor .mp-empty-preview strong{font-size:22px}
.multipage-editor .mp-empty-preview span{font-size:15px;color:#64615c}
.edition-reader-guides .edition-draft-page{position:relative;outline:2px solid #c92735;outline-offset:0;background:white}
.edition-reader-guides .edition-draft-safe{position:absolute;border:1px dashed #168454;pointer-events:none}
.edition-reader-draft canvas{border-radius:0;touch-action:pan-y}
@media(max-width:500px){.edition-reader-spread{padding:6px}.edition-reader-spread figure:only-child{flex-basis:100%}.edition-reader-spread figcaption{font-size:11px}}
