:root{color:#17212b;background:#f4f7f9;font-family:Inter,Noto Sans SC,Microsoft YaHei,system-ui,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}html,body,#root{min-height:100%;margin:0}button,input,select,textarea{font:inherit;letter-spacing:0}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}.app-shell{min-height:100vh;display:flex;flex-direction:column}.topbar{height:64px;display:flex;align-items:center;gap:12px;padding:0 28px;background:#fff;border-bottom:1px solid #dce3e8;position:sticky;top:0;z-index:20}.brand-mark{width:36px;height:36px;display:grid;place-items:center;background:#17324d;color:#fff;border-radius:7px}.brand-copy{display:flex;flex-direction:column;min-width:0}.brand-copy strong{font-size:15px}.brand-copy span{color:#73808c;font-size:11px;margin-top:2px}.topbar-meta{margin-left:auto;display:flex;align-items:center;gap:7px;color:#63717d;font-size:12px}.online-dot{width:8px;height:8px;border-radius:50%;background:#279363;box-shadow:0 0 0 3px #e1f3ea}.workspace{width:min(1540px,100%);margin:0 auto;padding:30px 28px 40px;flex:1}.page-heading{display:flex;justify-content:space-between;gap:20px;align-items:flex-end;margin-bottom:22px}.page-heading h1{margin:0;font-size:26px;line-height:1.2;letter-spacing:0}.page-heading p{margin:8px 0 0;color:#6e7b86;font-size:13px}.heading-actions{display:flex;gap:10px}.button{min-height:38px;border-radius:7px;border:1px solid transparent;padding:0 15px;display:inline-flex;align-items:center;justify-content:center;gap:7px;font-size:13px;font-weight:650;transition:.16s ease;white-space:nowrap}.button.primary{background:#17324d;border-color:#17324d;color:#fff}.button.primary:hover{background:#224666}.button.secondary{background:#fff;border-color:#cfd8df;color:#2c3b47}.button.secondary:hover{background:#f2f6f8;border-color:#aebcc6}.button.compact{min-height:34px;padding:0 12px}.button.full{width:100%}.icon-button{width:32px;height:32px;padding:0;border:0;background:transparent;color:#667580;display:inline-grid;place-items:center;border-radius:6px}.icon-button:hover{background:#edf2f5;color:#243746}.icon-button.bordered{border:1px solid #d7e0e6;background:#fff}.icon-button.danger:hover{color:#b73535;background:#fff1f1;border-color:#efc4c4}.notice{min-height:42px;display:flex;align-items:center;gap:9px;border:1px solid;border-radius:7px;padding:7px 8px 7px 12px;margin-bottom:16px;font-size:13px}.notice span{flex:1}.notice.success{background:#effaf4;border-color:#bce5cd;color:#187047}.notice.error{background:#fff3f2;border-color:#edc8c5;color:#a43530}.notice.info{background:#f2f7fb;border-color:#c7dce9;color:#285f7d}.stats-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));background:#fff;border:1px solid #dce3e8;border-radius:8px;overflow:hidden;margin-bottom:16px}.stat{min-height:84px;border:0;border-right:1px solid #e3e9ed;background:#fff;text-align:left;padding:16px 20px;display:flex;flex-direction:column;justify-content:center;gap:5px;color:#687681;position:relative}.stat:last-child{border-right:0}.stat:hover{background:#f8fafb}.stat.active:after{content:"";position:absolute;left:18px;right:18px;bottom:0;height:3px;background:#34778e}.stat span{font-size:12px}.stat strong{font-size:25px;color:#172b3b}.records-panel{background:#fff;border:1px solid #dce3e8;border-radius:8px;overflow:hidden}.toolbar{min-height:62px;padding:12px 16px;border-bottom:1px solid #e1e7eb;display:flex;align-items:center;justify-content:space-between;gap:16px}.filter-tabs{display:flex;padding:3px;background:#edf2f5;border-radius:7px}.filter-tab{min-height:32px;min-width:66px;border:0;border-radius:5px;background:transparent;color:#61707b;font-size:12px;padding:0 11px}.filter-tab.active{background:#fff;color:#1d3446;font-weight:650;box-shadow:0 1px 3px #1e3a4b1a}.search-box{width:min(360px,100%);height:38px;display:flex;align-items:center;gap:8px;border:1px solid #ccd6dd;border-radius:7px;padding:0 8px 0 11px;color:#74838e;background:#fff}.search-box:focus-within{border-color:#4a7c91;box-shadow:0 0 0 3px #3d7a9320}.search-box input{min-width:0;flex:1;border:0;outline:0;background:transparent;font-size:13px;color:#1c2e3b}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;min-width:1280px;table-layout:fixed}th{padding:11px 12px;background:#f5f8fa;border-bottom:1px solid #dbe3e8;color:#52616c;font-size:11px;font-weight:700;text-align:left}td{padding:12px;border-bottom:1px solid #e8edf0;color:#344551;font-size:12px;vertical-align:middle}tbody tr:hover{background:#f8fafb}tbody tr:last-child td{border-bottom:0}th:nth-child(1){width:148px}th:nth-child(2){width:100px}th:nth-child(3){width:100px}th:nth-child(4){width:78px}th:nth-child(5){width:142px}th:nth-child(6){width:340px}th:nth-child(7){width:150px}th:nth-child(8){width:130px}th:nth-child(9){width:82px}.tracking-link{border:0;padding:0;background:transparent;color:#226a88;font-weight:700;text-decoration:none}.tracking-link:hover{text-decoration:underline}.status{display:inline-flex;align-items:center;min-height:24px;padding:2px 8px;border-radius:5px;border:1px solid;font-size:11px;font-weight:650;white-space:nowrap}.status.signed{color:#13704a;background:#eaf8f0;border-color:#bae3cc}.status.exception{color:#a13232;background:#fff1f1;border-color:#ecc4c4}.status.delivery{color:#236989;background:#ecf7fb;border-color:#badce9}.status.transit{color:#9a6114;background:#fff7e8;border-color:#ecd29d}.status.waiting{color:#68747e;background:#f3f5f6;border-color:#dce1e4}.detail-cell,.note-cell{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.row-actions{display:flex;gap:6px}.mobile-list{display:none}.empty-state{min-height:330px;padding:40px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#89959d;gap:10px}.empty-state strong{color:#42525d;font-size:15px}.empty-state span{font-size:12px}.footer{padding:18px 28px 28px;text-align:center;color:#84919a;font-size:11px}.spin{animation:spin .9s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.modal-backdrop{position:fixed;inset:0;z-index:50;background:#17232dcc;display:grid;place-items:center;padding:24px}.modal{width:min(920px,100%);max-height:min(760px,calc(100vh - 48px));overflow:hidden;display:flex;flex-direction:column;background:#fff;border:1px solid #cbd5dc;border-radius:8px;box-shadow:0 20px 60px #0710194d}.modal-header{flex:0 0 auto;min-height:76px;display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:18px 20px;border-bottom:1px solid #dfe6ea}.modal-header h2{margin:0;font-size:18px;letter-spacing:0}.modal-header p{margin:5px 0 0;color:#71808b;font-size:12px}.modal-body{padding:20px;overflow-y:auto}.modal-footer{min-height:64px;padding:12px 20px;border-top:1px solid #dfe6ea;display:flex;justify-content:flex-end;align-items:center;gap:9px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:15px}.field{display:flex;flex-direction:column;gap:7px}.field.wide+.field.wide{margin-top:15px}.field>span{color:#394b58;font-size:12px;font-weight:700}.field small{color:#75838d;font-size:11px;line-height:1.6}.field input,.field select,.field textarea{width:100%;border:1px solid #cbd6dd;border-radius:6px;background:#fff;color:#243642;padding:9px 11px;outline:0;font-size:13px}.field input,.field select{height:40px}.field textarea{resize:vertical;line-height:1.6;min-height:90px}.field input:focus,.field select:focus,.field textarea:focus{border-color:#4c8095;box-shadow:0 0 0 3px #35738b1c}.detail-layout{display:grid;grid-template-columns:260px minmax(0,1fr);min-height:480px;overflow:hidden}.edit-panel{padding:20px;border-right:1px solid #dfe6ea;background:#f7f9fa;display:flex;flex-direction:column;gap:14px;overflow-y:auto}.timeline-panel{padding:20px 24px;overflow-y:auto}.timeline-heading{display:flex;align-items:center;gap:8px;padding-bottom:16px;border-bottom:1px solid #e2e8ec;color:#344957}.timeline-heading span{margin-left:auto;color:#84919a;font-size:11px}.timeline-empty{min-height:300px;display:grid;place-items:center;color:#85929b;font-size:13px}.timeline{list-style:none;margin:0;padding:19px 0 0 4px}.timeline li{display:grid;grid-template-columns:14px minmax(0,1fr);gap:12px;position:relative;padding:0 0 24px}.timeline li:not(:last-child):before{content:"";position:absolute;left:5px;top:13px;bottom:-2px;width:1px;background:#ccd6dd}.timeline i{width:11px;height:11px;margin-top:3px;border-radius:50%;border:2px solid #a5b3bc;background:#fff;z-index:1}.timeline .latest i{border-color:#2c7894;background:#2c7894;box-shadow:0 0 0 4px #dceef4}.timeline time{color:#7a8892;font-size:11px}.timeline p{margin:5px 0 0;color:#3e4f5b;font-size:13px;line-height:1.55}.timeline .latest p{color:#173e52;font-weight:650}@media(max-width:820px){.topbar{height:58px;padding:0 16px}.topbar-meta{font-size:0}.workspace{padding:20px 14px 30px}.page-heading{align-items:flex-start;flex-direction:column}.page-heading h1{font-size:22px}.heading-actions{width:100%}.heading-actions .button{flex:1}.stats-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.stat{min-height:70px;border-bottom:1px solid #e3e9ed}.stat:nth-child(2){border-right:0}.stat:nth-child(3),.stat:nth-child(4){border-bottom:0}.stat strong{font-size:21px}.toolbar{align-items:stretch;flex-direction:column}.filter-tabs{width:100%;display:grid;grid-template-columns:repeat(4,1fr)}.filter-tab{min-width:0;padding:0 5px}.search-box{width:100%}.table-wrap{display:none}.mobile-list{display:block;padding:10px;background:#f6f8f9}.shipment-card{background:#fff;border:1px solid #dbe3e8;border-radius:7px;padding:14px;margin-bottom:9px}.card-topline{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.card-topline>div{min-width:0;display:flex;flex-direction:column;gap:4px}.card-topline strong{font-size:13px;overflow-wrap:anywhere}.card-topline>div span{color:#75838d;font-size:11px}.shipment-card>p{color:#465661;line-height:1.55;font-size:12px;margin:13px 0}.card-meta{display:flex;align-items:center;gap:6px;color:#7a8790;font-size:11px}.card-actions{display:flex;justify-content:space-between;align-items:center;margin-top:13px;padding-top:11px;border-top:1px solid #e6ebee}.modal-backdrop{padding:10px;place-items:end center}.modal{max-height:calc(100vh - 20px)}.form-grid{grid-template-columns:1fr}.detail-layout{grid-template-columns:1fr;overflow-y:auto}.edit-panel{border-right:0;border-bottom:1px solid #dfe6ea;overflow:visible}.timeline-panel{overflow:visible}}@media(max-width:440px){.brand-copy span{display:none}.button{padding:0 10px}.page-heading p{line-height:1.5}.modal-header,.modal-body,.modal-footer,.edit-panel,.timeline-panel{padding-left:15px;padding-right:15px}}
