/* Crops 2.2 · gestão clara, clima em destaque */
:root{--bg:#f4f6f5;--text:#223d32;--muted:#65746d;--line:#e0e7e2;--radius:12px;--green:#15573c}
.app-body .content{max-width:1680px}.app-body .card{padding:24px;box-shadow:0 2px 7px #193c2203}.app-body .page-title{margin-bottom:14px}.app-body .page-title h1{font-size:32px;letter-spacing:-.035em}.app-body .sidebar{padding:24px 14px 16px;background:#fff;color:var(--text);border-right:1px solid var(--line)}.sidebar .brand{margin-bottom:24px}.sidebar .brand-logo{filter:none}.sidebar .nav-link{color:#52645a;font-size:13px;padding:10px 12px;margin:2px 0;border-radius:7px}.sidebar .nav-link .icon{color:#7a8b80}.sidebar .nav-link:hover{background:#f1f6f2}.sidebar .nav-link.active{background:#e5f1e8;color:#15573c;border-left:3px solid #258055;padding-left:9px}.sidebar .nav-link.active .icon{color:#257b51}.sidebar-label{color:#809186}.sidebar-bottom{color:#62756a}.sidebar-bottom a{color:#37634c}.app-body .topbar{background:#fff;border-bottom:1px solid var(--line)}.workspace-name{color:#335944}.badge{border-radius:30px;padding:5px 11px;font-weight:600}.badge.success{background:#e3f2e7;color:#246b41}.button{border-radius:7px;min-height:42px}.app-body .table-card{padding:0;overflow:hidden}.table-card .card-heading{padding:21px 24px 8px}.table-card .pager{padding:18px 24px;margin:0}.table-card table{font-size:13px}.table-card th{background:#f7f9f7;color:#65796c;font-size:11px;text-transform:uppercase;letter-spacing:.05em}.table-card td{padding:16px 18px;vertical-align:middle}.table-card td small{display:block;margin-top:4px;font-size:11px;color:#758177}.table-card tr:hover td{background:#fbfdfb}.page-actions{justify-content:flex-end;margin-bottom:20px}.filter-card summary{display:flex;justify-content:space-between;cursor:pointer;font-weight:650}.filter-card summary .small-text{font-weight:400}.filter-card .filterbar{margin:20px 0 0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:end;gap:16px}.filterbar label{min-width:0}.filterbar input,.filterbar select{background:#fff;min-width:0}.filterbar{flex-wrap:wrap}.pager{display:flex;gap:12px;align-items:center;justify-content:flex-end;margin:20px 0;flex-wrap:wrap;color:var(--muted);font-size:12px}.pager span{margin-right:auto}.stats-grid>.stat{display:flex;flex-direction:column;align-items:flex-start;gap:8px}.stats-grid>.stat>strong{font-size:30px;letter-spacing:-.04em;line-height:1.2}.stats-grid>.stat>.eyebrow{margin:0}.stat small{color:var(--muted)}.list-row{display:flex;justify-content:space-between;gap:18px;align-items:center;padding:18px 0;border-bottom:1px solid var(--line)}.list-row:last-child{border:0}.list-row p{font-size:13px;margin:5px 0}.list-row form{max-width:240px}.export-dialog{width:min(580px,calc(100% - 32px));border:0;border-radius:14px;padding:30px;color:var(--text);box-shadow:0 24px 80px #0a211644}.export-dialog::backdrop{background:#14271da6;backdrop-filter:blur(3px)}.export-options{display:flex;gap:12px;flex-wrap:wrap;margin:24px 0}.timeline article{border-left:2px solid #d6e7db;margin-top:20px;padding-left:20px}.timeline p{font-size:13px}.economy-hero{padding:36px;border-radius:14px;background:#e4f0e5;margin-bottom:24px;border:1px solid #d3e3d4}.economy-hero h2{font-size:42px}.economy-hero small{font-size:16px;display:block;font-weight:400;margin-top:10px}.economy-hero p{margin:0}.weather-hero{background:linear-gradient(115deg,#143f46,#225f66 58%,#3d7d7b);border-radius:17px;padding:32px 40px;color:#fff;display:grid;grid-template-columns:1fr 280px;overflow:hidden;position:relative;margin-bottom:24px}.weather-hero p{color:#d2e5e3}.weather-source{display:flex;align-items:center;gap:10px;font-size:14px;flex-wrap:wrap}.weather-source .badge{margin-left:12px;background:#ffffff20;color:white}.weather-location{font-size:13px;margin-top:8px}.weather-temperature{font-size:88px;line-height:1.05;letter-spacing:-.07em;font-weight:500;margin-top:20px}.weather-temperature span{font-size:34px;vertical-align:top;position:relative;top:13px;letter-spacing:-.03em;margin-left:10px}.weather-range{display:flex;gap:25px;font-size:13px}.weather-range b{color:#fff}.weather-hero-aside{text-align:right;display:flex;flex-direction:column;align-items:flex-end;justify-content:space-between}.weather-hero-aside p{font-size:12px;margin-bottom:0}.weather-orbit{height:108px;width:108px;background:#ffffff0c;border:1px solid #ffffff24;border-radius:50%;display:grid;place-items:center;margin-bottom:24px}.weather-orbit svg{height:57px;width:57px;color:#dfefeb;stroke-width:1}.weather-filter .filterbar{margin:0}.weather-extremes{display:flex;flex-wrap:wrap;gap:24px;border-top:1px solid var(--line);padding-top:16px;font-size:12px;color:#60776a}.weather-extremes b{display:block;color:#365b48;font-weight:550;margin-top:5px}.cold-grid{display:grid;grid-template-columns:1fr 1fr;margin:25px 0;gap:20px}.cold-grid strong{display:block;font-size:32px;line-height:1.2;color:#215953}.cold-grid span{font-size:12px;color:var(--muted)}.weather-health{display:flex;justify-content:space-between;padding:10px 0;border-bottom:1px solid var(--line);font-size:13px}.metrics-grid .metric{border-top:3px solid #cfdfd9}.metrics-grid .metric strong{font-size:32px}.metrics-grid .metric-top{font-size:12px}.metrics-grid .metric .icon{color:#478f7a}.map-detail-layout{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(260px,1fr);gap:22px}.map-detail-layout .map{height:620px}.map-detail-panel .field-tile{border-bottom:1px solid var(--line);padding:20px 0}.field-tile h3{margin-bottom:8px}.field-tile p{font-size:13px}.field-tile .badge{margin-right:8px}
@media(max-width:1100px){.filter-card .filterbar{grid-template-columns:repeat(2,minmax(0,1fr))}.weather-hero{grid-template-columns:1fr 220px;padding:28px}.weather-temperature{font-size:76px}.map-detail-layout{grid-template-columns:1fr}.map-detail-layout .map{height:430px}}
@media(max-width:640px){.app-body .card{padding:18px}.app-body .table-card{padding:0}.app-body .page-title h1{font-size:27px}.weather-hero{grid-template-columns:1fr;padding:25px}.weather-hero-aside{margin-top:24px;align-items:flex-start;text-align:left;gap:8px}.weather-orbit{display:none}.weather-temperature{font-size:76px}.weather-range{gap:18px}.filter-card .filterbar{grid-template-columns:1fr}.page-actions .button{flex:1}.list-row{align-items:flex-start;flex-direction:column}.weather-extremes{gap:15px}.metrics-grid .metric strong{font-size:29px}.economy-hero{padding:25px}.economy-hero h2{font-size:34px}.export-options .button{width:100%}.export-dialog{padding:23px}.table-card .card-heading{padding:18px}.weather-source .badge{margin-left:0}.cold-grid strong{font-size:29px}}
@media print{.page-actions,.filter-card,.pager,.weather-filter,.export-dialog{display:none}.app-body .card{box-shadow:none}.weather-hero{color:#143f46;background:#fff;border:1px solid #bbb}.weather-hero p{color:#333}}
.inmet-frame-wrap{border:1px solid var(--line);border-radius:9px;overflow:auto;background:#f6f8f8;margin:20px 0}.inmet-frame{width:100%;height:850px;border:0;display:block;min-width:650px}.forecast-guide{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:20px 0}.forecast-guide span{font-size:12px;color:var(--muted);line-height:1.7}.forecast-guide b{display:block;font-size:14px;color:var(--text);margin-bottom:6px}@media(max-width:700px){.forecast-guide{grid-template-columns:1fr;gap:12px}.inmet-frame{height:720px}.tabs{overflow-x:auto}}
.context-json{white-space:pre-wrap;word-break:break-word;background:#f4f7f5;padding:18px;border-radius:8px;font-size:12px;max-height:460px;overflow:auto}.ai-response{padding:25px 0;border-bottom:1px solid var(--line)}.ai-response:last-child{border:0}.ai-response form{max-width:400px}
.sidebar .nav-group{border:0;padding:0;margin:12px 0}.sidebar .nav-group>summary{padding:10px 11px;font-size:10px;letter-spacing:.08em;color:#71897a;cursor:pointer;font-weight:650}.sidebar .nav-group>summary::marker{color:#a2b6a8}.sidebar .sidebar-bottom{margin-top:30px}
.sidebar .brand-logo-horizontal{filter:none;mix-blend-mode:normal}
.workflow-step{border:1px solid var(--border,#d9e4de);border-radius:12px;padding:18px;margin:20px 0;min-width:0}.workflow-step legend{padding:0 8px;font-weight:600}details form{margin-top:16px}.table-wrap td{overflow-wrap:anywhere}
