/* AGROLOGIX_R60H_TODAY_CANONICAL_ROUTE_BODY */
#r60h-body{position:fixed;right:0;bottom:0;z-index:999999;background:#f3faf7;overflow:auto;color:#0b2c70;font-family:Inter,Segoe UI,Arial,sans-serif}
#r60h-body *{box-sizing:border-box}
#r60h-body svg{width:20px;height:20px;display:block}

/* Neutralize old experimental ownership without hiding the canonical shell. */
html body.r60h-active.r60b1-force-today > *{visibility:visible!important}
html body.r60h-active.r60b-today-active > *{visibility:visible!important}
html body.r60h-active #r60bTodayRoot,
html body.r60h-active #r60d-root,
html body.r60h-active #r60e-root{display:none!important;visibility:hidden!important;pointer-events:none!important}
html body.r60h-active #r60h-body{display:block!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important}

.r60h-page{padding:14px 18px 16px}
.r60h-scopes{display:flex;gap:10px;margin-bottom:10px}.r60h-scopes button{height:40px;background:#fff;border:1px solid #d7e3e8;border-radius:9px;color:#103a78;display:flex;align-items:center;gap:8px;padding:0 14px;font-weight:700}.r60h-scopes svg{color:#079a52}
.r60h-title{display:flex;align-items:center;gap:12px;margin-bottom:10px}.r60h-title>span{width:58px;height:58px;border-radius:16px;background:#d9f5e6;color:#079b51;display:grid;place-items:center}.r60h-title>span svg{width:38px;height:38px}.r60h-title h1{font-size:38px;line-height:1;margin:0;letter-spacing:-1.5px}.r60h-title p{margin:5px 0 0;color:#587091}
.r60h-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:10px}.r60h-kpi{height:88px;background:#fff;border:1px solid #dce8e3;border-radius:11px;display:grid;grid-template-columns:52px 1fr 24px;align-items:center;padding:10px 13px}.r60h-kpi>span{width:45px;height:45px;border-radius:13px;display:grid;place-items:center}.r60h-kpi small,.r60h-kpi strong,.r60h-kpi em{display:block}.r60h-kpi small{font-weight:700}.r60h-kpi strong{font-size:25px}.r60h-kpi em{font-size:9px;font-style:normal;color:#657}.r60h-kpi>b{color:#08a052}.r60h-kpi.blue>span{background:#dcefff;color:#2a7ae7}.r60h-kpi.green>span{background:#dff6e8;color:#0a9b51}.r60h-kpi.red>span{background:#ffe0e3;color:#ef3751}.r60h-kpi.amber>span{background:#fff0d2;color:#f0a000}.r60h-kpi.purple>span{background:#ede3ff;color:#7b3ce4}
.r60h-main,.r60h-lower{display:grid;grid-template-columns:1.55fr .95fr;gap:10px;margin-bottom:10px}.r60h-card{background:#fff;border:1px solid #dce8e3;border-radius:11px;overflow:hidden}.r60h-card>header{height:44px;padding:0 14px;display:flex;align-items:center;justify-content:space-between}.r60h-card h2{font-size:18px;margin:0;display:flex;align-items:center;gap:8px}.r60h-card h2 svg{color:#0a9b51}.r60h-card header button{border:1px solid #a5dfc0;background:#f8fff9;color:#078b49;border-radius:7px;padding:6px 12px}
.r60h-card table{width:100%;border-collapse:collapse;font-size:11px}.r60h-card th{background:#eff5f8;text-align:left;padding:8px 13px}.r60h-card td{padding:10px 13px;border-bottom:1px solid #edf1ef}.r60h-card td span{padding:6px 15px;border-radius:7px;font-weight:800}.r60h-card td span.alta{background:#ffd8dd;color:#e62d45}.r60h-card td span.media{background:#ffedbd;color:#bd7b00}
.r60h-summary>div{margin:0 10px 7px;border:1px solid #dce7e2;border-radius:9px;min-height:50px;display:grid;grid-template-columns:38px 1fr auto;align-items:center;padding:6px 9px;gap:8px}.r60h-summary>div>svg{background:#dff6e8;color:#079b51;border-radius:8px;padding:7px;width:34px;height:34px}.r60h-summary span{font-size:10px}.r60h-summary strong{display:block;font-size:16px}.r60h-summary em{background:#ffe0e3;color:#e43145;border-radius:6px;padding:5px 8px;font-style:normal;font-size:9px}
.r60h-form{display:grid;grid-template-columns:1.2fr .8fr 1fr 130px;gap:8px;padding:8px 14px 14px}.r60h-form.two{grid-template-columns:1fr 1fr}.r60h-form input,.r60h-form select{height:36px;border:1px solid #cfdee6;border-radius:7px;padding:0 9px}.r60h-form button{height:36px;border:0;border-radius:7px;background:#079b51;color:#fff;font-weight:800}.r60h-lower p{padding:16px}
@media(max-width:1180px){.r60h-kpis{grid-template-columns:repeat(2,1fr)}.r60h-main,.r60h-lower{grid-template-columns:1fr}}

/* AGX_R4_TODAY_FARM_EXPANDABLE_R2C */
.r60h-page .r60h-card[data-r60h-expandable="1"] {
  cursor: pointer;
  transition: transform .14s ease, box-shadow .14s ease;
}
.r60h-page .r60h-card[data-r60h-expandable="1"]:hover,
.r60h-page .r60h-card[data-r60h-expandable="1"]:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(15, 38, 55, .14);
  outline: none;
}
body.r60h-expand-open {
  overflow: hidden;
}
.r60h-expand-overlay {
  position: fixed;
  inset: 0;
  z-index: 2600;
  display: grid;
  place-items: center;
  padding: 88px 32px 28px 260px;
  background: rgba(10, 26, 38, .34);
  backdrop-filter: blur(2px);
}
.r60h-expand-dialog {
  width: min(980px, calc(100vw - 310px));
  max-height: calc(100vh - 118px);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  overflow: hidden;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 28px 70px rgba(12, 35, 52, .24);
}
.r60h-expand-header {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 18px 12px 24px;
  border-bottom: 1px solid rgba(20, 53, 73, .10);
}
.r60h-expand-header h2 {
  margin: 0;
  color: #0a2c70;
  font-size: 20px;
  line-height: 1.25;
}
.r60h-expand-close {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border: 0;
  border-radius: 11px;
  background: rgba(20, 53, 73, .07);
  color: #17384b;
  font: 400 28px/1 system-ui, sans-serif;
  cursor: pointer;
}
.r60h-expand-stage {
  min-height: 0;
  overflow: auto;
  padding: 22px 24px 26px;
}
.r60h-expand-stage .r60h-expanded-card {
  width: 100%;
  max-width: none;
  min-height: 360px;
  margin: 0;
  cursor: default;
  transform: none !important;
  box-shadow: none !important;
}
.r60h-expand-stage .r60h-expanded-card > header {
  display: none;
}
.r60h-expand-stage .r60h-expanded-card table {
  width: 100%;
  font-size: 14px;
}
.r60h-expand-stage .r60h-expanded-card th {
  padding: 12px 16px;
}
.r60h-expand-stage .r60h-expanded-card td {
  padding: 14px 16px;
}
.r60h-expand-stage .r60h-summary > div {
  min-height: 74px;
  margin: 0 0 12px;
  grid-template-columns: 52px 1fr auto;
  padding: 10px 14px;
}
.r60h-expand-stage .r60h-summary > div > svg {
  width: 44px;
  height: 44px;
}
.r60h-expand-stage .r60h-summary span {
  font-size: 13px;
}
.r60h-expand-stage .r60h-summary strong {
  font-size: 22px;
}
@media (max-width: 900px) {
  .r60h-expand-overlay {
    padding: 76px 14px 14px;
  }
  .r60h-expand-dialog {
    width: min(96vw, 980px);
  }
}

/* AGX_R4_TODAY_FARM_EXPANDABLE_R2D_ZINDEX_FIX */
html body.r60h-active .r60h-expand-overlay {
  z-index: 1000002 !important;
  pointer-events: auto !important;
}
html body.r60h-active.r60h-expand-open #r60h-body {
  pointer-events: none !important;
}
html body.r60h-active.r60h-expand-open .r60h-expand-overlay,
html body.r60h-active.r60h-expand-open .r60h-expand-dialog,
html body.r60h-active.r60h-expand-open .r60h-expand-close {
  pointer-events: auto !important;
}
