/* Tools pages: /tools/, /tools/education-loan-emi/, /tools/counselling-dates/. Loaded only on those pages. */
.tools-grid { display: grid; gap: var(--space-4, 16px); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 700px) { .tools-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .tools-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tool-card { display: block; text-decoration: none; color: inherit; border: 1px solid var(--color-border-strong, #d5dbe3); border-radius: 14px; background: #fff; transition: box-shadow .15s, transform .15s; }
.tool-card:hover, .tool-card:focus-visible { box-shadow: 0 6px 22px rgba(15, 41, 66, .12); transform: translateY(-2px); }
.tool-card h2, .tool-card h3 { font-size: 1.1rem; margin: 0 0 8px; }
.tool-card p { margin: 0 0 12px; color: var(--color-text-muted, #4a5560); }
.tool-card__go { font-weight: 600; color: var(--navy-900, #0f2942); }
.emi-form .notice { background: #fff7e6; border-left: 4px solid #ffb020; padding: 10px 12px; border-radius: 8px; margin: 0 0 16px; }
.emi-grid { align-items: start; display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); margin: 16px 0; }
@media (min-width: 640px) { .emi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.emi-form .field { margin-bottom: 0; }
.emi-form .field + .field { margin-top: 0; }
.emi-form > .field { margin-top: 16px; }
.emi-out { margin-top: 24px; }
.emi-out h2 { margin: 0 0 12px; font-size: 1.25rem; }
.emi-big { display: grid; gap: 2px; margin: 0 0 16px; padding: 16px; border-radius: 12px; background: var(--navy-900, #0f2942); color: #fff; }
.emi-big .muted { color: rgba(255, 255, 255, .75); }
.emi-big strong { font-size: clamp(1.8rem, 6vw, 2.6rem); line-height: 1.1; }
.emi-list { margin: 0; display: grid; gap: 0; }
.emi-list > div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid var(--color-border, #e3e8ee); }
.emi-list dt { color: var(--color-text-muted, #4a5560); }
.emi-list dd { margin: 0; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.dates-table th[scope=row] { font-weight: 600; }
.dates-table .block, .dates-main .block { display: block; font-weight: 400; }
.dates-table tr.is-now { background: #e9f7ef; }
.dates-table tr.is-next { background: #fff7e6; }
.dates-table tr.is-done { color: #6b7782; }
.date-flag { display: inline-block; margin-left: 8px; padding: 1px 8px; border-radius: 999px; font-size: .75rem; font-weight: 700; background: #14563f; color: #fff; }
.is-next .date-flag { background: #b26a00; }
.is-done .date-flag { background: #6b7782; }
.nowrap { white-space: nowrap; }
.eng-dates { padding-left: 18px; display: grid; gap: 8px; }
