@charset "UTF-8";
:root{--bg:#f6f7f4;--paper:#fff;--ink:#202a32;--muted:#84908f;--line:#e8ece7;--primary:#23675f;--primary-hover:#19564f;--mint:#e9f2ee;--sidebar:#fdfefb;--amber:#b27a23;--red:#b44f44;--radius:18px;font-family:Inter,"Segoe UI","Microsoft YaHei",system-ui,sans-serif;color:var(--ink);font-synthesis:none;scroll-behavior:smooth}*{box-sizing:border-box}body{margin:0;background:var(--bg);font-size:14px;line-height:1.6}button,input,select{font:inherit}button,a,input,select,[tabindex]{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}a{color:inherit;text-decoration:none}button{color:inherit}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}h1,h2,h3,p{margin:0}input,select{width:100%;border:1px solid #dfe5df;background:#fff;border-radius:9px;padding:11px 12px;outline:none;color:var(--ink);transition:border-color .15s,box-shadow .15s}input:focus,select:focus{border-color:var(--primary);box-shadow:0 0 0 3px #23675f15}input:disabled,select:disabled,fieldset:disabled input,fieldset:disabled select{background:#f6f7f5;color:#9aa39e;cursor:not-allowed}button:focus-visible,a:focus-visible,[tabindex]:focus-visible{outline:3px solid #95c4b5;outline-offset:4px}fieldset{border:0;padding:0;margin:0;min-width:0}select{appearance:auto}input::placeholder{color:#a4aca7;font-size:12px}.hidden,[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.icon-sprite{position:absolute;width:0;height:0;overflow:hidden}.muted{color:var(--muted)}.small{font-size:12px}.full-width{width:100%}.sidebar{position:fixed;inset:0 auto 0 0;width:218px;background:var(--sidebar);border-right:1px solid var(--line);display:flex;flex-direction:column;padding:38px 22px 25px;z-index:10}.brand{display:flex;align-items:center;gap:11px;font-size:25px;font-weight:750;letter-spacing:1px;padding:0 8px 44px;line-height:1.15}.brand-mark{width:43px;height:43px;background:var(--primary);border-radius:13px;display:grid;place-items:center;color:#fff;box-shadow:0 4px 10px #23675f15}.brand-mark svg{width:25px;height:25px}.brand small{display:block;font-size:8px;letter-spacing:2.2px;color:#8a9690;margin-top:7px;font-weight:500}.sidebar-caption{font-size:10px;color:#9aa49d;padding:0 13px 12px;letter-spacing:1px}.desktop-nav{display:flex;flex-direction:column;gap:7px}.nav-item{border:0;background:transparent;display:flex;align-items:center;gap:12px;width:100%;border-radius:10px;padding:12px 13px;font-size:13px;color:#78847d;text-align:left;white-space:nowrap}.nav-item svg{width:18px;height:18px}.nav-item:hover{background:#f0f3ef}.nav-item.active{color:var(--primary);background:#eaf2eb;font-weight:650}.nav-indicator{width:5px;height:5px;background:var(--primary);border-radius:50%;margin-left:auto}.nav-count{margin-left:auto;font-size:10px;background:#ecefeb;border-radius:6px;min-width:20px;text-align:center;padding:1px 3px}.sidebar-bottom{margin-top:auto;padding:23px 11px 0;border-top:1px solid var(--line)}.network-label{display:flex;align-items:center;gap:7px;color:#59695f;font-size:11px}.status-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:currentColor;flex-shrink:0}.success{color:#32856c}.warning{color:var(--amber)}.danger{color:var(--red)}.neutral{color:#8b9690}.sidebar-bottom p{font-size:10px;color:#a0a9a2;line-height:1.9;margin:10px 0 18px}.subtle-button{display:flex;align-items:center;gap:8px;background:none;border:0;padding:0;font-size:11px;color:#61796c}.subtle-button svg{width:15px;height:15px}.sidebar-version{display:block;color:#adb5ae;font-size:9px;margin-top:25px}.app-shell{margin-left:218px}.topbar{height:79px;display:flex;align-items:center;justify-content:space-between;padding:0 42px;background:#fbfcf9;border-bottom:1px solid var(--line)}.breadcrumb{display:flex;gap:15px;font-size:11px;color:#9ca59e}.breadcrumb span{color:#c3c9c2}.breadcrumb strong{font-weight:500;color:#58655c}.topbar-actions{display:flex;align-items:center;gap:22px}.network-chip{display:flex;gap:6px;align-items:center;color:#7f8d83;font-size:10px}.network-chip svg{width:14px;height:14px}.button{border:1px solid transparent;border-radius:9px;padding:11px 17px;display:inline-flex;align-items:center;justify-content:center;gap:9px;line-height:1.5;font-weight:550;font-size:12px;transition:background .15s,transform .15s}.button svg{width:17px;height:17px}.button:active:not(:disabled){transform:translateY(1px)}.button-primary{background:var(--primary);color:#fff;box-shadow:0 3px 8px #23675f0c}.button-primary:hover:not(:disabled){background:var(--primary-hover)}.button-white{border-color:#e1e7df;background:#fff;color:#657267}.button-white:hover:not(:disabled){background:#f5f8f3}.button-small{padding:8px 11px;font-size:10px}.button-small svg{width:14px;height:14px}.text-button{background:none;border:0;padding:4px 0;display:inline-flex;gap:6px;align-items:center;color:var(--primary);font-size:11px;font-weight:500}.text-button svg{width:15px;height:15px}.icon-button{border:0;background:transparent;border-radius:7px;width:32px;height:32px;display:inline-grid;place-items:center;color:#7a897e;padding:0;flex-shrink:0}.icon-button svg{width:16px;height:16px}.icon-button:hover{background:#edf2ec}.mobile-brand,.mobile-nav{display:none}main{max-width:1360px;margin:0 auto;padding:33px 42px 0;scroll-margin-top:20px}.page-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:26px}.eyebrow{font-size:9px;color:#879b8e;letter-spacing:1.8px;line-height:1.3;font-weight:600;margin-bottom:9px}h1{font-size:29px;letter-spacing:-.9px;line-height:1.4;font-weight:680}.heading-dot{color:#4f8f73;margin-left:4px}.page-heading p{margin-top:7px;font-size:11px;color:#8b968d}.page-heading>.text-button{align-self:flex-end;margin-bottom:7px}.printer-strip{display:flex;align-items:center;border:1px solid #e1e7de;border-radius:13px;padding:17px 20px;background:#fbfdf8;margin-bottom:24px;gap:24px}.printer-identity{display:flex;align-items:center;gap:14px;min-width:0;flex:1}.printer-icon{width:43px;height:43px;display:grid;place-items:center;background:#eaf1e5;color:#537a56;border-radius:11px;flex-shrink:0}.printer-icon svg{width:23px;height:23px}.printer-name{font-size:13px;font-weight:650;overflow-wrap:anywhere}.printer-model{font-size:10px;color:#98a18f;margin-top:3px;overflow-wrap:anywhere}.strip-divider{height:30px;width:1px;background:#e3e9dc}.printer-state{min-width:120px}.status-pill{display:inline-flex;gap:6px;align-items:center;font-size:10px;font-weight:550;padding:3px 9px;border-radius:6px;background:#eef0ec}.status-pill.success{background:#e7f1e8}.status-pill.warning{background:#fff3d9}.status-pill.danger{background:#fae9e5}.check-time{font-size:9px;color:#a1a99a;margin-top:5px}.alert{display:flex;align-items:center;gap:13px;border:1px solid #eddbc0;background:#fff9ed;border-radius:11px;color:#8e6b31;padding:13px 16px;margin:-9px 0 24px;font-size:12px}.alert>svg{width:20px;height:20px}.alert>div{flex:1}.alert strong{font-size:12px;font-weight:600}.alert p{font-size:10px;margin-top:3px;overflow-wrap:anywhere}.alert .text-button{color:#8e6b31;white-space:nowrap}.alert.is-danger{background:#fff3f0;border-color:#f0d8d2;color:#a45d51}.workspace-grid{display:grid;grid-template-columns:minmax(0,1fr) 326px;gap:22px;align-items:start}.card{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 2px 3px #283b2301}.card-heading{display:flex;align-items:center;justify-content:space-between}.card-heading>div{display:flex;align-items:center;gap:9px}.card h2{font-size:14px;letter-spacing:.1px;font-weight:650;line-height:1.5}.step-label{display:inline-flex;align-items:center;justify-content:center;border:1px solid #e3e9e1;color:#9ea99e;border-radius:6px;font-size:9px;width:24px;height:22px}.upload-card{padding:23px 23px 0}.upload-card>.card-heading{margin-bottom:22px}.drop-zone{min-height:285px;display:flex;align-items:center;justify-content:center;flex-direction:column;background:#fafcf9;border:1.5px dashed #cad8c9;border-radius:12px;cursor:pointer;transition:background .2s,border .2s;position:relative;overflow:hidden}.drop-zone:hover,.drop-zone.drag-active{background:#eff7ee;border-color:#60997b}.drop-zone.drag-active{box-shadow:inset 0 0 0 2px #8cbda426}.upload-art{width:65px;height:65px;border-radius:18px;background:#eef3e8;display:grid;place-items:center;color:#5d8c6a;margin-bottom:18px;position:relative;transform:rotate(-5deg)}.upload-art>svg{width:28px;height:28px;transform:rotate(5deg)}.art-spark{position:absolute;background:#bdd3ac;border-radius:3px;width:7px;height:7px;transform:rotate(15deg)}.spark-one{top:1px;right:-19px;width:5px;height:5px}.spark-two{bottom:3px;left:-17px;background:#d5ddc6;width:4px;height:4px}.drop-zone h3{font-size:16px;font-weight:600;letter-spacing:.3px}.drop-zone p{font-size:11px;color:#9ba69a;margin-top:5px;margin-bottom:19px}.drop-zone .button{padding:9px 15px;font-size:11px;gap:15px}.drop-zone .button svg:first-child{display:none}.format-hint{font-size:9px;color:#a7b0a2;margin-top:13px}.drop-mobile{display:none}.upload-tools{display:flex;justify-content:space-between;align-items:center;padding:14px 1px 18px;border-bottom:1px solid var(--line);gap:10px}.upload-tools>span{display:flex;align-items:center;gap:5px;font-size:9px;color:#a3aca0}.upload-tools>span svg{width:12px;height:12px}.wechat-button{font-size:10px;color:#619568;display:flex;gap:5px;align-items:center;border:0;background:transparent;padding:3px 0;white-space:nowrap}.wechat-button svg{width:16px;height:16px}.file-section{padding:19px 0 20px}.file-section-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px}.file-section-heading h3{font-size:11px;font-weight:600;display:flex;gap:7px;align-items:center}.file-section-heading h3 span{font-size:9px;color:#8c9b8e;padding:1px 5px;background:#f0f4ed;border-radius:4px;min-width:17px;text-align:center}.empty-files{display:flex;gap:8px;align-items:center;justify-content:center;min-height:86px;color:#aeb8ab;font-size:10px}.empty-files svg{width:17px;height:17px}.file-list{display:flex;flex-direction:column;gap:8px;max-height:360px;overflow:auto}.file-row{display:flex;align-items:center;padding:11px 10px;border:1px solid #edf0e9;background:#fff;border-radius:9px;gap:10px}.file-type-icon{display:grid;place-items:center;border-radius:7px;width:34px;height:39px;background:#f9ece7;color:#bc7c65;flex-shrink:0;font-size:8px;font-weight:650;position:relative;overflow:hidden}.file-type-icon:after{content:"";position:absolute;right:0;top:0;width:9px;height:9px;background:#fff9;clip-path:polygon(0 0,100% 100%,0 100%)}.file-type-icon.image{color:#729267;background:#edf3e6}.file-type-icon.office{color:#6e94bd;background:#eaf0f8}.file-text{flex:1;min-width:0}.file-name{font-size:11px;font-weight:550;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.file-meta{font-size:9px;color:#a1ac9c;margin-top:3px}.file-actions{display:flex;gap:3px;align-items:center}.file-actions .icon-button{width:25px;height:28px}.file-actions .preview-button{color:#73927a;font-size:9px;padding:3px;background:none;border:0}.settings-card{padding:23px 21px 19px}.settings-card .card-heading{margin-bottom:24px}.heading-icon{width:17px;height:17px;color:#aab4a6}.form-field{display:block;margin-bottom:17px}.form-field>label,.form-field>span:first-child{display:block}.form-field label,.form-field{font-size:11px;color:#6a776c}.form-field label{margin-bottom:7px;display:flex;align-items:center;justify-content:space-between}.form-field label span,.form-field>span{font-size:9px;color:#a9b2a5;font-weight:400;margin-left:auto}.form-field select,.form-field input{font-size:11px;padding:10px 11px}.form-field small{display:block;font-size:9px;color:#acb4a8;margin-top:6px;line-height:1.6}.form-field>input{margin-top:7px}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.number-stepper{display:flex;width:100%;height:37px;align-items:center;border:1px solid #e0e7dc;border-radius:8px;overflow:hidden}.number-stepper button{background:#f9fbf7;border:0;width:39px;height:100%;color:#6b8068;font-size:17px;flex-shrink:0}.number-stepper input{border:0;border-radius:0;text-align:center;padding:0;font-size:12px;min-width:0;height:100%;appearance:textfield;-moz-appearance:textfield}.number-stepper input::-webkit-outer-spin-button,.number-stepper input::-webkit-inner-spin-button{appearance:none;margin:0}.number-stepper input:focus{box-shadow:inset 0 0 0 1px #699779}.print-summary{border-top:1px solid var(--line);padding-top:16px;margin-top:4px;display:flex;flex-direction:column;gap:7px;font-size:10px;color:#9ba596}.print-summary>div{display:flex;align-items:center;justify-content:space-between}.print-summary strong{color:#67775f;font-size:10px;font-weight:550}.settings-note{font-size:9px;color:#9ca897;line-height:1.7;padding:10px 0 12px}.print-button{width:100%;justify-content:flex-start;font-size:12px;gap:9px;padding:12px 14px;border-radius:9px}.print-button svg:last-child{margin-left:auto;width:15px}.print-button:disabled{opacity:1;background:#bdcbc1;color:#f8fbf8}.submit-note{font-size:9px;text-align:center;color:#acb7a7;margin-top:10px}.inline-error{color:var(--red);font-size:11px;padding:9px 0 0;line-height:1.7;white-space:pre-line;overflow-wrap:anywhere}.queue-card{margin-top:24px;padding:22px 24px 0;scroll-margin-top:22px}.queue-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.queue-heading>.button{margin-top:2px}.queue-heading .card-heading{justify-content:flex-start;gap:16px}.queue-heading p{font-size:9px;margin-top:8px;color:#a0aa9a}.live-label{display:flex;align-items:center;gap:5px;font-size:9px;color:#97aa93}.live-label .status-dot{width:4px;height:4px}.queue-tabs{display:flex;gap:26px;border-bottom:1px solid var(--line);margin-top:20px}.queue-tab{border:0;background:none;position:relative;padding:0 0 12px;color:#9ca696;font-size:10px;display:flex;align-items:center;gap:6px}.queue-tab.active{color:var(--primary);font-weight:600}.queue-tab.active:after{content:"";height:2px;width:100%;position:absolute;bottom:-1px;left:0;background:var(--primary);border-radius:2px}.queue-tab span{font-size:8px;min-width:16px;text-align:center;background:#f0f4ed;padding:0 4px;border-radius:4px}.queue-empty{min-height:141px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;color:#9dab97;font-size:10px}.queue-empty svg{width:25px;height:25px;opacity:.5}.queue-empty strong{font-weight:500;color:#8e9c87}.queue-empty p{color:#abb6a4;font-size:9px}.queue-table{width:100%;border-collapse:collapse;table-layout:fixed}.queue-table th{text-align:left;color:#a0ab99;font-size:9px;font-weight:400;padding:13px 5px;border-bottom:1px solid #f0f3ed}.queue-table td{padding:15px 5px;border-bottom:1px solid #f0f3ed;font-size:10px;vertical-align:middle}.queue-table tr:last-child td{border-bottom:0}.queue-table th:first-child{width:42%}.queue-table th:nth-child(2){width:17%}.queue-table th:nth-child(3){width:20%}.queue-table th:last-child{width:21%;text-align:right}.job-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#62745e;font-weight:500}.job-subtitle{font-size:8px;color:#a7b2a0;margin-top:3px;overflow-wrap:anywhere;max-width:90%}.job-date{font-size:9px;color:#9aa794}.job-status{font-size:9px;padding:3px 6px;border-radius:4px;background:#f1f3ef;display:inline-block;white-space:nowrap}.job-status.success{background:#edf5e9}.job-status.warning{background:#fbf3e2}.job-status.danger{background:#faedeb}.queue-table td:last-child{text-align:right}.cancel-job{background:none;border:0;color:#a19080;font-size:9px;padding:5px}.queue-footnote{border-top:1px solid var(--line);padding:13px 0;display:flex;align-items:flex-start;gap:6px;color:#a9b3a2;font-size:9px;margin-top:2px}.queue-footnote svg{width:12px;height:12px;flex-shrink:0;margin-top:1px}.page-footer{display:flex;align-items:center;justify-content:space-between;color:#b0baaa;font-size:9px;padding:23px 0 25px;gap:20px}.page-footer>span:last-child{display:flex;gap:5px;align-items:center}.page-footer svg{width:12px;height:12px}dialog{border:1px solid #e3e9df;background:#fff;border-radius:20px;width:480px;max-width:calc(100% - 32px);padding:29px;color:var(--ink);box-shadow:0 30px 120px #16342625;max-height:90vh;overflow:auto}dialog::backdrop{background:#18322355;backdrop-filter:blur(3px)}.dialog-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;margin-bottom:14px}.dialog-heading h2{font-size:21px;font-weight:650;letter-spacing:-.4px}.dialog-heading>div{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.config-dialog .dialog-heading>div{display:block}.config-dialog .eyebrow{margin-bottom:6px}.dialog-description{font-size:12px;color:#8b9888;line-height:1.9;margin-bottom:21px}.dialog-icon{display:grid;place-items:center;color:#5d8870;background:#eff5ea;border-radius:10px;width:35px;height:35px}.dialog-icon svg{width:20px;height:20px}.wechat-color{color:#5a9962}.instruction-list{padding:0;list-style:none;margin:23px 0;display:flex;flex-direction:column;gap:19px}.instruction-list li{display:flex;gap:12px}.instruction-list li>span{width:24px;height:24px;border-radius:50%;display:grid;place-items:center;background:#eff4eb;color:#719365;font-size:10px;flex-shrink:0}.instruction-list strong{font-size:12px;font-weight:550}.instruction-list p{font-size:11px;color:#9aa592;line-height:1.8;margin-top:4px}.dialog-footnote{font-size:10px;color:#a7b19f;line-height:1.8;margin-top:18px}.config-dialog .form-field{font-size:12px;margin-bottom:18px}.config-dialog .form-field>input{margin-top:6px;font-size:12px}.config-actions{display:flex;justify-content:space-between;gap:13px;margin-top:22px}.dialog-tip{border-top:1px solid var(--line);margin-top:25px;padding-top:16px;display:flex;gap:8px;color:#a6b09f;font-size:10px;line-height:1.8}.dialog-tip svg{width:14px;height:14px;flex-shrink:0;margin-top:2px}.discovery-results{margin-top:20px;display:flex;flex-direction:column;gap:8px}.discovered-device{border:1px solid #e4ecde;padding:12px;border-radius:9px;background:#f8fbf5;text-align:left;display:flex;align-items:center;gap:10px;width:100%}.discovered-device>svg{color:#6b8a5d;width:23px;height:23px}.discovered-device>div{min-width:0;flex:1}.discovered-device strong{font-size:11px;font-weight:550;display:block;overflow-wrap:anywhere}.discovered-device small{font-size:9px;color:#99a48e;overflow-wrap:anywhere}.discovered-device span{font-size:9px;color:var(--primary);white-space:nowrap}.phone-qr{text-align:center;margin:15px auto 20px;min-height:180px;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#fbfdf8;width:208px;border-radius:14px;border:1px solid var(--line);padding:12px}.phone-qr img{max-width:100%;height:auto}.address-box{display:flex;align-items:center;gap:8px;padding:10px 9px 10px 14px;border:1px solid #e1e9db;border-radius:10px;background:#fafcf7}.address-box code{font-size:12px;flex:1;overflow-wrap:anywhere;color:#6b8461}.toast-region{position:fixed;bottom:26px;left:calc(50% + 109px);transform:translateX(-50%);z-index:100;pointer-events:none;display:flex;flex-direction:column;gap:8px;max-width:calc(100vw - 35px)}.toast{padding:12px 19px;border-radius:11px;background:#264e40;color:#fff;font-size:12px;box-shadow:0 5px 30px #19342524;animation:toast-in .2s ease-out;display:flex;gap:9px;align-items:center}.toast svg{width:17px;height:17px}.toast.error{background:#925a4d}.spinning{animation:spin 1s linear infinite}.pending-file{opacity:.65}.pending-file .file-type-icon{background:#f0f2eb;color:#8b9e7f}.format-error{color:#ac6f5e!important}@keyframes spin{to{transform:rotate(360deg)}}@keyframes toast-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:1500px){main{padding-top:43px}.page-heading{margin-bottom:31px}.workspace-grid{grid-template-columns:minmax(0,1fr) 350px}.drop-zone{min-height:320px}.upload-card{padding:26px 27px 0}.settings-card{padding:26px}.file-section{padding-bottom:25px}.file-list{min-height:119px}.empty-files{min-height:115px}.form-field{margin-bottom:18px}.queue-card{margin-top:28px}}
@media(max-width:1150px){.sidebar{width:185px;padding-left:14px;padding-right:14px}.brand{padding-left:8px;font-size:23px}.app-shell{margin-left:185px}.topbar{padding:0 28px}main{padding:28px 28px 0}.workspace-grid{grid-template-columns:minmax(0,1fr) 285px;gap:17px}.settings-card{padding:22px 18px}.upload-card{padding:22px 19px 0}.upload-tools>span{font-size:8px}.printer-strip{gap:15px}.toast-region{left:calc(50% + 92px)}}
@media(max-width:960px){.sidebar{width:78px;padding:30px 12px 20px}.brand{padding:0 5px 40px}.brand>span:last-child,.sidebar-caption,.nav-item:not(.active) .nav-count,.nav-indicator,.sidebar-bottom p,.sidebar-version{display:none}.brand-mark{width:43px;height:43px}.nav-item{width:51px;height:45px;padding:14px 16px;font-size:0;gap:0}.nav-item svg{width:19px;height:19px}.nav-count{position:absolute;margin-left:16px;margin-top:-23px;font-size:8px;min-width:14px;line-height:14px}.sidebar-bottom{padding:20px 7px 0}.network-label{font-size:0;justify-content:center}.network-label .status-dot{width:7px;height:7px}.subtle-button{font-size:0;gap:0;justify-content:center;width:100%;margin-top:22px}.subtle-button svg{width:18px;height:18px}.app-shell{margin-left:78px}.toast-region{left:calc(50% + 39px)}.workspace-grid{grid-template-columns:minmax(0,1fr) 275px}.drop-zone{min-height:285px}.drop-zone h3{font-size:14px}.drop-zone p{font-size:10px}.upload-tools{align-items:flex-start}.upload-tools>span{max-width:132px;line-height:1.8}.upload-tools>span svg{margin-top:1px}.printer-model{font-size:9px}}
@media(max-width:780px){.topbar{padding:0 22px;height:67px}main{padding:25px 22px 0}.workspace-grid{grid-template-columns:1fr}.settings-card{padding:22px}.settings-card .card-heading{margin-bottom:20px}#settings-fieldset{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}.form-row{gap:10px}.form-field{margin-bottom:16px}.print-summary{flex-direction:row;justify-content:space-between;padding-top:16px;gap:25px}.print-summary>div{gap:16px;flex:1}.settings-note{padding:12px 0}.drop-zone{min-height:270px}.upload-tools>span{max-width:none}.file-list{max-height:260px}.printer-strip{padding:15px}.printer-state{min-width:105px}.strip-divider{display:none}.printer-name{font-size:12px}.queue-card{padding:21px 20px 0}.toast-region{bottom:24px}.network-chip{display:none}.page-heading .text-button{font-size:10px}.page-heading{margin-bottom:22px}.page-heading p{font-size:10px}}
@media(max-width:560px){body{background:#f6f7f3}.sidebar{display:none}.app-shell{margin:0}.topbar{height:63px;padding:0 21px;background:#fcfdf9}.breadcrumb{display:none}.mobile-brand{display:flex;align-items:center;gap:8px;font-size:20px;font-weight:700;letter-spacing:1px}.mobile-brand>svg{width:23px;height:23px;color:var(--primary)}.topbar-actions{gap:0}.topbar-actions .button{border:0;background:transparent;padding:7px 0;color:#6d876b;font-size:10px}.topbar-actions .button svg{width:15px;height:15px}main{padding:25px 17px 79px}.page-heading{margin-bottom:23px;align-items:center}.eyebrow{font-size:8px;letter-spacing:1.6px;margin-bottom:7px}h1{font-size:25px;letter-spacing:-.8px}.page-heading p{font-size:10px;margin-top:6px}.page-heading>.text-button{font-size:0;gap:0;border:1px solid #e4eadd;border-radius:9px;width:34px;height:34px;display:grid;place-items:center;background:#fcfef9;margin:0;align-self:center}.page-heading>.text-button svg{width:16px;height:16px}.printer-strip{border-radius:12px;padding:15px 13px;gap:7px;margin-bottom:18px}.printer-identity{gap:10px}.printer-icon{width:36px;height:38px;border-radius:9px}.printer-icon svg{width:21px;height:21px}.printer-name{font-size:11px;max-width:175px}.printer-model{font-size:8px;max-width:175px}.printer-state{min-width:0;text-align:right}.status-pill{font-size:9px;padding:3px 7px;white-space:nowrap}.check-time{font-size:7px}.printer-strip>.icon-button{display:none}.alert{padding:11px;gap:9px;margin:-5px 0 17px}.alert>svg{width:17px;height:17px}.alert strong{font-size:11px}.alert p{font-size:9px}.alert>.text-button{display:none}.workspace-grid{gap:18px}.card{border-radius:15px}.upload-card{padding:20px 17px 0}.upload-card>.card-heading{margin-bottom:19px}.card h2{font-size:13px}.step-label{font-size:8px;width:22px;height:21px}.card-heading>div{gap:8px}.card-heading>.small{font-size:9px}.drop-zone{min-height:266px;border-radius:11px;background:#f9fcf7}.upload-art{width:57px;height:57px;margin-bottom:17px}.upload-art>svg{width:25px;height:25px}.drop-zone h3{font-size:16px}.drop-zone h3:after{content:""}.drop-desktop{display:none}.drop-mobile{display:block}.drop-zone p{font-size:10px;margin-bottom:18px}.drop-zone .button{padding:10px 20px;font-size:11px;gap:16px}.format-hint{font-size:8px;margin-top:13px}.upload-tools{padding:13px 0 16px;align-items:center}.upload-tools>span{font-size:8px;gap:4px}.upload-tools>span svg{width:10px;height:10px}.wechat-button{font-size:9px;gap:4px}.wechat-button svg{width:15px;height:15px}.file-section{padding:17px 0}.file-section-heading h3{font-size:10px}.file-section-heading{margin-bottom:12px}.file-row{padding:10px 9px;gap:9px}.file-name{font-size:10px}.file-meta{font-size:8px}.file-type-icon{width:30px;height:35px;font-size:7px}.file-actions .preview-button{font-size:8px}.file-actions .icon-button{width:23px}.empty-files{min-height:69px;font-size:9px}.settings-card{padding:20px 18px}.settings-card .card-heading{margin-bottom:21px}#settings-fieldset{gap:0 14px}.form-field{margin-bottom:17px}.form-field label{font-size:10px;margin-bottom:7px}.form-field label span{font-size:8px}.form-field select,.form-field input{font-size:10px;padding:10px 8px}.form-field small{font-size:8px}.number-stepper{height:36px}.number-stepper input{font-size:11px}.number-stepper button{width:32px;font-size:16px}.form-row{gap:8px}.form-row .form-field label{white-space:nowrap}.form-row .form-field{min-width:0}.form-row select{font-size:9px;padding:10px 4px}.print-summary{flex-direction:column;gap:7px;padding-top:16px}.print-summary>div{font-size:10px;gap:10px}.print-summary strong{font-size:10px}.settings-note{font-size:9px;padding:12px 0}.print-button{padding:13px 15px;font-size:12px}.submit-note{font-size:8px}.queue-card{padding:20px 17px 0;margin-top:18px;scroll-margin-top:15px}.queue-heading{gap:12px}.queue-heading .card-heading{gap:10px}.queue-heading .card-heading>div{gap:7px}.live-label{font-size:8px;gap:4px}.queue-heading>.button{padding:6px 8px;font-size:8px}.queue-heading>.button svg{width:11px;height:11px}.queue-heading p{font-size:8px;line-height:1.8;margin-top:9px;max-width:235px}.queue-tabs{gap:23px;margin-top:18px}.queue-tab{font-size:9px;padding-bottom:11px}.queue-empty{min-height:128px}.queue-empty strong{font-size:10px}.queue-empty p{font-size:8px}.queue-table th:nth-child(2){display:none}.queue-table td:nth-child(2){display:none}.queue-table th:first-child{width:50%}.queue-table th:nth-child(3){width:25%}.queue-table th:last-child{width:25%}.queue-table th{font-size:8px;padding:12px 2px}.queue-table td{padding:13px 2px}.job-name{font-size:9px}.job-subtitle{font-size:7px}.job-status{font-size:8px;padding:3px 4px}.cancel-job{font-size:8px;padding:3px 0}.queue-footnote{font-size:8px;padding:12px 0;line-height:1.8;gap:5px}.queue-footnote svg{width:11px;height:11px;margin-top:2px}.page-footer{font-size:8px;padding:20px 0 5px;gap:12px}.page-footer>span:last-child{font-size:7px}.page-footer svg{width:10px;height:10px}.mobile-nav{position:fixed;display:grid;grid-template-columns:repeat(3,1fr);bottom:0;left:0;right:0;z-index:20;background:#fcfdfaf5;backdrop-filter:blur(14px);border-top:1px solid #e5eadd;padding:9px 10px calc(8px + env(safe-area-inset-bottom));height:calc(61px + env(safe-area-inset-bottom));box-shadow:0 -3px 20px #253d1803}.mobile-nav a,.mobile-nav button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;font-size:9px;line-height:1.3;color:#9aa790;border:0;background:none;padding:0}.mobile-nav svg{width:18px;height:18px;stroke-width:1.6}.mobile-nav .active{color:var(--primary);font-weight:600}.toast-region{bottom:calc(77px + env(safe-area-inset-bottom));left:50%;width:max-content;max-width:calc(100vw - 35px)}.toast{font-size:11px;padding:11px 14px;max-width:100%}.toast svg{width:16px;height:16px}dialog{padding:24px 20px;border-radius:17px;max-width:calc(100% - 28px);max-height:calc(100dvh - 40px)}.dialog-heading h2{font-size:19px}.dialog-description{font-size:11px;margin-bottom:20px}.dialog-icon{width:31px;height:31px}.dialog-icon svg{width:18px;height:18px}.instruction-list{gap:18px;margin:21px 0}.instruction-list strong{font-size:11px}.instruction-list p{font-size:10px}.config-dialog .form-field{font-size:11px}.config-dialog .form-field>input{font-size:11px;padding:11px}.config-actions .button{padding:10px 12px;font-size:11px}.dialog-footnote{font-size:9px}.address-box code{font-size:11px}.phone-qr{width:190px;min-height:176px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition:none!important}}
/* Phone forms keep 16px inputs to avoid iOS focus zoom and give each control
   a useful touch target. Paper size and direction occupy their own row. */
@media(max-width:560px){
  .card h2{font-size:15px}.page-heading p{font-size:11px}
  .drop-zone p{font-size:11px}.format-hint{font-size:10px}
  .drop-zone .button{font-size:12px;min-height:42px}.upload-tools>span{font-size:9px}
  .wechat-button{font-size:11px;min-height:34px}.file-section-heading h3{font-size:12px}
  .file-name{font-size:12px}.file-meta{font-size:10px}.file-actions .preview-button{font-size:10px;min-height:34px}
  .file-actions .icon-button{width:33px;height:34px}.empty-files{font-size:11px}
  .settings-card .form-row{grid-column:1/-1;grid-template-columns:1fr 1fr;gap:14px}
  #settings-fieldset>.form-field:has(#page-ranges){grid-column:1/-1}
  .form-field label{font-size:12px}.form-field label span{font-size:10px}
  .form-field select,.form-field input,.form-row select{font-size:16px;min-height:43px;padding:10px 8px}
  .number-stepper{height:44px}.number-stepper input{font-size:16px;min-height:0;padding:0}
  .number-stepper button{width:40px;font-size:20px}.form-field small{font-size:10px}
  .print-summary>div,.print-summary strong{font-size:12px}.settings-note{font-size:10px}
  .print-button{font-size:14px;min-height:46px}.submit-note{font-size:10px}
  .queue-heading p{font-size:10px}.queue-tab{font-size:11px}.queue-table th{font-size:10px}
  .job-name{font-size:11px}.job-subtitle{font-size:9px}.job-status{font-size:10px}
  .cancel-job{font-size:10px;min-height:34px}.queue-empty strong{font-size:12px}.queue-empty p{font-size:10px}
  .queue-footnote{font-size:10px}.mobile-nav a,.mobile-nav button{font-size:10px}
  .config-dialog .form-field>input,
}
.drop-zone{cursor:default}
.upload-actions{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap}
.wechat-upload-notice{border:1px solid #dce8d9;background:#f4f8ef;border-radius:10px;padding:14px;margin:0 0 16px;font-size:12px;line-height:1.8}
.wechat-upload-notice strong{color:var(--primary);font-weight:600}
.wechat-upload-notice p{margin:5px 0 9px;color:#64735f}
.wechat-upload-notice>div{display:flex;gap:16px;flex-wrap:wrap}
.browser-address-label{display:block;font-size:12px;color:#64735f;margin-bottom:7px}
#browser-address{font-size:16px;color:var(--primary)}
.wechat-dialog-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}
.wechat-dialog-actions .button{flex:1;white-space:nowrap}
.job-actions{display:flex;justify-content:flex-end;align-items:center;gap:7px;flex-wrap:wrap}
.queue-preview{border:0;background:none;color:var(--primary);font-size:10px;padding:5px;min-height:34px}
.preview-dialog{width:900px;padding:22px;overflow:hidden;max-height:calc(100dvh - 32px)}
.preview-dialog[open]{display:flex;flex-direction:column;gap:14px}
.preview-dialog .dialog-heading{flex-shrink:0;margin:0;align-items:flex-start}
.preview-dialog .dialog-heading>div{display:block;min-width:0}
.preview-dialog .dialog-heading>.icon-button{flex-shrink:0;width:40px;height:40px}
.preview-name{font-size:13px;line-height:1.6;color:#71806d;margin-top:4px;overflow-wrap:anywhere}
.preview-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-shrink:0}
.preview-toolbar .button{min-height:42px;font-size:13px;padding:9px 17px}
.preview-toolbar p{font-size:13px;color:#65795e;text-align:center}
.preview-stage{position:relative;min-height:230px;max-height:65dvh;overflow:auto;overscroll-behavior:contain;background:#edf1e8;border:1px solid #dfe6da;border-radius:10px;padding:16px;text-align:center;flex:1}
.preview-image{display:block;width:100%;height:auto;margin:0 auto;box-shadow:0 2px 10px #20341416;background:white}
.preview-loading{display:flex;justify-content:center;align-items:center;gap:9px;min-height:200px;color:#62775c;font-size:14px}
.preview-loading svg{width:19px;height:19px}
.preview-error-box:has(.preview-error:not(.hidden)){min-height:200px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:14px}
.preview-error{font-size:14px;color:var(--red);line-height:1.8;overflow-wrap:anywhere}
.preview-error-box .button{min-height:42px;font-size:13px}
.preview-hint{font-size:11px;color:#7b8976;line-height:1.7;flex-shrink:0}
.preview-dialog :focus-visible{outline:2px solid var(--primary);outline-offset:3px}
@media(max-width:560px){.job-actions{gap:2px}.queue-preview{font-size:11px;min-height:36px}.preview-dialog{width:100%;max-width:calc(100% - 16px);max-height:calc(100dvh - 16px);padding:16px 12px;border-radius:14px}.preview-dialog[open]{gap:12px}.preview-dialog .dialog-heading h2{font-size:18px}.preview-name{font-size:12px;max-height:3.2em;overflow:auto}.preview-toolbar{gap:6px}.preview-toolbar .button{min-height:44px;padding:9px 12px;font-size:14px}.preview-toolbar p{font-size:12px}.preview-stage{padding:7px;min-height:220px;max-height:calc(100dvh - 245px);border-radius:7px}.preview-hint{font-size:11px}.preview-loading{font-size:13px}.preview-error{font-size:13px}}
@media(max-width:560px){.upload-actions{gap:8px}.drop-zone .upload-actions .button{font-size:14px;min-height:44px;padding:10px 14px}.wechat-upload-notice{font-size:13px}.wechat-upload-notice .text-button{font-size:12px;min-height:34px}.wechat-dialog-actions .button{font-size:13px;min-height:44px}}
.billing-rule{color:#6a7d6c;background:#f1f6ee;border-radius:9px;padding:11px 12px;font-size:10px;line-height:1.8;margin:0 0 10px}.payment-availability{font-size:10px;color:#92702d;line-height:1.8;margin:0 0 12px}.payment-availability.ready{color:var(--primary)}.payment-orders-card{margin-top:24px;padding:22px 24px}.section-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}.section-heading p{margin-top:7px;font-size:11px}.payment-order-list{display:flex;flex-direction:column;margin-top:12px}.payment-order-row{display:flex;align-items:center;gap:16px;border-top:1px solid var(--line);padding:15px 0}.payment-order-info{flex:1;min-width:0}.payment-order-info strong{display:block;font-size:12px;overflow-wrap:anywhere;font-weight:600}.payment-order-info small{display:block;color:#899886;font-size:10px;margin-top:3px;overflow-wrap:anywhere}.payment-order-state{font-size:11px;color:#906b2d;white-space:nowrap}.payment-order-state.paid,.payment-order-state.queued{color:var(--primary)}.payment-order-state.payment_error{color:var(--red)}.payment-order-row .button{font-size:10px;flex-shrink:0}.empty-orders{font-size:12px;color:#8f9b89;padding:20px 0 3px}.payment-dialog{width:430px;max-width:calc(100% - 24px);text-align:center}.payment-dialog .dialog-heading{text-align:left}.payment-dialog .dialog-heading h2{font-size:22px}.payment-amount{font-size:43px;line-height:1.3;font-weight:700;color:#275e4d;margin:20px 0 8px;letter-spacing:-1px}.payment-page-count{font-size:14px;color:#516e5b;margin:0 0 8px}.payment-state{font-size:13px;line-height:1.8;color:#587363;margin:17px 0 0}.payment-countdown{font-size:16px;font-variant-numeric:tabular-nums;color:#9c7226;margin:8px 0 0}.cashier-qr{width:246px;max-width:100%;margin:14px auto;background:#fff;border:1px solid var(--line);border-radius:14px;padding:12px}.cashier-qr img{display:block;width:220px;max-width:100%;height:auto;margin:0 auto}.cashier-qr p{margin-top:6px}.cashier-device-hint{font-size:11px;line-height:1.8;color:#8d9985;background:#f7f9f3;border-radius:9px;padding:9px 12px;margin:12px 0}.payment-dialog .full-width{margin-top:16px;min-height:44px}.payment-dialog .payment-check{margin-top:10px}.payment-dialog .inline-error{text-align:left}.payment-dialog .dialog-footnote{font-size:10px}.payment-error-note{font-size:11px;color:var(--red);margin-top:5px;overflow-wrap:anywhere}
@media(max-width:560px){.billing-rule,.payment-availability{font-size:12px}.payment-orders-card{padding:18px 16px}.section-heading p{font-size:11px}.payment-order-row{gap:9px;flex-wrap:wrap}.payment-order-info{flex-basis:calc(100% - 85px)}.payment-order-info strong{font-size:13px}.payment-order-info small{font-size:11px}.payment-order-row .button{min-height:40px;font-size:12px}.payment-order-state{font-size:12px}.payment-dialog{padding:22px 18px}.payment-dialog .dialog-heading h2{font-size:21px}.payment-dialog .dialog-footnote,.cashier-device-hint{font-size:12px}.payment-dialog .small{font-size:12px}.payment-dialog .full-width{font-size:14px}.section-heading .button{min-height:40px}}

@media(max-width:560px){.mobile-nav.public-access{grid-template-columns:repeat(2,1fr)}}
