*{box-sizing:border-box;margin:0;padding:0}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;overflow-x:hidden}#root{width:100%;min-height:100vh;overflow-x:hidden}.stock-low-row{background-color:#fff7ed!important}.stock-out-row{background-color:#fef2f2!important}@media (width<=768px){.oa-mobile-shell,.oa-mobile-shell .ant-layout,.oa-mobile-shell .ant-layout-content{min-width:0}.oa-mobile-header-title{color:#111827;text-align:center;text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;padding:0 10px;font-size:15px;font-weight:600;line-height:56px;overflow:hidden}.oa-user-menu span{text-overflow:ellipsis;white-space:nowrap;max-width:64px;overflow:hidden}.ant-card,.ant-modal,.ant-drawer-content,.ant-form,.ant-table-wrapper{max-width:100%}.ant-card-body{padding:12px!important}.ant-modal{max-width:calc(100vw - 16px);margin:8px auto}.ant-modal-content{padding:16px!important}.ant-form-item{margin-bottom:14px}.ant-table-wrapper{overflow-x:auto}.oa-mobile-list{flex-direction:column;gap:10px;display:flex}.oa-mobile-record{background:#fff;border:1px solid #eef0f4;border-radius:8px;flex-direction:column;gap:8px;padding:12px;display:flex;box-shadow:0 1px 2px #0f172a0a}.oa-mobile-record-clickable{cursor:pointer}.oa-mobile-record-main{min-width:0}.oa-mobile-record-title{color:#111827;word-break:break-word;align-items:center;gap:8px;min-width:0;font-size:14px;font-weight:600;line-height:1.45;display:flex}.oa-mobile-record-title-text{flex:1;min-width:0}.oa-mobile-record-sub{color:#6b7280;word-break:break-word;margin-top:4px;font-size:12px;line-height:1.4}.oa-mobile-record-meta,.oa-mobile-record-footer{color:#6b7280;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;min-width:0;font-size:12px;display:flex}.oa-mobile-record-footer>span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.oa-mobile-record-meta strong{color:#111827;flex-shrink:0;font-size:15px}.oa-mobile-summary{color:#4b5563;background:#f8fafc;border:1px solid #e5e7eb;border-radius:8px;justify-content:space-between;align-items:center;gap:10px;padding:10px 12px;font-size:13px;display:flex}.oa-mobile-summary strong{color:#111827;font-size:16px}.oa-mobile-pagination{justify-content:center;padding:4px 0 8px;display:flex}.oa-inventory-toolbar{display:flex}.oa-inventory-toolbar .ant-space-item,.oa-inventory-toolbar .ant-segmented,.oa-inventory-toolbar .ant-input-search,.oa-inventory-toolbar>.ant-space-item>.ant-btn,.oa-gantt-toolbar .ant-space-item:first-child{width:100%}.oa-gantt-toolbar .ant-segmented{flex:1}.oa-gantt-toolbar .ant-btn{min-width:76px}.oa-mobile-schedule{flex-direction:column;gap:12px;display:flex}.oa-mobile-schedule-stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;display:grid}.oa-mobile-schedule-stats>div{text-align:center;background:#fff;border:1px solid #eef0f4;border-radius:8px;padding:10px 6px}.oa-mobile-schedule-stats strong{color:#111827;font-size:18px;line-height:1.1;display:block}.oa-mobile-schedule-stats span{color:#6b7280;margin-top:4px;font-size:11px;display:block}.oa-mobile-schedule-section{flex-direction:column;gap:8px;display:flex}.oa-mobile-schedule-section-title{color:#374151;justify-content:space-between;align-items:center;padding:0 2px;font-size:13px;font-weight:600;display:flex}.oa-mobile-schedule-section-title em{color:#9ca3af;font-style:normal;font-weight:500}.oa-mobile-task-card{width:100%;color:inherit;text-align:left;background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:12px;box-shadow:0 1px 2px #0f172a0a}.oa-mobile-task-head{justify-content:space-between;align-items:flex-start;gap:8px;display:flex}.oa-mobile-task-head strong{color:#111827;word-break:break-word;min-width:0;font-size:14px;line-height:1.45}.oa-mobile-task-project,.oa-mobile-task-dates{color:#6b7280;word-break:break-word;margin-top:5px;font-size:12px;line-height:1.35}.oa-mobile-task-meta{color:#4b5563;flex-wrap:wrap;gap:6px 10px;margin-top:8px;font-size:12px;display:flex}.oa-mobile-task-meta b{color:#1677ff;font-weight:600}.oa-mobile-task-meta b.danger{color:#ef4444}.oa-mobile-timebar{background:#eef2f7;border-radius:999px;height:8px;margin-top:10px;position:relative;overflow:hidden}.oa-mobile-timebar i{border-radius:999px;min-width:8px;position:absolute;top:0;bottom:0}.oa-mobile-timebar.unscheduled i{background:repeating-linear-gradient(90deg,#cbd5e1 0 6px,#e5e7eb 6px 12px)!important}.ant-table{font-size:12px}.ant-table-thead>tr>th,.ant-table-tbody>tr>td{padding:8px 6px!important}}.sale-highlight-row>td,.purchase-highlight-row>td,.oa-highlight-row>td{animation:1.5s 3 saleHighlightFlash;background-color:#ffe58f!important}@keyframes saleHighlightFlash{0%,to{background-color:#ffe58f}50%{background-color:#ffc53d}}.oa-ai-markdown{color:#262626;word-break:break-word;font-size:14px;line-height:1.6;overflow-x:auto}.oa-ai-markdown>:first-child{margin-top:0}.oa-ai-markdown>:last-child{margin-bottom:0}.oa-ai-markdown p{margin:0 0 8px}.oa-ai-markdown h1,.oa-ai-markdown h2,.oa-ai-markdown h3,.oa-ai-markdown h4{margin:12px 0 6px;font-weight:600;line-height:1.4}.oa-ai-markdown h1{font-size:17px}.oa-ai-markdown h2{font-size:16px}.oa-ai-markdown h3{font-size:15px}.oa-ai-markdown h4{font-size:14px}.oa-ai-markdown ul,.oa-ai-markdown ol{margin:4px 0 8px;padding-left:20px}.oa-ai-markdown li,.oa-ai-markdown li>ul,.oa-ai-markdown li>ol{margin:2px 0}.oa-ai-markdown strong{font-weight:600}.oa-ai-markdown a{color:#1677ff;text-decoration:none}.oa-ai-markdown a:hover{text-decoration:underline}.oa-ai-markdown code{background:#f0f2f5;border-radius:4px;padding:1px 5px;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;font-size:12.5px}.oa-ai-markdown pre{background:#f6f8fa;border-radius:6px;margin:8px 0;padding:10px 12px;overflow-x:auto}.oa-ai-markdown pre code{background:0 0;padding:0}.oa-ai-markdown table{border-collapse:collapse;width:max-content;min-width:100%;margin:8px 0;font-size:13px}.oa-ai-markdown th,.oa-ai-markdown td{text-align:left;white-space:nowrap;border:1px solid #e5e7eb;padding:6px 10px}.oa-ai-markdown th{background:#f6f8fa;font-weight:600}.oa-ai-markdown blockquote{color:#6b7280;border-left:3px solid #1677ff;margin:8px 0;padding:4px 12px}.oa-ai-markdown hr{border:none;border-top:1px solid #e5e7eb;margin:12px 0}
