html,body{width:100%;height:100%}input::-ms-clear,input::-ms-reveal{display:none}*,*:before,*:after{box-sizing:border-box}html{font-family:sans-serif;line-height:1.15;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-ms-overflow-style:scrollbar;-webkit-tap-highlight-color:rgba(0,0,0,0)}@-ms-viewport{width:device-width}body{margin:0}[tabindex="-1"]:focus{outline:none}hr{box-sizing:content-box;height:0;overflow:visible}h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5em;font-weight:500}p{margin-top:0;margin-bottom:1em}abbr[title],abbr[data-original-title]{-webkit-text-decoration:underline dotted;text-decoration:underline dotted;border-bottom:0;cursor:help}address{margin-bottom:1em;font-style:normal;line-height:inherit}input[type=text],input[type=password],input[type=number],textarea{-webkit-appearance:none}ol,ul,dl{margin-top:0;margin-bottom:1em}ol ol,ul ul,ol ul,ul ol{margin-bottom:0}dt{font-weight:500}dd{margin-bottom:.5em;margin-left:0}blockquote{margin:0 0 1em}dfn{font-style:italic}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}pre,code,kbd,samp{font-size:1em;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace}pre{margin-top:0;margin-bottom:1em;overflow:auto}figure{margin:0 0 1em}img{vertical-align:middle;border-style:none}a,area,button,[role=button],input:not([type=range]),label,select,summary,textarea{touch-action:manipulation}table{border-collapse:collapse}caption{padding-top:.75em;padding-bottom:.3em;text-align:left;caption-side:bottom}input,button,select,optgroup,textarea{margin:0;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit}button,input{overflow:visible}button,select{text-transform:none}button,html [type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{padding:0;border-style:none}input[type=radio],input[type=checkbox]{box-sizing:border-box;padding:0}input[type=date],input[type=time],input[type=datetime-local],input[type=month]{-webkit-appearance:listbox}textarea{overflow:auto;resize:vertical}fieldset{min-width:0;margin:0;padding:0;border:0}legend{display:block;width:100%;max-width:100%;margin-bottom:.5em;padding:0;color:inherit;font-size:1.5em;line-height:inherit;white-space:normal}progress{vertical-align:baseline}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{outline-offset:-2px;-webkit-appearance:none}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}output{display:inline-block}summary{display:list-item}template{display:none}[hidden]{display:none!important}mark{padding:.2em;background-color:#feffe6}body{margin:0;background:#f5f7fb}.erp-shell{display:flex;flex-direction:row;min-height:100vh;background:#f3f5f9}.erp-primary-nav{width:78px;min-height:100vh;background:#1f2633;color:#fff;flex:0 0 78px;border-radius:0 0 16px;overflow:hidden}.erp-brand{height:54px;display:grid;place-items:center;font-size:20px;font-weight:800;letter-spacing:0;color:#fff;border-bottom:1px solid rgba(255,255,255,.08)}.erp-primary-nav .ant-menu{background:transparent;border-inline-end:0;padding-top:6px}.erp-primary-nav .ant-menu-item{height:56px;line-height:1;margin:5px 8px;width:calc(100% - 16px);border-radius:8px;padding:0!important;display:flex!important;align-items:center;justify-content:center;flex-direction:column;gap:5px;text-align:center}.erp-primary-nav .ant-menu-item .ant-menu-item-icon{margin:0;width:24px;height:24px;flex:0 0 24px;display:inline-flex;align-items:center;justify-content:center;line-height:0}.erp-primary-nav .ant-menu-item .ant-menu-item-icon svg{display:block}.erp-primary-nav .ant-menu-title-content{margin-inline-start:0!important;flex:0 0 auto!important;display:block;font-size:14px;line-height:18px;min-width:0;text-align:center}.erp-secondary-nav{width:196px;min-height:100vh;background:#fff;flex:0 0 196px;border-right:1px solid #edf0f5;box-shadow:12px 0 24px #1f26330d;z-index:2}.erp-secondary-title{height:54px;display:flex;align-items:center;padding:0 22px;border-bottom:1px solid #edf0f5}.erp-secondary-title h4{margin:0}.erp-secondary-nav .ant-menu{border-inline-end:0;padding-top:8px}.erp-secondary-nav .ant-menu-item{height:38px;line-height:38px;margin:2px 10px;width:calc(100% - 20px);border-radius:0}.erp-workspace{flex:1 1 auto;display:flex;flex-direction:column;min-width:0;width:100%;min-height:100vh;background:#f3f5f9}.erp-login-page{min-height:100vh;display:grid;place-items:center;background:#eef2f7;padding:24px}.erp-login-card{width:min(420px,100%)}.erp-page{display:flex;flex-direction:column;gap:10px}.erp-page-header{display:flex;align-items:center;justify-content:space-between;gap:16px}.erp-page-title{margin:0;font-size:20px;line-height:28px}.erp-toolbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.erp-table-actions{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;margin-bottom:2px;flex-wrap:wrap}.erp-filter-form{gap:8px 0}.erp-table-create-action{display:flex;justify-content:flex-end;min-width:120px}.erp-header{height:54px;padding:0 16px;display:flex;align-items:center;justify-content:flex-end;gap:12px;background:#fff;border-bottom:1px solid #edf0f5}.erp-main{flex:1;width:100%;box-sizing:border-box;padding:12px 14px 14px;min-width:0}.erp-main>.erp-page{width:100%}.erp-no-access{min-height:calc(100vh - 104px);display:grid;place-content:center;gap:8px;text-align:center}.erp-form-card{max-width:760px}.erp-crud-header{min-height:34px}.erp-crud-header .ant-btn{height:34px;padding-inline:13px}.erp-data-card{border-radius:6px}.erp-data-card .ant-card-body{padding:10px}.erp-data-card .ant-table{border-radius:4px}.erp-data-card .ant-table-thead>tr>th{padding:9px 12px;font-size:14px;line-height:22px}.erp-data-card .ant-table-tbody>tr>td{padding:8px 12px;line-height:22px}.erp-data-card .ant-table-placeholder .ant-table-cell{padding:28px 12px!important}.erp-data-card .ant-table-pagination.ant-pagination{margin:8px 0 0}.erp-table-empty{display:inline-block;color:#8c8c8c;line-height:22px}.erp-entry-drawer .ant-drawer-header{height:52px;padding:0 22px;border-bottom:1px solid #edf0f5}.erp-entry-drawer .ant-drawer-title{font-size:16px;line-height:22px}.erp-entry-drawer .ant-drawer-body{padding:18px 24px 68px}.erp-entry-drawer .ant-drawer-footer{padding:10px 24px;background:#fff;border-top:1px solid #edf0f5}.erp-entry-drawer-footer{width:100%;justify-content:flex-end}.erp-entry-form{max-width:600px}.erp-entry-form .ant-form-item{margin-bottom:14px}.erp-entry-form .ant-form-item-label{overflow:visible}.erp-entry-form .ant-form-item-label>label{height:34px;font-size:14px}.erp-entry-form .ant-input,.erp-entry-form .ant-input-number,.erp-entry-form .ant-select-selector{min-height:34px}.erp-entry-form .ant-input-number{width:100%}.erp-entry-form .ant-input,.erp-entry-form .ant-input-number-input{padding-top:5px;padding-bottom:5px}.erp-entry-form .ant-select-single{height:34px}.sales-order-drawer .ant-drawer-body{padding-top:14px}.sales-order-form .ant-form-item{margin-bottom:12px}.sales-order-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 12px}.sales-order-form-grid-wide{grid-template-columns:repeat(2,minmax(0,1fr))}.sales-order-main-cell{display:flex;flex-direction:column;gap:2px}.sales-order-main-cell small{color:#8c8c8c;font-size:12px;line-height:18px}.sales-handoff-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:14px;padding:10px;border:1px solid #edf0f5;border-radius:6px;background:#fafbfd}.sales-handoff-summary div{display:flex;flex-direction:column;min-width:0;gap:2px}.sales-handoff-summary span{color:#8c8c8c;font-size:12px;line-height:18px}.sales-handoff-summary strong{overflow:hidden;color:#1f2633;font-size:13px;font-weight:600;line-height:20px;text-overflow:ellipsis;white-space:nowrap}.purchase-requirement-detail{display:flex;flex-direction:column;gap:12px}.purchase-note-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.purchase-note-grid>div{min-height:82px;padding:10px;border:1px solid #edf0f5;border-radius:6px;background:#fff}.purchase-note-grid p{margin:6px 0 0;line-height:22px}.purchase-process-drawer .ant-drawer-body{padding-top:14px}.purchase-process-content,.purchase-process-form,.purchase-process-lines{display:flex;flex-direction:column;gap:12px}.purchase-process-line{display:grid;grid-template-columns:minmax(170px,1.35fr) minmax(210px,1.45fr) 110px 110px 130px minmax(130px,1fr);gap:0 10px;align-items:end;padding:10px;border:1px solid #edf0f5;border-radius:6px;background:#fff}.purchase-process-item{display:flex;flex-direction:column;gap:2px;padding-bottom:12px;min-width:0}.purchase-process-item strong,.purchase-process-item span,.purchase-process-item small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.purchase-process-item strong{color:#1f2633;font-size:13px;line-height:20px}.purchase-process-item span,.purchase-process-item small{color:#8c8c8c;font-size:12px;line-height:18px}.purchase-process-form .ant-form-item{margin-bottom:12px}.sales-progress-content{display:flex;flex-direction:column;gap:14px}.sales-progress-section{display:flex;flex-direction:column;gap:10px}.sales-progress-timeline{padding:8px 4px 0}.sales-progress-event{display:flex;flex-direction:column;gap:3px}.sales-progress-event-title{display:flex;align-items:center;justify-content:space-between;gap:12px}.sales-progress-event-title strong{color:#1f2633;font-size:13px}.sales-progress-event-title span,.sales-progress-event small{color:#8c8c8c;font-size:12px}.sales-progress-event p{margin:0;color:#4d5666;line-height:21px}.production-demand-drawer .ant-drawer-body{padding-top:14px}.production-demand-lines,.production-demand-form .ant-form-item{margin-bottom:12px}.production-purchase-line{display:grid;grid-template-columns:minmax(160px,1.2fr) minmax(200px,1.6fr) 96px 128px minmax(160px,1.3fr) minmax(120px,1fr) 36px;gap:0 10px;align-items:end;padding:10px;margin-bottom:10px;border:1px solid #edf0f5;border-radius:6px;background:#fff}.production-purchase-line .ant-btn{margin-bottom:12px}.sales-lines-header{display:flex;align-items:center;justify-content:space-between;margin:2px 0 8px;font-weight:700}.sales-line-row{border:1px solid #edf0f5;border-radius:6px;padding:10px;margin-bottom:10px;background:#fff}.sales-line-row-top,.sales-line-row-bottom{display:grid;gap:0 10px;align-items:end}.sales-line-row-top{grid-template-columns:minmax(220px,2fr) 96px 96px 128px 36px}.sales-line-row-bottom{grid-template-columns:repeat(3,minmax(0,1fr))}.sales-line-row .ant-btn{margin-bottom:12px}.sales-line-row .ant-form-item-label{padding-bottom:3px}.sales-line-row .ant-form-item-label>label,.sales-order-form .ant-form-item-label>label{font-size:13px}.sales-order-form .ant-input,.sales-order-form .ant-input-number,.sales-order-form .ant-select-selector{min-height:34px}.sales-order-form .ant-input-number{width:100%}@media(max-width:720px){.erp-entry-drawer .ant-drawer-body{padding:20px 20px 84px}.erp-entry-form .ant-form-item{display:block}.erp-entry-form .ant-form-item-label{text-align:left}.sales-order-form-grid,.sales-order-form-grid-wide,.sales-line-row-top,.sales-line-row-bottom{grid-template-columns:1fr}.sales-line-row .ant-btn{margin-bottom:0}.production-purchase-line,.purchase-process-line{grid-template-columns:1fr}.production-purchase-line .ant-btn{margin-bottom:0}.purchase-process-item{padding-bottom:0}}
