:root{font-family:Inter,PingFang SC,Microsoft YaHei,sans-serif;color:#172033;background:#f3f6fa;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-width:320px}.screen-center{min-height:100vh;display:grid;place-items:center}.app-shell{min-height:100vh}.app-sider{position:sticky!important;top:0;height:100vh;background:#082f67!important}.brand{height:76px;display:flex;align-items:center;gap:12px;padding:14px 16px;color:#fff;border-bottom:1px solid rgba(255,255,255,.12)}.brand-mark{width:40px;height:40px;display:grid;place-items:center;border-radius:10px;background:#2d8cff;font-weight:800}.brand strong,.brand span{display:block}.brand span{margin-top:2px;font-size:12px;color:#b9d4f4}.app-sider .ant-menu{background:transparent;padding:12px 8px}.topbar{position:sticky;top:0;z-index:10;height:64px;padding:0 24px;background:#fff;border-bottom:1px solid #e3e9f1;display:flex;align-items:center;justify-content:space-between}.user-trigger{cursor:pointer;padding:6px 8px;border-radius:8px}.user-trigger:hover{background:#f3f6fa}.user-trigger span span,.user-trigger small{display:block}.user-trigger small{font-size:10px;color:#68758a}.workspace{padding:24px;min-width:0}.workspace-inner{width:100%;max-width:1680px;margin:0 auto}.page-heading{min-height:66px;display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:20px;border-bottom:1px solid #dce4ef}.page-heading h2{margin:0 0 4px!important}.metric-card{height:100%;border-top:3px solid #1769c2}.dashboard-grid .ant-card{height:calc(100% - 16px)}.section-card{margin-top:16px}.filter-bar{width:100%;margin-bottom:16px}.filter-bar .ant-input-affix-wrapper{width:300px}.filter-bar .ant-select{width:190px}.import-search-card .ant-form{align-items:flex-start}.timeline-card{position:sticky;top:88px;max-height:calc(100vh - 112px);overflow:auto}.login-page{min-height:100vh;display:grid;grid-template-columns:minmax(320px,.9fr) minmax(440px,1.1fr);background:#fff}.login-brand{padding:64px;display:flex;flex-direction:column;justify-content:space-between;background:linear-gradient(145deg,#062c62,#0b5daf 68%,#1687dc);color:#fff}.login-logo{font-size:14px;font-weight:800;letter-spacing:.16em}.login-brand h1{margin:24px 0 8px;font-size:38px}.login-brand p{color:#c6dcf5}.login-form{display:grid;place-items:center;padding:28px;background:#f6f8fb}.login-form .ant-card{width:min(430px,100%);box-shadow:0 20px 60px #0d35671f}.login-form .ant-alert{margin-bottom:16px}.file-preview{width:100%;height:70vh;border:1px solid #dce4ef}.image-preview{display:block;max-width:100%;max-height:70vh;margin:auto}@media(max-width:1200px){.timeline-card{position:static;max-height:none}}@media(max-width:780px){.login-page{display:block;background:#f6f8fb}.login-brand{min-height:210px;padding:32px}.login-brand h1{font-size:28px}.login-form{padding:18px}.workspace{padding:16px}.topbar{padding:0 12px}.page-heading{align-items:flex-start;flex-direction:column;padding-bottom:14px}.page-heading>div:last-child,.order-detail-heading>.ant-space{width:100%}.page-heading .ant-btn{flex:1}.filter-bar .ant-input-affix-wrapper,.filter-bar .ant-select{width:100%}}.in-transit-summary,.stock-refresh-alert{margin-bottom:12px}.in-transit-chart{display:grid;gap:10px}.in-transit-item{display:grid;gap:8px}.in-transit-bar{width:100%;display:grid;grid-template-columns:minmax(120px,260px) 1fr auto;align-items:center;gap:12px;padding:10px 12px;border:1px solid #dce4ef;border-radius:10px;background:#fff;text-align:left;cursor:pointer}.in-transit-bar:hover{border-color:#1769c2;background:#f7fbff}.in-transit-label{font-weight:600;color:#172033;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.in-transit-bar strong{min-width:56px;text-align:right;color:#0b4aa2}.in-transit-details{display:grid;gap:8px;padding:0 8px 8px}.in-transit-detail-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.in-transit-detail-grid span{display:grid;gap:4px;color:#687386}.in-transit-detail-grid strong{color:#172033}.in-transit-receipts{margin:10px 0 4px!important;overflow-wrap:anywhere}@media(max-width:780px){.in-transit-bar{grid-template-columns:1fr auto;gap:6px}.in-transit-bar .ant-progress{grid-column:1 / -1;order:3}.in-transit-label{white-space:normal}.in-transit-bar strong{text-align:right}.in-transit-details{padding:0}.in-transit-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}.qc-source-warning{margin-bottom:16px}.qc-requirements{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.qc-requirements pre{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;line-height:1.6}.qc-file-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:12px}.qc-file-grid .ant-card,.qc-file-grid .ant-space{min-width:0;width:100%}.qc-report-list{display:grid;gap:14px}.qc-attachment-list{margin-top:12px}.qc-product-image-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:12px}.qc-product-image-card .ant-card-body{display:grid;gap:8px;justify-items:start;min-width:0}.qc-form-row{width:100%}.qc-form-row>.ant-space-item{flex:1;min-width:220px}.qc-form-row .ant-form-item,.qc-form-row .ant-input-number{width:100%}.qc-review-comment{margin-top:16px}.qc-menu-label{display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0;width:100%}.qc-menu-label>.ant-badge{flex:none}.topbar{min-height:64px;overflow:visible}.user-trigger{display:flex!important;align-items:center;min-height:44px;line-height:1.25;white-space:nowrap;overflow:visible}.user-trigger>span:last-child{display:flex;min-width:0;flex-direction:column;justify-content:center}.user-trigger .ant-typography{line-height:20px}.user-trigger small{line-height:16px}.route-view{min-width:0}.page-state{padding:24px 0}.page-heading{padding-bottom:14px}.metric-card.actionable{cursor:pointer;transition:transform .15s ease,box-shadow .15s ease}.metric-card.actionable:hover,.metric-card.actionable:focus-within{transform:translateY(-2px);box-shadow:0 8px 22px #0d35671f}.metric-card a{display:block;color:inherit}.result-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.compact-empty{padding:12px 0}.detail-actions{justify-content:flex-end}.detail-summary-card{margin-top:0}.timeline-drawer .ant-drawer-body{padding-top:8px}.timeline-entry p{margin:6px 0}.finding-list{width:100%}.finding-card{width:100%;border-left:4px solid #8ca0b8}.finding-card.finding-blocker,.finding-card.finding-high{border-left-color:#cf1322}.finding-card.finding-medium{border-left-color:#d48806}.finding-card.finding-info{border-left-color:#1677ff}.finding-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.safe-long-text{overflow-wrap:anywhere;word-break:break-word}.evidence-list{width:100%}.evidence-row{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:6px 0;border-bottom:1px solid #f0f2f5}.file-primary{display:flex;min-width:0;flex-direction:column}.file-primary .ant-typography{max-width:100%}.file-details{max-width:620px}.file-download-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px;padding:10px 12px;border:1px solid #e3e9f1;border-radius:8px;background:#f8fbff}.sync-empty{padding:22px 12px;text-align:center}.health-summary{margin-bottom:16px}.form-help{font-size:12px;color:#68758a}.po-items{display:grid;gap:4px}.po-item-line{display:flex;justify-content:space-between;gap:12px;min-width:220px}.status-tooltip{cursor:help}.ant-btn:focus-visible,.ant-input:focus-visible,.ant-select-selector:focus-visible,a:focus-visible{outline:2px solid #1677ff!important;outline-offset:2px}@media(min-width:1200px)and (max-width:1450px){.workspace{padding:20px}.page-heading{margin-bottom:16px}.ant-table{font-size:13px}.detail-actions .ant-btn{padding-inline:10px}}.topbar-start{display:flex;align-items:center;gap:8px;min-width:0}.menu-trigger{width:44px;height:44px}.mobile-brand{display:flex;align-items:center;gap:8px;min-width:0}.mobile-brand-mark{display:grid;width:32px;height:32px;place-items:center;border-radius:9px;background:#1769c2;color:#fff;font-size:12px;font-weight:800}.mobile-brand>span:last-child{display:flex;min-width:0;flex-direction:column;line-height:1.15}.mobile-brand strong{font-size:13px}.mobile-brand small{margin-top:2px;color:#68758a;font-size:10px}.metrics-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}.mobile-record-items{display:grid;gap:12px}.mobile-record-item{min-width:0}.mobile-record-pagination{display:flex;justify-content:flex-end;margin-top:14px}.mobile-record-card{width:100%;box-shadow:0 2px 12px #0d35670d}.mobile-record-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.mobile-record-identity{display:flex;min-width:0;flex:1;flex-direction:column;gap:3px}.mobile-record-status{display:flex;flex:0 0 auto;flex-wrap:wrap;justify-content:flex-end;gap:4px}.mobile-record-fields{display:grid;grid-template-columns:1fr 1fr;gap:10px 16px;margin:14px 0 0}.mobile-record-fields>div{min-width:0}.mobile-record-fields dt{margin-bottom:2px;color:#68758a;font-size:12px}.mobile-record-fields dd{margin:0;color:#172033;overflow-wrap:anywhere}.mobile-record-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;margin:14px -12px -12px;padding:10px 12px 0;border-top:1px solid #eef2f7}.mobile-empty{padding:24px 8px}.mobile-card-select{width:100%}.mobile-card-select .ant-select-selector{min-height:44px!important}.mobile-drawer-brand{display:flex;align-items:center;gap:10px;color:#fff}.mobile-drawer-brand strong,.mobile-drawer-brand span{display:block}.mobile-drawer-brand span{font-size:11px;color:#b9d4f4}.mobile-nav-drawer .ant-drawer-header{background:#082f67;border-bottom-color:#ffffff1f}.mobile-nav-drawer .ant-drawer-extra .ant-btn{color:#dcecff}.mobile-nav-drawer .ant-drawer-body{padding:8px;background:#082f67}.mobile-nav-drawer .ant-menu{border:0;background:transparent}.mobile-nav-drawer .ant-menu-sub{background:#031d3b!important}.mobile-nav-drawer .ant-menu-item,.mobile-nav-drawer .ant-menu-submenu-title{min-height:44px;line-height:44px}.mobile-action-bar{display:flex;width:100%;gap:8px}.mobile-action-bar>.ant-btn{flex:1}.mobile-overflow-button{min-width:44px!important;flex:0 0 44px!important}.rule-category-filter{width:240px}.mobile-detail-actions{width:100%}.mobile-detail-actions .ant-space-item{display:flex}.mobile-detail-actions .ant-btn{min-height:44px}.mobile-section-intro{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.mobile-key-value{display:flex;justify-content:space-between;gap:12px}.mobile-key-value>span:first-child{color:#68758a}.ai-run-card .mobile-record-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.integration-card-title{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%}.integration-card-title>span{flex:none}@media(max-width:991px){.workspace{padding:16px}.topbar{height:56px;padding:0 12px}.workspace-inner{max-width:none}.app-shell-mobile>.ant-layout{min-width:0;width:100%}.page-heading{min-height:0;margin-bottom:16px}.timeline-card{position:static;max-height:none}.health-summary>.ant-col{min-width:0}.metrics-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ant-drawer-content-wrapper{max-width:100vw}.detail-actions{justify-content:flex-start}}@media(max-width:767px){body{overflow-x:hidden}.workspace{padding:12px}.topbar{position:sticky;height:56px}.user-trigger{min-height:44px;padding:4px}.user-copy{display:none!important}.page-heading{gap:12px;padding-bottom:12px}.page-heading h2{font-size:24px!important;line-height:1.2!important}.page-heading>div:first-child{width:100%;min-width:0}.page-heading>div:last-child,.page-heading>.ant-space{width:100%}.page-heading>.ant-space{display:flex;flex-wrap:wrap}.page-heading>.ant-space>.ant-space-item{display:flex;flex:1 1 calc(50% - 4px)}.page-heading>.ant-space .ant-btn{width:100%;min-height:44px}.page-heading>.ant-btn{width:100%;min-height:44px}.ant-card .ant-card-head{min-height:48px;padding-inline:14px}.ant-card .ant-card-head-title{white-space:normal}.ant-card .ant-card-body{padding:14px}.section-card{margin-top:12px}.section-card>.ant-card-head .ant-card-head-wrapper{align-items:flex-start;flex-wrap:wrap;gap:8px}.section-card>.ant-card-head .ant-card-extra{max-width:100%;margin-inline-start:auto}.section-card>.ant-card-head .ant-card-extra>.ant-space{display:flex;flex-wrap:wrap}.rule-category-filter{width:100%}.ant-card:has(.rule-category-filter)>.ant-card-head .ant-card-head-wrapper{display:block}.ant-card:has(.rule-category-filter)>.ant-card-head .ant-card-extra{width:100%;margin-top:8px}.filter-bar{display:flex!important;gap:10px;margin-bottom:14px}.filter-bar>.ant-space-item{width:100%}.filter-bar .ant-btn{width:100%;min-height:44px}.result-toolbar{align-items:flex-start;flex-direction:column}.ant-input,.ant-input-affix-wrapper,.ant-select-selector{min-height:44px}.ant-form-inline{display:flex;flex-direction:column;align-items:stretch!important;gap:10px}.ant-form-inline .ant-form-item{width:100%;margin:0}.ant-form-inline .ant-btn{width:100%;min-height:44px}.ant-descriptions .ant-descriptions-row>th,.ant-descriptions .ant-descriptions-row>td{padding-bottom:10px}.mobile-record-fields{grid-template-columns:1fr}.mobile-record-actions{justify-content:stretch}.mobile-record-actions>.ant-space{display:flex;width:100%}.mobile-record-actions .ant-btn{min-height:44px;flex:1}.file-download-toolbar{align-items:stretch;flex-direction:column}.file-download-toolbar>.ant-space{width:100%}.file-download-toolbar .ant-btn{min-height:44px}.file-download-toolbar .ant-checkbox-wrapper{min-height:44px;align-items:center}.metrics-grid{grid-template-columns:1fr 1fr;gap:12px}.metrics-grid .ant-statistic-title{min-height:36px}.metrics-grid .ant-statistic-content{font-size:22px}.dashboard-grid .ant-card{height:auto}.metric-card .ant-card-body{padding:14px}.metric-card .ant-statistic-title{min-height:36px}.metric-card .ant-statistic-content{font-size:24px}.health-summary .ant-statistic-content{font-size:20px}.health-summary .ant-col:last-child .ant-statistic-content{font-size:13px;line-height:1.4;overflow-wrap:anywhere}.integration-card-title{align-items:flex-start}.integration-card-title .ant-space{min-width:0}.integration-control-card .ant-descriptions-item-label{width:42%}.login-brand{min-height:190px;padding:28px 24px}.login-brand h1{font-size:28px}.login-form{padding:18px 12px 32px;place-items:start center}.login-form .ant-card{margin-top:0}.ant-modal{max-width:calc(100vw - 24px);margin:0 auto;top:12px}.ant-modal .ant-modal-content{max-height:calc(100dvh - 24px);padding:16px;overflow:auto}.ant-modal .ant-modal-footer{position:sticky;bottom:-16px;display:flex;margin:18px -16px -16px;padding:12px 16px;background:#fff;border-top:1px solid #eef2f7}.ant-modal .ant-modal-footer .ant-btn{min-height:44px;flex:1}.ant-drawer .ant-drawer-body{padding:14px}.timeline-drawer .ant-drawer-body{padding:8px 14px 14px}.file-preview{height:calc(100dvh - 180px)}.image-preview{max-height:calc(100dvh - 180px)}.finding-card .ant-card-body{padding:12px}.finding-header{flex-direction:column}.evidence-row{align-items:stretch;flex-direction:column}.ai-run-card .mobile-record-fields{grid-template-columns:1fr 1fr}.po-item-line{min-width:0}.detail-summary-card{margin-top:0}.ant-collapse>.ant-collapse-item>.ant-collapse-header{padding-inline:0}.safe-long-text{max-width:100%}.ant-breadcrumb{overflow:hidden;white-space:nowrap}.ant-breadcrumb ol{flex-wrap:nowrap}.ant-breadcrumb li:last-child{min-width:0;overflow:hidden;text-overflow:ellipsis}.ant-tag{max-width:100%;white-space:normal}.mobile-record-card .ant-tag{margin-inline-end:0}}@media(max-width:374px){.workspace{padding:10px}.mobile-brand small{display:none}.metrics-grid{grid-template-columns:1fr}.mobile-record-status{max-width:45%}}@media(max-width:767px){.qc-requirements,.qc-file-grid{grid-template-columns:1fr}.qc-product-image-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.qc-product-image-card .ant-image,.qc-product-image-card img{width:100%!important;height:auto!important;aspect-ratio:4/3}.qc-report-list .ant-descriptions-view{max-width:100%;overflow:hidden}.qc-report-list .ant-descriptions-item-content{min-width:0;overflow-wrap:anywhere}.qc-report-list .ant-space,.qc-report-list .ant-space-item{max-width:100%}.qc-report-list .ant-btn{height:auto;white-space:normal;overflow-wrap:anywhere}.qc-form-row{display:flex!important;flex-direction:column}.qc-form-row>.ant-space-item{width:100%;min-width:0}.qc-report-list>.ant-card>.ant-card-head .ant-card-head-wrapper{align-items:flex-start;flex-direction:column}.qc-report-list>.ant-card>.ant-card-head .ant-card-extra{width:100%;margin-inline-start:0}.qc-report-list>.ant-card>.ant-card-head .ant-card-extra>.ant-space{display:flex;width:100%}.qc-report-list>.ant-card>.ant-card-head .ant-card-extra .ant-btn{min-height:44px;flex:1}.qc-attachment-list{display:flex;width:100%}.qc-attachment-list>.ant-space-item{max-width:100%}.qc-attachment-list .ant-btn{max-width:100%;height:auto;min-height:44px;white-space:normal;overflow-wrap:anywhere}}
