:root{color:#17211f;background:#f7faf9;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}html{min-width:320px;overflow-x:clip}*{box-sizing:border-box}body{min-height:100dvh;margin:0;overflow-x:clip}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed}h1,h2,p{margin:0}.app-shell{min-height:100dvh;padding:max(20px,env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) max(24px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left))}.order-flow-shell{display:grid;align-content:start;padding:max(8px,env(safe-area-inset-top)) max(8px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left))}.app-credit{max-width:1120px;margin:12px auto 0;color:#64748b;font-size:.82rem;font-weight:700;text-align:center}.hero{display:grid;gap:18px;max-width:1120px;margin:0 auto;padding:12px 0 14px}.compact-hero{margin-bottom:36px;padding-bottom:48px;border-bottom:1px solid #d6d3d1}.logo{display:inline-flex;align-items:center;gap:10px;width:fit-content;padding:8px 12px 8px 8px;border:1px solid #99f6e4;border-radius:8px;background:#f0fdfa;color:#0f766e;line-height:1}.logo img{width:clamp(64px,16vw,96px);height:46px;object-fit:contain;border-radius:6px;background:#0f766e}.compact-hero .top-bar{justify-content:flex-end}.compact-hero .logo{margin-left:auto}.secret-admin-trigger{width:fit-content;margin-left:auto;-webkit-user-select:none;user-select:none;touch-action:manipulation}.compact-hero .logo img{width:clamp(76px,20vw,104px);height:auto;border-radius:12px;background:transparent}.logo div{display:grid;gap:3px}.logo span{color:#115e59;font-size:.82rem;font-weight:500}.logo strong{color:#0f766e;font-size:clamp(1.05rem,4vw,1.45rem);font-weight:800}.hero-copy{display:grid;gap:11px}.top-bar,.admin-header,.admin-actions{display:flex;align-items:center;gap:12px}.top-bar,.admin-header{justify-content:space-between}.admin-link,.text-link{color:#0f766e;font-weight:850;text-decoration:none}.admin-link{display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:0 12px;border:1px solid #99f6e4;border-radius:8px;background:#f0fdfa;font-size:.94rem}.admin-link svg{width:17px;height:17px}.share-app-area{display:grid;justify-items:end;gap:6px}.share-app-button{display:inline-flex;gap:7px;align-items:center;min-height:38px;padding:7px 11px;border:1px solid #99f6e4;border-radius:8px;color:#0f766e;background:#f0fdfa;font:inherit;font-size:.88rem;font-weight:800;cursor:pointer}.share-app-button svg{width:17px;height:17px}.share-app-message{max-width:300px;color:#0f766e;font-size:.82rem;font-weight:700;text-align:right}.home-share-area{display:flex;max-width:1120px;margin:0 auto 18px}.home-share-area .share-app-area{justify-items:start}.eyebrow{color:#b45309;font-size:.78rem;font-weight:800;letter-spacing:0;text-transform:uppercase}h1{max-width:680px;color:#0f172a;font-size:clamp(2rem,8vw,4.25rem);line-height:1.02;letter-spacing:0}.intro{max-width:620px;color:#475569;font-size:1rem;line-height:1.5}.hero-primary-action{display:grid;gap:7px;width:min(100%,520px);padding-top:4px}.start-order-button{min-height:56px;padding:12px 22px;border:0;border-radius:10px;background:#0f766e;box-shadow:0 12px 24px #0f766e3d;color:#fff;font:inherit;font-size:1.08rem;font-weight:900;cursor:pointer}.start-order-button:hover{background:#115e59}.start-order-button:focus-visible{outline:3px solid #5eead4;outline-offset:3px}.hero-primary-action p{color:#64748b;font-size:.86rem;font-weight:700;text-align:center}.notice{max-width:1120px;margin:0 auto 18px;padding:14px 16px;border:1px solid #fbbf24;border-radius:8px;background:#fffbeb;color:#78350f;font-weight:700;line-height:1.45}.customer-modal-actions{display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end}.customer-whatsapp-help{display:grid;gap:8px;margin:14px 0;padding:14px;border:1px solid #bbf7d0;border-radius:8px;background:#f0fdf4}.customer-whatsapp-help p{color:#166534;font-weight:650;line-height:1.45}.whatsapp-help-button{width:fit-content}.customer-modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:60;display:grid;place-items:center;padding:18px;background:#0f172a6b}.customer-modal{display:grid;gap:14px;width:min(100%,430px);padding:20px;border-radius:8px;background:#fff;box-shadow:0 20px 50px #0f172a3d}.customer-modal h2{color:#0f172a;font-size:1.25rem}.customer-modal p{color:#475569;font-weight:650;line-height:1.45}.additional-format-modal{width:min(100%,400px);max-height:calc(100dvh - 36px);overflow-y:auto}.shipping-details-modal{width:min(100%,560px);max-height:calc(100dvh - 36px);overflow-y:auto}.shipping-details-form{display:grid;gap:12px}.shipping-details-form label{display:grid;gap:6px}.shipping-details-form input{width:100%}.field-error{color:#b91c1c;font-size:.84rem;font-weight:750;line-height:1.3}.shipping-modal-actions{position:sticky;bottom:-20px;margin:0 -20px -20px;padding:12px 20px 20px;background:linear-gradient(180deg,#ffffffd1,#fff 28%)}.app-update-banner{display:flex;gap:12px;align-items:center;justify-content:space-between;max-width:1120px;margin:0 auto 18px;padding:12px 14px;border:1px solid #5eead4;border-radius:8px;color:#134e4a;background:#f0fdfa;font-weight:750}.app-update-banner button{display:inline-flex;gap:7px;align-items:center;flex:0 0 auto;min-height:38px;padding:7px 12px;border:0;border-radius:8px;color:#fff;background:#0f766e;font:inherit;font-weight:800;cursor:pointer}.app-update-banner button:disabled{cursor:wait;opacity:.75}.app-update-banner svg{width:17px;height:17px}.install-banner{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:center;max-width:1120px;margin:0 auto 18px;padding:14px;border:1px solid #99f6e4;border-radius:8px;background:#f0fdfa;box-shadow:0 12px 26px #0f172a0d}.install-banner strong{color:#0f766e;font-weight:900}.install-banner p{margin-top:3px;color:#475569;font-size:.9rem;font-weight:700;line-height:1.4}.install-banner .install-guidance{margin-top:8px;color:#134e4a;font-weight:750}.install-actions{display:flex;gap:8px;align-items:center}.order-layout{display:grid;gap:16px;max-width:1120px;margin:0 auto}.order-flow-shell .order-layout{width:min(100%,640px);gap:10px}.order-fieldset{display:contents;min-width:0;margin:0;padding:0;border:0}.order-layout[aria-busy=true] input,.order-layout[aria-busy=true] select,.order-layout[aria-busy=true] textarea,.order-layout[aria-busy=true] button,.order-layout[aria-busy=true] .upload-box{cursor:not-allowed}.form-panel,.summary-panel,.success-panel{border:1px solid #d6d3d1;border-radius:8px;background:#fff;box-shadow:0 14px 34px #0f172a0f}.form-panel{display:grid;gap:18px;padding:18px}.order-flow-shell .form-panel,.order-flow-shell .summary-panel{gap:10px;padding:12px}.form-panel.step-screen{min-height:calc(100dvh - clamp(24px,6vh,64px));align-content:start}.section-heading{display:grid;grid-template-columns:34px minmax(0,1fr);gap:12px;align-items:start}.section-heading span{display:grid;width:34px;height:34px;place-items:center;border-radius:999px;background:#0f766e;color:#fff;font-weight:800}.section-heading h2,.summary-panel h2{color:#0f172a;font-size:1.2rem;line-height:1.2}.section-heading p{margin-top:4px;color:#64748b;line-height:1.45}.format-panel>.section-heading{margin-bottom:28px}.field-grid,.inline-fields{display:grid;gap:14px}label{display:grid;gap:7px;color:#334155;font-size:.94rem;font-weight:750}input,textarea,select{width:100%;min-height:46px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;color:#0f172a;padding:10px 12px}textarea{resize:vertical}input:focus,textarea:focus,select:focus{border-color:#0f766e;outline:3px solid rgba(15,118,110,.16)}.upload-box{position:relative;display:grid;width:min(100%,340px);aspect-ratio:1 / 1;align-items:center;align-content:center;justify-self:center;justify-items:center;min-height:240px;padding:28px;border:2px dashed #0f766e;border-radius:8px;background:#f0fdfa;color:#0f172a;cursor:pointer;gap:12px;text-align:center;transition:border-color .16s ease,background-color .16s ease,box-shadow .16s ease}.upload-box:hover,.upload-box:focus-within{border-color:#0f766e;background:#f0fdfa;box-shadow:0 0 0 3px #0f766e1f}.upload-box svg{width:52px;height:52px;color:#0f766e}.upload-box span{max-width:240px;font-size:1.02rem;font-weight:900;letter-spacing:0;line-height:1.25}.upload-box small{max-width:250px;color:#475569;font-weight:700;line-height:1.4}.upload-box input{position:absolute;z-index:1;top:0;right:0;bottom:0;left:0;width:100%;height:100%;min-height:0;padding:0;border:0;opacity:0;cursor:pointer}.upload-box input:disabled{cursor:wait}.upload-box:has(input:disabled){cursor:wait;opacity:.72}.photo-preparation-progress{width:min(100%,520px);justify-self:center}.saved-data-clear{display:inline-flex;width:fit-content;min-height:44px;align-items:center;margin-top:.75rem;padding:0;border:0;background:transparent;color:#0f766e;font:inherit;font-size:.875rem;font-weight:700;text-decoration:underline;cursor:pointer}.saved-data-clear:hover{color:#9a3412}.promotion-banner{display:grid;gap:3px;margin-bottom:16px;padding:12px 14px;border:1px solid #f59e0b;border-left:5px solid #d97706;border-radius:8px;background:#fffbeb;color:#78350f}.promotion-banner strong{font-size:1rem}.promotion-banner small{color:#92400e;font-weight:750}.promotion-details-link{display:inline-flex;width:fit-content;min-height:36px;align-items:center;padding:0;border:0;background:transparent;color:#92400e;font:inherit;font-weight:850;text-decoration:underline;text-underline-offset:3px;cursor:pointer}.promotion-details-link:hover,.promotion-details-link:active{color:#b45309}.promotion-details-link:focus-visible{outline:2px solid #d97706;outline-offset:2px}.promotion-modal-backdrop{position:fixed;z-index:1200;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;padding:max(16px,env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) max(16px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left));background:#0f172ab8}.promotion-modal{position:relative;display:grid;gap:14px;width:min(100%,460px);max-height:calc(100dvh - 32px);padding:26px;overflow-y:auto;border:2px solid #f59e0b;border-radius:8px;background:#fff;box-shadow:0 24px 70px #0f172a59}.promotion-modal h2{padding-right:36px;color:#0f172a;font-size:clamp(1.35rem,6vw,1.8rem);line-height:1.2}.promotion-modal p{color:#334155;line-height:1.55}.promotion-modal small{color:#92400e;font-weight:800}.promotion-details-modal h2{padding-right:0}.promotion-details-heading{color:#78350f;font-size:1.05rem;line-height:1.4}.promotion-details-modal .primary-button{min-width:120px;justify-self:end}.promotion-eyebrow{color:#b45309;font-size:.78rem;font-weight:900;text-transform:uppercase}.promotion-close{position:absolute;top:10px;right:10px;display:grid;width:44px;height:44px;place-items:center;padding:0;border:1px solid #cbd5e1;border-radius:8px;background:#fff;color:#334155}.promotion-close svg{width:20px;height:20px}.step-actions{display:grid;gap:12px;align-self:end;justify-items:stretch;margin-top:auto;padding-top:4px}.step-actions .primary-button{width:100%}.primary-format-choice{display:grid;gap:18px;padding:18px;border:2px solid #99f6e4;border-radius:8px;background:#f0fdfa}.primary-format-choice>div{display:grid;gap:6px}.primary-format-choice h3{color:#0f172a;font-size:clamp(1.08rem,4.5vw,1.3rem);line-height:1.25}.primary-format-choice p{color:#475569;line-height:1.45}.photo-selection-summary{display:grid;justify-items:center;padding:16px 18px;border:2px solid #99f6e4;border-radius:8px;background:#f0fdfa;color:#134e4a;font-weight:850}.photo-selection-summary>div{display:grid;justify-items:center;gap:6px}.photo-selection-summary p{display:grid;justify-items:center;gap:4px;margin:0;color:#134e4a;font-size:.98rem;font-weight:750;line-height:1.4;text-align:center}.photo-selection-summary strong{color:#0f172a;font-size:1.08rem;font-weight:900}.photo-list{display:grid;gap:14px}.photo-row{display:grid;gap:10px;padding:12px;border:1px solid #cbd5e1;border-radius:8px;background:#f8fafc;box-shadow:0 6px 16px #0f172a0d;scroll-snap-align:start;scroll-margin-top:12px}.photo-row.is-expanded{height:auto;max-height:none;overflow:visible}.photo-row.is-expanded:after{position:fixed;z-index:999;top:0;right:0;bottom:0;left:0;background:#0f172ab8;content:""}.photo-row.is-expanded .crop-panel,.photo-row.is-expanded .crop-controls{height:auto;max-height:none}.photo-row.is-expanded .crop-panel{position:fixed;z-index:1000;inset:max(8px,env(safe-area-inset-top)) max(8px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left));width:min(760px,calc(100% - 16px));max-height:calc(100dvh - 16px);margin:auto;padding:0 14px max(14px,env(safe-area-inset-bottom));overflow-x:hidden;overflow-y:auto;border-color:#5eead4;background:#f8fafc;box-shadow:0 24px 70px #0f172a59;overscroll-behavior:contain;scrollbar-gutter:stable}.crop-editor-topbar{position:sticky;z-index:5;top:0;display:grid;grid-template-columns:44px minmax(0,1fr) auto auto;gap:8px;align-items:center;min-height:64px;margin-inline:-14px;padding:8px 14px;border-bottom:1px solid #334155;background:#0f172a;color:#fff}.crop-editor-topbar>div{display:grid;gap:1px}.crop-editor-topbar strong{font-size:clamp(.94rem,3.8vw,1.1rem);line-height:1.2}.crop-editor-topbar small{color:#99f6e4;font-size:.76rem;font-weight:800}.crop-editor-topbar .small-action{min-height:44px;border-color:#64748b;background:#fff}.crop-editor-close{display:grid;width:44px;height:44px;place-items:center;padding:0;border:1px solid #64748b;border-radius:8px;background:transparent;color:#fff}.crop-editor-close svg{width:22px;height:22px}.photo-row:nth-child(2n){border-color:#cbd5e1;background:#fffbeb}.photo-controls{display:grid;gap:8px;min-width:0}.photo-row *,.crop-panel *{min-width:0}.photo-controls strong{overflow:hidden;color:#0f172a;text-overflow:ellipsis;white-space:nowrap}.quantity-field{align-content:start}.quantity-stepper{display:grid;grid-template-columns:46px minmax(76px,1fr) 46px;gap:8px}.quantity-stepper button{display:grid;min-height:46px;place-items:center;border:1px solid #99f6e4;border-radius:8px;background:#f0fdfa;color:#0f766e}.quantity-stepper button:disabled{border-color:#cbd5e1;background:#f1f5f9;color:#94a3b8}.quantity-stepper svg{width:18px;height:18px}.quantity-stepper input{text-align:center;font-weight:850}.photo-management-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.photo-management-button{min-width:0;min-height:44px;padding-inline:8px;border-color:#93c5fd;background:#eff6ff;color:#1d4ed8;font-size:.84rem;font-weight:850;text-align:center;white-space:nowrap}.photo-management-button:hover:not(:disabled),.photo-management-button:active:not(:disabled){border-color:#2563eb;background:#dbeafe}.photo-management-button:focus-visible{outline:2px solid #2563eb;outline-offset:2px}.photo-management-button:disabled{border-color:#cbd5e1;background:#f1f5f9;color:#94a3b8}.crop-panel{display:grid;gap:8px;padding:8px;border:1px solid #ccfbf1;border-radius:8px;background:#f0fdfa}.crop-heading{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;color:#0f172a;font-weight:850}.crop-heading-actions-only{grid-template-columns:minmax(0,1fr)}.crop-heading-actions-only .crop-heading-actions{justify-content:flex-start}.crop-heading span,.toggle-field{display:inline-flex;align-items:center;gap:7px;overflow-wrap:anywhere}.crop-heading svg{width:18px;height:18px;color:#0f766e}.crop-heading small{color:#0f766e;font-weight:850}.crop-heading-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:8px}.crop-heading-actions button{max-width:100%;white-space:normal}.small-action.crop-confirm-button{border-color:#be123c;background:#be123c;color:#fff}.small-action.crop-confirm-button:hover:not(:disabled){border-color:#9f1239;background:#9f1239;color:#fff}.print-fit-choice{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;min-width:0;margin:0;padding:0;border:0}.print-fit-choice.has-remove-action{grid-template-columns:repeat(2,minmax(0,1fr)) 44px}.print-fit-remove{align-self:center;border-color:#fecaca;background:#fff1f2}.print-fit-choice legend{grid-column:1 / -1;margin-bottom:0;color:#334155;font-size:.88rem;font-weight:850}.print-fit-choice label{grid-template-columns:22px minmax(0,1fr);align-items:center;min-height:44px;padding:6px 8px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;line-height:1.25}.print-fit-choice label.is-selected{border-color:#0f766e;background:#ecfdf5}.print-fit-choice input{width:18px;min-height:18px;margin:0;padding:0}.print-fit-choice strong{display:block;overflow-wrap:normal;word-break:normal;color:#0f172a;font-size:.84rem}.print-fit-choice p{grid-column:1 / -1;min-height:0;color:#475569;font-size:.76rem;font-weight:700;line-height:1.4}.print-fit-choice+.compact-crop-preview{margin-top:6px}.toggle-field{color:#334155;font-size:.86rem}.toggle-field input{width:18px;min-height:18px;padding:0}.crop-frame{position:relative;width:min(100%,420px);justify-self:center;overflow:hidden;border:2px solid #0f766e;border-radius:0;background:#fff}.crop-frame:after{position:absolute;top:0;right:0;bottom:0;left:0;border:1px solid rgba(255,255,255,.7);content:"";pointer-events:none}.crop-frame img{position:absolute;object-fit:contain;pointer-events:none;-webkit-user-select:none;user-select:none;transform-origin:center}.crop-frame.is-editing{border-color:#f59e0b;cursor:grab;touch-action:none}.crop-frame.is-editing:active{cursor:grabbing}.crop-edit-indicator{position:absolute;right:8px;bottom:8px;z-index:1;padding:5px 8px;border-radius:6px;background:#0f172ad1;color:#fff;font-size:.75rem;font-weight:800;pointer-events:none}.crop-controls{display:grid;gap:10px}.compact-crop-preview{display:grid;gap:5px;justify-items:center}.crop-preview-trigger{width:100%;min-height:44px;padding:0;border:0;background:transparent;color:inherit;font:inherit;cursor:pointer}.crop-preview-trigger:disabled{cursor:not-allowed;opacity:.55}.crop-preview-visual{position:relative;display:grid;width:100%;--preview-height: clamp(180px, 34dvh, 280px);height:var(--preview-height);align-items:center;justify-items:center;overflow:hidden}.crop-preview-visual>.crop-frame,.crop-preview-visual>.crop-overview{width:min(100%,calc(var(--preview-height) * var(--preview-aspect-ratio, 1)));height:auto;max-width:100%;max-height:100%}.crop-preview-callout{display:inline-flex;justify-self:center;padding:8px 12px;border:1px solid #2563eb;border-radius:6px;background:#eff6ff;box-shadow:0 2px 6px #2563eb24;color:#2563eb;font-size:.82rem;font-weight:900;line-height:1.2}.crop-preview-trigger:hover:not(:disabled) .crop-preview-callout,.crop-preview-trigger:focus-visible .crop-preview-callout{border-color:#2563eb;background:#dbeafe}.crop-preview-trigger:focus-visible{outline:3px solid #f59e0b;outline-offset:3px}.compact-crop-preview p{color:#0f766e;font-size:.78rem;font-weight:800;line-height:1.35;text-align:center}.crop-overview{position:relative;width:min(100%,420px);justify-self:center;overflow:hidden;border:1px solid #94a3b8;border-radius:0;background:#fff}.crop-overview img{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:contain;-webkit-user-select:none;user-select:none;transform-origin:center}.print-area-box{position:absolute;z-index:1;border:2px solid #dc2626;box-shadow:0 0 0 999px #f8fafca8;pointer-events:none}.print-area-box b{display:none}.crop-editor-layout{display:grid;grid-template-columns:minmax(0,1fr) 52px;gap:10px;align-items:stretch;width:min(100%,482px);justify-self:center}.crop-stage{display:grid;width:min(100%,420px);height:360px;place-items:center;justify-self:center;padding:8px;border:1px solid #cbd5e1;border-radius:8px;background:#f8fafc}.crop-stage .crop-frame[data-orientation=landscape]{width:100%;height:auto;max-height:100%}.crop-stage .crop-frame[data-orientation=portrait]{width:auto;max-width:100%;height:100%}.vertical-crop-control{grid-template-rows:auto minmax(0,1fr);justify-items:center;min-height:180px;font-size:.78rem;text-align:center}.vertical-crop-control input[type=range]{width:34px;height:100%;min-height:140px;writing-mode:vertical-lr;direction:rtl}.horizontal-crop-control{width:min(100%,420px);justify-self:center}.zoom-stepper{display:grid;grid-template-columns:minmax(70px,1fr) 46px 64px 46px;gap:8px;align-items:center;width:min(100%,420px);justify-self:center;color:#334155;font-size:.94rem;font-weight:750}.zoom-stepper button{display:grid;width:46px;min-height:46px;place-items:center;border:1px solid #99f6e4;border-radius:8px;background:#fff;color:#0f766e}.zoom-stepper button:disabled{border-color:#cbd5e1;background:#f1f5f9;color:#94a3b8}.zoom-stepper svg{width:19px;height:19px}.zoom-stepper output{text-align:center;color:#0f172a;font-weight:850}.crop-help{color:#475569;font-size:.9rem;font-weight:700;line-height:1.45}.crop-controls input[type=range]{min-height:44px;padding:0;accent-color:#0f766e;touch-action:pan-y}.crop-controls input[type=range]::-webkit-slider-thumb{width:28px;height:28px}.crop-controls input[type=range]::-moz-range-thumb{width:28px;height:28px}.icon-button{display:grid;width:44px;height:44px;flex:0 0 auto;place-items:center;border:1px solid #fecaca;border-radius:8px;background:#fff1f2;color:#be123c}.subtle-icon-button{border-color:#cbd5e1;background:#fff;color:#64748b}.icon-button svg{width:18px;height:18px}.icon-button:disabled{cursor:not-allowed;opacity:.45}.photo-quick-nav{display:grid;gap:7px;width:100%;padding:6px;border:1px solid #cbd5e1;border-radius:8px;background:#fff}.photo-nav-main,.photo-nav-secondary{display:grid;gap:6px;align-items:center}.photo-nav-main{grid-template-columns:minmax(0,1fr) minmax(64px,max-content) minmax(0,1fr)}.photo-nav-secondary{grid-template-columns:minmax(0,.8fr) minmax(0,1.6fr) minmax(0,.8fr)}.photo-quick-nav button{display:inline-flex;min-width:0;min-height:40px;align-items:center;justify-content:center;padding:5px 8px;border:1px solid #99f6e4;border-radius:8px;background:#f0fdfa;color:#0f766e;font-size:.76rem;font-weight:900;line-height:1.15;text-align:center;white-space:normal}.photo-quick-nav button:disabled{border-color:#cbd5e1;background:#f1f5f9;color:#94a3b8}.photo-nav-main button{min-height:50px;padding:8px 10px;gap:6px;border-color:#1d4ed8;background:#2563eb;box-shadow:0 6px 14px #2563eb3d;color:#fff;font-size:.86rem;font-weight:950;line-height:1.15;white-space:nowrap}.photo-nav-arrow{flex:0 0 auto;font-size:1.65rem;font-weight:950;line-height:.8}.photo-nav-label{min-width:0;font-size:.76rem;font-weight:850;line-height:1.1}.photo-nav-main button:disabled{border-color:#cbd5e1;background:#e2e8f0;box-shadow:none;color:#64748b}.photo-quick-nav strong{color:#0f172a;font-size:.9rem;font-weight:900;text-align:center;white-space:nowrap}.photo-quick-nav .photo-nav-proceed{border-color:#0f766e;background:#0f766e;color:#fff}.choice-grid{display:grid;gap:10px}.delivery-panel{min-width:0;overflow:hidden}.checkout-flow-panel{gap:12px}.checkout-step-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.checkout-step-actions .primary-button,.checkout-step-actions .secondary-button{min-height:44px}.summary-edit-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.summary-edit-actions .secondary-button{min-width:0;width:100%;min-height:34px;border-color:#fdba74;background:#fff;color:#7c2d12;padding:5px 4px;font-size:.72rem;white-space:nowrap}.summary-edit-actions .secondary-button:hover:not(:disabled),.summary-edit-actions .secondary-button:active:not(:disabled){border-color:#fb923c;background:#ffedd5}.summary-edit-actions .secondary-button:focus-visible{outline:2px solid #fb923c;outline-offset:2px}.choice-group-title{margin-top:2px;color:#0f172a;font-size:1rem;line-height:1.3}.delivery-panel .choice-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}.choice{grid-template-columns:22px minmax(0,1fr);align-items:center;min-height:52px;padding:12px;border:1px solid #cbd5e1;border-radius:8px;background:#f8fafc;overflow-wrap:anywhere}.choice input{width:18px;min-height:18px;padding:0}.order-mode-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px}.order-mode-card{display:grid;gap:10px;align-items:start;min-height:104px;padding:14px;border:1px solid #cbd5e1;border-radius:8px;background:#f8fafc;cursor:pointer;transition:border-color .16s ease,background .16s ease,box-shadow .16s ease}.order-mode-card:hover,.order-mode-card:focus-within{border-color:#14b8a6;background:#f0fdfa;box-shadow:0 0 0 3px #14b8a61f}.order-mode-card.is-selected{border-color:#0f766e;background:#ecfeff;box-shadow:0 10px 24px #0f766e1f}.order-mode-card-main{display:grid;grid-template-columns:22px minmax(0,1fr);gap:12px;align-items:start;cursor:pointer}.order-mode-card input{width:18px;min-height:18px;margin-top:2px;padding:0}.order-mode-card-content{display:grid;gap:6px;min-width:0}.order-mode-card-content strong{color:#0f172a;font-size:1rem;line-height:1.25}.order-mode-card-content span{color:#334155;font-size:.92rem;line-height:1.4}.order-mode-card-content small{color:#0f766e;font-size:.86rem;font-weight:800;line-height:1.3}.shipping-details-card{display:grid;gap:12px;padding:14px;border:1px solid #99f6e4;border-radius:8px;background:#f0fdfa}.shipping-details-card strong{color:#0f172a;font-size:.98rem}.shipping-details-button{justify-self:start}.order-mode-maps-link{justify-self:start;margin-left:34px}.summary-panel{display:grid;gap:18px;padding:18px}.embedded-summary{margin-top:4px;padding:20px 0 0;border:0;border-top:2px solid #99f6e4;border-radius:0;background:transparent;box-shadow:none}.summary-panel h3{margin:0;color:#0f172a;font-size:1rem;line-height:1.3}.summary-stats{display:flex;align-items:center;justify-content:center;gap:8px;margin:0;padding:11px 12px;border:1px solid #99f6e4;border-radius:8px;background:#f0fdfa}.summary-stats>div{display:flex;min-width:0;align-items:baseline;gap:4px;white-space:nowrap}.summary-stats>div+div{padding-left:0}.summary-stats>div+div:before{content:"·";margin-right:4px;color:#0f766e;font-size:1.05rem;font-weight:900}.summary-stats dt{color:#475569;font-size:clamp(.72rem,3vw,.9rem);font-weight:750}.summary-stats dt:after{content:":"}.summary-stats dd{margin:0;color:#0f172a;font-size:clamp(.92rem,3.5vw,1.08rem);font-weight:850}.summary-price-section{display:grid;gap:8px}.applied-prices-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,.85fr) minmax(0,1fr) minmax(0,.95fr);gap:1px;align-items:stretch;width:100%;overflow:hidden;border-radius:7px;background:#d9e5ef}.applied-prices-grid span,.applied-prices-grid strong{min-width:0;padding:8px 9px;background:#fff;color:#0f172a;font-size:.9rem;line-height:1.25;overflow-wrap:break-word;word-break:normal;white-space:normal}.applied-prices-grid .applied-prices-heading{display:flex;align-items:center;background:#f8fafc;color:#64748b;font-size:.7rem;font-weight:850;text-transform:uppercase}.applied-prices-grid strong{background:#f0fdfa;color:#0f766e;font-weight:900}.summary-delivery-card{display:grid;gap:5px;padding:14px;border:1px solid #dbe4ea;border-radius:8px;background:#fff}.summary-delivery-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.summary-delivery-card>small{color:#475569;line-height:1.4}.summary-pickup-row{margin:0;padding:11px 13px;border:1px solid #dbe4ea;border-radius:8px;background:#fff;color:#0f172a;font-weight:850;line-height:1.3;white-space:nowrap}.summary-promotion-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 2px}.summary-promotion-breakdown{display:grid;gap:8px}.summary-promotion-row>span{min-width:0;line-height:1.35}.summary-promotion-row>strong{flex:0 0 auto;white-space:nowrap}.summary-before-promotion-row{color:#334155;font-weight:800}.maps-link{min-height:38px;padding:7px 11px;font-size:.9rem}.maps-link svg{width:17px;height:17px}.summary-total{display:grid;gap:5px;padding:16px;border:2px solid #99f6e4;border-radius:8px;background:#f0fdfa}.summary-total-main{display:flex;align-items:baseline;justify-content:space-between;gap:12px}.summary-total-main>h3{margin:0;white-space:nowrap}.summary-total-main>strong{color:#0f172a;font-size:clamp(1.65rem,7vw,2.1rem);line-height:1.1;white-space:nowrap}.summary-total>small{color:#475569;font-weight:700;line-height:1.4}.promotion-discount{color:#15803d;font-weight:850}.promotion-used-message{margin:0;color:#92400e;font-size:.9rem;font-weight:750}.privacy-check{display:grid;grid-template-columns:22px minmax(0,1fr);align-items:start;color:#475569;line-height:1.4}.summary-privacy-section{display:grid;gap:5px}.summary-privacy-card{padding:13px;border:1px solid #dbe4ea;border-radius:8px;background:#f8fafc}.summary-privacy-card.has-privacy-error{border-color:#f59e0b;background:#fffbeb}.summary-privacy-card.privacy-box--attention{animation:privacyPulse 1.5s ease-in-out 1}@keyframes privacyPulse{0%,to{border-color:#f59e0b;background:#fffbeb;box-shadow:0 0 #f59e0b00}50%{border-color:#d97706;background:#fef3c7;box-shadow:0 0 0 4px #f59e0b2e}}.privacy-validation-message{grid-column:1 / -1;margin-top:4px;color:#9a3412;font-size:.82rem;font-weight:800;line-height:1.35}.privacy-info-link{width:fit-content;min-height:32px;padding:4px 2px;border:0;background:transparent;color:#475569;font-size:.76rem;font-weight:700;text-decoration:underline;text-underline-offset:3px;cursor:pointer}.privacy-info-link:hover,.privacy-info-link:active{color:#1d4ed8}.privacy-info-link:focus-visible{border-radius:4px;outline:2px solid #2563eb;outline-offset:2px}.privacy-info-modal{width:min(100%,520px);border-color:#94a3b8}.privacy-info-modal h2{padding-right:0}.privacy-info-content{display:grid;gap:12px}.privacy-info-content p{margin:0}.privacy-info-modal .primary-button{min-width:110px;justify-self:end}@media(prefers-reduced-motion:reduce){.summary-privacy-card.privacy-box--attention{animation:none}}.privacy-check input{width:18px;min-height:18px;margin-top:2px;padding:0}.summary-submit-action,.summary-submit-action .primary-button{width:100%}.summary-submit-action .primary-button{min-height:56px;font-size:1.05rem}.summary-changes{display:grid;gap:8px;padding:12px;border:1px solid #fdba74;border-radius:8px;background:#fff7ed}.summary-changes h3{color:#9a3412;font-size:.84rem;font-weight:850}.summary-section-divider{width:100%;height:2px;margin-block:2px;border-radius:999px;background:#0f766e}.summary-cancel-action{display:flex;justify-content:center}.summary-cancel-action .secondary-button{min-height:38px;padding:7px 12px;font-size:.86rem}.primary-button{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:52px;border:0;border-radius:8px;background:#0f766e;color:#fff;padding:0 18px;font-weight:850;text-decoration:none}.secondary-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;color:#0f172a;padding:0 13px;font-weight:800;text-decoration:none}.secondary-button svg{width:17px;height:17px}.secondary-button:disabled{color:#64748b;background:#f1f5f9}.danger-button{border-color:#fecaca;background:#fff1f2;color:#be123c}.danger-button:hover:not(:disabled){border-color:#fda4af;background:#ffe4e6}.danger-light-button{border-color:#fecaca;color:#be123c}.danger-light-button:hover:not(:disabled){background:#fff1f2}.active-action{border-color:#0f766e;background:#f0fdfa;color:#0f766e}.primary-button:disabled{background:#94a3b8}.primary-button svg{width:20px;height:20px}.spin{animation:spin .9s linear infinite}.error-message{color:#be123c;font-weight:750;line-height:1.4}.crop-confirmation-warning{padding:10px 12px;border:1px solid #f59e0b;border-radius:8px;background:#fffbeb;color:#92400e;font-weight:800;line-height:1.4}.upload-failure-modal-backdrop{overflow-y:auto;align-items:start}.upload-failure-modal{width:min(100%,720px);margin:auto;max-height:calc(100dvh - 36px);overflow-y:auto}.upload-failure-modal h2{color:#991b1b}.upload-failure-list{display:grid;gap:12px}.upload-failure-card{display:grid;grid-template-columns:112px minmax(0,1fr);gap:14px;padding:12px;border:1px solid #fecaca;border-radius:8px;background:snow}.upload-failure-card img,.upload-failure-preview-placeholder{width:112px;height:112px;border-radius:7px;background:#e2e8f0}.upload-failure-card img{object-fit:cover}.upload-failure-preview-placeholder{display:grid;place-items:center;align-content:center;gap:7px;padding:10px;color:#64748b;text-align:center}.upload-failure-preview-placeholder svg{width:28px;height:28px}.upload-failure-preview-placeholder span{font-size:.72rem;font-weight:750;line-height:1.2}.upload-failure-details{display:grid;align-content:start;gap:4px;min-width:0;color:#334155}.upload-failure-details strong,.upload-failure-details span,.upload-failure-details small{overflow-wrap:anywhere}.upload-failure-details strong{color:#0f172a}.upload-failure-details small{margin-top:4px;color:#991b1b}.upload-failure-item-actions{grid-column:1 / -1;display:flex;flex-wrap:wrap;gap:8px}.upload-failure-item-actions .primary-button,.upload-failure-item-actions .secondary-button{flex:1 1 220px}.upload-failure-remove{order:2}.upload-failure-main-actions{border-top:1px solid #e2e8f0;padding-top:14px}.upload-failure-main-actions .secondary-button{width:100%}.promotion-loss-warning-backdrop{z-index:70}.promotion-loss-warning{border:1px solid #f59e0b}.promotion-loss-warning h2{color:#92400e}@media(max-width:560px){.upload-failure-card{grid-template-columns:88px minmax(0,1fr);gap:10px}.upload-failure-card img,.upload-failure-preview-placeholder{width:88px;height:88px}.upload-failure-item-actions{display:grid}}.upload-progress{display:grid;gap:9px;padding:12px;border:1px solid #99f6e4;border-radius:8px;background:#f0fdfa;color:#115e59}.upload-progress-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.upload-progress-heading strong,.upload-progress-heading span{color:#0f766e;font-weight:900}.upload-progress progress{width:100%;height:12px;overflow:hidden;border:0;border-radius:999px;background:#ccfbf1}.upload-progress progress::-webkit-progress-bar{border-radius:999px;background:#ccfbf1}.upload-progress progress::-webkit-progress-value{border-radius:999px;background:#0f766e}.upload-progress progress::-moz-progress-bar{border-radius:999px;background:#0f766e}.upload-progress small{color:#475569;font-size:.82rem;font-weight:750;line-height:1.4}.success-shell{display:grid;place-items:center}.success-panel{display:grid;gap:16px;width:min(100%,620px);padding:24px}.success-panel>svg{width:48px;height:48px;color:#0f766e}.success-panel p:not(.eyebrow){color:#475569;line-height:1.6}.whatsapp-button{background:#16a34a}.whatsapp-button:hover{background:#15803d}.admin-shell{display:grid;place-items:center}.login-panel{display:grid;gap:16px;width:min(100%,520px);padding:22px;border:1px solid #d6d3d1;border-radius:8px;background:#fff;box-shadow:0 14px 34px #0f172a0f}.login-panel>svg{width:42px;height:42px;color:#0f766e}.login-panel h1{font-size:clamp(2rem,9vw,3.8rem)}.login-panel p:not(.eyebrow){color:#475569;line-height:1.55}.admin-dashboard{display:grid;gap:20px;max-width:1320px;margin:0 auto}.admin-header{align-items:flex-start;padding:16px 0 6px}.admin-header>div:first-child{display:grid;gap:10px}.admin-header h1{font-size:clamp(2.2rem,8vw,4.6rem)}.admin-actions{flex-wrap:wrap;justify-content:flex-end}.admin-grid,.management-grid{display:grid;gap:16px}.statistics-panel{display:grid;gap:20px;padding:18px;border:1px solid #d6d3d1;border-radius:8px;background:#fff;box-shadow:0 14px 34px #0f172a0f}.statistics-heading{display:flex;align-items:end;justify-content:space-between;gap:18px}.statistics-heading>div:first-child{display:grid;gap:6px}.statistics-heading h2{color:#0f172a;font-size:clamp(1.5rem,4vw,2rem)}.statistics-periods{display:flex;flex-wrap:wrap;gap:8px}.statistics-periods .secondary-button{min-height:40px;padding:8px 12px}.statistics-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px}.statistics-section{display:grid;gap:12px}.statistics-section h3{color:#0f172a;font-size:1.05rem}.analytics-admin-tools{padding:14px;border:1px solid #cbd5e1;border-radius:8px;background:#f8fafc}.analytics-admin-tools p{margin-top:4px;color:#475569;font-size:.9rem;font-weight:650;line-height:1.45}.analytics-device-panel{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px}.analytics-device-panel>div{display:grid;gap:6px}.analytics-device-panel small{color:#64748b;font-weight:750}.excluded-devices-list{display:grid;gap:8px}.excluded-devices-list>strong{color:#0f172a}.excluded-device-row{display:grid;grid-template-columns:minmax(120px,1fr) minmax(130px,1fr) minmax(120px,1.2fr) auto;gap:8px;align-items:center;padding:8px;border:1px solid #e2e8f0;border-radius:8px;background:#fff;color:#334155;font-size:.88rem;font-weight:700}.statistic-card{display:grid;gap:10px;min-height:128px;align-content:space-between;padding:16px;border:1px solid #cbd5e1;border-left:5px solid #0f766e;border-radius:8px;background:#f8fafc}.statistic-card-highlight{border-color:#5eead4;border-left-color:#0f766e;background:#f0fdfa}.statistic-card span{color:#475569;font-size:.88rem;font-weight:750;line-height:1.35}.statistic-card strong{color:#0f172a;font-size:2rem;line-height:1}.statistic-card .statistic-date{font-size:1rem;line-height:1.35}.funnel-list{display:grid;gap:10px}.funnel-row{display:grid;gap:8px;padding:14px;border:1px solid #cbd5e1;border-radius:8px;background:#f8fafc}.funnel-row>div:first-child{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:8px}.funnel-row strong{color:#0f172a}.funnel-row span,.funnel-row small{color:#475569;font-weight:700}.funnel-bar{height:10px;overflow:hidden;border-radius:999px;background:#e2e8f0}.funnel-bar span{display:block;height:100%;border-radius:inherit;background:#0f766e}.compact-breakdown{display:flex;flex-wrap:wrap;gap:8px}.compact-breakdown span{padding:7px 10px;border:1px solid #cbd5e1;border-radius:999px;background:#fff;color:#334155;font-size:.85rem;font-weight:750}.events-panel{display:grid;gap:12px}.events-panel-heading{display:flex;flex-wrap:wrap;align-items:end;justify-content:space-between;gap:12px}.events-panel-heading h3{color:#0f172a;font-size:1.15rem}.events-panel-heading label{display:flex;flex-wrap:wrap;gap:8px;align-items:center;color:#475569;font-size:.9rem;font-weight:750}.events-panel-heading select{min-width:86px}.events-table-wrap{overflow-x:auto;border:1px solid #cbd5e1;border-radius:8px}.events-table{width:100%;min-width:900px;border-collapse:collapse;background:#fff}.events-table th,.events-table td{padding:11px 12px;border-bottom:1px solid #e2e8f0;color:#334155;font-size:.86rem;text-align:left;vertical-align:top}.events-table th{background:#f1f5f9;color:#0f172a;font-weight:850;white-space:nowrap}.events-table tbody tr:last-child td{border-bottom:0}.event-customer-cell{min-width:150px;white-space:pre-line}.compatibility-privacy-notice{display:grid;gap:4px}.compatibility-privacy-notice span{line-height:1.45}.compatibility-risk-card.risk-ok{border-color:#5eead4;border-left-color:#0f766e;background:#f0fdfa}.compatibility-risk-card.risk-attenzione{border-color:#fbbf24;border-left-color:#b45309;background:#fffbeb}.compatibility-risk-card.risk-critico{border-color:#fca5a5;border-left-color:#b91c1c;background:#fef2f2}.compatibility-distribution{display:grid;gap:9px}.compatibility-distribution-row{display:grid;grid-template-columns:100px minmax(120px,1fr) minmax(125px,auto);align-items:center;gap:12px;color:#334155;font-size:.88rem}.compatibility-distribution-bar{height:10px;overflow:hidden;border-radius:999px;background:#e2e8f0}.compatibility-distribution-bar span{display:block;height:100%;border-radius:inherit;background:#0f766e}.compatibility-events-table{min-width:1180px}.compatibility-risk-pill{display:inline-flex;align-items:center;min-height:28px;padding:4px 9px;border:1px solid #99f6e4;border-radius:999px;background:#f0fdfa;color:#115e59;font-size:.78rem;font-weight:850}.compatibility-risk-pill.risk-attenzione{border-color:#fcd34d;background:#fffbeb;color:#92400e}.compatibility-risk-pill.risk-critico{border-color:#fca5a5;background:#fef2f2;color:#991b1b}.compatibility-user-agent{max-width:300px;overflow-wrap:anywhere}.orders-panel,.detail-panel,.management-panel{display:grid;align-content:start;gap:16px;border:1px solid #d6d3d1;border-radius:8px;background:#fff;padding:16px;box-shadow:0 14px 34px #0f172a0f}.management-form,.management-list,.management-card{display:grid;gap:14px}.promotion-management-panel{max-width:760px}.promotion-channel-card,.promotion-channel-heading{grid-column:1 / -1}.promotion-channel-card{display:grid;gap:14px;padding:16px;border:1px solid #99f6e4;border-radius:8px;background:#f0fdfa}.promotion-channel-heading{display:grid;gap:4px}.promotion-channel-heading h3,.promotion-channel-heading p{margin:0}.promotion-channel-heading p{color:#475569;font-size:.9rem;line-height:1.45}.promotion-channel-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px}.promotion-channel-fields .full-width{grid-column:1 / -1}.management-card{padding:14px;border:1px solid #e2e8f0;border-radius:8px;background:#f8fafc}.management-list:has(.format-management-card){gap:24px}.format-management-card{--format-accent: #14b8a6;--format-border: #99f6e4;--format-soft: #f0fdfa;gap:18px;padding:0;overflow:hidden;border:2px solid var(--format-border);border-left-width:8px;background:#fff;box-shadow:0 16px 34px #0f172a14}.format-accent-1{--format-accent: #0f766e;--format-border: #5eead4;--format-soft: #f0fdfa}.format-accent-2{--format-accent: #b45309;--format-border: #fcd34d;--format-soft: #fffbeb}.format-accent-3{--format-accent: #1d4ed8;--format-border: #93c5fd;--format-soft: #eff6ff}.format-accent-4{--format-accent: #c2410c;--format-border: #fdba74;--format-soft: #fff7ed}.format-accent-5{--format-accent: #6d28d9;--format-border: #c4b5fd;--format-soft: #f5f3ff}.format-accent-6{--format-accent: #15803d;--format-border: #86efac;--format-soft: #f0fdf4}.format-management-card>:not(.format-card-heading){margin-right:16px;margin-left:16px}.format-management-card>:last-child{margin-bottom:16px}.toolbar-actions{display:grid;gap:10px}.format-card-heading{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;padding:16px;border-bottom:1px solid var(--format-border);background:var(--format-soft)}.format-card-heading strong{overflow:hidden;color:var(--format-accent);font-size:clamp(1.35rem,2.1vw,1.85rem);font-weight:900;line-height:1.1;text-overflow:ellipsis;white-space:nowrap}.order-buttons{display:flex;gap:8px}.order-buttons .icon-button{border-color:var(--format-border);background:#fff;color:var(--format-accent)}.price-tiers{display:grid;gap:10px;padding:14px;border:1px solid #e2e8f0;border-radius:8px;background:#f8fafc}.price-tiers-heading,.price-tier-row{display:grid;gap:10px}.price-tiers-heading{grid-template-columns:minmax(0,1fr) auto;align-items:center}.small-action{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;padding:0 10px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;color:#0f172a;font-size:.86rem;font-weight:800;cursor:pointer}.small-action svg{width:16px;height:16px}.price-tier-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 42px;align-items:end}.format-grid,.settings-toggles{display:grid;gap:12px}.settings-toggles .choice{background:#fff}.retention-actions{display:grid;gap:12px;padding:14px;border:1px solid #fecaca;border-radius:8px;background:#fff1f2}.retention-actions strong{color:#9f1239}.compact-toggles{grid-template-columns:repeat(auto-fit,minmax(160px,1fr))}.panel-toolbar,.detail-heading{display:grid;gap:12px}.panel-toolbar h2,.detail-heading h2,.detail-section h3{margin:0;color:#0f172a}.orders-list{display:grid;gap:10px}.order-card{display:grid;gap:7px;width:100%;border:1px solid #e2e8f0;border-radius:8px;background:#f8fafc;color:#0f172a;padding:13px;text-align:left}.order-card.active{border-color:#0f766e;background:#f0fdfa}.order-attribution-label{width:fit-content;max-width:100%;border-radius:999px;background:#e0f2fe;color:#0369a1;padding:3px 9px;font-size:.76rem;font-weight:800;overflow-wrap:anywhere}.order-card small,.admin-item small,.detail-heading p{color:#64748b}.status-pill{display:inline-flex;width:fit-content;align-items:center;min-height:26px;border-radius:999px;padding:0 10px;font-size:.78rem;font-weight:850}.status-pill.success{background:#dcfce7;color:#166534}.status-pill.warning{background:#fef3c7;color:#92400e}.status-new{background:#dbeafe;color:#1d4ed8}.status-processing{background:#fef3c7;color:#92400e}.status-ready{background:#dcfce7;color:#166534}.status-delivered{background:#e0f2fe;color:#0369a1}.status-cancelled{background:#ffe4e6;color:#be123c}.detail-section{display:grid;gap:12px;padding-top:16px;border-top:1px solid #e2e8f0}.export-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.detail-section dl,.totals-section dl{display:grid;gap:9px;margin:0}.detail-section dl div{display:grid;gap:3px}.customer-actions{display:grid;gap:10px}.whatsapp-admin-button{border-color:#86efac;background:#f0fdf4;color:#15803d}.detail-section dt{color:#64748b;font-weight:750}.detail-section dd{margin:0;color:#0f172a;overflow-wrap:anywhere}.admin-items,.format-summary-list{display:grid;gap:10px}.format-summary-item{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px;border:1px solid #ccfbf1;border-radius:8px;background:#f0fdfa}.format-summary-item div{display:grid;gap:3px}.format-summary-item strong{color:#0f172a}.format-summary-item span{color:#475569;font-size:.9rem;font-weight:750}.format-summary-item b{color:#0f766e}.admin-item{display:grid;grid-template-columns:72px minmax(0,1fr);gap:10px;padding:12px;border:1px solid #e2e8f0;border-radius:8px;background:#f8fafc}.admin-item-preview{display:grid;place-items:center;width:72px;height:72px;overflow:hidden;border-radius:7px;background:#e2e8f0}.admin-item-preview img{width:100%;height:100%;object-fit:cover}.admin-item-preview svg{width:22px;height:22px;color:#0f766e}.admin-item div{display:grid;gap:4px;min-width:0}.admin-item strong,.admin-item small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.admin-item b{grid-column:2;color:#0f172a}.totals-section dl div{display:flex;justify-content:space-between;gap:16px}.totals-section dl div:last-child{font-size:1.15rem;font-weight:900}.empty-state{display:grid;gap:10px;min-height:120px;place-items:center;border:1px dashed #cbd5e1;border-radius:8px;color:#64748b;font-weight:750;text-align:center}.empty-state svg{width:28px;height:28px}.error-notice{border-color:#fecaca;background:#fff1f2;color:#be123c}.demo-notice{border-color:#99f6e4;background:#f0fdfa;color:#115e59}.card-page{display:grid;gap:24px;min-height:100dvh;place-items:center;padding:24px;background:#eef6f4}.card-controls{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;width:min(100%,920px);align-items:end;padding:14px;border:1px solid #cbd5e1;border-radius:8px;background:#fff}.customer-card{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:34px;width:min(100%,920px);min-height:500px;align-items:center;padding:38px;border:1px solid #d6d3d1;border-radius:8px;background:#fff;box-shadow:0 24px 70px #0f172a1f}.customer-card-copy{display:grid;gap:18px}.customer-card-copy h1{font-size:clamp(2.4rem,7vw,4.8rem)}.customer-card-copy p:not(.eyebrow){max-width:540px;color:#475569;font-size:1.15rem;line-height:1.55}.customer-card-copy strong{overflow-wrap:anywhere;color:#0f766e;font-size:1rem}.qr-panel{display:grid;gap:14px;justify-items:center;padding:18px;border:1px solid #ccfbf1;border-radius:8px;background:#f0fdfa}.qr-panel img,.qr-panel svg{width:260px;height:260px}.qr-panel span{color:#115e59;font-weight:900;text-align:center}@keyframes spin{to{transform:rotate(360deg)}}@media(min-width:760px){.app-shell{padding:max(36px,env(safe-area-inset-top)) max(36px,env(safe-area-inset-right)) max(36px,env(safe-area-inset-bottom)) max(36px,env(safe-area-inset-left))}.order-layout{grid-template-columns:minmax(0,1fr);align-items:start}.form-panel{grid-column:1}.field-grid,.inline-fields,.choice-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.field-grid label:last-child{grid-column:1 / -1}.admin-grid{grid-template-columns:390px minmax(0,1fr);align-items:start}.management-grid{grid-template-columns:minmax(0,1fr)}.management-form,.format-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.management-form label:nth-child(3),.management-form label:nth-child(4),.management-form label:nth-child(5),.settings-toggles,.management-card>label,.management-card>button{grid-column:1 / -1}.shipping-grid{grid-template-columns:minmax(0,1fr) 180px}.orders-panel,.detail-panel{min-height:620px}.orders-list{max-height:660px;overflow:auto;padding-right:4px}.panel-toolbar,.detail-heading{grid-template-columns:minmax(0,1fr) 220px;align-items:end}.management-panel .panel-toolbar{grid-template-columns:minmax(0,1fr) minmax(260px,340px)}.toolbar-actions,.detail-section dl{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:759px){html{scroll-snap-type:y proximity}.order-flow-shell{padding-bottom:calc(96px + env(safe-area-inset-bottom))}.statistics-panel{padding:14px}.statistics-heading{align-items:stretch;flex-direction:column}.statistics-periods{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.statistics-periods .secondary-button{justify-content:center}.statistics-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.compatibility-summary-grid,.compatibility-risk-grid{grid-template-columns:repeat(auto-fit,minmax(140px,1fr))}.compatibility-distribution-row{grid-template-columns:84px minmax(80px,1fr);gap:7px}.compatibility-distribution-row>span:last-child{grid-column:2}.excluded-device-row{grid-template-columns:minmax(0,1fr)}.statistic-card{min-height:116px;padding:13px}.statistic-card strong{font-size:1.65rem}.photo-controls>.inline-fields{grid-template-columns:minmax(0,1fr) 132px;gap:6px;align-items:end}.photo-controls .quantity-stepper{grid-template-columns:40px minmax(40px,1fr) 40px;gap:5px}.photo-controls .photo-quantity-label{margin-inline:44px;text-align:center;white-space:nowrap}.photo-controls .quantity-stepper button{min-height:40px}.photo-list{gap:18px}.photo-row{width:100%;margin-inline:0;padding:10px;scroll-margin-top:16px}.photo-row.is-compact{min-height:0;align-content:start}.form-panel:not(.photos-panel){min-height:calc(100dvh - 32px);align-content:start}.photos-panel,.delivery-panel{width:100%;scroll-snap-align:start;scroll-margin-top:16px}.photos-panel{padding:12px 0}.photos-panel>.section-heading,.photos-panel>.upload-box,.photos-panel>.photo-selection-summary,.photos-panel>.step-actions{margin-inline:12px}.photos-panel>.upload-box{width:auto}.applied-prices-grid{grid-template-columns:minmax(0,1.25fr) minmax(0,.8fr) minmax(0,.95fr) minmax(0,.9fr)}.applied-prices-grid span,.applied-prices-grid strong{padding:7px 6px;font-size:.82rem}.applied-prices-grid .applied-prices-heading{font-size:.62rem}.crop-panel{gap:6px;padding:7px}.photo-row.is-expanded .crop-panel{inset:max(4px,env(safe-area-inset-top)) max(4px,env(safe-area-inset-right)) max(4px,env(safe-area-inset-bottom)) max(4px,env(safe-area-inset-left));width:calc(100% - 8px);height:calc(100vh - 8px);height:calc(100dvh - 8px);max-height:calc(100dvh - 8px);padding:0 10px calc(104px + env(safe-area-inset-bottom));gap:2px;scroll-padding-bottom:calc(104px + env(safe-area-inset-bottom))}.photo-row.is-expanded .crop-heading-actions{gap:2px}.photo-row.is-expanded .print-fit-choice{gap:2px 8px}.print-fit-choice.has-remove-action{gap:4px}.print-fit-choice.has-remove-action label{padding-inline:6px}.photo-row.is-expanded .print-fit-choice legend{margin-bottom:0}.photo-row.is-expanded .print-fit-choice label{min-height:44px;padding:3px 8px}.photo-row.is-expanded .print-fit-choice p{min-height:0;font-size:.75rem;line-height:1.25}.photo-row.is-expanded .crop-controls{gap:2px}.photo-row.is-expanded .crop-controls>label{gap:2px;font-size:.84rem}.photo-row.is-expanded .crop-editor-layout{gap:3px}.photo-row.is-expanded .crop-stage{height:clamp(220px,38dvh,300px);padding:6px}.crop-editor-topbar{grid-template-columns:44px minmax(0,1fr) auto;margin-inline:-10px;padding-inline:10px}.crop-editor-cancel{display:none}.crop-frame{max-width:100%}.crop-frame[data-orientation=portrait]{width:min(100%,220px)}.crop-frame[data-orientation=landscape]{width:min(100%,330px)}.photo-row.is-compact .crop-frame[data-orientation=portrait]{width:min(100%,clamp(150px,28dvh,220px))}.photo-row.is-compact .crop-frame[data-orientation=landscape]{width:min(100%,clamp(220px,42dvh,360px))}.photo-row.is-compact .crop-overview[data-image-orientation=portrait]{width:min(100%,clamp(150px,28dvh,220px))}.photo-row.is-compact .crop-overview[data-image-orientation=landscape]{width:min(100%,clamp(220px,42dvh,360px))}.photo-row.is-compact .crop-preview-visual>.crop-frame,.photo-row.is-compact .crop-preview-visual>.crop-overview{width:min(100%,calc(var(--preview-height) * var(--preview-aspect-ratio, 1)));height:auto;max-width:100%;max-height:100%}.photo-row.is-compact .compact-crop-preview{align-content:center;flex:1}.photo-row.is-compact .crop-preview-visual{--preview-height: clamp(170px, 32dvh, 260px);height:var(--preview-height)}.photo-quick-nav{gap:5px;padding:5px}.photo-quick-nav button{min-height:40px;padding:5px;font-size:.68rem}.photo-nav-main{grid-template-columns:minmax(0,1fr) minmax(64px,max-content) minmax(0,1fr)}.photo-nav-main button{min-height:48px;padding:6px 5px;font-size:.74rem}.photo-nav-arrow{font-size:1.45rem}.photo-nav-label{font-size:.66rem}.photo-quick-nav strong{font-size:.82rem}.checkout-step-actions{display:grid;grid-template-columns:minmax(0,1fr)}.checkout-step-actions>*{width:100%;justify-content:center}.checkout-flow-panel{padding:12px}.crop-editor-layout{grid-template-columns:minmax(0,1fr) 48px;gap:8px;width:100%}.vertical-crop-control{min-height:0}.vertical-crop-control input[type=range]{min-height:120px;touch-action:none}.crop-heading{grid-template-columns:minmax(0,1fr);align-items:start;gap:8px}.crop-heading-actions{width:100%;justify-content:flex-start}.crop-heading-actions .small-action{min-height:44px;padding:7px 9px;line-height:1.2}.toggle-field{flex:1 1 100%}.vertical-crop-control span{max-width:48px;font-size:.7rem;line-height:1.15;overflow-wrap:normal}.zoom-stepper{grid-template-columns:minmax(52px,1fr) 44px 54px 44px;gap:6px}.zoom-stepper button{width:44px;min-height:44px}.delivery-panel .choice-grid{grid-template-columns:minmax(0,1fr);gap:10px}.delivery-panel .choice{width:100%;grid-template-columns:24px minmax(0,1fr);align-items:start;padding:13px 12px;line-height:1.35}.order-mode-grid{grid-template-columns:minmax(0,1fr);gap:10px}.order-mode-card{width:100%;min-height:0;padding:13px 12px}.order-mode-card-main{grid-template-columns:24px minmax(0,1fr)}.order-mode-maps-link{margin-left:36px}.delivery-panel .choice input{margin-top:1px}.delivery-panel textarea{max-width:100%}.shipping-details-button{width:100%}.shipping-modal-actions{align-items:stretch;flex-direction:column-reverse}.top-bar,.admin-header,.admin-actions{align-items:stretch}.top-bar,.admin-header{flex-direction:column}.share-app-area{justify-items:start}.share-app-message{text-align:left}.install-banner{grid-template-columns:1fr}.app-update-banner{align-items:stretch;flex-direction:column}.customer-modal-actions{justify-content:stretch}.customer-modal-actions>*,.whatsapp-help-button{width:100%;justify-content:center}.app-update-banner button{justify-content:center}.install-actions{justify-content:space-between}.admin-actions{width:100%}.admin-actions>*{flex:1}.card-controls,.customer-card{grid-template-columns:1fr}.customer-card{padding:24px}}.image-quality{margin:10px 0 0;padding:9px 11px;border:1px solid transparent;border-radius:10px;font-size:.88rem;line-height:1.35}.image-quality-excellent,.image-quality-good{color:#176239;background:#eef9f2;border-color:#b9e4c9}.image-quality-low{color:#7a5400;background:#fff8df;border-color:#efd98a}.image-quality-critical{color:#8b2d2d;background:#fff0f0;border-color:#efb8b8}.customer-price-list{margin:0 0 20px;border:1px solid #c8dbe8;border-radius:12px;background:#fbfdff}.customer-price-list summary{padding:13px 14px;border-radius:11px;cursor:pointer;font-weight:750;color:#173f63;background:#eef7fd}.customer-price-list[open] summary{border-bottom:1px solid #c8dbe8;border-radius:11px 11px 0 0}.customer-price-table-wrap{overflow-x:auto;border-radius:0 0 11px 11px}.customer-price-table{width:100%;border-collapse:collapse;color:#263c42;background:#fff;font-size:.95rem;line-height:1.45;text-align:left}.customer-price-table th,.customer-price-table td{padding:13px 14px;border-bottom:1px solid #dbe8f1;vertical-align:top}.customer-price-table thead th{color:#173f63;background:#e6f2fa;font-size:.86rem;font-weight:800;letter-spacing:.01em}.customer-price-table tbody tr:last-child>*{border-bottom:0}.customer-price-table tbody tr:nth-child(2n)>*{background:#f7fbfe}.customer-price-table tbody th{width:34%;border-right:1px solid #dbe8f1;color:#173f63;font-size:.98rem;font-weight:800;white-space:nowrap}.customer-price-tiers{display:grid;gap:0}.customer-price-tiers>span{display:grid;grid-template-columns:minmax(0,1fr) max-content;align-items:baseline;gap:8px;width:100%;padding-block:6px;border-bottom:1px solid #dfeaf2}.customer-price-tiers>span:first-child{padding-top:1px}.customer-price-tiers>span:last-child{padding-bottom:1px;border-bottom:0}.customer-price-tier-label{min-width:0}.customer-price-tiers strong{justify-self:end;color:#0b665f;font-weight:850;white-space:nowrap}@media(max-width:640px){.customer-price-table{font-size:.94rem}.customer-price-table th,.customer-price-table td{padding:12px 10px}.customer-price-table thead th{font-size:.84rem}.customer-price-table tbody th{width:32%;min-width:88px;white-space:normal}}@media print{body{background:#fff}.card-controls{display:none}.card-page{min-height:auto;padding:0;background:#fff}.customer-card{width:100%;min-height:0;box-shadow:none;break-inside:avoid}}
