/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after{--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}::backdrop{--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--spacing:.25rem;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before{box-sizing:border-box;border:0 solid;margin:0;padding:0}::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.visible{visibility:visible}.fixed{position:fixed}.start{inset-inline-start:var(--spacing)}.end{inset-inline-end:var(--spacing)}.block{display:block}.inline{display:inline}.invert{--tw-invert:invert(100%);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}}.order-app{--brand:#a52b28;--brand-dark:#8f201f;--ink:#191b20;--muted:#6d727c;--line:#dde0e5;--soft:#f4f5f6;--paper:#fff;min-height:100svh;color:var(--ink);background:#f5f4f1;padding-bottom:28px}.order-app button,.order-app input,.order-app select,.order-app textarea{font-family:PingFang SC,Microsoft YaHei,system-ui,sans-serif}.order-app button{cursor:pointer}.order-app svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:20px;height:20px}.app-header{z-index:12;background:#fff;border-bottom:1px solid #e6e6e6;justify-content:space-between;align-items:center;height:72px;padding:0 max(28px,50vw - 720px);display:flex;position:sticky;top:0}.brand{align-items:center;height:100%;display:flex}.brand>img{object-fit:contain;width:46px;height:46px}.brand>span{background:#d9dadd;width:1px;height:30px;margin:0 20px}.brand>div{flex-direction:column;gap:3px;display:flex}.brand strong{letter-spacing:.01em;font-size:20px}.brand small{color:var(--muted);font-size:11px}.header-actions{align-items:center;gap:10px;display:flex}.header-actions button{color:#30333a;background:#fff;border:1px solid #d9dce1;border-radius:7px;align-items:center;gap:8px;height:42px;padding:0 15px;font-size:13px;font-weight:600;display:flex}.header-actions button i{background:#aeb2b8;border-radius:50%;width:7px;height:7px}.header-actions button.connected i{background:#24a466;box-shadow:0 0 0 3px #e2f6eb}.header-actions .icon-button{justify-content:center;width:42px;padding:0}.workspace{grid-template-columns:minmax(0,1.05fr) minmax(420px,.95fr);gap:18px;width:min(100% - 52px,1440px);margin:20px auto 0;display:grid}.order-panel,.preview-panel,.history-section{border:1px solid var(--line);background:#fff;border-radius:10px;box-shadow:0 4px 16px #1c1e2206}.order-panel{padding:30px 34px}.section-title{align-items:flex-start;gap:15px;margin-bottom:27px;display:flex}.title-icon{border:2px solid var(--brand);width:32px;height:38px;color:var(--brand);border-radius:5px;place-items:center;font-size:13px;font-weight:800;display:grid}.section-title h1,.preview-heading h2,.history-head h2{margin:0;font-size:22px;line-height:1.3}.section-title p,.preview-heading p{color:var(--muted);margin:8px 0 0;font-size:13px}.product-field{position:relative}.product-field>label,.purchase-field>label,.date-grid>label,.time-row>label:first-child,.setup-modal label{margin-bottom:9px;font-size:14px;font-weight:700;display:block}.product-select{color:#707681;text-align:left;background:#fff;border:1px solid #cfd3d9;border-radius:7px;align-items:center;gap:14px;width:100%;min-height:58px;padding:0 17px;display:flex}.product-select>span{flex-direction:column;flex:1;gap:3px;display:flex}.product-select.has-value{color:var(--ink)}.product-select b{font-size:15px}.product-select small{color:var(--muted);font-size:11px}.product-select em{font-size:18px;font-style:normal}.product-menu{z-index:8;background:#fff;border:1px solid #cfd3d9;border-radius:8px;padding:9px;position:absolute;top:88px;left:0;right:0;box-shadow:0 18px 46px #16191e29}.menu-search{border:1px solid var(--line);border-radius:6px;align-items:center;gap:8px;height:45px;padding:0 11px;display:flex}.menu-search input{border:0;outline:0;flex:1;height:100%;font-size:13px}.product-results{max-height:280px;margin-top:7px;overflow:auto}.product-results button{text-align:left;background:#fff;border:0;border-radius:5px;align-items:center;width:100%;padding:10px 9px;display:flex}.product-results button:hover{background:#f5f5f4}.product-results button span{flex-direction:column;gap:3px;display:flex}.product-results button small{color:var(--muted);font-size:10px}.product-results p{color:var(--muted);text-align:center;padding:22px;font-size:12px}.purchase-field{margin-top:22px}.purchase-control{grid-template-columns:minmax(180px,1fr) 24px minmax(170px,.8fr);align-items:center;gap:10px;display:grid}.number-control{background:#fff;border:1px solid #cfd3d9;border-radius:7px;grid-template-columns:48px 1fr 48px;height:54px;display:grid;overflow:hidden}.number-control button{color:#4b4f56;background:#f7f7f6;border:0;font-size:20px}.number-control input{border:0;border-left:1px solid var(--line);border-right:1px solid var(--line);text-align:center;outline:none;width:100%;font-size:17px;font-weight:700}.purchase-control>b{text-align:center}.purchase-control select{background:#fff;border:1px solid #cfd3d9;border-radius:7px;height:54px;padding:0 14px;font-weight:600}.purchase-field>p{text-align:right;color:#4f5560;margin:9px 0 0;font-size:13px}.purchase-field>p small{color:var(--brand)}.package-summary{color:#4f545c;background:#f2f3f4;border-radius:6px;align-items:center;gap:17px;min-height:62px;margin:20px 0;padding:0 18px;font-size:13px;display:flex}.package-summary strong{color:var(--ink);font-size:15px}.package-summary i{background:#c9ccd0;width:1px;height:20px}.package-summary b{color:var(--brand);margin-left:auto}.date-grid{grid-template-columns:1fr 1.35fr;gap:14px;display:grid}.date-grid input,.match-result,.time-input{width:100%;height:51px;color:var(--ink);background:#fff;border:1px solid #cfd3d9;border-radius:7px;padding:0 14px}.match-result{background:#fafafa;align-items:center;font-size:13px;display:flex}.match-result.blocked{color:#a22a27;background:#fff8f7;border-color:#d8aaa8}.time-row{grid-template-columns:1fr auto;align-items:end;gap:18px;margin-top:19px;display:grid}.time-input{align-items:center;gap:9px;padding:0 12px;display:flex}.time-input input{background:0 0;border:0;outline:0;width:100%;height:100%}.now-check{white-space:nowrap;align-items:center;gap:9px;height:51px;font-size:13px;display:flex}.now-check input{width:20px;height:20px;accent-color:var(--brand)}.print-button{background:var(--brand);color:#fff;border:0;border-radius:6px;justify-content:center;align-items:center;gap:11px;width:100%;height:58px;margin-top:22px;font-size:18px;font-weight:700;display:flex;box-shadow:0 7px 16px #a52b282e}.print-button:hover{background:var(--brand-dark)}.print-button:disabled{box-shadow:none;cursor:not-allowed;background:#b9b9b9}.notice-line{color:var(--brand);margin:11px 0 0;font-size:12px;line-height:1.5}.generated-actions{grid-template-columns:1fr 1fr;gap:10px;margin-top:11px;display:grid}.generated-actions a{border:1px solid var(--brand);height:42px;color:var(--brand);border-radius:6px;place-items:center;font-size:12px;font-weight:700;text-decoration:none;display:grid}.generated-actions a:last-child{background:#faf3f2}.preview-panel{padding:27px 30px;position:relative;overflow:hidden}.preview-heading{justify-content:space-between;align-items:flex-start;display:flex}.preview-heading>span{color:#68706f;align-items:center;gap:6px;font-size:11px;display:flex}.preview-heading>span i{background:#23a466;border-radius:50%;width:7px;height:7px}.label-caption{color:#878c94;flex-direction:column;justify-content:space-around;font-size:11px;display:flex;position:absolute;top:112px;bottom:82px;left:32px}.label-caption span{writing-mode:vertical-rl;letter-spacing:.15em}.label-stage{flex-direction:column;justify-content:center;align-items:center;min-height:590px;display:flex}.combined-label{color:#000;background:#fff;border:1px solid #e2e2e2;width:270px;box-shadow:0 10px 34px #14151826}.store-label{aspect-ratio:1;text-align:center;flex-direction:column;justify-content:space-between;align-items:center;padding:20px 12px 12px;font-family:Songti SC,STSong,SimSun,serif;display:flex}.store-label strong{font-size:13px}.store-label b{font-size:15px}.store-label span{font-size:12px}.store-label small{overflow-wrap:anywhere;max-width:100%;font-size:9px}.bucket-label{place-items:center;height:132px;display:grid;overflow:hidden}.bucket-label img{object-fit:contain;width:100%;height:100%}.empty-label{text-align:center;flex-direction:column;gap:8px;display:flex}.empty-label b{font-family:serif;font-size:18px}.empty-label span{color:#888;font-size:10px}.label-stage>p{width:270px;color:var(--muted);justify-content:space-between;margin:13px 0 0;font-size:11px;display:flex}.label-stage>p span{color:#454a51;font-weight:700}.history-section{width:min(100% - 52px,1440px);margin:18px auto 0;overflow:hidden}.history-head{justify-content:space-between;align-items:center;height:58px;padding:0 20px;display:flex}.history-head>div{align-items:center;gap:10px;display:flex}.history-head svg{color:var(--brand)}.history-head h2{font-size:16px}.history-head button{color:var(--muted);background:0 0;border:0;font-size:11px}.history-head button:disabled{opacity:.35}.history-table{font-size:11px}.history-row{color:#535862;border-top:1px solid #e5e6e8;grid-template-columns:1.05fr 1.35fr 1.25fr 1.15fr .9fr .55fr;align-items:center;min-width:900px;min-height:40px;padding:0 20px;display:grid}.history-row.table-head{color:#343840;background:#f2f3f4;min-height:36px}.history-row strong{color:#26292f;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.history-row em{color:#916b28;font-style:normal}.history-row em.sent{color:#258059}.empty-history{text-align:center;color:var(--muted);border-top:1px solid var(--line);padding:35px;font-size:12px}.order-app>footer{text-align:center;color:#96999e;margin:20px;font-size:10px}.order-app>footer a{color:inherit;border-bottom:1px dotted #aaa;text-decoration:none}.order-app .modal-backdrop{z-index:30;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#1314177a;place-items:center;padding:18px;display:grid;position:fixed;inset:0}.setup-modal{background:#fff;border-radius:12px;width:min(100%,480px);padding:31px;position:relative;box-shadow:0 30px 90px #00000047}.setup-modal h2{margin:12px 0 6px;font-size:24px}.setup-modal>p{color:var(--muted);margin:0 0 20px;font-size:12px;line-height:1.65}.setup-mark{width:44px;height:44px;color:var(--brand);background:#f7eaea;border-radius:8px;place-items:center;font-weight:800;display:grid}.setup-modal label{margin-top:15px}.setup-modal input,.setup-modal textarea{resize:none;border:1px solid #cfd3d9;border-radius:7px;outline:0;width:100%;padding:12px}.setup-modal .form-error{color:var(--brand);margin:10px 0 0}.action-button{background:var(--brand);color:#fff;border:0;border-radius:6px;width:100%;height:50px;margin-top:20px;font-weight:700}.modal-close{background:#f0f0f0;border:0;border-radius:50%;width:34px;height:34px;font-size:22px;position:absolute;top:14px;right:16px}.api-contract{background:#f4f5f6;border-radius:6px;gap:7px;margin-top:14px;padding:12px;font-size:11px;display:grid}.api-contract code{white-space:normal;color:#5d626a}@media (max-width:840px){.app-header{height:64px;padding:0 14px}.brand>img{width:76px}.brand>span{margin:0 10px}.brand strong{font-size:14px}.brand small,.header-actions>button:first-child{display:none}.header-actions button{padding:0 10px;font-size:0}.header-actions button svg{width:19px}.header-actions button i{display:none}.workspace{grid-template-columns:1fr;width:calc(100% - 24px);margin-top:12px}.order-panel{padding:22px 17px}.section-title{margin-bottom:21px}.section-title h1{font-size:20px}.section-title p{font-size:12px;line-height:1.6}.purchase-control{grid-template-columns:1fr 18px 1fr}.date-grid,.time-row{grid-template-columns:1fr}.now-check{height:auto}.package-summary{flex-direction:column;align-items:flex-start;gap:6px;padding:13px}.package-summary i{display:none}.package-summary b{margin-left:0}.preview-panel{padding:22px 15px}.label-caption{display:none}.label-stage{min-height:520px}.history-section{width:calc(100% - 24px);overflow:auto}.history-head{position:sticky;left:0}.setup-modal{padding:25px 20px}}:root{--ink:#211d18;--muted:#766f65;--paper:#f6f3ec;--card:#fffdfa;--red:#972e26;--line:#e4ded3}*{box-sizing:border-box}html{background:var(--paper)}body{background:var(--paper);color:var(--ink);margin:0;font-family:PingFang SC,Microsoft YaHei,system-ui,sans-serif}button,input,select{font:inherit}button{-webkit-tap-highlight-color:transparent}.app-shell{width:min(100%,560px);min-height:100svh;margin:auto;padding:0 18px 40px}.topbar{border-bottom:1px solid #5a48341a;align-items:center;height:70px;display:flex}.brand-logo{object-fit:contain;width:46px;height:42px}.brand-copy{flex-direction:column;margin-left:10px;line-height:1.2;display:flex}.brand-copy strong{letter-spacing:.08em;font-family:serif;font-size:17px}.brand-copy span{color:var(--muted);letter-spacing:.06em;margin-top:3px;font-size:11px}.template-count{color:var(--muted);white-space:nowrap;background:#eee8df;border-radius:999px;margin-left:auto;padding:7px 10px;font-size:11px}.hero{padding:36px 4px 25px}.eyebrow{color:var(--red);letter-spacing:.15em;font-size:12px;font-weight:700}.hero h1{letter-spacing:-.02em;margin:10px 0 12px;font-family:Songti SC,STSong,serif;font-size:36px;line-height:1.18}.hero p{color:var(--muted);max-width:410px;margin:0;font-size:14px;line-height:1.75}.work-card,.manual-card{background:var(--card);border:1px solid var(--line);border-radius:20px;box-shadow:0 8px 30px #3a2b1c0e}.work-card{padding:20px}.step-head{align-items:flex-start;gap:12px;margin-bottom:18px;display:flex}.step-number{background:var(--ink);color:#fff;border-radius:50%;flex:none;place-items:center;width:26px;height:26px;font-size:13px;font-weight:700;display:grid}.step-head h2{margin:1px 0 4px;font-size:17px}.step-head p{color:var(--muted);margin:0;font-size:12px}.service-status{color:var(--muted);align-items:center;gap:7px;margin:-8px 0 12px;font-size:10px;display:flex}.service-status i{background:#c69b3c;border-radius:50%;width:7px;height:7px;box-shadow:0 0 0 3px #c69b3c1f}.service-status.ready i{background:#32865b;box-shadow:0 0 0 3px #32865b1f}.service-status.checking i{animation:1.1s ease-in-out infinite pulse}.camera-box{width:100%;min-height:210px;color:var(--ink);background:#f8f5ef;border:1.5px dashed #c8beb0;border-radius:14px;flex-direction:column;justify-content:center;align-items:center;gap:7px;display:flex;position:relative;overflow:hidden}.camera-box img{object-fit:contain;background:#ede8df;width:100%;height:245px}.replace-photo{color:#fff;background:#1b1713d1;border:0;border-radius:8px;padding:7px 10px;font-size:10px;position:absolute;bottom:10px;right:10px}.camera-icon{background:#ece5d9;border-radius:50%;place-items:center;width:54px;height:54px;margin-bottom:3px;display:grid}.camera-icon svg,.primary-button svg,.manual-toggle svg,.photo-actions svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:24px;height:24px}.camera-box strong{font-size:15px}.camera-box small{color:var(--muted);font-size:12px}.photo-actions{grid-template-columns:1fr 1fr;gap:9px;margin-top:10px;display:grid}.photo-actions button{border:1px solid var(--line);height:43px;color:var(--ink);background:#fff;border-radius:10px;justify-content:center;align-items:center;gap:7px;font-size:12px;font-weight:700;display:flex}.photo-actions svg{width:18px;height:18px}.primary-button{background:var(--red);color:#fff;border:0;border-radius:13px;justify-content:center;align-items:center;gap:9px;width:100%;height:50px;margin-top:14px;font-weight:700;display:flex;box-shadow:0 7px 18px #972e2633}.primary-button:disabled{box-shadow:none;background:#c8c0b4}.primary-button svg{width:20px;height:20px}.divider{color:#9a9288;align-items:center;gap:12px;margin:22px 0;font-size:11px;display:flex}.divider:before,.divider:after{content:"";background:var(--line);flex:1;height:1px}.progress{background:#e8e1d7;border-radius:3px;height:3px;margin-top:10px;overflow:hidden}.progress i{background:var(--red);height:100%;transition:width .2s;display:block}.result-card,.selection-card{background:var(--card);border:1px solid var(--line);border-radius:18px;margin-top:15px;padding:16px;box-shadow:0 8px 30px #3a2b1c0d}.notice{color:var(--muted);margin:0 0 12px;font-size:12px;line-height:1.6}.candidate,.template-list button{border:1px solid var(--line);text-align:left;width:100%;color:var(--ink);background:#fff;border-radius:12px;align-items:center;gap:9px;margin-top:8px;padding:12px;display:flex}.candidate.selected,.template-list button.selected{border-color:var(--red);box-shadow:inset 0 0 0 1px var(--red);background:#fffaf8}.candidate span,.template-list span{flex-direction:column;flex:1;gap:4px;min-width:0;display:flex}.candidate strong,.template-list strong{white-space:nowrap;text-overflow:ellipsis;font-size:13px;overflow:hidden}.candidate small,.template-list small{color:var(--muted);white-space:nowrap;text-overflow:ellipsis;font-size:10px;overflow:hidden}.candidate em,.template-list em{color:var(--red);white-space:nowrap;background:#f8ece9;border-radius:6px;padding:4px 6px;font-size:10px;font-style:normal}.candidate b{color:var(--muted);font-size:11px}.manual-card{overflow:hidden}.manual-toggle{text-align:left;width:100%;color:var(--ink);background:0 0;border:0;align-items:center;padding:17px;display:flex}.manual-toggle>span{background:#eee8df;border-radius:10px;place-items:center;width:38px;height:38px;margin-right:12px;display:grid}.manual-toggle svg{width:19px;height:19px}.manual-toggle div{flex-direction:column;gap:4px;display:flex}.manual-toggle strong{font-size:14px}.manual-toggle small{color:var(--muted);font-size:11px}.manual-toggle b{margin-left:auto;font-size:21px;font-weight:400;transition:transform .2s}.manual-toggle b.turn{transform:rotate(180deg)}.manual-body{border-top:1px solid var(--line);gap:16px;padding:17px;display:grid}.filter-head{color:var(--muted);justify-content:space-between;align-items:center;font-size:10px;display:flex}.filter-head button{color:var(--red);background:0 0;border:0;padding:3px;font-size:10px}.manual-body label{gap:8px;font-size:12px;font-weight:700;display:grid}.manual-body select,.manual-body input{border:1px solid var(--line);width:100%;height:44px;color:var(--ink);background:#fff;border-radius:10px;outline:none;padding:0 12px}.version-pills{grid-template-columns:1fr 1fr;gap:8px;display:grid}.version-pills button{border:1px solid var(--line);background:#fff;border-radius:10px;height:42px}.version-pills button.active{border-color:var(--red);color:var(--red);background:#f8ece9;font-weight:700}.empty-result{color:var(--muted);text-align:center;margin:0;padding:28px 8px;font-size:11px}.template-list{max-height:310px;margin:-3px 0;overflow:auto}.template-list button{margin:7px 0}.primary-button.compact{white-space:nowrap;text-overflow:ellipsis;height:46px;margin-top:0;padding:0 14px;overflow:hidden}.selection-card{margin-top:18px;padding:20px}.label-preview{border:1px solid var(--line);background:#eee8df;border-radius:12px;place-items:center;min-height:150px;padding:12px;display:grid;overflow:hidden}.label-preview img{object-fit:contain;filter:drop-shadow(0 5px 10px #00000026);width:100%;max-height:240px;display:block}.label-preview object{width:100%;height:180px}.print-options{grid-template-columns:120px 1fr;gap:10px;margin-top:14px;display:grid}.print-options>label{gap:6px;font-size:11px;font-weight:700;display:grid}.print-options input[type=number]{border:1px solid var(--line);background:#fff;border-radius:10px;width:100%;height:44px;padding:0 10px}.check-option{border:1px solid var(--line);background:#fff;border-radius:10px;align-items:center;padding:8px 11px;grid-template-columns:22px 1fr!important}.check-option input{width:18px;height:18px;accent-color:var(--red)}.check-option span{flex-direction:column;gap:2px;display:flex}.check-option small{color:var(--muted);font-size:9px;font-weight:400}.pdf-ready{background:#f7f2ea;border:1px solid #cfc5b7;border-radius:13px;margin-top:14px;padding:12px}.pdf-head{align-items:center;gap:10px;display:flex}.pdf-head>span{background:var(--red);color:#fff;border-radius:8px;place-items:center;width:38px;height:38px;font-size:10px;font-weight:800;display:grid}.pdf-head div{flex-direction:column;gap:3px;display:flex}.pdf-head strong{font-size:12px}.pdf-head small{color:var(--muted);font-size:10px}.pdf-ready iframe{border:1px solid var(--line);background:#fff;border-radius:8px;width:100%;height:260px;margin-top:11px}.pdf-actions{grid-template-columns:1fr 1fr;gap:8px;margin-top:9px;display:grid}.pdf-actions a{border:1px solid var(--red);height:42px;color:var(--red);border-radius:9px;place-items:center;font-size:12px;font-weight:700;text-decoration:none;display:grid}.pdf-actions a.download{background:var(--red);color:#fff}.store-entry{color:#fff;background:#27231e;border-radius:16px;align-items:center;gap:12px;margin-top:18px;padding:17px 15px;display:flex}.store-icon{background:#403a33;border-radius:9px;place-items:center;width:38px;height:38px;font-family:serif;display:grid}.store-entry div{flex:1;min-width:0}.store-entry strong{font-size:14px}.store-entry p{color:#bdb6ad;white-space:nowrap;text-overflow:ellipsis;margin:4px 0 0;font-size:10px;overflow:hidden}.store-entry button{color:#332d26;background:#f1e8db;border:0;border-radius:9px;flex:none;padding:9px 11px;font-size:12px;font-weight:700}.desktop-print-tip{background:#f1ece3;border:1px solid #d9cfc1;border-radius:14px;margin-top:12px;padding:14px 16px}.desktop-print-tip strong{color:var(--red);font-size:12px}.desktop-print-tip p{color:var(--muted);margin:6px 0 0;font-size:10px;line-height:1.65}footer{text-align:center;color:#958d82;margin-top:27px;font-size:11px}footer a{color:inherit;border-bottom:1px dotted #aaa;text-decoration:none}.visually-hidden{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;position:absolute!important}.modal-backdrop{z-index:20;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#1814107a;justify-content:center;align-items:flex-end;padding:18px;display:flex;position:fixed;inset:0}.modal{background:var(--card);border-radius:22px 22px 16px 16px;width:min(100%,520px);max-height:94svh;padding:25px 20px 20px;position:relative;overflow:auto;box-shadow:0 25px 80px #00000040}.modal h2{margin:7px 0 6px;font-family:Songti SC,STSong,serif;font-size:27px}.modal>p{color:var(--muted);margin:0 0 19px;font-size:12px}.modal label{gap:7px;margin-top:13px;font-size:12px;font-weight:700;display:grid}.modal input,.modal textarea{border:1px solid var(--line);resize:none;background:#fff;border-radius:10px;outline:none;width:100%;padding:11px 12px}.close{width:36px;height:36px;color:var(--muted);background:#eee8df;border:0;border-radius:50%;font-size:25px;line-height:1;position:absolute;top:13px;right:15px}.size-tip{background:#f1ede6;border-radius:10px;justify-content:space-between;align-items:center;margin-top:14px;padding:11px;display:flex}.size-tip strong{font-size:12px}.size-tip span{color:var(--muted);font-size:10px}.store-label-preview{aspect-ratio:1;text-align:center;color:#000;background:#fff;border:1px solid #bbb;flex-direction:column;align-items:center;gap:5.2%;width:min(100%,320px);margin:16px auto 4px;padding:9% 4% 4%;font-family:Songti SC,STSong,SimSun,serif;display:flex;box-shadow:0 7px 22px #00000014}.store-label-preview strong,.store-label-preview b{font-size:13px}.store-label-preview span{font-size:12px}.store-label-preview small{overflow-wrap:anywhere;max-width:100%;font-size:10px}@keyframes pulse{50%{opacity:.5}}@media (min-width:900px){.app-shell{width:min(100% - 48px,1180px);padding:0 0 70px}.topbar{height:78px}.brand-logo{width:56px;height:50px}.brand-copy strong{font-size:19px}.hero{padding:34px 4px 24px}.hero h1{margin-top:7px;font-size:39px}.hero br{display:none}.desktop-workspace{grid-template-columns:minmax(0,1.05fr) minmax(420px,.95fr);align-items:start;gap:24px;display:grid}.capture-column,.output-column{min-width:0}.output-column .divider{height:20px;margin-top:0}.manual-card{border-radius:20px}.manual-body{grid-template-columns:1fr 1fr;column-gap:12px}.manual-body .filter-head,.manual-body .template-list{grid-column:1/-1}.template-list{max-height:340px}.selection-card{margin-top:16px}.label-preview{min-height:180px}.label-preview img{max-height:260px}.store-entry{margin-top:16px}.pdf-ready iframe{height:300px}.modal-backdrop{align-items:center}.modal{border-radius:22px}.work-card{min-height:560px}.camera-box{min-height:310px}.camera-box img{height:330px}}@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}.admin-shell{width:min(100% - 32px,1040px);margin:auto;padding:30px 0 60px}.back-link{color:var(--muted);font-size:12px;text-decoration:none}.login-card{background:var(--card);border:1px solid var(--line);border-radius:22px;width:min(100%,420px);margin:10vh auto 0;padding:28px;box-shadow:0 16px 60px #3a2b1c14}.login-card .brand-mark{margin-bottom:22px}.login-card h1,.admin-head h1{margin:7px 0;font-family:Songti SC,STSong,serif;font-size:31px}.login-card>p,.admin-head p,.admin-card>p,.library-head p{color:var(--muted);font-size:12px;line-height:1.6}.login-card label,.admin-card label{gap:7px;margin-top:16px;font-size:12px;font-weight:700;display:grid}.login-card input,.admin-card input,.admin-card select{border:1px solid var(--line);width:100%;height:44px;color:var(--ink);background:#fff;border-radius:10px;padding:0 12px}.form-message{color:var(--red)!important;margin:12px 0 0!important;font-size:12px!important}.admin-head{border-bottom:1px solid var(--line);justify-content:space-between;align-items:flex-end;margin-bottom:24px;padding-bottom:24px;display:flex}.admin-head h1{margin-bottom:2px}.admin-head p{margin:5px 0 0}.admin-grid{grid-template-columns:minmax(300px,420px) 1fr;align-items:start;gap:20px;display:grid}.admin-card{background:var(--card);border:1px solid var(--line);border-radius:18px;padding:22px;box-shadow:0 8px 30px #3a2b1c0b}.admin-card h2{margin:0 0 4px;font-size:18px}.admin-card>p{margin:0 0 18px}.upload-tip{color:var(--muted);margin-top:8px;font-size:10px;line-height:1.55;display:block}.library-head{justify-content:space-between;display:flex}.library-head p{margin:3px 0 13px}.library-search{opacity:.7;margin-bottom:10px}.admin-list{max-height:590px;overflow:auto}.admin-list button{border:0;border-bottom:1px solid var(--line);text-align:left;width:100%;color:var(--ink);background:0 0;align-items:center;gap:8px;padding:11px 2px;display:flex}.admin-list span{flex-direction:column;flex:1;gap:4px;min-width:0;display:flex}.admin-list strong{white-space:nowrap;text-overflow:ellipsis;font-size:12px;overflow:hidden}.admin-list small{color:var(--muted);font-size:10px}.admin-list em{color:var(--red);background:#f8ece9;border-radius:5px;padding:4px 6px;font-size:9px;font-style:normal}@media (max-width:720px){.admin-head{align-items:flex-start;gap:20px}.admin-grid{grid-template-columns:1fr}.library{order:2}.admin-shell{padding-top:20px}}.pos-app{background:#f5f4f1;min-width:1040px;padding-bottom:0}.pos-app .app-header{color:#fff;background:#242527;border:0}.pos-app .brand small{color:#c2c3c5}.pos-app .brand>span{background:#56575a}.pos-app .header-actions button{color:#fff;background:0 0;border-color:#595b5f}.pos-app .header-actions .icon-button{border:0}.pos-workspace{grid-template-columns:minmax(350px,36%) 1fr;height:calc(100svh - 72px);min-height:700px;display:grid;overflow:hidden}.pos-preview .preview-heading h1{margin:0;font-size:23px}.pos-preview .preview-heading p{margin:5px 0 0;font-size:11px}.pos-preview .label-stage{min-height:0;margin-top:17px}.pos-preview .store-label{padding:16px 11px 11px}.pos-preview .label-stage>p{width:238px;margin-top:9px}.print-summary{background:#fff;border:1px solid #deddda;border-radius:8px;justify-content:space-between;align-items:center;min-height:92px;margin-top:16px;padding:14px 16px;display:flex}.print-summary>div{grid-template-columns:auto auto;align-items:baseline;column-gap:8px;display:grid}.print-summary small{color:var(--muted);grid-column:1/-1;font-size:11px}.print-summary strong{color:var(--brand);font-size:34px;line-height:1.1}.print-summary strong em{margin-left:4px;font-size:14px;font-style:normal}.print-summary span{color:#4b4e54;font-size:12px}.print-summary button{background:#fff;border:1px solid #d6d7da;border-radius:6px;align-items:center;gap:7px;height:44px;padding:0 13px;font-size:12px;font-weight:650;display:flex}.preview-order-name{border-left:3px solid var(--brand);background:#ebeae7;gap:4px;margin-top:12px;padding:10px 12px;display:grid}.preview-order-name span,.preview-order-name small{color:var(--muted);font-size:10px}.preview-order-name strong{white-space:nowrap;text-overflow:ellipsis;font-size:12px;overflow:hidden}.pos-catalog{background:#fff;flex-direction:column;min-width:0;padding:18px 22px 0;display:flex;position:relative;overflow:hidden}.catalog-search{border:1px solid #d4d5d8;border-radius:7px;flex:none;align-items:center;gap:12px;height:56px;padding:0 17px;display:flex}.catalog-search svg{color:#34373d;width:24px;height:24px}.catalog-search input{background:0 0;border:0;outline:0;flex:1;min-width:0;height:100%;font-size:16px}.catalog-search span{color:var(--muted);font-size:11px}.category-tabs{flex:none;gap:7px;padding:12px 0 11px;display:flex;overflow-x:auto}.category-tabs button{color:#34363c;white-space:nowrap;background:#f9f9f8;border:1px solid #dcdde0;border-radius:6px;min-width:68px;height:40px;padding:0 15px;font-weight:650}.category-tabs button.active{border-color:var(--brand);background:var(--brand);color:#fff}.product-grid{flex:1;grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:minmax(102px,auto);align-content:start;gap:8px;min-height:160px;padding:1px 3px 12px 1px;display:grid;overflow:auto}.product-grid>button{color:var(--ink);text-align:left;background:#fff;border:1px solid #dcdde0;border-radius:7px;flex-direction:column;min-width:0;padding:13px 14px;transition:border-color .12s,background .12s,box-shadow .12s;display:flex}.product-grid>button:hover{background:#fafafa;border-color:#b8b9bc}.product-grid>button.active{border:2px solid var(--brand);background:#fff7f6;padding:12px 13px;box-shadow:0 2px 8px #a52b281a}.product-grid strong{-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:14px;line-height:1.35;display:-webkit-box;overflow:hidden}.product-grid span{color:#8a8e95;white-space:nowrap;text-overflow:ellipsis;margin-top:5px;font-size:9px;overflow:hidden}.product-grid small{color:var(--muted);margin-top:auto;padding-top:7px;font-size:11px}.product-grid>button.active small{color:var(--brand);font-weight:700}.empty-products{text-align:center;color:var(--muted);grid-column:1/-1;padding:60px 0}.order-editor{background:#fff;border-top:1px solid #dfe0e2;flex:none;grid-template-columns:minmax(135px,1.2fr) minmax(175px,1.35fr) minmax(115px,.8fr) minmax(150px,1fr) minmax(170px,1.12fr) minmax(165px,1.05fr);align-items:center;gap:12px;min-height:158px;margin:0 -22px;padding:14px 16px;display:grid;box-shadow:0 -7px 20px #17191c0b}.editor-title{flex-direction:column;gap:6px;min-width:0;display:flex}.editor-title small{color:var(--muted);font-size:10px}.editor-title strong{-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:15px;line-height:1.35;display:-webkit-box;overflow:hidden}.editor-field{flex-direction:column;gap:6px;min-width:0;font-size:11px;font-weight:700;display:flex}.editor-field>span{color:#4c5057}.editor-field>small{min-height:14px;color:var(--muted);white-space:nowrap;text-overflow:ellipsis;font-size:9px;font-weight:400;overflow:hidden}.editor-field>input{background:#fff;border:1px solid #cfd1d5;border-radius:6px;width:100%;min-width:0;height:40px;padding:0 9px;font-size:11px}.editor-field>input:disabled{color:#494d53;background:#f4f4f3}.compact-stepper{border:1px solid #cfd1d5;border-radius:6px;grid-template-columns:32px 38px 32px minmax(77px,1fr);height:40px;display:grid;overflow:hidden}.compact-stepper button{background:#f3f3f2;border:0;font-size:17px}.compact-stepper input{text-align:center;border:0;border-left:1px solid #ddd;border-right:1px solid #ddd;width:100%;font-weight:700}.compact-stepper select{background:#fff;border:0;border-left:1px solid #ddd;min-width:0;padding:0 5px;font-size:10px}.package-field strong{white-space:nowrap;text-overflow:ellipsis;border:1px solid #cfd1d5;border-radius:6px;align-items:center;height:40px;padding:0 10px;font-size:11px;display:flex;overflow:hidden}.time-editor>small{align-items:center;gap:5px;display:flex}.time-editor>small input{accent-color:var(--brand)}.blocked-text{color:var(--brand)!important}.pos-print{background:var(--brand);color:#fff;border:0;border-radius:7px;justify-content:center;align-items:center;gap:8px;height:72px;font-size:14px;font-weight:750;display:flex;box-shadow:0 7px 17px #a52b282e}.pos-print:hover{background:var(--brand-dark)}.pos-print:disabled{box-shadow:none;cursor:not-allowed;background:#b9b9b9}.pos-notice{color:#fff;z-index:4;pointer-events:none;background:#2e3034;border-radius:5px;max-width:520px;margin:0;padding:9px 12px;font-size:11px;position:absolute;bottom:164px;right:20px;box-shadow:0 5px 18px #00000029}.pos-generated{z-index:5;gap:7px;display:flex;position:absolute;bottom:211px;right:21px}.pos-generated a{border:1px solid var(--brand);color:var(--brand);background:#fff;border-radius:5px;padding:8px 11px;font-size:10px;font-weight:700;text-decoration:none}.pos-app>footer{display:none}.history-modal{background:#fff;border-radius:10px;width:min(96vw,1120px);max-height:82svh;overflow:auto;box-shadow:0 25px 80px #00000047}.history-modal .history-head>div:last-child{gap:4px}.history-modal .history-head .modal-close{font-size:21px;position:static}.history-modal .history-table{overflow:auto}.history-modal .history-row{min-width:850px}@media (max-width:1500px){.pos-workspace{grid-template-columns:350px 1fr}.product-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.order-editor{grid-template-columns:1fr 1.35fr 1fr 1fr;min-height:210px}.editor-title{grid-row:1}.pos-print{grid-area:1/4/3;height:92px}.time-editor{grid-column:3}.package-field{grid-column:2}.pos-preview{padding-left:18px;padding-right:18px}}@media (max-width:1120px){.product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (max-width:840px){.pos-app{min-width:0}.pos-app .brand>img{width:40px}.pos-workspace{flex-direction:column;height:auto;min-height:0;display:flex;overflow:visible}.pos-preview{border-bottom:1px solid #ddd;border-right:0;padding:18px 14px}.pos-preview .label-stage{display:none}.print-summary{margin-top:12px}.preview-order-name{display:none}.pos-catalog{padding:12px;overflow:visible}.catalog-search{height:50px}.category-tabs{padding:9px 0}.category-tabs button{min-width:60px;height:37px;padding:0 12px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:96px;max-height:48svh;padding-bottom:10px}.order-editor{z-index:8;grid-template-columns:1fr 1fr;gap:9px;min-height:0;margin:0 -12px;padding:12px;position:sticky;bottom:0}.editor-title{grid-column:1/-1}.package-field,.time-editor{grid-column:auto}.pos-print{grid-area:auto/1/auto/-1;height:52px}.pos-notice{position:fixed;bottom:12px;left:12px;right:12px}.pos-generated{padding:10px 0;position:static}.history-modal{width:100%;max-height:88svh}.print-summary button{padding:0 10px}}.pos-workspace{grid-template-columns:minmax(390px,31.5%) 1fr}.pos-preview{flex-direction:column;padding:28px 28px 24px;display:flex}.pos-preview .combined-label{width:330px}.pos-preview .bucket-label{height:161px}.pos-preview .label-stage>p{width:330px}.print-summary{min-height:96px;margin-top:0;padding:14px 18px}.preview-order-name{display:none}.pos-catalog{padding:22px 24px 0}.catalog-search{height:56px}.category-tabs button{flex:1;min-width:64px;height:42px;padding:0 10px}.product-grid>button{padding:15px 16px}.product-grid>button.active{padding:14px 15px}.product-grid small{padding-top:10px;font-size:12px}.product-grid span{display:none}.order-editor{grid-template-columns:120px 190px 120px 165px 175px minmax(180px,1fr);gap:0;height:138px;min-height:138px;margin:0 -24px;padding:0 18px;box-shadow:0 -5px 16px #17191c0a}.order-editor>*{min-width:0;padding:0 14px}.order-editor>*+*{border-left:1px solid #e2e3e5}.editor-title{grid-row:auto}.package-field,.time-editor{grid-column:auto}.editor-title strong{font-size:15px}.editor-title small,.editor-field>span{font-size:11px}.editor-field>small{font-size:10px}.compact-stepper,.editor-field>input,.package-field strong{height:40px}.compact-stepper{grid-template-columns:32px 36px 32px minmax(82px,1fr)}.package-field strong{border:0;padding:0;font-size:13px}.pos-print{grid-area:auto;height:72px;margin-left:14px;padding:0 12px;font-size:15px;border-left:0!important}.pos-notice{bottom:143px}.pos-generated{bottom:188px}@media (max-width:1280px){.pos-workspace{grid-template-columns:340px 1fr}.pos-preview{padding-left:18px;padding-right:18px}.pos-preview .combined-label,.pos-preview .label-stage>p{width:238px}.pos-preview .bucket-label{height:116px}.product-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.order-editor{grid-template-columns:1.05fr 1.35fr 1fr 1.1fr;height:196px;min-height:196px;padding:12px 10px}.order-editor>*{padding:0 10px}.editor-title{grid-row:1}.package-field{grid-column:2}.time-editor{grid-column:3}.pos-print{grid-area:1/4/3;align-self:center;height:88px}.pos-notice{bottom:201px}.pos-generated{bottom:245px}}@media (max-width:840px){.pos-workspace{display:flex}.pos-preview{padding:18px 14px;display:block}.pos-preview .label-stage{display:none}.pos-catalog{padding:12px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:96px;gap:8px}.order-editor{grid-template-columns:1fr 1fr;gap:9px;height:auto;min-height:0;margin:0 -12px;padding:12px}.order-editor>*{padding:0;border-left:0!important}.editor-title{grid-column:1/-1}.package-field,.time-editor{grid-column:auto}.pos-print{grid-area:auto/1/auto/-1;height:52px;margin-left:0}.pos-notice{bottom:12px}}.catalog-search{padding-right:10px}.catalog-meta{white-space:nowrap;align-items:center;gap:10px;display:flex}.catalog-meta button{color:#35383d;background:#f4f4f3;border:1px solid #d5d6d9;border-radius:6px;height:38px;padding:0 13px;font-size:12px;font-weight:750}.catalog-meta button.has-items{border-color:var(--brand);background:var(--brand);color:#fff;box-shadow:0 4px 10px #a52b2829}.product-grid>button.in-order:not(.active){background:snow;border-color:#d9a3a0}.product-grid>button.in-order small{color:var(--brand);font-weight:700}.order-modal{background:#fff;border-radius:11px;flex-direction:column;width:min(94vw,900px);max-height:86svh;display:flex;overflow:hidden;box-shadow:0 25px 80px #0000004d}.order-modal-head{border-bottom:1px solid #e1e2e4;justify-content:space-between;align-items:center;padding:22px 24px 18px;display:flex}.order-modal-head small{color:var(--brand);font-size:11px;font-weight:800}.order-modal-head h2{margin:5px 0 0;font-size:22px}.order-modal-head .modal-close{position:static}.order-lines{min-height:120px;padding:10px 24px;overflow:auto}.order-lines>p{text-align:center;color:var(--muted);padding:35px 10px}.order-line{border-bottom:1px solid #ececee;grid-template-columns:28px minmax(220px,1fr) minmax(190px,.8fr) 58px 48px;align-items:center;gap:12px;padding:14px 0;display:grid}.order-line>b{width:25px;height:25px;color:var(--brand);background:#f0e4e3;border-radius:50%;place-items:center;font-size:11px;display:grid}.order-line>div,.order-line>span{flex-direction:column;gap:5px;min-width:0;display:flex}.order-line strong{white-space:nowrap;text-overflow:ellipsis;font-size:14px;overflow:hidden}.order-line small{color:var(--muted);font-size:10px;font-weight:400}.order-line>em{color:var(--brand);text-align:center;font-size:12px;font-style:normal;font-weight:800}.order-line>button{color:#777b82;background:0 0;border:0;font-size:11px}.order-line>button:hover{color:var(--brand)}.order-modal-actions{background:#f7f7f6;justify-content:flex-end;gap:10px;padding:18px 24px 22px;display:flex}.order-modal-actions button{border-radius:7px;height:48px;padding:0 20px;font-weight:750}.order-modal-actions .clear-order{color:#55595f;background:#fff;border:1px solid #d2d4d7}.order-modal-actions .print-order{background:var(--brand);color:#fff;border:0;justify-content:center;align-items:center;gap:8px;min-width:230px;display:flex}.order-modal-actions .print-order svg{width:20px}.order-modal-actions button:disabled{opacity:.5;cursor:not-allowed}@media (max-width:840px){.catalog-meta>span{display:none}.catalog-meta button{padding:0 9px;font-size:10px}.order-modal{width:100%;max-height:90svh}.order-modal-head,.order-lines,.order-modal-actions{padding-left:14px;padding-right:14px}.order-line{grid-template-columns:24px 1fr 48px}.order-line>span{grid-column:2}.order-line>button{grid-area:2/3}.order-modal-actions{grid-template-columns:1fr 2fr;display:grid}.order-modal-actions button,.order-modal-actions .print-order{min-width:0;padding:0 8px;font-size:11px}}.pos-app{background:#eef0f3;min-width:1180px}.pos-app .app-header{background:#292d33;height:64px;padding:0 22px;box-shadow:0 1px #ffffff14}.pos-app .brand>img{width:38px;height:38px}.pos-app .brand>span{height:28px;margin:0 16px}.pos-app .brand strong{font-size:18px}.pos-app .brand small{font-size:11px}.pos-app .header-actions button{border-radius:6px;height:38px;font-size:12px}.pos-workspace{background:#fff;grid-template-columns:minmax(340px,30.5%) minmax(284px,22.5%) minmax(520px,47%);height:calc(100svh - 64px);min-height:720px;overflow:hidden}.pos-preview,.order-config,.pos-catalog{min-width:0;min-height:0}.pos-preview{background:#f7f8fa;border-right:1px solid #d9dde3;padding:20px 20px 16px;overflow:auto}.pos-preview .preview-heading{align-items:center}.pos-preview .preview-heading h1{font-size:19px;line-height:1.25}.pos-preview .preview-heading p{margin-top:4px;font-size:11px}.pos-preview .label-stage{flex:none;justify-content:flex-start;margin:12px 0 10px}.pos-preview .combined-label{aspect-ratio:5/8;border-color:#cfd3d8;grid-template-rows:47% 53%;width:min(72%,285px);display:grid;box-shadow:0 8px 24px #1c1f241f}.pos-preview .store-label{aspect-ratio:auto;justify-content:space-around;gap:3px;padding:11px 10px 7px;overflow:hidden}.pos-preview .store-label strong{font-size:10px}.pos-preview .store-label b{font-size:11px}.pos-preview .store-label span{font-size:9px;line-height:1.25}.pos-preview .store-label small{font-size:8px;line-height:1.2}.pos-preview .bucket-label{border-top:0;height:auto;min-height:0;position:relative}.pos-preview .bucket-label img{object-fit:contain}.production-date-preview{text-align:center;background:#ffffffeb;padding:3px 4px;font-family:Songti SC,STSong,SimSun,serif;font-size:10px;position:absolute;bottom:5px;left:8px;right:8px}.pos-preview .label-stage>p{width:min(72%,285px);margin-top:7px;font-size:10px}.pos-preview .combined-label.redrawn{flex-direction:column;grid-template-rows:none;padding:6px 10px 7px;font-family:Microsoft YaHei,DengXian,SimSun,sans-serif;display:flex}.pos-preview .redrawn .store-label{flex:none;justify-content:flex-start;gap:1px;padding:0 0 8px}.pos-preview .redrawn .store-label strong{font-size:12.5px;line-height:1.12}.pos-preview .redrawn .store-label b{font-size:12.5px;line-height:1.05}.pos-preview .redrawn .store-label b em{font-size:17px;font-style:normal}.pos-preview .redrawn .store-label span{font-size:11px;line-height:1.12}.pos-preview .redrawn .store-label small{font-size:10.5px;line-height:1.12}.redrawn-content{text-align:left;flex-direction:column;flex:none;align-items:stretch;min-height:0;font-size:11.5px;line-height:1.1;display:flex;overflow:visible}.redrawn-content span{overflow-wrap:anywhere;display:block}.redrawn-content span b{font-weight:800}.redrawn-content>strong{text-align:center;margin-top:6px;padding-top:0;font-size:12.5px;line-height:1.05}.redrawn-content>strong em{font-size:17.5px;font-style:normal}.short-content .redrawn-content{font-size:13.2px;line-height:1.12}.long-content .redrawn-content{font-size:8.5px;line-height:1.06}.long-content .redrawn-content>strong{margin-top:3px}.pos-preview .combined-label:not(.redrawn){flex-direction:column;display:flex}.pos-preview .combined-label:not(.redrawn) .store-label{flex:1}.pos-preview .combined-label:not(.redrawn) .bucket-label{flex:none;height:auto}.pos-preview .combined-label:not(.redrawn) .bucket-label img{height:auto;display:block}.pos-preview .combined-label.rendered-label{padding:0;display:block;overflow:hidden}.pos-preview .rendered-label .printed-label-image{object-fit:fill;width:100%;height:100%;display:block}.inline-order{background:#fff;border:1px solid #dadde2;border-radius:8px;flex:none;overflow:hidden}.inline-order-head{border-bottom:1px solid #e5e7ea;justify-content:space-between;align-items:center;height:42px;padding:0 12px;display:flex}.inline-order-head>div{align-items:baseline;display:flex}.inline-order-head strong{font-size:14px}.inline-order-head span{color:var(--muted);font-size:11px}.inline-order-head button{color:var(--muted);background:0 0;border:0;font-size:10px}.inline-order-head button:disabled{opacity:.35}.inline-order-list{max-height:146px;overflow:auto}.inline-order-list>button:not(.more-order){text-align:left;background:#fff;border:0;border-bottom:1px solid #eceef0;grid-template-columns:22px 1fr auto;align-items:center;gap:8px;width:100%;min-height:48px;padding:7px 10px;display:grid}.inline-order-list>button:hover{background:#fafafa}.inline-order-list>button>b{width:22px;height:22px;color:var(--brand);background:#f2e5e4;border-radius:4px;place-items:center;font-size:10px;display:grid}.inline-order-list>button>span{flex-direction:column;gap:2px;min-width:0;display:flex}.inline-order-list>button strong{white-space:nowrap;text-overflow:ellipsis;font-size:11px;overflow:hidden}.inline-order-list>button small{color:var(--muted);font-size:9px}.inline-order-list>button em{color:var(--brand);font-size:11px;font-style:normal;font-weight:750}.inline-order-list>p{text-align:center;color:var(--muted);margin:0;padding:22px 12px;font-size:10px}.inline-order-list .more-order{width:100%;height:32px;color:var(--brand);background:#f7f7f7;border:0;font-size:10px}.preview-actions{grid-template-columns:112px 1fr;gap:8px;margin-top:10px;display:grid}.preview-actions button{border-radius:7px;justify-content:center;align-items:center;gap:7px;height:52px;font-weight:750;display:flex}.history-button{color:#41454c;background:#fff;border:1px solid #d4d7dc;font-size:11px}.print-order-now{background:var(--brand);color:#fff;border:0;font-size:15px}.print-order-now:hover{background:var(--brand-dark)}.print-order-now:disabled{cursor:not-allowed;background:#b9bbc0}.preview-actions svg{width:18px;height:18px}.order-config{background:#fff;border-right:1px solid #d9dde3;position:relative;overflow:auto}.order-config .order-editor{height:auto;min-height:100%;box-shadow:none;border:0;flex-direction:column;align-items:stretch;gap:0;margin:0;padding:24px 20px;display:flex}.order-config .order-editor>*{min-width:0;padding:0;border-left:0!important}.order-config .editor-title{gap:8px;padding:0 0 22px;border-bottom:1px solid #e2e5e9!important}.order-config .editor-title small{color:#444950;font-size:16px;font-weight:750}.order-config .editor-title strong{-webkit-line-clamp:2;color:#111318;min-height:57px;font-size:21px;line-height:1.35}.order-config .editor-field{gap:10px;padding:20px 0;border-bottom:1px solid #e5e7ea!important}.order-config .editor-field>span{color:#25282e;font-size:16px;font-weight:800}.order-config .editor-field>small{white-space:normal;min-height:18px;font-size:12px;line-height:1.45}.order-config .compact-stepper{border-radius:7px;grid-template-columns:48px 54px 48px minmax(88px,1fr);height:56px}.order-config .compact-stepper button{font-size:26px;font-weight:500}.order-config .compact-stepper input{font-size:18px}.order-config .compact-stepper select{padding:0 8px;font-size:14px;font-weight:650}.order-config .package-field strong{white-space:normal;background:#f7f8fa;border:1px solid #d8dce1;border-radius:7px;height:auto;min-height:66px;padding:12px 14px;font-size:20px;line-height:1.25}.order-config .editor-field>input{border-radius:7px;height:56px;padding:0 13px;font-size:16px}.order-config .time-editor>small{font-size:13px}.order-config .time-editor>small input{width:18px;height:18px}.order-config .pos-print{border-radius:7px;height:68px;min-height:68px;margin:24px 0 0;padding:0 10px;font-size:18px;font-weight:800;box-shadow:0 7px 17px #a52b282e;border:0!important}.order-config .pos-notice{max-width:330px;font-size:12px;position:fixed;bottom:18px;right:calc(47% + 18px)}.order-config .pos-generated{position:fixed;bottom:58px;right:calc(47% + 18px)}.order-config .pos-generated a{font-size:11px}.pos-catalog{background:#fff;padding:16px 16px 0}.catalog-search{height:54px;padding:0 14px}.catalog-search input{font-size:15px}.catalog-meta button{height:36px}.category-tabs{gap:6px;padding:10px 0}.category-tabs button{flex:none;min-width:56px;height:38px;padding:0 12px;font-size:13px}.category-tabs button.active{color:#24262b;background:#ffc63e;border-color:#efb11f}.product-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));grid-auto-rows:116px;gap:8px;padding:1px 1px 14px}.product-grid>button{border-radius:7px;padding:14px 13px}.product-grid>button.active{background:#fffaf0;border-color:#f0ab00;padding:13px 12px;box-shadow:inset 0 0 0 1px #f0ab00}.product-grid strong{font-size:15px;line-height:1.4}.product-grid small{font-size:12px}.product-grid>button.active small{color:#8c5a00}.pos-catalog .pos-notice,.pos-catalog .pos-generated{display:none}.packing-tabs{border:1px solid #d2d6dc;border-radius:7px;grid-template-columns:1fr 1fr;height:44px;display:grid;overflow:hidden}.packing-tabs button{color:#565b64;background:#f5f6f7;border:0;font-size:14px;font-weight:750}.packing-tabs button+button{border-left:1px solid #d2d6dc}.packing-tabs button.active{color:#7a4a00;background:#fff3d5;box-shadow:inset 0 0 0 2px #f0ad16}.manual-bottle{border:1px solid #d4d8de;border-radius:7px;grid-template-columns:auto 1fr auto;align-items:center;gap:9px;height:50px;padding:0 12px;display:grid}.manual-bottle>span{color:#555b64;font-size:13px}.manual-bottle input{text-align:right;outline:0;width:100%;min-width:0;height:100%;font-weight:750;border:0!important;padding:0!important;font-size:18px!important}.manual-bottle i{color:#686e77;font-size:13px;font-style:normal}.package-field .manual-bottle+strong{margin-top:0}.keg-field.saved>input{background:#f5fbf7;border-color:#6ba885}.keg-field.saved>small:not(.blocked-text){color:#28734c;font-weight:650}.order-config{flex-direction:column;display:flex;overflow:hidden}.order-config .order-editor{flex:1;min-height:0;padding-bottom:24px;overflow:auto}.order-config .pos-print{z-index:3;flex:none;margin:14px 20px 16px;position:static}.order-config .pos-print:before{content:none}@media (max-width:1360px){.pos-app{min-width:1080px}.pos-workspace{grid-template-columns:330px 300px minmax(450px,1fr)}.pos-preview{padding-left:14px;padding-right:14px}.pos-preview .combined-label,.pos-preview .label-stage>p{width:235px}.product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.catalog-meta>span{display:none}.order-config .order-editor{padding-left:16px;padding-right:16px}}@media (max-width:900px){.pos-app{min-width:0}.pos-workspace{flex-direction:column;height:auto;min-height:0;display:flex;overflow:visible}.pos-catalog{order:1;height:auto;padding:12px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:104px;max-height:43svh}.order-config{border-top:1px solid #ddd;border-right:0;order:2}.order-config .order-editor{min-height:0;padding:18px 16px}.order-config .editor-title strong{min-height:0}.pos-preview{border-top:1px solid #ddd;border-right:0;order:3}.pos-preview .label-stage{display:flex}.pos-preview .combined-label,.pos-preview .label-stage>p{width:min(74vw,285px)}.order-config .pos-notice{position:fixed;bottom:12px;left:12px;right:12px}.order-config .pos-generated{margin-top:10px;position:static}.preview-actions{grid-template-columns:1fr 2fr}}@media (max-width:500px){.pos-app .app-header{padding:0 12px}.pos-app .brand>img{width:34px;height:34px}.pos-app .brand>span{margin:0 8px}.pos-app .brand strong{white-space:nowrap;font-size:14px}.pos-app .header-actions{gap:4px}.pos-app .header-actions button{justify-content:center;width:38px;padding:0;font-size:0}.pos-app .header-actions button svg{width:18px;height:18px}.catalog-meta button{padding:0 8px;font-size:10px}.product-grid strong{font-size:14px}}.inline-order-row{background:#fff;border-bottom:1px solid #eceef0;grid-template-columns:minmax(0,1fr) 42px;align-items:stretch;min-height:48px;display:grid}.inline-order-row:hover{background:#fafafa}.inline-order-main{text-align:left;background:0 0;border:0;grid-template-columns:22px minmax(0,1fr) auto;align-items:center;gap:8px;min-width:0;padding:7px 8px 7px 10px;display:grid}.inline-order-main>b{width:22px;height:22px;color:var(--brand);background:#f2e5e4;border-radius:4px;place-items:center;font-size:10px;display:grid}.inline-order-main>span{flex-direction:column;gap:2px;min-width:0;display:flex}.inline-order-main strong{white-space:nowrap;text-overflow:ellipsis;font-size:11px;overflow:hidden}.inline-order-main small{color:var(--muted);white-space:nowrap;text-overflow:ellipsis;font-size:9px;overflow:hidden}.inline-order-main em{color:var(--brand);font-size:11px;font-style:normal;font-weight:750}.inline-order-remove{color:#787d85;background:0 0;border:0;border-left:1px solid #eceef0;font-size:9px}.inline-order-remove:hover{color:var(--brand);background:#fff0ef;font-weight:750}.pos-preview .empty-preview-stage{justify-content:center;min-height:88px;margin:12px 0 10px}.preview-empty-message{text-align:center;color:#737983;background:#fbfbfa;border:1px dashed #cfd4da;border-radius:8px;flex-direction:column;align-items:center;gap:5px;width:100%;padding:17px 16px;display:flex}.preview-empty-message strong{color:#454a52;font-size:12px}.preview-empty-message span{font-size:10px;line-height:1.5}@media (min-width:1361px){.pos-workspace{grid-template-columns:minmax(365px,33.5%) minmax(292px,19.5%) minmax(520px,47%)}.pos-preview .combined-label,.pos-preview .label-stage>p{width:min(76%,315px)}}@media (min-width:901px) and (max-width:1360px){.pos-workspace{grid-template-columns:352px 278px minmax(450px,1fr)}.pos-preview .combined-label,.pos-preview .label-stage>p{width:255px}.order-config .order-editor{padding-left:14px;padding-right:14px}.order-config .compact-stepper{grid-template-columns:44px 50px 44px minmax(84px,1fr)}}.inline-order-row{grid-template-columns:minmax(0,1fr) 46px;min-height:54px}.inline-order-main{grid-template-columns:24px minmax(0,1fr) auto;gap:9px;padding:8px 9px 8px 11px}.inline-order-main>b{width:24px;height:24px;font-size:11px}.inline-order-main>span{gap:3px}.inline-order-main em{font-size:12.5px;font-weight:800}.inline-order-remove{font-size:10px}.inline-order-main strong{font-size:15px}.inline-order-main small{font-size:12px}.inline-order-main em{font-size:14px}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}
