.field-conflict{display:grid;gap:6px;margin:8px 0;padding:12px;border:1px solid #d7c399;border-radius:6px;background:#fcf7eb;color:#594728;font-size:13px}.field-conflict>span{font-size:12px}.field-conflict p{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;max-height:10rem;overflow:auto}.field-conflict>div{display:flex;flex-wrap:wrap;gap:6px}.modal-form-fields{border:0;padding:0;margin:0;min-width:0}.drawing-upload-modal .modal{width:min(520px,100%)}.drawing-upload-modal .modal-top>div{display:flex;align-items:baseline;gap:14px;flex-wrap:wrap;min-width:0}.drawing-upload-modal .modal-top p{margin:0;overflow-wrap:anywhere;color:#5b6a61}.drawing-upload-zone{min-height:195px;padding:26px 14px;display:flex;flex-direction:column;gap:7px;align-items:center;justify-content:center;text-align:center;border:1.5px dashed #a3b5a6;border-radius:10px;background:#f5f7f1;color:#426453;transition:background .15s,border-color .15s}.drawing-upload-zone.is-over{background:#e6eee4;border-color:#296946}.drawing-upload-zone>svg{margin-bottom:6px;stroke-width:1.5}.drawing-upload-zone strong{font-size:18px;font-weight:600;color:#214c3c}.drawing-upload-zone span,.drawing-upload-footer small{font-size:12px;line-height:1.6;color:#617266}.drawing-upload-zone progress{max-width:100%;width:190px;height:6px;margin-top:6px;accent-color:var(--green)}.drawing-upload-footer{margin-top:18px;display:flex;justify-content:space-between;gap:12px;align-items:center;flex-wrap:wrap}.drawing-upload-footer>div,.drawing-rename-actions{display:flex;gap:8px;align-items:center}.drawing-title-row .drawing-filename-heading{flex:1;min-width:0}.drawing-rename-trigger{display:flex;align-items:center;gap:8px;max-width:100%;min-height:32px;padding:0;border:none;background:transparent;color:inherit;text-align:left;font:inherit}.drawing-rename-trigger span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.drawing-rename-trigger svg{flex:none;color:#637b6b}.drawing-rename-trigger:hover{color:var(--green);text-decoration:underline}.drawing-rename-form{flex:1;min-width:0}.drawing-rename-form+.quiet-delete{display:none}.drawing-rename-input{display:flex;align-items:stretch;border:1px solid #789b84;border-radius:6px;overflow:hidden;background:#fff}.drawing-rename-input:focus-within{outline:2px solid #b8d2bc;outline-offset:1px}.drawing-rename-input input{min-width:0;width:100%;min-height:36px;padding:5px 9px;border:0;background:transparent;font:inherit;color:inherit}.drawing-rename-input input:focus{outline:none}.drawing-rename-input>span{padding:5px 9px;display:grid;place-items:center;background:#f2f4ef;color:#637164;border-left:1px solid #d5ded3;font-size:13px}.drawing-rename-actions{margin-top:8px;margin-bottom:4px}@media(max-width:640px){.drawing-rename-trigger,.drawing-rename-actions .button,.drawing-upload-footer .button{min-height:42px}.drawing-upload-zone{min-height:160px}}@media(prefers-reduced-motion:reduce){.drawing-upload-zone{transition:none}}@font-face{font-family:PDF Annotation;src:url(/fonts/NotoSansSC-Regular.ttf) format("truetype");font-weight:100 900;font-display:swap}.pdf-conflicts{padding:9px 16px;background:#fcf7eb;color:#594728;border-bottom:1px solid #d7c399;font-size:13px;max-height:25dvh;overflow:auto;flex-shrink:0}.pdf-conflicts>div{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin-top:6px}.drawing-preview .pdf-thumbnail{position:relative;width:100%;height:100%;display:flex;align-items:center;justify-content:center;overflow:hidden;background:#fcfcf9;border-radius:7px}.pdf-thumbnail img{width:100%;height:100%;object-fit:contain}.pdf-thumb-placeholder{position:absolute;inset:0;display:flex;flex-direction:column;gap:10px;align-items:center;justify-content:center;color:#91968c;font-size:12px}.pdf-viewer{position:fixed;inset:0;z-index:500;background:#e7e7e1;color:#232e27;display:flex;flex-direction:column;font-family:inherit;isolation:isolate}.pdf-header{min-height:76px;display:flex;gap:16px;align-items:center;justify-content:space-between;padding:12px 24px;background:#fafaf7;border-bottom:1px solid #dcded6;flex-shrink:0}.pdf-title-group,.pdf-header-actions,.pdf-tool-group,.pdf-zoom-controls,.pdf-pagination,.pdf-mode,.pdf-colors{display:flex;align-items:center;gap:7px}.pdf-title-group{min-width:0;gap:12px}.pdf-title{display:flex;flex-direction:column;gap:5px;min-width:0}.pdf-title strong{font-size:16px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:42vw}.pdf-title>span{font-size:11px;color:#8b9187}.pdf-button,.pdf-icon-button,.pdf-mode button{appearance:none;display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid #d9ddd3;border-radius:7px;background:#fff;color:#324a3c;font:inherit;font-size:13px;cursor:pointer;white-space:nowrap;transition:background .15s,border-color .15s}.pdf-button{padding:9px 13px;min-height:37px}.pdf-icon-button{padding:8px;width:35px;height:35px;border-color:transparent;background:transparent;flex-shrink:0}.pdf-button:hover,.pdf-icon-button:hover{background:#edf1e9;border-color:#c9d3c5}.pdf-button:focus-visible,.pdf-icon-button:focus-visible,.pdf-mode button:focus-visible,.pdf-color:focus-visible{outline:2px solid #174f3f;outline-offset:3px}.pdf-button:disabled,.pdf-icon-button:disabled,.pdf-mode button:disabled{opacity:.38;cursor:default}.pdf-primary{background:#174f3f;border-color:#174f3f;color:#fff}.pdf-primary:hover{background:#103e31;border-color:#103e31}.pdf-save-status{font-size:11px;color:#92988e;margin-right:9px}.pdf-unsaved{color:#a16c26}.pdf-toolbar{display:flex;align-items:center;gap:14px;padding:10px 25px;background:#f6f6f1;min-height:58px;border-bottom:1px solid #d9dcd3;flex-shrink:0;overflow-x:auto;scrollbar-width:thin}.pdf-mode{gap:2px;background:#e8eae2;padding:3px;border-radius:8px}.pdf-mode button{border:none;background:transparent;min-height:32px;padding:5px 13px;font-size:13px}.pdf-mode .pdf-active{background:#fff;box-shadow:0 1px 4px #263d2314;color:#174f3f;font-weight:600}.pdf-tool-group{gap:2px;padding-right:12px;border-right:1px solid #d8ddd1}.pdf-tool-active{background:#e4ede0;border-color:#c0d0b8}.pdf-colors{gap:9px}.pdf-color{width:19px;height:19px;border:3px solid #f6f6f1;border-radius:50%;padding:0;cursor:pointer;flex-shrink:0;outline:1px solid transparent}.pdf-color-active{outline-color:#75866f}.pdf-small-field{display:flex;gap:7px;align-items:center;font-size:11px;color:#747e6c;white-space:nowrap}.pdf-small-field select{font:inherit;font-size:12px;border:1px solid #d6dcd0;border-radius:5px;padding:5px;background:#fff;min-width:47px;color:#35482d}.pdf-zoom-controls{margin-left:auto;gap:1px}.pdf-zoom-controls>span{font-size:11px;font-variant-numeric:tabular-nums;min-width:42px;text-align:center;color:#5d6d53}.pdf-browse-hint{font-size:12px;color:#939a8c;white-space:nowrap}.pdf-scroll{flex:1;overflow:auto;min-height:0;overscroll-behavior:contain;background:linear-gradient(135deg,#e8e8e2,#e0e1d9)}.pdf-page-wrap{display:flex;min-width:100%;min-height:100%;padding:24px 28px;align-items:flex-start;justify-content:center;width:max-content;box-sizing:border-box}.pdf-page{position:relative;flex-shrink:0;background:#fff;box-shadow:0 3px 17px #2633221f;isolation:isolate;line-height:0}.pdf-page>canvas{display:block;width:100%;height:100%}.pdf-annotation-layer{position:absolute;inset:0;width:100%;height:100%;overflow:hidden}.pdf-annotation-edit{touch-action:none}.pdf-cursor-ink,.pdf-cursor-rect,.pdf-cursor-ellipse,.pdf-cursor-arrow{cursor:crosshair}.pdf-cursor-text{cursor:text}.pdf-cursor-select{cursor:default}.pdf-rendering{position:absolute;right:10px;bottom:10px;background:#ffffffe6;border-radius:5px;padding:6px;color:#174f3f;pointer-events:none}.pdf-loading{height:100%;display:flex;flex-direction:column;gap:14px;align-items:center;justify-content:center;color:#7c8473;font-size:13px}.pdf-image-wrap{padding:26px;display:flex;align-items:center;justify-content:center;min-height:100%;box-sizing:border-box}.pdf-image-wrap img{max-width:100%;max-height:calc(100dvh - 180px);object-fit:contain;background:#fff;box-shadow:0 3px 17px #2633221f}.pdf-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#f6f6f0;padding:7px 26px;border-top:1px solid #d9ddd2;min-height:47px;font-size:11px;color:#89917f;flex-shrink:0}.pdf-footer b{font-weight:400;color:#a16c26}.pdf-pagination{gap:7px;color:#596d4c}.pdf-pagination label{display:flex;align-items:center;gap:9px;white-space:nowrap}.pdf-pagination input{appearance:textfield;width:39px;text-align:center;padding:5px;border:1px solid #d6ddce;border-radius:5px;background:#fff;font:inherit;color:#31542a}.pdf-pagination input::-webkit-inner-spin-button{appearance:none}.pdf-error{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:7px 25px;color:#964c3c;background:#f8eee5;border-bottom:1px solid #e8d0c0;font-size:12px;flex-shrink:0}.pdf-error .pdf-icon-button{height:25px;width:25px;color:inherit}.pdf-dialog-scrim{position:absolute;inset:0;z-index:8;background:#202a2452;display:flex;align-items:center;justify-content:center;padding:18px;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.pdf-dialog{width:440px;max-width:100%;background:#fbfbf7;border:1px solid #fff9;border-radius:13px;padding:25px;box-shadow:0 20px 70px #16291c29;box-sizing:border-box;line-height:1.6}.pdf-dialog-title{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:20px}.pdf-dialog h3{font-size:19px;letter-spacing:-.5px;margin:0;font-weight:600}.pdf-dialog textarea{width:100%;box-sizing:border-box;border:1px solid #d0d9c7;background:#fff;padding:13px;border-radius:7px;resize:vertical;min-height:130px;color:#2d3a26;font:inherit;font-size:14px;outline:none}.pdf-dialog textarea:focus{border-color:#54754a;box-shadow:0 0 0 3px #54754a16}.pdf-dialog-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin-top:23px;flex-wrap:wrap}.pdf-dialog-note{font-size:12px;color:#838b78;margin:16px 0 0;line-height:1.9}.pdf-dialog-settings{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:15px}.pdf-export-option{display:flex;align-items:flex-start;gap:12px;padding:14px;border:1px solid #dce1d5;border-radius:8px;margin-bottom:11px;cursor:pointer;background:#fff}.pdf-export-option input{margin-top:5px;accent-color:#174f3f}.pdf-export-option span{display:flex;flex-direction:column;gap:3px}.pdf-export-option strong{font-size:14px;font-weight:500}.pdf-export-option small{font-size:11px;color:#88947b;line-height:1.7}.pdf-option-active{border-color:#89a17d;background:#f1f5ed}.pdf-dialog-error{font-size:12px;color:#a14a3b;margin-top:12px}.pdf-spin{animation:pdf-spin 1s linear infinite}.pdf-compact{padding:5px 9px;min-height:32px;font-size:11px}@keyframes pdf-spin{to{transform:rotate(360deg)}}@media(max-width:850px){.pdf-save-status{display:none}.pdf-toolbar{padding:8px 14px;gap:10px}.pdf-header{padding:11px 13px;min-height:64px;gap:8px}.pdf-title-group{gap:5px}.pdf-title strong{font-size:14px;max-width:40vw}.pdf-header-actions{gap:4px}.pdf-header-actions .pdf-button{padding:8px}.pdf-tool-group{padding-right:8px}.pdf-browse-hint{display:none}.pdf-zoom-controls{margin-left:auto}.pdf-footer{padding:7px 13px}.pdf-footer>span{max-width:55%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pdf-close-desktop{display:none}.pdf-page-wrap{padding:19px 20px}}@media(max-width:520px){.pdf-title strong{max-width:41vw}.pdf-title>span{font-size:10px}.pdf-header-actions .pdf-button>span{display:none}.pdf-header-actions .pdf-button{width:35px;height:35px;padding:8px}.pdf-toolbar{flex-wrap:wrap;gap:8px;max-height:145px;overflow-x:hidden;padding:8px 10px}.pdf-mode{order:0}.pdf-zoom-controls{order:1}.pdf-tool-group{order:2}.pdf-colors{order:3}.pdf-small-field{order:4}.pdf-toolbar .pdf-tool-group:first-of-type{padding-right:7px}.pdf-toolbar .pdf-icon-button{width:32px;height:32px;padding:7px}.pdf-footer{min-height:49px;padding-bottom:max(7px,env(safe-area-inset-bottom))}.pdf-dialog{padding:20px}.pdf-dialog-actions .pdf-button{min-height:41px}}@media(prefers-reduced-motion:reduce){.pdf-spin{animation:none}.pdf-button,.pdf-icon-button{transition:none}}@media(max-width:520px){.pdf-dialog{max-height:calc(100vh - 36px);max-height:calc(100dvh - 36px);overflow:auto}.pdf-dialog textarea,.pdf-small-field select,.pdf-pagination input{font-size:16px}.pdf-header-actions .pdf-button,.pdf-header .pdf-icon-button,.pdf-toolbar .pdf-icon-button,.pdf-footer .pdf-icon-button{width:40px;height:40px;min-height:40px}.pdf-color{width:28px;height:28px}.pdf-toolbar{max-height:185px;overflow-y:auto}.pdf-dialog textarea{scroll-margin:18px}}@media(pointer:coarse){.drag-handle,.pin-button,.quiet-delete{min-width:40px;min-height:40px}.drawing-card-top{min-height:44px}.mobile-order-buttons>button{min-height:42px}.drawing-actions>a,.drawing-actions>button{min-height:44px}}:root{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Microsoft YaHei,PingFang SC,sans-serif;color:#242b27;background:#f3f2ed;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;--green:#174f3f;--green-dark:#103e31;--muted:#818780;--line:#e1e3dc;--surface:#fff;--radius:10px}*{box-sizing:border-box}body{margin:0;min-width:340px}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default;opacity:.42}a{color:inherit;text-decoration:none}button{color:inherit}button:focus-visible,a:focus-visible{outline:3px solid #71a991;outline-offset:3px}input:focus,textarea:focus,select:focus{outline:none;border-color:#608b77;box-shadow:0 0 0 3px #174f3f0b}button{border:0;background:none}input,textarea{color:#27342c}textarea{resize:vertical}::selection{background:#dbe9df}h1,h2,h3,p{margin:0}h1,h2,h3{font-weight:650}svg{flex-shrink:0;stroke-width:1.7}.muted{color:var(--muted)}.danger{color:#a53b31!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}.push-left{margin-right:auto}.spin{animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.workspace{max-width:1512px;margin:0 auto;padding:42px 48px 18px}.page-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:32px}.page-heading h1{font-size:34px;letter-spacing:-1px;font-weight:680;line-height:1.3}.button{display:inline-flex;justify-content:center;align-items:center;gap:8px;min-height:42px;padding:9px 17px;border:1px solid #d4d9d0;background:#fff;border-radius:7px;font-size:14px;font-weight:550;white-space:nowrap;transition:background .15s,border-color .15s,box-shadow .15s}.button:hover:not(:disabled){background:#f7f8f4;border-color:#a5b7a9}.button.primary{background:var(--green);border-color:var(--green);color:#fff;box-shadow:0 2px 3px #153e3020}.button.primary:hover:not(:disabled){background:var(--green-dark);border-color:var(--green-dark);box-shadow:0 4px 10px #153e3025}.button.outline{color:var(--green);border-color:#8ea998;background:transparent}.button.outline:hover:not(:disabled){background:#eef3ed;border-color:var(--green)}.button.compact{min-height:36px;padding:6px 13px;font-size:13px}.button.destructive{background:#a33e33;color:#fff;border-color:#a33e33}.new-order{min-width:150px;min-height:46px;font-size:16px;padding:10px 22px}.text-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;color:var(--green);font-size:13px;line-height:1.6;padding:4px 1px;white-space:nowrap}.text-button:hover:not(:disabled){color:#327359}.icon-button{width:32px;height:32px;border-radius:5px;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;color:#7d867f}.icon-button:hover:not(:disabled){background:#edf1e9;color:var(--green)}.ledger-tools{display:flex;align-items:center;gap:32px;margin-bottom:24px}.search-field{width:35%;max-width:440px;min-width:220px;display:flex;align-items:center;gap:11px;background:#fff;border:1px solid #d6dbd2;border-radius:7px;height:45px;padding:0 13px;color:#778077;transition:border .15s}.search-field:focus-within{border-color:#739581;box-shadow:0 0 0 3px #174f3f08}.search-field input{width:100%;border:0;padding:0;outline:none;box-shadow:none;background:none;font-size:14px;min-width:0}.search-field input::placeholder{color:#90948e}.search-field .icon-button{margin-right:-8px}.status-tabs{display:flex;gap:24px;align-self:stretch;align-items:stretch}.status-tabs button{display:flex;align-items:center;gap:8px;position:relative;padding:0 4px 4px;color:#767c74;font-size:16px;font-weight:500;white-space:nowrap}.status-tabs button.active{color:var(--green);font-weight:650}.status-tabs button.active:after{content:"";position:absolute;bottom:-3px;left:0;right:0;height:3px;background:var(--green);border-radius:3px}.status-tabs button span{background:#e4e6df;color:#697469;border-radius:5px;min-width:27px;padding:1px 6px;font-size:13px;font-weight:500;font-variant-numeric:tabular-nums}.status-tabs button.active span{background:#e0e8de;color:var(--green)}.sort-select{margin-left:auto;border:1px solid #d6dbd2;background:#fff;border-radius:7px;height:45px;display:flex;align-items:center;gap:9px;padding:0 13px;position:relative;min-width:190px}.sort-select>svg:first-child{color:#606e62}.sort-select>svg:last-child{pointer-events:none}.sort-select select{border:0;background:transparent;appearance:none;outline:none;box-shadow:none;font-size:14px;position:absolute;inset:0;width:100%;padding:0 35px 0 38px;cursor:pointer}.sort-select>svg:last-child{margin-left:auto}.ledger-panel{background:#fff;border:1px solid #d9ded4;border-radius:11px;overflow:hidden;box-shadow:0 3px 10px #273c2d02}.orders-table{border-collapse:collapse;width:100%;table-layout:fixed}.orders-table .customer-col{width:27%}.orders-table .products-col{width:16%}.orders-table .delivery-col{width:21%}.orders-table .note-col{width:24%}.orders-table .action-col{width:12%}.orders-table th{height:52px;background:#f0f1ec;font-size:13px;color:#687169;letter-spacing:.4px;font-weight:550;text-align:left;border-bottom:1px solid var(--line);padding:0 26px}.orders-table th:first-child,.orders-table td:first-child{padding-left:30px}.sort-arrow{margin-left:9px;color:#5f6e61;font-size:16px}.orders-table th.action-head{padding-right:30px;text-align:right}.orders-table td{height:89px;border-bottom:1px solid #e9ebe5;padding:15px 26px;vertical-align:middle}.orders-table tbody tr{cursor:pointer;transition:background .15s;position:relative}.orders-table tbody tr:hover{background:#f0f4ed}.orders-table tbody tr:hover td:first-child{box-shadow:inset 3px 0 var(--green)}.orders-table tbody tr:last-child td{border-bottom:0}.customer-name{font-size:18px;line-height:1.5;display:block;font-weight:650;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#27312b}.created-date{font-size:12px;color:#949a91;margin-top:3px;display:block;font-variant-numeric:tabular-nums}.product-count{font-size:17px;font-variant-numeric:tabular-nums}.product-count span{font-size:14px;margin-left:4px}.due-cell{display:flex;flex-direction:column;gap:4px}.delivery-date{font-size:16px;font-weight:550;font-variant-numeric:tabular-nums}.delivery-countdown{font-size:12px;color:#888f85}.delivery-countdown.soon,.detail-countdown.soon{color:#a36a22}.delivery-countdown.late,.detail-countdown.late{color:#b3493a}.order-note{font-size:14px;line-height:1.6;color:#6b746a;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.order-note.muted{color:#b1b6ad}.view-order{display:flex;justify-content:flex-end;align-items:center;gap:10px;width:100%;font-size:14px;color:var(--green);white-space:nowrap;padding:12px 0;font-weight:550}.view-order svg{transition:transform .15s}.view-order:hover svg{transform:translate(3px)}.ledger-bottom{min-height:70px;border-top:1px solid var(--line);padding:15px 28px;display:flex;align-items:center;justify-content:space-between;color:#8b9487;font-size:12px}.ledger-bottom b{font-weight:500;color:#63705f;font-variant-numeric:tabular-nums}.pagination{display:flex;align-items:center;gap:7px}.pagination button{min-width:32px;height:32px;border:1px solid #e2e6dd;border-radius:6px;font-size:13px;color:#5f7365;display:inline-flex;justify-content:center;align-items:center}.pagination button.active{background:var(--green);border-color:var(--green);color:#fff}.pagination button:hover:not(:disabled):not(.active){background:#f2f6ee}.page-part{display:flex;gap:7px;align-items:center}.pagination-ellipsis{padding:0 2px}.workspace-footer{padding:19px 0 0;display:flex;justify-content:space-between;align-items:center;color:#a8ada2;font-size:11px}.settings-button{font-size:11px;color:#949d91;padding:5px}.ledger-empty{min-height:340px;display:flex;justify-content:center;align-items:center;flex-direction:column;text-align:center;padding:48px 24px;color:#91a08e;gap:12px}.ledger-empty h2{font-size:19px;color:#495944;font-weight:550;margin-top:5px}.ledger-empty p{font-size:13px;color:#90988b;line-height:1.8;max-width:320px}.empty-actions{display:flex;align-items:center;gap:18px;margin-top:12px}.back-link{display:inline-flex;align-items:center;gap:8px;padding:0;color:var(--green);font-size:14px;margin-bottom:25px}.back-link:hover{color:#4a7d5b}.detail-header{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;padding-bottom:25px;border-bottom:1px solid #d9ded3;margin-bottom:24px}.customer-title{display:flex;align-items:center;gap:18px}.customer-title h1{font-size:31px;letter-spacing:-.6px;line-height:1.4}.order-status{font-size:14px;font-weight:550;color:var(--green);white-space:nowrap}.order-status.delivered{color:#919b8e}.order-dates{margin-top:13px;display:flex;align-items:center;flex-wrap:wrap;gap:12px 24px;font-size:12px;color:#90978d}.order-dates b{font-weight:400;color:#677363;margin-left:5px;font-variant-numeric:tabular-nums}.detail-countdown{color:#7c8876!important}.detail-countdown.soon{color:#a36a22!important}.detail-countdown.late{color:#b3493a!important}.detail-order-note{margin-top:10px;font-size:13px;line-height:1.6;color:#62705d;white-space:pre-wrap;overflow-wrap:anywhere}.detail-order-note>span{color:#939a8e;margin-right:15px}.detail-header-actions{display:flex;align-items:center;gap:10px;padding-top:4px;flex-shrink:0}.more-wrapper{position:relative}.dropdown-menu{position:absolute;right:0;top:40px;z-index:12;min-width:150px;padding:6px;border:1px solid var(--line);border-radius:8px;background:#fff;box-shadow:0 7px 28px #2439261c}.dropdown-menu button{display:flex;align-items:center;gap:8px;font-size:13px;padding:9px 11px;white-space:nowrap;width:100%;border-radius:4px}.dropdown-menu button:hover{background:#f9f1ee}.menu-dismiss{position:fixed;inset:0;z-index:11;cursor:default}.detail-layout{display:grid;grid-template-columns:238px minmax(0,1fr);gap:22px;align-items:start}.products-panel{border:1px solid #dce0d7;border-radius:10px;background:#ffffffad;overflow:hidden;position:sticky;top:24px}.products-heading{display:flex;align-items:center;gap:11px;padding:21px 20px}.products-heading h2{font-size:15px}.products-heading>span{font-size:12px;color:#929a8d}.products-list{display:flex;flex-direction:column}.product-item{width:100%;display:flex;align-items:center;justify-content:space-between;gap:10px;text-align:left;min-height:64px;padding:13px 20px;border-bottom:1px solid #edf0e8;position:relative}.product-item strong{font-size:16px;font-weight:550;overflow-wrap:anywhere}.product-item>span{white-space:nowrap;font-size:14px;color:#7d8a76;font-variant-numeric:tabular-nums}.product-item small{font-size:12px;margin-left:4px}.product-item:hover{background:#f1f5ed}.product-item.active{background:#e8eee3}.product-item.active:before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:var(--green)}.product-item.active strong,.product-item.active>span{color:var(--green)}.products-add{padding:21px 18px}.products-add .button{width:100%;background:#fff9}.product-content{padding:20px 22px 18px;background:#ffffffa8;border:1px solid #dce0d7;border-radius:10px;min-height:500px}.product-header{display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid #e1e5db;padding-bottom:16px;margin-bottom:17px}.product-title{display:flex;align-items:center;flex-wrap:wrap;gap:12px}.product-title h2{font-size:23px;letter-spacing:-.4px;overflow-wrap:anywhere}.product-title>span{font-size:12px;color:#8d9786;padding-left:14px;border-left:1px solid #dfe4d7}.product-title b{font-size:15px;color:#5d6e54;font-weight:550;margin:0 2px}.drawings-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px}.drawings-heading h2{font-size:15px}.drawings-heading h2 span{font-weight:400;font-size:12px;color:#9aa290;margin-left:7px}.drawings-drop-area{position:relative;min-height:170px}.drawing-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}.drawing-card{background:#fff;border:1px solid #dce2d5;border-radius:9px;overflow:hidden;position:relative;transition:box-shadow .18s,border-color .18s,translate .18s;min-width:0;outline:none}.drawing-card:hover{box-shadow:0 7px 20px #243e2410;translate:0 -2px;border-color:#b7c7b0}.drawing-card.is-selected{border-color:#3c7852;box-shadow:0 0 0 1px #3c7852}.drawing-card.is-dragging{opacity:.6;z-index:5;box-shadow:0 12px 30px #243e2430}.drawing-card-top{height:34px;display:flex;align-items:center;padding:2px 7px;color:#9fa998;position:relative;z-index:1}.drag-handle{height:29px;width:26px;display:flex;align-items:center;justify-content:center;color:#9faa96;cursor:grab;touch-action:none;border-radius:4px}.drag-handle:active{cursor:grabbing}.drag-handle:hover{background:#edf2e7;color:var(--green)}.drag-handle:disabled{cursor:default;color:#c4cbbe;opacity:.6}.pin-caption{margin-left:auto;font-size:10px;color:#8e9e80}.pin-button{height:28px;width:28px;margin-left:3px;color:#a6b19b}.pin-button.active{color:var(--green)}.drawing-preview{height:160px;width:100%;background:#fff;display:flex;align-items:center;justify-content:center;padding:7px 14px 8px;position:relative;overflow:hidden}.drawing-preview canvas,.drawing-preview img{max-width:100%;max-height:100%;object-fit:contain}.preview-open{position:absolute;inset:auto auto 12px;display:flex;align-items:center;gap:7px;padding:7px 13px;background:#ffffffec;border:1px solid #dce3d3;border-radius:20px;color:var(--green);font-size:12px;box-shadow:0 2px 10px #284c2411;opacity:0;translate:0 3px;transition:.16s}.drawing-preview:hover .preview-open,.drawing-preview:focus-visible .preview-open{opacity:1;translate:0}.drawing-info{padding:12px 14px 11px}.drawing-title-row{display:flex;align-items:center;gap:3px}.drawing-title-row h3{font-size:14px;line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:600;color:#37462e;min-width:0}.quiet-delete{width:24px;height:24px;margin-left:auto;opacity:0;color:#aaa}.drawing-card:hover .quiet-delete,.quiet-delete:focus-visible{opacity:1}.quiet-delete:hover{color:#a64e42!important;background:#f9eeea!important}.file-meta{display:flex;align-items:center;gap:6px;color:#a1aa97;font-size:10px;margin-top:3px;font-variant-numeric:tabular-nums}.annotated{color:#638353}.note-caption{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #edf0e8;padding-top:11px;margin-top:12px;font-size:11px;color:#7b8a70}.save-status{display:inline-flex;align-items:center;gap:3px;font-size:10px;color:#92a185}.drawing-note{font-size:12px;width:100%;background:#f8f9f5;border:1px solid #e5e9de;border-radius:5px;min-height:51px;line-height:1.6;padding:7px 9px;margin-top:6px;resize:vertical;display:block;max-height:160px}.drawing-note::placeholder{color:#b4bbab}.note-save-row{display:flex;align-items:center;justify-content:flex-end;gap:8px;min-height:26px}.note-save-row small{font-size:10px;color:#ac735b}.note-save-row .text-button{font-size:11px}.drawing-actions{display:flex;border-top:1px solid #e6ebde;align-items:center;background:#fdfefb}.drawing-actions>a,.drawing-actions>button{flex:1;display:flex;justify-content:center;align-items:center;gap:7px;font-size:12px;color:#4b6d3e;min-height:40px;position:relative}.drawing-actions>a:hover,.drawing-actions>button:hover{background:#f0f5e9}.drawing-actions>*+*:before{content:"";position:absolute;left:0;top:13px;bottom:13px;width:1px;background:#e7edde}.mobile-order-buttons{display:none}.drawing-help{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:5px;font-size:10px;color:#a5af9b;margin-top:18px;line-height:1.7}.drawing-help>span{margin:0 5px}.upload-empty{width:100%;min-height:310px;border:1px dashed #c5d2bb;background:#f6f9f1;border-radius:8px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;color:#849576}.upload-empty:hover{background:#eef4e8;border-color:#819b70}.upload-empty-icon{color:#719463;border:1px solid #d9e4cf;border-radius:12px;padding:14px;display:flex;margin-bottom:4px}.upload-empty strong{font-weight:500;font-size:15px;color:#536f44}.upload-empty>span:not(.upload-empty-icon){font-size:12px}.upload-empty small{font-size:10px;color:#a3af98;margin-top:2px}.drop-overlay{position:absolute;inset:-4px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:14px;background:#f0f6e9ed;color:var(--green);border:2px dashed #759868;border-radius:10px;z-index:6;pointer-events:none}.no-products{min-height:370px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:15px;color:#8c9d7f}.no-products h2{font-size:18px;color:#526a43}.no-products p{font-size:13px;margin-bottom:7px}.modal-scrim{position:fixed;inset:0;background:#27342859;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:100;display:flex;align-items:center;justify-content:center;padding:24px;animation:fade-in .15s ease-out}.modal{width:100%;max-width:460px;max-height:calc(100dvh - 48px);background:#fbfcf8;border:1px solid #f0f3e9;box-shadow:0 25px 80px #16251a2e;border-radius:14px;overflow:auto;outline:0;animation:modal-in .18s ease-out}.modal-wide{max-width:640px}.modal-top{padding:24px 26px 20px;display:flex;align-items:flex-start;justify-content:space-between;gap:16px;border-bottom:1px solid #e6eadf}.modal-top h2{font-size:21px;letter-spacing:-.4px;line-height:1.5}.modal-top p{font-size:12px;color:#91a083;margin-top:5px}.modal-top .icon-button{margin-right:-7px;margin-top:-3px}.modal-body{padding:23px 26px 24px}.field{display:flex;flex-direction:column;gap:8px;margin-bottom:19px}.field>span{font-size:12px;font-weight:500;color:#66775b;display:flex;align-items:center;gap:6px}.field i{color:#b08c62;font-style:normal;font-size:11px}.field small{font-size:10px;font-weight:400;color:#a6b19b}.field input,.field textarea,.field select{width:100%;border:1px solid #d9e1d1;background:#fff;border-radius:6px;padding:10px 12px;min-height:42px;font-size:14px;transition:border .15s,box-shadow .15s;outline:0;min-width:0}.field input::placeholder,.field textarea::placeholder{color:#b0baa5}.field input[type=date]{font-variant-numeric:tabular-nums}.field-row{display:grid;grid-template-columns:1fr 1fr;gap:18px}.form-products{border-top:1px solid #e4eadd;padding-top:20px;margin:1px 0 20px}.section-caption{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:14px}.section-caption h3{font-size:14px;font-weight:600}.section-caption>span{font-size:10px;color:#a6b19a}.product-form-row{display:grid;grid-template-columns:minmax(0,1fr) 80px 60px 22px;gap:9px;align-items:end;margin-bottom:12px}.product-form-row .field{margin-bottom:0}.product-form-row .field>span{font-size:10px}.product-form-row .field input{padding-left:10px;padding-right:8px;font-size:13px}.row-delete{width:24px;height:42px;margin-left:-3px;color:#a9b29e}.single-product{grid-template-columns:minmax(0,1fr) 80px 60px}.modal-footer{padding:17px 26px;border-top:1px solid #e4eadc;background:#f5f8f0;display:flex;align-items:center;justify-content:flex-end;gap:10px}.confirm-copy{font-size:14px;line-height:1.8;color:#7b8971;overflow-wrap:anywhere}.error-text{display:flex;align-items:center;font-size:12px;line-height:1.7;color:#a44433;background:#f9efea;border:1px solid #f1dcd2;border-radius:6px;padding:9px 12px;margin:5px 0 0}.toast{position:fixed;bottom:28px;left:50%;translate:-50% 0;background:#234936;color:#f3f7ef;border:1px solid #ffffff30;border-radius:9px;box-shadow:0 10px 35px #253e2430;z-index:300;display:flex;align-items:center;gap:11px;padding:13px 16px;max-width:min(90vw,620px);font-size:13px;line-height:1.6;animation:modal-in .2s ease-out}.toast>span{min-width:0}.toast>button{display:flex;color:#a2b49b;margin-left:10px}.toast-error{background:#704332}.settings-content{display:flex;flex-direction:column;gap:17px}.settings-content>div{display:flex;justify-content:space-between;align-items:center;font-size:12px;padding-bottom:10px;color:#8c9a81}.settings-content strong{font-weight:500;font-size:14px;color:#415c33}.settings-content>p{font-size:12px;color:#98a48d;line-height:1.8;margin-top:-6px}.network-banner,.load-error{display:flex;align-items:center;gap:9px;justify-content:center;padding:10px 15px;border:1px solid #e5dac4;border-radius:6px;margin-bottom:18px;background:#f5f0e3;color:#9a7b43;font-size:12px}.load-error{justify-content:space-between;color:#a35c44;background:#fbf0ea;border-color:#ead5c6}.app-loading,.viewer-loading,.not-found{min-height:100dvh;display:flex;justify-content:center;align-items:center;flex-direction:column;gap:15px;color:#8b9d7e;font-size:13px}.not-found{min-height:65vh}.not-found h2{font-size:19px;color:#52694a}.viewer-loading{position:fixed;inset:0;background:#f3f2ed;z-index:200}.login-screen{min-height:100dvh;display:flex;align-items:center;justify-content:center;padding:30px 20px;background:radial-gradient(ellipse at 50% 15%,#fafbf6,#f3f2ed 65%)}.login-panel{width:100%;max-width:390px;padding:34px 32px 25px;background:#ffffffcb;border:1px solid #dce2d5;border-radius:13px;box-shadow:0 10px 55px #293e2c06}.login-mark{height:3px;width:35px;background:var(--green);margin-bottom:24px;border-radius:3px}.login-intro{margin-bottom:30px}.login-intro h1{font-size:30px;letter-spacing:-.8px}.login-intro p{font-size:13px;color:#95a18a;margin-top:10px}.login-submit{width:100%;margin-top:8px}.login-footnote{font-size:10px;color:#abb5a1;text-align:center;margin-top:22px;line-height:1.8}@keyframes fade-in{0%{opacity:0}to{opacity:1}}@keyframes modal-in{0%{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}@media(min-width:1600px){.workspace{padding-top:52px}.drawing-preview{height:190px}}@media(max-width:1150px){.workspace{padding:32px 28px 16px}.ledger-tools{gap:22px}.status-tabs{gap:16px}.orders-table th,.orders-table td{padding-left:20px;padding-right:20px}.detail-layout{grid-template-columns:195px minmax(0,1fr);gap:17px}.product-content{padding:18px 16px}.product-item{padding-left:17px;padding-right:17px}.product-title h2{font-size:21px}.detail-header-actions .button{padding:8px 12px;font-size:12px}.drawing-preview{height:145px}.drawing-grid{gap:12px}.drawing-help{font-size:9px}.ledger-tools .search-field{min-width:200px}.sort-select{min-width:180px}}@media(max-width:850px){.workspace{padding:28px 22px 14px}.page-heading h1{font-size:29px}.ledger-tools{flex-wrap:wrap;gap:18px}.search-field{width:100%;max-width:none;flex-basis:100%}.status-tabs{height:42px}.sort-select{height:40px}.orders-table th,.orders-table td{padding-left:14px;padding-right:14px}.orders-table th:first-child,.orders-table td:first-child{padding-left:20px}.orders-table .customer-col{width:29%}.orders-table .products-col{width:13%}.orders-table .delivery-col{width:22%}.orders-table .note-col{width:24%}.orders-table .action-col{width:12%}.customer-name{font-size:16px}.product-count{font-size:15px}.product-count span,.order-note{font-size:12px}.orders-table th{font-size:11px}.view-order{font-size:12px;gap:5px}.view-order svg{width:15px}.detail-header{flex-direction:column;gap:17px}.detail-header-actions{width:100%;padding-top:0}.detail-header-actions .button{font-size:13px}.detail-header-actions .more-wrapper{margin-left:auto}.detail-layout{grid-template-columns:165px minmax(0,1fr);gap:13px}.products-heading{padding:17px 14px}.product-item{padding:12px 14px}.product-item strong{font-size:14px}.product-item>span{font-size:12px}.product-item small{font-size:10px}.products-add{padding:17px 12px}.products-add .button{font-size:12px;padding:8px}.drawing-grid{grid-template-columns:1fr}.drawing-preview{height:210px}.quiet-delete{opacity:.6}.drawing-help{font-size:9px}.product-title{gap:9px}.product-title h2{font-size:20px}.product-title>span{padding-left:9px}.product-header>.text-button{font-size:11px}.drawing-card:hover{translate:0}.back-link{margin-bottom:21px}}@media(max-width:560px){body{min-width:340px}.workspace{padding:25px 16px max(18px,env(safe-area-inset-bottom))}.page-heading{margin-bottom:24px}.page-heading h1{font-size:27px}.new-order{min-width:0;min-height:40px;padding:8px 13px;font-size:13px;gap:5px}.new-order svg{width:17px}.search-field{height:44px}.search-field input{font-size:16px}.ledger-tools{gap:15px;margin-bottom:19px}.status-tabs{gap:15px;height:38px}.status-tabs button{font-size:14px;padding:0 1px 4px;gap:6px}.status-tabs button span{font-size:11px;min-width:22px;padding:1px 5px}.sort-select{min-width:157px;height:38px;padding:0 10px;gap:7px}.sort-select select{font-size:12px;padding-left:32px;padding-right:28px}.sort-select>svg{width:14px}.ledger-panel{border-radius:9px}.orders-table colgroup,.orders-table thead{display:none}.orders-table,.orders-table tbody{display:block}.orders-table tbody tr{display:grid;grid-template-columns:minmax(0,1fr) auto;position:relative;padding:19px 19px 16px;gap:8px 10px;border-bottom:1px solid #e6eadd}.orders-table tbody tr:last-child{border-bottom:0}.orders-table td,.orders-table td:first-child{display:block;height:auto;padding:0;border:0}.orders-table tbody tr:hover td:first-child{box-shadow:none}.orders-table td:nth-child(1){grid-column:1;grid-row:1}.customer-name{font-size:17px;line-height:1.5}.created-date{font-size:10px;letter-spacing:-.15px}.orders-table td:nth-child(2){grid-column:1;grid-row:2;font-size:13px;color:#8b9780}.product-count span{font-size:11px;margin-left:3px}.orders-table td:nth-child(3){grid-column:2;grid-row:1/3;text-align:right;align-self:center}.delivery-date{font-size:16px}.delivery-countdown{font-size:11px}.due-cell{gap:6px}.orders-table td:nth-child(4){grid-column:1;grid-row:3;align-self:center;padding-top:3px}.order-note{font-size:11px;color:#97a18c;line-height:1.7}.orders-table td:nth-child(5){grid-column:2;grid-row:3;align-self:center}.view-order{padding:3px 0;font-size:11px;gap:7px}.view-order svg{width:15px}.ledger-bottom{min-height:60px;padding:12px 17px;font-size:10px}.pagination{gap:5px}.pagination button{min-width:28px;height:29px;font-size:11px}.page-part{gap:4px}.workspace-footer{padding-top:14px;font-size:9px}.settings-button{font-size:10px}.ledger-empty{padding:35px 20px;min-height:330px}.ledger-empty h2{font-size:17px}.ledger-empty p{font-size:12px}.empty-actions{gap:14px}.empty-actions .button{font-size:12px}.empty-actions .text-button{font-size:11px}.back-link{font-size:12px;margin-bottom:18px}.detail-header{padding-bottom:20px;margin-bottom:19px}.customer-title{gap:14px}.customer-title h1{font-size:27px}.order-status{font-size:12px}.order-dates{font-size:11px;gap:8px 14px;margin-top:10px}.order-dates b{margin-left:3px}.detail-order-note{font-size:12px;margin-top:9px}.detail-header-actions{gap:8px}.detail-header-actions .button{min-height:38px;padding:7px 12px;font-size:12px;gap:6px}.detail-layout{display:flex;flex-direction:column;gap:16px}.products-panel{position:relative;top:0;width:100%;border:0;border-radius:0;background:none;overflow:visible;display:flex;flex-wrap:wrap;align-items:center;gap:12px}.products-heading{padding:0;gap:7px}.products-heading h2{font-size:14px}.products-heading>span{font-size:11px}.products-add{padding:0;margin-left:auto;order:1}.products-add .button{border:0;background:none;min-height:25px;padding:0;font-size:12px;gap:4px}.products-list{flex-basis:100%;order:2;display:flex;flex-direction:row;overflow:auto;gap:8px;padding:1px 1px 5px;scrollbar-width:none}.products-list::-webkit-scrollbar{display:none}.product-item{width:auto;min-width:120px;flex-shrink:0;border:1px solid #dce3d2;border-radius:6px;padding:10px 13px;background:#fff;min-height:45px;gap:15px}.product-item strong{font-size:13px;white-space:nowrap}.product-item.active{border-color:#719466;background:#e9f0e1}.product-item.active:before{display:none}.product-item>span{font-size:12px}.product-content{width:100%;padding:17px 14px 14px;min-height:400px}.product-header{padding-bottom:15px;margin-bottom:16px}.product-title h2{font-size:21px}.product-title>span{font-size:11px}.product-header>.text-button{font-size:11px;gap:4px}.product-header>.text-button svg{width:14px}.drawings-heading h2{font-size:14px}.drawings-heading .button{min-height:34px;font-size:12px;padding:6px 10px;gap:4px}.drawing-grid{gap:15px}.drawing-preview{height:190px;padding:7px 16px}.drawing-info{padding:12px 14px}.drawing-title-row h3{font-size:14px}.file-meta{font-size:10px}.note-caption{font-size:12px}.drawing-note{font-size:16px;line-height:1.5;min-height:58px}.drawing-actions>a,.drawing-actions>button{min-height:44px;font-size:12px}.drawing-card-top{height:35px}.drag-handle{width:32px;height:32px}.pin-button{width:33px;height:32px}.quiet-delete{opacity:.7;width:29px;height:29px}.mobile-order-buttons{display:flex;border-top:1px solid #edf1e5;align-items:center;justify-content:space-around;background:#fcfdf9}.mobile-order-buttons>button{display:flex;align-items:center;justify-content:center;gap:4px;min-height:32px;color:#8b9d7e;font-size:10px;flex:1}.preview-open{display:none}.drawing-help{font-size:9px;justify-content:flex-start;gap:3px;line-height:1.8}.drawing-help>span{margin:0 2px}.upload-empty{min-height:270px}.modal-scrim{padding:14px;align-items:center}.modal{border-radius:12px;max-height:calc(100dvh - 28px)}.modal-top{padding:20px 20px 16px}.modal-top h2{font-size:20px}.modal-body{padding:20px}.modal-footer{padding:15px 20px;gap:9px}.modal-footer>.button{font-size:13px;padding:9px 15px}.field{margin-bottom:18px}.field input,.field textarea,.field select{font-size:16px;padding:10px;min-height:44px}.field>span{font-size:12px}.field-row{gap:12px}.field input[type=date]{font-size:14px;min-width:0;appearance:none}.section-caption{align-items:baseline}.section-caption>span{font-size:9px}.product-form-row{grid-template-columns:minmax(0,1fr) 65px 47px 20px;gap:7px}.product-form-row .field input{font-size:16px;padding-left:8px;padding-right:4px}.product-form-row .field>span{font-size:9px}.single-product{grid-template-columns:minmax(0,1fr) 65px 47px}.row-delete{width:22px;height:44px}.modal-footer .text-button{font-size:11px}.toast{bottom:max(20px,env(safe-area-inset-bottom));padding:11px 13px;font-size:12px;max-width:calc(100vw - 28px);width:max-content;gap:8px}.toast>button{margin-left:2px}.login-panel{padding:30px 26px 24px}.login-intro h1{font-size:28px}.login-footnote{font-size:10px}.network-banner,.load-error{font-size:11px;padding:9px 11px;line-height:1.6}}.drawings-heading{gap:12px;flex-wrap:wrap}.drawings-heading h2{white-space:nowrap}.drawings-heading-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.batch-selection-head{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:13px;color:var(--green)}.batch-selection-head label,.batch-file-choice{display:flex;align-items:center;gap:9px;cursor:pointer}.batch-selection-head input,.batch-file-choice input,.batch-kind input{width:17px;height:17px;margin:0;accent-color:var(--green);flex-shrink:0}.batch-description{font-size:14px;line-height:1.7;color:#52654b}.batch-check-list{max-height:clamp(100px,26vh,250px);overflow:auto;list-style:none;padding:0;margin:8px 0 18px;border:1px solid #dbe2d4;border-radius:6px}.batch-check-list li+li{border-top:1px solid #e1e7da}.batch-file-choice{padding:8px 12px;min-height:38px;background:#fff;font-size:13px;overflow-wrap:anywhere}.batch-file-choice:hover,.batch-file-choice:focus-within{background:#f3f7f0}.batch-file-choice span{min-width:0}.batch-file-choice>small{margin-left:auto;white-space:nowrap;color:#647066}.batch-count{font-size:12px;white-space:nowrap}.batch-kind{border:0;padding:0;margin:0;min-width:0}.batch-kind legend{font-size:12px;color:#718166;margin-bottom:9px}.batch-kind label{display:flex;align-items:flex-start;gap:11px;padding:12px;border:1px solid #dbe2d4;border-radius:6px;margin-bottom:9px;background:#fff;cursor:pointer}.batch-kind label:has(input:checked){border-color:#779a80;background:#f3f7f0}.batch-kind input{margin-top:3px}.batch-kind strong{display:block;font-size:14px;font-weight:550;color:#37532e}.batch-kind small{display:block;font-size:11px;color:#829077;line-height:1.7;margin-top:4px}.batch-limit{font-size:11px;line-height:1.7;color:#929d89;margin-top:14px}.batch-progress{display:flex;align-items:center;gap:8px;overflow-wrap:anywhere;font-size:12px;line-height:1.7;color:var(--green);margin-top:15px}.save-status{min-height:16px;color:#54794a}.save-status.failed{color:#a45342}.unsaved-actions{flex-wrap:wrap}.unsaved-actions>.danger{margin-right:auto}@media(max-width:560px){.drawings-heading-actions{gap:6px}.batch-file-choice{min-height:44px}.batch-kind label{min-height:70px}.batch-kind small{font-size:12px}.save-status{font-size:11px}}@media(max-width:480px){.drawings-heading-actions{width:100%}.drawings-heading-actions .button{flex:1;padding-inline:5px;white-space:nowrap}}@media(max-width:560px){body{min-width:320px}.workspace{padding:22px max(16px,env(safe-area-inset-right)) max(22px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left))}.new-order,.detail-header-actions .button,.drawings-heading .button{min-height:44px}.ledger-tools{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px 12px}.search-field{grid-column:1/-1;width:100%;min-width:0;height:46px}.status-tabs{height:44px;gap:12px}.sort-select{margin-left:0;min-width:0;width:100%;height:44px}.sort-select select{font-size:14px}.created-date,.delivery-countdown,.ledger-bottom{font-size:12px}.order-note{font-size:13px;color:#6b746a}.view-order{min-height:44px;font-size:13px}.ledger-bottom{flex-wrap:wrap;gap:10px}.pagination button{min-width:40px;height:40px;font-size:13px}.back-link{min-height:44px;margin-bottom:12px;font-size:14px}.settings-button,.products-add .button,.product-header>.text-button{min-height:44px;font-size:13px}.icon-button,.drag-handle,.pin-button,.quiet-delete{min-width:44px;min-height:44px}.drawing-card-top{height:46px}.mobile-order-buttons>button{min-height:44px;font-size:12px}.drawing-help{font-size:11px;flex-wrap:wrap}.customer-title{min-width:0;flex-wrap:wrap;gap:8px 14px}.customer-title h1{overflow-wrap:anywhere;min-width:0}.modal-scrim{padding:0;align-items:flex-end}.modal{width:100%;border-radius:16px 16px 0 0;max-height:calc(100vh - 20px);max-height:calc(100dvh - 20px)}.modal-footer{padding-bottom:max(18px,env(safe-area-inset-bottom))}.modal-footer>.button{min-height:44px}.field{min-width:0}.field input[type=date]{font-size:16px;width:100%;max-width:100%;min-height:44px}.product-form-row{grid-template-columns:minmax(0,1fr) 80px 44px;gap:8px 10px;padding-bottom:14px;margin-bottom:14px;border-bottom:1px solid var(--line)}.product-form-row .product-name{grid-column:1/-1}.product-form-row .field{margin-bottom:0}.product-form-row .field>span{font-size:12px}.product-form-row .row-delete{align-self:end;width:44px}.single-product{grid-template-columns:minmax(0,1fr) 100px;border:0;margin-bottom:0;padding-bottom:0}}@media(max-width:380px){.ledger-tools{grid-template-columns:1fr}.status-tabs{justify-content:flex-start;gap:26px}.sort-select{height:44px}.orders-table tbody tr{padding:17px 14px 12px}.page-heading h1{font-size:25px}.new-order{padding:8px 10px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.001ms!important;transition-duration:.001ms!important;scroll-behavior:auto!important}}.signin{min-height:100vh;min-height:100dvh;display:grid;align-items:center;justify-items:center;padding:32px 20px;background:#f3f2ed}.signin-panel{width:min(100%,410px);padding:32px;background:#fcfbf8;border:1px solid #dcded6;border-radius:12px}.signin-panel h1{margin:0 0 26px;padding-bottom:20px;border-bottom:1px solid #bcbfb8;color:#104b39;font-size:30px;font-weight:700;letter-spacing:.01em;line-height:1.3}.signin-setup{margin:-8px 0 22px;color:#565f56}.signin-field{display:grid;gap:9px;margin-bottom:22px}.signin-field label{color:#232925;font-size:16px;font-weight:600}.signin-field input{width:100%;height:46px;border:1px solid #aeb4ae;border-radius:6px;padding:0 13px;background:#fff;color:#222b25;font-size:16px}.signin-field input::placeholder{color:#838782}.signin-password{position:relative}.signin-password input{padding-right:48px}.signin-eye{position:absolute;inset:1px 1px 1px auto;display:grid;place-items:center;width:44px;border-radius:5px;color:#616961}.signin-eye:hover{color:var(--green);background:#174f3f08}.signin-submit.button{width:100%;min-height:48px;margin-top:5px;font-size:18px;font-weight:650}.signin-panel .error-text{margin:-4px 0 14px}.signin-install{min-height:48px;display:flex;align-items:center;justify-content:center;gap:8px;margin:18px auto 0;padding:4px 12px;color:var(--green);font-size:16px;font-weight:600}.signin-install-icon{display:inline-flex;align-items:center;margin-left:-3px}.signin-install-icon svg+svg{margin-left:-2px}.mobile-order-meta{display:none}@media(max-width:560px){.signin{align-items:start;padding:max(27px,env(safe-area-inset-top)) max(18px,env(safe-area-inset-right)) max(24px,env(safe-area-inset-bottom)) max(18px,env(safe-area-inset-left))}.signin-panel{width:100%;padding:0;background:transparent;border:0}.signin-panel h1{font-size:clamp(30px,8.1vw,36px);padding-bottom:15px;margin-bottom:25px}.signin-field{gap:10px;margin-bottom:21px}.signin-field label{font-size:17px}.signin-field input{height:45px;font-size:17px}.signin-install{font-size:17px}.page-heading{align-items:center;margin-bottom:16px;gap:10px}.page-heading h1{color:#104b39;font-weight:700;font-size:clamp(23px,6.7vw,31px)}.new-order{font-size:15px;padding:8px 12px}.ledger-tools{grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:end;margin-bottom:16px;border-bottom:1px solid #c4c9c1}.status-tabs{height:45px;gap:clamp(6px,2vw,14px);justify-content:start}.status-tabs button{min-height:44px;padding:2px 4px;gap:4px;color:#343d35}.status-tabs button span,.status-tabs button.active span{border-radius:0;padding:0;min-width:0;background:none;color:inherit;font:inherit}.status-tabs button.active:after{bottom:-1px}.sort-select{width:auto;min-width:8.4em;height:44px;background:none;border:0;padding:0}.sort-select>svg:first-child{display:none}.sort-select select{text-align:right;padding:0 19px 0 0;font-size:13px}.sort-select>svg:last-child{width:16px}.ledger-panel{border:0;background:none;box-shadow:none;overflow:visible}.orders-table tbody{display:grid;gap:12px}.orders-table tbody tr,.orders-table tbody tr:last-child{display:grid;grid-template-columns:minmax(0,1fr) 44px;gap:0;padding:12px 14px;border:1px solid #cbd0c8;border-radius:9px;background:#fff}.orders-table .customer-name{font-size:20px;line-height:1.35}.orders-table .created-date,.orders-table td:nth-child(2){display:none}.mobile-order-meta{display:block;margin:3px 0 0;color:#555e56;font-size:13px;line-height:1.6}.mobile-order-meta>span{margin:0 3px}.orders-table td:nth-child(3),.orders-table td:nth-child(4){grid-column:1 / -1;grid-row:2;margin-top:9px;padding:9px 0 0;text-align:left;border-top:1px solid #d6d9d4}.orders-table td:nth-child(4){grid-row:3;margin-top:8px}.orders-table .due-cell{flex-direction:row;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:3px 8px}.orders-table .delivery-date{font-size:16px}.orders-table .delivery-date:before{content:"交货 "}.orders-table .delivery-countdown{font-size:13px;color:#49554b}.orders-table .delivery-countdown.soon{color:#895b1d}.orders-table .delivery-countdown.late{color:#a23b30}.orders-table .order-note{color:#374139;font-size:14px;overflow-wrap:anywhere}.orders-table .order-note:before{content:"备注";margin-right:.8em;color:#535d55}.orders-table td:nth-child(5){grid-column:2;grid-row:1;align-self:start}.orders-table .view-order{justify-content:end;padding:0;gap:0}.orders-table .view-order>*{display:none}.orders-table .view-order:after{content:"";width:9px;height:9px;margin-right:3px;border:solid #465247;border-width:1.8px 1.8px 0 0;transform:rotate(45deg)}.ledger-bottom{padding:13px 0 0;min-height:0;border:0;background:none;font-size:13px;color:#58615a}.ledger-empty{border:1px solid #d3d8d0;border-radius:9px;background:#fff}}@media(max-width:560px)and (hover:none){.orders-table tbody tr:hover{background:#fff}}@media(max-width:360px){.status-tabs{gap:2px}.status-tabs button{font-size:13px;padding:2px}.sort-select{min-width:8em}}.signin-with-filing{grid-template-rows:1fr auto;row-gap:24px}.filing-link{color:#57645a;font-size:12px;text-decoration:underline;text-underline-offset:3px}@media(min-width:561px){.orders-table .customer-col{width:202px}.orders-table .outsourcing-col{width:32%}.orders-table .delivery-col{width:120px}.orders-table .note-col{width:auto}.orders-table .action-col{width:90px}.orders-table th,.orders-table td{padding-inline:clamp(8px,1vw,16px)}.orders-table th:first-child,.orders-table td:first-child{padding-left:clamp(12px,1.6vw,24px)}.orders-table th.action-head{padding-right:clamp(8px,1vw,16px)}.orders-table td{vertical-align:top}}.orders-table .customer-name{white-space:normal;overflow:visible;overflow-wrap:anywhere}.ledger-order-meta{display:flex;flex-wrap:wrap;column-gap:.42em;margin-top:3px;color:#788076;font-size:12px;line-height:1.55;font-variant-numeric:tabular-nums}.ledger-order-meta>span{white-space:nowrap}.ledger-product-total:before{content:"·";margin-right:.42em}.ledger-mobile-label{display:none}.ledger-text-cell{cursor:default}.ledger-cell-trigger{width:100%;display:flex;justify-content:space-between;align-items:center;gap:8px;min-height:36px;padding:4px 0;text-align:left;color:#475249;font-size:14px;line-height:1.6}.ledger-cell-trigger>span{display:block;min-width:0;overflow-wrap:anywhere;white-space:pre-wrap}.ledger-cell-empty{color:#949c90}.ledger-cell-trigger svg{flex-shrink:0;opacity:0;color:var(--green)}.orders-table tr:hover .ledger-cell-trigger svg,.ledger-cell-trigger:focus-visible svg{opacity:.8}.ledger-cell-trigger:hover>span{color:var(--green)}.ledger-input-wrap{display:grid;grid-template-columns:minmax(0,1fr)}.ledger-input-wrap textarea,.ledger-input-wrap:after{grid-area:1 / 1;min-width:0;display:block;min-height:64px;padding:7px 9px;font:inherit;font-size:14px;line-height:1.55;border:1px solid var(--green);white-space:pre-wrap;overflow-wrap:anywhere}.ledger-input-wrap:after{content:attr(data-value) " ";visibility:hidden;pointer-events:none}.ledger-input-wrap textarea{width:100%;align-self:stretch;overflow:hidden;color:#25372c;background:#fff;border-radius:5px;outline:0;resize:none;scroll-margin-block:20px}.ledger-cell-editor textarea:focus{box-shadow:0 0 0 1px var(--green)}.ledger-cell-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-top:7px}.ledger-cell-actions .button,.ledger-cell-actions .text-button{min-height:30px;font-size:13px}.ledger-cell-actions .button{padding:3px 16px;border-radius:5px}.ledger-cell-actions .text-button{padding:3px 6px;color:#58645b}.orders-table tbody tr:has(.ledger-cell-editor){background:#fff}.orders-table tbody tr:has(.ledger-cell-editor) td:first-child{box-shadow:none}@media(min-width:851px)and (max-width:1100px){.orders-table .customer-col{width:158px}.orders-table .delivery-col{width:102px}.orders-table .action-col{width:74px}}@media(min-width:561px)and (max-width:850px){.orders-table .customer-col{width:120px}.orders-table .outsourcing-col{width:auto}.orders-table .delivery-col{width:90px}.orders-table .action-col{width:60px}.orders-table .ledger-cell-trigger{gap:3px;font-size:13px}.ledger-cell-actions{gap:3px}.ledger-cell-actions .button{padding-inline:10px}}@media(max-width:560px){.ledger-order-meta{font-size:13px;color:#555e56}.orders-table td.ledger-text-cell{display:block;grid-column:1 / -1;border-top:1px solid #d6d9d4;margin-top:7px;padding-top:5px;min-width:0}.orders-table td.ledger-outsourcing-cell{grid-row:3}.orders-table td.ledger-note-cell{grid-row:4}.ledger-mobile-label{display:block;color:#627064;font-size:12px;line-height:1.5}.ledger-cell-trigger{min-height:44px;padding:2px 0}.ledger-cell-trigger svg{opacity:.56}.ledger-cell-editor{margin-top:5px}.ledger-input-wrap textarea,.ledger-input-wrap:after{font-size:16px}.ledger-cell-actions .button,.ledger-cell-actions .text-button{min-height:44px}}
