/* p-zoho-for-agriculture-seeds-india: national agri-input page. Prefix agx-. */
.agx-artwrap { position: relative; }
.agx-art { aspect-ratio: 5 / 4; }
.agx-chip2 { border-color: #86EFAC; }
@media (prefers-reduced-motion: no-preference) {
  .agx-cloud { animation: agx-float 9s ease-in-out infinite alternate; }
}
@keyframes agx-float { from { transform: translateX(0); } to { transform: translateX(14px); } }

.agx-note { margin-top: 18px; font-size: 15px; color: var(--muted); max-width: 900px; }

.agx-fitgrid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; align-items: start; }
.agx-fitcards { display: grid; gap: 12px; }
.agx-fitcards article { padding: 16px 20px; border-radius: 16px; background: #fff; border: 1px solid var(--line); border-left: 5px solid #15803D; }
.agx-fitcards h3 { margin: 0 0 6px; font-size: 17.5px; }
.agx-fitcards p { margin: 0; font-size: 15.5px; }
.agx-fitcards .agx-note { margin-top: 4px; }

.agx-cmp { min-height: 340px; }
.agx-cmp h3 { margin: 0 0 12px; font-size: 19px; }
.agx-cmp .k-compare__a, .agx-cmp .k-compare__b { padding: 24px 28px; }
.agx-cmp .k-compare__a { background: #FEF2F2; }
.agx-cmp .k-compare__b { background: #F0FDF4; }

.agx-ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.agx-ticks li { position: relative; padding-left: 26px; font-size: 15.5px; }
.agx-ticks li::before { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 14px; border-radius: 4px; background: #DCFCE7; border: 2px solid #15803D; }
.agx-ticks--warn li::before { background: #FEE2E2; border-color: #B91C1C; }

.agx-tbl { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; font-size: 15px; }
.agx-tbl caption { text-align: left; font: 600 14px/1.4 var(--font-ui); color: var(--muted); padding: 0 0 10px; }
.agx-tbl th, .agx-tbl td { padding: 11px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.agx-tbl thead th { background: #DCFCE7; font: 700 13px/1.3 var(--font-ui); color: var(--ink); }
.agx-tbl tbody th { font-weight: 600; color: var(--ink); }
.agx-tbl__tot th, .agx-tbl__tot td { background: #F0FDF4; font-weight: 700; border-bottom: 0; }

.agx-auto { list-style: none; counter-reset: agx; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.agx-auto li { counter-increment: agx; position: relative; padding: 22px 20px 20px 60px; border-radius: 16px; background: #fff; border: 1px solid var(--line); display: grid; gap: 6px; }
.agx-auto li::before { content: counter(agx); position: absolute; left: 18px; top: 20px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: #DCFCE7; color: #166534; font: 700 14px/1 var(--font-ui); }
.agx-auto b { color: var(--ink); font-size: 16px; }
.agx-auto span { font-size: 15.5px; }

.agx-cost { display: grid; grid-template-columns: 1.5fr 1fr; gap: 28px; align-items: start; }
.agx-cost__side { padding: 22px; border-radius: 16px; background: var(--paper); border: 1px solid var(--line); }
.agx-cost__side h3 { font-size: 18px; margin: 0 0 8px; }
.agx-cost__side p { margin: 0 0 18px; font-size: 15.5px; }

.agx-bound { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.agx-bound > div { padding: 22px; border-radius: 16px; border: 1px solid var(--line); background: #fff; }
.agx-bound > div:nth-child(2) { background: var(--paper); }
.agx-bound > div:nth-child(3) { background: #FEF2F2; border-color: #FECACA; }
.agx-bound h3 { margin: 0 0 12px; font-size: 19px; }

#local .ks-areas { margin-bottom: 28px; }

@media (max-width: 960px) {
  .agx-fitgrid, .agx-cost { grid-template-columns: 1fr; gap: 22px; }
  .agx-bound { grid-template-columns: 1fr; }
  .agx-cmp { min-height: 420px; }
}
@media (max-width: 640px) {
  .agx-cost .agx-tbl, .agx-cost .agx-tbl tbody, .agx-cost .agx-tbl tr, .agx-cost .agx-tbl th, .agx-cost .agx-tbl td { display: block; width: 100%; }
  .agx-cost .agx-tbl thead { display: none; }
  .agx-cost .agx-tbl tr { border-bottom: 1px solid var(--line); padding: 6px 0; }
  .agx-cost .agx-tbl th, .agx-cost .agx-tbl td { border-bottom: 0; padding: 4px 14px; }
  .agx-auto li { padding-left: 56px; }
  .agx-cmp .k-compare__a, .agx-cmp .k-compare__b { padding: 18px; }
}

/* 390 px safety: grid children may shrink, tables and long words wrap */
.agx-fitgrid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
.agx-cost { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
.agx-bound { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.agx-auto { grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); }
.agx-fitgrid > *, .agx-cost > *, .agx-bound > *, .agx-auto > * { min-width: 0; }
.agx-tbl td, .agx-tbl th, .agx-note { overflow-wrap: anywhere; }
@media (max-width: 960px) { .agx-fitgrid, .agx-cost, .agx-bound { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .agx-tbl { font-size: 14px; } .agx-tbl td, .agx-tbl th { padding-left: 8px; padding-right: 8px; } }
