*{box-sizing:border-box}html{font-family:Arial,sans-serif;color:#202327;background:#edf0f2}body{margin:0}a{color:inherit}aside{position:fixed;inset:0 auto 0 0;width:260px;padding:24px 17px 20px;display:flex;flex-direction:column;background:#17191c;color:#fff}.brand{padding:0 7px 23px;display:flex;align-items:center;gap:11px;border-bottom:1px solid #ffffff1a}.brand>b,.login-logo{width:72px;height:48px;display:grid;place-items:center;border-radius:7px;background:#fff;color:#111;font-size:1.8rem;font-weight:1000;font-style:italic}.brand strong,.brand small{display:block}.brand small{margin-top:3px;color:#aeb3b8}nav{margin-top:22px;display:grid;gap:6px}nav a{min-height:48px;padding:14px 13px;border-radius:8px;color:#d6d9dc;font-weight:700;text-decoration:none}nav a.active{background:#a40000;color:#fff}.logout{margin-top:auto;min-height:45px;padding:13px;border:1px solid #50545a;border-radius:8px;text-align:center;text-decoration:none;font-weight:700}main{margin-left:260px;padding:clamp(25px,4vw,52px)}.top{max-width:1350px;margin:0 auto 27px;display:flex;align-items:center;justify-content:space-between}.top p,.toolbar p,.edit-form p,.detail-head p,.welcome p,.eyebrow{margin:0 0 4px;color:#a40000;font-size:.75rem;font-weight:900;letter-spacing:.1em;text-transform:uppercase}.top h1{margin:0;font-size:clamp(2rem,4vw,3rem)}.top>span{padding:8px 12px;border-radius:18px;background:#dcece0;color:#216039;font-size:.8rem;font-weight:800}.panel,.table-wrap,.search,.edit-form,.detail-sheet,.welcome{max-width:1350px;margin-left:auto;margin-right:auto;background:#fff;border-radius:14px;box-shadow:0 8px 24px #14171a0d}.toolbar{padding:26px 28px;display:flex;align-items:center;justify-content:space-between;gap:22px}.toolbar h2{margin:4px 0 7px;font-size:clamp(1.6rem,3.5vw,2.4rem)}.toolbar small{color:#70757a}.button,button,.actions a,.edit-form a,.detail-head a{min-height:40px;padding:11px 14px;border:1px solid #cbd0d4;border-radius:8px;background:#fff;color:#383c40;font:inherit;font-size:.85rem;font-weight:800;text-decoration:none;cursor:pointer}.button,.toolbar>button,.edit-form button,.detail-head button,.parameters footer button,.login-card button{border-color:#a40000;background:#a40000;color:#fff}.search{margin-top:16px;padding:18px 28px;display:flex;align-items:end;gap:10px}.search label{width:min(520px,100%)}label{display:grid;gap:7px;color:#414549;font-size:.85rem;font-weight:800}input,select{width:100%;min-height:45px;padding:0 12px;border:1px solid #cbd0d4;border-radius:8px;background:#fff;font:inherit}.table-wrap{margin-top:16px;overflow-x:auto}table{width:100%;border-collapse:collapse}th{padding:13px 15px;border-bottom:2px solid #d8dcdf;color:#656a70;font-size:.75rem;text-align:left;text-transform:uppercase;white-space:nowrap}td{padding:16px 15px;border-bottom:1px solid #e7e9eb;font-size:.88rem;white-space:nowrap}td:first-child{min-width:190px;white-space:normal}td strong,td small{display:block}td small{margin-top:5px;color:#7a7f84}.positive{color:#17653a;font-weight:800}.actions{display:flex;gap:7px}.actions form{margin:0}.actions button{padding:9px 10px}.actions .primary-outline{border-color:#a40000;color:#a40000}.actions .danger{color:#a40000;border-color:#e3bfc1}.edit-form{margin-top:16px;padding:22px 25px;display:grid;grid-template-columns:1fr 1.2fr 200px auto;align-items:end;gap:15px;border-left:5px solid #a40000}.edit-form h3,.detail-head h3{margin:4px 0}.edit-form>div:last-child{display:flex;gap:7px}.material-form{grid-template-columns:1.3fr 1.2fr .8fr 1fr .7fr auto}.material-form>div:first-of-type{grid-column:1/-1}.detail-sheet{margin-top:16px;overflow:hidden;border-left:5px solid #a40000}.detail-head{padding:22px 25px;display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid #e0e3e5}.detail-head>div:last-child{display:flex;gap:8px}.detail-sheet .table-wrap{margin:0;border-radius:0;box-shadow:none}.detail-sheet tfoot td{background:#f5f6f7;border-top:2px solid #bbb}.detail-sheet>footer{padding:15px 20px;background:#f5f6f7;color:#656a70}.parameters{overflow:hidden}.parameters>.toolbar{border-bottom:1px solid #e0e3e5}.parameters section{padding:26px 29px;border-bottom:1px solid #e5e7e9}.parameters h3{margin:0 0 18px}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,280px));gap:15px}.grid.three{grid-template-columns:repeat(3,minmax(0,240px))}.parameters>footer{padding:20px 29px;display:flex;align-items:center;justify-content:space-between;background:#f5f6f7;color:#656a70}.welcome{min-height:60vh;padding:40px 24px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.welcome h2{margin:0;font-size:clamp(2.5rem,6vw,5rem)}.welcome strong{margin-top:8px;color:#555b60;font-size:1.5rem}.welcome small{margin-top:28px;color:#777}.flash{max-width:1350px;margin:0 auto 16px;padding:14px 17px;border-radius:8px;background:#dcece0;color:#216039}.flash.error{background:#fde9e9;color:#8d0000}.mobile,.backdrop{display:none}.login-page{min-height:100vh;padding:25px;display:grid;place-items:center;background:radial-gradient(circle at 50% 5%,#3d4146,#141517 58%)}.login-card{width:min(480px,100%);padding:34px;border-radius:18px;background:#fff;box-shadow:0 28px 70px #0005}.login-card .login-logo{margin-bottom:25px}.login-card h1{margin:8px 0 12px}.login-card p{line-height:1.5}.login-card form{margin-top:23px;display:grid;gap:17px}.login-card small{display:block;margin-top:17px;color:#70757a}.login-card .button{display:inline-block;margin-top:15px}.warning{padding:12px;border-radius:8px;background:#fff4d6;color:#6b5415}
@media(max-width:900px){.mobile{position:sticky;top:0;z-index:20;height:62px;padding:9px 15px;display:flex;align-items:center;justify-content:space-between;background:#17191c;color:#fff}.mobile strong{font-size:1.5rem}.mobile button{background:#282b2f;color:#fff;border-color:#555}aside{z-index:30;width:min(310px,86vw);transform:translateX(-105%);transition:.2s}.menu-open aside{transform:none}.backdrop{position:fixed;inset:0;z-index:25;background:#0008}.menu-open .backdrop{display:block}main{margin:0;padding:25px 15px 45px}.edit-form,.material-form{grid-template-columns:1fr 1fr}.toolbar{align-items:flex-start;flex-direction:column}.grid,.grid.three{grid-template-columns:1fr}}
@media(max-width:620px){.top{align-items:flex-start}.top>span{font-size:.7rem}.search,.detail-head,.parameters>footer{align-items:stretch;flex-direction:column}.search label{width:100%}.edit-form,.material-form{grid-template-columns:1fr}.detail-head>div:last-child{width:100%}.detail-head a,.detail-head button{flex:1}.table-wrap table,.table-wrap tbody,.table-wrap tr,.table-wrap td{display:block}.table-wrap thead{display:none}.table-wrap table{padding:9px 12px}.table-wrap tr{margin:8px 0;padding:8px 12px;border:1px solid #ddd;border-radius:8px}.table-wrap td{padding:8px 0;display:grid;grid-template-columns:42% 58%;gap:8px;white-space:normal}.table-wrap td:before{content:attr(data-label);color:#6c7176;font-size:.75rem;font-weight:800}.table-wrap td:first-child{display:block}.table-wrap td:first-child:before{display:none}.actions{flex-wrap:wrap}}
@media print{aside,.mobile,.top,.flash,.toolbar>button,.search,.edit-form,.actions,.logout{display:none!important}main{margin:0;padding:0}.panel,.table-wrap,.detail-sheet{box-shadow:none}.print-detail main>:not(.detail-sheet),.print-detail .products-list{display:none!important}.print-detail .detail-sheet{display:block!important;margin:0;border:0}.print-detail .detail-head>div:last-child{display:none}.print-detail table{display:table;padding:0}.print-detail thead{display:table-header-group}.print-detail tbody{display:table-row-group}.print-detail tfoot{display:table-footer-group}.print-detail tr{display:table-row;margin:0;padding:0;border:0}.print-detail td,.print-detail th{display:table-cell}.print-detail td:before{display:none}}
.pending{display:inline-block;padding:5px 8px;border-radius:6px;background:#fff4d6;color:#6b5415;font-size:.78rem;font-weight:800}
.field-note{display:block;margin-top:7px;color:#795b14;font-size:.78rem;font-weight:700;line-height:1.4}.secondary-action{margin-top:16px;border-color:#a40000;color:#a40000;background:#fff}
.client-form{grid-template-columns:1.4fr 1fr auto}.empty-row{padding:34px!important;text-align:center;color:#73787d}.empty-row:before{display:none!important}
.report-menu{max-width:1350px;margin:0 auto;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.report-card{min-height:210px;padding:27px;display:flex;flex-direction:column;align-items:flex-start;border-radius:14px;background:#fff;box-shadow:0 8px 24px #14171a0d;text-decoration:none;border-top:5px solid #a40000}.report-card .report-icon{width:52px;height:52px;margin-bottom:24px;display:grid;place-items:center;border-radius:12px;background:#f5e7e7;color:#a40000;font-size:1.7rem;font-weight:900}.report-card h2{margin:0 0 8px}.report-card p{margin:0 0 22px;color:#6b7075;line-height:1.5}.report-card strong{margin-top:auto;color:#a40000}
.price-list{max-width:1100px;margin:0 auto}.price-actions{max-width:1100px;margin:0 auto 17px;display:flex;justify-content:flex-end;gap:10px}.price-actions a,.price-actions button{min-height:42px}.price-actions button{background:#a40000;color:#fff;border-color:#a40000}.price-cover{position:relative;min-height:260px;padding:34px 38px;overflow:hidden;display:flex;align-items:flex-end;border-radius:18px;background:linear-gradient(120deg,#17191c 0%,#272a2e 60%,#a40000 160%);color:#fff;box-shadow:0 12px 30px #14171a1c}.price-cover:after{content:'';position:absolute;width:330px;height:330px;right:-100px;top:-155px;border:1px solid #ffffff20;border-radius:50%;box-shadow:0 0 0 55px #ffffff08,0 0 0 110px #ffffff05}.price-cover img{position:absolute;z-index:1;right:28px;top:25px;width:225px;max-height:115px;object-fit:contain;filter:drop-shadow(0 8px 12px #0008)}.price-cover>div{position:relative;z-index:2}.price-cover p{margin:0 0 7px;color:#efb4b4;font-size:.76rem;font-weight:900;letter-spacing:.16em;text-transform:uppercase}.price-cover h2{max-width:600px;margin:0;font-size:clamp(2.4rem,6vw,4.7rem);line-height:.94}.price-cover small{display:block;margin-top:17px;color:#d3d5d7}.price-category{margin-top:22px;overflow:hidden;border-radius:16px;background:#fff;box-shadow:0 8px 24px #14171a0d;break-inside:avoid;page-break-inside:avoid}.price-category-head{min-height:150px;padding:22px 27px;display:grid;grid-template-columns:180px 1fr;align-items:center;gap:28px;background:linear-gradient(100deg,#f1f2f3,#fff)}.price-category-head img{width:180px;height:125px;object-fit:contain;filter:drop-shadow(0 8px 10px #0002)}.price-category-head p{margin:0 0 4px;color:#a40000;font-size:.72rem;font-weight:900;letter-spacing:.12em;text-transform:uppercase}.price-category-head h3{margin:0;font-size:2rem}.price-category table{table-layout:fixed}.price-category th:last-child,.price-category td:last-child{width:190px;text-align:right}.price-category td{padding:13px 27px}.price-category td:first-child{font-size:.95rem}.price-note{margin:20px 2px 0;padding:17px 20px;border-radius:10px;background:#fff;color:#686d72;font-size:.82rem;line-height:1.5}.price-empty{padding:28px;text-align:center;color:#73787d}
@media(max-width:900px){.report-menu{grid-template-columns:1fr 1fr}.price-cover img{width:175px;opacity:.65}.price-category-head{grid-template-columns:130px 1fr}.price-category-head img{width:130px;height:100px}}
@media(max-width:620px){.report-menu{grid-template-columns:1fr}.price-actions{justify-content:stretch}.price-actions a,.price-actions button{flex:1}.price-cover{min-height:240px;padding:27px 23px}.price-cover img{right:-20px;top:25px;width:165px;opacity:.28}.price-cover h2{font-size:2.8rem}.price-category{break-inside:auto}.price-category-head{min-height:115px;padding:16px;grid-template-columns:95px 1fr;gap:16px}.price-category-head img{width:95px;height:85px}.price-category-head h3{font-size:1.5rem}.price-category table,.price-category tbody,.price-category tr,.price-category td{display:table}.price-category thead{display:table-header-group}.price-category table{padding:0}.price-category tr{margin:0;padding:0;border:0}.price-category td{padding:12px 15px;display:table-cell;border-bottom:1px solid #e7e9eb}.price-category td:before{display:none}.price-category td:first-child{min-width:0}.price-category th:last-child,.price-category td:last-child{width:125px}}
@media print{.price-actions{display:none!important}.price-list{max-width:none}.price-cover{min-height:190px;border-radius:0;box-shadow:none;-webkit-print-color-adjust:exact;print-color-adjust:exact}.price-cover img{width:190px}.price-category{margin-top:0;border-radius:0;box-shadow:none;break-before:page;page-break-before:always;break-inside:auto;page-break-inside:auto}.price-category-head{min-height:135px;-webkit-print-color-adjust:exact;print-color-adjust:exact}.price-category table{display:table;padding:0}.price-category thead{display:table-header-group}.price-category tbody{display:table-row-group}.price-category tr{display:table-row;margin:0;padding:0;border:0}.price-category td,.price-category th{display:table-cell}.price-category td:before{display:none}.price-note{box-shadow:none}}
.stock-summary{max-width:1100px;margin:18px auto 0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.stock-summary article{padding:20px 22px;border-radius:13px;background:#fff;box-shadow:0 8px 24px #14171a0d;border-top:4px solid #a40000}.stock-summary span,.stock-total span{display:block;color:#72777c;font-size:.75rem;font-weight:800;text-transform:uppercase}.stock-summary strong{display:block;margin-top:7px;font-size:1.35rem}.stock-total{max-width:1100px;margin:20px auto 0;padding:27px 30px;display:flex;align-items:center;justify-content:space-between;border-radius:15px;background:#17191c;color:#fff}.stock-total strong{font-size:clamp(1.7rem,4vw,2.6rem)}.stock-category-total td{background:#f3f4f5;border-top:2px solid #cdd1d4;font-size:1rem}.stock-category-total td:last-child{color:#17653a;font-size:1.1rem}
.stock-category-head{grid-template-columns:1fr}.stock-list .price-category{overflow-x:auto}.stock-list table{min-width:700px}
@media(max-width:700px){.stock-summary{grid-template-columns:1fr 1fr}.stock-total{align-items:flex-start;flex-direction:column;gap:8px}}
@media(max-width:460px){.stock-summary{grid-template-columns:1fr}}
@media print{.stock-summary{grid-template-columns:repeat(3,1fr)}.stock-summary article,.stock-total{box-shadow:none;-webkit-print-color-adjust:exact;print-color-adjust:exact}.stock-total{break-inside:avoid;page-break-inside:avoid}}
.composition-actions{max-width:1350px;margin:0 auto 16px;display:flex;justify-content:flex-end;gap:8px}.composition-actions button{border-color:#a40000;background:#a40000;color:#fff}.composition-title>strong{font-size:clamp(1.5rem,3vw,2.2rem);color:#17653a}.composition-add{max-width:1350px;margin:16px auto 0;padding:20px 24px;display:grid;grid-template-columns:1fr 1.5fr 160px auto;align-items:end;gap:12px;border-radius:14px;background:#fff;box-shadow:0 8px 24px #14171a0d}.composition-add>button{border-color:#a40000;background:#a40000;color:#fff}.quantity-form{display:flex;align-items:center;gap:6px}.quantity-form input{width:105px;min-height:39px}.quantity-form button{min-height:39px;padding:8px 10px}.composition-list tfoot td{background:#f4f6f5;border-top:2px solid #bbb;font-size:1rem}.composition-list tfoot td:nth-child(4){color:#17653a;font-size:1.1rem}
@media(max-width:900px){.composition-add{grid-template-columns:1fr 1fr}.composition-add>button{width:100%}}
@media(max-width:620px){.composition-actions{align-items:stretch;flex-direction:column}.composition-add{grid-template-columns:1fr}.composition-title>strong{margin-top:12px}.quantity-form{justify-content:flex-end}.composition-list tfoot{display:block}.composition-list tfoot tr,.composition-list tfoot td{display:block}.composition-list tfoot td{min-width:0}.composition-list tfoot td:before{display:none}}
@media print{.print-composition main>:not(.composition-title):not(.composition-list){display:none!important}.print-composition .composition-title{box-shadow:none;border-bottom:2px solid #222}.print-composition .composition-list{box-shadow:none}.print-composition .composition-list table{display:table;padding:0}.print-composition .composition-list thead{display:table-header-group}.print-composition .composition-list tbody{display:table-row-group}.print-composition .composition-list tfoot{display:table-footer-group}.print-composition .composition-list tr{display:table-row;margin:0;padding:0;border:0}.print-composition .composition-list td,.print-composition .composition-list th{display:table-cell}.print-composition .composition-list td:before{display:none}.print-composition .composition-list td:last-child,.print-composition .composition-list th:last-child{display:none}}
.composition-section{max-width:1350px;margin:18px auto 0;padding-top:1px;border-radius:14px;background:#fff;box-shadow:0 8px 24px #14171a0d;overflow:hidden}.composition-section-head{padding:22px 25px 0}.composition-section-head p{margin:0 0 5px;color:#a40000;font-size:.78rem;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.composition-section-head small{color:#70757a}.composition-section .composition-add{margin:0;padding-top:18px;border-radius:0;box-shadow:none}.composition-section .composition-list{margin:0;border-radius:0;box-shadow:none}.batch-add{grid-template-columns:1fr 1.4fr 150px 165px auto}.batch-quantity-form{display:flex;align-items:end;gap:6px}.batch-quantity-form label{gap:3px;font-size:.68rem}.batch-quantity-form input{width:80px;min-height:37px}.batch-quantity-form button{min-height:37px;padding:8px}.composition-total{max-width:1350px;margin:18px auto 0;padding:25px 28px;display:flex;align-items:center;justify-content:space-between;border-radius:14px;background:#17191c;color:#fff}.composition-total span{font-size:.82rem;font-weight:800;text-transform:uppercase}.composition-total strong{font-size:2rem}
@media(max-width:1100px){.batch-add{grid-template-columns:1fr 1fr 1fr}.batch-add>button{width:100%}}
@media(max-width:700px){.batch-quantity-form{align-items:stretch;flex-direction:column}.batch-quantity-form input{width:100%}.composition-total{align-items:flex-start;flex-direction:column;gap:7px}}
@media print{.print-composition main>.composition-section{display:block!important;box-shadow:none;break-inside:avoid}.print-composition .composition-section .composition-add,.print-composition .composition-section-head small{display:none!important}.print-composition .composition-total{display:flex!important;margin-top:15px;box-shadow:none;-webkit-print-color-adjust:exact;print-color-adjust:exact}}
.order-form,.order-confirmation{max-width:1350px;margin:16px auto 0;border-radius:14px;background:#fff;box-shadow:0 8px 24px #14171a0d;overflow:hidden}.order-header{padding:24px 27px;display:grid;grid-template-columns:220px minmax(280px,1fr);gap:16px;border-bottom:1px solid #e3e5e7}.order-add{padding:21px 27px;display:grid;grid-template-columns:minmax(280px,1fr) 150px auto;align-items:end;gap:12px;background:#f6f7f8}.order-add button,.order-form>footer button{border-color:#a40000;background:#a40000;color:#fff}.order-add button{min-height:45px}.order-message{display:none;margin:14px 27px 0;padding:12px 15px;border-radius:8px;background:#fde9e9;color:#8d0000;font-size:.85rem;font-weight:800}.order-message.visible{display:block}.order-lines{margin:0;border-radius:0;box-shadow:none}.order-lines tfoot td,.order-confirmation tfoot td{background:#f3f4f5;border-top:2px solid #c8ccd0;font-size:1rem}.order-lines tfoot td:nth-child(4),.order-confirmation tfoot td:last-child{color:#17653a;font-size:1.12rem}.order-quantity{width:100px;min-height:39px}.order-form>footer{padding:20px 27px;display:flex;align-items:center;justify-content:space-between;border-top:1px solid #e1e4e6}.order-form>footer small{color:#6f7479}.order-form button:disabled{opacity:.45;cursor:not-allowed}.order-confirmation{border-left:5px solid #17653a}.order-confirmation>.table-wrap{margin:0;border-radius:0;box-shadow:none}
@media(max-width:700px){.order-header,.order-add{grid-template-columns:1fr}.order-form>footer{align-items:stretch;flex-direction:column;gap:14px}.order-form>footer button{width:100%}.order-quantity{width:100%}}
@media print{.order-form,.order-confirmation~*{display:none!important}.order-confirmation{margin:0;border:0;box-shadow:none}.order-confirmation .detail-head button{display:none}.order-confirmation table{display:table;padding:0}.order-confirmation thead{display:table-header-group}.order-confirmation tbody{display:table-row-group}.order-confirmation tfoot{display:table-footer-group}.order-confirmation tr{display:table-row;margin:0;padding:0;border:0}.order-confirmation td,.order-confirmation th{display:table-cell}.order-confirmation td:before{display:none}}
.orders-list,.order-edit{max-width:1350px;margin:18px auto 0;border-radius:14px;background:#fff;box-shadow:0 8px 24px #14171a0d;overflow:hidden}.orders-list>.table-wrap,.order-edit .table-wrap{margin:0;border-radius:0;box-shadow:none}.order-edit{border-left:5px solid #a40000}.order-edit>form>footer{padding:19px 25px;display:flex;align-items:center;justify-content:space-between;border-top:1px solid #e1e4e6}.order-edit>form>footer button{border-color:#a40000;background:#a40000;color:#fff}.order-edit>form>footer small{color:#6f7479}.orders-list{scroll-margin-top:20px}.orders-list .actions{min-width:175px}
@media(max-width:700px){.order-edit>form>footer{align-items:stretch;flex-direction:column;gap:12px}.order-edit>form>footer button{width:100%}}
.billing-selector,.billing-form{max-width:1350px;margin:16px auto 0;border-radius:14px;background:#fff;box-shadow:0 8px 24px #14171a0d}.billing-selector{padding:22px 26px;display:grid;grid-template-columns:220px minmax(280px,1fr) auto;align-items:end;gap:13px}.billing-selector button,.billing-form>footer button{border-color:#a40000;background:#a40000;color:#fff}.billing-selector button{min-height:45px}.billing-form{overflow:hidden;border-left:5px solid #a40000}.billing-form>.table-wrap{margin:0;border-radius:0;box-shadow:none}.billing-check{width:24px;min-height:24px}.billing-quantity{width:115px;min-height:39px}.billing-form>footer{padding:21px 27px;display:flex;align-items:center;justify-content:space-between;background:#f4f5f6}.billing-form>footer span{display:block;color:#6c7176;font-size:.75rem;font-weight:900;text-transform:uppercase}.billing-form>footer strong{display:block;margin-top:4px;font-size:1.8rem;color:#17653a}.billing-form>footer button:disabled{opacity:.45;cursor:not-allowed}.billing-subtotal{font-weight:800;color:#17653a}
@media(max-width:750px){.billing-selector{grid-template-columns:1fr}.billing-form>footer{align-items:stretch;flex-direction:column;gap:16px}.billing-form>footer button{width:100%}.billing-quantity{width:100%}}
.account-list,.account-detail{max-width:1350px;margin:17px auto 0;border-radius:14px;background:#fff;box-shadow:0 8px 24px #14171a0d;overflow:hidden}.account-list>.table-wrap,.account-detail>.table-wrap{margin:0;border-radius:0;box-shadow:none}.account-detail{border-left:5px solid #a40000}.account-summary{padding:20px 25px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;background:#f5f6f7}.account-summary article{padding:17px 19px;border-radius:10px;background:#fff;border:1px solid #e0e3e5}.account-summary span{display:block;color:#70757a;font-size:.73rem;font-weight:900;text-transform:uppercase}.account-summary strong{display:block;margin-top:6px;font-size:1.35rem}.account-summary .debt{border-color:#e1b7b7}.account-summary .debt strong,.account-debt{color:#a40000;font-weight:900}.payment-form{padding:21px 25px;display:grid;grid-template-columns:180px 220px minmax(240px,1fr) auto;align-items:end;gap:12px;border-top:1px solid #e0e3e5;border-bottom:1px solid #e0e3e5}.payment-form button{min-height:45px;border-color:#a40000;background:#a40000;color:#fff}.payment-form label small{color:#73787d;font-weight:normal}.account-paid{margin:20px 25px;padding:15px;border-radius:8px;background:#dcece0;color:#216039;font-weight:800}.account-movements .voided-row{background:#fafafa;color:#888}.account-movements .voided-row strong{text-decoration:line-through}.account-movements form{margin:0}.account-movements .danger{color:#a40000;border-color:#e3bfc1}.account-list .button{display:inline-block}.account-list td:nth-child(2),.account-list td:nth-child(3),.account-list td:nth-child(4){font-weight:800}
@media(max-width:850px){.payment-form{grid-template-columns:1fr 1fr}.account-summary{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.payment-form,.account-summary{grid-template-columns:1fr}}
.product-create{grid-template-columns:1.1fr 1.6fr 180px 190px 120px auto}.product-create>div:first-of-type{align-self:center}.product-create>div:last-child{align-self:end}
@media(max-width:1150px){.product-create{grid-template-columns:1fr 1fr 1fr}.product-create>div:first-of-type{grid-column:1/-1}}
@media(max-width:700px){.product-create{grid-template-columns:1fr}.product-create>div:first-of-type{grid-column:auto}.product-create button{width:100%}}
.statement-filter{max-width:1350px;margin:16px auto 0;padding:21px 25px;display:grid;grid-template-columns:minmax(250px,1fr) 190px 190px auto;align-items:end;gap:12px;border-radius:14px;background:#fff;box-shadow:0 8px 24px #14171a0d}.statement-filter button{min-height:45px;border-color:#a40000;background:#a40000;color:#fff}.statement-error{margin-top:16px}.statement-report{max-width:1200px;margin:18px auto 0;border-radius:14px;background:#fff;box-shadow:0 8px 24px #14171a0d;overflow:hidden}.statement-report>header{padding:26px 29px;display:flex;align-items:flex-end;justify-content:space-between;gap:20px;border-bottom:3px solid #a40000;background:linear-gradient(110deg,#17191c,#292c30);color:#fff}.statement-report header p{margin:0 0 5px;color:#efb4b4;font-size:.72rem;font-weight:900;letter-spacing:.12em;text-transform:uppercase}.statement-report header h2{margin:0 0 7px;font-size:2rem}.statement-report header strong{display:block}.statement-report header>div:last-child{text-align:right}.statement-report header span{display:block;margin-bottom:5px;color:#bfc3c7;font-size:.72rem;font-weight:800;text-transform:uppercase}.statement-report>.table-wrap{margin:0;border-radius:0;box-shadow:none}.statement-report tfoot td{background:#eceeef;border-top:2px solid #9da2a6;font-size:1.05rem}.statement-report tfoot td:last-child{color:#a40000;font-size:1.15rem}.opening-balance td{background:#f4f5f6;border-bottom:2px solid #ccd0d3}
@media(max-width:800px){.statement-filter{grid-template-columns:1fr 1fr}.statement-filter label:first-of-type{grid-column:1/-1}}
@media(max-width:560px){.statement-filter{grid-template-columns:1fr}.statement-filter label:first-of-type{grid-column:auto}.statement-report>header{align-items:flex-start;flex-direction:column}.statement-report header>div:last-child{text-align:left}}
@media print{.statement-filter{display:none!important}.statement-report{max-width:none;margin:0;border-radius:0;box-shadow:none}.statement-report>header{-webkit-print-color-adjust:exact;print-color-adjust:exact}.statement-report table{display:table;padding:0}.statement-report thead{display:table-header-group}.statement-report tbody{display:table-row-group}.statement-report tfoot{display:table-footer-group}.statement-report tr{display:table-row;margin:0;padding:0;border:0}.statement-report td,.statement-report th{display:table-cell}.statement-report td:before{display:none}}
.statement-detail-link{display:block;margin-top:7px;color:#a40000;font-size:.75rem;font-weight:900}.statement-invoice{max-width:1200px;margin:18px auto 0;border-left:5px solid #a40000;border-radius:14px;background:#fff;box-shadow:0 8px 24px #14171a0d;overflow:hidden;scroll-margin-top:15px}.statement-invoice>.table-wrap{margin:0;border-radius:0;box-shadow:none}.statement-invoice tfoot td{background:#f1f3f4;border-top:2px solid #b8bdc1}.statement-invoice tfoot td:last-child{color:#a40000;font-size:1.1rem}
@media print{.statement-detail-link,.statement-invoice{display:none!important}.statement-report{font-size:9pt}.statement-report th,.statement-report td{padding:8px 9px;white-space:nowrap}.statement-report th:nth-child(3),.statement-report td:nth-child(3){white-space:normal}}
.order-history-filter{max-width:1350px;margin:16px auto 0;padding:21px 25px;display:grid;grid-template-columns:minmax(280px,1fr) 240px auto;align-items:end;gap:12px;border-radius:14px;background:#fff;box-shadow:0 8px 24px #14171a0d}.order-history-filter button{min-height:45px;border-color:#a40000;background:#a40000;color:#fff}.order-history-error{margin-top:16px}.order-history-report,.order-history-detail{max-width:1350px;margin:18px auto 0;border-radius:14px;background:#fff;box-shadow:0 8px 24px #14171a0d;overflow:hidden}.order-history-report>header{padding:25px 28px;display:flex;align-items:flex-end;justify-content:space-between;gap:20px;background:linear-gradient(110deg,#17191c,#292c30);color:#fff;border-bottom:3px solid #a40000}.order-history-report header p{margin:0 0 5px;color:#efb4b4;font-size:.72rem;font-weight:900;letter-spacing:.12em;text-transform:uppercase}.order-history-report header h2{margin:0 0 7px;font-size:2rem}.order-history-report header strong{display:block}.order-history-report header>div:last-child{text-align:right}.order-history-report header span{display:block;color:#bfc3c7;font-size:.72rem;font-weight:900;text-transform:uppercase}.order-history-summary{padding:15px 20px;display:flex;gap:13px;background:#f2f4f5}.order-history-summary article{min-width:210px;padding:14px 17px;border-radius:9px;background:#fff;border:1px solid #dfe2e4}.order-history-summary span{display:block;color:#72777c;font-size:.72rem;font-weight:900;text-transform:uppercase}.order-history-summary strong{display:block;margin-top:5px;font-size:1.18rem}.order-history-report>.table-wrap,.order-history-detail>.table-wrap{margin:0;border-radius:0;box-shadow:none}.order-history-detail{border-left:5px solid #a40000}.order-history-detail tfoot td{background:#f1f3f4;border-top:2px solid #b8bdc1}.order-status{display:inline-block;padding:5px 8px;border-radius:6px;font-size:.75rem;font-weight:900}.order-status.is-pending{background:#fff0cf;color:#735514}.order-status.is-closed{background:#dcece0;color:#216039}
@media(max-width:700px){.order-history-filter{grid-template-columns:1fr}.order-history-summary{flex-direction:column}.order-history-summary article{min-width:0}.order-history-report>header{align-items:flex-start;flex-direction:column}.order-history-report header>div:last-child{text-align:left}}
@media print{.order-history-filter,.order-history-detail,.order-history-report .statement-detail-link{display:none!important}.order-history-report{max-width:none;margin:0;border-radius:0;box-shadow:none;font-size:8pt}.order-history-report>header{-webkit-print-color-adjust:exact;print-color-adjust:exact}.order-history-report table{display:table;padding:0}.order-history-report thead{display:table-header-group}.order-history-report tbody{display:table-row-group}.order-history-report tr{display:table-row;margin:0;padding:0;border:0}.order-history-report td,.order-history-report th{display:table-cell;padding:7px 6px}.order-history-report td:before{display:none}}
/* Actualización 030 */
.direct-billing,.steel-order-form{background:#fff;border:1px solid #e5e7eb;border-radius:18px;padding:22px;margin-bottom:28px;box-shadow:0 12px 35px rgba(15,23,42,.06)}
.line-entry{display:grid;grid-template-columns:minmax(280px,2fr) minmax(110px,.55fr) minmax(130px,.7fr) auto;gap:12px;align-items:end;margin:18px 0}.line-entry label,.steel-order-header label{display:grid;gap:7px;font-weight:700}.line-entry input,.line-entry select,.steel-order-header input{width:100%;box-sizing:border-box}.line-entry button{white-space:nowrap}.steel-line-entry{grid-template-columns:minmax(420px,2fr) minmax(150px,.5fr) auto}
.direct-billing footer,.steel-totals{display:flex;justify-content:flex-end;align-items:center;gap:24px;margin-top:18px;padding-top:18px;border-top:1px solid #e5e7eb}.direct-billing footer div,.steel-totals div{display:grid;gap:3px;text-align:right}.direct-billing footer span,.steel-totals span{font-size:.8rem;text-transform:uppercase;letter-spacing:.08em;color:#64748b}.direct-billing footer strong,.steel-totals strong{font-size:1.35rem}.document-history{margin-top:30px}
.steel-order-header{display:grid;grid-template-columns:220px 1fr 1fr;gap:18px;align-items:end}.steel-order-header>div{background:#f8fafc;border:1px solid #e5e7eb;border-radius:12px;padding:12px 16px;display:grid;gap:3px}.steel-order-header span{font-size:.78rem;text-transform:uppercase;color:#64748b}.steel-calculation small{display:block;color:#64748b;margin-top:4px}.steel-calculation input{min-width:84px;max-width:100px}.steel-totals{flex-wrap:wrap}.steel-totals button{margin-left:12px}
.product-steel-data{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:18px 0}.product-steel-data>div{padding:13px 15px;border:1px solid #e5e7eb;border-radius:12px;background:#f8fafc;display:grid;gap:4px}.product-steel-data span{font-size:.76rem;color:#64748b;text-transform:uppercase;letter-spacing:.05em}.product-steel-data strong{font-size:.95rem}
.receipt-actions{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.delivery-note{background:#fff;color:#111;border:1px solid #d1d5db;padding:34px;max-width:1000px;margin:0 auto}.delivery-note header{display:flex;justify-content:space-between;gap:25px;border-bottom:2px solid #111;padding-bottom:18px}.delivery-note header p,.delivery-note header h2{margin:0}.delivery-note header h2{font-size:2rem;margin-top:6px}.delivery-note header>div:last-child{display:grid;grid-template-columns:auto auto;gap:5px 14px}.delivery-note>section{display:flex;justify-content:space-between;gap:20px;padding:20px 0}.delivery-note table{width:100%;border-collapse:collapse}.delivery-note th,.delivery-note td{padding:11px;border:1px solid #aaa}.delivery-note th{background:#f5f5f5;text-align:left}.delivery-note tfoot td{font-weight:800;font-size:1.1rem}.delivery-note tfoot td:last-child{text-align:right}.delivery-note footer{display:grid;grid-template-columns:1fr 1fr;gap:70px;margin-top:85px}.delivery-note footer div{border-top:1px solid #111;padding-top:7px;text-align:center}
@media(max-width:850px){.line-entry,.steel-line-entry{grid-template-columns:1fr 1fr}.line-entry label:first-child,.steel-line-entry label:first-child{grid-column:1/-1}.line-entry button{width:100%}.steel-order-header{grid-template-columns:1fr}.product-steel-data{grid-template-columns:1fr 1fr}.direct-billing footer,.steel-totals{justify-content:space-between}.delivery-note{padding:20px}.delivery-note header,.delivery-note>section{display:grid}.delivery-note{overflow:auto}}
@media(max-width:540px){.line-entry,.steel-line-entry,.product-steel-data{grid-template-columns:1fr}.line-entry label:first-child,.steel-line-entry label:first-child{grid-column:auto}.direct-billing,.steel-order-form{padding:14px}.direct-billing footer,.steel-totals{display:grid;grid-template-columns:1fr 1fr}.direct-billing footer button,.steel-totals button{grid-column:1/-1;margin:0}.receipt-actions{gap:10px;align-items:stretch;flex-direction:column}}
@media print{.receipt-actions,aside,.mobile,.backdrop,.top,.flash{display:none!important}.delivery-note{border:0;padding:0;max-width:none}.delivery-note footer{margin-top:70px}main{margin:0!important;padding:0!important}.print-detail .product-steel-data{display:grid!important}}
