:root{--ink:#173a61;--muted:#64778b;--paper:#f3f8fc;--white:#fff;--brand:#2d69a5;--brand-dark:#173f6b;--accent:#43b9cf;--lime:#bcecf4;--line:#d9e7f1;--danger:#b42318;--shadow:0 18px 50px rgba(23,58,97,.12)}
*{box-sizing:border-box}body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--ink);background:var(--paper)}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}.topbar{height:72px;padding:0 5vw;display:flex;align-items:center;justify-content:space-between;background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:10}.brand{display:flex;gap:12px;align-items:center;font-weight:800;letter-spacing:-.03em}.brand-mark{width:42px;height:42px;border-radius:14px;background:var(--brand);color:#fff;display:grid;place-items:center;font-size:12px;box-shadow:0 8px 20px rgba(45,105,165,.28)}.nav{display:flex;gap:28px;align-items:center;color:var(--muted);font-weight:650}.btn{border:0;border-radius:12px;padding:12px 18px;background:var(--brand);color:#fff;cursor:pointer;font-weight:750;display:inline-flex;align-items:center;justify-content:center;gap:8px}.btn:hover{background:var(--brand-dark)}.btn-secondary{background:#e7f2f9;color:var(--brand-dark)}.btn-danger{background:#fee4e2;color:var(--danger)}.hero{padding:88px 6vw 72px;display:grid;grid-template-columns:1.15fr .85fr;gap:7vw;align-items:center;min-height:620px;background:radial-gradient(circle at 85% 20%,#d7f2f8 0,transparent 33%),linear-gradient(140deg,#f5f9fc,#e7f3fa)}.eyebrow{text-transform:uppercase;letter-spacing:.18em;font-size:12px;color:var(--brand);font-weight:850}.hero h1{font-family:Georgia,serif;font-size:clamp(48px,7vw,86px);line-height:.98;letter-spacing:-.055em;margin:18px 0 24px;max-width:850px}.hero p{font-size:19px;line-height:1.65;color:var(--muted);max-width:660px}.hero-card{background:var(--ink);color:#fff;border-radius:28px;padding:38px;box-shadow:var(--shadow);transform:rotate(1deg)}.hero-card .metric{font-size:48px;font-family:Georgia,serif;margin:20px 0 4px}.hero-card p{color:#d4e4ef;font-size:15px}.section{padding:84px 6vw}.section-head{display:flex;justify-content:space-between;align-items:end;margin-bottom:34px}.section h2{font-family:Georgia,serif;font-size:42px;margin:8px 0}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.card{background:#fff;border:1px solid var(--line);border-radius:20px;padding:24px;box-shadow:0 8px 24px rgba(23,58,97,.05)}.product-img{height:180px;background:#edf6fb;border-radius:14px;display:grid;place-items:center;overflow:hidden;margin-bottom:18px}.product-img img{width:100%;height:100%;object-fit:cover}.pill{display:inline-flex;padding:7px 10px;border-radius:99px;background:#dff5fa;color:#22677b;font-size:12px;font-weight:800}.price{font-size:24px;font-weight:850;margin-top:18px}.footer{padding:50px 6vw;background:var(--ink);color:#dceaf3;display:flex;justify-content:space-between}.login-body{min-height:100vh;display:grid;place-items:center;background:radial-gradient(circle at 15% 10%,#cceff6,transparent 30%),var(--ink);padding:24px}.login-card{width:min(440px,100%);background:#fff;border-radius:24px;padding:38px;box-shadow:var(--shadow)}.login-card h1{font-family:Georgia,serif;font-size:38px;margin:22px 0 8px}.login-card p{color:var(--muted)}.form{display:grid;gap:16px;margin-top:28px}.field{display:grid;gap:7px}.field label{font-size:13px;font-weight:750}.field input,.field select,.field textarea,.search{width:100%;border:1px solid #c7d9e7;border-radius:11px;padding:12px 14px;background:#fff}.error{padding:12px;border-radius:10px;background:#fee4e2;color:var(--danger)}.panel{display:grid;grid-template-columns:250px 1fr;min-height:100vh}.sidebar{background:var(--ink);color:#dceaf3;padding:28px 20px;position:sticky;top:0;height:100vh}.sidebar .brand{color:#fff;margin:0 10px 34px}.menu{display:grid;gap:6px}.menu a{padding:12px 14px;border-radius:10px;font-weight:650}.menu a:hover,.menu a.active{background:rgba(255,255,255,.1);color:#fff}.panel-main{min-width:0}.panel-header{height:72px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 32px}.content{padding:32px}.content h1{margin:0;font-family:Georgia,serif;font-size:36px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:28px 0}.stat{background:#fff;border:1px solid var(--line);border-radius:18px;padding:22px}.stat strong{display:block;font-size:30px;margin-top:12px}.table-wrap{overflow:auto;background:#fff;border:1px solid var(--line);border-radius:18px;margin-top:22px}table{width:100%;border-collapse:collapse}th,td{text-align:left;padding:14px 16px;border-bottom:1px solid var(--line);white-space:nowrap}th{font-size:12px;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);background:#f7fafc}.toolbar{display:flex;gap:12px;justify-content:space-between;align-items:center;margin-top:22px}.empty-state{text-align:center;padding:60px 24px}.quote-grid{display:grid;grid-template-columns:1fr 360px;gap:22px;margin-top:24px}.quote-summary{background:var(--ink);color:#fff;padding:24px;border-radius:18px;height:max-content;position:sticky;top:92px}.quote-summary .total{font-size:34px;font-weight:850}.muted{color:var(--muted)}@media(max-width:900px){.hero,.quote-grid{grid-template-columns:1fr}.grid,.stats{grid-template-columns:repeat(2,1fr)}.panel{grid-template-columns:1fr}.sidebar{height:auto;position:relative}.menu{grid-template-columns:repeat(2,1fr)}.panel-header{display:none}}@media(max-width:600px){.nav a:not(.btn){display:none}.grid,.stats{grid-template-columns:1fr}.hero{padding-top:60px}.hero h1{font-size:50px}.section{padding:60px 5vw}.footer{display:grid;gap:18px}}

.brand-logo{display:block;width:154px;height:auto;object-fit:contain}.topbar .brand-logo{width:142px}.sidebar .brand-logo{width:150px;filter:brightness(0) invert(1);opacity:.96}.login-card .brand-logo{width:180px}.login-entry{background:linear-gradient(135deg,var(--brand),var(--accent));box-shadow:0 10px 28px rgba(45,105,165,.28);padding:13px 21px}.login-entry:hover{background:linear-gradient(135deg,var(--brand-dark),var(--brand))}.hero-login{font-size:17px;padding:15px 24px}.login-note{display:flex;align-items:center;gap:9px;margin-top:14px;color:var(--muted);font-size:13px}.login-note:before{content:'✓';display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:#dff5fa;color:var(--brand);font-weight:900}@media(max-width:600px){.topbar .brand-logo{width:118px}.login-entry{padding:11px 14px;font-size:13px}}
.menu button{width:100%;padding:12px 14px;border:0;border-radius:10px;background:transparent;color:inherit;text-align:left;font-weight:650;cursor:pointer}.menu button:hover,.menu button.active{background:rgba(255,255,255,.1);color:#fff}.menu .menu-logout{margin-top:18px;color:#b9d1e2}.panel-content{min-height:calc(100vh - 72px);overflow:auto;background:var(--paper)}.loading-box{padding:48px 32px;color:var(--muted)}
.panel-main,.panel-content,.content,.stat,.card{min-width:0}.panel-content{width:100%;overflow-x:hidden}.content{width:100%;max-width:1600px;margin:0 auto;padding:36px clamp(22px,3vw,48px)}.content h1{font-size:clamp(30px,3vw,42px);line-height:1.1}.stats{grid-template-columns:repeat(4,minmax(0,1fr))}.toolbar{flex-wrap:wrap}.table-wrap{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
@media(max-width:1100px){.stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){body{overflow-x:hidden}.panel{display:block}.sidebar{position:relative;width:100%;height:auto;padding:18px}.sidebar .brand{margin:0 6px 18px}.sidebar .brand-logo{width:132px}.menu{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.menu a,.menu button{min-height:48px}.menu .menu-logout{margin-top:0}.panel-header{display:flex;height:auto;min-height:60px;padding:14px 20px;gap:12px;flex-wrap:wrap}.panel-content{min-height:auto}.content{padding:26px 20px}.quote-summary{position:static}}
@media(max-width:600px){.menu{grid-template-columns:1fr}.panel-header{align-items:flex-start;flex-direction:column}.content{padding:22px 16px}.stats{grid-template-columns:1fr;gap:12px;margin:22px 0}.stat,.card{padding:20px}.quote-grid{grid-template-columns:1fr}.toolbar>*{width:100%;max-width:none!important}.btn{width:100%}.content h1{font-size:32px}.content h2{font-size:27px}}
.row-actions,.form-actions,.check-field{display:flex;align-items:center;gap:10px}.row-actions form{margin:0}.btn-small{padding:8px 11px;font-size:13px}.check-field{font-weight:700}.check-field input{width:18px;height:18px}.form-actions{flex-wrap:wrap}@media(max-width:600px){.row-actions{align-items:stretch;flex-direction:column}.row-actions .btn{width:100%}}
.module-title{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:24px}.report-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:28px}.report-card{display:grid;gap:9px;padding:26px;border:1px solid var(--line);border-radius:18px;background:#fff;box-shadow:0 8px 24px rgba(23,58,97,.05);transition:transform .2s,border-color .2s}.report-card:hover{transform:translateY(-3px);border-color:var(--accent)}.report-card strong{font-size:22px}.report-card span{color:var(--muted);line-height:1.5}.form-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.promo-thumb{display:block;width:88px;height:64px;border-radius:9px;object-fit:cover;background:#edf6fb}.promo-preview{display:block;width:min(360px,100%);max-height:420px;object-fit:contain;border:1px solid var(--line);border-radius:14px}.promo-section{background:#edf6fb}.promo-grid-public{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.promo-card-public{overflow:hidden;border-radius:18px;background:#fff;border:1px solid var(--line);box-shadow:var(--shadow);transition:transform .2s}.promo-card-public:hover{transform:translateY(-4px)}.promo-card-public img{display:block;width:100%;aspect-ratio:4/5;object-fit:cover;background:#fff}.promo-card-public div{display:grid;gap:6px;padding:18px}.promo-card-public strong{font-size:19px}.promo-card-public span{color:var(--muted);line-height:1.45}.hero-actions{display:flex;gap:12px;margin-top:30px}.public-footer{align-items:flex-start;gap:36px}.public-footer p{margin:8px 0 0}.contactos-publicos{display:flex;flex-wrap:wrap;gap:16px}.contactos-publicos a{display:grid;grid-template-columns:38px 1fr;column-gap:10px;align-items:center;min-width:180px;padding:12px 15px;border:1px solid rgba(255,255,255,.2);border-radius:13px}.contactos-publicos small{grid-column:2;color:inherit;opacity:.8}.whatsapp-dot{grid-row:1/3;width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:#25d366;color:#fff;font-weight:900}.contact-page{max-width:900px;margin:auto}.contact-light{margin:28px 0}.contact-light a{border-color:var(--line);background:#fff}.contact-light small{color:var(--muted)}
.promo-empty{grid-column:1/-1;display:grid;gap:8px;text-align:center;padding:44px;border:1px dashed #aac9db;border-radius:18px;color:var(--muted)}.promo-empty strong{font-size:20px;color:var(--ink)}
@media(max-width:900px){.promo-grid-public{grid-template-columns:repeat(2,minmax(0,1fr))}.public-footer{display:grid}.module-title{align-items:stretch;flex-direction:column}.module-title>.btn{align-self:flex-start}}
@media(max-width:600px){.report-grid,.promo-grid-public,.form-two{grid-template-columns:1fr}.hero-actions{align-items:stretch;flex-direction:column}.public-footer{padding:36px 20px}.contactos-publicos{display:grid;width:100%}.contactos-publicos a{width:100%}.module-title>.btn{width:100%}}
.filter-links{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0}.message-cell{min-width:280px;max-width:520px;white-space:normal;line-height:1.45}.status-pill{display:inline-flex;padding:6px 9px;border-radius:99px;font-size:12px;font-weight:850}.status-ok{background:#dcfce7;color:#166534}.status-pending{background:#fef3c7;color:#92400e}@media(max-width:600px){.filter-links{display:grid;grid-template-columns:1fr}.filter-links .btn{width:100%}}
.products-table .product-name-cell{min-width:260px;max-width:440px;white-space:normal}.products-table td:nth-child(3){min-width:170px}.products-table td:nth-child(4),.products-table th:nth-child(4){text-align:right}@media(max-width:600px){.products-table .product-name-cell{min-width:210px}}
.table-wrap table{width:100%;max-width:100%}.table-wrap th,.table-wrap td{white-space:normal;overflow-wrap:anywhere;word-break:normal;vertical-align:top}.table-wrap th{line-height:1.25}.wide-table{table-layout:fixed}.wide-table th,.wide-table td{padding:12px clamp(8px,1vw,14px)}.wide-table .row-actions{flex-wrap:wrap}.wide-table .cell-nowrap{white-space:nowrap;overflow-wrap:normal}.stock-table th:nth-child(1){width:6%}.stock-table th:nth-child(2){width:27%}.stock-table th:nth-child(3){width:14%}.stock-table th:nth-child(4){width:10%}.stock-table th:nth-child(5),.stock-table th:nth-child(6){width:7%}.stock-table th:nth-child(7),.stock-table th:nth-child(8){width:8%}.stock-table th:nth-child(9){width:13%}.products-table th:nth-child(1){width:6%}.products-table th:nth-child(2){width:22%}.products-table th:nth-child(3){width:14%}.products-table th:nth-child(4){width:9%}.products-table th:nth-child(5){width:8%}.products-table th:nth-child(6){width:7%}.products-table th:nth-child(7){width:13%}.products-table th:nth-child(8){width:11%}.products-table th:nth-child(9){width:10%}.providers-table th:nth-child(1){width:10%}.providers-table th:nth-child(2){width:28%}.providers-table th:nth-child(3){width:15%}.providers-table th:nth-child(4){width:12%}.providers-table th:nth-child(5){width:11%}.providers-table th:nth-child(6){width:16%}.providers-table th:nth-child(7){width:8%}@media(max-width:900px){.wide-table{table-layout:auto;min-width:820px}.table-wrap{overscroll-behavior-inline:contain}.wide-table th,.wide-table td{padding:12px}.stock-table th,.products-table th,.providers-table th{width:auto!important}}@media(max-width:600px){.table-wrap{border-radius:14px;margin-left:0;margin-right:0}.table-wrap:focus-within{outline:2px solid var(--accent);outline-offset:2px}.wide-table{min-width:760px}}
.status-neutral{background:#e7eef5;color:#44566c}.sales-table th:nth-child(1){width:7%}.sales-table th:nth-child(2),.sales-table th:nth-child(3){width:9%}.sales-table th:nth-child(4){width:19%}.sales-table th:nth-child(5){width:10%}.sales-table th:nth-child(6){width:11%}.sales-table th:nth-child(7){width:35%}@media(max-width:900px){.sales-table th{width:auto!important}.sales-table{min-width:980px}}
.status-offer{margin-top:8px;background:#fff0c2;color:#8a4b00}.product-image-preview{display:block;width:min(280px,100%);max-height:240px;object-fit:contain;padding:10px;background:#fff;border:1px solid var(--line);border-radius:14px}.offer-section{background:linear-gradient(145deg,#f8fbfd,#e8f5fa)}.offer-grid-public{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.offer-card-public{overflow:hidden;display:grid;grid-template-rows:240px 1fr;border:1px solid var(--line);border-radius:20px;background:#fff;box-shadow:var(--shadow);transition:transform .2s,box-shadow .2s}.offer-card-public:hover{transform:translateY(-5px);box-shadow:0 24px 55px rgba(23,58,97,.17)}.offer-image{display:grid;place-items:center;overflow:hidden;background:#f4f9fc;padding:14px}.offer-image img{width:100%;height:100%;object-fit:contain}.offer-body{display:flex;flex-direction:column;align-items:flex-start;gap:10px;padding:22px}.offer-body h3{margin:0;font-size:21px;line-height:1.25}.offer-body p{margin:0;min-height:24px}.offer-badge{display:inline-flex;padding:7px 11px;border-radius:99px;background:#fff0c2;color:#8a4b00;font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}.offer-prices{display:flex;align-items:baseline;gap:11px;margin:4px 0 8px}.offer-prices span{text-decoration:line-through;color:var(--muted);font-size:15px}.offer-prices strong{font-size:28px;color:var(--brand-dark)}.offer-body .offer-note{width:100%;min-height:0;padding:11px 13px;border-radius:10px;background:#f7fafc;border:1px solid var(--line);color:var(--ink);font-size:14px;line-height:1.45;white-space:pre-line}.offer-body .btn{margin-top:auto}@media(max-width:900px){.offer-grid-public{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.offer-grid-public{grid-template-columns:1fr}.offer-card-public{grid-template-rows:220px 1fr}}
[hidden]{display:none!important}.seller-form{display:flex;align-items:center;gap:8px;min-width:260px}.seller-form select{min-width:160px;max-width:240px;border:1px solid #c7d9e7;border-radius:9px;padding:8px 10px;background:#fff;color:var(--ink)}.seller-form .btn{white-space:nowrap}.payment-form{align-items:flex-end;flex-wrap:wrap}.payment-form .payment-days{min-width:110px}.payment-form .payment-days input{width:110px;padding:8px 10px}.confirmed-sales-table .seller-form{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;min-width:230px}.confirmed-sales-table .seller-form select{width:100%;min-width:0;max-width:none}.payment-edit-form{min-width:250px}.payment-edit-form>select{grid-column:1;grid-row:1}.payment-edit-form>.btn{grid-column:2;grid-row:1}.payment-edit-form .payment-days{grid-column:1/-1;grid-row:2;display:grid;grid-template-columns:auto minmax(82px,1fr);align-items:center;gap:8px;margin-top:2px;min-width:0}.payment-edit-form .payment-days label{margin:0;white-space:nowrap}.payment-edit-form .payment-days input{width:100%;min-width:0}.confirmed-sales-table th:nth-child(1){width:5%}.confirmed-sales-table th:nth-child(2){width:8%}.confirmed-sales-table th:nth-child(3){width:8%}.confirmed-sales-table th:nth-child(4){width:16%}.confirmed-sales-table th:nth-child(5){width:21%}.confirmed-sales-table th:nth-child(6){width:22%}.confirmed-sales-table th:nth-child(7){width:11%}.confirmed-sales-table th:nth-child(8){width:9%}.confirmed-sales-table td:nth-child(1),.confirmed-sales-table td:nth-child(2),.confirmed-sales-table td:nth-child(3),.confirmed-sales-table td:nth-child(7){white-space:nowrap;overflow-wrap:normal}.confirmed-sales-table th:nth-child(7),.confirmed-sales-table td:nth-child(7){text-align:right}@media(max-width:1100px){.confirmed-sales-table{min-width:1240px}.confirmed-sales-table th{width:auto!important}}@media(max-width:600px){.seller-form{align-items:stretch;flex-direction:column;min-width:190px}.seller-form select{max-width:none;width:100%}.payment-form .payment-days,.payment-form .payment-days input{width:100%}.confirmed-sales-table .seller-form{min-width:210px}}
.quote-products-toolbar{align-items:center}.product-view-toggle{background:#e7f2f9;border-radius:12px;color:var(--brand-dark);cursor:pointer;padding:11px 14px;white-space:nowrap}.product-view-help{font-size:13px;line-height:1.45;margin:8px 2px 0}@media(max-width:600px){.product-view-toggle{width:100%;white-space:normal}}
.permission-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:16px}.permission-option{display:flex;align-items:flex-start;gap:12px;padding:15px;border:1px solid var(--line);border-radius:13px;background:#f8fbfd;line-height:1.4;cursor:pointer}.permission-option:hover{border-color:var(--accent);background:#fff}.permission-option input{width:19px;height:19px;flex:0 0 auto;margin-top:1px}.roles-table th:nth-child(1){width:30%}.roles-table th:nth-child(2),.roles-table th:nth-child(3),.roles-table th:nth-child(4){width:13%}.roles-table th:nth-child(5){width:31%}@media(max-width:700px){.permission-grid{grid-template-columns:1fr}.roles-table{min-width:720px}}
.quote-grid>section{min-width:0}.quote-products-table td:first-child{white-space:normal}.quote-products-table input{max-width:100%}@media(max-width:600px){.sidebar{position:sticky;top:0;z-index:30;padding:10px 12px;box-shadow:0 4px 18px rgba(12,40,70,.2)}.sidebar .brand{justify-content:center;margin:0 0 8px}.sidebar .brand-logo{width:108px}.menu{display:flex;grid-template-columns:none;gap:7px;overflow-x:auto;padding:0 0 4px;scrollbar-width:thin;overscroll-behavior-inline:contain}.menu a,.menu button,.menu .menu-logout{flex:0 0 auto;width:auto;min-height:40px;margin:0;padding:9px 12px;white-space:nowrap}.panel-header{min-height:46px;padding:9px 14px;display:flex;align-items:center;flex-direction:row;flex-wrap:nowrap;font-size:13px}.panel-header>div{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.quote-page{padding:20px 12px}.quote-page h1{font-size:30px}.quote-page>.muted{line-height:1.45}.quote-page .quote-grid{gap:16px;margin-top:18px}.quote-page .card{padding:16px;border-radius:15px}.quote-page .toolbar{margin-top:16px}.quote-products-wrap{overflow:visible;border:0;background:transparent;margin-top:16px}.quote-products-table,.quote-products-table tbody{display:block;width:100%}.quote-products-table thead{display:none}.quote-products-table tbody{display:grid;gap:12px}.quote-products-table tr{display:block;padding:0 14px 10px;border:1px solid var(--line);border-radius:15px;background:#fff;box-shadow:0 5px 16px rgba(23,58,97,.06)}.quote-products-table td{display:grid;grid-template-columns:112px minmax(0,1fr);align-items:center;gap:10px;width:100%;padding:9px 0;border-bottom:1px solid #edf2f6;white-space:normal;overflow-wrap:anywhere}.quote-products-table td:before{content:attr(data-label);font-size:11px;font-weight:850;letter-spacing:.07em;text-transform:uppercase;color:var(--muted)}.quote-products-table td:first-child{display:block;margin:0 -14px 4px;padding:14px;border-radius:15px 15px 0 0;background:#f7fafc}.quote-products-table td:first-child:before{display:none}.quote-products-table td:last-child{border-bottom:0;font-weight:800}.quote-products-table input{width:100%!important;min-width:0;min-height:44px;padding:9px 11px}.quote-summary{padding:20px;border-radius:16px}.quote-summary .total{font-size:30px}.quote-summary .field{margin-top:18px!important}.quote-summary textarea{min-height:110px}.quote-summary .btn{min-height:48px}}
.pagination-bar{display:grid;grid-template-columns:minmax(150px,1fr) auto minmax(290px,1fr);align-items:center;gap:16px;margin:14px 0 26px;padding:14px 16px;border:1px solid var(--line);border-radius:14px;background:#fff}.pagination-summary{color:var(--muted);font-size:14px}.page-size-form{display:flex;align-items:center;justify-content:center;gap:8px;color:var(--muted);font-size:14px}.page-size-form label{font-weight:750;color:var(--ink)}.page-size-form select{border:1px solid #c7d9e7;border-radius:9px;padding:8px 30px 8px 10px;background:#fff;color:var(--ink)}.pagination-nav{display:flex;align-items:center;justify-content:flex-end;gap:9px}.pagination-button{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:8px 12px;border-radius:10px;background:#e7f2f9;color:var(--brand-dark);font-size:14px;font-weight:750}.pagination-button:hover{background:#d7eaf6}.pagination-button.disabled{cursor:default;opacity:.45}.pagination-current{min-width:112px;text-align:center;font-size:14px;font-weight:700}@media(max-width:900px){.pagination-bar{grid-template-columns:1fr auto}.pagination-nav{grid-column:1/-1;justify-content:center}}@media(max-width:600px){.pagination-bar{display:flex;align-items:stretch;flex-direction:column;padding:13px 12px}.pagination-summary{text-align:center}.page-size-form{justify-content:center;flex-wrap:wrap}.pagination-nav{display:grid;grid-template-columns:1fr auto 1fr}.pagination-button{width:100%}.pagination-current{min-width:0;white-space:nowrap}}
.confirmed-sales-table th:nth-child(1){width:4%}.confirmed-sales-table th:nth-child(2){width:6%}.confirmed-sales-table th:nth-child(3){width:6%}.confirmed-sales-table th:nth-child(4){width:13%}.confirmed-sales-table th:nth-child(5){width:15%}.confirmed-sales-table th:nth-child(6){width:16%}.confirmed-sales-table th:nth-child(7){width:9%}.confirmed-sales-table th:nth-child(8){width:15%}.confirmed-sales-table th:nth-child(9),.confirmed-sales-table th:nth-child(10){width:8%}.confirmed-sales-table td:nth-child(1),.confirmed-sales-table td:nth-child(2),.confirmed-sales-table td:nth-child(3),.confirmed-sales-table td:nth-child(9){white-space:nowrap;overflow-wrap:normal}.confirmed-sales-table th:nth-child(9),.confirmed-sales-table td:nth-child(9){text-align:right}.status-partial{background:#dff5fa;color:#22677b}.payment-balance{display:grid;gap:5px;min-width:160px}.payment-balance span{display:flex;justify-content:space-between;gap:12px}.payment-history,.collection-panel{margin-top:9px}.payment-history summary,.collection-panel summary{cursor:pointer;color:var(--brand);font-size:13px;font-weight:750}.payment-history-list{display:grid;gap:7px;margin-top:8px}.payment-history-list>div{display:grid;gap:2px;padding:8px;border-radius:9px;background:#f3f8fc}.payment-history-list span,.payment-history-list small{font-size:12px;color:var(--muted)}.collection-form{display:grid;gap:9px;min-width:250px;margin-top:10px;padding:12px;border:1px solid var(--line);border-radius:11px;background:#f7fafc}.collection-form label{display:grid;gap:4px;font-size:12px;font-weight:750}.collection-form input,.collection-form select,.collection-form textarea{width:100%;min-width:0;border:1px solid #c7d9e7;border-radius:8px;padding:8px;background:#fff;color:var(--ink)}@media(max-width:1100px){.confirmed-sales-table{min-width:1580px}.confirmed-sales-table th{width:auto!important}}@media(max-width:600px){.collection-form{min-width:220px}}
.pagination-anchor{scroll-margin-top:18px}.confirmed-sales-table th:nth-child(1){width:4%}.confirmed-sales-table th:nth-child(2){width:6%}.confirmed-sales-table th:nth-child(3){width:5%}.confirmed-sales-table th:nth-child(4){width:14%}.confirmed-sales-table th:nth-child(5){width:14%}.confirmed-sales-table th:nth-child(6){width:14%}.confirmed-sales-table th:nth-child(7){width:9%}.confirmed-sales-table th:nth-child(8){width:15%}.confirmed-sales-table th:nth-child(9){width:11%}.confirmed-sales-table th:nth-child(10){width:8%}.confirmed-sales-table .seller-form,.confirmed-sales-table .payment-edit-form{display:grid;grid-template-columns:minmax(0,1fr);align-items:stretch;gap:7px;min-width:0}.confirmed-sales-table .seller-form>select,.confirmed-sales-table .seller-form>.btn,.confirmed-sales-table .payment-edit-form>select,.confirmed-sales-table .payment-edit-form>.btn,.confirmed-sales-table .payment-edit-form>.payment-days{grid-column:1!important;grid-row:auto!important;width:100%;min-width:0;max-width:none}.confirmed-sales-table .seller-form>.btn{white-space:normal}.confirmed-sales-table .payment-edit-form .payment-days{display:grid;grid-template-columns:44px minmax(0,1fr)}.collection-form{min-width:0}.payment-balance{min-width:0}@media(max-width:1100px){.confirmed-sales-table{min-width:1320px}}
.collections-report-table th:nth-child(1),.collections-report-table th:nth-child(2){width:7%}.collections-report-table th:nth-child(3){width:18%}.collections-report-table th:nth-child(4){width:13%}.collections-report-table th:nth-child(5){width:12%}.collections-report-table th:nth-child(6){width:9%}.collections-report-table th:nth-child(7),.collections-report-table th:nth-child(8),.collections-report-table th:nth-child(9){width:9%}.collections-report-table th:nth-child(10){width:7%}.collections-report-table td:nth-child(7),.collections-report-table td:nth-child(8),.collections-report-table td:nth-child(9){text-align:right;white-space:nowrap;overflow-wrap:normal}@media(max-width:1000px){.collections-report-table{min-width:1200px}.collections-report-table th{width:auto!important}}
.reactivation-form{display:grid;grid-template-columns:minmax(125px,1fr) auto;align-items:end;gap:8px;min-width:245px;padding:9px;border:1px solid var(--line);border-radius:11px;background:#f7fafc}.reactivation-form label{display:grid;gap:4px;color:var(--muted);font-size:11px;font-weight:750}.reactivation-form input{width:100%;min-width:0;border:1px solid #c7d9e7;border-radius:8px;padding:8px;background:#fff;color:var(--ink)}@media(max-width:600px){.reactivation-form{grid-template-columns:1fr;min-width:205px}}
