.ppz-photomat{clear:both;width:100%;font:14px/1.5 Arial,sans-serif;color:#173e49;--blue:#087e98;--pale:#edf4f5;--line:#cddfe4;--pm-header:65px;margin-bottom:40px}.ppz-photomat *{box-sizing:border-box}.ppz-photomat [hidden]{display:none!important}.ppz-photomat h1{font:38px/1.2 Georgia,serif;margin:24px 0}.ppz-photomat .intro{padding:14px 18px;background:var(--pale);border-left:3px solid var(--blue);border-radius:6px;margin:0 0 24px}.ppz-photomat .layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:28px;align-items:start}.ppz-photomat .preview{position:sticky;top:calc(var(--pm-header) + 12px);min-width:0}.ppz-photomat .stage{position:relative;background:var(--pale);border-radius:10px;min-height:360px;height:430px;overflow:hidden}.ppz-photomat .stage>.pm-drawing{display:block;width:calc(100% - 110px);height:100%}.ppz-photomat .tools{position:absolute;right:8px;top:8px;display:grid;grid-template-columns:40px 40px;gap:5px}.ppz-photomat .tools button{height:40px;width:40px;padding:8px;display:grid;place-items:center;background:#fff;border:1px solid var(--line);border-radius:7px;color:var(--blue)}.ppz-photomat #pm-expand{grid-column:2;grid-row:1}.ppz-photomat #pm-zoom-in{grid-column:1;grid-row:1}.ppz-photomat #pm-zoom-out{grid-column:1;grid-row:2}.ppz-photomat #pm-rotate{grid-column:2;grid-row:2}.ppz-photomat #pm-center-photo{grid-column:2;grid-row:3}.ppz-photomat .tools svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.ppz-photomat button:disabled{opacity:.4;cursor:default}.ppz-photomat .pm-price{position:absolute;bottom:10px;right:8px;width:96px;text-align:right;display:flex;flex-direction:column;gap:4px}.ppz-photomat .pm-price small{font-size:11px;color:#5c747a;margin:0}.ppz-photomat .pm-price strong{font-size:21px;line-height:1.2;overflow-wrap:anywhere}.ppz-photomat .small-action{min-height:44px;line-height:1.2;padding:6px;border:1px solid #087e98;border-radius:6px;background:#fff;color:#087e98;font-size:12px}.ppz-photomat .summary{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:9px 11px;background:var(--pale);border:1px solid var(--line);border-radius:7px;font-size:12px}.ppz-photomat .summary strong{display:block;font-size:17px}.ppz-photomat .preview>small{display:block;color:#617780;margin:7px 0;font-size:12px}.ppz-photomat .step{border:0;padding:0;margin:0 0 24px;min-width:0}.ppz-photomat .step h2{font:500 17px/1.4 Arial,sans-serif;display:flex;align-items:center;gap:10px;background:var(--pale);border-left:3px solid var(--blue);border-radius:5px;padding:10px 12px;margin:0 0 13px;color:var(--blue)}.ppz-photomat .step h2 span{border-radius:50%;background:var(--blue);color:#fff;width:24px;height:24px;display:inline-grid;place-items:center;font-size:13px;flex-shrink:0}.ppz-photomat .row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}.ppz-photomat label,.ppz-photomat .pm-select-label{display:block;font-size:13px;margin-bottom:10px}.ppz-photomat :is(input[type=number],select,textarea,input[type=file]){display:block;width:100%;margin:6px 0 0;min-height:44px;padding:9px 11px;border:1px solid var(--line);border-radius:7px;background:#fff;font:15px/1.5 Arial,sans-serif;color:#173e49}.ppz-photomat input[type=file]{font-size:13px;background:var(--pale)}.ppz-photomat textarea{min-height:90px;resize:vertical}.ppz-photomat .choices{display:flex;gap:10px;margin:0 0 12px}.ppz-photomat .choices label{display:flex;align-items:center;gap:7px;background:#fff;border:1px solid var(--line);padding:9px 12px;border-radius:6px;flex:1;margin:0}.ppz-photomat :is(input[type=radio],input[type=checkbox]){appearance:auto;position:static;opacity:1;accent-color:var(--blue);min-width:16px;min-height:16px}.ppz-photomat .note{color:#5d747d;font-size:12px}.ppz-photomat .notice{padding:12px 15px;border-left:3px solid var(--blue);background:var(--pale);margin:8px 0 14px;border-radius:5px}.ppz-photomat .error{border-color:#aa4c30;color:#8b3b24;background:#fff4ec}.ppz-photomat .action{display:inline-flex;justify-content:center;align-items:center;min-height:44px;padding:9px 14px;background:var(--blue);border:1px solid var(--blue);color:#fff;border-radius:6px;text-decoration:none;font:500 14px/1.5 Arial,sans-serif;width:100%;margin-top:12px}.ppz-photomat .action[aria-disabled=true]{opacity:.55}.ppz-photomat .borders{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1fr);gap:6px 10px;align-items:center}.ppz-photomat .borders label:first-child{grid-column:2}.ppz-photomat .borders label:nth-child(2){grid-column:1}.ppz-photomat .borders label:nth-child(3){grid-column:3}.ppz-photomat .borders label:last-child{grid-column:2}.ppz-photomat .borders input{padding:7px;min-height:40px}.ppz-photomat .changed{animation:pm-highlight 3s ease-out}@keyframes pm-highlight{0%,65%{background:#d8f2f8;box-shadow:0 0 0 3px #9bc8d3}100%{background:#fff;box-shadow:none}}.ppz-photomat .pm-select{position:relative;margin-bottom:12px}.ppz-photomat .pm-select summary{display:flex;gap:8px;align-items:center;min-height:54px;border:1px solid var(--line);border-radius:7px;padding:9px 10px;cursor:pointer;list-style:none}.ppz-photomat .pm-select summary::-webkit-details-marker{display:none}.ppz-photomat .pm-select summary>span:not(.pm-swatch){flex:1;min-width:0}.ppz-photomat .pm-select strong{font-size:13px;font-weight:500}.ppz-photomat .pm-select small{display:block;font-size:11px;line-height:1.3;color:#627780}.ppz-photomat .pm-select summary svg{width:18px;height:18px;fill:none;stroke:#087e98;stroke-width:2;flex-shrink:0}.ppz-photomat .pm-select[open] summary{border-color:var(--blue)}.ppz-photomat .pm-select fieldset{position:absolute;z-index:20;top:100%;left:0;min-width:100%;width:260px;max-width:calc(100vw - 44px);margin:4px 0 0;padding:6px;background:#fff;border:1px solid var(--line);border-radius:8px;box-shadow:0 8px 20px #163d4926}.ppz-photomat .pm-select legend{position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden}.ppz-photomat .pm-select label{display:flex;align-items:center;gap:8px;margin:0;padding:10px 7px;border-radius:5px;cursor:pointer}.ppz-photomat .pm-select label:has(input:checked){background:var(--pale)}.ppz-photomat .pm-select label:has(input:disabled){opacity:.5;cursor:default}.ppz-photomat .row>div:last-child .pm-select fieldset{left:auto;right:0}.ppz-photomat .pm-swatch{display:inline-block;width:19px;height:19px;border:1px solid #b4c7cc;border-radius:3px;flex-shrink:0}.ppz-photomat .pm-select-label{margin-bottom:6px}.ppz-photomat .pm-mount{margin-top:12px}.ppz-photomat .pm-mount fieldset{width:100%}.ppz-photomat .pm-text-button{display:inline;color:var(--blue);background:none;border:0;padding:7px 0;text-align:left;font-size:13px;text-decoration:underline}.ppz-photomat #pm-cancel-edit{display:block;margin:12px;text-align:center}.ppz-photomat dialog{max-width:650px;width:calc(100% - 28px);max-height:calc(100dvh - 28px);overflow:auto;border:1px solid var(--line);border-radius:10px;padding:22px;color:#173e49}.ppz-photomat dialog::backdrop{background:#173e49b0}.ppz-photomat .dialog-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}.ppz-photomat .dialog-head h2{margin:0;font-size:21px}.ppz-photomat .dialog-head button{font-size:25px;background:#fff;border:1px solid var(--line);border-radius:6px;width:42px;height:42px;color:#087e98;flex-shrink:0}.ppz-photomat .review-data{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:18px 0}.ppz-photomat .review-data p{margin:0;padding:7px 0;border-bottom:1px solid var(--line)}.ppz-photomat #pm-expanded .stage{height:min(70vh,620px)}.ppz-photomat #pm-expanded{max-width:1050px}.ppz-photomat table{width:100%;border-collapse:collapse;font-size:13px}.ppz-photomat td,.ppz-photomat th{padding:7px;border-bottom:1px solid var(--line);text-align:left}.ppz-photomat .pm-confirm{display:flex;gap:10px;align-items:center}.ppz-photomat :is(button,a,input,select,textarea,summary):focus-visible{outline:3px solid #8ac8d5;outline-offset:3px}.ppz-photomat [data-photo-drag]{touch-action:none;cursor:move}.ppz-photomat .pm-success-actions{display:flex;gap:12px}.ppz-photomat #pm-quantity-examples{display:flex;gap:8px}.ppz-photomat #pm-quantity-examples p{flex:1;background:var(--pale);border-radius:6px;padding:9px;font-size:12px}.ppz-photomat #pm-quantity-examples strong{display:block}.ppz-photomat #pm-success{scroll-margin-top:calc(var(--pm-header) + 20px)}
@media(max-width:760px){.ppz-photomat .layout{display:block}.ppz-photomat .preview{z-index:4;background:#fff;top:var(--pm-header);margin-bottom:20px}.ppz-photomat:not(.has-photo) .preview{display:none}.ppz-photomat .stage{height:clamp(260px,34svh,300px);min-height:0}.ppz-photomat .summary{font-size:11px;padding:6px 9px}.ppz-photomat .summary strong{font-size:14px}.ppz-photomat h1{font-size:30px}.ppz-photomat .preview>small{display:none}.ppz-photomat .intro{font-size:13px}.ppz-photomat .row{gap:9px}.ppz-photomat .step{margin-bottom:21px}.ppz-photomat .stage>.pm-drawing{width:calc(100% - 94px)}.ppz-photomat .pm-price{width:86px;gap:3px;bottom:8px}.ppz-photomat .pm-price strong{font-size:18px}.ppz-photomat .pm-price small{font-size:10px}.ppz-photomat .tools{grid-template-columns:36px 36px;gap:4px}.ppz-photomat .tools button{width:36px;height:36px}.ppz-photomat .choices label{font-size:13px;padding:8px}.ppz-photomat dialog{padding:15px}.ppz-photomat .review-data{font-size:13px}.ppz-photomat .pm-select fieldset{width:240px}.ppz-photomat .pm-success-actions{flex-direction:column}}
@media(prefers-reduced-motion:reduce){.ppz-photomat .changed{animation:none;background:#d8f2f8}}

.ppz-photomat .summary{float:none!important;width:100%!important;margin:0!important}.ppz-photomat .pm-price strong{white-space:nowrap;overflow-wrap:normal}

/* PHOTOMAT03: shared upload treatment and explicit dropdown indicators. */
.ppz-photomat label.pm-upload{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:4px;border:1px dashed #d4e2e5;background:#eef6f7;border-radius:9px;padding:16px;overflow:hidden;cursor:pointer;margin:0 0 10px;font:12px/1.5 Roboto,sans-serif;color:#163d49}
.ppz-photomat .pm-upload strong{font-size:12px;font-weight:500}.ppz-photomat .pm-upload small{font-size:11px;color:#5a6f76}
.ppz-photomat .pm-upload input[type=file]{position:absolute;inset:0;opacity:0;width:100%;height:100%;margin:0;padding:0;border:0;cursor:inherit}
.ppz-photomat .pm-upload:focus-within{outline:2px solid var(--blue);outline-offset:3px}
.ppz-photomat select{appearance:none!important;-webkit-appearance:none!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3 6 5 5 5-5' fill='none' stroke='%23087e98' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:right 12px center!important;background-size:14px 14px!important;padding-right:36px!important}
.ppz-photomat .pm-select summary>svg{display:block;visibility:visible;opacity:1;flex-shrink:0}
.ppz-photomat .pm-fit-choices label{align-items:flex-start}.ppz-photomat .pm-fit-choices input{margin-top:3px}.ppz-photomat .pm-fit-choices strong{display:block;font-size:13px;font-weight:500}.ppz-photomat .pm-fit-choices small{display:block;font-size:12px;line-height:1.4;color:#5d747d;margin-top:4px}
@media(max-width:380px){.ppz-photomat .pm-fit-choices{flex-direction:column}}

/* PHOTOMAT04: progressive preview, quick order and shared paper treatment. */
.ppz-photomat .pm-empty-stage{position:absolute;inset:25% 115px 25% 20px;display:grid;place-items:center;text-align:center;color:#5d747d;font-size:14px}
.ppz-photomat .pm-photo-only{display:block;width:calc(100% - 115px);height:100%;padding:20px;object-fit:contain}
.ppz-photomat .pm-mode-bar{display:flex;align-items:center;gap:16px;margin:0 0 22px;font-size:13px;color:#5d747d}.ppz-photomat .pm-mode-bar button{padding:0;border:0;background:transparent;color:var(--blue);text-decoration:underline;font-size:13px}.ppz-photomat .pm-mode-bar a{margin-left:auto}
.ppz-photomat .pm-mode-options{display:grid;grid-template-columns:1fr 1fr;gap:12px}.ppz-photomat .pm-mode-options button{text-align:left;padding:18px;border:1px solid var(--line);background:var(--pale);color:#173e49;border-radius:8px}.ppz-photomat .pm-mode-options strong,.ppz-photomat .pm-mode-options small{display:block}.ppz-photomat .pm-mode-options small{margin-top:8px;font-size:13px;font-weight:400}
.ppz-photomat.pm-batch-mode .layout{display:block}.ppz-photomat.pm-batch-mode .layout>form{max-width:none;display:grid;grid-template-columns:1fr 1fr;gap:0 24px}.ppz-photomat.pm-batch-mode .pm-bulk-actions{grid-column:1/-1}.ppz-photomat.pm-batch-mode #pm-cancel-edit,.ppz-photomat.pm-batch-mode #pm-storage-warning,.ppz-photomat.pm-batch-mode form>.note{display:none}
.ppz-photomat .pm-batch-upload{display:grid;grid-template-columns:minmax(0,3fr) minmax(180px,1fr);gap:12px;align-items:stretch;margin-bottom:20px}.ppz-photomat .pm-batch-upload .pm-upload{margin:0}.ppz-photomat .pm-batch-upload>a{display:flex;align-items:center;justify-content:center;text-decoration:none;text-align:center}.ppz-photomat .pm-batch-upload>p{grid-column:1/-1;margin:0}
.ppz-photomat .pm-bulk-buttons{display:flex;justify-content:flex-end;gap:10px;align-items:center;margin-bottom:24px}.ppz-photomat .pm-bulk-buttons .action{width:auto;margin:0}.ppz-photomat .pm-batch-selection{display:flex;justify-content:space-between;gap:10px;align-items:center;margin:14px 0}.ppz-photomat .pm-batch-selection label{margin:0}.ppz-photomat .pm-table-scroll{overflow:auto}.ppz-photomat .pm-table-scroll table{min-width:950px}.ppz-photomat .pm-table-scroll td{vertical-align:top}.ppz-photomat .pm-table-scroll small{display:block;font-size:11px;color:#5d747d}.ppz-photomat .pm-table-scroll input[type=number]{width:65px;margin:0}.ppz-photomat .pm-batch-file{display:flex;align-items:center;gap:8px;max-width:200px;overflow-wrap:anywhere}.ppz-photomat .pm-batch-file img{width:55px;height:65px;object-fit:contain;background:var(--pale)}.ppz-photomat .pm-remove{border:0;background:transparent;color:#a84432;padding:10px;font-size:12px}.ppz-photomat .pm-batch-total{font-weight:600;font-size:20px;margin:24px 0}.ppz-photomat #pm-batch-review{max-width:260px;margin-left:auto;display:flex}.ppz-photomat #pm-batch-list{scroll-margin-top:calc(var(--pm-header) + 15px)}.ppz-photomat #pm-batch-list>h2{font-size:18px}
@media(max-width:760px){.ppz-photomat.pm-batch-mode .layout>form{display:block}.ppz-photomat .pm-mode-options{grid-template-columns:1fr}.ppz-photomat .pm-mode-bar{gap:10px;flex-wrap:wrap;font-size:12px}.ppz-photomat .pm-mode-bar a{margin-left:auto;font-size:12px}.ppz-photomat .pm-batch-upload{grid-template-columns:1fr}.ppz-photomat .pm-batch-upload>a{min-height:40px;padding:8px 10px;font-size:12px;justify-self:end}.ppz-photomat .pm-photo-only{width:calc(100% - 94px);padding:10px}.ppz-photomat .pm-batch-total{font-size:17px}.ppz-photomat .pm-bulk-buttons{flex-wrap:wrap}.ppz-photomat .pm-bulk-buttons .action{flex:1}.ppz-photomat #pm-batch-review{max-width:none}}

@media(max-width:760px){.ppz-photomat .pm-batch-upload>a{display:none}.ppz-photomat .pm-mode-bar{gap:8px;font-size:12px}.ppz-photomat .pm-mode-bar button{font-size:12px}}

/* Shared compact quick-order photo details. */
.ppz-photomat .pm-quick-paper{margin-top:18px}

.ppz-photomat .stage>.pm-drawing,.ppz-photomat .pm-photo-only{max-width:1600px;max-height:1600px}
