@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
:root{--blue:#1459a6;--blue2:#286cc0;--navy:#153253;--ink:#263548;--muted:#738194;--line:#e2e8ef;--bg:#f4f7fa;--green:#20845a;--red:#c74646;--amber:#ad7416}
*{box-sizing:border-box}body{margin:0;background:var(--bg);font:14px Inter,Segoe UI,Arial,sans-serif;color:var(--ink)}button,input,select{font:inherit}button{cursor:pointer}.app-shell{min-height:100vh;display:flex}.sidebar{width:248px;background:#fff;border-right:1px solid var(--line);position:fixed;inset:0 auto 0 0;display:flex;flex-direction:column;z-index:4}.brand-home{width:100%;cursor:pointer;background:#fff;border:0;text-align:left}.brand-home:focus-visible{outline:2px solid #4982c2;outline-offset:-3px}.brand{height:82px;padding:14px 20px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #edf0f4}.brand img{width:157px;height:52px;object-fit:contain;object-position:left center}.demo-tag{font-size:12px;font-weight:700;color:#1656a0;background:#eaf2fc;border-radius:4px;padding:4px 6px;letter-spacing:.4px}.workspace-label{font-size:12px;font-weight:700;color:#566579;letter-spacing:.65px;padding:21px 20px 13px}.workspace-label span{display:block;color:#9aa6b4;font-size:12px;font-weight:500;letter-spacing:.4px;margin-top:5px}.sidebar nav{padding:0 11px;overflow:auto}.nav-item[hidden],.nav-caption[hidden]{display:none!important}.nav-item{width:100%;height:39px;text-align:left;background:transparent;border:0;border-radius:5px;padding:0 10px;color:#526174;display:flex;align-items:center;gap:11px;font-size:12px;margin:2px 0}.nav-item:hover{background:#f3f6fa}.nav-item.active{color:var(--blue);background:#eaf2fb;font-weight:600}.nav-icon{width:18px;text-align:center;color:#718195;font-size:15px}.nav-item.active .nav-icon{color:var(--blue)}.nav-caption{font-size:12px;font-weight:700;color:#a1acb9;letter-spacing:.8px;padding:20px 10px 7px}.nav-count{margin-left:auto;background:#fff0df;color:#a76009;padding:2px 6px;border-radius:8px;font-size:12px}.sidebar-bottom{margin-top:auto;border-top:1px solid var(--line);padding:14px 16px;display:flex;align-items:center;gap:9px;font-size:12px}.sidebar-bottom small{display:block;color:#8a96a4;font-size:12px;margin-top:4px}.avatar{width:29px;height:29px;border-radius:50%;background:#dce9f8;color:#1c5da4;display:grid;place-items:center;font-size:12px;font-weight:700}.more{margin-left:auto;color:#8290a0}.main-area{margin-left:248px;width:calc(100% - 248px);min-height:100vh;display:flex;flex-direction:column}.topbar{height:58px;padding:0 30px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between}.breadcrumbs{font-size:12px;color:#8b97a5}.breadcrumbs span{padding:0 8px;color:#c0c7cf}.breadcrumbs b{font-weight:600;color:#39495d}.top-actions{display:flex;align-items:center;gap:21px}.system-status{font-size:12px;color:#708091}.system-status i{display:inline-block;width:7px;height:7px;border-radius:50%;background:#36a36c;margin-right:5px}.icon-button{position:relative;background:none;border:0;color:#68798c;font-size:17px}.icon-button em{position:absolute;right:-6px;top:-4px;background:#d64747;color:#fff;font-style:normal;font-size:12px;padding:2px 4px;border-radius:8px}.top-user{display:flex;align-items:center;gap:8px;font-size:12px;color:#556477}.avatar.small{width:25px;height:25px}.chevron{color:#8995a2}.menu-toggle{display:none;background:none;border:0}.demo-banner{height:32px;background:#fff8e8;border-bottom:1px solid #f0e4c8;padding:8px 30px;color:#84652b;font-size:12px}.demo-banner span{font-size:12px;font-weight:700;background:#f3e4bd;padding:3px 5px;border-radius:3px;margin-right:7px}.content{padding:26px 30px 32px;flex:1;max-width:none;width:100%;margin:0}.page-heading{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:20px}.page-heading h1{font-size:20px;letter-spacing:-.4px;margin:0 0 6px;font-weight:650;color:#1f3044}.page-heading p{font-size:12px;color:#8491a0;margin:0}.heading-actions{display:flex;gap:8px}.btn{height:33px;padding:0 12px;border-radius:4px;border:1px solid #d8e0e9;background:white;color:#45566b;font-size:12px;font-weight:600;display:inline-flex;align-items:center;gap:6px}.btn:hover{background:#f8fafc}.btn.primary{background:var(--blue);border-color:var(--blue);color:#fff}.btn.primary:hover{background:#0e4e95}.btn.subtle{background:#f6f9fc}.metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:0 0 18px}.metric{background:#fff;border:1px solid var(--line);border-radius:6px;padding:15px 16px;min-height:94px}.metric-top{display:flex;align-items:center;justify-content:space-between;color:#7b8898;font-size:12px}.metric-icon{color:#6792c2;font-size:16px}.metric-value{font-size:23px;font-weight:650;color:#263b53;margin-top:9px;letter-spacing:-.5px}.metric-foot{font-size:12px;color:#909ca9;margin-top:4px}.metric-foot .up{color:var(--green);font-weight:600}.grid-two{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(265px,.85fr);gap:14px;margin-bottom:14px}.panel{background:#fff;border:1px solid var(--line);border-radius:6px;overflow:hidden}.panel-head{height:48px;padding:0 16px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #edf0f4}.panel-head h2{font-size:12px;margin:0;font-weight:650;color:#33465d}.panel-head a,.link-button{font-size:12px;color:var(--blue);text-decoration:none;background:none;border:0}.panel-body{padding:13px 16px}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;white-space:nowrap;font-size:12px}th{text-align:left;color:#7e8a99;font-size:12px;font-weight:600;background:#f7f9fb;padding:9px 10px;border-bottom:1px solid var(--line)}td{padding:10px;border-bottom:1px solid #edf0f3;color:#435369}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#fbfcfe}.code{color:#315d8a;font-weight:600}.qty{font-variant-numeric:tabular-nums}.badge{display:inline-block;padding:4px 7px;border-radius:10px;font-size:12px;font-weight:600}.badge.red{background:#fff0ef;color:#b9443d}.badge.amber{background:#fff6e5;color:#a87313}.badge.green{background:#eaf7ef;color:#26784e}.badge.blue{background:#eaf2fc;color:#2d65a4}.badge.gray{background:#eff2f5;color:#657487}.low-stock{color:#bf5149;font-weight:600}.activity-list{padding:2px 15px}.activity{display:flex;gap:10px;padding:11px 0;border-bottom:1px solid #edf0f3}.activity:last-child{border:0}.activity-dot{width:25px;height:25px;border-radius:6px;display:grid;place-items:center;background:#edf4fc;color:var(--blue);flex:0 0 auto;font-size:12px}.activity-text{font-size:12px;color:#536276;line-height:1.5}.activity-text b{color:#33465d}.activity-text small{display:block;color:#98a2ae;font-size:12px;margin-top:3px}.progress-row{display:flex;justify-content:space-between;font-size:12px;color:#58687b;margin:13px 0 6px}.progress{height:5px;background:#edf1f5;border-radius:5px;overflow:hidden}.progress i{display:block;background:#4982c2;height:100%;border-radius:5px}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 13px;background:#fff;border:1px solid var(--line);border-bottom:0;border-radius:6px 6px 0 0}.toolbar-left,.toolbar-right{display:flex;align-items:center;gap:7px}.search{height:31px;width:220px;border:1px solid #dce3ea;border-radius:4px;padding:0 10px;font-size:12px;color:#4c5b6d;outline:none}.search:focus,input:focus,select:focus{border-color:#6e9ed2;box-shadow:0 0 0 2px #eaf2fc}.select,.input{height:31px;border:1px solid #dce3ea;border-radius:4px;padding:0 9px;background:#fff;color:#4d5e72;font-size:12px}.table-panel{border-radius:0 0 6px 6px}.table-panel td,.table-panel th{padding:10px}.group-tabs{display:flex;border-bottom:1px solid var(--line);gap:20px;padding:0 15px;background:#fff}.group-tab{background:none;border:0;padding:12px 2px 10px;color:#788697;font-size:12px;border-bottom:2px solid transparent}.group-tab.active{color:var(--blue);font-weight:650;border-color:var(--blue)}.form-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.field label{font-size:12px;font-weight:600;color:#788597;display:block;margin-bottom:6px}.field input,.field select{height:35px;width:100%;padding:0 9px;border:1px solid #dce3ea;border-radius:4px;color:#33465d;font-size:12px;background:#fff}.field.span2{grid-column:span 2}.field.span4{grid-column:span 4}.receiving-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(280px,.75fr);gap:14px}.receive-card{padding:16px}.receive-card .field{margin-bottom:13px}.mobile-receive{max-width:420px;margin:15px auto;background:#f8fafc;border:1px solid #e1e8ef;border-radius:12px;padding:14px;box-shadow:0 10px 30px #19314b10}.mobile-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.mobile-top img{width:115px;height:36px;object-fit:contain;object-position:left}.mobile-top span{font-size:12px;color:#6f7f91}.mobile-title{font-size:16px;font-weight:650;margin:0 0 4px}.mobile-sub{font-size:12px;color:#8491a0;margin:0 0 15px}.scan-box{height:47px;border:1px dashed #a8bfd9;background:#f2f7fc;border-radius:5px;display:flex;align-items:center;justify-content:center;color:#35699f;font-size:12px;margin-bottom:14px}.receive-submit{width:100%;height:40px;border:0;background:var(--blue);color:#fff;border-radius:5px;font-weight:600;font-size:12px}.period-tools{display:flex;gap:7px;align-items:center;flex-wrap:wrap}.period-tools input{height:31px;border:1px solid #dce3ea;border-radius:4px;padding:0 8px;font-size:12px;color:#4d5e72}.period-shortcuts{display:flex;gap:5px}.period-shortcuts button{font-size:12px;padding:6px 8px;border:1px solid #dce3ea;background:#fff;border-radius:4px;color:#657487}.period-shortcuts button.active{border-color:#8fb2da;background:#eef5fc;color:#225f9f}.report-header{border:1px solid #dce3ea;background:#fff;padding:14px 16px;display:flex;align-items:center;gap:20px;margin-bottom:12px}.report-header img{width:130px;height:58px;object-fit:contain}.report-title{flex:1;text-align:center}.report-title h2{font-size:16px;color:#fff;background:#4776c3;margin:0;padding:8px}.report-title small{display:block;color:#718094;font-size:12px;margin-top:7px}.report-table th{background:#dce6f5;color:#33465d;text-align:center}.report-table td{text-align:center;border:1px solid #e0e4e9}.report-table td.name{text-align:left;white-space:normal;min-width:130px}.measure{display:flex;gap:8px;justify-content:center}.measure b{font-weight:650;color:#1e2e40}.report-selectors{display:flex;gap:8px;align-items:center}.report-note{padding:11px 13px;background:#f8fafc;border:1px solid var(--line);border-top:0;font-size:12px;color:#8390a0}.role-list{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.role-card{border:1px solid var(--line);border-radius:5px;padding:13px}.role-card h3{margin:0 0 5px;font-size:12px}.role-card p{margin:0;color:#8491a0;font-size:12px;line-height:1.6}.permission-table td:first-child{font-weight:600}.empty-state{padding:30px;text-align:center;color:#8390a0;font-size:12px}footer{border-top:1px solid var(--line);height:38px;padding:12px 30px;color:#99a4b0;font-size:12px}footer span{float:right}.toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%,20px);opacity:0;background:#183553;color:white;padding:11px 17px;border-radius:5px;font-size:12px;transition:.2s;z-index:10;pointer-events:none}.toast.show{opacity:1;transform:translate(-50%,0)}
.row-actions{display:flex;gap:8px;align-items:center}.row-action{border:0;background:transparent;color:#326da9;font-size:12px;padding:2px}.row-action.delete{color:#bd4a43}.editable-note{margin-left:auto;color:#8b97a5;font-size:12px}.modal-backdrop{position:fixed;inset:0;background:#13243a66;display:none;align-items:center;justify-content:center;z-index:20;padding:16px}.modal-backdrop.open{display:flex}.modal-card{width:min(570px,100%);max-height:90vh;overflow:auto;background:#fff;border-radius:7px;box-shadow:0 20px 60px #0d223844}.modal-head,.modal-foot{display:flex;align-items:center;justify-content:space-between;padding:14px 18px;border-bottom:1px solid var(--line)}.modal-head h2{font-size:14px;margin:0}.modal-close{border:0;background:transparent;color:#6e7c8e;font-size:22px}.modal-body{padding:16px 18px}.modal-foot{border-top:1px solid var(--line);border-bottom:0;justify-content:flex-end;gap:8px}.modal-body .form-grid{grid-template-columns:repeat(2,1fr)}.modal-body .field input,.modal-body .field select{font-size:12px}
.auth-screen{position:fixed;inset:0;background:#f2f6fa;display:grid;place-items:center;z-index:30;padding:18px}.auth-screen[hidden]{display:none}.auth-card{width:min(430px,100%);background:#fff;border:1px solid var(--line);border-radius:8px;padding:26px;box-shadow:0 18px 45px #17395a14}.auth-card>img{width:170px;height:70px;object-fit:contain;object-position:left center;margin-bottom:16px}.auth-card h1{font-size:18px;margin:0 0 7px}.auth-card p{color:#788697;font-size:12px;line-height:1.55;margin:0 0 18px}.auth-card .field{margin-bottom:13px}.auth-card .field input,.auth-card .field select{width:100%;height:38px;border:1px solid #dce3ea;border-radius:4px;padding:0 10px}.auth-card .btn{height:38px;font-size:12px}.auth-card .auth-error{color:#b23e3e;font-size:12px;min-height:17px;margin:5px 0}
@media(max-width:1000px){.sidebar{width:220px}.main-area{margin-left:220px;width:calc(100% - 220px)}.content{padding:22px 20px}.topbar{padding:0 20px}.metrics{grid-template-columns:repeat(2,1fr)}.grid-two{grid-template-columns:minmax(0,1.3fr) minmax(230px,.8fr)}}
@media(max-width:720px){.sidebar{transform:translateX(-100%);transition:transform .2s;width:250px;box-shadow:8px 0 30px #13243a22}.sidebar.open{transform:translateX(0)}.main-area{margin-left:0;width:100%}.menu-toggle{display:block;color:#556579;font-size:17px;margin-right:10px}.topbar{height:52px;padding:0 13px;justify-content:flex-start}.breadcrumbs{flex:1;font-size:12px}.top-actions{gap:10px}.system-status,.top-user span:not(.chevron),.top-user .chevron{display:none}.demo-banner{padding:8px 13px;font-size:12px}.content{padding:19px 13px 25px}.page-heading{gap:10px;align-items:center}.page-heading h1{font-size:18px}.page-heading p{font-size:12px}.heading-actions .btn:not(.primary){display:none}.metrics{gap:8px}.metric{padding:12px;min-height:82px}.metric-value{font-size:20px}.metric-top{font-size:12px}.grid-two,.receiving-layout{grid-template-columns:1fr}.toolbar{align-items:flex-start;flex-direction:column}.toolbar-left,.toolbar-right{width:100%}.search{flex:1;width:auto}.table-panel table{min-width:700px}.form-grid{grid-template-columns:repeat(2,1fr)}.field.span4{grid-column:span 2}.period-tools{align-items:stretch}.period-tools input{flex:1;min-width:115px}.period-shortcuts{width:100%;overflow:auto}.report-header{gap:8px;padding:8px}.report-header img{width:82px;height:45px}.report-title h2{font-size:12px}.report-selectors{flex-wrap:wrap}.role-list{grid-template-columns:1fr}footer{padding:12px 14px}footer span{display:none}}
.measure-sections{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.measure-section{border:1px solid #dce4ed;border-radius:5px;padding:12px;background:#fbfcfe}.measure-section h3{margin:0 0 10px;font-size:12px;color:#315d8a}.measure-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.measure-fields .field label,.measure-sections>.field label{font-size:12px}.import-mode{display:flex;align-items:flex-start;gap:9px;padding:11px 12px;margin-top:8px;border:1px solid #dce4ed;border-radius:5px;background:#fbfcfe;color:#45566b;font-size:12px;line-height:1.45}.import-mode input{margin:2px 0 0;accent-color:#1b5da6}.modal-body>p{font-size:12px;color:#526174;line-height:1.5}
@media(max-width:760px){.measure-sections{grid-template-columns:1fr}.measure-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}
.stock-value-panel{margin:10px 0 12px;padding:15px 17px}.stock-value-head{display:flex;align-items:center;justify-content:space-between;gap:15px}.stock-value-head h2{font-size:13px;margin:0 0 4px}.stock-value-head small,.stock-value-group small{font-size:12px;color:#7b8795}.stock-value-head>strong{font-size:23px;color:#1f5d9e}.stock-value-groups{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:12px}.stock-value-group{display:flex;flex-direction:column;gap:4px;padding:9px 10px;border:1px solid #e3e9f0;border-radius:4px}.stock-value-group b{font-size:12px;color:#4e5d70}.stock-value-group span{font-size:14px;font-weight:650;color:#24384f}.stock-value-note{margin:11px 0 0;padding-top:9px;border-top:1px solid #edf0f4;font-size:12px;color:#6f7d8e}.stock-value-note b{color:#9a6411}@media(max-width:720px){.stock-value-panel{padding:12px}.stock-value-head>strong{font-size:19px}.stock-value-groups{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.stock-value-group{padding:8px}.stock-value-group span{font-size:12px}}
.bom-click-row{cursor:pointer}.bom-click-row:hover{background:#f2f7fc}.bom-click-row:focus{outline:2px solid #4776c3;outline-offset:-2px}.bom-thumb{width:54px;height:36px;object-fit:contain;display:block;margin:auto}.bom-default-image{background:#fff}.bom-product-card{display:flex;align-items:center;gap:18px;padding:15px;margin:12px 0}.bom-detail-image{width:112px;height:80px;object-fit:contain;border:1px solid #e3e8ee;border-radius:4px;background:#fff;flex:0 0 auto}.bom-product-info{min-width:0;flex:1}.bom-meta-row{display:grid;grid-template-columns:repeat(3,minmax(110px,1fr));gap:12px}.bom-meta-row span{display:flex;flex-direction:column;gap:4px}.bom-meta-row small{font-size:12px;color:#8390a0}.bom-meta-row b{font-size:12px;color:#2e4055}.bom-product-info>p{margin:10px 0 0;color:#6d7d90;font-size:12px}.bom-detail-actions{display:flex;gap:7px;flex-wrap:wrap;margin-top:12px}.bom-lines-panel{margin-top:14px}.bom-lines-panel>.group-tabs{border-bottom:1px solid #e4e9ef}.bom-lines-panel>.panel-head{padding:12px 14px}.bom-lines-panel>.panel-head h2{font-size:12px;margin:0}.bom-lines-panel table{min-width:780px}@media(max-width:720px){.bom-product-card{align-items:flex-start;gap:10px;padding:10px}.bom-detail-image{width:74px;height:64px}.bom-meta-row{grid-template-columns:repeat(2,minmax(100px,1fr));gap:9px}.bom-detail-actions .btn{width:100%;justify-content:center}.bom-list-panel .toolbar-left{flex-wrap:wrap}.bom-list-panel .toolbar-left .search{width:100%}}
.mrp-group-tabs{margin:0;padding:8px 14px;border-bottom:1px solid #edf0f4;overflow-x:auto}.mrp-group-tabs .group-tab{white-space:nowrap}.mrp-group-tabs .group-tab span{display:inline-grid;place-items:center;min-width:17px;height:17px;margin-left:4px;padding:0 4px;border-radius:9px;background:#eef2f6;color:#607084;font-size:12px}.mrp-group-tabs .group-tab.active span{background:#d9e9fa;color:#1e5da0}.mrp-shortage-row td{background:#fff0ef!important;color:#963d37}.mrp-shortage-row:hover td{background:#ffe7e5!important}.mrp-shortage-row .code,.mrp-shortage-value{color:#b43832;font-weight:700}
.mrp-actions{justify-content:space-between;padding:9px 14px}.mrp-actions .report-note{margin:0}.purchase-order-card{border-top:1px solid #e6ebf1}.purchase-order-card summary{display:flex;align-items:center;gap:18px;padding:12px 14px;cursor:pointer;font-size:12px;color:#3b4e63}.purchase-order-card summary span:last-child{margin-left:auto;font-weight:650}.purchase-order-card .table-wrap{border-top:1px solid #edf0f4}.cell-sub{display:block;color:#8492a3;font-size:12px;margin-top:3px}.purchase-line-check,.mrp-need-check{width:15px;height:15px;accent-color:#1459a6}.purchase-line-check:checked{outline:2px solid #d7e7fb}.purchase-order-form input,.receive-qty{min-width:85px;width:100%;max-width:135px}.receive-note{min-width:105px;width:100%;max-width:150px}.receive-warehouse{min-width:120px}.purchase-order-card table{min-width:760px}#purchaseNeedsList table{min-width:1060px}#receivingOpenOrders table{min-width:1170px}.receiving-mobile-cards{display:none}.receiving-mobile-card{border:1px solid #e1e7ef;border-radius:5px;padding:13px;margin:10px}.receiving-mobile-head{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;font-size:12px}.receiving-mobile-card p{font-size:12px;color:#607084}.receiving-mobile-card p small{display:block;margin-top:4px}.receiving-mobile-card>.btn{width:100%;justify-content:center;margin-top:10px}[hidden]{display:none!important}@media(max-width:720px){.mrp-actions{align-items:flex-start;flex-direction:column}.mrp-actions .btn{width:100%;justify-content:center}.purchase-order-card summary{align-items:flex-start;flex-direction:column;gap:7px}.purchase-order-card summary span:last-child{margin-left:0}.mobile-receive-panel{display:block}.receiving-desktop{display:none}.receiving-mobile-cards{display:block}.receiving-mobile-card .form-grid{grid-template-columns:1fr 1fr}.receiving-mobile-card .field.span2{grid-column:span 2}}

.order-open>summary{background:#fff8df}.order-complete>summary{background:#e9f6ec}.order-cancelled>summary{background:#fdebec}.purchase-order-actions,.order-bulk-toolbar,.stock-delete-toolbar{display:flex;align-items:center;gap:12px;padding:8px 14px;border-top:1px solid #edf0f4}.purchase-order-actions{justify-content:flex-end}.purchase-order-check,.stock-card-check{width:15px;height:15px;accent-color:#1459a6}.order-select,.order-bulk-toolbar label,.stock-delete-toolbar label{display:flex;align-items:center;gap:7px;font-size:12px}.btn.danger{background:#b9343e;color:white;border-color:#b9343e}.receipt-code-table{min-width:760px}.receipt-code-table tr.order-open{background:#fff9e6}@media(max-width:720px){.order-bulk-toolbar,.stock-delete-toolbar{align-items:stretch;flex-direction:column}.purchase-order-actions{justify-content:flex-start;flex-wrap:wrap}.receipt-code-table{min-width:700px}}

.sales-tabs{display:flex;gap:8px;margin:12px 0}.sales-summary-grid{display:grid;grid-template-columns:repeat(2,minmax(220px,1fr));gap:12px;margin-bottom:14px}.sales-metric{padding:16px;display:grid;gap:5px}.sales-metric small,.sales-metric span{color:#697a8e;font-size:12px}.sales-metric strong{font-size:23px;color:#1459a6}.sales-metric span{font-size:12px}@media(max-width:720px){.sales-summary-grid{grid-template-columns:1fr}.sales-tabs .group-tab{flex:1}}

.modal-backdrop.bom-picker-modal .modal-card{width:min(920px,96vw);max-height:94vh}.bom-card-list{display:block;width:100%;height:auto;min-height:190px;max-height:42vh;overflow:auto;margin-top:7px;padding:4px;border:1px solid #dce3ea;border-radius:4px;background:#fff;color:#33465d}.bom-card-list option{padding:7px 9px;white-space:normal}.bom-card-list option:checked{background:#dceafb linear-gradient(0deg,#dceafb,#dceafb);color:#173b64}.modal-body #bomCardCount{display:block;margin-top:5px;color:#788697;font-size:12px}

.mrp-direct-list{display:block;width:100%;height:auto;min-height:170px;max-height:40vh;overflow:auto;margin-top:7px;padding:4px;border:1px solid #dce3ea;border-radius:4px;background:#fff;color:#33465d}.mrp-direct-list option{padding:7px 9px}

.company-settings-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.company-settings-grid .span2{grid-column:span 2}.company-logo-field{grid-column:span 2}.company-logo-row{display:flex;align-items:center;gap:14px}.company-logo-row img{width:150px;height:70px;object-fit:contain;border:1px solid #e2e8f0;border-radius:4px;background:white;padding:7px}.company-settings-actions{display:flex;justify-content:flex-end;margin-top:16px}.company-settings-grid textarea{width:100%;resize:vertical}@media(max-width:720px){.company-settings-grid{grid-template-columns:1fr}.company-settings-grid .span2,.company-logo-field{grid-column:span 1}.company-logo-row{align-items:flex-start;flex-direction:column}}

.report-filter-grid{display:grid;grid-template-columns:repeat(3,minmax(130px,1fr));gap:12px;align-items:end}.report-filter-grid .field>span{display:block;font-size:12px;color:#718096;margin-bottom:5px}.report-filter-grid .field select,.report-filter-grid .field input{width:100%}.report-apply{min-height:36px}.report-shortcuts{display:flex;gap:7px;margin-top:12px}.report-check{display:flex;align-items:center;gap:8px;margin-top:12px;color:#4f6075;font-size:12px}.report-help{margin:10px 0 0;color:#748196;font-size:12px}.report-result-panel{margin-top:14px}.report-result-actions{display:flex;align-items:center;gap:10px}.report-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:12px 14px}.report-summary-item{padding:9px 11px;border:1px solid #dfe6ef;border-radius:4px;background:#fbfcfe}.report-summary-item small{display:block;color:#718096;font-size:12px;margin-bottom:5px}.report-summary-item b{font-size:14px;color:#244b7b}.live-report-table{min-width:800px}.live-report-table th{position:sticky;top:0}.report-result-panel .panel-head small{font-size:12px}@media(max-width:720px){.report-filter-grid{grid-template-columns:1fr 1fr}.report-apply{width:100%}.report-summary{grid-template-columns:1fr 1fr}.report-result-actions{flex-wrap:wrap;justify-content:flex-end}.report-shortcuts{overflow-x:auto}.report-help{line-height:1.5}}

.purchase-need-tools{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:7px 14px;color:#738195;font-size:12px;border-bottom:1px solid #edf0f4}.purchase-need-sort{display:inline-flex;align-items:center;gap:5px;background:none;border:0;padding:0;color:inherit;font:inherit;white-space:nowrap;cursor:pointer}.purchase-need-sort:hover{color:#1459a6}.purchase-need-sort span{font-size:12px;color:#6e829b}.purchase-need-filter-row th{background:#f8fafc;padding:4px;position:sticky;top:0;z-index:1}.purchase-need-filter{box-sizing:border-box;width:100%;min-width:62px;height:25px;border:1px solid #dce3ea;border-radius:3px;padding:0 5px;background:#fff;color:#33465d;font-size:12px}.purchase-need-filter:focus{outline:none;border-color:#6e9ed2;box-shadow:0 0 0 2px #eaf2fc}.purchase-needs-table th{white-space:nowrap}
@media(max-width:720px){.purchase-need-tools{align-items:flex-start}.purchase-need-filter{min-width:70px}.purchase-needs-table{min-width:1450px}}

.purchase-need-empty{text-align:center;color:#8390a0;padding:22px!important}

.purchase-need-tool-actions{display:flex;align-items:center;gap:10px}.purchase-qty-limit{display:block;margin-top:4px;color:#718195;font-size:12px}.purchase-qty-limit-warning{color:#b9343e;font-weight:650}.purchase-qty-over-limit{border-color:#b9343e!important;background:#fff4f4!important;outline:1px solid #b9343e}.purchase-needs-table input[type=search]{min-width:64px}

/* Mal kabul aksiyonları: açıklama satırının sağında, alanlarla çakışmadan */
.receipt-note-actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,34%);gap:12px;align-items:center}.receipt-action-buttons{display:grid;gap:7px}.receipt-action-buttons .btn{width:100%;min-height:38px;white-space:nowrap}@media(max-width:760px){.receipt-note-actions{grid-template-columns:1fr}.receipt-action-buttons{grid-template-columns:1fr 1fr}.receipt-action-buttons .btn{white-space:normal}}@media(max-width:460px){.receipt-action-buttons{grid-template-columns:1fr}}

.sales-ready-tools{display:flex;align-items:end;gap:12px;padding:12px;border-bottom:1px solid #e6ebf2}.sales-ready-tools .field{min-width:220px}.sales-ready-tools .sales-ready-search{flex:1}.sales-ready-tools input,.sales-ready-tools select{width:100%}.ready-products-table{min-width:720px}.ready-sort-heading button{border:0;padding:0;background:none;color:inherit;font:inherit;font-weight:600;cursor:pointer}.ready-sort-heading button:hover{color:#1459a6}.ready-sort-heading[aria-sort=ascending] button::after{content:' ↑';color:#1459a6}.ready-sort-heading[aria-sort=descending] button::after{content:' ↓';color:#1459a6}.ready-group-row th{padding:9px 12px;background:#edf3fa;color:#24466c;text-align:left;font-size:12px;border-top:1px solid #d8e2ef}@media(max-width:720px){.sales-ready-tools{align-items:stretch;flex-direction:column}.sales-ready-tools .field{min-width:0}}

.stock-transfer-balances{padding:10px 12px;border:1px solid #d8e3f0;border-radius:6px;background:#f5f8fc;color:#425a76;font-size:13px;font-weight:600}
