:root{font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#173c2d;background:#f4f6f1;font-synthesis:none;font-size:17px;line-height:1.5;font-weight:400}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,.button{min-height:48px;border:1px solid #d6dfd5;border-radius:12px;padding:10px 16px;background:#fff;color:#175537;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-weight:650}button:disabled{opacity:.55;cursor:not-allowed}a{color:#175537}button:hover:not(:disabled),.button:hover{filter:brightness(.96)}:focus-visible{outline:3px solid #d19d2c;outline-offset:3px}h1,h2,h3,p{margin:0 0 14px}h1{font-size:clamp(1.65rem,5vw,2.5rem);line-height:1.13;letter-spacing:-.035em}h2{font-size:1.2rem;line-height:1.3;display:flex;align-items:center;gap:8px}h3{font-size:1.1rem}p,small{overflow-wrap:anywhere}small{font-size:.8rem;color:#526456}label{display:flex;flex-direction:column;gap:6px;font-weight:600;margin-bottom:14px}input,select,textarea{width:100%;min-height:48px;padding:11px 12px;border:1px solid #a8b8aa;border-radius:10px;background:#fff;color:#22392b}textarea{resize:vertical}form{display:grid;gap:5px}.primary{background:#17613f;color:#fff;border-color:#17613f}.card{background:#fff;border:1px solid #e1e7dd;border-radius:19px;padding:22px;margin-bottom:18px;box-shadow:0 5px 20px #143d2605}.two{display:grid;grid-template-columns:1fr 1fr;gap:14px}.brand{font-size:1.8rem;font-weight:800;letter-spacing:-.055em;text-decoration:none;display:flex;gap:2px;align-items:center;color:#123f2b}.brand span{color:#32902e}.brand svg{margin-right:7px}.eyebrow{display:block;color:#517151;font-size:.7rem;letter-spacing:.14em;font-weight:800;margin-bottom:14px}.notice{padding:15px 18px;background:#eef5e9;border:1px solid #c8dcc0;border-radius:12px;margin:12px auto;max-width:1100px}.warning{background:#fff1cf;border-color:#e9c875;color:#654a0c}.danger{color:#9b3027}.muted{color:#596b60;font-size:.85rem}.badge{padding:5px 10px;background:#eef5e9;border-radius:30px;font-size:.7rem}.section-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:15px}.section-title h2,.section-title h3{margin:0}.auth-page{max-width:530px;padding:35px 20px;margin:auto}.auth-page>.brand{margin-bottom:5px}.auth-page>.card{margin-top:25px}.auth-links{display:grid;gap:8px;margin-top:15px}.auth-links button{border:0;background:none;font-size:.9rem}.app-shell{max-width:760px;margin:0 auto;min-height:100vh;background:#f5f7f2}.app-shell>aside{font-size:.8rem!important;box-shadow:0 2px 8px #0000000a}.app-shell>aside p{font-size:.78rem;margin:6px 0}.app-header{display:flex;justify-content:space-between;align-items:center;padding:18px 20px}.app-header button{border:0;background:#e5eee2;border-radius:50%;width:48px}.app-content{padding:0 16px 105px}.farm-select label{font-size:.75rem;color:#576e5c}.farm-select select{font-size:.95rem;font-weight:650}.hero{min-height:270px;background:linear-gradient(90deg,#f1f5ec,#f1f5eccf 37%,#f1f5ec05 72%),url(/agro/recriagro/nelore.jpg) right center/auto 100% no-repeat;border-radius:20px;overflow:hidden;padding:24px 18px;display:flex;align-items:center;margin-bottom:16px}.hero>div{max-width:61%}.hero h1{font-size:clamp(1.5rem,5.3vw,2.2rem);text-wrap:balance}.hero p{font-size:.87rem}.hero .eyebrow{font-size:.58rem;letter-spacing:.08em}.region-strip{background:#fff;border:1px solid #e1e7dd;border-radius:15px;padding:14px 18px;margin-bottom:16px}.region-strip label{margin:0;font-size:.85rem}.region-strip select{border:0;padding:4px 0;font-size:1rem;min-height:40px}.market{padding:19px 16px}.quote-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.quote{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;text-align:left;padding:15px 12px;gap:3px;min-width:0;border-color:#e4e9df}.quote strong{font-size:.92rem}.quote b{font-size:1.3rem;letter-spacing:-.04em}.quote span{font-size:.8rem;font-weight:400}.quote small{font-size:.65rem}.quote .link{margin-top:7px;font-size:.75rem;font-weight:650}.up{color:#277730}.down{color:#a93424}.overview .card{padding:18px 14px}.overview h2{margin-top:10px;font-size:1.05rem}.overview p{font-size:.8rem;margin-bottom:0;color:#536556}.actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin:0 0 18px}.actions button{flex-direction:column;border:0;color:#fff;border-radius:15px;font-size:.86rem;line-height:1.2;min-height:110px;padding:12px 7px}.green{background:#277c36}.teal{background:#176751}.ochre{background:#a45d16}.blue{background:#226f96}.bottom-nav{position:fixed;bottom:0;left:50%;transform:translate(-50%);width:100%;max-width:760px;display:grid;grid-template-columns:repeat(5,1fr);padding:10px 5px calc(10px + env(safe-area-inset-bottom));background:#fffffff5;border-top:1px solid #e0e7dc;backdrop-filter:blur(10px);z-index:25}.bottom-nav button{border:0;border-radius:9px;flex-direction:column;gap:3px;background:none;color:#637266;padding:5px 2px;font-size:.76rem;font-weight:500}.bottom-nav button[aria-current]{color:#166139;background:#edf5e9;font-weight:750}.history{margin-top:24px;border-top:1px solid #dfe6dc;padding-top:18px}.history svg{width:100%;max-height:200px}.history details{margin:15px 0}.empty{padding:45px 25px;text-align:center}.empty svg{margin-bottom:20px}.note{padding:15px 0;border-top:1px solid #e2e8de}.public-page header,.public-page main,.public-page footer{max-width:1180px;margin:auto;padding:24px}.public-page header{display:flex;align-items:center;justify-content:space-between;gap:12px}.public-hero{display:grid;grid-template-columns:1.1fr 1fr;gap:45px;align-items:center;margin:40px 0 70px}.public-hero h1{font-size:clamp(2rem,5vw,3.8rem)}.public-hero p{font-size:1.05rem;color:#526756;margin:25px 0}.public-hero img{width:100%;border-radius:28px;aspect-ratio:1.05;object-fit:cover}.text-link{display:block;margin-top:18px}.feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:25px 0}.feature-grid .card{margin:0}.feature-grid svg{color:#367b44;margin-bottom:20px}.feature-grid p{color:#56665a;font-size:.94rem}.pilot{padding:35px;margin-top:30px;background:#e8f0e2}.public-page footer{border-top:1px solid #dbe3d5;font-size:.85rem;color:#5b6d5b}.public-page footer a{display:inline-block;margin-top:10px}.checkout{max-width:650px;margin:30px auto}.checkout li{margin:12px 0}.checkout details{margin-top:22px}.admin-shell{max-width:1100px;margin:auto;padding:25px 20px}.admin-shell>header{display:flex;align-items:center;gap:20px;flex-wrap:wrap}.admin-shell>header p{margin:0;flex:1}.admin-nav{display:flex;gap:8px;flex-wrap:wrap;margin:25px 0}.admin-nav [aria-current]{background:#175d3d;color:#fff}.dashboard{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.metric{font-size:2.2rem}.admin-shell form{max-width:600px}.admin-shell .card button{margin:5px}.secret{border:2px solid #9ab783}.secret output{display:block;overflow-wrap:anywhere;font-weight:800;padding:15px;background:#f2f7ef;margin-bottom:15px}.update{position:relative;z-index:40}.shell{padding:25px}.note p{white-space:pre-wrap}@media(min-width:650px){.quote-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.hero{min-height:320px}.hero>div{max-width:55%}}@media(max-width:650px){.public-page header{padding:20px 16px}.public-page header .brand{font-size:1.4rem}.public-page header .button{font-size:.8rem;padding:9px}.public-page main{padding:16px}.public-hero{grid-template-columns:1fr;gap:25px;margin:20px 0 45px}.public-hero img{aspect-ratio:1.6}.feature-grid{grid-template-columns:1fr}.dashboard{grid-template-columns:1fr 1fr}.actions{grid-template-columns:repeat(2,minmax(0,1fr))}.actions button{min-height:91px;flex-direction:row;font-size:.93rem;gap:9px}.app-content{padding-left:12px;padding-right:12px}.card{padding:19px}.brand{font-size:1.65rem}.hero{min-height:265px}.hero>div{max-width:65%}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}@media(max-width:350px){.two,.quote-grid{grid-template-columns:1fr}.bottom-nav button{font-size:.65rem}}.herd h1{font-size:1.8rem}.herd-total strong{font-size:2.5rem;line-height:1.1}.button-row{display:flex;gap:10px;flex-wrap:wrap}.button-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.lot-card{width:100%;justify-content:space-between;text-align:left;margin-bottom:12px;padding:18px;background:#fff}.lot-card small{display:block;font-weight:400}.lot-card b{text-align:right;font-size:1.5rem}.lot-detail,.form-title{margin-top:20px}.pasture-row{margin:15px 0 0;padding:15px 0 0 15px;border-top:1px solid #e1e7dd}.check{flex-direction:row;align-items:center}.check input{width:26px;min-height:26px}.herd summary{cursor:pointer;min-height:48px;padding:10px 0;font-weight:650}.herd dl{margin:0}.herd dt{color:#526456;font-size:.85rem}.herd dd{margin:0 0 16px;font-weight:650}.payload{white-space:pre-wrap;overflow-wrap:anywhere;font-size:.8rem}.herd form[hidden]{display:none}.herd .two>*{min-width:0}.rural h1{font-size:1.8rem}.rural summary{cursor:pointer;padding:12px 0;min-height:48px;font-weight:650}.rural .card>button{margin:5px 5px 12px 0}.rural dl{margin:12px 0}.rural dt{font-size:.85rem;color:#526456}.rural dd{margin:0 0 16px;overflow-wrap:anywhere}.rural fieldset{border:1px solid #d6dfd5;border-radius:12px;margin-bottom:15px}.rural input[type=file]{max-width:100%;font-size:.85rem}.rural .two>*{min-width:0}@media print{.bottom-nav,.app-header,.app-shell>aside,.rural button,.farm-select{display:none!important}.app-content{padding:0}.card{box-shadow:none;break-inside:avoid}.app-shell{max-width:none}}@media print{.app-content>*{display:none!important}.app-content>div:has(.report-print){display:block!important}.rural>*{display:none!important}.rural .report-print{display:block!important}.report-print label{display:none!important}.report-print{border:0;padding:0}}.market-embed{max-width:100%;overflow-x:auto}.brand-official{gap:10px;letter-spacing:normal;min-width:0}.brand-official img{width:80px;height:80px;object-fit:contain;border-radius:10px;flex-shrink:0}.brand-official .brand-wordmark{font-size:1.35rem;color:#173c2d;line-height:1.25}.brand-wordmark small{display:block;font-size:.65rem;font-weight:500;margin-top:5px}.bottom-nav{grid-template-columns:repeat(6,minmax(0,1fr))}.bottom-nav button{font-size:.7rem}.herd-overview{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.herd-overview .card{padding:16px 12px;min-width:0}.herd-overview .metric{display:block;font-size:1.6rem;line-height:1.2;margin:12px 0;overflow-wrap:anywhere}.herd-overview p{font-size:.85rem}.all-herd{background:#eaf3e6}.herd-overview button{font-size:.85rem;width:100%}@media(max-width:380px){.herd-overview{grid-template-columns:1fr}.brand-official img{width:64px;height:64px}.brand-official .brand-wordmark{font-size:1.15rem}}@media(max-width:650px){.public-page header{flex-wrap:wrap}}.bottom-nav{grid-template-columns:repeat(5,minmax(0,1fr))}.bottom-nav button{font-size:.76rem}.account-menu{border:0;border-radius:24px 0 0 24px;padding:22px 18px;margin:0 0 0 auto;width:min(390px,100%);height:100dvh;max-height:100dvh;max-width:100%;background:#f5f7f2;color:#173c2d;box-shadow:-8px 0 35px #142d2930;overflow-y:auto}.account-menu::backdrop{background:#10281c80}.account-menu header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:8px 0 22px;border-bottom:1px solid #dce5d8}.account-menu header h2{font-size:1.25rem}.account-menu header p{margin:0;color:#526456;overflow-wrap:anywhere}.account-menu header>div{min-width:0}.account-menu header button{flex-shrink:0;width:48px;padding:10px}.account-menu nav{display:grid;gap:8px;padding:20px 0}.account-menu nav button{width:100%;justify-content:flex-start;text-align:left;min-height:58px;padding:14px}.account-menu nav button span{flex:1}.account-menu nav svg{flex-shrink:0}.account-menu .account-logout{margin-top:16px;color:#963c30}.profile-card dt{color:#526456;font-size:.85rem}.profile-card dd{margin:3px 0 20px;overflow-wrap:anywhere;font-weight:650}.settings-back{margin:0 0 18px}.module-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:12px 0 20px}.module-grid button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:78px;padding:12px;text-align:center;white-space:normal}.module-grid button[aria-pressed=true]{background:#185f43;color:#fff}.module-grid small{font-weight:400}.monthly-totals{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:18px 0}.monthly-totals article{background:#eef5ef;border-radius:12px;padding:12px;overflow-wrap:anywhere}.monthly-totals h3{font-size:1rem}.monthly-totals strong{font-size:1.25rem}@media print{.rural>.reports-more{display:block!important}.reports-more>summary{display:none!important}}.bottom-nav{grid-template-columns:repeat(4,minmax(0,1fr))}.bottom-nav button{font-size:.8rem}.welcome-hero{position:relative;isolation:isolate;overflow:hidden;min-height:290px;border-radius:24px;padding:25px 22px 18px;background:#254b2f url(/agro/recriagro/nelore.jpg) center top/cover no-repeat;color:#fff;margin:0 0 14px}.welcome-hero:before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,#0c2316a6,#0c23161f 48%,#0c2316e0)}.welcome-copy{min-height:165px}.welcome-copy .eyebrow{color:#e5efd7;font-size:.65rem;margin-bottom:10px}.welcome-copy h1{font-size:2rem;margin-bottom:8px;overflow-wrap:anywhere}.welcome-copy p{font-size:.9rem;color:#f0f4e8}.hero-herd{width:100%;border:0;background:transparent;color:#fff;padding:0;gap:12px;text-align:left;justify-content:flex-start}.hero-herd>span:nth-child(2){flex:1;min-width:0}.hero-herd small{display:block;color:#e5eadc;font-size:.74rem;font-weight:500}.hero-herd strong{display:block;font-size:2rem;line-height:1.2;overflow-wrap:anywhere}.hero-herd strong span{font-size:1rem;font-weight:500}.hero-herd>span:last-child{font-size:1.8rem}.hero-farms{display:block;margin:9px 0 0 44px;font-size:.7rem;color:#e1e9dc}.home-fold{background:#fff;border:1px solid #e0e7db;border-radius:14px;padding:0 15px;margin-bottom:16px}.home-fold>summary,.region-choice>summary{cursor:pointer;min-height:48px;padding:12px 0;font-weight:600}.home-fold[open]{padding-bottom:15px}.home-fold .card{border:0;box-shadow:none;padding:12px 0 0;margin:0}.home-market{margin:23px 0 16px}.home-market-title{display:flex;align-items:center;justify-content:space-between}.home-market-title h2{margin:0;font-size:1.25rem}.home-market-title>span{background:#e4eddd;color:#315534;padding:4px 10px;border-radius:8px;font-size:.8rem;font-weight:700}.region-choice{font-size:.85rem;color:#536b59}.home-market .market{padding:16px;margin-bottom:12px}.home-market .market:has(.quote-grid:empty){border:0;padding:0;background:transparent;box-shadow:none}.home-market .market:has(.quote-grid:empty) .section-title{display:none}.home-market .card>details>summary{min-height:48px;padding:12px 0;cursor:pointer}.home-market .market-embed{display:flex;justify-content:center}.home-market .quote .link{font-size:.75rem}.home-alert{width:100%;background:#fff3d6;border-color:#e8d5a5;margin-bottom:12px}.home-simple .card{border-radius:18px}.weather-compact{padding:17px}.weather-top{display:flex;align-items:center;justify-content:space-between;gap:12px}.weather-top h2{font-size:1rem;margin-bottom:6px}.weather-top p{margin:0}.weather-temperature{font-size:1.7rem;white-space:nowrap;letter-spacing:-.04em}.weather-rain{font-size:.85rem;margin:13px 0 5px}.weather-compact>small{font-size:.7rem}.weather-compact details summary{cursor:pointer;min-height:48px;padding:12px 0 0;font-size:.85rem}.weather-compact details[open] summary{padding-bottom:14px}.weather-compact details button{display:block;margin-top:12px}.app-shell{position:relative;isolation:isolate;background:transparent}.app-shell:before{content:"";position:fixed;inset:0;pointer-events:none;z-index:-1;background:linear-gradient(#f5f7f0d4,#f5f7f0e0),url(/agro/recriagro/nelore.jpg) center/cover no-repeat}.app-shell .card,.app-shell .home-fold{background:#fffffff0}.app-shell .bottom-nav{background:#fafcf7f7}.hero-herd{--cattle-detail:#234b34}.cattle-head-icon{flex-shrink:0}.app-shell .account-menu{background:linear-gradient(#f5f7f2ed,#f5f7f2f7),url(/agro/recriagro/nelore.jpg) center/cover}.quote-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.quote{overflow-wrap:anywhere}.quote b{font-size:clamp(1.05rem,4.6vw,1.3rem)}.market-embed iframe{max-width:100%;display:block}.market-embed{min-width:0}.market-selectors{display:grid;grid-template-columns:1fr;gap:6px}.weather-days{display:grid;gap:8px}.weather-day{border:1px solid #d9e3d3;border-radius:12px;padding:12px;background:#f4f8ef}.weather-day p{margin:4px 0;font-size:.88rem}.weather-day small{display:block}.market-categories{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}.market-categories span{background:#edf3e6;padding:5px 9px;border-radius:9px;font-size:.8rem}@media(max-width:360px){.quote-grid{grid-template-columns:1fr}.home-market .card{padding:14px}}@media print{.app-shell:before{display:none}}@media(max-width:360px){.home-market .online-market{margin-left:-8px;margin-right:-8px;padding:14px 0}.online-market>h2,.online-market>label,.online-market>p,.online-market>details,.online-market>.market-categories{margin-left:12px;margin-right:12px}.online-market>button{margin-left:12px;max-width:calc(100% - 24px)}.online-market .market-embed{width:100%;overflow:visible}.online-market .market-embed iframe{width:302px;min-width:302px;max-width:302px}}.producer-market{min-width:0}.producer-quotes{display:grid;gap:0}.producer-quote{padding:16px 0;border-bottom:1px solid #dce5dc;min-width:0}.producer-price{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px 14px;align-items:baseline}.producer-price b{font-size:1.25rem;color:#155e40}.producer-price b small{font-size:.9rem;font-weight:400}.producer-quote p{margin:6px 0;font-size:.95rem}.producer-quote small{overflow-wrap:anywhere;line-height:1.5;display:block}.producer-price b small{display:inline}.producer-market select{max-width:100%}.manual-market{margin-top:16px}.weather-condition{display:flex;gap:8px;align-items:center}.weather-day p{margin:9px 0}.weather-period{display:grid;gap:5px;border-top:1px solid #dce5dc;padding-top:10px}.weather-days{grid-template-columns:1fr}.money-chart{margin:24px 0;padding:16px 0;border-top:1px solid #dce5dc;min-width:0}.money-chart ul{list-style:none;padding:0;margin:0;display:grid;gap:12px}.money-chart button{display:block;width:100%;text-align:left;padding:12px;white-space:normal}.chart-label{display:flex;flex-wrap:wrap;justify-content:space-between;gap:6px 12px;overflow-wrap:anywhere}.chart-track{display:block;background:#e8eee5;height:20px;border-radius:5px;margin:10px 0;overflow:hidden}.chart-bar{display:block;height:100%;background:#24744c;border-radius:5px}.chart-bar.negative{background:#a74831}.money-chart small{display:block}.chart-tabs{display:flex;gap:10px;margin-top:16px}.chart-tabs button{flex:1;min-height:48px}.chart-tabs button[aria-pressed=true]{background:#175d3d;color:#fff}.management-charts .money-chart{margin-top:14px}.monthly-details,.report-export{margin-top:20px}.report-export button{margin-top:12px}.admin-shell .admin-nav{flex-wrap:nowrap;overflow-x:auto;padding:6px 0 14px;max-width:100%;position:sticky;top:0;background:#f4f6f1;z-index:5}.admin-nav button{flex-shrink:0}.admin-finances .metric{display:block;font-size:clamp(1.1rem,3vw,1.8rem);overflow-wrap:anywhere}.admin-shell .dashboard{grid-template-columns:repeat(3,minmax(0,1fr))}.admin-shell details summary{cursor:pointer;min-height:48px;font-weight:700}.admin-shell .section-title{flex-wrap:wrap}.admin-shell .card{min-width:0}@media(max-width:600px){.admin-shell{padding:18px 14px}.admin-shell .dashboard{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-shell .admin-finances,.admin-shell .two{grid-template-columns:1fr}.admin-shell>header{gap:10px}.admin-shell>header p{font-size:.9rem}}.home-market-expand>summary{cursor:pointer;min-height:52px;padding:14px;font-weight:750;border:1px solid #dbe5d8;border-radius:14px;background:#fff}.home-market-expand[open]>summary{margin-bottom:14px}.auth-welcome{display:flex;align-items:center;gap:16px;margin:4px 0 22px}.auth-welcome img{width:80px;height:80px;object-fit:contain;border-radius:16px;flex-shrink:0}.auth-welcome>div{min-width:0}.auth-welcome .auth-name{font-size:1.25rem;font-weight:800;margin:0 0 6px;color:#175537}.auth-welcome h1{font-size:clamp(1.35rem,5vw,1.9rem);line-height:1.2;margin:0;letter-spacing:-.025em}.auth-page>.card{margin-top:0}.admin-shell>header{justify-content:space-between}@media(max-width:380px){.auth-welcome{gap:12px}.auth-welcome img{width:68px;height:68px}.auth-page{padding:24px 16px}}.app-shell .sync-pending{background:transparent;border:0;box-shadow:none;margin:8px 0 0;padding:0 4px;color:#536b59;font-size:.85rem}.sync-pending>summary{font-weight:400;min-height:44px;padding:12px 0}.sync-pending[open]{padding-bottom:8px}.sync-pending p{font-size:.85rem}.home-alert{background:transparent;border:0;box-shadow:none;padding:8px 4px;font-size:.85rem;font-weight:400;color:#536b59;min-height:44px}.home-quick-expense,.home-charts-link{width:100%;margin:0 0 14px;gap:8px;min-height:48px}.pie-wrap{display:flex;justify-content:center;margin:18px 0}.expense-pie{width:min(100%,260px);aspect-ratio:1;border-radius:50%;display:grid;place-items:center;position:relative}.pie-center{width:66%;height:66%;border-radius:50%;background:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;padding:10px;overflow-wrap:anywhere;text-align:center}.pie-center strong{font-size:clamp(1rem,4vw,1.4rem)}.pie-center small{color:#536b59}.chart-dot{display:inline-block;width:11px;height:11px;border-radius:50%;margin-right:7px;flex-shrink:0}.chart-total{font-size:1.05rem}.chart-label{flex-wrap:wrap}.chart-label>span small{white-space:nowrap}.annual-totals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:16px 0}.annual-totals article{background:#f0f5ef;padding:12px;border-radius:12px;min-width:0}.annual-totals small,.annual-totals strong{display:block;overflow-wrap:anywhere}.annual-totals strong{margin-top:6px}.annual-totals .negative{color:#984127}.annual-legend{display:flex;gap:20px}.annual-legend span{display:flex;align-items:center;gap:6px}.annual-legend i{display:inline-block;width:12px;height:12px;border-radius:3px}.income{background:#21724a}.expense{background:#c67a22}.annual-scroll{overflow-x:auto;max-width:100%;overscroll-behavior-x:contain;border-bottom:1px solid #cbd8cc}.annual-bars{display:grid;grid-template-columns:repeat(12,minmax(48px,1fr));min-width:660px;gap:5px}.annual-bars button{display:flex;flex-direction:column;gap:8px;background:transparent;border:0;border-radius:6px;padding:5px;font-size:.8rem;min-width:0}.annual-bars button[aria-pressed=true]{background:#eaf1e7}.annual-columns{display:flex;gap:4px;height:160px;width:100%;align-items:flex-end;border-bottom:1px solid #b7c7b9}.annual-column{display:flex;align-items:flex-end;position:relative;width:50%;height:100%}.annual-column i{display:block;width:100%;border-radius:3px 3px 0 0}.annual-column b{position:absolute;bottom:0;left:2px;color:#fff}.annual-column .refunded{background-image:repeating-linear-gradient(45deg,transparent,transparent 4px,#ffffff88 4px,#ffffff88 7px)}.annual-month{background:#f0f5ef;border-radius:12px;padding:14px;margin:16px 0}.annual-month p{margin:8px 0 0}@media(max-width:400px){.annual-totals{grid-template-columns:1fr}.annual-totals article{display:flex;align-items:center;justify-content:space-between;gap:8px}.annual-totals strong{margin:0}}.home-simple>.home-market{padding:0;margin:0 0 14px;background:#fffffff0;border:1px solid #dbe5d8;border-radius:14px;overflow:hidden}.home-simple>.home-market>summary{border:0;border-radius:0;background:transparent;padding:14px 16px}.home-market>summary small{display:block;font-size:.78rem;font-weight:400;color:#536b59;margin-top:5px}.home-market[open]>:not(summary){margin-left:16px;margin-right:16px}.weather-summary{display:inline-flex;align-items:center;justify-content:space-between;gap:12px;width:calc(100% - 22px);vertical-align:middle}.weather-summary>span{display:flex;gap:7px;align-items:center;min-width:0}.weather-summary>strong{white-space:nowrap;font-size:1rem}.rural-content{scroll-margin-top:16px;outline:none}.app-shell:before{background-position:center top}.weighing-totals{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:10px;margin:16px 0}.weighing-totals>div{padding:12px;background:#edf5ed;border-radius:12px}.weighing-totals strong,.weighing-totals span{display:block}.weighing-totals strong{font-size:1.35rem}.weighing-totals span{font-size:.8rem}.weighing-list{padding-left:20px}.weighing-list li{padding:10px 0;border-bottom:1px solid #dbe5d8;overflow-wrap:anywhere}.weighing-list li>div{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}.weighing-list button{font-size:.8rem;padding:8px}.pasture-occupancy{padding:16px 0;border-top:1px solid #dbe5d8}.pasture-occupancy p{margin:6px 0}.occupancy-track{height:16px;background:#e2e7e0;border-radius:8px;overflow:hidden;margin:10px 0}.occupancy-track>span{height:100%;display:block;background:#287a4a}.occupancy-track.near>span{background:#b37c12}.occupancy-track.high>span{background:#b63636}.occupancy-label.high{color:#9d2323}.occupancy-label.near{color:#765109}.occupancy-label.low{color:#23653f}.weighing-card fieldset{min-width:0;border:0;padding:0;margin:12px 0}.weighing-card summary{cursor:pointer;padding:12px 0;font-weight:600}.weighing-totals{grid-template-columns:repeat(3,minmax(0,1fr))}.weighing-totals>div{padding:10px 8px}.weighing-totals strong{font-size:clamp(.9rem,4vw,1.35rem);overflow-wrap:anywhere}.weighing-totals span{font-size:.75rem}.app-shell:before{background-image:linear-gradient(#f5f7f07a,#f5f7f0a6),url(/agro/recriagro/nelore.jpg);background-position:center top;background-size:cover}.app-shell .welcome-hero{background:#12311d52}.weighing-table-wrap{width:100%;overflow-x:auto}.weighing-table{width:100%;border-collapse:collapse;table-layout:fixed}.weighing-table caption{text-align:left;font-weight:700;padding:8px 0}.weighing-table th,.weighing-table td{padding:8px 4px;text-align:left;border-bottom:1px solid #dbe5d8;overflow-wrap:anywhere}.weighing-table th:first-child{width:20%}.weighing-table th:nth-child(2){width:38%}.weighing-table input{margin:0;width:100%;min-width:0}.weighing-table button{font-size:.78rem;padding:8px 6px;min-height:40px;margin:2px;max-width:100%}.weighing-entry{background:#edf5ed}.weighing-totals{scroll-margin-bottom:calc(100px + env(safe-area-inset-bottom))}.weighing-table-wrap{max-height:clamp(180px,42dvh,380px);overflow:auto;scroll-padding-bottom:70px}.weighing-table thead th{position:sticky;top:0;background:#fff;z-index:2}.weighing-table .weighing-entry td{position:sticky;bottom:0;background:#edf5ed;z-index:1}.error-notice-dialog{border:1px solid #d3decf;border-radius:20px;padding:24px;width:min(440px,calc(100vw - 32px));max-height:80dvh;overflow:auto;color:#173c2d;background:#fff;box-shadow:0 16px 60px #0004}.error-notice-dialog::backdrop{background:#10261b99}.error-notice-dialog h2{font-size:1.3rem;margin-top:0}.error-notice-dialog p{white-space:pre-wrap;overflow-wrap:anywhere}.error-notice-dialog button{width:100%;margin-top:12px}.occupancy-track{position:relative;overflow:visible!important}.occupancy-track>span{display:block;height:100%;border-radius:inherit}.capacity-marker{position:absolute;top:-4px;bottom:-4px;width:3px;background:#173c2d;transform:translate(-3px)}.occupancy-track.maintenance>span{background:repeating-linear-gradient(135deg,#b67918 0px 8px,#e9be6d 8px 16px)}.maintenance-badge{background:#fff0ce;color:#775011;margin-left:6px}.occupancy-label.maintenance{color:#775011}.farm-group{margin:24px 0;border:1px solid #bdcec2;border-radius:16px;background:#fff;overflow:hidden;box-shadow:0 3px 10px #163e2910}.farm-group-header{padding:18px;background:#e9f2ec;border-bottom:1px solid #bdcec2;border-left:5px solid #17613f}.farm-group-header h3{margin:4px 0 8px;font-size:1.2rem}.farm-group-header p{margin:8px 0}.farm-group-eyebrow{text-transform:uppercase;font-size:.7rem;letter-spacing:.1em;font-weight:700;color:#4f6758}.farm-group>.pasture-row,.farm-group>.pasture-occupancy{margin:0 16px;padding:18px 0}.farm-group>.pasture-row:first-of-type,.farm-group>.pasture-occupancy:first-of-type{border-top:0}.farm-animals-chart>article{padding:16px;margin:16px 0;background:#f3f7f3;border:1px solid #cfddd1;border-radius:14px}.farm-animals-chart h3{margin:0 0 12px}.farm-animals-chart p{margin:8px 0;font-size:.9rem}.farm-pasture-details>summary{padding:14px 0;font-weight:700;cursor:pointer}.quote-unit-pair{display:grid;gap:8px;text-align:right}.quote-unit-pair>div>small{display:block;font-size:.7rem;color:#58705f}.quote-unit-pair b{font-size:1.05rem}.producer-price{flex-wrap:wrap;gap:10px}.bottom-nav{grid-template-columns:repeat(6,minmax(0,1fr));gap:2px;padding-left:4px;padding-right:4px}.bottom-nav button{min-width:0;min-height:58px;padding:6px 1px;font-size:clamp(.59rem,2.5vw,.75rem);gap:4px}.bottom-nav button svg{flex-shrink:0}.bottom-nav button span{white-space:nowrap}.bottom-nav{width:calc(100% - 32px);max-width:728px;border-radius:14px 14px 0 0}@media(max-width:650px){.bottom-nav{width:calc(100% - 24px)}}.producer-quote{padding:10px 0}.producer-price{gap:5px 12px}.quote-unit-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;max-width:100%;text-align:left}.quote-unit-pair b{font-size:.95rem;white-space:nowrap}.quote-unit-pair b small{display:block;font-size:.72rem;white-space:normal}.quote-unit-pair>div{min-width:0}.producer-quote p{margin:4px 0;font-size:.85rem}.producer-quote>small{font-size:.72rem}.quote-conversion-note{font-size:.72rem;margin:8px 0}.quote-unit-pair b>span{font-weight:400}@media(max-width:450px){.producer-price>strong{flex-basis:100%}.quote-unit-pair{width:100%;gap:8px}}.pasture-chart-legend{display:flex;gap:18px;flex-wrap:wrap;font-size:.8rem}.pasture-chart-legend span{display:flex;align-items:center;gap:6px}.pasture-chart-legend i{width:14px;height:14px;border-radius:3px}.capacity-key{background:#b5a17a}.animals-key{background:linear-gradient(to right,#278c27,#b08c1b,#a71b1b)}.pasture-chart-scroll{overflow-x:auto;max-width:100%;padding:32px 14px 16px;overscroll-behavior-x:contain}.pasture-bars{display:flex;gap:22px;width:max-content;min-width:100%}.pasture-bar-group{flex:0 0 144px;width:144px;text-align:center}.pasture-bar-pair{height:180px;display:flex;gap:10px;padding:0 10px;border-bottom:1px solid #b5c6b9;background:repeating-linear-gradient(to top,transparent 0,transparent 44px,#e5ece6 44px,#e5ece6 45px)}.pasture-bar-column{height:100%;flex:1;position:relative}.pasture-bar-fill{display:block;position:absolute;bottom:0;width:100%;min-height:2px;border-radius:5px 5px 0 0}.pasture-bar-fill strong{position:absolute;bottom:calc(100% + 3px);left:50%;transform:translate(-50%);font-size:.8rem;white-space:nowrap;color:#173c2d;background:#fff;border-radius:4px;padding:2px 3px;line-height:1.2;z-index:1}.capacity-bar{background:#b5a17a}.animal-bar{background-color:#287a4a}.animal-bar.near{background-color:#b37c12}.animal-bar.high{background-color:#b63636}.animal-bar.maintenance{background-image:repeating-linear-gradient(135deg,transparent 0,transparent 7px,#ffffff65 7px,#ffffff65 12px)}.pasture-bar-labels{display:grid;grid-template-columns:1fr 1fr;gap:8px;font-size:.57rem;color:#526456;margin:5px 0 14px}.pasture-bar-group h3{font-size:.9rem;margin:0 0 7px;overflow-wrap:anywhere}.pasture-bar-group p{font-size:.75rem;margin:5px 0}.pasture-bar-group>small{display:block;font-size:.68rem}.pasture-bar-group>.badge{display:inline-block;margin:6px 0 0;padding:3px 7px}.money-chart{margin:18px 0}.money-chart .pie-wrap{padding:8px 0}.money-chart .expense-pie{width:min(190px,100%);height:190px}.money-chart .chart-details-toggle{min-height:42px;padding:8px 14px;font-size:.82rem;margin:8px 0}.money-chart ul li button{padding:9px 10px;gap:5px}.money-chart .chart-track{height:7px}.money-chart .note{padding:9px 0}.monthly-totals article{padding:12px}.monthly-totals h3{font-size:.9rem;margin-bottom:8px}.monthly-totals p{font-size:.8rem;margin:4px 0}@media print{.money-chart [hidden]{display:block!important}}.entity-name,.farm-group-header h3,.farm-animals-chart h3,.pasture-row>p:first-child>strong,.pasture-occupancy h3,.pasture-bar-group h3{text-transform:uppercase}.farm-group{margin:12px 0;border-radius:12px}.farm-group-header{padding:10px 12px;border-left-width:4px}.farm-group-header h3{margin:2px 0 4px;font-size:.98rem;line-height:1.3}.farm-group-header p{margin:4px 0;font-size:.8rem}.farm-group-header>small{font-size:.72rem}.farm-group-eyebrow{font-size:.6rem;letter-spacing:.07em}.farm-group>.pasture-row,.farm-group>.pasture-occupancy{margin:0 12px;padding:10px 0}.pasture-occupancy h3{font-size:.9rem;margin:0 0 4px}.pasture-occupancy p,.pasture-row p{font-size:.82rem;margin:4px 0}.pasture-occupancy>strong{font-size:.86rem}.farm-group .button-row{gap:6px}.farm-group button{min-height:44px;padding:7px 10px;font-size:.8rem}.farm-animals-chart>article{padding:12px;margin:10px 0}.farm-animals-chart h3{font-size:.95rem;margin-bottom:8px}.farm-animals-chart p{font-size:.8rem;margin:5px 0}.occupancy-track{height:12px;margin:7px 0}.pasture-chart-scroll{padding:28px 10px 12px}.pasture-bars{gap:14px}.pasture-bar-group{flex-basis:128px;width:128px}.pasture-bar-pair{height:150px}.pasture-bar-group h3{font-size:.8rem;margin-bottom:4px}.pasture-bar-group p{margin:3px 0}.pasture-bar-labels{margin-bottom:9px}.app-shell .card{padding:15px;margin-bottom:12px;border-radius:14px}.app-shell .card h2{font-size:1.05rem;margin-bottom:10px}.app-shell .card h3{font-size:.95rem;line-height:1.3}.app-shell .card p{margin-bottom:9px}.app-shell .module-grid{gap:8px;margin:8px 0 12px}.app-shell .module-grid button{min-height:60px;padding:8px;gap:5px;font-size:.85rem}.app-shell .module-grid button svg{width:21px;height:21px}.app-shell .monthly-totals{gap:8px;margin:10px 0}.app-shell .monthly-totals article{padding:10px;border-radius:10px}.app-shell .monthly-totals strong{font-size:1.1rem}.app-shell .monthly-totals h3{font-size:.82rem;margin-bottom:6px}.app-shell .weather-day{padding:9px}.app-shell .notice{padding:10px 12px;margin:8px 0;font-size:.85rem}.app-shell .section-title{margin-bottom:10px}.app-shell .rural .card>button{margin-bottom:8px}.app-shell .card label{gap:4px;margin-bottom:10px;font-size:.9rem}.app-shell .card input,.app-shell .card select{min-height:44px;padding:9px 10px}.app-shell .card .button-row button{min-height:44px;padding:8px 11px;font-size:.85rem}.app-shell .two{gap:10px}.app-shell .account-menu nav{gap:6px;padding:14px 0}.app-shell .account-menu nav button{min-height:48px;padding:10px 12px;font-size:.9rem}.app-shell .card input,.app-shell .card select,.app-shell .card textarea{font-size:1rem}.weather-compact{padding:12px}.weather-compact>h3{font-size:.9rem;margin:10px 0 8px}.weather-now{display:flex;flex-wrap:wrap;gap:6px 12px;font-size:.75rem;margin:10px 0}.weather-now>span{display:inline-flex;align-items:center;gap:5px}.weather-farm-label{display:block;text-transform:uppercase;font-weight:650;margin:6px 0}.weather-compact .weather-days{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;align-items:start}.weather-compact .weather-day{padding:9px 7px;border-radius:10px;text-align:center;min-width:0}.weather-day-date{display:block;font-size:.72rem}.weather-day-icon{display:flex;justify-content:center;margin:8px 0 4px}.weather-compact .weather-day p{font-size:.72rem;margin:4px 0}.weather-day-condition{min-height:2.8em;line-height:1.35}.weather-compact .weather-day-temperature{display:flex;align-items:baseline;justify-content:center;gap:9px}.weather-day-temperature strong{font-size:1.15rem}.weather-day-temperature span{color:#647469}.weather-compact .weather-day-rain{color:#236b94;font-size:.7rem}.weather-compact .weather-day summary{min-height:44px;padding:10px 0;font-size:.72rem}.weather-compact .weather-day details[open]>summary{padding-bottom:8px}.weather-compact .weather-method{font-size:.75rem;margin:6px 0}.weather-compact .weather-method summary{font-size:.78rem;min-height:44px;padding:10px 0}.weather-symbol{flex-shrink:0}.weather-symbol-sun{color:#b8750a}.weather-symbol-cloud{color:#667e8b}.weather-symbol-rain{color:#287ca7}.weather-symbol-thunder{color:#996c18}.weather-symbol-mixed{color:#718354}.weather-compact>button{min-height:44px;font-size:.8rem;margin-top:8px;padding:8px 12px}@media(max-width:450px){.weather-compact .weather-days{grid-template-columns:repeat(2,minmax(0,1fr))}.weather-summary{gap:6px}.weather-summary>span{font-size:.88rem}.weather-summary>strong{font-size:.92rem}}.farm-chart-area{display:grid;gap:2px}.farm-chart-area>span{display:block;white-space:nowrap;font-size:.72rem}.home-fold>.farm-animals-chart{margin:12px 0}.inventory-category{padding:10px 12px}.inventory-category summary{display:grid;grid-template-columns:1fr auto;gap:3px 10px}.inventory-category summary small{grid-column:1/-1}.inventory-item{display:grid;grid-template-columns:1fr auto;gap:6px;padding:10px 0;border-top:1px solid var(--line,#dce5dd)}.inventory-item .button-row{grid-column:1/-1}.inventory-bars{display:flex;gap:12px;overflow-x:auto;padding:20px 4px 10px}.inventory-bars>div{min-width:90px;max-width:130px;text-align:center;font-size:.8rem}.inventory-bar-track{height:90px;display:flex;align-items:flex-end;justify-content:center}.inventory-bar-track i{display:block;width:32px;background:#237e4c;border-radius:4px 4px 0 0}.home-alert{color:#184c35!important;background:#fff!important;font-weight:700}.home-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.home-actions button{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:10px 4px;font-size:.8rem;gap:5px;min-height:72px}.home-actions button:nth-child(2){background:#a96513}.home-actions button:nth-child(3){background:#246c92}.weighing-table td{min-width:0}.weighing-table input{min-width:65px;width:100%}.home-weather-herd{display:grid;grid-template-columns:1.5fr 1fr;gap:8px;align-items:start}.home-herd-summary{display:flex;flex-direction:column;align-items:center;gap:4px;margin:0}.home-weather-herd .weather-summary{flex-wrap:wrap}.home-weather-herd .weather-compact[open]{grid-column:1/-1}.home-market-expand[open]>.producer-market .producer-quotes{display:flex;overflow-x:auto;gap:8px}.home-market-expand[open]>.producer-market .producer-quote{min-width:135px;flex:1}.home-market-expand[open]>.producer-market{padding:8px 0}.home-weather-herd .weather-compact{margin:0;min-width:0}@media(max-width:360px){.home-weather-herd{grid-template-columns:1fr}.home-actions{gap:4px}.home-actions button{font-size:.72rem}}.home-simple{display:flex;flex-direction:column;gap:10px}.home-simple>.welcome-hero{order:0;min-height:0;padding:14px 16px;margin:0}.welcome-copy{min-height:0}.welcome-copy h1{font-size:1.4rem}.welcome-copy p{margin:4px 0 10px}.welcome-copy .eyebrow{margin-bottom:5px}.hero-herd strong{font-size:1.5rem}.home-simple>.home-market-expand{order:1;margin:0}.home-simple>.home-weather-herd{order:2}.home-simple>.home-actions{order:3}.home-simple>.home-fold{order:4;margin:0}.home-simple>.home-alert{order:5}.inventory-item>details{grid-column:1/-1}.producer-quote svg{max-width:100%}.home-market-expand[open]>.producer-market .producer-quote{flex:0 0 160px;min-width:160px;border-right:1px solid #dce5dd;padding:8px}.producer-quote .quote-unit-pair{display:block}.producer-quote .quote-unit-pair b{white-space:normal;overflow-wrap:anywhere}.producer-quote .quote-unit-pair small{display:block}.producer-quote>details{font-size:.8rem}.quote-controls>summary{font-size:.85rem;padding:4px 0!important;min-height:32px!important}.home-market-expand[open]>.producer-market{border:0;box-shadow:none;margin:0}.home-simple>.home-market-expand>summary{padding:8px 0}.producer-quote .producer-price{min-width:0;display:block}.producer-quote svg{display:block}.install-app{max-width:720px;margin:8px auto;padding:10px 14px}.install-app>button{margin:6px 10px}.install-app p{font-size:.9rem}.install-app summary{margin-top:4px}.home-weather-herd{display:block}.home-weather-herd .weather-compact{width:100%}.home-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.home-actions button:first-child{background:#a96513}.home-actions button:nth-child(2){background:#246c92}.home-market-expand>.region-choice>summary{min-height:28px;padding:3px 0;font-size:.78rem}.home-simple>.home-market-expand>summary{padding:5px 0}.home-market-expand[open]>.producer-market{padding:4px 0}.home-market-expand[open]>.producer-market .producer-quotes{display:grid;grid-auto-flow:column;grid-auto-columns:145px;gap:0;overflow-x:auto;scroll-snap-type:x proximity;padding-bottom:4px}.home-market-expand[open]>.producer-market .producer-quote{min-width:0;padding:6px 10px;scroll-snap-align:start;display:grid;grid-template-rows:58px 32px 18px;border-bottom:0;border-right:1px solid #dce5dd}.producer-quote .producer-price>strong{display:block;font-size:.85rem;line-height:1.25}.producer-quote .quote-unit-pair b{font-size:.95rem;line-height:1.25;white-space:nowrap}.producer-quote .quote-unit-pair small{font-size:.7rem}.producer-quote .quote-change{font-size:.68rem;line-height:1.3}.quote-change span{font-weight:700}.quote-change.up{color:#237e4c}.quote-change.down{color:#a33a28}.home-market .producer-market>details>summary{min-height:28px;padding:4px 0;font-size:.76rem}.producer-quote>small{font-size:.68rem}@media(min-width:960px){.app-shell{max-width:none;width:100%;margin:0}.app-header{padding:18px 24px}.app-content{padding:0 24px 110px}.bottom-nav{max-width:none;width:calc(100% - 48px)}.home-market-expand[open]>.producer-market .producer-quotes{grid-auto-flow:row;grid-template-columns:repeat(5,minmax(0,1fr));grid-auto-columns:auto;overflow:visible}.home-market-expand[open]>.producer-market .producer-quote{grid-template-rows:58px 24px 18px}.home-simple>.welcome-hero{padding:20px 24px}.welcome-copy h1{font-size:1.8rem}}.bottom-nav button span{min-height:2.2em;display:flex;align-items:center;justify-content:center;line-height:1.1}.bottom-nav button[aria-label="Movimentar rebanho"] span{white-space:normal;font-size:clamp(.48rem,2.1vw,.72rem);max-width:100%}.home-simple>.home-market-expand>summary{min-height:32px;margin-bottom:2px}.weighing-pasture-summary{display:grid;gap:3px;margin:10px 0 14px;padding:9px 11px;border-radius:9px;background:#edf4e9;font-size:.78rem;line-height:1.4}.weighing-history details{border-bottom:1px solid #dce5dd;padding:7px 0}.weighing-history summary{font-size:.8rem;cursor:pointer}.weighing-history-mean{display:block;margin:3px 0 0 16px;font-size:.76rem;color:#355744}.bottom-nav button[aria-label="Minha fazenda"] span{white-space:normal}.weighing-table th{font-size:.75rem;overflow-wrap:normal}.weighing-table th:first-child{width:12%;white-space:nowrap}.weighing-table th:nth-child(2){width:36%}.weighing-table th:nth-child(3){width:22%}.weighing-table th:nth-child(4){width:30%}.weighing-table td{font-size:.82rem}.weighing-table button{font-size:.7rem;padding:6px 3px;margin:1px;overflow-wrap:normal}.weighing-table input{min-width:0}.stock-use-list{display:grid;gap:6px;margin:8px 0 14px}.stock-use-item{display:grid;grid-template-columns:1fr auto;text-align:left;gap:3px 10px;padding:9px 12px;min-width:0}.stock-use-item small{grid-column:1/-1}.stock-use-item>span{grid-column:1/-1;font-size:.75rem;font-weight:500}.stock-use-picker>section{margin:14px 0}.stock-use-picker h3{margin-bottom:6px}@media(min-width:960px){.stock-use-list{grid-template-columns:repeat(3,minmax(0,1fr))}}.home-simple>.market-compact{order:1;margin:0;width:100%;min-width:0;box-sizing:border-box;padding:12px}.market-compact>summary{min-width:0}.market-compact summary>small{display:block;font-size:.74rem;margin-top:4px}.market-compact .weather-summary{flex-wrap:wrap}.market-compact .weather-summary>span{display:flex;align-items:center;gap:6px}.market-tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:12px 0}.market-tile{display:flex;flex-direction:column;align-items:center;gap:5px;padding:10px 6px;background:#edf4e9;border-radius:10px;text-align:center;min-width:0;overflow-wrap:anywhere}.market-tile strong{font-size:.85rem}.market-tile small{font-size:.7rem}.market-tile svg{color:#237e4c}.market-compact>button{display:block;margin-top:8px}.home-simple>*{min-width:0;max-width:100%;box-sizing:border-box}.home-weather-herd{width:100%}@media(min-width:960px){.market-tiles{grid-template-columns:repeat(4,minmax(0,1fr))}}.home-simple>.market-compact>summary{padding:0;min-height:44px}.weighing-report .two{grid-template-columns:repeat(2,minmax(0,1fr))}.weighing-report label,.weighing-report select,.weighing-report input{min-width:0;max-width:100%}.weighing-export{display:flex;flex-wrap:wrap;gap:6px}.weighing-export button{white-space:normal;max-width:100%;font-size:.8rem}@media(max-width:450px){.weighing-report .two{grid-template-columns:1fr}}.home-weather-herd .weather-compact{background:#fffffff0;border:1px solid #dbe5d8;border-radius:14px;padding:12px}.home-weather-herd .weather-compact>summary{background:transparent;border:0;border-radius:0;padding:0;min-height:44px}.cash-flow{padding:12px 0}.cash-flow .two{grid-template-columns:repeat(2,minmax(0,1fr))}.cash-flow label,.cash-flow input,.cash-flow select{min-width:0;max-width:100%}.cash-chart{border-top:1px solid #dbe5d8;padding:14px 0}.cash-totals{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.cash-totals span{padding:8px;background:#edf4e9;border-radius:8px;font-size:.75rem}.cash-totals strong{display:block;overflow-wrap:anywhere}.cash-bars{display:grid;grid-template-columns:repeat(12,minmax(44px,1fr));overflow-x:auto;gap:3px;max-width:100%}.cash-bars button{display:flex;flex-direction:column;padding:4px;min-width:0;font-size:.7rem}.cash-columns{height:95px;display:flex;align-items:flex-end;gap:3px;width:100%}.cash-columns i{width:50%;background:#237e4c;min-height:1px}.cash-columns i:nth-child(2){background:#c67a22}.cash-row{border-top:1px solid #dbe5d8;padding:10px 0}.cash-row p{font-size:.8rem}.cash-history>summary{padding:12px 0}.receipt-actions button{font-size:.8rem}.home-simple>.home-cash{order:5}@media(max-width:600px){.cash-totals{grid-template-columns:repeat(2,minmax(0,1fr))}.cash-flow .two{grid-template-columns:1fr}}.contact-details{overflow-wrap:anywhere}.online-access{position:fixed;inset:0;margin:0;width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;border:0;border-radius:0;padding:24px max(20px,env(safe-area-inset-left)) max(24px,env(safe-area-inset-bottom));background:#f4f6f1;color:#173c2d;overflow:auto}.online-access[open]{display:grid;place-items:center}.online-access>div{width:100%;max-width:420px;text-align:center}.online-access h1{margin-top:16px;font-size:1.65rem}.online-access button{width:100%}.online-access::backdrop{background:#f4f6f1}.app-shell .account-menu{width:min(390px,100vw);min-width:0;max-width:100vw;inset:0;margin:0 0 0 auto;border:1px solid #dce5d8;border-right:0;border-radius:20px 0 0 20px;padding:max(18px,env(safe-area-inset-top)) max(14px,env(safe-area-inset-right)) max(18px,env(safe-area-inset-bottom)) max(14px,env(safe-area-inset-left));overflow-x:hidden;overscroll-behavior:contain}.app-shell .account-menu nav button{min-width:0;white-space:normal}.app-shell .account-menu nav button span{min-width:0;overflow-wrap:anywhere}.app-shell .account-menu{left:auto;right:0;margin:0}.app-shell .chart-tabs{flex-wrap:wrap}.app-shell .chart-tabs button{flex:1 1 100px;min-width:0;white-space:normal;padding:10px 12px}.install-app{position:relative;z-index:1;width:calc(100% - 24px)}.app-shell .bottom-nav{border:1px solid #dbe5d8;border-bottom:0}.bottom-nav button,.bottom-nav button[aria-label="Movimentar rebanho"] span{font-size:clamp(11px,2.9vw,13px)}.bottom-nav button span{white-space:normal;max-width:100%}.app-content{padding-bottom:calc(110px + env(safe-area-inset-bottom))}@media(max-width:360px){.app-header{padding:14px 12px}.app-header .brand{gap:8px}.app-shell .account-menu header h2{font-size:1.1rem}}.herd-trade-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-items:stretch}.herd-trade-actions button{width:100%;min-width:0;min-height:64px;padding:12px 8px;flex-direction:column;gap:6px;font-size:.85rem;line-height:1.25;text-align:center}.herd-trade-actions button svg{width:22px;height:22px;flex-shrink:0}.herd-trade-actions .herd-buy{background:#17613f;border-color:#17613f}.herd-trade-actions .herd-sell{background:#205a85;border-color:#205a85}.farm-group-header .farm-remove{border-color:#d9aba5;background:#fff5f3;color:#8c2922}.farm-group-header .button-row button{max-width:100%;white-space:normal;overflow-wrap:anywhere}.farm-archive-toggle{margin-top:14px}.herd .button-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.herd .button-grid button{min-width:0;padding:10px 8px;font-size:.85rem;overflow-wrap:anywhere}.farm-colored{border-color:var(--farm-color);--farm-color:#17613f;--farm-tint:#edf5ee}.farm-colored .farm-group-header{background:var(--farm-tint);border-color:var(--farm-color)}.farm-colored h3{color:var(--farm-color)}.farm-colored .pasture-row{border-color:var(--farm-color);background:var(--farm-tint);border-radius:8px;padding:10px}.capacity-bar{opacity:1}.pasture-bar-group.farm-colored{border-top:4px solid var(--farm-color);border-radius:8px;background:var(--farm-tint);padding:10px 4px}.farm-management-actions,.pasture-management-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch}.farm-group .farm-management-actions button,.farm-group .pasture-management-actions button{width:100%;min-width:0;min-height:64px;flex-direction:column;gap:6px;overflow-wrap:anywhere}.history-toolbar,.history-pagination{display:flex;flex-wrap:wrap;align-items:center;gap:8px;justify-content:space-between;margin:12px 0}.history-toolbar button,.history-pagination button{font-size:.8rem;padding:8px;min-height:44px}.history-count,.history-pagination span{font-size:.8rem;color:#526456}.history-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:12px}.history-filters[hidden]{display:none}.history-filters label,.history-filters input,.history-filters select{min-width:0;max-width:100%}.history-page>details>summary{display:flex;flex-direction:column;gap:3px;padding:10px 0;cursor:pointer}.history-page>details>summary:before{content:"▸";color:#526456}.history-page>details[open]>summary:before{content:"▾"}.history-page>details>summary span{font-size:.8rem}.history-page .cash-row{padding:4px 0}.history-page>.note{padding:4px 0}@media(max-width:380px){.history-filters{grid-template-columns:1fr}}@media print{.history-toolbar button,.history-pagination,.history-filters{display:none!important}}.cash-chart{border:1px solid var(--cash-color);border-top:5px solid var(--cash-color);border-radius:12px;padding:12px;margin:16px 0;background:var(--cash-tint)}.cash-fiscal{--cash-color:#21643e;--cash-tint:#f0f7ee}.cash-management{--cash-color:#225f91;--cash-tint:#eef5fc}.cash-chart h3{color:var(--cash-color)}.cash-chart .cash-totals span{background:var(--cash-tint);border:1px solid var(--cash-color)}.cash-bars{grid-template-columns:repeat(12,minmax(48px,1fr)) minmax(94px,1.5fr)}.cash-balance,.annual-balance{display:flex;flex-direction:column;align-items:center;gap:6px;min-width:0;padding:4px;font-size:.75rem;border-left:2px solid #abbcaf}.cash-balance .cash-columns{justify-content:center}.cash-balance .cash-columns i{width:75%}.cash-balance span:last-child,.annual-balance span:last-child{overflow-wrap:anywhere;text-align:center}.cash-columns i.balance-positive{background:var(--cash-color)}.balance-negative,.cash-columns i.balance-negative{background:#b63932}.balance-positive{background:#21724a}.annual-balance .annual-column{width:80%;height:160px;border-bottom:1px solid #b7c7b9}.annual-balance strong{margin-top:2px}.history-page>details{position:relative}.history-page>details>summary{padding-left:18px}.history-page>details>summary:before{position:absolute;left:0;top:14px}@media print{.history-page>details>:not(summary){display:block!important}.history-page>details>summary:before{display:none}}.farm-animals-chart .pasture-bars.single-farm{justify-content:center}.password-field{position:relative;display:block;width:100%;min-width:0}.password-field>input{width:100%;padding-right:54px!important;margin-bottom:0}.password-field>.password-eye{position:absolute;right:4px;top:50%;transform:translateY(-50%);width:44px!important;height:44px;min-height:44px!important;margin:0!important;padding:0!important;border:0;background:transparent;color:inherit;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;border-radius:8px}.password-eye svg{width:22px;height:22px;pointer-events:none}.password-eye:focus-visible{outline:3px solid #b18c36;outline-offset:1px}
