/* Ladder card: the steps and their dates (board InsLadder). */
.ic-clock { margin-bottom: 16px; padding: 4px 18px 14px; }
.ic-ladder { list-style: none; margin: 0; padding: 0; }
.ic-rung { display: flex; gap: 12px; padding: 12px 0; border-top: 1px solid var(--border); }
.ic-ladder .ic-rung:first-child { border-top: 0; }
.ic-rung p { margin: 0; font-size: 14px; line-height: 1.45; color: var(--muted); }
.ic-rung p strong { color: var(--text); }
.ic-rung .ic-rung-h { display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; justify-content: space-between; font-size: 15px; color: var(--text); margin-bottom: 2px; }
.ic-num { width: 28px; height: 28px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; font-weight: 800; font-size: 13px; background: var(--surface-2); color: var(--muted); }
.ic-num.done { background: var(--leaf); color: var(--bg); }
.ic-num.next { background: var(--accent); color: var(--accent-ink); }
.ic-num.late { background: var(--chili); color: var(--bg); }
.ic-tag { font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
.ic-tag.t-ok { background: var(--leaf-soft); color: var(--leaf-ink); }
.ic-tag.t-w { background: var(--accent-soft); color: var(--accent-text); }
.ic-tag.t-r { background: var(--chili-soft); color: var(--chili); }
.ic-tag.t-i { background: var(--indigo-soft); color: var(--indigo); }
.ic-note { margin: 12px 0 0; padding: 12px 14px; border-radius: var(--radius-sm); font-size: 14px; line-height: 1.45; background: var(--surface-2); }
.ic-note.green { background: var(--leaf-soft); color: var(--leaf-ink); }
.ic-note.amber { background: var(--accent-soft); color: var(--text); }
.ic-note.red { background: var(--chili-soft); color: var(--chili); }
.ic-note.info { background: var(--indigo-soft); color: var(--text); }
.ic-clock .ic-note + .ic-ladder, .ic-clock .ic-note:last-of-type + .ic-ladder { margin-top: 4px; }
.ic-bb { margin-top: 4px; }

/* Wizard (same pattern as legal-notice). */
.ic-wizard [hidden], .ic-progress[hidden] { display: none !important; }
.ic-wizard legend { font-size: 1.4rem; line-height: 1.2; margin-bottom: 4px; }
.ic-wizard .ic-sub legend { font-family: var(--font); font-size: 15px; font-weight: 700; letter-spacing: 0; margin-bottom: 6px; }
.ic-sub { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.ic-progress { margin: 0 0 12px; font-size: 13px; font-weight: 600; color: var(--accent-text); }
.ic-nav { display: flex; gap: 10px; }
.ic-nav .btn { flex: 1; }
.ic-q { margin: 0; font-size: 15px; font-weight: 700; }
.ic-group { display: grid; gap: 14px; }
.ic-inr { position: relative; display: grid; }
.ic-inr::before { content: '₹'; position: absolute; left: 14px; top: 0; line-height: 50px; color: var(--muted); pointer-events: none; }
.ic-inr input { padding-left: 30px; }
.ic-more summary { cursor: pointer; font-weight: 600; min-height: 44px; display: flex; align-items: center; }
.ic-docs .check { font-weight: 500; align-items: flex-start; }
.ic-docs .check input { margin-top: 3px; flex-shrink: 0; }

/* Letters column. */
.ic-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.ic-head h2 { margin: 0 0 10px; font-size: 1.2rem; }
.ic-office { margin: 0 0 12px; padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); font-size: 14px; line-height: 1.45; overflow-wrap: anywhere; }
.ic-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; background: var(--surface-2); border-radius: 14px; margin-bottom: 12px; }
.ic-tabs button { min-height: 44px; border: 0; border-radius: 10px; background: transparent; color: var(--muted); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; padding: 6px 8px; }
.ic-tabs button[aria-selected="true"] { background: var(--surface); color: var(--text); box-shadow: 0 1px 3px rgb(0 0 0 / .14); }
.ic-tabs button:disabled { opacity: .5; cursor: not-allowed; }
.ic-tabs button:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
#ic-blocked { margin: 0 0 12px; }
.ic-check { margin-top: 16px; display: grid; gap: 12px; }
.ic-check h2 { margin: 0; font-size: 1.15rem; }
.ic-check ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; }
.ic-check li { display: flex; gap: 8px; align-items: flex-start; }
.ic-check li svg { flex-shrink: 0; margin-top: 4px; color: var(--leaf-ink); }
.ic-check a { overflow-wrap: anywhere; }
.ic-disc { margin-top: 16px; }
.ic-crumb { margin-bottom: 8px; }
.ic-sample { max-width: 820px; margin-top: 16px; }
.action-bar .btn { padding: 12px 16px; flex-shrink: 0; }
.action-bar .total strong { font-size: 18px; }
@media (max-width: 480px) { .ic-lbl { display: none; } #ic-share { padding: 12px 14px; } }

/* The documents: plain letters, on screen and on paper. */
.ic-doc { line-height: 1.55; font-size: 15px; }
.ic-doc p { margin: 10px 0; }
.ic-wp { text-align: right; font-style: italic; margin-top: 0 !important; }
.ic-paras, .ic-list { padding-left: 1.4em; }
.ic-paras li { margin: 8px 0; }
.ic-list { margin: 4px 0; }
.ic-sign { margin-top: 24px; break-inside: avoid; }
.ic-sig-line { border-bottom: 1px solid #1c1917; width: 220px; height: 40px; }
.ic-blank { color: #a16207; }
.ic-form { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: inherit; }
.ic-form td, .ic-form th { border: 1px solid #d6d3d1; padding: 6px 8px; vertical-align: top; text-align: left; overflow-wrap: anywhere; }
.ic-form th { font-weight: 400; width: 45%; }
.ic-form td:first-child { width: 2.4em; }

/* Office table. */
.ic-finder { margin-bottom: 16px; display: grid; gap: 14px; }
.ic-finder .ic-office { margin: 0; }
.ic-table-wrap { margin-top: 32px; }
.ic-table-wrap h2 { font-size: 1.35rem; }
.ic-scroll { overflow-x: auto; }
.ic-offices { width: 100%; border-collapse: collapse; font-size: 14px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); }
.ic-offices th, .ic-offices td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--border); }
.ic-offices thead th { font-size: 13px; color: var(--muted); background: var(--surface-2); }
.ic-offices a { overflow-wrap: anywhere; }
@media (max-width: 600px) {
  .ic-offices thead { display: none; }
  .ic-offices tr { display: grid; padding: 10px 12px; border-bottom: 1px solid var(--border); }
  .ic-offices th, .ic-offices td { padding: 2px 0; border: 0; }
}

@media print {
  .ic-doc { font: 11.5pt/1.5 "Times New Roman", Times, serif; color: #000; }
  .ic-blank { color: inherit; }
  .ic-disc, .prose, .ic-sample, .ai-door { display: none !important; }
  .ic-form td, .ic-form th { border-color: #000; padding: 3px 6px; }
  .ic-paras li { margin: 4px 0; }
}
