@import "https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@500;600;700;800&display=swap";:root{--font-main:"DM Sans", sans-serif;--font-display:"Manrope", sans-serif;--bg-app:#f4f7f5;--bg-card:#fffffff0;--text-main:#14231c;--text-muted:#728078;--text-soft:#9aa8a0;--border-color:#e2ebe5;--brand-primary:#188451;--brand-primary-hover:#0f6c42;--brand-primary-light:#e6f6ed;--brand-accent:#8acb9d;--brand-gradient:linear-gradient(135deg, #0c5f3b 0%, #2aa96a 100%);--transition-smooth:all .22s cubic-bezier(.2, .8, .2, 1);--radius-sm:10px;--radius-md:16px;--radius-lg:24px;--shadow-sm:0 2px 9px #183d2b0d;--shadow-md:0 12px 30px #183d2b17;--shadow-lg:0 24px 70px #102b1e2e}[data-brand=compost]{--brand-primary:#8b5e3c;--brand-primary-hover:#6d4529;--brand-primary-light:#f7eee7;--brand-accent:#c89b78;--brand-gradient:linear-gradient(135deg, #573420, #a87950)}[data-brand=humus]{--brand-primary:#3b4850;--brand-primary-hover:#273238;--brand-primary-light:#edf1f2;--brand-accent:#a7b2b7;--brand-gradient:linear-gradient(135deg, #202c31, #53646c)}*{box-sizing:border-box;margin:0;padding:0}body{font-family:var(--font-main);color:var(--text-main);background:radial-gradient(circle at 88% -10%, #8acb9d33, transparent 28rem), var(--bg-app);-webkit-font-smoothing:antialiased}button,input,textarea,select{font:inherit}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid color-mix(in srgb, var(--brand-primary) 32%, transparent);outline-offset:2px}::selection{background:var(--brand-primary);color:#fff}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-track{background:0 0}::-webkit-scrollbar-thumb{background:#cbd9d0;border-radius:99px}::-webkit-scrollbar-thumb:hover{background:#9eb5a6}@keyframes fadeIn{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@keyframes pulseSoft{0%,to{box-shadow:0 0 #18845126}50%{box-shadow:0 0 0 8px #18845100}}.crm-sidebar{color:#c5d7cb;background:#10251b!important;border:0!important;width:276px!important;box-shadow:8px 0 30px #0c26191a!important}.crm-sidebar nav a{transition:var(--transition-smooth);font-size:.88rem;color:#abc0b3!important;border-radius:12px!important;padding:.72rem .8rem!important}.crm-sidebar nav a:hover{transform:translate(3px);color:#fff!important;background:#ffffff17!important}.crm-sidebar nav a.active{font-weight:700;box-shadow:0 7px 16px #0000001f;color:#0f4e30!important;background:#d8f2e1!important}.crm-main-container{background:0 0!important}.brand-badge{border:1px solid #d8eadc;color:#17683f!important;background:#eef8f0!important}.crm-content{width:100%;max-width:1600px;margin:0 auto;padding:2rem!important}.crm-card{transition:var(--transition-smooth);background:var(--bg-card)!important;border:1px solid var(--border-color)!important;border-radius:var(--radius-md)!important;box-shadow:var(--shadow-sm)!important;padding:1.35rem!important}.crm-card:hover{transform:translateY(-2px);box-shadow:var(--shadow-md)!important;border-color:#d3e5d8!important}.crm-card>h2,.crm-card>h3,.crm-card>h4{align-items:center;gap:.6rem;line-height:1.25;display:flex}.crm-card svg{vertical-align:middle;flex:none}input[type=checkbox]{width:17px;height:17px;accent-color:var(--brand-primary);vertical-align:middle;margin:0 .25rem 0 0}.plan-agricola-layout{align-items:start}.plan-agricola-layout>.crm-card,.plan-agricola-layout [style*="grid-template-columns: 1fr 1fr"],.plan-agricola-layout [style*="grid-template-columns: 1fr 1.5fr 1fr 1fr auto"]{min-width:0}.metrics-grid{grid-template-columns:repeat(auto-fit,minmax(165px,1fr));display:grid;gap:1rem!important;margin-bottom:1.5rem!important}.metrics-grid .crm-card{min-height:130px;position:relative;overflow:hidden}.metrics-grid .crm-card:after{content:"";background:var(--brand-primary-light);opacity:.7;border-radius:50%;width:110px;height:110px;position:absolute;bottom:-52px;right:-42px}.dashboard-hero{color:#fff;position:relative;overflow:hidden;background:linear-gradient(120deg,#103e2a,#1b8150)!important;border:0!important;padding:1.8rem!important;box-shadow:0 18px 35px #104c2e2e!important}.dashboard-hero:after{content:"";border:34px solid #ffffff1a;border-radius:50%;width:270px;height:270px;position:absolute;top:-150px;right:-95px}.dashboard-hero h2,.dashboard-hero p{z-index:1;position:relative;color:#fff!important}.crm-btn{min-height:40px;transition:var(--transition-smooth);border:1px solid #0000!important;border-radius:11px!important;padding:.66rem 1rem!important;font-size:.84rem!important}.crm-btn:disabled{cursor:not-allowed;opacity:.58}.crm-btn-primary{background:var(--brand-primary)!important;color:#fff!important}.crm-input,.crm-input-group input,.crm-input-group textarea,.crm-input-group select{transition:var(--transition-smooth);color:var(--text-main)!important;background:#fbfdfb!important;border:1px solid #d5e2d9!important;border-radius:11px!important}.crm-input{padding:.76rem .9rem!important}:is(.crm-content div:has(>input[placeholder*=Buscar]),.crm-content div:has(>input[placeholder*=buscar])){min-width:0;position:relative}.crm-content input[placeholder*=Buscar],.crm-content input[placeholder*=buscar]{min-height:46px;font-size:.88rem;box-shadow:0 5px 18px #1953300f;background:#fff!important;border-color:#cfe0d4!important;border-radius:14px!important;padding:.78rem 2.85rem .78rem 2.8rem!important}.crm-content input[placeholder*=Buscar]::placeholder,.crm-content input[placeholder*=buscar]::placeholder{color:#8b9b91;opacity:1}.crm-content input[placeholder*=Buscar]:hover,.crm-content input[placeholder*=buscar]:hover{box-shadow:0 8px 22px #19533017;border-color:#a9c8b3!important}.crm-content input[placeholder*=Buscar]:focus,.crm-content input[placeholder*=buscar]:focus{border-color:var(--brand-primary)!important;box-shadow:0 0 0 4px #1884511f,0 8px 22px #19533014!important}.crm-content input[placeholder*=Buscar]+svg,.crm-content input[placeholder*=buscar]+svg{stroke-width:2.2px;pointer-events:none;color:#5f8b6d!important;left:.9rem!important}.crm-input-group{min-width:0;margin-bottom:1rem}.crm-label,.crm-input-group label{letter-spacing:.01em;margin-bottom:.45rem;display:block;color:#4c6656!important;font-size:.78rem!important;font-weight:700!important}.crm-table-container{overflow:auto;border:1px solid var(--border-color)!important;border-radius:var(--radius-md)!important;box-shadow:var(--shadow-sm)!important}.crm-table{font-size:.84rem!important}.crm-table th{text-transform:uppercase;letter-spacing:.055em;font-size:.73rem;color:#547061!important;background:#f2f7f3!important;padding:.9rem 1rem!important}.crm-table td{border-color:#edf2ee!important;padding:.9rem 1rem!important}.status-badge{letter-spacing:.01em;border-radius:99px!important;padding:.32rem .65rem!important;font-size:.7rem!important}.crm-modal-backdrop{-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px);overflow-y:auto;z-index:10000!important;background:#06190fa8!important;justify-content:center!important;align-items:center!important;padding:clamp(.8rem,3vw,2rem)!important;display:flex!important;position:fixed!important;inset:0!important}.crm-modal{border:1px solid #ffffffbf;flex-direction:column;animation:.24s cubic-bezier(.2,.8,.2,1) modalIn;display:flex;position:relative;z-index:10001!important;background:#fff!important;border-radius:24px!important;width:min(920px,100%)!important;max-height:min(92vh,920px)!important;overflow:hidden!important;box-shadow:0 30px 90px #041b0f52!important}.crm-modal-header{flex:none;min-height:72px;background:linear-gradient(135deg,#eff9f1,#e1f3e6)!important;border-bottom:1px solid #d5e9da!important;justify-content:space-between!important;align-items:center!important;gap:1rem!important;padding:1.05rem 1.35rem!important;display:flex!important}.crm-modal-header h2,.crm-modal-header h3,.crm-modal-header h4{min-width:0;font-family:var(--font-display);color:#164d31;letter-spacing:-.025em;flex:auto;font-size:1.05rem;margin:0!important}.crm-modal-header button{width:36px;height:36px;transition:var(--transition-smooth);place-items:center;display:grid;color:#5b7464!important;background:#ffffffbf!important;border-radius:11px!important;flex:0 0 36px!important;margin-left:auto!important}.crm-modal-header button:hover{transform:rotate(4deg);color:#bc4c43!important;background:#fff!important}.order-modal-backdrop{padding:clamp(.8rem,3vw,2rem)!important}.order-modal{width:min(960px,100%)!important}.order-modal .crm-modal-header>div:first-child{flex:auto;min-width:0}.order-modal-kicker{color:#4b8862;letter-spacing:.12em;text-transform:uppercase;margin-bottom:.2rem;font-size:.68rem;font-weight:800;display:block}.order-modal .crm-modal-header h3{font-size:clamp(1.05rem,2vw,1.28rem)}.order-modal form{background:linear-gradient(#fff 0%,#fbfdfb 100%)}.order-modal form>.crm-input-group,.order-modal form>h4{max-width:100%}.order-modal form h4{color:#174f31;font-family:var(--font-display)}.order-modal form>.crm-card{background:#f5fbf6!important;border-color:#d8ebdd!important}.order-modal form>div[style*="grid-template-columns: 2fr 0.7fr 1fr auto"]{background:#fff;border:1px solid #e1ece3;border-radius:13px;padding:.55rem}.crm-modal>form,.crm-modal>div:not(.crm-modal-header){min-height:0}.crm-modal>form{scrollbar-gutter:stable;overflow-y:auto!important}.crm-modal form>div[style*=grid-template-columns]{align-items:start}.crm-modal form .crm-input-group{margin-bottom:.85rem}.crm-modal form>div:last-child{padding-bottom:.1rem}.crm-modal form .crm-btn{min-height:42px}.crm-modal .crm-btn{border-radius:12px!important;font-weight:700!important}.crm-modal textarea.crm-input{resize:vertical;min-height:88px}.crm-modal>div:not(.crm-modal-header),.crm-modal>form{background:#fff!important}.plan-agricola-page{max-width:1500px;margin:0 auto}.plan-agricola-layout{gap:1.25rem!important}.plan-agricola-page{--agri-ink:#173b29;--agri-soft:#f3faf5;--agri-line:#dbeae0}.plan-agricola-page>.plan-agricola-layout{align-items:start}.plan-agricola-page>.plan-agricola-layout>div:last-child{align-content:start;gap:1rem;display:grid;position:sticky;top:1rem}.plan-agricola-layout>.crm-card,.plan-agricola-layout>div>.crm-card{box-shadow:0 10px 28px #183d2b12!important}.plan-agricola-layout>.crm-card:first-child{border-top:4px solid var(--brand-primary)!important;background:linear-gradient(#fff 0%,#fbfefc 100%)!important;padding:clamp(1rem,2.4vw,2rem)!important}.plan-agricola-layout>.crm-card:first-child>h2{border-bottom:1px solid #e3eee6;padding-bottom:1rem;font-size:clamp(1.1rem,2vw,1.35rem)}.plan-agricola-layout .crm-input-group{margin-bottom:.8rem}.plan-agricola-layout .crm-input{min-height:48px;background:#fbfefc!important;border-color:#d3e4d8!important;border-radius:13px!important}.plan-agricola-layout .crm-input:hover{background:#fff!important;border-color:#a8caae!important}.plan-agricola-layout .crm-input:focus{transform:translateY(-1px)}.plan-agricola-layout .crm-label{letter-spacing:.02em;color:#3d624c!important;font-size:.74rem!important}.plan-agricola-layout textarea.crm-input{resize:vertical;min-height:82px}.plan-agricola-layout h3{color:#185b38;font-family:var(--font-display);letter-spacing:-.025em}.plan-agricola-layout>.crm-card:first-child>h3{border-top:1px solid #e3eee6;align-items:center;gap:.5rem;padding-top:1.1rem;display:flex}.plan-agricola-layout [style*="grid-template-columns: 1fr 1.5fr 1fr 1fr auto"]{background:#fbfdfb;border:1px solid #e1ece3;border-radius:14px;align-items:center;padding:.7rem}.plan-agricola-layout [style*="grid-template-columns: 1fr 1.5fr 1fr 1fr auto"] .crm-input{min-width:0}.plan-agricola-layout>div>.crm-card:first-child{background:linear-gradient(145deg,#effaf2,#fff)!important;border-color:#cfe8d5!important}.plan-agricola-layout>div>.crm-card:first-child h3{color:#145b36}.plan-agricola-layout>div>.crm-card:first-child p:first-of-type{color:#197448;font-size:1.18rem}.plan-agricola-layout>div>.crm-card:nth-child(2) h3,.plan-agricola-layout>div>.crm-card:nth-child(3) h3{border-bottom:1px solid #e3eee6;padding-bottom:.75rem}.plan-agricola-layout>div>.crm-card label{color:#486353;border-radius:9px;min-height:34px;padding:.35rem .5rem;align-items:center!important}.plan-agricola-layout>div>.crm-card label:hover{background:#f1f8f3}.plan-agricola-layout>div>.crm-card>.crm-btn{justify-content:center;width:100%}.plan-agricola-layout>div>.crm-card:last-child button{text-align:left}.plan-agricola-layout>.crm-card:first-child>div[style*="grid-template-columns: 1fr 1fr"]{background:#f7fbf8;border:1px solid #e1eee4;border-radius:17px;padding:1rem}.plan-agricola-layout>.crm-card:first-child>div[style*="grid-template-columns: 1fr 1fr"]+.crm-input-group{margin-top:1rem}.plan-agricola-layout>.crm-card:first-child>div[style*="grid-template-columns: 1fr 1fr"]+.crm-input-group+.crm-input-group{border-top:1px solid #e5efe8;padding-top:1rem}.plan-agricola-layout>.crm-card:first-child>h3+div{position:relative}.plan-agricola-layout>.crm-card:first-child>div[style*="grid-template-columns: 1fr 1.5fr 1fr 1fr auto"]{grid-template-columns:1fr 1.5fr 1fr 1fr auto!important;column-gap:.65rem!important}.plan-agricola-layout>.crm-card:first-child>div[style*="grid-template-columns: 1fr 1.5fr 1fr 1fr auto"] .crm-input{min-width:0;padding:.68rem .72rem!important}.plan-agricola-layout>.crm-card:first-child>div[style*="grid-template-columns: 1fr 1.5fr 1fr 1fr auto"] label{white-space:nowrap;color:#557160;font-size:.76rem}.plan-agricola-layout>.crm-card:first-child>div[style*="grid-template-columns: 1fr 1.5fr 1fr 1fr auto"] button{width:40px;min-width:40px;padding:.55rem!important}.plan-agricola-layout>.crm-card:first-child>button{margin-top:.3rem;color:#187145!important;background:#f1faf3!important;border-style:dashed!important;border-color:#9ec9aa!important}.plan-agricola-layout>.crm-card:first-child>div[style*="display: flex"]{justify-content:flex-end;align-items:center;gap:.6rem!important}.plan-agricola-layout>.crm-card:first-child>div[style*="display: flex"] .crm-btn{min-height:44px}.plan-agricola-layout>.crm-card:first-child>div[style*="display: flex"] .crm-btn-primary{box-shadow:0 8px 18px #1884512e;padding-inline:1.25rem!important}.plan-agricola-layout>div>.crm-card{border-radius:18px!important;padding:1.25rem!important}.plan-agricola-layout>div>.crm-card h3{color:var(--agri-ink);font-size:1.02rem}.plan-agricola-layout>div>.crm-card p{color:#5d7365;line-height:1.55}.plan-agricola-layout>div>.crm-card:first-child{padding:1.5rem!important}.plan-agricola-layout>div>.crm-card:first-child small{color:#557160;margin-top:.8rem;line-height:1.5;display:block}.plan-agricola-layout>div>.crm-card:first-child:after{content:"";background:linear-gradient(90deg,#2ba263 0 62%,#d7eade 62%);border-radius:99px;width:100%;height:7px;margin-top:1.15rem;display:block}.plan-agricola-layout>div>.crm-card:nth-child(2){background:#fff!important}.plan-agricola-layout>div>.crm-card:nth-child(2) button{margin-top:1rem!important}.plan-agricola-layout>div>.crm-card:nth-child(3){background:#f8fcf9!important}.plan-agricola-layout>div>.crm-card:nth-child(3) button{min-height:46px;background:#fff!important;border-color:#d8e8dd!important}.plan-agricola-layout>.crm-card:first-child>h2{margin-bottom:.8rem!important}.plan-agricola-layout>.crm-card:first-child>div[style*="grid-template-columns: 1fr 1fr"]{padding:.8rem;gap:.7rem!important}.plan-agricola-layout>.crm-card:first-child>div[style*="grid-template-columns: 1fr 1fr"] .crm-input-group{margin-bottom:.1rem}.plan-agricola-layout>.crm-card:first-child>.crm-input-group{margin-bottom:.6rem}.plan-agricola-layout>.crm-card:first-child>h3{margin:1rem 0 .55rem!important}.plan-agricola-layout>.crm-card:first-child>div[style*="grid-template-columns: 1fr 1.5fr 1fr 1fr auto"]{margin:.45rem 0;padding:.55rem}.plan-agricola-layout>.crm-card:first-child>div[style*="grid-template-columns: 1fr 1.5fr 1fr 1fr auto"] .crm-input{min-height:42px}.plan-agricola-layout>.crm-card:first-child>button{min-height:40px}.plan-agricola-layout>.crm-card:first-child>div[style*="display: flex"]{padding-top:.8rem;margin-top:1rem!important}.plan-agricola-page:before{content:"PLAN AGRÍCOLA  /  PLANEACIÓN ECOLÓGICA";color:#f4fff7;font-family:var(--font-display);letter-spacing:-.04em;background:radial-gradient(circle at 88% 20%,#91e2a759,#0000 11rem),linear-gradient(115deg,#0d4d30,#1e8d58);border-radius:22px;margin-bottom:1.15rem;padding:1.65rem 1.8rem;font-size:clamp(1.25rem,3vw,2rem);font-weight:800;display:block;box-shadow:0 18px 36px #0e522d2e}.plan-agricola-page>.plan-agricola-layout>.crm-card:first-child{position:relative;overflow:hidden}.plan-agricola-page>.plan-agricola-layout>.crm-card:first-child:after{content:"01";color:#dcefe1;font:800 5rem/1 var(--font-display);pointer-events:none;position:absolute;top:.7rem;right:1rem}.plan-agricola-page>.plan-agricola-layout>.crm-card:first-child>h2{z-index:1;background:#f0faf2;border-radius:14px;padding:.8rem 1rem;position:relative;margin:-.35rem -.35rem 1.25rem!important}.plan-agricola-page>.plan-agricola-layout>.crm-card:first-child>h3{border-top:1px solid #e2eee5;align-items:center;gap:.55rem;padding:1.1rem 0 .65rem;display:flex}.plan-agricola-page>.plan-agricola-layout>.crm-card:first-child>div[style*="grid-template-columns: 1fr 1.5fr 1fr 1fr auto"]{background:linear-gradient(135deg,#fbfefc,#f5faf6);border:1px solid #d9e9dd;border-radius:15px;margin:.65rem 0;padding:.7rem;position:relative;box-shadow:0 4px 12px #183d2b0a}.plan-agricola-page>.plan-agricola-layout>.crm-card:first-child>div[style*="grid-template-columns: 1fr 1.5fr 1fr 1fr auto"]:hover{border-color:#9dccaa;box-shadow:0 8px 18px #183d2b14}.plan-agricola-page>.plan-agricola-layout>.crm-card:first-child>div[style*="display: flex"]{border-top:1px solid #e2eee5;padding-top:1rem}.plan-agricola-page>.plan-agricola-layout>div:first-child>.crm-card{border-top:3px solid #69b77f}.plan-agricola-page>.plan-agricola-layout>div:first-child>.crm-card:first-child{background:linear-gradient(145deg,#f0fbf3 0%,#fff 75%)!important}.plan-agricola-page>.plan-agricola-layout>div:first-child>.crm-card:first-child h3{color:#14633a;font-size:1.2rem}.plan-agricola-page>.plan-agricola-layout>div:first-child>.crm-card:first-child h3:before{content:"◔";color:#fff;background:#29a264;border-radius:10px;place-items:center;width:32px;height:32px;font-size:1.15rem;display:grid}.plan-agricola-page>.plan-agricola-layout>div:first-child>.crm-card:nth-child(2) h3,.plan-agricola-page>.plan-agricola-layout>div:first-child>.crm-card:nth-child(3) h3{border-bottom:1px solid #e1ede4;padding-bottom:.8rem}.plan-agricola-page>.plan-agricola-layout>div:first-child>.crm-card:nth-child(2) label{border-radius:9px;min-height:38px;padding:.35rem .5rem;align-items:center!important}.plan-agricola-page>.plan-agricola-layout>div:first-child>.crm-card:nth-child(2) label:hover{background:#eef8f0}.plan-agricola-page>.plan-agricola-layout>div:first-child>.crm-card:nth-child(3) button{text-align:left}@keyframes modalIn{0%{opacity:0;transform:translateY(16px)scale(.985)}to{opacity:1;transform:translateY(0)scale(1)}}.login-container:before{content:"";pointer-events:none;background:linear-gradient(110deg,#072d1b47,#0000 50%);position:absolute;inset:0}.login-card{z-index:1;position:relative;background:#fffffff0!important;border:1px solid #ffffffbf!important;border-radius:26px!important;max-width:460px!important;padding:2.8rem!important;box-shadow:0 30px 80px #04221447!important}.login-card h1{font-family:var(--font-display);letter-spacing:-.05em!important}.login-card input{color:var(--text-main)!important;background:#fbfdfb!important;border:1px solid #d6e4da!important;border-radius:12px!important}.login-card form>button{background:var(--brand-primary)!important;border-radius:12px!important;box-shadow:0 10px 22px #18845138!important}.crm-mobile-bottom-nav{-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#fffffff0!important;border-top-color:#dce9df!important;display:none!important}.mobile-menu-btn{display:none!important}.crm-mobile-bottom-nav a{color:#75867c!important}.crm-mobile-bottom-nav a.active{color:var(--brand-primary)!important}.crm-mobile-drawer{background:#10251b!important}@media (width<=900px){.crm-sidebar{width:248px!important}.crm-content{padding:1.25rem!important}.crm-header{padding:0 1.25rem!important}}@media (width<=1100px){.crm-sidebar{display:none!important}.mobile-menu-btn{display:flex!important}.crm-content{padding:1.25rem!important}}@media (width<=768px){.crm-sidebar{display:none!important}.mobile-menu-btn,.crm-mobile-bottom-nav{display:flex!important}.crm-content{padding:1rem!important;padding-bottom:82px!important}.crm-header{height:68px!important;padding:0 1rem!important}.metrics-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.crm-card{border-radius:14px!important}.plan-agricola-layout{grid-template-columns:1fr!important;gap:1rem!important}.plan-agricola-layout>.crm-card:first-child div[style*=grid-template-columns]{grid-template-columns:1fr!important;gap:.65rem!important}.plan-agricola-layout [style*="grid-template-columns: 1fr 1.5fr 1fr 1fr auto"]{border:1px solid var(--border-color);background:#fbfdfb;border-radius:13px;padding:.75rem;grid-template-columns:1fr 1fr!important;gap:.65rem!important}}.print-page{max-width:1020px}.printable-document{color:#20382a;background:#fff;border:1px solid #d8e6dc;border-radius:20px;padding:clamp(1.5rem,4vw,3.25rem);position:relative;overflow:hidden;box-shadow:0 24px 60px #14532d21}.printable-document:before{content:"";background:linear-gradient(90deg, #14532d, var(--brand-primary), #86efac);height:8px;position:absolute;inset:0 0 auto}.document-brand{align-items:center;gap:1rem;min-width:0;display:flex}.print-brand-mark{background:linear-gradient(145deg,#fff,#f0fdf4);border:1px solid #dcebe0;border-radius:14px;flex:0 0 86px;place-items:center;width:86px;height:68px;display:grid;overflow:hidden;box-shadow:0 8px 20px #16653414}.document-logo{object-fit:contain;width:100%;height:100%;padding:.45rem;display:block}.document-logo-fallback{place-items:center;padding:0;font-size:2.2rem;display:grid}.print-header h1,.print-header h3{color:#14532d;font-family:var(--font-display);letter-spacing:-.025em;margin:0 0 .2rem;font-size:clamp(1.25rem,3vw,1.75rem)}.print-title>span,.print-title h4{letter-spacing:.08em;margin:0;font-weight:850;color:#166534!important;font-size:1.18rem!important}.print-title>strong{color:#1f2937;letter-spacing:.025em;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.92rem}.document-status{color:#166534;letter-spacing:.06em;text-transform:uppercase;background:#dcfce7;border:1px solid #bbf7d0;border-radius:999px;padding:.2rem .55rem;font-size:.62rem;font-style:normal;font-weight:800;display:inline-flex}.print-client>div{background:#f8fbf9;border:1px solid #dfebe2;border-radius:12px;justify-content:flex-start;min-height:112px;padding:1rem 1.1rem}.print-client>div:first-child{border-left:4px solid var(--brand-primary)}.print-client small{color:#16803a;letter-spacing:.12em;margin-bottom:.32rem;font-size:.64rem}.print-client strong{color:#183c26;margin-bottom:.1rem;font-size:.95rem}.print-table{border-collapse:separate;border-spacing:0;font-variant-numeric:tabular-nums;border:1px solid #dce8df;border-radius:12px;margin:1rem 0 1.5rem;overflow:hidden}.print-table thead{color:#fff;background:#166534}.print-table th{color:#fff;letter-spacing:.055em;text-transform:uppercase;border:0;padding:.78rem .65rem;font-size:.66rem;font-weight:800}.print-table td{color:#354c3d;border-bottom:1px solid #e6eee8;padding:.78rem .65rem}.print-table tbody tr:last-child td{border-bottom:0}.print-total-box,.document-invoice .totals-card{width:min(380px,100%);box-shadow:none;background:linear-gradient(145deg,#f7fcf8,#eef8f1);border:1px solid #cee3d4;border-radius:14px;margin:0 0 0 auto;padding:1.1rem 1.2rem}.document-invoice .totals-card>div,.print-total-box>span,.print-total-box>b{justify-content:space-between;gap:1rem;padding:.28rem 0;display:flex}.document-invoice .totals-card .grand-total,.print-total-box>b{color:#14532d;border-top:1px solid #bcd7c4;margin-top:.35rem;padding-top:.72rem;font-size:1.05rem}.print-footer-note{margin:1.65rem 0 0;color:#566f5e!important;background:#f8faf9!important;border:1px solid #e0eae3!important;border-radius:10px!important;padding:1rem 1.1rem!important;line-height:1.55!important}.document-signatures{text-align:center;grid-template-columns:repeat(2,minmax(0,1fr));gap:3rem;margin:4rem 0 2rem;display:grid!important}.document-signatures>div{flex-direction:column;align-items:center;gap:.22rem;min-width:0;display:flex}.document-signatures i{border-top:1px solid #789080;width:min(230px,100%);display:block}.document-signatures small{color:#7d9183;font-size:.65rem}.document-footer{color:#718579;border-top:1px solid #dce8df;justify-content:space-between;gap:1rem;margin:1.5rem -1rem -1.2rem;padding:.85rem 1rem 0;font-size:.64rem;display:flex}.document-invoice{box-shadow:none;border:0;border-radius:0 0 18px 18px;overflow-y:auto;padding:2.25rem!important}.document-invoice .modal-actions{margin-top:1.5rem}@media (width<=700px){.printable-document,.document-invoice{border-radius:12px;padding:1.25rem!important}.document-brand{align-items:flex-start}.print-brand-mark{flex-basis:72px;width:72px;height:58px}.print-client{grid-template-columns:1fr}.print-client>div{min-height:auto}.document-signatures{gap:1.5rem}}@page{size:A4;margin:12mm}@media print{html,body{-webkit-print-color-adjust:exact;print-color-adjust:exact;width:210mm;min-height:297mm;background:#fff!important;margin:0!important;padding:0!important}body *{visibility:hidden!important}.printable-document,.printable-document *{visibility:visible!important}body .printable-document{box-sizing:border-box!important;width:100%!important;max-width:none!important;min-height:0!important;box-shadow:none!important;border:0!important;border-radius:0!important;margin:0!important;padding:10mm!important;position:absolute!important;inset:0 auto auto 0!important;overflow:visible!important}.printable-document:before{height:5px}.print-header,.print-client,.print-table,.print-total-box,.document-invoice .totals-card,.print-footer-note,.document-signatures,.document-footer{break-inside:avoid;page-break-inside:avoid}.print-table thead{display:table-header-group}.print-table tr{break-inside:avoid;page-break-inside:avoid}.invoice-modal,.crm-modal-backdrop{background:#fff!important;width:auto!important;max-width:none!important;height:auto!important;max-height:none!important;padding:0!important;position:static!important}}@media (width<=1100px) and (width>=769px){.plan-agricola-layout{grid-template-columns:minmax(0,1fr) minmax(250px,.7fr)!important;gap:.85rem!important}.plan-agricola-layout>.crm-card:first-child{padding:1.15rem!important}.plan-agricola-layout>.crm-card:first-child>div[style*="grid-template-columns: 1fr 1.5fr 1fr 1fr auto"]{grid-template-columns:1fr 1.25fr 1fr 1fr auto!important;gap:.35rem!important}}@media (width<=900px){.plan-agricola-page>.plan-agricola-layout>div:last-child{position:static}}@media (width<=560px){.plan-agricola-page:before{border-radius:17px;padding:1.25rem 1.15rem;font-size:1.15rem}.plan-agricola-page>.plan-agricola-layout>.crm-card:first-child:after{font-size:3.5rem}.plan-agricola-page>.plan-agricola-layout>.crm-card:first-child>div[style*="grid-template-columns: 1fr 1.5fr 1fr 1fr auto"]{grid-template-columns:1fr!important}.plan-agricola-page>.plan-agricola-layout>.crm-card:first-child>div[style*="grid-template-columns: 1fr 1.5fr 1fr 1fr auto"] label{justify-content:space-between;padding:.35rem 0}.plan-agricola-page>.plan-agricola-layout>.crm-card:first-child>div[style*="display: flex"]{flex-direction:column}.plan-agricola-page>.plan-agricola-layout>.crm-card:first-child>div[style*="display: flex"] .crm-btn{justify-content:center;width:100%}.crm-content [style*="min-width: 280px"]{flex:100%!important;min-width:0!important;max-width:none!important}.crm-content [style*="grid-template-columns: 1fr 1fr"],.crm-content [style*="grid-template-columns: 2fr 0.7fr 1fr auto"],.crm-content [style*="grid-template-columns: 3fr 1fr 1.5fr 0.5fr"]{grid-template-columns:1fr!important}.crm-content [style*="display: flex"]{row-gap:.7rem!important}.plan-agricola-layout [style*="grid-template-columns: 1fr 1.5fr 1fr 1fr auto"]{grid-template-columns:1fr!important}.plan-actions{align-items:stretch}.plan-actions .crm-btn{justify-content:center;width:100%}}@media (width<=700px){.crm-modal-backdrop{justify-content:center!important;align-items:center!important;padding:.65rem!important}.crm-modal{border-radius:22px!important;max-height:calc(100dvh - 1.3rem)!important}.crm-modal-header{min-height:64px;padding:.85rem 1rem!important}.crm-modal>form,.crm-modal>div:not(.crm-modal-header){padding:1rem!important}.crm-modal form>div[style*=grid-template-columns]{grid-template-columns:1fr!important;gap:.15rem!important}.crm-modal form [style*="grid-template-columns: 2fr 0.7fr 1fr auto"]{border:1px solid var(--border-color);background:#fbfdfb;border-radius:14px;padding:.8rem;grid-template-columns:1fr!important}.crm-modal form>div[style*="justify-content: flex-end"]{flex-direction:column-reverse!important;align-items:stretch!important}.crm-modal form>div[style*="justify-content: flex-end"] .crm-btn{justify-content:center;width:100%}}@media (width<=520px){.metrics-grid{grid-template-columns:1fr}.brand-badge{padding:.3rem .55rem!important}.brand-badge span:last-child{display:none}.login-card{padding:2rem 1.35rem!important}}@media (width<=700px){.crm-content input[placeholder*=Buscar],.crm-content input[placeholder*=buscar]{width:100%;min-height:48px;font-size:.9rem}}.crm-mobile-drawer-overlay{-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px);background:#05190f9e!important}.mobile-nav-panel{border-left:1px solid #ffffff80;border-radius:26px 0 0 26px;overflow:hidden;background:#f6faf7!important;width:min(360px,91vw)!important;box-shadow:-18px 0 55px #0523144d!important}.mobile-nav-header{min-height:92px;color:#fff!important;background:linear-gradient(135deg,#0d4f31,#1d8a54)!important;border:0!important;padding:1.1rem 1.15rem!important}.mobile-nav-header>div:first-child{gap:.75rem!important}.mobile-nav-header>div:first-child span:first-child{background:#ffffff26;border-radius:13px;place-items:center;width:42px;height:42px;display:grid;font-size:1.45rem!important}.mobile-nav-header>div:first-child span:last-child{font-family:var(--font-display);font-size:.96rem;color:#fff!important}.mobile-nav-header button{border-radius:12px;place-items:center;width:38px;height:38px;display:grid;color:#fff!important;background:#ffffff1f!important}.mobile-nav-list{padding:1rem .8rem!important}.mobile-nav-link{letter-spacing:-.01em;min-height:52px;color:#365244!important;background:0 0!important;border-radius:15px!important;margin-bottom:.35rem!important;padding:.65rem .75rem!important;font-size:.88rem!important;font-weight:700!important}.mobile-nav-link:hover{transform:translate(2px);color:#155f3a!important;background:#e7f3ea!important}.mobile-nav-link.active{box-shadow:inset 0 0 0 1px #1884511f,0 7px 14px #13553114;color:#104d30!important;background:#ccefd8!important}.mobile-nav-link-content{min-width:0;gap:.75rem!important}.mobile-nav-link-content svg{box-sizing:content-box;color:#2d7f51;background:#e5f2e8;border-radius:9px;width:20px;height:20px;padding:3px}.mobile-nav-link.active .mobile-nav-link-content svg{color:#0f5d38;background:#a5dfb7}.mobile-nav-link-content span{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.mobile-nav-link>svg{color:#94ab9b}.mobile-nav-link.active>svg{color:#1d7547;opacity:1!important}.mobile-nav-footer{background:#fff!important;border-top:1px solid #dfece2!important;padding:.9rem 1rem 1.1rem!important}.mobile-nav-footer>div:first-child{background:#f1f7f2;border-radius:14px;padding:.65rem .7rem;margin-bottom:.75rem!important}.mobile-nav-footer p:first-child{color:#183c29!important;font-size:.82rem!important}.mobile-nav-footer p:last-child{color:#6c8475!important;font-size:.7rem!important}.mobile-nav-footer button{min-height:42px;color:#bd4b43!important;background:#fff4f3!important;border-color:#ffc9c4!important;border-radius:12px!important}.settings-whatsapp-legacy,.whatsapp-automation-card{display:none!important}.whatsapp-automation-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem;margin-top:.9rem;display:grid}.whatsapp-automation-grid>div{background:#fbfaff;border:1px solid #e3def6;border-radius:13px;grid-template-columns:auto 1fr;align-items:center;column-gap:.7rem;padding:.8rem .9rem;display:grid}.whatsapp-automation-grid strong{color:#6955b5;font:800 1.35rem/1 var(--font-display);grid-row:span 2}.whatsapp-automation-grid span{color:#354e40;font-size:.82rem;font-weight:800}.whatsapp-automation-grid small{color:#788b80;font-size:.7rem}.whatsapp-automation-note{color:#6d7e74;margin:.8rem 0 0;font-size:.78rem;line-height:1.45}.whatsapp-delay-control{background:#fbfdfb;border:1px solid #e1e8e3;border-radius:13px;justify-content:space-between;align-items:center;gap:1rem;margin-top:1rem;padding:.8rem .9rem;display:flex}.whatsapp-delay-control strong,.whatsapp-delay-control small{display:block}.whatsapp-delay-control strong{color:#294c37;font-size:.84rem}.whatsapp-delay-control small{color:#7a8e80;margin-top:.2rem;font-size:.7rem}.whatsapp-delay-editor{align-items:center;gap:.45rem;display:flex}.whatsapp-delay-editor input{text-align:center;color:#1f4c31;background:#fff;border:1px solid #cfe0d4;border-radius:9px;width:78px;min-height:38px;padding:.55rem}.whatsapp-delay-editor span{color:#718478;white-space:nowrap;font-size:.72rem}.whatsapp-delay-editor .crm-btn{min-height:38px;padding:.5rem .75rem!important}.whatsapp-exact-status{background:#f8fcf9;border:1px solid #dce9df;border-radius:14px;align-items:center;gap:.75rem;padding:.85rem 1rem;display:flex}.whatsapp-exact-status>div{flex:1;min-width:0}.whatsapp-exact-status strong,.whatsapp-exact-status small{display:block}.whatsapp-exact-status strong{color:#234c31;font-size:.9rem}.whatsapp-exact-status small{color:#708579;margin-top:.2rem;font-size:.75rem;line-height:1.4}.whatsapp-exact-status .whatsapp-web-state{color:#91a197;letter-spacing:.02em;margin-top:.35rem;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.66rem}.whatsapp-exact-status time{color:#809287;white-space:nowrap;font-size:.7rem}.whatsapp-exact-status.warning{background:#fffaf0;border-color:#f3df9d}.whatsapp-exact-status.info{background:#f1f7ff;border-color:#cbdff8}.whatsapp-exact-status.danger{background:#fff5f4;border-color:#f2c8c4}.whatsapp-exact-status.muted{background:#f3f5f4;border-color:#d7dfda}.whatsapp-status-error{color:#a9473e;margin-top:-.6rem;font-size:.72rem;line-height:1.4}.whatsapp-logs-link,.whatsapp-back-link{color:#28754a;align-items:center;gap:.35rem;font-size:.75rem;font-weight:800;text-decoration:none;display:inline-flex}.whatsapp-logs-link{background:#f7fcf8;border:1px solid #d5e8da;border-radius:9px;padding:.45rem .65rem}.whatsapp-logs-link:hover,.whatsapp-back-link:hover{color:#155f38;background:#eaf6ed}.whatsapp-logs-page{max-width:1080px!important}.whatsapp-logs-header{color:#f4fff7;background:linear-gradient(115deg,#0c4c2f,#218d59);border-radius:24px;justify-content:space-between;align-items:flex-end;gap:1rem;margin:-.25rem 0 1.25rem;padding:clamp(1.3rem,3vw,2rem);display:flex;box-shadow:0 18px 38px #0b492829}.whatsapp-logs-header h1{color:#fff;font-family:var(--font-display);letter-spacing:-.04em;margin:.35rem 0 0;font-size:clamp(1.45rem,3vw,2rem)}.whatsapp-logs-header p{color:#d2f1dc;max-width:650px;margin:.55rem 0 0;line-height:1.5}.whatsapp-logs-header .crm-btn{color:#174a2d;background:#fff;border-color:#fff}.whatsapp-logs-header .whatsapp-eyebrow{color:#b5e9c3;margin-top:.9rem}.whatsapp-back-link{color:#d8f6df}.whatsapp-log-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:.85rem;margin-bottom:1rem;display:grid}.whatsapp-log-summary>div{background:#fff;border:1px solid #e0ece3;border-radius:15px;grid-template-columns:auto 1fr;align-items:center;column-gap:.65rem;padding:.9rem 1rem;display:grid;box-shadow:0 8px 20px #1c4a2b0d}.whatsapp-log-summary svg{color:#22814b;grid-row:span 2}.whatsapp-log-summary strong{color:#1d4d30;font-size:1.25rem}.whatsapp-log-summary span{color:#789080;font-size:.72rem}.whatsapp-log-card{padding:1.15rem!important}.whatsapp-log-toolbar{border-bottom:1px solid #e5eee7;justify-content:space-between;align-items:center;gap:1rem;padding-bottom:.9rem;display:flex}.whatsapp-log-toolbar strong,.whatsapp-log-toolbar small{display:block}.whatsapp-log-toolbar strong{color:#214e31;font-family:var(--font-display)}.whatsapp-log-toolbar small{color:#829388;margin-top:.2rem;font-size:.72rem}.whatsapp-log-toolbar select{width:min(250px,100%);min-height:40px}.whatsapp-log-list{gap:.1rem;display:grid}.whatsapp-log-row{border-bottom:1px solid #edf3ee;gap:.8rem;padding:1rem .2rem;display:flex}.whatsapp-log-row:last-child{border-bottom:0}.whatsapp-log-icon{border-radius:11px;flex:0 0 34px;place-items:center;width:34px;height:34px;display:grid}.whatsapp-log-icon.received{color:#2466a1;background:#eaf4ff}.whatsapp-log-icon.queued{color:#886c17;background:#fff7d9}.whatsapp-log-icon.sent{color:#21814b;background:#e7f7eb}.whatsapp-log-icon.failed{color:#b14942;background:#fff0ee}.whatsapp-log-icon.status{color:#674faa;background:#f0edff}.whatsapp-log-main{flex:1;min-width:0}.whatsapp-log-title{justify-content:space-between;align-items:center;gap:.75rem;display:flex}.whatsapp-log-title strong{color:#294e36;font-size:.82rem}.whatsapp-log-title time{color:#8a9b90;white-space:nowrap;font-size:.7rem}.whatsapp-log-main p{color:#52675a;white-space:pre-wrap;overflow-wrap:anywhere;margin:.35rem 0 .25rem;font-size:.8rem;line-height:1.45}.whatsapp-log-main small{color:#91a197;margin:.1rem .7rem 0 0;font-size:.68rem;display:inline-block}.whatsapp-empty-logs{color:#829388;justify-content:center;align-items:center;gap:.5rem;min-height:220px;font-size:.85rem;display:flex}@media (width<=650px){.whatsapp-logs-header{flex-direction:column;align-items:stretch}.whatsapp-logs-header .crm-btn{align-self:flex-start}.whatsapp-log-summary{gap:.55rem}.whatsapp-log-summary>div{padding:.75rem .6rem}.whatsapp-log-summary span{font-size:.65rem}.whatsapp-log-toolbar{flex-direction:column;align-items:stretch}.whatsapp-log-toolbar select{width:100%}.whatsapp-log-title{flex-direction:column;align-items:flex-start;gap:.15rem}}@media (width<=560px){.whatsapp-exact-status{flex-wrap:wrap;align-items:flex-start}.whatsapp-exact-status time{width:100%;margin-left:1.65rem}.whatsapp-delay-control{flex-direction:column;align-items:stretch}.whatsapp-delay-editor{width:100%}.whatsapp-delay-editor input{flex:1}.whatsapp-delay-editor .crm-btn{flex:none}}.qr-share-page{background:radial-gradient(circle at 20% 10%,#dff5e6,#0000 24rem),#f3f8f4;place-items:center;min-height:100dvh;padding:1.25rem;display:grid}.qr-share-card{background:#fff;border:1px solid #d6e9db;border-radius:26px;width:min(520px,100%);overflow:hidden;box-shadow:0 25px 70px #144c2b29}.qr-share-brand{color:#fff;background:linear-gradient(115deg,#0c4c2f,#218d59);align-items:center;gap:.8rem;padding:1.2rem 1.35rem;display:flex}.qr-share-logo{background:#ffffff29;border-radius:13px;place-items:center;width:43px;height:43px;display:grid}.qr-share-brand strong,.qr-share-brand small{display:block}.qr-share-brand strong{font-family:var(--font-display)}.qr-share-brand small{color:#bfe9ca;margin-top:.2rem;font-size:.72rem}.qr-share-content{color:#1b4a30;text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:.75rem;min-height:410px;padding:2rem 1.5rem;display:flex}.qr-share-content h1{color:#173b29;font-family:var(--font-display);letter-spacing:-.035em;margin:0;font-size:1.4rem}.qr-share-content>p{color:#698071;max-width:370px;margin:0;line-height:1.55}.qr-share-image-wrap{background:#f7fcf8;border:1px solid #d6e9db;border-radius:18px;margin:.5rem 0;padding:.75rem;box-shadow:0 12px 26px #183d2b1a}.qr-share-image-wrap img{width:min(270px,65vw);height:min(270px,65vw);display:block}.qr-share-expiry{color:#789182;align-items:center;gap:.4rem;font-size:.72rem;display:flex}.whatsapp-console{max-width:1240px!important}.whatsapp-hero{color:#f5fff8;background:radial-gradient(circle at 82% 15%,#7ee09f59,#0000 13rem),linear-gradient(115deg,#0c4c2f,#218d59);border-radius:24px;justify-content:space-between;align-items:center;gap:1.5rem;margin:-.25rem 0 1.25rem;padding:clamp(1.35rem,3vw,2.2rem);display:flex;box-shadow:0 18px 38px #0b49282e}.whatsapp-eyebrow{color:#a8e5b9;letter-spacing:.14em;text-transform:uppercase;margin-bottom:.4rem;font-size:.68rem;font-weight:800;display:block}.whatsapp-hero h1{color:#fff;font-family:var(--font-display);letter-spacing:-.045em;align-items:center;gap:.65rem;margin:0;font-size:clamp(1.35rem,3vw,2rem);display:flex}.whatsapp-hero p{color:#d2f1dc;max-width:680px;margin:.65rem 0 0;line-height:1.55}.whatsapp-hero-status{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffff1a;border:1px solid #fff3;border-radius:17px;flex-direction:column;align-items:center;gap:.35rem;min-width:150px;padding:1rem;display:flex}.whatsapp-hero-status small{color:#bce5c8;font-size:.7rem}.whatsapp-status-dot{background:#aab8b0;border-radius:50%;width:11px;height:11px;display:inline-block;box-shadow:0 0 0 5px #aab8b026}.whatsapp-status-dot,.whatsapp-status-panel.connected .whatsapp-status-dot,.whatsapp-hero-status.connected .whatsapp-status-dot{background:#48d17a;box-shadow:0 0 0 5px #48d17a29}.whatsapp-hero-status.waiting_qr .whatsapp-status-dot,.whatsapp-status-panel.waiting_qr .whatsapp-status-dot,.whatsapp-hero-status.connecting .whatsapp-status-dot,.whatsapp-status-panel.connecting .whatsapp-status-dot{background:#ffd166;box-shadow:0 0 0 5px #ffd16629}.whatsapp-connection-card{margin-bottom:1.25rem;border-top:3px solid #25a865!important;padding:clamp(1rem,2vw,1.5rem)!important}.whatsapp-section-title{border-bottom:1px solid #e3eee6;align-items:center;gap:.75rem;padding-bottom:1rem;display:flex}.whatsapp-section-title>div:nth-child(2){flex:1;min-width:0}.whatsapp-section-title span,.whatsapp-section-title h2{display:block}.whatsapp-section-title span{color:#639073;letter-spacing:.12em;text-transform:uppercase;font-size:.68rem;font-weight:800}.whatsapp-section-title h2{color:#173b29;font-family:var(--font-display);margin:.2rem 0 0;font-size:1.15rem}.whatsapp-section-icon{color:#177144;background:#dff4e5;border-radius:13px;flex:0 0 42px;place-items:center;width:42px;height:42px;display:grid}.whatsapp-refresh{white-space:nowrap}.whatsapp-connection-body{grid-template-columns:1fr auto;align-items:center;gap:1rem;padding-top:1rem;display:grid}.whatsapp-status-panel{color:#23613b;background:#f2faf4;border:1px solid #d8e9dd;border-radius:15px;justify-content:space-between;align-items:center;gap:1rem;min-width:0;padding:1rem 1.1rem;display:flex}.whatsapp-status-panel p{color:#63806c;margin:.35rem 0 0;font-size:.82rem}.whatsapp-status-panel>svg{flex:none}.whatsapp-connect-btn{justify-content:center;min-width:190px}.whatsapp-disconnect-btn{grid-column:1/-1;justify-content:center}.whatsapp-waiting,.whatsapp-qr-box{color:#4e7060;text-align:center;background:#f8fcf9;border:1px dashed #bfdcc6;border-radius:15px;grid-column:1/-1;justify-content:center;align-items:center;gap:.75rem;padding:1.15rem;display:flex}.whatsapp-qr-box{flex-direction:column}.whatsapp-qr-box p{color:#557261;max-width:430px;margin:0;font-size:.83rem;line-height:1.5}.whatsapp-qr-box img{background:#fff;border:1px solid #d6e9db;border-radius:14px;width:190px;height:190px;padding:.5rem;box-shadow:0 10px 24px #183d2b1a}.whatsapp-share-card{margin-bottom:1.25rem;background:linear-gradient(145deg,#f5fcf6,#fff)!important;border:1px solid #cde6d4!important}.whatsapp-share-card>p{color:#5c7665;max-width:760px;margin:1rem 0;line-height:1.55}.whatsapp-share-card>.crm-btn{min-height:44px}.whatsapp-share-result{background:#fff;border:1px solid #cce4d2;border-radius:13px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:.65rem;padding:.85rem;display:grid}.whatsapp-share-result strong{color:#1b7545;font-size:.82rem}.whatsapp-share-result input{color:#4f6d5a;background:#f8fcf9;border:1px solid #d5e6d9;border-radius:9px;width:100%;min-width:0;padding:.65rem .75rem;font-size:.76rem}.whatsapp-share-result small{color:#75907d;grid-column:1/-1;font-size:.72rem}.spin-icon{animation:1.2s linear infinite spin}.whatsapp-console>section.crm-card{border-radius:20px!important}.whatsapp-console>section.crm-card:nth-of-type(3){border-top:3px solid #7b67cf!important}.whatsapp-console>section.crm-card:nth-of-type(3)>form{background:#faf9ff;border:1px dashed #cfc8ee;border-radius:16px;padding:1rem}.whatsapp-console>section.crm-card:nth-of-type(3) input[type=file]{color:#5c5680;background:#fff;border:1px dashed #a99ed7;border-radius:13px;width:100%;padding:.85rem}.whatsapp-console>section.crm-card:nth-of-type(2),.whatsapp-console>section.crm-card:nth-of-type(3){padding:clamp(1rem,2vw,1.5rem)!important}.whatsapp-console>section.crm-card:nth-of-type(2)>div[style*=marginTop]>div,.whatsapp-console>section.crm-card:nth-of-type(3)>div[style*=gridTemplateColumns]>div{box-shadow:0 7px 18px #183d2b0d;border-color:#dcebe1!important;border-radius:15px!important}@media (width<=700px){.whatsapp-hero{border-radius:18px;flex-direction:column;align-items:stretch}.whatsapp-hero-status{align-items:flex-start}.whatsapp-connection-body{grid-template-columns:1fr}.whatsapp-connect-btn{width:100%}.whatsapp-section-title{flex-wrap:wrap;align-items:flex-start}.whatsapp-refresh{margin-left:auto}.whatsapp-section-title h2{font-size:1rem}.whatsapp-share-result{grid-template-columns:1fr}.whatsapp-share-result small{grid-column:auto}.whatsapp-share-result .crm-btn{justify-content:center;width:100%}}.crm-mobile-bottom-nav{gap:.25rem;height:76px!important;padding:.45rem .55rem calc(.45rem + env(safe-area-inset-bottom))!important;background:#10281d!important;border:0!important;box-shadow:0 -12px 28px #0826162e!important}.mobile-bottom-link,.mobile-bottom-more{flex:1;min-width:58px;max-width:90px;color:#afc8b7!important;background:0 0!important;border:0!important;border-radius:15px!important;gap:.25rem!important;width:auto!important;height:100%!important;font-size:.68rem!important;font-weight:700!important}.mobile-bottom-link svg,.mobile-bottom-more svg{box-sizing:content-box;border-radius:10px;width:21px;height:21px;padding:4px}.mobile-bottom-link.active,.mobile-bottom-more:focus-visible{color:#104d30!important;background:#ccefd8!important}.mobile-bottom-link.active svg{background:#9edbb1}.mobile-bottom-more{color:#d2e3d7!important}.mobile-bottom-more svg{background:#ffffff1a}@media (width>=769px){.crm-mobile-bottom-nav{display:none!important}}.page-shell{max-width:1500px;margin:0 auto}.page-intro{background:linear-gradient(135deg,#f5fcf7 0%,#fff 70%);border:1px solid #dcebe0;border-radius:22px;justify-content:space-between;align-items:flex-end;gap:1.25rem;margin-bottom:1.25rem;padding:clamp(1.15rem,3vw,1.8rem);display:flex;box-shadow:0 12px 30px #183d2b0f}.page-intro h2{color:#173b29;font-family:var(--font-display);letter-spacing:-.045em;margin:.35rem 0 .3rem;font-size:clamp(1.45rem,3vw,2rem)}.page-intro p{color:#6c8374;max-width:720px;margin:0;line-height:1.5}.eyebrow{color:#4d8b61;letter-spacing:.12em;text-transform:uppercase;align-items:center;gap:.35rem;font-size:.68rem;font-weight:800;display:inline-flex}.toolbar-card{box-shadow:var(--shadow-sm);background:#fffc;border:1px solid #e0ece3;border-radius:16px;align-items:center;gap:.75rem;margin-bottom:1.2rem;padding:.75rem;display:flex}.search-field{flex:1;align-items:center;min-width:0;display:flex;position:relative}.search-field>svg{z-index:1;color:#639272;pointer-events:none;position:absolute;left:.9rem}.search-field .crm-input{width:100%;padding-left:2.7rem!important}.empty-state{color:#8aa092;text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:.5rem;min-height:230px;display:flex}.empty-state svg{color:#8acb9d}.empty-state h3{color:#315b40;font-family:var(--font-display)}.empty-state p{margin:0}.table-subtext,.table-note,.table-description{display:block}.table-subtext{color:#8a9c90;margin-top:.25rem;font-size:.72rem}.table-note{color:#4d8b61;margin-top:.3rem;font-size:.72rem;font-style:italic}.table-description{color:#42594b;max-width:360px;line-height:1.4}.muted{color:#8a9c90}.mono-code{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:.78rem}.row-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:.35rem;display:inline-flex}.icon-btn{color:#4a7358;cursor:pointer;width:34px;height:34px;transition:var(--transition-smooth);background:#f6fbf7;border:1px solid #d8e7dc;border-radius:10px;place-items:center;padding:0;display:inline-grid}.icon-btn:hover{color:#165e37;background:#e7f6eb;border-color:#96c5a4;transform:translateY(-1px)}.icon-btn.danger{color:#bd5a51;background:#fff7f5;border-color:#f1d3cf}.compact-btn{min-height:34px!important;padding:.42rem .65rem!important;font-size:.72rem!important}.date-chip,.document-chip{color:#3c7551;background:#eaf8ee;border-radius:99px;align-items:center;gap:.3rem;width:max-content;padding:.3rem .55rem;font-size:.72rem;font-weight:700;display:inline-flex}.document-chip{color:#5360a0;background:#f0f1ff}.status-abierto,.status-pendiente{color:#916017!important;background:#fff8dc!important}.status-en_proceso{color:#2d709a!important;background:#e9f5ff!important}.status-resuelto,.status-aprobada,.status-completada,.status-entregado{color:#247443!important;background:#e5f7ea!important}.status-rechazada,.status-vencida,.status-cancelada{color:#aa4b45!important;background:#fff0ee!important}.modal-form{padding:clamp(1rem,3vw,1.6rem);overflow-y:auto}.form-grid-2{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;display:grid}.modal-actions{border-top:1px solid #e4eee6;justify-content:flex-end;gap:.75rem;margin-top:1.35rem;padding-top:1rem;display:flex}.crm-modal-header .eyebrow{margin-bottom:.2rem;display:block}.quote-context,.calculator-hint,.batch-banner{color:#5d7867;background:#f4fbf5;border:1px solid #d6eadd;border-radius:13px;flex-direction:column;gap:.25rem;margin:.2rem 0 1.1rem;padding:.85rem 1rem;font-size:.78rem;line-height:1.45;display:flex}.quote-context strong{color:#215b39}.section-heading{border-bottom:1px solid #e3eee6;justify-content:space-between;align-items:center;gap:1rem;margin:1.25rem 0 .85rem;padding-bottom:.75rem;display:flex}.section-heading h3,.section-heading h4{color:#214f31;font-family:var(--font-display);margin:.25rem 0 0}.quote-form-card{padding:clamp(1rem,3vw,2rem)!important}.quote-lines-header,.quote-line{grid-template-columns:minmax(190px,2.2fr) .75fr 1fr .85fr 1fr 36px;align-items:center;gap:.55rem;display:grid}.quote-lines-header{color:#6c8374;letter-spacing:.05em;text-transform:uppercase;padding:0 .65rem .45rem;font-size:.68rem;font-weight:800}.quote-line{background:#fbfefb;border:1px solid #e0ebe2;border-radius:13px;margin-bottom:.55rem;padding:.55rem}.discount-input{position:relative}.discount-input svg{z-index:1;color:#70917a;position:absolute;top:50%;left:.55rem;transform:translateY(-50%)}.discount-input .crm-input{padding-left:1.7rem!important}.line-total{color:#256f43;text-align:right;white-space:nowrap}.totals-card{background:#f6fbf7;border:1px solid #dcebe0;border-radius:15px;gap:.45rem;width:min(430px,100%);margin:1.3rem 0 0 auto;padding:1rem 1.1rem;display:grid}.totals-card>div{color:#62786a;justify-content:space-between;align-items:center;gap:1rem;font-size:.82rem;display:flex}.totals-card>div strong{color:#315b40}.totals-card .discount-row strong{color:#b2564d}.totals-card .grand-total{color:#1b5d36;border-top:1px solid #cfe2d4;margin-top:.25rem;padding-top:.7rem;font-size:1rem}.totals-card .grand-total strong{color:var(--brand-primary);font-size:1.25rem}.order-line{background:#fbfefb;border:1px solid #e0ebe2;border-radius:13px;grid-template-columns:minmax(220px,2fr) .7fr 1fr .75fr 36px;align-items:center;gap:.55rem;margin-bottom:.55rem;padding:.55rem;display:grid}.supplier-box,.product-calculation-box{background:#f7fcf8;border:1px solid #d6eadd;border-radius:15px;margin:1rem 0;padding:1rem}.supplier-box h4,.product-calculation-box h4{color:#255d3b;font-family:var(--font-display)}.calculator-tabs{grid-template-columns:repeat(3,minmax(0,1fr));gap:.85rem;margin-bottom:1.25rem;display:grid}.calculator-tab,.report-tab{color:#5b7665;cursor:pointer;min-height:56px;transition:var(--transition-smooth);background:#fff;border:1px solid #d8e8dc;border-radius:14px;justify-content:center;align-items:center;gap:.55rem;font-weight:700;display:flex}.calculator-tab:hover,.report-tab:hover{border-color:#9cc9a8;transform:translateY(-1px)}.calculator-tab.active,.report-tab.active{color:#17683f;background:#e8f7ec;border-color:#79bb8d;box-shadow:0 9px 20px #1884511a}.calculator-layout{grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr);gap:1.25rem;display:grid}.calculator-form,.calculator-result{padding:clamp(1rem,3vw,1.6rem)!important}.calculator-result{flex-direction:column;justify-content:center;min-height:390px;display:flex;background:linear-gradient(145deg,#effaf2,#fff)!important;border-color:#cfe8d5!important}.calculator-result h3{color:#205c38;font-family:var(--font-display);margin:.35rem 0 1.3rem;font-size:1.2rem}.result-number{color:#17683f;font-family:var(--font-display);letter-spacing:-.06em;margin-bottom:1.25rem;font-size:clamp(2.3rem,5vw,3.4rem);font-weight:800}.result-number small{color:#648270;font-family:var(--font-main);letter-spacing:0;margin-left:.4rem;font-size:1rem;font-weight:700}.result-detail{color:#6c8374;border-bottom:1px solid #e2eee5;justify-content:space-between;align-items:center;gap:1rem;padding:.75rem 0;font-size:.8rem;display:flex}.result-detail strong{color:#2e5d3e;text-align:right}.result-detail.highlight{background:#e9f8ed;border:1px solid #bfe0c8;border-radius:12px;margin-top:.25rem;padding:.8rem}.mix-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:.6rem;display:grid}.mix-grid label{min-width:0}.sum-indicator{color:#9a5a18;background:#fff6dc;border-radius:11px;justify-content:space-between;align-items:center;gap:1rem;margin:.9rem 0;padding:.7rem .85rem;font-size:.78rem;display:flex}.sum-indicator.valid{color:#2a7445;background:#e8f8ec}.mix-result-list{gap:.65rem;display:grid}.mix-result-list>div{color:#668071;background:#fff;border:1px solid #e0ebe2;border-radius:12px;justify-content:space-between;align-items:center;padding:.8rem;font-size:.8rem;display:flex}.mix-result-list strong{color:#255d3b}.loading-note{text-align:center;margin-top:.7rem}.invoice-modal{max-width:680px!important}.paid-label{color:#2b7b47;align-items:center;gap:.25rem;font-size:.78rem;font-weight:700;display:inline-flex}.detail-line{border-bottom:1px solid #e7efe9;justify-content:space-between;align-items:center;gap:1rem;padding:.85rem 0;display:flex}.detail-line strong,.detail-line small{display:block}.detail-line small{color:#789080;margin-top:.2rem;font-size:.72rem}.print-page{max-width:960px;margin:0 auto}.print-toolbar{justify-content:space-between;gap:.75rem;margin-bottom:1rem;display:flex}.printable-document{box-shadow:var(--shadow-md);color:#294e36;background:#fff;border:1px solid #dbe9df;border-radius:18px;padding:clamp(1.3rem,4vw,3rem)}.print-header,.print-client{justify-content:space-between;gap:2rem;display:flex}.print-header{border-bottom:2px solid var(--brand-primary);padding-bottom:1.25rem}.print-brand-mark{font-size:2.4rem}.print-header h1{color:var(--brand-primary);font-family:var(--font-display);margin:.15rem 0 .2rem}.print-header p,.print-title small,.print-client span{color:#718579;font-size:.78rem;line-height:1.5;display:block}.print-title{text-align:right;flex-direction:column;align-items:flex-end;gap:.25rem;display:flex}.print-title>span{color:var(--brand-primary);font-size:1.3rem;font-weight:800}.print-client{padding:1.4rem 0}.print-client div{flex-direction:column;gap:.18rem;min-width:0;display:flex}.print-client strong{color:#214f31}.print-table{border-collapse:collapse;width:100%;margin:1rem 0 1.6rem;font-size:.8rem}.print-table th,.print-table td{text-align:right;border-bottom:1px solid #e0ebe2;padding:.75rem .55rem}.print-table th:first-child,.print-table td:first-child{text-align:left}.print-table td small{color:#80958a;margin-top:.18rem;font-size:.7rem;display:block}.print-total-box{background:#f5faf6;border-radius:13px;gap:.45rem;width:min(360px,100%);margin-left:auto;padding:1rem;display:grid}.print-total-box span,.print-total-box b{justify-content:space-between;gap:1rem;font-size:.82rem;display:flex}.print-total-box b{color:var(--brand-primary);border-top:1px solid #cbe0d0;padding-top:.55rem;font-size:1rem}.print-footer-note{color:#718579;white-space:pre-wrap;border-top:1px dashed #cfe2d4;margin-top:2rem;padding-top:1rem;font-size:.75rem}.report-filters{background:#fff;border:1px solid #dfece2;border-radius:16px;align-items:flex-end;gap:.8rem;margin-bottom:1rem;padding:.9rem;display:flex}.report-filters .crm-input-group{flex:1;margin:0}.report-tabs{flex-wrap:wrap;gap:.45rem;margin-bottom:1rem;display:flex}.report-tab{min-height:40px;padding:.55rem .8rem;font-size:.78rem}.report-metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:.85rem;margin-bottom:1.2rem;display:grid}.report-metric{min-height:145px;box-shadow:var(--shadow-sm);background:#fff;border:1px solid #dcebe0;border-radius:16px;flex-direction:column;justify-content:space-between;padding:1.15rem;display:flex}.report-metric span,.report-metric small{color:#789080;font-size:.75rem}.report-metric strong{color:#1b6840;font-family:var(--font-display);font-size:1.65rem}.report-metric.warning strong{color:#ae6b20}.report-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;display:grid}.progress-row{color:#6f8576;grid-template-columns:90px 1fr 50px;align-items:center;gap:.65rem;padding:.5rem 0;font-size:.76rem;display:grid}.progress-row>div{background:#e7f0e9;border-radius:99px;height:8px;overflow:hidden}.progress-row i{background:var(--brand-primary);border-radius:99px;height:100%;display:block}.progress-row strong{color:#315b40;text-align:right;font-size:.75rem}.empty-cell{color:#8aa092;text-align:center;padding:3rem!important}@media (width<=900px){.calculator-layout,.report-grid{grid-template-columns:1fr}.report-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.quote-lines-header{display:none}.quote-line{grid-template-columns:minmax(0,1fr) .8fr 1fr}.quote-line>:nth-child(4),.quote-line>:nth-child(5){grid-column:span 1}.order-line{grid-template-columns:minmax(0,1fr) .75fr 1fr}}@media (width<=640px){.page-intro{flex-direction:column;align-items:stretch}.page-intro .crm-btn{align-self:flex-start}.form-grid-2,.report-filters{flex-direction:column;grid-template-columns:1fr;align-items:stretch}.report-filters .crm-btn{justify-content:center;width:100%}.report-metrics{grid-template-columns:1fr 1fr}.calculator-tabs{grid-template-columns:1fr}.calculator-tab{justify-content:flex-start;padding:.9rem 1rem}.mix-grid{grid-template-columns:1fr}.print-header,.print-client{flex-direction:column}.print-title{text-align:left;align-items:flex-start}.toolbar-card{align-items:stretch}.toolbar-card>.crm-btn{flex:none}}@media print{.no-print,.crm-sidebar,.crm-header,.crm-mobile-bottom-nav{display:none!important}body,.crm-layout,.crm-main-container,.crm-content{background:#fff!important}.printable-document{box-shadow:none;border:0}}:root{--font-main:Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;--font-display:Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;--bg-app:#f8fafc;--bg-card:#fff;--text-main:#1f2937;--text-muted:#6b7280;--text-soft:#9ca3af;--border-color:#e5e7eb;--brand-primary:#16a34a;--brand-primary-hover:#15803d;--brand-primary-light:#dcfce7;--brand-accent:#86efac;--brand-gradient:linear-gradient(135deg, #15803d, #22c55e);--radius-sm:8px;--radius-md:12px;--radius-lg:16px;--shadow-sm:0 1px 3px #0f172a0f, 0 8px 24px #1665340a;--shadow-md:0 10px 28px #16653414}[data-brand=organica]{--brand-primary:#16a34a;--brand-primary-hover:#15803d;--brand-primary-light:#dcfce7;--brand-accent:#86efac;--brand-gradient:linear-gradient(135deg, #15803d, #22c55e)}body{color:#1f2937;background:linear-gradient(#f0fdf4 0,#f8fafc 300px 100%)!important}.crm-layout{background:0 0!important}.crm-sidebar{color:#4b5563!important;background:#fff!important;border-right:1px solid #e5e7eb!important;width:274px!important;box-shadow:4px 0 18px #1665340d!important}.crm-sidebar>div:first-child{background:linear-gradient(#f0fdf4,#fff)!important;border-bottom:1px solid #dcfce7!important;padding:1.35rem 1.2rem!important}.crm-sidebar>div:first-child h2{font-family:var(--font-display);letter-spacing:-.025em;color:#14532d!important}.crm-sidebar>div:first-child span{color:#4b7f5b!important}.crm-sidebar nav{gap:.25rem!important;padding:1rem .8rem!important}.nav-item-wrap{display:block}.nav-section-label{color:#9ca3af;letter-spacing:.1em;text-transform:uppercase;margin:.8rem .7rem .35rem;font-size:.64rem;font-weight:800;display:block}.nav-item-wrap:first-child .nav-section-label{margin-top:.1rem}.crm-sidebar nav a.nav-link{color:#4b5563!important;box-shadow:none!important;border-radius:9px!important;padding:.66rem .72rem!important;font-size:.84rem!important;font-weight:500!important}.crm-sidebar nav a.nav-link:hover{transform:none;color:#166534!important;background:#f0fdf4!important}.crm-sidebar nav a.nav-link.active{color:#166534!important;background:#dcfce7!important;font-weight:700!important;box-shadow:inset 3px 0 #16a34a!important}.crm-sidebar>div:last-child{background:#f9fafb!important;border-top:1px solid #e5e7eb!important}.crm-sidebar>div:last-child p{color:#374151!important}.crm-sidebar>div:last-child>div:first-child{color:inherit!important;background:0 0!important}.crm-sidebar>div:last-child>div:first-child>div:first-child{color:#166534!important;background:#dcfce7!important}.crm-header{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#fffffff5!important;border-bottom:1px solid #e5e7eb!important;height:72px!important;padding:0 clamp(1rem,3vw,2.25rem)!important;box-shadow:0 1px #ffffffe6!important}.crm-header h1{font-family:var(--font-display);letter-spacing:-.025em;color:#1f2937!important}.brand-badge{color:#166534!important;background:#f0fdf4!important;border:1px solid #bbf7d0!important}.crm-content{max-width:1500px;padding:clamp(1rem,3vw,2rem)!important}.dashboard-hero{color:#14532d!important;box-shadow:var(--shadow-sm)!important;background:linear-gradient(135deg,#f0fdf4 0%,#fff 78%)!important;border:1px solid #bbf7d0!important;border-top:4px solid #16a34a!important;border-radius:14px!important;padding:clamp(1.35rem,3vw,2rem)!important}.dashboard-hero h2{color:#14532d!important;font-size:clamp(1.35rem,3vw,1.9rem)!important}.metrics-grid .crm-card:after{opacity:.72;background:#dcfce7}.metrics-grid .crm-card h3{color:#1f2937!important}.page-intro{align-items:center;position:relative;overflow:hidden;box-shadow:var(--shadow-sm)!important;background:#fff!important;border:1px solid #e5e7eb!important;border-top:4px solid #16a34a!important;border-radius:12px!important;padding:clamp(1.15rem,3vw,1.65rem)!important}.page-intro:after{content:"";pointer-events:none;border:18px solid #22c55e1a;border-radius:50%;width:120px;height:120px;position:absolute;top:-60px;right:-48px}.page-intro h2{font-size:clamp(1.35rem,3vw,1.85rem);color:#166534!important}.page-intro p{color:#6b7280!important}.eyebrow{letter-spacing:.1em;color:#16a34a!important}.crm-card{box-shadow:var(--shadow-sm)!important;background:#fff!important;border:1px solid #e5e7eb!important;border-radius:12px!important}.crm-card:hover{box-shadow:var(--shadow-md)!important;border-color:#bbf7d0!important}.crm-card>h2,.crm-card>h3,.crm-card>h4,.section-heading h3,.section-heading h4{color:#166534!important}.section-heading{border-bottom:1px solid #ecfdf5;padding-bottom:.75rem}.section-heading h3,.section-heading h4{font-size:1.02rem}.section-heading .eyebrow{color:#16a34a!important}.crm-btn{border-radius:8px!important}.crm-btn-primary{color:#fff!important;background:#16a34a!important}.crm-btn-secondary{color:#166534!important;background:#f0fdf4!important;border-color:#bbf7d0!important}.crm-input,.crm-input-group input,.crm-input-group textarea,.crm-input-group select{background:#fff!important;border-color:#d1d5db!important;border-radius:8px!important}.crm-input:focus,.crm-input-group input:focus,.crm-input-group textarea:focus,.crm-input-group select:focus{border-color:#16a34a!important;box-shadow:0 0 0 3px #22c55e29!important}.crm-label,.crm-input-group label{color:#374151!important}.crm-table-container{border-color:#e5e7eb!important;border-radius:12px!important}.crm-table th{color:#166534!important;background:#f0fdf4!important}.crm-table tr:hover td{background:#f9fffb!important}.date-chip,.document-chip{color:#166534;background:#dcfce7}.quote-context,.calculator-hint,.batch-banner{color:#4b7f5b;background:#f0fdf4;border-color:#bbf7d0}.crm-modal-header{background:linear-gradient(#f0fdf4,#fff)!important;border-bottom-color:#bbf7d0!important}.mobile-nav-section-label{color:#9ca3af;letter-spacing:.1em;text-transform:uppercase;margin:.85rem .7rem .35rem;font-size:.64rem;font-weight:800;display:block}.mobile-nav-item-wrap:first-child .mobile-nav-section-label{margin-top:.1rem}.mobile-nav-link{color:#4b5563!important;border-radius:9px!important}.dashboard-planning-section{margin-top:1.25rem;padding:1.35rem!important}.dashboard-planning-heading{justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1rem;display:flex}.dashboard-planning-heading h3{margin-top:.25rem;font-size:1.08rem;color:#166534!important}.dashboard-reference-pill{color:#15803d;background:#f0fdf4;border:1px solid #bbf7d0;border-radius:999px;align-items:center;min-height:30px;padding:.35rem .65rem;font-size:.7rem;font-weight:700;display:inline-flex}.dashboard-planning-links{grid-template-columns:repeat(2,minmax(0,1fr));gap:.85rem;display:grid}.dashboard-planning-card{color:#166534;text-align:left;cursor:pointer;width:100%;min-width:0;transition:var(--transition-smooth);background:#fff;border:1px solid #e5e7eb;border-radius:10px;align-items:center;gap:.75rem;padding:1rem;display:flex}.dashboard-planning-card:hover{box-shadow:var(--shadow-sm);background:#f0fdf4;border-color:#86efac;transform:translateY(-2px)}.dashboard-planning-icon{color:#15803d;background:#dcfce7;border-radius:10px;flex:0 0 42px;place-items:center;width:42px;height:42px;display:grid}.dashboard-planning-copy{flex-direction:column;flex:1;gap:.2rem;min-width:0;display:flex}.dashboard-planning-copy strong{color:#166534;font-size:.87rem}.dashboard-planning-copy small{color:#6b7280;font-size:.74rem;line-height:1.4}.dashboard-info-note{color:#4b7f5b;background:#f0fdf4;border-left:3px solid #22c55e;border-radius:0 8px 8px 0;margin:1rem 0 0;padding:.85rem 1rem;font-size:.78rem;line-height:1.5}.dashboard-info-note strong{color:#166534}.calculator-unit-note{color:#6b7280;margin-top:.3rem;font-size:.72rem;line-height:1.4}@media (width<=768px){body{background:linear-gradient(#f0fdf4 0,#f8fafc 220px)!important}.dashboard-hero,.page-intro,.crm-card{border-radius:11px!important}.dashboard-planning-heading{flex-direction:column;align-items:flex-start}.dashboard-planning-links{grid-template-columns:1fr}}.printable-document{border:1px solid #d8e6dc;border-radius:20px;position:relative;overflow:hidden;box-shadow:0 24px 60px #14532d21}.print-header{border-bottom:1px solid #cfe0d4;align-items:center;padding:.35rem 0 1.5rem}.print-client{grid-template-columns:minmax(0,1.15fr) minmax(250px,.85fr);gap:.8rem;padding:1.25rem 0 .85rem;display:grid}.print-table{border-collapse:separate;border-spacing:0;border:1px solid #dce8df;border-radius:12px;overflow:hidden}.invoice-modal{width:min(940px,100vw - 2rem);max-height:94vh;max-width:940px!important}@media (width<=700px){.print-client{grid-template-columns:1fr}.invoice-modal{width:min(100% - 1rem,940px)}}:root{--ref-ink:#183326;--ref-green:#0b8f4b;--ref-green-dark:#075d33;--ref-mint:#effff4;--ref-mint-strong:#def8e7;--ref-line:#bce8ca;--ref-blue:#2563eb;--ref-blue-soft:#eff6ff;--ref-purple:#7c3aed;--font-main:Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif!important;--font-display:Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif!important;--bg-app:#f3fff7!important;--bg-card:#fff!important;--text-main:#183326!important;--text-muted:#668071!important;--text-soft:#93a99a!important;--border-color:#cfe9d7!important;--brand-primary:#0b8f4b!important;--brand-primary-hover:#08743d!important;--brand-primary-light:#e1f8e9!important;--brand-accent:#79d99b!important;--brand-gradient:linear-gradient(135deg, #08743d 0%, #14a85a 100%)!important;--radius-sm:9px!important;--radius-md:14px!important;--radius-lg:20px!important;--shadow-sm:0 3px 12px #135d3414!important;--shadow-md:0 14px 34px #135d3424!important}html{background:#f3fff7;min-width:320px}body{min-width:320px;color:var(--ref-ink);font-family:var(--font-main);-webkit-font-smoothing:antialiased;text-rendering:optimizelegibility;background:radial-gradient(circle at 2% 0,#b1f4c640,#0000 26rem),linear-gradient(#fff 0%,#f1fff6 45%,#fff 100%);margin:0}#root{min-height:100vh}button,input,select,textarea{font-family:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline-offset:2px;outline:3px solid #2563eb40!important}::selection{color:#fff;background:var(--ref-green)}.crm-layout{color:var(--ref-ink)!important;background:0 0!important}.crm-sidebar{color:#6b8173!important;border-right:1px solid var(--ref-line)!important;background:#fff!important;width:286px!important;box-shadow:10px 0 30px #0e5e3112!important}.crm-sidebar>div:first-child{position:relative;border-bottom:3px solid var(--ref-green)!important;background:linear-gradient(145deg,#effff4 0%,#fff 82%)!important;gap:.85rem!important;padding:1.25rem 1.2rem 1.15rem!important}.crm-sidebar>div:first-child>span{border:1px solid var(--ref-line);background:#fff;border-radius:50%;place-items:center;overflow:hidden;box-shadow:0 8px 20px #0b8f4b1f;flex:0 0 58px!important;width:58px!important;height:58px!important;font-size:0!important;display:grid!important}.sidebar-brand-mark,.header-brand-mark,.mobile-brand-mark,.login-brand-mark{object-fit:contain;max-width:100%;max-height:100%;display:block}.sidebar-brand-mark{border-radius:50%;width:50px;height:50px;padding:.25rem}.document-logo-fallback{width:100%;height:100%;color:var(--ref-green);font-family:var(--font-display);letter-spacing:-.08em;place-items:center;font-weight:850;display:grid;font-size:1.2rem!important}.crm-sidebar .sidebar-brand-mark.document-logo-fallback-image,.login-card .login-brand-mark.document-logo-fallback-image{transform:scale(1.55)}.crm-sidebar>div:first-child h2{font-family:var(--font-display);letter-spacing:-.04em;color:var(--ref-green-dark)!important;margin:0!important;font-size:1.08rem!important;font-weight:800!important}.crm-sidebar>div:first-child span:not(:first-child){color:#739080!important;font-size:.7rem!important}.crm-sidebar nav{background:#fff!important;gap:.18rem!important;padding:1rem .8rem!important}.nav-section-label,.mobile-nav-section-label{letter-spacing:.12em;text-transform:uppercase;color:#739080!important;padding:.8rem .75rem .35rem!important;font-size:.62rem!important;font-weight:850!important}.nav-link{min-height:42px;color:#5f7668!important;border:1px solid #0000!important;border-radius:11px!important;padding:.66rem .8rem!important;font-size:.83rem!important;font-weight:650!important}.nav-link svg{color:#88a797;stroke-width:1.8px}.nav-link:hover{transform:translate(2px);color:var(--ref-green-dark)!important;background:#effff4!important;border-color:#d7f2df!important}.nav-link.active{color:var(--ref-green-dark)!important;background:var(--ref-mint-strong)!important;box-shadow:inset 3px 0 0 var(--ref-green), 0 6px 14px #0b8f4b14!important;border-color:#b4e8c4!important}.nav-link.active svg{color:var(--ref-green)}.crm-sidebar>div:last-child{background:#fbfffc!important;border-top:1px solid #dcefe1!important;padding:.9rem!important}.crm-sidebar>div:last-child>div:first-child>div:first-child,.mobile-nav-footer>div:first-child>div:first-child{box-shadow:0 6px 14px #0b8f4b33;background:var(--ref-green)!important}.crm-sidebar>div:last-child p:first-child,.mobile-nav-footer p:first-child{color:var(--ref-green-dark)!important}.crm-sidebar>div:last-child p:last-child,.mobile-nav-footer p:last-child{color:#789284!important}.crm-main-container{min-width:0;background:0 0!important}.crm-header{border-bottom:3px solid var(--ref-green)!important;background:#fffffff5!important;height:78px!important;padding:0 2rem!important;box-shadow:0 4px 16px #11552f0d!important}.crm-header h1{font-family:var(--font-display);letter-spacing:-.035em;color:var(--ref-green-dark)!important;font-size:1.22rem!important;font-weight:800!important}.brand-badge{min-height:38px;color:var(--ref-green-dark)!important;border:1px solid var(--ref-line)!important;background:#effff4!important;border-radius:999px!important;padding:.3rem .75rem .3rem .4rem!important;font-size:.75rem!important}.header-brand-mark,.mobile-brand-mark{background:#fff;border:1px solid #bde9ca;border-radius:50%;width:29px;height:29px;padding:.15rem}.crm-content{background:radial-gradient(circle at 100% 0,#bcf6cd2e,#0000 28rem),linear-gradient(#fafffbe0,#f2fff7f5)!important;width:100%!important;max-width:1600px!important;padding:2.1rem 2.2rem 3.5rem!important}.page-shell{width:min(100%,1420px);margin:0 auto}.page-intro{position:relative;overflow:hidden;border:1px solid var(--ref-line)!important;background:linear-gradient(112deg,#eafff0 0%,#fff 68%)!important;border-radius:18px!important;align-items:center!important;gap:1.5rem!important;margin-bottom:1.35rem!important;padding:clamp(1.2rem,3vw,1.65rem) clamp(1.25rem,3vw,2rem)!important;box-shadow:0 10px 28px #12683912!important}.page-intro:after{content:"";border:28px solid #0b8f4b14;border-radius:50%;width:190px;height:190px;position:absolute;bottom:-84px;right:-42px}.page-intro>*{z-index:1;position:relative}.eyebrow{color:#468b60!important;letter-spacing:.13em!important;font-size:.65rem!important;font-weight:850!important}.page-intro h2{font-family:var(--font-display);color:var(--ref-green-dark)!important;letter-spacing:-.055em!important;font-size:clamp(1.45rem,3vw,2rem)!important;font-weight:850!important}.page-intro p{color:#698274!important;font-size:.86rem!important}.crm-card{color:var(--ref-ink)!important;border:1px solid var(--ref-line)!important;background:#fff!important;border-radius:16px!important;box-shadow:0 8px 24px #12683912!important}.crm-card:hover{border-color:#a5dfb8!important;transform:none!important;box-shadow:0 12px 30px #1268391a!important}.crm-card h2,.crm-card h3,.crm-card h4,.section-heading h3{font-family:var(--font-display);letter-spacing:-.035em;color:var(--ref-green-dark)!important}.crm-label,.crm-input-group label{color:#4c705a!important;letter-spacing:.025em!important;font-size:.71rem!important;font-weight:800!important}.crm-input,.crm-input-group input,.crm-input-group textarea,.crm-input-group select{min-height:44px;color:var(--ref-ink)!important;box-shadow:none!important;background:#fff!important;border:1px solid #a8dfb9!important;border-radius:9px!important}.crm-input::placeholder{color:#9aafa1!important}.crm-input:hover,.crm-input-group input:hover,.crm-input-group textarea:hover,.crm-input-group select:hover{border-color:#68c989!important}.crm-input:focus,.crm-input-group input:focus,.crm-input-group textarea:focus,.crm-input-group select:focus{border-color:var(--ref-green)!important;background:#fff!important;box-shadow:0 0 0 4px #0b8f4b21!important}.crm-btn{letter-spacing:.005em;min-height:42px;border-radius:9px!important;padding:.68rem 1rem!important;font-size:.8rem!important;font-weight:800!important}.crm-btn:hover:not(:disabled){transform:translateY(-1px)!important;box-shadow:0 8px 18px #0b8f4b2e!important}.crm-btn-primary{color:#fff!important;background:linear-gradient(135deg,#0b8f4b,#16a85b)!important;border-color:#0b8f4b!important}.crm-btn-primary:hover:not(:disabled){background:linear-gradient(135deg,#08743d,#0b8f4b)!important}.crm-btn-secondary{color:var(--ref-green-dark)!important;background:#fff!important;border:1px solid #91d7a7!important}.crm-btn-secondary:hover:not(:disabled){background:#effff4!important}.crm-btn-danger{color:#b13f39!important;background:#fff5f4!important;border-color:#f3c7c2!important}.crm-table-container{overflow:auto;border:1px solid var(--ref-line)!important;background:#fff!important;border-radius:14px!important;box-shadow:0 8px 24px #1268390f!important}.crm-table{min-width:680px;color:var(--ref-ink)!important;font-size:.81rem!important}.crm-table th{color:#33724d!important;letter-spacing:.065em!important;background:#eafff0!important;border-bottom:2px solid #8fd9a5!important;padding:.85rem 1rem!important;font-size:.66rem!important;font-weight:850!important}.crm-table td{color:#456253!important;border-color:#e6f1e9!important;padding:.9rem 1rem!important}.crm-table tbody tr:hover td{background:#f6fff8!important}.crm-table td strong{color:var(--ref-green-dark)!important}.status-badge{border-radius:999px!important;padding:.32rem .62rem!important;font-size:.66rem!important;font-weight:800!important}.crm-alert{box-shadow:0 5px 14px #1268390d;border:1px solid var(--ref-line)!important;border-radius:11px!important}.crm-modal-backdrop{-webkit-backdrop-filter:blur(9px);backdrop-filter:blur(9px);background:#0523148f!important}.crm-modal{background:#fff!important;border:1px solid #b9e8c8!important;border-radius:18px!important;box-shadow:0 30px 90px #03241259!important}.crm-modal-header{border-bottom:1px solid var(--ref-line)!important;background:linear-gradient(112deg,#eafff0,#fff)!important;min-height:76px!important}.crm-modal-header h2,.crm-modal-header h3,.crm-modal-header h4{color:var(--ref-green-dark)!important}.crm-modal-header button{color:#5f7e6a!important;background:#fff!important;border:1px solid #c4e8cf!important}.crm-modal-header button:hover{color:#b13f39!important;background:#fff5f4!important}.row-actions button,.icon-button{border-radius:8px!important}.dashboard-hero{color:var(--ref-ink)!important;border:1px solid var(--ref-line)!important;border-top:4px solid var(--ref-green)!important;background:linear-gradient(112deg,#e6ffed 0%,#fff 78%)!important;border-radius:17px!important;box-shadow:0 12px 30px #12683914!important}.dashboard-hero:after{border:35px solid #0b8f4b1a;width:280px;height:280px;top:-155px;right:-66px}.dashboard-hero h2{color:var(--ref-green-dark)!important}.dashboard-hero p{color:#668071!important}.metrics-grid .crm-card{min-height:132px;border-top:3px solid #a9e4b9!important}.metrics-grid .crm-card:nth-child(2n){border-top-color:#9ec7fb!important}.metrics-grid .crm-card:nth-child(3n){border-top-color:#d6b4ff!important}.metrics-grid .crm-card:after{background:#e1f8e9!important}.dashboard-reference-pill{color:#2769c7!important;background:#eff6ff!important;border:1px solid #c8ddff!important;border-radius:999px!important}.quick-actions,.dashboard-quick-actions{border:1px solid var(--ref-line)!important;background:#fff!important;border-radius:16px!important}.plan-agricola-page{background:0 0!important}.plan-agricola-page>div:first-child{color:var(--ref-ink)!important;border:1px solid var(--ref-line)!important;border-top:4px solid var(--ref-green)!important;background:linear-gradient(112deg,#e8fff0 0%,#fff 74%)!important;border-radius:18px!important;box-shadow:0 12px 30px #12683914!important}.plan-agricola-page>div:first-child h1,.plan-agricola-page>div:first-child p{color:var(--ref-green-dark)!important;opacity:1!important}.plan-agricola-page>div:first-child p{color:#668071!important}.plan-agricola-page>div:first-child>div>div:first-child{border:1px solid #b8eac7;color:var(--ref-green)!important;background:#d9f8e4!important}.plan-agricola-page>div[style*=minmax\(350px]{align-items:start}.plan-agricola-page .crm-card{box-shadow:0 9px 25px #12683912!important}.plan-agricola-page .crm-card:first-child{border-top:3px solid var(--ref-green)!important}.plan-agricola-page [style*="grid-template-columns: 1fr 1.5fr 1fr 1fr auto"]{background:#f7fff9!important;border:1px solid #ccebd6!important;border-radius:12px!important}.plan-agricola-page [style*="background: #f8fafc"],.plan-agricola-page [style*="background: #f8fafc;"]{background:#f7fff9!important;border-color:#d4eddb!important}.plan-agricola-page .crm-card>div[style*="background: #f8fafc"]{background:#effff4!important;border-color:#c7ead2!important}.report-filters{border:1px solid var(--ref-line)!important;background:#fff!important;border-radius:14px!important;align-items:end!important;padding:1rem!important;box-shadow:0 7px 20px #1268390f!important}.report-tabs{border-bottom:1px solid #cfe9d7;padding-bottom:.35rem;gap:.45rem!important}.report-tab{min-height:40px;color:#527260!important;background:#fff!important;border:1px solid #c4e7cf!important;border-radius:9px!important;font-weight:750!important}.report-tab:hover,.report-tab.active{color:var(--ref-green-dark)!important;background:var(--ref-mint-strong)!important;border-color:#91d7a7!important}.report-metric{border:1px solid var(--ref-line)!important;border-top:3px solid var(--ref-green)!important;background:#fff!important;border-radius:14px!important;box-shadow:0 8px 22px #1268390f!important}.report-metric:nth-child(2n){border-top-color:#4f8df7!important}.report-metric:nth-child(3n){border-top-color:#a070ee!important}.report-metric span,.report-metric small{color:#6f8879!important}.report-metric strong{color:var(--ref-green-dark)!important}.progress-row>div{background:#e3f2e7!important;height:9px!important}.progress-row i{background:linear-gradient(90deg,#0b8f4b,#5bd584)!important}.crm-content .crm-card[style*=var\(--brand-primary-light]{background:linear-gradient(112deg,#effff4,#fff)!important}.crm-content .crm-card[style*=var\(--brand-primary-light] h2,.crm-content .crm-card[style*=var\(--brand-primary-light] h3{color:var(--ref-green-dark)!important}.crm-mobile-bottom-nav{border-top:1px solid var(--ref-line)!important;background:#fffffff5!important;box-shadow:0 -8px 22px #1268391a!important}.crm-mobile-bottom-nav a.active,.mobile-bottom-more.active{color:var(--ref-green)!important}.crm-mobile-drawer{border-left:3px solid var(--ref-green);background:#fff!important}.mobile-nav-header{border-bottom:1px solid var(--ref-line)!important;background:#effff4!important}.mobile-nav-link{color:#5f7668!important}.mobile-nav-link.active{color:var(--ref-green-dark)!important;background:var(--ref-mint-strong)!important}.login-container{position:relative;overflow:hidden;background:radial-gradient(circle at 8% 10%,#6bdd8e3d,#0000 22rem),radial-gradient(circle at 92% 88%,#38bdf81c,#0000 25rem),linear-gradient(145deg,#f4fff7 0%,#fff 55%,#ecfff3 100%)!important}.login-container:before{background:0 0;border:56px solid #0b8f4b14;border-radius:50%;width:390px;height:390px;inset:auto -80px -160px auto}.login-card{z-index:1;color:var(--ref-ink);position:relative;overflow:hidden;border:1px solid var(--ref-line)!important;background:#fffffff7!important;border-radius:24px!important;max-width:460px!important;padding:clamp(2rem,5vw,3rem)!important;box-shadow:0 28px 70px #12683929!important}.login-card:before{content:"";background:linear-gradient(90deg,#08743d,#49cf7b);height:5px;position:absolute;top:0;left:0;right:0}.login-card>div:first-child{border:1px solid var(--ref-line);background:#fff;border-radius:50%;place-items:center;width:84px;height:84px;overflow:hidden;box-shadow:0 9px 22px #0b8f4b21;margin:0 auto 1rem!important;font-size:0!important;display:grid!important}.login-brand-mark{border-radius:50%;width:74px;height:74px;padding:.25rem}.login-card h1{font-family:var(--font-display);color:var(--ref-green-dark)!important;letter-spacing:-.055em!important;font-size:1.75rem!important;font-weight:850!important}.login-card>p{color:#708a7a!important}.login-card label{color:#4c705a!important;font-size:.75rem!important;font-weight:800!important}.login-card input{min-height:48px;color:var(--ref-ink)!important;background:#fff!important;border:1px solid #a8dfb9!important;border-radius:9px!important}.login-card input:focus{border-color:var(--ref-green)!important;box-shadow:0 0 0 4px #0b8f4b21!important}.login-card form>button{min-height:48px;background:linear-gradient(135deg,#0b8f4b,#16a85b)!important;border-radius:9px!important;font-weight:800!important;box-shadow:0 10px 20px #0b8f4b2e!important}.login-card form>button:hover:not(:disabled){background:linear-gradient(135deg,#08743d,#0b8f4b)!important}.print-page{width:100%;min-height:100vh;padding:2rem clamp(1rem,4vw,3.5rem) 3rem;background:radial-gradient(circle at 0 0,#bbf4ca40,#0000 26rem),#f1fff6!important;max-width:none!important}.print-toolbar{justify-content:space-between;gap:.75rem;width:min(100%,980px);margin:0 auto 1rem}body .printable-document{width:min(100%,980px);max-width:980px;margin:0 auto;position:relative;overflow:hidden;color:#223b2a!important;border:1px solid #cfe8d6!important;border-top:5px solid var(--ref-green)!important;background:#fff!important;border-radius:9px!important;padding:clamp(2rem,5vw,3.5rem)!important;box-shadow:0 20px 52px #1268391f!important}body .printable-document:before{display:none}.print-header{border-bottom:1px solid #d9eee0!important;align-items:flex-start!important;gap:2rem!important;margin-bottom:1.65rem!important;padding-bottom:1.25rem!important}.document-brand{gap:.85rem!important}.print-brand-mark{place-items:center;overflow:hidden;background:#fff!important;border:1px solid #bfe8ca!important;border-radius:50%!important;flex:0 0 64px!important;width:64px!important;height:64px!important;display:grid!important;box-shadow:0 7px 17px #0b8f4b1a!important}.print-brand-mark.document-logo-fallback-image{transform:scale(1.4)}.document-brand h1{font-family:var(--font-display);letter-spacing:-.04em;color:var(--ref-green-dark)!important;font-size:1.25rem!important;font-weight:850!important}.document-brand p{color:#70897a!important}.print-title{text-align:right;min-width:170px}.print-title>span,.print-title h4{color:var(--ref-green)!important;letter-spacing:.12em!important;font-size:1.05rem!important;font-weight:900!important}.print-title>strong{color:#203b2b!important;font-size:.88rem!important}.print-title small{line-height:1.55;color:#718a7b!important}.document-status{color:var(--ref-green-dark)!important;background:#e1f8e9!important;border-color:#b9e8c8!important}.print-client{border:1px solid #d7edde!important;border-left:4px solid var(--ref-green)!important;background:#f8fffa!important;border-radius:7px!important;gap:1.5rem!important;margin-bottom:1.65rem!important;padding:1.1rem 1.2rem!important}.print-client>div{background:0 0!important;border:0!important;border-radius:0!important;min-height:auto!important;padding:0!important}.print-client small{color:#378354!important;letter-spacing:.12em!important;font-size:.61rem!important;font-weight:850!important}.print-client strong{color:#1c432b!important;font-size:.92rem!important}.print-client span{color:#607b6b!important;font-size:.76rem!important}.print-table{background:#fff;overflow:hidden;border:1px solid #cfe8d6!important;border-radius:7px!important;margin:1.1rem 0 1.5rem!important}.print-table thead{background:var(--ref-green)!important}.print-table th{color:#fff!important;letter-spacing:.08em!important;padding:.75rem .65rem!important;font-size:.62rem!important}.print-table td{color:#476252!important;border-color:#e0eee4!important;padding:.75rem .65rem!important}.print-table tbody tr:nth-child(2n) td{background:#f8fffa!important}.print-table td strong{color:#1d4a2e!important}.print-total-box,.document-invoice .totals-card{color:#365441!important;background:#effff4!important;border:1px solid #bce8ca!important;border-radius:7px!important;width:min(380px,100%)!important;padding:1rem 1.15rem!important}.document-invoice .totals-card .grand-total,.print-total-box>b{color:var(--ref-green-dark)!important;border-top-color:#a7dbb7!important}.print-footer-note{color:#607b6b!important;background:#f8fffa!important;border:1px solid #d7edde!important;border-radius:7px!important;padding:.95rem 1rem!important}.document-signatures{gap:4rem!important;margin:4.5rem 0 2rem!important}.document-signatures i{border-top-color:#7d9e88!important}.document-signatures strong{color:#365441!important;font-size:.74rem!important}.document-signatures small{color:#7c9584!important}.document-footer{color:#718c7a!important;border-top-color:#d7edde!important}.document-payroll{max-width:820px!important}body .document-payroll table{border-color:#cfe8d6!important}body .document-payroll table th{color:#fff!important;background:var(--ref-green)!important}body .document-payroll table td{color:#476252!important;border-bottom-color:#e0eee4!important}@page{size:A4;margin:12mm}@media print{html,body{-webkit-print-color-adjust:exact;print-color-adjust:exact;background:#fff!important;width:auto!important;min-width:0!important;min-height:0!important;margin:0!important;padding:0!important}body *{visibility:hidden!important}body .printable-document,body .printable-document *{visibility:visible!important}.no-print,.crm-sidebar,.crm-header,.crm-mobile-bottom-nav,.mobile-menu-btn,.crm-modal-header{display:none!important}.print-page,.crm-modal-backdrop,.crm-content,.crm-main-container,.crm-layout{background:#fff!important;width:auto!important;max-width:none!important;min-height:0!important;padding:0!important;display:block!important}body .print-page .printable-document,body .crm-modal .printable-document,body .printable-document{border:0!important;border-top:4px solid var(--ref-green)!important;width:100%!important;max-width:none!important;min-height:0!important;box-shadow:none!important;background:#fff!important;border-radius:0!important;margin:0!important;padding:8mm!important;position:relative!important;inset:auto!important;overflow:visible!important}.printable-document:before{display:none!important}.print-header,.print-client,.print-table,.print-total-box,.document-invoice .totals-card,.print-footer-note,.document-signatures,.document-footer{break-inside:avoid;page-break-inside:avoid}.print-table thead{display:table-header-group}.print-table tr{break-inside:avoid;page-break-inside:avoid}}@media (width<=1100px){.crm-content{padding:1.5rem 1.35rem 3.5rem!important}.crm-header{padding:0 1.35rem!important}}@media (width<=768px){.crm-content{padding:1.1rem 1rem 5.5rem!important}.crm-header{height:68px!important;padding:0 1rem!important}.page-intro{flex-direction:column!important;align-items:stretch!important;gap:.9rem!important}.page-intro>button,.page-intro>.crm-btn{width:100%}.metrics-grid,.report-metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:.75rem!important}.report-filters{flex-direction:column!important;align-items:stretch!important}.report-filters .crm-btn{width:100%}.crm-table{min-width:600px}body .printable-document{padding:1.4rem!important}.print-header{flex-direction:column!important;gap:1.1rem!important}.print-title{text-align:left;width:100%}.print-client{grid-template-columns:1fr!important}.document-signatures{gap:1.5rem!important}}@media (width<=480px){.metrics-grid,.report-metrics{grid-template-columns:1fr!important}.crm-card{padding:1rem!important}.login-card{padding:2rem 1.35rem!important}.document-signatures{grid-template-columns:1fr!important}.document-footer{flex-direction:column;align-items:flex-start}}.crm-sidebar>div:first-child>span{place-items:center;width:184px!important;height:70px!important;box-shadow:none!important;background:0 0!important;border:0!important;border-radius:0!important;flex:0 0 184px!important;display:grid!important;overflow:visible!important}.crm-sidebar .sidebar-brand-mark,.sidebar-brand-mark{object-fit:contain!important;border:0!important;border-radius:0!important;width:184px!important;height:70px!important;padding:0!important;transform:none!important}.crm-sidebar>div:first-child>div{display:none!important}.brand-badge{width:164px!important;min-width:164px!important;height:48px!important;min-height:48px!important;box-shadow:none!important;background:0 0!important;border:0!important;border-radius:0!important;justify-content:center!important;padding:0!important}.brand-badge .header-brand-mark{object-fit:contain!important;background:0 0!important;border:0!important;border-radius:0!important;width:156px!important;height:46px!important;padding:0!important;transform:none!important}.brand-badge>span:last-child{display:none!important}.login-card>div:first-child{place-items:center;width:min(100%,310px)!important;height:96px!important;box-shadow:none!important;background:0 0!important;border:0!important;border-radius:0!important;margin:0 auto 1rem!important;display:grid!important;overflow:visible!important}.login-card .login-brand-mark,.login-brand-mark{object-fit:contain!important;background:0 0!important;border:0!important;border-radius:0!important;width:300px!important;max-width:100%!important;height:92px!important;padding:0!important;transform:none!important}.login-card>h1{margin-top:.15rem!important}.mobile-nav-header>div:first-child>span:first-child{place-items:center;background:0 0!important;flex:0 0 154px!important;width:154px!important;height:48px!important;font-size:0!important;display:grid!important;overflow:visible!important}.mobile-nav-header .mobile-brand-mark{object-fit:contain!important;background:0 0!important;border:0!important;border-radius:0!important;width:150px!important;height:46px!important;padding:0!important;transform:none!important}.mobile-nav-header>div:first-child>span:last-child{display:none!important}.print-brand-mark{place-items:center;width:218px!important;height:68px!important;box-shadow:none!important;background:0 0!important;border:0!important;border-radius:0!important;flex:0 0 218px!important;display:grid!important;overflow:visible!important}.print-brand-mark>.document-logo,.print-brand-mark>.document-logo-fallback-image{object-fit:contain!important;border:0!important;border-radius:0!important;width:218px!important;max-width:100%!important;height:68px!important;max-height:100%!important;padding:0!important;display:block!important;transform:none!important}.document-brand>div:nth-child(2) h1,.document-brand>div:nth-child(2) h3{display:none!important}.document-logo-fallback-image{object-fit:contain!important}.qr-share-logo{place-items:center;width:190px!important;height:64px!important;box-shadow:none!important;background:0 0!important;border:0!important;border-radius:0!important;display:grid!important;overflow:visible!important}.qr-share-logo img{object-fit:contain!important;width:190px!important;height:64px!important;display:block!important}@media (width<=768px){.login-card>div:first-child{height:82px!important}.login-card .login-brand-mark,.login-brand-mark{width:min(100%,270px)!important;height:80px!important}.print-brand-mark{flex-basis:188px!important;width:188px!important;height:58px!important}.print-brand-mark>.document-logo,.print-brand-mark>.document-logo-fallback-image{width:188px!important;height:58px!important}}@media (width<=480px){.login-card>div:first-child,.login-card .login-brand-mark,.login-brand-mark{width:100%!important}.brand-badge{width:142px!important;min-width:142px!important}.brand-badge .header-brand-mark{width:138px!important}}.manual-entry-hint{color:#6d8374;margin-top:.35rem;font-size:.69rem;line-height:1.35;display:block}.order-price-field{min-width:0}.manual-price-hint{color:#2f7a4b;white-space:nowrap;margin-top:.28rem;font-size:.66rem;line-height:1.25;display:block}.manual-tax-banner{margin-bottom:1rem}.draft-recovery-banner{color:#315b40;background:#f0fdf4;border:1px solid #bbf7d0;border-radius:12px;justify-content:space-between;align-items:center;gap:.85rem;margin-bottom:1rem;padding:.8rem 1rem;font-size:.78rem;display:flex}.draft-recovery-banner>div{gap:.2rem;display:grid}.draft-recovery-banner strong{color:#166534}.draft-recovery-banner span{color:#6b7280}.draft-recovery-banner .crm-btn{flex:none}@media (width<=640px){.draft-recovery-banner{flex-direction:column;align-items:stretch}}.quote-line>div:first-child,.order-line>div:first-child{min-width:0}.client-modal-form .crm-label,.client-modal-form label{color:#111827!important}.client-modal-form .crm-input{-webkit-text-fill-color:#111827;color:#111827!important}.client-modal-form .crm-input::placeholder{-webkit-text-fill-color:#4b5563;color:#4b5563!important;opacity:1!important}.manual-entry-toggle{background:#f0fdf4;border:1px solid #bbf7d0;border-radius:10px;gap:.3rem;margin-bottom:1rem;padding:.75rem .9rem;display:grid}.manual-entry-toggle label{color:#166534;cursor:pointer;align-items:center;gap:.55rem;font-weight:700;display:flex}.manual-entry-toggle input[type=checkbox]{accent-color:#16834b;width:17px;height:17px}.quote-editor-intro{justify-content:space-between;display:flex;align-items:flex-start!important;gap:1.5rem!important}.quote-editor-intro-copy{min-width:0}.quote-editor-intro-copy>p{max-width:680px;margin-bottom:.75rem}.quote-editor-intro-meta{color:#6d8374;flex-wrap:wrap;align-items:center;gap:.5rem .7rem;font-size:.72rem;font-weight:650;display:flex}.quote-editor-meta-pill{color:#21633a;background:#eafff0;border:1px solid #bce8ca;border-radius:999px;align-items:center;min-height:25px;padding:.25rem .6rem;font-size:.67rem;font-weight:850;display:inline-flex}.quote-editor-intro>.crm-btn{flex:none;margin-top:.15rem}.quote-editor-card{gap:0;display:grid;background:#fffffff5!important;padding:clamp(1rem,3vw,1.65rem)!important}.quote-section-heading{border:0;grid-template-columns:auto minmax(0,1fr);align-items:center;column-gap:.7rem;margin:.2rem 0 .75rem;padding:.75rem 0;display:grid}.quote-section-heading+.quote-field-grid{margin-bottom:.7rem}.quote-section-step{color:#fff;letter-spacing:.02em;white-space:nowrap;text-transform:uppercase;background:linear-gradient(145deg,#08743d,#16a85b);border-radius:13px;grid-row:span 2;justify-content:center;align-items:center;width:48px;height:42px;font-size:.64rem;font-weight:850;line-height:1;display:inline-flex;box-shadow:0 7px 15px #0b8f4b2e}.quote-section-heading h3{margin:0;font-size:1.03rem;color:var(--ref-green-dark)!important}.quote-section-heading p{color:#718579;grid-column:2;margin:.2rem 0 0;font-size:.76rem;line-height:1.45}.quote-field-grid{gap:.85rem}.quote-field-grid .crm-input-group{background:#fbfffc;border:1px solid #d8eee0;border-radius:13px;gap:.45rem;padding:.8rem .85rem .75rem}.quote-field-grid .crm-input-group textarea{resize:vertical;min-height:92px}.quote-field-hint{color:#789080;font-size:.68rem;line-height:1.35;display:block}.quote-lines-heading{border-top:1px solid #dcefe2;border-bottom:0;align-items:flex-start;margin-top:.9rem;padding:1rem 0 .85rem}.quote-lines-heading h3{margin-top:.2rem}.quote-lines-heading p{color:#718579;margin:.3rem 0 0;font-size:.74rem;line-height:1.4}.quote-lines-heading>.crm-btn{margin-top:.1rem}.quote-lines-header{color:#6d8374;grid-template-columns:minmax(250px,2fr) .7fr 1fr .9fr 1fr 40px;column-gap:.65rem;margin:0 .2rem;padding:.25rem .75rem .45rem;font-size:.64rem}.quote-line{background:linear-gradient(145deg,#fff,#f7fcf8);border:1px solid #cfe8d6;border-radius:15px;grid-template-columns:minmax(250px,2fr) .7fr 1fr .9fr 1fr 40px;align-items:stretch;column-gap:.65rem;margin-bottom:.7rem;padding:.85rem;box-shadow:0 5px 16px #135d340d}.quote-line-product{align-content:start;gap:.45rem;min-width:0;display:grid}.quote-line-product-heading{justify-content:space-between;align-items:center;gap:.5rem;min-height:24px;display:flex}.quote-line-number{color:#315b40;font-size:.72rem;font-weight:850}.quote-line-product-mode{color:#3f7752;background:#eafff0;border-radius:999px;align-items:center;min-height:22px;padding:.2rem .5rem;font-size:.62rem;font-weight:800;display:inline-flex}.quote-line-mode-toggle{justify-self:start;min-height:32px;padding:.38rem .62rem!important;font-size:.68rem!important}.quote-line-input{width:100%}.quote-line-hint{color:#718579;font-size:.66rem;line-height:1.35;display:block}.quote-line-field{align-content:start;gap:.35rem;min-width:0;display:grid}.quote-line-field>span,.quote-line-total>span{color:#6d8374;letter-spacing:.035em;text-transform:uppercase;font-size:.64rem;font-weight:800}.quote-line-field input{text-align:right;width:100%}.quote-line-discount{width:100%}.quote-line-discount .crm-input{min-width:0;padding-left:.35rem}.quote-line-total{text-align:right;justify-content:center;align-items:flex-end;gap:.3rem;min-width:0;padding:.35rem .15rem;display:flex}.quote-line-total strong{overflow-wrap:anywhere;font-size:.95rem;line-height:1.15;color:var(--ref-green-dark)!important}.quote-line-delete{place-self:end;width:36px;height:36px}.quote-totals-card{border-radius:16px;width:min(460px,100%);margin-top:1rem;padding:1rem 1.15rem;box-shadow:0 10px 24px #135d3414;background:linear-gradient(145deg,#f5fff8,#eafff0)!important;border:1px solid #bce8ca!important}.quote-totals-card .quote-totals-heading{border-bottom:1px solid #cfe8d6;align-items:baseline;padding:0 0 .65rem}.quote-totals-heading strong{font-size:.88rem;color:var(--ref-green-dark)!important}.quote-totals-heading span{color:#789080;font-size:.66rem}.quote-totals-card .grand-total{margin-top:.45rem;padding-top:.8rem}.quote-form-actions{align-items:center;gap:.7rem;margin-top:1.25rem;padding-top:1rem}.quote-save-note{color:#789080;max-width:450px;margin-right:auto;font-size:.69rem;line-height:1.4}.quote-cancel-button,.quote-submit-button{min-width:142px}@media (width<=900px){.quote-lines-header{display:none}.quote-line{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:.7rem}.quote-line-product{grid-column:1/-1}.quote-line-field:nth-child(3),.quote-line-field:nth-child(4),.quote-line-total,.quote-line-delete{grid-column:auto}.quote-line-total{align-items:flex-end}}@media (width<=640px){.quote-editor-intro{flex-direction:column;align-items:stretch!important}.quote-editor-intro>.crm-btn{align-self:flex-start}.quote-section-heading{column-gap:.55rem}.quote-section-step{border-radius:11px;width:46px;height:38px;font-size:.58rem}.quote-section-heading h3{font-size:.94rem}.quote-section-heading p{font-size:.71rem}.quote-field-grid .crm-input-group{padding:.72rem}.quote-lines-heading{flex-direction:column;align-items:stretch}.quote-lines-heading>.crm-btn{align-self:flex-start;margin-top:.65rem}.quote-line{grid-template-columns:minmax(0,1fr) minmax(0,1fr);padding:.75rem}.quote-line-product-heading{flex-direction:column;align-items:flex-start}.quote-line-product-mode{align-self:flex-start}.quote-line-total{justify-content:flex-end}.quote-form-actions{background:linear-gradient(#fff0,#fff 28%);border-top:1px solid #d8eee0;flex-wrap:wrap;margin-bottom:-.35rem;margin-left:-.25rem;margin-right:-.25rem;padding:.85rem .25rem .25rem;position:static;box-shadow:0 -8px 20px #135d3414}.quote-save-note{flex:1 0 100%;max-width:none;margin:0;padding-bottom:.1rem}.quote-cancel-button,.quote-submit-button{flex:1 1 0;min-width:0}}.manual-entry-toggle small{color:#527362;line-height:1.35}
