:root{--navy:#20334c;--accent:#f37b39;--ink:#21344d;--muted:#778497;--line:#dce4ee;--soft:#f4f7fb;--bg:#f7f9fb}
*{box-sizing:border-box}body{font-family:system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;background:var(--bg);color:var(--ink);margin:0}button,input,select{font:inherit}button,a,label{ -webkit-tap-highlight-color:transparent}a{text-decoration:none;color:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}button:focus-visible,input:focus-visible,select:focus-visible,a:focus-visible{outline:3px solid #f6a376;outline-offset:3px}
.topbar{background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:15}.top-inner{max-width:1370px;margin:auto;min-height:68px;display:flex;align-items:center;gap:20px;justify-content:space-between;padding:9px 26px}.back{display:flex;align-items:center;gap:9px;font-weight:900;color:#213b56}.back span{font-size:22px;letter-spacing:-1px}.orange{color:var(--accent)}.top-center{display:flex;flex-direction:column;align-items:center;gap:2px}.top-center strong{font-size:15px}.top-center span{font-size:11px;color:var(--muted)}.status{font-size:11px;font-weight:800;border-radius:999px;background:#fff1e9;color:#a55a2d;padding:8px 12px}
.layout{max-width:1370px;margin:auto;padding:25px 26px 80px;display:grid;grid-template-columns:minmax(350px,.95fr) minmax(400px,1.05fr);gap:25px;align-items:start}.left-col{display:flex;flex-direction:column;gap:17px}.intro h1{font-size:30px;margin:4px 0 8px;letter-spacing:-.9px}.intro p{margin:0;color:var(--muted);font-size:13px;line-height:1.55;max-width:560px}.eyebrow{font-size:10px;color:#bc6e42;letter-spacing:1.5px;font-weight:900}.panel,.preview-panel{background:white;border:1px solid var(--line);border-radius:19px;box-shadow:0 5px 20px #19324e0b}.panel{padding:19px}.panel-heading{display:flex;align-items:center;gap:10px;margin-bottom:17px}.panel-heading h2{font-size:17px;margin:0}.step{width:27px;height:27px;display:grid;place-items:center;border-radius:9px;background:#fff0e7;color:#b65c2b;font-weight:900;font-size:13px}.two-cols{display:grid;grid-template-columns:1fr 1fr;gap:12px}.panel label.full{display:block;margin-top:13px}.panel label:not(.upload-btn),.quality{display:flex;flex-direction:column;gap:6px;font-size:12px;font-weight:750}.panel select,.panel input:not([type=file]),.control-row select,.quality select{border:1px solid #d5deeb;background:#fff;border-radius:10px;padding:11px 10px;color:#263950;min-width:0;width:100%;height:43px}.field-help{font-size:11px;color:#7c8798;line-height:1.55;margin:12px 0 0}.file-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px}.upload-btn{border-radius:11px;padding:14px 8px;display:flex;justify-content:center;align-items:center;text-align:center;font-size:12px;font-weight:850;cursor:pointer}.primary-upload{background:var(--navy);color:#fff}.camera-upload{background:#fff8f3;color:#8b522d;border:1px solid #f4d8c6}.gallery-head{display:flex;justify-content:space-between;align-items:center;margin:18px 0 10px;font-size:13px}.gallery-head span{color:var(--muted);font-size:11px}.gallery{display:grid;grid-template-columns:repeat(5,1fr);gap:7px;max-height:240px;overflow:auto}.gallery button{border:2px solid transparent;border-radius:9px;overflow:hidden;padding:0;aspect-ratio:1;background:#eef1f5;position:relative}.gallery button:hover,.gallery button.selected{border-color:var(--accent)}.gallery img{width:100%;height:100%;object-fit:cover}.gallery button span{position:absolute;right:3px;bottom:3px;background:#19324ecc;border-radius:5px;padding:2px 4px;color:#fff;font-size:10px}.empty-gallery{font-size:12px;color:var(--muted);margin:6px 0;grid-column:1/-1}.pages-head{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:11px;color:var(--muted);margin-bottom:10px}.link-button{border:0;background:transparent;color:#a65b34;font-size:11px;font-weight:800;padding:5px 0;text-align:right}.danger{color:#b44848}.page-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;max-height:415px;overflow:auto}.page-list button{padding:9px 7px;background:#fff;border:1px solid #d9e2ed;border-radius:11px;display:flex;flex-direction:column;align-items:start;gap:6px;text-align:left}.page-list button.active{border:2px solid #f1884c;background:#fff9f5;padding:8px 6px}.page-list b{font-size:11px}.page-list small{font-size:9px;color:var(--muted)}.page-list .dot{width:8px;height:8px;border-radius:50%;display:inline-block;background:#d0d8e3}.page-list .dot.done{background:#2c9c79}.page-list .page-label{display:flex;align-items:center;gap:6px}.preview-panel{position:sticky;top:85px;padding:19px}.preview-top{display:flex;justify-content:space-between;align-items:center}.preview-top h2{font-size:20px;margin:3px 0 0}.preview-top>span{font-size:12px;background:#f4f7fb;border-radius:99px;padding:6px 10px;color:#67768c}.preview-wrap{background:#e9eef4;border:1px solid #e1e6ee;border-radius:13px;padding:15px;display:flex;justify-content:center;align-items:center;min-height:330px;touch-action:pan-y;overflow:hidden}.preview-wrap canvas{display:block;background:white;max-width:100%;max-height:min(55vh,630px);width:auto;height:auto;box-shadow:0 5px 18px #24324c26;touch-action:none;cursor:grab}.preview-wrap canvas:active{cursor:grabbing}.preview-hint{min-height:23px;color:var(--muted);font-size:11px;line-height:1.45;margin:10px 0 2px}.page-controls{display:flex;gap:10px;margin:12px 0}.quiet{border:1px solid #d5dfeb;border-radius:9px;background:#fff;color:#334a65;padding:10px 13px;font-size:12px;font-weight:750;flex:1}.edit-controls{border-top:1px solid #ecf0f5;padding-top:13px}.edit-title{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:14px}.edit-title strong{font-size:13px}.control-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.control-row>label{font-size:12px;font-weight:750;min-width:112px}.control-row select{max-width:230px;height:36px;padding:6px}.slider-group{display:flex;align-items:center;gap:10px;width:min(230px,60%)}.slider-group input{flex:1;min-width:30px;accent-color:var(--accent)}.slider-group span{min-width:37px;font-size:11px;font-weight:850}.button-set{display:flex;gap:9px}.button-set .quiet{font-size:11px}.export-box{margin-top:18px;padding:16px;border:1px solid #f1d7c8;background:#fffaf7;border-radius:13px}.export-box strong{font-size:15px}.export-box p{font-size:11px;color:#786d69;line-height:1.5;margin:5px 0 12px}.export-box .quality{margin:13px 0;font-size:11px}.export-box .quality select{background:white}.export-primary,.export-secondary{width:100%;border:0;background:#e87333;color:white;border-radius:10px;padding:13px;font-weight:900;font-size:13px;margin-bottom:8px}.export-primary:disabled{background:#bac0c8}.export-secondary{background:white;color:#324a69;border:1px solid #dce2e9}.export-box .no-order{font-size:10px;color:#8d7669;margin:8px 0 0}.export-status{font-size:11px;font-weight:750;color:#885a40;margin:8px 0;line-height:1.4}.progress{height:7px;background:#f1dccf;border-radius:99px;overflow:hidden;margin:7px 0}.progress>div{height:100%;width:0;background:var(--accent);transition:width .12s}.toast{position:fixed;z-index:99;bottom:25px;left:50%;transform:translateX(-50%);padding:12px 19px;border-radius:10px;box-shadow:0 12px 28px #132b4860;color:white;background:#1e3b5a;max-width:min(94vw,480px);font-size:12px}.toast[hidden],.progress[hidden]{display:none}
@media(min-width:1100px){.gallery{grid-template-columns:repeat(6,1fr)}}
@media(max-width:970px){.layout{grid-template-columns:1fr;max-width:680px;padding:16px 14px 70px}.right-col{grid-row:4}.preview-panel{position:static}.left-col{display:contents}.intro{grid-row:1}.left-col .panel:first-of-type{grid-row:2}.left-col .panel:nth-of-type(2){grid-row:3}.left-col .panel:nth-of-type(3){grid-row:5}.intro h1{font-size:25px}.preview-wrap{min-height:200px}.preview-wrap canvas{max-height:440px}}
@media(max-width:520px){.top-inner{padding:9px 12px;min-height:62px;gap:7px}.back span{font-size:19px}.top-center strong{font-size:12px}.top-center span{font-size:9px}.status{font-size:9px;padding:5px 8px}.layout{gap:11px}.panel,.preview-panel{padding:13px;border-radius:15px}.intro h1{font-size:22px}.two-cols{gap:7px}.panel select,.panel input:not([type=file]){height:41px;font-size:12px}.gallery{grid-template-columns:repeat(5,1fr)}.page-list{grid-template-columns:repeat(3,1fr)}.preview-wrap{padding:10px;min-height:175px}.preview-wrap canvas{max-height:400px}.control-row>label{min-width:95px}.slider-group{width:65%}.export-box{padding:12px}}

/* BIGFOTO V15.4 calendar catalog price */
.price-box{margin-top:18px;padding:16px;border:1px solid #d7e3ef;background:#f4f8fc;border-radius:13px}
.price-box>strong{font-size:15px}.price-line{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0}
.price-line label{font-size:12px;font-weight:700}.price-line input{border:1px solid #cbd6e3;border-radius:9px;padding:9px;width:84px;text-align:center}
.price-value{font-size:22px;font-weight:900;color:#233d54;margin-top:10px}.price-value.unavailable{font-size:14px;color:#925d3f}
.price-note{font-size:11px;color:#63768a;line-height:1.5;margin:7px 0 12px}
@media(max-width:520px){.price-box{padding:12px}.price-value{font-size:20px}}

/* Szablony Studio: pole zdjęcia i niedostępność przy błędzie pobierania tła */
[hidden]{display:none !important}
#studioTemplateStatus{margin-top:10px;line-height:1.45}
#slotRow select{max-width:230px}

/* BIGFOTO V15.7 — autorski, etapowy kreator inspirowany wygodną ścieżką zakupu. */
.wizard-shell{max-width:1250px;margin:30px auto 65px;padding:0 24px}
.wizard-head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:24px}
.wizard-head h1{font-size:clamp(26px,3vw,38px);letter-spacing:-1.2px;margin:7px 0 4px;color:#1f2937}
.wizard-head p,.wizard-muted{color:#64748b;font-size:13px;line-height:1.6;margin:5px 0 18px}
.test-pill{white-space:nowrap;border:1px solid #fed7aa;background:#fff7ed;color:#9a4b16;border-radius:50px;padding:9px 14px;font-size:12px;font-weight:750}
.wizard-progress{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-bottom:24px}
.wizard-progress button{border:1px solid #dfe5ec;background:#fff;border-radius:12px;padding:13px 10px;text-align:center;color:#64748b;font-weight:800;font-size:12px}
.wizard-progress button span{font-weight:650;margin-left:6px}
.wizard-progress button.active{color:#aa4b15;background:#fff4eb;border-color:#e98e55;box-shadow:inset 0 0 0 1px #e98e55}
.wizard-stage{padding:29px 34px;border:1px solid #e6e9ef;border-radius:20px;background:white;box-shadow:0 9px 34px #20334c0a}
.wizard-stage h2{font-size:clamp(20px,2.4vw,27px);letter-spacing:-.6px;margin:6px 0 4px;color:#212a36}
.wizard-stage h3{font-size:14px;margin:0 0 12px}
.section-caption{font-size:11px;color:#d26f30;font-weight:850;letter-spacing:1px}
.product-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin:24px 0}
.product-card{display:flex;flex-direction:column;align-items:stretch;text-align:left;border:2px solid #e5e8ee;background:white;padding:9px 9px 13px;border-radius:15px;color:#273449;transition:transform .12s,box-shadow .12s,border-color .12s}
button.product-card:hover{transform:translateY(-2px);border-color:#eb935b;box-shadow:0 6px 17px #1a2e4b19}
.product-card.selected{border-color:#ed7c39;background:#fffcf9;box-shadow:0 0 0 2px #f6d2b9}
.product-card strong{font-size:15px;line-height:1.4;margin:12px 5px 3px}
.product-card>span{color:#748091;font-size:12px;margin:0 5px}
.product-card em{font-style:normal;font-size:11px;color:#d26626;margin:9px 5px 0;font-weight:900}
.disabled-card{opacity:.55;cursor:default}
.product-visual{height:178px;background:radial-gradient(circle at 70% 20%,#fff,#f0f2f5 77%);border-radius:10px;display:grid;place-items:center;overflow:hidden}
.mini-sheet{background:white;box-shadow:0 5px 14px #1010102b;border:1px solid #e1e3e7;position:relative;display:flex;flex-direction:column;padding:13px 9px 10px;gap:7px}
.portrait-sheet{width:100px;height:143px}.landscape-sheet{width:164px;height:112px}
.mini-spiral{position:absolute;left:6px;right:6px;top:-4px;height:8px;border-top:4px dotted #9ca3af}
.mini-photo{flex:1;min-height:25px;background:linear-gradient(135deg,#99c9d5 0%,#9bb9a0 42%,#e1c2a2 43%,#b98b7a 100%);border-radius:2px}
.mini-photo.short{flex:.65}
.mini-dategrid{height:24%;background:repeating-linear-gradient(90deg,transparent 0,transparent 11%,#e5e7eb 11.6%,transparent 12.1%),repeating-linear-gradient(0deg,#fafafa 0,#fafafa 5px,#dadfe7 6px,#fff 7px)}
.wizard-options{display:grid;grid-template-columns:1fr 1fr;gap:30px;background:#f9fafb;padding:24px;border-radius:14px}
.choice-group{display:flex;flex-wrap:wrap;gap:9px}
.choice-group button{display:flex;align-items:center;gap:8px;background:#fff;border:1.5px solid #d8dee7;border-radius:10px;padding:12px 18px;min-height:47px;color:#334155;font-weight:800}
.choice-group button small{font-weight:400;color:#64748b}
.choice-group button.selected{border-color:#ef7d39;color:#aa4b15;background:#fff7f1;box-shadow:0 0 0 1px #ef7d39}
.spiral-group button i{display:inline-block;width:20px;height:20px;border-radius:50%;border:1px solid #cbd5e1;flex:0 0 20px}
.styles-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin-top:23px}
.style-choice{border:2px solid #e2e8f0;border-radius:14px;padding:12px;text-align:left;background:white;color:#29394a;display:flex;flex-direction:column;gap:4px}
.style-choice:hover{border-color:#f09c68}.style-choice.selected{border-color:#ef7d39;box-shadow:0 0 0 2px #f8ddcb;background:#fffdfb}
.style-choice strong{font-size:15px;margin:6px 2px 0}.style-choice span,.style-choice small{font-size:11px;color:#64748b;margin:0 2px}
.style-visual{height:225px;border-radius:9px;background:linear-gradient(135deg,#f6f6f7,#e9edf2);display:grid;place-items:center;overflow:hidden}
.style-sheet{width:125px;height:187px;background:#fff;box-shadow:0 5px 18px #202f4835;padding:9px;display:flex;flex-direction:column;gap:9px}
.style-photo{flex:1;background:#eff6f7;display:grid;grid-template-columns:1fr;grid-template-rows:1fr;gap:3px}
.style-photo.double{grid-template-columns:repeat(2,1fr)}.style-photo.triple{grid-template-columns:1.2fr .8fr;grid-template-rows:repeat(2,1fr)}.style-photo.triple span:first-child{grid-row:span 2}
.style-photo span{display:block;background:linear-gradient(140deg,#80aeca,#bad3b4 50%,#e0b2a2 50%,#bb8573)}
.style-photo span:nth-child(2){background:linear-gradient(50deg,#bcceab,#96b8b3,#a7bfd7)}
.style-photo span:nth-child(3){background:linear-gradient(60deg,#cfb6a8,#d3d6b9,#77a59c)}
.style-dates{height:49px;display:grid;grid-template-columns:repeat(7,1fr);grid-template-rows:repeat(4,1fr);gap:3px;padding:2px}
.style-dates i{background:#dadfe6;border-radius:1px}.style-dates i:nth-child(7n){background:#e8a4a4}
.style-visual.classic .style-sheet{background:#fbf5ec}.style-visual.classic .style-dates i{background:#c9b8a0}
.style-visual.minimal{background:#f2f2f2}.style-visual.minimal .style-sheet{border-top:8px solid #1d2837}
.drop-area{border:2px dashed #cbd5e1;border-radius:17px;min-height:215px;margin:26px auto 23px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:10px;background:#fbfcfd;padding:25px}
.drop-area.drag-active{border-color:#ed7c39;background:#fff5ec}
.drop-glyph{font-size:30px;color:#d87940;font-weight:300;width:52px;height:52px;border-radius:13px;background:#ffefe5;display:grid;place-items:center}
.drop-area strong{font-size:16px}.drop-area>span{color:#708094;font-size:12px}.drop-actions{display:flex;gap:8px;margin-top:10px;flex-wrap:wrap;justify-content:center}
.wizard-file-button{background:#273b50;color:white;border-radius:9px;padding:12px 24px;font-size:12px;font-weight:850;cursor:pointer}
.wizard-file-button.secondary{background:white;color:#334155;border:1px solid #cbd5e1}
.wizard-gallery-header{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:10px}.wizard-gallery-header>span{color:#64748b;font-size:11px}
.wizard-gallery{display:grid;grid-template-columns:repeat(8,1fr);gap:9px}.wizard-gallery img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:9px;background:#f1f5f9}
.month-year-row{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:24px 0}.month-year-row strong{font-size:14px}
.year-pills{display:flex;gap:5px;flex-wrap:wrap;justify-content:flex-end}.year-pills button{padding:9px 13px;border-radius:8px;border:1px solid #e0e5ec;background:#fff;font-size:12px}
.year-pills button.selected{background:#db7133;color:white;border-color:#db7133;font-weight:800}
.month-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.month-grid button{height:104px;border:1.5px solid #e5e7eb;border-radius:9px;background:#f3f4f6;color:#283442;font-weight:700;font-size:15px}
.month-grid button.selected{background:#db7133;border-color:#db7133;color:#fff;box-shadow:0 5px 13px #d47c3a2e}
.period-note{background:#fff6ed;border:1px solid #f5dcc6;color:#935628;border-radius:11px;margin:22px 0 0;padding:13px 16px;font-weight:750;font-size:13px}
.wizard-footer{display:flex;align-items:center;justify-content:flex-end;gap:14px;padding:21px 0}
.wizard-footer>span{font-size:12px;color:#64748b;margin-right:auto}.wizard-footer .quiet{max-width:200px;flex:0 1 auto}
.wizard-primary{padding:14px 29px;min-height:46px;border-radius:11px;border:0;background:#e67834;color:white;font-size:14px;font-weight:900;box-shadow:0 4px 12px #d67a3a30}
.editor-toolbar{max-width:1370px;margin:20px auto 0;padding:0 26px;display:flex;justify-content:space-between;align-items:center;gap:16px}
.editor-toolbar>div{display:flex;flex-direction:column;gap:3px}.editor-toolbar b{font-size:16px}.editor-toolbar span{color:#64748b;font-size:12px}
.editor-toolbar .quiet{flex:0 0 auto}
@media(max-width:960px){.product-cards{grid-template-columns:repeat(2,1fr)}.styles-grid{grid-template-columns:repeat(2,1fr)}.wizard-gallery{grid-template-columns:repeat(6,1fr)}.wizard-options{grid-template-columns:1fr}.year-pills{max-width:400px}}
@media(max-width:620px){.wizard-shell{padding:0 13px;margin:18px auto 55px}.wizard-head h1{font-size:26px}.wizard-head{align-items:flex-start}.test-pill{font-size:9px;padding:6px 9px}.wizard-progress{gap:4px;margin-bottom:14px}.wizard-progress button{padding:9px 3px;font-size:11px}.wizard-progress button span{display:block;margin:2px 0 0;font-size:9px}.wizard-stage{padding:17px 14px}.product-cards{gap:9px}.product-visual{height:134px}.mini-sheet{transform:scale(.82)}.product-card strong{font-size:12px}.product-card>span{font-size:10px}.wizard-options{padding:14px;gap:15px}.choice-group button{padding:10px;font-size:12px;min-height:42px}.choice-group button small{display:block;font-size:10px}.styles-grid{gap:9px}.style-visual{height:165px}.style-sheet{transform:scale(.72)}.style-choice strong{font-size:12px}.style-choice span{font-size:10px}.month-year-row{display:block}.year-pills{justify-content:flex-start;margin-top:12px}.month-grid{gap:6px}.month-grid button{height:70px;font-size:11px}.wizard-gallery{grid-template-columns:repeat(4,1fr)}.wizard-gallery-header{display:block}.wizard-gallery-header span{display:block;margin-top:4px}.wizard-primary{font-size:12px;padding:12px 15px}.editor-toolbar{padding:0 14px}.editor-toolbar .quiet{font-size:11px;padding:9px}}
/* Wąskie telefony: elementy kart nie mogą wymuszać szerokości ponad ekran. */
.product-cards{grid-template-columns:repeat(4,minmax(0,1fr))}
.product-card,.style-choice{min-width:0;overflow:hidden}
.product-card strong,.product-card>span{overflow-wrap:anywhere}
@media(max-width:960px){.product-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Photo-first printed layouts: compact visual hints mirror the renderer. */
[data-product="landscape"] .mini-sheet{padding:6px;gap:4px}
[data-product="landscape"] .mini-dategrid{height:15%;flex:none}
.single-sheet .mini-year-strip{height:29%;flex:none;background:repeating-linear-gradient(90deg,#fff 0 22%,#d6dde4 22% 24%,#fff 24% 25%),repeating-linear-gradient(0deg,#e3e7ed 0 2px,#fff 2px 7px)}
.style-sheet.landscape-style{width:190px;height:134px;padding:5px;gap:4px}.landscape-style .style-dates{height:16%;flex:none}.style-sheet.single-style .style-dates{height:30%;flex:none}
[hidden]{display:none!important}


/* V15.9: focused mobile editing, with the same calendar renderer and state. */
.mobile-editor-nav,.mobile-context,.mobile-year{display:none}
.advanced-export{margin:4px 0 12px}.advanced-export summary{cursor:pointer;padding:12px 0;font-size:14px;font-weight:700;min-height:44px}.advanced-export[open] summary{margin-bottom:4px}
@media(max-width:760px){
 :root{--mobile-header:48px}
 body{font-size:16px}.top-inner{min-height:48px;padding:6px 12px}.back{min-height:36px}.back span{font-size:18px}.top-center strong{font-size:12px}.top-center span{font-size:11px}.status{font-size:11px;padding:5px 7px}
 .wizard-shell{margin:12px auto 0;padding:0 12px 100px}.wizard-head{margin-bottom:12px;gap:8px}.wizard-head h1{font-size:23px;letter-spacing:-.6px;margin:3px 0}.wizard-head p{font-size:14px;line-height:1.4;margin:5px 0}.wizard-head .eyebrow{display:none}.test-pill{display:none}
 .wizard-progress{margin-bottom:12px;gap:5px}.wizard-progress button{min-height:44px;padding:6px 2px;font-size:14px;border-radius:9px}.wizard-progress button span{display:inline;font-size:12px;margin-left:2px}
 .wizard-stage{padding:14px 12px;border-radius:14px;box-shadow:none}.wizard-stage h2{font-size:20px;line-height:1.2;margin:0 0 8px}.wizard-stage h3{font-size:14px;margin-bottom:8px}.section-caption{display:none}.wizard-muted{font-size:14px;line-height:1.4;margin:0 0 12px}
 .product-cards{margin:12px 0;gap:8px}.product-card{padding:7px;border-radius:10px}.product-visual{height:75px}.mini-sheet{transform:scale(.46)}.product-card strong{font-size:14px;margin:6px 0 3px;line-height:1.25}.product-card>span{font-size:12px;margin:0;line-height:1.3}.product-card em{display:none}
 .product-card.disabled-card .product-visual{display:none}.disabled-card{grid-column:1/-1;grid-row:3;flex-direction:row;gap:8px;align-items:center}.disabled-card strong{margin:0;font-size:12px}.disabled-card>span{font-size:12px}
 .wizard-options{padding:12px;gap:12px}.wizard-options .wizard-muted{font-size:12px;margin:8px 0 0}.choice-group{gap:6px}.choice-group button{min-height:44px;padding:8px 10px;font-size:14px}.choice-group button small{font-size:11px}.spiral-group button{flex:1;justify-content:center;padding:8px 5px}.spiral-group button i{width:14px;height:14px;flex-basis:14px}
 .styles-grid{gap:8px;margin-top:12px;grid-template-columns:repeat(2,minmax(0,1fr))}.style-choice{padding:7px;gap:3px;border-radius:10px}.style-visual{height:92px}.style-sheet{transform:scale(.44)}.style-choice strong{font-size:14px;line-height:1.25;margin:4px 0 0}.style-choice span,.style-choice small{font-size:12px;line-height:1.3;margin:0}
 #wizardTemplateStatus{font-size:12px;margin:12px 0 0}.drop-area{min-height:0;padding:16px 10px;margin:12px 0;gap:8px}.drop-glyph{display:none}.drop-area strong{font-size:14px}.drop-area>span{font-size:12px}.drop-actions{margin-top:4px;gap:7px;width:100%}.wizard-file-button{min-height:44px;padding:12px 8px;flex:1;font-size:14px}.wizard-gallery-header>span{font-size:12px}.wizard-gallery{grid-template-columns:repeat(4,1fr);gap:6px}
 .month-year-row{display:flex;margin:14px 0;align-items:center}.year-pills{display:none}.mobile-year{display:block;width:140px;min-height:44px;border:1px solid #d5dfeb;background:#fff;border-radius:9px;padding:8px;color:var(--ink);font-size:16px}.month-grid{gap:6px;grid-template-columns:repeat(3,minmax(0,1fr))}.month-grid button{height:44px;font-size:14px}.period-note{font-size:14px;padding:10px;margin:12px 0 0}
 .wizard-footer{position:fixed;z-index:30;bottom:0;left:0;right:0;background:#fff;border-top:1px solid var(--line);padding:10px 12px calc(10px + env(safe-area-inset-bottom));gap:10px;box-shadow:0 -4px 18px #20334c0a}.wizard-footer>span{font-size:12px}.wizard-footer .quiet,.wizard-primary{min-height:44px;font-size:14px;padding:10px 14px}.wizard-footer .quiet{max-width:none}.wizard-primary{box-shadow:none}
 .editor-toolbar{margin:0;padding:8px 12px;gap:8px;min-height:54px}.editor-toolbar b{display:none}.editor-toolbar span{font-size:12px;line-height:1.3}.editor-toolbar .quiet{font-size:12px;min-height:44px;padding:8px;white-space:nowrap}
 .mobile-context:not([hidden]){display:flex;position:sticky;top:var(--mobile-header);z-index:14;gap:8px;padding:8px 12px;background:var(--bg);border-bottom:1px solid var(--line)}.mobile-context label{display:flex;align-items:center;gap:6px;flex:1;font-size:12px;min-width:0}.mobile-context select{min-width:0;width:100%;min-height:44px;padding:8px;border:1px solid #d5dfeb;background:#fff;color:var(--ink);border-radius:9px;font-size:16px}.mobile-context label:first-child{flex:1.5}
 .layout{display:block;padding:10px 12px calc(88px + env(safe-area-inset-bottom));max-width:680px}.left-col,.right-col,.preview-panel{display:contents}.intro,.pages-pane{display:none}
 .settings-pane,.photos-pane,.preview-workspace,.price-box,.export-box{display:none}
 .layout[data-view="preview"] .preview-workspace{display:block}
 .layout[data-view="photos"] .photos-pane,.layout[data-view="settings"] .settings-pane,.layout[data-view="export"] .price-box,.layout[data-view="export"] .export-box{display:block}
 .panel,.preview-workspace{padding:12px;border:1px solid var(--line);border-radius:13px;background:#fff;box-shadow:none}.preview-workspace{padding:10px}.preview-top{margin-bottom:8px}.preview-top .eyebrow{display:none}.preview-top h2{font-size:18px;margin:0}.preview-top>span{font-size:12px}.preview-wrap{padding:7px;min-height:0;border-radius:9px}.preview-wrap canvas{max-height:min(36svh,340px);max-width:100%}.preview-hint{font-size:12px;line-height:1.3;margin:7px 0;min-height:0}.page-controls{margin:8px 0;gap:8px}.quiet{min-height:44px;font-size:14px;padding:8px 10px}
 .edit-controls{padding-top:10px}.edit-title{margin-bottom:8px;gap:8px}.edit-title strong{font-size:14px}.link-button{min-height:44px;font-size:12px;padding:8px 0}.control-row{gap:8px;margin-bottom:8px}.control-row>label{font-size:14px;min-width:0}.control-row select{min-height:44px;height:44px;max-width:190px;font-size:16px}.slider-group{width:61%;min-height:44px}.slider-group input{min-height:44px}.slider-group span{font-size:12px}.button-set{gap:6px}.button-set .quiet{font-size:12px}.panel-heading{margin-bottom:12px}.panel-heading h2{font-size:18px}.panel-heading .step{display:none}.panel label:not(.upload-btn),.quality{font-size:14px}.panel select,.panel input:not([type=file]){min-height:44px;font-size:16px;padding:8px}.two-cols{gap:10px}.field-help{font-size:12px;margin-top:10px}.upload-btn{min-height:44px;padding:10px 6px;font-size:14px}.gallery-head{margin:12px 0 8px}.gallery-head strong{font-size:14px}.gallery-head span{font-size:12px}.gallery{grid-template-columns:repeat(4,minmax(0,1fr));max-height:none;gap:7px}.gallery button{min-height:44px}.gallery button span{font-size:12px}.empty-gallery{font-size:14px}
 .price-box{margin:0 0 10px;padding:12px}.price-value{font-size:22px}.price-value.unavailable{font-size:16px}.price-note{font-size:12px}.price-line{margin:8px 0}.price-line label{font-size:14px}.price-line input{min-height:44px;font-size:16px}.export-box{margin:0;padding:12px}.export-box p,.export-box .quality{font-size:14px}.quality select{min-height:44px;font-size:16px}.export-primary,.export-secondary{font-size:14px;min-height:44px;padding:11px}.export-box .no-order{font-size:12px}.export-status{font-size:14px}
 .mobile-editor-nav{display:none;position:fixed;z-index:30;bottom:0;left:0;right:0;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;background:#fff;border-top:1px solid var(--line);padding:8px 8px calc(8px + env(safe-area-inset-bottom));box-shadow:0 -4px 18px #20334c0a}.layout:not([hidden])+.mobile-editor-nav{display:grid}.mobile-editor-nav button{min-height:46px;border:0;border-radius:9px;background:white;color:#52647b;font-size:14px;font-weight:750;padding:8px 2px}.mobile-editor-nav button[aria-pressed="true"]{background:#fff0e6;color:#9c461b;box-shadow:inset 0 0 0 1px #f0ba94}
 .toast{bottom:calc(80px + env(safe-area-inset-bottom));font-size:14px;padding:10px 14px}
}
@media(max-width:360px){.wizard-head h1{font-size:21px}.wizard-progress button{font-size:12px}.wizard-progress button span{font-size:11px}.choice-group button{padding:8px;font-size:13px}.mobile-editor-nav button{font-size:12px}.product-card strong{font-size:13px}.top-center strong{font-size:11px}.top-center span{font-size:10px}.two-cols{grid-template-columns:1fr}.button-set .quiet{padding:7px;font-size:11px}}

.mobile-photo-tools{display:none}.photo-tools>summary{display:none}.photo-tools:not([open])>.button-set{display:flex}
@media(max-width:760px){
 .wizard-head{display:none}.wizard-shell{margin-top:12px}.product-card[data-product="single"]{grid-column:1/-1;display:grid;grid-template-columns:80px 1fr;column-gap:10px;align-items:center}.product-card[data-product="single"] .product-visual{grid-row:span 2;height:70px}.product-card[data-product="single"] strong{align-self:end}.product-card[data-product="single"]>span{align-self:start}.disabled-card{grid-row:auto}
 .product-visual .mini-sheet{position:absolute;transform:scale(.46)}.product-visual{position:relative}
 #spiralOptions>.wizard-muted{display:none}.preview-wrap canvas{max-height:min(32svh,300px)}
 .photo-tools>summary{display:block;cursor:pointer;font-size:14px;min-height:44px;padding:12px 0;font-weight:700;color:#8c4f2d}.photo-tools:not([open])>.button-set{display:none}.photo-tools[open]>.button-set{display:flex;flex-wrap:wrap}.photo-tools .button-set .quiet{flex:1 1 40%}
 .mobile-photo-tools{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:10px}.mobile-photo-tools span{font-size:12px}
+}

@media(max-width:760px){#slotRow{display:none}}


/* V15.10 — BIGFOTO actions: one consistent set of symbols and touch states. */
.bf-icon{width:20px;height:20px;flex:0 0 20px;vertical-align:middle;pointer-events:none}
.quiet,.export-primary,.export-secondary,.upload-btn,.wizard-file-button{align-items:center;justify-content:center;gap:8px}
.quiet:has(.bf-icon),.export-primary:has(.bf-icon),.wizard-file-button{display:inline-flex}
button,.upload-btn,.wizard-file-button{transition:background .16s,border-color .16s,box-shadow .16s,transform .16s}
button:active:not(:disabled),.upload-btn:active,.wizard-file-button:active{transform:scale(.975)}
button:focus-visible,label:focus-within,summary:focus-visible{outline:3px solid #faad7d;outline-offset:3px}
.wizard-primary,.export-primary{background:linear-gradient(120deg,#ef7838,#df5e27);box-shadow:0 4px 10px #df672629;border-radius:14px}
.wizard-primary:hover,.export-primary:hover{background:linear-gradient(120deg,#e96829,#cc4f1f)}
.wizard-primary{display:inline-flex;align-items:center;justify-content:center;gap:12px}
.wizard-primary:after{content:"";width:20px;height:20px;background:currentColor;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M5 12h14m-6-6 6 6-6 6'/%3E%3C/svg%3E") center/contain no-repeat}
#prevPage,#nextPage{border-radius:13px;min-height:46px;flex:1}
#prevPage{background:#fff;border-color:#dce3eb;color:#52657c}
#nextPage{background:#243e57;border-color:#243e57;color:white;box-shadow:0 3px 8px #20334c14}
#prevPage .bf-icon,#nextPage .bf-icon{width:22px;height:22px;flex-basis:22px}
#nextPage:disabled,#prevPage:disabled{background:#f4f6f8;border-color:#e7ebef;color:#9ba5b2;box-shadow:none;opacity:1}
.primary-upload{background:#243e57;border:1px solid #243e57;border-radius:13px}
.camera-upload{background:#fff;border:1px solid #dce3eb;color:#435a70;border-radius:13px}
.upload-btn .bf-icon,.wizard-file-button .bf-icon{width:19px;height:19px;flex-basis:19px}
.product-card,.style-choice{position:relative}
.product-card.selected:after,.style-choice.selected:after{content:"✓";position:absolute;top:7px;right:7px;width:22px;height:22px;display:grid;place-items:center;background:#e87332;color:#fff;font-size:14px;line-height:1;border:2px solid white;border-radius:50%;box-shadow:0 2px 6px #9d431e25}
.choice-group button.selected{background:#fff0e5;border-color:#e77432;color:#93401b}
.panel select,.control-row select,.mobile-context select,.mobile-year{appearance:none;padding-right:30px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23536a80' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='m7 10 5 5 5-5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 9px center}
.print-quality{display:flex;align-items:center;gap:7px}.print-quality:before{content:"✓";display:grid;place-items:center;width:18px;height:18px;background:#e8f4ee;color:#287251;border-radius:50%;font-weight:800}
.photo-tools>summary,.advanced-export>summary{list-style:none;display:flex;align-items:center;gap:9px}.photo-tools>summary::-webkit-details-marker,.advanced-export>summary::-webkit-details-marker{display:none}
.photo-tools>summary:after,.advanced-export>summary:after{content:"+";width:24px;height:24px;border-radius:8px;background:#f3f5f8;display:grid;place-items:center;margin-left:auto;color:#4e657e;font-size:19px;font-weight:500}
.photo-tools[open]>summary:after,.advanced-export[open]>summary:after{content:"−"}
@media(min-width:761px){.photo-tools>summary{display:none}}
@media(max-width:760px){
 .mobile-editor-nav{padding-top:6px;padding-bottom:calc(6px + env(safe-area-inset-bottom));border-radius:18px 18px 0 0;box-shadow:0 -5px 18px #243e5709}
 .mobile-editor-nav button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:53px;border-radius:12px;font-size:12px;position:relative}
 .mobile-editor-nav .bf-icon{width:21px;height:21px;flex:0 0 21px}
 .mobile-editor-nav button[aria-pressed="true"]{background:#fff0e6;color:#a2441b;box-shadow:none}
 .mobile-editor-nav button[aria-pressed="true"]:after{content:"";position:absolute;width:14px;height:3px;border-radius:9px;background:#e77432;bottom:3px}
 .mobile-editor-nav button[aria-pressed="true"] .bf-icon{stroke-width:2.2}
 .page-controls{gap:10px}.quiet{border-radius:12px}
 .photo-tools>summary{color:#63554b;font-weight:650}.photo-tools>summary:after{background:#fff0e6;color:#a34c23}
 .upload-btn{gap:6px;font-size:13px}.wizard-file-button{gap:6px;font-size:13px}
 .product-card.selected,.style-choice.selected{box-shadow:0 0 0 1px #f5c3a3}
 .export-primary{min-height:48px}.wizard-primary{min-height:46px}
}
@media(prefers-reduced-motion:reduce){button,.upload-btn,.wizard-file-button{transition:none}button:active:not(:disabled),.upload-btn:active,.wizard-file-button:active{transform:none}}

/* V15.11: photographic product windows and gentle material depth. */
.product-visual .product-mockup{display:block;width:100%;height:100%;object-fit:contain;background:#eeece8;border-radius:9px}
.style-photo span,.style-photo span:nth-child(2),.style-photo span:nth-child(3){background-image:url('../../assets/premium/sample-photo.webp');background-size:cover;background-position:center}
.style-photo span:nth-child(2){background-position:25% center}.style-photo span:nth-child(3){background-position:75% center}
.product-card,.style-choice{background:linear-gradient(#fff,#fcfdfe);box-shadow:inset 0 1px 0 #fff,0 2px 4px #20334c07,0 7px 17px #20334c0b}
.product-card.selected,.style-choice.selected{box-shadow:inset 0 1px 0 #fff,0 0 0 1px #f2bd9c,0 8px 18px #b65b2c12}
.wizard-primary,.export-primary{background:linear-gradient(145deg,#fc9a55,#e77131 65%,#db6226);border:1px solid #e57434;box-shadow:inset 0 1px 0 #ffd0a5,0 3px 0 #ba4e20,0 7px 14px #d6662926}
#nextPage,.primary-upload{background:linear-gradient(145deg,#3c5872,#263f57 65%,#20364a);border-color:#263d53;box-shadow:inset 0 1px 0 #69819866,0 3px 0 #172b3d,0 7px 13px #243e571e}
.quiet:not(#nextPage):not(:disabled),.camera-upload,.wizard-file-button.secondary{background:linear-gradient(#fff,#f6f8fa);border-color:#d7e0e9;box-shadow:inset 0 1px 0 #fff,0 2px 0 #dce3ea,0 5px 10px #20334c09}
.wizard-primary:active,.export-primary:active,#nextPage:active,.primary-upload:active{transform:translateY(2px);box-shadow:inset 0 1px 0 #ffffff55,0 1px 0 #243e5740,0 2px 5px #20334c15}
.quiet:not(:disabled):active,.camera-upload:active{transform:translateY(1px);box-shadow:inset 0 1px 2px #20334c12,0 1px 0 #dce3ea}
button:disabled{box-shadow:none}
.mobile-editor-nav button[aria-pressed="true"]{background:linear-gradient(#fff5eb,#ffebdc);box-shadow:inset 0 1px 0 #fff,0 2px 5px #c66b3214}
@media(max-width:760px){.product-visual{height:83px}.product-card[data-product="single"] .product-visual{height:76px}.product-card .product-visual .product-mockup{position:static;transform:none}.style-sheet{box-shadow:0 4px 10px #20334c2a}.wizard-primary{box-shadow:inset 0 1px 0 #ffd0a5,0 3px 0 #ba4e20,0 6px 12px #d6662926}}
@media(prefers-reduced-motion:reduce){.wizard-primary:active,.export-primary:active,#nextPage:active,.primary-upload:active,.quiet:not(:disabled):active,.camera-upload:active{transform:none}}
.style-visual{position:relative}.style-visual .style-sheet{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%)}
@media(max-width:760px){.style-visual .style-sheet{transform:translate(-50%,-50%) scale(.44)}}

.quick-photo-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:10px 0 7px}.quick-photo-heading>span{font-size:13px;font-weight:700}.quick-photo-heading .quiet{flex:0 0 auto;min-height:44px;font-size:13px}.quick-photo-gallery{display:flex;gap:7px;overflow-x:auto;max-width:100%;padding:3px 2px 8px}.quick-photo-gallery button{width:58px;height:58px;flex:0 0 58px;padding:0;border:2px solid transparent;border-radius:9px;overflow:hidden;background:#edf1f4}.quick-photo-gallery button[aria-pressed="true"]{border-color:#e87332}.quick-photo-gallery img{display:block;width:100%;height:100%;object-fit:cover}
@media(max-width:760px){.preview-wrap canvas{max-height:min(25svh,250px)}.quick-photo-gallery button{width:50px;height:50px;flex-basis:50px}.quick-photo-heading{margin:7px 0 4px}.quick-photo-heading>span{font-size:12px}.quick-photo-heading .quiet{padding:7px 9px;font-size:12px}}
