:root {
  color-scheme: dark;
  --bg: #10111b;
  --sidebar: #131420;
  --panel: #191b29;
  --panel-raised: #202232;
  --line: #2c2e42;
  --text: #f3f3f8;
  --muted: #a7a8bc;
  --soft: #c3c4d5;
  --lime: #d9f890;
  --violet: #ab9bfa;
  --violet-soft: #d1c5ff;
  --amber: #f4cc82;
  --red: #ffa49f;
  --comparison-green: #79bd70;
  --comparison-red: #ec7279;
  --arable: #8b5e3c;
  --grass: #548a43;
  --unclassified-land: #8a918b;
  --radius: 15px;
  font-family: Inter, "Segoe UI", system-ui, sans-serif;
  font-size: 15px;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); min-width: 280px; }
a { color: inherit; text-decoration: none; }
button, select { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .46; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }
section[id] { scroll-margin-top: 24px; }
.sr-only, .skip:not(:focus) {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.skip:focus { position: fixed; top: 12px; left: 12px; z-index: 10; padding: 10px 14px; background: var(--panel); }
.sidebar {
  position: fixed; inset: 0 auto 0 0; z-index: 3; width: 217px; padding: 31px 17px 24px;
  background: var(--sidebar); border-right: 1px solid var(--line); display: flex; flex-direction: column;
}
.brand { display: block; width: 152px; max-width: 100%; margin: 0 auto 25px; }
.brand img { display: block; width: 100%; height: auto; }
.navigation { display: grid; gap: 7px; }
.navigation a, .method-link {
  display: flex; gap: 11px; align-items: center; padding: 11px 12px; color: var(--muted);
  font-size: 13px; font-weight: 650; border-radius: 9px; min-height: 43px;
}
.navigation a:hover, .method-link:hover { background: #232437; color: var(--text); }
.navigation a[aria-current], .method-link[aria-current] { background: #2a2742; color: var(--violet-soft); }
.method-link { margin-top: auto; }
.method-link span { font-size: 16px; line-height: 1; }
.icon { width: 17px; height: 17px; display: inline-block; position: relative; flex: 0 0 auto; }
.grid-icon { background: linear-gradient(currentColor 0 0) 1px 1px/6px 6px, linear-gradient(currentColor 0 0) 10px 1px/6px 6px, linear-gradient(currentColor 0 0) 1px 10px/6px 6px, linear-gradient(currentColor 0 0) 10px 10px/6px 6px; background-repeat: no-repeat; opacity: .88; }
.crop-icon::before { content: ""; position: absolute; inset: 2px 3px; border: 1.5px solid currentColor; border-radius: 9px 2px 9px 2px; transform: rotate(-12deg); }
.crop-icon::after { content: ""; position: absolute; width: 10px; height: 1px; background: currentColor; left: 4px; top: 8px; transform: rotate(-54deg); }
.land-icon { border: 1.5px solid currentColor; border-radius: 4px; background: repeating-linear-gradient(138deg, transparent 0 4px, currentColor 4px 5px, transparent 5px 7px); }
main { margin-left: 217px; padding: 34px clamp(21px, 3.15vw, 52px) 54px; max-width: 1770px; }
.page-head { display: flex; justify-content: space-between; align-items: end; gap: 18px; margin-bottom: 23px; }
.breadcrumb { display: flex; gap: 9px; align-items: center; color: var(--muted); font-size: 12px; margin-bottom: 13px; }
.breadcrumb span:last-child { color: var(--violet-soft); }
h1, h2, h3, p { margin: 0; }
h1 { font-size: clamp(30px, 3.05vw, 51px); font-weight: 740; line-height: 1.08; letter-spacing: -.052em; }
.page-head p { color: var(--muted); font-size: 14px; margin-top: 10px; }
.scope { color: var(--soft); white-space: nowrap; font-size: 12px; font-weight: 640; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; }
.filters { display: flex; flex-wrap: wrap; gap: 11px; align-items: end; margin-bottom: 14px; }
.field { min-width: 0; display: grid; gap: 6px; font-size: 12px; font-weight: 630; color: var(--soft); }
.field select {
  appearance: none; min-height: 39px; padding: 8px 31px 8px 11px; border-radius: 8px; border: 1px solid #35374e;
  background: linear-gradient(45deg, transparent 50%, #c0c0d3 50%) right 14px center/5px 5px no-repeat,
  linear-gradient(135deg, #c0c0d3 50%, transparent 50%) right 9px center/5px 5px no-repeat, var(--panel-raised);
  color: var(--text); width: 100%; font-size: 13px; cursor: pointer;
}
.field:first-child { width: min(100%, 230px); }
.filters .year-field { width: 108px; }
.field select:hover, .reset:hover { border-color: var(--violet); }
.reset { height: 39px; width: 40px; font-size: 21px; line-height: 1; color: var(--soft); background: var(--panel-raised); border: 1px solid #35374e; border-radius: 8px; }
.demo-control { margin-left: auto; min-height: 39px; display: flex; align-items: center; gap: 8px; padding: 0 10px; color: var(--soft); font-size: 13px; font-weight: 600; cursor: pointer; }
.demo-control input { position: absolute; opacity: 0; width: 34px; height: 23px; margin: 0; }
.switch { width: 34px; height: 20px; background: #3c3c52; border-radius: 20px; position: relative; }
.switch::after { content: ""; position: absolute; width: 14px; height: 14px; top: 3px; left: 3px; background: var(--text); border-radius: 50%; transition: transform .18s ease; }
.demo-control input:checked + .switch { background: var(--lime); }
.demo-control input:checked + .switch::after { background: #2d3920; transform: translateX(14px); }
.demo-control input:focus-visible + .switch { outline: 2px solid var(--lime); outline-offset: 3px; }
.data-note { display: flex; align-items: baseline; gap: 8px; margin-bottom: 18px; color: #ebd8b1; border: 1px solid #4c3c30; border-radius: 9px; background: #29232b; padding: 9px 12px; font-size: 12px; line-height: 1.55; }
.data-note .note-dot { flex: 0 0 auto; display: inline-block; width: 7px; height: 7px; background: var(--amber); border-radius: 50%; }
.data-note.quiet { background: #202332; border-color: #35394d; color: var(--soft); }
.data-note.quiet .note-dot { background: var(--violet); }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; margin-bottom: 16px; }
.kpi, .panel { min-width: 0; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
.kpi { padding: 15px 16px 14px; position: relative; overflow: hidden; }
.kpi.key { background: linear-gradient(115deg,#28263d,#1e2030 83%); border-color: #494266; }
.kpi-label { color: var(--soft); font-size: 12px; font-weight: 620; }
.kpi-value { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; margin: 8px 0 5px; font-variant-numeric: tabular-nums; font-size: clamp(19px, 2.05vw, 32px); font-weight: 730; letter-spacing: -.05em; line-height: 1.12; }
.kpi.key .kpi-value { color: var(--lime); }
.kpi-foot { color: var(--muted); font-size: 11px; }
.overview { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(270px, 1fr); gap: 16px; }
.panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 13px; padding: 17px 18px 11px; }
.overview .panel-head { flex-wrap: wrap; row-gap: 8px; }
h2, h3 { font-size: 17px; font-weight: 710; line-height: 1.25; letter-spacing: -.023em; }
.panel-head p, .section-head p { font-size: 12px; color: var(--muted); margin-top: 5px; line-height: 1.5; }
.chart-field { flex: 0 0 auto; }
.chart-field select { min-height: 33px; font-size: 12px; }
.benchmark { display: grid; gap: 2px; padding: 1px 13px 14px; }
.bar-row {
  border: 0; border-radius: 6px; padding: 4px 5px; min-height: 26px; background: transparent; color: var(--soft); width: 100%;
  display: grid; align-items: center; text-align: left; gap: 8px; grid-template-columns: minmax(73px, 120px) minmax(36px, 1fr) minmax(78px, max-content);
  font-size: 11px; font-weight: 570;
}
.bar-row:hover, .bar-row.selected { background: #2a2b3e; color: var(--text); }
.bar-track { height: 7px; border-radius: 7px; position: relative; background: #2a2c40; }
.bar-track i { position: absolute; height: 7px; left: var(--from); width: var(--size); top: 0; border-radius: 5px; background: var(--comparison-green); }
.bar-row.loss .bar-track i:not(.zero) { background: var(--comparison-red); }
.bar-track .zero { left: var(--zero); width: 1px; border-radius: 0; background: #81839d; }
.bar-num { color: var(--text); display: flex; justify-content: flex-end; gap: 5px; align-items: center; white-space: nowrap; font-variant-numeric: tabular-nums; }
.empty-chart { padding: 22px 9px 24px; color: var(--muted); font-size: 13px; }
.mark { display: inline-grid; vertical-align: middle; place-items: center; min-width: 16px; height: 16px; border: 1px solid #654f38; border-radius: 4px; background: #3c2d2b; color: #ffda95; font-size: 9px; font-weight: 740; letter-spacing: 0; line-height: 1; }
.mark.estimate { border-color: #514967; background: #322c48; color: #ddd1ff; }
.land-panel { display: flex; flex-direction: column; }
#composition { display: grid; gap: 10px; padding: 1px 17px 13px; }
.land-chart, .land-legend { list-style: none; padding: 0; margin: 0; color: var(--soft); font-size: 11px; }
.land-chart { display: grid; gap: 2px; }
.land-chart-row, .land-axis { display: grid; grid-template-columns: minmax(65px, 88px) minmax(20px, 1fr) minmax(55px, max-content); gap: 7px; align-items: center; }
.land-chart-row { min-height: 26px; }
.land-track { display: flex; overflow: hidden; height: 12px; border-left: 1px solid #81839d; background: #2a2c40; }
.land-track > span { flex: 0 0 var(--area); background: var(--fill); }
.land-chart-total { display: flex; align-items: center; justify-content: end; gap: 4px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.land-axis > div { grid-column: 2; display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 3px; color: var(--muted); font-size: 10px; font-variant-numeric: tabular-nums; }
.land-legend { display: flex; flex-wrap: wrap; gap: 7px 13px; }
.land-legend li { display: flex; align-items: center; gap: 5px; }
.land-legend i { width: 9px; height: 9px; border-radius: 2px; background: var(--fill); }
.detail-link { margin: auto 17px 12px; padding-top: 9px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; font-size: 11px; color: var(--violet-soft); font-weight: 650; }
.detail-link:hover { color: var(--lime); }
.detail-section { margin-top: 30px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 14px; margin-bottom: 12px; }
.section-head h2 { font-size: 24px; }
.crop-field { width: min(42%, 242px); }
.table-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 7px 12px; align-items: center; padding: 13px 16px; color: var(--soft); font-size: 12px; }
.table-legend { display: flex; flex-wrap: wrap; gap: 8px 14px; color: var(--muted); font-size: 11px; }
.table-legend span { display: flex; align-items: center; gap: 4px; }
.table-hint { display: none; padding: 0 15px 9px; font-size: 11px; color: var(--muted); }
.table-scroll { position: relative; overflow: auto; scrollbar-color: #575974 var(--panel); }
.table-scroll:focus-visible { outline-offset: -3px; }
table { border-collapse: separate; border-spacing: 0; width: 100%; font-size: 12px; font-variant-numeric: tabular-nums; }
th, td { text-align: right; padding: 9px 11px; border-bottom: 1px solid var(--line); white-space: nowrap; }
thead th { font-size: 11px; color: var(--soft); background: #222436; font-weight: 680; vertical-align: top; }
thead th button { padding: 0; border: 0; background: none; color: inherit; text-align: inherit; font-weight: inherit; font-size: inherit; }
thead th button:hover { color: var(--lime); }
thead small { display: block; margin-top: 3px; color: var(--muted); font-weight: 520; font-size: 10px; }
th:first-child, td:first-child, .text-col { text-align: left; }
th:first-child, td:first-child { padding-left: 15px; }
tbody th { font-weight: 620; }
tbody tr:hover > * { background: #212336; }
tbody td .mark { margin-left: 3px; }
tfoot th, tfoot td { color: var(--text); background: #222436; font-weight: 690; }
td.positive { color: var(--lime); }
td.negative, .kpi.key .negative { color: var(--red); }
td.missing { color: var(--muted); }
td.missing-all { text-align: left; padding: 19px 15px; color: var(--muted); }
.table-paging { min-height: 49px; display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 9px; padding: 8px 14px; color: var(--muted); font-size: 11px; }
.table-paging:empty { display: none; }
.table-paging button { min-width: 31px; min-height: 31px; border: 1px solid #3b3e55; background: var(--panel-raised); color: var(--text); border-radius: 7px; }
.costs-panel { margin-top: 15px; }
.costs-panel, #land-table { overflow: hidden; }
.land-notes { padding: 11px 15px; color: var(--muted); font-size: 11px; line-height: 1.65; }
.land-notes ul { margin: 7px 0 1px; padding-left: 17px; }
.methodology { margin-top: 27px; padding: 18px; }
.methodology p { margin-top: 8px; color: var(--muted); font-size: 12px; line-height: 1.6; }
@media (max-width: 1130px) {
  .sidebar { width: 175px; padding-inline: 12px; }
  main { margin-left: 175px; }
  .brand { width: 132px; }
  .overview { grid-template-columns: minmax(0, 1.5fr) minmax(231px, 1fr); }
  .kpi { padding-inline: 12px; }
  .table-hint { display: block; }
}
@media (max-width: 900px) {
  .sidebar { position: sticky; top: 0; width: auto; padding: 8px 15px; border: 0; border-bottom: 1px solid var(--line); flex-direction: row; align-items: center; gap: 12px; }
  .brand { width: 74px; margin: 0 auto 0 0; }
  .navigation { display: flex; gap: 4px; }
  .navigation a, .method-link { min-height: 35px; padding: 7px 9px; gap: 6px; font-size: 12px; }
  .method-link { margin-top: 0; }
  main { margin: 0; padding: 24px 18px 38px; }
  section[id] { scroll-margin-top: 76px; }
  .kpi-value { font-size: clamp(19px, 3vw, 28px); }
}
@media (max-width: 620px) {
  .sidebar { gap: 7px; padding-inline: 9px; }
  .navigation a { padding-inline: 7px; }
  .navigation .icon { display: none; }
  .method-link { display: none; }
  main { padding: 19px 12px 28px; }
  .breadcrumb { margin-bottom: 10px; }
  .page-head { display: block; margin-bottom: 17px; }
  .page-head p { font-size: 13px; }
  .scope { white-space: normal; margin-top: 10px; display: inline-block; padding: 4px 7px; }
  .filters { gap: 8px; margin-bottom: 9px; }
  .filters .field:first-child { flex: 1 1 120px; width: auto; }
  .filters .year-field { width: 77px; }
  .demo-control { margin-left: 0; min-height: 31px; padding-inline: 0; }
  .data-note { margin-bottom: 13px; }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-bottom: 11px; }
  .kpi { padding: 10px; }
  .kpi-value { font-size: clamp(16px, 4.9vw, 25px); }
  .overview { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .panel-head { padding: 13px 12px 10px; }
  .panel-head p { font-size: 11px; }
  .chart-field { flex: 0 1 auto; }
  .chart-field select { font-size: 11px; padding-left: 7px; }
  .benchmark { padding-inline: 8px; }
  .bar-row { grid-template-columns: minmax(72px, 94px) minmax(30px, 1fr) minmax(62px, max-content); gap: 6px; min-height: 31px; }
  .detail-section { margin-top: 22px; }
  .section-head { align-items: start; flex-direction: column; gap: 8px; }
  .section-head h2 { font-size: 22px; }
  .crop-field { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }
