/* AGROLOGIX R4 - ADVANCED ADMIN FULL INTEGRATION R1
   Approved mockups = visual authority. R1 integration candidate; final visual PASS requires user screenshot approval. */
body.r4-shell.auth-authenticated #r3bContent .r4aa-page,
body.r4-shell.auth-authenticated #r3bContent .r4aa-page *{box-sizing:border-box}
body.r4-shell.auth-authenticated #r3bContent .r4aa-page{
 --g:#079552;--g2:#047b46;--navy:#082768;--text:#17395b;--muted:#66809a;--line:#d7e4ec;--bg:#f3f8fa;--red:#ef3e4f;
 width:100%;height:100%;overflow:hidden;background:var(--bg);color:var(--text);font-family:Arial,Helvetica,sans-serif;
 padding:8px 14px;display:grid;grid-template-rows:auto minmax(0,1fr);gap:8px
}
.r4aa-hero,.r4aa-content{background:#fff;border:1px solid #dce7ee;border-radius:12px;box-shadow:0 2px 10px rgba(22,62,90,.05)}
.r4aa-hero{padding:10px 14px 11px}.r4aa-title{display:flex;gap:11px;align-items:flex-start}.r4aa-gear{font-size:32px;color:#113e64;line-height:1}.r4aa-title h1{margin:0;color:var(--navy);font-size:28px;line-height:1.05}.r4aa-title p{margin:3px 0 0;color:#68829a;font-size:11px}
.r4aa-tabs{display:flex;flex-wrap:wrap;gap:7px;margin-top:10px}.r4aa-tabs button{border:1px solid #cedde7;background:#fff;border-radius:8px;color:#0e4679;padding:9px 12px;font-size:11px;font-weight:700;display:flex;align-items:center;gap:7px;cursor:pointer}.r4aa-tabs button.active{border-color:#47b888;background:#effbf5;color:#067946}.r4aa-tabs button span{font-size:17px}
.r4aa-content{padding:11px 13px;overflow:auto;min-height:0}.r4aa-section-head{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:9px}.r4aa-section-head h2{margin:0;color:var(--navy);font-size:24px}.r4aa-section-head p{margin:2px 0 0;color:#67819a;font-size:11px}
.r4aa-main-grid{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:10px;min-height:0}.r4aa-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin-bottom:10px}.r4aa-kpis.wide{grid-column:1/-1}
.r4aa-kpi{background:#fff;border:1px solid var(--line);border-radius:9px;padding:11px;display:flex;gap:10px;align-items:center;min-height:83px}.r4aa-kpi>span{font-size:28px;color:var(--g)}.r4aa-kpi strong{display:block;color:var(--navy);font-size:23px;line-height:1}.r4aa-kpi b{display:block;font-size:10px;margin-top:5px;color:#2c5278}.r4aa-kpi small{display:block;font-size:9px;color:#6f879d;margin-top:4px}
.r4aa-table-wrap{border:1px solid var(--line);border-radius:9px;overflow:auto;background:#fff}.r4aa-table{width:100%;border-collapse:collapse;font-size:10px}.r4aa-table th{background:#f6fafc;color:#123c68;text-align:left;padding:8px;position:sticky;top:0}.r4aa-table td{padding:7px 8px;border-top:1px solid #e6eef3;color:#315675}.r4aa-table tr:hover td{background:#f0fbf5}.r4aa-table small{display:block;color:#8397a9}.r4aa-actions{white-space:nowrap}.r4aa-actions button,.r4aa-side button,.r4aa-form-grid button{border:1px solid #8dcdb0;background:#fff;color:#087a48;border-radius:6px;padding:6px 9px;font-size:9px;font-weight:700;cursor:pointer;margin-right:4px}.r4aa-actions button.danger,.r4aa-side button.danger{border-color:#ef9da5;color:#b42332}.r4aa-side{background:#fbfefe;border:1px solid var(--line);border-radius:9px;padding:12px;min-width:0}.r4aa-side h3{margin:0 0 10px;color:var(--navy);font-size:16px}
.r4aa-side form,.r4aa-form-grid{display:grid;gap:8px}.r4aa-side label,.r4aa-form-grid label{font-size:9px;color:#244d72;font-weight:700}.r4aa-side input,.r4aa-side select,.r4aa-side textarea,.r4aa-form-grid input,.r4aa-form-grid select{width:100%;margin-top:3px;border:1px solid #cbdce7;border-radius:6px;height:31px;padding:6px 8px;color:#244d72;background:#fff}.r4aa-side textarea{height:60px;resize:vertical}.r4aa-side button.primary,.r4aa-form-grid button.primary{background:var(--g);color:#fff;border-color:var(--g);height:34px}
.r4aa-status{display:inline-flex;padding:4px 7px;border-radius:999px;font-size:8px;font-weight:800}.r4aa-status.good{background:#e0f8ea;color:#057c47}.r4aa-status.warn{background:#fff0d5;color:#a76400}.r4aa-status.muted{background:#eef2f5;color:#728497}
.r4aa-config-grid{display:grid;gap:10px}.r4aa-form-grid{grid-template-columns:repeat(3,minmax(0,1fr));background:#fff;border:1px solid var(--line);border-radius:9px;padding:12px}.r4aa-form-grid button{align-self:end}
.r4aa-note{border:1px solid #cfe2ec;background:#f6fbfe;border-radius:8px;padding:10px;color:#52728c;font-size:10px}.r4aa-error{padding:20px;border:1px solid #f0b2b8;background:#fff3f4;border-radius:8px;color:#9b1c2b}
.r4aa-open-card{position:absolute;right:18px;bottom:14px;width:250px;border:1px solid #42b57f;background:#effbf5;border-radius:10px;padding:10px 12px;text-align:left;display:grid;grid-template-columns:28px 1fr;grid-template-rows:auto auto;gap:2px 8px;cursor:pointer;z-index:10}.r4aa-open-card>span{grid-row:1/3;font-size:24px;color:#087a48}.r4aa-open-card strong{color:#073c66;font-size:12px}.r4aa-open-card small{color:#67819a;font-size:9px}
@media(max-width:1100px){.r4aa-main-grid{grid-template-columns:1fr}.r4aa-kpis{grid-template-columns:repeat(2,1fr)}.r4aa-form-grid{grid-template-columns:1fr 1fr}}

/* AGROLOGIX R4 - ADVANCED ADMIN ENTRY VISIBILITY HF1 */
body.r4-shell.auth-authenticated[data-r4-view="settings"] #r3bContent .r4s2-head,
body.r4-shell.auth-authenticated[data-r4-view="settings"] #r3bContent .r4s-head{
  position:relative!important;
  padding-right:290px!important;
}
body.r4-shell.auth-authenticated[data-r4-view="settings"] #r3bContent .r4aa-open-card{
  position:absolute!important;
  top:0!important;
  right:0!important;
  bottom:auto!important;
  width:270px!important;
  min-height:48px!important;
  border:1px solid #42b57f!important;
  background:#effbf5!important;
  border-radius:9px!important;
  padding:7px 10px!important;
  text-align:left!important;
  display:grid!important;
  grid-template-columns:26px 1fr!important;
  grid-template-rows:auto auto!important;
  gap:1px 7px!important;
  cursor:pointer!important;
  z-index:30!important;
  box-shadow:0 2px 8px rgba(7,121,70,.10)!important;
}
body.r4-shell.auth-authenticated[data-r4-view="settings"] #r3bContent .r4aa-open-card>span{
  grid-row:1/3!important;
  font-size:22px!important;
  color:#087a48!important;
  align-self:center!important;
}
body.r4-shell.auth-authenticated[data-r4-view="settings"] #r3bContent .r4aa-open-card strong{
  color:#073c66!important;
  font-size:11px!important;
  line-height:1.1!important;
}
body.r4-shell.auth-authenticated[data-r4-view="settings"] #r3bContent .r4aa-open-card small{
  color:#67819a!important;
  font-size:8px!important;
  line-height:1.15!important;
}

/* AGROLOGIX R4 - SOCIOS GANADEROS LITERAL MOCKUP REBUILD R2
   Visual authority: approved Socios Ganaderos mockup. */
body.r4-shell.auth-authenticated[data-r4-view="partners"] #r3bContent .r4aa-page{padding:8px 12px;gap:8px}
body.r4-shell.auth-authenticated[data-r4-view="partners"] #r3bContent .r4aa-hero{padding:11px 14px 12px;border-radius:11px}
body.r4-shell.auth-authenticated[data-r4-view="partners"] #r3bContent .r4aa-title h1{font-size:30px;letter-spacing:-.4px}
body.r4-shell.auth-authenticated[data-r4-view="partners"] #r3bContent .r4aa-title p{font-size:11px}
body.r4-shell.auth-authenticated[data-r4-view="partners"] #r3bContent .r4aa-tabs{gap:8px;margin-top:11px}
body.r4-shell.auth-authenticated[data-r4-view="partners"] #r3bContent .r4aa-tabs button{height:42px;padding:0 15px;border-radius:7px;font-size:11px;background:#fff;color:#0a3b83;border-color:#d6e2ec}
body.r4-shell.auth-authenticated[data-r4-view="partners"] #r3bContent .r4aa-tabs button.active{background:#eefbf5;border-color:#2db477;color:#087a49}
body.r4-shell.auth-authenticated[data-r4-view="partners"] #r3bContent .r4aa-content{padding:0;background:transparent;border:0;box-shadow:none;overflow:hidden}
body.r4-shell.auth-authenticated[data-r4-view="partners"] #r3bContent .r4aa-content>.r4aa-section-head{display:none}
.r4sg-layout{display:grid;grid-template-columns:minmax(0,1fr) 455px;gap:10px;height:100%;min-height:0}
.r4sg-left,.r4sg-right{min-width:0}
.r4sg-left{background:#fff;border:1px solid #dce7ee;border-radius:10px;padding:12px 12px 9px;display:grid;grid-template-rows:auto auto auto minmax(0,1fr) auto;gap:10px;overflow:hidden}
.r4sg-head{display:flex;align-items:center;justify-content:space-between}.r4sg-head h2{margin:0;color:#082768;font-size:25px;letter-spacing:-.4px}.r4sg-head p{margin:2px 0 0;color:#647f9b;font-size:10.5px}
.r4sg-new{height:40px;min-width:176px;border:0;border-radius:6px;background:#079552;color:#fff;font-weight:700;font-size:11px;display:flex;align-items:center;justify-content:center;gap:8px}.r4sg-new svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2}
.r4sg-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.r4sg-kpis article{border:1px solid #d8e4ec;border-radius:8px;min-height:104px;padding:13px 14px;display:grid;grid-template-columns:46px 1fr;align-items:start;column-gap:10px}.r4sg-kpis svg{width:42px;height:42px;fill:none;stroke:#0a9256;stroke-width:1.8;margin-top:2px}.r4sg-kpis strong{display:block;color:#061d5b;font-size:26px;line-height:1}.r4sg-kpis span{display:block;color:#0a3f84;font-size:11px;margin-top:5px}.r4sg-kpis small{grid-column:1/-1;color:#66819c;font-size:9.5px;margin-top:11px}
.r4sg-controls{display:grid;grid-template-columns:minmax(250px,2.1fr) .75fr .9fr .85fr auto;gap:8px;align-items:end}.r4sg-controls label{border:1px solid #d1dfeb;border-radius:6px;height:44px;padding:4px 10px;background:#fff;display:flex;flex-direction:column;justify-content:center;color:#164a7d;font-size:8px}.r4sg-controls select,.r4sg-controls input{border:0;outline:0;background:transparent;color:#123f77;font-size:10px;width:100%}.r4sg-controls label span{font-weight:700}.r4sg-search{position:relative}.r4sg-search input{height:100%;padding-right:28px}.r4sg-search svg{position:absolute;right:10px;top:11px;width:19px;height:19px;fill:none;stroke:#0a4d96;stroke-width:2}.r4sg-controls>button{height:44px;border:1px solid #cadbe8;border-radius:6px;background:#fff;color:#0a4384;font-size:10px;font-weight:700;display:flex;align-items:center;gap:7px;padding:0 13px}.r4sg-controls>button svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:2}
.r4sg-table{border:1px solid #d8e4ec;border-radius:7px;overflow:auto;min-height:0}.r4sg-table table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:9.5px}.r4sg-table th{background:#f2f7fa;color:#0a376d;text-align:left;padding:9px 8px;font-weight:700;position:sticky;top:0;z-index:2}.r4sg-table td{height:39px;border-top:1px solid #e4edf2;padding:6px 8px;color:#174e82;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.r4sg-table tbody tr:hover td{background:#eefaf5}.r4sg-table th:nth-child(1){width:10%}.r4sg-table th:nth-child(2){width:16%}.r4sg-table th:nth-child(3){width:14%}.r4sg-table th:nth-child(4){width:7%}.r4sg-table th:nth-child(5){width:7%}.r4sg-table th:nth-child(6){width:19%}.r4sg-table th:nth-child(7){width:10%}.r4sg-table th:nth-child(8){width:17%}
.r4sg-state{display:inline-flex;align-items:center;gap:6px;color:#0a8e4f}.r4sg-state i{width:8px;height:8px;border-radius:50%;background:#00ae4f}.r4sg-state.off{color:#71879a}.r4sg-state.off i{background:#8fa2b3}
.r4sg-actions{display:flex;align-items:center;gap:8px}.r4sg-actions button{border:0;background:transparent;padding:1px;color:#0050a7}.r4sg-actions button.danger{color:#ff1d25}.r4sg-actions svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.9}
.r4sg-pager{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;color:#5b7996;font-size:9.5px}.r4sg-pager>div{display:flex;gap:5px}.r4sg-pager button{width:32px;height:32px;border:1px solid #d4e1ea;background:#fff;border-radius:6px;color:#0b4c8d}.r4sg-pager button.active{background:#079552;color:#fff;border-color:#079552}.r4sg-pager label{justify-self:end;display:flex;align-items:center;gap:8px}.r4sg-pager select{height:32px;border:1px solid #d4e1ea;border-radius:6px;padding:0 12px;color:#154a7d;background:#fff}
.r4sg-right{display:grid;grid-template-rows:auto auto auto;gap:10px;overflow:auto}
.r4sg-formcard,.r4sg-mini,.r4sg-quick{background:#fff;border:1px solid #d8e4ec;border-radius:9px;overflow:hidden}
.r4sg-formcard h3,.r4sg-mini h3,.r4sg-quick h3{margin:0;background:linear-gradient(90deg,#f5fffa,#eef9f6);min-height:44px;padding:10px 13px;color:#072766;font-size:15px;display:flex;align-items:center;gap:8px}.r4sg-formcard h3 svg,.r4sg-mini h3 svg,.r4sg-quick h3 svg{width:20px;height:20px;fill:none;stroke:#0a9256;stroke-width:2}
.r4sg-formcard form{display:grid;grid-template-columns:1fr 1fr;gap:8px 12px;padding:10px 13px 12px}.r4sg-formcard label{font-size:9px;color:#103d72;font-weight:700}.r4sg-formcard label.full{grid-column:1/-1}.r4sg-formcard b{color:#e21c2b}.r4sg-formcard input,.r4sg-formcard select{display:block;width:100%;height:32px;margin-top:4px;border:1px solid #cadbe8;border-radius:5px;padding:0 9px;color:#1c4e7b;font-size:10px;background:#fff}.r4sg-formcard input:disabled{background:#f5f8fa;color:#8b9cac}.r4sg-formcard .actions{display:grid;grid-template-columns:1.4fr .75fr;gap:10px}.r4sg-formcard button{height:36px;border:1px solid #cfdee9;border-radius:5px;background:#fff;color:#164e83;font-weight:700;font-size:10px}.r4sg-formcard button.save{background:#079552;color:#fff;border-color:#079552;display:flex;align-items:center;justify-content:center;gap:7px}.r4sg-formcard button.save svg{width:16px;height:16px;fill:none;stroke:#fff;stroke-width:2}
.r4sg-right-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.r4sg-mini{padding-bottom:6px}.r4sg-mini h3{min-height:37px;font-size:11px;padding:8px 10px}.r4sg-mini>div{display:flex;align-items:center;justify-content:space-between;padding:5px 10px;color:#174e82;font-size:9px}.r4sg-mini>div span{display:flex;align-items:center;gap:5px}.r4sg-mini>div svg{width:14px;height:14px;fill:none;stroke:#0a9256;stroke-width:2}.r4sg-mini strong{color:#061d5b}.r4sg-mini strong.red{color:#ef233c}
.r4sg-quick h3{min-height:36px;font-size:11px;padding:7px 10px}.r4sg-quick>div{display:grid;grid-template-columns:repeat(4,1fr);gap:5px;padding:7px}.r4sg-quick button{min-height:38px;border:1px solid #d4e1ea;border-radius:5px;background:#fff;color:#0b4b8c;font-size:8px;display:flex;align-items:center;justify-content:center;gap:5px}.r4sg-quick button svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2}
@media(max-width:1250px){.r4sg-layout{grid-template-columns:minmax(0,1fr) 390px}.r4sg-controls{grid-template-columns:1.7fr .7fr .8fr .8fr auto}.r4sg-kpis article{padding:10px}.r4sg-right-grid{grid-template-columns:1fr}}

/* AGROLOGIX R4 - ADVANCED ADMIN NAV LIFECYCLE HF4 */
body.r4-shell.auth-authenticated #r3bContent .r4aa-title{
  position:relative;
  padding-right:142px;
}
body.r4-shell.auth-authenticated #r3bContent .r4aa-back-settings{
  position:absolute;
  right:0;
  top:1px;
  height:34px;
  min-width:128px;
  border:1px solid #cbdce7;
  border-radius:7px;
  background:#fff;
  color:#0a4784;
  font-size:10px;
  font-weight:700;
  cursor:pointer;
}
body.r4-shell.auth-authenticated #r3bContent .r4aa-back-settings:hover{
  border-color:#31ad78;
  background:#effbf5;
  color:#087a49;
}

/* AGROLOGIX R4 - FINCAS VISUAL BASELINE R4
   Visual authority: approved Fincas mockup. */
body.r4-shell.auth-authenticated[data-r4-view="farms"] #r3bContent .r4aa-page{padding:8px 12px;gap:8px}
body.r4-shell.auth-authenticated[data-r4-view="farms"] #r3bContent .r4aa-hero{padding:11px 14px 12px;border-radius:11px}
body.r4-shell.auth-authenticated[data-r4-view="farms"] #r3bContent .r4aa-title h1{font-size:30px;letter-spacing:-.4px}
body.r4-shell.auth-authenticated[data-r4-view="farms"] #r3bContent .r4aa-title p{font-size:11px}
body.r4-shell.auth-authenticated[data-r4-view="farms"] #r3bContent .r4aa-tabs{gap:8px;margin-top:11px}
body.r4-shell.auth-authenticated[data-r4-view="farms"] #r3bContent .r4aa-tabs button{height:42px;padding:0 15px;border-radius:7px;font-size:11px;background:#fff;color:#0a3b83;border-color:#d6e2ec}
body.r4-shell.auth-authenticated[data-r4-view="farms"] #r3bContent .r4aa-tabs button.active{background:#eefbf5;border-color:#2db477;color:#087a49}
body.r4-shell.auth-authenticated[data-r4-view="farms"] #r3bContent .r4aa-content{padding:0;background:transparent;border:0;box-shadow:none;overflow:hidden}
body.r4-shell.auth-authenticated[data-r4-view="farms"] #r3bContent .r4aa-content>.r4aa-section-head{display:none}
.r4fg-layout{display:grid;grid-template-columns:minmax(0,1fr) 455px;gap:10px;height:100%;min-height:0}
.r4fg-left,.r4fg-right{min-width:0}
.r4fg-left{background:#fff;border:1px solid #dce7ee;border-radius:10px;padding:12px 12px 9px;display:grid;grid-template-rows:auto auto auto minmax(0,1fr) auto;gap:10px;overflow:hidden}
.r4fg-head{display:flex;align-items:center;justify-content:space-between}.r4fg-head h2{margin:0;color:#082768;font-size:25px;letter-spacing:-.4px}.r4fg-head p{margin:2px 0 0;color:#647f9b;font-size:10.5px}
.r4fg-new{height:40px;min-width:176px;border:0;border-radius:6px;background:#079552;color:#fff;font-weight:700;font-size:11px;display:flex;align-items:center;justify-content:center;gap:8px}.r4fg-new svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2}
.r4fg-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.r4fg-kpis article{border:1px solid #d8e4ec;border-radius:8px;min-height:104px;padding:13px 14px;display:grid;grid-template-columns:46px 1fr;align-items:start;column-gap:10px}.r4fg-kpis svg{width:42px;height:42px;fill:none;stroke:#0a9256;stroke-width:1.8;margin-top:2px}.r4fg-kpis strong{display:block;color:#061d5b;font-size:26px;line-height:1}.r4fg-kpis span{display:block;color:#0a3f84;font-size:11px;margin-top:5px}.r4fg-kpis small{grid-column:1/-1;color:#66819c;font-size:9.5px;margin-top:11px}
.r4fg-controls{display:grid;grid-template-columns:minmax(250px,2.1fr) .75fr .95fr .9fr auto;gap:8px;align-items:end}.r4fg-controls label{border:1px solid #d1dfeb;border-radius:6px;height:44px;padding:4px 10px;background:#fff;display:flex;flex-direction:column;justify-content:center;color:#164a7d;font-size:8px}.r4fg-controls select,.r4fg-controls input{border:0;outline:0;background:transparent;color:#123f77;font-size:10px;width:100%}.r4fg-controls label span{font-weight:700}.r4fg-search{position:relative}.r4fg-search input{height:100%;padding-right:28px}.r4fg-search svg{position:absolute;right:10px;top:11px;width:19px;height:19px;fill:none;stroke:#0a4d96;stroke-width:2}.r4fg-controls>button{height:44px;border:1px solid #cadbe8;border-radius:6px;background:#fff;color:#0a4384;font-size:10px;font-weight:700;display:flex;align-items:center;gap:7px;padding:0 13px}.r4fg-controls>button svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:2}
.r4fg-table{border:1px solid #d8e4ec;border-radius:7px;overflow:auto;min-height:0}.r4fg-table table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:9.5px}.r4fg-table th{background:#f2f7fa;color:#0a376d;text-align:left;padding:9px 8px;font-weight:700;position:sticky;top:0;z-index:2}.r4fg-table td{height:39px;border-top:1px solid #e4edf2;padding:6px 8px;color:#174e82;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.r4fg-table tbody tr:hover td{background:#eefaf5}
.r4fg-table th:nth-child(1){width:10%}.r4fg-table th:nth-child(2){width:17%}.r4fg-table th:nth-child(3){width:17%}.r4fg-table th:nth-child(4){width:17%}.r4fg-table th:nth-child(5){width:8%}.r4fg-table th:nth-child(6){width:9%}.r4fg-table th:nth-child(7){width:10%}.r4fg-table th:nth-child(8){width:12%}
.r4fg-state{display:inline-flex;align-items:center;gap:6px;color:#0a8e4f}.r4fg-state i{width:8px;height:8px;border-radius:50%;background:#00ae4f}.r4fg-state.off{color:#71879a}.r4fg-state.off i{background:#8fa2b3}
.r4fg-actions{display:flex;align-items:center;gap:10px}.r4fg-actions button{border:0;background:transparent;padding:1px;color:#0050a7}.r4fg-actions button.danger{color:#ff1d25}.r4fg-actions svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.9}
.r4fg-pager{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;color:#5b7996;font-size:9.5px}.r4fg-pager>div{display:flex;gap:5px}.r4fg-pager button{width:32px;height:32px;border:1px solid #d4e1ea;background:#fff;border-radius:6px;color:#0b4c8d}.r4fg-pager button.active{background:#079552;color:#fff;border-color:#079552}.r4fg-pager label{justify-self:end;display:flex;align-items:center;gap:8px}.r4fg-pager select{height:32px;border:1px solid #d4e1ea;border-radius:6px;padding:0 12px;color:#154a7d;background:#fff}
.r4fg-right{display:grid;grid-template-rows:auto auto auto;gap:10px;overflow:auto}.r4fg-formcard,.r4fg-mini,.r4fg-quick{background:#fff;border:1px solid #d8e4ec;border-radius:9px;overflow:hidden}
.r4fg-formcard h3,.r4fg-mini h3,.r4fg-quick h3{margin:0;background:linear-gradient(90deg,#f5fffa,#eef9f6);min-height:44px;padding:10px 13px;color:#072766;font-size:15px;display:flex;align-items:center;gap:8px}.r4fg-formcard h3 svg,.r4fg-mini h3 svg,.r4fg-quick h3 svg{width:20px;height:20px;fill:none;stroke:#0a9256;stroke-width:2}
.r4fg-formcard form{display:grid;grid-template-columns:1fr 1fr;gap:8px 12px;padding:10px 13px 12px}.r4fg-formcard label{font-size:9px;color:#103d72;font-weight:700}.r4fg-formcard label.full{grid-column:1/-1}.r4fg-formcard b{color:#e21c2b}.r4fg-formcard input,.r4fg-formcard select{display:block;width:100%;height:32px;margin-top:4px;border:1px solid #cadbe8;border-radius:5px;padding:0 9px;color:#1c4e7b;font-size:10px;background:#fff}.r4fg-formcard input:disabled{background:#f5f8fa;color:#8b9cac}.r4fg-formcard .actions{display:grid;grid-template-columns:1.4fr .75fr;gap:10px}.r4fg-formcard button{height:36px;border:1px solid #cfdee9;border-radius:5px;background:#fff;color:#164e83;font-weight:700;font-size:10px}.r4fg-formcard button.save{background:#079552;color:#fff;border-color:#079552;display:flex;align-items:center;justify-content:center;gap:7px}.r4fg-formcard button.save svg{width:16px;height:16px;fill:none;stroke:#fff;stroke-width:2}
.r4fg-right-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.r4fg-mini{padding-bottom:6px}.r4fg-mini h3{min-height:37px;font-size:11px;padding:8px 10px}.r4fg-mini>div{display:flex;align-items:center;justify-content:space-between;padding:5px 10px;color:#174e82;font-size:9px}.r4fg-mini>div span{display:flex;align-items:center;gap:5px}.r4fg-mini>div svg{width:14px;height:14px;fill:none;stroke:#0a9256;stroke-width:2}.r4fg-mini strong{color:#061d5b}
.r4fg-quick h3{min-height:36px;font-size:11px;padding:7px 10px}.r4fg-quick>div{display:grid;grid-template-columns:repeat(4,1fr);gap:5px;padding:7px}.r4fg-quick button{min-height:38px;border:1px solid #d4e1ea;border-radius:5px;background:#fff;color:#0b4b8c;font-size:8px;display:flex;align-items:center;justify-content:center;gap:5px}.r4fg-quick button svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2}
@media(max-width:1250px){.r4fg-layout{grid-template-columns:minmax(0,1fr) 390px}.r4fg-controls{grid-template-columns:1.7fr .7fr .85fr .8fr auto}.r4fg-kpis article{padding:10px}.r4fg-right-grid{grid-template-columns:1fr}}

/* AGROLOGIX R4 - INVERSIONISTAS VISUAL BASELINE R5
   Visual authority: approved Inversionistas mockup. */
body.r4-shell.auth-authenticated[data-r4-view="investor-profile"] #r3bContent .r4aa-page{padding:8px 12px;gap:8px}
body.r4-shell.auth-authenticated[data-r4-view="investor-profile"] #r3bContent .r4aa-hero{padding:11px 14px 12px;border-radius:11px}
body.r4-shell.auth-authenticated[data-r4-view="investor-profile"] #r3bContent .r4aa-title h1{font-size:30px;letter-spacing:-.4px}
body.r4-shell.auth-authenticated[data-r4-view="investor-profile"] #r3bContent .r4aa-title p{font-size:11px}
body.r4-shell.auth-authenticated[data-r4-view="investor-profile"] #r3bContent .r4aa-tabs{gap:8px;margin-top:11px}
body.r4-shell.auth-authenticated[data-r4-view="investor-profile"] #r3bContent .r4aa-tabs button{height:42px;padding:0 15px;border-radius:7px;font-size:11px;background:#fff;color:#0a3b83;border-color:#d6e2ec}
body.r4-shell.auth-authenticated[data-r4-view="investor-profile"] #r3bContent .r4aa-tabs button.active{background:#eefbf5;border-color:#2db477;color:#087a49}
body.r4-shell.auth-authenticated[data-r4-view="investor-profile"] #r3bContent .r4aa-content{padding:0;background:transparent;border:0;box-shadow:none;overflow:hidden}
body.r4-shell.auth-authenticated[data-r4-view="investor-profile"] #r3bContent .r4aa-content>.r4aa-section-head{display:none}
.r4iv-layout{display:grid;grid-template-columns:minmax(0,1fr) 455px;gap:10px;height:100%;min-height:0}.r4iv-left,.r4iv-right{min-width:0}
.r4iv-left{background:#fff;border:1px solid #dce7ee;border-radius:10px;padding:12px 12px 9px;display:grid;grid-template-rows:auto auto auto minmax(0,1fr) auto;gap:10px;overflow:hidden}
.r4iv-head{display:flex;align-items:center;justify-content:space-between}.r4iv-head h2{margin:0;color:#082768;font-size:25px;letter-spacing:-.4px}.r4iv-head p{margin:2px 0 0;color:#647f9b;font-size:10.5px}.r4iv-new{height:40px;min-width:176px;border:0;border-radius:6px;background:#079552;color:#fff;font-weight:700;font-size:11px;display:flex;align-items:center;justify-content:center;gap:8px}.r4iv-new svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2}
.r4iv-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.r4iv-kpis article{border:1px solid #d8e4ec;border-radius:8px;min-height:104px;padding:13px 14px;display:grid;grid-template-columns:46px 1fr;align-items:start;column-gap:10px}.r4iv-kpis svg{width:42px;height:42px;fill:none;stroke:#0a9256;stroke-width:1.8;margin-top:2px}.r4iv-kpis strong{display:block;color:#061d5b;font-size:24px;line-height:1;white-space:nowrap}.r4iv-kpis span{display:block;color:#0a3f84;font-size:11px;margin-top:5px}.r4iv-kpis small{grid-column:1/-1;color:#66819c;font-size:9.5px;margin-top:11px}
.r4iv-controls{display:grid;grid-template-columns:minmax(250px,2.1fr) .75fr .9fr .8fr auto;gap:8px;align-items:end}.r4iv-controls label{border:1px solid #d1dfeb;border-radius:6px;height:44px;padding:4px 10px;background:#fff;display:flex;flex-direction:column;justify-content:center;color:#164a7d;font-size:8px}.r4iv-controls select,.r4iv-controls input{border:0;outline:0;background:transparent;color:#123f77;font-size:10px;width:100%}.r4iv-controls label span{font-weight:700}.r4iv-search{position:relative}.r4iv-search input{height:100%;padding-right:28px}.r4iv-search svg{position:absolute;right:10px;top:11px;width:19px;height:19px;fill:none;stroke:#0a4d96;stroke-width:2}.r4iv-controls>button{height:44px;border:1px solid #cadbe8;border-radius:6px;background:#fff;color:#0a4384;font-size:10px;font-weight:700;display:flex;align-items:center;gap:7px;padding:0 13px}.r4iv-controls>button svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:2}
.r4iv-table{border:1px solid #d8e4ec;border-radius:7px;overflow:auto;min-height:0}.r4iv-table table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:9.2px}.r4iv-table th{background:#f2f7fa;color:#0a376d;text-align:left;padding:8px 7px;font-weight:700;position:sticky;top:0;z-index:2}.r4iv-table td{height:39px;border-top:1px solid #e4edf2;padding:6px 7px;color:#174e82;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.r4iv-table tr.selected td{background:#e3f8ee}.r4iv-table td small{display:block;color:#9a6b00;font-size:7px}.r4iv-table th:nth-child(1){width:9%}.r4iv-table th:nth-child(2){width:15%}.r4iv-table th:nth-child(3){width:15%}.r4iv-table th:nth-child(4){width:12%}.r4iv-table th:nth-child(5){width:9%}.r4iv-table th:nth-child(6){width:8%}.r4iv-table th:nth-child(7){width:9%}.r4iv-table th:nth-child(8){width:10%}.r4iv-table th:nth-child(9){width:13%}
.r4iv-state{display:inline-flex;align-items:center;gap:6px;color:#0a8e4f}.r4iv-state i{width:8px;height:8px;border-radius:50%;background:#00ae4f}.r4iv-state.off{color:#71879a}.r4iv-state.off i{background:#8fa2b3}.r4iv-state.review{color:#d28a00}.r4iv-state.review i{background:#ffb000}
.r4iv-actions{display:flex;align-items:center;gap:10px}.r4iv-actions button{border:0;background:transparent;padding:1px;color:#0050a7}.r4iv-actions button.danger{color:#ff1d25}.r4iv-actions svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.9}
.r4iv-pager{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;color:#5b7996;font-size:9.5px}.r4iv-pager>div{display:flex;gap:5px}.r4iv-pager button{width:32px;height:32px;border:1px solid #d4e1ea;background:#fff;border-radius:6px;color:#0b4c8d}.r4iv-pager button.active{background:#079552;color:#fff;border-color:#079552}.r4iv-pager label{justify-self:end;display:flex;align-items:center;gap:8px}.r4iv-pager select{height:32px;border:1px solid #d4e1ea;border-radius:6px;padding:0 12px;color:#154a7d;background:#fff}
.r4iv-right{display:grid;grid-template-rows:auto auto auto auto;gap:10px;overflow:auto}.r4iv-formcard,.r4iv-summary,.r4iv-alerts,.r4iv-quick{background:#fff;border:1px solid #d8e4ec;border-radius:9px;overflow:hidden}.r4iv-formcard h3,.r4iv-summary h3,.r4iv-alerts h3,.r4iv-quick h3{margin:0;background:linear-gradient(90deg,#f5fffa,#eef9f6);min-height:44px;padding:10px 13px;color:#072766;font-size:15px;display:flex;align-items:center;gap:8px}.r4iv-formcard h3 svg,.r4iv-summary h3 svg,.r4iv-alerts h3 svg,.r4iv-quick h3 svg{width:20px;height:20px;fill:none;stroke:#0a9256;stroke-width:2}
.r4iv-formcard form{display:grid;grid-template-columns:1fr 1fr;gap:8px 12px;padding:10px 13px 12px}.r4iv-formcard label{font-size:9px;color:#103d72;font-weight:700}.r4iv-formcard label.full{grid-column:1/-1}.r4iv-formcard b{color:#e21c2b}.r4iv-formcard input,.r4iv-formcard select{display:block;width:100%;height:32px;margin-top:4px;border:1px solid #cadbe8;border-radius:5px;padding:0 9px;color:#1c4e7b;font-size:10px;background:#fff}.r4iv-formcard .actions{display:grid;grid-template-columns:1.4fr .75fr;gap:10px}.r4iv-formcard button{height:36px;border:1px solid #cfdee9;border-radius:5px;background:#fff;color:#164e83;font-weight:700;font-size:10px}.r4iv-formcard button.save{background:#079552;color:#fff;border-color:#079552;display:flex;align-items:center;justify-content:center;gap:7px}.r4iv-formcard button.save svg{width:16px;height:16px;fill:none;stroke:#fff;stroke-width:2}
.r4iv-summary h3,.r4iv-alerts h3,.r4iv-quick h3{min-height:37px;font-size:11px;padding:8px 10px}.r4iv-summary-grid{display:grid;grid-template-columns:1fr 1fr}.r4iv-summary-grid>div{display:grid;grid-template-columns:34px 1fr;gap:7px;padding:10px;border-top:1px solid #e3edf2}.r4iv-summary-grid>div:nth-child(odd){border-right:1px solid #e3edf2}.r4iv-summary-grid svg{width:26px;height:26px;fill:none;stroke:#0a9256;stroke-width:2}.r4iv-summary-grid span{font-size:8px;color:#486b8e}.r4iv-summary-grid strong{display:block;font-size:15px;color:#071f60;margin-top:2px}.r4iv-summary-grid small{display:block;font-size:8px;color:#738ca3;margin-top:1px}
.r4iv-alerts>div{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:8px}.r4iv-alerts article{border:1px solid #e0e8ee;border-radius:6px;padding:8px;display:grid;grid-template-columns:32px 1fr;gap:6px}.r4iv-alerts article strong{font-size:22px;color:#071f60}.r4iv-alerts article span{font-size:8px;color:#345d84}.r4iv-alerts article small{display:block;color:#7d91a3;margin-top:2px}
.r4iv-quick>div{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;padding:8px}.r4iv-quick button{min-height:38px;border:1px solid #d4e1ea;border-radius:5px;background:#fff;color:#0b4b8c;font-size:8px;display:flex;align-items:center;justify-content:center;gap:5px}.r4iv-quick button svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2}
@media(max-width:1250px){.r4iv-layout{grid-template-columns:minmax(0,1fr) 390px}.r4iv-controls{grid-template-columns:1.7fr .7fr .85fr .75fr auto}.r4iv-kpis article{padding:10px}.r4iv-summary-grid{grid-template-columns:1fr}}

/* AGROLOGIX R4 - PARAMETROS FINANCIEROS VISUAL BASELINE R6 */
body.r4-shell.auth-authenticated[data-r4-view="admin-finance"] #r3bContent .r4aa-page{padding:8px 12px;gap:8px}
body.r4-shell.auth-authenticated[data-r4-view="admin-finance"] #r3bContent .r4aa-hero{padding:11px 14px 12px;border-radius:11px}
body.r4-shell.auth-authenticated[data-r4-view="admin-finance"] #r3bContent .r4aa-title h1{font-size:30px;letter-spacing:-.4px}
body.r4-shell.auth-authenticated[data-r4-view="admin-finance"] #r3bContent .r4aa-title p{font-size:11px}
body.r4-shell.auth-authenticated[data-r4-view="admin-finance"] #r3bContent .r4aa-tabs{gap:8px;margin-top:11px}
body.r4-shell.auth-authenticated[data-r4-view="admin-finance"] #r3bContent .r4aa-tabs button{height:42px;padding:0 15px;border-radius:7px;font-size:11px;background:#fff;color:#0a3b83;border-color:#d6e2ec}
body.r4-shell.auth-authenticated[data-r4-view="admin-finance"] #r3bContent .r4aa-tabs button.active{background:#eefbf5;border-color:#2db477;color:#087a49}
body.r4-shell.auth-authenticated[data-r4-view="admin-finance"] #r3bContent .r4aa-content{padding:0;background:transparent;border:0;box-shadow:none;overflow:hidden}
body.r4-shell.auth-authenticated[data-r4-view="admin-finance"] #r3bContent .r4aa-content>.r4aa-section-head{display:none}
.r4fin-page{background:#fff;border:1px solid #dce7ee;border-radius:10px;padding:12px;overflow:auto;height:100%}
.r4fin-head>div{display:flex;gap:10px;align-items:center}.r4fin-head svg{width:34px;height:34px;fill:none;stroke:#0b4c8d;stroke-width:1.8}.r4fin-head h2{margin:0;color:#082768;font-size:24px}.r4fin-head p{margin:2px 0 0;color:#607d99;font-size:10px}
.r4fin-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:10px 0}.r4fin-kpis article{border:1px solid #d8e4ec;border-radius:8px;padding:12px;display:grid;grid-template-columns:46px 1fr;gap:10px;min-height:92px}.r4fin-kpis svg{width:42px;height:42px;fill:none;stroke:#0a9256;stroke-width:1.8}.r4fin-kpis span{font-size:10px;color:#315c83}.r4fin-kpis strong{display:block;color:#061d5b;font-size:23px;margin-top:2px}.r4fin-kpis small{display:block;color:#6c8399;font-size:8px;margin-top:3px}
#r4finForm{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:10px}.r4fin-main{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.r4fin-card,.r4fin-impact{border:1px solid #d8e4ec;border-radius:8px;overflow:hidden;background:#fff}.r4fin-card h3,.r4fin-impact h3{margin:0;padding:9px 11px;background:linear-gradient(90deg,#f5fffa,#eef9f6);font-size:13px;color:#082768;display:flex;align-items:center;gap:8px}.r4fin-card h3 svg,.r4fin-impact h3 svg{width:21px;height:21px;fill:none;stroke:#0a9256;stroke-width:2}.r4fin-card>p,.r4fin-impact>p{margin:5px 11px;color:#6e8398;font-size:8.5px}.r4fin-fields{padding:7px 11px 10px;display:grid;gap:7px}.r4fin-fields label>span{display:flex;align-items:center;gap:4px;color:#174d7c;font-size:8.5px}.r4fin-fields label b{color:#e31b2d}.r4fin-fields label>div{display:flex;margin-top:3px}.r4fin-fields input,.r4fin-fields select{height:30px;border:1px solid #d2e0ea;border-radius:5px 0 0 5px;padding:0 8px;color:#183f70;font-size:9px;background:#fff;width:100%}.r4fin-fields em{height:30px;min-width:54px;border:1px solid #d2e0ea;border-left:0;border-radius:0 5px 5px 0;background:#f2f6f8;display:flex;align-items:center;justify-content:center;color:#627e98;font-size:8px;font-style:normal}.r4fin-fields .unsupported input,.r4fin-fields .unsupported select{background:#f5f7f9;color:#9ba9b6}.r4fin-fields label small{display:block;margin-top:2px;font-size:7px;color:#9a6b00}
.r4fin-side{display:flex;flex-direction:column;gap:10px}.r4fin-impact>div{padding:12px;border-top:1px solid #e3edf2;display:flex;justify-content:space-between;gap:10px;color:#325c82;font-size:9px}.r4fin-impact strong{color:#061d5b;font-size:13px}.r4fin-impact small{display:block;font-size:7px;color:#8a9aaa}.r4fin-save{height:50px;border:0;border-radius:7px;background:#079552;color:#fff;font-weight:700;font-size:12px;display:flex;align-items:center;justify-content:center;gap:8px}.r4fin-save svg{width:18px;height:18px;fill:none;stroke:#fff;stroke-width:2}.r4fin-feedback{min-height:18px;font-size:9px}.r4fin-feedback.ok{color:#07854d}.r4fin-feedback.error{color:#c62230}
@media(max-width:1250px){#r4finForm{grid-template-columns:1fr}.r4fin-main{grid-template-columns:repeat(2,1fr)}.r4fin-side{display:grid;grid-template-columns:1fr 220px}.r4fin-kpis{grid-template-columns:repeat(2,1fr)}}

/* AGROLOGIX R4 - ADVANCED ADMIN VISUAL AUTHORITY HF14 */
body.r4-shell.auth-authenticated #r3bContent .r4aa-tabs button{display:inline-flex!important;align-items:center!important;justify-content:flex-start!important;gap:10px!important}
body.r4-shell.auth-authenticated #r3bContent .r4aa-tabs button>svg{width:22px!important;height:22px!important;min-width:22px!important;fill:none!important;stroke:#0b4d9b!important;stroke-width:1.9!important;stroke-linecap:round!important;stroke-linejoin:round!important}
body.r4-shell.auth-authenticated #r3bContent .r4aa-tabs button.active>svg{stroke:#0a9256!important}
body.r4-shell.auth-authenticated #r3bContent .r4aa-gear{display:flex!important;align-items:center!important;justify-content:center!important;width:38px!important;height:38px!important;font-size:0!important}
body.r4-shell.auth-authenticated #r3bContent .r4aa-gear>svg{width:36px!important;height:36px!important;fill:none!important;stroke:#0b416f!important;stroke-width:2.1!important;stroke-linecap:round!important;stroke-linejoin:round!important}
body.r4-shell.auth-authenticated[data-r4-view="admin-finance"] #r3bContent .r4fin-fields label>span svg{width:11px!important;height:11px!important;min-width:11px!important;max-width:11px!important;fill:none!important;stroke:#0b4d9b!important;stroke-width:2!important;display:inline-block!important}
body.r4-shell.auth-authenticated[data-r4-view="admin-finance"] #r3bContent .r4fin-fields label.unsupported>span svg{display:none!important}
body.r4-shell.auth-authenticated[data-r4-view="admin-finance"] #r3bContent .r4fin-fields label.unsupported>small{display:none!important}
body.r4-shell.auth-authenticated[data-r4-view="admin-finance"] #r3bContent .r4fin-fields{gap:6px!important}
body.r4-shell.auth-authenticated[data-r4-view="admin-finance"] #r3bContent .r4fin-fields label{min-height:42px!important}
body.r4-shell.auth-authenticated[data-r4-view="admin-finance"] #r3bContent .r4fin-fields input,
body.r4-shell.auth-authenticated[data-r4-view="admin-finance"] #r3bContent .r4fin-fields select{height:30px!important}
body.r4-shell.auth-authenticated[data-r4-view="admin-finance"] #r3bContent .r4fin-card{min-height:0!important}
body.r4-shell.auth-authenticated[data-r4-view="admin-finance"] #r3bContent .r4fin-main{align-items:start!important}
body.r4-shell.auth-authenticated[data-r4-view="admin-finance"] #r3bContent .r4fin-page{overflow:hidden!important}
body.r4-shell.auth-authenticated[data-r4-view="admin-finance"] #r3bContent #r4finForm{align-items:start!important}

.r4aa-tab-icon.i-partners{-webkit-mask-image:url("/r4/advanced-admin-icons-hf15/partners.png");mask-image:url("/r4/advanced-admin-icons-hf15/partners.png")}
.r4aa-tab-icon.i-farms{-webkit-mask-image:url("/r4/advanced-admin-icons-hf15/farms.png");mask-image:url("/r4/advanced-admin-icons-hf15/farms.png")}
.r4aa-tab-icon.i-investor-profile{-webkit-mask-image:url("/r4/advanced-admin-icons-hf15/investor-profile.png");mask-image:url("/r4/advanced-admin-icons-hf15/investor-profile.png")}
.r4aa-tab-icon.i-admin-finance{-webkit-mask-image:url("/r4/advanced-admin-icons-hf15/admin-finance.png");mask-image:url("/r4/advanced-admin-icons-hf15/admin-finance.png")}
.r4aa-tab-icon.i-sequences{-webkit-mask-image:url("/r4/advanced-admin-icons-hf15/sequences.png");mask-image:url("/r4/advanced-admin-icons-hf15/sequences.png")}
.r4aa-tab-icon.i-backup{-webkit-mask-image:url("/r4/advanced-admin-icons-hf15/backup.png");mask-image:url("/r4/advanced-admin-icons-hf15/backup.png")}
.r4aa-tab-icon.i-notifications-admin{-webkit-mask-image:url("/r4/advanced-admin-icons-hf15/notifications-admin.png");mask-image:url("/r4/advanced-admin-icons-hf15/notifications-admin.png")}
.r4aa-tab-icon.i-sessions{-webkit-mask-image:url("/r4/advanced-admin-icons-hf15/sessions.png");mask-image:url("/r4/advanced-admin-icons-hf15/sessions.png")}
.r4aa-tab-icon.i-appearance{-webkit-mask-image:url("/r4/advanced-admin-icons-hf15/appearance.png");mask-image:url("/r4/advanced-admin-icons-hf15/appearance.png")}
.r4aa-tab-icon.i-ai-settings{-webkit-mask-image:url("/r4/advanced-admin-icons-hf15/ai-settings.png");mask-image:url("/r4/advanced-admin-icons-hf15/ai-settings.png")}
.r4aa-tab-icon.i-audit{-webkit-mask-image:url("/r4/advanced-admin-icons-hf15/audit.png");mask-image:url("/r4/advanced-admin-icons-hf15/audit.png")}
.r4aa-gear-mask{-webkit-mask-image:url("/r4/advanced-admin-icons-hf15/gear.png");mask-image:url("/r4/advanced-admin-icons-hf15/gear.png")}
/* AGROLOGIX R4 - ADVANCED ADMIN PIXEL AUTHORITY HF15 */
body.r4-shell.auth-authenticated #r3bContent .r4aa-tab-icon,
body.r4-shell.auth-authenticated #r3bContent .r4aa-gear-mask{
 display:inline-block;flex:0 0 auto;background:#0b4f9e;
 -webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;
 -webkit-mask-position:center;mask-position:center;
 -webkit-mask-size:contain;mask-size:contain;
}
body.r4-shell.auth-authenticated #r3bContent .r4aa-tab-icon{width:23px;height:23px}
body.r4-shell.auth-authenticated #r3bContent .r4aa-tabs button.active .r4aa-tab-icon{background:#07935a}
body.r4-shell.auth-authenticated #r3bContent .r4aa-gear-mask{width:40px;height:40px;background:#0b416f}
body.r4-shell.auth-authenticated #r3bContent .r4aa-tabs button>svg{display:none!important}

body.r4-shell.auth-authenticated[data-r4-view="admin-finance"] #r3bContent .r4aa-page{
 height:calc(100vh - 72px)!important;min-height:0!important;overflow:hidden!important;
 display:flex!important;flex-direction:column!important;padding:8px 12px!important;gap:8px!important;
}
body.r4-shell.auth-authenticated[data-r4-view="admin-finance"] #r3bContent .r4aa-hero{
 flex:0 0 auto!important;padding:10px 14px 11px!important;
}
body.r4-shell.auth-authenticated[data-r4-view="admin-finance"] #r3bContent .r4aa-title h1{font-size:29px!important;line-height:1!important}
body.r4-shell.auth-authenticated[data-r4-view="admin-finance"] #r3bContent .r4aa-title p{font-size:10px!important;margin-top:3px!important}
body.r4-shell.auth-authenticated[data-r4-view="admin-finance"] #r3bContent .r4aa-tabs{gap:8px!important;margin-top:10px!important}
body.r4-shell.auth-authenticated[data-r4-view="admin-finance"] #r3bContent .r4aa-tabs button{
 height:39px!important;padding:0 13px!important;font-size:10px!important;border-radius:6px!important;
}
body.r4-shell.auth-authenticated[data-r4-view="admin-finance"] #r3bContent .r4aa-content{
 flex:1 1 auto!important;min-height:0!important;overflow:hidden!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;
}
body.r4-shell.auth-authenticated[data-r4-view="admin-finance"] #r3bContent .r4aa-content>.r4aa-section-head{display:none!important}
body.r4-shell.auth-authenticated[data-r4-view="admin-finance"] #r3bContent .r4fin-page{
 height:100%!important;min-height:0!important;overflow:hidden!important;padding:10px 11px!important;background:#fff!important;border:1px solid #dbe6ed!important;border-radius:9px!important;
 display:flex!important;flex-direction:column!important;
}
.r4fin-head{height:44px;display:flex;align-items:center;gap:10px;flex:0 0 auto}
.r4fin-section-icon.finance{width:32px;height:32px;border-radius:50%;border:0;background:#0b4d8c;position:relative}
.r4fin-section-icon.finance:before,.r4fin-section-icon.finance:after{content:"";position:absolute;left:8px;width:16px;height:5px;border:2px solid #fff;border-radius:50%}
.r4fin-section-icon.finance:before{top:6px}.r4fin-section-icon.finance:after{top:16px}
.r4fin-head h2{margin:0;color:#082768;font-size:23px;line-height:1.05}.r4fin-head p{margin:3px 0 0;color:#607d99;font-size:9px}
.r4fin-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;margin:7px 0 8px;flex:0 0 auto}
.r4fin-kpis article{height:78px;border:1px solid #d8e4ec;border-radius:7px;padding:9px 11px;display:grid;grid-template-columns:48px 1fr;gap:9px;align-items:center}
.r4fin-kpis span{font-size:9px;color:#315c83}.r4fin-kpis strong{display:block;color:#061d5b;font-size:21px;line-height:1;margin-top:2px}.r4fin-kpis small{display:block;color:#6c8399;font-size:8px;margin-top:3px}
.r4fin-kicon{width:43px;height:43px;color:#fff;background:#07935a;display:flex;align-items:center;justify-content:center;font-size:29px;font-weight:800}
.r4fin-kicon.currency,.r4fin-kicon.pct{border-radius:50%}.r4fin-kicon.feed{clip-path:polygon(25% 18%,75% 18%,88% 92%,12% 92%);position:relative}.r4fin-kicon.feed:before{content:"+";font-size:20px}
.r4fin-kicon.coins{border-radius:50%;position:relative}.r4fin-kicon.coins:before{content:"≋";font-size:31px;line-height:1}
#r4finForm{flex:1 1 auto;min-height:0;display:grid;grid-template-columns:minmax(0,1fr) 292px;gap:8px;align-items:stretch}
.r4fin-main{min-height:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:1fr 1fr;gap:8px}
.r4fin-card,.r4fin-impact{border:1px solid #d8e4ec;border-radius:7px;background:#fff;overflow:hidden;min-height:0}
.r4fin-card h3,.r4fin-impact h3{height:35px;margin:0;padding:0 10px;background:linear-gradient(90deg,#f5fffa,#eef9f6);display:flex;align-items:center;gap:7px;color:#082768;font-size:12px;line-height:1}
.r4fin-card>p,.r4fin-impact>p{height:23px;margin:0;padding:5px 10px 0;color:#6e8398;font-size:7.7px}
.r4fin-card-icon{width:20px;height:20px;display:inline-block;position:relative;color:#07935a;flex:0 0 20px}
.r4fin-card-icon.gear:before{content:"⚙";font-size:20px;line-height:20px}
.r4fin-card-icon.cow:before{content:"▰";font-size:22px;line-height:20px}
.r4fin-card-icon.barn:before{content:"◆";font-size:19px;line-height:20px}
.r4fin-card-icon.split:before{content:"♣";font-size:20px;line-height:20px}
.r4fin-card-icon.bars:before{content:"▥";font-size:20px;line-height:20px}
.r4fin-card-icon.bell:before{content:"●";font-size:16px;line-height:20px}
.r4fin-fields{padding:2px 10px 6px;display:grid;gap:3px}
.r4fin-fields label{display:grid;grid-template-columns:minmax(0,1fr) minmax(120px,46%);align-items:center;min-height:28px}
.r4fin-fields label>span{font-size:7.9px;color:#174d7c;display:flex;align-items:center;gap:3px}.r4fin-fields label b{color:#e31b2d}.r4fin-info{width:11px;height:11px;border:1px solid #0b4d9b;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-size:7px;font-style:normal;color:#0b4d9b}
.r4fin-control{display:flex;min-width:0}.r4fin-control input,.r4fin-control select{height:26px;min-width:0;width:100%;border:1px solid #d2e0ea;border-radius:4px 0 0 4px;padding:0 7px;color:#173f70;font-size:8px;background:#fff}.r4fin-control input[readonly],.r4fin-control select:disabled{background:#fff;color:#173f70;opacity:1}.r4fin-control em{height:26px;min-width:48px;border:1px solid #d2e0ea;border-left:0;border-radius:0 4px 4px 0;background:#f2f6f8;display:flex;align-items:center;justify-content:center;color:#627e98;font-size:7px;font-style:normal}
.r4fin-toggle-row{grid-template-columns:1fr auto!important}.r4fin-toggle{width:37px;height:20px;border:0;border-radius:12px;background:#c7d3dc;padding:2px}.r4fin-toggle i{display:block;width:16px;height:16px;background:#fff;border-radius:50%;transition:.15s}.r4fin-toggle.on{background:#07935a}.r4fin-toggle.on i{transform:translateX(17px)}
.r4fin-side{min-height:0;display:grid;grid-template-rows:minmax(0,1fr) 49px 18px;gap:8px}
.r4fin-impact{display:flex;flex-direction:column}.r4fin-impact>div{flex:1;min-height:0;padding:6px 10px;border-top:1px solid #e3edf2;display:flex;justify-content:space-between;align-items:center;color:#315d84;font-size:8px}.r4fin-impact>div>span{display:flex;align-items:center;gap:7px}.r4fin-impact strong{color:#061d5b;font-size:12px;text-align:right}.r4fin-impact strong em{display:block;color:#07935a;font-size:8px;font-style:normal;background:#def4e9;border-radius:9px;padding:1px 4px;margin-top:2px}.r4fin-impact small{font-size:7px}
.r4fin-impact-icon{width:19px;height:19px;color:#07935a;display:inline-flex;align-items:center;justify-content:center;font-weight:800}.r4fin-impact-icon.coins:before{content:"≋";font-size:20px}.r4fin-impact-icon.barn:before{content:"◆";font-size:15px}.r4fin-impact-icon.up:before{content:"↑";font-size:20px}.r4fin-impact-icon.bars:before{content:"▥";font-size:19px}.r4fin-impact-icon.pie:before{content:"◔";font-size:18px}
.r4fin-save{height:49px;border:0;border-radius:6px;background:#079552;color:#fff;font-weight:700;font-size:11px;display:flex;align-items:center;justify-content:center;gap:7px}.r4fin-save-icon{font-size:16px}
.r4fin-feedback{font-size:8px;min-height:16px}.r4fin-feedback.ok{color:#07854d}.r4fin-feedback.error{color:#c62230}
@media(max-width:1350px){body.r4-shell.auth-authenticated[data-r4-view="admin-finance"] #r3bContent .r4aa-tabs button{padding:0 9px!important;font-size:9px!important}.r4fin-fields label{grid-template-columns:minmax(0,1fr) minmax(100px,44%)}#r4finForm{grid-template-columns:minmax(0,1fr) 255px}}

/* AGROLOGIX R4 - PARAMETROS FINANCIEROS BODY PIXEL AUTHORITY HF16
   Body icon silhouettes are extracted from the approved mockup. */

/* Exact approved body icons */
body.r4-shell.auth-authenticated[data-r4-view="admin-finance"] #r3bContent .r4fin-section-icon.finance,
body.r4-shell.auth-authenticated[data-r4-view="admin-finance"] #r3bContent .r4fin-kicon,
body.r4-shell.auth-authenticated[data-r4-view="admin-finance"] #r3bContent .r4fin-card-icon,
body.r4-shell.auth-authenticated[data-r4-view="admin-finance"] #r3bContent .r4fin-impact-icon{
  background-repeat:no-repeat!important;
  background-position:center!important;
  background-size:contain!important;
  clip-path:none!important;
  border:0!important;
}
body.r4-shell.auth-authenticated[data-r4-view="admin-finance"] #r3bContent .r4fin-section-icon.finance:before,
body.r4-shell.auth-authenticated[data-r4-view="admin-finance"] #r3bContent .r4fin-section-icon.finance:after,
body.r4-shell.auth-authenticated[data-r4-view="admin-finance"] #r3bContent .r4fin-kicon:before,
body.r4-shell.auth-authenticated[data-r4-view="admin-finance"] #r3bContent .r4fin-card-icon:before,
body.r4-shell.auth-authenticated[data-r4-view="admin-finance"] #r3bContent .r4fin-impact-icon:before{
  content:none!important;display:none!important;
}
body.r4-shell.auth-authenticated[data-r4-view="admin-finance"] #r3bContent .r4fin-section-icon.finance{
  width:32px!important;height:34px!important;background-image:url("/r4/advanced-admin-body-icons-hf16/finance_header.png")!important;
}
body.r4-shell.auth-authenticated[data-r4-view="admin-finance"] #r3bContent .r4fin-kicon{width:48px!important;height:48px!important;background-color:transparent!important;color:transparent!important;font-size:0!important}
body.r4-shell.auth-authenticated[data-r4-view="admin-finance"] #r3bContent .r4fin-kicon.currency{background-image:url("/r4/advanced-admin-body-icons-hf16/kpi_currency.png")!important}
body.r4-shell.auth-authenticated[data-r4-view="admin-finance"] #r3bContent .r4fin-kicon.feed{background-image:url("/r4/advanced-admin-body-icons-hf16/kpi_feed.png")!important}
body.r4-shell.auth-authenticated[data-r4-view="admin-finance"] #r3bContent .r4fin-kicon.pct{background-image:url("/r4/advanced-admin-body-icons-hf16/kpi_pct.png")!important}
body.r4-shell.auth-authenticated[data-r4-view="admin-finance"] #r3bContent .r4fin-kicon.coins{background-image:url("/r4/advanced-admin-body-icons-hf16/kpi_commission.png")!important}
body.r4-shell.auth-authenticated[data-r4-view="admin-finance"] #r3bContent .r4fin-card-icon{width:24px!important;height:24px!important;background-color:transparent!important}
body.r4-shell.auth-authenticated[data-r4-view="admin-finance"] #r3bContent .r4fin-card-icon.gear{background-image:url("/r4/advanced-admin-body-icons-hf16/card_gear.png")!important}
body.r4-shell.auth-authenticated[data-r4-view="admin-finance"] #r3bContent .r4fin-card-icon.cow{background-image:url("/r4/advanced-admin-body-icons-hf16/card_cow.png")!important}
body.r4-shell.auth-authenticated[data-r4-view="admin-finance"] #r3bContent .r4fin-card-icon.barn{background-image:url("/r4/advanced-admin-body-icons-hf16/card_barn.png")!important}
body.r4-shell.auth-authenticated[data-r4-view="admin-finance"] #r3bContent .r4fin-card-icon.split{background-image:url("/r4/advanced-admin-body-icons-hf16/card_split.png")!important}
body.r4-shell.auth-authenticated[data-r4-view="admin-finance"] #r3bContent .r4fin-card-icon.bars{background-image:url("/r4/advanced-admin-body-icons-hf16/card_bars.png")!important}
body.r4-shell.auth-authenticated[data-r4-view="admin-finance"] #r3bContent .r4fin-card-icon.bell{background-image:url("/r4/advanced-admin-body-icons-hf16/card_bell.png")!important}
body.r4-shell.auth-authenticated[data-r4-view="admin-finance"] #r3bContent .r4fin-impact h3 .r4fin-card-icon.bars{background-image:url("/r4/advanced-admin-body-icons-hf16/impact_header.png")!important}
body.r4-shell.auth-authenticated[data-r4-view="admin-finance"] #r3bContent .r4fin-impact-icon{width:22px!important;height:22px!important;background-color:transparent!important}
body.r4-shell.auth-authenticated[data-r4-view="admin-finance"] #r3bContent .r4fin-impact-icon.coins{background-image:url("/r4/advanced-admin-body-icons-hf16/impact_coin.png")!important}
body.r4-shell.auth-authenticated[data-r4-view="admin-finance"] #r3bContent .r4fin-impact-icon.barn{background-image:url("/r4/advanced-admin-body-icons-hf16/impact_barn.png")!important}
body.r4-shell.auth-authenticated[data-r4-view="admin-finance"] #r3bContent .r4fin-impact-icon.up{background-image:url("/r4/advanced-admin-body-icons-hf16/impact_up.png")!important}
body.r4-shell.auth-authenticated[data-r4-view="admin-finance"] #r3bContent .r4fin-impact-icon.bars{background-image:url("/r4/advanced-admin-body-icons-hf16/impact_bars.png")!important}
body.r4-shell.auth-authenticated[data-r4-view="admin-finance"] #r3bContent .r4fin-impact-icon.pie{background-image:url("/r4/advanced-admin-body-icons-hf16/impact_pie.png")!important}
body.r4-shell.auth-authenticated[data-r4-view="admin-finance"] #r3bContent .r4fin-save-icon{
  width:18px!important;height:18px!important;display:inline-block!important;font-size:0!important;
  background:url("/r4/advanced-admin-body-icons-hf16/save_white.png") center/contain no-repeat!important;
}

/* Strict one-viewport geometry: no page/body scroll at desktop. */
body.r4-shell.auth-authenticated[data-r4-view="admin-finance"]{overflow:hidden!important}
body.r4-shell.auth-authenticated[data-r4-view="admin-finance"] #r3bContent{overflow:hidden!important}
body.r4-shell.auth-authenticated[data-r4-view="admin-finance"] #r3bContent .r4aa-page{
  height:calc(100vh - 70px)!important;max-height:calc(100vh - 70px)!important;
  overflow:hidden!important;padding:7px 11px!important;gap:7px!important;
}
body.r4-shell.auth-authenticated[data-r4-view="admin-finance"] #r3bContent .r4aa-hero{
  padding:9px 13px 10px!important;flex:0 0 auto!important;
}
body.r4-shell.auth-authenticated[data-r4-view="admin-finance"] #r3bContent .r4aa-title h1{font-size:28px!important}
body.r4-shell.auth-authenticated[data-r4-view="admin-finance"] #r3bContent .r4aa-title p{font-size:9.5px!important}
body.r4-shell.auth-authenticated[data-r4-view="admin-finance"] #r3bContent .r4aa-tabs{gap:7px!important;margin-top:8px!important}
body.r4-shell.auth-authenticated[data-r4-view="admin-finance"] #r3bContent .r4aa-tabs button{
  height:37px!important;padding:0 11px!important;font-size:9.3px!important;gap:8px!important;
}
body.r4-shell.auth-authenticated[data-r4-view="admin-finance"] #r3bContent .r4aa-tab-icon{width:21px!important;height:21px!important}
body.r4-shell.auth-authenticated[data-r4-view="admin-finance"] #r3bContent .r4aa-content{
  flex:1 1 auto!important;min-height:0!important;overflow:hidden!important;
}
body.r4-shell.auth-authenticated[data-r4-view="admin-finance"] #r3bContent .r4fin-page{
  height:100%!important;min-height:0!important;overflow:hidden!important;
  padding:8px 10px!important;display:flex!important;flex-direction:column!important;
}
body.r4-shell.auth-authenticated[data-r4-view="admin-finance"] #r3bContent .r4fin-head{
  height:38px!important;min-height:38px!important;flex:0 0 38px!important;
}
body.r4-shell.auth-authenticated[data-r4-view="admin-finance"] #r3bContent .r4fin-head h2{font-size:22px!important}
body.r4-shell.auth-authenticated[data-r4-view="admin-finance"] #r3bContent .r4fin-head p{font-size:8.5px!important;margin-top:1px!important}
body.r4-shell.auth-authenticated[data-r4-view="admin-finance"] #r3bContent .r4fin-kpis{
  height:73px!important;min-height:73px!important;flex:0 0 73px!important;margin:5px 0 7px!important;gap:8px!important;
}
body.r4-shell.auth-authenticated[data-r4-view="admin-finance"] #r3bContent .r4fin-kpis article{
  height:73px!important;min-height:73px!important;padding:7px 10px!important;grid-template-columns:50px 1fr!important;
}
body.r4-shell.auth-authenticated[data-r4-view="admin-finance"] #r3bContent .r4fin-kpis strong{font-size:20px!important}
body.r4-shell.auth-authenticated[data-r4-view="admin-finance"] #r3bContent .r4fin-kpis span{font-size:8.5px!important}
body.r4-shell.auth-authenticated[data-r4-view="admin-finance"] #r3bContent .r4fin-kpis small{font-size:7.5px!important}
body.r4-shell.auth-authenticated[data-r4-view="admin-finance"] #r3bContent #r4finForm{
  flex:1 1 auto!important;min-height:0!important;height:auto!important;
  grid-template-columns:minmax(0,1fr) 292px!important;gap:7px!important;overflow:hidden!important;
}
body.r4-shell.auth-authenticated[data-r4-view="admin-finance"] #r3bContent .r4fin-main{
  height:100%!important;min-height:0!important;overflow:hidden!important;
  display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
  grid-template-rows:repeat(2,minmax(0,1fr))!important;gap:7px!important;
}
body.r4-shell.auth-authenticated[data-r4-view="admin-finance"] #r3bContent .r4fin-card{
  height:100%!important;min-height:0!important;overflow:hidden!important;display:flex!important;flex-direction:column!important;
}
body.r4-shell.auth-authenticated[data-r4-view="admin-finance"] #r3bContent .r4fin-card h3,
body.r4-shell.auth-authenticated[data-r4-view="admin-finance"] #r3bContent .r4fin-impact h3{
  height:30px!important;min-height:30px!important;padding:0 8px!important;font-size:10.6px!important;gap:6px!important;
}
body.r4-shell.auth-authenticated[data-r4-view="admin-finance"] #r3bContent .r4fin-card>p,
body.r4-shell.auth-authenticated[data-r4-view="admin-finance"] #r3bContent .r4fin-impact>p{
  height:18px!important;min-height:18px!important;padding:3px 8px 0!important;font-size:6.8px!important;
}
body.r4-shell.auth-authenticated[data-r4-view="admin-finance"] #r3bContent .r4fin-fields{
  flex:1 1 auto!important;min-height:0!important;padding:1px 8px 5px!important;
  display:grid!important;grid-auto-rows:minmax(22px,1fr)!important;gap:1px!important;overflow:hidden!important;
}
body.r4-shell.auth-authenticated[data-r4-view="admin-finance"] #r3bContent .r4fin-fields label{
  min-height:0!important;height:auto!important;grid-template-columns:minmax(0,1fr) minmax(105px,44%)!important;
}
body.r4-shell.auth-authenticated[data-r4-view="admin-finance"] #r3bContent .r4fin-fields label>span{font-size:7.1px!important;line-height:1.05!important}
body.r4-shell.auth-authenticated[data-r4-view="admin-finance"] #r3bContent .r4fin-control input,
body.r4-shell.auth-authenticated[data-r4-view="admin-finance"] #r3bContent .r4fin-control select,
body.r4-shell.auth-authenticated[data-r4-view="admin-finance"] #r3bContent .r4fin-control em{
  height:23px!important;font-size:7px!important;
}
body.r4-shell.auth-authenticated[data-r4-view="admin-finance"] #r3bContent .r4fin-side{
  height:100%!important;min-height:0!important;overflow:hidden!important;
  grid-template-rows:minmax(0,1fr) 44px 14px!important;gap:7px!important;
}
body.r4-shell.auth-authenticated[data-r4-view="admin-finance"] #r3bContent .r4fin-impact{height:100%!important;min-height:0!important;overflow:hidden!important}
body.r4-shell.auth-authenticated[data-r4-view="admin-finance"] #r3bContent .r4fin-impact>div{
  min-height:0!important;padding:4px 8px!important;font-size:7.3px!important;
}
body.r4-shell.auth-authenticated[data-r4-view="admin-finance"] #r3bContent .r4fin-impact strong{font-size:11px!important}
body.r4-shell.auth-authenticated[data-r4-view="admin-finance"] #r3bContent .r4fin-save{height:44px!important;font-size:10.5px!important}
body.r4-shell.auth-authenticated[data-r4-view="admin-finance"] #r3bContent .r4fin-feedback{min-height:12px!important;font-size:7px!important}

@media(max-height:820px){
 body.r4-shell.auth-authenticated[data-r4-view="admin-finance"] #r3bContent .r4aa-tabs button{height:34px!important;font-size:8.7px!important}
 body.r4-shell.auth-authenticated[data-r4-view="admin-finance"] #r3bContent .r4fin-kpis{height:66px!important;min-height:66px!important;flex-basis:66px!important}
 body.r4-shell.auth-authenticated[data-r4-view="admin-finance"] #r3bContent .r4fin-kpis article{height:66px!important;min-height:66px!important}
 body.r4-shell.auth-authenticated[data-r4-view="admin-finance"] #r3bContent .r4fin-fields label>span{font-size:6.7px!important}
}

/* AGROLOGIX R4 - PARAMETROS FINANCIEROS ICON OVERLAP HF17
   Fix clipping/overlap of body icons inside financial parameter panels. */
body.r4-shell.auth-authenticated[data-r4-view="admin-finance"] #r3bContent .r4fin-card h3,
body.r4-shell.auth-authenticated[data-r4-view="admin-finance"] #r3bContent .r4fin-impact h3{
  display:grid!important;
  grid-template-columns:18px minmax(0,1fr)!important;
  align-items:center!important;
  column-gap:8px!important;
  overflow:visible!important;
  white-space:normal!important;
  padding-left:10px!important;
  padding-right:8px!important;
}
body.r4-shell.auth-authenticated[data-r4-view="admin-finance"] #r3bContent .r4fin-card h3 > .r4fin-card-icon,
body.r4-shell.auth-authenticated[data-r4-view="admin-finance"] #r3bContent .r4fin-impact h3 > .r4fin-card-icon{
  width:18px!important;
  height:18px!important;
  min-width:18px!important;
  min-height:18px!important;
  background-size:100% 100%!important;
  background-repeat:no-repeat!important;
  background-position:center!important;
  margin:0!important;
  padding:0!important;
  align-self:center!important;
  justify-self:start!important;
  overflow:visible!important;
  box-shadow:none!important;
  border-radius:0!important;
  z-index:2!important;
}
body.r4-shell.auth-authenticated[data-r4-view="admin-finance"] #r3bContent .r4fin-impact > div{
  display:grid!important;
  grid-template-columns:18px minmax(0,1fr) auto!important;
  align-items:center!important;
  column-gap:8px!important;
  overflow:visible!important;
}
body.r4-shell.auth-authenticated[data-r4-view="admin-finance"] #r3bContent .r4fin-impact > div > .r4fin-impact-icon{
  width:16px!important;
  height:16px!important;
  min-width:16px!important;
  min-height:16px!important;
  background-size:100% 100%!important;
  background-repeat:no-repeat!important;
  background-position:center!important;
  margin:0!important;
  padding:0!important;
  align-self:center!important;
  justify-self:start!important;
  overflow:visible!important;
  box-shadow:none!important;
  border-radius:0!important;
  z-index:2!important;
}
body.r4-shell.auth-authenticated[data-r4-view="admin-finance"] #r3bContent .r4fin-impact > div > span,
body.r4-shell.auth-authenticated[data-r4-view="admin-finance"] #r3bContent .r4fin-card h3 > span,
body.r4-shell.auth-authenticated[data-r4-view="admin-finance"] #r3bContent .r4fin-impact h3 > span{
  min-width:0!important;
  overflow:visible!important;
}

/* AGROLOGIX R4 - PARAMETROS FINANCIEROS ICON ASSET REBUILD HF18
   Root-cause fix: source PNG crops were clipped/opaque. Rebuilt padded transparent assets. */
body.r4-shell.auth-authenticated[data-r4-view="admin-finance"] #r3bContent .r4fin-card h3{
  grid-template-columns:24px minmax(0,1fr)!important;
  column-gap:7px!important;
}
body.r4-shell.auth-authenticated[data-r4-view="admin-finance"] #r3bContent .r4fin-card h3 > .r4fin-card-icon{
  width:22px!important;height:22px!important;min-width:22px!important;min-height:22px!important;
  background-size:contain!important;background-position:center!important;background-repeat:no-repeat!important;
  overflow:visible!important;margin:0!important;padding:0!important;
}
body.r4-shell.auth-authenticated[data-r4-view="admin-finance"] #r3bContent .r4fin-impact h3{
  grid-template-columns:24px minmax(0,1fr)!important;
  column-gap:7px!important;
}
body.r4-shell.auth-authenticated[data-r4-view="admin-finance"] #r3bContent .r4fin-impact h3 > .r4fin-card-icon{
  width:22px!important;height:22px!important;min-width:22px!important;min-height:22px!important;
  background-size:contain!important;background-position:center!important;background-repeat:no-repeat!important;
  overflow:visible!important;
}
body.r4-shell.auth-authenticated[data-r4-view="admin-finance"] #r3bContent .r4fin-impact > div{
  grid-template-columns:22px minmax(0,1fr) auto!important;
  column-gap:7px!important;
}
body.r4-shell.auth-authenticated[data-r4-view="admin-finance"] #r3bContent .r4fin-impact > div > .r4fin-impact-icon{
  width:20px!important;height:20px!important;min-width:20px!important;min-height:20px!important;
  background-size:contain!important;background-position:center!important;background-repeat:no-repeat!important;
  overflow:visible!important;
}
body.r4-shell.auth-authenticated[data-r4-view="admin-finance"] #r3bContent .r4fin-kicon{
  background-size:contain!important;background-position:center!important;background-repeat:no-repeat!important;
  overflow:visible!important;
}

/* AGROLOGIX R4 - SECUENCIAS E IDENTIFICADORES VISUAL BASELINE R20 */
body.r4-shell.auth-authenticated[data-r4-view="sequences"] #r3bContent .r4aa-content>.r4aa-section-head{display:none!important}
body.r4-shell.auth-authenticated[data-r4-view="sequences"] #r3bContent .r4aa-content{padding:0!important;border:0!important;box-shadow:none!important;background:transparent!important}
.r4seq-page{background:#fff;border:1px solid #dce7ee;border-radius:8px;padding:12px 13px;height:100%;box-sizing:border-box}
.r4seq-head{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:13px}
.r4seq-head h2{margin:0;color:#082768;font-size:26px;line-height:1.05}.r4seq-head p{margin:4px 0 0;color:#5e7f9f;font-size:11px}
.r4seq-new{height:50px;min-width:230px;border:0;border-radius:7px;background:#079b59;color:#fff;font-weight:700;font-size:13px;display:flex;align-items:center;justify-content:center;gap:12px}
.r4seq-new:first-letter{font-size:28px}
.r4seq-layout{display:grid;grid-template-columns:minmax(0,1fr) 420px;gap:18px}
.r4seq-main{min-width:0}.r4seq-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:18px}
.r4seq-kpis article{height:143px;border:1px solid #d8e4ec;border-radius:7px;padding:17px 18px;box-sizing:border-box;display:flex;align-items:flex-start;gap:15px}
.r4seq-kpis strong{display:block;font-size:29px;line-height:1;color:#061d5b}.r4seq-kpis span:not(.r4seq-icon){display:block;color:#315c83;font-size:13px;margin-top:8px}.r4seq-kpis small{display:block;color:#607d99;font-size:10px;border-top:1px solid #e3edf2;margin-top:15px;padding-top:12px}
.r4seq-icon{display:inline-block;flex:0 0 auto;background:center/contain no-repeat transparent}
.r4seq-kpis .r4seq-icon{width:48px;height:48px}
.r4seq-filters{display:grid;grid-template-columns:minmax(0,1.4fr) 165px 330px 110px;gap:14px;margin-bottom:15px}
.r4seq-filters input,.r4seq-filters select,.r4seq-filters button{height:52px;border:1px solid #d1e0ea;border-radius:7px;background:#fff;color:#0b4d91;padding:0 15px;font-size:12px}
.r4seq-search{position:relative}.r4seq-search input{width:100%;box-sizing:border-box;padding-right:42px}.r4seq-search span{position:absolute;right:16px;top:13px;font-size:27px;color:#0b4d91}
.r4seq-tablewrap{border:1px solid #d8e4ec;border-radius:7px;overflow:hidden}
.r4seq-table{border-collapse:collapse;width:100%;font-size:11px;color:#0d4b8d}.r4seq-table th{height:44px;background:#eef5f9;text-align:left;padding:0 12px;color:#073a73;font-size:10px}.r4seq-table td{height:43px;border-top:1px solid #dfe8ee;padding:0 12px;white-space:nowrap}.r4seq-table tr.selected{background:#dcf6e8}.r4seq-table td:first-child{display:flex;align-items:center;gap:10px}.r4seq-table td:first-child .r4seq-icon{width:25px;height:25px}
.r4seq-dot{display:inline-block;width:11px;height:11px;border-radius:50%;background:#00a849;margin-right:6px}.r4seq-actions{display:flex;gap:13px;align-items:center}.r4seq-actions button{border:0;background:transparent;color:#005cb9;font-size:19px;padding:0}.r4seq-actions button:last-child{color:#f5222d}
.r4seq-pager{height:66px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;color:#456e94;font-size:11px}.r4seq-pager>div{display:flex;gap:8px}.r4seq-pager button{width:41px;height:41px;border:1px solid #d1e0ea;border-radius:7px;background:#fff;color:#0b4d91}.r4seq-pager button.active{background:#079b59;color:#fff;border-color:#079b59}.r4seq-pager label{justify-self:end}.r4seq-pager select{height:41px;border:1px solid #d1e0ea;border-radius:7px;padding:0 14px;margin-left:8px}
.r4seq-side{display:grid;grid-template-rows:auto auto;gap:15px}.r4seq-config,.r4seq-tools{border:1px solid #d8e4ec;border-radius:8px;overflow:hidden;background:#fff}.r4seq-config h3,.r4seq-tools h3{margin:0;height:51px;background:linear-gradient(90deg,#effcf6,#eaf7f4);display:flex;align-items:center;gap:11px;padding:0 16px;color:#061d5b;font-size:16px}.r4seq-config h3 .r4seq-icon,.r4seq-tools h3 .r4seq-icon{width:28px;height:28px}
.r4seq-form{padding:13px 17px 14px}.r4seq-form label{display:block;color:#0e4d8a;font-size:11px;margin-bottom:10px}.r4seq-form b{color:#e1262e}.r4seq-form input,.r4seq-form select{display:block;width:100%;box-sizing:border-box;height:38px;border:1px solid #cfdfe9;border-radius:6px;margin-top:5px;padding:0 11px;color:#164f84;background:#fff}.r4seq-form input[readonly],.r4seq-form select:disabled{background:#f4f7f9;color:#6884a0;opacity:1}.r4seq-form small{display:block;color:#6d87a0;font-size:9px;margin-top:5px}.r4seq-form .two{display:grid;grid-template-columns:1fr 1fr;gap:13px}.r4seq-formactions{display:grid;grid-template-columns:1.55fr 1fr;gap:12px;margin-top:5px}.r4seq-formactions button{height:45px;border-radius:6px;border:1px solid #cbdce7;background:#fff;color:#0b4d91;font-weight:700}.r4seq-formactions button:first-child{background:#079b59;color:#fff;border-color:#079b59}
.r4seq-toolgrid{display:grid;grid-template-columns:1fr 1fr}.r4seq-toolgrid button{min-height:80px;border:0;border-top:1px solid #dfe9ee;border-right:1px solid #dfe9ee;background:#fff;display:flex;text-align:left;align-items:flex-start;gap:10px;padding:13px 14px;color:#0d4b8d}.r4seq-toolgrid strong{font-size:24px;color:#0952a1}.r4seq-toolgrid span{font-weight:700}.r4seq-toolgrid small{display:block;font-weight:400;line-height:1.25;color:#577996;margin-top:3px}
.r4seq-icon.seq_kpi_db{background-image:url("/r4/sequence-icons-r20/seq_kpi_db.png")}
.r4seq-icon.seq_kpi_tag{background-image:url("/r4/sequence-icons-r20/seq_kpi_tag.png")}
.r4seq-icon.seq_kpi_calendar{background-image:url("/r4/sequence-icons-r20/seq_kpi_calendar.png")}
.r4seq-icon.seq_kpi_alert{background-image:url("/r4/sequence-icons-r20/seq_kpi_alert.png")}
.r4seq-icon.seq_panel_gear{background-image:url("/r4/sequence-icons-r20/seq_panel_gear.png")}
.r4seq-icon.seq_entity_ganadero{background-image:url("/r4/sequence-icons-r20/seq_entity_ganadero.png")}
.r4seq-icon.seq_entity_finca{background-image:url("/r4/sequence-icons-r20/seq_entity_finca.png")}
.r4seq-icon.seq_entity_lote{background-image:url("/r4/sequence-icons-r20/seq_entity_lote.png")}
.r4seq-icon.seq_entity_animal{background-image:url("/r4/sequence-icons-r20/seq_entity_animal.png")}
.r4seq-icon.seq_entity_investor{background-image:url("/r4/sequence-icons-r20/seq_entity_investor.png")}
.r4seq-icon.seq_entity_doc{background-image:url("/r4/sequence-icons-r20/seq_entity_doc.png")}
.r4seq-icon.seq_entity_alarm{background-image:url("/r4/sequence-icons-r20/seq_entity_alarm.png")}
@media(max-width:1450px){.r4seq-layout{grid-template-columns:minmax(0,1fr) 360px}.r4seq-kpis article{padding:13px}.r4seq-filters{grid-template-columns:minmax(0,1.3fr) 145px 250px 100px}}

/* AGROLOGIX R4 - SEQUENCES VIEWPORT ICON AUTHORITY HF21 */
/* AGROLOGIX R4 - SEQUENCES VIEWPORT + EXACT MOCKUP RASTER ICON AUTHORITY HF21
   Exact target pixels were extracted from WORK's diagnostic left column / approved mockup,
   not from candidate-library drawings. */
body.r4-shell.auth-authenticated[data-r4-view="sequences"]{overflow:hidden!important}
body.r4-shell.auth-authenticated[data-r4-view="sequences"] #r3bContent{height:calc(100vh - 70px)!important;overflow:hidden!important}
body.r4-shell.auth-authenticated[data-r4-view="sequences"] #r3bContent .r4aa-page{
  height:100%!important;max-height:100%!important;min-height:0!important;overflow:hidden!important;
  grid-template-rows:auto minmax(0,1fr)!important;
}
body.r4-shell.auth-authenticated[data-r4-view="sequences"] #r3bContent .r4aa-content{
  min-height:0!important;overflow:hidden!important;
}
body.r4-shell.auth-authenticated[data-r4-view="sequences"] #r3bContent .r4seq-page{
  height:100%!important;min-height:0!important;overflow:hidden!important;padding:10px 12px!important;
  display:grid!important;grid-template-columns:minmax(0,1fr) 420px!important;
  grid-template-rows:auto minmax(0,1fr)!important;column-gap:16px!important;row-gap:8px!important;
}
body.r4-shell.auth-authenticated[data-r4-view="sequences"] #r3bContent .r4seq-head{
  grid-column:1!important;grid-row:1!important;margin:0!important;height:52px!important;min-height:52px!important;
}
body.r4-shell.auth-authenticated[data-r4-view="sequences"] #r3bContent .r4seq-head h2{font-size:24px!important}
body.r4-shell.auth-authenticated[data-r4-view="sequences"] #r3bContent .r4seq-layout{display:contents!important}
body.r4-shell.auth-authenticated[data-r4-view="sequences"] #r3bContent .r4seq-main{
  grid-column:1!important;grid-row:2!important;min-height:0!important;overflow:hidden!important;
  display:grid!important;grid-template-rows:94px 48px minmax(0,1fr) 46px!important;gap:8px!important;
}
body.r4-shell.auth-authenticated[data-r4-view="sequences"] #r3bContent .r4seq-side{
  grid-column:2!important;grid-row:1/3!important;min-height:0!important;overflow:hidden!important;
  display:grid!important;grid-template-rows:minmax(0,1fr) 164px!important;gap:8px!important;
}
body.r4-shell.auth-authenticated[data-r4-view="sequences"] #r3bContent .r4seq-kpis{
  height:94px!important;min-height:94px!important;margin:0!important;gap:8px!important;
}
body.r4-shell.auth-authenticated[data-r4-view="sequences"] #r3bContent .r4seq-kpis article{
  height:94px!important;min-height:94px!important;padding:10px 12px!important;gap:10px!important;overflow:hidden!important;
}
body.r4-shell.auth-authenticated[data-r4-view="sequences"] #r3bContent .r4seq-kpis .r4seq-icon{width:36px!important;height:36px!important}
body.r4-shell.auth-authenticated[data-r4-view="sequences"] #r3bContent .r4seq-kpis strong{font-size:24px!important}
body.r4-shell.auth-authenticated[data-r4-view="sequences"] #r3bContent .r4seq-kpis span:not(.r4seq-icon){font-size:11px!important;margin-top:3px!important}
body.r4-shell.auth-authenticated[data-r4-view="sequences"] #r3bContent .r4seq-kpis small{font-size:8px!important;margin-top:6px!important;padding-top:5px!important}
body.r4-shell.auth-authenticated[data-r4-view="sequences"] #r3bContent .r4seq-filters{
  height:48px!important;margin:0!important;grid-template-columns:minmax(0,1.2fr) 160px 280px 105px!important;gap:8px!important;
}
body.r4-shell.auth-authenticated[data-r4-view="sequences"] #r3bContent .r4seq-filters input,
body.r4-shell.auth-authenticated[data-r4-view="sequences"] #r3bContent .r4seq-filters select,
body.r4-shell.auth-authenticated[data-r4-view="sequences"] #r3bContent .r4seq-filters button{height:48px!important;font-size:10px!important}
body.r4-shell.auth-authenticated[data-r4-view="sequences"] #r3bContent .r4seq-tablewrap{
  min-height:0!important;height:auto!important;overflow:auto!important;border-radius:7px!important;
}
body.r4-shell.auth-authenticated[data-r4-view="sequences"] #r3bContent .r4seq-table{font-size:9px!important}
body.r4-shell.auth-authenticated[data-r4-view="sequences"] #r3bContent .r4seq-table thead{
  position:sticky!important;top:0!important;z-index:3!important;background:#eef5f9!important;
}
body.r4-shell.auth-authenticated[data-r4-view="sequences"] #r3bContent .r4seq-table th{height:34px!important;font-size:8px!important}
body.r4-shell.auth-authenticated[data-r4-view="sequences"] #r3bContent .r4seq-table td{height:34px!important;padding:0 9px!important}
body.r4-shell.auth-authenticated[data-r4-view="sequences"] #r3bContent .r4seq-table td:first-child{
  display:table-cell!important;
}
body.r4-shell.auth-authenticated[data-r4-view="sequences"] #r3bContent .r4seq-entitycell{
  display:flex!important;align-items:center!important;gap:7px!important;white-space:nowrap!important;
}
body.r4-shell.auth-authenticated[data-r4-view="sequences"] #r3bContent .r4seq-entitycell .r4seq-icon{width:18px!important;height:18px!important}
body.r4-shell.auth-authenticated[data-r4-view="sequences"] #r3bContent .r4seq-pager{
  height:46px!important;min-height:46px!important;font-size:9px!important;
}
body.r4-shell.auth-authenticated[data-r4-view="sequences"] #r3bContent .r4seq-pager button,
body.r4-shell.auth-authenticated[data-r4-view="sequences"] #r3bContent .r4seq-pager select{height:34px!important}
body.r4-shell.auth-authenticated[data-r4-view="sequences"] #r3bContent .r4seq-config,
body.r4-shell.auth-authenticated[data-r4-view="sequences"] #r3bContent .r4seq-tools{min-height:0!important}
body.r4-shell.auth-authenticated[data-r4-view="sequences"] #r3bContent .r4seq-config h3,
body.r4-shell.auth-authenticated[data-r4-view="sequences"] #r3bContent .r4seq-tools h3{height:39px!important;font-size:13px!important}
body.r4-shell.auth-authenticated[data-r4-view="sequences"] #r3bContent .r4seq-config h3 .r4seq-icon,
body.r4-shell.auth-authenticated[data-r4-view="sequences"] #r3bContent .r4seq-tools h3 .r4seq-icon{width:22px!important;height:22px!important}
body.r4-shell.auth-authenticated[data-r4-view="sequences"] #r3bContent .r4seq-form{
  height:calc(100% - 39px)!important;box-sizing:border-box!important;overflow:auto!important;padding:8px 12px!important;
}
body.r4-shell.auth-authenticated[data-r4-view="sequences"] #r3bContent .r4seq-form label{font-size:9px!important;margin-bottom:6px!important}
body.r4-shell.auth-authenticated[data-r4-view="sequences"] #r3bContent .r4seq-form input,
body.r4-shell.auth-authenticated[data-r4-view="sequences"] #r3bContent .r4seq-form select{height:31px!important;margin-top:3px!important;font-size:9px!important}
body.r4-shell.auth-authenticated[data-r4-view="sequences"] #r3bContent .r4seq-form small{font-size:7px!important;margin-top:2px!important}
body.r4-shell.auth-authenticated[data-r4-view="sequences"] #r3bContent .r4seq-formactions button{height:36px!important;font-size:9px!important}
body.r4-shell.auth-authenticated[data-r4-view="sequences"] #r3bContent .r4seq-tools{height:164px!important}
body.r4-shell.auth-authenticated[data-r4-view="sequences"] #r3bContent .r4seq-toolgrid{height:125px!important}
body.r4-shell.auth-authenticated[data-r4-view="sequences"] #r3bContent .r4seq-toolgrid button{
  min-height:0!important;height:62px!important;padding:8px 9px!important;gap:7px!important;font-size:9px!important;
}
body.r4-shell.auth-authenticated[data-r4-view="sequences"] #r3bContent .r4seq-toolgrid .r4seq-icon{width:20px!important;height:20px!important}
body.r4-shell.auth-authenticated[data-r4-view="sequences"] #r3bContent .r4seq-toolgrid small{font-size:7px!important;margin-top:2px!important}
body.r4-shell.auth-authenticated[data-r4-view="sequences"] #r3bContent .r4seq-new{
  position:absolute!important;right:436px!important;top:10px!important;height:42px!important;min-width:190px!important;font-size:10px!important;
}
body.r4-shell.auth-authenticated[data-r4-view="sequences"] #r3bContent .r4seq-head{position:relative!important}
body.r4-shell.auth-authenticated[data-r4-view="sequences"] #r3bContent .r4seq-new .r4seq-icon{width:18px!important;height:18px!important}
body.r4-shell.auth-authenticated[data-r4-view="sequences"] #r3bContent .r4seq-search .r4seq-icon{
  position:absolute!important;right:14px!important;top:13px!important;width:20px!important;height:20px!important;
}
body.r4-shell.auth-authenticated[data-r4-view="sequences"] #r3bContent .r4seq-filters button .r4seq-icon,
body.r4-shell.auth-authenticated[data-r4-view="sequences"] #r3bContent .r4seq-formactions button .r4seq-icon{width:17px!important;height:17px!important;vertical-align:middle!important;margin-right:5px!important}
body.r4-shell.auth-authenticated[data-r4-view="sequences"] #r3bContent .r4seq-actions button{width:22px!important;height:22px!important}
body.r4-shell.auth-authenticated[data-r4-view="sequences"] #r3bContent .r4seq-actions .r4seq-icon{width:17px!important;height:17px!important}
body.r4-shell.auth-authenticated[data-r4-view="sequences"] #r3bContent #r4seqResetDate{
  background-image:url("/r4/sequence-icons-hf21/aux_calendar.png")!important;
  background-repeat:no-repeat!important;background-size:17px 17px!important;background-position:9px center!important;padding-left:34px!important;
}
body.r4-shell.auth-authenticated[data-r4-view="sequences"] #r3bContent #r4seqEntity{
  background-image:url("/r4/sequence-icons-hf21/entity_ganadero.png")!important;
  background-repeat:no-repeat!important;background-size:17px 17px!important;background-position:9px center!important;padding-left:34px!important;
}
.r4seq-icon.kpi_database{background-image:url("/r4/sequence-icons-hf21/kpi_database.png")!important}
.r4seq-icon.kpi_tag{background-image:url("/r4/sequence-icons-hf21/kpi_tag.png")!important}
.r4seq-icon.kpi_calendar{background-image:url("/r4/sequence-icons-hf21/kpi_calendar.png")!important}
.r4seq-icon.kpi_warning{background-image:url("/r4/sequence-icons-hf21/kpi_warning.png")!important}
.r4seq-icon.entity_ganadero{background-image:url("/r4/sequence-icons-hf21/entity_ganadero.png")!important}
.r4seq-icon.entity_finca{background-image:url("/r4/sequence-icons-hf21/entity_finca.png")!important}
.r4seq-icon.entity_lote{background-image:url("/r4/sequence-icons-hf21/entity_lote.png")!important}
.r4seq-icon.entity_animal{background-image:url("/r4/sequence-icons-hf21/entity_animal.png")!important}
.r4seq-icon.entity_investor{background-image:url("/r4/sequence-icons-hf21/entity_investor.png")!important}
.r4seq-icon.entity_convenio{background-image:url("/r4/sequence-icons-hf21/entity_convenio.png")!important}
.r4seq-icon.entity_reporte{background-image:url("/r4/sequence-icons-hf21/entity_reporte.png")!important}
.r4seq-icon.entity_alarma{background-image:url("/r4/sequence-icons-hf21/entity_alarma.png")!important}
.r4seq-icon.panel_config_gear{background-image:url("/r4/sequence-icons-hf21/panel_config_gear.png")!important}
.r4seq-icon.panel_tools_gear{background-image:url("/r4/sequence-icons-hf21/panel_tools_gear.png")!important}
.r4seq-icon.tool_play{background-image:url("/r4/sequence-icons-hf21/tool_play.png")!important}
.r4seq-icon.tool_restore{background-image:url("/r4/sequence-icons-hf21/tool_restore.png")!important}
.r4seq-icon.tool_duplicates{background-image:url("/r4/sequence-icons-hf21/tool_duplicates.png")!important}
.r4seq-icon.tool_preview{background-image:url("/r4/sequence-icons-hf21/tool_preview.png")!important}
.r4seq-icon.action_view{background-image:url("/r4/sequence-icons-hf21/action_view.png")!important}
.r4seq-icon.action_edit{background-image:url("/r4/sequence-icons-hf21/action_edit.png")!important}
.r4seq-icon.action_delete{background-image:url("/r4/sequence-icons-hf21/action_delete.png")!important}
.r4seq-icon.aux_plus{background-image:url("/r4/sequence-icons-hf21/aux_plus.png")!important}
.r4seq-icon.aux_search{background-image:url("/r4/sequence-icons-hf21/aux_search.png")!important}
.r4seq-icon.aux_filter{background-image:url("/r4/sequence-icons-hf21/aux_filter.png")!important}
.r4seq-icon.aux_save{background-image:url("/r4/sequence-icons-hf21/aux_save.png")!important}

/* AGROLOGIX R4 - SEQUENCES FIVE ROWS VIEWPORT HF22 */
/* AGROLOGIX R4 - SEQUENCES FIVE ROWS VIEWPORT HF22 */
body.r4-shell.auth-authenticated[data-r4-view="sequences"] #r3bContent .r4seq-page{
  grid-template-columns:minmax(0,1fr) 405px!important;
  column-gap:12px!important;row-gap:6px!important;padding:8px 10px!important;
}
body.r4-shell.auth-authenticated[data-r4-view="sequences"] #r3bContent .r4seq-head{
  height:46px!important;min-height:46px!important;padding-right:205px!important;position:relative!important;
}
body.r4-shell.auth-authenticated[data-r4-view="sequences"] #r3bContent .r4seq-head h2{font-size:22px!important;line-height:1!important}
body.r4-shell.auth-authenticated[data-r4-view="sequences"] #r3bContent .r4seq-head p{font-size:8px!important;margin-top:3px!important}
body.r4-shell.auth-authenticated[data-r4-view="sequences"] #r3bContent .r4seq-new{
  right:0!important;top:0!important;height:38px!important;min-width:185px!important;font-size:9px!important;
}
body.r4-shell.auth-authenticated[data-r4-view="sequences"] #r3bContent .r4seq-main{
  grid-template-rows:78px 42px minmax(0,1fr) 38px!important;gap:6px!important;
}
body.r4-shell.auth-authenticated[data-r4-view="sequences"] #r3bContent .r4seq-kpis{
  height:78px!important;min-height:78px!important;gap:7px!important;
}
body.r4-shell.auth-authenticated[data-r4-view="sequences"] #r3bContent .r4seq-kpis article{
  height:78px!important;min-height:78px!important;padding:8px 10px!important;gap:8px!important;
}
body.r4-shell.auth-authenticated[data-r4-view="sequences"] #r3bContent .r4seq-kpis .r4seq-icon{width:32px!important;height:32px!important}
body.r4-shell.auth-authenticated[data-r4-view="sequences"] #r3bContent .r4seq-kpis strong{font-size:21px!important}
body.r4-shell.auth-authenticated[data-r4-view="sequences"] #r3bContent .r4seq-kpis span:not(.r4seq-icon){font-size:9px!important;margin-top:2px!important}
body.r4-shell.auth-authenticated[data-r4-view="sequences"] #r3bContent .r4seq-kpis small{font-size:6.7px!important;margin-top:4px!important;padding-top:4px!important}
body.r4-shell.auth-authenticated[data-r4-view="sequences"] #r3bContent .r4seq-filters{
  height:42px!important;grid-template-columns:minmax(0,1.25fr) 150px 255px 96px!important;gap:6px!important;
}
body.r4-shell.auth-authenticated[data-r4-view="sequences"] #r3bContent .r4seq-filters input,
body.r4-shell.auth-authenticated[data-r4-view="sequences"] #r3bContent .r4seq-filters select,
body.r4-shell.auth-authenticated[data-r4-view="sequences"] #r3bContent .r4seq-filters button{height:42px!important;font-size:8.5px!important}
body.r4-shell.auth-authenticated[data-r4-view="sequences"] #r3bContent .r4seq-search .r4seq-icon{top:10px!important;width:18px!important;height:18px!important}
body.r4-shell.auth-authenticated[data-r4-view="sequences"] #r3bContent .r4seq-tablewrap{
  height:205px!important;max-height:205px!important;min-height:205px!important;overflow-y:auto!important;overflow-x:hidden!important;
}
body.r4-shell.auth-authenticated[data-r4-view="sequences"] #r3bContent .r4seq-table th{height:30px!important;font-size:7.4px!important;padding:0 7px!important}
body.r4-shell.auth-authenticated[data-r4-view="sequences"] #r3bContent .r4seq-table td{
  height:34px!important;min-height:34px!important;max-height:34px!important;padding:0 7px!important;font-size:8px!important;
}
body.r4-shell.auth-authenticated[data-r4-view="sequences"] #r3bContent .r4seq-pager{
  height:38px!important;min-height:38px!important;font-size:8px!important;
}
body.r4-shell.auth-authenticated[data-r4-view="sequences"] #r3bContent .r4seq-pager button,
body.r4-shell.auth-authenticated[data-r4-view="sequences"] #r3bContent .r4seq-pager select{height:30px!important;min-height:30px!important}
body.r4-shell.auth-authenticated[data-r4-view="sequences"] #r3bContent .r4seq-side{
  grid-template-rows:minmax(0,1fr) 132px!important;gap:6px!important;
}
body.r4-shell.auth-authenticated[data-r4-view="sequences"] #r3bContent .r4seq-config h3,
body.r4-shell.auth-authenticated[data-r4-view="sequences"] #r3bContent .r4seq-tools h3{height:34px!important;font-size:11px!important}
body.r4-shell.auth-authenticated[data-r4-view="sequences"] #r3bContent .r4seq-form{
  height:calc(100% - 34px)!important;padding:5px 10px 6px!important;overflow:hidden!important;
}
body.r4-shell.auth-authenticated[data-r4-view="sequences"] #r3bContent .r4seq-form label{font-size:7.5px!important;margin-bottom:4px!important}
body.r4-shell.auth-authenticated[data-r4-view="sequences"] #r3bContent .r4seq-form input,
body.r4-shell.auth-authenticated[data-r4-view="sequences"] #r3bContent .r4seq-form select{height:27px!important;margin-top:2px!important;font-size:8px!important;padding:0 8px!important}
body.r4-shell.auth-authenticated[data-r4-view="sequences"] #r3bContent .r4seq-form small{font-size:6px!important;margin-top:1px!important}
body.r4-shell.auth-authenticated[data-r4-view="sequences"] #r3bContent .r4seq-form .two{gap:8px!important}
body.r4-shell.auth-authenticated[data-r4-view="sequences"] #r3bContent .r4seq-formactions{gap:8px!important;margin-top:3px!important}
body.r4-shell.auth-authenticated[data-r4-view="sequences"] #r3bContent .r4seq-formactions button{height:31px!important;font-size:8px!important}
body.r4-shell.auth-authenticated[data-r4-view="sequences"] #r3bContent .r4seq-tools{height:132px!important}
body.r4-shell.auth-authenticated[data-r4-view="sequences"] #r3bContent .r4seq-toolgrid{height:98px!important}
body.r4-shell.auth-authenticated[data-r4-view="sequences"] #r3bContent .r4seq-toolgrid button{
  height:49px!important;padding:5px 7px!important;font-size:7.6px!important;gap:6px!important;
}
body.r4-shell.auth-authenticated[data-r4-view="sequences"] #r3bContent .r4seq-toolgrid small{font-size:5.8px!important;margin-top:1px!important}
body.r4-shell.auth-authenticated[data-r4-view="sequences"] #r3bContent .r4seq-toolgrid .r4seq-icon{width:18px!important;height:18px!important}
body.r4-shell.auth-authenticated[data-r4-view="sequences"] #r3bContent .r4seq-actions{gap:7px!important}
body.r4-shell.auth-authenticated[data-r4-view="sequences"] #r3bContent .r4seq-actions button{width:18px!important;height:18px!important}
body.r4-shell.auth-authenticated[data-r4-view="sequences"] #r3bContent .r4seq-actions .r4seq-icon{width:15px!important;height:15px!important}

.r4seq-icon.kpi_database{background-image:url("/r4/sequence-icons-hf22/kpi_database.png")!important}
.r4seq-icon.kpi_tag{background-image:url("/r4/sequence-icons-hf22/kpi_tag.png")!important}
.r4seq-icon.kpi_calendar{background-image:url("/r4/sequence-icons-hf22/kpi_calendar.png")!important}
.r4seq-icon.kpi_warning{background-image:url("/r4/sequence-icons-hf22/kpi_warning.png")!important}
.r4seq-icon.entity_ganadero{background-image:url("/r4/sequence-icons-hf22/entity_ganadero.png")!important}
.r4seq-icon.entity_finca{background-image:url("/r4/sequence-icons-hf22/entity_finca.png")!important}
.r4seq-icon.entity_lote{background-image:url("/r4/sequence-icons-hf22/entity_lote.png")!important}
.r4seq-icon.entity_animal{background-image:url("/r4/sequence-icons-hf22/entity_animal.png")!important}
.r4seq-icon.entity_investor{background-image:url("/r4/sequence-icons-hf22/entity_investor.png")!important}
.r4seq-icon.entity_convenio{background-image:url("/r4/sequence-icons-hf22/entity_convenio.png")!important}
.r4seq-icon.entity_reporte{background-image:url("/r4/sequence-icons-hf22/entity_reporte.png")!important}
.r4seq-icon.entity_alarma{background-image:url("/r4/sequence-icons-hf22/entity_alarma.png")!important}
.r4seq-icon.panel_config_gear{background-image:url("/r4/sequence-icons-hf22/panel_config_gear.png")!important}
.r4seq-icon.panel_tools_gear{background-image:url("/r4/sequence-icons-hf22/panel_tools_gear.png")!important}
.r4seq-icon.tool_play{background-image:url("/r4/sequence-icons-hf22/tool_play.png")!important}
.r4seq-icon.tool_restore{background-image:url("/r4/sequence-icons-hf22/tool_restore.png")!important}
.r4seq-icon.tool_duplicates{background-image:url("/r4/sequence-icons-hf22/tool_duplicates.png")!important}
.r4seq-icon.tool_preview{background-image:url("/r4/sequence-icons-hf22/tool_preview.png")!important}
.r4seq-icon.action_view{background-image:url("/r4/sequence-icons-hf22/action_view.png")!important}
.r4seq-icon.action_edit{background-image:url("/r4/sequence-icons-hf22/action_edit.png")!important}
.r4seq-icon.action_delete{background-image:url("/r4/sequence-icons-hf22/action_delete.png")!important}

/* AGROLOGIX R4 - SEQUENCES ACTIONS HF23 */
/* AGROLOGIX R4 - SEQUENCES ACTIONS HF23 */
body.r4-shell.auth-authenticated[data-r4-view="sequences"] #r3bContent .r4seq-action-notice{
  margin-top:5px;padding:6px 8px;border-radius:5px;font-size:7px;line-height:1.25;
  background:#eef6fb;color:#0b4d91;border:1px solid #d4e6f0
}
body.r4-shell.auth-authenticated[data-r4-view="sequences"] #r3bContent .r4seq-action-notice[data-type="warn"]{
  background:#fff8e8;color:#8a5a00;border-color:#f2d79a
}
body.r4-shell.auth-authenticated[data-r4-view="sequences"] #r3bContent .r4seq-action-notice[data-type="danger"]{
  background:#fff0f0;color:#b42318;border-color:#f2b8b5
}
body.r4-shell.auth-authenticated[data-r4-view="sequences"] #r3bContent .r4seq-actions button:focus{
  outline:2px solid #8ec5ff;outline-offset:1px;border-radius:4px
}

/* AGROLOGIX R4 - SEQUENCES SELECTS HF24 */
/* AGROLOGIX R4 - SEQUENCES SELECTS HF24 */
body.r4-shell.auth-authenticated[data-r4-view="sequences"] #r3bContent .r4seq-form select:disabled{
  cursor:not-allowed!important;
}
body.r4-shell.auth-authenticated[data-r4-view="sequences"] #r3bContent .r4seq-form select:not(:disabled){
  cursor:pointer!important;
  background-color:#fff!important;
  color:#164f84!important;
}

/* AGROLOGIX R4 - RESPALDO RECUPERACION MOCKUP AUTHORITY R25 */
body.r4-shell.auth-authenticated[data-r4-view="backup"] #r3bContent{overflow:hidden!important}
body.r4-shell.auth-authenticated[data-r4-view="backup"] #r3bContent .r4aa-page{overflow:hidden!important}
body.r4-shell.auth-authenticated[data-r4-view="backup"] #r3bContent .r4aa-body{min-height:0!important;overflow:hidden!important}
.r4bak-page{height:100%;min-height:0;display:grid;grid-template-columns:minmax(0,1fr) 420px;gap:12px;overflow:hidden;font-size:10px;color:#07356f}
.r4bak-left{min-width:0;min-height:0;display:grid;grid-template-rows:58px 112px 46px minmax(0,1fr) 42px;gap:8px;overflow:hidden}
.r4bak-title>div{height:100%;display:flex;align-items:center;gap:12px}.r4bak-title h2{margin:0;font-size:25px;line-height:1;color:#071b52}.r4bak-title p{margin:3px 0 0;color:#5879ad;font-size:10px}
.r4bak-icon{display:inline-block;flex:0 0 auto;background:center/contain no-repeat}
.r4bak-title .r4bak-icon{width:42px;height:42px}
.r4bak-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.r4bak-kpis article{border:1px solid #d9e6ee;border-radius:7px;padding:14px;display:flex;gap:12px;align-items:flex-start;background:#fff;overflow:hidden}.r4bak-kpis article>.r4bak-icon{width:36px;height:36px;margin-top:1px}.r4bak-kpis strong{display:block;color:#071b52;font-size:18px;line-height:1.05}.r4bak-kpis span{display:block;color:#4a70aa;margin-top:4px;font-size:10px}.r4bak-kpis small{display:flex;justify-content:space-between;gap:10px;margin-top:17px;padding-top:0;color:#5b79a2;white-space:nowrap;font-size:8px}.r4bak-kpis small b{color:#059748}.r4bak-kpis small b i,.r4bak-dot{display:inline-block;width:8px;height:8px;background:#0ab34b;border-radius:50%;margin-right:5px}.r4bak-kpis em{display:block;height:8px;border-radius:10px;background:#e8eef2;margin-top:12px;overflow:hidden}.r4bak-kpis em i{display:block;width:18.6%;height:100%;background:#09a166}
.r4bak-filters{display:grid;grid-template-columns:minmax(0,1.55fr) .58fr .58fr .82fr .42fr;gap:8px}.r4bak-filters input,.r4bak-filters select,.r4bak-filters button{height:44px;border:1px solid #cbdbe7;border-radius:6px;background:#fff;color:#174d86;font-size:9px;padding:0 12px}.r4bak-search{position:relative}.r4bak-search input{width:100%;padding-right:34px}.r4bak-search span{position:absolute;right:12px;top:9px;font-size:22px;color:#0051a4}.r4bak-filters button{font-weight:700}
.r4bak-tablewrap{min-height:0;border:1px solid #d9e6ee;border-radius:6px;overflow:auto;background:#fff}.r4bak-table{width:100%;border-collapse:collapse;table-layout:fixed}.r4bak-table thead{position:sticky;top:0;z-index:2;background:#edf5f8}.r4bak-table th,.r4bak-table td{height:34px;padding:0 10px;border-bottom:1px solid #dce7ed;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.r4bak-table th{font-size:8.5px;color:#07356f}.r4bak-table td{font-size:9px;color:#275991}.r4bak-table tr.selected{background:#dcf8e9}.r4bak-table td:nth-child(1){width:128px}.r4bak-table td:nth-child(2){width:105px}.r4bak-table td:nth-child(3){width:80px}.r4bak-table td:nth-child(4){width:105px}.r4bak-table td:nth-child(5){width:95px}.r4bak-table td:nth-child(7){width:145px}.r4bak-table td .r4bak-icon{width:18px;height:18px;vertical-align:middle;margin-right:6px}.r4bak-dot{vertical-align:middle}.r4bak-actions{display:flex;align-items:center;justify-content:flex-end;gap:6px}.r4bak-actions button{border:0;background:transparent;padding:0;width:24px;height:24px}.r4bak-actions .r4bak-icon{width:18px;height:18px;margin:0}
.r4bak-pager{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;color:#55769f;font-size:9px}.r4bak-pager>div{display:flex;gap:5px}.r4bak-pager button,.r4bak-pager select{height:32px;min-width:32px;border:1px solid #cfdee8;background:#fff;border-radius:6px;color:#245c96}.r4bak-pager button.active{background:#06985d;color:#fff;border-color:#06985d}.r4bak-pager label{justify-self:end;display:flex;align-items:center;gap:8px}.r4bak-pager select{padding:0 8px}
.r4bak-side{min-height:0;display:grid;grid-template-rows:322px 146px 138px minmax(0,1fr);gap:10px;overflow:hidden}.r4bak-card{border:1px solid #d9e6ee;border-radius:7px;background:#fff;overflow:hidden}.r4bak-card h3{height:44px;margin:0;padding:0 14px;display:flex;align-items:center;gap:9px;background:linear-gradient(90deg,#f4fffa,#eef9f5);font-size:13px;color:#071b52}.r4bak-card h3>.r4bak-icon{width:28px;height:28px}.r4bak-primary-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:8px 14px}.r4bak-primary-actions button{height:38px;border-radius:6px;border:1px solid #a9cce0;background:#fff;color:#0d4d8d;font-weight:700;font-size:10px}.r4bak-primary-actions button:first-child{background:#069b61;color:#fff;border-color:#069b61}.r4bak-primary-actions .r4bak-icon{width:18px;height:18px;vertical-align:middle;margin-right:8px}.r4bak-schedule-head{padding:6px 14px;display:flex;justify-content:space-between;align-items:center;font-size:10px}.r4bak-switch{width:38px;height:20px;border-radius:20px;background:#d5dde2;position:relative}.r4bak-switch:after{content:"";position:absolute;width:16px;height:16px;border-radius:50%;background:#fff;top:2px;left:2px}.r4bak-switch.on{background:#0a9b63}.r4bak-switch.on:after{left:20px}.r4bak-grid2{display:grid;grid-template-columns:1fr 1fr;gap:7px 10px;padding:0 14px}.r4bak-grid2 label{font-size:9px;color:#315d8e}.r4bak-grid2 select,.r4bak-grid2 input{width:100%;height:34px;margin-top:3px;border:1px solid #cfdfe8;border-radius:6px;background:#fff;color:#214f81;padding:0 9px;font-size:9px}.r4bak-info{margin:10px 14px;padding:9px 10px;border-radius:5px;background:#e9f8f1;color:#08794f;display:flex;gap:8px;align-items:flex-start;font-size:9px}
.r4bak-verify h3 button,.r4bak-quick h3 button{margin-left:auto;height:30px;border:1px solid #83c5af;border-radius:5px;background:#fff;color:#0c4f8b;font-size:8px;padding:0 9px}.r4bak-verify h3 button .r4bak-icon,.r4bak-quick h3 button .r4bak-icon{width:16px;height:16px;vertical-align:middle;margin-right:5px}.r4bak-verify>p,.r4bak-quick>p{margin:-9px 14px 7px;color:#6480a5;font-size:8px}.r4bak-verify ul,.r4bak-quick ul{list-style:none;padding:0 14px;margin:0}.r4bak-verify li,.r4bak-quick li{height:24px;display:grid;grid-template-columns:22px 1fr auto auto;gap:5px;align-items:center;border-top:1px solid #e3edf1;color:#50749f;font-size:8px}.r4bak-verify li .r4bak-icon,.r4bak-quick li .r4bak-icon{width:16px;height:16px}.r4bak-verify li b,.r4bak-quick li b{font-weight:400;color:#446995}.r4bak-verify li em,.r4bak-quick li em{font-style:normal;background:#dff7e9;color:#078c4d;border-radius:10px;padding:3px 7px}
.r4bak-notice{align-self:end;padding:8px 10px;border:1px solid #f0d38d;border-radius:6px;background:#fff7e2;color:#805900;font-size:8px}

.r4bak-icon.title_db{background-image:url("/r4/backup-icons-r25/title_db.png")}
.r4bak-icon.kpi_clock{background-image:url("/r4/backup-icons-r25/kpi_clock.png")}
.r4bak-icon.kpi_db{background-image:url("/r4/backup-icons-r25/kpi_db.png")}
.r4bak-icon.kpi_shield{background-image:url("/r4/backup-icons-r25/kpi_shield.png")}
.r4bak-icon.kpi_drive{background-image:url("/r4/backup-icons-r25/kpi_drive.png")}
.r4bak-icon.panel_gear{background-image:url("/r4/backup-icons-r25/panel_gear.png")}
.r4bak-icon.plus{background-image:url("/r4/backup-icons-r25/plus.png")}
.r4bak-icon.upload{background-image:url("/r4/backup-icons-r25/upload.png")}
.r4bak-icon.row_db{background-image:url("/r4/backup-icons-r25/row_db.png")}
.r4bak-icon.row_incremental{background-image:url("/r4/backup-icons-r25/row_incremental.png")}
.r4bak-icon.row_user{background-image:url("/r4/backup-icons-r25/row_user.png")}
.r4bak-icon.row_download{background-image:url("/r4/backup-icons-r25/row_download.png")}
.r4bak-icon.row_restore{background-image:url("/r4/backup-icons-r25/row_restore.png")}
.r4bak-icon.row_verify{background-image:url("/r4/backup-icons-r25/row_verify.png")}
.r4bak-icon.row_delete{background-image:url("/r4/backup-icons-r25/row_delete.png")}
.r4bak-icon.verify_shield{background-image:url("/r4/backup-icons-r25/verify_shield.png")}
.r4bak-icon.verify_calendar{background-image:url("/r4/backup-icons-r25/verify_calendar.png")}
.r4bak-icon.verify_list{background-image:url("/r4/backup-icons-r25/verify_list.png")}
.r4bak-icon.verify_check{background-image:url("/r4/backup-icons-r25/verify_check.png")}
.r4bak-icon.quick_restore{background-image:url("/r4/backup-icons-r25/quick_restore.png")}
.r4bak-icon.quick_clock{background-image:url("/r4/backup-icons-r25/quick_clock.png")}

/* AGROLOGIX R4 - BACKUP RECOVERY HF27 VIEWPORT ACTIONS ICON AUTHORITY */
body.r4-shell.auth-authenticated[data-r4-view="backup"]{height:100vh!important;overflow:hidden!important}
body.r4-shell.auth-authenticated[data-r4-view="backup"] #r3bContent{height:calc(100vh - 60px)!important;min-height:0!important;overflow:hidden!important}
body.r4-shell.auth-authenticated[data-r4-view="backup"] #r3bContent .r4aa-page{height:100%!important;min-height:0!important;overflow:hidden!important;display:grid!important;grid-template-rows:auto minmax(0,1fr)!important}
body.r4-shell.auth-authenticated[data-r4-view="backup"] #r3bContent .r4aa-body,
body.r4-shell.auth-authenticated[data-r4-view="backup"] #r3bContent .r4aa-content{min-height:0!important;overflow:hidden!important}
body.r4-shell.auth-authenticated[data-r4-view="backup"] .r4bak-page{position:relative!important;box-sizing:border-box!important}

/* Use the cleaner icon authority already approved in earlier R4 work. */
.r4bak-icon.title_db,.r4bak-icon.kpi_db,.r4bak-icon.row_db{background-image:url("/r4/backup-icons-hf27/kpi_database.png")!important}
.r4bak-icon.panel_gear{background-image:url("/r4/backup-icons-hf27/panel_config_gear.png")!important}
.r4bak-icon.plus{background-image:url("/r4/backup-icons-hf27/tool_play.png")!important}
.r4bak-icon.upload,.r4bak-icon.row_restore,.r4bak-icon.quick_restore{background-image:url("/r4/backup-icons-hf27/tool_restore.png")!important}
.r4bak-icon.row_verify,.r4bak-icon.verify_check,.r4bak-icon.tool_preview{background-image:url("/r4/backup-icons-hf27/tool_preview.png")!important}
.r4bak-icon.row_delete{background-image:url("/r4/backup-icons-hf27/action_delete.png")!important}
.r4bak-icon.verify_calendar{background-image:url("/r4/backup-icons-hf27/kpi_calendar.png")!important}
.r4bak-icon.row_incremental{background-image:url("/r4/backup-icons-hf27/entity_investor.png")!important}
.r4bak-icon.row_user{background-image:url("/r4/backup-icons-hf27/entity_ganadero.png")!important}
.r4bak-icon.action_view{background-image:url("/r4/backup-icons-hf27/action_view.png")!important}

/* Exact, visible controls rather than text glyph substitutes. */
.r4bak-search>.r4bak-icon{position:absolute!important;right:10px!important;top:10px!important;width:23px!important;height:23px!important}
.r4bak-filters #r4bakClear{display:flex!important;align-items:center!important;justify-content:center!important;gap:5px!important}
.r4bak-filters #r4bakClear .r4bak-icon{width:17px!important;height:17px!important}
.r4bak-info>.r4bak-icon{width:17px!important;height:17px!important;flex:0 0 17px!important}
.r4bak-switch{border:0!important;cursor:pointer!important;padding:0!important}
.r4bak-actions button,.r4bak-primary-actions button,.r4bak-verify button,.r4bak-quick button{cursor:pointer!important}

/* The mockup geometry is ~630px high. Scale only this body when the user's
   desktop viewport is shorter, keeping the approved R4 shell untouched. */
@media (min-width:1200px) and (max-height:900px){
  body.r4-shell.auth-authenticated[data-r4-view="backup"] .r4bak-page{
    zoom:.855!important;
    width:116.96%!important;
    height:116.96%!important;
  }
}
@media (min-width:1200px) and (max-height:820px){
  body.r4-shell.auth-authenticated[data-r4-view="backup"] .r4bak-page{
    zoom:.80!important;
    width:125%!important;
    height:125%!important;
  }
}

/* A visible, non-popup result surface for every action. */
.r4bak-toast{
 position:fixed!important;z-index:99999!important;right:18px!important;bottom:16px!important;
 max-width:520px!important;padding:11px 14px!important;border-radius:8px!important;
 border:1px solid #bad8ca!important;background:#eefaf4!important;color:#075a3e!important;
 box-shadow:0 10px 30px rgba(11,42,70,.18)!important;font-size:12px!important;font-weight:600!important
}
.r4bak-toast[data-type="warn"]{background:#fff8e8!important;border-color:#efd18b!important;color:#755400!important}
.r4bak-toast[data-type="error"]{background:#fff0f0!important;border-color:#efb6b6!important;color:#8a1d1d!important}
.r4bak-toast[data-type="ok"]{background:#eaf9f0!important;border-color:#9bd4b0!important;color:#087044!important}

/* AGROLOGIX R4 - BACKUP RECOVERY HF28 5ROWS SINGLE VIEWPORT */
body.r4-shell.auth-authenticated[data-r4-view="backup"] #r3bContent .r4aa-content>.r4aa-section-head{display:none!important}
body.r4-shell.auth-authenticated[data-r4-view="backup"] #r3bContent .r4aa-content{
 padding:0!important;border:0!important;box-shadow:none!important;background:transparent!important;overflow:hidden!important
}
body.r4-shell.auth-authenticated[data-r4-view="backup"] #r3bContent .r4aa-body{overflow:hidden!important;min-height:0!important}
body.r4-shell.auth-authenticated[data-r4-view="backup"] .r4bak-page{
 zoom:1!important;width:100%!important;height:100%!important;max-width:100%!important;
 grid-template-columns:minmax(0,1fr) 390px!important;gap:10px!important;overflow:hidden!important;box-sizing:border-box!important
}
body.r4-shell.auth-authenticated[data-r4-view="backup"] .r4bak-left{
 grid-template-rows:48px 88px 38px 198px 32px!important;gap:7px!important;min-height:0!important;overflow:hidden!important
}
body.r4-shell.auth-authenticated[data-r4-view="backup"] .r4bak-title h2{font-size:23px!important}
body.r4-shell.auth-authenticated[data-r4-view="backup"] .r4bak-title .r4bak-icon{width:36px!important;height:36px!important}
body.r4-shell.auth-authenticated[data-r4-view="backup"] .r4bak-kpis{gap:8px!important}
body.r4-shell.auth-authenticated[data-r4-view="backup"] .r4bak-kpis article{padding:10px 11px!important;gap:9px!important}
body.r4-shell.auth-authenticated[data-r4-view="backup"] .r4bak-kpis article>.r4bak-icon{width:31px!important;height:31px!important}
body.r4-shell.auth-authenticated[data-r4-view="backup"] .r4bak-kpis strong{font-size:16px!important}
body.r4-shell.auth-authenticated[data-r4-view="backup"] .r4bak-kpis small{margin-top:10px!important}
body.r4-shell.auth-authenticated[data-r4-view="backup"] .r4bak-filters input,
body.r4-shell.auth-authenticated[data-r4-view="backup"] .r4bak-filters select,
body.r4-shell.auth-authenticated[data-r4-view="backup"] .r4bak-filters button{height:36px!important}
body.r4-shell.auth-authenticated[data-r4-view="backup"] .r4bak-tablewrap{
 height:198px!important;min-height:198px!important;max-height:198px!important;overflow:hidden!important
}
body.r4-shell.auth-authenticated[data-r4-view="backup"] .r4bak-table th,
body.r4-shell.auth-authenticated[data-r4-view="backup"] .r4bak-table td{height:30px!important;padding:0 8px!important}
body.r4-shell.auth-authenticated[data-r4-view="backup"] .r4bak-pager button,
body.r4-shell.auth-authenticated[data-r4-view="backup"] .r4bak-pager select{height:28px!important;min-width:28px!important}
body.r4-shell.auth-authenticated[data-r4-view="backup"] .r4bak-side{
 grid-template-rows:286px 132px 124px!important;gap:8px!important;min-height:0!important;overflow:hidden!important
}
body.r4-shell.auth-authenticated[data-r4-view="backup"] .r4bak-card h3{height:38px!important;padding:0 11px!important}
body.r4-shell.auth-authenticated[data-r4-view="backup"] .r4bak-primary-actions{padding:7px 11px!important}
body.r4-shell.auth-authenticated[data-r4-view="backup"] .r4bak-primary-actions button{height:34px!important}
body.r4-shell.auth-authenticated[data-r4-view="backup"] .r4bak-schedule-head{padding:4px 11px!important}
body.r4-shell.auth-authenticated[data-r4-view="backup"] .r4bak-grid2{gap:5px 8px!important;padding:0 11px!important}
body.r4-shell.auth-authenticated[data-r4-view="backup"] .r4bak-grid2 select,
body.r4-shell.auth-authenticated[data-r4-view="backup"] .r4bak-grid2 input{height:30px!important}
body.r4-shell.auth-authenticated[data-r4-view="backup"] .r4bak-info{margin:7px 11px!important;padding:7px 8px!important}
body.r4-shell.auth-authenticated[data-r4-view="backup"] .r4bak-verify p,
body.r4-shell.auth-authenticated[data-r4-view="backup"] .r4bak-quick p{margin:5px 11px!important}
body.r4-shell.auth-authenticated[data-r4-view="backup"] .r4bak-verify li,
body.r4-shell.auth-authenticated[data-r4-view="backup"] .r4bak-quick li{min-height:24px!important}
@media (min-width:1200px) and (max-height:900px){
 body.r4-shell.auth-authenticated[data-r4-view="backup"] .r4bak-page{zoom:1!important;width:100%!important;height:100%!important}
}
@media (min-width:1200px) and (max-height:820px){
 body.r4-shell.auth-authenticated[data-r4-view="backup"] .r4bak-page{zoom:1!important;width:100%!important;height:100%!important}
}

/* AGROLOGIX R4 - BACKUP RECOVERY HF29 ACTION SEMANTICS */
.r4bak-icon.action_download_doc{background-image:url("/r4/backup-icons-hf27/entity_reporte.png")!important}
.r4bak-icon.action_restore_arrow{background-image:url("/r4/backup-icons-hf27/tool_restore.png")!important}
.r4bak-icon.action_verify_eye{background-image:url("/r4/backup-icons-hf27/action_view.png")!important}
.r4bak-icon.action_delete_trash{background-image:url("/r4/backup-icons-hf27/action_delete.png")!important}

/* AGROLOGIX R4 - ALERTS NOTIFICATIONS MOCKUP AUTHORITY R3 */
body.r4-shell.auth-authenticated[data-r4-view="notifications-admin"]{height:100vh!important;overflow:hidden!important}
body.r4-shell.auth-authenticated[data-r4-view="notifications-admin"] #r3bContent{height:calc(100vh - 60px)!important;overflow:hidden!important}
body.r4-shell.auth-authenticated[data-r4-view="notifications-admin"] #r3bContent .r4aa-page{height:100%!important;display:grid!important;grid-template-rows:auto minmax(0,1fr)!important;overflow:hidden!important}
body.r4-shell.auth-authenticated[data-r4-view="notifications-admin"] #r3bContent .r4aa-content>.r4aa-section-head{display:none!important}
.r4nt-page{height:100%;display:grid;grid-template-columns:minmax(0,1fr) 390px;gap:12px;overflow:hidden;color:#06235d}
.r4nt-main,.r4nt-side{min-height:0}
.r4nt-main{display:grid;grid-template-rows:58px 110px 46px minmax(0,1fr) 38px;gap:8px}
.r4nt-heading{display:flex;align-items:center;justify-content:space-between}
.r4nt-heading h2{margin:0;font-size:28px;line-height:1;color:#071f60}.r4nt-heading p{margin:5px 0 0;font-size:12px;color:#58769a}
.r4nt-heading>button{height:40px;padding:0 22px;border:0;border-radius:7px;background:#079653;color:#fff;font-weight:700;display:flex;align-items:center;gap:8px}
.r4nt-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
.r4nt-kpis article{border:1px solid #d5e2eb;border-radius:8px;background:#fff;padding:16px 14px;display:grid;grid-template-columns:44px 1fr;gap:8px;align-items:start}
.r4nt-kpis article>.r4nt-icon{width:36px;height:36px}.r4nt-kpis strong{display:block;font-size:27px;line-height:1}.r4nt-kpis span{display:block;margin-top:7px;font-size:13px}.r4nt-kpis small{display:block;margin-top:13px;font-size:11px;color:#416a99}
.r4nt-filters{display:grid;grid-template-columns:2.2fr .82fr .82fr .82fr .82fr .68fr;gap:7px}
.r4nt-search{position:relative}.r4nt-search input,.r4nt-filters select,.r4nt-filters button{width:100%;height:42px;border:1px solid #cfdeea;border-radius:7px;background:#fff;color:#123f75;font-size:11px;padding:0 12px}
.r4nt-search input{padding-left:36px}.r4nt-search>.r4nt-icon{position:absolute;left:11px;top:11px;width:20px;height:20px}
.r4nt-filters button{display:flex;align-items:center;justify-content:center;gap:7px;font-weight:700}
.r4nt-tablewrap{border:1px solid #d7e3eb;border-radius:7px;background:#fff;overflow:auto}
.r4nt-table{width:100%;border-collapse:collapse;font-size:10px;table-layout:fixed}.r4nt-table th{height:31px;background:#f3f8fb;text-align:left;padding:0 8px}.r4nt-table td{height:38px;border-top:1px solid #e2eaef;padding:0 8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.r4nt-table th:nth-child(1){width:22%}.r4nt-table th:nth-child(2){width:9%}.r4nt-table th:nth-child(3){width:16%}.r4nt-table th:nth-child(4){width:10%}.r4nt-table th:nth-child(5){width:16%}.r4nt-table th:nth-child(6){width:9%}.r4nt-table th:nth-child(7){width:9%}.r4nt-table th:nth-child(8){width:12%}
.r4nt-table td:first-child,.r4nt-table td:nth-child(4){display:flex;align-items:center;gap:7px}.r4nt-table td:first-child>.r4nt-icon{width:20px;height:20px}
.r4nt-priority{display:inline-block;min-width:48px;text-align:center;padding:5px 7px;border-radius:12px}.r4nt-priority.crítica,.r4nt-priority.alta{background:#ffe5e1;color:#bd3026}.r4nt-priority.media{background:#fff1c9;color:#ad7600}.r4nt-priority.baja{background:#dff6e9;color:#087443}
.r4nt-state{display:flex;align-items:center;gap:6px}.r4nt-state i{width:8px;height:8px;border-radius:50%;background:#05ad55}.r4nt-state.inactive i{background:#8e9bab}
.r4nt-actions{display:flex!important;align-items:center;gap:5px}.r4nt-actions button{width:28px;height:28px;border:0;background:transparent;padding:3px}.r4nt-actions .r4nt-icon{width:20px;height:20px}
.r4nt-pager{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;font-size:10px;color:#4a6d92}.r4nt-pager>div{display:flex;gap:5px}.r4nt-pager button,.r4nt-pager select{height:29px;min-width:29px;border:1px solid #d5e2eb;border-radius:6px;background:#fff}.r4nt-pager .active{background:#079653;color:#fff}.r4nt-pager label{justify-self:end}
.r4nt-side{display:grid;grid-template-rows:minmax(0,1fr) 132px 78px;gap:10px}
.r4nt-card{border:1px solid #d7e5ec;border-radius:8px;background:#fff;overflow:hidden}.r4nt-card h3{margin:0;height:40px;padding:0 12px;display:flex;align-items:center;gap:8px;background:linear-gradient(90deg,#f3fff9,#eef9f6);font-size:13px}.r4nt-card h3>.r4nt-icon{width:20px;height:20px}
.r4nt-formgrid{padding:10px 12px;display:grid;grid-template-columns:1fr 1fr;gap:8px 10px}.r4nt-formgrid label{font-size:10px;font-weight:700}.r4nt-formgrid .full{grid-column:1/-1}.r4nt-formgrid input,.r4nt-formgrid select{margin-top:5px;width:100%;height:34px;border:1px solid #cfdeea;border-radius:6px;padding:0 9px;font-size:10px;background:#fff}
.r4nt-channels{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:5px}.r4nt-channels button{height:38px;border:1px solid #cfe0ea;border-radius:6px;background:#fff;display:flex;align-items:center;justify-content:center;gap:7px}.r4nt-channels button.active{border-color:#55bf8f;background:#eaf8f1}.r4nt-channels .r4nt-icon{width:19px;height:19px}
.r4nt-formactions{display:grid;grid-template-columns:1.5fr .8fr;gap:10px;padding:0 12px 8px}.r4nt-formactions button{height:36px;border-radius:6px;border:1px solid #cfdeea;background:#fff;font-weight:700}.r4nt-formactions #r4ntSave{background:#079653;color:#fff;border-color:#079653;display:flex;align-items:center;justify-content:center;gap:7px}
.r4nt-note{margin:0 12px 10px;padding:7px 8px;border-radius:6px;background:#fff8e5;color:#80620c;font-size:9px}
.r4nt-channelrow{height:30px;display:grid;grid-template-columns:24px 1fr auto 58px;gap:7px;align-items:center;padding:0 10px;border-top:1px solid #e3ebf0;font-size:10px}.r4nt-channelrow>.r4nt-icon{width:18px;height:18px}.r4nt-channelrow b{display:flex;align-items:center;gap:5px;font-weight:500}.r4nt-channelrow b i{width:7px;height:7px;border-radius:50%;background:#0ab35b}.r4nt-channelrow b.muted i{background:#9eabb6}.r4nt-channelrow button{height:23px;border:1px solid #cfddea;border-radius:5px;background:#fff;font-size:9px}
.r4nt-quick>div{height:38px;display:grid;grid-template-columns:repeat(3,1fr);gap:6px;padding:5px 9px}.r4nt-quick button{border:1px solid #cfdeea;background:#fff;border-radius:5px;font-size:9px;display:flex;align-items:center;justify-content:center;gap:4px}
.r4nt-icon{display:inline-block;background-repeat:no-repeat;background-position:center;background-size:contain;flex:0 0 auto}
.r4nt-icon.kpi_bell,.r4nt-icon.channel_app{background-image:url("/r4/advanced-admin-icons-hf15/notifications-admin.png")}
.r4nt-icon.kpi_warning,.r4nt-icon.rule_warning{background-image:url("/r4/backup-icons-hf27/kpi_warning.png")}
.r4nt-icon.kpi_people{background-image:url("/r4/backup-icons-hf27/entity_ganadero.png")}
.r4nt-icon.kpi_send{background-image:url("/r4/backup-icons-hf27/tool_play.png")}
.r4nt-icon.channel_email,.r4nt-icon.template{background-image:url("/r4/backup-icons-hf27/entity_reporte.png")}
.r4nt-icon.channel_whatsapp{background-image:url("/r4/backup-icons-hf27/action_edit.png")}
.r4nt-icon.rule_animal{background-image:url("/r4/backup-icons-hf27/entity_animal.png")}
.r4nt-icon.rule_doc{background-image:url("/r4/backup-icons-hf27/entity_convenio.png")}
.r4nt-icon.action_view{background-image:url("/r4/backup-icons-hf27/action_view.png")}
.r4nt-icon.action_edit{background-image:url("/r4/backup-icons-hf27/action_edit.png")}
.r4nt-icon.action_duplicate{background-image:url("/r4/backup-icons-hf27/tool_duplicates.png")}
.r4nt-icon.action_delete{background-image:url("/r4/backup-icons-hf27/action_delete.png")}
.r4nt-icon.plus,.r4nt-icon.plus_circle,.r4nt-icon.play{background-image:url("/r4/backup-icons-hf27/tool_play.png")}
.r4nt-icon.filter,.r4nt-icon.mute{background-image:url("/r4/backup-icons-hf27/panel_tools_gear.png")}
.r4nt-icon.gear,.r4nt-icon.tools{background-image:url("/r4/backup-icons-hf27/panel_config_gear.png")}
.r4nt-icon.save{background-image:url("/r4/backup-icons-hf27/action_edit.png")}
.r4nt-icon.search,.r4nt-icon.test{background-image:url("/r4/backup-icons-hf27/tool_preview.png")}
.r4nt-toast{position:fixed;right:18px;bottom:16px;z-index:99999;max-width:520px;padding:10px 13px;border:1px solid #e5ca84;border-radius:7px;background:#fff8e5;color:#745500;font-size:11px;font-weight:600;box-shadow:0 8px 25px rgba(0,0,0,.15)}
@media(max-height:900px) and (min-width:1200px){.r4nt-main{grid-template-rows:52px 94px 42px minmax(0,1fr) 34px}.r4nt-kpis article{padding:12px 11px}.r4nt-kpis strong{font-size:24px}.r4nt-kpis small{margin-top:9px}.r4nt-side{grid-template-rows:minmax(0,1fr) 120px 72px}.r4nt-formgrid{padding:8px 10px;gap:6px 8px}.r4nt-formgrid input,.r4nt-formgrid select{height:31px}.r4nt-channels button{height:34px}}

/* AGROLOGIX R4 - ALERTS NOTIFICATIONS R4 MOCKUP FIDELITY ACTIONS */
body.r4-shell.auth-authenticated[data-r4-view="notifications-admin"] #r3bContent .r4aa-content{padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;overflow:hidden!important}
body.r4-shell.auth-authenticated[data-r4-view="notifications-admin"] #r3bContent .r4aa-body{min-height:0!important;overflow:hidden!important}
body.r4-shell.auth-authenticated[data-r4-view="notifications-admin"] .r4nt-page{grid-template-columns:minmax(0,1fr) 390px!important;gap:10px!important;height:100%!important;overflow:hidden!important;color:#08235d!important;background:#fff!important}
body.r4-shell.auth-authenticated[data-r4-view="notifications-admin"] .r4nt-main{grid-template-rows:48px 92px 40px minmax(0,1fr) 31px!important;gap:7px!important;overflow:hidden!important}
body.r4-shell.auth-authenticated[data-r4-view="notifications-admin"] .r4nt-heading h2{font-size:25px!important;color:#061c58!important}
body.r4-shell.auth-authenticated[data-r4-view="notifications-admin"] .r4nt-heading p{font-size:11px!important;color:#4e719a!important;margin-top:4px!important}
body.r4-shell.auth-authenticated[data-r4-view="notifications-admin"] .r4nt-heading>button{height:38px!important;background:#079653!important;border-radius:7px!important;padding:0 22px!important}
body.r4-shell.auth-authenticated[data-r4-view="notifications-admin"] .r4nt-kpis{gap:9px!important}
body.r4-shell.auth-authenticated[data-r4-view="notifications-admin"] .r4nt-kpis article{padding:11px 12px!important;border-color:#d5e1ea!important;border-radius:7px!important;grid-template-columns:39px 1fr!important;background:#fff!important}
body.r4-shell.auth-authenticated[data-r4-view="notifications-admin"] .r4nt-kpis article>.r4nt-icon{width:32px!important;height:32px!important}
body.r4-shell.auth-authenticated[data-r4-view="notifications-admin"] .r4nt-kpis strong{font-size:24px!important;color:#071d5b!important}
body.r4-shell.auth-authenticated[data-r4-view="notifications-admin"] .r4nt-kpis span{margin-top:5px!important;font-size:12px!important;color:#123d77!important}
body.r4-shell.auth-authenticated[data-r4-view="notifications-admin"] .r4nt-kpis small{margin-top:8px!important;font-size:10px!important;color:#35659a!important}
body.r4-shell.auth-authenticated[data-r4-view="notifications-admin"] .r4nt-filters{grid-template-columns:2.15fr .82fr .82fr .82fr .82fr .72fr!important;gap:7px!important}
body.r4-shell.auth-authenticated[data-r4-view="notifications-admin"] .r4nt-search input,
body.r4-shell.auth-authenticated[data-r4-view="notifications-admin"] .r4nt-filters select,
body.r4-shell.auth-authenticated[data-r4-view="notifications-admin"] .r4nt-filters button{height:38px!important;border-color:#d4e0e9!important;color:#123c75!important;background:#fff!important}
body.r4-shell.auth-authenticated[data-r4-view="notifications-admin"] .r4nt-search>.r4nt-icon{top:9px!important}
body.r4-shell.auth-authenticated[data-r4-view="notifications-admin"] .r4nt-tablewrap{min-height:0!important;height:100%!important;overflow:auto!important;border-color:#d6e2ea!important;background:#fff!important}
body.r4-shell.auth-authenticated[data-r4-view="notifications-admin"] .r4nt-table{font-size:9.5px!important}
body.r4-shell.auth-authenticated[data-r4-view="notifications-admin"] .r4nt-table th{height:29px!important;background:#f1f7fa!important;color:#092a65!important;padding:0 6px!important}
body.r4-shell.auth-authenticated[data-r4-view="notifications-admin"] .r4nt-table td{height:35px!important;padding:0 6px!important;border-top-color:#e0e9ef!important;color:#133e75!important}
body.r4-shell.auth-authenticated[data-r4-view="notifications-admin"] .r4nt-table th:nth-child(1){width:21%!important}
body.r4-shell.auth-authenticated[data-r4-view="notifications-admin"] .r4nt-table th:nth-child(2){width:8%!important}
body.r4-shell.auth-authenticated[data-r4-view="notifications-admin"] .r4nt-table th:nth-child(3){width:15%!important}
body.r4-shell.auth-authenticated[data-r4-view="notifications-admin"] .r4nt-table th:nth-child(4){width:9%!important}
body.r4-shell.auth-authenticated[data-r4-view="notifications-admin"] .r4nt-table th:nth-child(5){width:15%!important}
body.r4-shell.auth-authenticated[data-r4-view="notifications-admin"] .r4nt-table th:nth-child(6){width:9%!important}
body.r4-shell.auth-authenticated[data-r4-view="notifications-admin"] .r4nt-table th:nth-child(7){width:8%!important}
body.r4-shell.auth-authenticated[data-r4-view="notifications-admin"] .r4nt-table th:nth-child(8){width:15%!important}
body.r4-shell.auth-authenticated[data-r4-view="notifications-admin"] .r4nt-actions{display:flex!important;align-items:center!important;justify-content:center!important;gap:2px!important;overflow:visible!important}
body.r4-shell.auth-authenticated[data-r4-view="notifications-admin"] .r4nt-actions button{display:flex!important;width:24px!important;height:24px!important;min-width:24px!important;padding:2px!important;align-items:center!important;justify-content:center!important}
body.r4-shell.auth-authenticated[data-r4-view="notifications-admin"] .r4nt-actions .r4nt-icon{width:17px!important;height:17px!important}
body.r4-shell.auth-authenticated[data-r4-view="notifications-admin"] .r4nt-table tr.selected td{background:#e8f8f0!important}
body.r4-shell.auth-authenticated[data-r4-view="notifications-admin"] .r4nt-priority{min-width:44px!important;padding:4px 6px!important}
body.r4-shell.auth-authenticated[data-r4-view="notifications-admin"] .r4nt-priority.crítica,
body.r4-shell.auth-authenticated[data-r4-view="notifications-admin"] .r4nt-priority.alta{background:#ffe2de!important;color:#c83228!important}
body.r4-shell.auth-authenticated[data-r4-view="notifications-admin"] .r4nt-priority.media{background:#fff0c7!important;color:#b47700!important}
body.r4-shell.auth-authenticated[data-r4-view="notifications-admin"] .r4nt-priority.baja{background:#d9f3e5!important;color:#087448!important}
body.r4-shell.auth-authenticated[data-r4-view="notifications-admin"] .r4nt-state.active{color:#079653!important}
body.r4-shell.auth-authenticated[data-r4-view="notifications-admin"] .r4nt-state.active i{background:#08aa58!important}
body.r4-shell.auth-authenticated[data-r4-view="notifications-admin"] .r4nt-pager{height:31px!important}
body.r4-shell.auth-authenticated[data-r4-view="notifications-admin"] .r4nt-side{grid-template-rows:minmax(0,1fr) 112px 69px!important;gap:8px!important;overflow:hidden!important}
body.r4-shell.auth-authenticated[data-r4-view="notifications-admin"] .r4nt-card{border-color:#d7e4eb!important;border-radius:7px!important;background:#fff!important}
body.r4-shell.auth-authenticated[data-r4-view="notifications-admin"] .r4nt-card h3{height:36px!important;padding:0 10px!important;background:#f0fbf6!important;color:#071e5b!important;font-size:12px!important}
body.r4-shell.auth-authenticated[data-r4-view="notifications-admin"] .r4nt-formgrid{padding:7px 10px!important;gap:5px 8px!important}
body.r4-shell.auth-authenticated[data-r4-view="notifications-admin"] .r4nt-formgrid label{font-size:9.5px!important;color:#0b3470!important}
body.r4-shell.auth-authenticated[data-r4-view="notifications-admin"] .r4nt-formgrid input,
body.r4-shell.auth-authenticated[data-r4-view="notifications-admin"] .r4nt-formgrid select{height:29px!important;margin-top:3px!important;border-color:#d2dfe8!important}
body.r4-shell.auth-authenticated[data-r4-view="notifications-admin"] .r4nt-channels{gap:6px!important;margin-top:3px!important}
body.r4-shell.auth-authenticated[data-r4-view="notifications-admin"] .r4nt-channels button{height:31px!important;color:#0d3b76!important;border-color:#cfdde7!important}
body.r4-shell.auth-authenticated[data-r4-view="notifications-admin"] .r4nt-channels button.active{background:#e8f8ef!important;border-color:#57bf8e!important;color:#087449!important}
body.r4-shell.auth-authenticated[data-r4-view="notifications-admin"] .r4nt-formactions{padding:0 10px 7px!important;gap:8px!important}
body.r4-shell.auth-authenticated[data-r4-view="notifications-admin"] .r4nt-formactions button{height:32px!important}
body.r4-shell.auth-authenticated[data-r4-view="notifications-admin"] #r4ntSave{background:#079653!important;border-color:#079653!important}
body.r4-shell.auth-authenticated[data-r4-view="notifications-admin"] .r4nt-note{display:none!important}
body.r4-shell.auth-authenticated[data-r4-view="notifications-admin"] .r4nt-channelrow{height:25px!important;grid-template-columns:22px 1fr auto 54px!important;padding:0 9px!important;font-size:9px!important}
body.r4-shell.auth-authenticated[data-r4-view="notifications-admin"] .r4nt-channelrow button{height:20px!important}
body.r4-shell.auth-authenticated[data-r4-view="notifications-admin"] .r4nt-quick>div{height:33px!important;padding:4px 7px!important}
body.r4-shell.auth-authenticated[data-r4-view="notifications-admin"] .r4nt-quick button{font-size:8.5px!important}
body.r4-shell.auth-authenticated[data-r4-view="notifications-admin"] .r4nt-toast{background:#fff8e5!important;border-color:#e5c77f!important;color:#755400!important}
@media(min-width:1200px) and (max-height:900px){
 body.r4-shell.auth-authenticated[data-r4-view="notifications-admin"] .r4nt-main{grid-template-rows:45px 82px 37px minmax(0,1fr) 29px!important}
 body.r4-shell.auth-authenticated[data-r4-view="notifications-admin"] .r4nt-side{grid-template-rows:minmax(0,1fr) 101px 61px!important}
 body.r4-shell.auth-authenticated[data-r4-view="notifications-admin"] .r4nt-formgrid{padding:5px 9px!important;gap:4px 7px!important}
 body.r4-shell.auth-authenticated[data-r4-view="notifications-admin"] .r4nt-formgrid input,
 body.r4-shell.auth-authenticated[data-r4-view="notifications-admin"] .r4nt-formgrid select{height:27px!important}
 body.r4-shell.auth-authenticated[data-r4-view="notifications-admin"] .r4nt-channels button{height:29px!important}
}

/* AGROLOGIX R4 - ALERTS NOTIFICATIONS R5 RIGHT PANELS QUICK ACTIONS DUPLICATE ICON */
body.r4-shell.auth-authenticated[data-r4-view="notifications-admin"] .r4nt-side{
 grid-template-rows:minmax(0,1fr) 88px 78px!important;gap:6px!important;overflow:hidden!important
}
body.r4-shell.auth-authenticated[data-r4-view="notifications-admin"] .r4nt-card h3{
 height:31px!important;min-height:31px!important;padding:0 9px!important
}
body.r4-shell.auth-authenticated[data-r4-view="notifications-admin"] .r4nt-formgrid{padding:4px 9px!important;gap:3px 7px!important}
body.r4-shell.auth-authenticated[data-r4-view="notifications-admin"] .r4nt-formgrid input,
body.r4-shell.auth-authenticated[data-r4-view="notifications-admin"] .r4nt-formgrid select{height:25px!important;margin-top:2px!important}
body.r4-shell.auth-authenticated[data-r4-view="notifications-admin"] .r4nt-channels{gap:5px!important;margin-top:2px!important}
body.r4-shell.auth-authenticated[data-r4-view="notifications-admin"] .r4nt-channels button{height:27px!important}
body.r4-shell.auth-authenticated[data-r4-view="notifications-admin"] .r4nt-formactions{padding:0 9px 5px!important}
body.r4-shell.auth-authenticated[data-r4-view="notifications-admin"] .r4nt-formactions button{height:29px!important}
body.r4-shell.auth-authenticated[data-r4-view="notifications-admin"] .r4nt-channelrow{
 height:19px!important;min-height:19px!important;grid-template-columns:18px 1fr auto 48px!important;
 gap:5px!important;padding:0 8px!important;font-size:8.5px!important
}
body.r4-shell.auth-authenticated[data-r4-view="notifications-admin"] .r4nt-channelrow>.r4nt-icon{width:14px!important;height:14px!important}
body.r4-shell.auth-authenticated[data-r4-view="notifications-admin"] .r4nt-channelrow button{height:17px!important;font-size:8px!important;padding:0 4px!important}
body.r4-shell.auth-authenticated[data-r4-view="notifications-admin"] .r4nt-quick{position:relative!important;overflow:hidden!important}
body.r4-shell.auth-authenticated[data-r4-view="notifications-admin"] .r4nt-quick>div{height:31px!important;padding:3px 6px!important}
body.r4-shell.auth-authenticated[data-r4-view="notifications-admin"] .r4nt-quick button{height:25px!important;font-size:8px!important;padding:0 4px!important}
body.r4-shell.auth-authenticated[data-r4-view="notifications-admin"] .r4nt-quick-result{
 margin:0 6px 4px!important;padding:3px 5px!important;min-height:18px!important;border-radius:4px!important;
 background:#fff8e5!important;color:#755400!important;font-size:8px!important;line-height:1.2!important;
 white-space:normal!important;overflow:hidden!important
}
body.r4-shell.auth-authenticated[data-r4-view="notifications-admin"] .r4nt-quick-result[data-kind="ok"]{background:#e7f8ef!important;color:#087448!important}
body.r4-shell.auth-authenticated[data-r4-view="notifications-admin"] .r4nt-quick-result[data-kind="error"]{background:#fff0f0!important;color:#9a2020!important}

/* Duplicate icon drawn locally because the R4 asset path used previously does not exist. */
.r4nt-icon.action_duplicate{position:relative!important;width:17px!important;height:17px!important;background:none!important;box-sizing:border-box!important}
.r4nt-icon.action_duplicate::before,.r4nt-icon.action_duplicate::after{
 content:""!important;position:absolute!important;width:9px!important;height:11px!important;
 border:1.6px solid #0b56a4!important;border-radius:1px!important;background:#fff!important;box-sizing:border-box!important
}
.r4nt-icon.action_duplicate::before{left:2px!important;top:1px!important}
.r4nt-icon.action_duplicate::after{left:5px!important;top:4px!important}

body.r4-shell.auth-authenticated[data-r4-view="notifications-admin"] .r4nt-actions{min-width:102px!important;gap:1px!important}
body.r4-shell.auth-authenticated[data-r4-view="notifications-admin"] .r4nt-actions button{width:24px!important;min-width:24px!important;height:24px!important}

@media(min-width:1200px) and (max-height:900px){
 body.r4-shell.auth-authenticated[data-r4-view="notifications-admin"] .r4nt-side{
  grid-template-rows:minmax(0,1fr) 84px 74px!important;gap:5px!important
 }
 body.r4-shell.auth-authenticated[data-r4-view="notifications-admin"] .r4nt-card h3{height:29px!important;min-height:29px!important}
 body.r4-shell.auth-authenticated[data-r4-view="notifications-admin"] .r4nt-channelrow{height:18px!important;min-height:18px!important}
}

/* AGROLOGIX R4 - SECURITY SESSIONS MOCKUP AUTHORITY R2 */
body.r4-shell.auth-authenticated[data-r4-view="sessions"]{height:100vh!important;overflow:hidden!important}
body.r4-shell.auth-authenticated[data-r4-view="sessions"] #r3bContent{height:calc(100vh - 60px)!important;overflow:hidden!important}
body.r4-shell.auth-authenticated[data-r4-view="sessions"] #r3bContent .r4aa-page{height:100%!important;display:grid!important;grid-template-rows:auto minmax(0,1fr)!important;overflow:hidden!important}
body.r4-shell.auth-authenticated[data-r4-view="sessions"] #r3bContent .r4aa-content>.r4aa-section-head{display:none!important}
body.r4-shell.auth-authenticated[data-r4-view="sessions"] #r3bContent .r4aa-content{padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;overflow:hidden!important}
body.r4-shell.auth-authenticated[data-r4-view="sessions"] #r3bContent .r4aa-body{min-height:0!important;overflow:hidden!important}
.r4ss-page{height:100%;display:grid;grid-template-columns:minmax(0,1fr) 390px;gap:10px;overflow:hidden;color:#08235d;background:#fff}
.r4ss-main{min-height:0;display:grid;grid-template-rows:55px 104px 42px minmax(0,1fr) 36px;gap:8px;overflow:hidden}
.r4ss-heading h2{margin:0;font-size:27px;color:#061b57;line-height:1}.r4ss-heading p{margin:5px 0 0;color:#52729a;font-size:11px}
.r4ss-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:9px}
.r4ss-kpis article{border:1px solid #d5e1ea;border-radius:7px;background:#fff;padding:14px 12px;display:grid;grid-template-columns:42px 1fr;gap:9px}
.r4ss-kpis article>.r4ss-icon{width:35px;height:35px}.r4ss-kpis strong{display:block;font-size:25px;line-height:1;color:#071d5b}.r4ss-kpis span{display:block;margin-top:7px;font-size:12px}.r4ss-kpis small{display:block;margin-top:8px;color:#4c719c;font-size:10px}
.r4ss-filters{display:grid;grid-template-columns:2.25fr .82fr .82fr .9fr .7fr;gap:7px}
.r4ss-search{position:relative}.r4ss-search input,.r4ss-filters select,.r4ss-filters button{height:40px;width:100%;border:1px solid #d2dfe8;border-radius:6px;background:#fff;color:#123c75;font-size:10px;padding:0 10px}
.r4ss-search input{padding-left:36px}.r4ss-search>.r4ss-icon{position:absolute;left:10px;top:10px;width:20px;height:20px}.r4ss-filters button{display:flex;align-items:center;justify-content:center;gap:6px;font-weight:700}
.r4ss-tablewrap{border:1px solid #d6e2ea;border-radius:7px;background:#fff;overflow:auto}
.r4ss-table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:9.5px}.r4ss-table th{height:31px;background:#f1f7fa;text-align:left;padding:0 7px;color:#092a65}.r4ss-table td{height:36px;border-top:1px solid #e0e9ef;padding:0 7px;color:#133e75;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.r4ss-table th:nth-child(1){width:18%}.r4ss-table th:nth-child(2){width:13%}.r4ss-table th:nth-child(3){width:15%}.r4ss-table th:nth-child(4){width:12%}.r4ss-table th:nth-child(5){width:17%}.r4ss-table th:nth-child(6){width:10%}.r4ss-table th:nth-child(7){width:15%}
.r4ss-table td:first-child{display:flex;align-items:center;gap:7px}.r4ss-avatar{width:24px;height:24px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:#d7f3e8;color:#087448;font-weight:700}
.r4ss-table td:nth-child(3){display:flex;align-items:center;gap:6px}.r4ss-table td:nth-child(3) .r4ss-icon{width:17px;height:17px}
.r4ss-state{display:flex;align-items:center;gap:6px;color:#079653}.r4ss-state i{width:8px;height:8px;border-radius:50%;background:#0aae59}
.r4ss-actions{display:flex!important;align-items:center;justify-content:center;gap:5px}.r4ss-actions button{width:25px;height:25px;border:0;background:transparent;padding:2px}.r4ss-actions .r4ss-icon{width:18px;height:18px}
.r4ss-pager{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;color:#4a6d92;font-size:10px}.r4ss-pager>div{display:flex;gap:5px}.r4ss-pager button,.r4ss-pager select{height:29px;min-width:29px;border:1px solid #d5e2eb;border-radius:6px;background:#fff}.r4ss-pager .active{background:#079653;color:#fff}.r4ss-pager label{justify-self:end}
.r4ss-side{min-height:0;display:grid;grid-template-rows:minmax(0,1fr) 186px 92px;gap:9px;overflow:hidden}
.r4ss-card{border:1px solid #d7e4eb;border-radius:7px;background:#fff;overflow:hidden}.r4ss-card h3{height:40px;margin:0;padding:0 11px;background:#f0fbf6;color:#071e5b;display:flex;align-items:center;gap:8px;font-size:13px}.r4ss-card h3>.r4ss-icon{width:22px;height:22px}.r4ss-card h3 button{margin-left:auto;height:28px;border:1px solid #8fcfb2;border-radius:6px;background:#fff;color:#075fa7;display:flex;align-items:center;gap:5px}
.r4ss-policies>p{margin:8px 11px;color:#52729a;font-size:10px}.r4ss-policy{padding:5px 11px;border-top:1px solid #edf2f5;display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:4px 8px;font-size:10px}.r4ss-policy label span{color:#d52d2d}.r4ss-policy select{height:30px;border:1px solid #d2dfe8;border-radius:6px;background:#fff;padding:0 8px}.r4ss-policy small{grid-column:2;font-size:9px;color:#6b86a4}
.r4ss-policy-line{padding:6px 11px;border-top:1px solid #edf2f5;display:grid;grid-template-columns:1fr 38px 1fr;align-items:center;gap:7px;font-size:10px}.r4ss-policy-line small{color:#6b86a4}.r4ss-policy-line select{height:28px;border:1px solid #d2dfe8;border-radius:6px;background:#fff}
.r4ss-switch{width:36px;height:20px;border:0;border-radius:10px;background:#b9c7d3;position:relative}.r4ss-switch:after{content:"";position:absolute;top:2px;left:2px;width:16px;height:16px;border-radius:50%;background:#fff}.r4ss-switch.on{background:#0aa260}.r4ss-switch.on:after{left:18px}
.r4ss-readonly-note{margin:6px 10px;padding:6px 7px;background:#fff8e5;color:#7b5a00;border-radius:5px;font-size:8.5px}
.r4ss-events ul{list-style:none;margin:0;padding:2px 10px}.r4ss-events li{height:27px;display:grid;grid-template-columns:9px 1.25fr .8fr .95fr .75fr;gap:6px;align-items:center;border-top:1px solid #edf2f5;font-size:8.8px}.r4ss-events li>i{width:7px;height:7px;border-radius:50%;background:#2a7cd3}.r4ss-events li>i.ok{background:#10a95a}.r4ss-events li>i.bad{background:#f12d2d}.r4ss-events li b{font-weight:500}.r4ss-events li time,.r4ss-events li em{font-style:normal;color:#4a6d92}
.r4ss-quick>div{height:50px;padding:6px 8px;display:grid;grid-template-columns:repeat(4,1fr);gap:6px}.r4ss-quick button{border:1px solid #d2dfe8;background:#fff;border-radius:6px;color:#123c75;display:flex;align-items:center;justify-content:center;gap:5px;font-size:8px;line-height:1.15}.r4ss-quick button .r4ss-icon{width:18px;height:18px}
.r4ss-icon{display:inline-block;background-repeat:no-repeat;background-position:center;background-size:contain;flex:0 0 auto}
.r4ss-icon.people{background-image:url("/r4/backup-icons-hf27/entity_ganadero.png")}
.r4ss-icon.shield,.r4ss-icon.view{background-image:url("/r4/backup-icons-hf27/action_view.png")}
.r4ss-icon.warning{background-image:url("/r4/backup-icons-hf27/kpi_warning.png")}
.r4ss-icon.lock{background-image:url("/r4/advanced-admin-icons-hf15/sessions.png")}
.r4ss-icon.search{background-image:url("/r4/backup-icons-hf27/tool_preview.png")}
.r4ss-icon.filter,.r4ss-icon.gear{background-image:url("/r4/backup-icons-hf27/panel_config_gear.png")}
.r4ss-icon.device{background-image:url("/r4/backup-icons-hf27/entity_reporte.png")}
.r4ss-icon.revoke{background-image:url("/r4/backup-icons-hf27/tool_restore.png")}
.r4ss-icon.delete{background-image:url("/r4/backup-icons-hf27/action_delete.png")}
.r4ss-icon.edit{background-image:url("/r4/backup-icons-hf27/action_edit.png")}
.r4ss-icon.clock{background-image:url("/r4/backup-icons-hf27/kpi_calendar.png")}
.r4ss-icon.bolt,.r4ss-icon.doc{background-image:url("/r4/backup-icons-hf27/tool_play.png")}
.r4ss-toast{position:fixed;right:18px;bottom:16px;z-index:99999;max-width:520px;padding:10px 13px;border:1px solid #e5c77f;border-radius:7px;background:#fff8e5;color:#755400;font-size:11px;font-weight:600;box-shadow:0 8px 25px rgba(0,0,0,.15)}
@media(min-width:1200px) and (max-height:900px){
 .r4ss-main{grid-template-rows:48px 88px 38px minmax(0,1fr) 31px!important;gap:6px!important}
 .r4ss-kpis article{padding:10px!important}.r4ss-kpis strong{font-size:22px!important}.r4ss-kpis small{margin-top:6px!important}
 .r4ss-side{grid-template-rows:minmax(0,1fr) 160px 80px!important;gap:6px!important}
 .r4ss-card h3{height:34px!important}.r4ss-policies>p{margin:5px 9px!important}
 .r4ss-policy{padding:4px 9px!important}.r4ss-policy-line{padding:4px 9px!important}
 .r4ss-events li{height:23px!important}
 .r4ss-quick>div{height:43px!important;padding:4px 6px!important}
}

/* AGROLOGIX R4 - SECURITY SESSIONS R3 5ROWS ACTIONS VIEWPORT */
body.r4-shell.auth-authenticated[data-r4-view="sessions"] #r3bContent{height:calc(100vh - 58px)!important}
body.r4-shell.auth-authenticated[data-r4-view="sessions"] #r3bContent .r4aa-body{padding-bottom:0!important}
body.r4-shell.auth-authenticated[data-r4-view="sessions"] .r4ss-page{grid-template-columns:minmax(0,1fr) 390px!important;gap:8px!important}
body.r4-shell.auth-authenticated[data-r4-view="sessions"] .r4ss-main{grid-template-rows:48px 90px 40px minmax(0,1fr) 32px!important;gap:6px!important}
body.r4-shell.auth-authenticated[data-r4-view="sessions"] .r4ss-side{grid-template-rows:minmax(0,1fr) 150px 76px!important;gap:6px!important}
body.r4-shell.auth-authenticated[data-r4-view="sessions"] .r4ss-heading h2{font-size:25px!important}
body.r4-shell.auth-authenticated[data-r4-view="sessions"] .r4ss-heading p{font-size:10px!important;margin-top:4px!important}
body.r4-shell.auth-authenticated[data-r4-view="sessions"] .r4ss-kpis article{padding:10px 10px!important}
body.r4-shell.auth-authenticated[data-r4-view="sessions"] .r4ss-kpis article>.r4ss-icon{width:30px!important;height:30px!important}
body.r4-shell.auth-authenticated[data-r4-view="sessions"] .r4ss-kpis strong{font-size:21px!important}
body.r4-shell.auth-authenticated[data-r4-view="sessions"] .r4ss-kpis span{font-size:11px!important;margin-top:5px!important}
body.r4-shell.auth-authenticated[data-r4-view="sessions"] .r4ss-kpis small{font-size:9px!important;margin-top:5px!important}
body.r4-shell.auth-authenticated[data-r4-view="sessions"] .r4ss-search input,
body.r4-shell.auth-authenticated[data-r4-view="sessions"] .r4ss-filters select,
body.r4-shell.auth-authenticated[data-r4-view="sessions"] .r4ss-filters button{height:36px!important;font-size:10px!important}
body.r4-shell.auth-authenticated[data-r4-view="sessions"] .r4ss-tablewrap{overflow:hidden!important}
body.r4-shell.auth-authenticated[data-r4-view="sessions"] .r4ss-table th{height:28px!important;font-size:9px!important}
body.r4-shell.auth-authenticated[data-r4-view="sessions"] .r4ss-table td{height:34px!important;font-size:9px!important}
body.r4-shell.auth-authenticated[data-r4-view="sessions"] .r4ss-avatar{width:22px!important;height:22px!important}
body.r4-shell.auth-authenticated[data-r4-view="sessions"] .r4ss-actions{min-width:92px!important}
body.r4-shell.auth-authenticated[data-r4-view="sessions"] .r4ss-actions button{width:24px!important;height:24px!important;cursor:pointer!important;pointer-events:auto!important}
body.r4-shell.auth-authenticated[data-r4-view="sessions"] .r4ss-actions button:hover{transform:scale(1.05)}
body.r4-shell.auth-authenticated[data-r4-view="sessions"] .r4ss-state.off{color:#8797ab!important}
body.r4-shell.auth-authenticated[data-r4-view="sessions"] .r4ss-state.off i{background:#aeb8c3!important}
body.r4-shell.auth-authenticated[data-r4-view="sessions"] .r4ss-empty{text-align:center!important;color:#59789d!important}
body.r4-shell.auth-authenticated[data-r4-view="sessions"] .r4ss-pager{font-size:9.5px!important}
body.r4-shell.auth-authenticated[data-r4-view="sessions"] .r4ss-pager button,
body.r4-shell.auth-authenticated[data-r4-view="sessions"] .r4ss-pager select{height:26px!important;min-width:26px!important}
body.r4-shell.auth-authenticated[data-r4-view="sessions"] .r4ss-card h3{height:34px!important;font-size:12px!important}
body.r4-shell.auth-authenticated[data-r4-view="sessions"] .r4ss-card h3 button{cursor:pointer!important;pointer-events:auto!important}
body.r4-shell.auth-authenticated[data-r4-view="sessions"] .r4ss-policies>p{margin:6px 9px!important;font-size:9px!important}
body.r4-shell.auth-authenticated[data-r4-view="sessions"] .r4ss-policy{padding:4px 9px!important;font-size:9px!important}
body.r4-shell.auth-authenticated[data-r4-view="sessions"] .r4ss-policy select{height:28px!important}
body.r4-shell.auth-authenticated[data-r4-view="sessions"] .r4ss-policy-line{padding:4px 9px!important;font-size:9px!important;grid-template-columns:1fr 36px 1fr!important}
body.r4-shell.auth-authenticated[data-r4-view="sessions"] .r4ss-policy-line select{height:26px!important}
body.r4-shell.auth-authenticated[data-r4-view="sessions"] .r4ss-events ul{padding:2px 8px!important}
body.r4-shell.auth-authenticated[data-r4-view="sessions"] .r4ss-events li{height:22px!important;font-size:8.2px!important;grid-template-columns:8px 1.1fr .7fr .9fr .65fr!important}
body.r4-shell.auth-authenticated[data-r4-view="sessions"] .r4ss-quick>div{height:44px!important;padding:4px 6px!important}
body.r4-shell.auth-authenticated[data-r4-view="sessions"] .r4ss-quick button{font-size:7.7px!important;cursor:pointer!important;pointer-events:auto!important}
body.r4-shell.auth-authenticated[data-r4-view="sessions"] .r4ss-toast{z-index:999999!important}

/* AGROLOGIX R4 - SECURITY SESSIONS R4 POLICIES INLINE VIEW */
body.r4-shell.auth-authenticated[data-r4-view="sessions"] .r4ss-policy-actions{
 margin-left:auto!important;display:flex!important;gap:5px!important
}
body.r4-shell.auth-authenticated[data-r4-view="sessions"] .r4ss-policy-actions button{
 margin-left:0!important;height:27px!important;padding:0 8px!important;cursor:pointer!important;pointer-events:auto!important
}
body.r4-shell.auth-authenticated[data-r4-view="sessions"] #r4ssSavePolicies{
 background:#079653!important;color:#fff!important;border-color:#079653!important
}
body.r4-shell.auth-authenticated[data-r4-view="sessions"] .r4ss-switch:not(:disabled),
body.r4-shell.auth-authenticated[data-r4-view="sessions"] .r4ss-policy select:not(:disabled),
body.r4-shell.auth-authenticated[data-r4-view="sessions"] .r4ss-policy-line select:not(:disabled){
 cursor:pointer!important;pointer-events:auto!important
}
body.r4-shell.auth-authenticated[data-r4-view="sessions"] .r4ss-inline-detail{
 margin:4px 7px 6px!important;padding:6px 8px!important;border:1px solid #b9ddcb!important;border-radius:6px!important;
 background:#eef9f4!important;color:#123c75!important;display:grid!important;grid-template-columns:1.1fr .7fr 1fr 1fr 24px!important;
 gap:7px!important;align-items:center!important;font-size:8.8px!important
}
body.r4-shell.auth-authenticated[data-r4-view="sessions"] .r4ss-inline-detail[hidden]{display:none!important}
body.r4-shell.auth-authenticated[data-r4-view="sessions"] .r4ss-inline-detail button{
 width:22px!important;height:22px!important;border:0!important;background:transparent!important;color:#0b56a4!important;
 cursor:pointer!important;font-size:17px!important
}
body.r4-shell.auth-authenticated[data-r4-view="sessions"] .r4ss-table tr.selected td{background:#e8f8f0!important}

/* AGROLOGIX R4 - APPEARANCE PREFERENCES MOCKUP AUTHORITY R2 */
body.r4-shell.auth-authenticated[data-r4-view="appearance"]{height:100vh!important;overflow:hidden!important}
body.r4-shell.auth-authenticated[data-r4-view="appearance"] #r3bContent{height:calc(100vh - 58px)!important;overflow:hidden!important}
body.r4-shell.auth-authenticated[data-r4-view="appearance"] #r3bContent .r4aa-page{height:100%!important;display:grid!important;grid-template-rows:auto minmax(0,1fr)!important;overflow:hidden!important}
body.r4-shell.auth-authenticated[data-r4-view="appearance"] #r3bContent .r4aa-content>.r4aa-section-head{display:none!important}
body.r4-shell.auth-authenticated[data-r4-view="appearance"] #r3bContent .r4aa-content{padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;overflow:hidden!important}
body.r4-shell.auth-authenticated[data-r4-view="appearance"] #r3bContent .r4aa-body{min-height:0!important;overflow:hidden!important}
.r4ap-page{height:100%;display:grid;grid-template-rows:44px 76px minmax(0,1fr) 36px;gap:6px;color:#08235d;background:#fff;overflow:hidden}
.r4ap-heading h2{margin:0;font-size:23px;line-height:1;color:#061b57}.r4ap-heading p{margin:4px 0 0;font-size:9px;color:#52729a}
.r4ap-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.r4ap-kpis button{height:76px;border:1px solid #d6e2ea;border-radius:7px;background:#fff;display:grid;grid-template-columns:39px 1fr 13px;align-items:center;text-align:left;padding:8px 10px;color:#0b2d68;cursor:pointer}.r4ap-kpis .r4ap-icon{width:31px;height:31px}.r4ap-kpis small{display:block;font-size:8px}.r4ap-kpis strong{display:block;font-size:12px;margin-top:2px}.r4ap-kpis span{display:block;font-size:7.5px;color:#5a77a0;margin-top:4px}.r4ap-kpis b{font-size:18px}
.r4ap-grid{min-height:0;display:grid;grid-template-columns:1fr 1fr 1fr;grid-template-rows:minmax(0,1.15fr) minmax(0,.85fr);gap:7px;overflow:hidden}.r4ap-card{border:1px solid #d7e4eb;border-radius:7px;background:#fff;min-height:0;overflow:hidden}.r4ap-card h3{height:34px;margin:0;background:#f0fbf6;padding:0 9px;display:flex;align-items:center;gap:7px;font-size:11px;color:#071e5b}.r4ap-card h3>.r4ap-icon{width:21px;height:21px}.r4ap-card h3 span{display:block}.r4ap-card h3 small{display:block;font-size:7.5px;color:#627d9e;font-weight:400;margin-top:1px}
.r4ap-themes{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;padding:6px}.r4ap-theme{border:1px solid #d6e2ea;border-radius:7px;background:#fff;padding:4px;color:#0b2d68;cursor:pointer}.r4ap-theme.selected{border:2px solid #0aa260;box-shadow:0 0 0 2px #daf3e7 inset}.r4ap-theme-preview{height:42px;border-radius:5px;display:block;margin-bottom:4px;position:relative;overflow:hidden}.r4ap-theme-preview.light{background:linear-gradient(90deg,#f5f8fb 25%,#fff 25%)}.r4ap-theme-preview.dark{background:linear-gradient(90deg,#10263b 25%,#15354f 25%)}.r4ap-theme-preview.system{background:linear-gradient(90deg,#f5f8fb 0 50%,#15354f 50%)}.r4ap-theme strong{display:block;font-size:9px}.r4ap-theme small{display:block;font-size:7.3px;color:#627d9e;line-height:1.1;margin-top:2px}.r4ap-colors{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:2px 8px}.r4ap-colors label{font-size:8px}.r4ap-swatches{display:flex;gap:6px;margin-top:5px}.r4ap-swatches button{width:18px;height:18px;border-radius:50%;border:0;background:var(--sw);cursor:pointer;position:relative}.r4ap-swatches button.selected:after{content:"✓";position:absolute;inset:0;display:grid;place-items:center;color:#fff;font-size:10px;font-weight:800}
.r4ap-brand-row{display:grid;grid-template-columns:1.05fr 1fr;gap:7px;padding:6px}.r4ap-logo-box{height:54px;border:1px solid #d9e4eb;border-radius:6px;display:grid;place-items:center}.r4ap-logo-box img{max-width:84%;max-height:42px}.r4ap-logo-actions{display:grid;grid-template-rows:25px 25px 1fr;gap:3px}.r4ap-logo-actions button{border:1px solid #d0dce7;border-radius:5px;background:#fff;color:#0b4d96;font-size:7.5px;text-align:left;padding:0 7px;display:flex;align-items:center;gap:5px;cursor:pointer}.r4ap-logo-actions small{font-size:7px;color:#617d9e}.r4ap-card>label{display:block;font-size:8px;padding:0 7px 5px}.r4ap-card>label input{display:block;width:100%;height:25px;margin-top:2px;border:1px solid #d5e1ea;border-radius:5px;padding:0 7px;color:#123c75}
.r4ap-regional{padding:6px;display:grid;gap:3px}.r4ap-regional label{display:grid;grid-template-columns:1fr 1.8fr;align-items:center;font-size:8px}.r4ap-regional select{height:24px;border:1px solid #d5e1ea;border-radius:5px;background:#fff;color:#123c75;padding:0 5px}
.r4ap-radio-list{padding:5px 8px}.r4ap-radio-list label{height:32px;display:grid;grid-template-columns:20px 1fr;grid-template-rows:16px 14px;align-items:center;font-size:8.5px;cursor:pointer}.r4ap-radio-list input{display:none}.r4ap-radio-list label>span{grid-row:1/3;width:14px;height:14px;border:1px solid #5a7aa7;border-radius:50%;position:relative}.r4ap-radio-list input:checked+span:after{content:"";position:absolute;inset:3px;border-radius:50%;background:#0aa260}.r4ap-radio-list small{color:#607b9e;font-size:7.5px}.r4ap-reset-defaults{margin:0 8px;height:27px;border:1px solid #cddbe7;border-radius:5px;background:#fff;color:#114c94;font-size:8px;display:flex;align-items:center;gap:5px;padding:0 8px;cursor:pointer}
.r4ap-widget-list{padding:3px 8px}.r4ap-widget-list label{height:21px;display:grid;grid-template-columns:17px 1fr 18px;align-items:center;border-bottom:1px solid #edf2f5;font-size:8px;cursor:pointer}.r4ap-widget-list input{display:none}.r4ap-widget-list span{width:12px;height:12px;border:1px solid #72a58e;border-radius:3px;position:relative}.r4ap-widget-list input:checked+span{background:#0a9a5b}.r4ap-widget-list input:checked+span:after{content:"✓";color:#fff;position:absolute;font-size:8px;left:2px;top:-1px}.r4ap-widget-list i{font-style:normal;color:#0b56a4;font-weight:800}
.r4ap-preview{margin:5px 7px;height:105px;border:1px solid #d7e4eb;border-radius:6px;display:grid;grid-template-columns:30% 1fr;overflow:hidden;background:#f7fafb}.r4ap-preview-side{background:#0e314a;padding:7px 5px}.r4ap-preview-side img{width:90%;filter:brightness(0) invert(1)}.r4ap-preview-side span{display:block;height:11px;margin-top:6px;background:#144a68;border-radius:2px}.r4ap-preview-main{padding:6px;background:#fff}.r4ap-preview[data-theme="dark"] .r4ap-preview-main{background:#10273b}.r4ap-preview-top{height:17px;border-bottom:1px solid #edf2f5}.r4ap-preview-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:4px;margin-top:6px}.r4ap-preview-kpis b{height:25px;border:1px solid #e1e9ef;border-radius:4px;display:grid;place-items:center;color:var(--r4ap-primary,#0a8f59);font-size:12px}.r4ap-preview-chart{display:grid;grid-template-columns:1fr 1fr 1fr;gap:4px;margin-top:6px}.r4ap-preview-chart span{height:34px;border:1px solid #e1e9ef;border-radius:4px;background:linear-gradient(145deg,transparent 55%,var(--r4ap-accent,#23a8c6) 56% 59%,transparent 60%)}
.r4ap-footer{display:grid;grid-template-columns:1fr 90px 125px;gap:7px;align-items:center;border-top:1px solid #e4ebf0;padding-top:4px}.r4ap-footer button{height:29px;border-radius:6px;border:1px solid #d1dde7;background:#fff;color:#0c3974;font-size:8.5px;font-weight:700;cursor:pointer}.r4ap-footer #r4apSave{background:#079653;color:#fff;border-color:#079653;display:flex;align-items:center;justify-content:center;gap:5px}.r4ap-footer #r4apFeedback{font-size:8px}.r4ap-footer #r4apFeedback.ok{color:#087f4c}.r4ap-footer #r4apFeedback.warn{color:#8b6200}
.r4ap-icon{display:inline-block;width:16px;height:16px;background-repeat:no-repeat;background-position:center;background-size:contain;flex:0 0 auto}.r4ap-icon.palette{background-image:url("/r4/advanced-admin-icons-hf15/appearance.png")}.r4ap-icon.globe,.r4ap-icon.clock{background-image:url("/r4/backup-icons-hf27/kpi_calendar.png")}.r4ap-icon.monitor,.r4ap-icon.image,.r4ap-icon.save{background-image:url("/r4/backup-icons-hf27/entity_reporte.png")}.r4ap-icon.menu{background-image:url("/r4/backup-icons-hf27/panel_config_gear.png")}.r4ap-icon.grid{background-image:url("/r4/backup-icons-hf27/entity_finca.png")}.r4ap-icon.eye{background-image:url("/r4/backup-icons-hf27/action_view.png")}.r4ap-icon.upload,.r4ap-icon.reset{background-image:url("/r4/backup-icons-hf27/tool_restore.png")}

/* AGX_R4_APPEARANCE_R3: scoped to appearance; approved shell unchanged. */
body[data-r4-view="appearance"] .r4ap-page{height:calc(100dvh - 278px);grid-template-rows:48px 76px minmax(0,1fr) 36px;gap:10px;padding:0 0 4px;box-sizing:border-box}
.r4ap-heading h2{font-size:27px;line-height:30px}.r4ap-heading p{font-size:14px;line-height:18px;margin:0}
.r4ap-kpis{gap:11px}.r4ap-kpis button{grid-template-columns:54px 1fr 14px;padding:10px 16px}.r4ap-kpis .r4ap-icon{width:39px;height:39px}.r4ap-kpis small{font-size:12px}.r4ap-kpis strong{font-size:14px}.r4ap-kpis span{font-size:11px}
.r4ap-grid{gap:10px;grid-template-rows:minmax(0,1.48fr) minmax(0,1fr)}
.r4ap-card h3{height:47px;font-size:14px;padding:0 14px;gap:12px;background:linear-gradient(90deg,#f0faf6,#f4fafb)}.r4ap-card h3 small{font-size:11px;line-height:14px}.r4ap-card h3>.r4ap-icon{width:24px;height:24px}
.r4ap-icon{color:#00805b;background-image:none!important;fill:none;stroke:currentColor;stroke-width:2.3;stroke-linecap:round;stroke-linejoin:round}.r4ap-icon.palette{background-image:url('/r4/advanced-admin-icons-hf15/appearance.png')!important;filter:brightness(0) saturate(100%) invert(35%) sepia(74%) saturate(731%) hue-rotate(112deg)}
.r4ap-icon.grid{fill:currentColor;stroke:none}.r4ap-logo-actions .r4ap-icon,.r4ap-reset-defaults .r4ap-icon{color:#0038c0;width:16px;height:16px}.r4ap-footer .r4ap-icon{color:#fff}
.r4ap-themes{padding:7px;gap:8px}.r4ap-theme{padding:5px}.r4ap-theme-preview{height:76px;display:flex;border:1px solid #dce6ed}.r4ap-theme strong{font-size:13px}.r4ap-theme small{font-size:11px;line-height:15px;max-width:110px;margin:3px auto 0}
.r4ap-mini-side{width:32%;background:#edf3f8;border-right:1px solid #e4edf5;position:relative}.r4ap-mini-side:before{content:"";position:absolute;top:8px;left:7px;width:20px;height:7px;border-radius:3px;background:#acc0d4}.r4ap-mini-content{flex:1;display:grid;gap:5px;padding:20px 7px 7px;background:#f8fbfd}.r4ap-mini-content i{height:5px;background:linear-gradient(90deg,#b8cde4 0 45%,#e2edf7 45%);border:3px solid #edf3f9;box-sizing:content-box;border-radius:2px}.dark .r4ap-mini-side{background:#0b253d}.dark .r4ap-mini-content{background:#12334b}.dark .r4ap-mini-content i{background:linear-gradient(90deg,#325d70 45%,#264959 45%);border-color:#1b4055}.system .r4ap-mini-content{background:linear-gradient(90deg,#f8fbfd 30%,#12334b 30%)}.system .r4ap-mini-content i{background:linear-gradient(90deg,#d1deec 30%,#35596d 30%);border-color:transparent}
.r4ap-colors{padding:4px 12px;gap:12px}.r4ap-colors label{font-size:12px}.r4ap-swatches{gap:9px;margin-top:10px}.r4ap-swatches button{width:25px;height:25px}.r4ap-swatches button.selected:after{content:"";inset:8px 7px 9px;border:solid white;border-width:0 0 2px 2px;transform:rotate(-45deg);display:block}
.r4ap-brand-row{padding:8px 14px;gap:14px}.r4ap-logo-box{height:95px}.r4ap-logo-box img{max-height:75px;max-width:92%;object-fit:contain}.r4ap-logo-actions{grid-template-rows:31px 31px 1fr;gap:6px}.r4ap-logo-actions button{font-size:11px}.r4ap-logo-actions small{font-size:10px;line-height:12px}.r4ap-card>label{font-size:12px;padding:0 14px 6px}.r4ap-card>label input{height:30px;font-size:12px}
.r4ap-regional{padding:8px 14px;gap:5px}.r4ap-regional label{font-size:12px;grid-template-columns:1fr 1.85fr}.r4ap-regional select{height:29px;font-size:11px}
.r4ap-radio-list{padding:8px 14px}.r4ap-radio-list label{height:37px;font-size:12px;grid-template-columns:30px 1fr;grid-template-rows:18px 17px;position:relative}.r4ap-radio-list small{font-size:11px}.r4ap-radio-list label>span{width:17px;height:17px}.r4ap-radio-list input,.r4ap-widget-list input{display:block;position:absolute;opacity:0;width:18px;height:18px;cursor:pointer}.r4ap-radio-list input:focus-visible+span,.r4ap-widget-list input:focus-visible+span{outline:2px solid #2357dc;outline-offset:2px}.r4ap-reset-defaults{font-size:11px;height:31px;margin:0 14px}
.r4ap-widget-list{padding:8px 14px}.r4ap-widget-list label{height:23px;font-size:11px;grid-template-columns:30px 1fr 20px;position:relative}.r4ap-widget-list span{width:15px;height:15px}.r4ap-widget-list input:checked+span:after{content:"";width:7px;height:4px;left:3px;top:3px;border:solid white;border-width:0 0 2px 2px;transform:rotate(-45deg)}.r4ap-grip{width:9px;height:15px;background:radial-gradient(circle,#003b84 1px,transparent 1.5px) 0 0/4px 4px}
.r4ap-preview{height:calc(100% - 59px);margin:7px 12px;grid-template-columns:24% 1fr;min-height:90px}.r4ap-preview-side{padding:8px;background:#0b263b}.r4ap-preview-side img{width:100%;height:25px;object-fit:contain;filter:none}.r4ap-preview-side span{height:17px;margin-top:7px;background:linear-gradient(90deg,#f0f6fa 0 8px,transparent 8px 14px,#66879d 14px 65%,transparent 65%);border-radius:2px}.r4ap-preview-side span:first-of-type{background:linear-gradient(90deg,#fff 0 8px,transparent 8px 14px,#70bda8 14px 80%,transparent 80%);box-shadow:0 0 0 5px var(--r4ap-primary,#00855d)}.r4ap-preview-main{padding:7px;position:relative}.r4ap-preview-top{height:22px;display:flex;align-items:center;gap:7px}.r4ap-preview-top>span:first-child{width:38px;height:5px;background:#d8e5ef;border-radius:3px}.r4ap-mini-search{margin-left:auto;width:60px;height:16px;border:1px solid #d9e5ed;border-radius:8px}.r4ap-preview-top img{width:12px;height:12px}.r4ap-preview-top b{font-size:6px;border-radius:50%;background:var(--r4ap-primary);color:white;padding:4px}
.r4ap-preview-kpis{gap:5px;margin-top:8px}.r4ap-preview-kpis b{height:34px;display:flex;padding:5px;gap:5px;background:#fff;box-sizing:border-box}.r4ap-preview-kpis img{width:18px;height:18px;object-fit:contain}.r4ap-preview-kpis i{width:60%;height:16px;background:repeating-linear-gradient(#d4e2ee 0 3px,transparent 3px 6px);border-radius:3px}
.r4ap-preview-chart{grid-template-columns:1fr .9fr 1.5fr;gap:6px;margin-top:8px}.r4ap-preview-chart>div{height:53px;border:1px solid #e1e9ef;border-radius:4px;position:relative;overflow:hidden;background:#fff}.r4ap-preview-chart>div>i{display:block;width:40%;height:4px;margin:7px;background:#dce8f0}.r4ap-preview-chart svg{width:90%;height:35px;margin:0 5px;fill:none;stroke:var(--r4ap-primary);stroke-width:1.5}.r4ap-donut{display:block;margin:auto;width:30px;height:30px;border:0!important;border-radius:50%;background:conic-gradient(var(--r4ap-primary) 0 30%,var(--r4ap-accent) 30% 75%,#dce9f7 75%)!important;position:relative}.r4ap-donut:after{content:"";position:absolute;inset:5px;background:white;border-radius:50%}.r4ap-preview-chart ul{list-style:none;margin:7px;padding:0}.r4ap-preview-chart li{height:4px;background:#d9e8f0;margin:6px 0;border-left:4px solid var(--r4ap-accent)}.r4ap-preview-values{font-size:7px;color:#51728c;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding-top:4px}.r4ap-preview [hidden]{display:none!important}.r4ap-preview[data-sidebar="compact"]{grid-template-columns:12% 1fr}.r4ap-preview[data-sidebar="compact"] .r4ap-preview-side img{height:15px}.r4ap-preview[data-density="compact"] .r4ap-preview-kpis b{height:26px}.r4ap-preview[data-theme="dark"] .r4ap-preview-main,.r4ap-preview[data-theme="dark"] .r4ap-preview-chart>div,.r4ap-preview[data-theme="dark"] .r4ap-preview-kpis b{background:#12334b;border-color:#315568}.r4ap-preview[data-theme="dark"] .r4ap-preview-values{color:#bfd5e5}
.r4ap-footer{grid-template-columns:1fr 110px 165px;padding-top:0;border:0}.r4ap-footer button{height:33px;font-size:12px}.r4ap-footer #r4apFeedback{font-size:11px}
@media(max-height:800px){.r4ap-theme-preview{height:48px}.r4ap-card h3{height:35px}.r4ap-brand-row{padding:5px 10px}.r4ap-logo-box{height:60px}.r4ap-logo-actions{grid-template-rows:25px 25px 1fr}.r4ap-card>label input,.r4ap-regional select{height:24px}.r4ap-regional{gap:3px}.r4ap-radio-list label{height:29px}.r4ap-widget-list label{height:20px}.r4ap-page{gap:6px}.r4ap-preview{height:calc(100% - 45px)}}
.r4ap-radio-list{padding:5px 14px}.r4ap-radio-list label{height:30px;grid-template-rows:16px 14px}.r4ap-reset-defaults{height:29px}.r4ap-widget-list{padding:5px 14px}.r4ap-widget-list label{height:20px}.r4ap-preview{height:calc(100% - 63px)}
body[data-preference-theme="dark"] .r4ap-page,body[data-preference-theme="dark"] .r4ap-card,body[data-preference-theme="dark"] .r4ap-kpis button{background:#12334b;color:#e1edf5}body[data-preference-theme="dark"] .r4ap-card h3{background:#194657}body[data-preference-theme="dark"] .r4ap-heading h2,body[data-preference-theme="dark"] .r4ap-card h3,body[data-preference-theme="dark"] .r4ap-kpis strong{color:#e1edf5}body[data-preference-theme] .r4x-nav-item.active{background:var(--agx-primary)!important}body[data-preference-sidebar="compact"] .sidebar{width:78px!important}body[data-preference-sidebar="compact"] .workspace{left:78px!important}body[data-preference-sidebar="compact"] .r4x-nav-item>span:last-child{display:none}body[data-preference-sidebar="compact"] .r4x-nav-item{justify-content:center;padding-left:0!important;padding-right:0!important}body[data-preference-theme] .r4-admin-card[hidden],body[data-preference-theme] .r4-admin-kpi[hidden]{display:none!important}@media(min-width:821px) and (max-width:1200px){body[data-preference-sidebar="auto"] .sidebar{width:78px!important}body[data-preference-sidebar="auto"] .workspace{left:78px!important}body[data-preference-sidebar="auto"] .r4x-nav-item>span:last-child{display:none}}
body.r4-shell.auth-authenticated[data-preference-sidebar="compact"] #sidebar.sidebar{width:78px!important;min-width:78px!important;max-width:78px!important}body.r4-shell.auth-authenticated[data-preference-sidebar="compact"] .workspace{left:78px!important}@media(min-width:821px) and (max-width:1200px){body.r4-shell.auth-authenticated[data-preference-sidebar="auto"] #sidebar.sidebar{width:78px!important;min-width:78px!important;max-width:78px!important}body.r4-shell.auth-authenticated[data-preference-sidebar="auto"] .workspace{left:78px!important}}
.r4ap-kpis b img{width:14px;height:14px;object-fit:contain}

/* AGROLOGIX R4 - APPEARANCE R4 VISUAL PARITY ONLY */
body.r4-shell.auth-authenticated[data-r4-view="appearance"] #r3bContent{overflow:hidden!important}
body.r4-shell.auth-authenticated[data-r4-view="appearance"] .r4ap-page{grid-template-rows:50px 86px minmax(0,1fr) 42px!important;gap:8px!important;padding-bottom:2px!important}
body.r4-shell.auth-authenticated[data-r4-view="appearance"] .r4ap-heading h2{font-size:26px!important;line-height:1.05!important}
body.r4-shell.auth-authenticated[data-r4-view="appearance"] .r4ap-heading p{font-size:11px!important;line-height:1.25!important;margin-top:5px!important}
body.r4-shell.auth-authenticated[data-r4-view="appearance"] .r4ap-kpis{gap:10px!important}
body.r4-shell.auth-authenticated[data-r4-view="appearance"] .r4ap-kpis button{height:86px!important;grid-template-columns:46px 1fr 16px!important;padding:11px 13px!important;border-radius:8px!important}
body.r4-shell.auth-authenticated[data-r4-view="appearance"] .r4ap-kpis .r4ap-icon{width:37px!important;height:37px!important}
body.r4-shell.auth-authenticated[data-r4-view="appearance"] .r4ap-kpis small{font-size:10px!important}
body.r4-shell.auth-authenticated[data-r4-view="appearance"] .r4ap-kpis strong{font-size:15px!important;line-height:1.12!important}
body.r4-shell.auth-authenticated[data-r4-view="appearance"] .r4ap-kpis span{font-size:9px!important;line-height:1.15!important}
body.r4-shell.auth-authenticated[data-r4-view="appearance"] .r4ap-grid{gap:10px!important;grid-template-rows:minmax(0,1.08fr) minmax(0,.92fr)!important}
body.r4-shell.auth-authenticated[data-r4-view="appearance"] .r4ap-card{border-radius:8px!important}
body.r4-shell.auth-authenticated[data-r4-view="appearance"] .r4ap-card h3{height:42px!important;padding:0 11px!important;gap:8px!important;font-size:12.5px!important}
body.r4-shell.auth-authenticated[data-r4-view="appearance"] .r4ap-card h3>.r4ap-icon{width:24px!important;height:24px!important}
body.r4-shell.auth-authenticated[data-r4-view="appearance"] .r4ap-card h3 small{font-size:8.5px!important;line-height:1.15!important}
body.r4-shell.auth-authenticated[data-r4-view="appearance"] .r4ap-themes{gap:9px!important;padding:8px 9px 6px!important}
body.r4-shell.auth-authenticated[data-r4-view="appearance"] .r4ap-theme{padding:6px!important;border-radius:8px!important}
body.r4-shell.auth-authenticated[data-r4-view="appearance"] .r4ap-theme-preview{height:52px!important;margin-bottom:5px!important}
body.r4-shell.auth-authenticated[data-r4-view="appearance"] .r4ap-theme strong{font-size:10.5px!important}
body.r4-shell.auth-authenticated[data-r4-view="appearance"] .r4ap-theme small{font-size:8.3px!important;line-height:1.15!important}
body.r4-shell.auth-authenticated[data-r4-view="appearance"] .r4ap-colors{padding:4px 10px 7px!important;gap:13px!important}
body.r4-shell.auth-authenticated[data-r4-view="appearance"] .r4ap-colors label{font-size:9.3px!important}
body.r4-shell.auth-authenticated[data-r4-view="appearance"] .r4ap-swatches{gap:8px!important;margin-top:6px!important}
body.r4-shell.auth-authenticated[data-r4-view="appearance"] .r4ap-swatches button{width:22px!important;height:22px!important}
body.r4-shell.auth-authenticated[data-r4-view="appearance"] .r4ap-brand-row{padding:8px 9px 6px!important;gap:9px!important}
body.r4-shell.auth-authenticated[data-r4-view="appearance"] .r4ap-logo-box{height:68px!important}
body.r4-shell.auth-authenticated[data-r4-view="appearance"] .r4ap-logo-box img{max-width:92%!important;max-height:58px!important;object-fit:contain!important}
body.r4-shell.auth-authenticated[data-r4-view="appearance"] .r4ap-logo-actions{grid-template-rows:30px 30px 1fr!important;gap:4px!important}
body.r4-shell.auth-authenticated[data-r4-view="appearance"] .r4ap-logo-actions button{font-size:8.8px!important}
body.r4-shell.auth-authenticated[data-r4-view="appearance"] .r4ap-logo-actions small{font-size:7.8px!important;line-height:1.15!important}
body.r4-shell.auth-authenticated[data-r4-view="appearance"] .r4ap-card>label{font-size:9.2px!important;padding:0 9px 6px!important}
body.r4-shell.auth-authenticated[data-r4-view="appearance"] .r4ap-card>label input{height:30px!important;font-size:9.8px!important}
body.r4-shell.auth-authenticated[data-r4-view="appearance"] .r4ap-regional{padding:8px 9px!important;gap:5px!important}
body.r4-shell.auth-authenticated[data-r4-view="appearance"] .r4ap-regional label{font-size:9.3px!important;gap:8px!important}
body.r4-shell.auth-authenticated[data-r4-view="appearance"] .r4ap-regional select{height:30px!important;font-size:9.3px!important}
body.r4-shell.auth-authenticated[data-r4-view="appearance"] .r4ap-radio-list{padding:8px 10px 4px!important}
body.r4-shell.auth-authenticated[data-r4-view="appearance"] .r4ap-radio-list label{height:39px!important;grid-template-columns:22px 1fr!important;grid-template-rows:19px 16px!important}
body.r4-shell.auth-authenticated[data-r4-view="appearance"] .r4ap-radio-list b{font-size:9.8px!important}
body.r4-shell.auth-authenticated[data-r4-view="appearance"] .r4ap-radio-list small{font-size:8.2px!important}
body.r4-shell.auth-authenticated[data-r4-view="appearance"] .r4ap-reset-defaults{height:31px!important;margin:1px 10px 7px!important;font-size:8.8px!important}
body.r4-shell.auth-authenticated[data-r4-view="appearance"] .r4ap-widget-list{padding:5px 9px 7px!important}
body.r4-shell.auth-authenticated[data-r4-view="appearance"] .r4ap-widget-list label{height:25px!important;font-size:9.2px!important;grid-template-columns:19px 1fr 22px!important}
body.r4-shell.auth-authenticated[data-r4-view="appearance"] .r4ap-widget-list span{width:14px!important;height:14px!important}
body.r4-shell.auth-authenticated[data-r4-view="appearance"] .r4ap-widget-list i{font-size:12px!important}
body.r4-shell.auth-authenticated[data-r4-view="appearance"] .r4ap-preview{height:135px!important;margin:7px 9px!important;grid-template-columns:31% 1fr!important}
body.r4-shell.auth-authenticated[data-r4-view="appearance"] .r4ap-preview-side{padding:8px 6px!important}
body.r4-shell.auth-authenticated[data-r4-view="appearance"] .r4ap-preview-side img{width:94%!important;max-height:34px!important;object-fit:contain!important}
body.r4-shell.auth-authenticated[data-r4-view="appearance"] .r4ap-preview-side span{height:13px!important;margin-top:7px!important}
body.r4-shell.auth-authenticated[data-r4-view="appearance"] .r4ap-preview-main{padding:8px!important}
body.r4-shell.auth-authenticated[data-r4-view="appearance"] .r4ap-preview-kpis{gap:6px!important;margin-top:7px!important}
body.r4-shell.auth-authenticated[data-r4-view="appearance"] .r4ap-preview-chart{gap:6px!important;margin-top:7px!important}
body.r4-shell.auth-authenticated[data-r4-view="appearance"] .r4ap-footer{grid-template-columns:1fr 104px 148px!important;gap:9px!important;padding-top:5px!important}
body.r4-shell.auth-authenticated[data-r4-view="appearance"] .r4ap-footer button{height:33px!important;font-size:9.5px!important}
body.r4-shell.auth-authenticated[data-r4-view="appearance"] .r4ap-footer #r4apFeedback{font-size:8.8px!important}

/* AGROLOGIX R4 - APPEARANCE R4.1 VISUAL GEOMETRY ONLY
   Preserve R3 functional PASS and R4 typography.
   Goal: expose all six cards + defaults + all widgets + preview + footer in one viewport.
*/
body.r4-shell.auth-authenticated[data-r4-view="appearance"] .r4ap-page{
  grid-template-rows:44px 78px minmax(0,1fr) 38px!important;
  gap:6px!important;
}
body.r4-shell.auth-authenticated[data-r4-view="appearance"] .r4ap-heading h2{
  font-size:25px!important;
  line-height:1!important;
}
body.r4-shell.auth-authenticated[data-r4-view="appearance"] .r4ap-heading p{
  margin-top:3px!important;
}

body.r4-shell.auth-authenticated[data-r4-view="appearance"] .r4ap-kpis{
  gap:8px!important;
}
body.r4-shell.auth-authenticated[data-r4-view="appearance"] .r4ap-kpis button{
  height:78px!important;
  grid-template-columns:42px 1fr 14px!important;
  padding:8px 11px!important;
}
body.r4-shell.auth-authenticated[data-r4-view="appearance"] .r4ap-kpis .r4ap-icon{
  width:34px!important;height:34px!important;
}
body.r4-shell.auth-authenticated[data-r4-view="appearance"] .r4ap-kpis strong{
  font-size:14px!important;
}

body.r4-shell.auth-authenticated[data-r4-view="appearance"] .r4ap-grid{
  gap:7px!important;
  grid-template-rows:minmax(0,.94fr) minmax(0,1.06fr)!important;
}
body.r4-shell.auth-authenticated[data-r4-view="appearance"] .r4ap-card h3{
  height:36px!important;
  padding:0 9px!important;
}
body.r4-shell.auth-authenticated[data-r4-view="appearance"] .r4ap-card h3>.r4ap-icon{
  width:21px!important;height:21px!important;
}

/* First row: reclaim height without returning to tiny R2 typography */
body.r4-shell.auth-authenticated[data-r4-view="appearance"] .r4ap-themes{
  gap:7px!important;
  padding:6px 8px 4px!important;
}
body.r4-shell.auth-authenticated[data-r4-view="appearance"] .r4ap-theme-preview{
  height:44px!important;
  margin-bottom:4px!important;
}
body.r4-shell.auth-authenticated[data-r4-view="appearance"] .r4ap-theme strong{
  font-size:10px!important;
}
body.r4-shell.auth-authenticated[data-r4-view="appearance"] .r4ap-theme small{
  font-size:8px!important;
}
body.r4-shell.auth-authenticated[data-r4-view="appearance"] .r4ap-colors{
  padding:2px 8px 5px!important;
}
body.r4-shell.auth-authenticated[data-r4-view="appearance"] .r4ap-swatches{
  margin-top:4px!important;
  gap:6px!important;
}
body.r4-shell.auth-authenticated[data-r4-view="appearance"] .r4ap-swatches button{
  width:20px!important;height:20px!important;
}

body.r4-shell.auth-authenticated[data-r4-view="appearance"] .r4ap-brand-row{
  padding:6px 8px 4px!important;
  gap:7px!important;
}
body.r4-shell.auth-authenticated[data-r4-view="appearance"] .r4ap-logo-box{
  height:56px!important;
}
body.r4-shell.auth-authenticated[data-r4-view="appearance"] .r4ap-logo-box img{
  max-height:48px!important;
}
body.r4-shell.auth-authenticated[data-r4-view="appearance"] .r4ap-logo-actions{
  grid-template-rows:25px 25px 1fr!important;
  gap:3px!important;
}
body.r4-shell.auth-authenticated[data-r4-view="appearance"] .r4ap-logo-actions button{
  font-size:8.5px!important;
}
body.r4-shell.auth-authenticated[data-r4-view="appearance"] .r4ap-logo-actions small{
  font-size:7.5px!important;
}
body.r4-shell.auth-authenticated[data-r4-view="appearance"] .r4ap-card>label{
  padding:0 8px 4px!important;
  font-size:9px!important;
}
body.r4-shell.auth-authenticated[data-r4-view="appearance"] .r4ap-card>label input{
  height:27px!important;
  margin-top:2px!important;
  font-size:9.5px!important;
}

body.r4-shell.auth-authenticated[data-r4-view="appearance"] .r4ap-regional{
  padding:6px 8px!important;
  gap:3px!important;
}
body.r4-shell.auth-authenticated[data-r4-view="appearance"] .r4ap-regional label{
  font-size:9px!important;
  gap:6px!important;
}
body.r4-shell.auth-authenticated[data-r4-view="appearance"] .r4ap-regional select{
  height:27px!important;
  font-size:9px!important;
}

/* Second row gets more room and must remain fully visible */
body.r4-shell.auth-authenticated[data-r4-view="appearance"] .r4ap-radio-list{
  padding:6px 9px 2px!important;
}
body.r4-shell.auth-authenticated[data-r4-view="appearance"] .r4ap-radio-list label{
  height:34px!important;
  grid-template-columns:21px 1fr!important;
  grid-template-rows:17px 14px!important;
}
body.r4-shell.auth-authenticated[data-r4-view="appearance"] .r4ap-radio-list b{
  font-size:9.5px!important;
}
body.r4-shell.auth-authenticated[data-r4-view="appearance"] .r4ap-radio-list small{
  font-size:8px!important;
}
body.r4-shell.auth-authenticated[data-r4-view="appearance"] .r4ap-reset-defaults{
  height:28px!important;
  margin:0 9px 5px!important;
  font-size:8.6px!important;
}

body.r4-shell.auth-authenticated[data-r4-view="appearance"] .r4ap-widget-list{
  padding:3px 8px 5px!important;
}
body.r4-shell.auth-authenticated[data-r4-view="appearance"] .r4ap-widget-list label{
  height:22px!important;
  font-size:9px!important;
  grid-template-columns:18px 1fr 21px!important;
}
body.r4-shell.auth-authenticated[data-r4-view="appearance"] .r4ap-widget-list span{
  width:13px!important;height:13px!important;
}

body.r4-shell.auth-authenticated[data-r4-view="appearance"] .r4ap-preview{
  height:116px!important;
  margin:5px 8px!important;
}
body.r4-shell.auth-authenticated[data-r4-view="appearance"] .r4ap-preview-side{
  padding:6px 5px!important;
}
body.r4-shell.auth-authenticated[data-r4-view="appearance"] .r4ap-preview-side img{
  max-height:29px!important;
}
body.r4-shell.auth-authenticated[data-r4-view="appearance"] .r4ap-preview-side span{
  height:11px!important;
  margin-top:5px!important;
}
body.r4-shell.auth-authenticated[data-r4-view="appearance"] .r4ap-preview-main{
  padding:6px!important;
}
body.r4-shell.auth-authenticated[data-r4-view="appearance"] .r4ap-preview-kpis{
  margin-top:5px!important;
  gap:5px!important;
}
body.r4-shell.auth-authenticated[data-r4-view="appearance"] .r4ap-preview-chart{
  margin-top:5px!important;
  gap:5px!important;
}

/* Footer remains visible but gives back vertical space */
body.r4-shell.auth-authenticated[data-r4-view="appearance"] .r4ap-footer{
  grid-template-columns:1fr 100px 144px!important;
  gap:8px!important;
  padding-top:3px!important;
}
body.r4-shell.auth-authenticated[data-r4-view="appearance"] .r4ap-footer button{
  height:31px!important;
  font-size:9.3px!important;
}

/* User's current 1722x863-class viewport */
@media (min-width:1600px) and (max-height:880px){
  body.r4-shell.auth-authenticated[data-r4-view="appearance"] .r4ap-page{
    grid-template-rows:42px 74px minmax(0,1fr) 36px!important;
    gap:5px!important;
  }
  body.r4-shell.auth-authenticated[data-r4-view="appearance"] .r4ap-kpis button{height:74px!important}
  body.r4-shell.auth-authenticated[data-r4-view="appearance"] .r4ap-grid{
    grid-template-rows:minmax(0,.90fr) minmax(0,1.10fr)!important;
    gap:6px!important;
  }
  body.r4-shell.auth-authenticated[data-r4-view="appearance"] .r4ap-card h3{height:34px!important}
  body.r4-shell.auth-authenticated[data-r4-view="appearance"] .r4ap-theme-preview{height:40px!important}
  body.r4-shell.auth-authenticated[data-r4-view="appearance"] .r4ap-logo-box{height:52px!important}
  body.r4-shell.auth-authenticated[data-r4-view="appearance"] .r4ap-logo-actions{grid-template-rows:23px 23px 1fr!important}
  body.r4-shell.auth-authenticated[data-r4-view="appearance"] .r4ap-regional select{height:25px!important}
  body.r4-shell.auth-authenticated[data-r4-view="appearance"] .r4ap-radio-list label{height:31px!important}
  body.r4-shell.auth-authenticated[data-r4-view="appearance"] .r4ap-widget-list label{height:20px!important}
  body.r4-shell.auth-authenticated[data-r4-view="appearance"] .r4ap-preview{height:102px!important}
  body.r4-shell.auth-authenticated[data-r4-view="appearance"] .r4ap-footer button{height:29px!important}
}

/* AGROLOGIX R4 - APPEARANCE R4.2 THEME COLORS VISIBILITY
   Visual-only delta: restore full Color principal / Color de acento swatch rows.
   Preserve R3 functional PASS and R4.1 geometry.
*/
body.r4-shell.auth-authenticated[data-r4-view="appearance"] .r4ap-grid{
  grid-template-rows:minmax(0,1.03fr) minmax(0,.97fr)!important;
}

/* Theme & colors gets enough internal height for the two swatch rows */
body.r4-shell.auth-authenticated[data-r4-view="appearance"] #r4apThemeCard{
  overflow:hidden!important;
}
body.r4-shell.auth-authenticated[data-r4-view="appearance"] #r4apThemeCard .r4ap-themes{
  padding:5px 8px 3px!important;
  gap:7px!important;
}
body.r4-shell.auth-authenticated[data-r4-view="appearance"] #r4apThemeCard .r4ap-theme-preview{
  height:36px!important;
  margin-bottom:3px!important;
}
body.r4-shell.auth-authenticated[data-r4-view="appearance"] #r4apThemeCard .r4ap-theme{
  padding:4px 5px!important;
}
body.r4-shell.auth-authenticated[data-r4-view="appearance"] #r4apThemeCard .r4ap-theme strong{
  font-size:9.8px!important;
  line-height:1.05!important;
}
body.r4-shell.auth-authenticated[data-r4-view="appearance"] #r4apThemeCard .r4ap-theme small{
  font-size:7.8px!important;
  line-height:1.05!important;
  margin-top:2px!important;
}

body.r4-shell.auth-authenticated[data-r4-view="appearance"] #r4apThemeCard .r4ap-colors{
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:10px!important;
  padding:2px 8px 7px!important;
  min-height:43px!important;
  align-items:end!important;
}
body.r4-shell.auth-authenticated[data-r4-view="appearance"] #r4apThemeCard .r4ap-colors label{
  display:block!important;
  font-size:8.8px!important;
  line-height:1.1!important;
  overflow:visible!important;
}
body.r4-shell.auth-authenticated[data-r4-view="appearance"] #r4apThemeCard .r4ap-swatches{
  display:flex!important;
  visibility:visible!important;
  opacity:1!important;
  align-items:center!important;
  gap:6px!important;
  margin-top:5px!important;
  min-height:21px!important;
  overflow:visible!important;
}
body.r4-shell.auth-authenticated[data-r4-view="appearance"] #r4apThemeCard .r4ap-swatches button{
  display:inline-block!important;
  visibility:visible!important;
  opacity:1!important;
  width:20px!important;
  min-width:20px!important;
  height:20px!important;
  min-height:20px!important;
  padding:0!important;
  flex:0 0 20px!important;
  border-radius:50%!important;
}

/* Current ~1720 x 860 browser class: give first row a little more room,
   while keeping complete second-row cards and footer visible. */
@media (min-width:1600px) and (max-height:880px){
  body.r4-shell.auth-authenticated[data-r4-view="appearance"] .r4ap-grid{
    grid-template-rows:minmax(0,1.01fr) minmax(0,.99fr)!important;
  }
  body.r4-shell.auth-authenticated[data-r4-view="appearance"] #r4apThemeCard .r4ap-theme-preview{
    height:34px!important;
  }
  body.r4-shell.auth-authenticated[data-r4-view="appearance"] #r4apThemeCard .r4ap-colors{
    min-height:41px!important;
    padding-bottom:5px!important;
  }
}

/* AGROLOGIX R4 - APPEARANCE R4.3 BOTTOM COMPACT THEME SWATCHES
   Visual-only delta:
   - compact the 3 bottom cards a little
   - give slightly more height to the top row
   - expose complete color circles in Tema y colores
   Preserve R3 functional PASS and all prior visual deltas.
*/

body.r4-shell.auth-authenticated[data-r4-view="appearance"] .r4ap-grid{
  grid-template-rows:minmax(0,1.08fr) minmax(0,.92fr)!important;
  gap:6px!important;
}

/* Tema y colores gets a bit more vertical room */
body.r4-shell.auth-authenticated[data-r4-view="appearance"] #r4apThemeCard .r4ap-themes{
  padding:4px 8px 2px!important;
}
body.r4-shell.auth-authenticated[data-r4-view="appearance"] #r4apThemeCard .r4ap-theme-preview{
  height:33px!important;
  margin-bottom:2px!important;
}
body.r4-shell.auth-authenticated[data-r4-view="appearance"] #r4apThemeCard .r4ap-colors{
  min-height:48px!important;
  padding:3px 8px 8px!important;
  align-items:end!important;
}
body.r4-shell.auth-authenticated[data-r4-view="appearance"] #r4apThemeCard .r4ap-swatches{
  min-height:22px!important;
  margin-top:6px!important;
}
body.r4-shell.auth-authenticated[data-r4-view="appearance"] #r4apThemeCard .r4ap-swatches button{
  width:20px!important;
  min-width:20px!important;
  height:20px!important;
  min-height:20px!important;
}

/* Compact the 3 cards below */
body.r4-shell.auth-authenticated[data-r4-view="appearance"] .r4ap-card h3{
  height:33px!important;
  padding:0 8px!important;
}
body.r4-shell.auth-authenticated[data-r4-view="appearance"] .r4ap-card h3 small{
  font-size:8px!important;
  line-height:1.05!important;
}

body.r4-shell.auth-authenticated[data-r4-view="appearance"] .r4ap-radio-list{
  padding:4px 8px 1px!important;
}
body.r4-shell.auth-authenticated[data-r4-view="appearance"] .r4ap-radio-list label{
  height:29px!important;
  grid-template-columns:20px 1fr!important;
  grid-template-rows:15px 12px!important;
}
body.r4-shell.auth-authenticated[data-r4-view="appearance"] .r4ap-radio-list b{
  font-size:9.1px!important;
  line-height:1!important;
}
body.r4-shell.auth-authenticated[data-r4-view="appearance"] .r4ap-radio-list small{
  font-size:7.6px!important;
  line-height:1.02!important;
}
body.r4-shell.auth-authenticated[data-r4-view="appearance"] .r4ap-reset-defaults{
  height:26px!important;
  margin:0 8px 4px!important;
  font-size:8.3px!important;
}

body.r4-shell.auth-authenticated[data-r4-view="appearance"] .r4ap-widget-list{
  padding:2px 8px 4px!important;
}
body.r4-shell.auth-authenticated[data-r4-view="appearance"] .r4ap-widget-list label{
  height:19px!important;
  font-size:8.7px!important;
  grid-template-columns:17px 1fr 18px!important;
}
body.r4-shell.auth-authenticated[data-r4-view="appearance"] .r4ap-widget-list span{
  width:12px!important;height:12px!important;
}
body.r4-shell.auth-authenticated[data-r4-view="appearance"] .r4ap-widget-list i{
  font-size:10px!important;
}

body.r4-shell.auth-authenticated[data-r4-view="appearance"] .r4ap-preview{
  height:98px!important;
  margin:4px 8px!important;
}
body.r4-shell.auth-authenticated[data-r4-view="appearance"] .r4ap-preview-side{
  padding:5px 4px!important;
}
body.r4-shell.auth-authenticated[data-r4-view="appearance"] .r4ap-preview-side img{
  max-height:26px!important;
}
body.r4-shell.auth-authenticated[data-r4-view="appearance"] .r4ap-preview-side span{
  height:10px!important;
  margin-top:4px!important;
}
body.r4-shell.auth-authenticated[data-r4-view="appearance"] .r4ap-preview-main{
  padding:5px!important;
}
body.r4-shell.auth-authenticated[data-r4-view="appearance"] .r4ap-preview-kpis{
  gap:4px!important;
  margin-top:4px!important;
}
body.r4-shell.auth-authenticated[data-r4-view="appearance"] .r4ap-preview-chart{
  gap:4px!important;
  margin-top:4px!important;
}

@media (min-width:1600px) and (max-height:880px){
  body.r4-shell.auth-authenticated[data-r4-view="appearance"] .r4ap-grid{
    grid-template-rows:minmax(0,1.09fr) minmax(0,.91fr)!important;
    gap:5px!important;
  }
  body.r4-shell.auth-authenticated[data-r4-view="appearance"] #r4apThemeCard .r4ap-colors{
    min-height:46px!important;
    padding-bottom:7px!important;
  }
  body.r4-shell.auth-authenticated[data-r4-view="appearance"] .r4ap-radio-list label{height:28px!important}
  body.r4-shell.auth-authenticated[data-r4-view="appearance"] .r4ap-widget-list label{height:18px!important}
  body.r4-shell.auth-authenticated[data-r4-view="appearance"] .r4ap-preview{height:94px!important}
}

/* AGROLOGIX R4 - GLOBAL APPEARANCE THEME LAYER R2
   Shared visual consumer only. No layout/route/DOM changes.
   Applies persisted theme + primary/accent to all R4 shell surfaces.
*/

/* Bridge persisted brand colors into existing legacy variables */
body.r4-shell{
  --green-950:color-mix(in srgb,var(--agx-primary,#0a8f59) 58%,#001f18);
  --green-900:color-mix(in srgb,var(--agx-primary,#0a8f59) 74%,#003b2c);
  --green-800:var(--agx-primary,#0a8f59);
  --green-600:color-mix(in srgb,var(--agx-primary,#0a8f59) 82%,white);
  --r3b-green:var(--agx-primary,#0a8f59);
  --r3b-green-dark:color-mix(in srgb,var(--agx-primary,#0a8f59) 78%,#003b2c);
  --agx-surface:#ffffff;
  --agx-surface-2:#f7fafc;
  --agx-surface-3:#eef4f7;
  --agx-text:#08235d;
  --agx-text-soft:#567293;
  --agx-border:#d7e4eb;
}

/* Accent/primary are global visual tokens, not route-specific */
body.r4-shell .nav-item.active,
body.r4-shell .r4x-nav-item.active,
body.r4-shell .r4aa-tabs button.active{
  border-color:var(--agx-primary,#0a8f59)!important;
}
body.r4-shell .r4-primary,
body.r4-shell .r3b-primary,
body.r4-shell button.primary,
body.r4-shell .primary-action{
  background:var(--agx-primary,#0a8f59)!important;
  border-color:var(--agx-primary,#0a8f59)!important;
}
body.r4-shell a:not(.nav-item):not(.r4x-nav-item),
body.r4-shell .text-link,
body.r4-shell .r3b-link-button{
  accent-color:var(--agx-accent,#0a8f59);
}

/* Global dark theme. Geometry is intentionally untouched. */
body.r4-shell[data-preference-theme="dark"]{
  background:#0b2233!important;
  color:#e5eef5;
  --agx-surface:#12334b;
  --agx-surface-2:#102b3f;
  --agx-surface-3:#194657;
  --agx-text:#e5eef5;
  --agx-text-soft:#9fb5c5;
  --agx-border:#476478;
}

body.r4-shell[data-preference-theme="dark"] #mainContent,
body.r4-shell[data-preference-theme="dark"] main,
body.r4-shell[data-preference-theme="dark"] .main-content,
body.r4-shell[data-preference-theme="dark"] #r3bContent{
  background:#0b2233!important;
  color:var(--agx-text)!important;
}

body.r4-shell[data-preference-theme="dark"] .topbar,
body.r4-shell[data-preference-theme="dark"] .r4x-topbar{
  background:#102b3f!important;
  border-color:var(--agx-border)!important;
  color:var(--agx-text)!important;
}

/* Common cards/panels/tables/forms across R4/R3B surfaces */
body.r4-shell[data-preference-theme="dark"] :is(
  .card,.panel,.kpi-card,.stat-card,.table-card,
  .r3b-card,.r3b-kpi,.r3b-panel,.r3b-table-wrap,
  .r4-admin-kpi,.r4-admin-card,.r4aa-page,.r4aa-hero,.r4aa-content,
  .r4sg-card,.r4fg-card,.r4iv-card,.r4fin-card,
  .r4seq-card,.r4backup-card,.r4notif-card,.r4session-card,
  .r4ap-card,.r4ap-kpis button
){
  background:var(--agx-surface)!important;
  border-color:var(--agx-border)!important;
  color:var(--agx-text)!important;
}

body.r4-shell[data-preference-theme="dark"] :is(
  h1,h2,h3,h4,strong,label,th,
  .r3b-title,.r3b-card-head,.r4aa-title,
  .r4-admin-card h2,.r4-admin-kpi strong
){
  color:var(--agx-text)!important;
}

body.r4-shell[data-preference-theme="dark"] :is(
  p,small,.muted,.helper,.subtitle,td,
  .r3b-subtitle,.r3b-eyebrow
){
  color:var(--agx-text-soft)!important;
}

body.r4-shell[data-preference-theme="dark"] :is(
  input,select,textarea,
  .search-box,.search-input,
  .r3b-input,.r3b-select
){
  background:#f8fbfd!important;
  color:#0b2d68!important;
  border-color:#8ba1b0!important;
}

body.r4-shell[data-preference-theme="dark"] :is(
  table,thead,tbody,tr,td,th
){
  border-color:#36576b!important;
}
body.r4-shell[data-preference-theme="dark"] thead,
body.r4-shell[data-preference-theme="dark"] th{
  background:#194657!important;
}
body.r4-shell[data-preference-theme="dark"] tbody tr:nth-child(even){
  background:#102b3f!important;
}

/* Keep approved sidebar identity dark; only selected/action color follows primary */
body.r4-shell .sidebar :is(.nav-item.active,.r4x-nav-item.active),
body.r4-shell .r4x-sidebar :is(.nav-item.active,.r4x-nav-item.active){
  background:var(--agx-primary,#0a8f59)!important;
  color:#fff!important;
}

/* Light/system-light return to canonical light surfaces. */
body.r4-shell[data-preference-theme="light"] #r3bContent,
body.r4-shell[data-preference-theme="light"] #mainContent,
body.r4-shell[data-preference-theme="light"] main{
  background:#fff;
}

/* IA R2: scoped to this route; approved screens and global theme remain intact. */
.r4aa-page[data-r4aa-route="ai-settings"] .r4aa-content{padding:10px 12px;color:var(--agx-text,#002164)}
.r4aa-page[data-r4aa-route="ai-settings"] .r4aa-section-head{margin-bottom:9px}
.r4ai{font-family:Arial,"Segoe UI",sans-serif;font-size:12px;line-height:1.3}
.r4ai-icon{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2;stroke-linejoin:round;stroke-linecap:round;flex:none}
.r4ai-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:12px}
.r4ai-kpis article{border:1px solid var(--agx-border,#dce6f1);border-radius:6px;display:flex;align-items:center;gap:24px;padding:12px 22px;min-height:78px;background:var(--agx-surface,#fff)}
.r4ai-kpis .r4ai-icon{width:34px;height:34px;color:var(--agx-primary,#00855a)}
.r4ai-kpis small,.r4ai-kpis strong,.r4ai-kpis span{display:block}
.r4ai-kpis strong{font-size:19px;margin:2px 0;overflow-wrap:anywhere}
.r4ai-kpis small,.r4ai-kpis span,.r4ai-card header p,.r4ai-card small{color:var(--agx-text-soft,#5674aa);font-size:11px}
.r4ai-grid{display:grid;grid-template-columns:minmax(0,2.8fr) minmax(285px,1fr);gap:12px}
.r4ai-left{min-width:0;display:flex;flex-direction:column;gap:10px}
.r4ai-top{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:12px}
.r4ai-middle{display:grid;grid-template-columns:minmax(0,2.4fr) minmax(220px,1fr);gap:12px}
.r4ai-card{border:1px solid var(--agx-border,#dce6f1);background:var(--agx-surface,#fff);border-radius:6px;padding:10px;min-width:0;position:relative}
.r4ai-card header{display:flex;gap:14px;align-items:flex-start;margin-bottom:10px}
.r4ai-card h3{font-size:15px;line-height:1.2;margin:0 0 3px;font-weight:700;color:inherit}
.r4ai-card header p{margin:0;line-height:1.2}
.r4ai-provider-choice{display:flex;align-items:center;gap:12px;margin-bottom:10px}
.r4ai-provider-choice span{min-width:130px;border:1px solid var(--agx-primary,#00855a);border-radius:4px;text-align:center;padding:6px;color:var(--agx-primary,#00855a);background:var(--agx-surface-soft,#e8f8f2)}
.r4ai input:not([type="checkbox"]),.r4ai select,.r4ai textarea,.r4ai-dialog textarea{width:100%;box-sizing:border-box;border:1px solid var(--agx-border,#d2def0);border-radius:5px;padding:6px 9px;min-height:30px;background:var(--agx-surface,#fff);color:inherit;font:inherit}
.r4ai-fields{display:grid;grid-template-columns:1.15fr 1fr;gap:5px 16px}
.r4ai-fields label:first-of-type{grid-column:1;grid-row:1}.r4ai-fields input:first-of-type{grid-column:1;grid-row:2}
.r4ai-fields label:last-of-type{grid-column:2;grid-row:1}.r4ai-fields input:last-of-type{grid-column:2;grid-row:2}
.r4ai-provider-state,.r4ai-card-actions{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:8px}
.r4ai label{font-weight:400;display:flex;gap:8px;align-items:center}
.r4ai button,.r4ai-dialog button{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid var(--agx-border,#ccd9ee);border-radius:5px;padding:6px 12px;color:inherit;background:var(--agx-surface,#fff);font:inherit;cursor:pointer;min-height:30px}
.r4ai button:hover{border-color:var(--agx-primary,#00855a)}
.r4ai button:disabled{opacity:.55;cursor:wait}
.r4ai button .r4ai-icon{width:16px;height:16px}
.r4ai button.r4ai-primary{background:var(--agx-primary,#00855a);border-color:var(--agx-primary,#00855a);color:white}
.r4ai-inference{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px 13px;margin-top:22px}
.r4ai-inference label{grid-row:1;font-size:11px}.r4ai-inference input{grid-row:2}.r4ai-inference small{grid-row:3;font-size:9px}
.r4ai-json{border:1px solid var(--agx-border,#e1e8ef);border-radius:4px;padding:8px 4px;margin-top:12px}
.r4ai-json small,.r4ai-safety small{display:block;font-size:10px;font-weight:400}
.r4ai input.r4ai-switch{appearance:none;-webkit-appearance:none;width:32px;height:18px;border-radius:12px;background:#94a4b9;position:relative;cursor:pointer;flex:none;margin:0;vertical-align:middle;border:0}
.r4ai input.r4ai-switch:before{content:'';position:absolute;width:14px;height:14px;background:white;border-radius:50%;top:2px;left:2px}
.r4ai input.r4ai-switch:checked{background:var(--agx-primary,#00855a)}.r4ai input.r4ai-switch:checked:before{left:16px}
.r4ai input:focus-visible,.r4ai button:focus-visible,.r4ai textarea:focus-visible{outline:2px solid var(--agx-primary,#00855a);outline-offset:2px}
.r4ai table{width:100%;border-collapse:collapse;font-size:10px;table-layout:fixed}
.r4ai th,.r4ai td{padding:5px 7px;border-bottom:1px solid var(--agx-border,#e2e9f2);text-align:left;vertical-align:middle}
.r4ai th{font-weight:700;background:var(--agx-surface-soft,#f4f8fd);font-size:10px}
.r4ai td{height:24px}.r4ai td button{padding:1px 4px;border:0;min-height:20px;background:transparent}
.r4ai-summary{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.r4ai-middle .r4ai-card:first-child th:nth-child(2){width:34%}
.r4ai-middle .r4ai-card:first-child th:last-child{width:65px}
.r4ai-table-title{display:flex;justify-content:flex-end;margin-top:-35px;margin-bottom:8px;min-height:27px}
.r4ai-table-title button{font-size:11px;padding:4px 10px}
.r4ai-middle .r4ai-card:first-child header{padding-right:135px}
.r4ai-left>.r4ai-card header{padding-right:165px}
.r4ai-note{display:block;padding:8px 7px}
.r4ai aside{display:flex;flex-direction:column;gap:12px;min-width:0}
.r4ai-test>label{margin:8px 0 4px}
.r4ai-test textarea{height:68px;resize:vertical}
.r4ai-counter{display:block;text-align:right}
.r4ai-test .r4ai-confirm{font-size:10px;line-height:1.2}
.r4ai-test>.r4ai-primary{width:100%;margin:7px 0}
.r4ai-result{border-radius:5px;padding:10px;background:var(--agx-surface-soft,#f3f7fb);font-size:11px;min-height:58px}
.r4ai-result.success{color:var(--agx-primary,#00855a);background:var(--agx-surface-soft,#e6f6f1)}
.r4ai-result button{display:block;border:0;background:transparent;margin-top:4px;padding:2px 0}
.r4ai-safety{display:flex;gap:9px;margin:10px 0;align-items:center;font-size:11px;font-weight:700!important}
.r4ai-safety>span{flex:1}.r4ai-safety>.r4ai-icon{width:18px;height:18px}
.r4ai footer{display:flex;align-items:center;gap:12px;margin-top:8px}
.r4ai footer>span{flex:1;color:var(--agx-text-soft,#5574a5);font-size:11px}.r4ai footer>span.error{color:#bf3434}
.r4ai-dialog{max-width:800px;width:70vw;max-height:80vh;overflow:auto;border:1px solid var(--agx-border,#ccd9ee);border-radius:8px;background:var(--agx-surface,#fff);color:var(--agx-text,#002164);padding:20px}
.r4ai-dialog::backdrop{background:#062b4b88}.r4ai-dialog pre{white-space:pre-wrap;overflow-wrap:anywhere;font:13px Arial,sans-serif;line-height:1.5}.r4ai-dialog textarea{height:180px}.r4ai-dialog button{margin:8px 6px 0 0}
@media(max-width:1150px){.r4ai-grid{grid-template-columns:1fr}.r4ai-kpis article{gap:12px;padding:12px}.r4ai aside{display:grid;grid-template-columns:1fr 1fr}}
@media(max-width:700px){.r4ai-kpis{grid-template-columns:1fr 1fr}.r4ai-top,.r4ai-middle,.r4ai aside{display:flex;flex-direction:column}.r4ai-table-title{margin-top:0}.r4ai-middle .r4ai-card:first-child header,.r4ai-left>.r4ai-card header{padding-right:0}}

/* AGX_R15_L1_ADMIN_BODY_ONLY_V1: styles only under .r15n */
.r15n{box-sizing:border-box;display:flex;flex-direction:column;gap:12px;height:100%;max-height:100%;min-height:0;overflow:hidden;padding:14px 18px 10px;background:#f8fafb;color:#152b47;font-family:inherit}
.r15n *{box-sizing:border-box}
.r15n button,.r15n input,.r15n select{font:inherit}
.r15n button{cursor:pointer}
.r15n button:disabled{opacity:.48;cursor:not-allowed}
.r15n-top{display:flex;align-items:center;justify-content:space-between;gap:12px;flex:0 0 auto}
.r15n h2{font-size:26px;margin:0;font-weight:800;color:#12203e}.r15n h3{margin:0;font-size:14px;color:#11274a}
.r15n p{margin:2px 0 0;font-size:12px;color:#5e7088}.r15n-primary{border:0;background:#098b53;color:white;padding:10px 16px;border-radius:7px;font-weight:700}
.r15n-tabs{display:flex;align-items:center;gap:0;flex:0 0 auto;max-width:710px;background:#fff;border:1px solid #e0e7ef;border-radius:7px;overflow:hidden}
.r15n-tabs button{background:none;border:0;padding:9px 15px;font-size:12px;color:#52617b;position:relative;flex:1;min-width:98px}.r15n-tabs button.on{color:#087945;font-weight:700;box-shadow:inset 0 -3px #078e56}
.r15n-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;flex:0 0 auto}
.r15n-kpi{min-width:0;background:#fff;border:1px solid #e1e8ef;border-radius:9px;display:flex;align-items:center;gap:12px;min-height:83px;padding:12px;cursor:pointer;position:relative}
.r15n-kpi-icon{display:grid;place-items:center;width:43px;height:43px;border-radius:50%;background:#dff7ec;color:#0a8a50;font-size:20px;flex-shrink:0}.r15n-kpi:nth-child(1) .r15n-kpi-icon{background:#fce5e7;color:#b91c1c}.r15n-kpi:nth-child(3) .r15n-kpi-icon{background:#fff1cf;color:#b46f00}.r15n-kpi:nth-child(4) .r15n-kpi-icon{background:#e2efff;color:#005bbb}
.r15n-kpi strong{display:block;font-size:25px;line-height:1.1;color:#162442}.r15n-kpi b{display:block;font-size:12px}.r15n-kpi small{display:block;font-size:10px;color:#5b6b80}.r15n-chevron{position:absolute;top:8px;right:13px;color:#596f89}
.r15n-main{display:flex;flex-direction:column;min-height:0;flex:1 1 auto;background:#fff;border:1px solid #e0e7f0;border-radius:8px;overflow:hidden}
.r15n-table-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;flex:0 0 auto}
.r15n-filters{display:flex;gap:6px;align-items:center}.r15n-filters input,.r15n-filters select{height:32px;border:1px solid #d1dce8;border-radius:5px;background:white;color:#1f3049;padding:4px 7px;font-size:11px;max-width:210px}.r15n-filters input{width:180px}.r15n-filters select{width:139px}.r15n-filters button{height:32px;min-width:34px;background:white;color:#1c5879;border:1px solid #d1dce8;border-radius:5px}
.r15n-tablewrap{min-height:0;flex:1 1 auto;overflow:auto;scrollbar-width:thin}.r15n-tablewrap table{border-collapse:collapse;width:100%;font-size:11px;table-layout:fixed}.r15n-tablewrap th{position:sticky;top:0;z-index:2;background:#edf5fa;text-align:left;color:#344861;font-size:10px;padding:8px 5px;white-space:nowrap;border-bottom:1px solid #dce7f1}.r15n-tablewrap td{padding:8px 5px;border-bottom:1px solid #edf1f5;color:#21314b;vertical-align:middle;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:0}.r15n-tablewrap th:first-child,.r15n-tablewrap td:first-child{width:30px}.r15n-tablewrap th:nth-child(2){width:105px}.r15n-tablewrap th:nth-child(3){width:87px}.r15n-tablewrap th:nth-child(4){width:95px}.r15n-tablewrap th:nth-child(5){width:100px}.r15n-tablewrap th:nth-child(6){width:auto}.r15n-tablewrap th:nth-child(7){width:58px}.r15n-tablewrap th:nth-child(8){width:95px}.r15n-tablewrap th:nth-child(9){width:88px}.r15n-tablewrap th:nth-child(10){width:108px}.r15n-title-cell{font-weight:600}.r15n-row-actions{display:flex;align-items:center;gap:2px}.r15n-row-actions button{border:1px solid #e0e8f1;background:#fff;color:#1b4f7f;border-radius:5px;min-width:27px;padding:4px}.r15n-pill{padding:4px 6px;display:inline-block;border-radius:5px;font-size:10px}.r15n-pill.critical{background:#ffe1e1;color:#b20d20}.r15n-pill.warning{background:#fff0cc;color:#9b6700}.r15n-pill.info{background:#e0f1ff;color:#1766b0}.r15n-pill.read{background:#e2efff;color:#23639b}.r15n-pill.unread{background:#def8ea;color:#137348}
.r15n-pager{padding:7px 10px;display:flex;align-items:center;justify-content:space-between;font-size:11px;color:#718097;flex:0 0 auto;border-top:1px solid #edf1f5}.r15n-pages{display:flex;align-items:center;gap:6px}.r15n-pages button,.r15n-pages select{border:1px solid #dae5f0;border-radius:5px;background:#fff;padding:4px 8px;color:#244568}.r15n-pages select{padding:4px}
.r15n-panels{flex:0 0 auto;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;max-height:222px;min-height:165px}
.r15n-panels section{background:#fff;border:1px solid #e0e7ef;padding:10px 12px;border-radius:8px;min-width:0;min-height:0;overflow:auto;scrollbar-width:thin}.r15n-panels section>div{margin-top:7px}.r15n-panels button,.r15n-panel-row{display:flex;align-items:center;justify-content:space-between;gap:7px;padding:5px 0;width:100%;border:0;border-bottom:1px solid #e9edf1;background:transparent;text-align:left;color:#2c4260;font-size:11px}.r15n-panel-row small{font-size:10px;color:#66819a}.r15n-panels button:disabled{opacity:.6}.r15n-muted{font-size:11px}
.r15n-feedback{min-height:0;font-size:11px;color:#125f42}.r15n-feedback:empty{display:none}.r15n-feedback.error{color:#aa2432}
.r15n-info{background:#e8f3fe;border:1px solid #afd4f6;color:#365a83;border-radius:5px;padding:8px 10px;font-size:10px;display:flex;align-items:center;gap:5px;flex:0 0 auto}.r15n-info button{margin-left:auto;border:none;color:#005ab1;text-decoration:underline;background:none;font-size:10px;white-space:nowrap}
.r15n-overlay{position:fixed;inset:0;background:rgba(15,31,49,.42);z-index:9900;display:grid;place-items:center;padding:16px}.r15n-overlay[hidden]{display:none}.r15n-dialog{background:#fff;width:min(580px,100%);max-height:calc(100vh - 40px);display:flex;flex-direction:column;border-radius:9px;border:1px solid #d5e0e8;box-shadow:0 14px 40px rgba(0,0,0,.2)}.r15n-dialog-top{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e1e8ef;padding:13px}.r15n-dialog-top button{font-size:23px;background:transparent;border:0}.r15n-dialog-body{padding:15px;min-height:0;overflow:auto;overflow-wrap:anywhere;font-size:13px}.r15n-dialog-body dl{display:grid;grid-template-columns:130px 1fr;gap:10px}.r15n-dialog-body dt{font-weight:700}.r15n-dialog-body dd{margin:0}.r15n-dialog-buttons{display:flex;justify-content:flex-end;border-top:1px solid #e1e8ef;padding:9px}.r15n-dialog-buttons button,.r15n-dialog-body button{background:#0a874d;color:#fff;border:0;border-radius:6px;padding:7px 13px}
@media(max-width:1070px){.r15n{height:auto;max-height:none;overflow:visible}.r15n-kpis{grid-template-columns:repeat(2,1fr)}.r15n-panels{grid-template-columns:repeat(2,1fr);max-height:none}.r15n-main{min-height:350px}.r15n-table-head{flex-wrap:wrap}.r15n-filters{flex-wrap:wrap}}

/* AGX_R15_L5_ADMIN_RULE_UI_WIRING_V1 — scoped only; preserves shell. */
.r15n #r15nRuleNew{white-space:nowrap;border-color:#087e4c;color:#075e38;font-weight:700;max-width:none;width:auto;padding-inline:10px}
.r15n-rule-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.r15n-rule-form label{min-width:0;font-size:11px;font-weight:650;display:flex;flex-direction:column;gap:4px;color:#253f5b}
.r15n-rule-form label input,.r15n-rule-form label select{width:100%;min-height:31px;border:1px solid #c7d6e5;border-radius:5px;padding:5px 7px;background:#fff;color:#162a42}
.r15n-rule-form-info{grid-column:1/-1;font-size:11px;color:#6a587e;background:#f2ecfa;border-radius:6px;padding:8px}
.r15n-rule-form-buttons{grid-column:1/-1;display:flex;gap:9px;justify-content:flex-end;padding-top:8px}
.r15n-rule-form-buttons button{background:#087f4c;color:white;border:0;border-radius:5px;padding:7px 12px}
.r15n-rule-form-buttons button:first-child{background:white;color:#25496a;border:1px solid #c9d9e8}
.r15n-rule-cell-actions{display:flex;flex-wrap:wrap;gap:3px}.r15n-rule-cell-actions button{background:white;border:1px solid #d6e3ed;padding:3px 5px;border-radius:4px;font-size:10px;color:#165183}


/* AGX_R15_L7D_NATIVE_ROUTE_AND_SCOPED_BODY_V1
   ONLY the module's BODY; existing R4 shell layout remains unchanged. */
body.r4-shell.auth-authenticated[data-r4-view="notifications-admin"] .r15n,
body.r4-shell.auth-authenticated .r15n[data-r15-scope="notifications-admin"]{
  box-sizing:border-box;
  display:grid;
  height:calc(100vh - 62px);
  max-height:calc(100vh - 62px);
  min-height:0;
  grid-template-columns:minmax(0,1fr);
  grid-template-rows:64px 40px 98px minmax(260px,1fr) 242px min-content 36px;
  gap:8px;
  padding:10px 17px 9px;
  overflow:hidden;
  background:#f8fafb;
}
.r15n .r15n-top {min-height:0;align-self:center;}
.r15n .r15n-top h2 {font-size:28px;line-height:1.08;letter-spacing:-.025em;}
.r15n .r15n-top p {font-size:12px;margin-top:6px;}
.r15n .r15n-tabs {width:min(690px,100%);height:40px;max-width:none;align-self:stretch;}
.r15n .r15n-tabs button {height:100%;padding:7px 10px;font-size:12px;}
.r15n .r15n-kpis {min-height:0;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;}
.r15n .r15n-kpi {height:98px;min-height:0;border-radius:9px;padding:12px 15px;gap:14px;box-shadow:0 1px 2px rgba(14,32,62,.03);}
.r15n .r15n-kpi-icon {width:51px;height:51px;font-size:23px;}
.r15n .r15n-kpi strong {font-size:29px;line-height:1.03;}
.r15n .r15n-kpi b {font-size:12px;margin-top:5px;}
.r15n .r15n-kpi small {font-size:10px;line-height:1.25;margin-top:4px;}
.r15n .r15n-main {min-height:0;min-width:0;overflow:hidden;border-radius:9px;}
.r15n .r15n-table-head {min-height:62px;padding:12px 15px;align-items:center;gap:12px;}
.r15n .r15n-table-head h3 {font-size:16px;font-weight:750;}
.r15n .r15n-table-head p {font-size:11px;}
.r15n .r15n-filters input {width:205px;max-width:205px;}
.r15n .r15n-filters input,.r15n .r15n-filters select {height:36px;}
.r15n .r15n-tablewrap {flex:1 1 auto;min-height:0;overflow:auto;}
.r15n .r15n-tablewrap th {height:34px;font-size:11px;}
.r15n .r15n-tablewrap td {height:40px;font-size:11px;}
.r15n .r15n-pager {height:42px;min-height:42px;padding:6px 15px;}
.r15n .r15n-panels {height:242px;max-height:none;min-height:0;overflow:hidden;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;}
.r15n .r15n-panels>section {height:100%;min-height:0;padding:13px;overflow:auto;scrollbar-width:thin;border-radius:9px;}
.r15n .r15n-panels h3 {font-size:14px;line-height:1.2;}
.r15n .r15n-panels p {font-size:11px;line-height:1.25;}
.r15n .r15n-panels section>div:not(.r15n-socio-actions) {margin-top:9px;}
.r15n .r15n-panels button,.r15n .r15n-panel-row {min-height:32px;}
.r15n .r15n-socio-actions {display:flex;gap:5px;flex-wrap:wrap;margin-top:10px;}
.r15n .r15n-socio-actions button {border:1px solid #d2dfea;background:#fff;color:#12416c;border-radius:6px;min-height:30px;padding:4px 6px;font-size:10px;flex:1 1 auto;}
.r15n .r15n-socio-actions button:first-child {border-color:#148c50;color:#08763f;}
.r15n .r15n-feedback:empty {display:none;}
.r15n .r15n-info {min-height:36px;padding:7px 12px;align-self:stretch;font-size:10px;}
.r15n .r15n-overlay {z-index:9900;}
/* Keep the original app responsive; never impose desktop geometry on mobile. */
@media(max-width:1200px){
  .r15n[data-r15-scope="notifications-admin"]{height:auto;max-height:none;display:flex;overflow:visible;}
  .r15n .r15n-kpis{grid-template-columns:repeat(2,minmax(0,1fr));}
  .r15n .r15n-main{min-height:340px;}
  .r15n .r15n-panels{height:auto;max-height:none;grid-template-columns:repeat(2,minmax(0,1fr));}
}

/* AGX_R15_L8_PRECISION_V2_ADMIN_BODY 1672x941 approved mockup — BODY only */
body.r4-shell.auth-authenticated [data-r15-l8="1"].r15v,
.r15n.r15v[data-r15-l8="1"]{--r15ink:#071d4d;--r15green:#078a4a;--r15line:#dce5ee;box-sizing:border-box!important;width:100%;min-width:0;min-height:0;max-width:100%;height:calc(100dvh - 58px)!important;max-height:calc(100dvh - 58px)!important;display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:64px 40px 98px minmax(275px,1fr) 248px 38px!important;gap:12px!important;padding:12px 18px 12px 18px!important;overflow:hidden!important;background:#f7fafc!important;color:var(--r15ink)!important;font-family:inherit;position:relative}
.r15v *{box-sizing:border-box}
.r15v .r15v-icon{width:20px;height:20px;flex:none;vertical-align:middle;display:inline-block;stroke-width:1.9}
.r15v button,.r15v select,.r15v input{font-family:inherit}
.r15v button{cursor:pointer}
.r15v-heading{display:flex;align-items:flex-start;justify-content:space-between;min-width:0;padding-top:0}
.r15v-heading h1{margin:0!important;color:#0b1537;font-size:29px!important;font-weight:800;line-height:1.12!important;letter-spacing:-.6px}
.r15v-heading p{margin:5px 0 0!important;color:#607391!important;font-size:14px!important;line-height:1.25}
.r15v-heading .r15v-primary{height:39px;padding:0 22px;display:flex;align-items:center;gap:9px;color:#fff;font-size:13px;font-weight:700;border:1px solid #007f42;border-radius:7px;background:linear-gradient(180deg,#05a75a 0%,#008343 100%);box-shadow:0 2px 4px rgba(0,92,50,.12);white-space:nowrap}
.r15v-heading .r15v-primary svg{width:17px;height:17px;stroke-width:2.4}
.r15v-tabs{width:min(690px,100%);height:39px;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));padding:0!important;gap:0!important;border:1px solid #dbe4ed;border-radius:7px;background:#fff;align-self:center;overflow:hidden;min-height:0}
.r15v-tabs button{position:relative;border:0!important;background:#fff!important;color:#374e77!important;font-size:13px!important;font-weight:500!important;line-height:1;height:100%;padding:0 8px;white-space:nowrap}
.r15v-tabs button:not(:last-child):after{content:"";position:absolute;right:0;top:12px;height:15px;border-right:1px solid #e4ebf2}
.r15v-tabs button.active{color:#008844!important;font-weight:800!important}
.r15v-tabs button.active:before{content:"";position:absolute;bottom:0;left:0;right:0;height:3px;background:#008d4c}
.r15v-kpis{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:13px;min-width:0;min-height:0}
.r15v-kpi{height:98px!important;min-height:0;min-width:0;display:flex!important;align-items:center;gap:17px;text-align:left;border:1px solid #dfe7ef!important;border-radius:9px!important;background:#fff!important;padding:14px 17px!important;color:var(--r15ink);position:relative;box-shadow:0 1px 2px rgba(34,64,90,.025)}
.r15v-round{height:52px;width:52px;flex:none;border-radius:50%;display:grid;place-items:center}
.r15v-round .r15v-icon{width:27px;height:27px;stroke-width:2}
.r15v-round.red{color:#f12a38;background:#ffe7e8}.r15v-round.green{color:#00974c;background:#dcf8ec}.r15v-round.yellow{color:#dc9300;background:#fff2cb}.r15v-round.blue{color:#087ded;background:#deeeff}
.r15v-kpi-text{display:flex;flex-direction:column;gap:3px;min-width:0}
.r15v-kpi-text strong{font-size:29px;line-height:1;font-weight:800;color:#0b1331}
.r15v-kpi-text b{font-size:13px;font-weight:600;color:#172c56;white-space:nowrap}
.r15v-kpi-text small{font-size:11px;color:#5f7393;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.r15v-kpi:nth-child(1) small{color:#e64242}.r15v-kpi:nth-child(2) small{color:#008d4c}.r15v-kpi:nth-child(3) small{color:#bf8300}
.r15v-kpi .r15v-kpi-arrow{position:absolute;right:13px;top:23px;color:#405f95;width:14px;height:14px}
.r15v-main{min-width:0;min-height:0;display:flex;flex-direction:column;background:#fff;border:1px solid var(--r15line);border-radius:9px;overflow:hidden}
.r15v-table-head{flex:0 0 63px;min-height:63px;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:9px 13px 9px 19px;border-bottom:1px solid #e0e7ed}
.r15v-table-head h2{font-size:16px!important;font-weight:800!important;margin:0!important;line-height:1.16;color:#061c48}
.r15v-table-head p{font-size:12px!important;color:#7184a0;margin:4px 0 0!important;white-space:nowrap}
.r15v-filters{display:flex;gap:8px;align-items:center;min-width:0;flex-wrap:nowrap}
.r15v-search{width:225px;height:38px;position:relative;display:flex;align-items:center}
.r15v-search svg{position:absolute;left:12px;color:#577297;width:18px;height:18px;z-index:1}
.r15v-search input{height:38px!important;width:100%!important;padding:0 9px 0 38px!important;border:1px solid #cddae8!important;border-radius:6px!important;font-size:12px!important;background:#fff!important;color:#153356}
.r15v-filters select{height:38px!important;width:170px!important;min-width:0;border:1px solid #cddae8!important;border-radius:6px!important;padding:0 10px!important;font-size:12px!important;color:#213a65;background:#fff!important}
.r15v-filter-btn{height:38px;width:40px;display:grid;place-items:center;background:#fff;border:1px solid #cddae8;border-radius:6px;color:#163d75}
.r15v-table-scroller{flex:1;min-height:0;min-width:0;overflow:auto;scrollbar-width:thin;scrollbar-color:#c6d2e3 transparent}
.r15v-table{width:100%;table-layout:fixed;border-collapse:collapse;font-size:12px;line-height:1.2;color:#102b53}
.r15v-table thead th{height:35px;position:sticky;top:0;z-index:1;font-size:11px;font-weight:650;text-align:left;padding:5px 8px;background:#f5f8fb;color:#293e63;border-bottom:1px solid #dfe6ef;white-space:nowrap}
.r15v-table tbody td{height:34px;padding:5px 8px;border-bottom:1px solid #dfe6ee;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.r15v-table th:first-child,.r15v-table td:first-child{width:4%;text-align:center}
.r15v-table th:nth-child(2){width:12%}.r15v-table th:nth-child(3){width:9%}.r15v-table th:nth-child(4){width:11%}.r15v-table th:nth-child(5){width:11%}.r15v-table th:nth-child(6){width:23%}.r15v-table th:nth-child(7){width:10%}.r15v-table th:nth-child(8){width:9%}.r15v-table th:nth-child(9){width:7%}.r15v-table th:nth-child(10){width:11%}
.r15v-table input[type=checkbox]{width:14px;height:14px;accent-color:#0b9a59}
.r15v-table .r15v-title{font-weight:550}.r15v-type{display:inline-flex;align-items:center;gap:4px;font-weight:650;color:#f02737}.r15v-type.notification{color:#0079f5}
.r15v-type svg{width:14px;height:14px;fill:currentColor;stroke:#fff;stroke-width:1}
.r15v-channel-icons{display:flex;align-items:center;gap:8px}.r15v-channel-icons svg{width:17px;height:17px;color:#0064be;stroke-width:2.2}.r15v-channel-icons svg.whatsapp{color:#0bb156}
.r15v-priority,.r15v-state{display:inline-flex;align-items:center;justify-content:center;gap:4px;border-radius:6px;height:24px;padding:0 8px;font-size:11px;font-weight:700;white-space:nowrap}
.r15v-priority svg{width:12px;height:12px;stroke-width:2.5}
.r15v-priority.critica{color:#d62b37;background:#ffe3e4}.r15v-priority.advertencia{color:#ae7805;background:#fff1c6}.r15v-priority.informacion{color:#006de3;background:#deeeff}
.r15v-state{color:#087a49;background:#d6f6e7}.r15v-state.read{color:#167ac4;background:#dceffc}.r15v-state.muted{color:#636b78;background:#edf0f4}
.r15v-row-actions{display:flex;align-items:center;gap:6px}.r15v-row-actions button{width:24px;height:24px;display:grid;place-items:center;border:0;background:transparent;color:#284b82;padding:2px}
.r15v-row-actions svg{width:17px;height:17px}
.r15v-empty td{text-align:center!important;color:#607293;height:70px!important}
.r15v-pager{flex:0 0 42px;display:flex;align-items:center;justify-content:space-between;padding:5px 18px;border-top:1px solid #e0e7ef;color:#6980a1;font-size:12px}
.r15v-page-buttons{display:flex;gap:6px;align-items:center}.r15v-page-buttons button{width:29px;height:29px;border:1px solid #dce6f0;border-radius:6px;background:#fff;color:#284e86;font-size:12px}
.r15v-page-buttons button.active{background:#078d4b;color:#fff;border-color:#00834b}.r15v-page-buttons button:disabled{opacity:.45;cursor:default}
.r15v-page-buttons select{height:29px;border:1px solid #dce6f0;background:#fff;border-radius:6px;font-size:11px;padding:0 4px}
.r15v-panels{height:248px;min-height:0;max-height:248px;display:grid!important;grid-template-columns:1.18fr 1.1fr 1fr 1.06fr!important;gap:12px;min-width:0;overflow:hidden}
.r15v-panel{min-width:0;min-height:0;display:flex;flex-direction:column;border-radius:9px;border:1px solid #dce6ed;background:#fff;overflow:hidden;padding:0!important;box-shadow:none}
.r15v-panel>header{display:flex;align-items:center;gap:12px;padding:12px 13px 7px;flex:none;min-height:56px}
.r15v-panel>header>svg{width:26px;height:26px;stroke-width:2.4;flex:none}
.r15v-panel>header>svg.green{color:#06aa73}.r15v-panel>header>svg.blue{color:#028af9}.r15v-panel>header>svg.orange{color:#ff9800}
.r15v-panel h3{font-size:14px!important;line-height:1.18!important;margin:0!important;font-weight:800!important;color:#0d2757}
.r15v-panel header p{font-size:11px!important;line-height:1.2;margin:5px 0 0!important;color:#617894}
.r15v-panel-content{flex:1;min-height:0;overflow:auto;scrollbar-width:thin;padding:0 12px 3px}
.r15v-panel-content>button{min-height:29px;width:100%;border:0;background:transparent;border-bottom:1px solid #edf0f4;display:flex;align-items:center;gap:10px;text-align:left;color:#203960;padding:3px 5px;font-size:11px}
.r15v-panel-content>button>svg{height:18px;width:18px;flex:none;color:#0a7cdf}
.r15v-panel-content>button span{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.r15v-panel-content>button b{font-size:11px;font-weight:700;color:#0c965a;white-space:nowrap}
#r15vPartners>button>svg{color:#0ca766}#r15vPartners>button:nth-child(3n+2)>svg{color:#94ad24}#r15vPartners>button:nth-child(3n)>svg{color:#b01f71}
.r15v-rule-actions{flex:none;display:flex;gap:6px;padding:7px 12px 9px}
.r15v-rule-actions button{white-space:nowrap;display:flex;align-items:center;justify-content:center;gap:5px;font-size:10px;flex:1;min-width:0;height:31px;padding:0 5px;border:1px solid #d6e2ef;border-radius:6px;background:white;color:#29466f;font-weight:700}
.r15v-rule-actions button:first-child{color:#008f50;border-color:#12ad67}
.r15v-rule-actions svg{width:15px;height:15px}
#r15vChannels>button{height:31px}#r15vChannels>button b{font-size:10px;font-weight:700;background:#edf1f5;padding:4px 7px;border-radius:7px;color:#738299}#r15vChannels>button b.available{background:#d5f7e6;color:#047b49}#r15vChannels>button>svg:last-child{color:#5c7091;width:13px}
#r15vPriorities{padding-top:3px}#r15vPriorities>button{min-height:39px;border:1px solid #edf0f4;border-bottom:0;border-radius:3px;padding:4px 9px}#r15vPriorities>button:last-child{border-bottom:1px solid #edf0f4}
#r15vPriorities>button>svg{height:26px;width:26px;padding:4px;color:#fff;border-radius:50%;background:#06a66a}
#r15vPriorities>button.critical>svg{background:#f33139}#r15vPriorities>button.warning>svg{background:#f4ae00}#r15vPriorities>button.information>svg{background:#007df6}
#r15vPriorities>button b{font-weight:650;color:#223a62}#r15vPriorities>button span{flex:none;font-size:10px;color:#384e73}
#r15vQuick{padding:0 10px 9px}#r15vQuick>button{height:31px;min-height:31px;border:1px solid #edf0f4;border-bottom:0}#r15vQuick>button:first-child{border-radius:5px 5px 0 0}#r15vQuick>button:last-child{border-bottom:1px solid #edf0f4;border-radius:0 0 5px 5px}#r15vQuick>button>svg:first-child{color:#009553}#r15vQuick>button>svg:last-child{width:14px;color:#45668f}
.r15v-info{min-height:36px;max-height:38px;display:flex;gap:8px;align-items:center;border:1px solid #a9cfff!important;border-radius:6px!important;background:#e3f1ff!important;padding:6px 12px!important;color:#164482!important;font-size:11px!important;white-space:nowrap;overflow:hidden}
.r15v-info>svg{width:21px;height:21px;color:#0573ee;flex:none}
.r15v-info span{flex:1;overflow:hidden;text-overflow:ellipsis}.r15v-info b{font-weight:750}
.r15v-info button{border:0;background:transparent;color:#005fbc;text-decoration:underline;font-size:11px;padding:3px;display:flex;align-items:center;gap:3px;white-space:nowrap}
.r15v-info button>svg{height:14px;width:14px}
.r15v-toast:empty{display:none}.r15v-toast:not(:empty){position:absolute;right:17px;bottom:56px;z-index:16;border-radius:6px;border:1px solid #b9d9c9;background:#e1f8eb;padding:8px 14px;color:#076437;font-size:12px;max-width:520px}.r15v-toast.error{color:#ab2731;background:#ffe8e8}
.r15v-preview-flag{position:absolute;right:24px;top:56px;font-size:9px;padding:2px 7px;color:#456b92;background:#eef5ff;border:1px solid #c4d9f3;border-radius:4px;z-index:9}
.r15v-overlay[hidden]{display:none!important}.r15v-overlay{position:fixed;inset:0;z-index:15000;background:rgba(9,27,56,.42);display:flex;align-items:center;justify-content:center;padding:22px}
.r15v-dialog{width:min(720px,92vw);max-height:min(760px,92dvh);background:#fff;border:1px solid #d8e3ed;border-radius:12px;display:flex;flex-direction:column;overflow:hidden;box-shadow:0 20px 70px rgba(8,28,56,.25)}
.r15v-dialog>header{display:flex;align-items:center;justify-content:space-between;padding:15px 20px;border-bottom:1px solid #e1e8ef}.r15v-dialog>header h2{margin:0;font-size:19px}.r15v-dialog>header button{border:0;background:transparent;color:#355575}
.r15v-modal-body{padding:18px 20px;overflow:auto;min-height:0;font-size:13px}.r15v-modal-body dl{display:grid;grid-template-columns:140px 1fr;gap:9px}.r15v-modal-body dt{font-weight:700}.r15v-modal-body dd{margin:0}
.r15v-dialog>footer{padding:10px 20px;border-top:1px solid #e1e8ef;display:flex;justify-content:flex-end}.r15v-dialog>footer button,.r15v-form-actions button{border:1px solid #cbdce8;background:white;border-radius:6px;color:#254665;padding:8px 14px}
.r15v-form{display:grid;grid-template-columns:1fr 1fr;gap:12px}.r15v-form>label{font-size:12px;font-weight:650;display:flex;flex-direction:column;gap:5px}.r15v-form>label input,.r15v-form>label select{border-radius:6px;height:35px;border:1px solid #cdd9e6;padding:0 9px;font-size:12px}.r15v-form-note{grid-column:1/-1;color:#5a6d88;font-size:12px}.r15v-form-actions{grid-column:1/-1;display:flex;gap:9px;justify-content:flex-end}.r15v-form-actions button:last-child{background:#00884b;color:#fff;border-color:#00884b}
/* The shell keeps its approved layout; R15 adjusts only its route's content area. */
body.r4-shell.auth-authenticated[data-r4-view="notifications-admin"] #r3bRouteHost,
body.r4-shell.auth-authenticated[data-r4-view="notifications-admin"] #r3bContent{min-height:0!important;overflow:hidden!important}
@media(max-width:1250px){.r15n.r15v[data-r15-l8="1"]{height:auto!important;max-height:none!important;grid-template-rows:auto auto auto minmax(300px,1fr) auto auto!important;overflow:auto!important}.r15v-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}.r15v-panels{grid-template-columns:repeat(2,minmax(0,1fr))!important;height:auto;max-height:none}.r15v-panel{min-height:225px}.r15v-filters select{width:125px!important}.r15v-table{min-width:1100px}}
/* Five full visible rows at the canonical viewport, including the fifth row. */
.r15n.r15v[data-r15-l8="1"] .r15v-table tbody td{height:32px;padding-top:4px;padding-bottom:4px}
.r15n.r15v[data-r15-l8="1"] #r15vPartners>button{height:24px;min-height:24px;padding-block:2px}
.r15n.r15v[data-r15-l8="1"] .r15v-table tbody td{height:31px;padding-top:2px;padding-bottom:2px}
.r15n.r15v[data-r15-l8="1"] .r15v-row-actions button{height:22px;width:22px}
.r15n.r15v[data-r15-l8="1"] .r15v-priority,.r15n.r15v[data-r15-l8="1"] .r15v-state{height:22px}

/* AGX_R15_L9_CANONICAL_MOCKUP_1672x941 — R15 BODY ONLY */
body.r4-shell.auth-authenticated .r15n.r15v[data-r15-l8="1"]{padding-left:25px!important;padding-right:47px!important}
.r15n.r15v[data-r15-l8="1"] .r15v-panels{grid-template-columns:1.165fr 1fr .91fr .943fr!important;gap:14px!important}
.r15n.r15v[data-r15-l8="1"] .r15v-table-scroller{overflow-y:auto!important;overscroll-behavior:contain;scrollbar-width:thin}
.r15n.r15v[data-r15-l8="1"] .r15v-table thead th{height:32px!important;padding-block:3px!important}
.r15n.r15v[data-r15-l8="1"] .r15v-table tbody tr{height:33px!important;max-height:33px!important}
.r15n.r15v[data-r15-l8="1"] .r15v-table tbody td{height:33px!important;padding:0 8px!important;line-height:1!important}
.r15n.r15v[data-r15-l8="1"] .r15v-table .r15v-row-actions button{height:21px!important;width:22px!important}
.r15n.r15v[data-r15-l8="1"] .r15v-table .r15v-priority,.r15n.r15v[data-r15-l8="1"] .r15v-table .r15v-state{height:22px!important;padding-block:0!important}
.r15n.r15v[data-r15-l8="1"] .r15v-table tbody td>.r15v-type svg{width:13px;height:13px}
.r15n.r15v[data-r15-l8="1"] .r15v-official-icon{display:block;object-fit:contain;flex:none}
.r15n.r15v[data-r15-l8="1"] .r15v-round .r15v-official-icon{width:54px;height:54px}
.r15n.r15v[data-r15-l8="1"] .r15v-round{background:none!important}
.r15n.r15v[data-r15-l8="1"] .r15v-panel>header>.r15v-official-icon{height:27px;width:27px}
.r15n.r15v[data-r15-l8="1"] #r15vChannels>button b.available{background:#d8f9e8;color:#067c45}
.r15n.r15v[data-r15-l8="1"] #r15vChannels>button b.inactive{background:#ffe0e1;color:#bf2535}
.r15n.r15v[data-r15-l8="1"] .r15v-table tbody td:nth-child(6){font-weight:500}
.r15n.r15v[data-r15-l8="1"] .r15v-panel-content>button{font-size:12px}
.r15n.r15v[data-r15-l8="1"] .r15v-panel>header{padding-inline:13px}
.r15n.r15v[data-r15-l8="1"] .r15v-rule-actions button{font-size:10px}
