:root{font-family:system-ui,sans-serif;color:#241b18;background:#f8f4f0}body{margin:0}main{max-width:44rem;margin:auto;padding:1.5rem 1rem 4rem}h1{font-size:2.2rem;line-height:1.05;margin:.35rem 0}.eyebrow{font-size:.75rem;letter-spacing:.16em;font-weight:800;color:#b51f3d}.lede,.muted{color:#70645e}.steps{display:flex;gap:1.25rem;border-bottom:1px solid #dbcfc7;padding:1rem 0;color:#9b8c84;font-size:.9rem}.steps .active{color:#b51f3d;font-weight:800}.card,.cart-banner,.success{background:#fff;border-radius:1rem;padding:1rem;margin:1rem 0;box-shadow:0 2px 14px #29150d12}.photo-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:.75rem}.photo-tile{padding:0;border:0;background:#f3ece7;border-radius:.75rem;overflow:hidden;text-align:left;color:#b51f3d;font-weight:700}.photo-tile img{width:100%;height:9rem;object-fit:cover;display:block}.photo-tile span{display:block;padding:.7rem}.crop-stage{position:relative;background:#211b18;border-radius:.75rem;overflow:hidden;line-height:0;touch-action:none}.crop-stage img{width:100%;max-height:28rem;object-fit:contain}.crop-box{position:absolute;border:4px solid #fff;box-shadow:0 0 0 9999px #0009,0 0 0 1px #b51f3d;cursor:move}.controls{display:grid;grid-template-columns:1fr 1fr;gap:.75rem}label{display:block;font-weight:700;margin:1rem 0}input,select,button{box-sizing:border-box;width:100%;font:inherit;padding:.8rem;border-radius:.55rem;border:1px solid #c9bdb5;margin-top:.35rem}button{background:#fff;color:#b51f3d;font-weight:750;cursor:pointer}.primary{background:#b51f3d;color:#fff;border:0}.actions{display:grid;grid-template-columns:1fr 1fr;gap:.75rem;margin-top:1rem}.cart-banner{display:flex;align-items:center;justify-content:space-between;gap:.75rem}.cart-banner button{width:auto;margin:0}.section-title,.total{display:flex;justify-content:space-between;align-items:center}.cart-item{display:flex;gap:.75rem;border-top:1px solid #eee4de;padding:.75rem 0}.cart-item img{width:4.5rem;height:4.5rem;object-fit:cover;border-radius:.5rem}.cart-item span,.cart-item strong{display:block}.remove{width:auto;padding:.25rem .5rem;border:0;margin:.3rem 0 0;color:#a74732}.total{border-top:1px solid #dbcfc7;padding-top:1rem;margin-top:1rem;font-size:1.2rem}.success{border-left:.4rem solid #287a4a}.orders{list-style:none;padding:0}.orders li{background:#fff;padding:1rem;margin:.5rem 0;border-radius:.5rem}.back{width:auto;border:0;padding:0;margin:0}.editor-head{display:flex;justify-content:space-between;align-items:center;font-weight:800}.stepper{display:flex;align-items:center;gap:.5rem}.stepper button{width:3rem;height:3rem;padding:0;font-size:1.5rem;background:#f3ece7}.stepper strong{min-width:2rem;text-align:center;font-size:1.2rem}#upload input{padding:.7rem;background:#f3ece7;border:2px dashed #b51f3d}#upload button{display:none}

/* Milestone 3.2 small-screen layout */
.compact-grid{display:flex;gap:.5rem;overflow-x:auto;padding:.25rem 0}.compact-grid img{width:64px;height:64px;flex:0 0 64px;object-fit:cover;border-radius:.5rem}.wide{margin-top:1rem}.editor-card{padding:.75rem}.editor-meta{display:flex;flex-direction:column;gap:.2rem;margin-bottom:.5rem}.editor-meta span{color:#70645e;font-size:.9rem}.photo-strip{display:flex;gap:.4rem;overflow-x:auto;padding:.2rem 0 .5rem}.strip-thumb{position:relative;flex:0 0 58px;width:58px;height:58px;padding:2px;margin:0;border:2px solid transparent;border-radius:.45rem}.strip-thumb.active{border-color:#b51f3d}.strip-thumb img{width:100%;height:100%;object-fit:cover;border-radius:.3rem}.strip-thumb small{position:absolute;bottom:2px;right:3px;background:#241b18;color:#fff;border-radius:50%;width:16px;height:16px;font-size:11px}.crop-explainer{font-weight:700;font-size:.88rem;margin:.4rem 0}.crop-stage{height:330px;max-height:calc(100vw - 48px);display:grid;place-items:center}.crop-stage img{max-width:100%;max-height:100%;object-fit:contain}.crop-box{position:absolute;box-sizing:border-box}.editor-actions{display:grid;grid-template-columns:1fr 1fr;gap:.5rem}.upload-status{font-weight:700;color:#b51f3d}.upload-error{color:#a74732;font-weight:700}.review-line{display:flex;gap:.6rem;align-items:center;padding:.5rem 0;border-bottom:1px solid #eee4de}.review-line img{width:48px;height:48px;object-fit:cover;border-radius:.4rem}.choose-photos{display:block;background:#b51f3d;color:#fff;text-align:center;padding:1rem;border-radius:.6rem;font-weight:800}.choose-photos input{position:absolute;opacity:0;width:1px;height:1px}
@media(max-width:420px){main{padding:1rem .75rem 2rem}.crop-stage{height:310px}.card{margin:.65rem 0;padding:.75rem}}

/* Cropper.js mobile viewport */
.crop-stage{height:330px;max-height:calc(100vw - 32px);overflow:hidden}.crop-stage .cropper-container{height:100%!important;width:100%!important}.crop-stage .cropper-view-box{outline:2px solid #fff;outline-color:rgba(255,255,255,.95)}.crop-tools{display:grid;grid-template-columns:1fr 1fr 1fr;gap:.5rem;margin:.5rem 0}.crop-tools button{min-height:2.7rem}.crop-stage>img{max-width:100%;max-height:100%}
@media(max-width:420px){.crop-stage{height:310px;max-height:calc(100vw - 28px)}}

/* Focused mobile controls */
.size-picker{margin:1rem 0 0}.field-label{display:block}.size-picker-control{position:relative;display:block}.size-picker-control select{appearance:none;-webkit-appearance:none;background:#fffaf7;border:1.5px solid #b51f3d;color:#241b18;font-weight:800;min-height:2.85rem;padding:.75rem 2.7rem .75rem .85rem;margin-top:.4rem}.size-picker-chevron{position:absolute;right:.9rem;top:50%;transform:translateY(-38%);color:#b51f3d;font-size:1.35rem;line-height:1;pointer-events:none}.stepper,.stepper button{touch-action:manipulation}.stepper button{-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}
.product-choice{display:grid;grid-template-columns:1fr 1fr;gap:.5rem;margin:.75rem 0}.product-choice-button{min-height:3rem;margin:0;padding:.6rem .55rem;border:1px solid #dbcfc7;background:#fff;color:#70645e;line-height:1.1}.product-choice-button.active{border-color:#b51f3d;background:#fff4f1;color:#b51f3d;box-shadow:inset 0 0 0 1px #b51f3d}.product-choice-button small{display:block;margin-top:.25rem;font-size:.72rem;font-weight:600}.product-fixed{display:flex;flex-direction:column;justify-content:center;min-height:3rem;padding-top:.35rem}.product-fixed span{font-weight:700}.product-fixed strong{color:#b51f3d;margin-top:.2rem}
.product-photo-head{display:flex;align-items:center;gap:.75rem;margin-bottom:.75rem}.product-photo-head img{width:64px;height:64px;object-fit:cover;border-radius:.55rem}.product-photo-head strong,.product-photo-head span{display:block}.product-photo-head span{color:#70645e;margin-top:.2rem}.product-options{display:grid;grid-template-columns:1fr 1fr;gap:.6rem}.product-card{display:flex;flex-direction:column;align-items:flex-start;gap:.25rem;text-align:left;margin:0;min-height:7rem;padding:.8rem;background:#fff;border:1.5px solid #dbcfc7}.product-card span{color:#70645e;font-size:.82rem}.product-card b{margin-top:auto;color:#b51f3d}.product-card.selected{border-color:#b51f3d;background:#fff4f1;box-shadow:inset 0 0 0 1px #b51f3d}.steps [data-step]{white-space:nowrap}
.batch-actions{display:grid;gap:.65rem;margin-top:1rem}.strip-thumb.excluded{opacity:.45}.cart-review-line{align-items:flex-start}.review-content{flex:1}.review-content>span{display:block;color:#70645e;margin-top:.15rem}.cart-row-controls{display:flex;align-items:center;justify-content:space-between;gap:.6rem;margin-top:.55rem}.cart-row-controls .stepper{gap:.25rem}.cart-row-controls .stepper button{width:2.35rem;height:2.35rem}.cart-row-controls .remove{margin:0;width:auto;background:transparent}
@media(max-width:420px){.steps{gap:.45rem;justify-content:space-between;font-size:.75rem}.product-options{gap:.45rem}.product-card{padding:.65rem;font-size:.86rem}}

/* V2 customer and operator presentation */
:root{--pic-eros-red:#a84137;--pic-eros-ink:#231f20;--pic-eros-cream:#fbf6f1;--pic-eros-line:#dfd0c7}
body{background:var(--pic-eros-cream);color:var(--pic-eros-ink)}
main{padding-bottom:calc(5rem + env(safe-area-inset-bottom))}.site-header{display:flex;align-items:center;justify-content:center;padding:.2rem 0 1.15rem}.site-header .brand{display:block;width:min(220px,62vw);margin:0}.site-header .brand img{display:block;width:100%;height:auto}.steps{position:sticky;top:0;z-index:5;background:color-mix(in srgb,var(--pic-eros-cream) 94%,transparent);backdrop-filter:blur(8px);border-color:var(--pic-eros-line);justify-content:space-between;gap:.5rem}.steps [data-step]{font-size:.78rem;transition:color .15s ease}.steps [data-step].active{color:var(--pic-eros-red);font-weight:850}.stage-heading{padding:.3rem 0 .4rem}.stage-heading h1{font-size:clamp(1.8rem,8vw,2.45rem);margin:.75rem 0 .2rem}.back-link{width:auto;padding:0;margin:0;background:transparent;border:0;color:var(--pic-eros-red);font-weight:800;text-align:left}.primary-button,.secondary-button,.text-button{display:inline-flex;align-items:center;justify-content:center;min-height:48px;margin:.35rem 0 0;text-decoration:none}.primary-button{background:var(--pic-eros-red);border-color:var(--pic-eros-red);color:#fff}.secondary-button{background:#fff;border-color:var(--pic-eros-red);color:var(--pic-eros-red)}.text-button{width:auto;padding:.35rem .5rem;background:transparent;border:0;color:var(--pic-eros-red);font-weight:800}.text-button:disabled,.primary-button:disabled,.secondary-button:disabled{opacity:.48;cursor:not-allowed}.order-pill{position:sticky;top:3.25rem;z-index:4;width:100%;min-height:46px;margin:.5rem 0;padding:.65rem .85rem;border:1.5px solid var(--pic-eros-red);background:#fff8f5;color:var(--pic-eros-red);font-weight:850;text-align:center}.customer-notice{padding:.75rem .9rem;border-radius:.65rem;background:#fff1eb;color:#8e3028;font-weight:750}.photo-intro{padding:1.15rem}.photo-intro h1{font-size:clamp(2rem,10vw,3rem)}.choose-photos{display:flex;align-items:center;justify-content:center;min-height:64px;margin-top:1rem;background:var(--pic-eros-red);border-radius:.8rem;color:#fff;font-size:1.05rem}.choose-photos input{position:absolute;width:1px;height:1px;opacity:0}.photo-summary{padding:1rem}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:.5rem}.section-heading h2{margin:0;font-size:1.1rem}.ready-badge{color:#287a4a;font-weight:800}.compact-grid{gap:.55rem;scrollbar-width:none}.compact-grid img{width:64px;height:64px;flex-basis:64px;border:2px solid #fff;box-shadow:0 1px 4px #231f2022}.upload-status,.upload-success{font-weight:800;color:var(--pic-eros-red)}.upload-error{margin-top:1rem;padding:.7rem;border-radius:.6rem;background:#fff1eb;color:#8e3028;font-weight:750}.product-options{display:grid;grid-template-columns:1fr 1fr;gap:.7rem}.product-card.retail-card{display:flex;align-items:flex-start;gap:.4rem;min-height:13.5rem;padding:.85rem;text-align:left;border:1.5px solid var(--pic-eros-line);border-radius:1rem;background:#fff;box-shadow:0 4px 15px #231f2010}.product-card.retail-card strong{font-size:1.05rem}.product-card.retail-card>span:not(.product-visual){font-size:.82rem;line-height:1.25;color:#70645e}.product-card.retail-card b{margin-top:auto;color:var(--pic-eros-red)}.product-visual{position:relative;display:flex;align-items:center;justify-content:center;width:100%;height:6rem;border-radius:.7rem;background:#f4e7df;overflow:hidden}.print-visual span{position:absolute;width:3.5rem;height:4.6rem;background:#fff;border:1px solid #cfb9ac;border-radius:.15rem;box-shadow:0 3px 7px #231f2020}.print-visual span:nth-child(1){transform:translate(-.65rem,.25rem) rotate(-9deg)}.print-visual span:nth-child(2){transform:translate(.35rem,-.15rem) rotate(4deg)}.print-visual span:nth-child(3){transform:translate(.05rem,.15rem) rotate(-1deg);background:linear-gradient(140deg,#e2a390 0 45%,#7f9b93 46% 100%)}.magnet-visual span{width:4.4rem;height:4.4rem;border-radius:.6rem;background:linear-gradient(145deg,#d48776 0 45%,#809991 46% 100%);border:.5rem solid #fff;box-shadow:0 3px 10px #231f2030;transform:rotate(-5deg)}.resume-card,.added-card{padding:1rem;margin:1rem 0;border-radius:1rem;background:#fff;border:1px solid var(--pic-eros-line);box-shadow:0 2px 12px #231f2010}.resume-card{display:flex;align-items:center;justify-content:space-between;gap:.6rem;flex-wrap:wrap}.resume-card .secondary-button{width:auto;padding:.5rem .75rem}.added-card{text-align:center;border-color:#b7d7bf}.success-check{display:grid;place-items:center;width:3rem;height:3rem;margin:.2rem auto .5rem;border-radius:50%;background:#287a4a;color:#fff;font-size:1.75rem;font-weight:900}.added-actions{display:grid;grid-template-columns:1fr 1fr;gap:.6rem}.selection-actions{display:flex;gap:.5rem;margin-top:.7rem}.photo-selection{display:grid;grid-template-columns:repeat(3,1fr);gap:.6rem}.select-photo{position:relative;width:100%;padding:.2rem;margin:0;border:2px solid transparent;border-radius:.75rem;background:#fff;text-align:left}.select-photo.selected{border-color:var(--pic-eros-red);box-shadow:0 0 0 2px #a8413733}.select-photo.excluded{opacity:.42}.select-photo img{display:block;width:100%;aspect-ratio:1;object-fit:cover;border-radius:.55rem}.select-photo small{display:block;padding:.25rem .2rem;font-weight:750}.select-check{position:absolute;top:.45rem;right:.45rem;display:grid;place-items:center;width:1.45rem;height:1.45rem;border-radius:50%;background:var(--pic-eros-red);color:#fff;font-weight:900}.sticky-action{position:sticky;bottom:0;z-index:4;margin:1rem -1rem calc(-1 * env(safe-area-inset-bottom));padding:.7rem 1rem calc(.7rem + env(safe-area-inset-bottom));background:linear-gradient(180deg,transparent,var(--pic-eros-cream) 24%)}.sticky-action .wide{margin:0}.editor-meta{display:flex;flex-direction:column;gap:.28rem;margin:.65rem 0}.editor-meta strong{font-size:1.2rem}.editor-meta span{font-weight:750;color:#70645e}.photo-strip{padding:.2rem 0 .65rem}.strip-thumb{width:62px;height:62px;flex-basis:62px}.strip-thumb.active{border-color:var(--pic-eros-red);box-shadow:0 0 0 2px #a8413733}.strip-thumb small{background:var(--pic-eros-ink)}.crop-explainer{padding:.65rem .75rem;border-radius:.6rem;background:#f2e8e1;font-size:.84rem;line-height:1.3}.crop-stage{height:min(350px,calc(100vw - 2rem));max-height:none;margin-top:.65rem;border-radius:.85rem}.crop-stage .cropper-container{height:100%!important;width:100%!important}.crop-stage .cropper-view-box{outline:2px solid #fff}.crop-tools{display:grid;grid-template-columns:repeat(4,1fr);gap:.45rem;margin:.55rem 0}.crop-tools button{min-height:42px;margin:0;padding:.45rem .2rem;font-size:.82rem}.editor-controls{display:grid;gap:.75rem}.size-picker,.orientation-control,.quantity-control{margin:.25rem 0}.orientation-buttons{display:grid;grid-template-columns:1fr 1fr;gap:.5rem}.orientation-buttons button{min-height:46px;margin:.35rem 0 0;background:#fff}.orientation-buttons button.active{border-color:var(--pic-eros-red);background:#fff1eb;color:var(--pic-eros-red);box-shadow:inset 0 0 0 1px var(--pic-eros-red)}.fixed-product{display:flex;align-items:center;justify-content:space-between;padding:.75rem;border:1px solid var(--pic-eros-line);border-radius:.6rem;background:#fff}.fixed-product strong{color:var(--pic-eros-red)}.quantity-control .stepper{justify-content:center;gap:1rem;margin-top:.35rem}.quantity-control .stepper button{width:3.25rem;height:3rem;margin:0;font-size:1.45rem}.quantity-control .stepper strong{min-width:2.5rem}.include-toggle{justify-content:flex-start;padding-left:0}.review-card,.contact-card{padding:1rem}.review-line{align-items:flex-start;gap:.75rem;padding:.8rem 0}.review-line img{width:64px;height:64px;flex:0 0 64px}.review-content>strong{display:block;font-size:1rem}.cart-row-controls{flex-wrap:wrap;justify-content:flex-start}.cart-row-controls .stepper{gap:.25rem}.cart-row-controls .stepper button{width:2.4rem;height:2.4rem;margin:0}.cart-row-controls .text-button{min-height:40px;margin:0}.totals{margin-top:1rem;padding-top:.75rem;border-top:1px solid var(--pic-eros-line)}.totals p{display:flex;justify-content:space-between;margin:.45rem 0}.totals .grand{font-size:1.3rem;font-weight:900}.payment-note{padding:.7rem;border-radius:.55rem;background:#f2e8e1;color:#5f514b;font-size:.9rem}.confirmation-card{text-align:center;padding:1.4rem 1rem;border-radius:1.1rem;background:#fff;box-shadow:0 3px 18px #231f2015}.confirmation-icon{width:4rem;height:4rem;margin:.2rem auto 1rem}.confirmation-card h1{font-size:2.35rem;color:var(--pic-eros-ink)}.order-reference{font-size:1.1rem}.confirmation-total{font-size:2rem;font-weight:900;color:var(--pic-eros-red)}.confirmation-card .primary-button{width:100%;margin-top:1rem}.branded-page{max-width:68rem}.operator-heading{padding:.5rem 0 1rem}.operator-heading h1{font-size:2.8rem}.operator-orders{display:grid;gap:1rem}.operator-order-card{padding:1.1rem;border-radius:1rem;background:#fff;box-shadow:0 2px 14px #231f2012}.operator-card-top{display:flex;justify-content:space-between;gap:.5rem}.order-reference{font-weight:900;color:var(--pic-eros-red);letter-spacing:.04em}.status-pill{padding:.25rem .5rem;border-radius:999px;background:#f2e8e1;color:#5f514b;font-size:.78rem;font-weight:800}.operator-order-card h2{margin:.45rem 0 0}.operator-order-card p{margin:.3rem 0}.operator-meta{color:#70645e;font-size:.9rem}.production-summary{font-weight:800}.operator-order-card .primary-button{width:auto;padding:.45rem .75rem;margin-top:.7rem}.operator-detail-head dl{display:grid;grid-template-columns:auto 1fr;gap:.35rem .8rem;max-width:32rem}.operator-detail-head dt{font-weight:850;color:#70645e}.operator-detail-head dd{margin:0}.operator-production{margin-top:1.5rem}.production-group{padding:1rem 0;border-top:1px solid var(--pic-eros-line)}.production-group h2{margin:.25rem 0 .75rem}.production-item{display:flex;gap:1rem;align-items:center;padding:.8rem 0;border-top:1px solid #eee4de}.production-item img{width:112px;height:84px;object-fit:cover;border-radius:.6rem}.production-item h3{margin:0}.production-item p{color:#70645e;margin:.35rem 0}.production-item .secondary-button{width:auto;padding:.45rem .7rem;margin:0}.technical-section{margin-top:1rem;padding:1rem;border-radius:.8rem;background:#fff}.technical-section summary{font-weight:850;cursor:pointer}.technical-section ul{padding-left:1.2rem}.operator-login{max-width:28rem;margin:2rem auto;padding:1.3rem;border-radius:1rem;background:#fff}.empty-state{padding:1rem;border-radius:.8rem;background:#fff;color:#70645e}
@media(min-width:700px){.operator-orders{grid-template-columns:repeat(2,minmax(0,1fr))}.branded-page .site-header{justify-content:flex-start}.photo-selection{grid-template-columns:repeat(5,1fr)}}
.operator-filters{display:flex;gap:.5rem;flex-wrap:wrap;margin-top:1rem}.operator-filter{padding:.5rem .8rem;border:1px solid var(--pic-eros-line);border-radius:999px;background:#fff;color:var(--pic-eros-ink);font-weight:800;text-decoration:none}.operator-filter.active{border-color:var(--pic-eros-red);background:#fff1eb;color:var(--pic-eros-red)}.source-badge{display:inline-block;padding:.25rem .5rem;border-radius:999px;background:#eee4de;color:#5f514b;font-size:.72rem;font-weight:900;letter-spacing:.06em}.source-kiosk{background:#e7eefb;color:#2e4f8b}.source-mobile{background:#e8f4eb;color:#287a4a}
.product-card.retail-card .product-image{display:block;width:100%;height:8rem;object-fit:cover;border-radius:.7rem;aspect-ratio:4/3}.product-card.retail-card{justify-content:flex-start}.product-card.retail-card strong{margin-top:auto}
@media(max-width:420px){main{padding-left:.75rem;padding-right:.75rem}.sticky-action{margin-left:-.75rem;margin-right:-.75rem;padding-left:.75rem;padding-right:.75rem}.product-options{gap:.5rem}.product-card.retail-card{min-height:12.5rem;padding:.65rem}.product-visual{height:5rem}.crop-stage{height:min(330px,calc(100vw - 1.5rem))}.crop-tools button{font-size:.75rem}.steps [data-step]{font-size:.7rem}}
/* V2 editor keeps only the compact Rotate and Reset actions visible; zoom remains touch-driven. */
.crop-tools{grid-template-columns:repeat(2,1fr)}
.payment-pill{display:inline-block;margin:.35rem 0;padding:.25rem .55rem;border-radius:999px;background:#e8f4eb;color:#287a4a;font-size:.75rem;font-weight:900;letter-spacing:.04em}
