@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&family=Manrope:wght@500;600;650;700;750;800&display=swap');
:root{--green:#245c43;--green-dark:#163e2d;--lime:#b4e64d;--lime-soft:#edf6df;--red:#bd2c30;--ink:#202b29;--muted:#718079;--line:#e7ece8;--bg:#f5f7f5;--paper:#fff;--radius:12px}*{box-sizing:border-box}body{margin:0;background:var(--bg);font-family:'DM Sans',sans-serif;color:var(--ink);font-size:13px;line-height:1.5}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}button,a{transition:background .15s,color .15s,border-color .15s}a{color:var(--green);text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #638e31;outline-offset:3px}button svg{pointer-events:none}h1,h2,h3,h4,p{margin:0}h1,h2,h3,h4{font-family:Manrope,sans-serif}h1{font-size:28px;letter-spacing:-1px;font-weight:800;line-height:1.3}h2{font-size:17px;letter-spacing:-.45px}h3{font-size:15px}small,.muted{color:var(--muted)}small{display:block;font-size:11px}svg.icon{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}#sidebar{position:fixed;inset:0 auto 0 0;width:244px;background:#fff;border-right:1px solid var(--line);padding:25px 16px 14px;display:flex;flex-direction:column;z-index:30}.brand{display:flex;align-items:center;gap:12px;padding:0 8px 23px;color:var(--ink)}.brand img{width:51px;height:58px;object-fit:contain}.brand>span{font-family:Manrope,sans-serif;letter-spacing:.8px;font-size:12px;font-weight:800}.brand small{font-family:'DM Sans',sans-serif;letter-spacing:0;font-weight:450;font-size:11px;margin-top:3px}.workspace{padding:13px 10px;background:#f7f9f7;border:1px solid var(--line);border-radius:9px;display:flex;gap:9px;align-items:center;font-size:11px;font-weight:600;margin-bottom:28px}.workspace-icon{background:#e4efdb;color:var(--green);width:31px;height:32px;border-radius:7px;display:grid;place-items:center;font-size:10px}.workspace small{font-size:9px;font-weight:400;margin-top:2px}.dot{width:6px;height:6px;background:#43865b;border-radius:50%;margin-left:auto}.nav-label{font-size:9px;letter-spacing:1.4px;color:#929c96;font-weight:700;padding:0 13px;margin-bottom:10px}nav a{display:flex;gap:12px;align-items:center;padding:12px 13px;border-radius:8px;color:#62716a;margin-bottom:4px;font-size:12px;font-weight:500}nav a:hover{background:#f4f7f1}nav a.active{background:var(--lime-soft);color:var(--green);font-weight:700}nav .nav-count{font-size:10px;background:#fff;border:1px solid #d8e4cc;border-radius:5px;padding:0 6px;margin-left:auto}nav .nav-divider{height:1px;background:var(--line);margin:18px 10px}.sidebar-bottom{margin-top:auto;padding-top:20px}.help-card{padding:15px;background:#f5f7f1;border-radius:10px}.eyebrow{display:block;font-size:9px;font-weight:750;letter-spacing:1.7px;color:var(--green)}.help-card .eyebrow{font-size:7px;letter-spacing:1px}.help-card strong{font-size:13px;display:block;margin:10px 0 5px}.help-card p{font-size:10px;color:var(--muted)}.text-button{border:0;background:none;color:var(--green);font-weight:650;font-size:11px;padding:0;display:inline-flex;gap:8px;align-items:center}.help-card button{margin-top:13px}.profile{border:0;background:none;display:flex;align-items:center;gap:10px;width:100%;text-align:left;padding:20px 4px 0;font-size:11px}.profile>span:last-child{margin-left:auto}.profile small{font-size:9px}.avatar{width:34px;height:34px;border-radius:50%;display:inline-grid;place-items:center;font-size:11px;background:#f0e8dd;color:#886744;font-weight:700;flex-shrink:0}.avatar.small{width:30px;height:30px;font-size:10px}.shell{margin-left:244px;min-height:100vh}.topbar{height:72px;background:rgba(255,255,255,.95);border-bottom:1px solid var(--line);padding:0 35px;display:flex;align-items:center;justify-content:space-between}.breadcrumb{color:#89938d;font-size:11px;display:flex;gap:13px;align-items:center}.breadcrumb strong{color:#4b5b52;font-weight:500}.topbar-right{display:flex;gap:20px;align-items:center}.demo-badge{font-size:10px;display:flex;gap:7px;align-items:center;color:#677462}.demo-badge i{background:#8ab34b;width:6px;height:6px;border-radius:50%}.icon-button{border:1px solid var(--line);background:#fff;color:#64736b;border-radius:50%;width:27px;height:27px;display:inline-grid;place-items:center}.mobile-menu{display:none}main{padding:30px 35px;max-width:1580px;margin:auto;min-height:calc(100vh - 120px)}.page-intro{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:25px}.page-intro .eyebrow{margin-bottom:7px}.page-intro p{margin-top:8px;color:var(--muted);font-size:12px}.actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.btn{border:1px solid #dde5dd;border-radius:8px;padding:10px 15px;background:#fff;color:#536357;display:inline-flex;gap:8px;align-items:center;justify-content:center;font-size:11px;font-weight:650;white-space:nowrap}.btn.primary{background:var(--green);color:#fff;border-color:var(--green)}.btn.primary:hover{background:var(--green-dark)}.btn.lime{background:var(--lime);color:#25371a;border-color:var(--lime)}.btn.danger{color:var(--red);background:#fff5f3;border-color:#f3ded9}.btn.small{font-size:10px;padding:7px 11px}.btn svg{width:15px;height:15px}.hero{position:relative;overflow:hidden;border:1px solid #dce6d5;background:#eef3e7;border-radius:var(--radius);padding:27px 29px;display:flex;align-items:center;justify-content:space-between;margin-bottom:24px;min-height:158px}.hero h2{font-size:23px;letter-spacing:-.7px;margin:7px 0 8px}.hero p{color:#74806e;font-size:11px;max-width:430px}.hero-art{display:flex;align-items:center;gap:15px;padding-right:20px;position:relative}.hero-art>span{width:62px;height:72px;border:1px solid #c7d8b4;border-radius:11px;display:grid;place-items:center;background:#f8fbf2;transform:rotate(-6deg);box-shadow:5px 6px 0 #dbe7cb}.hero-art svg{width:30px;height:30px;color:#507c39}.hero-art>span:last-child{background:#2b5e40;transform:rotate(6deg);border-color:#2b5e40}.hero-art>span:last-child svg{color:#d7edae}.hero-art b{color:#86a66b;font-size:24px;font-weight:400}.kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:24px}.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}.metric{padding:20px}.metric-top{display:flex;align-items:center;justify-content:space-between;font-size:11px;color:var(--muted);margin-bottom:12px}.metric-icon{width:29px;height:29px;display:grid;place-items:center;background:#f0f5eb;color:#5d8050;border-radius:8px}.metric-icon svg{width:16px;height:16px}.metric strong{display:block;font-family:Manrope,sans-serif;font-size:27px;letter-spacing:-1px;font-weight:800;margin-bottom:6px}.metric p{font-size:10px;color:#8b958d}.metric .accent{color:#43804a}.grid-main{display:grid;grid-template-columns:minmax(0,1.85fr) minmax(260px,1fr);gap:22px;margin-bottom:23px}.card-head{padding:19px 21px;display:flex;align-items:center;justify-content:space-between;gap:10px}.card-head h2{font-size:14px}.card-head p{color:var(--muted);font-size:10px;margin-top:4px}.chart{height:152px;display:flex;align-items:flex-end;justify-content:space-between;gap:14px;padding:8px 25px 23px;margin:0 20px 18px;border-bottom:1px solid var(--line);background:repeating-linear-gradient(to top,transparent 0,transparent 42px,#f0f3ef 42px,#f0f3ef 43px)}.bar-wrap{flex:1;align-items:center;display:flex;flex-direction:column;height:100%;justify-content:flex-end;position:relative}.bar{max-width:40px;width:100%;background:#bdd494;border-radius:5px 5px 0 0;min-height:3px}.bar-wrap:last-child .bar{background:var(--green)}.bar-wrap small{position:absolute;bottom:-21px;font-size:9px;color:#8a958e}.bar-wrap .bar-label{position:absolute;top:-7px;font-size:9px;color:#8a958e}.legend{font-size:10px;color:var(--muted);padding:0 25px 17px}.legend i{display:inline-block;width:7px;height:7px;border-radius:2px;background:#a8c67f;margin-right:6px}.agenda{padding:0 21px 4px}.agenda-row{display:flex;gap:12px;padding:14px 0;border-top:1px solid var(--line);align-items:flex-start}.agenda-row .circle{border:1px solid #dfe6d9;border-radius:50%;width:28px;height:28px;display:grid;place-items:center;background:#f6f9f2;color:#729951;flex-shrink:0}.agenda-row svg{width:14px;height:14px}.agenda-row strong{font-size:11px;font-weight:600;display:block}.agenda-row p{font-size:10px;color:var(--muted);margin-top:3px}.agenda-row .time{margin-left:auto;font-size:9px;color:#8c958c;padding-top:3px}.pill{display:inline-flex;align-items:center;padding:4px 8px;border-radius:5px;font-size:9px;font-weight:650;white-space:nowrap;background:#f0f3f0;color:#667166}.pill.Pendiente,.pill.warn{background:#fff3da;color:#926c22}.pill.Confirmado{background:#edf3e2;color:#637e30}.pill.Preparando{background:#eaf0fb;color:#42678e}.pill.Despachado{background:#eeeafb;color:#78619d}.pill.Entregado,.pill.success,.pill.Aceptada{background:#e6f3e9;color:#38734c}.pill.danger{background:#fcecea;color:#a4493f}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;text-align:left;white-space:nowrap}th{font-size:9px;letter-spacing:.5px;font-weight:600;color:#849087;background:#fafbf9;padding:12px 20px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}td{font-size:11px;padding:15px 20px;border-bottom:1px solid #f0f3ef}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#fcfdfb}td strong{font-weight:600}td small{font-size:9px;margin-top:3px}.client-cell{display:flex;align-items:center;gap:10px}.client-avatar{height:30px;width:30px;display:grid;place-items:center;background:#f1f2e9;border-radius:8px;color:#7d8864;font-size:10px;font-weight:600}.order-link{background:none;border:0;padding:0;color:var(--green);font-weight:650}.table-footer{padding:12px 20px;border-top:1px solid var(--line);font-size:10px;color:#8b958d;display:flex;justify-content:space-between}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:18px;flex-wrap:wrap}.search{display:flex;align-items:center;gap:9px;background:#fff;border:1px solid var(--line);border-radius:8px;padding:9px 12px;min-width:245px}.search svg{width:15px;height:15px;color:#8b978e}.search input{border:0;outline:0;width:100%;background:none;font-size:11px}.toolbar select{background:#fff;border:1px solid var(--line);padding:10px 12px;border-radius:8px;color:#667568;font-size:11px}.notice{display:flex;gap:10px;align-items:center;padding:13px 17px;background:#edf3e6;border:1px solid #dce8ce;border-radius:8px;font-size:11px;color:#5e7450;margin-bottom:20px}.notice.amber{background:#fff7e9;border-color:#f0e2c6;color:#8b6d32}.notice svg{flex-shrink:0}.product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.product-card{padding:20px}.product-card .product-icon{width:45px;height:45px;background:#f2f5ec;border-radius:11px;display:grid;place-items:center;color:#729755;margin-bottom:15px}.product-card h3{font-size:13px}.product-card p{font-size:10px;color:var(--muted);margin-top:5px}.product-bottom{display:flex;justify-content:space-between;align-items:center;margin-top:22px;padding-top:15px;border-top:1px solid var(--line)}.product-bottom strong{font-size:16px}.stock{font-size:10px;color:#5c7c42}.stock.low{color:#a77829}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:22px}.body-pad{padding:22px}.connection-icon{width:47px;height:47px;border-radius:12px;background:#eff4e8;color:#577f3d;display:grid;place-items:center;margin-bottom:17px}.connection-icon svg{width:24px;height:24px}.connection p{font-size:12px;color:var(--muted);margin:10px 0 20px;line-height:1.8}.connection .data-row{display:flex;justify-content:space-between;padding:12px 0;border-top:1px solid var(--line);font-size:11px}.connection .actions{margin-top:20px}.flow{display:flex;align-items:center;justify-content:space-around;gap:15px;padding:25px 20px}.flow-step{text-align:center;flex:1}.flow-step .circle{margin:0 auto 10px;background:#f0f5e9;border:1px solid #deead2;border-radius:12px;width:44px;height:44px;display:grid;place-items:center;color:#658947}.flow-step strong{display:block;font-size:11px}.flow-step small{font-size:9px;margin-top:4px}.flow-arrow{color:#b5c1ae;font-size:22px}.timeline{border-left:1px solid #e1e8db;margin:12px 0 0 7px;padding-left:20px}.timeline-item{position:relative;padding:0 0 23px}.timeline-item:before{content:'';position:absolute;left:-25px;top:5px;width:8px;height:8px;border-radius:50%;background:#91b666;border:2px solid white;box-sizing:content-box}.timeline-item strong{font-size:11px}.timeline-item p{font-size:10px;color:var(--muted);margin-top:4px}.map{height:260px;position:relative;background:#f2f4ec;overflow:hidden;border-radius:9px;border:1px solid var(--line);margin-top:18px}.map svg{width:100%;height:100%}.map-label{position:absolute;bottom:10px;left:12px;font-size:9px;background:#fff;padding:5px 9px;border-radius:5px;color:var(--muted)}footer{padding:16px 35px;color:#9aa399;font-size:9px;display:flex;gap:8px}.footer-right{margin-left:auto}#overlay[hidden]{display:none}#overlay{position:fixed;inset:0;z-index:100;display:flex;justify-content:flex-end}.shade{position:absolute;inset:0;background:#15271d66;backdrop-filter:blur(2px)}.panel{position:relative;background:#fff;width:590px;max-width:100%;height:100%;overflow:auto;box-shadow:-10px 0 50px #14291c18;animation:slide .2s ease}.panel-header{padding:25px 27px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center}.panel-header small{margin-top:5px}.panel-body{padding:25px 27px}.panel-footer{padding:18px 27px;border-top:1px solid var(--line);display:flex;justify-content:flex-end;gap:10px;position:sticky;bottom:0;background:#fff;z-index:1}.field{display:block;margin-bottom:18px;font-size:11px;font-weight:600}.field input,.field select,.field textarea{display:block;width:100%;padding:11px 12px;border:1px solid #dde5dd;border-radius:8px;background:#fff;color:var(--ink);margin-top:7px;font-weight:400;font-size:12px}.field textarea{min-height:80px;resize:vertical}.field small{font-weight:400;margin-top:6px;font-size:10px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.form-grid .field{margin-bottom:5px}.line-item{display:grid;grid-template-columns:1fr 70px 80px 26px;gap:9px;align-items:end;margin-bottom:13px}.line-item label{font-size:10px;color:var(--muted)}.line-item select,.line-item input{width:100%;border:1px solid #dde5dd;padding:9px 6px;border-radius:6px;background:white;font-size:11px;margin-top:5px}.line-item .remove{height:34px;border:0;background:#faf0ed;color:#a45b51;border-radius:6px}.section-label{font-size:11px;font-weight:700;margin:25px 0 13px}.summary-total{display:flex;justify-content:space-between;background:#f5f8ef;padding:18px;border-radius:9px;margin-top:20px;font-size:12px}.summary-total strong{font-size:20px;font-family:Manrope}.error{color:#a84138;background:#fff0ec;padding:11px 13px;border-radius:7px;font-size:11px;margin-top:14px}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;padding:20px 0}.detail-grid small{font-size:10px}.detail-grid strong{font-size:12px;display:block;margin-top:5px}.detail-lines{margin:15px 0}.detail-line{display:flex;justify-content:space-between;gap:15px;padding:13px 0;border-bottom:1px solid var(--line);font-size:12px}.detail-line small{font-size:10px}.empty{padding:45px 25px;text-align:center;color:var(--muted)}#toast{position:fixed;bottom:25px;left:calc(50% + 100px);transform:translateX(-50%);z-index:200;background:#244b35;color:#fff;border:1px solid #6d8a57;border-radius:9px;padding:13px 21px;font-size:12px;box-shadow:0 5px 25px #1c302423;opacity:0;pointer-events:none;transition:opacity .2s;max-width:90vw}#toast.visible{opacity:1}.tour-step{display:flex;gap:15px;padding:17px 0;border-bottom:1px solid var(--line)}.tour-step b{background:#edf4e3;color:#60813e;width:29px;height:29px;border-radius:8px;display:grid;place-items:center;flex-shrink:0}.tour-step strong{font-size:12px}.tour-step p{font-size:11px;color:var(--muted);margin-top:5px}.invoice-preview{border:1px solid var(--line);padding:25px;border-radius:9px;margin-top:15px}.invoice-preview .stamp{color:#a94b3d;background:#fff1eb;text-align:center;padding:8px;font-size:10px;letter-spacing:1px;margin-bottom:20px}.visit-result{font-size:10px;color:#759447}.muted-note{font-size:10px;color:var(--muted);margin:15px 0;line-height:1.8}.chatbox{background:#edf2e9;padding:25px;border-radius:9px;min-height:260px}.bubble{padding:15px;border-radius:10px;background:#fff;max-width:90%;font-size:12px;box-shadow:0 2px 4px #00000005;margin-bottom:15px}.bubble.sent{background:#dcecc9;margin-left:auto}.chatbox small{font-size:9px;margin-top:8px}@keyframes slide{from{transform:translateX(50px);opacity:.3}to{transform:translateX(0);opacity:1}}@media(min-width:1550px){main{padding-top:38px}.metric{padding:25px}.hero{padding:32px;min-height:175px}}@media(max-width:1100px){#sidebar{width:215px;padding:20px 12px}.shell{margin-left:215px}main{padding:25px}.topbar{padding:0 25px}.grid-main{grid-template-columns:1.5fr 1fr;gap:16px}.metric{padding:16px}.metric strong{font-size:23px}.metric-top{font-size:10px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hero-art{padding:0}.hero-art>span{width:45px;height:60px}.hero{padding:23px}.hero h2{font-size:21px}.brand{gap:8px}.brand>span{font-size:11px}.brand img{width:44px}.help-card .eyebrow{font-size:6px}.kpis{gap:12px}}@media(max-width:820px){#sidebar{transform:translateX(-100%);transition:transform .2s;width:244px;box-shadow:10px 0 40px #15351c22}#sidebar.open{transform:translateX(0)}.shell{margin-left:0}.mobile-menu{display:grid;margin-right:12px}.topbar{height:61px;padding:0 20px}.breadcrumb{margin-right:auto}.topbar-right{gap:12px}.grid-main{grid-template-columns:1fr 1fr}#toast{left:50%}.hero-art{display:none}.two-col{gap:16px}.hero{min-height:145px}.footer-right{display:none}}@media(max-width:580px){main{padding:23px 17px}.topbar{padding:0 17px}.topbar-right .avatar{display:none}.breadcrumb{font-size:10px;gap:9px}.demo-badge{font-size:9px}.page-intro{align-items:flex-start;gap:13px;flex-direction:column;margin-bottom:20px}.page-intro .actions{width:100%}.page-intro .actions .btn.primary{margin-left:auto}h1{font-size:25px}.hero{padding:22px;margin-bottom:18px}.hero h2{font-size:20px}.hero p{font-size:11px}.kpis{grid-template-columns:1fr 1fr;gap:10px;margin-bottom:18px}.metric{padding:17px}.metric-top{margin-bottom:9px}.metric strong{font-size:24px}.metric p{font-size:9px}.grid-main{grid-template-columns:1fr;gap:18px;margin-bottom:18px}.two-col{grid-template-columns:1fr}.product-grid{grid-template-columns:1fr 1fr;gap:10px}.product-card{padding:15px}.product-card h3{font-size:11px}.product-bottom{align-items:flex-start;flex-direction:column;gap:7px}.product-bottom strong{font-size:15px}.product-card .product-icon{margin-bottom:10px}.toolbar .search{min-width:100%;width:100%}.toolbar .actions{width:100%;justify-content:space-between}.toolbar select{flex:1}.panel-header,.panel-body{padding:20px}.panel-footer{padding:15px 20px}.line-item{grid-template-columns:1fr 55px 64px 25px;gap:6px}.line-item select{font-size:10px}.flow{gap:4px;padding:20px 12px}.flow-step strong{font-size:9px}.flow-step small{font-size:8px}.flow-arrow{font-size:16px}footer{padding:15px 18px;font-size:8px}.card-head{padding:17px}.form-grid{gap:12px}.table-footer{font-size:9px}.demo-badge i{display:none}}
#sidebar{overflow-y:auto}.help-card{flex-shrink:0}nav a.active{box-shadow:inset 3px 0 #a8d94d}.brand{border-bottom:2px solid #b4e64d;margin-bottom:18px;padding-bottom:18px}.sidebar-bottom{min-height:210px}
.page-intro>div:first-child{min-width:0;max-width:100%}.grid-main>*,.two-col>*{min-width:0}
