/* Campo Claro 2026-11-02. Scoped presentation; native application controls remain owners of all operations. */
body.cc-ready{--cc-main:#1b5746;--cc-ink:#183b32;--cc-bg:#f3f7f5;--cc-paper:#fff;--cc-line:#d5e3db;--cc-soft:#e4efe9;--cc-muted:#50685d;--cc-warn:#8a5700;margin:0!important;padding:84px 0 0 236px!important;background:var(--cc-bg)!important;color:var(--cc-ink);font-family:"Avenir Next","Segoe UI",Arial,sans-serif!important;font-size:15px;line-height:1.5}
body.cc-ready [hidden]{display:none!important}
body.cc-ready [data-cc-original-nav],body.cc-ready [data-cc-original-chrome]{display:none!important}
body.cc-ready [data-cc-appframe]{display:block!important;margin:0!important;padding:0!important;width:auto!important;min-width:0!important;min-height:0!important;background:var(--cc-bg)!important}
body.cc-ready #root{min-width:0;width:100%;margin:0!important}
body.cc-ready main{min-width:0!important;margin-left:0!important;max-width:none!important}
body.cc-ready main:not(.cc-keep-padding){padding:28px!important}
body.cc-ready h1{font-family:inherit!important;letter-spacing:-.65px!important;font-size:clamp(24px,2.2vw,32px)!important;line-height:1.2!important;font-weight:700!important;color:var(--cc-ink)!important}
body.cc-ready h2{font-family:inherit!important;font-size:21px;letter-spacing:-.3px;line-height:1.35}
body.cc-ready h3{font-family:inherit!important;line-height:1.4}
body.cc-ready button,body.cc-ready input,body.cc-ready select,body.cc-ready textarea{font-family:inherit}
body.cc-ready button,body.cc-ready select,body.cc-ready input:not([type=checkbox]):not([type=radio]):not([type=hidden]){min-height:44px}
body.cc-ready input[type=checkbox],body.cc-ready input[type=radio]{width:18px!important;height:18px!important;min-height:18px!important;flex:0 0 18px;vertical-align:middle;accent-color:var(--cc-main)}
body.cc-ready input:not([type=checkbox]):not([type=radio]):not([type=hidden]),body.cc-ready select,body.cc-ready textarea{color:var(--cc-ink);background:var(--cc-paper);border:1px solid #aabfb2;border-radius:6px;max-width:100%}
body.cc-ready :is(button,a,input,select,textarea,summary):focus-visible{outline:3px solid #ad7919!important;outline-offset:3px!important}
body.cc-ready button:disabled{opacity:.6;cursor:not-allowed}
body.cc-ready label{color:var(--cc-ink)}
body.cc-ready table{border-collapse:separate;border-spacing:0;font-size:14px;color:var(--cc-ink)}
body.cc-ready th{position:sticky;top:0;z-index:2;background:#e9f1ec!important;color:#294e3d!important;font-weight:600!important;text-transform:none!important;letter-spacing:normal!important;padding:12px 14px!important;white-space:nowrap}
body.cc-ready td{padding:12px 14px!important;border-bottom:1px solid #e0e9e3}
body.cc-ready td.cc-numeric,body.cc-ready th.cc-numeric{text-align:right!important;font-variant-numeric:tabular-nums}
body.cc-ready .cc-table-scroll{overflow:auto!important;max-width:100%;max-height:70vh;overscroll-behavior:contain}
body.cc-ready .cc-wide-table th:first-child,body.cc-ready .cc-wide-table td:first-child{position:sticky;left:0;z-index:1;min-width:180px;background:#fff;border-right:1px solid var(--cc-line)}
body.cc-ready .cc-wide-table th:first-child{z-index:3;background:#e9f1ec}
.cc-topbar{position:fixed;top:0;left:0;right:0;height:76px;z-index:25;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:12px 24px;background:#fff;border-bottom:1px solid var(--cc-line);color:var(--cc-ink)}
.cc-brand{display:flex;align-items:center;gap:14px;min-width:0}
.cc-brand img{display:block;width:112px;height:46px;object-fit:contain;background:#fff}
.cc-brand-text{font-size:16px;line-height:1.25;font-weight:700;overflow-wrap:anywhere}
.cc-brand-text small{display:block;font-size:12px;font-weight:400;color:var(--cc-muted);margin-top:3px}
.cc-context{display:flex;align-items:center;gap:13px;min-width:0}
.cc-company{background:var(--cc-soft);color:var(--cc-main);padding:6px 12px;border-radius:5px;font-size:13px;font-weight:600}
.cc-menu-toggle{display:none}
.cc-sidebar{position:fixed;top:76px;left:0;bottom:0;width:236px;padding:20px 14px 18px;background:#fff;border-right:1px solid var(--cc-line);z-index:24;overflow:auto}
.cc-sidebar .cc-allapps,.cc-mobile-nav .cc-allapps{display:block;color:var(--cc-main);font-size:13px;padding:10px 12px;margin-bottom:18px;text-decoration:none}
.cc-nav-group{margin:0 0 12px}
.cc-nav-group summary{padding:9px 12px;color:var(--cc-muted);font-size:12px;font-weight:600;cursor:pointer}
.cc-nav-items{display:grid;gap:3px}
.cc-nav-item{display:flex;align-items:center;gap:10px;min-height:44px;border:0;border-radius:6px;background:transparent;text-decoration:none;color:var(--cc-ink);font:inherit;font-size:14px;padding:10px 12px;text-align:left;width:100%;cursor:pointer}
.cc-nav-item:hover{background:#f1f6f3}
.cc-nav-item[aria-current=page]{background:var(--cc-soft);color:var(--cc-main);font-weight:700}
.cc-nav-footer{border-top:1px solid var(--cc-line);margin-top:20px;padding-top:12px}
.cc-nav-footer .cc-nav-item{font-size:12px;color:var(--cc-muted)}
.cc-topbar button,.cc-mobile-nav button,.cc-guide button{min-height:44px;border:1px solid var(--cc-line);border-radius:6px;background:#fff;color:var(--cc-main);padding:8px 13px;font:inherit;cursor:pointer}
.cc-mobile-nav{position:fixed;inset:12px auto 12px 12px;margin:0;max-width:min(360px,calc(100vw - 24px));width:350px;height:calc(100dvh - 24px);max-height:none;padding:16px;border:1px solid var(--cc-line);border-radius:10px;background:#fff;color:var(--cc-ink);overflow:auto}
.cc-mobile-nav::backdrop,.cc-guide::backdrop{background:#173b3266}
.cc-dialog-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:20px}
.cc-dialog-heading h2{margin:0;font-size:20px}
.cc-guide{border:1px solid var(--cc-line);border-radius:10px;max-width:720px;width:calc(100% - 28px);max-height:90dvh;padding:24px;background:white;color:var(--cc-ink)}
.cc-guide h2{margin:0;font-size:22px}.cc-guide h3{font-size:17px;margin:20px 0 8px}.cc-guide p,.cc-guide li{max-width:72ch;line-height:1.6;font-size:14px}.cc-guide footer{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}
.cc-field-inline{display:flex!important;flex-direction:row!important;align-items:center!important;gap:10px!important;justify-content:flex-start!important;width:100%!important}
.cc-field-inline input{margin:0!important}
body.cc-ready #config{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;max-width:1100px;background:white;padding:24px;border:1px solid var(--cc-line);border-radius:9px}
body.cc-ready #config>fieldset{grid-column:1/-1}
body.cc-ready #config :is(#ranches,#concepts){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 22px}
body.cc-ready #config label{display:flex;flex-direction:column;gap:7px}
body.cc-ready #config button{justify-self:start;grid-column:1/-1}
body.cc-ready #config fieldset{padding:18px;border:1px solid var(--cc-line);border-radius:6px}
.cc-org-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:8px 0 22px}
.cc-org-tabs button{min-height:44px;padding:9px 16px;border:1px solid var(--cc-line);background:#fff;color:var(--cc-main);border-radius:6px;font:inherit;cursor:pointer}
.cc-org-tabs button[aria-selected=true]{background:var(--cc-main);color:white}
body.cc-ready[data-cc-org-view=structure] #agroll-staff{display:none!important}
body.cc-ready[data-cc-org-view=people] #org-panel>:not(#agroll-staff):not(.cc-org-tabs){display:none!important}
body.cc-ready #my-apps.apps{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(280px,100%),1fr));gap:14px}
body.cc-ready #my-apps .app-card{padding:20px!important;min-height:140px!important;box-shadow:none!important;border-radius:9px!important}
body.cc-ready #my-apps .company-banner{grid-column:1/-1;padding:14px!important}
body.cc-ready .cc-dashboard-strip{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(150px,1fr))!important;gap:0!important;overflow:hidden;border:1px solid var(--cc-line);border-radius:8px;background:var(--cc-soft);margin-bottom:24px}
body.cc-ready .cc-dashboard-strip>div{border:0!important;border-right:1px solid #bacebf!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;padding:15px 18px!important}
body.cc-ready .cc-dashboard-strip svg{width:20px!important;height:20px!important}
body.cc-ready .cc-dashboard-strip .text-3xl{font-size:26px!important}
body.cc-ready .cc-context-row{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
body.cc-ready .cc-table-direct{display:block!important;overflow:auto!important;max-width:100%;max-height:70vh}
body.cc-ready .cc-empty-compact{min-height:0!important;padding-top:22px!important;padding-bottom:22px!important}
body.cc-ready[data-cc-app=fruta] .cc-access-old{display:none!important}
body.cc-ready[data-cc-app=agromonitor] .cc-duplicate-title{display:none!important}
@media(max-width:900px){body.cc-ready{padding-left:0!important}.cc-sidebar{display:none}.cc-menu-toggle{display:block}.cc-topbar{padding:10px 16px}.cc-brand img{width:92px}.cc-brand-text{font-size:15px}.cc-context{gap:8px}.cc-company{padding:5px 9px}.cc-topbar{height:76px}body.cc-ready main:not(.cc-keep-padding){padding:22px 16px!important}}
@media(max-width:520px){body.cc-ready{font-size:16px}.cc-brand{gap:9px}.cc-brand img{width:76px;height:39px}.cc-brand-text{font-size:13px}.cc-brand-text small{font-size:11px}.cc-company{max-width:102px;overflow-wrap:anywhere;font-size:12px}.cc-context{gap:6px}.cc-topbar{gap:9px;padding:10px}.cc-topbar button{padding:8px 10px;min-width:44px}.cc-topbar .cc-refresh{display:none}body.cc-ready #config{padding:18px;display:block}body.cc-ready #config>label,body.cc-ready #config>fieldset{margin-bottom:18px}body.cc-ready #config :is(#ranches,#concepts){grid-template-columns:1fr}body.cc-ready .cc-dashboard-strip{grid-template-columns:repeat(2,minmax(0,1fr))!important}body.cc-ready .cc-dashboard-strip>div{padding:14px 12px!important}body.cc-ready td,body.cc-ready th{padding:10px 12px!important}}
@media(prefers-reduced-motion:reduce){body.cc-ready *,body.cc-ready *::before,body.cc-ready *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media print{body.cc-ready{padding:0!important}.cc-topbar,.cc-sidebar,.cc-mobile-nav,.cc-guide,.cc-org-tabs{display:none!important}body.cc-ready [data-cc-original-chrome]{display:none!important}body.cc-ready .cc-table-scroll,body.cc-ready .cc-table-direct{max-height:none;overflow:visible!important}body.cc-ready main{padding:0!important}}

[data-cc-owned],[data-cc-owned] *{box-sizing:border-box}

.cc-native-context{display:grid;gap:6px;font-size:12px;margin:0 8px 18px;color:var(--cc-muted)}.cc-native-context select{width:100%;font-size:14px;padding:8px}.cc-dashboard-strip>a{padding:15px 18px;border-right:1px solid #bacebf;box-shadow:none!important;background:transparent!important;border-radius:0!important}

body.cc-ready aside[data-cc-context-host]{display:contents!important;position:static!important}body.cc-ready aside[data-cc-context-host]>:not([data-cc-context-native]){display:none!important}body.cc-ready [data-cc-context-native]{display:inline-block!important;vertical-align:top;width:min(100%,320px)!important;margin:16px 0 0 24px!important;padding:12px 16px!important;background:white;border:1px solid var(--cc-line);border-radius:6px}body.cc-ready [data-cc-context-native] select,body.cc-ready [data-cc-context-native] button{width:100%}body.cc-ready[data-cc-app=agromonitor] main{margin-left:0!important}body.cc-ready[data-cc-app=agromonitor] #root>div>div{margin-left:0!important;width:100%!important}

body.cc-ready .recharts-wrapper{max-width:100%;overflow:hidden}body.cc-ready .recharts-legend-wrapper{max-width:100%}body.cc-ready .mobile-menu{display:none!important}body.cc-ready[data-cc-app=agromonitor] main>h1{margin-top:0}body.cc-ready .cc-dashboard-strip>a{color:var(--cc-ink);text-decoration:none}body.cc-ready .cc-dashboard-strip>a p{margin-top:4px;margin-bottom:4px}

body.cc-ready .cc-empty-chart{display:none!important}

body.cc-ready .cc-sidebar,body.cc-ready .cc-mobile-links{display:block!important}

/* Centre card sizing: grid items fill their tracks; company context occupies a full row. */
body.cc-ready[data-cc-app=centro] #my-apps.apps{grid-template-columns:repeat(auto-fit,minmax(min(300px,100%),1fr));align-items:stretch}
body.cc-ready[data-cc-app=centro] #my-apps>a.app-card,body.cc-ready[data-cc-app=centro] #my-apps>.company-card{width:100%!important;min-width:0;max-width:100%;margin:0!important}
body.cc-ready[data-cc-app=centro] #my-apps>.company-context,body.cc-ready[data-cc-app=centro] #my-apps>.empty-access{grid-column:1/-1;min-width:0;width:100%}
body.cc-ready[data-cc-app=centro] #my-apps .app-card{gap:16px;align-items:flex-start}
body.cc-ready[data-cc-app=centro] #my-apps .app-card-copy{flex:1 1 0;min-width:0;overflow-wrap:break-word}
body.cc-ready[data-cc-app=centro] #my-apps .app-card img{width:64px;height:64px;flex:0 0 64px}
body.cc-ready[data-cc-app=centro] #my-apps :is(.app-description,.app-role,.app-open){white-space:normal;word-break:normal;overflow-wrap:break-word}
@media(max-width:560px){body.cc-ready[data-cc-app=centro] #my-apps.apps{grid-template-columns:minmax(0,1fr)}body.cc-ready[data-cc-app=centro] #my-apps .app-card img{width:52px;height:52px;flex-basis:52px}}

/* campo-movil-20261102-v1: scoped responsive repairs; no business rules. */
@media screen and (max-width:900px){
 body.cc-ready{padding:76px 0 0!important;min-width:0!important}
 body.cc-ready .cc-sidebar{display:none!important}
 body.cc-ready .cc-menu-toggle{display:inline-flex!important;align-items:center;justify-content:center;min-width:60px;min-height:44px}
 body.cc-ready .cc-topbar{height:76px;max-width:100%;gap:8px;padding:8px 12px}
 body.cc-ready .cc-brand{flex:1 1 auto;min-width:0}
 body.cc-ready .cc-context{flex:0 0 auto;gap:6px}
 body.cc-ready .cc-company{display:none}
 body.cc-ready #root,body.cc-ready main,body.cc-ready .main,body.cc-ready [data-cc-appframe]{min-width:0!important;max-width:100%;margin-left:0!important;margin-right:0!important;width:100%!important;box-sizing:border-box}
 body.cc-ready main:not(.cc-keep-padding){padding:20px 16px!important}
 body.cc-ready[data-cc-app=fruta] .content{padding:24px 16px 0!important;max-width:100%;min-width:0}
 body.cc-ready[data-cc-app=fruta] .topbar{padding-left:16px;padding-right:16px}
 body.cc-ready [data-cc-context-native]{width:calc(100% - 32px)!important;max-width:360px;margin:12px 16px 0!important;box-sizing:border-box}
 body.cc-ready .cc-table-scroll,body.cc-ready .cc-table-direct{max-width:100%!important;overflow-x:auto!important;-webkit-overflow-scrolling:touch;touch-action:pan-x pan-y}
 body.cc-ready .cc-mobile-nav{box-sizing:border-box;width:min(350px,calc(100vw - 24px));max-width:calc(100vw - 24px);inset:12px auto 12px 12px;height:calc(100vh - 24px);height:calc(100dvh - 24px);padding:16px;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain}
 body.cc-ready .cc-mobile-nav .cc-dialog-heading{position:sticky;top:-16px;z-index:5;background:#fff;margin:-16px -16px 16px;padding:12px 16px;border-bottom:1px solid var(--cc-line)}
 body.cc-ready .cc-mobile-nav .cc-nav-item{min-height:48px;white-space:normal;overflow-wrap:anywhere}
 body.cc-ready .cc-mobile-nav .cc-dialog-heading button{min-width:64px;min-height:44px}
 html.cc-mobile-menu-open{overflow:hidden}
}
@media screen and (max-width:600px){
 body.cc-ready .cc-brand img{width:64px;height:38px;flex:0 0 64px}
 body.cc-ready .cc-brand-text{font-size:13px;line-height:1.3}
 body.cc-ready .cc-brand-text small{font-size:11px}
 body.cc-ready input:not([type=checkbox]):not([type=radio]):not([type=hidden]),body.cc-ready select,body.cc-ready textarea{font-size:16px!important;box-sizing:border-box;min-width:0;max-width:100%}
 body.cc-ready .formgrid,body.cc-ready .formGrid,body.cc-ready form .grid-cols-2,body.cc-ready form .grid-cols-3{grid-template-columns:minmax(0,1fr)!important}
 body.cc-ready :is(.formgrid,.formGrid) > *,body.cc-ready form fieldset,body.cc-ready form label{min-width:0;max-width:100%;box-sizing:border-box}
 body.cc-ready :is(.dialogActions,.modal-actions,.buttonRow,.toolbar-actions){flex-wrap:wrap;gap:8px}
 body.cc-ready :is(.dialogActions,.modal-actions) button{flex:1 1 120px;min-height:44px}
 body.cc-ready[data-cc-app=fruta] .pageHead{align-items:flex-start;gap:14px;flex-direction:column}
 body.cc-ready[data-cc-app=fruta] .pageHead h1{font-size:30px!important}
 body.cc-ready[data-cc-app=fruta] .overlay{padding:12px 8px;align-items:flex-start;box-sizing:border-box}
 body.cc-ready[data-cc-app=fruta] .dialog{width:100%;max-width:100%;padding:18px 14px;box-sizing:border-box}
 body.cc-ready[data-cc-app=fruta] .weighRow{padding:14px 12px}
 body.cc-ready[data-cc-app=fruta] .rowSummary{gap:10px;flex-wrap:wrap}
 body.cc-ready .cc-wide-table th:first-child,body.cc-ready .cc-wide-table td:first-child{min-width:110px;max-width:150px;white-space:normal;overflow-wrap:anywhere}
 body.cc-ready .cc-guide{padding:18px 16px;width:calc(100% - 16px);max-width:calc(100% - 16px);box-sizing:border-box}
}
@media screen and (min-width:901px){body.cc-ready .cc-sidebar{display:block!important}}
