/* NKS Fin Services: free tools and Udyam pages (adds to site.css) */
.tool-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; padding-bottom: 8px; }
.tool-card { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 18px; background: var(--card); border: 1.5px solid var(--line); border-radius: 16px; color: inherit; text-decoration: none; transition: border-color .15s, box-shadow .15s, transform .15s; }
.tool-card:hover { border-color: var(--navy); box-shadow: 0 10px 28px rgba(20,40,80,.12); transform: translateY(-2px); }
.tool-card h2 { font-size: 1.25rem; } .tool-card .go { margin-top: auto; font-weight: 600; color: var(--navy); }
.prose h2 { font-size: 1.2rem; margin: 18px 0 8px; } .prose h2:first-child { margin-top: 0; }
.prose ul, .steps-list { margin: 0 0 8px; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.prose .note { margin-top: 14px; }
.form .check { display: flex; flex-direction: row; gap: 10px; align-items: flex-start; font-weight: 400; }
.form .check input { width: auto; flex: none; margin-top: 4px; }
.row-btns { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.loanbox { border: 1px dashed var(--line); border-radius: 12px; padding: 12px; margin: 0; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.loanbox legend { font-weight: 700; font-size: .95rem; padding: 0 6px; }
.band-lite { padding-block: 24px; } .band-lite > h2 { margin-bottom: 14px; }
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.why-grid > div { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px; display: flex; flex-direction: column; gap: 4px; }
.tbl { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tbl table { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; font-size: .95rem; }
.tbl th, .tbl td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl th { font-size: .85rem; color: var(--muted); font-weight: 600; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl caption { text-align: left; font-weight: 700; padding: 0 0 8px; }
.slabs { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; } .slabs p { margin-top: 6px; }
/* calculators */
.calc { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 16px; align-items: start; padding-bottom: 16px; }
@media (max-width: 820px) { .calc { grid-template-columns: 1fr; } }
.calc-out { position: sticky; top: 84px; background: var(--card); border: 1.5px solid var(--navy); border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 14px; }
@media (max-width: 820px) { .calc-out { position: static; } }
.calc-in input[type=range] { padding: 0; border: 0; background: transparent; accent-color: var(--navy); margin-top: 6px; }
.calc-in .inline { display: flex; gap: 8px; } .calc-in .inline input { flex: 1; } .calc-in .inline select { width: auto; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font: inherit; font-weight: 600; font-size: .92rem; padding: 7px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--box); color: var(--ink); cursor: pointer; }
.chip.on { border-color: var(--navy); background: var(--navy); color: var(--navy-ink); }
.big { display: flex; flex-direction: column; } .big b { font-family: var(--font-mono); font-size: clamp(1.9rem, 6vw, 2.5rem); color: var(--navy); line-height: 1.15; }
.kv { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; } .kv div { display: flex; flex-direction: column; } .kv b { font-family: var(--font-mono); font-size: 1rem; }
@media (max-width: 420px) { .kv { grid-template-columns: 1fr 1fr; } }
.bar2 { display: flex; height: 12px; border-radius: 99px; overflow: hidden; background: var(--line); }
.bar2 span:first-child { background: var(--navy); } .bar2 span:last-child { background: var(--marigold); }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin: 0 4px 0 8px; } .dot.p { background: var(--navy); margin-left: 0; } .dot.i { background: var(--marigold); }
.sched { margin-bottom: 8px; } .sched summary, .old-ded summary { cursor: pointer; font-weight: 600; padding: 6px 0; }
.sched .tbl { margin-top: 10px; max-height: 420px; overflow-y: auto; }
.verdict { font-size: 1.1rem; font-weight: 700; background: var(--ok-soft); color: var(--ok); padding: 12px 14px; border-radius: 12px; }
.cmp td:not(:first-child), .cmp th:not(:first-child) { text-align: right; font-family: var(--font-mono); }
.cmp tr.total td { font-weight: 700; font-size: 1.05rem; } .cmp td.win { color: var(--ok); }
