:root{--ink:#580D22;--muted:#706269;--line:#eadde1;--bg:#faf9f9;--green:#580D22;--green2:#F7E9ED;--green3:#8B1534;--gold:#e9b342;--red:#b42318}*{box-sizing:border-box}body,html{max-width:100%;overflow-x:hidden}body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;background:var(--bg);color:var(--ink)}button,input,select,textarea{font:inherit}.app{width:100%;max-width:100vw;overflow-x:hidden}.top{height:104px;background:var(--green);justify-content:space-between;padding:0 40px;position:-webkit-sticky;position:sticky;top:0;z-index:30}.brand,.top{display:flex;align-items:center}.brand{gap:16px;background:none;border:0;color:#fff;text-align:left;cursor:pointer}.brand b,.brand small{display:block}.brand b{font-size:24px}.brand small{font-size:17px;color:#d6e8e2;margin-top:3px}.logo{width:60px;height:60px;border-radius:16px;background:var(--gold);color:#103a31;display:grid;place-items:center;font-size:20px;font-weight:900}.topRight{display:flex;align-items:center;gap:18px}.qa{font-size:15px;color:#fff;border:1px solid #ffffff40;border-radius:999px;padding:11px 17px}.avatar{width:44px;height:44px;border-radius:50%;background:#fff;color:var(--green);display:grid;place-items:center;font-weight:800}.layout{display:grid;grid-template-columns:304px minmax(0,1fr);min-height:calc(100vh - 104px)}aside{background:#fff;border-right:1px solid var(--line);padding:22px 16px;position:-webkit-sticky;position:sticky;top:104px;height:calc(100vh - 104px);overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;scrollbar-color:#cbd5e1 transparent}.nav{width:100%;display:flex;gap:18px;align-items:center;border:0;background:transparent;border-radius:16px;padding:16px 20px;color:#334d47;cursor:pointer;margin:4px 0;text-align:left;font-size:20px}.navIcon{width:28px;text-align:center}.nav.active{background:var(--green2);color:var(--green);font-weight:800}main{padding:46px 48px;max-width:1500px;width:100%;margin:0 auto}.titleRow{display:flex;justify-content:space-between;align-items:flex-start;gap:22px;margin-bottom:30px}.eyebrow{font-size:14px;font-weight:900;letter-spacing:.14em;color:#67867d;margin:0 0 12px}.titleRow h1{font-size:48px;line-height:1.04;margin:0}.sub{font-size:20px;color:var(--muted);margin:12px 0 0;max-width:760px}.homeGrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:26px;gap:26px}.homeGrid button{min-height:215px;background:#fff;border:1px solid #dbe5e1;border-radius:20px;padding:28px 24px;text-align:center;cursor:pointer;display:flex;flex-direction:column;align-items:center;justify-content:center}.homeIcon{font-size:43px}.homeGrid b{font-size:22px;margin-top:18px}.clientCard>button,.primary,.refresh,.secondary{border:1px solid var(--line);border-radius:11px;padding:10px 14px;background:#fff;cursor:pointer;font-weight:700;color:#334d47}.primary{background:var(--green3);border-color:var(--green3);color:#fff}.big{padding:13px 18px}.toolbar{display:flex;gap:10px;margin-bottom:20px}.search{flex:1 1;display:flex;align-items:center;background:#fff;border:1px solid var(--line);border-radius:12px;padding:0 12px}.search input{border:0;outline:0;padding:12px 8px;width:100%;background:transparent}.notice{background:#edf8f4;border:1px solid #cce8df;color:#155d4b;border-radius:10px;padding:11px 14px;margin-bottom:18px}.notice.error{background:#fff1f0;border-color:#ffd2cf;color:#a1221a}.empty{background:#fff;border:1px dashed #d6e1dd;border-radius:14px;padding:42px 22px;text-align:center;color:var(--muted);display:grid;grid-gap:5px;gap:5px}.chip{display:inline-flex;align-items:center;border-radius:999px;padding:4px 8px;font-size:11px;font-weight:800;background:#edf6f3;color:#155d4b}.bookIcon,.clientIcon,.inventoryIcon{width:44px;height:44px;border-radius:10px;background:var(--green2);display:grid;place-items:center;font-size:22px;flex:0 0 auto}.grow{flex:1 1}.clientCards{display:grid;grid-gap:10px;gap:10px;max-width:950px}.clientCard{background:#fff;border:1px solid var(--line);border-radius:16px;padding:18px;display:flex;align-items:center;gap:14px}.clientCard h3{margin:8px 0 5px}.clientCard p,.clientCard small{color:var(--muted)}.overlay{position:fixed;inset:0;background:#0a261f7a;display:grid;place-items:center;padding:24px;z-index:100}.modal{width:min(720px,100%);max-height:88vh;overflow:auto;background:#fff;border-radius:16px;padding:22px}.modal.wide{width:min(1050px,100%)}.modalHead{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:18px}.x{border:0;background:#f3f4f6;border-radius:50%;width:34px;height:34px;font-size:22px}.grid2{display:grid;grid-template-columns:repeat(2,1fr);grid-gap:13px;gap:13px;margin-bottom:13px}.fullLabel{margin:13px 0}.fullLabel textarea{min-height:90px}label{display:grid;grid-gap:6px;gap:6px;font-size:13px;font-weight:700;color:#475d57}input,select,textarea{border:1px solid #d6e1dd;border-radius:10px;background:#fff;padding:11px;color:var(--ink)}.actions{display:flex;justify-content:flex-end;gap:8px;margin-top:18px}.statusFilter{border:1px solid var(--line);border-radius:12px;background:#fff;padding:0 12px;min-width:145px}.bookRows,.inventoryRows{display:grid;grid-gap:12px;gap:12px;max-width:1180px}.bookRow,.inventoryRow{background:#fff;border:1px solid var(--line);border-radius:16px;padding:16px 18px;display:grid;grid-gap:18px;gap:18px;align-items:center}.bookRow{grid-template-columns:minmax(0,1fr) auto}.inventoryRow{grid-template-columns:minmax(0,1fr) 150px auto}.bookRowMain,.inventoryRowMain{display:flex;gap:14px;align-items:flex-start;min-width:0}.bookRow h3,.inventoryRow h3{margin:7px 0 4px;font-size:19px}.bookRow p,.bookRow small,.inventoryRow small{color:var(--muted)}.bookRowStats,.inventoryRowStats{display:grid;grid-template-columns:repeat(3,minmax(88px,1fr));grid-gap:8px;gap:8px}.bookRowStats>div,.inventoryRowStats>div{background:#f8faf9;border-radius:10px;padding:10px 12px}.bookRowStats b,.bookRowStats small,.inventoryRowStats b,.inventoryRowStats small{display:block}.incoming{background:#fff6e8!important}.incoming b{color:#a15d00}.inventoryAvailable{background:#f8faf9;border-radius:10px;padding:11px 13px}.inventoryAvailable b{font-size:27px;color:var(--green3);display:block}.inactiveCard{opacity:.78}@media(max-width:780px){.top{height:80px;padding:0 12px;width:100%;max-width:100vw;gap:10px}.brand{gap:10px;flex:1 1}.brand,.brand>span:last-child{min-width:0}.brand b{font-size:19px;line-height:1.05}.brand small{font-size:14px;white-space:nowrap}.logo{width:48px;height:48px;border-radius:13px;flex:0 0 48px}.topRight{gap:8px;flex:0 0 auto}.qa{font-size:12px;line-height:1.15;padding:8px 10px;text-align:center}.avatar{display:none}.layout{display:block}.layout,aside{width:100%;max-width:100vw}aside{position:-webkit-sticky;position:sticky;top:80px;height:auto;display:flex;overflow-x:auto;overflow-y:hidden;padding:8px;z-index:20}.nav{min-width:58px;padding:10px;justify-content:center}.nav span:not(.navIcon){display:none}main{padding:26px 18px;width:100%;max-width:100vw;overflow-x:hidden}.titleRow{display:grid}.titleRow h1{font-size:34px}.bookRow,.grid2,.homeGrid,.inventoryRow{grid-template-columns:1fr}.bookRowStats,.inventoryRowStats{grid-template-columns:repeat(3,1fr)}}.receiptList{display:grid;grid-gap:12px;gap:12px;max-width:1050px}.receiptCard{width:100%;background:#fff;border:1px solid var(--line);border-radius:16px;padding:18px 20px;display:flex;justify-content:space-between;align-items:center;text-align:left;color:var(--ink);cursor:pointer}.receiptMeta{text-align:right;display:grid;grid-gap:5px;gap:5px}.receiptMeta strong{font-size:20px}.receiptProgress{height:8px;background:#edf2f0;border-radius:999px;overflow:hidden;margin-top:10px}.receiptProgress span{display:block;height:100%;background:var(--green3)}.receiptLine{display:grid;grid-template-columns:minmax(0,1fr) repeat(4,110px);grid-gap:10px;gap:10px;align-items:center;padding:14px 0;border-bottom:1px solid #edf2f0}.receiptLine label{display:grid;grid-gap:4px;gap:4px}.receiptLine input{width:100%}.receiptHistory{margin-top:24px}.receiptHistory article{background:#f8faf9;border-radius:12px;padding:12px 14px;margin-top:8px}@media(max-width:780px){.receiptCard{align-items:flex-start;gap:12px}.receiptMeta strong{font-size:17px}.receiptLine{grid-template-columns:1fr 1fr}.receiptLine label,.receiptLine>div:first-child{grid-column:1/3}.receiptLine .metric{text-align:left}}.bookRow{grid-template-columns:minmax(0,1fr) auto auto}.bookActions{display:flex;justify-content:flex-end;gap:8px;margin:0;padding:0;border:0}.bookActions button{border:1px solid var(--line);border-radius:11px;padding:10px 14px;background:#fff;cursor:pointer;font-weight:700;color:#334d47}.chips{display:flex;gap:6px;flex-wrap:wrap}.chip.orange{background:#fff4e5;color:#a15d00}.chip.green{background:#eaf8f1;color:#087653}.chip.inactive,.chip.status.pending{background:#f1f3f2;color:#596762}.danger{color:var(--red)!important}.orderFilters{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 14px}.orderFilters button{border:1px solid var(--line);background:#fff;color:#52635e;border-radius:999px;padding:8px 14px;font-weight:800;cursor:pointer}.orderFilters button.active{background:var(--green);border-color:var(--green);color:#fff}.orderList{display:grid;grid-gap:12px;gap:12px;max-width:1050px}.orderSummary{width:100%;border:1px solid var(--line);background:#fff;border-radius:16px;padding:18px 20px;display:flex;align-items:center;justify-content:space-between;gap:18px;text-align:left;cursor:pointer;color:var(--ink)}.orderNumber{font-size:14px;font-weight:900;letter-spacing:.03em;color:var(--green3)}.orderSummary h3{margin:6px 0 5px;font-size:20px}.orderSummary small{color:var(--muted)}.orderSummaryMeta{display:flex;flex-direction:column;align-items:flex-end;gap:8px;flex-shrink:0}.orderSummaryMeta>b{font-size:20px}.orderSummaryMeta>span{font-size:12px;font-weight:800;color:var(--green3)}.detailHead{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;padding-bottom:16px;border-bottom:1px solid var(--line)}.detailHead h3{margin:0 0 5px;font-size:22px}.detailHead p{margin:0;color:var(--muted)}.detailLines{display:grid;margin-top:8px}.detailLine{display:grid;grid-template-columns:minmax(0,2fr) .65fr .85fr .85fr;grid-gap:14px;gap:14px;align-items:center;padding:14px 0;border-bottom:1px solid #edf2f0}.detailLine>div{display:flex;flex-direction:column;gap:4px}.detailLine small{color:var(--muted)}.detailLine>small,.detailLine>strong{text-align:right}.detailLine>small{grid-column:4}.detailNotes{background:#f8faf9;border-radius:10px;padding:12px 14px;margin-top:16px}.detailTotal{display:flex;justify-content:space-between;align-items:center;margin-top:18px;padding:16px;background:var(--green2);border-radius:12px}.detailTotal b{font-size:26px}.combo{position:relative;margin:14px 0}.comboMenu{position:absolute;left:0;right:0;z-index:20;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 12px 28px #0000001f;max-height:340px;overflow:auto;margin-top:6px}.comboMenu button{width:100%;border:0;border-bottom:1px solid #edf2f0;background:#fff;padding:12px 14px;display:flex;justify-content:space-between;gap:10px;text-align:left;cursor:pointer}.comboMenu button span{display:flex;flex-direction:column;gap:3px}.comboMenu small{color:var(--muted)}.comboMenu strong{color:var(--green3)}.comboEmpty{padding:16px;color:var(--muted)}.selectedLines{margin:18px 0}.selectedLine{display:grid;grid-template-columns:1fr auto 110px 42px;grid-gap:12px;gap:12px;align-items:center;padding:12px 0;border-bottom:1px solid #edf2f0}.selectedLine .grow{display:flex;flex-direction:column}.selectedLine small{color:var(--muted)}.qty{display:flex;align-items:center}.qty button{width:34px;height:34px;border:1px solid #cad5ce;background:#fff}.qty input{width:46px;height:34px;border-radius:0;text-align:center;padding:4px}.remove{width:38px;height:38px;border:1px solid #f0c9c5;border-radius:9px;background:#fff3f2;color:#b42318;font-size:20px}.hint{background:#f7f9f8;padding:18px;border-radius:8px;color:var(--muted)}.orderBottom{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;border-top:1px solid var(--line);padding-top:18px}.orderBottom>div:first-child{display:flex;flex-direction:column}.orderBottom b{font-size:26px}.orderBottom em{font-size:12px;color:#567465;font-style:normal}.actions.inline{margin:0;padding:0;border:0}.purchaseSummary{display:grid;grid-template-columns:repeat(3,1fr);grid-gap:12px;gap:12px;margin-bottom:22px}.confirmStats>span,.purchaseSummary>div{background:#fff;border:1px solid var(--line);border-radius:14px;padding:15px}.confirmStats b,.confirmStats small,.purchaseSummary b,.purchaseSummary small{display:block}.purchaseSummary b{font-size:24px;margin-top:4px}.purchaseSection{margin-top:30px}.purchaseSection h2{font-size:20px;margin:0 0 14px}.purchaseNeeds,.purchaseOrders{display:grid;grid-gap:12px;gap:12px}.purchaseNeed{background:#fff;border:1px solid var(--line);border-radius:16px;padding:18px;display:grid;grid-template-columns:1fr auto;grid-gap:10px;gap:10px}.purchaseNeed h3{margin:8px 0 4px}.purchaseNeed>strong{font-size:28px;color:var(--green3);text-align:right}.purchaseNeed>strong small{font-size:12px;color:var(--muted)}.allocationMini{grid-column:1/3;border-top:1px solid var(--line);padding-top:10px;display:flex;gap:8px;flex-wrap:wrap}.allocationMini span{font-size:12px;background:#f7faf9;padding:6px 8px;border-radius:8px;color:#50635d}.purchaseOrderCard{width:100%;background:#fff;border:1px solid var(--line);border-radius:16px;padding:17px 19px;display:flex;justify-content:space-between;align-items:center;text-align:left;color:var(--ink);cursor:pointer}.purchaseOrderCard h3{margin:5px 0}.purchaseOrderCard small,.purchaseOrderCard span{color:var(--muted)}.purchaseOrderCard>div:last-child{display:grid;text-align:right;grid-gap:4px;gap:4px}.confirmStats{display:grid;grid-template-columns:repeat(3,1fr);grid-gap:10px;gap:10px;margin:18px 0}.confirmStats b{font-size:20px;margin-top:4px}.muted{color:var(--muted)}@media(max-width:900px){.bookRow,.inventoryRow{grid-template-columns:1fr}.bookRowStats,.inventoryRowStats{grid-template-columns:repeat(3,1fr)}.bookActions{justify-content:flex-end}.inventoryAvailable{grid-template-columns:auto auto 1fr;justify-content:start}.inventoryAvailable span{grid-column:auto;align-self:center}}@media(max-width:780px){.booksToolbar{display:grid;grid-template-columns:1fr auto}.booksToolbar .search{grid-column:1/3}.statusFilter{min-height:44px}.orderFilters{overflow:auto;flex-wrap:nowrap}.orderFilters button{white-space:nowrap}.orderSummary{padding:14px;align-items:flex-start}.orderSummaryMeta{gap:6px}.orderSummaryMeta>b{font-size:17px}.orderSummaryMeta>span{display:none}.detailHead{flex-direction:column}.detailLine{grid-template-columns:1fr auto;gap:7px 12px}.detailLine>strong{grid-column:2}.detailLine>small{grid-column:1/3;text-align:left}.detailTotal b{font-size:22px}.selectedLine{grid-template-columns:1fr auto}.selectedLine>strong{grid-column:1}.selectedLine>.remove{grid-column:2}.orderBottom{flex-direction:column;align-items:stretch}.actions.inline{display:grid}.actions.inline,.purchaseSummary{grid-template-columns:1fr 1fr}.purchaseSummary>div:last-child{grid-column:1/3}.allocationMini{display:grid}.purchaseOrderCard{align-items:flex-start;gap:12px}.confirmStats{grid-template-columns:1fr 1fr}.confirmStats span:last-child{grid-column:1/3}}@media(max-width:560px){.bookRowStats,.inventoryRowStats{gap:6px}.bookRowStats>div,.inventoryRowStats>div{min-width:0;padding:9px 8px}.bookActions{display:grid;grid-template-columns:1fr 1fr}.bookActions button{width:100%}.inventoryAvailable{grid-template-columns:auto auto}.inventoryAvailable span{grid-column:1/3}}.deliveryList{display:grid;grid-gap:12px;gap:12px;max-width:1050px}.deliveryCard{width:100%;border:1px solid var(--line);background:#fff;border-radius:16px;padding:18px 20px;display:flex;align-items:center;justify-content:space-between;gap:18px;text-align:left;cursor:pointer;color:var(--ink)}.deliveryCard h3{margin:6px 0 5px;font-size:20px}.deliveryCard small{color:var(--muted)}.deliveryMeta{display:flex;flex-direction:column;align-items:flex-end;gap:7px;flex-shrink:0}.deliveryMeta strong{font-size:20px}.deliveryProgress{height:7px;background:#edf2f0;border-radius:999px;overflow:hidden;margin-top:12px;min-width:300px}.deliveryProgress span{display:block;height:100%;background:var(--green3)}.deliveryLine{display:grid;grid-template-columns:minmax(0,1.7fr) repeat(3,90px) 150px;grid-gap:12px;gap:12px;align-items:end;padding:14px 0;border-bottom:1px solid #edf2f0}.deliveryLine>div:first-child{display:flex;flex-direction:column;gap:4px}.deliveryLine small{color:var(--muted)}.metric{background:#f8faf9;border-radius:10px;padding:10px 12px}.metric b,.metric small{display:block}.chip@media(max-width:780px){.deliveryCard{align-items:flex-start;padding:14px}.deliveryMeta{gap:5px}.deliveryProgress{min-width:0}.deliveryLine{grid-template-columns:1fr 1fr;align-items:start}.deliveryLine label,.deliveryLine>div:first-child{grid-column:1/3}.deliveryMeta small{font-size:11px}}.deliveryHistoryHead{display:flex;justify-content:space-between;align-items:center;gap:12px}.deliveryHistoryHead .secondary{padding:7px 10px;font-size:12px}@media(max-width:780px){.deliveryHistoryHead{align-items:flex-start;flex-direction:column}}.orderSummary.orderPending{background:#f3f5f4!important;border-color:#d9dfdc!important}.orderSummary.orderConfirmed{background:#fff8e9!important;border-color:#efd79e!important}.orderSummary.orderPreparing{background:#e8f2fc!important;border-color:#b7d4ef!important}.orderSummary.orderDelivered{background:#e8f6ef!important;border-color:#b9ddca!important}.orderSummary.orderCancelled{background:#fff2f1!important;border-color:#f0c8c4!important}.receiptCard{background:#f3f5f4!important;border-color:#d9dfdc!important}.receiptCard.partial{background:#fff8e9!important;border-color:#efd79e!important}.receiptCard.done{background:#e8f6ef!important;border-color:#b9ddca!important}.deliveryCard{background:#f3f5f4!important;border-color:#d9dfdc!important}.deliveryCard.partial,.deliveryCard.partialReady{background:#fff8e9!important;border-color:#efd79e!important}.deliveryCard.ready{background:#e8f2fc!important;border-color:#b7d4ef!important}.deliveryCard.done{background:#e8f6ef!important;border-color:#b9ddca!important}.deliveryCard.partial .chip,.deliveryCard.partialReady .chip{background:#fff0c7!important;color:#8a5a00!important}.deliveryCard.ready .chip{background:#dbeafe!important;color:#245f91!important}.deliveryCard.done .chip{background:#d9f2e5!important;color:#056044!important}.deliveryCard.partial .deliveryProgress span,.deliveryCard.partialReady .deliveryProgress span{background:#d89a2b!important}.deliveryCard.ready .deliveryProgress span{background:#4f86c6!important}.deliveryCard.done .deliveryProgress span{background:#087653!important}aside::-webkit-scrollbar{width:6px}aside::-webkit-scrollbar-track{background:transparent}aside::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:999px}aside::-webkit-scrollbar-button{display:none;width:0;height:0}.inventoryFilters{margin-bottom:14px}.tableTools .inventoryFilters{margin-bottom:0}.purchaseOrderCard{background:#f3f5f4!important;border-color:#d9dfdc!important}.purchaseOrderCard.partial{background:#fff8e9!important;border-color:#efd79e!important}.purchaseOrderCard.done{background:#e8f6ef!important;border-color:#b9ddca!important}.tableTools{margin:0 0 14px}.tableTools input{width:min(620px,100%)}.masterTools{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.masterTools>input{flex:1 1 420px}.statusTabs{display:flex;gap:8px;flex-wrap:wrap}.masterRows{display:grid;grid-template-columns:1fr;grid-gap:12px;gap:12px}.masterRow{width:100%;background:#fff;border:1px solid var(--line);border-radius:16px;padding:18px 20px;display:grid;grid-template-columns:minmax(260px,1fr) auto auto;align-items:center;grid-gap:22px;gap:22px;cursor:pointer}.masterMain{min-width:0}.masterMain h3{margin:8px 0 4px}.masterMain p{margin:0 0 4px}.masterMain p,.masterMain small{color:var(--muted)}.bookMasterStats{display:grid;grid-template-columns:repeat(4,minmax(105px,1fr));grid-gap:8px;gap:8px}.bookMasterStats span{padding:9px 12px;border-left:1px solid var(--line)}.bookMasterStats b,.bookMasterStats small{display:block}.bookMasterStats small{color:var(--muted);font-size:11px}.masterActions{display:flex;gap:8px}.stockPreview{display:flex;align-items:center;justify-content:center;gap:18px;background:#f3f7f5;border:1px solid var(--line);border-radius:12px;padding:14px}.stockPreview span{display:flex;gap:7px;align-items:center}.stockPreview b{font-size:20px;color:var(--green3)}.stockPreview.bad{background:#fff1f0;border-color:#ffd2cf}.stockPreview.bad b{color:#a1221a}@media(max-width:980px){.masterRow{grid-template-columns:1fr}.bookMasterStats{grid-template-columns:repeat(2,1fr)}.masterActions{justify-content:flex-end}}@media(max-width:560px){.bookMasterStats,.masterActions{grid-template-columns:1fr 1fr}.masterActions{display:grid}.statusTabs{width:100%}.statusTabs button{flex:1 1}.stockPreview{gap:10px;justify-content:space-between}}.confirmDialog{width:min(520px,100%)}.confirmDialog .modalHead h2{margin:.2rem 0 0}.primary.dangerConfirm{background:#b42318;border-color:#b42318;color:#fff}.app .nav.active{background:#F7E9ED;color:#8B1534}.app .primary:not(.dangerConfirm),.app button.primary:not(.dangerConfirm){background:#8B1534;border-color:#8B1534;color:#fff}.app .primary:not(.dangerConfirm):hover{background:#70102A;border-color:#70102A}.app .bookIcon,.app .chip:not(.warning):not(.danger):not(.success),.app .clientIcon,.app .inventoryIcon{background:#F7E9ED;color:#8B1534}.app .titleRow h1,.app .v3title h1{color:#580D22}.app .poDetailToggle,.app .primary:not(.dangerConfirm):not(.success),.app button.poDetailToggle,.v3app .poDetailToggle{background:#8B1534!important;border-color:#8B1534!important;color:#fff!important}.app .poDetailToggle:hover,.app .primary:not(.dangerConfirm):not(.success):hover,.v3app .poDetailToggle:hover{background:#74112B!important;border-color:#74112B!important;color:#fff!important}.filters,.orderFilters{display:flex;gap:8px;align-items:center;overflow-x:auto;margin:0 0 16px;padding:2px 0 4px;scrollbar-width:none}.filters::-webkit-scrollbar,.orderFilters::-webkit-scrollbar{display:none}.filters button,.orderFilters button{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:1px solid #d6e1dd;background:#fff;color:#334d47;border-radius:999px;padding:8px 14px;font-weight:700;line-height:1;cursor:pointer;white-space:nowrap;transition:background .15s,border-color .15s,color .15s}.filters button:hover,.orderFilters button:hover{border-color:#9fb8b0;background:#f7faf9}.filters button.active,.orderFilters button.active{background:#0d6b56;border-color:#0d6b56;color:#fff}main:has(.clientCards){display:flex;flex-direction:column}main:has(.clientCards)>.titleRow{order:0}main:has(.clientCards)>.notice{order:1}main:has(.clientCards)>.filters{order:2}main:has(.clientCards)>.toolbar{order:3}main:has(.clientCards)>.clientCards{order:4}.statusFilter{border:1px solid #d6e1dd!important;background:#fff!important;color:#334d47!important;border-radius:999px!important;padding:8px 38px 8px 14px!important;font-weight:700!important;height:auto!important}.typeChoice{display:grid;grid-template-columns:1fr 1fr;grid-gap:14px;gap:14px}.typeChoiceCard{border:1px solid #d6e1dd;background:#fff;border-radius:16px;padding:22px;text-align:left;cursor:pointer;display:grid;grid-gap:8px;gap:8px;color:#334d47}.typeChoiceCard:hover{border-color:#9fb8b0;background:#f7faf9}.typeChoiceCard b{font-size:18px;color:#12392f}.typeChoiceCard span{font-size:14px;color:#62736f;line-height:1.4}@media(max-width:780px){.filters,.orderFilters{margin-top:-2px;margin-bottom:14px;gap:7px}.filters button,.orderFilters button{padding:8px 13px;font-size:14px}.statusFilter{font-size:14px!important}.typeChoice{grid-template-columns:1fr}}.authPage{min-height:100vh;display:grid;place-items:center;padding:24px;background:#f6f8f7}.authCard{width:min(420px,100%);background:#fff;border:1px solid #dde3df;border-radius:18px;padding:28px;box-shadow:0 18px 45px rgba(0,0,0,.08)}.authLogo{width:52px;height:52px;border-radius:14px;display:grid;place-items:center;background:#143f35;color:#fff;font-weight:800;margin-bottom:18px}.authCard h1{margin:0 0 8px}.authCard>p{margin:0 0 22px;color:#66736d}.authCard form{display:grid;grid-gap:16px;gap:16px}.authCard label{display:grid;grid-gap:7px;gap:7px;font-size:14px;font-weight:700}.authCard input{width:100%;padding:12px 13px;border:1px solid #cfd8d3;border-radius:10px;font:inherit}.authSubmit{width:100%;margin-top:4px}.authMode{width:100%;margin-top:14px;border:0;background:transparent;color:#255f52;text-decoration:underline;cursor:pointer}.authCard .notice{margin:0}.topRight{visibility:hidden}.authUserAvatar{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:#143f35;color:#fff;font-weight:800;font-size:14px;flex:0 0 auto}.authUserText{display:flex;flex-direction:column;line-height:1.12;text-align:left;min-width:180px}.authUserText b{font-size:19px;font-weight:800;letter-spacing:.1px}.authUserText small{font-size:14px;font-weight:700;margin-top:4px}.authLogout,.authUsersLink{border:1px solid #d5ddd8;background:#fff;border-radius:9px;padding:10px 13px;cursor:pointer;font:inherit;font-size:14px;font-weight:700;color:#143f35;text-decoration:none}.authLogout:hover,.authUsersLink:hover{background:#f4f7f5}.usersPage{min-height:100vh;background:#f6f8f7;padding:32px 28px 40px}.usersShell{max-width:1120px;margin:0 auto}.usersTop{display:flex;justify-content:space-between;gap:24px;align-items:flex-end;margin-bottom:24px}.usersTop h1{font-size:34px;margin:4px 0 6px}.usersTop p{margin:0;color:#66736d}.usersShell>a,.usersTop div>a,.usersTop>a{color:#255f52;text-decoration:none;font-weight:800}.usersTop div>a{display:inline-block;font-size:19px;line-height:1.25;padding:5px 0;margin-bottom:2px}.usersTop div>a:hover{text-decoration:underline}.usersList{display:grid;grid-gap:12px;gap:12px}.userRow{display:grid;grid-template-columns:minmax(300px,1fr) auto;grid-gap:28px;gap:28px;align-items:center;background:#fff;border:1px solid #dce4df;border-radius:16px;padding:18px 22px;min-height:108px}.userInactive{opacity:.65;background:#f2f4f3}.userMain{display:flex;align-items:center;gap:14px;min-width:0}.userCircle{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:#e8f2ee;color:#143f35;font-weight:800;flex:0 0 auto}.userMain h3,.userMain p{margin:0 0 4px}.userMain p{color:#4f5e57;overflow-wrap:anywhere}.userMain small{color:#77837d;overflow-wrap:anywhere}.userControls{display:grid;grid-template-columns:160px 84px 168px 120px;align-items:end;grid-gap:12px;gap:12px;min-width:568px}.userControls label{display:grid;grid-template-rows:16px 44px;grid-gap:5px;gap:5px;font-size:11px;color:#66736d}.userControls select{width:100%;height:44px;padding:8px 12px;border:1px solid #ccd6d0;border-radius:10px;background:#fff;font:inherit;font-size:13px}.userState{height:32px;align-self:end;margin-bottom:6px;display:inline-flex;align-items:center;justify-content:center;font-size:12px;font-weight:800;padding:0 12px;border-radius:999px;background:#ecefee;color:#66736d;white-space:nowrap}.userState.active{background:#e4f5ec;color:#087653}.userControls .secondary{height:44px;min-width:0;padding:0 14px;white-space:nowrap;display:inline-flex;align-items:center;justify-content:center;align-self:end}.userNewCard{background:#fff;border:1px solid #dce4df;border-radius:16px;padding:20px;margin-bottom:20px;display:grid;grid-gap:16px;gap:16px}.userNewCard h2{margin:0}.userFormGrid{display:grid;grid-template-columns:1fr 1fr;grid-gap:14px;gap:14px}.userFormGrid label{display:grid;grid-gap:6px;gap:6px;font-size:13px;font-weight:700}.userFormGrid input,.userFormGrid select{width:100%;padding:10px 11px;border:1px solid #ccd6d0;border-radius:9px;background:#fff;font:inherit}.usersPage .modal form{display:grid;grid-gap:16px;gap:16px}.usersPage .hint{margin-top:4px;color:#66736d}.usersPage .empty{background:#fff;border:1px solid #dce4df;border-radius:16px;padding:24px}.authUserBar+.usersPage{padding-top:32px}@media(max-width:1050px){.userRow{grid-template-columns:1fr}.userControls{min-width:0;width:100%;grid-template-columns:minmax(150px,1.25fr) 84px minmax(150px,1fr) 120px}}@media(max-width:800px){.usersTop{align-items:stretch;flex-direction:column}.usersTop .primary.big{width:100%}.userRow{grid-template-columns:1fr;align-items:flex-start}.userControls{min-width:0;width:100%;grid-template-columns:1fr 1fr}.userFormGrid{grid-template-columns:1fr}}@media(max-width:700px){.userControls{grid-template-columns:1fr}.userControls .secondary{width:100%}.usersPage{padding:24px 14px 28px}}body[data-role=Vendedora] .bookActions,body[data-role=Vendedora] .homeGrid>button:nth-child(2),body[data-role=Vendedora] .homeGrid>button:nth-child(3),body[data-role=Vendedora] .homeGrid>button:nth-child(4),body[data-role=Vendedora] .typeChoice .typeChoiceCard:nth-child(2),body[data-role=Vendedora] aside .nav:nth-child(3),body[data-role=Vendedora] aside .nav:nth-child(4),body[data-role=Vendedora] aside .nav:nth-child(5){display:none}.authUserBar,.authUserBarDark,.authUserBarLight{position:-webkit-sticky;position:sticky;top:0;left:0;right:0;z-index:1200;box-sizing:border-box;width:100%;height:96px;min-height:96px;padding:0 40px;display:flex;align-items:center;justify-content:space-between;gap:24px;background:#124c3f;border:0;border-bottom:1px solid #ffffff24;box-shadow:0 2px 8px rgba(10,38,31,.1)}.authBrand{display:flex;align-items:center;gap:14px;flex:0 0 auto;min-width:280px;text-decoration:none;color:#fff}.authBrandLogo{box-sizing:border-box;width:52px;height:52px;flex:0 0 52px;border-radius:13px;background:#e9b342;color:#103a31;display:grid;place-items:center;font-size:18px;font-weight:900;line-height:1}.authBrandText{display:flex;flex-direction:column;justify-content:center;line-height:1.15;white-space:nowrap}.authBrandText b{display:block;color:#fff;font-size:20px;font-weight:800}.authBrandText small{display:block;color:#d8eee7;font-size:13px;font-weight:500;margin-top:5px}.authUserActions{display:flex;align-items:center;justify-content:flex-end;gap:14px;min-width:0}.authUserBarDark .authUserText b,.authUserBarLight .authUserText b{color:#fff}.authUserBarDark .authUserText small,.authUserBarLight .authUserText small{color:#bfe3d7}.authUserBarDark .authUserAvatar,.authUserBarLight .authUserAvatar{background:#0d4035;border:1px solid #ffffff28}.app>.top{display:none!important}.layout{min-height:calc(100vh - 96px);align-items:start}.layout>aside{position:fixed!important;top:96px!important;left:0!important;bottom:0!important;width:304px!important;height:auto!important;margin:0!important;z-index:1000!important}.layout>main{grid-column:2!important}@media(max-width:900px){.authUserBar,.authUserBarDark,.authUserBarLight{padding:0 24px}.authBrand{min-width:auto}.authBrandText b{font-size:18px}.authBrandText small{font-size:12px}.authUserText{min-width:140px}.authUserActions{gap:9px}}@media(max-width:780px){.layout{display:block!important;min-height:0!important}.layout>aside{position:static!important;top:auto!important;left:auto!important;bottom:auto!important;width:100%!important;height:auto!important;margin:0!important;z-index:auto!important}.layout>main{grid-column:auto!important;padding-top:24px!important}}@media(max-width:700px){.authUserBar,.authUserBarDark,.authUserBarLight{height:auto!important;min-height:0!important;padding:12px 14px!important;display:grid!important;grid-template-columns:auto 44px minmax(0,1fr) auto!important;grid-template-areas:"brand avatar user logout" "links links links links"!important;align-items:center!important;grid-gap:10px 12px!important;gap:10px 12px!important}.authBrand{grid-area:brand!important;min-width:0!important}.authBrandLogo{width:52px!important;height:52px!important;flex-basis:52px!important;border-radius:13px!important}.authBrandText{display:none!important}.authUserActions{display:contents!important}.authUserAvatar{grid-area:avatar!important;width:44px!important;height:44px!important}.authUserText{grid-area:user!important;min-width:0!important;max-width:none!important}.authUserText b{font-size:16px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.authUserText small{font-size:12px!important}.authLogout{grid-area:logout!important;margin:0!important;white-space:nowrap}.authLogout,.authUsersLink{min-height:42px!important;padding:9px 12px!important}.authUsersLink{display:flex!important;align-items:center!important;justify-content:center!important}.authUsersLink:first-of-type{grid-column:1/3!important}.authUsersLink:nth-of-type(2){grid-column:3/5!important}.layout{min-height:0!important}.usersPage{padding-top:24px!important}}@media(max-width:430px){.authUserBar,.authUserBarDark,.authUserBarLight{grid-template-columns:52px 42px minmax(0,1fr)!important;grid-template-areas:"brand avatar user" "logout logout logout" "links links links"!important}.authLogout{width:100%!important}.authUsersLink:first-of-type,.authUsersLink:nth-of-type(2){grid-column:auto!important}.authUsersLink{width:100%!important}.authUserActions{display:contents!important}}.authLogo.authLogoImage{width:270px;height:270px;max-width:100%;border-radius:0;background:transparent;display:flex;align-items:center;justify-content:center;margin:0 auto 8px;overflow:hidden}.authLogoImage img{display:block;width:100%;height:100%;object-fit:contain}.authBrandLogo.authBrandLogoImage{background:transparent;overflow:visible;padding:0;display:flex;align-items:center;justify-content:center;border-radius:0}.authBrandLogoImage img{display:block;width:100%;height:100%;object-fit:contain}@media(max-width:640px){.authLogo.authLogoImage{width:230px;height:230px}}.authUserBar .authBrandLogo.authBrandLogoImage{background-color:transparent!important;border:0!important;padding:0!important;border-radius:0!important;overflow:visible!important}.authUserBar .authBrandLogoImage img{background:transparent!important;max-width:100%;max-height:100%}.authUserBar,.authUserBarDark,.authUserBarLight{background:#580D22}.authUserBar .authBrandLogo.authBrandLogoImage{background:transparent!important}.authUserBar .authBrandText small,.authUserBar .authUserText small{color:#F7E9ED}.authUserBar .authUserAvatar{background:#8B1534;border-color:#ffffff35;color:#fff}.authLogout,.authUsersLink{color:#580D22}.authLogo:not(.authLogoImage){background:#8B1534}.authCard h1,.usersTop h1{color:#580D22}.authCard .authSubmit{background:#8B1534;border-color:#8B1534;color:#fff}.authMode,.usersShell>a,.usersTop div>a,.usersTop>a{color:#8B1534}.authUserBar,.authUserBarDark,.authUserBarLight{background:#6B1930!important}.authUserBar .authBrandLogo.authBrandLogoImage{background:#F7E9ED!important;background-color:#F7E9ED!important;border:1px solid #eadde1!important;border-radius:14px!important;padding:5px!important;box-shadow:none!important;overflow:hidden!important}.authUserBar .authBrandLogoImage img{width:100%!important;height:100%!important;object-fit:contain!important}@media (min-width:801px){.usersPage .userControls{grid-template-rows:20px 44px;align-items:stretch;row-gap:0}.usersPage .userControls label{grid-row:1/span 2;grid-template-rows:20px 44px;gap:0;align-self:stretch}.usersPage .userControls select{height:44px!important;min-height:44px!important;box-sizing:border-box}.usersPage .userControls .userState{grid-row:2;align-self:stretch;height:44px;margin:0;box-sizing:border-box}.usersPage .userControls .secondary{grid-row:2;align-self:stretch;height:44px!important;min-height:44px!important;margin:0;box-sizing:border-box}}@media (min-width:641px){.authPage>.authCard{width:min(378px,100%);padding:25px;border-radius:16px}.authPage>.authCard .authLogo.authLogoImage{width:243px;height:243px;margin-bottom:7px}.authPage>.authCard form{gap:14px}.authPage>.authCard label{gap:6px;font-size:13px}.authPage>.authCard input{padding:11px 12px}.authPage>.authCard>p{margin-bottom:20px}.authPage>.authCard .authMode{margin-top:12px}}.authNav{display:flex;align-items:center;gap:20px}.authIdentity{display:flex;align-items:flex-start;gap:14px;min-width:0}.authUserAvatar{margin-top:0}@media (max-width:700px){.authUserBar,.authUserBarDark,.authUserBarLight{height:auto!important;min-height:0!important;padding:12px 14px!important;display:grid!important;grid-template-columns:auto minmax(0,1fr) auto!important;grid-template-areas:"brand identity logout" "nav nav nav"!important;align-items:center!important;grid-gap:10px 12px!important;gap:10px 12px!important}.authBrand{grid-area:brand!important;min-width:0!important;padding:0!important}.authBrandLogo{width:48px!important;height:48px!important;min-width:48px!important;flex:0 0 48px!important;border-radius:12px!important;font-size:17px!important}.authBrandText{display:none!important}.authUserActions{display:contents!important}.authIdentity{grid-area:identity!important;display:flex!important;align-items:center!important;gap:10px!important;min-width:0!important}.authUserAvatar{width:42px!important;height:42px!important;min-width:42px!important;flex:0 0 42px!important;font-size:13px!important;margin-top:0!important}.authUserText{min-width:0!important;max-width:none!important;flex:1 1 auto!important}.authUserText b{font-size:16px!important;line-height:1.1!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}.authUserText small{font-size:12px!important;margin-top:3px!important;white-space:nowrap!important}.authLogout{grid-area:logout!important;width:auto!important;min-height:42px!important;margin:0!important;padding:9px 12px!important;white-space:nowrap!important}.authNav{grid-area:nav!important;display:grid!important;grid-template-columns:repeat(auto-fit,minmax(110px,1fr))!important;grid-gap:8px!important;gap:8px!important;width:100%!important;min-width:0!important}.authNav:empty{display:none!important}.authNav .authUsersLink{width:100%!important;min-width:0!important;min-height:42px!important;padding:9px 10px!important;margin:0!important;font-size:13px!important;display:flex!important;align-items:center!important;justify-content:center!important;box-sizing:border-box!important}}@media (max-width:430px){.authUserBar,.authUserBarDark,.authUserBarLight{grid-template-columns:44px minmax(0,1fr) auto!important;padding:10px 12px!important;column-gap:9px!important}.authBrandLogo{width:44px!important;height:44px!important;min-width:44px!important;flex-basis:44px!important;font-size:16px!important}.authIdentity{gap:8px!important}.authUserAvatar{width:40px!important;height:40px!important;min-width:40px!important;flex-basis:40px!important}.authUserText b{font-size:15px!important}.authLogout{min-height:40px!important;padding:8px 10px!important;font-size:12px!important}.authNav{grid-template-columns:repeat(auto-fit,minmax(100px,1fr))!important}}@media (max-width:360px){.authUserBar,.authUserBarDark,.authUserBarLight{grid-template-columns:40px minmax(0,1fr)!important;grid-template-areas:"brand identity" "logout logout" "nav nav"!important;padding:9px!important;column-gap:7px!important}.authBrandLogo{width:40px!important;height:40px!important;min-width:40px!important;flex-basis:40px!important}.authUserAvatar{width:36px!important;height:36px!important;min-width:36px!important;flex-basis:36px!important}.authUserText b{font-size:14px!important}.authLogout{width:100%!important}.authNav{grid-template-columns:repeat(auto-fit,minmax(92px,1fr))!important}}body[data-role=Vendedora] .bookActions,body[data-role=Vendedora] .detailTotal+.actions>.primary,body[data-role=Vendedora] .homeGrid>button:nth-child(2),body[data-role=Vendedora] .homeGrid>button:nth-child(3),body[data-role=Vendedora] .homeGrid>button:nth-child(4),body[data-role=Vendedora] .typeChoice .typeChoiceCard:nth-child(2),body[data-role=Vendedora] aside .nav:nth-child(3),body[data-role=Vendedora] aside .nav:nth-child(4),body[data-role=Vendedora] aside .nav:nth-child(5){display:none!important}body[data-role=Vendedora] main:has(.bookRows) .titleRow .primary.big{display:none!important}body[data-role=Vendedora] main:has(.deliveryList) .primary,body[data-role=Vendedora] main:has(.purchaseSummary) .primary,body[data-role=Vendedora] main:has(.receiptList) .primary{display:none!important}body[data-role="Librería"] .authNav,body[data-role="Librería"] .homeGrid,body[data-role="Librería"] aside .nav:not(:nth-child(6)):not(:nth-child(7)){display:none!important}.authUserBar,.authUserBarDark,.authUserBarLight{padding-left:40px!important;padding-right:40px!important;min-height:104px!important}.authBrand{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:16px!important;min-width:270px;color:#fff!important;text-decoration:none!important}.authBrandLogo{width:60px!important;height:60px!important;border-radius:16px!important;background:#e9b342!important;color:#103a31!important;display:grid!important;place-items:center!important;font-size:20px!important;font-weight:900!important;flex:0 0 60px!important}.authBrandText{display:flex!important;flex-direction:column!important;line-height:1.12!important;text-align:left!important}.authBrandText b{font-size:24px!important;font-weight:800!important;color:#fff!important;white-space:nowrap!important}.authBrandText small{font-size:17px!important;color:#d6e8e2!important;margin-top:4px!important;white-space:nowrap!important}.authUserActions{margin-left:auto!important}.authUserBar+.app .layout{min-height:calc(100vh - 104px)!important}.authUserBar+.app aside{top:104px!important;height:calc(100vh - 104px)!important;padding-top:22px!important}@media(max-width:900px){.authUserBar,.authUserBarDark,.authUserBarLight{padding-left:18px!important;padding-right:18px!important}.authBrand{min-width:0!important;gap:10px!important}.authBrandLogo{width:50px!important;height:50px!important;flex-basis:50px!important;border-radius:13px!important}.authBrandText b{font-size:19px!important}.authBrandText small{font-size:13px!important}}@media(max-width:700px){.authUserBar,.authUserBarDark,.authUserBarLight{min-height:70px!important;padding:10px 12px!important}.authBrandLogo{width:44px!important;height:44px!important;flex-basis:44px!important;border-radius:11px!important;font-size:17px!important}.authBrandText{display:none!important}.authUserBar+.app .layout{min-height:calc(100vh - 70px)!important}.authUserBar+.app aside{top:70px!important;height:auto!important}}.reportsPage{min-height:100vh;background:#f5f7fb;padding:34px 24px 60px;color:#172033}.reportShell{max-width:1320px;margin:0 auto}.reportTop{display:flex;justify-content:space-between;gap:24px;align-items:flex-end;margin-bottom:24px}.reportTop h1{font-size:40px;line-height:1;margin:7px 0 8px}.reportTop p{margin:0;color:#667085}.reportEyebrow{font-weight:800;letter-spacing:.12em;font-size:12px;color:#3858a8!important}.reportBack{display:inline-block;margin-bottom:18px;text-decoration:none;color:#3858a8;font-weight:800;font-size:15px}.reportPresets button,.reportPrimary,.reportRefresh{border:0;border-radius:12px;font-weight:800;cursor:pointer}.reportPrimary{background:#243f88;color:white;padding:14px 20px;font-size:15px}.reportPrimary:disabled{opacity:.5;cursor:not-allowed}.reportFilters{background:white;border:1px solid #e4e8f0;border-radius:18px;padding:16px;display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap;margin-bottom:20px}.reportFilters label{display:flex;flex-direction:column;gap:6px;font-size:12px;font-weight:800;color:#667085}.reportFilters input{border:1px solid #d5dbe7;border-radius:10px;padding:10px 11px;font:inherit;color:#172033;background:white;max-width:100%}.reportPresets{display:flex;gap:8px;flex-wrap:wrap;margin-right:auto}.reportPresets button{padding:10px 12px;background:#eef2fb;color:#3858a8}.reportRefresh{width:42px;height:42px;background:#eef2fb;color:#3858a8;font-size:20px}.reportError{background:#fff1f0;border:1px solid #ffc9c5;color:#9f2c25;padding:13px 15px;border-radius:12px;margin-bottom:18px}.reportEmpty,.reportLoading{background:white;border:1px solid #e4e8f0;border-radius:18px;padding:36px;text-align:center;color:#667085}.reportKpis{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));grid-gap:14px;gap:14px;margin-bottom:20px}.reportKpis article{background:white;border:1px solid #e4e8f0;border-radius:18px;padding:18px;min-width:0}.reportKpis small{display:block;color:#667085;font-weight:800;margin-bottom:8px}.reportKpis strong{display:block;font-size:24px;line-height:1.15;color:#18213a;overflow-wrap:anywhere}.reportKpis span{display:block;color:#788397;font-size:12px;margin-top:7px}.reportGrid{display:grid;grid-template-columns:1fr 1fr;grid-gap:18px;gap:18px;margin-bottom:18px}.reportCard{background:white;border:1px solid #e4e8f0;border-radius:20px;padding:20px;min-width:0}.reportCardHead{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px}.reportCardHead small{font-size:11px;font-weight:900;letter-spacing:.1em;color:#6172a6}.reportCardHead h2{font-size:20px;margin:3px 0 0}.reportCardHead>span{font-size:24px;font-weight:900;color:#3858a8}.reportTable{width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.reportTR{display:grid;grid-template-columns:minmax(0,2fr) .8fr .8fr 1fr;grid-gap:12px;gap:12px;padding:12px 4px;border-top:1px solid #edf0f5;align-items:center;font-size:13px;min-width:0}.reportTR:first-child{border-top:0}.reportTR span{min-width:0}.reportTR span:not(:first-child){text-align:right}.reportTR b,.reportTR small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.reportTR small{color:#8791a4;margin-top:3px}.reportTH{color:#7d8798;font-size:11px;font-weight:900;text-transform:uppercase}.reportWarn{color:#b36b00;font-weight:900}.reportDanger{color:#b42318;font-weight:900}.reportNone{padding:20px 4px;color:#8791a4;margin:0}.reportEmpty h1{color:#172033;margin-top:0}@media(max-width:1100px){.reportKpis{grid-template-columns:repeat(3,1fr)}}@media(max-width:800px){.reportsPage{padding:24px 14px 50px}.reportTop{align-items:flex-start;flex-direction:column}.reportTop h1{font-size:34px}.reportPrimary{width:100%}.reportKpis{grid-template-columns:repeat(2,1fr)}.reportGrid{grid-template-columns:1fr}.reportFilters{align-items:stretch}.reportFilters label{flex:1 1;min-width:130px}.reportPresets{width:100%;margin-right:0;display:grid;grid-template-columns:repeat(2,1fr)}.reportPresets button{width:100%;min-height:44px}.reportRefresh{align-self:flex-end}.reportCard{overflow:hidden}}@media(max-width:520px){.reportsPage{padding:20px 10px 42px}.reportTop{gap:14px;margin-bottom:18px}.reportTop h1{font-size:30px}.reportTop p{font-size:14px;line-height:1.45}.reportBack{margin-bottom:13px}.reportFilters{padding:13px;gap:10px}.reportFilters label{min-width:100%;width:100%}.reportFilters input{box-sizing:border-box;width:100%;min-height:44px}.reportPresets{grid-template-columns:1fr 1fr;gap:7px}.reportRefresh{width:100%;height:44px}.reportKpis{grid-template-columns:1fr 1fr;gap:9px}.reportKpis article{padding:14px;border-radius:15px}.reportKpis strong{font-size:19px}.reportKpis small,.reportKpis span{font-size:11px}.reportCard{padding:14px;border-radius:16px}.reportCardHead{margin-bottom:10px}.reportCardHead h2{font-size:18px}.reportTR{min-width:520px;grid-template-columns:minmax(180px,2fr) 90px 90px 105px;gap:8px;font-size:12px}.reportTH{font-size:10px}.reportTable{padding-bottom:4px}}@media(max-width:380px){.reportKpis,.reportPresets{grid-template-columns:1fr}.reportTR{min-width:500px}}@media(max-width:520px){.reportTable{overflow:visible;padding-bottom:0}.reportTR{min-width:0!important;grid-template-columns:minmax(0,1fr) auto;gap:7px 12px;padding:12px 0;font-size:13px}.reportTR>span:first-child{grid-column:1/-1}.reportTR>span:not(:first-child){text-align:right;white-space:normal}.reportTH{display:none}}.reportDailySection{margin-bottom:24px}.reportDailyList{display:grid}.reportDailyRow{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;grid-column-gap:14px;column-gap:14px;grid-row-gap:6px;row-gap:6px;padding:13px 4px;border-top:1px solid #edf0f5}.reportDailyRow:first-child{border-top:0}.reportDailyMain{min-width:0}.reportDailyMain b{font-size:14px}.reportDailyMain b,.reportDailyMain small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.reportDailyMain small{color:#788397;margin-top:4px;font-size:12px}.reportDailyValue{padding:7px 10px;border-radius:999px;background:#edf5f2;color:#165d4c;font-size:12px;font-weight:800;white-space:nowrap}.reportDailyNotes{grid-column:1/-1;font-size:12px}.reportDailyNotes summary{display:inline-block;list-style:none;color:#3858a8;font-weight:800;cursor:pointer;padding:5px 0}.reportDailyNotes summary::-webkit-details-marker{display:none}.reportDailyNotes summary:before{content:"▸";display:inline-block;margin-right:6px}.reportDailyNotes[open] summary:before{transform:rotate(90deg)}.reportDailyNotes summary:focus-visible{outline:2px solid #3858a8;outline-offset:2px;border-radius:3px}.reportDailyNotes p{margin:5px 0 1px;padding:11px 13px;border-radius:10px;background:#f5f7fb;color:#344054;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere}.reportLeaderboard,.reportOrderList{display:grid}.reportLeaderRow{padding:12px 4px;border-top:1px solid #edf0f5;min-width:0}.reportLeaderRow:first-child,.reportOrderRow:first-child{border-top:0}.reportLeaderHeading{display:flex;align-items:center;gap:9px;min-width:0;font-size:13px}.reportLeaderRank{flex:none;display:grid;place-items:center;width:25px;height:25px;border-radius:8px;background:#eef2fb;color:#3858a8;font-weight:900}.reportLeaderHeading b{flex:1 1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.reportLeaderHeading strong{flex:none;font-size:13px;color:#18213a}.reportBarTrack{height:7px;margin:9px 0 6px 34px;background:#edf1f7;border-radius:999px;overflow:hidden}.reportBarTrack span{display:block;height:100%;border-radius:inherit;background:#3858a8}.reportBarBooks span{background:#18816d}.reportLeaderRow>small{display:block;margin-left:34px;color:#788397}.reportOrderRow{padding:13px 4px;border-top:1px solid #edf0f5}.reportOrderHead{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:14px}.reportOrderStatus{padding:5px 9px;border-radius:999px;background:#eef2fb;color:#3858a8;font-size:11px;font-weight:800;text-align:center}.reportOrderRow p{margin:4px 0 10px;color:#667085;font-size:12px}.reportOrderMeta{display:flex;flex-wrap:wrap;gap:8px}.reportOrderMeta span{padding:7px 9px;border-radius:9px;background:#f3f6fa;font-size:12px;color:#475467}.reportOrderMeta strong{font-size:14px;color:#172033}.reportOrderMeta .reportOrderSupply{background:#fff3e6;color:#9a5b00}.reportOrderMeta .reportOrderSupply strong{color:#9a5b00}@media(max-width:520px){.reportDailyRow{gap:7px}.reportDailyValue{font-size:11px}.reportLeaderHeading{flex-wrap:wrap}.reportLeaderHeading b{min-width:60%}.reportLeaderHeading strong{margin-left:34px}}.reportDailySection>.reportGrid{grid-template-columns:repeat(3,minmax(0,1fr))}@media(max-width:1050px){.reportDailySection>.reportGrid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:800px){.reportDailySection>.reportGrid{grid-template-columns:1fr}}.reportSampleItems{display:grid;grid-gap:6px;gap:6px;margin-top:6px}.reportDailyMain .reportSampleItems small{margin:0;white-space:normal;overflow:visible;overflow-wrap:anywhere}.reportSampleItems strong{color:#165d4c;font-weight:700;white-space:nowrap}@media (min-width:781px){.authUserBar,.authUserBarDark,.authUserBarLight{position:fixed!important;top:0!important;left:0!important;right:0!important;width:100%!important;z-index:1200!important}.authUserBar+.app,.authUserBar+.reportsPage,.authUserBar+.usersPage{margin-top:96px!important}.layout>aside{position:fixed!important;top:96px!important;left:0!important;bottom:0!important;width:304px!important;height:auto!important;overflow-y:auto!important;overscroll-behavior:contain;z-index:1000!important}.layout>main{grid-column:2!important}}.overlay{z-index:3000!important}.modal{position:relative;z-index:3001}.v3app .layout>aside .navIcon{font-size:0!important;width:28px!important;height:28px!important;display:inline-grid!important;place-items:center!important;border-radius:8px!important;background:#edf7f3!important;line-height:1!important;flex:0 0 28px!important}.v3app .layout>aside .navIcon:before{font-size:17px!important;line-height:1!important}.v3app .layout>aside .nav:first-child .navIcon:before{content:"🏠"}.v3app .layout>aside .nav:nth-child(2) .navIcon:before{content:"🎯"}.v3app .layout>aside .nav:nth-child(3) .navIcon:before{content:"📦"}.v3app .layout>aside .nav:nth-child(4) .navIcon:before{content:"📝"}.v3app .layout>aside .nav:nth-child(5) .navIcon:before{content:"🛒"}.v3app .layout>aside .nav:nth-child(6) .navIcon:before{content:"📥"}.v3app .layout>aside .nav:nth-child(7) .navIcon:before{content:"💰"}.v3app .layout>aside .nav:nth-child(8) .navIcon:before{content:"🏫"}.v3app .layout>aside .nav:nth-child(9) .navIcon:before{content:"📚"}.v3app .layout>aside .nav:nth-child(10) .navIcon:before{content:"🏬"}.v3app .layout>aside .nav.active .navIcon{background:#dcefe8!important}.v3app .layout>main:has(.v3home)>.kpis{display:none!important}.v3app .layout>main:has(.v3home){padding-top:26px!important}.v3app .layout>main:has(.v3home)>.v3title{display:block!important;margin:0 0 16px!important;width:100%!important;text-align:left!important}.v3app .layout>main:has(.v3home)>.v3title small{display:block!important;font-size:12px!important;font-weight:800!important;letter-spacing:1.5px!important;color:#64748b!important;margin-bottom:6px!important}.v3app .layout>main:has(.v3home)>.v3title h1{font-size:28px!important;line-height:1.1!important;margin:0 0 7px!important}.v3app .layout>main:has(.v3home)>.v3title p{font-size:15px!important;margin:0!important;color:#64748b!important}.v3app .layout>main:has(.v3home)>.v3title small{font-size:0!important}.v3app .layout>main:has(.v3home)>.v3title small:after{content:"DISTRIBUIDORA TACNA";font-size:12px!important}.v3app .layout>main:has(.v3home)>.v3title h1{font-size:0!important}.v3app .layout>main:has(.v3home)>.v3title h1:after{content:"Bienvenido";font-size:28px!important}.v3app .layout>main:has(.v3home)>.v3title p{font-size:0!important}.v3app .layout>main:has(.v3home)>.v3title p:after{content:"Selecciona un módulo para continuar.";font-size:15px!important}.v3home{gap:14px!important;align-items:stretch!important}.v3home>button{position:relative!important;overflow:hidden!important;width:100%!important;min-height:150px!important;aspect-ratio:auto!important;padding:82px 16px 15px!important;display:flex!important;flex-direction:column!important;justify-content:center!important;align-items:center!important;text-align:center!important}.v3home>button:before{position:absolute!important;top:13px!important;left:50%!important;transform:translateX(-50%)!important;width:64px!important;height:64px!important;display:grid!important;place-items:center!important;border-radius:15px!important;background:#edf7f3!important;font-size:35px!important;line-height:1!important}.v3home>button:after{display:none!important}.v3home>button:first-child:before{content:"🎯"}.v3home>button:nth-child(2):before{content:"📦"}.v3home>button:nth-child(3):before{content:"📝"}.v3home>button:nth-child(4):before{content:"🛒"}.v3home>button:nth-child(5):before{content:"📥"}.v3home>button:nth-child(6):before{content:"💰"}.v3home>button:nth-child(7):before{content:"🏫"}.v3home>button:nth-child(8):before{content:"📚"}.v3home>button:nth-child(9):before{content:"🏬"}.v3home>button b{font-size:17px!important;margin:2px 0 5px!important;line-height:1.15!important}.v3home>button span{font-size:12px!important;margin:0!important}.v3home>button:hover:before{transform:translateX(-50%) scale(1.06)!important}@media (min-width:781px) and (max-width:1150px){.v3home{grid-template-columns:repeat(2,minmax(200px,270px))!important}}@media (max-width:780px){.authUserBar,.authUserBarDark,.authUserBarLight{position:-webkit-sticky!important;position:sticky!important}.authUserBar+.app,.authUserBar+.reportsPage,.authUserBar+.usersPage{margin-top:0!important}.v3app .layout>aside .navIcon{width:25px!important;height:25px!important;flex-basis:25px!important}.v3app .layout>aside .navIcon:before{font-size:15px!important}.v3app .layout>main:has(.v3home){padding-top:18px!important}.v3app .layout>main:has(.v3home)>.v3title{width:100%!important;margin-bottom:14px!important}.v3app .layout>main:has(.v3home)>.v3title h1:after{font-size:24px!important}.v3app .layout>main:has(.v3home)>.v3title p:after{font-size:14px!important}.v3home{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}.v3home>button{min-height:132px!important;padding:70px 8px 12px!important}.v3home>button:before{top:11px!important;width:54px!important;height:54px!important;font-size:29px!important}.v3home>button b{font-size:15px!important}.v3home>button span{font-size:11px!important}}@media (max-width:430px){.v3home>button{min-height:124px!important;padding-top:65px!important}.v3home>button:before{width:49px!important;height:49px!important;font-size:26px!important}.v3app .layout>main:has(.v3home)>.v3title h1:after{font-size:22px!important}}.v3app main{padding:34px;max-width:1500px}.v3title{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:24px}.v3title small{font-weight:800;letter-spacing:.12em;color:#64748b}.v3title h1{margin:4px 0;font-size:30px}.v3title p{margin:0;color:#64748b}.v3notice{padding:12px 16px;border-radius:12px;background:#ecfdf5;border:1px solid #a7f3d0;margin:12px 0}.v3notice.bad{background:#fef2f2;border-color:#fecaca}.kpis{display:grid;grid-template-columns:repeat(4,1fr);grid-gap:14px;gap:14px;margin-bottom:22px}.kpis>div{background:#fff;border:1px solid #e2e8f0;border-radius:16px;padding:18px;display:flex;flex-direction:column}.kpis b{font-size:28px;margin:6px 0}.kpis small,.kpis span{color:#64748b}.v3home{grid-template-columns:repeat(3,minmax(190px,270px))!important;justify-content:center!important}.v3home button{display:flex;flex-direction:column;align-items:flex-start;gap:8px}.v3home span{font-size:12px;color:#64748b}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:14px;gap:14px}.cards article{background:#fff;border:1px solid #e2e8f0;border-radius:16px;padding:18px;min-width:0}.cards h3{margin:8px 0 5px}.cards p{margin:0 0 6px;color:#475569}.cards small{color:#64748b}.warncard{border-color:#f59e0b!important;background:#fffbeb!important}.tablewrap{overflow:auto;background:#fff;border:1px solid #e2e8f0;border-radius:16px}.tablewrap table{width:100%;border-collapse:collapse;min-width:700px}.tablewrap td,.tablewrap th{text-align:left;padding:13px 15px;border-bottom:1px solid #eef2f7}.tablewrap th{font-size:12px;text-transform:uppercase;color:#64748b;background:#f8fafc}.tablewrap td small{display:block;color:#64748b;margin-top:3px}.coverage{display:grid;grid-template-columns:repeat(3,1fr);grid-gap:10px;gap:10px;margin:16px 0 22px}.cov{padding:14px;border-radius:14px;border:1px solid #e2e8f0;background:#fff;display:grid;grid-template-columns:1fr auto;grid-gap:4px;gap:4px}.cov small{grid-column:1/-1;color:#64748b}.cov span{font-size:12px;font-weight:800}.cov.bajo{border-color:#fca5a5;background:#fef2f2}.cov.justo{border-color:#fcd34d;background:#fffbeb}.cov.cubierto{border-color:#86efac;background:#f0fdf4}.formgrid{display:grid;grid-template-columns:1fr 1fr;grid-gap:14px;gap:14px}.formgrid .actions,.formgrid .full{grid-column:1/-1}.modal label{display:flex;flex-direction:column;gap:6px;margin:10px 0;font-weight:650}.modal input,.modal select,.modal textarea{padding:11px;border:1px solid #cbd5e1;border-radius:9px;background:#fff}.modal textarea{min-height:80px}.lineeditor{display:flex;flex-direction:column;gap:8px;margin:14px 0}.lineeditor>div{display:grid;grid-template-columns:1fr 110px;grid-gap:8px;gap:8px}.twobtn{display:flex;gap:8px}.mini{margin-top:12px;padding:8px 11px!important}.v3app h2{margin:24px 0 12px}.modal:has(.school-search){width:min(1040px,calc(100vw - 40px));max-width:1040px;max-height:calc(100vh - 40px);overflow:auto}.campaign-select,.school-search{width:100%}.school-search input{width:100%;box-sizing:border-box}.campaign-native-input,.native-school-select{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important}.marketing-progress{margin:0 0 18px}.marketing-progress,.mk-visits-panel{background:#fff;border:1px solid #e2e8f0;border-radius:18px;padding:18px}.mk-visits-panel{margin:0}.mk-visits-panel .mk-head{margin-bottom:12px}.mk-visits-panel .mk-head h2{margin:3px 0 2px}.mk-visits-panel .mk-head p{margin:0;color:#64748b;font-size:13px}.mk-visits-panel .mk-filters{display:grid;grid-template-columns:minmax(220px,1.5fr) minmax(190px,1fr) minmax(150px,.75fr);grid-gap:12px;gap:12px}.mk-visits-panel+.tablewrap{margin-top:10px}.mk-school-search{position:relative}.mk-school-search input{width:100%;min-width:220px;padding:9px 11px;font:inherit}.mk-school-results,.mk-school-search input{border:1px solid #cbd5e1;border-radius:9px;background:#fff}.mk-school-results{position:absolute;z-index:1200;left:0;right:0;top:calc(100% + 4px);max-height:260px;overflow:auto;box-shadow:0 10px 24px #0002}.mk-school-results[hidden]{display:none}.mk-school-results button{display:block;width:100%;border:0;border-bottom:1px solid #eef2f7;background:#fff;padding:10px 12px;text-align:left;cursor:pointer}.mk-school-results button:hover{background:#F7E9ED}.mk-school-results button:last-child{border-bottom:0}.mk-district-panel{background:#fff;border:1px solid #e2e8f0;border-radius:18px;padding:18px;margin-top:18px}.mk-district-panel.mk-district{border-top:1px solid #e2e8f0;padding-top:18px}.mk-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:14px}.mk-head h2{margin:3px 0 0}.mk-head small{font-weight:800;letter-spacing:.1em;color:#64748b}.mk-filters{display:flex;gap:10px;flex-wrap:wrap}.mk-filters label{font-size:12px;font-weight:700;color:#475569;display:flex;flex-direction:column;gap:5px}.mk-filters select{min-width:170px;padding:9px 11px;border:1px solid #cbd5e1;border-radius:9px;background:#fff}.mk-kpis{display:grid;grid-template-columns:repeat(4,1fr);grid-gap:10px;gap:10px}.mk-kpis>div{border:1px solid #e2e8f0;border-radius:14px;padding:14px;display:flex;flex-direction:column}.mk-kpis b{font-size:25px;margin:4px 0}.mk-kpis small,.mk-kpis span{color:#64748b}.mk-kpis span{font-size:12px}.mk-notes-btn{border:1px solid #cbd5e1;background:#fff;color:#8B1534;border-radius:8px;padding:7px 11px;font-weight:700;cursor:pointer;white-space:nowrap}.mk-notes-btn:hover{background:#F7E9ED;border-color:#8B1534}.mk-interest{text-align:center!important}.mk-interest-btn{width:34px;height:34px;border-radius:50%;border:1px solid #cbd5e1;background:#fff;color:#94a3b8;font-size:20px;font-weight:800;display:inline-grid;place-items:center;cursor:pointer;line-height:1}.mk-interest-btn:hover{border-color:#8B1534;color:#8B1534;background:#F7E9ED}.mk-interest-btn.checked{border-color:#8B1534;background:#8B1534;color:#fff}.mk-interest-btn:disabled{opacity:.55;cursor:wait}.mk-notes-overlay{position:fixed;inset:0;z-index:5000;background:#0f172a66;display:grid;place-items:center;padding:20px}.mk-notes-modal{width:min(520px,calc(100vw - 32px));max-height:70vh;overflow:auto;background:#fff;border-radius:16px;box-shadow:0 20px 60px #0003;padding:20px}.mk-notes-head{display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid #e2e8f0;padding-bottom:12px}.mk-notes-head h3{margin:0;font-size:19px}.mk-notes-close{border:0;background:transparent;font-size:28px;line-height:1;cursor:pointer;color:#64748b}.mk-notes-body{padding-top:16px;white-space:pre-wrap;line-height:1.55;color:#334155}.mk-route-panel{margin-top:20px;background:#fff;border:1px solid #e2e8f0;border-radius:18px;padding:20px}.mk-route-title small{font-weight:800;letter-spacing:.1em;color:#64748b}.mk-route-title h2{margin:4px 0}.mk-route-title p{margin:0;color:#64748b}.mk-route-types{display:grid;grid-template-columns:1fr 1fr;grid-gap:12px;gap:12px;margin:18px 0}.mk-route-types button{display:flex;flex-direction:column;align-items:flex-start;gap:4px;padding:16px;border:1px solid #cbd5e1;border-radius:13px;background:#fff;cursor:pointer;text-align:left}.mk-route-types button span{font-size:12px;color:#64748b}.mk-route-types button.active{border-color:#8B1534;background:#F7E9ED;color:#8B1534}.mk-route-controls{display:grid;grid-template-columns:minmax(220px,1fr) 180px auto;grid-gap:12px;gap:12px;align-items:end;padding:14px;background:#f8fafc;border-radius:13px}.mk-route-controls label{display:flex;flex-direction:column;gap:5px;font-size:12px;font-weight:700;color:#475569}.mk-route-controls input,.mk-route-controls select{min-height:42px;border:1px solid #cbd5e1;border-radius:9px;padding:8px 10px;background:#fff}.mk-route-controls button{min-height:42px}.mk-route-summary{font-size:13px;color:#64748b;margin:12px 0}.mk-route-result{display:flex;flex-direction:column;gap:8px}.mk-route-note{padding:10px 12px;border-radius:10px;background:#fffbeb;border:1px solid #fde68a;color:#92400e;font-size:13px}.mk-route-stop{display:grid;grid-template-columns:34px 1fr;grid-gap:10px;gap:10px;align-items:start;border:1px solid #e2e8f0;border-radius:11px;padding:11px}.mk-route-stop>b{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:#8B1534;color:#fff}.mk-route-stop div{display:flex;flex-direction:column;gap:2px}.mk-route-stop small,.mk-route-stop span{color:#64748b;font-size:12px}.samples-modal{width:min(1040px,calc(100vw - 40px))!important;max-width:1040px!important;max-height:calc(100vh - 40px)!important;overflow:auto!important}.sample-location-hidden{display:none!important}.sample-native-select{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important}.sample-book-search,.sample-school-search{position:relative;width:100%}.sample-book-search>input,.sample-school-search>input{width:100%;box-sizing:border-box}.sample-search-results{position:absolute!important;left:0!important;right:0!important;top:calc(100% + 4px)!important;z-index:500!important;background:#fff!important;border:1px solid #cbd5e1!important;border-radius:10px!important;box-shadow:0 12px 28px #0002!important;max-height:260px!important;overflow:auto!important;padding:0!important}.sample-search-results[hidden]{display:none!important}.sample-search-results button{display:block!important;width:100%!important;margin:0!important;border:0!important;border-bottom:1px solid #eef2f7!important;border-radius:0!important;background:#fff!important;padding:11px 12px!important;text-align:left!important;color:#12392f!important;cursor:pointer!important;font:inherit!important;font-weight:600!important;white-space:normal!important;height:auto!important;min-height:42px!important}.sample-search-results button:hover{background:#f1f8f5!important}.sample-search-results button:first-child{border-radius:9px 9px 0 0!important}.sample-search-results button:last-child{border-radius:0 0 9px 9px!important;border-bottom:0!important}.sample-notes{grid-column:1/-1!important}.multi-sample-modal{width:min(1040px,calc(100vw - 40px))!important;max-width:1040px!important;max-height:calc(100vh - 40px)!important;overflow:auto!important;padding:26px!important;box-sizing:border-box!important}.multi-sample-modal .modalHead{margin-bottom:12px!important}.multi-sample-modal .modalHead h2{margin:0 0 5px!important}.multi-sample-modal .modalHead small{color:#64748b}.multi-sample-modal .sample-lines{display:flex!important;flex-direction:column!important;gap:10px!important;margin-top:4px!important}.multi-sample-modal .multi-sample-line{display:grid!important;grid-template-columns:minmax(0,1fr) 110px 44px!important;grid-gap:10px!important;gap:10px!important;align-items:start!important;width:100%!important}.multi-sample-modal .multi-book-search{position:relative!important;min-width:0!important;width:100%!important}.multi-sample-modal .multi-book-search>input{width:100%!important;box-sizing:border-box!important}.multi-sample-modal .multi-sample-line .qty{width:110px!important;box-sizing:border-box!important}.multi-sample-modal .multi-sample-line .remove-line{width:44px!important;height:44px!important;min-width:44px!important;padding:0!important;display:grid!important;place-items:center!important}.multi-sample-modal .add-line{margin-top:10px!important;width:auto!important;align-self:flex-start!important;padding:10px 16px!important}.multi-sample-modal .actions{display:flex!important;justify-content:flex-end!important;gap:10px!important;margin-top:4px!important}.multi-sample-modal .school-field{position:relative!important}.sample-movement-modal{width:min(1040px,calc(100vw - 40px))!important;max-width:1040px!important;max-height:calc(100vh - 40px)!important;overflow:visible!important}.sample-movement-modal .schoolSlot,.sample-movement-school,.sample-picker-wrap{position:relative!important;min-width:0!important}.sample-movement-modal .sample-picker-wrap>input{width:100%!important;box-sizing:border-box!important}.sample-movement-modal .movement-school-results{top:calc(100% + 4px)!important}@media(max-width:1100px){.cards,.coverage,.kpis{grid-template-columns:repeat(2,1fr)}.v3home{grid-template-columns:repeat(2,minmax(200px,270px))!important;justify-content:center!important}.mk-kpis{grid-template-columns:repeat(2,1fr)}}@media(max-width:780px){.v3app main{padding:20px 16px}.v3title{flex-direction:column;gap:16px}.v3title .primary,.v3title>.twobtn{width:100%;min-height:48px}.twobtn{flex-direction:column}.cards,.coverage,.kpis{grid-template-columns:1fr!important}.formgrid{grid-template-columns:1fr}.formgrid .actions,.formgrid .full{grid-column:1}.lineeditor>div{grid-template-columns:1fr 80px}.v3title h1{font-size:30px;line-height:1.08}.v3title p{font-size:16px;line-height:1.45}.v3app aside{gap:6px;padding:8px 10px}.v3app .nav{font-size:0!important;min-width:48px!important;width:48px!important;height:48px!important;padding:8px!important;margin:0!important;flex:0 0 48px!important;border-radius:12px!important}.v3app .navIcon{font-size:20px!important;width:auto!important}.overlay{padding:10px!important;place-items:center!important}.modal:has(.school-search),.multi-sample-modal,.sample-movement-modal,.samples-modal{width:100%!important;max-width:560px!important;max-height:calc(100dvh - 20px)!important;margin:0 auto!important;padding:18px!important;box-sizing:border-box!important;border-radius:16px!important;overflow:auto!important}.modal:has(.school-search) .formgrid,.multi-sample-modal .formgrid,.sample-movement-modal .formgrid,.samples-modal .formgrid{display:block!important}.modal:has(.school-search) label,.multi-sample-modal label,.sample-movement-modal label,.samples-modal label{margin:12px 0!important}.modal:has(.school-search) input,.modal:has(.school-search) select,.modal:has(.school-search) textarea,.multi-sample-modal input,.multi-sample-modal select,.multi-sample-modal textarea,.sample-movement-modal input,.sample-movement-modal select,.sample-movement-modal textarea,.samples-modal input,.samples-modal select,.samples-modal textarea{width:100%!important;min-height:46px!important;box-sizing:border-box!important}.multi-sample-modal .multi-sample-line{grid-template-columns:minmax(0,1fr) 78px 46px!important;gap:8px!important}.multi-sample-modal .multi-sample-line .qty{width:78px!important}.multi-sample-modal .multi-sample-line .remove-line{width:46px!important;min-height:46px!important}.multi-sample-modal .add-line{width:100%!important}.modal:has(.school-search) .actions,.multi-sample-modal .actions,.sample-movement-modal .actions,.samples-modal .actions{display:flex!important;position:-webkit-sticky!important;position:sticky!important;bottom:-18px!important;background:#fff!important;padding:12px 0 18px!important;gap:8px!important;z-index:20!important}.modal:has(.school-search) .actions button,.multi-sample-modal .actions button,.sample-movement-modal .actions button,.samples-modal .actions button{flex:1 1!important;min-height:46px!important}.mk-head{align-items:stretch;flex-direction:column}.mk-filters{display:grid;grid-template-columns:1fr}.mk-filters select{width:100%;min-width:0;min-height:46px}.mk-kpis{grid-template-columns:1fr 1fr}.marketing-progress{padding:16px}.tablewrap{max-width:100%}.mk-route-controls,.mk-route-types{grid-template-columns:1fr}.mk-route-panel{padding:16px}}@media(max-width:430px){.mk-kpis{grid-template-columns:1fr 1fr}.mk-kpis>div{padding:12px}.mk-kpis b{font-size:22px}.multi-sample-modal .multi-sample-line{grid-template-columns:minmax(0,1fr) 70px 44px!important}.multi-sample-modal .multi-sample-line .qty{width:70px!important}}.mk-route-origin{display:grid;grid-template-columns:34px 1fr;grid-gap:10px;gap:10px;align-items:center;padding:12px;border:1px solid #86efac;background:#f0fdf4;border-radius:12px;margin:10px 0}.mk-route-origin>b{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:#8B1534;color:#fff}.mk-route-origin span{display:block;color:#64748b;font-size:12px}.mk-route-stop{grid-template-columns:34px 36px 1fr!important;align-items:center!important}.mk-priority{border:1px solid #cbd5e1;background:#fff;color:#cbd5e1;width:32px;height:32px;border-radius:9px;cursor:pointer;font-size:18px}.mk-priority.active{background:#fef3c7;border-color:#f59e0b;color:#d97706}.mk-route-save{display:flex;justify-content:flex-end;align-items:end;gap:10px;margin-top:14px;padding-top:14px;border-top:1px solid #e2e8f0}.mk-route-save label{display:flex;flex-direction:column;gap:5px;font-size:12px;font-weight:700;color:#475569}.mk-route-save input{padding:9px 10px;border:1px solid #cbd5e1;border-radius:9px}@media(max-width:780px){.mk-route-save{align-items:stretch;flex-direction:column}.mk-route-save button,.mk-route-save input{min-height:46px}}.mk-view-routes{border:1px solid #cbd5e1;background:#fff;border-radius:10px;padding:9px 13px;font-weight:700;cursor:pointer;color:#580D22}.mk-routes-modal{width:min(720px,calc(100vw - 28px));max-width:720px}.mk-routes-modal .mk-notes-body{max-height:70vh;overflow:auto}.mk-saved-route{border:1px solid #e2e8f0;border-radius:12px;padding:12px;margin-bottom:12px;background:#fff}.mk-saved-head{display:flex;justify-content:space-between;gap:12px;padding-bottom:9px;border-bottom:1px solid #e2e8f0}.mk-saved-head span{display:block;font-size:12px;color:#64748b;margin-top:2px}.mk-saved-head>b{font-size:12px;color:#475569;white-space:nowrap}.mk-saved-stop{display:grid;grid-template-columns:30px 1fr;grid-gap:8px;gap:8px;padding:7px 0;border-bottom:1px dashed #edf2f7}.mk-saved-stop:last-child{border-bottom:0}.mk-saved-stop>b{width:26px;height:26px;border-radius:50%;display:grid;place-items:center;background:#ecfdf5;color:#047857}.mk-saved-stop span{font-weight:600}.mk-saved-stop small{display:block;font-weight:400;color:#64748b;margin-top:2px}@media(max-width:780px){.mk-route-title{gap:10px;align-items:flex-start}.mk-view-routes{white-space:nowrap}}.mk-route-picker{max-height:430px;overflow:auto;border:1px solid #e2e8f0;border-radius:12px;margin-top:10px}.mk-route-stop.candidate{grid-template-columns:40px 1fr!important;margin:0!important;border:0!important;border-bottom:1px solid #eef2f7!important;border-radius:0!important}.mk-route-stop.candidate:last-child{border-bottom:0!important}.mk-route-selected{display:flex;justify-content:flex-end;padding:10px 2px 0;color:#580D22;font-size:13px}.mk-route-metrics{display:flex;gap:14px;align-items:baseline;padding:10px 12px;margin:10px 0;background:#ecfdf5;border:1px solid #a7f3d0;border-radius:10px;color:#065f46}.mk-route-metrics b{font-size:18px}.mk-route-metrics span{font-size:13px}.mk-route-stop.optimized{grid-template-columns:34px 1fr!important}.mk-progress{margin-top:14px;padding:14px 16px;border:1px solid #dbe7e3;border-radius:14px;background:#f8fcfa}.mk-progress-head{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:9px;color:#164e3f}.mk-progress-head span{font-size:12px;color:#64748b}.mk-progress-track{height:12px;background:#e2e8f0;border-radius:999px;overflow:hidden}.mk-progress-fill{display:block;height:100%;width:0;background:linear-gradient(90deg,#8B1534,#10b981);border-radius:999px;transition:width .35s ease}.mk-district{margin-top:14px;border-top:1px solid #e2e8f0;padding-top:16px}.mk-district-head{display:flex;justify-content:space-between;align-items:end;gap:12px;margin-bottom:12px}.mk-district-head small{font-weight:800;letter-spacing:.1em;color:#64748b}.mk-district-head h3{margin:3px 0 0;font-size:18px}.mk-district-head>span{font-size:12px;color:#64748b}.mk-district-chart{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:10px 18px;gap:10px 18px;max-height:280px;overflow:auto;padding-right:4px}.mk-district-row{min-width:0}.mk-district-label{display:flex;justify-content:space-between;gap:8px;align-items:center;font-size:12px;margin-bottom:5px}.mk-district-label b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#334155}.mk-district-label span{white-space:nowrap;color:#64748b}.mk-district-track{height:8px;background:#e9eef2;border-radius:999px;overflow:hidden}.mk-district-track i{display:block;height:100%;background:#8B1534;border-radius:999px;min-width:0;transition:width .35s ease}.mk-route-bulk{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.mk-route-bulk button{padding:8px 11px;border:1px solid #cbd5e1;border-radius:9px;background:#fff;color:#580D22;font-weight:700;cursor:pointer}@media(max-width:780px){.mk-visits-panel .mk-filters{grid-template-columns:1fr}.mk-visits-panel .mk-filters select{width:100%;min-width:0}.mk-district-chart{grid-template-columns:1fr;max-height:320px}.mk-district-head,.mk-progress-head{align-items:flex-start;flex-direction:column}.mk-route-bulk button{flex:1 1;min-height:44px}}.v3app .mk-route-bulk button{color:#8B1534}.v3app .mk-district-track i{background:#8B1534}.v3app .mk-progress-fill{background:linear-gradient(90deg,#580D22,#8B1534)}.samplesUnified{display:block!important;width:100%;min-height:100%;position:relative}.samplesUnified .v3title{margin-top:0!important}.samplesUnified .btnIcon,.samplesUnified .cardIcon,.samplesUnified .itemIcon,.samplesUnified .titleIcon{display:inline-grid;place-items:center;vertical-align:middle}.samplesUnified .titleIcon{width:34px;height:34px;margin-right:9px;border-radius:10px;background:#eaf4f0;color:#0d6b56;font-size:19px}.samplesUnified .cardIcon{width:30px;height:30px;margin-right:8px;border-radius:9px;background:#eaf4f0;font-size:16px}.samplesUnified .btnIcon{margin-right:5px;font-size:17px}.samplesUnified .itemIcon{margin-right:6px;color:#0d6b56}.sampleViewTabs{display:flex;gap:8px;margin:4px 0 20px}.sampleViewTabs button{border:1px solid #d9e3df;background:#fff;color:#48645d;border-radius:10px;padding:10px 15px;font-weight:700;cursor:pointer}.sampleViewTabs button.active{background:#eaf4f0;border-color:#9fcbbb;color:#0d6b56}.sampleSummary{border:1px solid #e2e8f0;border-radius:14px;background:#fff;overflow:hidden}.sampleSummaryHead,.sampleSummaryRow{display:grid;grid-template-columns:minmax(280px,2fr) repeat(4,minmax(100px,.7fr));grid-gap:10px;gap:10px;align-items:center;padding:13px 16px}.sampleSummaryHead{background:#f3f7f5;color:#64748b;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.03em}.sampleSummaryRow{border-top:1px solid #edf1ef}.sampleSummaryRow>strong{color:#183f35}.sampleSummaryRow>span{display:flex;flex-direction:column;text-align:center}.sampleSummaryRow b{font-size:20px;color:#12392f}.sampleSummaryRow small{font-size:11px;color:#718078}.sampleSummaryRow span:nth-child(4) b{color:#9a5d13}.summaryNote{margin:0;padding:12px 16px;background:#fbfcfc;border-top:1px solid #edf1ef;color:#64748b;font-size:12px}.samplesUnifiedModal{width:min(980px,calc(100vw - 40px))!important;max-width:980px!important;max-height:calc(100vh - 40px);overflow:auto;padding:26px!important}.samplesUnifiedModal .modalHead h2{margin:0;display:flex;align-items:center}.samplesUnifiedModal .modalHead small{color:#64748b}.sampleTopGrid{display:grid;grid-template-columns:minmax(0,1fr) 230px;grid-gap:14px;gap:14px}.sampleItemsBox{margin:18px 0;padding:16px;border:1px solid #e2e8f0;border-radius:14px;background:#f8fafc}.sampleItemRow,.sampleItemsHead{display:grid;grid-template-columns:minmax(0,1fr) 100px 44px;grid-gap:10px;gap:10px;align-items:center}.sampleItemsHead{padding:0 0 8px}.sampleItemsHead span{font-size:12px;font-weight:700;color:#64748b}.sampleItemRow{margin:8px 0 2px}.sampleItemRow>input{width:100%;box-sizing:border-box}.sampleItemRow .remove{width:44px;height:44px;padding:0}.sampleStockHint{display:block;margin:0 0 8px;padding-left:2px;color:#55736b;font-size:12px}.sampleStockHint b{color:#0d6b56}.addBook{margin-top:8px}.ss{position:relative;width:100%}.ss>input{width:100%;box-sizing:border-box}.ssList{position:absolute;left:0;right:0;top:calc(100% + 4px);z-index:1000;background:#fff;border:1px solid #cbd5e1;border-radius:10px;box-shadow:0 12px 30px #0002;max-height:250px;overflow:auto}.ssList button{display:block!important;width:100%!important;margin:0!important;padding:11px 12px!important;border:0!important;border-bottom:1px solid #eef2f7!important;border-radius:0!important;background:#fff!important;color:#12392f!important;text-align:left!important;height:auto!important;min-height:42px!important;font:inherit!important}.ssList button:hover{background:#f1f8f5!important}.sampleItemList{display:flex;flex-direction:column;gap:7px;margin:12px 0}.sampleItemList>div{display:flex;justify-content:space-between;gap:12px;padding:8px 10px;background:#f8fafc;border-radius:8px}.sampleItemList span{white-space:nowrap;color:#64748b}.sampleCardActions{display:flex;gap:8px;margin-top:14px;flex-wrap:wrap}.sampleCardActions button{flex:1 1;display:flex;align-items:center;justify-content:center}.samplesUnifiedModal .actions{display:flex;justify-content:flex-end;gap:10px;margin-top:16px}.moveSelection{display:flex;flex-direction:column;gap:8px;margin:16px 0}.moveSelection label{display:grid!important;grid-template-columns:minmax(0,1fr) 130px!important;align-items:center!important;grid-gap:16px!important;gap:16px!important;margin:0!important;padding:12px 14px;border:1px solid #e2e8f0;border-radius:10px;background:#f8fafc}.moveSelection span{display:flex;flex-direction:column;gap:2px;min-width:0}.moveSelection small{color:#64748b}.moveSelection .moveQtyInput{display:block!important;position:static!important;opacity:1!important;visibility:visible!important;-moz-appearance:auto!important;appearance:auto!important;-webkit-appearance:auto!important;width:130px!important;max-width:130px!important;height:44px!important;min-height:44px!important;margin:0!important;padding:8px 12px!important;border:1px solid #cbd5e1!important;border-radius:9px!important;background:#fff!important;color:#12392f!important;text-align:center!important;font-size:16px!important;font-weight:700!important;line-height:1!important;box-sizing:border-box!important}.historyList{gap:10px}.historyList,.historyList>div{display:flex;flex-direction:column}.historyList>div{gap:4px;padding:13px 14px;border:1px solid #e2e8f0;border-radius:10px}.historyList span{color:#334155}.historyList small{color:#64748b}.historyRoute{font-size:13px;color:#0d6b56;font-weight:700}.historyRoute:before{content:"↳ ";color:#64748b}@media(max-width:780px){.samplesUnifiedModal{width:calc(100vw - 20px)!important;max-height:calc(100dvh - 20px);padding:18px!important}.sampleViewTabs{display:grid;grid-template-columns:1fr 1fr}.sampleViewTabs button{padding:10px 7px;font-size:12px}.sampleSummary{border:0;background:transparent;overflow:visible}.sampleSummaryHead{display:none}.sampleSummaryRow{display:grid;grid-template-columns:repeat(2,1fr);grid-gap:10px;gap:10px;margin-bottom:10px;padding:14px;border:1px solid #e2e8f0;border-radius:12px;background:#fff}.sampleSummaryRow>strong{grid-column:1/-1;padding-bottom:8px;border-bottom:1px solid #edf1ef}.sampleSummaryRow>span{padding:7px;background:#f8fafc;border-radius:8px}.summaryNote{border:1px solid #e2e8f0;border-radius:10px}.sampleTopGrid{grid-template-columns:1fr}.sampleItemsHead{display:none}.sampleItemRow{grid-template-columns:minmax(0,1fr) 72px 44px;gap:7px}.sampleItemRow .remove{width:44px}.sampleStockHint{padding-left:0}.addBook{width:100%}.samplesUnifiedModal .actions{position:-webkit-sticky;position:sticky;bottom:-18px;background:#fff;padding:12px 0 18px}.samplesUnifiedModal .actions button{flex:1 1;min-height:46px}.sampleCardActions,.sampleItemList>div{flex-direction:column}.sampleItemList>div{align-items:flex-start}.sampleItemList span{white-space:normal}.samplesUnified .titleIcon{width:30px;height:30px;font-size:17px}.moveSelection label{grid-template-columns:minmax(0,1fr) 82px!important;gap:10px!important}.moveSelection .moveQtyInput{width:82px!important;max-width:82px!important}}.sampleSummaryToolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:0 0 14px}.sampleSummaryToolbar>input{flex:1 1 340px;min-width:0;box-sizing:border-box;min-height:44px;padding:10px 14px;border:1px solid #d9e3df;border-radius:10px;background:#fff;color:#183f35;font:inherit}.sampleSummaryFilters{display:flex;gap:7px;flex-wrap:wrap}.sampleSummaryFilters button{min-height:44px;padding:9px 12px;border:1px solid #d9e3df;border-radius:10px;background:#fff;color:#48645d;font-weight:700;cursor:pointer}.sampleSummaryFilters button.active{background:#0d6b56;border-color:#0d6b56;color:#fff}.sampleSummaryRow>strong small{display:block;margin:4px 0 0 20px;font-size:11px;font-weight:500;color:#718078}.sampleSummaryEmpty{padding:28px 16px;text-align:center;color:#64748b}.sampleSummaryPager{justify-content:space-between;gap:12px;padding:14px 16px;border-top:1px solid #edf1ef;font-size:13px}.sampleSummaryPager,.sampleSummaryPager>div{display:flex;align-items:center;flex-wrap:wrap}.sampleSummaryPager>div{gap:10px}.sampleSummaryPager label{display:flex;align-items:center;gap:6px}.sampleSummaryPager select{min-height:40px;padding:7px 10px;border:1px solid #d9e3df;border-radius:8px;background:#fff;color:#183f35;font:inherit}.sampleSummaryPager button{min-height:40px}@media(max-width:780px){.sampleSummaryToolbar>input{flex-basis:100%}.sampleSummaryFilters{width:100%}.sampleSummaryFilters button{flex:1 1 auto}.sampleSummaryPager{padding:14px 2px}.sampleSummaryPager>div{width:100%;justify-content:space-between}}.sampleLocationToolbar{margin:0 0 14px}.sampleLocationToolbar input{width:100%;min-height:44px;box-sizing:border-box;padding:10px 14px;border:1px solid #d9e3df;border-radius:10px;background:#fff;color:#183f35;font:inherit}.samplesUnified .sampleLocationCards{display:grid;grid-template-columns:minmax(0,1fr);grid-gap:12px;gap:12px}.samplesUnified .sampleLocationCards article{display:grid;grid-template-columns:minmax(190px,.9fr) minmax(280px,1.8fr) auto;align-items:center;grid-gap:18px;gap:18px;min-width:0;padding:18px 20px}.sampleLocationIdentity{min-width:0}.sampleLocationIdentity h3{margin:8px 0;overflow-wrap:anywhere}.sampleLocationIdentity small{display:block;color:#64748b}.sampleLocationIdentity p{margin:7px 0 0;overflow-wrap:anywhere}.sampleLocationMeta{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.sampleLocationMeta button{border:1px solid #d9e3df;border-radius:8px;background:#fff;color:#183f35;padding:4px 9px;font:inherit;font-size:12px;font-weight:700;cursor:pointer;white-space:nowrap}.sampleLocationMeta button:hover{background:#f1f8f5}.sampleLocationCards .sampleItemList{min-width:0;margin:0;max-height:260px;overflow:auto}.sampleLocationCards .sampleItemList>div{align-items:center}.sampleLocationCards .sampleItemList b{min-width:0;overflow-wrap:anywhere}.sampleLocationCards .sampleCardActions{display:flex;flex-direction:column;margin:0;min-width:130px;width:130px}.sampleLocationCards .sampleCardActions button{flex:none;white-space:nowrap}.sampleLocationPager{margin-top:14px;border:1px solid #e2e8f0;border-radius:12px;background:#fff}@media(max-width:1050px){.samplesUnified .sampleLocationCards article{grid-template-columns:minmax(0,1fr) minmax(0,1.5fr)}.sampleLocationCards .sampleCardActions{grid-column:1/-1;flex-direction:row;width:100%}.sampleLocationCards .sampleCardActions button{flex:1 1}}@media(max-width:680px){.samplesUnified .sampleLocationCards article{grid-template-columns:minmax(0,1fr);gap:14px}.sampleLocationCards .sampleCardActions{grid-column:auto;flex-direction:column}.sampleLocationCards .sampleItemList{max-height:none}.sampleLocationPager{padding:14px}}.sampleHistoryItems{display:grid;grid-gap:6px;gap:6px;margin:4px 0}.sampleHistoryItems span{display:block;overflow-wrap:anywhere}.ordersUnified{display:block!important;width:100%;min-height:100%;position:relative}.orderCards{display:flex;flex-direction:column;gap:14px}.orderCards article{background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:18px}.orderCardHead{display:flex;justify-content:space-between;gap:20px;align-items:flex-start}.orderCardHead h3{margin:9px 0 4px;color:#173f35}.orderCardHead>div>small{color:#64748b}.orderDocActions{margin-top:10px;display:flex;gap:8px;flex-wrap:wrap}.orderDocActions button{padding:7px 10px!important;font-size:12px!important}.orderTotals{display:flex;gap:8px}.orderTotals span{min-width:80px;padding:9px 12px;background:#f3f7f5;border-radius:10px;text-align:center;display:flex;flex-direction:column}.orderTotals b{font-size:20px;color:#12392f}.orderTotals small{font-size:11px;color:#718078}.orderItems{margin-top:14px;border-top:1px solid #edf1ef}.orderItems>div{display:grid;grid-template-columns:minmax(240px,1fr) repeat(3,110px);grid-gap:10px;gap:10px;align-items:center;padding:11px 4px;border-bottom:1px solid #edf1ef}.orderItems>div>span:first-child{display:flex;flex-direction:column}.orderItems small{color:#64748b}.ordersModal{width:min(900px,calc(100vw - 40px))!important;max-width:900px!important;max-height:calc(100dvh - 40px);overflow:auto;padding:26px!important}.ordersModal .modalHead small{color:#64748b}.orderSS{position:relative;width:100%}.orderSS>input{width:100%;box-sizing:border-box}.orderSSList{position:absolute;z-index:1000;left:0;right:0;top:calc(100% + 4px);max-height:250px;overflow:auto;background:#fff;border:1px solid #cbd5e1;border-radius:10px;box-shadow:0 12px 30px #0002}.orderSSList button{display:block!important;width:100%!important;margin:0!important;padding:11px 12px!important;border:0!important;border-bottom:1px solid #eef2f7!important;border-radius:0!important;background:#fff!important;color:#12392f!important;text-align:left!important;height:auto!important;min-height:42px!important;font:inherit!important}.orderSSList button:hover{background:#f1f8f5!important}.orderLineBox{margin:18px 0;padding:16px;border:1px solid #e2e8f0;border-radius:14px;background:#f8fafc}.orderLine,.orderLineHead{display:grid;grid-template-columns:minmax(0,1fr) 110px 44px;grid-gap:10px;gap:10px;align-items:center}.orderLineHead{padding-bottom:8px;color:#64748b;font-size:12px}.orderLine{margin:8px 0 14px}.orderLine>input{width:100%;box-sizing:border-box}.removeLine{width:44px;height:44px;padding:0}.orderPrice{grid-column:1/-1;color:#64748b;margin-top:-5px}.addLine{margin-top:2px}.orderPreview{display:grid;grid-template-columns:repeat(3,1fr);grid-gap:10px;gap:10px;margin:16px 0}.orderPreview span{padding:12px;background:#f3f7f5;border-radius:10px;display:flex;flex-direction:column}.orderPreview small{color:#64748b}.orderPreview b{font-size:19px;color:#12392f}.ordersModal .actions{display:flex;justify-content:flex-end;gap:10px;margin-top:16px}@media(max-width:780px){.orderCardHead{flex-direction:column}.orderTotals{width:100%}.orderTotals span{flex:1 1;min-width:0}.orderItems>div{grid-template-columns:1fr 1fr;gap:7px;padding:12px 2px}.orderItems>div>span:first-child{grid-column:1/-1}.orderDocActions button{width:100%}.ordersModal{width:calc(100vw - 20px)!important;max-height:calc(100dvh - 20px);padding:18px!important}.orderLineHead{display:none}.orderLine{grid-template-columns:minmax(0,1fr) 72px 44px;gap:7px}.addLine{width:100%}.orderPreview{grid-template-columns:1fr}.ordersModal .actions{position:-webkit-sticky;position:sticky;bottom:-18px;background:#fff;padding:12px 0 18px}.ordersModal .actions button{flex:1 1;min-height:46px}}.orderStatusFilters{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 16px}.orderStatusFilters button{border:1px solid #dbe5e1;border-radius:999px;padding:8px 13px;background:#fff;color:#425b54;font-weight:700;cursor:pointer}.orderStatusFilters button.active{box-shadow:0 0 0 2px #173f3522;border-color:#173f35}.orderStatus.pending,.orderStatusFilter.pending{background:#fff3d9!important;color:#a86b00!important}.orderStatus.confirmed,.orderStatusFilter.confirmed{background:#e4f6eb!important;color:#187344!important}.orderStatus.progress,.orderStatusFilter.progress{background:#eef1f3!important;color:#5c6870!important}.orderStatus.completed,.orderStatusFilter.completed{background:#e4f6eb!important;color:#187344!important}.orderStatus.cancelled,.orderStatusFilter.cancelled{background:#fde9e7!important;color:#b42318!important}