*{box-sizing:border-box}:root{font-family:"Segoe UI",Arial,sans-serif;font-synthesis:none;color:#173c30;background:#f7f5ef;--forest:#143e30;--green:#245c46;--cream:#efe9d9;--muted:#52675c;--border:#d9dfd5}body{margin:0;font-size:16px;line-height:1.5}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #7a9a60;outline-offset:3px}[hidden]{display:none!important}button{border:0}a{color:inherit;text-decoration:none}svg{flex-shrink:0}button svg,.heading-actions svg,.search-box svg{height:22px;width:22px;display:block}.sidebar{position:fixed;inset:0 auto 0 0;width:250px;background:var(--cream);border-right:1px solid #d8d4c4;padding:25px 18px;display:flex;flex-direction:column;z-index:10}.brand{display:block;margin:0 0 37px}.brand-logo{display:block;width:214px;height:95px}.workspace-label{font-size:13px;font-weight:650;letter-spacing:.4px;color:#52675c;margin:0 14px 14px}.nav-item{display:flex;align-items:center;gap:13px;width:100%;padding:16px;margin:0 0 10px;background:transparent;border-radius:10px;color:#345447;font-size:17px;text-align:left;min-height:58px;font-weight:550}.nav-item svg{width:24px;height:24px}.nav-item.active{color:#fff;background:var(--forest);box-shadow:0 3px 8px #143e3010}.nav-item:hover:not(.active){background:#e2dfd0}.sidebar-note{display:none}.sidebar-bottom{margin-top:auto}.connection{display:flex;gap:10px;align-items:center;border-top:1px solid #cfcfbe;padding:21px 8px 16px}.status-dot{display:inline-block;width:9px;height:9px;border-radius:50%;background:#aa813e;flex-shrink:0}.status-dot.green{background:#38764c;box-shadow:0 0 0 4px #38764c12}.connection strong{font-size:14px;display:block;font-weight:650}.connection small{font-size:13px;display:block;color:#52675c;margin-top:3px}.settings-link{display:flex;gap:10px;align-items:center;padding:13px 8px;min-height:48px;font-size:15px;background:none;color:#345447;text-align:left}.settings-link svg{height:22px;width:22px}.pilot-label{font-size:10px;letter-spacing:.5px;color:#5c7061;padding:18px 8px 0}.main{margin-left:250px}.topbar{height:78px;background:#fffdf8;border-bottom:1px solid #e2e2d7;display:flex;align-items:center;justify-content:space-between;padding:0 34px;gap:15px}.breadcrumb{display:flex;align-items:center;gap:12px;font-size:14px;color:#5a6b60}.breadcrumb strong{color:#1b4433;font-weight:600}.top-actions{display:flex;align-items:center;gap:18px}.live-label{display:flex;align-items:center;gap:8px;font-size:13px;color:#4e6657}.live-label i{width:6px;height:6px;border-radius:50%;background:#39734d}.avatar{display:none}.page-content{max-width:1600px;margin:0 auto;padding:33px 34px 24px}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:24px;flex-wrap:wrap;margin-bottom:28px}.eyebrow{font-size:14px;color:#58705f;font-weight:600;letter-spacing:0;margin:0 0 7px}h1{margin:0 0 8px;font-size:32px;line-height:1.2;font-weight:650;letter-spacing:-.7px}h2{margin:0;font-size:21px;line-height:1.35;font-weight:650;letter-spacing:-.3px}p{margin:0}.page-subtitle{font-size:16px;color:#52675c;line-height:1.6}.heading-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.primary-button,.secondary-button,.period-label{min-height:50px;display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:12px 17px;border-radius:9px;font-size:15px;font-weight:600;line-height:1.3;white-space:nowrap}.primary-button{color:#fff;background:var(--forest);box-shadow:0 2px 4px #143e300d}.primary-button:hover{background:#245b45}.secondary-button{color:#244e3a;background:#fff;border:1px solid #bfcdbb}.secondary-button:hover{background:#f1f5ed}.period-label{border:1px solid #c9d2c2;color:#35563f;background:#fff;font-weight:400}.period-label select{border:0;color:#36513d;background:none;font-size:15px;max-width:175px;padding:0;margin:0}.icon-button{width:44px;height:44px;display:inline-flex;align-items:center;justify-content:center;border-radius:8px;color:#36533d;background:none;font-size:27px}.icon-button:hover{background:#edf2e6}.kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:24px}.kpi-card{padding:22px;background:white;border:1px solid #dce2d6;border-radius:13px;min-height:215px;box-shadow:0 2px 3px #173c3003}.kpi-label{display:flex;align-items:center;justify-content:space-between;gap:9px;font-size:16px;color:#304f3b;line-height:1.35;font-weight:550;min-height:44px}.kpi-icon{display:grid;place-items:center;width:42px;height:42px;background:#e9efdf;color:#3e6849;border-radius:10px;flex-shrink:0}.kpi-icon svg{width:25px;height:25px}.kpi-card>strong{display:block;font-size:43px;letter-spacing:-1.8px;font-weight:600;line-height:1.1;margin:19px 0 10px;color:#173f2d}.kpi-card>strong small{font-size:19px;font-weight:450;letter-spacing:0;margin-left:7px}.kpi-card p{font-size:14px;color:#4b6252;line-height:1.5;min-height:21px}.kpi-caption{display:block;margin-top:17px;padding-top:12px;border-top:1px solid #e3e7dc;font-size:12px;color:#61715d;letter-spacing:0}.accent-card{background:#eee9da;border-color:#d9d5c5}.accent-card .kpi-icon{background:#e1ddcc}.accent-card .kpi-caption{border-color:#d8d4c4}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(0,1fr);gap:24px}.card{padding:26px;background:#fff;border:1px solid #dce2d6;border-radius:13px;min-width:0}.card-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.section-kicker{display:none}.card-heading select{font-size:15px;min-height:45px;width:145px;padding:9px 12px;border:1px solid #bfcdb7;border-radius:8px;background:#fff;color:#36513d;margin:0}.small-tag{font-size:13px;color:#486345;background:#f0f4e9;border-radius:6px;padding:6px 10px;white-space:nowrap}.chart-highlight{display:flex;align-items:baseline;gap:14px;flex-wrap:wrap;margin:27px 0 10px}.chart-highlight strong{font-size:31px;line-height:1.2;color:#245239;letter-spacing:-.8px;font-weight:600}.chart-highlight span{font-size:14px;color:#546a55}.weight-chart{display:flex;justify-content:center;align-items:center;height:250px;min-width:0}.weight-chart svg{width:100%;height:100%;overflow:visible}.weight-chart .gridline{stroke:#dfe7d7;stroke-dasharray:4 5}.weight-chart text{font:13px "Segoe UI",Arial,sans-serif;fill:#52694c}.weight-chart .chart-line{stroke:#467b42;stroke-width:3;fill:none}.weight-chart .chart-area{fill:url(#weight-gradient)}.weight-chart .chart-point{stroke:#467b42;stroke-width:2;fill:#fff}.chart-note{font-size:13px;color:#5c6e56;line-height:1.6;margin-top:17px}.gmd-list{margin-top:20px;min-height:260px}.gmd-row{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:19px 0;border-bottom:1px solid #e3e8dc}.gmd-row:last-child{border-bottom:0}.lot-id{font-size:16px;font-weight:600;display:flex;align-items:center;gap:10px}.lot-swatch{height:10px;width:10px;border-radius:3px;background:#517e46}.gmd-row small{display:block;margin-top:6px;font-size:12px;color:#5b7155;font-weight:400}.gmd-number{font-size:23px;line-height:1.2;font-weight:650;color:#2c623c;white-space:nowrap}.gmd-number small{display:inline;font-size:13px;font-weight:400;margin-left:5px}.pending-number{background:#f0f2e9;color:#586a4f;padding:6px 10px;font-size:13px;border-radius:6px;white-space:nowrap}.text-button{display:inline-flex;gap:10px;align-items:center;background:none;color:#365e35;font-size:15px;min-height:42px;padding:8px 0;font-weight:600}.herd-chart{margin:28px 0 24px;min-height:140px}.herd-row{display:grid;grid-template-columns:72px 1fr 107px;gap:15px;align-items:center;margin:22px 0;font-size:15px;color:#3e5b40}.herd-row svg{width:100%;height:12px;display:block}.herd-row strong{font-size:14px;font-weight:600;text-align:right}.movement-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;padding-top:23px;border-top:1px solid #e1e8d8}.movement-summary div+div{padding-left:15px;border-left:1px solid #e1e8d8}.movement-summary span{display:block;font-size:13px;color:#506c4a}.movement-summary strong{font-size:28px;display:block;font-weight:600;margin-top:8px;color:#315e31}.recent-list{margin-top:19px}.recent-item{display:flex;align-items:center;gap:13px;padding:17px 0;border-bottom:1px solid #e3e9da}.recent-item:last-child{border-bottom:0}.recent-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:10px;background:#edf2e4;color:#4b7447;flex-shrink:0}.recent-icon svg{width:23px;height:23px}.recent-item strong{font-size:15px;display:block;font-weight:600}.recent-item p{font-size:13px;color:#526b4a;line-height:1.5;margin-top:5px}.recent-item time{font-size:12px;color:#56714a;margin-left:auto;white-space:nowrap}.care-strip{display:flex;align-items:center;gap:18px;justify-content:space-between;flex-wrap:wrap;padding:23px 26px;margin-top:24px;background:#ecefdf;border:1px solid #d7dfc7;border-radius:12px}.care-strip>div{display:flex;gap:11px;align-items:center;width:100%;color:#315a32}.care-strip>div strong{font-size:16px;font-weight:600}.care-strip svg{height:24px;width:24px}.care-strip button{min-height:45px;font-size:14px;color:#3c5d33;background:#fff9;border:1px solid #d5dfc4;padding:8px 12px;border-radius:7px;flex:1;white-space:nowrap}.care-strip button strong{font-size:19px;font-weight:650;margin-right:5px}.care-strip button span{margin-left:10px}.page-footer{display:flex;justify-content:space-between;gap:17px;flex-wrap:wrap;margin-top:32px;padding-top:22px;border-top:1px solid #dce2d2;font-size:12px;color:#5b6f51}.footer-dot{margin:0 7px}.data-card{padding:0;overflow:hidden}.data-tabs{display:flex;gap:9px;padding:19px 22px;flex-wrap:wrap;background:#fcfcf8;border-bottom:1px solid #dce3d3}.data-tabs button{display:flex;align-items:center;gap:9px;min-height:46px;padding:11px 14px;background:#fff;color:#3b5f36;border:1px solid #d1dec6;border-radius:8px;font-size:15px;font-weight:550;white-space:nowrap}.data-tabs button[aria-selected=true]{background:#183f2d;color:#fff;border-color:#183f2d}.data-tabs button svg{width:21px;height:21px}.table-toolbar{display:flex;gap:13px;align-items:center;padding:23px;flex-wrap:wrap}.search-box{display:flex;align-items:center;gap:11px;min-height:50px;padding:11px 13px;border:1px solid #bfceb2;border-radius:8px;color:#5b7750;flex:1;min-width:230px}.search-box input{background:none;outline:0;border:0;color:#27492b;font-size:15px;width:100%;min-width:0}.search-box input::placeholder{color:#5c7351}.table-toolbar>select{padding:12px;min-height:50px;background:#fff;border:1px solid #bfceb2;border-radius:8px;color:#385d32;font-size:15px;margin:0;max-width:100%}.table-description{display:flex;flex-wrap:wrap;gap:8px 17px;align-items:baseline;padding:0 23px 23px}.table-description strong{font-size:19px;font-weight:650}.table-description span{font-size:14px;color:#586f4f;line-height:1.6}.table-wrap{overflow:auto;min-height:240px}table{border-collapse:collapse;width:100%;text-align:left;font-size:15px;white-space:nowrap}th{padding:17px 19px;font-size:14px;color:#345b30;font-weight:650;background:#f1f4e9;border-top:1px solid #dce4ce;border-bottom:1px solid #d6e0c8}td{padding:20px 19px;border-bottom:1px solid #e2e9d8;color:#3e5b35;max-width:270px;text-overflow:ellipsis;overflow:hidden}td:first-child{font-weight:650;color:#193e24}tbody tr:hover{background:#f8faf3}.cell-secondary{display:block;font-size:12px;color:#617953;font-weight:400;margin-top:4px}.data-card th:last-child,.data-card td:last-child{position:sticky;right:0;background:#fff;box-shadow:-5px 0 9px #173c3005}.data-card th:last-child{background:#f1f4e9}.edit-row{display:inline-flex;gap:7px;align-items:center;min-height:43px;background:#fff;border:1px solid #acc69c;border-radius:7px;color:#2c5d25;font-size:14px;font-weight:600;padding:9px 11px}.edit-row:hover{background:#eaf3df}.edit-row svg{width:18px;height:18px}.pill{display:inline-block;padding:5px 9px;border-radius:5px;background:#ebf2df;color:#3a6330;font-size:13px;font-weight:500}.pill.subtle{background:#f0f2eb;color:#5a6c4f}.table-footer{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:20px 23px;color:#49663c;font-size:14px}.table-footer>div{display:flex;align-items:center;gap:15px}.table-footer .icon-button{border:1px solid #c7d6b7;font-size:21px}.data-tip{display:flex;align-items:center;gap:12px;padding:22px 5px;color:#45673a;font-size:14px;line-height:1.7}.data-tip svg{width:23px;height:23px;flex-shrink:0}.empty{padding:38px 20px;text-align:center;color:#4f6c41;font-size:15px;line-height:1.7;max-width:100%}.empty strong{font-size:17px;color:#345b2f;display:block;font-weight:600;margin-bottom:7px}.empty svg{width:33px;height:33px;color:#7d9c68;margin-bottom:13px}#notice{padding:16px 20px;margin-bottom:25px;border:1px solid #b6d0a0;border-radius:9px;background:#e8f0de;color:#31592b;font-size:15px;line-height:1.6}#notice.error{background:#fff0e7;border-color:#e8c5a6;color:#8b5128}dialog{padding:30px;max-height:92vh;border:1px solid #c2d2b2;border-radius:15px;background:#fffefa;color:#254c27;box-shadow:0 18px 90px #10362433}dialog::backdrop{background:#133a2c80;backdrop-filter:blur(3px)}.edit-dialog{width:740px;max-width:95vw}.dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:22px}.dialog-heading h2{font-size:26px}.dialog-heading .eyebrow{font-size:12px;margin-bottom:7px}.muted{font-size:15px;color:#526c47;line-height:1.7}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:21px;margin-top:25px}.form-grid label{display:block;font-size:15px;color:#355d2b;line-height:1.5;font-weight:550}.form-grid .wide{grid-column:1/-1}.form-grid input,.form-grid textarea,.form-grid select{width:100%;display:block;min-height:51px;padding:12px;border:1px solid #bccfad;border-radius:8px;margin-top:9px;color:#244b21;background:white;font-size:16px}.form-grid textarea{min-height:90px;resize:vertical}.dialog-actions{display:flex;justify-content:flex-end;gap:13px;margin-top:29px;padding-top:23px;border-top:1px solid #dce6d1}.dialog-actions button{min-height:52px;font-size:16px}.form-error{margin-top:18px;padding:14px;background:#fff0e5;color:#905028;border:1px solid #e5c4a8;border-radius:8px;font-size:15px}.setup-dialog{width:1200px;max-width:95vw}.setup-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:24px;margin-top:23px}.setup-grid .card{margin-bottom:22px;padding:23px}.setup-grid h2{font-size:20px;margin-bottom:16px}.setup-grid label{display:block;font-size:15px;color:#416936;margin:18px 0}.setup-grid input:not([type=checkbox]),.setup-grid select,.setup-grid textarea{display:block;width:100%;font-size:16px;min-height:48px;padding:11px;border:1px solid #bacfa9;border-radius:7px;margin-top:8px;background:#fff;color:#345d29}.setup-grid small{font-size:13px;color:#526e44;line-height:1.6;display:block;margin-top:7px}.setup-grid .checkbox input{margin-right:9px;width:18px;height:18px}.setup-grid button{background:#edf3e4;border:1px solid #c6d8b6;border-radius:7px;padding:11px 13px;font-size:14px;color:#365f29;min-height:43px}.setup-grid .button-row{display:flex;gap:9px;flex-wrap:wrap;margin:17px 0}.setup-grid .step,.setup-grid .tag{display:none}.setup-grid .muted{font-size:14px;margin-bottom:13px}.setup-status{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:15px}.setup-status .muted{margin-left:auto}.qr-placeholder{padding:30px;text-align:center;background:#f1f5e9;border:1px dashed #a5bf8e;border-radius:8px;color:#5b7c45;font-size:15px}#qr-area img{display:block;max-width:230px;margin:18px auto}.examples{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0}.setup-grid .examples button{font-size:13px;padding:8px 11px}.chat{height:340px;overflow:auto;background:#f1f5e9;border:1px solid #d2e0c2;border-radius:9px;display:flex;flex-direction:column;gap:13px;padding:16px}.bubble{background:#fff;border:1px solid #d7e3ca;border-radius:9px;max-width:95%;padding:14px;white-space:pre-wrap;line-height:1.7;font-size:15px}.bubble.user{align-self:flex-end;background:#e2edd5}.bubble small{font-size:11px;font-weight:600;color:#5d7e45;display:block;margin-bottom:7px}.proposal-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}.setup-grid #chat-form{display:flex;align-items:center;gap:10px;margin-top:12px}.setup-grid #chat-form textarea{margin:0}.message-list{max-height:500px;overflow:auto}.message{padding:16px 0;border-bottom:1px solid #dce7d1;font-size:14px;line-height:1.7}.message pre{font:inherit;white-space:pre-wrap;color:#56783f;margin:12px 0}.message .meta{display:flex;gap:9px;flex-wrap:wrap;font-size:11px;color:#65844d;margin-bottom:9px}.badge{border:1px solid #c8dcb7;padding:2px 5px;border-radius:5px}.footnote{font-size:13px;line-height:1.7;color:#607e4a;margin-top:16px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
@media(max-width:1400px){.kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.kpi-card{min-height:204px}.kpi-label{min-height:42px}.dashboard-grid{grid-template-columns:1fr}.gmd-list{min-height:0}.gmd-row{padding:17px 0}.gmd-row>div{display:flex;align-items:center;gap:25px}.gmd-row small{margin:0}.care-strip button{font-size:14px}.page-heading{align-items:flex-start}.heading-actions{width:100%}}
@media(max-width:1000px){.sidebar{width:220px;padding:22px 13px}.brand-logo{width:194px;height:84px}.nav-item{padding:15px 11px;font-size:16px;gap:10px}.main{margin-left:220px}.topbar{padding:0 24px}.page-content{padding:28px 24px 22px}.live-label{display:none}h1{font-size:29px}.kpi-card{padding:20px}.kpi-label{font-size:15px}.kpi-caption{font-size:12px}.page-subtitle{font-size:16px}.table-toolbar .search-box{flex-basis:100%}.table-toolbar>select{flex:1}.table-toolbar .secondary-button{flex:1}.setup-grid{grid-template-columns:1fr}.setup-dialog{padding:24px}}
@media(max-width:700px){.sidebar{position:static;width:100%;padding:14px 18px;display:grid;grid-template-columns:1fr auto;gap:11px;border-right:0;border-bottom:1px solid #d3d4c5}.brand{margin:0}.brand-logo{width:165px;height:67px}.workspace-label,.connection,.pilot-label{display:none}.sidebar nav{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:9px;grid-row:2}.nav-item{margin:0;justify-content:center;font-size:16px;min-height:52px;padding:13px 8px}.nav-item svg{width:23px;height:23px}.sidebar-bottom{margin:0;grid-column:2;grid-row:1}.settings-link{font-size:0;padding:12px;gap:0}.settings-link svg{width:26px;height:26px}.main{margin:0}.topbar{height:60px;padding:0 20px}.breadcrumb{font-size:13px;gap:8px;min-width:0}.breadcrumb>span:first-child{max-width:210px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.topbar .icon-button{width:38px}.page-content{padding:25px 18px 22px}.page-heading{gap:19px;margin-bottom:21px}h1{font-size:28px}.eyebrow{font-size:13px}.page-subtitle{font-size:15px}.heading-actions{gap:10px;display:grid;grid-template-columns:1fr}.heading-actions>*{width:100%;font-size:16px;min-height:51px}.period-label{justify-content:flex-start}.period-label select{max-width:none;flex:1;font-size:16px}.kpi-grid{gap:12px;grid-template-columns:1fr}.kpi-card{min-height:0;padding:21px}.kpi-label{min-height:42px;font-size:17px}.kpi-card>strong{font-size:42px;margin:13px 0 8px}.kpi-card p{font-size:15px}.kpi-caption{font-size:13px;margin-top:14px;padding-top:12px}.kpi-icon{height:44px;width:44px}.card{padding:23px 19px}h2{font-size:21px}.card-heading{gap:13px}.card-heading select{min-height:46px;font-size:15px}.chart-highlight{margin-top:22px;gap:10px}.chart-highlight span{font-size:13px}.weight-chart{height:230px}.chart-note{font-size:13px}.gmd-row>div{display:block}.gmd-row small{margin-top:7px;font-size:12px}.gmd-number{font-size:23px}.gmd-number small{font-size:12px}.herd-row{grid-template-columns:61px 1fr 100px;gap:10px;font-size:14px}.herd-row strong{font-size:13px}.movement-summary{gap:8px}.movement-summary div+div{padding-left:9px}.movement-summary span{font-size:12px}.movement-summary strong{font-size:25px}.recent-item strong{font-size:15px}.recent-item p{font-size:13px}.recent-item time{font-size:11px}.care-strip{padding:20px;gap:11px;display:block}.care-strip>div{margin-bottom:15px}.care-strip>div strong{font-size:16px}.care-strip button{width:100%;text-align:left;min-height:50px;margin:6px 0;font-size:15px}.care-strip button span{float:right}.page-footer{font-size:12px;gap:10px}.data-card{padding:0}.data-tabs{padding:16px;gap:8px}.data-tabs button{font-size:14px;min-height:45px;padding:10px 12px;flex:1;justify-content:center}.data-tabs button svg{width:20px;height:20px}.table-toolbar{padding:18px;gap:10px}.search-box{font-size:15px;min-width:0}.table-toolbar>select{font-size:15px}.table-toolbar .secondary-button{font-size:15px;flex-basis:100%}.table-description{padding:0 18px 20px}.table-description strong{font-size:19px}.table-description span{font-size:14px}th,td{padding:17px 16px}.table-footer{font-size:13px;padding:17px;gap:8px}.table-footer>div{gap:10px}.data-tip{font-size:14px}.form-grid{grid-template-columns:1fr;gap:19px}.form-grid .wide{grid-column:auto}.form-grid label{font-size:16px}.edit-dialog{padding:24px 20px}.dialog-heading h2{font-size:24px}.dialog-actions{display:grid;grid-template-columns:1fr 1fr}.setup-grid .card{padding:19px}.setup-dialog{padding:23px 17px}.setup-status .muted{margin:0}}

/* Gravuras country geradas para o universo da pecuária brasileira. */
:root{--saddle:#aa8757;--parchment:#f4eedf}body{background-color:#f8f5ed;background-image:radial-gradient(#aa87570b .7px,transparent .7px);background-size:7px 7px}.sidebar{background:#efe9d9;border-right-color:#d2c9b2}.brand{border-bottom:1px solid #c6b99a;padding-bottom:21px;margin-bottom:24px}.workspace-label{font-size:12px;letter-spacing:.7px;color:#617052}.ranch-icon{width:36px;height:36px;display:block;object-fit:contain;flex-shrink:0}.nav-item{min-height:64px;font-size:17px;gap:13px;position:relative}.nav-item .ranch-icon{width:38px;height:38px;background:#f5efdd;border-radius:8px;padding:2px}.nav-item.active{background:#163e30;border:1px solid #385743;box-shadow:inset 0 0 0 4px #163e30,inset 0 0 0 5px #a989554d,0 3px 7px #143e3010}.nav-item:not(.active){border:1px solid transparent}.nav-item:not(.active):hover{background:#e5decb}.page-heading{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 285px;gap:20px 25px;background:linear-gradient(105deg,#f5efdf 0%,#fcfaf4 62%,#eee6cf 100%);padding:26px 28px 22px;border:1px solid #d9ccb0;border-radius:15px;box-shadow:0 3px 9px #82694605;overflow:hidden}.page-heading>div:first-child{position:relative;z-index:1}.page-heading .eyebrow{color:#766747;font-size:12px;letter-spacing:.55px;font-weight:600}.page-heading h1{font-family:Georgia,"Times New Roman",serif;font-size:34px;font-weight:600;letter-spacing:-.8px;line-height:1.16;color:#173f30;margin-top:9px;margin-bottom:13px}.page-heading .page-subtitle{font-size:16px;color:#506250;max-width:470px}.country-scene{display:block;width:100%;height:auto;max-height:170px;object-fit:contain;grid-column:2;grid-row:1;align-self:center;filter:drop-shadow(0 5px 5px #4b5e3210);pointer-events:none}.page-heading .heading-actions{grid-column:1/-1;display:flex;align-items:center;gap:12px;flex-wrap:wrap;width:auto;border-top:1px dashed #cfc1a3;padding-top:19px}.period-label .ranch-icon{width:29px;height:29px}.period-label{padding-top:9px;padding-bottom:9px;background:#fffdfa;border-color:#c7bea8}.primary-button{background:#173e2e;border:1px solid #214c37;box-shadow:0 3px 7px #163e3010}.secondary-button{border-color:#c6c8b0;background:#fffdf8}.kpi-card{border-color:#d8d6c7;background:linear-gradient(150deg,#fffefa,#fff);box-shadow:0 3px 9px #605b3605;position:relative;padding:23px}.kpi-card:before{content:"";position:absolute;top:0;left:22px;width:39px;height:3px;border-radius:0 0 3px 3px;background:#a18757}.kpi-label{min-height:76px;font-size:16px;gap:16px;color:#304c34}.kpi-icon{width:76px;height:76px;border-radius:0;background:transparent;flex-shrink:0}.kpi-icon .ranch-icon{width:76px;height:76px;object-fit:contain;filter:drop-shadow(0 3px 2px #173e300e)}.kpi-card>strong{margin-top:12px;font-size:44px;font-variant-numeric:tabular-nums}.kpi-card p{font-size:14px;color:#526450}.kpi-caption{border-color:#e5e1d4;color:#68705a;font-size:12px}.accent-card{background:linear-gradient(130deg,#ece7d6,#f4efe1)}.accent-card .kpi-icon{background:transparent}.accent-card .kpi-caption{border-color:#d8cdb3}.card{border-color:#dbddcc;background:#fffefa;box-shadow:0 3px 10px #53492e04}.card-heading h2{display:flex;align-items:center;gap:12px;font-size:21px}.section-art{height:57px;width:57px;object-fit:contain;display:block;flex-shrink:0}.card-heading>div{max-width:100%}.card-heading select{border-color:#c3c9ac;background:#fffefa}.small-tag{background:#ede9da;color:#5f6546;border:1px solid #e3dcc8}.recent-icon{height:48px;width:48px;background:transparent;border-radius:0}.recent-icon .ranch-icon{height:48px;width:48px}.care-strip{border-color:#d4cab0;background:linear-gradient(110deg,#eae5d5,#f0eddf);padding:19px 24px}.care-strip>div .ranch-icon{height:40px;width:40px}.care-strip button{border-color:#cfc6ae;background:#fffdf6;color:#405938}.data-card{padding:0}.data-tabs{background:#f6f2e6;border-color:#d9d5c3;gap:10px}.data-tabs button{background:#fffdf7;border-color:#d4cbb6;gap:10px;padding:10px 13px;min-height:57px}.data-tabs .ranch-icon{height:34px;width:34px;object-fit:contain;background:#f6f0e0;padding:1px;border-radius:6px}.data-tabs button[aria-selected=true]{background:#173f2e;color:#fff;border-color:#173f2e;box-shadow:inset 0 0 0 3px #173f2e,inset 0 0 0 4px #a88a5740}.table-description{padding-top:2px}#table-title{display:inline-flex;align-items:center;gap:11px}#table-title .ranch-icon{width:36px;height:36px}.table-toolbar{background:#fffefa}.table-toolbar>select,.search-box{border-color:#c6ceba;background:#fffef9}th{background:#f1f0e4;color:#3a5735;border-color:#dbdfca}.data-card th:last-child{background:#f1f0e4}.data-card td:last-child{background:#fffefa}.edit-row{background:#fffef8;border-color:#b9c8a5;color:#3b612e}.edit-row:hover{background:#eef2e1}.data-tip{color:#59674a}.page-footer{border-color:#d8d6c5;color:#6a7058}
@media(min-width:1550px){.page-heading{grid-template-columns:minmax(0,1fr) 380px;padding:30px 34px 23px}.country-scene{max-height:175px}.page-heading h1{font-size:38px}.kpi-icon,.kpi-icon .ranch-icon{width:84px;height:84px}.kpi-label{min-height:84px}}
@media(max-width:1400px){.page-heading{grid-template-columns:minmax(0,1fr) 290px}.page-heading .heading-actions{width:auto}.kpi-card{min-height:228px}.card-heading h2{font-size:21px}}
@media(max-width:1100px){.page-heading{grid-template-columns:minmax(0,1fr) 240px;padding:25px 24px 20px;column-gap:16px}.page-heading h1{font-size:31px}.page-heading .page-subtitle{font-size:15px}.country-scene{max-height:160px}.nav-item{gap:10px}.nav-item .ranch-icon{width:34px;height:34px}.kpi-label{font-size:15px}.kpi-icon,.kpi-icon .ranch-icon{width:68px;height:68px}.kpi-label{min-height:68px}}
@media(max-width:850px){.page-heading{grid-template-columns:1fr}.page-heading .country-scene{grid-column:1;grid-row:2;max-height:125px;max-width:430px;justify-self:center}.page-heading .heading-actions{grid-column:1;grid-row:3}.page-heading h1{font-size:31px}.kpi-label{font-size:15px}.kpi-icon,.kpi-icon .ranch-icon{width:62px;height:62px}.card-heading h2{font-size:20px}.section-art{height:51px;width:51px}}
@media(max-width:700px){.brand{padding-bottom:0;border:0;margin:0}.sidebar{background:#eee8d7}.nav-item{min-height:60px;padding:10px 8px;font-size:16px;gap:10px}.nav-item .ranch-icon{width:35px;height:35px}.page-heading{padding:23px 20px 20px;gap:17px}.page-heading h1{font-size:30px;letter-spacing:-.6px}.page-heading .eyebrow{font-size:11px}.page-heading .page-subtitle{font-size:15px}.page-heading .country-scene{max-height:110px;max-width:360px}.page-heading .heading-actions{display:grid;grid-template-columns:1fr;padding-top:17px;gap:10px}.kpi-card{min-height:0;padding:22px}.kpi-label{font-size:17px;min-height:76px}.kpi-icon,.kpi-icon .ranch-icon{height:76px;width:76px}.kpi-card>strong{font-size:43px}.kpi-card p{font-size:15px}.kpi-caption{font-size:13px}.section-art{height:49px;width:49px}.card-heading h2{font-size:20px;gap:11px}.care-strip>div .ranch-icon{height:36px;width:36px}.data-tabs button{font-size:14px;min-height:56px;padding:9px 11px;gap:8px}.data-tabs .ranch-icon{height:30px;width:30px}.recent-icon,.recent-icon .ranch-icon{width:44px;height:44px}.data-card{padding:0}}

/* Financeiro: mesmos dois espaços principais, com indicadores separados por assunto. */
.dashboard-tabs{display:flex;gap:8px;margin:0 0 25px;padding:6px;background:#e9e8da;border-radius:13px;width:fit-content}.dashboard-tabs button{background:transparent;color:#46564a;border:0;padding:13px 25px;border-radius:9px;font-size:17px;font-weight:650}.dashboard-tabs button[aria-selected=true]{background:#fffdf7;color:#194c3e;box-shadow:0 2px 8px #233d2520}.finance-heading{display:flex;justify-content:space-between;align-items:center;gap:24px;margin:0 0 24px}.finance-heading h2{font-size:32px;margin:6px 0}.finance-kpis .kpi-card>strong{font-size:clamp(24px,2.3vw,36px);white-space:nowrap;letter-spacing:-1px}.finance-warning{padding:17px 20px;background:#fff5d9;border:1px solid #dfc785;border-radius:12px;color:#65471d;line-height:1.6}.finance-bottom{display:grid;grid-template-columns:1.2fr 1fr;gap:24px;margin-top:24px}.finance-how p{line-height:1.7}.finance-how strong{color:#224e3b}#finance-dialog{max-width:780px;width:calc(100% - 32px)}#finance-preview-text{font:inherit;white-space:pre-wrap;line-height:1.8;background:#f3f2e7;padding:24px;border:1px solid #d9dfc9;border-radius:12px}#finance-fields label[hidden]{display:none}#finance-fields input,#finance-fields select{min-width:0;width:100%}#finance-dashboard>.card{margin-top:24px}.finance-kpis .kpi-caption{font-size:12px}#finance-lots th,#finance-stocking th{white-space:normal;min-width:120px}#finance-lots td{min-width:130px}.finance-heading .button-row{display:flex;flex-wrap:wrap;justify-content:flex-end}#finance-back{margin-right:auto}@media(max-width:1100px){.finance-bottom{grid-template-columns:1fr}.finance-heading{align-items:flex-start;flex-direction:column}.finance-kpis .kpi-card>strong{font-size:30px}}@media(max-width:640px){.dashboard-tabs{width:100%}.dashboard-tabs button{flex:1;padding:12px 8px;font-size:15px}.finance-heading h2{font-size:27px}.finance-heading .button-row{justify-content:flex-start}.finance-kpis .kpi-card>strong{font-size:25px}#finance-dialog .dialog-actions{flex-wrap:wrap}}

.auth-page{display:flex;min-height:100vh;align-items:center;justify-content:center;padding:36px;background:radial-gradient(ellipse at top,#e4e5cc,#f5f1e5 65%);color:#173f2e}.auth-card{width:min(100%,470px);padding:35px 42px;border:1px solid #d8d1bc;border-radius:22px;background:#fffdf6;box-shadow:0 18px 70px #153b2312}.auth-logo{display:block;width:230px;height:126px;object-fit:cover;mix-blend-mode:multiply;margin:0 auto 22px}.auth-card h1{font-family:Georgia,serif;font-size:32px;margin:10px 0}.auth-card form{display:grid;gap:16px;margin-top:25px}.auth-card input{width:100%;min-height:48px}.auth-card .primary-button{width:100%;min-height:50px}.auth-card label small{display:block;margin-top:7px}.auth-footer{font-size:13px;line-height:1.6;color:#6e735c;margin-top:25px;text-align:center}.farm-switch{max-width:220px;background:#fffdf5;border:1px solid #c5cdb4;border-radius:9px;padding:10px;font:inherit;color:#254c36}.access-dialog{width:min(1120px,calc(100% - 32px));max-height:90vh;padding:30px;border:1px solid #c7cdb9;border-radius:18px;background:#fffdf6;color:#233e2b}.access-columns{display:grid;grid-template-columns:1fr 1.2fr;gap:28px;margin:25px 0}.access-section{background:#f5f3e8;border:1px solid #e0ddcc;border-radius:12px;padding:20px}.access-section h3{margin-top:0}.access-list-row{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:14px 0;border-bottom:1px solid #dedfcf}.access-list-row small{display:block;color:#68705c;font-size:13px;margin-top:4px}.access-section form{margin-top:24px;display:grid;gap:14px}.access-section input{width:100%}.access-user-form{border-top:1px solid #dedfcf;padding-top:20px;display:grid;grid-template-columns:1fr 1fr 1fr;gap:18px}.access-user-form h3,.access-user-form>p,#access-permissions{grid-column:1/-1}.access-user-form input:not([type=checkbox]),.access-user-form select{width:100%;min-height:46px}.permission-row{display:grid;grid-template-columns:1.2fr 1fr 1.3fr;gap:16px;padding:14px;border-bottom:1px solid #dedfcf}.permission-row label{display:flex;align-items:center;gap:10px;font-size:15px}.permission-row input{width:20px;height:20px;flex:0 0 auto}.access-success{background:#eaf1df;color:#315538;padding:14px;border-radius:9px}.auth-card [hidden]{display:none}.access-section .muted{font-size:14px}@media(max-width:750px){.access-columns,.access-user-form,.permission-row{grid-template-columns:1fr}.auth-card{padding:28px}.farm-switch{max-width:170px;font-size:14px}.live-label{display:none}.permission-row{gap:12px}.access-dialog{padding:20px}}

.pasture-section{margin:30px 0}.pasture-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.pasture-card{background:#fffdf7;border:1px solid #d3d7bf;border-radius:14px;padding:22px;box-shadow:0 4px 15px #23432208}.pasture-card-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.pasture-card h3{font-size:21px;margin:0;color:#244b32}.pasture-card>.muted{font-size:13px}.pasture-count{text-align:center;padding:20px;background:#eef2e4;border:1px solid #d5dec3;border-radius:10px;margin:16px 0}.pasture-count strong{display:block;font-size:38px;color:#254c31}.pasture-count span{font-size:14px;color:#697550}.pasture-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:16px}.pasture-metrics>div{background:#f4f2e8;border:1px solid #e8e2d0;border-radius:8px;padding:13px 8px;text-align:center}.pasture-metrics strong{display:block;font-size:17px;color:#355639}.pasture-metrics small{font-size:12px;color:#6b725b;display:block;margin-top:5px}.pasture-values{border-top:1px dashed #d4d6bc;padding-top:10px;font-size:14px}.pasture-values>div{display:flex;justify-content:space-between;gap:8px;padding:6px 0}.pasture-values strong{white-space:nowrap;color:#425d36}.identification-strip{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px;background:#eeeadd;border:1px solid #d9d2b9;border-radius:12px;margin-top:22px}.identification-strip p{margin:6px 0 0;font-size:14px;color:#697052;line-height:1.6}.identification-strip .secondary-button{flex-shrink:0}#animal-dialog{max-width:780px;width:calc(100% - 32px)}#animal-fields label[hidden]{display:none}#animal-preview{font:inherit;white-space:pre-wrap;line-height:1.8;background:#f2f3e8;padding:24px;border-radius:12px;border:1px solid #d4ddc4}#animal-fields input,#animal-fields select{width:100%;min-width:0}#reports-dialog{max-width:720px;width:calc(100% - 32px)}#reports-dialog select,#reports-dialog input{width:100%;min-width:0}.report-description{background:#eef2e2;border-radius:10px;padding:18px;color:#426238;line-height:1.6}.pasture-grid>.empty{grid-column:1/-1}.pasture-section>.card-heading{margin-bottom:20px}.pasture-card .chart-note{font-size:12px}@media(max-width:1200px){.pasture-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:700px){.pasture-grid{grid-template-columns:1fr}.identification-strip{align-items:flex-start;flex-direction:column}.pasture-section>.card-heading{align-items:flex-start;flex-direction:column;gap:14px}.pasture-values{font-size:15px}}

.access-dialog input:not([type=checkbox]),.access-dialog select,.auth-card input{font:inherit;min-height:48px;padding:11px 13px;border:1px solid #bcc7a8;border-radius:8px;background:#fffef8;color:#243c2a}.access-dialog input:focus,.access-dialog select:focus,.auth-card input:focus{outline:2px solid #9aaf78;outline-offset:2px}.access-user-form>button{grid-column:1/-1;justify-self:start}.pasture-section::after{content:'Valores de aquisição informados. Não representam preço de mercado nem incluem o custo de manejo.';display:block;font-size:12px;color:#687153;margin-top:12px}

/* Cabeçalhos de tabelas: ícone contido e texto com toda a largura disponível. */
.ui-icon{display:block;width:22px;height:22px;flex:0 0 22px}
.table-description{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;align-items:start;min-width:0}
#table-title{display:flex;align-items:center;gap:12px;min-width:0;max-width:100%;width:100%;line-height:1.35}
#table-title>.ranch-icon,#table-title>.ui-icon{width:36px;height:36px;flex:0 0 36px;object-fit:contain}
#table-title .table-title-text{font:inherit;color:inherit;line-height:inherit;min-width:0;white-space:normal;word-break:normal;overflow-wrap:normal}
#table-note{display:block;min-width:0;max-width:85ch;font-size:15px;line-height:1.6;white-space:normal;word-break:normal}
.data-tabs .ranch-icon{background:transparent;padding:0;border-radius:0}
/* Uso e proteção do sistema do produtor. */
.security-dialog{width:min(1120px,calc(100vw - 32px))}.security-dialog>h3{font-size:21px;margin:30px 0 14px}.security-totals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:24px 0}.security-totals>div{border:1px solid #d4dcc8;border-radius:9px;background:#f5f3e8;padding:19px}.security-totals span{display:block;font-size:14px;line-height:1.6;color:#5b6e4c}.security-totals strong{display:block;font-size:27px;margin-top:10px;font-variant-numeric:tabular-nums;color:#224833}.security-dialog td small{display:block;margin-top:6px;font-size:12px;color:#6c7c5f}.security-dialog th{white-space:normal;min-width:100px}.security-dialog td{font-size:15px}.security-backup{padding:18px;background:#edf2e3;border:1px solid #d2dec1;border-radius:8px;font-size:15px;line-height:1.8}.security-events{max-height:320px;overflow:auto}.security-event{padding:15px 0;border-bottom:1px solid #e1e5d5}.security-event strong{display:block;font-size:15px;font-weight:600}.security-event small{display:block;margin-top:7px;font-size:13px;color:#6d7d60}.security-settings{border-top:1px solid #d6dfc7;margin-top:28px;padding-top:20px}.security-settings summary{font-size:17px;cursor:pointer;font-weight:600}.security-form{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:20px}.security-form label{font-size:15px;line-height:1.7}.security-form input{display:block;margin-top:7px;width:100%;padding:12px;font-size:17px;border:1px solid #b8c8a7;border-radius:7px;color:#315638;background:#fffefa}.security-form>.primary-button{grid-column:1/-1;justify-self:end}@media(max-width:700px){.security-totals,.security-form{grid-template-columns:1fr}.security-totals strong{font-size:26px}.security-dialog{padding:23px 18px}.security-form>.primary-button{width:100%}.security-dialog td{font-size:14px}}

/* Product lockup on the producer screens. */
.brand-logo{width:100%;height:auto;max-width:214px}
.auth-card .auth-logo{width:min(100%,330px);height:auto;margin:0 auto 20px}
@media(max-width:700px){.brand-logo{max-width:180px}}
.brand-endorsement{display:block;margin:2px 5px 0;color:#435d4e;font-size:11px;font-weight:600;line-height:1.35}
.auth-card .auth-logo{margin-bottom:4px}
.auth-card .brand-endorsement{text-align:center;margin:0 0 20px}
.subscription-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.subscription-value{font-size:clamp(22px,3vw,32px);font-weight:700;color:var(--forest);margin:14px 0 6px}
.subscription-upcoming{margin-top:20px}
.subscription-upcoming .table-wrap{min-height:0;margin-top:18px}
@media(max-width:700px){
  .subscription-grid{grid-template-columns:1fr}
  .sidebar nav{grid-template-columns:repeat(2,minmax(0,1fr))}
  .sidebar nav .nav-item{font-size:14px;gap:6px;line-height:1.2}
  .sidebar nav .nav-item .ranch-icon{width:28px;height:28px}
}
.support-intro{display:grid;grid-template-columns:1fr minmax(16rem,.85fr);gap:22px;align-items:center;background:#eaf0e4}
.support-intro p:last-child{margin:8px 0 0}
.support-search{display:grid;gap:7px;font-weight:650}
.support-search input{width:100%;min-height:48px;padding:10px 13px;border:1px solid #829782;border-radius:9px;background:#fffdf7;color:#173e30;font-size:16px}
.support-filters{display:flex;gap:8px;flex-wrap:wrap;margin:20px 0 24px}
.support-filters button{min-height:44px;padding:8px 14px;background:#fffdf7;color:#173e30;border:1px solid #a5ab93;border-radius:9px}
.support-filters button[aria-pressed="true"]{background:#173e30;color:#fffdf7;border-color:#173e30}
.support-group{margin:0 0 24px}
.support-group h2{margin-bottom:10px}
.support-guide{background:#fffdf7;border:1px solid #d3cebc;border-radius:10px;margin-bottom:8px}
.support-guide summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 17px;min-height:54px;cursor:pointer;list-style:none;font-size:17px;font-weight:700}
.support-guide summary::-webkit-details-marker{display:none}
.support-guide summary::after{content:"+";font-size:23px;line-height:1;color:#375d46}
.support-guide[open] summary::after{content:"−"}
.support-guide[open] summary{border-bottom:1px solid #e1dccd}
.support-guide-content{padding:0 17px 16px;max-width:75ch;line-height:1.6}
.support-guide ol{padding-left:24px}
.support-guide li+li{margin-top:6px}
.support-example{background:#edf2e7;border-left:3px solid #527551;padding:8px 12px;margin:10px 0 12px}
.support-guide video{display:block;width:min(100%,720px);aspect-ratio:16/9;border-radius:9px;margin-top:12px;background:#173e30}
@media(max-width:700px){
  .support-intro{grid-template-columns:1fr;gap:16px}
  .support-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:18px}
  .support-filters button{padding:8px;line-height:1.25}
}

/* Painel do produtor. Papel claro, verde da marca e divisões de uma ficha de lote. */
.producer-panel{--panel-paper:#fbfaf6;--panel-surface:#fffefa;--panel-line:#d8d9cc;--panel-ink:#173e30;--panel-muted:#526256;background:var(--panel-paper);color:var(--panel-ink)}
.skip-link{position:fixed;z-index:20;top:12px;left:12px;transform:translateY(calc(-100% - 16px));padding:10px 14px;background:#fffefa;border:2px solid #173e30;border-radius:5px}
.skip-link:focus{transform:none}
.producer-panel :is(summary,select,textarea):focus-visible,.producer-panel .table-wrap:focus-visible{outline:3px solid #52714e;outline-offset:2px}
.producer-panel .search-box:focus-within{outline:3px solid #52714e;outline-offset:2px}
.producer-panel .brand{margin-bottom:28px}
.producer-panel .sidebar{background:#efebdf;border-color:var(--panel-line);overflow-y:auto}
.producer-panel .sidebar nav{display:grid;gap:4px}
.producer-panel .nav-item{min-height:49px;margin:0;padding:8px 10px;border-radius:6px;border:0;box-shadow:none;font-size:16px;line-height:1.25}
.producer-panel .nav-item .ranch-icon{background:none;padding:0;width:29px;height:29px}
.producer-panel .sidebar-bottom{padding-top:16px}
.producer-panel .sidebar-bottom .connection{padding:14px 8px 6px}
.producer-panel .sidebar-bottom .settings-link{font-size:15px;min-height:44px}
.producer-panel .sidebar-bottom .settings-link:hover{background:#e5dfcf;border-radius:6px}
.producer-panel .topbar{min-height:58px;height:auto;background:var(--panel-surface);border-color:var(--panel-line)}
.producer-panel .top-actions{gap:9px;min-width:0}
.producer-panel .top-actions select{max-width:min(36vw,320px);text-overflow:ellipsis}
.producer-panel .breadcrumb{min-width:0}
.producer-panel .topbar:has(#farm-switch:not([hidden])) .breadcrumb>span{display:none}
.producer-panel #farm-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.producer-panel #breadcrumb-page{white-space:nowrap}
.producer-panel .page-content{padding-top:28px}
.producer-panel .page-heading{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px 24px;margin:0 0 24px;padding:0 0 18px;border:0;border-bottom:1px solid var(--panel-line);border-radius:0;background:none;box-shadow:none;overflow:visible}
.producer-panel .page-heading h1{font-family:inherit;font-size:clamp(27px,3vw,39px);font-weight:700;letter-spacing:-.035em;margin:0 0 5px;text-wrap:balance}
.producer-panel .page-subtitle{color:var(--panel-muted);max-width:56ch}
.producer-panel .page-heading .country-scene{width:clamp(150px,19vw,260px);grid-area:1/2;filter:none}
.producer-panel .page-heading .heading-actions{display:flex;gap:10px;align-items:center;grid-column:1/-1;grid-row:auto;border:0;padding:0;width:auto}
.producer-panel .heading-actions>*{width:auto}
.producer-panel .period-label,.export-menu summary{min-height:44px;padding:8px 11px;gap:8px;background:var(--panel-surface);color:var(--panel-ink);border:1px solid #b9c1b0;border-radius:6px;font-size:15px}
.producer-panel .period-label select{font-size:16px}
.export-menu{position:relative}
.export-menu summary{display:flex;align-items:center;cursor:pointer;list-style:none;font-weight:650}
.export-menu summary::-webkit-details-marker{display:none}
.export-menu summary:hover,.export-menu[open] summary{background:#e9ede3}
.export-menu>div{display:grid;gap:4px;position:absolute;z-index:4;top:calc(100% + 5px);left:0;min-width:210px;padding:5px;background:var(--panel-surface);border:1px solid var(--panel-line);border-radius:7px;box-shadow:0 5px 14px #173e301a}
.export-menu .secondary-button{justify-content:flex-start;min-height:44px;border:0;box-shadow:none}
.producer-panel .primary-button,.producer-panel .secondary-button{border-radius:6px;box-shadow:none}
.producer-panel .dashboard-tabs{margin:0 0 18px;padding:0;gap:5px;border-radius:0;background:transparent}
.producer-panel .dashboard-tabs button{padding:10px 14px;min-height:44px;border:1px solid var(--panel-line);border-radius:6px;font-size:16px}
.producer-panel .dashboard-tabs button[aria-pressed=true]{background:#e7eee2;color:var(--panel-ink);border-color:#a7b8a0}
.producer-panel .kpi-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:0;border:1px solid var(--panel-line);border-radius:8px;background:var(--panel-surface);overflow:hidden}
.producer-panel .kpi-card{min-height:0;padding:17px 16px;border:0;border-radius:0;box-shadow:none;background:none;min-width:0}
.producer-panel .kpi-card::before{content:none}
.producer-panel .kpi-card+.kpi-card{border-left:1px solid var(--panel-line)}
.producer-panel .kpi-label{min-height:37px;font-weight:650;font-size:16px}
.producer-panel .kpi-icon{width:34px;height:34px;background:none}
.producer-panel .kpi-icon .ranch-icon{width:32px;height:32px}
.producer-panel .kpi-card>strong{font-size:clamp(24px,2.8vw,40px);font-variant-numeric:tabular-nums;letter-spacing:-.035em;margin:8px 0}
.producer-panel .kpi-card>strong small{font-size:16px}
.producer-panel .finance-kpis .kpi-card>strong{white-space:normal;overflow-wrap:anywhere}
.producer-panel .kpi-caption{padding:0;border:0;margin-top:6px;color:var(--panel-muted)}
.producer-panel .card{border-radius:8px;border-color:var(--panel-line);background:var(--panel-surface);box-shadow:none}
.producer-panel .card h2{text-wrap:pretty}
.producer-panel .section-art{display:none}
.producer-panel .chart-area{fill:#e7eee2}
.producer-panel .care-strip{background:transparent;border-color:var(--panel-line);border-radius:8px}
.producer-panel :is(.subscription-value,.gmd-number,td){font-variant-numeric:tabular-nums}
.producer-panel dialog{overscroll-behavior:contain}
.producer-panel dialog .eyebrow{display:none}

.data-layout{display:grid;grid-template-columns:208px minmax(0,1fr);gap:20px;align-items:start}
.table-picker{display:none}
.producer-panel .data-tabs{display:grid;gap:10px;padding:0;background:none;border:0}
.data-tabs [data-table-group]{display:grid;gap:2px;min-width:0}
.data-tabs [data-table-group]>p{font-size:13px;font-weight:700;color:var(--panel-muted);padding:3px 9px}
.data-tabs a{display:flex;align-items:center;gap:8px;min-height:44px;padding:5px 9px;border-radius:5px;border-left:3px solid transparent;color:var(--panel-ink);font-size:15px;line-height:1.25}
.data-tabs a:hover{background:#efefe6}
.data-tabs a[aria-current]{background:#e7eee2;border-left-color:#3d694c;font-weight:700}
.producer-panel .data-tabs .ranch-icon,.producer-panel .data-tabs .ui-icon{width:25px;height:25px}
.producer-panel .data-card{overflow:visible}
.producer-panel .table-description{padding:17px 19px 4px}
.producer-panel #table-title{font-size:23px}
.producer-panel .table-toolbar{gap:8px;padding:12px 19px 16px;background:transparent}
.producer-panel .table-toolbar .search-box{min-width:135px;flex:1 1 155px}
.producer-panel .table-toolbar select{flex:0 1 auto;max-width:100%}
.producer-panel .table-toolbar :is(.search-box,select,button){min-height:44px;font-size:15px}
.producer-panel .table-toolbar input{font-size:16px}
.producer-panel #data-table{max-width:100%;overflow-x:auto;min-height:0;overscroll-behavior-x:contain}
.producer-panel #data-table :is(th,td){padding:11px 13px}
.producer-panel #data-table th{white-space:normal}
.producer-panel #data-table td{max-width:30ch;overflow-wrap:anywhere}
.producer-panel #data-table .edit-row{min-height:42px;white-space:nowrap}
.producer-panel .table-footer{padding:10px 13px 10px 19px}
.producer-panel .support-intro{display:flex;align-items:end;gap:12px;flex-wrap:wrap;background:transparent}
.producer-panel .support-search{flex:1 1 230px;max-width:460px}
.producer-panel .support-search{gap:5px}
.producer-panel #support-whatsapp-help{min-height:48px}
.table-scroll-note{display:none}
.producer-panel .support-filters button,.producer-panel .support-guide{border-radius:6px}
.producer-panel .support-guide summary:hover{background:#f1f3ea}

@media(min-width:1180px){
  .producer-panel .dashboard-grid{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:18px}
}
@media(max-width:1100px){
  .data-layout{grid-template-columns:173px minmax(0,1fr);gap:12px}
  .producer-panel .kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .producer-panel .kpi-card:nth-child(3){border-left:0}
  .producer-panel .kpi-card:nth-child(n+3){border-top:1px solid var(--panel-line)}
}
@media(max-width:900px){
  .data-layout{display:block}
  .producer-panel .data-tabs{display:none}
  .table-picker{display:grid;gap:4px;max-width:350px;margin-bottom:14px;font-weight:650}
  .table-picker select{width:100%;min-height:46px;padding:8px 10px;border:1px solid #a5b19c;border-radius:6px;background:var(--panel-surface);color:var(--panel-ink);font-size:16px}
}
@media(max-width:700px){
  .producer-panel .sidebar{overflow:visible;padding:11px 12px 8px;gap:6px 8px;align-items:center}
  .producer-panel .brand{margin:0}
  .producer-panel .brand-logo{width:min(38vw,155px)}
  .producer-panel .brand-endorsement{font-size:10px;margin-left:1px}
  .producer-panel .sidebar-bottom{display:flex;justify-content:end;padding:0}
  .producer-panel .sidebar-bottom #open-setup{display:none}
  .producer-panel .sidebar nav{grid-template-columns:repeat(4,minmax(0,1fr));gap:4px}
  .producer-panel .sidebar nav .nav-item{display:grid;align-content:center;justify-items:center;text-align:center;gap:3px;padding:4px 2px;font-size:12px;min-height:62px}
  .producer-panel .sidebar nav .nav-item .ranch-icon,.producer-panel .sidebar nav .nav-item .ui-icon{width:23px;height:23px}
  .producer-panel .topbar{padding:3px 12px;min-height:51px}
  .producer-panel .topbar:has(#farm-switch) .breadcrumb{display:none}
  .producer-panel .top-actions{width:100%;justify-content:space-between}
  .producer-panel .top-actions select{max-width:calc(100% - 51px);min-height:43px;font-size:16px}
  .producer-panel .page-content{padding:17px 12px}
  .producer-panel .page-heading{grid-template-columns:minmax(0,1fr);gap:11px;padding-bottom:12px;margin-bottom:15px}
  .producer-panel .page-heading .country-scene{display:none}
  .producer-panel .page-content:has(#data-page:not([hidden])) .page-subtitle{display:none}
  .producer-panel .heading-actions>*{min-height:44px}
  .producer-panel .period-label>span{display:none}
  .producer-panel .export-menu>div{left:auto;right:0}
  .producer-panel .dashboard-tabs button{padding:7px 4px;font-size:14px;line-height:1.25}
  .producer-panel .kpi-card{padding:11px 9px}
  .producer-panel .kpi-label{font-size:14px;min-height:0}
  .producer-panel .kpi-icon,.producer-panel .kpi-icon .ranch-icon{width:23px;height:23px}
  .producer-panel .kpi-card p,.producer-panel .kpi-caption{font-size:12px}
  .producer-panel .table-description{padding:12px 10px 3px}
  .producer-panel .table-toolbar{padding:9px 10px 12px}
  .producer-panel .table-toolbar .search-box{flex-basis:100%}
  .producer-panel .table-toolbar .secondary-button{flex:0 1 auto;padding-inline:9px;gap:6px}
  .producer-panel .table-toolbar .secondary-button svg{width:17px;height:17px}
  .producer-panel #data-table :is(th,td){padding:9px}
  .producer-panel #data-table .row-actions{position:sticky;right:0;background:var(--panel-surface);border-left:1px solid var(--panel-line)}
  .producer-panel #data-table .edit-row svg{display:none}
  .producer-panel .table-scroll-note:has(+ #data-table table){display:block;padding:0 10px 7px;font-size:12px;color:var(--panel-muted)}
  .producer-panel .table-footer{padding-left:10px}
}

.account-plans{margin-top:24px}.account-features{padding-left:22px;line-height:1.7}.account-plan-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:22px 0}.account-plan-controls label{display:grid;gap:8px;font-weight:600}.account-plan-controls select{width:100%;font:inherit;padding:12px;background:var(--cream,#fffefa);color:var(--forest);border:1px solid var(--line,#c9cebe);border-radius:6px}.account-plan-card{padding:24px;border:1px solid var(--line,#c9cebe);border-top:4px solid var(--forest);border-radius:8px;background:#fffefa}.account-plan-card h3{font-size:24px;margin:0}.account-plan-card ul{padding-left:20px;line-height:1.7}.account-plan-card button{margin-top:16px;width:100%;min-height:48px}.account-payment-link{display:inline-flex;text-decoration:none;align-items:center;justify-content:center;margin-top:12px;min-height:48px}.account-payment-review{white-space:pre-wrap;line-height:1.7}.account-plan-card .subscription-value{font-size:28px}@media(max-width:700px){.account-plan-controls{grid-template-columns:1fr}.account-plan-card{padding:20px}}

@media(max-width:700px){.producer-panel .sidebar nav #manage-access{grid-column:1/-1;display:flex;justify-content:center;gap:10px;min-height:46px;font-size:15px;padding:10px 14px;border:1px solid #c7c2ad}}
