/* AgroCampos QA30 — Navigation as product chrome, not a stack of cards.
   Ref: 21st.dev Wensity Sidebar + Unlumen Animated Sidebar.
   Original CSS; zero React/StyleX dependencies.
 */
:root{
 --qa30-sidebar-width:249px;
 --qa30-sidebar-rail:76px;
 --qa30-surface:#fff;
 --qa30-nav-label:#516657;
 --qa30-nav-ink:#133f2c;
 --qa30-selected:#deeee2;
 --qa30-divider:#e6ede7;
 --qa30-cubic:cubic-bezier(.2,.78,.22,1);
 --qa30-route-ms:260ms;
}
/* No secondary breadcrumb. The page heading and the selected navigation item identify position. */
.topbar .breadcrumb{display:none!important}
.topbar{min-height:61px;background:var(--qa30-surface);border-bottom:1px solid var(--qa30-divider)}
.topbar .topbar-tools{margin-left:auto}
@media(min-width:851px){
 .layout{grid-template-columns:var(--qa30-sidebar-width) minmax(0,1fr);
   transition:grid-template-columns 310ms var(--qa30-cubic)}
 body:not(.rail-expanded) .layout{grid-template-columns:var(--qa30-sidebar-rail) minmax(0,1fr)}
 .sidebar.qa30-sidebar{
   position:sticky;top:0;left:0;
   width:100%;height:100dvh;min-height:0;
   margin:0;padding:20px 13px 16px;border-radius:0;
   border:0;border-right:1px solid var(--qa30-divider);box-shadow:none;
   overflow:hidden;background:var(--qa30-surface);
 }
 body:not(.rail-expanded) .sidebar.qa30-sidebar{padding:18px 8px 12px}
}
.sidebar.qa30-sidebar{
 --qa29-sidebar:var(--qa30-surface);
 display:flex;flex-direction:column;min-width:0;
 background:var(--qa30-surface);
}
.sidebar.qa30-sidebar .f7w-header.qa30-brand-bar{
 display:flex;align-items:center;justify-content:space-between;
 flex-direction:row;flex:0 0 auto;gap:7px;
 padding:8px 6px 19px;margin:0 0 14px;
 background:transparent;border:0;border-bottom:1px solid var(--qa30-divider);
 box-shadow:none;border-radius:0;min-height:72px;
}
.sidebar.qa30-sidebar .f7w-header .brand{
 display:flex;align-items:center;justify-content:flex-start;flex:1 1 auto;
 min-width:0;min-height:43px;margin:0;padding:0 2px;
 border:0;background:transparent;
}
.sidebar.qa30-sidebar .brand>span{display:none}
.sidebar.qa30-sidebar .brand .agro-brand-symbol{display:none}
.sidebar.qa30-sidebar .brand .agro-brand-wordmark{
 display:block;width:min(167px,100%);max-width:167px;
 height:auto;max-height:43px;object-fit:contain;object-position:left center;
 border:0;border-radius:0;background:transparent;box-shadow:none;
 mix-blend-mode:multiply;
}
.sidebar.qa30-sidebar .rail-expand.qa30-icon-toggle{
 flex:0 0 35px;display:inline-flex;align-items:center;justify-content:center;
 width:35px;height:35px;min-width:35px;min-height:35px;
 margin:0;padding:0;
 border:1px solid transparent;border-radius:11px;
 background:transparent;color:#5e7867;
 box-shadow:none;transition:background-color 165ms ease,color 165ms ease,transform 165ms ease;
}
.sidebar.qa30-sidebar .rail-expand.qa30-icon-toggle:hover{
 background:#edf4ef;color:#125036;border-color:#e1eee4;
}
.sidebar.qa30-sidebar .rail-expand.qa30-icon-toggle:active{transform:scale(.95)}
.sidebar.qa30-sidebar .rail-expand .qa30-toggle-caption{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.sidebar.qa30-sidebar .rail-expand .qa30-chevron{
 display:flex;align-items:center;justify-content:center;width:23px;height:23px;
 transition:transform 280ms var(--qa30-cubic);
}
.sidebar.qa30-sidebar .rail-expand .qa30-chevron svg{
 width:21px;height:21px;max-width:21px;max-height:21px;
}
.sidebar.qa30-sidebar .main-nav{
 display:flex;flex-direction:column;flex:1 1 auto;position:relative;
 margin:0;min-height:0;gap:0;padding:2px 0 16px;
 overflow-y:auto;overscroll-behavior:contain;
 scrollbar-width:thin;scrollbar-color:#d6e4d8 transparent;
 border:0;background:none;
}
.sidebar.qa30-sidebar .qa30-section{
 display:flex;flex-direction:column;min-width:0;gap:0;
 padding:0 3px;
}
.sidebar.qa30-sidebar .qa30-section+.qa30-section{
 margin-top:12px;padding-top:13px;border-top:1px solid var(--qa30-divider);
}
.sidebar.qa30-sidebar .qa30-section .f7w-section-items{
 display:flex;flex-direction:column;gap:3px;
}
.sidebar.qa30-sidebar .f7w-section-title.qa30-visually-hidden{
 position:absolute!important;clip:rect(0,0,0,0)!important;
 width:1px!important;height:1px!important;overflow:hidden!important;
 white-space:nowrap!important;margin:-1px!important;padding:0!important;border:0!important;
 opacity:0!important;
}
.sidebar.qa30-sidebar .main-nav a.qa30-link{
 position:relative;z-index:2;display:flex;align-items:center;gap:11px;
 width:100%;min-height:44px;padding:8px 11px;
 margin:0;border:0;border-radius:12px;
 background:transparent!important;
 font-size:13px;letter-spacing:-.01em;font-weight:540;line-height:1.3;
 color:var(--qa30-nav-label);
 white-space:nowrap;
 transform:none!important;
 transition:color 150ms ease,opacity 150ms ease;
}
.sidebar.qa30-sidebar .main-nav a.qa30-link:is(:hover,:focus-visible){
 color:var(--qa30-nav-ink);
}
.sidebar.qa30-sidebar .main-nav a.qa30-link:is(.active,.is-active,[aria-current=page],[data-active=true]){
 color:var(--qa30-nav-ink);font-weight:730;
}
.sidebar.qa30-sidebar .main-nav a.qa30-link::before{display:none!important}
.sidebar.qa30-sidebar .qa30-link .qa29-icon{
 flex:0 0 25px;width:25px;height:25px;
 display:grid;place-items:center;
 border-radius:0;background:transparent!important;box-shadow:none!important;
 color:#638271;
 transform:none!important;
}
.sidebar.qa30-sidebar .qa30-link .qa29-icon svg{width:19px;height:19px;max-width:19px;max-height:19px}
.sidebar.qa30-sidebar .qa30-link:is(.active,.is-active,[aria-current=page]) .qa29-icon{color:#14603d}
.sidebar.qa30-sidebar .main-nav .f7w-active-pill,
.sidebar.qa30-sidebar .main-nav .f7w-hover-pill{display:none!important}
.sidebar.qa30-sidebar .main-nav .qa30-selection{
 position:absolute;left:0;top:0;z-index:1;pointer-events:none;
 width:100%;height:44px;display:block;
 background:var(--qa30-selected);
 border:1px solid #cfe5d6;border-radius:12px;
 box-shadow:0 1px 3px rgba(20,76,40,.04);
 opacity:1;transform:translate3d(0,0,0);
 transition:transform var(--qa30-route-ms) var(--qa30-cubic),
            width 260ms var(--qa30-cubic),height 210ms var(--qa30-cubic),
            opacity 145ms ease;
 will-change:transform;
}
.sidebar.qa30-sidebar .main-nav .qa30-selection[hidden]{display:none!important}
.sidebar.qa30-sidebar .main-nav .qa30-selection.qa30-no-motion{transition:none!important}
.sidebar.qa30-sidebar .main-nav .qa30-selection::before{
 content:"";position:absolute;left:0;top:11px;bottom:11px;width:3px;
 border-radius:0 4px 4px 0;background:#237449;
}
.sidebar.qa30-sidebar .preferences{
 margin-top:auto;flex:0 0 auto;padding:13px 3px 0;border-top:1px solid var(--qa30-divider);
 background:transparent;
}
.sidebar.qa30-sidebar .preferences a{
 min-height:44px;padding:8px 12px;border-radius:12px;
 font-size:12.9px;line-height:1.3;
 color:#5d7866;background:transparent;
}
.sidebar.qa30-sidebar .preferences a:hover{background:#eef5f0;color:#164b33}
.sidebar.qa30-sidebar .preferences .qa29-icon{display:grid;place-items:center;width:25px;height:25px}
.sidebar.qa30-sidebar .preferences .qa29-icon svg{width:19px;height:19px}
@media(min-width:851px){
 body:not(.rail-expanded) .sidebar.qa30-sidebar .f7w-header.qa30-brand-bar{
   flex-direction:column;align-items:center;justify-content:center;
   min-height:91px;padding:2px 0 13px;gap:5px;
 }
 body:not(.rail-expanded) .sidebar.qa30-sidebar .f7w-header .brand{
   min-height:41px;justify-content:center;width:100%;padding:0;
 }
 body:not(.rail-expanded) .sidebar.qa30-sidebar .brand .agro-brand-wordmark{display:none}
 body:not(.rail-expanded) .sidebar.qa30-sidebar .brand .agro-brand-symbol{
   display:block;width:34px;height:34px;max-width:34px;object-fit:contain;
   mix-blend-mode:multiply;
 }
 body:not(.rail-expanded) .sidebar.qa30-sidebar .rail-expand.qa30-icon-toggle{
   width:35px;height:35px;min-height:35px;flex:0 0 35px;
 }
 body:not(.rail-expanded) .sidebar.qa30-sidebar .rail-expand .qa30-chevron{transform:rotate(180deg)}
 body:not(.rail-expanded) .sidebar.qa30-sidebar .qa30-section{padding-inline:0}
 body:not(.rail-expanded) .sidebar.qa30-sidebar .main-nav a.qa30-link{
   min-width:0;min-height:45px;justify-content:center;gap:0;padding:8px 0;
 }
 body:not(.rail-expanded) .sidebar.qa30-sidebar .main-nav .qa30-selection{border-radius:13px}
 body:not(.rail-expanded) .sidebar.qa30-sidebar .main-nav a.qa30-link .rail-label{display:none}
 body:not(.rail-expanded) .sidebar.qa30-sidebar .preferences a{justify-content:center;padding:8px 0}
 body:not(.rail-expanded) .sidebar.qa30-sidebar .preferences a .rail-label{display:none}
}
@media(max-width:850px){
 .sidebar.qa30-sidebar{
   position:fixed;top:0;left:0;bottom:0;height:100dvh;
   width:min(292px,87vw);margin:0;
   padding:calc(15px + env(safe-area-inset-top,0px)) 12px calc(14px + env(safe-area-inset-bottom,0px));
   border:0;border-radius:0 17px 17px 0;
   background:white;box-shadow:0 20px 60px rgba(10,47,23,.16);
   z-index:145;
 }
 .sidebar.qa30-sidebar .f7w-header.qa30-brand-bar{padding-bottom:12px;margin-bottom:9px}
 .sidebar.qa30-sidebar .rail-expand.qa30-icon-toggle{display:none}
 .sidebar.qa30-sidebar .main-nav{padding-top:2px}
 .sidebar.qa30-sidebar .main-nav a.qa30-link{min-height:46px;font-size:13.5px}
 .topbar .breadcrumb{display:none!important}
 .qa28-mobile-nav{box-shadow:0 -7px 26px rgba(16,61,31,.055)}
}
@media(prefers-reduced-motion:reduce){
 .layout,.sidebar.qa30-sidebar .main-nav .qa30-selection,
 .sidebar.qa30-sidebar .rail-expand .qa30-chevron{
    animation:none!important;transition:none!important;
 }
}

/* Final QA30 interaction polish — existing menu toggle is for small screens only. */
@media(min-width:851px){
 #menu-toggle.mobile-menu{display:none!important}
 .topbar{justify-content:flex-end}
}
.sidebar.qa30-sidebar .main-nav a.qa30-link .qa29-icon{
 transition:color 160ms ease,transform 170ms var(--qa30-cubic);
}
.sidebar.qa30-sidebar .main-nav a.qa30-link:is(:hover,:focus-visible) .qa29-icon{
 transform:translateY(-1px) scale(1.045)!important;
}
.sidebar.qa30-sidebar .main-nav a.qa30-link:active .qa29-icon{
 transform:scale(.94)!important;
}
@media(prefers-reduced-motion:reduce){
 .sidebar.qa30-sidebar .main-nav a.qa30-link .qa29-icon{
   transition:none!important;transform:none!important;
 }
}
