@font-face{font-family:Poppins;src:url('assets/kiosk_fonts/Poppins-400.ttf') format('truetype');font-weight:400;font-display:swap}@font-face{font-family:Poppins;src:url('assets/kiosk_fonts/Poppins-600.ttf') format('truetype');font-weight:600;font-display:swap}
:root{--ink:#202033;--muted:#857974;--accent:#821a76;--accent-dark:#5d1457;--accent-light:#f2ecf7;--peach:#ffc9ab;--cream:#f7f7fc;--line:#e1deed;--surface:#fff;--shadow:0 16px 48px rgba(68,42,31,.07)}*{box-sizing:border-box}html,body{min-height:100%;margin:0}body{font-family:Poppins,'Avenir Next',Segoe UI,Arial,sans-serif;background:#f7f7fc;color:var(--ink);-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit}button{cursor:pointer;touch-action:manipulation}button:disabled{cursor:not-allowed;opacity:.45}a{color:inherit;text-decoration:none}[hidden]{display:none!important}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #f4ab84;outline-offset:3px}p{line-height:1.7;color:var(--muted)}h1,h2,h3,h4{letter-spacing:-.045em;margin:0;line-height:1.18}h1{font-size:clamp(30px,3.2vw,58px);font-weight:600}h2{font-size:25px}h3{font-size:17px}small,.small{font-size:12px}.muted{color:var(--muted)}.eyebrow{display:block;font-weight:700;letter-spacing:.18em;font-size:11px;color:var(--accent);text-transform:uppercase}.eyebrow.light{color:#ffe0c7}.brand{font-size:28px;letter-spacing:-.075em;font-weight:800;display:inline-flex;align-items:baseline;flex-wrap:wrap;line-height:1.12}.brand .brand-mark{font-size:17px;line-height:1;color:var(--accent);margin-left:3px}.brand small{display:block;width:100%;letter-spacing:.25em;font-size:9px;font-weight:700;margin-top:8px;color:var(--muted)}.brand.large{font-size:35px}.brand.large small{color:#f3cdbb}.btn{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:46px;padding:11px 19px;border-radius:13px;font-weight:650;font-size:13px;border:1px solid transparent;transition:background .15s,transform .15s;white-space:nowrap}.btn:hover:not(:disabled){transform:translateY(-1px)}.btn.primary{background:var(--accent);color:white;box-shadow:0 7px 18px #821a7629}.btn.primary:hover{background:var(--accent-dark)}.btn.secondary{border-color:var(--line);background:white;color:var(--ink)}.btn.ghost{background:#f7f7fc;border-color:#ecded6;color:var(--ink)}.btn.danger{background:#fff0ec;color:#b74b38}.btn.dark{background:var(--ink);color:white}.btn.small{min-height:38px;padding:9px 13px;font-size:12px}.btn.full{width:100%}.pill{display:inline-flex;align-items:center;gap:7px;font-size:11px;font-weight:700;letter-spacing:.02em;border-radius:99px;padding:8px 12px}.pill.soft{background:#f2ecf7;color:#68165f}.pill.green{background:#e8f6ed;color:#288156}.pill.neutral{background:#f7f4f0;color:#6e625b}.pill.warn{background:#fff4d9;color:#8b661a}.card{border:1px solid var(--line);border-radius:23px;padding:24px;background:#fff;box-shadow:var(--shadow)}.card.soft{background:#faf9fd}.card h2{font-size:22px}.field{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:600;color:#675d58}.field input,.field select,.field textarea,label input,label select,label textarea{width:100%;min-height:43px;border:1px solid #e6dbd3;background:white;border-radius:11px;padding:11px 13px;color:var(--ink);outline:none}.field textarea{min-height:96px;resize:vertical}.field input:focus,.field select:focus{border-color:var(--accent)}.field input[type=checkbox],.field input[type=radio]{width:auto;min-height:auto}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.span2{grid-column:1/-1}.row{display:flex;align-items:center;gap:12px}.between{justify-content:space-between}.wrap{flex-wrap:wrap}.col{display:flex;flex-direction:column;gap:12px}.section-top{display:flex;align-items:flex-start;justify-content:space-between;gap:22px;margin-bottom:22px}.section-top p{margin:8px 0 0;font-size:13px}.data-table{width:100%;border-collapse:collapse;font-size:13px;text-align:left}.data-table th{color:var(--muted);font-size:10px;letter-spacing:.09em;text-transform:uppercase;background:#faf9fd}.data-table th,.data-table td{padding:15px 13px;border-bottom:1px solid #f0e9e3;vertical-align:middle}.data-table tr:last-child td{border-bottom:0}.data-table td strong{font-weight:700}.table-wrap{overflow:auto}.table-actions{display:flex;gap:6px;flex-wrap:wrap}.link-button{background:none;border:0;padding:0;color:var(--accent-dark);font-weight:650;font-size:12px}.info-line{padding:12px 15px;border:1px solid #f0dbcb;background:#f3eff8;color:#765e51;border-radius:12px;font-size:12px;line-height:1.65}.info-line strong{color:#aa5b3f}.checkline{display:flex;align-items:center;gap:10px;cursor:pointer;font-size:13px}.checkline input{accent-color:var(--accent);width:17px;height:17px}.input-inline{display:flex;align-items:center;gap:9px}.input-inline input{max-width:120px}.stack{display:grid;gap:20px}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:20px}.three-col{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.four-col{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.metric{background:#fff;border:1px solid var(--line);border-radius:19px;padding:20px}.metric .metric-icon{font-size:21px;margin-bottom:17px}.metric b{display:block;font-size:27px;line-height:1.2}.metric small{color:var(--muted);font-size:11px}.icon-box{width:42px;height:42px;background:#f2ecf7;border:1px solid #f3dfd3;border-radius:12px;display:grid;place-items:center;font-size:20px}.subtle-link{display:block;color:#9a6653;font-size:12px;text-decoration:underline;margin-top:22px}.toast{z-index:1000;position:fixed;bottom:28px;right:28px;background:#312824;color:white;border-radius:14px;padding:14px 22px;max-width:420px;box-shadow:0 15px 40px #34231c3d;font-size:13px;opacity:0;pointer-events:none;transform:translateY(15px);transition:.2s}.toast.show{opacity:1;transform:translateY(0)}.footer{display:flex;justify-content:space-between;padding:20px 31px;color:#a8978c;font-size:10px;letter-spacing:.16em;border-top:1px solid var(--line)}
/* Login */
.auth-page{min-height:100vh;display:grid;grid-template-columns:1.04fr .96fr}.auth-visual{position:relative;background:radial-gradient(circle at 90% 82%,#821a76 0,transparent 34%),linear-gradient(135deg,#331c4a,#19192e 70%);color:white;overflow:hidden;padding:55px 5vw;display:flex;flex-direction:column;justify-content:space-between}.auth-hero{max-width:650px;z-index:1;margin-bottom:50px}.auth-hero h1{font-size:clamp(42px,5vw,76px);margin:23px 0}.auth-hero em{color:#dbb2ed;font-style:normal}.auth-hero p{color:#e8dff0;max-width:440px;font-size:17px}.auth-art{position:absolute;right:6%;bottom:-80px;transform:rotate(-10deg);opacity:.43;display:flex;gap:18px}.photo-polaroid{width:210px;background:white;padding:13px 13px 47px;box-shadow:0 15px 42px #0007;transform:rotate(-9deg)}.photo-polaroid.second{transform:rotate(14deg) translateY(35px)}.photo-polaroid img{width:100%;display:block}.auth-form-column{display:grid;place-items:center;padding:35px 6vw}.auth-box{width:min(440px,100%)}.auth-box h2{font-size:37px;margin:14px 0}.auth-box>p{font-size:14px;margin:0 0 32px}.auth-box form{display:grid;gap:18px}.auth-box label{font-size:12px;font-weight:700;display:grid;gap:9px}.auth-box input{min-height:54px;border-radius:12px}.demo-accounts{margin-top:28px;padding:16px 18px;border:1px dashed #e3d3c8;background:#faf9fd;border-radius:15px;font-size:11px;line-height:2;color:#786b65}.demo-accounts b{display:block;font-size:12px;color:var(--ink)}.demo-accounts code{font-family:inherit;color:#ad5644}.form-error{color:#a93b35;background:#fff1ed;padding:12px;border-radius:10px;font-size:12px}
/* Admin */
.shell{min-height:100vh;display:grid;grid-template-columns:252px minmax(0,1fr)}.sidebar{position:sticky;top:0;height:100vh;display:flex;flex-direction:column;background:#202033;color:#fff;padding:32px 18px 17px;overflow:auto}.sidebar .brand{font-size:27px;margin:0 7px 32px}.sidebar .brand small{color:#b9a79d}.sidebar-caption{font-size:10px;letter-spacing:.08em;color:#cfb8ab;background:#2e293b;padding:13px;border-radius:12px;margin:0 5px 15px;line-height:1.6}.sidebar nav{display:grid;gap:5px}.sidebar nav button{border:0;background:none;color:#e9dcd6;text-align:left;border-radius:11px;min-height:42px;padding:11px 12px;font-size:12px;display:flex;align-items:center;gap:12px}.sidebar nav button .nav-icon{font-size:18px;width:24px;text-align:center}.sidebar nav button.active{background:#821a76;color:#fff;font-weight:700}.sidebar nav button:hover{background:#35223f}.sidebar-bottom{margin-top:auto;display:grid;gap:10px}.demo-status{border:1px solid #5d4a44;border-radius:12px;padding:12px;display:flex;gap:9px;font-size:12px;line-height:1.5}.demo-status small{font-size:10px;color:#b9a79d}.live-dot{display:inline-block;flex-shrink:0;width:8px;height:8px;border-radius:50%;background:#8dd5a3;margin-top:5px;box-shadow:0 0 0 4px #8dd5a321}.sidebar-link{border:0;background:#35223f;color:#fff;padding:11px;border-radius:11px;min-height:40px;text-align:left;font-size:12px;display:block}.sidebar-link.muted{background:none;color:#c5b2a9}.main-wrap{min-width:0;display:flex;flex-direction:column}.admin-top{display:flex;justify-content:space-between;align-items:center;padding:30px 38px 24px;background:#fff;gap:20px;border-bottom:1px solid var(--line)}.admin-top h1{font-size:31px;margin-top:7px}.top-right{display:flex;align-items:center;gap:12px}.avatar{width:38px;height:38px;background:#202033;border-radius:50%;color:#fff;display:grid;place-items:center;font-size:11px;font-weight:800}.admin-content{padding:32px 38px;flex:1;max-width:1600px;width:100%;margin:0 auto}.context-strip{background:#fff;display:flex;align-items:center;gap:12px;padding:14px 18px;border:1px solid var(--line);border-radius:16px;margin-bottom:22px;flex-wrap:wrap}.context-strip select{border:1px solid var(--line);background:#f7f7fc;border-radius:9px;min-height:39px;padding:8px 12px;min-width:160px;color:var(--ink)}.context-strip .tiny{font-size:11px;font-weight:700;color:#73635b}.section-subtitle{font-size:13px;color:var(--muted);margin-top:6px}.setting-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.setting-block{border:1px solid var(--line);border-radius:17px;padding:20px;background:#fff}.setting-block h3{font-size:16px;margin-bottom:12px}.setting-block p{font-size:11px;margin-top:6px}.setting-block .checkline{margin:10px 0}.setting-block .field{margin:12px 0}.settings-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:22px}.product-icon{font-size:25px;display:grid;place-items:center;background:#f2ecf7;width:52px;height:52px;border-radius:15px}.item-card{border:1px solid var(--line);background:#fff;border-radius:19px;padding:19px;display:flex;flex-direction:column;gap:11px}.item-card h3{font-size:17px}.item-card p{margin:0;font-size:12px}.item-card .price-line{display:flex;justify-content:space-between;align-items:center;font-size:12px;padding-top:9px;border-top:1px solid #f3e8df}.item-card .price-line b{font-size:15px}.item-card .actions{margin-top:auto}.mini-form{margin-top:13px;display:flex;gap:8px}.mini-form input{width:110px;border:1px solid var(--line);padding:9px;border-radius:10px}.package-contents{display:flex;flex-wrap:wrap;gap:6px}.package-contents .pill{background:#fff3ed;color:#b46b54}.toggle-group{display:flex;gap:9px;flex-wrap:wrap}.toggle-group button{border:1px solid var(--line);padding:9px 12px;background:#fff;border-radius:12px;font-size:12px}.toggle-group button.selected{background:var(--accent-light);border-color:#f0ac9b;color:#aa4c38}.printer-list{display:grid;gap:12px}.printer-row{display:flex;align-items:center;justify-content:space-between;padding:18px;border:1px solid var(--line);background:#fff;border-radius:16px;gap:15px}.printer-row .name{display:flex;align-items:center;gap:13px}.route-grid{display:grid;gap:10px}.route-item{display:grid;grid-template-columns:1fr minmax(190px,.65fr);gap:14px;align-items:center;padding:11px 0;border-bottom:1px solid var(--line)}.route-item select{min-height:42px;border:1px solid var(--line);border-radius:10px;padding:9px}.tag-info{font-size:11px;line-height:1.5;color:var(--muted)}
/* Kiosk */
.kiosk-body,.customer-body{background:#f7f7fc;min-height:100vh}.kiosk-frame{min-height:100vh;display:flex;flex-direction:column;background:radial-gradient(circle at 0 35%,#fff0e6 0,transparent 30%),#f7f7fc}.kiosk-top{height:91px;padding:16px 3.5vw;display:flex;align-items:center;justify-content:space-between;gap:15px;border-bottom:1px solid #ecdfd7;background:#ffffffb8}.kiosk-top .brand{font-size:30px}.kiosk-top-actions{display:flex;gap:10px;align-items:center}.kiosk-top-actions .btn{background:white}.kiosk-body main{flex:1;padding:35px 3.5vw 55px}.kiosk-footer{padding-inline:3.5vw}.locked-screen{width:min(520px,100%);padding:35px;margin:20px auto;text-align:center;border-radius:28px;background:#fff;border:1px solid var(--line);box-shadow:var(--shadow)}.lock-icon{width:65px;height:65px;border-radius:19px;background:#f2ecf7;display:grid;place-items:center;font-size:29px;margin:0 auto 15px}.locked-screen h1{font-size:34px;margin:15px 0}.locked-screen p{font-size:13px;margin:12px 0 23px}.pin-dots{display:flex;gap:12px;justify-content:center;margin-bottom:25px}.pin-dot{width:15px;height:15px;border:2px solid #d9c6b9;border-radius:50%}.pin-dot.filled{background:var(--accent);border-color:var(--accent)}.pin-pad{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;max-width:280px;margin:0 auto 22px}.pin-pad button{height:57px;font-size:21px;font-weight:650;background:#fffaf6;border:1px solid var(--line);border-radius:13px;color:var(--ink)}.pin-pad button:active{background:#ffe3d5}.pin-hint{font-size:11px;color:#ad9181;margin-top:14px}.kiosk-idle{min-height:calc(100vh - 200px);display:grid;grid-template-columns:.9fr 1.1fr;align-items:center;gap:5vw}.kiosk-idle h1{font-size:clamp(42px,4.6vw,78px);line-height:1.08;margin:22px 0}.kiosk-idle h1 em,.kiosk-h1 em,.customer-title em{font-style:normal;color:var(--accent)}.kiosk-idle p{font-size:17px;max-width:470px}.kiosk-idle .btn{margin-top:15px}.showcase-frame{width:100%;aspect-ratio:1.32;max-height:68vh;padding:18px;background:#fff;box-shadow:0 25px 65px #5f45301a;border:1px solid #f2e2d8;border-radius:28px;transform:rotate(2deg);display:grid;place-items:center}.showcase-frame img{width:100%;height:100%;object-fit:contain;border-radius:14px;background:#f5efec}.showcase-caption{text-align:center;color:#a28e82;letter-spacing:.19em;font-size:10px;margin-top:20px}.kiosk-h1{font-size:clamp(36px,3.6vw,58px);margin:12px 0}.kiosk-intro{font-size:14px;margin:10px 0}.kiosk-page-head{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:22px}.kiosk-step{display:flex;gap:8px;align-items:center;font-size:12px;font-weight:700;color:#a78f82}.step-pill{border-radius:99px;padding:8px 12px;background:#f4e7df}.step-pill.active{background:var(--accent);color:#fff}.sale-layout{display:grid;grid-template-columns:minmax(0,1fr) 350px;gap:22px;align-items:start}.photo-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:14px}.photo-tile{position:relative;background:white;border:2px solid transparent;padding:9px;border-radius:17px;box-shadow:var(--shadow);min-height:165px;text-align:left}.photo-tile.selected{border-color:var(--accent);background:#fff3ed}.photo-tile img{width:100%;aspect-ratio:1.1;object-fit:contain;background:#f5f0ed;border-radius:11px;display:block}.photo-tile small{display:block;padding:9px 3px 1px;color:#76685f;font-size:11px}.photo-tile .tick{position:absolute;top:16px;right:16px;border:2px solid #ddd;border-radius:50%;height:29px;width:29px;display:grid;place-items:center;background:#fff;font-weight:800;color:#fff}.photo-tile.selected .tick{background:var(--accent);border-color:var(--accent)}.cart{position:sticky;top:22px}.cart h2{font-size:22px;margin:10px 0 16px}.cart .field{margin-bottom:12px}.cart .btn{margin-top:15px}.cart-photo-count{display:flex;justify-content:space-between;font-size:12px;align-items:center;padding:13px 0;border-top:1px solid var(--line)}.cart-price{display:flex;justify-content:space-between;border-top:1px solid var(--line);padding-top:16px;margin-top:15px;font-size:14px}.cart-price strong{font-size:25px}.offer-choice{border:1px solid #e8ddd5;border-radius:13px;padding:12px 13px;text-align:left;width:100%;background:white;display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:7px;font-size:12px}.offer-choice.active{border-color:var(--accent);background:#fff2eb;box-shadow:inset 0 0 0 1px var(--accent)}.offer-choice span{font-weight:700}.offer-choice small{font-size:10px;color:var(--muted)}.offer-group-label{display:block;font-size:10px;letter-spacing:.12em;font-weight:800;color:var(--muted);margin:15px 0 10px}.checkout-layout{display:grid;grid-template-columns:.8fr 1.2fr;gap:22px}.summary-row{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:12px 0;border-bottom:1px solid var(--line);font-size:13px}.summary-row:last-child{border-bottom:0}.pay-methods{display:grid;gap:11px}.pay-method{width:100%;min-height:85px;padding:18px;border-radius:16px;border:1px solid var(--line);background:#fff;display:flex;align-items:center;text-align:left;gap:15px}.pay-method:hover{border-color:#efab98;background:#f7f7fc}.pay-method .pay-icon{width:49px;height:49px;border-radius:14px;background:#f2ecf7;display:grid;place-items:center;font-size:23px}.pay-method strong{display:block;font-size:14px}.pay-method small{display:block;font-size:11px;color:var(--muted);margin-top:4px}.pay-method .arrow{margin-left:auto;font-size:22px;color:var(--accent)}.payment-demo{border:1px dashed #e3b8a7;background:#f2ecf7;border-radius:14px;padding:15px;font-size:12px;color:#805c4c;margin-top:15px}.center-view{max-width:710px;margin:8vh auto;text-align:center}.center-view h1{font-size:52px;margin:20px 0}.center-view p{font-size:15px}.success-icon{width:91px;height:91px;background:#e8f8ef;color:#34885b;border-radius:50%;font-size:44px;display:grid;place-items:center;margin:0 auto}.center-view .btn{margin:10px}.purchase-result{font-size:12px;color:#8b7568;margin-bottom:22px}.notice-banner{background:#fff4ec;border:1px solid #f0d7c7;padding:14px 17px;border-radius:14px;font-size:12px;color:#795a4e}
/* Configurator */
.config-layout{display:grid;grid-template-columns:minmax(0,1fr) 325px;gap:23px;align-items:start}.editor-card{background:#fff;border:1px solid var(--line);border-radius:22px;padding:22px;box-shadow:var(--shadow)}.editor-toolbar{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:18px;flex-wrap:wrap}.editor-toolbar h2{font-size:18px}.editor-frame{height:min(57vh,535px);min-height:330px;background:repeating-conic-gradient(#f4ede9 0 25%,#f7f7fc 0 50%) 50% / 27px 27px;border:1px dashed #e0cfc5;border-radius:18px;display:grid;place-items:center;padding:15px;position:relative;overflow:hidden;touch-action:none}.editor-frame canvas{max-width:100%;max-height:100%;display:block;cursor:grab;box-shadow:0 12px 32px #36241c24;border:8px solid #fff;background:#eee}.editor-frame canvas:active{cursor:grabbing}.editor-right .card{padding:19px}.editor-right h3{font-size:16px;margin-bottom:12px}.range-row{display:grid;gap:6px;margin:12px 0}.range-row label{font-weight:650;font-size:12px;display:flex;justify-content:space-between}.range-row input{accent-color:var(--accent);width:100%}.sticker-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.sticker-add{padding:8px;border:1px solid var(--line);border-radius:11px;background:#f7f7fc;display:grid;justify-items:center;gap:3px;min-height:59px}.sticker-add .emoji{font-size:25px}.sticker-add small{font-size:9px;color:var(--muted)}.sticker-add.selected{border-color:var(--accent)}.edition-info{display:flex;justify-content:space-between;gap:12px;padding:11px 0;border-bottom:1px solid var(--line);font-size:12px}.edition-info span{color:var(--muted)}.editor-actions{display:flex;justify-content:flex-end;gap:11px;margin-top:20px;flex-wrap:wrap}.editor-step-count{font-size:11px;font-weight:800;letter-spacing:.12em;color:var(--accent)}.progress-track{height:7px;background:#f3e6de;border-radius:10px;overflow:hidden;min-width:110px}.progress-track>div{height:100%;background:var(--accent);transition:width .18s}.editor-helper{text-align:center;font-size:11px;color:var(--muted);margin-top:12px}.job-list{display:grid;gap:10px}.job-row{display:grid;grid-template-columns:75px minmax(0,1fr) auto;gap:12px;align-items:center;padding:11px 13px;background:#fff;border:1px solid var(--line);border-radius:12px}.job-row img{width:75px;height:57px;object-fit:contain;border-radius:8px;background:#f8f1ed}.job-row h3{font-size:13px;margin-bottom:4px}.job-row p{font-size:11px;margin:0}.job-row .btn{min-height:30px}.kbd{border:1px solid var(--line);border-radius:6px;padding:2px 5px;background:#fff;font-size:10px}
/* customer */
.customer-body{display:flex;flex-direction:column;min-height:100vh;background:radial-gradient(circle at 0 100%,#f2ecf7,transparent 38%),#f7f7fc}.customer-top{flex-shrink:0}.customer-main{flex:1;display:grid;place-items:center;padding:28px 3.6vw}.customer-center{text-align:center;max-width:1050px;width:100%}.customer-title{font-size:clamp(33px,4vw,65px);margin:17px 0}.customer-copy{margin:0 auto 20px;max-width:780px;font-size:16px}.customer-preview{min-height:270px;height:min(55vh,555px);max-width:900px;margin:10px auto;background:#fff;border:1px solid var(--line);border-radius:26px;padding:20px;box-shadow:0 20px 65px #67504113;display:flex;align-items:center;justify-content:center}.customer-preview img{max-width:100%;max-height:100%;object-fit:contain}.customer-preview canvas{max-width:100%;max-height:100%}.customer-package{max-width:950px;margin:25px auto;display:flex;justify-content:center;gap:15px;flex-wrap:wrap}.customer-product{width:180px;background:#fff;border:1px solid var(--line);padding:12px;border-radius:16px;text-align:center}.customer-product .product-mock{height:134px;display:grid;place-items:center;background:#f7f7fc;border-radius:11px;margin-bottom:8px}.product-mock img{width:75%;height:100%;object-fit:cover;box-shadow:0 5px 15px #4c37321c}.product-mock.keychain{width:85px;height:120px;margin:0 auto 8px;border:7px solid #f4d6a9;border-radius:43% 43% 42% 42%;position:relative}.product-mock.keychain:before{position:absolute;content:'';font-size:30px;top:-34px;color:#aa875b}.product-mock.keychain img{width:100%;height:100%;border-radius:50%}.product-mock.digital{border:1px solid #dfcabd;box-shadow:inset 0 0 0 5px white}.customer-price{font-size:29px;font-weight:800;margin-top:13px}.customer-status{color:#ac7864;font-weight:700;letter-spacing:.08em;font-size:12px}.customer-demo-note{margin:15px auto 0;font-size:12px;color:#9b8579}.customer-preview.editing{border-color:#baa1d3}.customer-frame-info{display:flex;align-items:center;justify-content:center;gap:10px;margin-top:13px;font-size:12px;color:#805f52}.customer-frame-info .live-dot{background:#821a76}.qr-placeholder{width:135px;height:135px;border:4px dashed #dfb1a2;border-radius:11px;margin:17px auto;display:grid;place-items:center;font-size:65px;color:#d28b77}.empty-illustration{font-size:44px;background:#f2ecf7;width:90px;height:90px;border-radius:20px;display:grid;place-items:center;margin:30px auto}
@media(max-width:1100px){.four-col{grid-template-columns:repeat(2,1fr)}.config-layout{grid-template-columns:1fr}.editor-right{display:grid;grid-template-columns:1fr 1fr;gap:15px}.sale-layout{grid-template-columns:minmax(0,1fr) 305px}.sidebar{padding-inline:12px}.shell{grid-template-columns:220px minmax(0,1fr)}}@media(max-width:800px){.auth-page{grid-template-columns:1fr}.auth-visual{min-height:290px;padding:28px}.auth-art{display:none}.auth-hero{margin:25px 0 0}.auth-hero h1{font-size:35px}.auth-form-column{padding:38px 25px}.shell{grid-template-columns:1fr}.sidebar{position:relative;height:auto;overflow:visible}.sidebar nav{grid-template-columns:repeat(2,1fr)}.sidebar-bottom{margin-top:20px}.admin-top{padding:23px}.admin-content{padding:19px}.setting-grid,.two-col,.three-col,.form-grid{grid-template-columns:1fr}.span2{grid-column:auto}.sale-layout,.checkout-layout{grid-template-columns:1fr}.cart{position:static}.kiosk-idle{grid-template-columns:1fr}.kiosk-top{height:auto;flex-wrap:wrap;padding:17px}.kiosk-top-actions{flex-wrap:wrap}.kiosk-body main{padding:25px 15px}.photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.editor-right{grid-template-columns:1fr}.customer-top{padding:19px}.customer-main{padding:20px}.customer-preview{height:40vh}.route-item{grid-template-columns:1fr}.footer{padding:17px;font-size:8px}.table-wrap{overflow:auto}.context-strip{align-items:stretch}.context-strip select{width:100%}}

/* v0.3: role choice and kiosk-specific operational preferences */
.entry-choice{max-width:950px;margin:3vh auto}.entry-choice>p{max-width:700px;margin:18px auto 26px}.choice-cards{margin:28px 0}.choice-card{text-align:left;display:flex;flex-direction:column;align-items:flex-start;gap:14px;padding:27px;border-radius:22px;border:1px solid var(--line);background:white;box-shadow:var(--shadow);min-height:240px;transition:transform .15s,border-color .15s}.choice-card:hover{transform:translateY(-3px);border-color:var(--accent)}.choice-card h2{font-size:23px}.choice-card p{font-size:13px;margin:0}.choice-link{color:var(--accent-dark);margin-top:auto;font-size:13px;font-weight:700}.kiosk-settings{max-width:1350px;margin:26px auto}.kiosk-settings .card{min-height:370px}.kiosk-settings .field{margin-top:12px}.kiosk-settings .info-line{font-weight:400}

/* v0.4 - productie-georienteerde kiosk: vaste viewport en touch first.
   Kleurpalet is configureerbaar; de originele site-assets zijn niet in deze demo opgenomen. */
:root{--ink:#202033;--muted:#6b687b;--accent:#821a76;--accent-dark:#5d1457;--accent-light:#f2ecf7;--peach:#ffc9ac;--cream:#f7f7fc;--line:#e1deed;--shadow:0 11px 34px rgba(44,28,19,.07)}
.kiosk-body,.customer-body{height:100vh;height:100dvh;max-height:100dvh;width:100vw;overflow:hidden}
.kiosk-frame{height:100vh;height:100dvh;max-height:100dvh;width:100vw;min-height:0;display:grid;grid-template-rows:72px minmax(0,1fr) 30px;overflow:hidden;background:radial-gradient(circle at 90% 5%,#f2ecf7,transparent 40%),#f7f7fc}
.kiosk-top{height:72px;min-height:72px;overflow:hidden;padding:7px clamp(12px,2vw,32px)}
.kiosk-top .brand{font-size:clamp(21px,2vw,29px)}
.kiosk-top .brand small{margin-top:2px;font-size:8px}
.kiosk-top-actions{gap:8px;flex-wrap:nowrap}
.kiosk-top-actions .btn{min-height:49px;padding:9px 14px;font-size:12px}
.kiosk-top-actions .pill{font-size:10px}
.kiosk-body #kioskMain{min-height:0;height:100%;max-height:100%;overflow:hidden;padding:12px clamp(12px,2vw,31px);display:flex;flex-direction:column;position:relative}
.kiosk-footer{height:30px;min-height:30px;display:flex;align-items:center;padding:0 clamp(12px,2vw,31px);font-size:9px}
.kiosk-body .btn{min-height:54px;padding:12px 20px;font-size:14px;border-radius:13px}
.kiosk-body .btn.small{min-height:49px;padding:9px 15px;font-size:12px}
.kiosk-body .card{padding:clamp(12px,1.4vw,20px)}
.kiosk-body .field input,.kiosk-body .field select,.kiosk-body .local-route select{min-height:52px}
.kiosk-body h1{line-height:1.07}
.kiosk-body .kiosk-h1{font-size:clamp(24px,2.4vw,39px)}
.kiosk-body .kiosk-page-head{flex-shrink:0;margin-bottom:12px;gap:12px}
.kiosk-body .kiosk-page-head p{font-size:12px;margin:6px 0 0}
.kiosk-body .kiosk-step{flex-shrink:0;padding:1px 0;gap:5px}
.kiosk-body .step-pill{padding:5px 10px;font-size:10px}
.kiosk-body .kiosk-idle{height:100%;min-height:0;max-height:100%;width:100%;grid-template-columns:.9fr 1.1fr;align-items:center;gap:3vw}
.kiosk-body .kiosk-idle h1{font-size:clamp(39px,4.2vw,65px);margin:10px 0 15px}
.kiosk-body .kiosk-idle p{font-size:clamp(12px,1.1vw,17px);line-height:1.55}
.kiosk-body .showcase-frame{height:min(57vh,510px);min-height:0}
.kiosk-body .kiosk-idle .btn{margin-top:9px!important}
.kiosk-body .locked-screen,.kiosk-body .kiosk-activation{width:min(480px,100%);max-height:100%;height:auto;margin:auto;padding:clamp(12px,1.7vh,20px) 26px;background:#fff;border:1px solid var(--line);border-radius:26px;box-shadow:var(--shadow);text-align:center;overflow:hidden;display:flex;flex-direction:column;align-items:center;gap:7px}
.kiosk-body .locked-screen h1,.kiosk-body .kiosk-activation h1{font-size:clamp(26px,3.1vh,36px);margin:4px 0}
.kiosk-body .locked-screen p,.kiosk-body .kiosk-activation p{margin:0;font-size:12px;line-height:1.45}
.kiosk-body .locked-screen .eyebrow,.kiosk-body .kiosk-activation .eyebrow{font-size:10px}
.pin-dots{margin:8px auto 3px;display:flex;gap:15px;justify-content:center}
.pin-dot{width:16px;height:16px}
.pin-pad{width:100%;max-width:316px;margin:0 auto;grid-template-columns:repeat(3,1fr);gap:10px}
.pin-pad button{height:clamp(58px,7.5vh,78px);font-size:27px;font-weight:700;background:#fff9f6;border:2px solid #eeded5;border-radius:17px;box-shadow:0 4px 0 #f1e9e4}
.pin-pad button:active{transform:translateY(2px);box-shadow:none}
.pin-spacer{display:block}
.pin-help{font-size:11px!important;margin-top:7px!important}
.kiosk-activation{max-width:655px!important;width:min(655px,100%)!important;gap:13px!important;padding:clamp(20px,3vh,34px) 37px!important}
.kiosk-activation h1{font-size:clamp(27px,3.8vw,43px)!important}
.activation-form{display:grid;grid-template-columns:1fr auto;gap:10px;text-align:left;width:100%;align-items:end;margin:8px 0}
.activation-form label{grid-column:1/-1;color:var(--muted);font-size:12px;font-weight:700}
.activation-form input{min-height:59px;padding:10px 17px;font-size:20px;text-transform:uppercase;letter-spacing:.08em;border:2px solid #ebd9d1;border-radius:15px;width:100%;min-width:0}
.activation-device{background:#fff5ef;padding:13px 18px;border-radius:16px;display:flex;flex-direction:column;gap:4px;width:100%}
.activation-device span{color:var(--muted);font-size:10px;letter-spacing:.08em}
.activation-device strong{font-size:17px;letter-spacing:.07em}
.entry-choice{width:100%;max-width:1000px;height:100%;min-height:0;margin:auto;display:flex;flex-direction:column;align-items:center;justify-content:center}
.entry-choice h1{font-size:clamp(29px,3vw,43px);margin:9px 0}
.entry-choice>p{margin:4px 0 12px;font-size:13px;line-height:1.5;text-align:center}
.entry-choice .choice-cards{width:100%;margin:9px 0;gap:15px}
.entry-choice .choice-card{min-height:200px;padding:22px;gap:8px}
.entry-choice .choice-card p{font-size:12px}
/* Kioskfotoselectie: paginering in plaats van een scrollende grid */
.sale-layout{flex:1;min-height:0;display:grid;grid-template-columns:minmax(0,1fr) minmax(295px,340px);gap:13px;align-items:stretch;overflow:hidden}
.sale-layout>div:first-child{display:flex;flex-direction:column;min-height:0}
.sale-layout .row.between{margin-bottom:8px!important;min-height:35px}
.photo-grid{flex:1;min-height:0;height:100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:10px;overflow:hidden}
.photo-tile{min-width:0;min-height:0;height:100%;padding:7px;border-radius:13px;overflow:hidden;display:flex;flex-direction:column}
.photo-tile img{min-height:0;flex:1;aspect-ratio:auto;width:100%;object-fit:contain}
.photo-tile small{max-height:17px;font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.photo-page-controls{flex-shrink:0;display:flex;align-items:center;justify-content:center;gap:15px;padding-top:6px;font-size:12px}
.photo-page-controls .btn{min-height:48px;padding:7px 16px}
.sale-layout .cart{min-height:0;max-height:100%;position:static;display:flex;flex-direction:column;overflow:hidden}
.sale-layout .cart h2{margin:5px 0 7px;font-size:17px}
.sale-layout .cart .offer-group-label{margin:7px 0 5px}
.offer-choice{min-height:55px;margin-bottom:5px;padding:8px 10px;font-size:11px;flex-shrink:0}
.offer-choice small{display:block;max-height:25px;overflow:hidden}
.offer-pagination{display:flex;align-items:center;justify-content:center;gap:10px;margin:5px auto}
.offer-pagination .btn{min-height:38px!important;padding:4px 12px!important}
.sale-layout .cart-photo-count{padding:8px 0;font-size:11px}
.sale-layout .cart-price{margin-top:7px;padding-top:10px}
.sale-layout .cart-price strong{font-size:19px}
.sale-layout .cart [data-action=checkout]{margin-top:10px}
.sale-layout .cart .info-line{display:none}
/* Betalen zonder verticale scroll */
.checkout-layout{width:100%;min-height:0;flex:1;grid-template-columns:.85fr 1.15fr;gap:13px;overflow:hidden}
.checkout-layout>.card{min-height:0;overflow:hidden}
.checkout-layout .pay-methods{gap:7px;margin-top:10px!important}
.checkout-layout .pay-method{min-height:78px;padding:10px 16px}
.checkout-layout .summary-row{padding:6px 0}
.kiosk-body .center-view{height:100%;max-height:100%;margin:auto;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:10px}
.kiosk-body .center-view h1{font-size:clamp(28px,4.5vh,43px);margin:5px 0}
.kiosk-body .center-view p{margin:2px 0;line-height:1.5;font-size:12px}
.kiosk-body .center-view .card{width:100%;overflow:hidden;min-height:0}
.kiosk-body .center-view .job-list{max-height:28vh;overflow:hidden;display:grid;grid-template-columns:1fr 1fr;gap:7px}
.kiosk-body .center-view .job-row{grid-template-columns:40px 1fr auto;gap:7px;padding:8px}
.kiosk-body .center-view .job-row h3{font-size:11px}
.kiosk-body .center-view .job-row p{font-size:9px}
.kiosk-body .center-view .job-row .icon-box{width:35px;height:35px}
/* Configurator: right pane with visible tabs (one card at a time) */
.config-layout{width:100%;min-height:0;flex:1;grid-template-columns:minmax(0,1fr) minmax(285px,355px);gap:12px;align-items:stretch;overflow:hidden}
.config-layout .editor-card{min-height:0;max-height:100%;display:flex;flex-direction:column;overflow:hidden;padding:13px}
.config-layout .editor-toolbar{margin-bottom:6px;flex-shrink:0}
.config-layout .editor-toolbar h2{font-size:16px}
.config-layout .editor-frame{min-height:0;height:auto;flex:1;padding:8px;overflow:hidden}
.config-layout .editor-frame canvas{max-height:100%;max-width:100%;object-fit:contain}
.config-layout .editor-helper{margin:5px 0;font-size:10px}
.config-layout .editor-actions{margin-top:4px;flex-shrink:0;gap:6px}
.config-layout .editor-actions .btn{font-size:12px;min-height:45px;padding:8px 12px}
.editor-right{min-height:0;max-height:100%;display:flex;flex-direction:column;gap:8px;overflow:hidden}
.editor-right .card{padding:16px;min-height:0;flex:1;overflow:hidden}
.editor-tab-nav{display:flex;gap:5px;flex-shrink:0}
.editor-tab-nav button{min-height:48px;flex:1;background:#fff;border:1px solid var(--line);border-radius:10px;padding:8px;font-size:12px;font-weight:700}
.editor-tab-nav button.active{border-color:var(--accent);background:var(--accent-light);color:var(--accent-dark)}
.editor-right h3{font-size:17px;margin-bottom:12px}
.editor-right .range-row{margin:11px 0}
.editor-right .sticker-add{min-height:72px}
/* Local kiosk settings shown within one viewport */
.kiosk-settings.compact{height:100%;width:100%;max-width:none;margin:0;min-height:0;display:flex;flex-direction:column;gap:9px;overflow:hidden}
.kiosk-settings.compact .kiosk-page-head{margin:0}
.kiosk-tabs{display:flex;gap:7px;flex-shrink:0}
.kiosk-tabs button{min-height:50px;padding:9px 17px;font-size:13px;background:#fff;border:1px solid var(--line);border-radius:11px;color:var(--ink);font-weight:700}
.kiosk-tabs button.active{background:var(--accent);color:#fff;border-color:var(--accent)}
.kiosk-settings-panel{min-height:0;flex:1;overflow:hidden}
.settings-compact-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;height:100%;min-height:0}
.settings-compact-grid>.card{min-height:0!important;height:100%;overflow:hidden;display:flex;flex-direction:column;gap:10px}
.settings-compact-grid .card h2{font-size:19px;line-height:1.25;overflow-wrap:anywhere}
.settings-compact-grid .card p{font-size:11px;margin:0;line-height:1.4}
.settings-compact-grid .edition-info{padding:6px 0;font-size:11px}
.settings-compact-grid .row{margin-top:auto}
.settings-compact-grid .field{margin:3px 0!important}
.local-printer-list,.local-route-list{display:flex;flex-direction:column;gap:4px;min-height:0;overflow:hidden}
.local-printer{display:grid;grid-template-columns:28px minmax(0,1fr) auto;align-items:center;gap:9px;padding:7px 6px;border-bottom:1px solid var(--line)}
.local-printer strong,.local-printer small{display:block;font-size:11px}
.local-printer small{color:var(--muted);font-size:9px}
.local-route{display:grid;grid-template-columns:minmax(0,1fr) minmax(140px,50%);gap:9px;align-items:center;padding:4px 0;font-size:11px}
.local-route select{min-height:43px!important;padding:6px!important;font-size:11px}
#addLocalPrinter{gap:6px;margin-top:auto}
#addLocalPrinter input,#addLocalPrinter select{min-height:43px;max-width:36%;min-width:95px;border:1px solid var(--line);border-radius:10px;padding:8px;font-size:11px}
#localRoutes{display:flex;flex-direction:column;min-height:0;gap:5px;height:100%}
#localRoutes button{margin-top:auto}
.kiosk-settings-panel>.card{height:100%;min-height:0!important;overflow:hidden}
.audit-scroll{height:calc(100% - 56px);overflow:auto}
/* Customer cannot scroll, whether slide or live editor */
.customer-body{display:grid;grid-template-rows:68px minmax(0,1fr) 28px}
.customer-top{height:68px;min-height:68px;overflow:hidden;padding:8px 2vw}
.customer-body .customer-main{min-height:0;overflow:hidden;display:flex;align-items:center;justify-content:center;padding:8px 2vw}
.customer-body .customer-center{height:100%;max-height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;overflow:hidden}
.customer-body .customer-title{font-size:clamp(26px,3.4vw,49px);margin:5px 0}
.customer-body .customer-copy{font-size:13px;margin:0 auto 5px;line-height:1.5}
.customer-body .customer-preview{min-height:0;flex:1;height:auto;max-height:52vh;margin:3px auto;width:min(900px,100%);padding:10px}
.customer-body .customer-preview img{max-height:100%}
.customer-body .customer-package{min-height:0;max-height:48vh;overflow:hidden;margin:7px auto;align-content:center}
.customer-body .customer-product{height:min(32vh,240px);overflow:hidden}
.customer-body .customer-product .product-mock{height:calc(100% - 25px)}
.customer-body .customer-price{font-size:24px;margin:5px 0}
.customer-body .customer-demo-note{font-size:10px;margin:2px 0}
.customer-body .footer{height:28px;min-height:28px;padding:6px 2vw}
/* admin additions */
.event-code{display:inline-block;letter-spacing:.07em;font-size:12px;font-weight:700;color:var(--accent-dark);padding:6px 8px;background:#fff5ef;border:1px solid #f4dfd4;border-radius:9px;user-select:all}
.watermark-row{display:grid;grid-template-columns:1.15fr 1fr 1.15fr .9fr;gap:15px;align-items:center;border-bottom:1px solid var(--line);padding:14px 0}
.watermark-row .field input{min-width:0}
@media(max-width:1200px){.photo-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.sale-layout{grid-template-columns:minmax(0,1fr) 298px}.kiosk-top-actions .pill{display:none}.kiosk-body .btn{font-size:12px;padding:10px 12px}.settings-compact-grid{grid-template-columns:1fr 1fr}.watermark-row{grid-template-columns:1fr 1fr}}
@media(max-height:800px){.kiosk-body #kioskMain{padding-top:8px;padding-bottom:8px}.kiosk-body .kiosk-page-head{margin-bottom:7px}.kiosk-body .kiosk-h1{font-size:29px}.kiosk-body .kiosk-intro{font-size:11px}.pin-pad button{height:55px}.locked-screen{gap:5px!important}.settings-compact-grid .card{gap:6px}.settings-compact-grid .card p{font-size:10px}.local-printer{padding:4px}.local-route{padding:2px 0}.editor-right .card{padding:11px}.config-layout .editor-card{padding:10px}}
@media(max-width:820px){.kiosk-frame{grid-template-rows:61px minmax(0,1fr) 24px}.kiosk-top{height:61px;min-height:61px}.kiosk-top-actions .btn{padding:8px;font-size:10px;min-height:42px}.kiosk-top-actions .btn:nth-child(1){display:none}.sale-layout{grid-template-columns:minmax(0,1fr) 255px}.photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.offer-choice{min-height:52px}.config-layout{grid-template-columns:minmax(0,1fr) 250px}.settings-compact-grid{grid-template-columns:1fr 1fr;gap:7px}.settings-compact-grid .card{padding:9px}.kiosk-tabs button{padding:6px 8px;font-size:11px}.watermark-row{grid-template-columns:1fr}}
/* Brand asset fallback. Replace assets/snapfactory-officieel.svg with actual authorised artwork. */
.brand{position:relative}
.brand .brand-mark{display:none}

.sf-official-logo{display:block;max-width:205px;max-height:47px;object-fit:contain;object-position:left center}.brand.has-logo{display:flex;align-items:center}.brand.has-logo>small,.brand.has-logo>.brand-mark{display:none}.brand.has-logo{font-size:0}.auth-visual .sf-official-logo{max-width:250px;max-height:72px}.brand-preview{background:var(--cream);border-radius:20px;padding:35px;margin:20px 0;display:grid;gap:10px}.brand-preview strong{font-size:39px;letter-spacing:-.075em}.brand-preview span{font-size:10px;letter-spacing:.18em;color:var(--muted)}
/* Prevent intrinsic canvas size from escaping the fixed-height editor at 720p. */
.config-layout .editor-frame canvas{max-height:min(100%,calc(100dvh - 415px));max-width:100%;height:auto;width:auto;object-fit:contain}
.config-layout .editor-frame{display:flex;align-items:center;justify-content:center}

/* v0.5 — retain original palette and controls, with separate selection/offer steps. */
.photo-filters{display:flex;gap:10px;align-items:end;flex-shrink:0;margin:0 0 8px}.photo-filters label{display:flex;flex-direction:column;gap:3px;font-size:11px;flex:1;min-width:0}.photo-filters input,.photo-filters select{min-height:44px;width:100%;padding:8px;border:1px solid var(--line);border-radius:10px;background:white;font:inherit}.selection-count{display:flex;justify-content:space-between;gap:8px;font-size:12px;margin-bottom:8px;flex-shrink:0}.selection-grid{height:auto;grid-auto-rows:minmax(0,1fr)}.photo-page-controls{flex-shrink:0;display:flex;gap:8px;align-items:center;justify-content:space-between;margin-top:8px}.photo-page-controls .btn{min-height:48px}.offer-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(310px,380px);gap:20px;min-height:0;flex:1}.offer-layout>div{min-height:0;display:flex;flex-direction:column;gap:10px}.primary-photos{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:minmax(70px,1fr);gap:8px;max-height:55%;min-height:80px;overflow:auto}.primary-photos .photo-tile{min-height:70px;height:100%}.offer-layout .product-mock{height:100px;min-height:0;flex:1;display:flex;justify-content:center}.offer-layout .product-mock img{width:auto;object-fit:contain}.offer-layout .cart{position:static;min-height:0;overflow:auto}.offer-layout .cart p{font-size:12px}.offer-layout .offer-choice{margin-bottom:7px}.offer-layout .cart-price{padding:8px 0}.watermark-product{border-bottom:1px solid var(--line);padding:15px 0}.watermark-thumb{max-width:160px;max-height:80px;background:#eee}.mini-form.packagePriceForm{display:flex;flex-wrap:wrap}.mini-form.packagePriceForm input,.mini-form.packagePriceForm select{min-width:120px;flex:1}
.customer-selection{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:10px;flex:1;min-height:0;width:100%;max-height:65vh}.customer-selected-photo{background:white;border:2px solid transparent;border-radius:14px;min-height:0;overflow:hidden;padding:5px;position:relative}.customer-selected-photo img{width:100%;height:100%;object-fit:contain}.customer-selected-photo.main-photo{border-color:var(--accent)}.customer-selected-photo small{position:absolute;bottom:4px;left:4px;background:white;padding:3px;border-radius:5px}.customer-offers{display:flex;gap:10px;justify-content:center;width:100%;flex-shrink:0;max-height:135px}.customer-offer{display:flex;text-align:left;gap:10px;flex:1;min-width:0;background:white;border:1px solid var(--line);border-radius:13px;padding:10px;align-items:center}.customer-offer.chosen{border:2px solid var(--accent)}.customer-offer .product-mock{width:80px;min-width:60px;height:80px}.customer-offer .product-mock img{width:100%;object-fit:contain}.customer-offer>div:last-child{display:flex;flex-direction:column;gap:4px}.customer-offer small{font-size:10px}.customer-offer b{color:var(--accent)}.config-layout .editor-frame canvas{max-height:calc(100dvh - 280px);touch-action:none}.editor-right{overflow:auto;min-height:0}.photo-tile img{object-fit:contain}
@media(min-width:900px) and (max-height:800px){.selection-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:900px){.photo-filters{gap:5px}.photo-filters .btn{padding:7px;font-size:11px}.selection-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.offer-layout{grid-template-columns:minmax(0,1fr) 290px;gap:10px}.customer-offer .product-mock{width:45px;min-width:35px}.customer-offer{padding:6px;gap:5px}.customer-offer strong{font-size:12px}}
@media(max-width:600px){.kiosk-top .brand{font-size:17px}.kiosk-top-actions{gap:3px}.kiosk-top-actions .btn{font-size:9px;padding:5px;min-height:40px}.kiosk-top-actions #adminOpen{display:none}.photo-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px}.photo-filters input,.photo-filters select{padding:4px;font-size:10px;min-height:40px}.photo-filters .btn{grid-column:span 2;min-height:40px}.photo-page-controls{flex-wrap:wrap}.photo-page-controls .btn{font-size:11px;padding:8px;min-height:44px}.photo-page-controls>.btn.primary{width:100%}.kiosk-body .kiosk-h1{font-size:21px}.kiosk-page-head .btn{font-size:11px;padding:8px}.selection-count{font-size:10px}.offer-layout{display:flex;flex-direction:column;gap:8px}.offer-layout>div{flex:0 0 26%;gap:3px}.offer-layout>div h3{font-size:12px;margin:0}.offer-layout>div>p,.offer-layout>div>.product-mock{display:none}.primary-photos{max-height:none;min-height:0;flex:1;grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:100%;overflow:auto}.offer-layout .cart{flex:1;padding:10px}.kiosk-body .offer-choice{min-height:50px;padding:7px;font-size:12px}.kiosk-body .offer-choice small{font-size:9px}.offer-layout .cart .btn{min-height:42px;padding:6px}.offer-layout .cart p{font-size:10px;margin:3px 0}.offer-layout .cart-price{font-size:17px}.config-layout{display:flex;flex-direction:column}.config-layout .editor-card{flex:1}.config-layout .editor-right{display:block;flex:0 0 200px;overflow:auto}.config-layout .editor-right .card:last-child{display:none}.config-layout .editor-frame canvas{max-height:calc(100dvh - 440px)}.editor-right .range-row{margin:5px 0}.editor-right .range-row input{width:100%}.config-layout .editor-right .btn{min-height:40px}.editor-right h3{margin:0}.editor-right p{font-size:10px;margin:3px}.config-layout .editor-actions .btn{min-height:44px;font-size:10px}.kiosk-body .kiosk-idle{grid-template-columns:1fr;gap:8px}.kiosk-idle>div:last-child{display:none}.kiosk-body .kiosk-idle h1{font-size:36px}.checkout-layout{display:flex;flex-direction:column;overflow:auto}.checkout-layout>.card{padding:10px}.checkout-layout h2{font-size:18px}.customer-selection{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(3,minmax(0,1fr))}.customer-offers{max-height:155px;gap:4px}.customer-offer{display:block;font-size:10px}.customer-offer .product-mock{height:50px;width:100%;min-width:0}.customer-offer small{font-size:8px}.customer-body .customer-title{font-size:23px}.kiosk-body .center-view h1{font-size:30px}.kiosk-body .center-view p{font-size:12px}}
.selection-grid .photo-tile{display:grid;grid-template-rows:minmax(0,1fr) 22px;gap:3px}.selection-grid .photo-tile img{height:100%;width:100%}.selection-grid .photo-tile small{max-height:none;line-height:22px;margin:0}.config-layout .editor-right .card{flex:0 0 auto;overflow:visible}.config-layout .editor-right .card:first-child{flex:1 0 auto}.config-layout .editor-right .card p{font-size:12px;margin:8px 0}
@media(max-width:600px){.kiosk-top{flex-wrap:nowrap;gap:4px;padding:5px 12px}.kiosk-top .brand{flex-shrink:0;max-width:110px}.kiosk-top-actions{margin-left:auto;gap:4px}.kiosk-top-actions #customerOpen{display:none}.kiosk-footer span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.kiosk-footer span:last-child{max-width:60%}.config-layout .editor-right .card:first-child{padding:8px}.config-layout .editor-right .card p{font-size:10px;margin:3px 0}}
.kiosk-frame{grid-template-columns:minmax(0,1fr)}.kiosk-body #kioskMain,.kiosk-top,.config-layout,.config-layout .editor-card,.config-layout .editor-right{min-width:0}.config-layout .editor-frame{position:relative}.config-layout .editor-frame canvas{position:absolute;inset:0;margin:auto;max-width:100%;max-height:100%!important;width:auto;height:auto}@media(max-width:600px){.config-layout .editor-right{flex-basis:222px;overflow:hidden}.config-layout .editor-right .card:first-child{flex:1;min-height:0}.config-layout .editor-right .card{overflow:hidden}}

/* v0.5.1 — the customer screen owns the entire viewport, including its main. */
:root{--brand-red:#f4020b;--brand-purple:#821a76;--brand-blue:#1130e1;--accent:#821a76;--accent-dark:#5d1457;--accent-light:#f2ecf7;--ink:#202033;--cream:#f7f7fc;--line:#e1deed}
body{background:var(--cream)}
.kiosk-frame{background:radial-gradient(circle at 95% 0%,#e9edff,transparent 45%),var(--cream)}
.btn.primary{background:var(--accent);box-shadow:0 5px 16px #821a7620}.btn.primary:hover{background:var(--accent-dark)}
.btn.ghost,.pill.soft{background:var(--accent-light);border-color:var(--line);color:var(--accent-dark)}
.auth-visual{background:linear-gradient(140deg,#202033,#351b4a)}.auth-hero em{color:#d8b7ef}
.brand,.brand.has-logo,.brand.large{display:flex;align-items:center;flex-wrap:nowrap;font-size:0;min-width:0;line-height:1}
.brand>small,.brand>.brand-mark{display:none}.sf-official-logo{display:block;width:190px;height:62px;max-width:100%;max-height:none;object-fit:contain;object-position:left center}
.kiosk-top .brand{max-width:205px;flex-shrink:0}.kiosk-top .sf-official-logo{height:58px}
.sidebar .brand{background:#fff;border-radius:12px;padding:5px 10px;margin:0 0 22px}.sidebar .sf-official-logo{height:65px;width:200px}
.auth-visual>.brand{background:white;border-radius:14px;padding:5px 15px;align-self:flex-start}.auth-visual .sf-official-logo{width:250px;height:85px;max-height:none}
.offer-layout>div{min-width:0;overflow:hidden}.primary-photos{min-width:0;width:100%}.primary-photos .photo-tile{display:grid;grid-template-rows:minmax(0,1fr);position:relative;min-width:0;overflow:hidden}.primary-photos .photo-tile img{width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;min-width:0;min-height:0}
.offer-layout .product-mock{position:relative;overflow:hidden;min-width:0;width:100%;border:1px solid var(--line);border-radius:14px;background:white}
.offer-layout .product-mock img{position:absolute;inset:0;width:100%!important;height:100%!important;max-width:100%;max-height:100%;object-fit:contain;box-shadow:none}
.config-layout .editor-frame{overflow:hidden;isolation:isolate}.config-layout .editor-frame canvas{max-width:100%;max-height:100%!important;object-fit:contain}
.customer-body{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:72px minmax(0,1fr) 24px;background:var(--cream)}
.customer-body .customer-top{height:72px;min-height:0;padding:5px 18px;display:flex;align-items:center;justify-content:space-between;flex-wrap:nowrap}
.customer-body .customer-top>.eyebrow:empty{display:none}
.customer-body #customerMain{display:block;min-width:0;min-height:0;width:100%;height:100%;padding:10px 16px;overflow:hidden}
.customer-body .customer-center{width:100%;max-width:none;height:100%;max-height:none;min-height:0;min-width:0;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:8px;overflow:hidden;text-align:center}
.customer-body .customer-title{font-size:clamp(22px,3.5vh,38px);margin:0;flex-shrink:0}
.customer-body .customer-copy{font-size:14px;margin:0 auto;flex-shrink:0;max-width:none}
.customer-body .customer-demo-note{font-size:10px;margin:0;flex-shrink:0}
.customer-body .customer-preview{position:relative;flex:1 1 0;min-height:0;height:0;width:100%;max-width:none;max-height:none;margin:0;padding:0;box-shadow:none;border:0;border-radius:10px;overflow:hidden;background:#fff}
.customer-body .customer-preview img{display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain}
.customer-body .customer-selection{flex:1 1 0;min-height:0;height:0;max-height:none;width:100%;display:grid;gap:12px}
.customer-body .customer-selected-photo{display:flex;align-items:center;justify-content:center;position:relative;width:100%;height:100%;min-height:0;min-width:0;overflow:hidden;border:2px solid transparent;background:white;border-radius:12px;padding:2px}
.customer-body .customer-selected-photo img{display:block;width:100%;height:100%;object-fit:contain;min-width:0;min-height:0}
.customer-body .customer-selected-photo.main-photo{border-color:var(--accent)}
.customer-body .customer-offers{flex:0 0 auto;min-height:0;height:clamp(90px,12vh,125px);max-height:none;width:100%;gap:12px}
.customer-body .customer-offer{min-height:0;min-width:0;height:100%;padding:8px 12px;overflow:hidden;background:#fff}
.customer-body .customer-offer .product-mock{flex-shrink:0;width:76px;height:100%;max-height:95px;margin:0}
.customer-body .customer-offer .product-mock img{width:100%;height:100%;object-fit:contain}
.customer-body .customer-offer small{font-size:11px}.customer-body .customer-offer strong{font-size:15px}.customer-body .customer-offer b{font-size:18px}
.customer-body .footer{height:24px;min-height:0;padding:4px 16px;font-size:9px;overflow:hidden}
@media(max-width:600px){.kiosk-top .brand{max-width:125px}.kiosk-top .sf-official-logo{width:125px;height:48px}.customer-body #customerMain{padding:6px}.customer-body .customer-title{font-size:21px}.customer-body .customer-offers{gap:5px;height:115px}.customer-body .customer-offer{padding:5px;display:flex;flex-direction:column;gap:2px}.customer-body .customer-offer .product-mock{height:35px;min-height:0;width:100%}.customer-body .customer-offer strong{font-size:10px}.customer-body .customer-offer small{font-size:8px}.customer-body .customer-offer b{font-size:13px}.customer-body .customer-copy{font-size:12px}.customer-body .customer-selection{gap:6px}}
.kiosk-top,.admin-top{border-bottom:3px solid transparent;border-image:linear-gradient(90deg,var(--brand-red),var(--brand-purple),var(--brand-blue)) 1}.customer-title em,.kiosk-body h1 em{color:var(--brand-purple)}.link-button{color:var(--brand-blue)}

/* v0.5.2 — standalone delivery: no dependency on an extra fixes stylesheet. */
html:has(body.customer-body),body.customer-body{margin:0;width:100%;height:100dvh;max-width:none;overflow:hidden}
body.customer-body{position:relative;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:72px minmax(0,1fr) 24px}
body.customer-body #customerMain{position:relative;display:block;justify-self:stretch;align-self:stretch;box-sizing:border-box;width:100%;max-width:none!important;min-width:0;height:100%;min-height:0;padding:12px 18px;overflow:hidden}
body.customer-body #customerMain>.customer-center{box-sizing:border-box;display:flex;align-items:stretch;justify-content:flex-start;width:100%;max-width:none!important;min-width:0;height:100%;min-height:0;margin:0;overflow:hidden}
body.customer-body #customerMain .customer-selection{max-width:none;width:100%;height:0;min-height:0;flex:1 1 0;overflow:hidden}
body.customer-body #customerMain .customer-preview{max-width:none;max-height:none;width:100%;height:0;min-height:0;flex:1 1 0}
.customer-top>.eyebrow{display:none}.kiosk-body .kiosk-footer>span:first-child{letter-spacing:.05em}
.kiosk-body .kiosk-idle{min-width:0;overflow:hidden;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr)}
.kiosk-body .kiosk-idle>div{min-width:0;min-height:0;max-width:100%;max-height:100%;overflow:hidden}
.kiosk-body .kiosk-idle>div:last-child{display:flex;align-items:center;justify-content:center;height:100%;width:100%}
.kiosk-body .showcase-frame{box-sizing:border-box;position:relative;width:100%;max-width:100%;height:min(57vh,510px);max-height:100%;min-height:0;padding:0;border:12px solid white;border-radius:22px;overflow:hidden;transform:none;isolation:isolate;background:white}
.kiosk-body .showcase-frame>img{position:absolute;inset:0;display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;border-radius:0;transform:none}
.showcase-caption:empty{display:none}
.package-grid .item-card{display:flex;flex-direction:column;min-width:0}.package-grid .actions{margin-top:auto;padding-top:14px;display:flex;flex-wrap:wrap;gap:8px}
.package-dialog{width:min(800px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 32px);padding:0;border:1px solid var(--line);border-radius:20px;color:var(--ink);box-shadow:0 25px 90px #20203340;background:white}
.package-dialog::backdrop{background:#20203380}.package-dialog form{display:flex;flex-direction:column;max-height:calc(100dvh - 36px)}
.dialog-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 24px;border-bottom:1px solid var(--line);flex-shrink:0}.dialog-head h2{margin-top:5px;font-size:25px}.dialog-body{overflow:auto;min-height:0;padding:24px}.dialog-footer{display:flex;justify-content:flex-end;gap:10px;padding:16px 24px;border-top:1px solid var(--line);flex-shrink:0;background:white}.dialog-products-title{margin:22px 0 14px}.dialog-body .form-error{margin:18px 0 0}.package-dialog .field input,.package-dialog .field select{min-height:46px}
@media(max-width:600px){.kiosk-body .kiosk-idle{grid-template-columns:minmax(0,1fr)}.kiosk-body .kiosk-idle>div:last-child{display:none}.dialog-head,.dialog-body,.dialog-footer{padding:14px}.package-dialog .form-grid{grid-template-columns:minmax(0,1fr)}body.customer-body #customerMain{padding:8px}}

/* v0.5.6 additions are bundled into styles.css before delivery. */
.checkout-visual{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(330px,.8fr);gap:18px;min-height:0;min-width:0;width:100%;height:100%;overflow:hidden;text-align:left}
.checkout-photo{min-height:0;min-width:0;background:white;border-radius:18px;overflow:hidden;position:relative}
.checkout-photo>img{position:absolute;inset:0;display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain}
.checkout-details{min-height:0;min-width:0;display:flex;flex-direction:column;gap:14px;padding:22px;background:white;border:1px solid var(--line);border-radius:18px;overflow:hidden}
.checkout-details h2{font-size:clamp(22px,2.2vw,36px);margin:0;flex-shrink:0}.checkout-products{min-height:0;flex:1;overflow:auto;display:flex;flex-direction:column;gap:14px}
.checkout-product{display:grid;grid-template-columns:minmax(80px,140px) minmax(0,1fr);gap:12px;align-items:center;padding:10px 0;border-bottom:1px solid var(--line);flex-shrink:0}
.checkout-product strong{font-size:18px;display:block}.checkout-product small{display:block;font-size:13px;margin-top:6px;color:var(--muted)}
.execution-images{display:flex;gap:5px;min-width:0;height:90px;overflow:hidden}.execution-image{flex:1;min-width:0;height:100%;overflow:hidden;background:#f7f7fc;border:4px solid #f7f7fc;border-radius:6px}.execution-image img{width:100%;height:100%;display:block;object-fit:contain}.execution-object .execution-image{border:5px solid #d8c7de;border-radius:45%;max-width:80px}
.checkout-total{display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid var(--line);padding-top:16px;font-size:20px;flex-shrink:0}.checkout-total strong{font-size:32px;color:var(--accent)}.checkout-note{font-size:13px;margin:0;flex-shrink:0}
.customer-checkout>.checkout-visual{flex:1 1 0;height:0;min-height:0}.customer-checkout{gap:12px!important}
.checkout-with-preview{flex:1;min-height:0;grid-template-columns:minmax(0,1fr) 300px;gap:14px;overflow:hidden}.checkout-preview-host{min-height:0;min-width:0}.checkout-with-preview .checkout-visual{grid-template-columns:minmax(0,1fr) minmax(230px,.8fr);gap:10px}.checkout-with-preview .checkout-details{padding:14px;gap:10px}.checkout-with-preview .checkout-details h2{font-size:23px}.checkout-with-preview .checkout-product{grid-template-columns:70px minmax(0,1fr);gap:8px;padding:7px 0}.checkout-with-preview .checkout-product strong{font-size:13px}.checkout-with-preview .checkout-product small{font-size:10px}.checkout-with-preview .execution-images{height:58px}.checkout-with-preview .checkout-total{font-size:15px}.checkout-with-preview .checkout-total strong{font-size:24px}.checkout-with-preview .checkout-products{gap:7px}.checkout-methods{overflow:auto!important}.checkout-methods .pay-methods{margin-top:12px}.checkout-methods h2{font-size:23px}
.purchase-summary{background:var(--accent-light);padding:12px;border:1px solid var(--line);border-radius:12px;margin:12px 0}.purchase-summary .price-line{padding:0 0 8px;margin:0;font-size:12px}.purchase-lines{display:grid;gap:7px;font-size:10px}.purchase-lines>div{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:8px}.purchase-lines>div>span:nth-child(2){color:var(--muted)}.purchase-lines b{white-space:nowrap}.billing-section{margin-top:22px}.billing-section>p{font-size:13px}.billing-warning{margin-top:18px}.billing-packages{margin-top:16px}.billing-products tfoot th{padding:15px 13px;border-top:2px solid var(--line);text-align:left}.billing-metrics .metric b{font-size:29px}.billing-packages .card>p{font-size:12px}
@media(max-width:1000px){.checkout-visual{grid-template-columns:minmax(0,1fr) minmax(280px,.8fr)}.checkout-with-preview{grid-template-columns:minmax(0,1fr) 245px}.checkout-with-preview .checkout-visual{grid-template-columns:minmax(0,1fr)}.checkout-with-preview .checkout-photo{min-height:100px;flex:1}.checkout-with-preview .checkout-details{max-height:50%}.checkout-with-preview .checkout-visual{display:flex;flex-direction:column}.checkout-with-preview .checkout-product{grid-template-columns:60px minmax(0,1fr)}}
@media(max-width:600px){.checkout-visual{display:flex;flex-direction:column;gap:8px}.checkout-photo{flex:1;min-height:130px}.checkout-details{flex:1;padding:12px;gap:8px}.checkout-details h2{font-size:22px}.checkout-product{grid-template-columns:70px minmax(0,1fr);gap:8px;padding:6px 0}.checkout-product strong{font-size:12px}.checkout-product small{font-size:10px}.execution-images{height:50px}.checkout-total{font-size:15px;padding-top:7px}.checkout-total strong{font-size:23px}.checkout-products{gap:5px}.checkout-note{font-size:10px}.checkout-with-preview{display:flex;flex-direction:column;overflow:auto}.checkout-with-preview .checkout-preview-host{flex:1;min-height:400px}.checkout-with-preview .checkout-details{max-height:none}.checkout-with-preview .checkout-methods{flex:0 0 auto}.purchase-lines{font-size:9px}.billing-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.billing-packages{grid-template-columns:minmax(0,1fr)}}
.billing-packages .price-line{display:flex;justify-content:space-between;gap:12px;padding-top:14px;border-top:1px solid var(--line)}

/* v0.5.6: shared modal and event action menu */
.fa-regular{display:inline-block;flex-shrink:0;line-height:1;vertical-align:-.05em}
.btn .fa-regular,.link-button .fa-regular,.sidebar-link .fa-regular{margin-right:.35em}
.btn .fa-regular:last-child:not(:first-child){margin-left:.3em;margin-right:0}
.icon-button .fa-regular{margin:0;font-size:19px}
.icon-button{width:43px;min-width:43px;padding:10px;justify-content:center}
.event-actions{display:flex;align-items:center;gap:8px;white-space:nowrap}
.event-menu{position:fixed;z-index:90;min-width:240px;max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px);overflow:auto;padding:7px;background:white;border:1px solid var(--line,#ded9ee);border-radius:14px;box-shadow:0 14px 45px #20203926}
.event-menu[hidden]{display:none}
.event-menu button{border:0;background:transparent;display:flex;align-items:center;gap:10px;width:100%;padding:12px;text-align:left;color:var(--ink);border-radius:8px;font:inherit;cursor:pointer}
.event-menu button:hover,.event-menu button:focus-visible{background:#f0eaf6;outline:2px solid var(--accent)}
.event-menu button .fa-regular{width:20px;text-align:center}
.event-breadcrumb{display:flex;gap:15px;align-items:center;flex-wrap:wrap;margin-bottom:20px}
.entity-dialog{width:min(760px,calc(100vw - 24px));max-height:calc(100dvh - 24px)}
.entity-dialog .dialog-head h2{font-size:25px}
.entity-dialog .field strong{display:block;padding:12px 0}
.entity-dialog .dialog-foot{display:flex;gap:10px;justify-content:flex-end}
.entity-dialog .dialog-foot{padding:16px 24px;border-top:1px solid var(--line);background:white;flex-shrink:0}
html:has(dialog[open]),body:has(dialog[open]){overflow:hidden}
.entity-dialog .form-error{margin-top:12px}
@media(max-width:600px){.entity-dialog .form-grid{grid-template-columns:minmax(0,1fr)}.entity-dialog .span2{grid-column:auto}.entity-dialog .dialog-head,.entity-dialog .dialog-body,.entity-dialog .dialog-foot{padding:16px}.entity-dialog .dialog-head h2{font-size:22px}.entity-dialog .dialog-foot{flex-wrap:wrap}.section-top{gap:12px;flex-wrap:wrap}}

/* v0.5.6: timestamps, primary print reference, discount and event QR codes */
.photo-filters{display:grid;grid-template-columns:repeat(2,minmax(90px,1.1fr)) minmax(130px,1fr) minmax(90px,.7fr) minmax(130px,1fr) minmax(90px,.7fr) auto auto;align-items:end;gap:8px}
.photo-filters label{font-size:11px}.photo-filters .btn{padding:9px;min-height:44px}
.photo-tile small time{font-variant-numeric:tabular-nums;display:inline-block;margin-top:2px}.photo-tile small{line-height:1.4}
.primary-reference{display:flex;gap:12px;align-items:center;flex-shrink:0;background:white;border:1px solid var(--accent);border-radius:12px;padding:8px 12px;margin:0 0 8px}
.primary-reference img{width:88px;height:60px;object-fit:contain}.primary-reference>div{display:flex;flex-direction:column;gap:3px}.primary-reference p{font-size:12px;margin:0 0 0 auto;max-width:330px}.primary-reference span,.primary-reference small{font-size:11px}
.coupon-entry{display:flex;flex-direction:column;gap:8px;margin:12px 0 18px}.coupon-entry .field{font-size:12px}.coupon-entry input{min-width:0;width:100%;min-height:44px}.checkout-methods{overflow:auto;min-height:0}
.pay-method:disabled{opacity:.35;cursor:not-allowed;background:#eee}.checkout-discount{display:flex;flex-direction:column;gap:5px;padding:10px 12px;border-radius:10px;background:#eee5f5;border-left:4px solid var(--accent);font-size:12px;flex-shrink:0;overflow-wrap:anywhere}
.code-export-bar{display:flex;align-items:center;gap:20px;flex-wrap:wrap;margin-bottom:18px}.code-export-bar .field{min-width:240px}.code-export-bar .checkline{margin:0}.codes-table td{vertical-align:middle}.code-identity{display:flex;align-items:center;gap:12px}.code-identity code{overflow-wrap:anywhere}.code-identity small{display:block;max-width:270px;overflow-wrap:anywhere;font-size:10px;margin-top:5px}.code-qr svg{display:block;width:76px;height:76px;min-width:76px}.code-dialog textarea{width:100%;resize:vertical;padding:12px;border:1px solid var(--line);border-radius:10px;font:inherit;min-height:90px}.code-dialog [hidden]{display:none!important}.code-dialog .info-line{margin:14px 0 0}.code-dialog .form-error{margin-top:12px}.code-dialog{width:min(900px,calc(100vw - 24px))}
.scan-dialog{width:min(650px,calc(100vw - 24px))}.scan-dialog video{width:100%;max-height:45vh;background:#111;border-radius:12px;margin-top:12px}.scan-status{font-size:13px;margin:12px 0}.discount-settlement .metric{box-shadow:none;padding:15px;border:1px solid var(--line)}.discount-settlement .metric b{font-size:25px}.discount-settlement .three-col{margin:16px 0}
.test-order-notice{background:#fff0bf;border:1px solid #d6a600;padding:10px;border-radius:10px;margin:12px 0}
@media(max-width:1100px){.photo-filters{grid-template-columns:repeat(4,minmax(0,1fr))}.photo-filters .btn{padding:7px}.primary-reference p{max-width:230px}}
@media(max-height:800px){.photo-filters{gap:5px}.photo-filters input,.photo-filters select,.photo-filters .btn{min-height:36px;padding:6px}.primary-reference{padding:4px 8px}.primary-reference img{height:45px;width:66px}.primary-reference p{font-size:11px}.primary-reference small{font-size:10px}.checkout-discount{font-size:11px;padding:6px}}
@media(max-width:600px){.photo-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.primary-reference p{display:none}.primary-reference img{width:65px}.code-export-bar{gap:10px}.code-export-bar .field{min-width:0;width:100%}.code-dialog .form-grid{grid-template-columns:minmax(0,1fr)}.code-dialog .span2{grid-column:auto}.checkout-discount{font-size:11px}.code-dialog .dialog-footer{flex-wrap:wrap}}

.selection-grid .photo-tile{grid-template-rows:minmax(0,1fr) auto;min-height:0;min-width:0;overflow:hidden}
.selection-grid .photo-tile img{min-height:0;max-height:100%;aspect-ratio:auto}
.selection-grid .photo-tile small{line-height:1.3;padding:5px 2px 1px;min-height:36px;overflow-wrap:anywhere;font-size:11px}
.selection-grid{min-height:0;flex:1}
@media(max-width:600px){.kiosk-body #kioskMain:has(.selection-grid){overflow:auto}.selection-grid{flex:1 0 300px}.selection-grid .photo-tile small{font-size:10px}}

.primary-photos .photo-tile{grid-template-rows:minmax(0,1fr) auto}.primary-photos .photo-tile small{line-height:1.25;font-size:10px;padding:4px 1px 1px;min-height:28px}.checkout-photo{position:relative}.seller-photo-date{position:absolute;left:12px;bottom:10px;background:#ffffffed;border-radius:6px;padding:6px 9px;font-size:11px;color:var(--ink)}

/* v0.5.6: ambient/customer completion and local settings */
.ambient-center{min-height:0}.ambient-stage{position:relative;flex:1;min-height:0;width:100%;overflow:hidden;border-radius:18px;background:#fff}.ambient-slide{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}.ambient-four{display:grid;gap:14px;background:transparent}.ambient-tile{min-width:0;min-height:0;overflow:hidden;border-radius:14px;background:white;padding:4px}.ambient-tile img{width:100%;height:100%;object-fit:contain}.customer-finished .finished-photos{flex:1;max-height:none;min-height:0}.customer-finished .customer-title{font-size:clamp(28px,3.5vw,56px)}.printer-folder-row{display:flex;gap:8px;align-items:center;flex-wrap:wrap;padding:8px;border-bottom:1px solid var(--line);font-size:12px}.session-search{display:flex;gap:10px;align-items:center;font-size:12px;margin-bottom:6px}.session-search input{border:1px solid var(--line);border-radius:8px;padding:8px;max-width:400px;flex:1;min-width:0}.kiosk-settings-panel select{max-width:100%}.customer-finished .customer-copy{margin:0 0 8px}
@media(prefers-reduced-motion:reduce){.ambient-stage *{animation:none!important;transition:none!important}}

/* v0.6.0 import progress */
.import-progress-panel{position:fixed;inset:0;z-index:1200;background:var(--bg,#f7f6fc);padding:clamp(18px,5vw,80px);overflow:auto;display:grid;place-items:center}.import-progress-panel[hidden],.import-monitor[hidden]{display:none}.import-progress-card{width:min(100%,900px);padding:clamp(20px,4vw,60px);border:1px solid #ddd8ef;border-radius:24px;background:white;box-shadow:0 18px 70px #29213915}.import-progress-card h1{font-size:clamp(26px,4vw,48px);line-height:1.15}.import-progress-card progress{width:100%;height:24px;accent-color:#851b80;margin-top:24px}.import-count{font-size:28px;font-weight:700}.import-progress-card #importFile{overflow-wrap:anywhere}.import-monitor{position:fixed;right:20px;bottom:48px;z-index:1100;max-width:calc(100vw - 40px)}

.overview-cards{margin:24px 0}.overview-row{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 0;border-bottom:1px solid #ece8f2}.overview-row small{display:block}.overview-link-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:14px;margin:24px 0}.overview-link-grid .btn{justify-content:flex-start;padding:22px}.event-overview-logo{max-width:180px;max-height:90px;object-fit:contain;display:block;margin-bottom:20px}.material-form{display:flex;gap:12px;align-items:end;margin:20px 0}.material-form label{flex:1}

.wm-toolbar{display:flex;align-items:center;gap:18px;flex-wrap:wrap}.wm-toolbar label{flex:1;min-width:140px}.wm-workspace{margin:25px 0;background:#e8e5ef;padding:30px;border-radius:20px;display:flex;justify-content:center}#wmStage{position:relative;width:100%;max-width:900px;align-self:center;touch-action:none}#wmCanvas{display:block;width:100%;height:auto;box-shadow:0 10px 25px #20203320}#wmBox{position:absolute;border:2px dashed #891b80;cursor:move;touch-action:none}#wmBox button{position:absolute;width:32px;height:32px;border:2px solid #891b80;border-radius:50%;background:#fff;color:#891b80;display:grid;place-items:center;touch-action:none}#wmBox [data-wm-handle=rotate]{left:calc(50% - 16px);top:-42px;cursor:grab}#wmBox [data-wm-handle=size]{right:-16px;bottom:-16px;cursor:nwse-resize}@media(max-width:600px){.wm-workspace{padding:10px}.wm-toolbar{gap:12px}}

.qr-event-logo{width:100%;height:36px;object-fit:contain;display:block}.code-qr svg{display:block}

.order-output-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:15px;margin:20px 0}.order-output{display:flex;flex-direction:column;gap:10px}.order-output img{width:100%;height:150px;object-fit:contain;background:#f7f7fc;border-radius:12px}.empty-photos{text-align:center;padding:clamp(25px,5vw,70px);grid-column:1/-1}.empty-photos .empty-icon{font-size:48px;color:#821a76;margin-bottom:20px}

.import-monitor{bottom:90px;max-width:min(420px,calc(100vw - 40px));white-space:normal}.import-monitor [data-import-close]{margin-left:14px;display:inline-flex;padding:6px;cursor:pointer}.empty-grid.empty-photos{display:block;min-height:280px;background:linear-gradient(135deg,#f7f3fc,#fff);border:1px solid #ded8ee;border-radius:22px}

.card .price-line{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:10px 0;border-bottom:1px solid #eeeaf4}.card .price-line b{white-space:nowrap}.overview-row small{margin-top:5px}

.photo-page-controls{justify-content:space-between;gap:20px}.photo-pagination{display:flex;align-items:center;gap:14px;justify-content:center}.photo-pagination>span{white-space:nowrap;min-width:105px;text-align:center}@media(max-width:600px){.photo-pagination{width:100%;gap:10px}.photo-pagination .btn{flex:1}.photo-page-controls{gap:10px}}

.order-section{margin-top:24px}.order-source-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:20px}.order-source{margin:0}.order-source img{width:100%;height:220px;object-fit:contain;background:#f7f7fc;border-radius:14px}.order-source figcaption{margin-top:8px;overflow-wrap:anywhere}.order-render{width:100%;max-height:380px;object-fit:contain;background:#f7f7fc;border-radius:14px}.order-product-output dl{display:grid;grid-template-columns:minmax(90px,1fr) 2fr;gap:10px;margin-top:18px}.order-product-output dt{font-weight:700}.order-product-output dd{margin:0;overflow-wrap:anywhere}.order-image-missing{min-height:140px;display:grid;place-items:center;padding:22px;background:#f7f7fc;border-radius:12px;text-align:center}.order-reprint{padding:20px 0;border-bottom:1px solid #e5dfef}

.kiosk-orders-content{flex:1;min-height:0;display:flex;flex-direction:column;gap:12px;overflow:hidden}.kiosk-orders-viewport{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;padding:4px 8px 16px 4px;overscroll-behavior:contain;scrollbar-gutter:stable}.kiosk-orders-viewport .card{min-width:0}.kiosk-orders-viewport .small{overflow-wrap:anywhere}.kiosk-orders-pager{display:flex;align-items:center;justify-content:center;gap:14px;flex-shrink:0;padding:8px 0}.kiosk-orders-pager span{text-align:center}.kiosk-orders-pager .btn{flex-shrink:0}@media(max-width:600px){.kiosk-orders-pager{gap:8px;font-size:11px}.kiosk-orders-pager .btn{padding:8px;min-height:44px}}

.cloud-status{font-size:11px;color:#4b6273;max-width:300px}.cloud-status.warn{color:#9d3d27}#apiLogRows{max-height:430px;overflow:auto}.api-settings-scroll{overflow:auto;min-height:0}#apiConnectionInfo strong{overflow-wrap:anywhere;max-width:70%}
