*{box-sizing:border-box}.customer-duplicate-row>td.ant-table-cell{background:#fffbe6!important}.customer-duplicate-row:hover>td.ant-table-cell{background:#fff1b8!important}html,body,#root{height:100%;margin:0;padding:0}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Hiragino Sans GB,Microsoft YaHei,Helvetica Neue,Helvetica,Arial,sans-serif;background:#f0f2f5;color:#000000e0}.page-container{padding:16px;min-width:0}.route-loading{min-height:180px;display:flex;align-items:center;justify-content:center;color:#8c8c8c;background:transparent}.page-tabs{min-height:40px;padding:6px 14px 0;background:#fff;border-top:1px solid #f0f0f0;border-bottom:1px solid #e8e8e8;display:flex;align-items:flex-start;gap:8px}.page-tabs .ant-tabs{flex:1;min-width:0}.page-tabs .ant-tabs-nav{margin-bottom:0}.page-tabs .ant-tabs-nav:before{border-bottom:0}.page-tabs .ant-tabs-tab{margin:0 4px 0 0!important}.page-tabs-actions{flex:none;padding-top:2px}@media (max-width: 767px){.page-tabs{padding-left:8px;padding-right:8px}.page-tabs .ant-tabs-tab{max-width:118px}.page-tabs .ant-tabs-tab-btn{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}.page-toolbar{display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:space-between;margin-bottom:12px}.order-table .ant-table-body{scrollbar-width:thin}.order-table .ant-table-cell{white-space:nowrap}.order-table .pending-payments-cell,.order-table .pending-payments-cell .ant-space-item{min-width:0;white-space:normal;overflow-wrap:anywhere}.order-table .pending-payments-cell .ant-tag{white-space:normal}.order-table .ant-table-thead>tr>th,.customer-table .ant-table-thead>tr>th{position:relative;text-align:center!important;vertical-align:middle!important}.order-table .ant-table-thead .ant-table-column-title,.customer-table .ant-table-thead .ant-table-column-title{text-align:center}.order-table .ant-table-thead .ant-table-column-sorters,.customer-table .ant-table-thead .ant-table-column-sorters{position:relative;justify-content:center}.order-table .ant-table-thead .ant-table-column-sorter,.customer-table .ant-table-thead .ant-table-column-sorter{position:absolute;right:5px;top:50%;margin:0;transform:translateY(-50%)}.order-table .ant-table-thead .table-col-drag-grip,.customer-table .ant-table-thead .table-col-drag-grip{position:absolute;left:5px;top:50%;margin:0;transform:translateY(-50%)}.stat-card{min-height:112px}.stat-card .ant-statistic-content{font-size:22px;font-weight:600}.chart-box{width:100%;height:320px}.chart-box-sm{width:100%;height:260px}.login-page{display:flex;align-items:center;justify-content:center;min-height:100vh;background:linear-gradient(135deg,#1677ff,#0958d9 45%,#10239e)}.login-card{width:400px;max-width:calc(100vw - 32px);box-shadow:0 12px 32px #0000002e}.app-header{position:sticky;top:0;z-index:10;box-shadow:0 1px 4px #00152914}.header-left,.header-account{min-width:0}.header-left{display:flex;align-items:center;gap:6px}.header-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mobile-nav-trigger{display:none;flex:0 0 auto}.mobile-navigation .ant-drawer-header{background:#001529;border-bottom-color:#ffffff24}.mobile-navigation .ant-drawer-title,.mobile-navigation .ant-drawer-close{color:#fff}.ant-table-wrapper .ant-table-container,.ant-table-wrapper .ant-table-content{touch-action:pan-x pan-y}.ant-table-wrapper .ant-table-content{-webkit-overflow-scrolling:touch}.text-muted{color:#00000073}.text-danger{color:#cf1322}.text-success{color:#389e0d}.rich-text-editor{overflow:hidden;border:1px solid #d9d9d9;border-radius:8px;background:#fff;transition:border-color .2s,box-shadow .2s}.rich-text-editor:focus-within{border-color:#4096ff;box-shadow:0 0 0 2px #0591ff1a}.rich-text-toolbar{padding:6px 8px;border-bottom:1px solid #f0f0f0;background:#fafafa}.rich-text-toolbar .ant-divider-vertical{margin-inline:4px}.rich-text-editor-body{position:relative}.rich-text-input,.rich-text-source{width:100%;padding:12px 14px;border:0;outline:0;resize:vertical;overflow:auto;line-height:1.7;word-break:break-word;white-space:pre-wrap}.rich-text-input:focus{background:#fff}.rich-text-input p,.rich-text-input div{margin:0 0 6px}.rich-text-source{display:block;font:13px/1.6 Consolas,Monaco,monospace}.rich-text-input:empty:before{color:#00000040;content:attr(data-placeholder);pointer-events:none}.rich-text-content{min-width:0;line-height:1.7;word-break:break-word;white-space:pre-wrap}.rich-text-content>:first-child{margin-top:0}.rich-text-content>:last-child{margin-bottom:0}.rich-text-content p{margin:0 0 8px}.rich-text-content h1,.rich-text-content h2,.rich-text-content h3{margin:12px 0 8px;line-height:1.35}.rich-text-content blockquote{margin:8px 0;padding:8px 12px;border-left:4px solid #91caff;background:#f0f7ff;color:#000000a6}.rich-text-content img,.rich-text-input img{display:block;max-width:100%;height:auto;margin:8px 0;border-radius:6px}.rich-text-input img{cursor:pointer}.rich-text-image-selection{position:absolute;z-index:2;box-sizing:border-box;border:2px solid #1677ff;border-radius:6px;pointer-events:none}.rich-text-image-size{position:absolute;right:12px;transform:translateY(-50%);padding:1px 5px;border-radius:4px;background:#1677ffe0;color:#fff;font-size:11px;line-height:18px;pointer-events:none}.rich-text-image-resize-handle{position:absolute;right:-7px;transform:translateY(-50%);width:14px;height:14px;padding:0;border:2px solid #fff;border-radius:50%;background:#1677ff;box-shadow:0 0 0 1px #1677ff;cursor:ew-resize;pointer-events:auto;touch-action:none}.rich-text-content a{overflow-wrap:anywhere}.rich-text-content-compact{display:-webkit-box;min-width:240px;max-height:3.4em;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2}.rich-text-content-compact img{display:none}.rich-text-content-compact p,.rich-text-content-compact h1,.rich-text-content-compact h2,.rich-text-content-compact h3,.rich-text-content-compact blockquote{display:inline;margin:0;padding:0;border:0;background:transparent;font-size:inherit}.nowrap{white-space:nowrap}@media (max-width: 768px){html{-webkit-text-size-adjust:100%}.page-container{padding:10px 8px 24px}.app-header{padding:0 8px!important}.mobile-nav-trigger{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;font-size:20px}.header-account{gap:4px!important;max-width:58%}.header-user-name{max-width:72px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.header-role-tag{display:none}.page-toolbar{align-items:stretch}.page-toolbar>*{max-width:100%}.page-container .ant-form-inline{display:flex;flex-direction:column;align-items:stretch}.page-container .ant-form-inline .ant-form-item{width:100%;margin-inline-end:0;margin-bottom:8px}.page-container .ant-form-inline .ant-form-item .ant-input,.page-container .ant-form-inline .ant-form-item .ant-input-affix-wrapper,.page-container .ant-form-inline .ant-form-item .ant-select,.page-container .ant-form-inline .ant-form-item .ant-picker,.page-container .ant-form-inline .ant-form-item .ant-picker-range{width:100%!important}.page-container .ant-card-head{min-height:auto;padding:10px 12px 0}.page-container .ant-card-head-wrapper{flex-wrap:wrap;align-items:flex-start;gap:8px}.page-container .ant-card-head-title{white-space:normal;padding:0}.page-container .ant-card-extra{width:100%;padding:0 0 10px;margin-inline-start:0}.page-container .ant-card-extra>.ant-space,.page-container .ant-card-extra .ant-space{width:100%}.page-container .ant-card-extra .ant-space-item{max-width:100%}.summary-bar-content{gap:10px 8px!important;align-items:stretch!important}.summary-bar-item{width:calc(50% - 4px);min-width:0!important}.summary-bar-item .ant-statistic-title{font-size:12px}.summary-bar-item .ant-statistic-content{font-size:16px!important}.summary-bar-extra{width:100%;margin-left:0!important;flex-wrap:wrap}.summary-bar-extra .ant-typography{width:100%}.chart-box{height:250px}.chart-box-sm{height:220px}.ant-table-wrapper .ant-table{font-size:12px}.ant-table-wrapper .ant-table-thead>tr>th,.ant-table-wrapper .ant-table-tbody>tr>td{padding:8px 7px}.ant-table-wrapper .ant-pagination{justify-content:center;margin:12px 0 0}.ant-table-wrapper .ant-pagination-options,.ant-table-wrapper .ant-pagination-total-text{display:none}.order-table .ant-table-body{max-height:none!important}.order-table .ant-table-summary{font-size:12px}.ant-modal{width:calc(100vw - 16px)!important;max-width:calc(100vw - 16px);margin:8px auto;padding-bottom:8px}.ant-modal .ant-modal-body{max-height:calc(100vh - 190px);overflow-y:auto;-webkit-overflow-scrolling:touch}.ant-modal .ant-col-12,.ant-modal .ant-col-8{flex:0 0 100%;max-width:100%}.ant-drawer-content-wrapper{max-width:100vw}.ant-drawer .ant-radio-button-wrapper{margin-bottom:6px}.login-page{align-items:flex-start;padding:48px 16px 24px}.login-card{width:100%;max-width:440px}.ant-table-wrapper .ant-table-cell-fix-right,.ant-table-wrapper .ant-table-cell-fix-left{position:static!important;box-shadow:none!important}}.supplier-portal{min-height:100vh;position:relative;overflow:hidden;background:radial-gradient(1100px 520px at 88% -12%,rgba(47,84,235,.1),transparent 60%),radial-gradient(900px 480px at -8% 28%,rgba(61,139,253,.09),transparent 55%),radial-gradient(760px 420px at 50% 112%,rgba(22,119,255,.07),transparent 60%),linear-gradient(165deg,#eef2ff,#f4f7ff 42%,#eef6ff 72%,#f8faff)}.supplier-portal .portal-blob{position:absolute;border-radius:50%;filter:blur(8px);pointer-events:none}.supplier-portal .portal-wrap{max-width:1200px;margin:0 auto;position:relative;z-index:1}.supplier-portal .portal-welcome{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px;padding:14px 18px;background:#ffffffeb;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);border:1px solid rgba(255,255,255,.7);border-radius:14px;box-shadow:0 4px 18px #1e3c8c14}.supplier-portal .portal-stats>.ant-col{display:flex}.supplier-portal .portal-stats .ant-card{width:100%;border:none;border-radius:16px;box-shadow:0 4px 16px #1e3c8c14;overflow:hidden;transition:transform .2s ease,box-shadow .2s ease}.supplier-portal .portal-stats .ant-card:hover{transform:translateY(-3px);box-shadow:0 12px 28px #1e3c8c29}.supplier-portal .portal-stats .ant-card-body{display:flex;align-items:center;gap:16px;padding:18px 20px!important}.portal-stat-blue{background:linear-gradient(135deg,#e8efff,#f7f9ff)}.portal-stat-orange{background:linear-gradient(135deg,#fff3e0,#fffdf7)}.portal-stat-green{background:linear-gradient(135deg,#eaf9e2,#f8fdf4)}.supplier-portal .portal-stat-icon{flex:none;width:52px;height:52px;border-radius:14px;display:flex;align-items:center;justify-content:center;font-size:24px;color:#fff;box-shadow:0 6px 14px #1e3c8c2e}.supplier-portal .portal-stat-blue .portal-stat-icon{background:linear-gradient(135deg,#2f54eb,#3d8bfd)}.supplier-portal .portal-stat-orange .portal-stat-icon{background:linear-gradient(135deg,#fa8c16,#ffb24d)}.supplier-portal .portal-stat-green .portal-stat-icon{background:linear-gradient(135deg,#52c41a,#7bd45e)}.supplier-portal .portal-stat-body{min-width:0;flex:1}.supplier-portal .portal-stat-body .ant-statistic-title{margin-bottom:2px;font-size:13px;color:#0000008c}.supplier-portal .portal-stat-body .ant-statistic-content{font-size:26px;font-weight:700;line-height:1.15}.supplier-portal .portal-stat-hint{margin-top:2px;font-size:12px;color:#0006}.supplier-portal .portal-list-card{border:none;border-radius:16px;box-shadow:0 4px 18px #1e3c8c14;overflow:hidden}.supplier-portal .portal-list-card .ant-table{border-radius:0 0 16px 16px}.supplier-portal-toolbar{display:flex;align-items:center;justify-content:flex-end;gap:8px}.supplier-filter-bar{display:flex;justify-content:flex-end;margin-bottom:12px;padding:10px 12px;background:#ffffffeb;border:1px solid rgba(255,255,255,.7);border-radius:12px;box-shadow:0 4px 18px #1e3c8c14}.supplier-period-select{width:120px}.supplier-range-picker{width:250px}.supplier-list-status-tags .ant-tag{margin-inline-end:0;-webkit-user-select:none;user-select:none}.supplier-list-status-tags .supplier-status-filter-tag{cursor:pointer}.supplier-portal-login{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:16px;position:relative;overflow:hidden;background:radial-gradient(900px 480px at 85% -10%,rgba(255,255,255,.16),transparent 55%),radial-gradient(700px 420px at -5% 110%,rgba(22,119,255,.28),transparent 60%),linear-gradient(135deg,#16308f,#2f54eb 55%,#3d8bfd)}.supplier-portal-login:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;background-image:radial-gradient(rgba(255,255,255,.16) 1px,transparent 1px),radial-gradient(rgba(255,255,255,.1) 1px,transparent 1px);background-size:26px 26px,26px 26px;background-position:0 0,13px 13px;-webkit-mask-image:linear-gradient(180deg,rgba(0,0,0,.55),rgba(0,0,0,.12));mask-image:linear-gradient(180deg,#0000008c,#0000001f)}.supplier-portal-login .portal-login-ring{position:absolute;border-radius:50%;border:1px solid rgba(255,255,255,.14);pointer-events:none}.supplier-portal-login .ant-card{border:1px solid rgba(255,255,255,.28);background:#fffffff5}@media (max-width: 768px){.supplier-portal{padding:12px 10px 32px!important}.supplier-portal .portal-blob{display:none}.supplier-portal .portal-welcome{padding:12px;gap:10px}.supplier-portal .portal-stats .ant-card-body{padding:12px 6px!important;text-align:center}.supplier-portal .portal-stat-icon{display:none}.supplier-portal .portal-stat-body{width:100%}.supplier-portal .portal-stat-body .ant-statistic-content{font-size:21px}.supplier-portal .portal-stat-hint{display:none}.supplier-filter-bar{width:100%;padding:8px;margin-bottom:10px}.supplier-portal .portal-list-card .ant-card-body{padding:10px}.supplier-portal .portal-list-card .ant-table{font-size:12px}.supplier-portal .portal-list-card .ant-table-thead>tr>th,.supplier-portal .portal-list-card .ant-table-tbody>tr>td{padding:6px 8px!important}.supplier-portal-toolbar{width:100%;flex:1 1 100%;min-width:0;flex-wrap:nowrap;gap:6px}.supplier-period-select{width:100%;flex:1 1 auto}.supplier-portal-toolbar.has-custom-range{flex-wrap:wrap}.supplier-portal-toolbar.has-custom-range .supplier-range-picker{order:5;width:100%!important}.supplier-date-popup .ant-picker-panel-container{max-width:calc(100vw - 16px);overflow:auto}.supplier-date-popup .ant-picker-panels{flex-direction:column}.supplier-portal .ant-drawer-body{padding:12px}.supplier-portal .ant-drawer-body .ant-descriptions-item-label,.supplier-portal .ant-drawer-body .ant-descriptions-item-content{font-size:12px}}.supply-col-drag-grip,.table-col-drag-grip{display:inline-block;margin-right:4px;color:#bfbfbf;font-size:12px;cursor:grab;opacity:0;transition:opacity .2s}.ant-table-thead>tr>th:hover .supply-col-drag-grip,.ant-table-thead>tr>th:hover .table-col-drag-grip{opacity:1}.supply-col-dragging,.table-col-dragging{cursor:grabbing!important;-webkit-user-select:none;user-select:none}.supply-col-dragging .ant-table-thead th,.table-col-dragging .ant-table-thead th{-webkit-user-select:none;user-select:none}.supply-col-dragging .supply-col-drag-grip,.table-col-dragging .table-col-drag-grip{cursor:grabbing}.allocation-board-toolbar{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px}.allocation-period-select{width:120px}.allocation-range-picker{width:250px}.allocation-board-search{width:220px}.order-table .ant-table-footer{position:sticky;bottom:0;z-index:3;padding:10px 16px;background:#fafafa;border-top:1px solid #f0f0f0}.order-page-subtotal{width:100%}@media (max-width: 576px){.allocation-board-card .ant-card-head-wrapper{align-items:stretch;flex-direction:column}.allocation-board-card .ant-card-extra{width:100%;margin-inline-start:0;padding-top:0}.allocation-board-toolbar{width:100%;flex-wrap:nowrap;gap:6px}.allocation-period-select{width:105px;flex:0 0 105px}.allocation-board-search{width:auto;min-width:0;flex:1 1 auto}.allocation-board-toolbar.has-custom-range{flex-wrap:wrap}.allocation-board-toolbar.has-custom-range .allocation-range-picker{order:5;width:100%!important}.allocation-date-popup .ant-picker-panel-container{max-width:calc(100vw - 16px);max-height:calc(100vh - 24px);overflow:auto}.allocation-date-popup .ant-picker-panels,.allocation-date-popup .ant-picker-datetime-panel{flex-direction:column}.allocation-date-popup .ant-picker-time-panel{width:100%;border-inline-start:0;border-top:1px solid #f0f0f0}.allocation-date-popup .ant-picker-time-panel-column{flex:1}}.order-form-other-info{padding:18px 20px 2px;border:1px solid #e8edf5;border-radius:10px;background:#fafcff}.order-form-media{margin-bottom:16px;padding:20px;border:1px solid #e8edf5;border-radius:12px;background:#f8faff}.order-form-media-heading{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 12px;margin-bottom:16px}.order-form-media-heading .ant-typography:first-child{font-size:16px}.order-form-media-heading .ant-typography:last-child,.order-form-media-title .ant-typography{font-size:12px}.order-form-media-panel{height:100%;padding:16px;border:1px solid #e5eaf3;border-radius:10px;background:#fff}.order-form-media-title{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 10px;padding-bottom:12px;margin-bottom:14px;border-bottom:1px solid #eef1f6;font-size:15px;font-weight:600}.order-form-media-title .ant-typography{font-weight:400}.ai-assistant-float{position:fixed;right:28px;bottom:28px;z-index:1000;width:60px!important;min-width:60px!important;height:60px;padding:0;border:1px solid #ffffff88;background:linear-gradient(145deg,#7957f5 4%,#3777ed 58%,#32c9d4);box-shadow:0 8px 24px #435eda66,inset 0 1px 2px #fff7;cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none;transition:box-shadow .16s ease,transform .16s ease}.ai-assistant-float:hover,.ai-assistant-float:focus-visible{border-color:#fff;background:linear-gradient(145deg,#8667ff 4%,#4084fa 58%,#38d8df);box-shadow:0 10px 28px #435eda88,inset 0 1px 2px #fff9;transform:translateY(-2px)}.ai-assistant-float-dragging,.ai-assistant-float-dragging:hover{cursor:grabbing;transform:none;transition:none}.ai-assistant-float-icon{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0;width:100%;height:100%;color:#fff;line-height:1;pointer-events:none}.ai-assistant-float-icon svg{width:31px;height:31px;filter:drop-shadow(0 1px 3px #2f38a266)}.ai-assistant-float-icon span{margin-top:-2px;font-size:11px;font-weight:800;letter-spacing:1.5px}@media (max-width: 575px){.ai-assistant-float{right:16px;bottom:18px}}@media (max-width: 575px){.order-form-media,.order-form-media-panel{padding:14px}.order-form-other-info{padding:16px 14px 0}}
