@import "tailwindcss";
:root{font-family:Arial,Helvetica,sans-serif;color:#17202b;background:#f4f5f6;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer;transition:.15s}button:disabled{opacity:.45;cursor:not-allowed}button:focus-visible,a:focus-visible{outline:3px solid #e4aa55;outline-offset:3px}input:focus,select:focus{outline:2px solid #194b84;border-color:transparent}button svg{flex-shrink:0}.app{display:flex;min-height:100vh}.sidebar{width:236px;flex-shrink:0;padding:30px 20px;background:#14212f;color:#d6dde5;display:flex;flex-direction:column;position:fixed;inset:0 auto 0 0}.brand{display:flex;align-items:center;gap:11px;text-decoration:none;color:#efb45a;font-size:36px;font-weight:900}.brand span{font-size:18px;letter-spacing:1px;color:#fff}.brand small{display:block;font-size:9px;letter-spacing:2px;margin-top:6px;color:#adb8c4}.store{padding:19px 12px;margin-top:30px;border:1px solid #384451;border-radius:9px;font-size:13px}.store i{display:inline-block;background:#89a6c7;width:7px;height:7px;border-radius:50%;margin-right:8px}.store small{display:block;color:#9ea9b6;margin:7px 0 0 15px;font-size:11px}.nav-label{font-size:10px;letter-spacing:1.5px;color:#8c98a6;margin:32px 12px 12px}nav button{width:100%;border:0;background:none;color:#adb8c4;display:flex;gap:14px;align-items:center;padding:15px 14px;border-radius:8px;margin-bottom:5px;text-align:left;font-size:14px}nav button.active{background:#283b50;color:#fff}nav button b{margin-left:auto;font-size:10px;border-radius:5px;background:#efb45a;color:#17202b;padding:3px 6px}.sidebar-bottom{margin-top:auto;display:flex;gap:11px;border-top:1px solid #384451;padding-top:22px;font-size:12px}.avatar{background:#384655;padding:11px;border-radius:8px}.sidebar-bottom strong,.sidebar-bottom small{display:block;margin:4px 0}.sidebar-bottom small{color:#9ea9b6}main{margin-left:236px;width:calc(100% - 236px);padding:32px 36px}header{display:flex;justify-content:space-between;align-items:center;margin-bottom:25px}.eyebrow{font-size:10px;letter-spacing:1.8px;color:#748292}h1{font-size:28px;letter-spacing:-.9px;margin:9px 0}header p{font-size:13px;color:#6d7b8a;margin:0}.icon-btn{border:1px solid #dde0e4;border-radius:7px;background:white;padding:9px;display:inline-flex;justify-content:center;align-items:center;color:#5e6a78}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-bottom:25px}.stats>div{border:1px solid #e0e3e6;border-radius:11px;background:white;padding:20px 23px}.stats span{font-size:12px;color:#677584}.stats strong{font-size:26px;display:flex;justify-content:space-between;margin:12px 0;font-weight:600;letter-spacing:-.5px}.stats svg{color:#94a0ae}.stats small{font-size:11px;color:#7b8998}.sale-grid{display:grid;grid-template-columns:minmax(0,1fr) 350px;gap:22px;align-items:start}.panel{background:#fff;border:1px solid #e0e3e6;border-radius:12px;padding:22px}.section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}h2{margin:0;font-size:16px;font-weight:600;letter-spacing:-.3px}.section-head>span{font-size:11px;color:#7c8998}.search{display:flex;gap:10px;align-items:center;background:#f6f7f8;border:1px solid #e0e3e6;border-radius:7px;padding:0 12px;color:#8592a0}.search input{border:0;background:none;padding:12px 0;width:100%;font-size:12px;outline:none}.chips{display:flex;gap:7px;flex-wrap:wrap;margin:18px 0}.chips button{display:flex;align-items:center;gap:4px;padding:7px 12px;font-size:11px;border:1px solid #e0e3e6;border-radius:6px;background:white;color:#626f7d}.chips button.selected{background:#e9edf2;border-color:#bdc5cf;color:#283d56}.products{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:14px}.product-card{border:1px solid #e0e3e6;padding:12px;border-radius:9px;background:white;text-align:left}.product-card:hover{border-color:#70859d;box-shadow:0 4px 15px #14212f0d}.product-art{height:104px;border-radius:6px;background:#eff1f4;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:10px;color:#7e8b9a;margin-bottom:13px}.product-art span{font-size:10px}.product-card>small{font-size:9px;color:#8592a0}.product-card h3{font-size:13px;margin:6px 0;line-height:1.4}.product-card p{font-size:10px;color:#7b8897}.product-card>div:last-child{display:flex;justify-content:space-between;align-items:center;margin-top:16px}.product-card strong{font-size:15px}.add-icon{background:#edf0f4;padding:6px;border-radius:5px;color:#384d66}.cart label, .modal label{display:block;color:#697685;font-size:11px;margin-bottom:14px}input,select{border:1px solid #dde1e5;padding:11px 12px;border-radius:6px;background:white;color:#26313e;width:100%;font-size:13px}label input,label select{margin-top:7px}.cart-lines{min-height:190px;max-height:380px;overflow:auto}.cart-empty{padding:30px 8px;text-align:center;color:#aeb6c0}.cart-empty svg{margin:auto auto 18px}.cart-empty strong{display:block;font-size:13px;color:#748292}.cart-empty p{font-size:11px}.cart-line{display:grid;grid-template-columns:1fr auto;gap:9px;padding:13px 0;border-bottom:1px solid #edeff1}.cart-line strong{font-size:12px}.cart-line small{display:block;font-size:10px;color:#8592a0;margin-top:5px}.cart-line input{width:82px;font-size:12px;padding:6px 8px}.cart-line b{font-size:12px;text-align:right;align-self:center}.checkout{border-top:1px solid #e2e5e8;padding-top:21px}.total{display:flex;justify-content:space-between;align-items:center;margin:0 0 22px;font-size:13px}.total strong{font-size:25px;letter-spacing:-.7px}.primary,.secondary{border:0;border-radius:7px;padding:11px 14px;display:inline-flex;align-items:center;justify-content:center;gap:9px;font-size:12px;font-weight:600}.primary{background:#28415d;color:#fff}.primary:hover{background:#1c3149}.secondary{background:#f0f2f4;color:#415164;border:1px solid #dce0e5}.charge{width:100%;padding:15px;justify-content:space-between;margin-top:12px}.change{display:flex;justify-content:space-between;font-size:12px;color:#687685}.hint{display:block;font-size:9px;line-height:1.6;color:#7e8b9a;margin-top:12px}.empty{text-align:center;padding:48px 20px;color:#758393}.empty svg{margin:auto}.empty h3{font-size:17px;color:#334254}.empty p{font-size:13px;line-height:1.7}.empty .chips{justify-content:center}.notice{display:flex;gap:9px;align-items:center;padding:13px;border-radius:7px;font-size:12px;margin-bottom:18px}.error{background:#fff0ec;color:#ae4934}.success{background:#e4ebf2;color:#324c69}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;font-size:12px;margin-top:16px;text-align:left}th{font-weight:500;color:#798695;font-size:10px;padding:14px 10px;border-bottom:1px solid #dde1e5}td{padding:17px 10px;border-bottom:1px solid #edeff1}td small{display:block;font-size:10px;color:#8793a0;margin-top:5px}.badge{font-size:10px;padding:5px 8px;background:#e8edf2;border-radius:5px;color:#4c6178;white-space:nowrap}.badge.low{background:#fff0d7;color:#aa7929}.text-btn{background:none;border:none;color:#3b5777;font-size:11px}footer{display:flex;justify-content:space-between;font-size:10px;color:#8c98a5;margin-top:24px}.overlay{position:fixed;inset:0;background:#101b2888;display:flex;align-items:center;justify-content:center;z-index:5;padding:20px;overflow:auto}.modal{background:white;border-radius:13px;padding:28px;width:550px;max-width:100%;max-height:90vh;overflow:auto;box-shadow:0 20px 100px #0003}.modal>p{font-size:12px;color:#768494;line-height:1.8}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}.error-text{color:#a44635!important}.receipt{width:420px}.receipt-actions{display:flex;justify-content:space-between;margin-bottom:26px}.receipt-brand{text-align:center;font-size:26px;font-weight:900;color:#25374b}.center{text-align:center}.receipt .total{border-top:1px dashed #bcc3ca;padding-top:20px;margin-top:20px}.receipt table{margin:18px 0}.receipt td:last-child{text-align:right}.receipt th:last-child{text-align:right}@media(min-width:1500px){main{padding:40px 50px}.sale-grid{grid-template-columns:1fr 385px}}@media(max-width:1100px){.sidebar{width:190px;padding:25px 14px}.brand span{font-size:14px}main{margin-left:190px;width:calc(100% - 190px);padding:25px 20px}.sale-grid{grid-template-columns:1fr 310px}.products{grid-template-columns:repeat(auto-fill,minmax(130px,1fr))}.panel{padding:17px}}@media(max-width:850px){.sidebar{position:static;width:100%;padding:16px}.app{display:block}.brand{font-size:26px}.brand small,.store,.nav-label,.sidebar-bottom{display:none}nav{display:flex;margin-top:16px;gap:6px}nav button{margin:0;padding:10px;font-size:11px;justify-content:center;gap:6px}nav svg{width:16px}.sidebar nav button b{display:none}main{margin:0;width:100%;padding:22px 16px}.sale-grid{grid-template-columns:1fr}.stats{gap:9px}.stats>div{padding:13px}.stats strong{font-size:21px}.stats span,.stats small{font-size:10px}.stats svg{display:none}.products{grid-template-columns:repeat(auto-fill,minmax(140px,1fr))}.cart-lines{min-height:100px}footer{gap:15px;line-height:1.5}h1{font-size:25px}}@media print{body{background:white}.sidebar,main,.receipt-actions{display:none!important}.app{display:block}.receipt-overlay{position:static;display:block;background:white;padding:0}.receipt{width:80mm;max-width:100%;padding:5mm;box-shadow:none;max-height:none;border-radius:0;overflow:visible}.receipt table{font-size:10px}.receipt-brand{font-size:22px}.receipt .total strong{font-size:20px}@page{margin:5mm}}

.close-date{display:block;max-width:260px;font-size:12px;color:#697685;margin-bottom:22px}.close-date input{margin-top:8px}@media(max-width:850px){nav{flex-wrap:wrap}nav button{flex:1 1 30%}.total strong{font-size:21px}}

.brand{display:flex;flex-direction:column;gap:10px;align-items:stretch;font-size:inherit}.system-logo{display:block;width:100%;height:auto;border-radius:8px;background:#fff}.brand-caption{text-align:center;font-size:9px;letter-spacing:2px;color:#adb8c4}.receipt-logo{display:block;width:190px;max-width:100%;height:auto;margin:0 auto;background:white}@media(max-width:850px){.brand{flex-direction:row;align-items:center;gap:16px}.system-logo{width:105px}.brand-caption{text-align:left}}@media print{.receipt-logo{width:45mm;max-width:100%;height:auto;break-inside:avoid;print-color-adjust:exact;-webkit-print-color-adjust:exact}}

.sale-problems{background:#fff3df;border:1px solid #ead4ab;border-radius:7px;padding:12px;margin:14px 0;font-size:12px;color:#765222;line-height:1.6}.sale-problems ul{margin:7px 0 0;padding-left:18px}.cart>.text-btn{display:flex;gap:5px;align-items:center;margin-bottom:12px}

.form-grid label{display:block;font-size:12px;color:#697685;margin:10px 0 16px}.panel>label{display:block;font-size:12px;margin:12px 0}.panel>label select{margin-top:7px}details{font-size:11px;color:#697685;margin-top:8px}summary{cursor:pointer}.table-wrap th{white-space:nowrap}nav button{padding-top:11px;padding-bottom:11px}

.delivery-toggle{display:flex!important;align-items:center;gap:9px;font-size:12px!important}.delivery-toggle input{width:auto;margin:0}.delivery-fields{padding:12px;background:#f3f5f7;border-radius:7px;margin-bottom:16px}.delivery-address{white-space:pre-wrap}.delivery-note{width:650px}.delivery-note .receipt-logo{width:140px}.delivery-signatures{margin-top:30px;font-size:13px;line-height:2}.receipt-actions{gap:8px;flex-wrap:wrap}@media print{.delivery-note{width:100%;padding:10mm}.delivery-note .receipt-logo{width:35mm}.delivery-note table{font-size:13px}.delivery-address{font-size:13px}.delivery-note p{color:#111}.delivery-signatures{break-inside:avoid}}

.quote-editor{width:900px}.quote-editor label{display:block;font-size:12px;color:#697685}.quote-editor td input{min-width:90px}.quote-editor td:first-child input{min-width:200px}.sidebar{overflow-y:auto}.sidebar-bottom{padding-top:16px;min-height:60px}nav button{padding-top:8px;padding-bottom:8px}

.auth-screen{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:24px}.auth-screen .panel{width:420px}.auth-screen label{display:block;margin:16px 0}.auth-screen input{margin-top:8px}.formal-document{width:760px}.formal-document table{font-size:13px}@media print{@page{size:letter portrait;margin:12mm}.receipt,.formal-document,.delivery-note{width:100%!important;max-width:none!important;padding:0!important;font-size:12pt!important;overflow:visible!important;max-height:none!important}.receipt-overlay,.overlay{position:static!important;display:block!important;overflow:visible!important;background:white!important;padding:0!important}.receipt-actions{display:none!important}.receipt table{font-size:10pt!important;table-layout:auto}.receipt tr{break-inside:avoid}.receipt thead{display:table-header-group}.receipt .total{break-inside:avoid}.receipt-logo{width:45mm!important}}

.letter-modal{width:880px;background:#e9edf0;padding:20px;max-width:98vw}.letter-page{background:white;color:#182334;padding:40px 42px;min-height:950px;font-family:Arial,sans-serif}.letter-header{display:flex;justify-content:space-between;align-items:flex-start;border-bottom:4px solid #151c76;padding:0 0 22px;margin:0 0 24px;gap:24px}.letter-business{display:flex;flex-direction:column;gap:5px;width:45%;font-size:11px;line-height:1.5}.letter-business img{width:170px;height:auto;align-self:flex-start}.letter-business strong{font-size:15px;margin-top:8px}.letter-id{width:49%;text-align:right}.letter-kicker{font-size:9px;letter-spacing:2px;color:#686e7b}.letter-id h1{font-size:23px;color:#151c76;margin:10px 0}.letter-id>strong{font-size:17px}.letter-id p{font-size:11px;margin:7px 0;line-height:1.5}.letter-client{display:grid;grid-template-columns:1.3fr 1fr;gap:24px;padding:18px;background:#f3f5f9;border:1px solid #dce0e7;margin-bottom:26px}.letter-page h2{font-size:9px;color:#151c76;letter-spacing:1px;margin:0 0 10px}.letter-client strong{font-size:14px}.letter-page p{font-size:11px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere;margin:5px 0}.letter-items{width:100%;border-collapse:collapse;table-layout:fixed;margin:0!important}.letter-items th{background:#151c76;color:white;padding:12px 7px;font-size:9px;white-space:normal}.letter-items td{padding:12px 7px;border-bottom:1px solid #dce0e7;font-size:11px;overflow-wrap:anywhere;color:#182334}.letter-items th:nth-child(n+3),.letter-items td:nth-child(n+3){text-align:right}.letter-items tbody tr:nth-child(even){background:#f7f8fb}.letter-bottom{display:grid;grid-template-columns:1.2fr 1fr;gap:32px;margin-top:26px;break-inside:avoid}.letter-totals>div{display:flex;justify-content:space-between;padding:10px 12px;gap:12px;font-size:11px;border-bottom:1px solid #dce0e7}.letter-totals .letter-grand{background:#151c76;color:white;align-items:center}.letter-grand span{font-size:9px}.letter-grand strong{font-size:20px;white-space:nowrap}.letter-signatures{display:flex;gap:70px;margin-top:65px;break-inside:avoid}.letter-signatures>div{flex:1;text-align:center;border-top:1px solid #8d95a3;padding-top:9px}.letter-signatures span,.letter-signatures strong{display:block;font-size:10px;line-height:1.7}.letter-signatures strong{font-weight:normal;color:#687180}.letter-footer{display:flex;flex-direction:column;gap:6px;border-top:1px solid #dce0e7;margin-top:35px;padding-top:12px;text-align:center;font-size:9px;line-height:1.5}.letter-footer span{color:#687180}@media print{@page{size:letter portrait;margin:12mm}.letter-modal{width:100%!important;max-width:none!important;padding:0!important;background:white!important;box-shadow:none!important;max-height:none!important;overflow:visible!important;border-radius:0!important}.letter-page{padding:0;min-height:0;width:100%;print-color-adjust:exact;-webkit-print-color-adjust:exact}.letter-header{display:flex!important}.letter-footer{display:flex!important}.letter-items thead{display:table-header-group}.letter-items tr{break-inside:avoid}.letter-page .letter-items{font-size:10px}.letter-header,.letter-client{break-inside:avoid}.letter-signatures{margin-top:45px}}
.print-option{display:flex;gap:6px}.ticket-modal{width:380px;max-width:98vw;background:white}.ticket-page{font-family:Arial,sans-serif;background:white;color:#111;width:100%;padding:12px;font-size:12px;overflow-wrap:anywhere}.ticket-page h2,.ticket-page h3,.ticket-page>p{text-align:center}.ticket-page h3{font-size:13px}.ticket-page p{line-height:1.5;white-space:pre-wrap}.ticket-page .receipt-logo{width:100px}.ticket-items section{padding:10px 0;border-bottom:1px dashed #888;break-inside:avoid}.ticket-items section>strong{display:block}.ticket-items section>div,.ticket-total{display:flex;justify-content:space-between;gap:8px;margin:6px 0}.ticket-total{break-inside:avoid}.ticket-disclaimer{font-size:10px}.delivery-ticket{width:380px;font-size:12px}.delivery-ticket table{font-size:11px}.delivery-ticket .delivery-signatures{font-size:11px}@media print{.ticket-modal,.delivery-ticket{width:74mm!important;max-width:74mm!important;padding:0!important;margin:0!important;background:white!important;border:0!important;border-radius:0!important;box-shadow:none!important;max-height:none!important;overflow:visible!important}.ticket-page{width:74mm!important;padding:0!important;font-size:10pt!important}.ticket-page .receipt-logo,.delivery-ticket .receipt-logo{width:25mm!important}.delivery-ticket p,.delivery-ticket .delivery-address,.delivery-ticket .delivery-signatures{font-size:10pt!important}.delivery-ticket table{font-size:9pt!important;width:100%!important;table-layout:fixed!important}.delivery-ticket td,.delivery-ticket th{padding:2mm 1mm!important;white-space:normal!important;overflow-wrap:anywhere!important}.delivery-ticket h2{font-size:12pt!important}}
/* Short, optional motion keeps the POS responsive and printing static. */
@keyframes fh-reveal{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}
@keyframes fh-modal{from{opacity:0;transform:translateY(10px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes fh-overlay{from{background-color:transparent}to{background-color:rgba(20,47,46,.55)}}
.ferrohema-motion main>.sale-grid,.ferrohema-motion main>.panel,.ferrohema-motion main>.notice,.ferrohema-motion .cart-line{animation:fh-reveal .2s ease-out both}
.ferrohema-motion .stats>div{animation:fh-reveal .25s ease-out both}.ferrohema-motion .stats>div:nth-child(2){animation-delay:35ms}.ferrohema-motion .stats>div:nth-child(3){animation-delay:70ms}
.ferrohema-motion .overlay{animation:fh-overlay .16s ease-out both}.ferrohema-motion .overlay>.modal{animation:fh-modal .2s ease-out both}
.ferrohema-motion button{transition:background-color .16s ease,border-color .16s ease,box-shadow .16s ease,transform .16s ease,color .16s ease}
.ferrohema-motion button:active:not(:disabled){transform:scale(.98)}
.ferrohema-motion .product-card{transition:box-shadow .18s ease,border-color .18s ease,transform .18s ease}
@media(hover:hover){.ferrohema-motion .product-card:hover:not(:disabled){transform:translateY(-3px);box-shadow:0 7px 18px #14212f16}.ferrohema-motion .primary:hover:not(:disabled),.ferrohema-motion .secondary:hover:not(:disabled){transform:translateY(-1px)}.ferrohema-motion nav button:hover:not(:disabled){background:#38485b;color:#fff}}
.ferrohema-motion input,.ferrohema-motion select{transition:border-color .15s ease,box-shadow .15s ease}.ferrohema-motion input:focus,.ferrohema-motion select:focus{box-shadow:0 0 0 3px #194b8412}
@media(prefers-reduced-motion:reduce){.ferrohema-motion *,.ferrohema-motion *::before,.ferrohema-motion *::after{animation:none!important;transition:none!important;transform:none!important}}
@media print{.ferrohema-motion *,.ferrohema-motion *::before,.ferrohema-motion *::after{animation:none!important;transition:none!important;transform:none!important}}

.branch-banner{display:flex;justify-content:space-between;gap:20px;align-items:center;background:#e8edf2;border:1px solid #b9c5d3;border-left:5px solid #283d56;border-radius:10px;padding:16px;margin-bottom:22px}.branch-banner strong{display:block;font-size:19px}.branch-banner span,.branch-banner small{display:block;font-size:11px;margin-top:6px}.branch-banner a{display:inline-block;margin:4px;padding:8px;border-radius:6px;color:#283d56;font-size:12px;text-decoration:none}.branch-banner a.branch-active{background:#283d56;color:white}.transfer-card{border:1px solid #ddd;border-radius:8px;padding:16px;margin:14px 0}.transfer-card button{margin-right:8px}.transfer-line{display:flex;gap:16px;align-items:center;margin:14px 0}.transfer-line label{flex:1}.transfer-document{width:700px}.transfer-document table{width:100%;margin-top:20px}.transfer-document p{white-space:pre-wrap;overflow-wrap:anywhere}.branch-banner+header{margin-top:20px}@media(max-width:750px){.branch-banner,.transfer-line{display:block}}@media print{.branch-banner{display:none!important}}

.invoice-photo{margin:20px 0}.invoice-photo fieldset{border:1px solid #d7dbe0;border-radius:10px;padding:16px;margin:16px 0}.invoice-photo progress{width:100%;margin:12px 0}.invoice-photo details{margin:12px 0}.invoice-photo input[type=file]{padding:12px}

.stats.account-summary{grid-template-columns:repeat(4,minmax(0,1fr))}.account-summary>div{min-width:0}.account-summary strong{font-size:clamp(20px,2.2vw,28px);flex-wrap:wrap;gap:8px;overflow-wrap:anywhere}.account-summary .account-outstanding{border-color:#92a2b5;background:#f3f6fa}.account-summary .account-overdue{border-color:#e3aaa4;background:#fff8f7}.account-overdue strong,.account-overdue svg{color:#a83232}.account-summary-note{margin-top:-12px;margin-bottom:22px}@media(max-width:1200px){.stats.account-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.stats.account-summary{grid-template-columns:1fr}}

.test-toolbar{position:sticky;top:0;z-index:100;background:#fff3cd;color:#4d3600;padding:12px 22px;display:flex;gap:16px;align-items:center;justify-content:space-between;border-bottom:2px solid #d69e00}.test-toolbar>div{display:flex;gap:16px;align-items:center;flex-wrap:wrap}.test-toolbar span{font-size:13px}.test-toolbar a,.test-toolbar button{font-size:13px;color:#4d3600;text-decoration:underline;background:transparent;border:0;cursor:pointer}.sidebar{top:66px;height:calc(100vh - 66px)}@media(max-width:800px){.test-toolbar{position:relative;flex-wrap:wrap}.sidebar{top:0;height:100vh}}@media print{.test-toolbar{display:none}}

/* Connected trial: blue palette and readable reports. */
.system-logo{opacity:.88;background:rgba(255,255,255,.82);border-radius:14px;box-shadow:0 4px 18px #081b3820}.brand{padding:5px;border-radius:16px}.sidebar{background:linear-gradient(165deg,#142e50,#193e68);overflow-y:auto}.primary{background:#285d91}.primary:hover{background:#1c4977}.secondary{background:#edf3fa;color:#315579;border-color:#d7e2ef}.text-btn{color:#286296}.branch-banner{background:#edf4fc;border-color:#c8d9ed;border-left-color:#285d91}.branch-banner a{color:#285d91}.branch-banner a.branch-active{background:#285d91}.search-picker{position:relative;margin:14px 0}.search-picker>label{display:block;font-size:13px}.picker-results{border:1px solid #cbdced;max-height:290px;overflow:auto;border-radius:9px;background:#fff;margin:6px 0;box-shadow:0 6px 18px #12305012}.picker-results button{display:block;text-align:left;width:100%;padding:12px;border:0;border-bottom:1px solid #e6edf5;background:white;color:#193b61}.picker-results button:hover{background:#edf4fc}.picker-results small{display:block;margin-top:4px;color:#64768c}.picked-item{background:#eef4fc;padding:10px;border-radius:6px;font-size:12px}.permissions-editor{margin-top:25px;border-top:1px solid #dce6f0;padding-top:20px}.permission-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:16px;margin:20px 0}.permission-grid label{font-size:12px}fieldset{border:1px solid #d9e3ef;border-radius:8px;padding:16px}.report-buttons{display:flex;gap:8px;flex-wrap:wrap}.report-section{margin-top:18px}.report-table th{white-space:normal;background:#eef4fb;color:#20466f;font-weight:bold}.report-table td{overflow-wrap:anywhere}.report-page{min-height:0}.report-page .report-table{font-size:10px;table-layout:fixed}.report-page .report-table td,.report-page .report-table th{padding:8px 5px;font-size:9px;white-space:normal}.closing-metrics{margin:24px 0;border:1px solid #d6e1ee}.closing-metrics>div{display:flex;justify-content:space-between;gap:18px;padding:12px;border-bottom:1px solid #e2eaf3;font-size:12px}.closing-metrics>div:last-child{background:#193e68;color:white;font-size:15px}.cart-line label input{width:110px}.overlay{z-index:200}.test-toolbar{z-index:100}.report-modal{width:1050px}.section-head{flex-wrap:wrap}nav{flex-shrink:0}nav button{flex-shrink:0}@media(max-width:850px){nav{overflow:auto;max-height:160px;flex-wrap:wrap}.sidebar{height:auto!important}.test-toolbar{position:relative}.permission-grid{grid-template-columns:1fr 1fr}}@media print{body:has(.receipt-overlay)>#root>.test-toolbar,body:has(.receipt-overlay) .test-toolbar{display:none!important}.report-modal,.closing-document{width:100%!important;max-width:none!important;overflow:visible!important;max-height:none!important;box-shadow:none!important;padding:0!important}.report-page .report-table{font-size:8pt;table-layout:fixed}.report-page .report-table th,.report-page .report-table td{font-size:7pt;padding:5px 3px;overflow-wrap:anywhere}.report-table thead{display:table-header-group}.report-table tr,.closing-metrics{break-inside:avoid}.closing-document .letter-page{min-height:0}.report-page,.closing-document{print-color-adjust:exact;-webkit-print-color-adjust:exact}}

/* Soft white glow merges the original white logo into the blue sidebar. */
.sidebar .brand{position:relative;isolation:isolate;background:radial-gradient(ellipse at 50% 44%,rgba(255,255,255,.96) 0%,rgba(255,255,255,.84) 35%,rgba(255,255,255,.43) 60%,rgba(255,255,255,.08) 78%,transparent 94%);padding:15px 9px 11px;border:0;border-radius:0;box-shadow:none;gap:13px}.sidebar .system-logo{mix-blend-mode:multiply;background:transparent;opacity:1;border-radius:0;box-shadow:none}.sidebar .brand-caption{color:#bcd3ee;text-shadow:0 1px 3px #132d50;letter-spacing:2px}

/* Distinct branch colors: indigo for Pampojilá, blue for San Cristóbal. */
.app[data-branch="pampojila"] .sidebar{background:linear-gradient(160deg,#24224f 0%,#34336e 55%,#3d4988 100%)}.app[data-branch="pampojila"] main{background:#f6f5fb}.app[data-branch="pampojila"] .primary,.auth-screen[data-branch="pampojila"] .primary{background:#5554a3}.app[data-branch="pampojila"] .primary:hover{background:#454489}.app[data-branch="pampojila"] .secondary{background:#f0effa;border-color:#dcd9ee;color:#504b83}.app[data-branch="pampojila"] nav button.active{background:#56548d}.app[data-branch="pampojila"] .branch-banner{background:#eeedf8;border-color:#d3cfea;border-left-color:#6863b5}.app[data-branch="pampojila"] .branch-banner a{color:#55518d}.app[data-branch="pampojila"] .branch-banner a.branch-active{background:#5554a3;color:white}.app[data-branch="pampojila"] .chips button.selected{background:#eeecf8;color:#514b87;border-color:#c9c3e3}.app[data-branch="pampojila"] .text-btn{color:#5a5298}.app[data-branch="pampojila"] .product-art{background:#f0eff8;color:#8c88aa}.app[data-branch="pampojila"] .add-icon{background:#eae7f6;color:#5b5191}.app[data-branch="pampojila"] .system-logo{mix-blend-mode:multiply}.app[data-branch="pampojila"] .brand-caption{color:#d1ccec;text-shadow:0 1px 3px #25224f}.auth-screen[data-branch="pampojila"]{background:linear-gradient(135deg,#eeebf8,#f7f8fc)}
.sidebar .brand{isolation:auto;background:radial-gradient(ellipse at 50% 43%,rgba(255,255,255,.94) 0%,rgba(255,255,255,.79) 32%,rgba(255,255,255,.38) 59%,rgba(255,255,255,.05) 80%,transparent 96%)}
.sidebar .brand{background:radial-gradient(ellipse 49% 48% at 50% 47%,rgba(255,255,255,.94) 0%,rgba(255,255,255,.82) 30%,rgba(255,255,255,.48) 56%,rgba(255,255,255,.14) 77%,rgba(255,255,255,0) 98%);border:0;outline:0;box-shadow:none}.sidebar .system-logo{border:0;box-shadow:none;background:transparent}

/* White logo panel fading downward into the navigation color. */
.sidebar .brand{background:linear-gradient(180deg,rgba(255,255,255,.97) 0%,rgba(255,255,255,.95) 45%,rgba(255,255,255,.75) 68%,rgba(255,255,255,.25) 88%,rgba(255,255,255,0) 100%);border-radius:14px 14px 0 0;padding:15px 10px 25px;gap:15px}.sidebar .system-logo{mix-blend-mode:multiply;opacity:1;box-shadow:none}.sidebar .brand-caption{color:#e0e8f5}
.sidebar .brand{margin:-30px -20px 0;padding:22px 12px 30px;border-radius:0;width:calc(100% + 40px);gap:0;background:linear-gradient(180deg,#fff 0%,rgba(255,255,255,.98) 58%,rgba(255,255,255,.75) 77%,rgba(255,255,255,.23) 93%,transparent 100%)}.sidebar .system-logo{width:100%;max-width:none;height:auto}.sidebar .brand-caption{display:none!important}@media(max-width:1100px) and (min-width:851px){.sidebar .brand{margin:-25px -14px 0;width:calc(100% + 28px);padding:18px 8px 28px}}@media(max-width:850px){.sidebar .brand{margin:-16px -16px 0;width:calc(100% + 32px);padding:15px 20px 24px;justify-content:center}.sidebar .system-logo{width:155px}}
.sidebar .store{background:#edf4fc;color:#193e68;border:1px solid #c8d9ed;border-left:4px solid #285d91;border-radius:9px;padding:16px 12px;font-weight:600;line-height:1.5;margin-top:16px}.sidebar .store small{color:#536c87;font-weight:400;margin-left:0}.sidebar .store i{background:#285d91}.app[data-branch="pampojila"] .sidebar .store{background:#eeedf8;border-color:#d3cfea;border-left-color:#6863b5;color:#302d62}.app[data-branch="pampojila"] .sidebar .store small{color:#625d87}.app[data-branch="pampojila"] .sidebar .store i{background:#6863b5}
.sidebar .brand{background:#fff;padding-bottom:18px;border-bottom:5px solid #4b78a6;box-shadow:0 3px 0 rgba(255,255,255,.16)}.app[data-branch="pampojila"] .sidebar .brand{border-bottom-color:#8983cb}.sidebar .system-logo{mix-blend-mode:normal;background:#fff}
