/* Scoped PP Full Printing styles: no rules target outside plugin roots. */
/* PP printing storefront design system — central reusable styles */
.pp-sfp-page{--pp-sfp-ink:#202b3c;--pp-sfp-muted:#586678;--pp-sfp-accent:#2563eb;--pp-sfp-surface:#f5f8fc;--pp-sfp-line:#dfe6ee;color:var(--pp-sfp-ink);width:100%;font-family:inherit}
.pp-sfp-page *{box-sizing:border-box}
.pp-sfp-page .pp-sfp-container{width:min(1120px,100% - 40px);margin:0 auto;padding:0px 0 0px}
.pp-sfp-page .pp-sfp-hero{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(260px,.85fr);gap:40px;align-items:center;padding:42px;border:1px solid var(--pp-sfp-line);border-radius:18px;background:linear-gradient(120deg,#fff,var(--pp-sfp-surface))}
.pp-sfp-page .pp-sfp-eyebrow{margin:0 0 12px;color:var(--pp-sfp-accent);font-size:12px;font-weight:700;letter-spacing:.09em}
.pp-sfp-page .pp-sfp-heading{font-size:clamp(29px,4vw,44px);line-height:1.16;font-weight:700;margin:0 0 18px;color:var(--pp-sfp-ink)}
.pp-sfp-page .pp-sfp-lead{font-size:18px;line-height:1.6;margin:0 0 15px;color:var(--pp-sfp-ink)}
.pp-sfp-page .pp-sfp-description{font-size:15px;line-height:1.6;margin:0 0 8px;color:var(--pp-sfp-muted)}
.pp-sfp-page .pp-sfp-button, .pp-sfp-page a.pp-sfp-button{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:48px;padding:12px 25px;border-radius:9px;text-decoration:none;font-size:15px;font-weight:700;line-height:1.2;transition:background .15s ease,color .15s ease}
.pp-sfp-page .pp-sfp-button--primary, .pp-sfp-page a.pp-sfp-button--primary{background:var(--pp-sfp-accent);color:#fff}
.pp-sfp-page a.pp-sfp-button--primary:hover, .pp-sfp-page a.pp-sfp-button--primary:focus{background:#1d4ed8;color:#fff}
.pp-sfp-page .pp-sfp-button--secondary, .pp-sfp-page a.pp-sfp-button--secondary{border:1px solid var(--pp-sfp-line);background:#fff;color:var(--pp-sfp-ink)}
.pp-sfp-page a.pp-sfp-button--secondary:hover, .pp-sfp-page a.pp-sfp-button--secondary:focus{background:var(--pp-sfp-surface)}
.pp-sfp-page .pp-sfp-hero__illustration{height:285px;display:flex;align-items:center;justify-content:center;position:relative}
.pp-sfp-page .pp-sfp-paper{position:absolute;width:190px;height:245px;background:#fff;border:1px solid #d4ddeb;border-radius:7px;box-shadow:0 15px 30px #1c355a22}
.pp-sfp-page .pp-sfp-paper--back{transform:translate(29px,2px) rotate(11deg);background:linear-gradient(145deg,#dbeafe,#fff 50%)}
.pp-sfp-page .pp-sfp-paper--front{transform:translate(-16px,0) rotate(-7deg);padding:31px 20px}
.pp-sfp-page .pp-sfp-paper--front span{display:block;background:#dbe3ee;height:9px;border-radius:6px;margin:0 0 11px}
.pp-sfp-page .pp-sfp-paper--front span:nth-child(2){width:75%}.pp-sfp-page .pp-sfp-paper--front span:nth-child(3){width:86%}
.pp-sfp-page .pp-sfp-paper--front i{display:block;height:95px;margin-top:20px;border-radius:4px;background:linear-gradient(145deg,#b8d7fb 5%,#81bae9 50%,#79d5c8 50%,#ade9e0)}
.pp-sfp-page .pp-sfp-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:26px}
.pp-sfp-page .pp-sfp-step{padding:25px;border:1px solid var(--pp-sfp-line);border-radius:12px;background:#fff}
.pp-sfp-page .pp-sfp-step__number{display:inline-flex;justify-content:center;align-items:center;background:#e9f1ff;color:var(--pp-sfp-accent);width:32px;height:32px;border-radius:50%;font-weight:700}
.pp-sfp-page .pp-sfp-step h2{font-size:18px;line-height:1.3;margin:16px 0 9px;color:var(--pp-sfp-ink)}
.pp-sfp-page .pp-sfp-step p{font-size:14px;color:var(--pp-sfp-muted);margin:0;line-height:1.5}
.pp-sfp-page .pp-sfp-next{max-width:760px;margin:12px auto;padding:45px;border:1px solid var(--pp-sfp-line);border-radius:16px;background:#fff}
.pp-sfp-page .pp-sfp-next .pp-sfp-lead{margin-bottom:28px}
@media (max-width:740px){.pp-sfp-page .pp-sfp-container{padding:0px 0 0px;width:min(100% - 24px,1120px)}.pp-sfp-page .pp-sfp-hero{grid-template-columns:1fr;padding:24px;gap:12px}.pp-sfp-page .pp-sfp-hero__illustration{height:190px;transform:scale(.7)}.pp-sfp-page .pp-sfp-steps{grid-template-columns:1fr}.pp-sfp-page .pp-sfp-next{padding:26px}}
/* Reusable form controls and file-list components */
.pp-sfp-page .pp-sfp-next.pp-sfp-upload{max-width:960px}
.pp-sfp-page button.pp-sfp-button{border:0;cursor:pointer;font-family:inherit}
.pp-sfp-page button.pp-sfp-button:disabled{opacity:.5;cursor:not-allowed}
.pp-sfp-page .pp-sfp-upload__actions, .pp-sfp-page .pp-sfp-upload__footer{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap}
.pp-sfp-page .pp-sfp-choice{display:flex;gap:10px;align-items:flex-start;font-size:14px;line-height:1.5;cursor:pointer}
.pp-sfp-page .pp-sfp-choice input{margin-top:4px;accent-color:var(--pp-sfp-accent)}
.pp-sfp-page .pp-sfp-drop{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;text-align:center;border:2px dashed #acbfd6;background:var(--pp-sfp-surface);border-radius:12px;min-height:144px;margin:20px 0}
.pp-sfp-page .pp-sfp-drop>span{font-size:29px;color:var(--pp-sfp-accent)}
.pp-sfp-page .pp-sfp-drop small{color:var(--pp-sfp-muted)}
.pp-sfp-page .pp-sfp-drop--active{border-color:var(--pp-sfp-accent);background:#ebf3ff}
.pp-sfp-page .pp-sfp-upload-list-heading{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--pp-sfp-line);padding:10px 0;font-size:14px}
.pp-sfp-page .pp-sfp-upload-list{padding:0;margin:0;list-style:none}
.pp-sfp-page .pp-sfp-upload-row{padding:12px 0;display:flex;justify-content:space-between;align-items:center;gap:12px;border-bottom:1px solid var(--pp-sfp-line)}
.pp-sfp-page .pp-sfp-upload-list>.pp-sfp-upload-row:last-child{border-bottom:0}
.pp-sfp-page .pp-sfp-upload-row__name{min-width:0;overflow-wrap:anywhere;display:flex;flex-direction:column;gap:3px}
.pp-sfp-page .pp-sfp-upload-row__name small{color:var(--pp-sfp-muted)}
.pp-sfp-page .pp-sfp-upload-row__actions{display:flex;gap:5px;flex-shrink:0}
.pp-sfp-page .pp-sfp-icon-button{border:1px solid var(--pp-sfp-line);border-radius:6px;background:#fff;color:var(--pp-sfp-ink);font:inherit;cursor:pointer;width:33px;height:33px}
.pp-sfp-page .pp-sfp-icon-button:disabled{opacity:.35;cursor:not-allowed}
.pp-sfp-page .pp-sfp-hint{color:var(--pp-sfp-muted);font-size:13px;line-height:1.5;margin:12px 0}
.pp-sfp-page .pp-sfp-choice--copyright{border-top:1px solid var(--pp-sfp-line);padding-top:18px;margin-top:18px}
.pp-sfp-page .pp-sfp-upload__footer{margin-top:22px}
.pp-sfp-page .pp-sfp-notice{margin:15px 0;padding:12px 15px;border-radius:8px;background:#e8f2ff;color:#173d71;font-size:14px}
.pp-sfp-page .pp-sfp-notice--error{background:#fff0ed;color:#892b1e}
.pp-sfp-page .pp-sfp-notice[hidden]{display:none}

/* Shared compact file-list presentation — V0.2.9 */
.pp-sfp-page .pp-sfp-upload-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px;min-width:0}
.pp-sfp-page .pp-sfp-upload-row__name{min-width:0;max-width:100%;display:flex;flex-direction:column;gap:4px;overflow:hidden;overflow-wrap:normal}
.pp-sfp-page .pp-sfp-upload-row__filename{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;word-break:normal;overflow-wrap:normal;font-size:14px;line-height:1.5}
.pp-sfp-page .pp-sfp-upload-row__name small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;line-height:1.45}
.pp-sfp-page .pp-sfp-upload-row__actions{display:flex;flex:none;align-items:center;gap:6px}
.pp-sfp-page button.pp-sfp-icon-button{width:32px;height:32px;min-width:32px;min-height:32px;display:inline-flex;align-items:center;justify-content:center;padding:0;border:1px solid var(--pp-sfp-line);border-radius:7px;background:#fff;color:var(--pp-sfp-ink);box-shadow:none;cursor:pointer;line-height:1;transition:border-color .15s ease,background .15s ease,color .15s ease}
.pp-sfp-page button.pp-sfp-icon-button:hover:not(:disabled){background:var(--pp-sfp-surface);border-color:#a5b9d1;color:var(--pp-sfp-accent)}
.pp-sfp-page button.pp-sfp-icon-button:focus-visible{outline:2px solid var(--pp-sfp-accent);outline-offset:2px}
.pp-sfp-page button.pp-sfp-icon-button:disabled{opacity:.32;cursor:not-allowed;background:#f6f7f9;color:var(--pp-sfp-muted)}
.pp-sfp-page .pp-sfp-icon-button svg{display:block;pointer-events:none}
@media (max-width:480px){.pp-sfp-page .pp-sfp-upload-row{gap:8px}.pp-sfp-page .pp-sfp-upload-row__actions{gap:4px}.pp-sfp-page button.pp-sfp-icon-button{width:29px;height:29px;min-height:29px;min-width:29px}}

/* Shared Print Editor navigation components — V0.2.12 */
.pp-sfp-page [hidden]{display:none!important}
.pp-sfp-page .pp-sfp-next.pp-sfp-editor{max-width:960px}
.pp-sfp-page .pp-sfp-editor__tabs{display:flex;gap:6px;overflow-x:auto;flex-wrap:nowrap;border-bottom:1px solid var(--pp-sfp-line);padding:3px 1px 0}
.pp-sfp-page button.pp-sfp-editor__tab{min-width:110px;max-width:245px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:0 0 auto;padding:12px 16px;border:1px solid var(--pp-sfp-line);border-radius:9px 9px 0 0;background:var(--pp-sfp-surface);color:var(--pp-sfp-ink);font:600 13px/1.4 inherit;cursor:pointer}
.pp-sfp-page button.pp-sfp-editor__tab[aria-selected="true"]{background:#fff;border-bottom-color:#fff;color:var(--pp-sfp-accent);box-shadow:inset 0 3px 0 var(--pp-sfp-accent)}
.pp-sfp-page button.pp-sfp-editor__tab:focus-visible{outline:2px solid var(--pp-sfp-accent);outline-offset:2px}
.pp-sfp-page .pp-sfp-editor__panel{min-height:180px;border:1px solid var(--pp-sfp-line);border-top:0;border-radius:0 0 9px 9px;padding:22px;min-width:0}
.pp-sfp-page .pp-sfp-editor__panel h2{font-size:19px;overflow-wrap:anywhere;margin:0 0 8px}
.pp-sfp-page .pp-sfp-editor__panel p{font-size:14px;color:var(--pp-sfp-muted)}
.pp-sfp-page .pp-sfp-editor__files{list-style:none;margin:14px 0 0;padding:0}
.pp-sfp-page .pp-sfp-editor__files li{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-top:1px solid var(--pp-sfp-line);min-width:0}
.pp-sfp-page .pp-sfp-editor__files strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
.pp-sfp-page .pp-sfp-editor__files small{white-space:nowrap;color:var(--pp-sfp-muted)}

/* v0.2.13: editor previews, scoped to PP pages only. */
.pp-sfp-page .pp-sfp-editor__preview-heading{font-size:17px;margin:24px 0 10px}
.pp-sfp-page .pp-sfp-editor__preview{min-height:220px;border:1px solid var(--pp-sfp-line);border-radius:8px;background:var(--pp-sfp-surface);padding:12px;overflow:hidden}
.pp-sfp-page .pp-sfp-editor__pdf{display:block;width:100%;height:min(75vh,680px);min-height:380px;border:0;background:white}
.pp-sfp-page .pp-sfp-editor__image{display:block;max-width:100%;max-height:640px;width:auto;height:auto;object-fit:contain;margin:0 auto}
.pp-sfp-page .pp-sfp-editor__preview-choices{display:flex;gap:7px;flex-wrap:wrap;margin:10px 0}
.pp-sfp-page button.pp-sfp-editor__preview-choice{max-width:240px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:var(--pp-sfp-surface);border:1px solid var(--pp-sfp-line);border-radius:6px;padding:7px 11px;cursor:pointer;color:var(--pp-sfp-ink);font-size:13px}
.pp-sfp-page button.pp-sfp-editor__preview-choice[aria-pressed=true]{border-color:var(--pp-sfp-accent);box-shadow:0 0 0 1px var(--pp-sfp-accent)}
.pp-sfp-page .pp-sfp-editor__preview-note{margin:12px 0 0;font-size:13px}

.pp-sfp-page .pp-sfp-editor__page-count{font-weight:700;margin:.75rem 0;color:inherit}.pp-sfp-page .pp-sfp-editor__page-count--error{color:#b42318}

/* V0.2.15 print layout, entirely scoped to our plugin page */
.pp-sfp-page .pp-sfp-next.pp-sfp-editor{max-width:1180px}
.pp-sfp-page .pp-sfp-editor__panel{padding:0}
.pp-sfp-page .pp-sfp-editor__workspace{display:grid;grid-template-columns:minmax(215px,265px) minmax(0,1fr);min-height:580px}
.pp-sfp-page .pp-sfp-editor__sidebar{background:#f4f6fa;border-right:1px solid #d7dfeb;padding:18px 12px;min-width:0}
.pp-sfp-page .pp-sfp-editor__sidebar h2{font-size:17px;margin:0 0 14px}
.pp-sfp-page .pp-sfp-editor__sidebar details{border:1px solid #d8e2ef;background:white;margin-bottom:8px;border-radius:6px;overflow:hidden}
.pp-sfp-page .pp-sfp-editor__sidebar summary{background:#397cae;color:white;font-weight:650;padding:10px 12px;cursor:pointer;font-size:13px}
.pp-sfp-page .pp-sfp-editor__source-files{padding:8px}
.pp-sfp-page .pp-sfp-editor__source-row{display:flex;gap:7px;align-items:center;padding:8px 0;border-bottom:1px solid #e3e8f0;min-width:0}
.pp-sfp-page .pp-sfp-editor__source-order{display:flex;flex-direction:column;gap:5px}
.pp-sfp-page button.pp-sfp-editor__small-control{font-size:11px;padding:2px 4px;border:1px solid #b5c1ce;background:white;color:#334155;border-radius:3px;cursor:pointer}
.pp-sfp-page button.pp-sfp-editor__small-control:disabled{opacity:.35;cursor:default}
.pp-sfp-page .pp-sfp-editor__source-icon{display:grid;place-items:center;flex:0 0 43px;width:43px;height:55px;background:#fff;border:1px solid #aab6c8;color:#4A63A0;font-weight:700;font-size:9px}
.pp-sfp-page .pp-sfp-editor__source-detail{min-width:0;display:grid;gap:3px}
.pp-sfp-page .pp-sfp-editor__source-detail strong{font-size:12px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;display:block}
.pp-sfp-page .pp-sfp-editor__source-detail small{font-size:11px;color:#64748b}
.pp-sfp-page button.pp-sfp-editor__remove{border:0;background:none;padding:0;color:#b42318;text-align:left;font-size:11px;cursor:pointer}
.pp-sfp-page button.pp-sfp-editor__add-file{background:#4A63A0;color:white;border:0;border-radius:5px;padding:8px 15px;font-weight:600;width:100%;margin-bottom:12px;cursor:pointer}
.pp-sfp-page .pp-sfp-editor__option p{padding:0 10px}
.pp-sfp-page .pp-sfp-editor__main{padding:16px 25px 22px;min-width:0}
.pp-sfp-page .pp-sfp-editor__job-header{display:flex;flex-wrap:wrap;justify-content:space-between;gap:9px;border-bottom:1px solid #e4e8ef;padding-bottom:12px;font-size:13px}
.pp-sfp-page .pp-sfp-editor__job-header strong{overflow-wrap:anywhere}
.pp-sfp-page .pp-sfp-editor__paper-stage{display:flex;align-items:center;flex-direction:column;margin:22px auto 12px}
.pp-sfp-page .pp-sfp-editor__ruler-width{width:220px;display:flex;align-items:center;gap:8px;color:#677589;font-size:12px}
.pp-sfp-page .pp-sfp-editor__ruler-width:before,.pp-sfp-page .pp-sfp-editor__ruler-width:after{content:'';height:1px;background:#aeb7c5;flex:1}
.pp-sfp-page .pp-sfp-editor__paper-row{display:flex;gap:12px;align-items:center}
.pp-sfp-page .pp-sfp-editor__paper{width:220px;aspect-ratio:8.5 / 11;background:white;border:2px solid #cbd5e1;box-shadow:0 1px 8px #64748b2b;overflow:hidden;display:flex;justify-content:center;align-items:center;font-size:12px;color:#64748b}
.pp-sfp-page .pp-sfp-editor__ruler-height{height:285px;border-left:1px solid #aeb7c5;padding-left:7px;display:flex;align-items:center;font-size:12px;color:#677589}
.pp-sfp-page .pp-sfp-editor__pdf--page{width:100%;height:100%;border:0;display:block;background:white}
.pp-sfp-page .pp-sfp-editor__paper img{width:100%;height:100%;object-fit:contain}
.pp-sfp-page .pp-sfp-editor__navigator{display:flex;align-items:center;flex-direction:column;gap:9px;margin:24px auto 8px}
.pp-sfp-page .pp-sfp-editor__nav-controls{display:flex;align-items:center;gap:5px}
.pp-sfp-page button.pp-sfp-editor__control{font-size:12px;padding:4px 7px;background:#f1f5f9;color:#334155;border:1px solid #cbd5e1;border-radius:4px;cursor:pointer}
.pp-sfp-page button.pp-sfp-editor__control:disabled{opacity:.4}
.pp-sfp-page .pp-sfp-editor__page-slider{width:min(175px,34vw);accent-color:#4A63A0}
.pp-sfp-page .pp-sfp-editor__go-input{width:64px;padding:4px 6px;border:1px solid #cbd5e1;border-radius:4px}
.pp-sfp-page button.pp-sfp-editor__full-link{background:none;border:0;color:#4A63A0;text-decoration:underline;cursor:pointer;font-size:13px}
.pp-sfp-page button.pp-sfp-editor__full-link:disabled{opacity:.4;cursor:default}
.pp-sfp-page .pp-sfp-editor__disclaimer{font-size:12px!important;text-align:center;margin:20px 0 0}
.pp-sfp-page .pp-sfp-editor__modal{position:fixed;inset:0;background:#0f172ac7;z-index:999999;display:flex;align-items:center;justify-content:center;padding:20px}
.pp-sfp-page .pp-sfp-editor__modal-content{width:min(950px,95vw);height:min(850px,90vh);display:flex;flex-direction:column;background:white;border-radius:8px;padding:12px}
.pp-sfp-page .pp-sfp-editor__modal-close{align-self:flex-end;background:#4A63A0;color:white;padding:8px 13px;border:0;border-radius:5px;cursor:pointer;margin-bottom:8px}
.pp-sfp-page .pp-sfp-editor__modal-view{flex:1;min-height:0}
.pp-sfp-page .pp-sfp-editor__pdf--full{width:100%;height:100%;border:0}
@media(max-width:700px){.pp-sfp-page .pp-sfp-editor__workspace{grid-template-columns:1fr}.pp-sfp-page .pp-sfp-editor__sidebar{border-right:0;border-bottom:1px solid #d7dfeb}.pp-sfp-page .pp-sfp-editor__main{padding:16px 10px}}

.pp-sfp-page .pp-sfp-editor__thumbnail-pdf{width:100%;height:100%;border:0;pointer-events:none;display:block;background:white}
.pp-sfp-page .pp-sfp-editor__thumbnail-image{width:100%;height:100%;object-fit:contain}

/* V0.2.15.1: intentional single-page render and tidy source thumbnails. */
.pp-sfp-page .pp-sfp-editor__paper .pp-sfp-editor__rendered-page{display:block;width:100%;height:100%;object-fit:contain;object-position:center;background:white}
.pp-sfp-page .pp-sfp-editor__paper{line-height:1.4;text-align:center;padding:0}
.pp-sfp-page .pp-sfp-editor__source-icon{width:56px;flex-basis:56px;height:72px;border:1px solid #d4dae4;border-radius:4px;overflow:hidden;box-shadow:0 1px 3px #0f172a18;background:#f8fafc}
.pp-sfp-page .pp-sfp-editor__source-icon .pp-sfp-editor__thumbnail-image{width:100%;height:100%;object-fit:contain;object-position:center;display:block}
.pp-sfp-page .pp-sfp-editor__thumbnail-fallback{font-size:11px;letter-spacing:.5px;color:#52678c;background:#eef2fa;padding:6px;border-radius:3px}
.pp-sfp-page .pp-sfp-editor__nav-controls[hidden],.pp-sfp-page .pp-sfp-editor__go-line[hidden]{display:none!important}

/* V0.2.16: explicit whole-page boxes, independent thumbnails and fitted modal. */
.pp-sfp-page .pp-sfp-editor__paper{box-sizing:content-box;flex:none;width:220px;height:284.706px;aspect-ratio:auto;overflow:hidden;padding:0}
.pp-sfp-page .pp-sfp-editor__paper-row{max-width:100%;justify-content:center}
.pp-sfp-page .pp-sfp-editor__paper .pp-sfp-editor__page-canvas,
.pp-sfp-page .pp-sfp-editor__paper .pp-sfp-editor__rendered-page{display:block;flex:none;max-width:100%;max-height:100%;object-fit:contain;margin:0}
.pp-sfp-page .pp-sfp-editor__source-icon{flex:0 0 58px;width:58px;height:74px;overflow:hidden;line-height:1.2;text-align:center;font-weight:400;font-size:9px}
.pp-sfp-page .pp-sfp-editor__source-icon .pp-sfp-editor__page-canvas,
.pp-sfp-page .pp-sfp-editor__source-icon .pp-sfp-editor__rendered-page{display:block;max-width:100%;max-height:100%;object-fit:contain;margin:0}
.pp-sfp-page .pp-sfp-editor__source-detail{flex:1;overflow:hidden}
.pp-sfp-page .pp-sfp-editor__modal-toolbar{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;flex:none;padding-bottom:10px}
.pp-sfp-page .pp-sfp-editor__modal-close{margin:0 0 0 auto;align-self:center;font-family:inherit}
.pp-sfp-page .pp-sfp-editor__modal-view{display:flex;align-items:center;justify-content:center;min-width:0;min-height:0;overflow:hidden;background:#e9edf3}
.pp-sfp-page .pp-sfp-editor__modal-view .pp-sfp-editor__page-canvas,
.pp-sfp-page .pp-sfp-editor__modal-view .pp-sfp-editor__rendered-page{display:block;flex:none;max-width:100%;max-height:100%;object-fit:contain;margin:0;box-shadow:0 1px 6px #0f172a22;background:white}
.pp-sfp-page .pp-sfp-editor__modal-page{font-size:13px;white-space:nowrap}
@media(max-width:480px){.pp-sfp-page .pp-sfp-editor__modal{padding:8px}.pp-sfp-page .pp-sfp-editor__modal-content{width:100%;height:92vh;padding:8px}.pp-sfp-page .pp-sfp-editor__modal-toolbar{gap:6px}.pp-sfp-page .pp-sfp-editor__modal-close{margin-left:0}}

/* V0.2.17: Add Files uses the same isolated dialog shell and upload service. */
.pp-sfp-page .pp-sfp-editor__add-content{width:min(740px,95vw);height:auto;max-height:90vh;padding:0;overflow:hidden}
.pp-sfp-page .pp-sfp-editor__add-header{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:18px 22px;border-bottom:1px solid var(--pp-sfp-line);flex:none}
.pp-sfp-page .pp-sfp-editor__add-header h2{margin:0;font-size:21px;color:var(--pp-sfp-ink)}
.pp-sfp-page .pp-sfp-editor__add-body{padding:16px 22px;overflow-y:auto;min-height:0}
.pp-sfp-page .pp-sfp-editor__add-body .pp-sfp-choice{margin:16px 0}
.pp-sfp-page .pp-sfp-editor__add-body .pp-sfp-drop{min-height:100px;margin:16px 0}
.pp-sfp-page .pp-sfp-editor__add-body h3{font-size:16px;margin:18px 0 8px;color:var(--pp-sfp-ink)}
.pp-sfp-page .pp-sfp-editor__add-status{font-size:13px;white-space:pre-line;overflow-wrap:anywhere}
.pp-sfp-page .pp-sfp-editor__pending-files{list-style:none;margin:0;padding:0}
.pp-sfp-page .pp-sfp-editor__pending-row{display:grid;gap:4px;padding:12px 0;border-top:1px solid var(--pp-sfp-line);min-width:0}
.pp-sfp-page .pp-sfp-editor__pending-row strong{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pp-sfp-page .pp-sfp-editor__pending-row small{font-size:12px;color:var(--pp-sfp-muted)}
.pp-sfp-page .pp-sfp-editor__add-footer{padding:14px 22px;border-top:1px solid var(--pp-sfp-line);display:flex;justify-content:flex-end;flex:none}
@media(max-width:480px){.pp-sfp-page .pp-sfp-editor__add-content{max-height:94vh;height:auto}.pp-sfp-page .pp-sfp-editor__add-header,.pp-sfp-page .pp-sfp-editor__add-body,.pp-sfp-page .pp-sfp-editor__add-footer{padding-left:14px;padding-right:14px}}

/* Letter layout controls remain inside the printing interface. */
.pp-sfp-page .pp-sfp-editor__layout-field{display:flex;flex-direction:column;gap:5px;margin:12px 0;font-size:13px;font-weight:600}
.pp-sfp-page .pp-sfp-editor__layout-field select{width:100%;max-width:100%;padding:7px;border:1px solid #cbd5e1;border-radius:5px;background:#fff;color:#1e293b}

.pp-sfp-page .pp-sfp-editor__layout-field input{width:100%;max-width:100%;padding:7px;border:1px solid #cbd5e1;border-radius:5px;background:#fff;color:#1e293b}
.pp-sfp-page .pp-sfp-editor__range-status{font-size:12px;line-height:1.5}

/* Illustrative overlays do not alter uploaded file content. */
.pp-sfp-page .pp-sfp-editor__paper{position:relative}
.pp-sfp-page .pp-sfp-editor__paper::before,.pp-sfp-page .pp-sfp-editor__paper::after{content:"";position:absolute;inset:0;pointer-events:none;z-index:1;--guide:#dc2626}
.pp-sfp-page .pp-sfp-editor__paper::after{--guide:#2563eb}
.pp-sfp-page .pp-sfp-editor__paper[data-cut="half_h"]::before,.pp-sfp-page .pp-sfp-editor__paper[data-fold="half_h"]::after{background:linear-gradient(to bottom,transparent calc(50% - .5px),var(--guide) calc(50% - .5px),var(--guide) calc(50% + .5px),transparent calc(50% + .5px))}
.pp-sfp-page .pp-sfp-editor__paper[data-cut="half_v"]::before{background:linear-gradient(to right,transparent calc(50% - .5px),var(--guide) calc(50% - .5px),var(--guide) calc(50% + .5px),transparent calc(50% + .5px))}
.pp-sfp-page .pp-sfp-editor__paper[data-cut="thirds_h"]::before,.pp-sfp-page .pp-sfp-editor__paper[data-fold="thirds_h"]::after{background:linear-gradient(to bottom,transparent calc(33.333% - .5px),var(--guide) calc(33.333% - .5px),var(--guide) calc(33.333% + .5px),transparent calc(33.333% + .5px),transparent calc(66.667% - .5px),var(--guide) calc(66.667% - .5px),var(--guide) calc(66.667% + .5px),transparent calc(66.667% + .5px))}
.pp-sfp-page .pp-sfp-editor__paper[data-cut="thirds_v"]::before,.pp-sfp-page .pp-sfp-editor__paper[data-fold="thirds_v"]::after{background:linear-gradient(to right,transparent calc(33.333% - .5px),var(--guide) calc(33.333% - .5px),var(--guide) calc(33.333% + .5px),transparent calc(33.333% + .5px),transparent calc(66.667% - .5px),var(--guide) calc(66.667% - .5px),var(--guide) calc(66.667% + .5px),transparent calc(66.667% + .5px))}
.pp-sfp-page .pp-sfp-editor__paper[data-cut="quarters"]::before{background:linear-gradient(to right,transparent calc(50% - .5px),var(--guide) calc(50% - .5px),var(--guide) calc(50% + .5px),transparent calc(50% + .5px)),linear-gradient(to bottom,transparent calc(50% - .5px),var(--guide) calc(50% - .5px),var(--guide) calc(50% + .5px),transparent calc(50% + .5px))}
.pp-sfp-page .pp-sfp-editor__paper[data-fold="quarters_v"]::after{background:repeating-linear-gradient(to right,transparent 0,transparent calc(25% - .5px),var(--guide) calc(25% - .5px),var(--guide) 25%)}

.pp-sfp-page .pp-sfp-editor__layout-field textarea{width:100%;max-width:100%;padding:7px;border:1px solid #cbd5e1;border-radius:5px;background:#fff;color:#1e293b}
.pp-sfp-page .pp-sfp-editor__tab-list{padding-left:18px;font-size:12px}
.pp-sfp-page .pp-sfp-editor__tab-list li{margin:8px 0;overflow-wrap:anywhere}
.pp-sfp-page .pp-sfp-editor__tab-list button{display:block;margin-top:4px}

/* Scoped live editor pricing */
.pp-sfp-page .pp-sfp-editor__live-price{padding:14px;margin:14px 0;background:var(--pp-sfp-card-bg,#fff);border:1px solid #cbd5e1;border-radius:10px}
.pp-sfp-page .pp-sfp-editor__live-price h3{font-size:17px;margin:0 0 9px}
.pp-sfp-page .pp-sfp-editor__price-status{margin:5px 0 10px;color:#475569;font-size:13px}
.pp-sfp-page .pp-sfp-editor__price-line{display:flex;justify-content:space-between;gap:12px;padding:5px 0;border-bottom:1px solid #e2e8f0;font-size:13px}
.pp-sfp-page .pp-sfp-editor__price-total{display:block;text-align:right;font-size:20px;margin:12px 0;color:#132641}
.pp-sfp-page .pp-sfp-editor__live-price button{width:100%}
.pp-sfp-page .pp-sfp-editor__live-price button:disabled{opacity:.45;cursor:not-allowed}

/* V0.2.27 — individual print jobs in cart, exact reference pricing */
.pp-sfp-page button.pp-sfp-editor__tab--added{background:#edf7f2;border-color:#b4d6c4;color:#266349}
.pp-sfp-page .pp-sfp-editor__cart-locked{padding:12px;border-radius:8px;background:#f5f8fc;font-size:13px;color:#586678}
.pp-sfp-page .pp-sfp-editor__next-project-modal{z-index:100010}
.pp-sfp-page .pp-sfp-editor__next-project-content{max-width:480px;width:min(94vw,480px);height:auto;max-height:90vh;overflow-y:auto;padding:26px;text-align:left}
.pp-sfp-page .pp-sfp-editor__next-project-actions{display:flex;gap:10px;flex-wrap:wrap;margin:22px 0 12px}
.pp-sfp-page .pp-sfp-editor__next-project-actions .pp-sfp-button{flex:1 1 185px;white-space:normal}

/* V0.2.28 — additional independently configured versions of the same uploaded file. */
.pp-sfp-page .pp-sfp-editor__version-button { margin-left:auto; white-space:normal; text-align:center; }
.pp-sfp-page .pp-sfp-editor__another-version-link { align-self:center; margin:2px auto 0; }
.pp-sfp-page .pp-sfp-editor__remove-version {white-space:normal; text-align:center;}

/* V0.2.29 — visible, continuously updated exact-tooltip price in the actual editor */
.pp-sfp-page .pp-sfp-editor__header-price{display:inline-block;margin-left:auto;padding:7px 11px;border:1px solid #cbd5e1;border-radius:7px;background:#fff;color:#132641;font-size:15px;font-weight:700;white-space:nowrap}
.pp-sfp-page .pp-sfp-editor__sidebar .pp-sfp-editor__live-price{position:sticky;top:12px;z-index:10;margin:0 0 14px;padding:14px;background:#fff;box-shadow:0 2px 9px #15233418;border:1px solid #bbcbe2}
.pp-sfp-page .pp-sfp-editor__live-price--verified{border-color:#7ea6d4}
.pp-sfp-page .pp-sfp-editor__live-price h3{margin:0;font-size:14px;color:#34415a}
.pp-sfp-page .pp-sfp-editor__price-amount{display:block;font-weight:750;color:#152334;font-size:27px;line-height:1.3;margin:4px 0}
.pp-sfp-page .pp-sfp-editor__price-status{margin:4px 0 10px;line-height:1.45;overflow-wrap:anywhere}
.pp-sfp-page .pp-sfp-editor__sidebar .pp-sfp-editor__price-breakdown{margin:6px 0 10px;overflow:visible;background:transparent;border:0}
.pp-sfp-page .pp-sfp-editor__sidebar .pp-sfp-editor__price-breakdown summary{background:transparent;color:#4A63A0;padding:5px 0;font-size:12px;font-weight:600;text-decoration:underline}
.pp-sfp-page .pp-sfp-editor__price-breakdown[hidden]{display:none!important}
.pp-sfp-page .pp-sfp-editor__price-total{font-size:14px;margin:9px 0;text-align:right}
@media(max-width:700px){.pp-sfp-page .pp-sfp-editor__sidebar .pp-sfp-editor__live-price{top:4px}}

/* V0.2.41: document-style sidebar with document/quantity/price above the preview. */
.pp-sfp-page .pp-sfp-next.pp-sfp-editor{max-width:1120px;padding:0;border:0;background:#fff}
.pp-sfp-page .pp-sfp-editor__panel{padding:0;border:1px solid #d5dbe3;border-top:0;border-radius:0}
.pp-sfp-page .pp-sfp-editor__workspace{grid-template-columns:278px minmax(0,1fr);min-height:580px;align-items:start}
.pp-sfp-page .pp-sfp-editor__sidebar{padding:0;background:#ededed;border-right:1px solid #c8cdd5}
.pp-sfp-page .pp-sfp-editor__sidebar>h2{font-size:18px;margin:0;padding:14px 13px 0}
.pp-sfp-page .pp-sfp-editor__style-guide{font-size:14px;line-height:1.4;margin:0;padding:5px 13px 17px;color:#27323f}
.pp-sfp-page .pp-sfp-editor__sidebar details{margin:0;border:0;border-bottom:1px solid #fff;border-radius:0;background:#ededed}
.pp-sfp-page .pp-sfp-editor__sidebar summary{padding:15px 13px;background:#397cae;color:#fff;font-size:13px;font-weight:600;letter-spacing:.025em;line-height:1.3;text-transform:uppercase;list-style:none;display:flex;align-items:center;gap:10px}
.pp-sfp-page .pp-sfp-editor__sidebar summary::-webkit-details-marker{display:none}
.pp-sfp-page .pp-sfp-editor__sidebar summary::before{content:'+';width:22px;text-align:center;font-size:23px;line-height:1;flex:none}
.pp-sfp-page .pp-sfp-editor__sidebar details[open]>summary::before{content:'−'}
.pp-sfp-page .pp-sfp-editor__sidebar summary:focus-visible{outline:2px solid #193f78;outline-offset:-3px}
.pp-sfp-page .pp-sfp-editor__sidebar .pp-sfp-editor__layout-field{padding:0 12px;margin:15px 0;min-width:0;display:block;border:0}
.pp-sfp-page .pp-sfp-editor__sidebar fieldset.pp-sfp-editor__layout-field legend{padding:0;font-size:14px;font-weight:600;margin-bottom:7px}
.pp-sfp-page .pp-sfp-editor__radio{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:400;line-height:1.4;margin:6px 0;cursor:pointer}
.pp-sfp-page .pp-sfp-editor__radio input{margin:0;width:15px;height:15px;accent-color:#397cae}
.pp-sfp-page .pp-sfp-editor__range-choice{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:6px 12px}
.pp-sfp-page .pp-sfp-editor__range-choice>.pp-sfp-editor__radio{margin:0;flex:none}
.pp-sfp-page .pp-sfp-editor__range-fields{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.pp-sfp-page .pp-sfp-editor__range-fields[hidden]{display:none}
.pp-sfp-page .pp-sfp-editor__range-input{display:inline-flex;align-items:center;gap:5px;font-size:13px;line-height:1.4}
.pp-sfp-page .pp-sfp-editor__range-input input{width:62px;min-height:28px;border:1px solid #9da9b8;border-radius:2px;padding:3px 5px;background:#fff;color:#202b3c;font-size:13px}
.pp-sfp-page .pp-sfp-editor__range-input--specific input{width:136px}
.pp-sfp-page .pp-sfp-editor__main{padding:0 18px 24px;min-width:0}
.pp-sfp-page .pp-sfp-editor__job-header{display:grid;grid-template-columns:minmax(0,1fr) 118px minmax(180px,1.1fr);column-gap:18px;row-gap:4px;align-items:start;padding:14px 0 16px;border-bottom:1px dotted #c7cdd5}
.pp-sfp-page .pp-sfp-editor__job-header>strong{grid-column:1;grid-row:1;font-size:14px;overflow-wrap:anywhere}
.pp-sfp-page .pp-sfp-editor__job-header>.pp-sfp-editor__page-count{grid-column:1;grid-row:2;color:#586678;font-size:12px}
.pp-sfp-page .pp-sfp-editor__quantity{grid-column:2;grid-row:1 / span 3;display:grid;grid-template-columns:72px 1fr;align-items:center;gap:5px;font-size:14px;font-weight:600;margin:0}
.pp-sfp-page .pp-sfp-editor__quantity input{grid-column:1;grid-row:2;width:76px;min-height:30px;border:1px solid #9da9b8;border-radius:2px;padding:4px;font-size:14px;background:#fff;color:#202b3c}
.pp-sfp-page .pp-sfp-editor__quantity span{grid-column:2;grid-row:2;font-size:12px;font-weight:400}
.pp-sfp-page .pp-sfp-editor__job-header>.pp-sfp-editor__version-button,.pp-sfp-page .pp-sfp-editor__job-header>.pp-sfp-editor__remove-version{grid-column:1;justify-self:start;font-size:11px;padding:4px 0;background:none;border:0;text-align:left;color:#4a63a0}
.pp-sfp-page .pp-sfp-editor__job-header>.pp-sfp-editor__live-price{grid-column:3;grid-row:1 / span 5;position:static;inset:auto;margin:0;padding:0 0 0 16px;border:0;border-left:1px dotted #c7cdd5;border-radius:0;box-shadow:none;background:transparent;min-width:0}
.pp-sfp-page .pp-sfp-editor__live-price h3{display:none}
.pp-sfp-page .pp-sfp-editor__per-copy{display:block;font-size:12px;color:#334155;line-height:1.4}
.pp-sfp-page .pp-sfp-editor__price-amount{display:block;font-size:22px;line-height:1.2;margin:2px 0 5px;color:#202b3c}
.pp-sfp-page .pp-sfp-editor__price-status{font-size:12px;line-height:1.4;margin:5px 0 9px;color:#526174;overflow-wrap:anywhere}
.pp-sfp-page .pp-sfp-editor__price-breakdown{border:0;margin:7px 0;background:transparent;font-size:12px}
.pp-sfp-page .pp-sfp-editor__price-breakdown>summary{background:none;color:#4a63a0;text-decoration:underline;padding:2px 0;font-size:12px;cursor:pointer}
.pp-sfp-page .pp-sfp-editor__live-price button{width:100%;padding:9px 12px;border-radius:3px;font-size:13px}
.pp-sfp-page .pp-sfp-editor__paper-stage{margin-top:23px}
.pp-sfp-page .pp-sfp-editor__compatibility-hint{margin:12px 0;padding:10px 12px;border:1px solid #d2deeb;border-radius:4px;background:#edf4fb;color:#254266;font-size:13px;line-height:1.45}
.pp-sfp-page .pp-sfp-editor__compatibility-hint.pp-sfp-notice--error{background:#fff0ed;color:#892b1e;border-color:#e9bfb6}
.pp-sfp-page .pp-sfp-editor__conflict-help{display:block;font-size:11px;color:#7c3927;line-height:1.5;font-weight:400;margin-top:5px}
.pp-sfp-page .pp-sfp-editor__sidebar .pp-sfp-hint,.pp-sfp-page .pp-sfp-editor__sidebar .pp-sfp-editor__range-status{padding:0 12px;font-size:12px;line-height:1.5}
@media(max-width:800px){.pp-sfp-page .pp-sfp-editor__workspace{grid-template-columns:230px minmax(0,1fr)}.pp-sfp-page .pp-sfp-editor__job-header{grid-template-columns:minmax(0,1fr) 105px}.pp-sfp-page .pp-sfp-editor__job-header>.pp-sfp-editor__live-price{grid-column:1 / -1;grid-row:auto;border-left:0;border-top:1px dotted #c7cdd5;padding:10px 0 0;margin-top:6px}.pp-sfp-page .pp-sfp-editor__live-price button{width:auto;min-width:180px}}
@media(max-width:600px){.pp-sfp-page .pp-sfp-editor__workspace{grid-template-columns:1fr}.pp-sfp-page .pp-sfp-editor__main{grid-row:1;padding:0 12px 20px}.pp-sfp-page .pp-sfp-editor__sidebar{grid-row:2;border-right:0;border-top:1px solid #c8cdd5}.pp-sfp-page .pp-sfp-editor__job-header{column-gap:10px}.pp-sfp-page .pp-sfp-editor__live-price button{width:100%}}

/* V0.2.42: contain sidebar controls and reset theme/fieldset float behaviour. */
.pp-sfp-page .pp-sfp-editor__sidebar .pp-sfp-editor__layout-field{
 width:100%;max-width:100%;min-width:0;min-inline-size:0;box-sizing:border-box;
 float:none;clear:both;position:static;transform:none;
}
.pp-sfp-page .pp-sfp-editor__sidebar fieldset.pp-sfp-editor__layout-field{
 display:block;margin-inline:0;padding:0 12px 1px;
}
.pp-sfp-page .pp-sfp-editor__sidebar fieldset.pp-sfp-editor__layout-field>legend{
 display:block;float:none;clear:both;position:static;transform:none;
 width:100%;max-width:100%;margin:0 0 7px;padding:0;
 white-space:normal;overflow-wrap:anywhere;line-height:1.4;
}
.pp-sfp-page .pp-sfp-editor__sidebar .pp-sfp-editor__radio{
 display:flex;float:none;clear:both;position:static;transform:none;
 width:100%;max-width:100%;min-width:0;margin:6px 0;padding:0;
 align-items:flex-start;white-space:normal;overflow-wrap:anywhere;text-indent:0;
}
.pp-sfp-page .pp-sfp-editor__sidebar .pp-sfp-editor__radio>input[type=radio]{
 flex:0 0 15px;width:15px;min-width:15px;max-width:15px;height:15px;
 min-height:15px;padding:0;margin:2px 0 0;float:none;position:static;
 transform:none;
}
.pp-sfp-page .pp-sfp-editor__sidebar .pp-sfp-editor__layout-field>select,
.pp-sfp-page .pp-sfp-editor__sidebar .pp-sfp-editor__layout-field>input,
.pp-sfp-page .pp-sfp-editor__sidebar .pp-sfp-editor__layout-field>textarea{
 display:block;float:none;position:static;transform:none;box-sizing:border-box;
 width:100%;min-width:0;max-width:100%;margin-inline:0;
}
.pp-sfp-page .pp-sfp-editor__sidebar .pp-sfp-editor__layout-field>[hidden]{display:none!important}

/* V0.2.44: recovery actions remain separate from upload controls. */
.pp-sfp-page .pp-sfp-upload__recovery-actions{display:flex;gap:10px;flex-wrap:wrap;margin:12px 0}
.pp-sfp-page [data-pp-drop][aria-disabled=true]{opacity:.55;cursor:wait}


/* v0.2.52 — lightweight sequential batch progress and multi-file review. */
.pp-sfp-page .pp-sfp-upload__queue,.pp-sfp-page .pp-sfp-upload__loose{margin:12px 0;padding:12px 14px;border:1px solid #d4deea;border-radius:9px;background:#f9fbfe;display:flex;flex-direction:column;gap:9px;font-size:13px}
.pp-sfp-page .pp-sfp-upload__queue:empty,.pp-sfp-page .pp-sfp-upload__loose[hidden]{display:none}
.pp-sfp-page .pp-sfp-upload__queue progress{width:100%;height:12px;accent-color:#4a63a0}
.pp-sfp-page .pp-sfp-upload__retry-row,.pp-sfp-page .pp-sfp-upload__loose-row{display:flex;gap:10px;align-items:center;justify-content:space-between;flex-wrap:wrap;overflow-wrap:anywhere}
.pp-sfp-page .pp-sfp-upload__retry-row span,.pp-sfp-page .pp-sfp-upload__loose-row span{flex:1 1 190px;min-width:0}
.pp-sfp-page .pp-sfp-editor__batch-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:10px 0 16px;padding:12px;border-radius:9px;background:#f1f5fb}
.pp-sfp-page .pp-sfp-editor__batch-actions[hidden]{display:none}
.pp-sfp-page .pp-sfp-editor__batch-actions>span{flex:1 1 185px;font-size:13px;color:#44546d}
.pp-sfp-page .pp-sfp-editor__batch-content{max-width:690px;width:min(96vw,690px);max-height:88vh;overflow-y:auto}
.pp-sfp-page .pp-sfp-editor__batch-list{max-height:42vh;overflow:auto;border:1px solid #e2e8f0;border-radius:8px}
.pp-sfp-page .pp-sfp-editor__batch-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 12px;border-bottom:1px solid #e2e8f0;font-size:13px}
.pp-sfp-page .pp-sfp-editor__batch-row:last-child{border-bottom:0}
.pp-sfp-page .pp-sfp-editor__batch-row span{min-width:0;overflow-wrap:anywhere}
.pp-sfp-page .pp-sfp-editor__batch-row strong{text-align:right;flex:none}
.pp-sfp-page .pp-sfp-editor__batch-total{display:block;text-align:right;padding:12px 0}
@media(max-width:640px){.pp-sfp-page .pp-sfp-editor__batch-actions .pp-sfp-button{flex:1 1 100%}.pp-sfp-page .pp-sfp-editor__batch-content{padding:16px}.pp-sfp-page .pp-sfp-editor__batch-row{align-items:flex-start;flex-direction:column;gap:3px}.pp-sfp-page .pp-sfp-editor__batch-row strong{text-align:left}}

.pp-sfp-page .pp-sfp-editor__job-selector{display:flex;align-items:center;gap:12px;flex-wrap:wrap;font-size:13px;font-weight:600;width:100%}
.pp-sfp-page .pp-sfp-editor__job-selector select{flex:1 1 280px;min-width:0;padding:9px 11px;border:1px solid #b6c3d3;border-radius:8px;background:#fff;color:#24354e;max-width:100%}

/* v0.2.61: cart actions remain readable within the existing price column. */
.pp-sfp-page .pp-sfp-editor__cart-actions{display:grid;gap:8px;margin-top:8px;min-width:0}
.pp-sfp-page .pp-sfp-editor__cart-actions button{min-width:0;white-space:normal}

/* v0.2.62: existing-file actions wrap on narrow screens. */
.pp-sfp-page .pp-sfp-upload__loose-row{flex-wrap:wrap;gap:8px}
.pp-sfp-page .pp-sfp-upload__loose-row>span{flex:1 1 180px;overflow-wrap:anywhere;min-width:0}
.pp-sfp-page .pp-sfp-editor__existing-files{border-top:1px solid #cbd5e1;margin-top:18px;padding-top:14px}
.pp-sfp-page .pp-sfp-editor__existing-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:8px 0}
.pp-sfp-page .pp-sfp-editor__existing-row>span{flex:1 1 180px;min-width:0;overflow-wrap:anywhere}

/* v0.2.63: lightweight editor motion, without delaying interaction. */
@keyframes pp-sfp-panel-enter{from{opacity:0;transform:translateY(-3px)}to{opacity:1;transform:translateY(0)}}
@keyframes pp-sfp-dialog-enter{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
.pp-sfp-page [data-pp-editor] button,
.pp-sfp-page [data-pp-editor] summary{transition:background-color .15s ease,color .15s ease,border-color .15s ease,box-shadow .15s ease}
.pp-sfp-page .pp-sfp-editor__sidebar details[open]>:not(summary){animation:pp-sfp-panel-enter .14s ease-out}
.pp-sfp-page .pp-sfp-editor__modal{animation:pp-sfp-panel-enter .12s ease-out}
.pp-sfp-page .pp-sfp-editor__modal-content{animation:pp-sfp-dialog-enter .16s ease-out}
.pp-sfp-page [data-pp-editor] button:not(:disabled):active{filter:brightness(.96)}
@media(prefers-reduced-motion:reduce){
 .pp-sfp-page [data-pp-editor] *,
 .pp-sfp-page .pp-sfp-editor__modal,
 .pp-sfp-page .pp-sfp-editor__modal *{animation:none!important;transition:none!important;scroll-behavior:auto!important}
}
/* v0.2.68 — Divider editing and complete editor motion states. */
.pp-sfp-page .pp-sfp-editor__section-body{min-width:0}
.pp-sfp-page .pp-sfp-editor__tab-row{list-style:none;margin:10px 0;padding:10px;border:1px solid #cad3df;border-radius:5px;overflow-wrap:anywhere}
.pp-sfp-page .pp-sfp-editor__tab-list{margin:0;padding:0}
.pp-sfp-page .pp-sfp-editor__tab-preview{border-top:1px solid #ccd4dd;padding-top:14px;margin-top:16px;text-align:center}
.pp-sfp-page .pp-sfp-editor__tab-preview[hidden]{display:none}
.pp-sfp-page .pp-sfp-editor__tab-preview h3{font-size:14px}
.pp-sfp-page .pp-sfp-editor__divider-card{position:relative;width:170px;height:220px;max-width:70%;margin:14px auto;background:#fffed9;border:1px solid #b9ba9f;box-shadow:0 2px 5px #00000012}
.pp-sfp-page .pp-sfp-editor__divider-label{position:absolute;left:100%;top:calc(4% + var(--pp-tab-slot)*18%);width:56px;min-height:36px;max-height:20%;overflow:hidden;padding:3px;background:#fffed9;border:1px solid #b9ba9f;border-left:0;border-radius:0 5px 5px 0;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.1}
.pp-sfp-page .pp-sfp-editor__divider-label--rotated{writing-mode:vertical-rl;min-height:40px;width:35px}
.pp-sfp-page [data-pp-editor] button:focus-visible,.pp-sfp-page .pp-sfp-editor__modal button:focus-visible{outline:2px solid #193f78;outline-offset:2px}
.pp-sfp-page .pp-sfp-editor__source-icon{transition:opacity .15s ease}
.pp-sfp-page [data-pp-upload][aria-busy="true"] [data-pp-select]{cursor:progress}
@media(max-width:600px){.pp-sfp-page .pp-sfp-editor__divider-card{margin-left:calc(50% - 105px)}}
@media(prefers-reduced-motion:reduce){.pp-sfp-page .pp-sfp-editor__source-icon{transition:none!important}}

@keyframes pp-sfp-wait-turn{to{transform:rotate(360deg)}}
.pp-sfp-page [data-pp-editor][aria-busy="true"] .pp-sfp-editor__price-status::before{content:'';display:inline-block;width:11px;height:11px;margin-right:6px;border:2px solid #cbd5e1;border-top-color:currentColor;border-radius:50%;animation:pp-sfp-wait-turn .75s linear infinite;vertical-align:middle}
@media(prefers-reduced-motion:reduce){.pp-sfp-page [data-pp-editor][aria-busy="true"] .pp-sfp-editor__price-status::before{animation:none!important}}

/* v69: supplier-style divider rows; keep advanced placement secondary. */
.pp-sfp-page .pp-sfp-editor__tab-inline{display:grid;grid-template-columns:minmax(0,1fr) 65px 30px;gap:6px;align-items:end}
.pp-sfp-page .pp-sfp-editor__tab-inline label{min-width:0;font-size:12px;margin:0}
.pp-sfp-page .pp-sfp-editor__tab-inline input,.pp-sfp-page .pp-sfp-editor__tab-inline select{box-sizing:border-box;width:100%;min-width:0;margin:3px 0 0;padding:6px;font-size:12px;min-height:34px}
.pp-sfp-page .pp-sfp-editor__tab-inline button{font-size:0;min-height:34px;width:30px;padding:0;margin:0}
.pp-sfp-page .pp-sfp-editor__tab-inline button::after{content:'×';font-size:21px}
.pp-sfp-page .pp-sfp-editor__tab-location{font-size:11px;color:#555}
.pp-sfp-page .pp-sfp-editor__tab-buttons{display:flex;flex-direction:column;gap:10px;align-items:center;margin:12px 0}
.pp-sfp-page .pp-sfp-editor__tab-buttons>.pp-sfp-button{display:block;width:150px;max-width:100%;min-height:36px;margin:0;padding:7px 12px;font-size:13px}
.pp-sfp-page .pp-sfp-editor__tab-buttons>[hidden],.pp-sfp-page .pp-sfp-editor__tab-list[hidden]{display:none}
.pp-sfp-page .pp-sfp-editor__tab-row{padding:7px;margin:8px 0}

.pp-sfp-page .pp-sfp-editor__full-tab-label{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;margin:8px auto;max-width:320px}

/* v70: all divider edges share the main preview, as in the supplier editor. */
.pp-sfp-page .pp-sfp-editor__paper-stage--tabs>.pp-sfp-editor__paper-row,
.pp-sfp-page .pp-sfp-editor__paper-stage--tabs>.pp-sfp-editor__ruler-width{display:none}
.pp-sfp-page .pp-sfp-editor__paper-stage>.pp-sfp-editor__tab-preview{position:relative;border:0;margin:0;padding:0 30px;text-align:center}
.pp-sfp-page .pp-sfp-editor__divider-stack{container-type:inline-size;position:relative;width:min(220px,70%);aspect-ratio:8.5/11;margin:18px auto 12px;background:#fff;isolation:isolate}
.pp-sfp-page .pp-sfp-editor__divider-layer{position:absolute;inset:0;background:#ffffcc;border:1px solid #bbb;pointer-events:none;transform:translate(calc(var(--pp-tab-layer)*1px),calc(var(--pp-tab-layer)*1px))}
.pp-sfp-page .pp-sfp-editor__divider-layer:not(:first-child){background:transparent;border:0}
.pp-sfp-page button.pp-sfp-editor__divider-edge{position:absolute;left:calc(100% - 1px);top:calc(2% + var(--pp-tab-slot)*19%);font-size:calc(var(--pp-tab-point-size,12)*220px / 612);width:23px;height:18%;min-height:0;padding:1px;margin:0;border:1px solid #bbb;border-left:0;border-radius:0 6px 6px 0;background:#ffffcc;color:#222;white-space:pre-wrap;overflow:hidden;overflow-wrap:anywhere;line-height:1.05;box-shadow:none;pointer-events:auto;cursor:pointer;text-transform:none;letter-spacing:normal}
.pp-sfp-page button.pp-sfp-editor__divider-edge--rotated{writing-mode:vertical-rl}
.pp-sfp-page .pp-sfp-editor__divider-layer--selected>.pp-sfp-editor__divider-edge{background:#ffffcc}
.pp-sfp-page .pp-sfp-editor__stack-width,.pp-sfp-page .pp-sfp-editor__stack-height{font-size:11px;color:#777}
.pp-sfp-page .pp-sfp-editor__stack-height{position:absolute;left:calc(50% + 145px);top:135px}
.pp-sfp-page .pp-sfp-editor__stack-caption{font-size:12px;margin:6px 0}
.pp-sfp-page .pp-sfp-editor__sidebar .pp-sfp-editor__tab-row{position:relative;list-style:none;padding:0;margin:4px 0;border:0;background:none;border-radius:0}
.pp-sfp-page .pp-sfp-editor__tab-row>.pp-sfp-editor__tab-location{display:none}
.pp-sfp-page .pp-sfp-editor__tab-column-headings{display:grid;grid-template-columns:minmax(0,1fr) 54px 22px;gap:4px;list-style:none;margin:8px 0 0;padding:0;font-size:12px}
.pp-sfp-page .pp-sfp-editor__tab-inline{grid-template-columns:minmax(0,1fr) 54px 22px;gap:4px}
.pp-sfp-page .pp-sfp-editor__tab-inline label{font-size:0}
.pp-sfp-page .pp-sfp-editor__tab-inline input,.pp-sfp-page .pp-sfp-editor__tab-inline select{font-size:12px;min-height:28px;padding:3px;margin:0}
.pp-sfp-page .pp-sfp-editor__tab-inline>button{min-height:28px;width:22px}
@media(max-width:600px){.pp-sfp-page .pp-sfp-editor__stack-height{left:auto;right:3px}.pp-sfp-page .pp-sfp-editor__tab-inline input,.pp-sfp-page .pp-sfp-editor__tab-inline select,.pp-sfp-page .pp-sfp-editor__tab-inline>button{min-height:36px}}
/* v71 — artwork-backed paper and finishing previews. */
.pp-sfp-page .pp-sfp-sheet{position:relative;isolation:isolate;flex:none;transition:box-shadow .18s ease;background:var(--pp-stock-colour,#fff)}
.pp-sfp-page .pp-sfp-sheet>.pp-sfp-editor__paper{margin:0;transition:background-color .18s ease;isolation:isolate}
.pp-sfp-page .pp-sfp-sheet>.pp-sfp-editor__paper::before,.pp-sfp-page .pp-sfp-sheet>.pp-sfp-editor__paper::after{display:none}
.pp-sfp-page .pp-sfp-sheet .pp-sfp-editor__paper>canvas,.pp-sfp-page .pp-sfp-sheet .pp-sfp-editor__paper>img{mix-blend-mode:multiply;filter:var(--pp-artwork-filter,none)}
.pp-sfp-page .pp-sfp-sheet__effects{position:absolute;inset:0;pointer-events:none;z-index:3}
.pp-sfp-page .pp-sfp-sheet__finish{position:absolute;display:block;pointer-events:none;animation:pp-sfp-finish-in .22s ease-out both}
.pp-sfp-page .pp-sfp-sheet__finish--staple{width:15px;height:5px;z-index:5;animation:none}
.pp-sfp-page .pp-sfp-sheet__finish--staple::before,.pp-sfp-page .pp-sfp-sheet__finish--staple::after{content:'';position:absolute;inset:1px 0;border-top:1.5px solid #687078;border-bottom:1px solid #d4d8dc;border-radius:2px;box-shadow:0 1px 1px #0004}
.pp-sfp-page .pp-sfp-sheet__finish--staple[data-placement=corner_portrait]{top:3%;left:3%;transform:rotate(-42deg)}
.pp-sfp-page .pp-sfp-sheet[data-orientation=landscape] .pp-sfp-sheet__finish--staple[data-placement=corner_portrait]{left:auto;right:3%;transform:rotate(42deg)}
.pp-sfp-page .pp-sfp-sheet__finish--staple[data-placement=corner_landscape]{top:3%;left:3%;transform:rotate(-42deg)}
.pp-sfp-page .pp-sfp-sheet[data-orientation=landscape] .pp-sfp-sheet__finish--staple[data-placement=corner_landscape]{left:3%;right:auto;transform:rotate(-42deg)}
.pp-sfp-page .pp-sfp-sheet__finish--staple[data-placement=twice_left]{top:28%;left:1%;height:44%;width:7px}
.pp-sfp-page .pp-sfp-sheet__finish--staple[data-placement=twice_left]::before{top:0;left:0;right:auto;width:15px;height:5px;transform:rotate(-42deg)}
.pp-sfp-page .pp-sfp-sheet__finish--staple[data-placement=twice_left]::after{top:auto;bottom:0;left:0;right:auto;width:15px;height:5px;transform:rotate(-42deg)}
.pp-sfp-page .pp-sfp-sheet[data-orientation=landscape] .pp-sfp-sheet__finish--staple[data-placement=twice_left]{top:1%;left:28%;height:7px;width:44%}
.pp-sfp-page .pp-sfp-sheet[data-orientation=landscape] .pp-sfp-sheet__finish--staple[data-placement=twice_left]::before{top:0;left:0;width:15px;height:5px;transform:rotate(42deg)}
.pp-sfp-page .pp-sfp-sheet[data-orientation=landscape] .pp-sfp-sheet__finish--staple[data-placement=twice_left]::after{top:0;left:auto;right:0;width:15px;height:5px;transform:rotate(42deg)}
.pp-sfp-page .pp-sfp-sheet__finish--staple[data-placement=saddle]{top:50%;left:50%;height:18px;width:7px;transform:translate(-50%,-50%)}
.pp-sfp-page .pp-sfp-sheet__finish--staple[data-placement=saddle]::before{top:0;left:0;right:auto;width:15px;height:5px;transform:rotate(-42deg)}
.pp-sfp-page .pp-sfp-sheet__finish--staple[data-placement=saddle]::after{top:auto;bottom:0;left:0;right:auto;width:15px;height:5px;transform:rotate(-42deg)}
.pp-sfp-page .pp-sfp-sheet__finish--binding{left:-5px;top:0;bottom:0;width:7px;z-index:4;border-right:1px solid #4448;box-shadow:1px 0 2px #0003;animation:none}
.pp-sfp-page .pp-sfp-sheet__finish--binding[data-kind^=coil_]{background:repeating-linear-gradient(135deg,#292d33 0 1.4px,transparent 1.4px 3.2px,#73777d 3.2px 3.8px,transparent 3.8px 5.6px),linear-gradient(to right,#aeb2b8,#32363c 38%,#eceef0 51%,#42464c);background-size:7px 7px,100% 100%;animation:none}
.pp-sfp-page .pp-sfp-sheet__finish--binding[data-kind=coil_clear]{opacity:.58}
.pp-sfp-page .pp-sfp-sheet__finish--binding[data-kind^=comb_]{background:repeating-linear-gradient(to bottom,#30343a 0 6px,transparent 6px 10px);border-right:0;width:12px}
.pp-sfp-page .pp-sfp-sheet__finish--binding[data-kind=comb_blue]{background:repeating-linear-gradient(to bottom,#31558a 0 6px,transparent 6px 10px)}
.pp-sfp-page .pp-sfp-sheet__finish--binding[data-kind^=wireless_]{background:#34383e;width:5px;box-shadow:1px 0 2px #0004}
.pp-sfp-page .pp-sfp-sheet__finish--binding[data-kind=wireless_blue]{background:#1f376a}
.pp-sfp-page .pp-sfp-sheet__finish--binding.pp-sfp-sheet__finish--binding-spread{left:-5px;right:auto;top:0;bottom:0;width:6px;height:auto;z-index:5;border:0;box-shadow:0 0 2px #0004}
.pp-sfp-page .pp-sfp-sheet__finish--binding[data-kind^=comb_].pp-sfp-sheet__finish--binding-spread{left:-8px;right:auto;width:12px;border:0}
.pp-sfp-page .pp-sfp-sheet__finish--binding[data-kind^=wireless_].pp-sfp-sheet__finish--binding-spread{left:-5px;right:auto;width:6px;border:0}
.pp-sfp-page .pp-sfp-sheet__finish--binding[data-kind=saddle]{left:50%;right:auto;top:0;bottom:0;width:0;border:0;box-shadow:none}
.pp-sfp-page .pp-sfp-sheet__finish--binding[data-kind=saddle].pp-sfp-sheet__finish--binding-spread{left:-2px;right:auto;width:0}
.pp-sfp-page .pp-sfp-sheet__finish--binding[data-kind=saddle]::before,.pp-sfp-page .pp-sfp-sheet__finish--binding[data-kind=saddle]::after{content:'';position:absolute;left:-7px;width:14px;height:4px;border-top:1px solid #687078;border-bottom:1px solid #d4d8dc;transform:rotate(-42deg)}
.pp-sfp-page .pp-sfp-sheet__finish--binding[data-kind=saddle]::before{top:28%}
.pp-sfp-page .pp-sfp-sheet__finish--binding[data-kind=saddle]::after{top:68%}
.pp-sfp-page .pp-sfp-sheet[data-orientation=landscape] .pp-sfp-sheet__finish--binding{left:0;right:0;top:-5px;bottom:auto;width:auto;height:7px;border:0;border-bottom:1px solid #4448;box-shadow:0 1px 2px #0003}
.pp-sfp-page .pp-sfp-sheet[data-orientation=landscape] .pp-sfp-sheet__finish--binding[data-kind^=coil_]{background:repeating-linear-gradient(135deg,#292d33 0 1.4px,transparent 1.4px 3.2px,#73777d 3.2px 3.8px,transparent 3.8px 5.6px),linear-gradient(to bottom,#aeb2b8,#32363c 38%,#eceef0 51%,#42464c);background-size:7px 7px,100% 100%}
.pp-sfp-page .pp-sfp-sheet[data-orientation=landscape] .pp-sfp-sheet__finish--binding[data-kind^=comb_]{background:repeating-linear-gradient(to right,#30343a 0 6px,transparent 6px 10px)}
.pp-sfp-page .pp-sfp-sheet[data-orientation=landscape] .pp-sfp-sheet__finish--binding[data-kind=comb_blue]{background:repeating-linear-gradient(to right,#31558a 0 6px,transparent 6px 10px)}
.pp-sfp-page .pp-sfp-sheet[data-orientation=landscape] .pp-sfp-sheet__finish--binding[data-kind=saddle]{left:0;right:0;top:50%;bottom:auto;width:auto;height:0}
.pp-sfp-page .pp-sfp-sheet[data-orientation=landscape] .pp-sfp-sheet__finish--binding[data-kind=saddle]::before,.pp-sfp-page .pp-sfp-sheet[data-orientation=landscape] .pp-sfp-sheet__finish--binding[data-kind=saddle]::after{top:-2px;left:28%;transform:rotate(42deg)}
.pp-sfp-page .pp-sfp-sheet[data-orientation=landscape] .pp-sfp-sheet__finish--binding[data-kind=saddle]::after{left:68%}
/* The reverse of a duplex sheet flips the bound edge. */
.pp-sfp-page .pp-sfp-sheet[data-preview-blank-back] .pp-sfp-sheet__finish--binding:not([data-kind=saddle]){left:auto;right:-5px;border-right:0;border-left:1px solid #4448;box-shadow:-1px 0 2px #0003}
.pp-sfp-page .pp-sfp-sheet[data-preview-blank-back] .pp-sfp-sheet__finish--binding[data-kind^=comb_]{width:12px;border-left:0}
.pp-sfp-page .pp-sfp-sheet[data-orientation=landscape][data-preview-blank-back] .pp-sfp-sheet__finish--binding:not([data-kind=saddle]){left:0;right:0;top:auto;bottom:-5px;width:auto;height:7px;border:0;border-top:1px solid #4448;box-shadow:0 -1px 2px #0003}
/* A portrait tab reverse turns the bound edge over to the outside right edge. */
.pp-sfp-page .pp-sfp-sheet[data-orientation=portrait][data-divider-side=back] .pp-sfp-sheet__finish--binding:not([data-kind=saddle]){left:auto;right:-5px;border-right:0;border-left:1px solid #4448;box-shadow:-1px 0 2px #0003}
.pp-sfp-page .pp-sfp-sheet[data-orientation=portrait][data-divider-side=back] .pp-sfp-sheet__finish--binding[data-kind^=comb_]{width:12px;border-left:0}
@keyframes pp-sfp-finish-in{from{opacity:0;filter:blur(1px)}to{opacity:1;filter:blur(0)}}
.pp-sfp-page .pp-sfp-sheet__guide{position:absolute;display:block;border:0;animation:pp-sfp-guide-in .14s ease-out both}
.pp-sfp-page .pp-sfp-sheet__guide--h{left:0;right:0;top:var(--pp-guide-position);border-top:1px solid #7b7b7b}
.pp-sfp-page .pp-sfp-sheet__guide--v{top:0;bottom:0;left:var(--pp-guide-position);border-left:1px solid #7b7b7b}
.pp-sfp-page .pp-sfp-sheet__guide--cut{border-style:dotted;border-color:#444}
.pp-sfp-page .pp-sfp-sheet__guide--fold{box-shadow:0 1px 2px #0002}
.pp-sfp-page .pp-sfp-sheet__hole{position:absolute;width:var(--pp-hole-diameter,2.777778%);aspect-ratio:1;transform:translate(-50%,-50%);border-radius:50%;background:#111;box-shadow:none;animation:pp-sfp-guide-in .14s ease-out both}
/* Match the supplier's simple mounting edge; lamination has no invented gloss overlay. */
.pp-sfp-page .pp-sfp-sheet[data-mount=letter]{box-shadow:3px 0 #888,0 3px #888,3px 3px #888}
.pp-sfp-page .pp-sfp-sheet[data-carbonless="2"]::before,.pp-sfp-page .pp-sfp-sheet[data-carbonless="3"]::before{content:'';position:absolute;left:0;right:0;top:100%;height:2.083333%;background:linear-gradient(to bottom,#d2d2a8 0 20%,#f0f0c0 20% 40%,#ffc 40% 100%);box-shadow:0 1px #0003,0 2px #0001;box-sizing:border-box;pointer-events:none}
.pp-sfp-page .pp-sfp-sheet[data-carbonless="3"]::before{height:4.166667%;background:linear-gradient(to bottom,#d2d2a8 0 10%,#f0f0c0 10% 20%,#ffc 20% 50%,#d2a8d2 50% 60%,#f0c0f0 60% 70%,#fcf 70% 100%)}
.pp-sfp-page .pp-sfp-sheet[data-orientation=landscape][data-carbonless="2"]::before,.pp-sfp-page .pp-sfp-sheet[data-orientation=landscape][data-carbonless="3"]::before{left:auto;right:100%;top:0;bottom:0;width:2.083333%;height:auto;background:linear-gradient(to right,#ffc 0 60%,#f0f0c0 60% 80%,#d2d2a8 80% 100%);box-shadow:-1px 0 #0003,-2px 0 #0001}
.pp-sfp-page .pp-sfp-sheet[data-orientation=landscape][data-carbonless="3"]::before{width:4.166667%;background:linear-gradient(to right,#fcf 0 30%,#f0c0f0 30% 40%,#d2a8d2 40% 50%,#ffc 50% 80%,#f0f0c0 80% 90%,#d2d2a8 90% 100%)}
.pp-sfp-page .pp-sfp-fold-demo{padding:12px 20px;text-align:center;margin:12px auto;max-width:420px;width:100%;box-sizing:border-box}
.pp-sfp-page .pp-sfp-fold-demo h3{font-size:14px;margin:0 0 8px}
.pp-sfp-page .pp-sfp-fold-demo__scene{position:relative;perspective:850px;width:min(250px,90%);aspect-ratio:8.5/11;margin:15px auto 20px}
.pp-sfp-page .pp-sfp-fold-demo__scene[data-orientation=landscape]{aspect-ratio:11/8.5}
.pp-sfp-page .pp-sfp-fold-demo__sheet{position:absolute;inset:0;transform:rotateX(16deg);transform-style:preserve-3d}
.pp-sfp-page .pp-sfp-fold-demo__piece{position:absolute;width:100%;height:100%;border:1px solid #aaa;box-sizing:border-box;transform-style:preserve-3d;transition:transform 1s ease;box-shadow:0 1px 3px #0002}
.pp-sfp-page .pp-sfp-fold-demo__piece::before{content:'';position:absolute;inset:0;background-image:var(--pp-fold-artwork);background-size:var(--pp-artwork-size);background-position:var(--pp-artwork-position);mix-blend-mode:multiply;filter:var(--pp-artwork-filter,none);pointer-events:none;backface-visibility:hidden}
.pp-sfp-page .pp-sfp-fold-demo__piece::after{content:'';position:absolute;inset:0;background:var(--pp-stock-colour,#fff);transform:rotateX(180deg);backface-visibility:hidden;pointer-events:none}
.pp-sfp-page .pp-sfp-fold-demo__sheet>.pp-sfp-fold-demo__piece{top:calc(100% / var(--pp-fold-count));height:calc(100% / var(--pp-fold-count))}
.pp-sfp-page .pp-sfp-fold-demo__piece--0{top:-100%;transform-origin:bottom center}
.pp-sfp-page .pp-sfp-fold-demo__piece--2,.pp-sfp-page .pp-sfp-fold-demo__piece--3{top:100%;transform-origin:top center}
.pp-sfp-page .pp-sfp-fold-demo--folded .pp-sfp-fold-demo__piece--0{transform:rotateX(calc(-178deg * var(--pp-fold-direction)));transition-delay:0s}
.pp-sfp-page .pp-sfp-fold-demo--folded .pp-sfp-fold-demo__piece--2{transform:rotateX(calc(178deg * var(--pp-fold-direction)));transition-delay:.6s}
.pp-sfp-page .pp-sfp-fold-demo--folded .pp-sfp-fold-demo__scene--reverse .pp-sfp-fold-demo__piece--0{transition-delay:.6s}
.pp-sfp-page .pp-sfp-fold-demo--folded .pp-sfp-fold-demo__scene--reverse .pp-sfp-fold-demo__piece--2{transition-delay:0s}
.pp-sfp-page .pp-sfp-fold-demo--folded [data-kind=accordion] .pp-sfp-fold-demo__piece--2{transform:rotateX(calc(-165deg * var(--pp-fold-direction)));transition-delay:0s}
.pp-sfp-page .pp-sfp-fold-demo--folded [data-kind=parallel] .pp-sfp-fold-demo__piece--2{transition-delay:0s}
.pp-sfp-page .pp-sfp-fold-demo--folded [data-kind=parallel] .pp-sfp-fold-demo__piece--0,.pp-sfp-page .pp-sfp-fold-demo--folded [data-kind=parallel] .pp-sfp-fold-demo__piece--3{transform:rotateX(calc(-178deg * var(--pp-fold-direction)));transition-delay:.6s}
/* Landscape folds use vertical strips, matching the rotated supplier artwork. */
.pp-sfp-page .pp-sfp-fold-demo__scene[data-orientation=landscape] .pp-sfp-fold-demo__sheet>.pp-sfp-fold-demo__piece{top:0;left:calc(100% / var(--pp-fold-count));height:100%;width:calc(100% / var(--pp-fold-count))}
.pp-sfp-page .pp-sfp-fold-demo__scene[data-orientation=landscape] .pp-sfp-fold-demo__piece--0{top:0;left:-100%;transform-origin:right center}
.pp-sfp-page .pp-sfp-fold-demo__scene[data-orientation=landscape] .pp-sfp-fold-demo__piece--2,.pp-sfp-page .pp-sfp-fold-demo__scene[data-orientation=landscape] .pp-sfp-fold-demo__piece--3{top:0;left:100%;transform-origin:left center}
.pp-sfp-page .pp-sfp-fold-demo__scene[data-orientation=landscape] .pp-sfp-fold-demo__piece::after{transform:rotateY(180deg)}
.pp-sfp-page .pp-sfp-fold-demo--folded .pp-sfp-fold-demo__scene[data-orientation=landscape] .pp-sfp-fold-demo__piece--0{transform:rotateY(calc(178deg * var(--pp-fold-direction)))}
.pp-sfp-page .pp-sfp-fold-demo--folded .pp-sfp-fold-demo__scene[data-orientation=landscape] .pp-sfp-fold-demo__piece--2{transform:rotateY(calc(-178deg * var(--pp-fold-direction)))}
.pp-sfp-page .pp-sfp-fold-demo--folded .pp-sfp-fold-demo__scene[data-orientation=landscape][data-kind=accordion] .pp-sfp-fold-demo__piece--2{transform:rotateY(calc(165deg * var(--pp-fold-direction)))}
.pp-sfp-page .pp-sfp-fold-demo--folded .pp-sfp-fold-demo__scene[data-orientation=landscape][data-kind=parallel] .pp-sfp-fold-demo__piece--0,.pp-sfp-page .pp-sfp-fold-demo--folded .pp-sfp-fold-demo__scene[data-orientation=landscape][data-kind=parallel] .pp-sfp-fold-demo__piece--3{transform:rotateY(calc(178deg * var(--pp-fold-direction)))}
@keyframes pp-sfp-guide-in{from{opacity:0}to{opacity:1}}
@media(prefers-reduced-motion:reduce){.pp-sfp-page .pp-sfp-sheet,.pp-sfp-page .pp-sfp-sheet>.pp-sfp-editor__paper,.pp-sfp-page .pp-sfp-fold-demo__piece{transition:none!important}.pp-sfp-page .pp-sfp-sheet__guide,.pp-sfp-page .pp-sfp-sheet__hole{animation:none!important}}
@media(prefers-reduced-motion:reduce){.pp-sfp-page .pp-sfp-sheet__finish{animation:none!important}}

.pp-sfp-upload [data-pp-saved-status]:not(:empty){font-size:12px;color:#63768a;margin:5px 0 10px}

/* Physical point size scaled to the divider's actual displayed Letter width. */
@supports(font-size:1cqw){.pp-sfp-page button.pp-sfp-editor__divider-edge{font-size:calc(var(--pp-tab-point-size,12)*100cqw / 612)}}
.pp-sfp-page .pp-sfp-editor__reset-options{display:block;margin:0 auto 14px;min-width:140px}
.pp-sfp-page .pp-sfp-editor__remove-document{margin-bottom:6px}
.pp-sfp-page .pp-sfp-editor__custom-help{display:block;font-size:12px;margin-top:10px}

/* v0.2.74.7: physical tab lettering and compact document/quantity/action header. */
.pp-sfp-page button.pp-sfp-editor__divider-edge{display:flex;align-items:center;justify-content:center;writing-mode:horizontal-tb;white-space:normal;overflow-wrap:normal}
.pp-sfp-page .pp-sfp-editor__divider-edge-text{display:block;flex:none;writing-mode:vertical-rl;text-orientation:sideways;white-space:pre;overflow-wrap:normal;line-height:1.05;max-height:none}
.pp-sfp-page .pp-sfp-editor__divider-edge--rotated>.pp-sfp-editor__divider-edge-text{transform:rotate(180deg)}
.pp-sfp-page .pp-sfp-editor__job-header{grid-template-columns:minmax(0,1fr) 110px 180px;gap:12px;align-items:start;padding:10px 0 12px}
.pp-sfp-page .pp-sfp-editor__job-details{grid-column:1;grid-row:1;min-width:0}
.pp-sfp-page .pp-sfp-editor__job-details>strong{display:block;font-size:14px;line-height:1.3;overflow-wrap:anywhere}
.pp-sfp-page .pp-sfp-editor__job-details>.pp-sfp-editor__page-count{display:block;font-size:11px;line-height:1.3;color:#586678;margin:2px 0 4px}
.pp-sfp-page .pp-sfp-editor__job-details>.pp-sfp-editor__live-price{position:static;inset:auto;padding:0;margin:0;border:0;border-radius:0;background:transparent;box-shadow:none;min-width:0}
.pp-sfp-page .pp-sfp-editor__job-details .pp-sfp-editor__price-amount{font-size:16px;line-height:1.25;margin:0;font-weight:700}
.pp-sfp-page .pp-sfp-editor__job-details .pp-sfp-editor__price-status{font-size:11px;line-height:1.35;margin:3px 0 4px}
.pp-sfp-page .pp-sfp-editor__job-details .pp-sfp-editor__price-breakdown{margin:3px 0;font-size:11px}
.pp-sfp-page .pp-sfp-editor__job-details .pp-sfp-editor__price-breakdown>summary{font-size:11px;padding:1px 0}
.pp-sfp-page .pp-sfp-editor__quantity{grid-column:2;grid-row:1;font-size:13px;grid-template-columns:65px 1fr;gap:3px}
.pp-sfp-page .pp-sfp-editor__quantity input{width:65px;min-height:26px;padding:2px 4px;font-size:13px}
.pp-sfp-page .pp-sfp-editor__job-actions{grid-column:3;grid-row:1;display:grid;gap:7px;min-width:0;padding-left:12px;border-left:1px dotted #c7cdd5}
.pp-sfp-page .pp-sfp-editor__job-actions>button,.pp-sfp-page .pp-sfp-editor__job-actions .pp-sfp-editor__cart-actions>button{width:100%;min-height:30px;margin:0;padding:5px 8px;border-radius:3px;font-size:12px;line-height:1.35;white-space:normal}
.pp-sfp-page .pp-sfp-editor__job-actions .pp-sfp-editor__cart-actions{margin:0;gap:7px}
.pp-sfp-page .pp-sfp-editor__version-controls{display:flex;flex-wrap:wrap;gap:4px 10px;margin-top:3px}
.pp-sfp-page .pp-sfp-editor__version-controls:empty{display:none}
.pp-sfp-page .pp-sfp-editor__version-controls>button{margin:0;padding:2px 0;background:none;border:0;font-size:11px;line-height:1.3;text-align:left;color:#4a63a0}
.pp-sfp-page .pp-sfp-editor__paper-stage{margin-top:14px}
.pp-sfp-page .pp-sfp-editor__sidebar>h2{padding-top:10px;font-size:17px}
.pp-sfp-page .pp-sfp-editor__style-guide{padding-bottom:10px;font-size:13px}
.pp-sfp-page .pp-sfp-editor__sidebar>details>summary{padding-top:11px;padding-bottom:11px}
.pp-sfp-page .pp-sfp-editor__sidebar .pp-sfp-editor__layout-field{margin-top:10px;margin-bottom:10px}
.pp-sfp-page .pp-sfp-editor__sidebar .pp-sfp-editor__tab-buttons{gap:7px;margin:9px 0}
.pp-sfp-page .pp-sfp-editor__sidebar .pp-sfp-editor__tab-buttons>.pp-sfp-button{min-height:30px;padding:5px 10px}
@media(max-width:1000px) and (min-width:601px){
 .pp-sfp-page .pp-sfp-editor__job-header{grid-template-columns:minmax(0,1fr) 105px}
 .pp-sfp-page .pp-sfp-editor__job-actions{grid-column:1 / -1;grid-row:2;display:flex;flex-wrap:wrap;gap:7px;padding:7px 0 0;border-left:0;border-top:1px dotted #c7cdd5}
 .pp-sfp-page .pp-sfp-editor__job-actions>button{width:auto;flex:1 1 150px}
 .pp-sfp-page .pp-sfp-editor__job-actions .pp-sfp-editor__cart-actions{display:flex;flex:1 1 100%;flex-wrap:wrap}
 .pp-sfp-page .pp-sfp-editor__job-actions .pp-sfp-editor__cart-actions>button{flex:1 1 150px;width:auto}
}
@media(max-width:600px){
 .pp-sfp-page .pp-sfp-editor__job-header{grid-template-columns:minmax(0,1fr) 105px;gap:10px}
 .pp-sfp-page .pp-sfp-editor__job-actions{grid-column:1 / -1;grid-row:2;padding:8px 0 0;border-left:0;border-top:1px dotted #c7cdd5}
 .pp-sfp-page .pp-sfp-editor__job-actions>button,.pp-sfp-page .pp-sfp-editor__job-actions .pp-sfp-editor__cart-actions>button{min-height:40px;font-size:13px}
 .pp-sfp-page .pp-sfp-editor__quantity input{min-height:32px}
 .pp-sfp-page .pp-sfp-editor__sidebar .pp-sfp-editor__tab-buttons>.pp-sfp-button{min-height:40px}
}

.pp-sfp-page .pp-sfp-editor__sidebar>.pp-sfp-editor__reset-options{min-height:30px;margin-bottom:10px;padding:5px 12px;font-size:13px;line-height:1.35;border-radius:3px}
@media(max-width:600px){.pp-sfp-page .pp-sfp-editor__sidebar>.pp-sfp-editor__reset-options{min-height:40px}}

/* v0.2.74.13: compact, immediately visible uploader and real transfer progress */
.pp-sfp-page .pp-sfp-next.pp-sfp-upload{padding:28px 34px;max-width:860px}
.pp-sfp-page .pp-sfp-upload #pp-sfp-next-heading{font-family:Roboto,sans-serif;font-size:19px;line-height:19px;font-weight:700;text-align:left;margin:0 0 12px}
.pp-sfp-page .pp-sfp-upload .pp-sfp-drop{min-height:0;margin:14px 0 10px;padding:17px 15px;gap:7px}
.pp-sfp-page .pp-sfp-upload .pp-sfp-drop>span{font-size:23px;line-height:1;color:#7dc8db}
.pp-sfp-page .pp-sfp-upload .pp-sfp-drop .pp-sfp-button{margin:5px 0 0}
.pp-sfp-page .pp-sfp-drop__saved{border-top:1px solid #dbe5f1;width:100%;padding-top:9px;margin-top:5px;font-size:12px;color:var(--pp-sfp-muted)}
.pp-sfp-page .pp-sfp-drop__saved a{color:var(--pp-sfp-accent);font-weight:700;margin-left:4px}
.pp-sfp-page .pp-sfp-upload .pp-sfp-upload-list-heading{margin-top:8px;padding:9px 0}
.pp-sfp-page .pp-sfp-upload .pp-sfp-upload-list-heading[hidden],.pp-sfp-page .pp-sfp-order-hint[hidden]{display:none!important}
.pp-sfp-page .pp-sfp-upload .pp-sfp-upload-row{padding:9px 0}
.pp-sfp-page .pp-sfp-upload .pp-sfp-order-hint{margin:6px 0}
.pp-sfp-page .pp-sfp-upload .pp-sfp-combine-choice{margin:13px 0 10px}
.pp-sfp-page .pp-sfp-upload .pp-sfp-combine-choice small{font-weight:400;color:var(--pp-sfp-muted)}
.pp-sfp-page .pp-sfp-upload__queue[hidden]{display:none}
.pp-sfp-page .pp-sfp-full-stage{position:relative;display:flex;flex:1;min-height:0;overflow:hidden;background:#e9edf3}
.pp-sfp-page .pp-sfp-full-stage>.pp-sfp-editor__modal-view{width:100%;height:100%}
.pp-sfp-page .pp-sfp-full-watermark{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%) rotate(-35deg);font-size:clamp(16px,4vw,42px);font-weight:600;white-space:nowrap;color:rgba(90,90,90,.4);pointer-events:none;user-select:none}
.pp-sfp-page .pp-sfp-full-page-input{width:70px;min-width:0;padding:5px}
.pp-sfp-page [data-pp-editor-loading-status]::before{content:'';display:inline-block;width:16px;height:16px;margin-right:9px;border:2px solid #d7e1ed;border-top-color:#265da0;border-radius:50%;vertical-align:middle;animation:pp-sfp-loading-spin .8s linear infinite}
@keyframes pp-sfp-loading-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.pp-sfp-page [data-pp-editor-loading-status]::before{animation:none}}
.pp-sfp-page .pp-sfp-upload .pp-sfp-choice--copyright{margin-top:12px;padding:12px 0;border-bottom:1px solid var(--pp-sfp-line)}
.pp-sfp-page .pp-sfp-choice--copyright .pp-sfp-required-marker{color:#b42318;font-weight:700}
.pp-sfp-page .pp-sfp-upload .pp-sfp-upload__footer{margin-top:16px}
.pp-sfp-page .pp-sfp-upload button.pp-sfp-button--primary{background:#7dc8db}
.pp-sfp-page .pp-sfp-upload button.pp-sfp-button--primary:enabled:hover{background:#4dbbd7}
.pp-sfp-page .pp-sfp-upload-row__progress{width:min(100%,380px);height:7px;display:block;accent-color:#4a63a0;margin-top:3px}
.pp-sfp-page .pp-sfp-upload__queue{margin:7px 0 10px}
.pp-sfp-page .pp-sfp-upload__queue-heading{display:flex;justify-content:space-between;gap:10px;font-size:12px;margin-bottom:4px}
.pp-sfp-page .pp-sfp-upload__queue>progress{display:block;width:100%;height:9px;accent-color:#4a63a0}
.pp-sfp-page .pp-sfp-upload progress:is(.pp-sfp-upload-row__progress,.pp-sfp-upload__queue>progress){
    appearance:none;
    border:0;
    border-radius:4px;
    overflow:hidden;
    background:var(--pp-sfp-line);
    accent-color:#7dc8db;
}
.pp-sfp-page .pp-sfp-upload progress:is(.pp-sfp-upload-row__progress,.pp-sfp-upload__queue>progress)::-webkit-progress-bar{background:var(--pp-sfp-line)}
.pp-sfp-page .pp-sfp-upload progress:is(.pp-sfp-upload-row__progress,.pp-sfp-upload__queue>progress)::-webkit-progress-value{background:#7dc8db}
.pp-sfp-page .pp-sfp-upload progress:is(.pp-sfp-upload-row__progress,.pp-sfp-upload__queue>progress)::-moz-progress-bar{background:#7dc8db}
@media(max-width:740px){.pp-sfp-page .pp-sfp-next.pp-sfp-upload{padding:20px 16px}.pp-sfp-page .pp-sfp-upload .pp-sfp-drop{padding:14px 10px}}

/* Closed projects are recoverable separately from the active editor tabs. */
.pp-sfp-page .pp-sfp-removed-projects{margin:18px 0;padding:12px 14px;border:1px solid #dce2e8;border-radius:6px;background:#fff}
.pp-sfp-page .pp-sfp-removed-projects[hidden]{display:none}
.pp-sfp-page .pp-sfp-removed-projects>summary{cursor:pointer;font-weight:600}
.pp-sfp-page .pp-sfp-removed-projects__list{max-height:280px;overflow:auto}
.pp-sfp-page .pp-sfp-removed-projects__row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border-top:1px solid #edf0f3}
.pp-sfp-page .pp-sfp-removed-projects__row>span{min-width:0;overflow-wrap:anywhere}
.pp-sfp-page .pp-sfp-removed-projects__row>button{flex-shrink:0}
@media(max-width:600px){.pp-sfp-page .pp-sfp-removed-projects__row{align-items:flex-start;flex-direction:column}}

/* Itemized retail units remain readable without relying on a hover tooltip. */
.pp-sfp-editor__price-unit{display:block;font-size:.78rem;font-weight:400;line-height:1.4;color:#555;margin-top:.15rem}


/* Book spreads share the existing single-page scale and contain inline dividers. */
.pp-sfp-page .pp-sfp-editor__sequence-slot{display:flex;align-items:center}
.pp-sfp-page .pp-sfp-editor__sequence-slot[hidden]{display:none}
.pp-sfp-page .pp-sfp-editor__paper-row--spread{gap:4px;align-items:center}
.pp-sfp-page .pp-sfp-sheet[hidden]{display:none}
.pp-sfp-page .pp-sfp-sheet--divider .pp-sfp-sheet__effects{display:none}
.pp-sfp-page .pp-sfp-sheet--divider[data-tab-face=true] .pp-sfp-sheet__effects{display:block}
.pp-sfp-page .pp-sfp-sheet--divider .pp-sfp-editor__paper{background:#ffffcc!important;position:relative;overflow:visible}
.pp-sfp-page .pp-sfp-editor__tab-bank{position:absolute;z-index:5;pointer-events:none;overflow:hidden}
.pp-sfp-page .pp-sfp-editor__tab-bank[data-side=front]{top:0;bottom:0;right:-20px;width:20px}
.pp-sfp-page .pp-sfp-editor__tab-bank[data-side=back]{top:0;bottom:0;left:-20px;width:20px}
.pp-sfp-page .pp-sfp-editor__tab-bank-image{position:absolute;inset:0;background-repeat:no-repeat;background-size:100% 100%;transform:translateY(calc(var(--pp-tab-slot)*20%));pointer-events:none}
.pp-sfp-page .pp-sfp-editor__tab-bank-hit{position:absolute;top:calc(var(--pp-tab-slot)*20%);left:0;right:0;height:20%;z-index:7;padding:0;border:0;border-radius:0;background:transparent;opacity:0;cursor:pointer;pointer-events:auto}
.pp-sfp-page .pp-sfp-editor__tab-bank-hit:focus-visible{outline:2px solid #1769aa;outline-offset:-2px;opacity:.32}
.pp-sfp-page .pp-sfp-editor__tab-tooltip{position:fixed;z-index:10000;box-sizing:border-box;width:130px;min-height:16px;padding:1px 3px;border:1px solid #111;background:#ffffcc;color:#111;font:12px/1.15 Arial,sans-serif;white-space:pre-line;overflow-wrap:anywhere;pointer-events:none}
.pp-sfp-page .pp-sfp-editor__tab-tooltip[hidden]{display:none}
.pp-sfp-page .pp-sfp-editor__tab-bank-label{position:absolute;top:0;left:0;width:100%;height:20%;display:flex;align-items:center;justify-content:center;overflow:hidden;color:#292929;white-space:pre-line;text-align:center;writing-mode:vertical-rl;line-height:1;z-index:1}
.pp-sfp-page .pp-sfp-editor__tab-bank-label--rotated{transform:rotate(180deg)}

/* Match Staples' yellow tab leaf and soften the outside tab edge. */
.pp-sfp-page .pp-sfp-editor__paper-row--landscape .pp-sfp-editor__tab-bank{left:0;right:0;width:auto;height:20px}
.pp-sfp-page .pp-sfp-editor__paper-row--landscape .pp-sfp-editor__tab-bank[data-side=front]{top:auto;bottom:-20px}
.pp-sfp-page .pp-sfp-editor__paper-row--landscape .pp-sfp-editor__tab-bank[data-side=back]{top:-20px;bottom:auto}
.pp-sfp-page .pp-sfp-editor__paper-row--landscape .pp-sfp-editor__tab-bank-image{transform:translateX(calc(var(--pp-tab-slot)*-20%))}
.pp-sfp-page .pp-sfp-editor__paper-row--landscape .pp-sfp-editor__tab-bank-hit{top:0;left:calc((4 - var(--pp-tab-slot))*20%);right:auto;width:20%;height:100%}
.pp-sfp-page .pp-sfp-editor__paper-row--landscape .pp-sfp-editor__tab-bank-label{top:0;left:calc((4 - var(--pp-tab-slot))*20%);width:20%;height:100%;writing-mode:horizontal-tb}

/* Cover material faces share the physical document preview. */
[data-cover-material="Black Vinyl"].pp-sfp-editor__blank-cover{background:#000000!important}
[data-cover-material="Blue Vinyl"].pp-sfp-editor__blank-cover{background:#003399!important}
[data-cover-material="Clear"].pp-sfp-editor__blank-cover{background:#ffffff!important}

/* Letter sidebar selection controls: one radio group and independent services. */
.pp-sfp-page .pp-sfp-editor__sidebar .pp-sfp-editor__finish-group,
.pp-sfp-page .pp-sfp-editor__sidebar .pp-sfp-editor__cover-types{border:0;min-inline-size:0;margin:10px 12px;padding:0;max-width:calc(100% - 24px)}
.pp-sfp-page .pp-sfp-editor__sidebar .pp-sfp-editor__finish-choice>.pp-sfp-editor__layout-field{padding:0 0 0 23px;margin:5px 0 12px}
.pp-sfp-page .pp-sfp-editor__sidebar .pp-sfp-editor__service{margin:12px;min-width:0}
.pp-sfp-page .pp-sfp-editor__sidebar .pp-sfp-editor__service>.pp-sfp-editor__layout-field{padding:0 0 0 23px;margin:6px 0 0}
.pp-sfp-page .pp-sfp-editor__sidebar .pp-sfp-editor__check{display:flex;gap:8px;align-items:flex-start;font-size:14px;line-height:1.4;font-weight:400;cursor:pointer;margin:0}
.pp-sfp-page .pp-sfp-editor__sidebar .pp-sfp-editor__check>input[type=checkbox]{flex:0 0 15px;width:15px;height:15px;padding:0;margin:2px 0 0;position:static}
.pp-sfp-page .pp-sfp-editor__sidebar .pp-sfp-editor__finish-group [hidden],
.pp-sfp-page .pp-sfp-editor__sidebar .pp-sfp-editor__cover-types [hidden],
.pp-sfp-page .pp-sfp-editor__sidebar .pp-sfp-editor__service[hidden],
.pp-sfp-page .pp-sfp-editor__sidebar .pp-sfp-editor__service>[hidden]{display:none!important}

.pp-sfp-page .pp-sfp-editor__finish-group>legend,
.pp-sfp-page .pp-sfp-editor__cover-types>legend{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;padding:0;margin:-1px;border:0}

/* Keep document navigation on one line and tab rows inside the panel gutter. */
.pp-sfp-page .pp-sfp-editor__tab-row[data-tab-detail=true]>.pp-sfp-editor__tab-location{display:block;font-size:11px;line-height:1.4;margin:5px 0;overflow-wrap:anywhere}
.pp-sfp-page .pp-sfp-editor__tab-row--missing>.pp-sfp-editor__tab-location{color:#a32c20;font-weight:600}
.pp-sfp-page .pp-sfp-editor__tab-row>button[hidden]{display:none!important}
.pp-sfp-page .pp-sfp-editor__tab-row>button:not([hidden]){font-size:11px;margin:5px 0 8px;max-width:100%;white-space:normal}
/* Override the generic sidebar details clipping for the tab action popover. */
.pp-sfp-page .pp-sfp-editor__go-line{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:6px;margin:0;font-size:13px;font-weight:400;line-height:1.4}
.pp-sfp-page .pp-sfp-editor__go-line>span{flex:none;white-space:nowrap}
.pp-sfp-page .pp-sfp-editor__go-line>input{display:inline-block;flex:0 0 64px;width:64px;max-width:64px;min-width:0;margin:0;box-sizing:border-box}
.pp-sfp-page .pp-sfp-editor__sidebar .pp-sfp-editor__tab-list{margin:8px 12px;min-width:0}
.pp-sfp-page .pp-sfp-editor__tab-column-headings{margin-top:0}
.pp-sfp-page .pp-sfp-editor__tab-inline{min-width:0}
.pp-sfp-page .pp-sfp-editor__tab-inline>label{overflow:hidden}
.pp-sfp-page .pp-sfp-editor__section-body>.pp-sfp-choice{display:flex;align-items:center;gap:8px;margin:10px 12px;font-size:13px;font-weight:400}
.pp-sfp-page .pp-sfp-editor__section-body>.pp-sfp-choice>input[type=checkbox]{flex:none;width:15px;height:15px;margin:0}
@media(max-width:600px){
 .pp-sfp-page .pp-sfp-editor__tab-column-headings,.pp-sfp-page .pp-sfp-editor__tab-inline{grid-template-columns:minmax(0,1fr) 54px 32px}
 .pp-sfp-page .pp-sfp-editor__tab-inline>button{width:32px}
 .pp-sfp-page .pp-sfp-editor__nav-controls{max-width:100%}
 .pp-sfp-page .pp-sfp-editor__page-slider{min-width:30px;max-width:100%;flex:1 1 100px}
}

/* Letter physical-sheet display: portrait opens left/right, landscape top/bottom. */
.pp-sfp-page .pp-sfp-editor__source-order[hidden]{display:none}
.pp-sfp-page .pp-sfp-editor__paper-row--landscape{display:grid;grid-template-columns:auto max-content;gap:12px;align-items:center}
.pp-sfp-page .pp-sfp-editor__paper-row--landscape>.pp-sfp-sheet,
.pp-sfp-page .pp-sfp-editor__paper-row--landscape>.pp-sfp-editor__paper{grid-column:1;grid-row:1}
.pp-sfp-page .pp-sfp-editor__paper-row--landscape>.pp-sfp-editor__sequence-slot{grid-column:1;grid-row:2}
.pp-sfp-page .pp-sfp-editor__paper-row--landscape>.pp-sfp-editor__ruler-height{grid-column:2;grid-row:1}
.pp-sfp-page .pp-sfp-editor__custom-help{display:block;font-size:12px;line-height:1.4;margin:10px 0 0;padding-top:8px;border-top:1px solid #d6dce4;grid-column:1/-1}
.pp-sfp-page .pp-sfp-editor__stock-status:empty{display:none}


/* Portrait duplex: supplier cuts advance 43.2px in a 240px bank (18%).
   The fifth cut must finish inside the bank rather than being cropped. */
.pp-sfp-page .pp-sfp-editor__paper-row:not(.pp-sfp-editor__paper-row--landscape) .pp-sfp-editor__tab-bank-image{transform:translateY(calc(var(--pp-tab-slot)*18%))}
.pp-sfp-page .pp-sfp-editor__paper-row:not(.pp-sfp-editor__paper-row--landscape) .pp-sfp-editor__tab-bank-hit{top:calc(var(--pp-tab-slot)*18%)}

/* v110: centre ink on the supplied tab artwork, including multiline labels. */
.pp-sfp-page .pp-sfp-editor__tab-bank-label{top:3.125%;width:75%}
.pp-sfp-page .pp-sfp-editor__paper-row--landscape .pp-sfp-editor__tab-bank-image{background-size:0 0}
.pp-sfp-page .pp-sfp-editor__paper-row--landscape .pp-sfp-editor__tab-bank-image::before{content:"";position:absolute;inset:0;background-image:inherit;background-repeat:no-repeat;background-size:100% 100%;transform:rotate(180deg)}
.pp-sfp-page .pp-sfp-editor__paper-row--landscape .pp-sfp-editor__tab-bank-label{top:0;left:76.875%;width:20%;height:75%}

/* Duplex landscape is the portrait bank turned clockwise: retain its 18% pitch. */
.pp-sfp-page .pp-sfp-editor__paper-row--landscape .pp-sfp-editor__tab-bank-image{transform:translateX(calc(var(--pp-tab-slot)*-18%))}
.pp-sfp-page .pp-sfp-editor__paper-row--landscape .pp-sfp-editor__tab-bank-hit{left:calc(76.875% - var(--pp-tab-slot)*18%)}

/* Match the supplier spine gap for landscape finishing spreads. */
.pp-sfp-page .pp-sfp-editor__paper-row--landscape.pp-sfp-editor__paper-row--spread:has(>.pp-sfp-sheet[data-finish="binding"]),
.pp-sfp-page .pp-sfp-editor__paper-row--landscape.pp-sfp-editor__paper-row--spread:has(>.pp-sfp-sheet[data-finish="stapling"]){row-gap:5px}

/* Match the supplier gap for unbound landscape spreads. */
.pp-sfp-page .pp-sfp-editor__paper-row--landscape.pp-sfp-editor__paper-row--spread:has(>.pp-sfp-sheet[data-finish="none"]){row-gap:5px}

/* Cutting / Folding: supplier guide sprites and an optional folding sample. */
.pp-sfp-page .pp-sfp-sheet__effects{overflow:hidden}
.pp-sfp-page .pp-sfp-sheet__supplier-guide{position:absolute;display:block;background-repeat:no-repeat;background-size:100% 100%;pointer-events:none}
.pp-sfp-page .pp-sfp-fold-demo{max-width:none;margin:8px 0 0;padding:0;text-align:left}
.pp-sfp-page .pp-sfp-fold-dialog{position:fixed;inset:0;width:min(480px,calc(100% - 32px));max-width:480px;max-height:calc(100dvh - 32px);overflow:auto;margin:auto;padding:24px;border:0;border-radius:10px;background:#fff;color:#222;box-shadow:0 12px 60px #0005;text-align:center;box-sizing:border-box}
.pp-sfp-page .pp-sfp-fold-dialog:not([open]){display:none}
.pp-sfp-page .pp-sfp-fold-dialog::backdrop{background:#0008}
.pp-sfp-page .pp-sfp-fold-dialog h3{font-size:20px;margin:0 0 12px}
.pp-sfp-page .pp-sfp-fold-dialog__actions{display:flex;justify-content:center;gap:12px;margin:16px 0}
.pp-sfp-page .pp-sfp-fold-demo__piece::after{background-color:var(--pp-stock-colour,#fff);background-image:var(--pp-fold-back-artwork);background-size:var(--pp-artwork-size);background-position:var(--pp-artwork-position);filter:var(--pp-artwork-filter,none)}

/* Fold preview controls: readable, touch-friendly buttons inside the sample only. */
.pp-sfp-page .pp-sfp-fold-demo button{min-height:36px;min-width:72px;padding:8px 14px;font:inherit;font-size:14px;line-height:1.3;border:1px solid #b6c2cf;border-radius:5px;background:#f8fafc;color:#243548;cursor:pointer}
.pp-sfp-page .pp-sfp-fold-demo button:hover{background:#e8eff6}
.pp-sfp-page .pp-sfp-fold-demo button:focus-visible{outline:2px solid #2563eb;outline-offset:2px}

.pp-sfp-page .pp-sfp-fold-demo__piece::after{filter:var(--pp-back-artwork-filter,var(--pp-artwork-filter,none))}

/* v13.0.4: scoped customer layout; previews and option controls are unchanged. */
.pp-sfp-page .pp-sfp-support{font-size:13px;line-height:1.6;color:var(--pp-sfp-muted);margin:16px 0 0;text-align:center}
.pp-sfp-page .pp-sfp-support a{text-decoration:underline;color:inherit}
.pp-sfp-page .pp-sfp-upload-support{padding-bottom:15px}
.pp-sfp-page .pp-sfp-editor__disclaimer>span{display:block}
.pp-sfp-page .pp-sfp-editor__job-actions{justify-items:end}
.pp-sfp-page .pp-sfp-editor__job-actions>.pp-sfp-editor__version-controls{width:100%;margin:0;justify-content:flex-end}
.pp-sfp-page .pp-sfp-editor__job-actions>.pp-sfp-editor__version-controls>button{width:100%;min-height:30px;padding:5px 8px;margin:0;border:1px solid var(--pp-sfp-line);border-radius:3px;font-size:12px;line-height:1.35;text-align:center;background:#fff;color:var(--pp-sfp-ink)}
.pp-sfp-page .pp-sfp-editor__job-actions>.pp-sfp-editor__remove-document{margin:0}
.pp-sfp-page .pp-sfp-editor__next-project-content{border-radius:12px;padding:28px;box-shadow:0 18px 60px #202b3c30}
.pp-sfp-page .pp-sfp-editor__next-project-content>h2{font-size:22px;line-height:1.25;margin:0 0 12px}
.pp-sfp-page .pp-sfp-editor__next-project-content>p{line-height:1.6;margin:0;color:var(--pp-sfp-muted)}
.pp-sfp-page .pp-sfp-editor__next-project-actions{margin:22px 0 0}
@media(max-width:1000px){.pp-sfp-page .pp-sfp-editor__job-actions{display:flex;flex-wrap:wrap;justify-content:flex-end}.pp-sfp-page .pp-sfp-editor__job-actions>button,.pp-sfp-page .pp-sfp-editor__job-actions>.pp-sfp-editor__version-controls{flex:0 1 190px;width:190px}.pp-sfp-page .pp-sfp-editor__job-actions>.pp-sfp-editor__version-controls>button{min-height:40px;font-size:13px}}
@media(max-width:480px){.pp-sfp-page .pp-sfp-editor__job-actions>button,.pp-sfp-page .pp-sfp-editor__job-actions>.pp-sfp-editor__version-controls{flex-basis:100%;width:100%}.pp-sfp-page .pp-sfp-editor__next-project-content{padding:22px}.pp-sfp-page .pp-sfp-editor__next-project-actions .pp-sfp-button{flex-basis:100%}}
