@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/inter-latin-400-normal-C38fXH4l.woff2) format("woff2"),url(/assets/inter-latin-400-normal-CyCys3Eg.woff) format("woff")}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/inter-vietnamese-400-normal-DMkecbls.woff2) format("woff2"),url(/assets/inter-vietnamese-400-normal-Bbgyi5SW.woff) format("woff")}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/inter-latin-500-normal-Cerq10X2.woff2) format("woff2"),url(/assets/inter-latin-500-normal-BL9OpVg8.woff) format("woff")}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/inter-vietnamese-500-normal-DOriooB6.woff2) format("woff2"),url(/assets/inter-vietnamese-500-normal-mJboJaSs.woff) format("woff")}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/inter-latin-600-normal-LgqL8muc.woff2) format("woff2"),url(/assets/inter-latin-600-normal-CiBQ2DWP.woff) format("woff")}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/inter-vietnamese-600-normal-Cc8MFFhd.woff2) format("woff2"),url(/assets/inter-vietnamese-600-normal-BuLX-rYi.woff) format("woff")}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:700;src:url(/assets/inter-latin-700-normal-Yt3aPRUw.woff2) format("woff2"),url(/assets/inter-latin-700-normal-BLAVimhd.woff) format("woff")}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:700;src:url(/assets/inter-vietnamese-700-normal-DlLaEgI2.woff2) format("woff2"),url(/assets/inter-vietnamese-700-normal-BZaoP0fm.woff) format("woff")}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:800;src:url(/assets/inter-latin-800-normal-BYj_oED-.woff2) format("woff2"),url(/assets/inter-latin-800-normal-D1mf63XC.woff) format("woff")}@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:800;src:url(/assets/inter-vietnamese-800-normal-Cm7tD1pz.woff2) format("woff2"),url(/assets/inter-vietnamese-800-normal-DDlpr_Ee.woff) format("woff")}:root{font-family:Inter,ui-sans-serif,system-ui,sans-serif;font-size:13px;color:#172533;background:#f5f7f8;font-synthesis:none}.price-editor,.stock-notes{margin-top:20px}.price-form,.note-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.note-form label:first-child{grid-column:1 / -1}.price-form label,.note-form label{min-width:0}.price-form textarea,.note-form textarea{display:block;width:100%;min-width:0;min-height:118px;margin-top:7px;padding:10px 12px;border:1px solid #dbe4e8;border-radius:9px;background:#fff;color:#1b2c38;font:inherit;line-height:1.5;resize:vertical;transition:border-color .15s,box-shadow .15s}.price-form textarea:focus,.note-form textarea:focus{outline:none;border-color:#20aa91;box-shadow:0 0 0 3px #21b3981d}.price-form button{grid-column:1 / -1;justify-self:start}.note-actions{display:flex;align-items:center;gap:10px;grid-column:1 / -1}.note-list{display:grid;gap:10px;margin-top:18px}.note-item{padding:14px;border:1px solid #e5ecee;border-radius:12px}.note-item p{white-space:pre-wrap;margin:0 0 8px}.note-item small{color:#71818a}@media(max-width:1100px){.price-list-table,.price-list-table tbody{display:block;width:100%;min-width:0}.price-list-table thead{display:none}.price-list-table tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:10px;padding:15px;border:1px solid #e5ecee;border-radius:12px}.price-list-table td{display:block;min-width:0;padding:0;border:0;white-space:normal;overflow-wrap:anywhere}.price-list-table td:before{content:attr(data-label);display:block;margin-bottom:4px;color:#82929c;font-size:11px;font-weight:700}.price-list-table td:nth-child(2),.price-list-table td:last-child{grid-column:1 / -1}.price-list-table td:last-child:before{display:none}.price-list-table td:last-child button{width:100%}}@media(max-width:640px){.price-form,.note-form{grid-template-columns:1fr}.stock-notes{max-width:100%}}*{box-sizing:border-box}body{margin:0;min-width:320px}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}h1,h2,h3,h4,p{margin-top:0}h1,h2,h3,h4{font-family:Inter,ui-sans-serif,system-ui,sans-serif;letter-spacing:-.035em}h1{font-size:clamp(28px,3vw,34px);line-height:1.2;margin:5px 0 8px}h3{font-size:18px;margin:0 0 14px}h4{font-size:15px;margin:22px 0 12px}header{margin-bottom:26px}header p{color:#788697;margin:0;font-size:13px}.eyebrow{display:block;font-weight:800;color:#16937e;letter-spacing:.11em;font-size:11px}.helper-text{color:#82909f;font-size:12px;margin:0}.required-mark{color:#d43d3d;font-weight:800}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}button,.button-link{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid #0e806d;border-radius:10px;background:#0e806d;color:#fff;padding:10px 16px;font-size:13px;font-weight:700;line-height:1.4;text-decoration:none;white-space:nowrap;box-shadow:0 3px 8px #0e806d20;transition:background .15s,transform .15s,border-color .15s}button:hover:not(:disabled),.button-link:hover{background:#096c5c;border-color:#096c5c;transform:translateY(-1px)}button.secondary,.button-link.secondary{background:#f0f5f4;color:#177765;border-color:#d9e8e4;box-shadow:none}button.secondary:hover:not(:disabled),.button-link.secondary:hover{background:#e5f0ed;border-color:#b6d4cb}button.text-button{background:transparent;border:0;box-shadow:none;padding:5px 7px;color:#087c69;font-size:12px}button.text-button:hover:not(:disabled){background:#e8f4f0;border-color:transparent;transform:none}button.text-button.danger{color:#c35959}button.text-button.danger:hover:not(:disabled){background:#fff0f0}.confirm-dialog{font:inherit;width:min(430px,calc(100vw - 32px));max-height:calc(100vh - 32px);padding:0;border:1px solid #e0e8eb;border-radius:18px;background:#fff;color:#172533;box-shadow:0 24px 80px #0b23304d}.confirm-dialog::backdrop{background:#10222cb3;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.confirm-dialog-content{padding:24px}.confirm-dialog-heading,.confirm-dialog-actions{display:flex;align-items:center;justify-content:space-between}.confirm-dialog-heading{margin-bottom:14px}.confirm-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:12px;background:#e5f4ef;color:#0e806d}.confirm-icon.danger{background:#fff0ec;color:#cb573e}.confirm-dialog h2{margin:0 0 8px;font-size:20px;line-height:1.3}.confirm-dialog p{margin:0 0 24px;color:#5d6d7a;line-height:1.6}.confirm-dialog-actions{justify-content:flex-end;gap:10px}.confirm-dialog-actions button{min-width:100px}button.danger-button{background:#be4d3b;border-color:#be4d3b;box-shadow:0 3px 8px #be4d3b20}button.danger-button:hover:not(:disabled){background:#a83f30;border-color:#a83f30}button.icon-button{width:34px;height:34px;padding:0;display:grid;place-items:center;background:transparent;border:0;color:#7e8b9a;box-shadow:none;font-size:23px}button.icon-button:hover{background:#eaf0f2;color:#172533;border:0;transform:none}.detail-dialog .icon-button,.catalog-create-dialog .icon-button,.quick-product-dialog .icon-button,.price-reference-dialog .icon-button,.confirm-dialog .icon-button,.stock-notes .icon-button{width:40px;height:40px;flex:0 0 40px}button.icon-button:focus-visible{outline:2px solid #0e806d;outline-offset:2px}.app-shell{display:flex;min-height:100vh}.sidebar{position:sticky;top:0;flex:0 0 256px;width:256px;height:100vh;background:#132532;color:#e9f1f3;display:flex;flex-direction:column;z-index:30;box-shadow:4px 0 24px #15273710}.sidebar-brand{display:flex;gap:11px;align-items:center;padding:20px 23px;border-bottom:1px solid #ffffff13}.brand-mark{width:41px;height:41px;flex:0 0 41px;object-fit:contain;border-radius:50%}.sidebar-brand strong{font-family:Inter,ui-sans-serif,system-ui,sans-serif;font-size:14px;display:block;letter-spacing:-.03em}.sidebar-brand span{display:block;color:#87a1ad;font-size:11px;margin-top:3px}.sidebar-nav{padding:16px 13px;flex:1;min-height:0;overflow-y:auto}.nav-group{margin-bottom:18px}.nav-group:last-child{margin-bottom:0}.nav-group>p{font-size:11px;letter-spacing:.13em;color:#718f9d;font-weight:800;margin:0 11px 6px}.nav-link{display:flex;gap:12px;align-items:center;padding:9px 12px;margin:1px 0;color:#a9bec8;text-decoration:none;border-radius:10px;font-size:13px;font-weight:600;transition:background .15s,color .15s}.nav-link:hover{background:#213b48;color:#fff}.nav-link.active{background:#1e4c51;color:#e7fff8;box-shadow:inset 3px 0 #2bcaac}.nav-link.active svg:first-child{color:#5ee0c4}.nav-arrow{margin-left:auto;opacity:.35}.sidebar-footer{display:flex;align-items:center;gap:9px;padding:12px 14px;border-top:1px solid #ffffff14}.account-avatar{width:33px;height:33px;background:#294852;color:#bff7e8;border-radius:10px;display:grid;place-items:center;font-weight:800}.account-details{min-width:0;flex:1}.account-details strong,.account-details span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account-details strong{font-size:11px}.account-details span{font-size:10px;color:#8ba7b3;margin-top:2px}.sidebar .logout-icon{color:#9db4bf}.close-sidebar{display:none!important}.sidebar-backdrop{display:none}.app-main{min-width:0;flex:1}.app-topbar{height:66px;border-bottom:1px solid #e6edef;background:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 34px}.topbar-title{display:flex;gap:10px;align-items:center;color:#91a0ad;font-size:13px}.topbar-title strong{color:#293b4a;font-weight:700}.topbar-status{display:flex;align-items:center;gap:7px;padding:6px 10px;background:#eef8f4;border:1px solid #dbefe7;border-radius:999px;color:#298c70;font-size:11px;font-weight:700}.topbar-status span{width:7px;height:7px;border-radius:100%;background:#38b98b;box-shadow:0 0 0 3px #cdeede}.menu-toggle{display:none!important}.content{max-width:1450px;margin:auto;padding:34px 36px 60px}.card{background:#fff;border:1px solid #e5ecee;border-radius:16px;box-shadow:0 5px 18px #23364708;padding:23px;margin-bottom:18px}.metrics{display:grid;grid-template-columns:repeat(2,minmax(0,230px));gap:16px;margin-bottom:18px}.metric-card{position:relative;min-height:132px;padding:22px 23px}.metric-card>span{display:block;color:#798995;font-size:12px;font-weight:700}.metric-card>strong{display:block;color:#1a3442;font:800 32px Inter,sans-serif;margin-top:14px;line-height:1.1}.metric-card>small{display:block;color:#9baab3;font-size:11px;margin-top:5px}.metric-card>svg{position:absolute;right:22px;top:22px;color:#86c9b9}.metric-card .metric-name{font-size:20px;min-height:37px;padding-top:4px}.start-card{display:flex;justify-content:space-between;gap:20px;align-items:center;background:linear-gradient(120deg,#fff 60%,#e8f7f2)}.start-card h3{font-size:21px;margin:6px 0}.start-card p{font-size:13px;color:#778896;margin:0}.actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.page-header{display:flex;justify-content:space-between;align-items:center;gap:16px}.page-header button{align-self:center}label{display:block;color:#495c69;font-size:13px;font-weight:700}input,select{width:100%;border:1px solid #dbe4e8;border-radius:9px;background:#fff;color:#1b2c38;padding:10px 12px;margin-top:7px;min-height:41px;font-size:13px;transition:border-color .15s,box-shadow .15s}input::placeholder{color:#a7b3bc}input:focus,select:focus{outline:none;border-color:#20aa91;box-shadow:0 0 0 3px #21b3981d}input[readonly]{background:#f4f8f8;color:#628078}label small{display:block;font-weight:400;color:#94a1aa;margin-top:5px;font-size:11px}.form-row{display:flex;gap:14px;align-items:end;flex-wrap:wrap}.form-row label{min-width:150px;flex:1}.form-row button{margin-bottom:0}.field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.field-span{grid-column:1/-1}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:22px}.section-heading>div:first-child{display:flex;align-items:center;gap:10px}.section-heading h3{margin:0}.step-number{display:grid;place-items:center;width:29px;height:29px;border-radius:9px;background:#e1f4ec;color:#168269;font-size:11px;font-weight:800}.receipt-form .card{overflow:visible}.receipt-line{border:1px solid #e3ebee;border-radius:13px;padding:18px;margin-bottom:15px;background:#fbfcfd}.line-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px;color:#2c4350;font-size:12px;font-weight:800}.product-spec{display:flex;flex-wrap:wrap;gap:8px}.product-spec span{background:#edf3f4;padding:6px 9px;border-radius:7px;color:#617985;font-size:11px}.product-spec a{align-self:center;color:#0e806d;font-size:12px;font-weight:700}.quick-product-trigger{margin-top:-6px}.catalog-created-note{border-color:#a8daca;background:#eefaf5;color:#0d6656}.catalog-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0}.catalog-tabs button{background:#fff;color:#34535b;border-color:#dce9e7}.catalog-tabs button[aria-selected=true]{background:#0e806d;border-color:#0e806d;color:#fff}.price-reference-intro{max-width:900px;color:#526d77;line-height:1.5}.price-note-cell,.price-reference-note p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.5}.quick-product-dialog,.catalog-create-dialog,.price-reference-dialog{width:min(700px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow-y:auto;padding:0;border:1px solid #dce9e7;border-radius:18px;background:#fff;color:#172533;box-shadow:0 24px 80px #0b23304d}.price-reference-dialog{width:min(530px,calc(100vw - 24px))}.quick-product-dialog::backdrop,.catalog-create-dialog::backdrop,.price-reference-dialog::backdrop{background:#10222cb3;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.quick-product-content,.catalog-create-content,.price-reference-content{padding:24px}.quick-product-content h2,.catalog-create-content h2,.price-reference-content h2{margin:4px 0 0;font-size:23px}.quick-product-content>p,.catalog-create-content>p,.price-reference-content>p{color:#526d77;line-height:1.5}.quick-product-form,.catalog-create-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.quick-product-form label,.catalog-create-form label{min-width:0}.quick-product-form input,.quick-product-form select,.catalog-create-form input,.catalog-create-form select{width:100%;min-width:0}.quick-product-similar,.quick-product-form>.error,.quick-product-actions,.catalog-create-form>.error,.catalog-create-actions{grid-column:1 / -1}.quick-product-similar{display:grid;gap:8px;padding:12px;border-radius:10px;background:#fff8e9;color:#705313;font-size:13px}.quick-product-similar>div,.quick-product-actions,.catalog-create-actions{display:flex;align-items:center;justify-content:space-between;gap:12px}.quick-product-actions{justify-content:flex-end}.catalog-create-actions{justify-content:flex-end;margin-top:8px}.price-reference-note{padding:14px;border-radius:10px;background:#f3f8f7}.price-unit-warning{padding:10px;border-radius:8px;background:#fff8e9;color:#705313!important}.price-reference-disclaimer{font-size:13px}@media(max-width:600px){.quick-product-content,.catalog-create-content,.price-reference-content{padding:16px}.quick-product-form,.catalog-create-form{grid-template-columns:1fr}.catalog-create-actions button{flex:1}.quick-product-similar>div{align-items:flex-start;flex-direction:column}}.add-line{border-style:dashed!important}.receipt-submit{display:flex;align-items:center;justify-content:space-between;gap:20px;border-color:#c8e9df;background:#f4fcf8}.receipt-submit span,.receipt-submit strong,.receipt-submit small{display:block}.receipt-submit span{color:#79918b;font-size:12px}.receipt-submit strong{font:800 25px Inter,sans-serif;color:#0f675b;margin:4px 0}.receipt-submit small{color:#81958e;font-size:11px}.receipt-submit button{min-width:166px}.success-banner{display:flex;gap:12px;align-items:center;border:1px solid #bfe9d3;background:#edf9f1;border-radius:12px;padding:14px 18px;margin-bottom:18px;color:#17805d}.success-banner strong,.success-banner span{display:block}.success-banner strong{font-size:13px}.success-banner span{font-size:12px;color:#638d73;margin-top:3px}.table-head{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:18px}.table-head h3{margin:0 0 3px}.table-head input{max-width:280px;margin:0}.table-scroll{max-width:100%;overflow:auto;border:1px solid #edf1f3;border-radius:10px}table{width:100%;border-collapse:collapse;text-align:left;min-width:650px}th,td{padding:12px 14px;border-bottom:1px solid #eef2f4;font-size:13px;white-space:nowrap}th{background:#f7f9fa;color:#83929e;font-weight:800;text-transform:uppercase;letter-spacing:.04em;font-size:11px}tr:last-child td{border-bottom:0}tbody tr:hover{background:#fbfdfc}td strong{font-weight:800;color:#28404b}.badge{padding:5px 8px;background:#e9f7f0;color:#1a8b64;border-radius:999px;font-size:11px;font-weight:700}.filter-label{display:flex;align-items:center;gap:6px;color:#93a4ab}.filter-label select{margin:0;min-width:180px}.filter-bar{display:flex;gap:10px;margin-bottom:17px}.filter-bar>label{flex:0 1 190px}.filter-bar .search-field{flex:1;display:flex;align-items:center;gap:8px;border:1px solid #dbe4e8;border-radius:9px;padding-left:11px;color:#96a6af}.search-field input{margin:0;border:0;box-shadow:none;min-width:0}.search-field input:focus{box-shadow:none}.filter-bar select{margin:0}.empty-state{display:flex;flex-direction:column;gap:7px;align-items:center;justify-content:center;text-align:center;min-height:155px;color:#8ea0a8;font-size:12px}.empty-state svg{color:#9bcfc1}.empty-state strong{color:#526875;font-size:13px}.detail-card{border-color:#cbdedb}.detail-dialog{font:inherit;width:min(1100px,calc(100vw - 32px));max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);padding:0;overflow-y:auto;border:1px solid #cbdedb;border-radius:18px;background:#fff;color:#172533;box-shadow:0 24px 80px #0b23304d}.detail-dialog::backdrop{background:#10222cb3;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.detail-dialog.price-editor-dialog{width:min(700px,calc(100vw - 32px))}.detail-dialog-content{min-width:0;padding:24px}.detail-dialog .section-heading{gap:16px}.detail-dialog .section-heading h3{overflow-wrap:anywhere}.detail-dialog .price-editor{margin-top:0}@media(max-width:640px){.detail-dialog{width:calc(100vw - 20px);max-width:calc(100vw - 20px);max-height:calc(100dvh - 20px)}.detail-dialog-content{padding:18px}}.detail-meta{display:flex;gap:20px;flex-wrap:wrap;margin-bottom:18px;font-size:13px;color:#899aa3}.detail-meta strong{color:#314853}.stock-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.product-cell{display:flex;flex-direction:column;gap:2px}.product-cell small{color:#91a0a9}.stock-price-card{display:grid;gap:6px;border:1px solid #d6eee6;background:#f4fbf8;border-radius:11px;padding:16px;max-width:400px;font-size:13px;color:#6d8b81}.stock-price-card strong{font:800 23px Inter,sans-serif;color:#166656}.stock-price-card b{color:#315b4e}.positive-quantity{color:#159874;font-weight:800}.negative-quantity{color:#bf5b48;font-weight:800}.error{color:#b64245;font-size:13px;line-height:1.5;margin:12px 0}.login-page{min-height:100vh;display:grid;place-items:center;padding:20px;background:linear-gradient(115deg,#0c1d2c80,#0d2c3a66),url(/steel-warehouse-login.png) center / cover no-repeat,#19303b}.login-card{width:min(100%,410px);padding:33px;background:#fffffffa;box-shadow:0 24px 80px #07172470}.login-logo{display:block;width:56px;height:56px;object-fit:contain;margin-bottom:20px}.login-card h1{font-size:26px}.login-card p{color:#7e8e96;margin-bottom:20px;font-size:13px}.login-card label{margin-top:16px}.login-card button{width:100%;margin-top:23px}.center{min-height:100vh;display:grid;place-items:center;color:#71838e}@media(max-width:1100px){.content{padding:26px 24px 50px}.sidebar{flex-basis:226px;width:226px}.app-topbar{padding:0 25px}.stock-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}}.pager{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:15px;color:#82929c;font-size:13px}.pager>div{display:flex;gap:8px}.pager button{padding:6px 11px;font-size:11px}.receipt-filters{display:flex;align-items:end;gap:8px;flex-wrap:nowrap;flex:0 0 auto}.receipt-filters>label{min-width:135px}.receipt-filters .filter-label{flex:0 0 170px;min-width:170px}.receipt-filters .date-range-filter{flex:0 0 235px}@media(max-width:1150px){.receipt-table-head{flex-wrap:wrap}.receipt-filters{flex:1 1 100%;flex-wrap:wrap;width:100%}.receipt-filters .filter-label{flex:1 1 170px}.receipt-filters .date-range-filter{flex:1 1 235px}}.receipt-filters input{margin-top:3px;height:42px}.receipt-filters select{margin:0;height:42px}.receipt-filters .filter-label select{min-width:0;width:100%}.date-range-filter{position:relative;flex:0 1 235px;min-width:215px;color:#495c69;font-size:13px}.date-field{position:relative;min-width:0}.date-field-control{display:flex;align-items:center;margin-top:7px;border:1px solid #dbe4e8;border-radius:9px;background:#fff}.date-field-control:focus-within{border-color:#20aa91;box-shadow:0 0 0 3px #21b3981d}.date-field-control input{min-width:0;margin:0;border:0;box-shadow:none}.date-field-control input:focus{border:0;box-shadow:none}.date-field-control button{flex:0 0 40px;min-height:40px;padding:8px;border:0;border-radius:8px;background:#fff;color:#0e806d;box-shadow:none}.date-field-control button:hover:not(:disabled){border:0;background:#e8f7f2;transform:none}.date-range-label{display:block;margin-bottom:5px;font-weight:700}button.date-range-trigger{display:flex;width:100%;min-height:42px;justify-content:flex-start;padding:9px 12px;border:1px solid #dbe4e8;border-radius:9px;background:#fff;color:#1b2c38;box-shadow:none;font-weight:600}button.date-range-trigger:hover:not(:disabled){background:#f4faf8;border-color:#20aa91;transform:none}.date-range-trigger>span{overflow:hidden;text-overflow:ellipsis}.date-range-trigger:focus-visible,.date-range-popover button:focus-visible{outline:2px solid #0e806d;outline-offset:2px}.date-range-popover{position:absolute;top:calc(100% + 8px);right:0;z-index:30;width:min(330px,calc(100vw - 32px));padding:14px;border:1px solid #d9e8e4;border-radius:14px;background:#fff;box-shadow:0 18px 40px #173d3c24;overflow-y:auto;overscroll-behavior:contain}.date-range-picker{width:min(620px,calc(100vw - 32px))}@media(max-width:700px){.date-range-popover{right:auto;left:0}.date-range-picker{width:min(330px,calc(100vw - 32px))}}.date-range-guidance{margin:0;color:#49606b;font-weight:600}.date-range-entry{margin-top:12px}.date-range-entry>div{display:flex;gap:6px;margin-top:5px}.date-range-entry input{min-width:0;margin:0}.date-range-entry button{flex:0 0 auto;padding:7px 10px}.date-range-month{display:flex;align-items:center;justify-content:space-between;margin:12px 0 8px;color:#213a46}.date-range-month button,.date-range-actions button{padding:5px;border:0;background:transparent;color:#0e806d;box-shadow:none}.date-range-month select{width:auto;min-width:0;min-height:32px;margin:0;padding:5px 6px;font-weight:700}.date-range-error{margin:8px 0 0;color:#af3b35;font-size:11px;line-height:1.4}.date-range-month button:hover:not(:disabled),.date-range-actions button:hover:not(:disabled){background:#e8f7f2;border:0;transform:none}.date-range-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px}.date-range-calendars{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.date-range-calendar{min-width:0}.date-range-calendar-title{margin-bottom:3px;color:#213a46;text-align:center;font-weight:700}.date-range-picker .date-range-grid{gap:0}@media(max-width:700px){.date-range-calendars{grid-template-columns:minmax(0,1fr)}.date-range-calendar:nth-child(2){display:none}}.date-range-weekday{padding:7px 0;color:#82929c;text-align:center;font-size:11px;font-weight:700}.date-range-grid button{width:100%;min-height:34px;padding:0;border:0;border-radius:8px;background:transparent;color:#29424e;box-shadow:none}.date-range-grid button:hover:not(:disabled){background:#e8f7f2;border:0;color:#0e806d;transform:none}.date-range-grid button.selected,.date-range-grid button.selected:hover:not(:disabled){background:#0e806d;color:#fff}.date-range-picker .date-range-grid button{position:relative;border-radius:0}.date-range-picker .date-range-grid button span{position:relative;z-index:1;display:grid;width:32px;height:32px;margin:auto;place-items:center;border-radius:50%}.date-range-picker .date-range-grid button.in-range{background:#e1f3ec}.date-range-picker .date-range-grid button.range-start{border-radius:18px 0 0 18px}.date-range-picker .date-range-grid button.range-end{border-radius:0 18px 18px 0}.date-range-picker .date-range-grid button.range-start.range-end{border-radius:18px}.date-range-picker .date-range-grid button.range-start span,.date-range-picker .date-range-grid button.range-end span{background:#0e806d;color:#fff}.date-range-picker .date-range-grid button:hover:not(:disabled) span{background:#0e806d;color:#fff}.date-range-actions{display:flex;justify-content:space-between;margin-top:8px}.loading-inline,.loading-metric,.loading-row{display:block;border-radius:6px;background:linear-gradient(90deg,#edf3f1 25%,#dfece8,#edf3f1 75%);background-size:200% 100%;animation:loading-shimmer 1.5s ease-in-out infinite}.loading-inline{width:110px;height:13px}.metric-card>strong.loading-metric{width:54%;height:35px;min-height:0;margin-top:14px}.loading-panel{display:grid;align-content:center;gap:15px;min-height:155px;padding:18px 12px}.loading-row{width:100%;height:19px}.loading-panel .loading-row:nth-of-type(2){width:83%}.loading-panel .loading-row:nth-of-type(3){width:68%}.loading-refresh{position:fixed;z-index:40;right:20px;bottom:20px;padding:9px 13px;border:1px solid #d8e9e4;border-radius:10px;background:#f8fcfa;box-shadow:0 8px 24px #0b3e3420;color:#0e806d;font-size:13px;font-weight:700;pointer-events:none}.data-refreshing{opacity:.72;pointer-events:none}.error-retry{display:flex;align-items:center;gap:12px;margin:12px 0}.error-retry .error{margin:0}@keyframes loading-shimmer{to{background-position-x:-200%}}@media(prefers-reduced-motion:reduce){.loading-inline,.loading-metric,.loading-row{animation:none}}.outbound-filters{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:18px}.outbound-filters label{flex:1 1 165px;min-width:0}.outbound-filters select,.outbound-filters input{width:100%;min-width:0;margin-top:5px}.piece-picker{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.piece-picker label{min-width:0}.document-note{padding:12px 0 18px}.document-note .section-heading{margin-bottom:8px}.document-note h4{margin:0}.document-note textarea{width:100%;min-width:0;padding:11px 12px;margin-bottom:10px;border:1px solid #d9e3e8;border-radius:10px;font:inherit;resize:vertical}@media(max-width:760px){.sidebar{position:fixed;left:0;top:0;width:274px;transform:translate(-105%);transition:transform .2s;box-shadow:none}.sidebar.sidebar-open{transform:translate(0);box-shadow:10px 0 30px #101e2680}.sidebar-backdrop{display:block;position:fixed;inset:0;background:#0b1b2388;z-index:20;width:100%;height:100%;border:0;border-radius:0;padding:0;box-shadow:none}.close-sidebar{display:grid!important;margin-left:auto}.menu-toggle{display:grid!important}.app-topbar{height:58px;padding:0 15px;justify-content:flex-start;gap:8px}.topbar-title{font-size:11px;gap:7px;min-width:0;white-space:nowrap;overflow:hidden}.topbar-title span{display:none}.topbar-status{margin-left:auto;font-size:0;padding:7px}.topbar-status span{width:6px;height:6px}.content{padding:23px 15px 42px}.page-header{align-items:flex-start;flex-wrap:wrap}.page-header button{padding:9px 11px;font-size:12px}.metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.metric-card{min-height:115px;padding:17px}.metric-card>strong{font-size:26px}.stock-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.stock-metrics .metric-card:last-child{grid-column:1/-1}.start-card{display:block}.start-card .actions{margin-top:16px}.field-grid{grid-template-columns:1fr;gap:13px}.field-span{grid-column:auto}.section-heading{align-items:flex-start}.section-heading>.helper-text{max-width:140px;text-align:right}.receipt-line{padding:13px}.receipt-submit{display:block}.receipt-submit button{width:100%;margin-top:16px}.filter-bar{flex-wrap:wrap}.filter-bar>label{flex:1 1 140px}.filter-bar .search-field{flex-basis:100%}.table-head{align-items:flex-start}.table-head .filter-label select{min-width:135px}.form-row{display:grid}.form-row label{min-width:0}.detail-meta{gap:8px;display:grid}h1{font-size:26px}}@media(max-width:760px){.table-head{flex-wrap:wrap}.warehouse-table,.warehouse-table tbody{display:block;width:100%;min-width:0}.warehouse-table thead{display:none}.warehouse-table tr{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 12px;padding:16px 0;border-bottom:1px solid #eef2f4}.warehouse-table tr:last-child{border-bottom:0;padding-bottom:0}.warehouse-table td{display:block;min-width:0;padding:0;border:0;white-space:normal;overflow-wrap:anywhere}.warehouse-table td:nth-child(1){grid-column:1;grid-row:2;color:#728494;font-size:12px}.warehouse-table td:nth-child(1):before{content:"Mã kho: ";font-weight:500}.warehouse-table td:nth-child(2){grid-column:1;grid-row:1;align-self:center;font-size:15px;font-weight:700}.warehouse-table td:nth-child(3){grid-column:1 / -1;grid-row:3;color:#60717e}.warehouse-table td:nth-child(3):before{content:"Địa chỉ: ";color:#82929c}.warehouse-table td:nth-child(4){grid-column:2;grid-row:1;align-self:center;white-space:nowrap}.warehouse-table td:nth-child(5){grid-column:1 / -1;grid-row:4}.warehouse-table .actions{flex-wrap:nowrap}.warehouse-table .actions button{flex:1}.warehouse-table-head input{width:100%;max-width:none}.receipt-filters{width:100%}.receipt-filters>label{flex:1 1 100%;width:100%;min-width:0}.receipt-filters .filter-label{flex-basis:100%}.receipt-filters .date-range-filter,.outbound-filters .date-range-filter{flex:1 1 100%;min-width:0;width:100%}.receipt-filters .filter-label select{width:100%;min-width:0}.receipt-filters input[type=date]{width:100%;min-width:0;max-width:100%}.piece-picker{grid-template-columns:1fr}.outbound-filters label{flex-basis:100%}.outbound-list{border:0;overflow:visible}.outbound-list-table,.outbound-list-table tbody{display:block;width:100%;min-width:0}.outbound-list-table thead{display:none}.outbound-list-table tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:15px;margin-bottom:10px;border:1px solid #e5ecee;border-radius:12px}.outbound-list-table td{display:block;min-width:0;padding:0;border:0;white-space:normal;overflow-wrap:anywhere}.outbound-list-table td:before{content:attr(data-label);display:block;margin-bottom:4px;color:#82929c;font-size:11px;font-weight:700}.outbound-list-table td:first-child,.outbound-list-table td:last-child{grid-column:1 / -1}.outbound-list-table td:last-child:before{display:none}.receipt-list{border:0;overflow:visible}.receipt-list-table,.receipt-list-table tbody{display:block;width:100%;min-width:0}.receipt-list-table thead{display:none}.receipt-list-table tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:15px;margin-bottom:10px;border:1px solid #e5ecee;border-radius:12px;background:#fff}.receipt-list-table tr:last-child{margin-bottom:0}.receipt-list-table td{display:block;min-width:0;padding:0;border:0;white-space:normal;overflow-wrap:anywhere}.receipt-list-table td:before{content:attr(data-label);display:block;margin-bottom:4px;color:#82929c;font-size:11px;font-weight:700}.receipt-list-table td:first-child,.receipt-list-table td:nth-child(4){grid-column:1 / -1}.receipt-list-table td:first-child strong{color:#213947;font-size:15px}.receipt-list-table td:last-child{text-align:right;align-self:end}.receipt-list-table td:last-child:before{display:none}}.dashboard-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.dashboard-recent{max-width:none}.dashboard-document-list{display:grid}.dashboard-document{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:13px 0;border-top:1px solid #edf1f3;color:#273e49;text-decoration:none}.dashboard-document:hover{color:#0e806d}.dashboard-document span,.dashboard-document strong,.dashboard-document small{display:block}.dashboard-document small,.dashboard-document time{color:#82929c;font-size:12px}.dashboard-document small{margin-top:3px}.document-detail-actions{display:flex;justify-content:flex-end;margin-bottom:12px}.receipt-import .section-heading{gap:16px}.import-actions{display:flex;flex-wrap:wrap;align-items:end;gap:14px;margin:20px 0 12px}.import-file-field{flex:1 1 260px;min-width:0;margin:0}.import-file-field input{width:100%;margin-top:7px}.import-preview-table table{min-width:850px}.import-preview-table td{white-space:normal;vertical-align:top}.import-preview-table td:last-child{min-width:180px}.import-footer{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-top:18px}.status-error,.status-success{border-radius:999px;padding:7px 11px;font-size:12px;font-weight:700;white-space:nowrap}.status-error{color:#a33b40;background:#fff0f0}.status-success{color:#0a8064;background:#e8f8f0}.receipt-import .error svg{vertical-align:middle;margin-right:5px}.print-page{max-width:920px;margin:0 auto}.print-actions{display:flex;justify-content:space-between;gap:12px;margin-bottom:18px}.print-paper{min-height:297mm;padding:20mm 17mm;background:#fff;box-shadow:0 5px 24px #1b34321a;color:#142630}.print-header{display:flex;justify-content:space-between;align-items:start;gap:20px;margin-bottom:24px}.print-header>div:first-child strong,.print-header>div:first-child span{display:block}.print-header>div:first-child span{margin-top:5px;color:#60717e}.print-header>div:last-child{text-align:right}.print-header h1{font-size:22px;margin:0 0 6px}.print-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 22px;margin-bottom:22px}.print-table{min-width:0;width:100%}.print-table th,.print-table td{border:1px solid #dfe6e9;padding:9px;white-space:normal;vertical-align:top}.print-table th{background:#f4f7f7;color:#344b56;font-size:10px}.print-table td:nth-child(n+3),.print-table tfoot th:last-child{text-align:right}.print-table small{display:block;margin-top:4px;color:#687d86}.print-note{margin-top:18px;white-space:pre-wrap}.print-signatures{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:45px;text-align:center;font-weight:700}.print-signatures small{font-weight:400}@media(max-width:760px){.dashboard-metrics{grid-template-columns:1fr}.import-actions>button,.import-footer>button{width:100%}.import-footer,.print-actions,.print-header{flex-wrap:wrap}.print-paper{min-height:0;padding:22px}.print-meta{grid-template-columns:1fr}.print-table{min-width:650px}.print-page{overflow-x:auto}}@page{size:A4;margin:16mm 12mm}@media print{body{background:#fff}.sidebar,.app-topbar,.print-actions{display:none!important}.app-main,.content,.print-page{display:block;max-width:none;width:100%;margin:0;padding:0;overflow:visible}.print-paper{box-shadow:none;min-height:0;padding:0;break-after:auto}.print-table{min-width:0}.print-table tr,.print-signatures{break-inside:avoid}}
