:root{font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft Yahei",sans-serif;color:#193433;background:#eef2ef;font-synthesis:none}*{box-sizing:border-box}body{margin:0}header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px max(20px,calc((100% - 1040px)/2));background:#fff;border-bottom:1px solid #d8e2dd}header img{width:265px;max-width:65%;height:auto}header span{font-size:13px;color:#62766d}main{max-width:1080px;margin:auto;padding:0 20px}section{scroll-margin-top:20px;padding:28px;background:#fff;border:1px solid #d8e2dd;border-radius:18px;margin:20px 0}.intro{background:#113b38;color:#effaf2;padding:40px;border:0}.eyebrow{font-size:11px;letter-spacing:.18em;color:#688879;margin:0 0 12px}.intro .eyebrow{color:#b9d7a4}h1{font-size:clamp(30px,6vw,52px);line-height:1.25;margin:0 0 18px;letter-spacing:-.03em}.intro>p:not(.eyebrow){color:#bfd5cd;font-size:14px}nav{display:flex;flex-wrap:wrap;gap:10px;margin-top:26px}nav a{color:#e7f2dc;border:1px solid #53766b;padding:10px 16px;border-radius:30px;text-decoration:none;font-size:13px}h2{font-size:24px;margin:0}h3{font-size:14px;margin:0}.section-head,.chart-title{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}.date,.note,footer{font-size:12px;color:#687d74}.note{line-height:1.8;margin-bottom:0}.metrics{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:24px 0}.metrics article{background:#f0f5ef;border-radius:12px;padding:20px}.metrics span,.metrics small{display:block;font-size:12px;color:#617b6b}.metrics strong{display:block;font-size:clamp(27px,5vw,38px);font-weight:650;line-height:1.6;font-variant-numeric:tabular-nums}svg{width:100%;display:block;margin-top:16px;color:#2c7663}svg text{fill:#748378;font-size:11px}svg line{stroke:#e0e8e1}select{padding:8px;border:1px solid #d2ded3;border-radius:8px;background:#fff;color:#345749}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:13px;font-variant-numeric:tabular-nums}td,th{text-align:right;padding:12px 6px;border-bottom:1px solid #e4ebe5}tr>:first-child{text-align:left}th{font-size:11px;color:#7a8a7d;font-weight:500}a{color:#2a6d57}footer{padding:20px 0 40px;text-align:center}#status{font-size:12px;padding:0 8px;color:#6a7d6c}@media(max-width:500px){header{padding:14px 16px}header span{font-size:10px}main{padding:0 12px}section{padding:18px;margin:14px 0}.intro{padding:28px 22px}.metrics article{padding:14px}.metrics{gap:8px}h2{font-size:21px}td,th{padding:10px 3px;font-size:11px}}

:root { --ink:#193433; --muted:#687d74; --line:#d8e2dd; --surface:#fff; --surface-2:#f0f5ef; --brand:#246951; --brand-50:#edf5ef; --warn:#85672d; --warn-bg:#fff4d9; --accent:#246951; }
#brazilCost section { border:0; border-radius:0; background:transparent; padding:20px 0 0; margin:22px 0 0; }
#brazilCost .bc-heading h2 { font-size:24px; }
#brazilCost svg { margin:0; }
#brazilCost .bc-chart-card { background:#fff; }
#brazilCost .bc-quicknav { gap:6px; }
#brazilCost .bc-table-wrap table { table-layout:auto; min-width:540px; }
#brazilCost .bc-decision table, #brazilCost .bc-frigol-table table { min-width:0; table-layout:fixed; }
#brazilCost td, #brazilCost th { color:var(--ink); }
#brazilCost .bp-controls select, #brazilCost .bc-quote-form select { max-width:100%; }
#brazilCost .bc-heading { margin:0 0 16px; }
#bcFees { scroll-margin-top:20px; }
#beefExports { min-width:0; }
#multiHistory .ml-table-wrap { max-width:100%; }
#multiHistory svg { margin:0; }
@media (max-width:600px) { #brazilCost .bc-heading h2 { font-size:21px; } }

.public-nav { position:sticky; top:0; z-index:20; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:4px; margin:0; padding:10px max(16px,calc((100% - 1040px)/2)); background:#fff; border-bottom:1px solid var(--line); }
.public-nav a { border:0; color:var(--muted); border-radius:10px; text-align:center; text-decoration:none; font-size:13px; padding:13px 6px; }
.public-nav a[aria-current="page"] { color:var(--brand); background:var(--surface-2); font-weight:650; }
.public-page-title { margin:24px 4px 18px; }
.public-page-title h1 { font-size:26px; margin:0; }
html[data-public-tab="market"] #brazilCost,
html[data-public-tab="exports"] #brazilCost { display:none; }
html:not([data-public-tab="market"]) :is(#spot,#futures,#multiHistory) { display:none; }
html:not([data-public-tab="exports"]) :is(#trade,#beefExports) { display:none; }
html[data-public-tab="cost"] #bcPeerComparison { display:none; }
html[data-public-tab="finance"] #brazilCost > :not(#bcPeerComparison) { display:none; }
html[data-public-tab="finance"] #brazilCost #bcPeerComparison { border:0; margin:0; padding:0; }
html[data-public-tab="finance"] #brazilCost { margin-top:0; }
@media(max-width:600px) {
  body { padding-bottom:calc(76px + env(safe-area-inset-bottom)); }
  .public-nav { position:fixed; top:auto; bottom:0; left:0; right:0; padding:8px 8px calc(8px + env(safe-area-inset-bottom)); border-top:1px solid var(--line); border-bottom:0; box-shadow:0 -3px 20px #19343308; }
  .public-nav a { font-size:12px; padding:14px 3px; }
  .public-page-title { margin:22px 4px 16px; }
  .public-page-title h1 { font-size:23px; }
}

.observation-chart { width:100%; height:310px; }
.updates-panel { margin:16px 0; border:1px solid var(--line); border-radius:12px; background:var(--surface); padding:12px; font-size:12px; }
.updates-panel summary { cursor:pointer; color:var(--muted); }
.updates-panel table { min-width:570px; }
html:not([data-public-tab="market"]) :is(#fxObservation,#supplyObservation) { display:none; }
html:not([data-public-tab="exports"]) #weeklyObservation { display:none; }
@media(max-width:600px) { .observation-chart { height:290px; } }
