:root{color:#171a20;background:#f4f4f4;font-family:Universal Sans Text,ui-sans-serif,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;letter-spacing:0}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;background:#f4f4f4}.app-shell{min-height:100vh}.app-sider{position:sticky!important;top:0;align-self:flex-start;height:100vh;background:#fff!important;border-right:1px solid #eeeeee;overflow:hidden;z-index:10}.sider-inner{height:100vh;min-height:100vh;display:flex;flex-direction:column;justify-content:space-between}.brand-block{display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding:22px 16px 18px}.brand-logo{flex:0 0 auto;width:min(100%,176px);height:auto;max-height:80px;border-radius:4px;object-fit:contain}.brand-copy{width:100%;min-width:0;display:flex;flex-direction:column;gap:4px}.brand-title{color:#171a20;font-size:16px;font-weight:500;line-height:1.2;white-space:normal}.brand-subtitle{color:#5c5e62;font-size:12px;line-height:1.4}.sidebar-actions{width:100%;padding:16px;border-top:1px solid #eeeeee}.sidebar-actions .ant-btn,.sidebar-actions .ant-dropdown-trigger{width:100%}.app-header{display:flex;align-items:center;justify-content:flex-end;height:64px;padding:0 24px;background:#ffffffdb;border-bottom:1px solid #eeeeee;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.app-content{padding:24px}.page-stack{display:flex;flex-direction:column;gap:16px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.page-heading .ant-typography{margin:0}.login-page{position:relative;min-height:100vh;display:grid;grid-template-columns:minmax(0,1fr) minmax(400px,36vw);background:#171a20}.login-visual{position:absolute;top:0;right:0;bottom:0;left:0;z-index:0;overflow:hidden;background:#171a20}.login-bg-image{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:cover;object-position:center}.login-auth-panel{position:relative;z-index:1;grid-column:2;min-height:100vh;display:grid;grid-template-rows:auto 1fr;background:#fff}.login-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:24px 32px}.login-system-code{color:#393c41;font-size:13px;font-weight:500}.login-auth-stack{width:min(360px,calc(100vw - 48px));align-self:center;justify-self:center;display:flex;flex-direction:column;align-items:flex-start;padding:24px 0 56px}.login-brand-lockup{width:100%;margin-bottom:26px}.login-logo-strip{display:flex;align-items:center;justify-content:flex-start;width:100%;margin-bottom:18px}.login-logo-primary{display:block;margin-left:0;width:min(100%,260px);height:auto;max-height:120px;object-fit:contain;object-position:left center;background:#fff}.login-company-link{display:inline-flex;margin-bottom:8px;color:#5c5e62;font-size:13px;font-weight:400;text-decoration:none;transition:color .33s,box-shadow .33s cubic-bezier(.5,0,0,.75)}.login-company-link:hover{color:#171a20;box-shadow:0 1px #171a20}.login-brand-lockup h2.ant-typography{margin:0;color:#171a20;font-size:26px;line-height:1.1;font-weight:500;white-space:nowrap}.login-card{width:100%;align-self:stretch;background:transparent}.login-title{width:100%;margin-bottom:22px}.login-title h3.ant-typography{margin:0}.captcha-control{display:grid;grid-template-columns:minmax(0,1fr) 118px;gap:10px;align-items:end}.captcha-input-item{margin-bottom:24px}.captcha-code-button{height:38px;width:100%;margin-bottom:24px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:0 8px;border:1px solid #d0d1d2;border-radius:4px;color:#393c41;background:#fff;font:500 15px/1 Courier New,monospace;cursor:pointer;transition:border-color .33s,background-color .33s,color .33s}.captcha-code-button img{width:76px;height:28px;object-fit:contain}.captcha-code-button:hover{border-color:#3e6ae1;color:#171a20}.captcha-code-button .anticon{font-size:13px}.full-page-spin{min-height:100vh;display:grid;place-items:center}.clickable-row{cursor:pointer}.deleted-row>td{color:#8e8e8e!important;background:#f1f1f1!important}.deleted-row .ant-tag,.deleted-row .ant-typography,.deleted-row .attachment-name{color:#8e8e8e!important}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px}.full-width{width:100%}.shipment-location-popup-search{position:sticky;top:0;z-index:1;padding:8px;background:#fff;border-bottom:1px solid #eeeeee}.compact-form-item{width:50%}.location-search{width:min(360px,100%)}.location-i18n-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.location-i18n-group{padding:12px;border:1px solid #eeeeee;border-radius:4px;background:#fff}.location-i18n-group .ant-form-item{margin-bottom:10px}.map-section{display:grid;grid-template-columns:minmax(320px,1fr);gap:16px}.shipment-map{width:100%;min-height:420px;overflow:hidden;border-radius:4px;background:#eee}.shipment-map-marker{display:block;width:14px;height:14px;border-radius:50%;border:2px solid #ffffff;background:#3e6ae1}.shipment-map-marker-preset{background:#1f8f4d}.stage-timeline-horizontal{display:flex;flex-direction:column;gap:18px}.stage-track{display:grid;grid-auto-columns:minmax(178px,1fr);grid-auto-flow:column;gap:0;overflow-x:auto;padding:2px 2px 12px}.stage-node{position:relative;min-width:178px;min-height:126px;display:flex;flex-direction:column;gap:10px;align-items:flex-start;padding:0 12px 10px 0;border:0;color:inherit;background:transparent;text-align:left;cursor:pointer}.stage-node:before{content:"";position:absolute;top:76px;left:34px;right:0;height:2px;background:#eee}.stage-node:last-child:before{display:none}.stage-node-marker{position:relative;z-index:1;width:30px;height:30px;display:inline-flex;align-items:center;justify-content:center;border:2px solid #d0d1d2;border-radius:50%;background:#fff;color:#5c5e62;font-size:13px;font-weight:500;transition:border-color .33s,background-color .33s,color .33s}.stage-node-content{order:-1;min-width:0;width:calc(100% - 12px);display:flex;flex-direction:column;gap:5px;padding-top:2px}.stage-node-title{overflow:hidden;color:#171a20;font-size:14px;font-weight:500;line-height:1.3;text-overflow:ellipsis;white-space:nowrap;transition:color .33s}.stage-node-status{min-height:24px}.stage-node-evidence{color:#5c5e62;font-size:12px;line-height:1.4}.stage-node:hover .stage-node-marker,.stage-node-active .stage-node-marker{border-color:#3e6ae1;color:#3e6ae1}.stage-node-active .stage-node-title{color:#3e6ae1}.stage-node-completed:before{background:#3e6ae1}.stage-node-completed .stage-node-marker{border-color:#3e6ae1;background:#3e6ae1;color:#fff}.stage-node-exception .stage-node-marker{border-color:#c47f00;background:#fff7e6;color:#8a5700}.stage-node-exception .stage-node-title{color:#8a5700}.stage-detail-panel{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(280px,.9fr);gap:16px;padding:16px;border:1px solid #eeeeee;border-radius:4px;background:#fff}.stage-detail-main,.stage-evidence{min-width:0;display:flex;flex-direction:column;gap:8px}.timeline-meta{display:flex;flex-wrap:wrap;gap:8px 18px;font-size:12px}.tab-risk-stack{width:100%}.stage-risk-list{width:100%;display:flex;flex-direction:column;gap:10px}.stage-risk-item{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:12px 14px;border:1px solid #eeeeee;border-radius:4px}.stage-risk-active{border-color:#fff0c2;background:#fff8e8}.stage-risk-resolved{border-color:#d9e8ff;background:#f3f8ff}.stage-risk-item-main{min-width:0;display:flex;flex-direction:column;gap:6px}.stage-risk-actions{flex:0 0 auto}.attachment-cell{max-width:360px}.attachment-name{display:inline-block;max-width:220px;overflow:hidden;text-overflow:ellipsis;vertical-align:bottom;white-space:nowrap}.attachment-preview-modal .ant-modal-body{min-height:420px;max-height:calc(100vh - 180px);padding:0;overflow:hidden;background:#f4f4f4}.attachment-preview-image{display:block;width:100%;max-height:calc(100vh - 180px);object-fit:contain;background:#171a20}.attachment-preview-pdf{display:block;width:100%;height:min(72vh,760px);border:0;background:#fff}.ant-card{box-shadow:none}.ant-card,.ant-modal-content,.ant-table-wrapper .ant-table,.ant-select-dropdown,.ant-dropdown-menu{box-shadow:none!important}.ant-card,.ant-modal-content{border-radius:4px}.ant-card-head{font-weight:500}.ant-btn{font-weight:500;transition:border-color .33s,background-color .33s,color .33s,box-shadow .25s}.ant-btn-primary{background:#3e6ae1}.ant-tag,.ant-tag-blue,.ant-tag-processing,.ant-tag-cyan,.ant-tag-green,.ant-tag-gold,.ant-tag-orange,.ant-tag-red,.ant-tag-default{border-color:#eee;color:#393c41;background:#fff}.ant-tag .anticon{color:#3e6ae1}.ant-alert-info,.ant-alert-warning{border-color:#eee;color:#393c41;background:#fff}.ant-alert-info .ant-alert-icon,.ant-alert-warning .ant-alert-icon{color:#3e6ae1}.ant-table-wrapper{overflow-x:auto}.ant-table-wrapper .ant-table-thead>tr>th{height:auto;min-height:40px;padding-top:10px;padding-bottom:10px;line-height:1.45;overflow:visible;vertical-align:middle}.customer-dashboard{display:flex;flex-direction:column;gap:24px}.customer-dashboard-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.customer-dashboard-heading h1.ant-typography{margin:0;color:#171a20;font-size:34px;line-height:1.16;font-weight:500}.customer-dashboard-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.customer-metric-card{min-height:128px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:8px;padding:20px;border:1px solid #eeeeee;border-radius:4px;color:#171a20;background:#fff;text-align:left;cursor:pointer;transition:border-color .33s,background-color .33s,color .33s}.customer-metric-card:hover,.customer-metric-card-active{border-color:#3e6ae1}.customer-metric-card-active{background:#f7f9ff}.customer-metric-title{color:#5c5e62;font-size:14px;line-height:1.35}.customer-metric-value{color:#171a20;font-size:34px;line-height:1;font-weight:500}.customer-metric-desc{color:#5c5e62;font-size:13px;line-height:1.45}.customer-metric-card-attention .customer-metric-value{color:#8a5a00}.customer-dashboard-grid{display:grid;grid-template-columns:minmax(0,1.9fr) minmax(420px,.95fr);gap:24px;align-items:start}.customer-order-list-card,.customer-summary-card{min-width:0}.dashboard-section-heading{margin-bottom:20px}.dashboard-section-heading h3.ant-typography{margin:0;color:#171a20;font-size:24px;line-height:1.2;font-weight:500}.customer-order-filters{display:grid;grid-template-columns:minmax(240px,1fr) minmax(180px,280px);gap:16px;margin-bottom:22px}.customer-filter-item{min-width:0;display:flex;flex-direction:column;gap:8px}.customer-filter-item .ant-select{width:100%}.customer-order-row-active>td{background:#eef4ff!important}.customer-status-pill{display:inline-flex;align-items:center;min-height:26px;max-width:100%;padding:3px 12px;border-radius:999px;color:#2f5fb8;background:#edf4ff;font-size:13px;font-weight:500;line-height:1.35;white-space:nowrap}.customer-status-exception{color:#7a4f00;background:#fff7e6}.customer-status-delivered{color:#393c41;background:#eee}.customer-status-rd{color:#315f9e;background:#edf5ff}.customer-status-shipping{color:#245d67;background:#e9f7f9}.customer-summary-card{position:sticky;top:88px}.customer-summary-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:26px}.customer-summary-head h2.ant-typography{margin:0;color:#171a20;font-size:25px;line-height:1.2;font-weight:500}.customer-summary-fields{display:grid;grid-template-columns:repeat(2,minmax(150px,1fr));gap:18px 20px}.customer-summary-field{min-width:0;display:flex;flex-direction:column;gap:6px}.customer-summary-field .ant-typography{min-width:0;overflow-wrap:break-word}.customer-summary-field .ant-typography:first-child{line-height:1.35}.customer-summary-field .ant-typography:last-child{color:#171a20;line-height:1.45}.customer-summary-notice{margin-top:24px;padding:16px 18px;border-color:#fff0c2;color:#6b4a0a;background:#fff8e8}.customer-summary-risk-list{display:flex;flex-direction:column;gap:8px;margin-top:24px}.customer-summary-risk-card{min-width:0;display:grid;grid-template-columns:minmax(96px,.38fr) minmax(0,1fr);gap:12px;align-items:flex-start;padding:12px 14px;border:1px solid #fff0c2;border-radius:4px;color:#6b4a0a;background:#fff8e8}.customer-summary-risk-meta{min-width:0;display:flex;flex-direction:column;gap:4px}.customer-summary-risk-label,.customer-summary-risk-stage,.customer-summary-risk-reason{min-width:0;overflow-wrap:anywhere}.customer-summary-risk-reason{color:#393c41}.customer-summary-divider{height:1px;margin:26px 0 20px;background:#eee}.key-date-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.key-date-heading h4.ant-typography{margin:0;color:#171a20;font-size:18px;line-height:1.3;font-weight:500}.key-date-calendar-wrap{--key-date-calendar-body-height: 330px;--key-date-calendar-weekday-height: 20px;min-width:0;border:1px solid #eeeeee;border-radius:4px;overflow:hidden;background:#fff}.key-date-calendar-panel{position:relative;background:#fff}.key-date-calendar-controls{display:flex;justify-content:flex-end;gap:10px;padding:12px 24px;border-bottom:1px solid #eeeeee}.key-date-calendar-controls .ant-select{min-width:104px}.key-date-calendar-weekdays{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));height:var(--key-date-calendar-weekday-height)}.key-date-calendar-weekdays span{min-width:0;display:flex;align-items:center;justify-content:flex-end;padding:0 8px 0 0;color:#5c5e62;font-size:11px;font-weight:500;border-bottom:1px solid #eeeeee}.key-date-calendar-grid{height:var(--key-date-calendar-body-height);display:grid;grid-template-columns:repeat(7,minmax(0,1fr));grid-template-rows:repeat(6,minmax(0,1fr))}.key-date-calendar-cell{min-width:0;position:relative;border-top:1px solid #eeeeee;background:#fff;cursor:pointer;overflow:hidden}.key-date-calendar-cell:hover{background:#f7f7f7}.key-date-calendar-cell-current .key-date-calendar-date-value{color:#393c41}.key-date-calendar-cell:not(.key-date-calendar-cell-current) .key-date-calendar-date-value{color:#8e8e8e}.key-date-calendar-cell-selected .key-date-calendar-date-value,.key-date-calendar-cell-today .key-date-calendar-date-value{color:#3e6ae1}.key-date-calendar-cell-selected:after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:2px;background:#3e6ae1;z-index:4}.key-date-calendar-date-value{position:relative;z-index:4;display:block;padding:4px 8px 0 0;color:#393c41;font-size:10px;line-height:12px;text-align:right}.key-date-calendar-year-grid{min-height:var(--key-date-calendar-body-height);display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;background:#eee}.key-date-calendar-month-cell{border:0;background:#fff;color:#393c41;font:inherit;cursor:pointer}.key-date-calendar-month-cell:hover{background:#f7f7f7}.key-date-overlay-cell{min-width:0;position:absolute;top:0;right:0;bottom:0;left:0;overflow:hidden}.key-date-range-stack{position:absolute;top:15px;right:0;bottom:7px;left:0}.key-date-range-segment{--key-date-color: #3e6ae1;--key-date-bg: #eef4ff;--key-date-range-index: 0;--key-date-range-count: 1;position:absolute;left:1px;right:1px;top:calc((100% / var(--key-date-range-count)) * var(--key-date-range-index));height:calc(100% / var(--key-date-range-count));z-index:1;display:block;min-width:0;pointer-events:auto;color:#fff;background:var(--key-date-color);border-top:1px solid #ffffff;border-bottom:1px solid #ffffff;overflow:hidden}.key-date-range-start,.key-date-range-middle{right:-1px}.key-date-range-end,.key-date-range-middle{left:-1px}.key-date-range-single,.key-date-range-start,.key-date-range-end,.key-date-range-middle{border-radius:0}.key-date-range-label{display:flex;align-items:center;height:100%;max-width:100%;padding:0 6px;color:#fff;font-size:10px;line-height:1;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.key-date-point-dots{position:absolute;left:4px;right:4px;bottom:2px;z-index:2;display:flex;align-items:center;gap:3px;min-width:0;pointer-events:auto}.key-date-point-dot{--key-date-color: #3e6ae1;--key-date-bg: #eef4ff;flex:0 0 auto;width:4px;height:4px;border:1px solid var(--key-date-color);border-radius:50%;background:var(--key-date-color)}.key-date-point-more{color:#5c5e62;font-size:9px;line-height:1}.key-date-empty-cell{display:block;height:1px}.key-date-stage-legend{display:flex;flex-direction:column;gap:8px;padding:12px;border-top:1px solid #eeeeee;background:#fbfbfb}.key-date-legend-list{display:flex;flex-wrap:wrap;gap:7px}.key-date-legend-item{min-width:0;display:inline-flex;align-items:center;gap:6px;max-width:100%;color:#393c41;font-size:12px;line-height:1.3}.key-date-legend-swatch{--key-date-color: #3e6ae1;--key-date-bg: #eef4ff;flex:0 0 auto;width:18px;height:8px;border-radius:2px;background:var(--key-date-color)}.key-date-legend-text{min-width:0;overflow-wrap:anywhere}.key-date-calendar-empty{padding:18px 0;border:1px solid #eeeeee;border-radius:4px;background:#fbfbfb}.customer-summary-detail-button{width:100%;margin-top:18px}@media(max-width:1280px){.customer-dashboard-grid{grid-template-columns:1fr}.customer-summary-card{position:static}.customer-summary-fields{grid-template-columns:repeat(4,minmax(140px,1fr))}.customer-summary-risk-card{grid-template-columns:minmax(116px,.28fr) minmax(0,1fr)}.key-date-calendar-wrap{--key-date-calendar-body-height: 300px}}@media(max-width:1100px){.customer-dashboard-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.customer-summary-fields{grid-template-columns:repeat(2,minmax(160px,1fr))}}@media(max-width:768px){.app-shell{display:block}.app-sider{position:relative!important;top:auto;height:auto;width:100%!important;min-width:100%!important;max-width:100%!important;overflow:visible}.sider-inner{height:auto;min-height:auto}.brand-block{padding:16px}.sidebar-actions{display:flex;flex-direction:row!important;gap:8px}.sidebar-actions .ant-space-item{flex:1;min-width:0}.app-header{height:auto;padding:12px 16px;align-items:flex-start}.app-content{padding:16px}.page-heading{align-items:flex-start;flex-direction:column}.form-grid{grid-template-columns:1fr}.compact-form-item,.location-search{width:100%}.location-i18n-grid,.stage-detail-panel{grid-template-columns:1fr}.customer-dashboard-heading{flex-direction:column}.customer-dashboard-heading h1.ant-typography{font-size:clamp(26px,8vw,32px)}.customer-dashboard-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.customer-dashboard-grid,.customer-order-filters,.customer-summary-fields,.customer-summary-field,.customer-summary-risk-card{grid-template-columns:1fr}.customer-summary-card{position:static}.customer-summary-head{flex-direction:column}.key-date-calendar-wrap{--key-date-calendar-body-height: 300px}.key-date-calendar-controls{justify-content:flex-start;padding:10px 12px}.key-date-range-label{font-size:9px}}@media(max-width:900px){.login-page{grid-template-columns:1fr}.login-visual{position:fixed}.login-auth-panel{grid-column:1;min-height:100vh}.login-header{padding:18px 24px}.login-auth-stack{padding:18px 0 36px}}@media(max-width:480px){.login-auth-stack{width:min(100% - 32px,360px)}.login-brand-lockup h2.ant-typography{font-size:clamp(20px,6.1vw,25px);letter-spacing:0}.captcha-control{grid-template-columns:minmax(0,1fr) 108px;gap:8px}.customer-dashboard-metrics{grid-template-columns:1fr}.customer-metric-card{min-height:112px}.key-date-calendar-wrap{--key-date-calendar-body-height: 276px}.key-date-calendar-controls{flex-wrap:wrap}.key-date-calendar-controls .ant-select{flex:1 1 104px}.key-date-point-dot{width:3px;height:3px}}
