:root{font-family:Inter,-apple-system,BlinkMacSystemFont,PingFang SC,Microsoft YaHei,sans-serif;color:#1d2939;background:#f6f8fb;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;--blue:#2563eb;--blue-dark:#1d4ed8;--ink:#1d2939;--muted:#718096;--border:#e7ebf1;--surface:#fff}*{box-sizing:border-box}body{margin:0;min-width:320px}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}h1,h2,h3,p{margin-top:0}h1{font-size:24px;line-height:1.35;letter-spacing:-.02em;margin-bottom:7px;font-weight:700}h2{font-size:16px}h3{font-size:15px}p{line-height:1.6}a{color:inherit}.app-shell{min-height:100vh;display:flex}.sidebar{width:232px;flex:none;background:#fff;border-right:1px solid var(--border);display:flex;flex-direction:column;position:sticky;top:0;height:100vh;z-index:10}.brand{display:flex;align-items:center;gap:11px;text-align:left;padding:25px 20px 31px;border:0;background:none;color:inherit;width:100%}.brand-mark{display:grid;place-items:center;width:36px;height:36px;background:var(--blue);color:#fff;border-radius:10px;font-size:21px;font-weight:800;letter-spacing:-.08em;box-shadow:0 4px 10px #2563eb25;flex:none}.brand strong{display:block;font-size:14px;letter-spacing:.07em;line-height:1.35}.brand small{display:block;color:#8a98ac;font-size:11px;margin-top:2px}.nav-caption{color:#9ba7b7;font-size:11px;padding:0 28px 12px;letter-spacing:.08em}.side-nav{padding:0 12px;display:grid;gap:5px}.nav-link{display:flex;align-items:center;gap:12px;height:43px;padding:0 14px;color:#617087;border:0;background:transparent;border-radius:8px;text-align:left;font-size:13px;font-weight:600}.nav-link:hover{background:#f3f6fb;color:var(--blue)}.nav-link.active{background:#edf4ff;color:#2059d4}.nav-link.active svg{stroke-width:2.2}.sidebar-bottom{margin-top:auto;padding:18px 16px 22px}.demo-note{border:1px solid #dfe9ff;background:#f5f8ff;color:#3b5d9d;padding:12px 13px;border-radius:9px;font-size:11px;line-height:1.6}.demo-note small{padding-left:12px;color:#8395b1}.demo-dot{display:inline-block;width:6px;height:6px;background:#4c82e9;border-radius:50%;margin-right:6px}.side-user{display:flex;align-items:center;gap:10px;margin-top:20px;padding:0 4px}.avatar{display:grid;place-items:center;width:34px;height:34px;background:#e8eef9;color:#3460ad;border-radius:50%;font-size:13px;font-weight:700}.side-user strong,.side-user small{display:block}.side-user strong{font-size:12px}.side-user small{color:#99a5b5;font-size:10px;margin-top:3px}.main-shell{flex:1;min-width:0}.topbar{height:66px;background:#fff;border-bottom:1px solid var(--border);display:flex;justify-content:space-between;align-items:center;padding:0 32px}.topbar-left,.topbar-right{display:flex;align-items:center;gap:17px}.topbar-title{font-size:14px;font-weight:700}.topbar-divider{height:17px;width:1px;background:#e6eaf0}.topbar-subtitle{font-size:12px;color:#9aa6b6}.prototype-tag{font-size:11px;color:#2563eb;border-radius:5px;background:#eef4ff;padding:5px 9px;font-weight:600}.role-select-wrap{display:flex;align-items:center;gap:9px;font-size:11px;color:#8b98a9}.role-select-wrap select{border:1px solid var(--border);border-radius:7px;background:#fff;padding:7px 26px 7px 10px;color:#344054;font-size:12px;max-width:178px}.mobile-topbar,.bottom-nav{display:none}.content{padding:24px 30px 50px}.page{max-width:1500px;margin:0 auto}.demo-banner{max-width:1500px;margin:0 auto 21px;display:flex;align-items:center;gap:9px;border:1px solid #dce8ff;border-radius:7px;background:#f0f5ff;color:#56719d;font-size:11px;padding:9px 13px}.demo-banner-icon{display:grid;place-items:center;width:15px;height:15px;border-radius:50%;border:1px solid #8aa9dd;color:#6584b7;font-size:10px;font-weight:700;flex:none}.page-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:21px}.page-heading p{color:#8a98ab;font-size:12px;margin:0}.eyebrow{display:flex;align-items:center;gap:9px;color:#4075d8;font-size:11px;font-weight:700;letter-spacing:.05em;margin-bottom:8px}.eyebrow-line{display:inline-block;width:24px;height:1px;background:#bcd0f5}.today-text{margin-left:9px;color:#a7b3c3}.btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;border-radius:7px;border:1px solid transparent;min-height:37px;padding:0 14px;font-size:12px;font-weight:700;white-space:nowrap;transition:.18s ease}.btn:hover{transform:translateY(-1px)}.btn-primary{background:var(--blue);border-color:var(--blue);color:#fff;box-shadow:0 3px 8px #2563eb20}.btn-primary:hover{background:var(--blue-dark)}.btn-secondary{background:#fff;border-color:#dce3ec;color:#4e6077}.btn-secondary:hover{border-color:#b9c8db;background:#f8fafc}.btn-quiet{background:#f7f8fb;color:#6b7b90}.btn-ghost{background:transparent;color:#66778b}.btn-small{min-height:29px;padding:0 9px;font-size:11px}.text-button{border:0;background:transparent;color:var(--blue);font-size:12px;font-weight:700;display:inline-flex;align-items:center;gap:5px;padding:4px}.text-button:hover{text-decoration:underline}.icon-button{display:grid;place-items:center;width:28px;height:28px;background:#fff;border:1px solid var(--border);border-radius:6px;color:#64748b}.icon-button:hover{color:#e34848;border-color:#facaca}.icon-button.subtle{border:0;background:transparent}.panel{background:#fff;border:1px solid var(--border);border-radius:10px;box-shadow:0 2px 10px #263b5c05;overflow:hidden}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:18px 19px 15px}.section-heading-title{display:flex;align-items:center;gap:8px}.section-heading h2{font-size:15px;line-height:1.2;margin:0;font-weight:700;color:#243246}.section-count{font-size:10px;padding:2px 6px;background:#edf3fc;color:#4772b8;border-radius:4px;font-weight:700}.section-hint{font-size:11px;color:#a2adbc}.metrics-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:11px;margin-bottom:18px}.metric-card{background:#fff;border:1px solid var(--border);border-radius:9px;padding:14px 15px 12px;text-align:left;min-height:132px;display:flex;flex-direction:column;align-items:flex-start;box-shadow:0 2px 10px #263b5c04;transition:.18s ease}.metric-card:hover,.metric-selected{border-color:#b4cdfb;box-shadow:0 4px 14px #2563eb12;transform:translateY(-1px)}.metric-icon{width:32px;height:32px;display:grid;place-items:center;border-radius:8px;flex:none}.metric-blue{background:#eaf2ff;color:#477be0}.metric-orange{background:#fff1df;color:#e5932d}.metric-red{background:#fff0ee;color:#e7655b}.metric-green{background:#e8f7f0;color:#31a774}.metric-label{font-size:11px;color:#8290a3;margin-top:11px}.metric-card strong{font-size:25px;color:#273448;line-height:1.2;margin-top:4px}.metric-card strong.text-red{color:#e25950}.metric-foot{display:flex;align-items:center;gap:2px;font-size:10px;color:#a0acc0;margin-top:7px}.filter-panel{padding:14px 18px;margin-bottom:17px}.filter-title{display:flex;align-items:center;gap:7px;color:#344054;font-size:12px;font-weight:700;margin-bottom:11px}.filters{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.filters input,.filters select{height:35px;border:1px solid #e1e6ef;border-radius:6px;color:#344054;background:#fff;font-size:11px;outline:0}.filters input:focus,.filters select:focus,.field input:focus,.field textarea:focus,.field select:focus{border-color:#8aaff9;box-shadow:0 0 0 3px #2563eb12}.search-field{height:35px;display:flex;align-items:center;gap:8px;border:1px solid #e1e6ef;border-radius:6px;padding:0 10px;color:#97a3b4;min-width:230px;flex:1}.search-field input{border:0;width:100%;height:100%;padding:0;min-width:100px}.search-field input:focus{box-shadow:none}.date-field{display:flex;align-items:center;gap:6px;height:35px;padding-left:10px;border:1px solid #e1e6ef;border-radius:6px;font-size:11px;color:#8b98aa}.date-field input{border:0;padding:0 8px 0 0;max-width:143px}.filters select{padding:0 30px 0 10px;min-width:118px}.dashboard-sections{display:grid;gap:17px}.dashboard-bottom{display:grid;grid-template-columns:1fr 1fr;gap:17px;min-width:0}.dashboard-bottom .order-table-wrap{overflow-x:auto}.dashboard-bottom .order-table{min-width:830px}.order-table-wrap{width:100%;overflow-x:auto}.order-table{width:100%;border-collapse:collapse;text-align:left;font-size:11px;table-layout:auto}.order-table th{color:#96a3b5;font-weight:600;background:#fafbfc;padding:11px 15px;border-top:1px solid #f0f2f6;border-bottom:1px solid #f0f2f6;white-space:nowrap}.order-table td{color:#637184;padding:13px 15px;border-bottom:1px solid #f1f3f6;white-space:nowrap;vertical-align:middle}.order-table tbody tr{cursor:pointer}.order-table tbody tr:hover{background:#f9fbff}.order-table tbody tr:last-child td{border-bottom:0}.order-table .order-id{font-weight:700;color:#3266cf}.order-table .customer-cell{color:#2a3545;font-weight:650}.summary-cell{max-width:220px;overflow:hidden;text-overflow:ellipsis}.date-overdue{color:#e45c57;font-weight:700}.badge{display:inline-flex;align-items:center;gap:5px;border-radius:4px;padding:4px 7px;font-size:10px;font-weight:700;white-space:nowrap}.badge-dot{width:5px;height:5px;border-radius:50%;background:currentColor}.badge-blue{background:#eaf2ff;color:#447be0}.badge-orange{background:#fff2e4;color:#db8a2a}.badge-green{background:#e8f7ee;color:#2ca773}.badge-red{background:#fff0ef;color:#dc655e}.badge-gray{background:#f0f2f5;color:#8793a3}.warning-pill{display:inline-block;font-size:9px;font-weight:700;margin-left:6px;padding:3px 5px;border-radius:4px;white-space:nowrap}.warning-red{color:#d9554c;background:#fff0ee}.warning-orange{color:#dd8c31;background:#fff3e5}.empty-state{display:grid;place-items:center;padding:32px 12px;color:#a5b0bf}.empty-state p{font-size:12px;margin:8px 0 0}.empty-icon{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:#f3f6fb;color:#a1afc2}.mobile-order-list{display:none}.production-metrics{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:11px;margin-bottom:18px}.production-metric{display:flex;align-items:center;gap:12px;text-align:left;min-height:82px;background:#fff;border:1px solid var(--border);border-radius:9px;padding:12px 14px;box-shadow:0 2px 10px #263b5c04}.production-metric:hover,.production-metric.active{border-color:#a9c5f9;box-shadow:0 4px 14px #2563eb12}.production-metric small,.production-metric strong{display:block}.production-metric small{color:#8492a4;font-size:11px;white-space:nowrap}.production-metric strong{font-size:24px;color:#29364a;line-height:1.2;margin-top:3px}.production-panel-head{display:flex;align-items:center;justify-content:space-between}.production-panel-head p{margin:0 20px 0 0;color:#9aa6b5;font-size:11px}.quick-actions{display:flex;align-items:center;gap:5px}.row-actions{min-width:195px}.form-layout{display:grid;grid-template-columns:minmax(0,1fr) 235px;gap:18px;align-items:start}.form-main{display:grid;gap:17px;min-width:0}.form-panel .section-heading{padding:20px 22px 16px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 18px;padding:0 22px 22px}.field{display:flex;flex-direction:column;gap:7px;min-width:0}.field>span{color:#536176;font-size:11px;font-weight:700}.field em{font-style:normal;color:#e56c5e}.field input,.field select,.field textarea{width:100%;border:1px solid #e1e7ef;border-radius:6px;background:#fff;color:#28364a;outline:0;font-size:12px;padding:0 11px;height:36px}.field textarea{height:auto;min-height:76px;padding:10px 11px;resize:vertical}.field input:disabled{background:#f8fafc;color:#9aa7b7}.field input::placeholder,.field textarea::placeholder{color:#b4bdc9}.field-wide{grid-column:1/-1}.segmented{display:flex;height:36px;background:#f4f6fa;border:1px solid #e1e7ef;border-radius:6px;padding:3px;gap:3px}.segmented button{flex:1;border:0;background:transparent;color:#8694a6;border-radius:4px;font-size:11px}.segmented button.selected{background:#fff;color:var(--blue);font-weight:700;box-shadow:0 1px 4px #243b5a15}.products-stack{padding:0 22px;display:grid;gap:14px}.product-form{border:1px solid #e8edf4;border-radius:8px;background:#fbfcfe}.product-form-head{display:flex;justify-content:space-between;align-items:center;padding:13px 15px;border-bottom:1px solid #ecf0f5}.product-form-head strong{font-size:12px;color:#2f4769}.product-grid{padding:16px;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.add-product-bottom{width:calc(100% - 44px);margin:15px 22px 22px;height:37px;border:1px dashed #a9c3ee;border-radius:7px;background:#f8fbff;color:#3973d3;font-size:12px;font-weight:700;display:flex;align-items:center;justify-content:center;gap:6px}.add-product-bottom:hover{background:#edf5ff}.field-help{font-size:11px;color:#96a3b5;margin:-6px 22px 12px}.upload-box{margin:0 22px 22px;width:calc(100% - 44px);border:1px dashed #bfcee2;background:#fafcff;border-radius:7px;min-height:115px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:5px;color:#6385bd}.upload-box strong{font-size:12px;color:#4d6fa8}.upload-box small{font-size:10px;color:#a3afc0}.upload-box:hover{border-color:#7eacef;background:#f4f8ff}.upload-icon{color:#6997de}.visually-hidden{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}.attachment-grid{display:flex;flex-wrap:wrap;gap:10px;padding:0 22px 20px}.attachment-item{width:100px;position:relative}.attachment-item img{width:100px;height:76px;object-fit:cover;border:1px solid var(--border);border-radius:5px}.attachment-item span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#75849a;font-size:10px;margin-top:3px}.attachment-item button{position:absolute;top:4px;right:4px;border:0;background:#0009;color:#fff;width:20px;height:20px;display:grid;place-items:center;border-radius:50%}.aside-card{background:#fff;border:1px solid var(--border);border-radius:9px;padding:18px;position:sticky;top:86px}.aside-card-icon{width:34px;height:34px;border-radius:7px;display:grid;place-items:center;background:#edf4ff;color:#5986d7;margin-bottom:13px}.aside-card strong{font-size:13px}.aside-card p{font-size:11px;color:#8c9aac;margin:9px 0 16px}.flow-steps{display:grid;gap:7px;color:#5274aa;font-size:11px}.flow-steps span{padding-left:10px;border-left:2px solid #bcd0f2}.flow-steps i{height:10px;margin-left:1px;border-left:1px dashed #bcd0f2}.form-actions{position:sticky;bottom:0;z-index:5;background:#fffffff2;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border:1px solid var(--border);border-radius:9px;margin-top:18px;padding:12px 18px;box-shadow:0 -3px 15px #233b5a0a}.form-actions-inner{display:flex;justify-content:flex-end;align-items:center;gap:20px}.form-buttons{display:flex;gap:9px}.form-error{color:#d9504c;font-size:11px;display:flex;align-items:center;gap:5px}.return-notice{display:flex;align-items:flex-start;gap:10px;background:#fff5e9;border:1px solid #ffdfba;color:#a5661a;border-radius:8px;padding:11px 14px;margin-bottom:17px;font-size:12px}.return-notice strong,.return-notice span{display:block}.return-notice span{margin-top:2px}.back-row{margin-bottom:12px}.back-row button{display:flex;align-items:center;gap:3px;border:0;background:none;color:#8291a5;font-size:11px;padding:0}.back-row svg{transform:rotate(180deg)}.detail-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:15px;margin-bottom:19px}.detail-title-line{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.detail-title-line h1{margin:0}.detail-heading p{color:#8a99aa;font-size:12px;margin:5px 0 0}.detail-actions{display:flex;align-items:center;gap:8px}.detail-grid{display:grid;grid-template-columns:minmax(0,1fr) 295px;gap:17px;align-items:start}.detail-main{display:grid;gap:17px;min-width:0}.detail-panel .section-heading{padding:18px 20px;border-bottom:1px solid #f0f2f6}.info-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;padding:4px 20px 14px}.info-item{padding:13px 0;min-width:0}.info-item>span,.info-wide>span{display:block;color:#9ba7b6;font-size:10px;margin-bottom:6px}.info-item strong{font-size:12px;font-weight:600;color:#344256;word-break:break-word}.info-item strong.info-highlight{color:#dd8b30}.info-wide{grid-column:1/-1;border-top:1px solid #f1f3f6;padding:14px 0 2px}.info-wide p{font-size:12px;margin:0;color:#58687b}.product-table-wrap{overflow-x:auto}.product-table{width:100%;border-collapse:collapse;font-size:11px;min-width:550px}.product-table th{text-align:left;color:#96a3b4;background:#fafbfc;font-weight:600;padding:10px 19px;white-space:nowrap}.product-table td{padding:14px 19px;border-top:1px solid #f1f3f7;color:#657387;white-space:nowrap}.product-table td:first-child strong,.product-table td:first-child small{display:block}.product-table td:first-child strong{color:#344154;font-size:11px}.product-table small{font-size:10px;color:#a0acba;margin-top:4px}.overall-progress{padding:19px 20px 15px;border-bottom:1px solid #f0f2f6}.overall-progress>div:first-child{display:flex;justify-content:space-between;align-items:center;color:#65748b;font-size:12px;margin-bottom:10px}.overall-progress strong{font-size:20px;color:var(--blue)}.overall-progress small{font-size:10px;color:#a0adbd;display:block;margin-top:6px}.progress-track{height:7px;background:#edf1f7;border-radius:9px;overflow:hidden}.progress-track>div{height:100%;background:linear-gradient(90deg,#4c83ea,#2563eb);border-radius:9px}.progress-lines{padding:3px 20px 16px}.progress-line{padding-top:16px}.progress-line>div:first-child{display:flex;justify-content:space-between;gap:12px;font-size:11px;margin-bottom:8px}.progress-line strong{font-weight:600;color:#344256}.progress-line span{color:#8794a5;white-space:nowrap}.progress-line b{color:#487cda;margin-left:7px}.progress-line .progress-track{height:5px}.progress-editor{padding:17px 20px 20px;border-top:1px solid #f0f2f6;background:#fcfdff}.progress-editor h3{margin-bottom:4px}.progress-editor>p{font-size:11px;color:#9aa7b6;margin-bottom:16px}.progress-edit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.input-suffix{position:relative}.input-suffix span{position:absolute;right:11px;top:10px;color:#a1adba;font-size:11px}.input-suffix input{padding-right:34px}.progress-editor-bottom{display:flex;align-items:flex-end;justify-content:flex-end;gap:10px;margin-top:15px}.progress-editor-bottom .field{width:165px}.progress-editor .form-error{margin:10px 0 0}.save-success{display:flex;align-items:center;gap:5px;color:#25a270!important;margin:10px 0 0!important}.attachment-empty{min-height:115px;display:flex;align-items:center;justify-content:center;gap:9px;color:#a4b0be;font-size:11px}.detail-attachments{display:flex;gap:10px;flex-wrap:wrap;padding:19px}.detail-attachments button{width:115px;border:0;background:none;padding:0;text-align:left}.detail-attachments img{width:115px;height:86px;object-fit:cover;border:1px solid var(--border);border-radius:5px}.detail-attachments span{display:block;font-size:10px;color:#718196;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-top:5px}.detail-side{display:grid;gap:13px}.timeline{padding:20px 19px 4px}.timeline-item{position:relative;padding-left:20px;border-left:1px solid #e0e8f2;padding-bottom:22px}.timeline-item:last-child{border-left-color:transparent}.timeline-dot{position:absolute;left:-5px;top:1px;width:9px;height:9px;border-radius:50%;background:#7ca6ed;border:2px solid #eaf2ff}.timeline-item:first-child .timeline-dot{background:#2563eb}.timeline-item strong{font-size:11px;color:#344458}.timeline-item p{font-size:10px;color:#8997a9;margin:5px 0;line-height:1.5}.timeline-item small{font-size:10px;color:#aab6c4}.side-tip{display:flex;align-items:center;gap:11px;background:#eef4ff;border:1px solid #dbe7fa;border-radius:8px;padding:14px 16px;color:#4270be}.side-tip strong,.side-tip span{display:block}.side-tip strong{font-size:11px}.side-tip span{font-size:11px;margin-top:3px;color:#6d89b6}.modal-backdrop{position:fixed;inset:0;background:#1f2c3d77;display:flex;align-items:center;justify-content:center;padding:20px;z-index:40}.modal{width:min(100%,430px);background:#fff;border-radius:11px;box-shadow:0 20px 55px #0c1d3652;padding:20px}.modal-head,.modal-head>div{display:flex;align-items:center;gap:10px}.modal-head{justify-content:space-between}.modal-head h2{margin:0;font-size:16px}.modal-icon{display:grid;place-items:center;background:#fff2e5;color:#dd8731;width:30px;height:30px;border-radius:7px}.modal>p{font-size:11px;color:#8794a6;margin:13px 0}.modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:18px}.image-preview{position:fixed;inset:0;z-index:50;background:#101820e8;display:grid;place-items:center;padding:40px}.image-preview img{max-width:100%;max-height:100%;object-fit:contain}.image-preview button{position:absolute;right:20px;top:20px;background:#ffffff24;border:0;color:#fff;border-radius:50%;width:36px;height:36px;display:grid;place-items:center}.dashboard-bottom{grid-template-columns:1fr}.order-table{font-size:12px}.order-table th{font-size:11px}.metric-label{font-size:12px}.section-heading h2{font-size:16px}.page-heading p{font-size:13px}.demo-banner{font-size:12px}@media(max-width:1300px){.metrics-grid,.production-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.detail-grid{grid-template-columns:minmax(0,1fr) 260px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:900px){.sidebar{width:190px}.brand{padding-left:15px}.brand strong{font-size:12px}.side-nav{padding:0 8px}.content{padding:20px}.topbar{padding:0 20px}.topbar-subtitle,.topbar-divider{display:none}.detail-grid{grid-template-columns:1fr}.detail-side{grid-template-columns:1fr 1fr}.form-layout{grid-template-columns:1fr}.form-aside{display:none}.info-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:700px){.app-shell{display:block}.sidebar,.topbar{display:none}.main-shell{min-height:100vh}.mobile-topbar{height:56px;background:#fff;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;padding:0 15px;position:sticky;top:0;z-index:20}.mobile-brand{display:flex;align-items:center;gap:8px;border:0;background:none;color:#243246;font-size:12px;font-weight:800;letter-spacing:.04em;padding:0}.mobile-brand .brand-mark{width:28px;height:28px;font-size:17px;border-radius:7px}.mobile-topbar select{max-width:146px;background:#f6f8fb;border:1px solid #e4eaf1;border-radius:6px;font-size:11px;padding:7px;color:#4c5d74}.bottom-nav{position:fixed;bottom:0;left:0;right:0;z-index:30;height:61px;background:#fff;border-top:1px solid var(--border);display:flex;justify-content:space-around;padding-bottom:env(safe-area-inset-bottom)}.bottom-nav button{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:3px;flex:1;border:0;background:none;color:#929fb0;font-size:10px;font-weight:600;white-space:nowrap}.bottom-nav button.active{color:var(--blue)}.content{padding:14px 13px 87px}.demo-banner{font-size:10px;line-height:1.5;padding:7px 9px;margin-bottom:17px}.page-heading{align-items:flex-start;margin-bottom:17px}.page-heading h1{font-size:20px}.page-heading p{font-size:11px;max-width:260px}.page-cta{padding:0 10px;min-height:33px;font-size:11px;margin-top:12px}.metrics-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:13px}.metric-card{padding:10px 11px;min-height:112px}.metric-icon{width:28px;height:28px}.metric-icon svg{width:17px;height:17px}.metric-label{font-size:10px;margin-top:8px;line-height:1.3}.metric-card strong{font-size:21px}.metric-foot{font-size:9px;margin-top:4px}.filter-panel{padding:12px;margin-bottom:13px}.filters{display:grid;grid-template-columns:1fr 1fr;gap:8px}.search-field{grid-column:1/-1;min-width:0}.date-field{min-width:0}.date-field span{display:none}.date-field input{max-width:none;width:100%}.filters select{min-width:0}.filters .text-button{grid-column:1/-1;justify-content:flex-end}.dashboard-sections,.dashboard-bottom{gap:13px}.section-heading{padding:15px 14px 13px}.section-heading h2{font-size:14px}.section-hint{font-size:10px}.order-table-wrap{display:none}.mobile-order-list{display:block;padding:0 13px 5px}.mobile-order-card{padding:14px 1px;border-top:1px solid #f0f2f6;cursor:pointer}.mobile-order-card:first-child{border-top:0}.mobile-order-top,.mobile-order-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px}.mobile-order-top .order-id{font-size:11px;color:#3266cf;font-weight:700}.mobile-order-card h3{font-size:13px;margin:10px 0 2px}.mobile-order-card p{color:#8795a8;font-size:11px;margin:0 0 11px}.mobile-order-bottom{justify-content:flex-start;color:#8c9bad;font-size:10px}.mobile-order-bottom .warning-pill{margin-left:2px}.mobile-order-actions{display:flex;gap:7px;flex-wrap:wrap;margin-top:12px}.production-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:13px}.production-metric{min-height:66px;padding:10px}.production-metric .metric-icon{width:30px;height:30px}.production-metric small{font-size:10px}.production-metric strong{font-size:20px}.production-panel-head{display:block}.production-panel-head p{padding:0 14px 13px;font-size:10px}.form-grid,.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:0 14px 16px}.form-panel .section-heading{padding:17px 14px 15px}.field>span{font-size:10px}.field input,.field select{height:35px;font-size:11px;padding:0 8px}.field textarea{font-size:11px}.products-stack{padding:0 12px}.product-grid{padding:13px}.product-form-head{padding:11px 13px}.add-product-bottom{margin:14px 12px 16px;width:calc(100% - 24px)}.field-help{margin:-4px 14px 12px}.upload-box{margin:0 14px 17px;width:calc(100% - 28px)}.attachment-grid{padding:0 14px 16px}.form-actions{bottom:66px;margin-top:13px;padding:10px}.form-actions-inner{display:block}.form-buttons{justify-content:flex-end}.form-buttons .btn{flex:1}.form-error{margin-bottom:8px;font-size:10px}.desktop-only{display:none}.detail-heading{align-items:flex-start}.detail-title-line h1{font-size:20px}.detail-heading p{font-size:11px}.detail-actions{flex-direction:column;align-items:flex-end}.detail-actions .btn{font-size:10px;min-height:31px;padding:0 9px}.detail-grid,.detail-main{gap:13px}.detail-side{grid-template-columns:1fr;gap:13px}.info-grid{grid-template-columns:repeat(2,minmax(0,1fr));padding:4px 15px 10px}.info-item{padding:10px 0}.detail-panel .section-heading{padding:15px}.overall-progress{padding:16px}.progress-lines{padding:2px 16px 15px}.progress-line>div:first-child{display:block}.progress-line span{display:block;margin-top:4px}.progress-editor{padding:15px}.progress-edit-grid{grid-template-columns:1fr}.timeline{padding:16px 17px 0}.side-tip{margin-bottom:4px}.modal{padding:17px}}@media(max-width:380px){.metrics-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.page-cta{padding:0 8px}.page-cta svg{display:none}.mobile-topbar select{max-width:125px}.form-grid,.product-grid{grid-template-columns:1fr}.field-wide{grid-column:auto}}.attachment-item{width:140px}.attachment-item img{width:140px;height:95px}.attachment-item .attachment-ocr{position:static;display:block;width:100%;height:28px;margin-top:6px;border:1px solid #cbdcf7;border-radius:5px;background:#f5f9ff;color:#356dd0;font-size:11px;font-weight:700}.attachment-item .attachment-ocr:hover{background:#eaf3ff}.ocr-backdrop{position:fixed;inset:0;z-index:60;display:flex;align-items:center;justify-content:center;padding:18px;background:#182436aa}.ocr-dialog{width:min(1060px,100%);max-height:calc(100dvh - 36px);display:flex;flex-direction:column;background:#fff;border-radius:11px;box-shadow:0 20px 60px #0c1d3660;overflow:hidden}.ocr-head,.ocr-footer{display:flex;align-items:center;padding:16px 20px;background:#fff}.ocr-head{justify-content:space-between;border-bottom:1px solid #edf0f5}.ocr-head h2{margin:0;color:#26374c;font-size:16px}.ocr-head p{margin:4px 0 0;color:#8b99aa;font-size:11px}.ocr-close{border:0;background:#f1f4f8;color:#738399;width:30px;height:30px;border-radius:6px;font-size:22px;line-height:1}.ocr-body{display:grid;grid-template-columns:minmax(250px,35%) minmax(0,1fr);min-height:0;overflow:hidden}.ocr-source{padding:18px;background:#f8fafc;border-right:1px solid #e8edf4;overflow:auto}.ocr-source strong{display:block;font-size:12px;color:#3d4e65;margin-bottom:12px}.ocr-source img{display:block;width:100%;max-height:330px;object-fit:contain;background:#fff;border:1px solid #e4eaf2;border-radius:6px}.ocr-source small{display:block;color:#8b99aa;font-size:10px;margin-top:6px;word-break:break-all}.ocr-source p{color:#7b899c;font-size:11px;line-height:1.6;margin:14px 0 0}.ocr-review{min-width:0;overflow:auto;padding:18px 20px 22px}.ocr-summary{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:14px}.ocr-summary strong{font-size:13px;color:#314359}.ocr-summary span{font-size:10px;color:#d08a31;background:#fff5e9;padding:5px 7px;border-radius:5px}.ocr-bulk{max-width:260px;margin-bottom:16px}.ocr-rows{display:grid;gap:11px}.ocr-row{border:1px solid #e4eaf2;border-radius:8px;background:#fbfcfe;padding:13px}.ocr-row-head{display:flex;align-items:center;gap:8px;margin-bottom:12px}.ocr-row-head strong{font-size:11px;color:#3a5274}.ocr-row-head span{font-size:10px;color:#d37b31;background:#fff0df;padding:3px 6px;border-radius:4px}.ocr-row-head .text-button{margin-left:auto;font-size:10px}.ocr-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}.ocr-description{grid-column:span 2}.ocr-add-row{width:100%;margin:13px 0}.ocr-raw{font-size:11px;color:#697990}.ocr-raw summary{cursor:pointer}.ocr-raw pre{white-space:pre-wrap;word-break:break-word;background:#f5f7fa;padding:10px;border-radius:5px;max-height:150px;overflow:auto}.ocr-state{display:grid;place-items:center;text-align:center;min-height:250px;color:#3e5578}.ocr-state strong{font-size:14px}.ocr-state p{font-size:11px;color:#8997aa}.ocr-spinner{width:26px;height:26px;border:3px solid #dce8fb;border-top-color:#3573dc;border-radius:50%;animation:ocr-spin .8s linear infinite}@keyframes ocr-spin{to{transform:rotate(360deg)}}.ocr-footer{justify-content:flex-end;gap:8px;border-top:1px solid #edf0f5}.ocr-footer .form-error{margin-right:auto}.ocr-footer .btn:disabled{opacity:.5;cursor:not-allowed}@media(max-width:700px){.ocr-backdrop{padding:0}.ocr-dialog{width:100%;height:100dvh;max-height:none;border-radius:0}.ocr-head,.ocr-footer{padding:13px 14px}.ocr-head h2{font-size:14px}.ocr-head p{font-size:10px}.ocr-body{display:block;overflow:auto;flex:1}.ocr-source{padding:13px;border-right:0;border-bottom:1px solid #e8edf4}.ocr-source img{max-height:160px}.ocr-source p{margin-top:8px}.ocr-review{padding:14px;overflow:visible}.ocr-summary{align-items:flex-start}.ocr-summary span{max-width:130px;line-height:1.4}.ocr-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.ocr-description{grid-column:1/-1}.ocr-footer .form-error{font-size:10px;max-width:160px}.ocr-footer .btn{font-size:10px;padding:0 8px}.attachment-item{width:120px}.attachment-item img{width:120px;height:82px}}.ocr-zoom-button{margin-top:8px;font-size:11px}.ocr-zoom{position:fixed;inset:0;z-index:70;overflow:auto;background:#111b2af2;padding:60px 20px 20px}.ocr-zoom img{display:block;max-width:none;width:auto;height:auto;margin:auto;background:#fff}.ocr-zoom button{position:fixed;right:18px;top:16px;width:34px;height:34px;border:0;border-radius:50%;background:#fff;color:#253247;font-size:22px}.auth-screen{min-height:100vh;display:grid;place-items:center;padding:24px;background:#f6f8fb}.auth-card{width:min(100%,380px);padding:32px;background:#fff;border:1px solid var(--border);border-radius:12px;box-shadow:0 12px 40px #1c35500c}.auth-card>strong{display:block;font-size:14px;letter-spacing:.08em;margin:12px 0 4px}.auth-card h1{font-size:19px}.auth-card p{font-size:12px;color:var(--muted);margin-bottom:22px}.auth-card .field{display:block;margin-bottom:16px}.auth-card .field input{width:100%}.auth-card>.btn{width:100%;margin-top:6px}.auth-logo{width:40px;height:40px;display:grid;place-items:center;border-radius:10px;background:var(--blue);color:#fff;font-size:23px;font-weight:800}.logout-button{border:0;background:none;color:#718096;font-size:12px;padding:8px}.logout-button:hover{color:var(--blue)}.sidebar-bottom>.logout-button{margin:10px 0 0 41px}.topbar-right{font-size:12px;color:#64748b}.staff-page{max-width:980px}.staff-panel{margin-bottom:18px}.staff-form{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:end;gap:12px;padding:0 19px 19px}.staff-form .field input,.staff-form .field select{width:100%}.staff-form>.btn{grid-column:1/-1;justify-self:end}.staff-list{padding:0 19px 8px}.staff-row{display:flex;justify-content:space-between;align-items:center;gap:12px;border-top:1px solid var(--border);padding:12px 0}.staff-row>div:first-child strong,.staff-row>div:first-child span{display:block}.staff-row strong{font-size:12px}.staff-row span{font-size:11px;color:#8795a8;margin-top:4px}.staff-row>div:last-child{display:flex;gap:7px}@media(max-width:700px){.staff-form{grid-template-columns:1fr 1fr;padding:0 14px 16px}.staff-form>.btn{grid-column:1/-1;width:100%}.staff-list{padding:0 14px 7px}.staff-row{align-items:flex-start;flex-direction:column}.mobile-topbar .logout-button{font-size:11px}}@media(max-width:380px){.staff-form{grid-template-columns:1fr}}.connection-banner{position:fixed;top:0;left:50%;transform:translate(-50%);z-index:100;background:#fff1e6;color:#a44a0c;border:1px solid #ffd7ae;border-radius:0 0 8px 8px;padding:9px 16px;font-size:12px;box-shadow:0 4px 15px #623b1714;max-width:calc(100vw - 20px)}.main-shell{display:flex;flex-direction:column;min-height:100vh}.content{flex:1}.filing-footer{text-align:center;padding:14px 16px 22px;color:#8a98ab;font-size:11px}.filing-footer a{text-decoration:none}.filing-footer a:hover{text-decoration:underline}.auth-screen{position:relative;padding-bottom:52px}.auth-screen .filing-footer{position:absolute;bottom:0;left:0;right:0}@media(max-width:700px){.main-shell{min-height:100dvh}.main-shell>.filing-footer{padding-bottom:78px}}.staff-reset-form{display:flex;align-items:end;flex-wrap:wrap;gap:12px;padding:0 0 16px 16px}.staff-reset-form .field{flex:1 1 180px;max-width:260px}.staff-reset-form input{width:100%}.staff-reset-form>div{display:flex;gap:7px}@media(max-width:700px){.staff-reset-form{padding-left:0}.staff-reset-form .field{max-width:none}}.shipment-quantity-input{width:104px;max-width:100%;padding:8px;border:1px solid var(--border);border-radius:7px}.shipment-form-bottom{display:flex;align-items:end;flex-wrap:wrap;gap:12px}.shipment-form-bottom .field{flex:1 1 180px}.shipment-form-bottom .field input{width:100%}.shipment-form-bottom .btn{min-width:140px}.shipment-file-name{margin:10px 0 0;color:var(--muted);font-size:12px;overflow-wrap:anywhere}.shipment-history{border-top:1px solid var(--border);padding:16px 19px}.shipment-history>strong{font-size:13px}.shipment-history-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid var(--border)}.shipment-history-row:last-child{border-bottom:0}.shipment-history-row div{min-width:0}.shipment-history-row b,.shipment-history-row span{display:block;font-size:12px}.shipment-history-row span{margin-top:4px;color:var(--muted);overflow-wrap:anywhere}.shipment-history-row .text-button{flex:none;font-size:12px}@media(max-width:700px){.shipment-form-bottom .field,.shipment-form-bottom .btn{flex:1 1 100%}.shipment-history{padding:15px}.shipment-history-row{align-items:flex-start;flex-direction:column}}.page-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.staff-row>div:last-child{flex-wrap:wrap}.staff-reset-form .field select{width:100%}.history-shipping{color:var(--muted);font-size:11px}.progress-line small{color:#bc6916;margin-left:6px}@media(max-width:700px){.dashboard-heading{flex-direction:column;gap:6px}.dashboard-heading .page-actions{width:100%;justify-content:flex-start}}.order-text-entry{margin:0 0 22px;padding-bottom:22px;border-bottom:1px solid #edf0f5}.order-text-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px}.order-text-actions small{color:#7b899c;font-size:12px;line-height:1.6}.order-text-actions .btn{flex-shrink:0}.order-text-actions .btn:disabled{opacity:.5;cursor:not-allowed}.ocr-source-text{white-space:pre-wrap;overflow-wrap:anywhere;font-family:inherit;font-size:12px;line-height:1.7;max-height:390px;overflow:auto;margin:0}.ocr-warning{padding:10px 12px;background:#fff6e9;border:1px solid #ffe2b7;border-radius:6px;color:#996014;font-size:12px;line-height:1.7;margin:0 0 14px}.ocr-warning pre{white-space:pre-wrap;overflow-wrap:anywhere;margin:8px 0 0}.ocr-warning summary{cursor:pointer}@media(max-width:700px){.order-text-actions{align-items:stretch;flex-direction:column}.order-text-actions .btn{align-self:flex-end}.ocr-source-text{max-height:150px}}.ocr-text-correction{padding:12px 0}.ocr-text-correction p{font-size:11px;line-height:1.6;color:#8b99aa;margin:8px 0 12px}.ocr-text-correction textarea{min-height:120px}
