:root{font-family:system-ui,-apple-system,Noto Sans Thai,sans-serif;color:#242424;background:#f6f6f4;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{margin:0;min-width:320px}.shell{width:min(100%,520px);margin:auto;min-height:100dvh;padding:22px 18px;display:flex;flex-direction:column;gap:22px}header{display:flex;align-items:center;gap:12px}.brand-mark{width:46px;height:46px;border-radius:15px;background:#f97316;color:#fff;display:grid;place-items:center;font-size:25px;font-weight:800}.eyebrow{font-size:10px;font-weight:800;letter-spacing:.13em;color:#f97316;margin:0 0 4px}h1{font-size:21px;margin:0}h2{font-size:25px;line-height:1.3;margin:7px 0 10px}.notice{background:#fff7ed;border:1px solid #fed7aa;border-radius:14px;padding:13px;display:flex;gap:10px;align-items:flex-start;font-size:13px}.notice p{margin:3px 0 0;color:#78421a;line-height:1.5}.dot{width:9px;height:9px;border-radius:50%;background:#f97316;margin-top:5px;flex:none}.welcome{background:#fff;border:1px solid #ececea;border-radius:22px;padding:22px;box-shadow:0 8px 30px #11100008}.welcome>p:not(.eyebrow){font-size:14px;line-height:1.6;color:#777;margin:0 0 22px}.welcome label{display:block;font-size:13px;font-weight:700;margin-bottom:7px}select,button{width:100%;height:48px;border-radius:12px;font:inherit}select{border:1px solid #e7e7e5;padding:0 12px;background:#fafafa;color:#777}button{border:0;background:#f97316;color:#fff;font-weight:700;margin-top:12px;display:flex;justify-content:center;align-items:center;gap:8px}button:disabled{opacity:.52}footer{margin-top:auto;text-align:center;color:#92928d;font-size:11px;padding:8px}.auth-status{min-height:48px;border:1px solid #e7e7e5;border-radius:12px;padding:13px;font-size:13px;line-height:1.5;color:#666;background:#fafafa}.auth-status[data-state=success]{border-color:#86c9a1;background:#f0fbf4;color:#17643a}.auth-status[data-state=error]{border-color:#f0b4a8;background:#fff5f2;color:#9b3020}button:disabled{cursor:not-allowed}[hidden]{display:none!important}.customizer{background:#fff;border:1px solid #ececea;border-radius:22px;padding:20px;display:flex;flex-direction:column;gap:11px;box-shadow:0 8px 30px #11100008}.customizer-heading h2{margin:4px 0}.customizer-heading>p:last-child{font-size:13px;color:#777;line-height:1.5;margin:0 0 5px}.customizer>label{font-size:13px;font-weight:700;margin-top:4px}.customizer select,.customizer input[type=text]{width:100%;height:44px;border:1px solid #e7e7e5;border-radius:10px;padding:0 11px;background:#fafafa;font:inherit;color:#333}.editor-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.editor-grid label{font-size:11px;display:flex;flex-direction:column;gap:7px}.editor-grid input[type=color]{width:100%;height:40px;border:1px solid #e7e7e5;border-radius:9px;padding:3px;background:#fff}.toggle-label{display:flex;align-items:center;gap:8px;font-size:13px!important}.store-preview{background:var(--preview-background,#fff);color:var(--preview-text,#242424);border:1px solid #e7e7e5;border-radius:15px;padding:14px;display:flex;flex-direction:column;gap:10px}.preview-label{font-size:10px;color:#888}.preview-brand{font-size:20px;font-weight:800;color:var(--preview-primary,#f97316)}.store-preview[data-font-scale=small]{font-size:12px}.store-preview[data-font-scale=medium]{font-size:14px}.store-preview[data-font-scale=large]{font-size:17px}#preview-announcement{margin:0;padding:9px;border-radius:8px;background:color-mix(in srgb,var(--preview-primary) 12%,white);font-size:inherit}.preview-menu{display:grid;grid-template-columns:1fr 1fr;gap:8px}.preview-menu[data-layout=list]{grid-template-columns:1fr}.preview-menu span{border:1px solid #e7e7e5;border-radius:9px;padding:11px;font-size:inherit}.editor-status{min-height:42px;background:#f7f7f5;border-radius:10px;padding:11px;font-size:12px;color:#666;line-height:1.5}.onboarding{background:#fff;border:1px solid #ececea;border-radius:22px;padding:20px;display:flex;flex-direction:column;gap:10px;box-shadow:0 8px 30px #11100008}.onboarding h2{margin:3px 0}.onboarding>p:not(.eyebrow){font-size:13px;color:#777;line-height:1.55;margin:0}.onboarding label{font-size:13px;font-weight:700;margin-top:4px}.onboarding input{width:100%;height:46px;border:1px solid #e7e7e5;border-radius:10px;padding:0 12px;font:inherit;background:#fafafa}.onboarding-note{font-size:11px!important;color:#888!important}.menu-editor{background:#fff;border:1px solid #ececea;border-radius:22px;padding:20px;display:flex;flex-direction:column;gap:17px;box-shadow:0 8px 30px #11100008}.menu-subsection{display:flex;flex-direction:column;gap:9px;border-top:1px solid #efefed;padding-top:14px}.menu-subsection>strong{font-size:14px}.inline-editor{display:flex;gap:8px;align-items:center}.inline-editor input{flex:1;min-width:0;height:44px;border:1px solid #e7e7e5;border-radius:10px;padding:0 10px;font:inherit}.inline-editor button{width:auto;min-width:92px;padding:0 12px;margin:0;height:42px;font-size:12px}.menu-subsection>label{font-size:12px;font-weight:700;margin-top:3px}.menu-subsection input[type=text],.menu-subsection input[type=number],.menu-subsection textarea,.menu-subsection select{width:100%;border:1px solid #e7e7e5;border-radius:10px;padding:10px;background:#fafafa;font:inherit;font-size:13px}.menu-subsection input[type=text],.menu-subsection input[type=number],.menu-subsection select{height:44px}.secondary-button{background:#f1f1ef;color:#555!important}.managed-list{display:flex;flex-direction:column;gap:8px}.managed-row{display:flex;align-items:center;justify-content:space-between;gap:10px;border:1px solid #ececea;border-radius:11px;padding:10px}.row-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:5px}.row-actions .small-action{width:auto;height:32px;padding:0 8px;margin:0;border-radius:8px;background:#f3f3f1;color:#444;font-size:10px;font-weight:700}.row-actions .danger-action{background:#fff1ed;color:#a53c26}.menu-item-row{align-items:flex-start}.menu-item-details{display:flex;flex-direction:column;gap:4px;min-width:0}.menu-item-details strong{font-size:13px}.menu-item-details span,.menu-item-details small{font-size:11px;color:#777;line-height:1.45;overflow-wrap:anywhere}.empty-list{font-size:12px;color:#999;margin:4px 0}.menu-subsection input[type=file]{width:100%;font:inherit;font-size:12px;color:#555;padding:9px;border:1px dashed #d8d8d4;border-radius:10px;background:#fafaf8}.upload-hint{display:block;margin-top:-4px;color:#898982;font-size:10px;line-height:1.5}.item-image-preview{display:flex;align-items:center;gap:10px;padding:8px;border:1px solid #ececea;border-radius:11px}.item-image-preview img{width:84px;height:84px;object-fit:cover;border-radius:9px;background:#f3f3f1}.item-image-preview button{width:auto;height:34px;margin:0;padding:0 12px;font-size:11px}.menu-item-thumbnail{width:64px;height:64px;flex:none;object-fit:cover;border-radius:9px;background:#f3f3f1}.customer-store{background:#fff;border:1px solid #ececea;border-radius:22px;padding:20px;display:flex;flex-direction:column;gap:12px;box-shadow:0 8px 30px #11100008}.customer-store-heading h2{margin:4px 0}.customer-store-heading>p:last-child{font-size:13px;color:#777;margin:0;line-height:1.5}.customer-store>label{font-size:13px;font-weight:700}.customer-store select{width:100%;height:46px;border:1px solid #e7e7e5;border-radius:11px;padding:0 11px;background:#fafafa;font:inherit;color:#333}.customer-store-status{min-height:20px;font-size:12px;color:#777;line-height:1.5}.customer-store-status[data-state=error]{color:#a53c26}.customer-store-title{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:4px}.customer-store-title h3{margin:0;font-size:21px;color:var(--customer-primary,#f97316);overflow-wrap:anywhere}.customer-branch-name{margin:-8px 0 0;color:#777;font-size:12px}.store-state{flex:none;border-radius:999px;padding:5px 10px;background:#fff1ed;color:#9a3412;font-size:11px;font-weight:700}.store-state[data-open=true]{background:#ecfdf3;color:#16713d}.customer-announcement{padding:11px 12px;border-radius:11px;background:color-mix(in srgb,var(--customer-primary,#f97316) 12%,white);color:var(--customer-text,#242424);font-size:13px;line-height:1.5}.customer-category-filters{display:flex;gap:7px;overflow-x:auto;padding:2px 0 5px}.customer-category-button{width:auto;min-width:max-content;height:36px;padding:0 13px;margin:0;border-radius:999px;background:#f3f3f1;color:#555;font-size:12px}.customer-category-button[aria-pressed=true]{background:var(--customer-primary,#f97316);color:#fff}.customer-menu-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.customer-menu-list[data-layout=list]{grid-template-columns:1fr}.customer-menu-card{min-width:0;overflow:hidden;border:1px solid #ececea;border-radius:13px;background:var(--customer-background,#fff);color:var(--customer-text,#242424)}.customer-menu-card>img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;background:#f3f3f1}.customer-menu-details{display:flex;flex-direction:column;gap:5px;padding:10px}.customer-menu-details h4{font-size:13px;margin:0;overflow-wrap:anywhere}.customer-menu-details p{font-size:11px;color:#777;margin:0;line-height:1.45;min-height:1.4em;overflow-wrap:anywhere}.customer-menu-details strong{font-size:14px;color:var(--customer-primary,#f97316)}.customer-menu-list[data-layout=list] .customer-menu-card{display:grid;grid-template-columns:112px minmax(0,1fr)}.customer-menu-list[data-layout=list] .customer-menu-card>img{height:100%;min-height:112px;aspect-ratio:auto}.customer-empty{grid-column:1/-1;text-align:center;padding:24px 10px;color:#888;font-size:13px}.customer-order-note{margin:0;text-align:center;color:#999;font-size:10px;line-height:1.5}#customer-storefront[data-font-scale=small] .customer-menu-details{font-size:12px}#customer-storefront[data-font-scale=large] .customer-menu-details h4{font-size:15px}@media(max-width:380px){.customer-menu-list{grid-template-columns:1fr}.customer-menu-list:not([data-layout=list]) .customer-menu-card{display:grid;grid-template-columns:104px minmax(0,1fr)}.customer-menu-list:not([data-layout=list]) .customer-menu-card>img{height:100%;min-height:104px;aspect-ratio:auto}}.customer-cart{border:1px solid #fed7aa;border-radius:15px;background:#fffaf5;padding:13px;display:flex;flex-direction:column;gap:10px}.customer-cart-heading,.customer-cart-total{display:flex;align-items:center;justify-content:space-between;gap:8px}.customer-cart-heading strong{font-size:14px}.customer-cart-heading span{font-size:11px;color:#777}.customer-cart-items{display:flex;flex-direction:column;gap:8px}.customer-cart-row{display:flex;align-items:center;justify-content:space-between;gap:8px;border-top:1px solid #f3e4d6;padding-top:8px}.customer-cart-line-details{display:flex;flex-direction:column;gap:3px;min-width:0}.customer-cart-line-details strong{font-size:12px;overflow-wrap:anywhere}.customer-cart-line-details span{font-size:10px;color:#888}.customer-cart-controls{display:flex;align-items:center;gap:5px;flex:none}.customer-cart-controls button{width:28px;height:28px;margin:0;padding:0;border-radius:8px;background:#f2eee9;color:#444;font-size:17px}.customer-cart-controls span{min-width:18px;text-align:center;font-size:12px;font-weight:700}.customer-cart-controls .customer-cart-remove{width:auto;padding:0 7px;font-size:10px;background:#fff0ed;color:#a53c26}.customer-cart-total{border-top:1px solid #f3e4d6;padding-top:10px;font-size:13px}.customer-cart-total strong{font-size:17px;color:#c2410c}.customer-cart>p{margin:0;color:#999;font-size:10px;text-align:center}.customer-add-to-cart{height:34px;margin:5px 0 0;padding:0 10px;border-radius:9px;font-size:11px}.customer-add-to-cart:disabled{background:#e8e8e6;color:#999;opacity:1}.customer-checkout{height:44px;margin:2px 0 0;border-radius:11px;background:#c2410c;color:#fff;font-size:13px}.customer-checkout-status{min-height:18px;font-size:11px;line-height:1.5;color:#777}.customer-checkout-status[data-state=error]{color:#a53c26}.customer-order-result{border:1px solid #86c9a1;border-radius:13px;background:#f0fbf4;color:#17643a;padding:14px;font-size:13px;line-height:1.6;overflow-wrap:anywhere}.payment-settings-panel{margin-top:18px;padding:16px;border:1px solid #fed7aa;border-radius:14px;background:#fffaf5}.payment-settings-panel h3{margin:2px 0 7px}.payment-settings-panel>p:not(.eyebrow){font-size:12px;line-height:1.5;color:#777}.payment-settings-panel input,.payment-settings-panel select{width:100%;height:44px;margin:6px 0 12px;border:1px solid #ddd;border-radius:10px;padding:0 11px;font:inherit;background:#fff}.payment-settings-panel button{margin-top:8px}.payment-review-panel{background:#fff;border:1px solid #ececea;border-radius:18px;padding:18px;margin-top:16px}.payment-review-panel>p:not(.eyebrow){font-size:12px;color:#777;line-height:1.5}.payment-review-list{display:grid;gap:12px}.payment-review-row{display:grid;gap:8px;padding:13px;border:1px solid #eee;border-radius:12px}.payment-review-row strong{font-size:13px;overflow-wrap:anywhere}.payment-review-row small{font-size:10px;color:#777}.payment-review-slip{width:100%;max-height:320px;object-fit:contain;background:#f6f6f4;border-radius:9px}.payment-review-actions{display:flex;flex-wrap:wrap;gap:8px}.payment-review-actions button{width:auto;height:auto;min-height:36px;padding:8px 10px;font-size:11px}.customer-order-result{display:grid;gap:10px}.customer-order-result>strong{font-size:13px}.customer-payment-qr{display:block;width:min(100%,300px);margin:0 auto;background:#fff;border:1px solid #eee;border-radius:12px}.customer-order-result label{font-size:12px;font-weight:700}.customer-order-result input{width:100%;font:inherit;font-size:12px}.customer-order-result button{height:42px;margin:0}.shell{padding-bottom:92px}.customer-cart-shortcut{position:fixed;z-index:30;left:50%;bottom:calc(12px + env(safe-area-inset-bottom));transform:translate(-50%);width:min(calc(100% - 32px),488px);height:50px;margin:0;border-radius:15px;background:#c2410c;color:#fff;font-size:14px;box-shadow:0 8px 28px #7c2d1250}.customer-store-closed-note{margin:0;padding:10px 12px;border-radius:10px;background:#fff7ed;color:#9a3412;font-size:12px;line-height:1.5;border:1px solid #fed7aa}.store-order-list{display:flex;flex-direction:column;gap:10px}.store-order-card{display:flex;flex-direction:column;gap:7px;padding:13px;border:1px solid #e8e5df;border-radius:13px;background:#fff}.store-order-card strong{font-size:13px;overflow-wrap:anywhere}.store-order-card small{font-size:11px;color:#777}.store-order-card ul{margin:0;padding-left:20px;font-size:12px;line-height:1.7}.store-order-card button{height:38px;margin:3px 0 0;font-size:12px}
