/* Deposit insurance page: the tool's own pieces. Colors and fonts come only from site.css :root. */
.sec h3 { font-size: clamp(1.15rem, 1rem + 0.7vw, 1.45rem); line-height: 1.2; letter-spacing: -0.01em; font-weight: 600; margin: 2rem 0 0.6rem; }
.tool { max-width: 52rem; }

.checks { margin: 0 0 1rem; padding-left: 1.1rem; max-width: var(--measure); }
.checks li { margin-bottom: 0.5rem; }
.checks li::marker { color: var(--flag-ink); }
.checks.two-col { columns: 2 16rem; column-gap: 2rem; }
.checks.two-col li { break-inside: avoid; }

.cats { margin: 0 0 1.2rem; border-top: 2px solid var(--ink); max-width: 46rem; }
.cats div { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: 1rem; padding: 0.9rem 0; border-bottom: 1px solid var(--rule); }
.cats dt { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--flag-ink); padding-top: 0.3rem; }
.cats dd { margin: 0; }

.fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); gap: 0.9rem 1.1rem; }
.fields label { display: flex; flex-direction: column; justify-content: space-between; gap: 0.35rem;
                font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); }
.fields input[type="text"], .fields input[type="number"], .fields select {
  font: inherit; font-family: var(--mono); font-size: 0.95rem; letter-spacing: 0; text-transform: none;
  color: var(--ink); background: var(--card); border: 1.5px solid var(--ink); border-radius: 0; padding: 0.5rem 0.6rem; min-width: 0; width: 100%; }
.fields .wide { grid-column: 1 / -1; }
.fields label.check { flex-direction: row; justify-content: flex-start; align-items: flex-start; gap: 0.6rem; text-transform: none; letter-spacing: 0; font-size: 0.8rem; line-height: 1.4; }
.fields label.check input { width: 1.15rem; height: 1.15rem; margin: 0.05rem 0 0; flex-shrink: 0; accent-color: var(--ink); }

.teaches { margin: 1rem 0 0; padding: 0.7rem 1rem; background: var(--paper-2); border-left: 3px solid var(--flag); max-width: var(--measure); }

.acct { margin: 1.1rem 0 0; padding: 0.9rem 1rem 0.8rem; border: 1.5px solid var(--ink); background: var(--card); min-width: 0; }
.acct legend { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--flag-ink); padding: 0 0.4rem; }
.linkbtn { margin-top: 0.7rem; padding: 0.3rem 0; background: none; border: 0; color: var(--ink-2); font-family: var(--mono); font-size: 0.75rem;
           text-decoration: underline; text-decoration-color: var(--flag); text-underline-offset: 0.18em; cursor: pointer; }
.linkbtn:hover { color: var(--flag-ink); }
.tool .btn { margin-top: 1.1rem; cursor: pointer; font-family: var(--mono); background: var(--card); color: var(--ink); }
.tool .btn:hover { background: var(--paper-2); }

.results-sum { font-size: 1.15em; font-weight: 600; margin: 0 0 0.8rem; padding: 0.8rem 0; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--rule); max-width: none; }
.error { color: var(--flag-ink); font-family: var(--mono); font-size: 0.85rem; font-weight: 600; margin: 0.8rem 0 0; }
.error:empty, .results-sum:empty { display: none; }

.res-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 0.9rem; }
.res { border: 1.5px solid var(--ink); background: var(--card); padding: 0.8rem 0.9rem; }
.res.over { box-shadow: 5px 5px 0 var(--flag); }
.res-cat { margin: 0; font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); }
.res h4 { margin: 0.15rem 0 0.5rem; font-size: 1.15rem; line-height: 1.2; font-weight: 600; }
.res dl { margin: 0; font-family: var(--mono); font-size: 0.82rem; font-variant-numeric: tabular-nums; }
.res dl div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.2rem 0; border-top: 1px solid var(--rule); }
.res dt { color: var(--ink-2); }
.res dd { margin: 0; font-weight: 600; }
.res.over dl div:last-child dd { color: var(--flag-ink); }
.res details { margin-top: 0.6rem; font-size: 0.88rem; line-height: 1.45; }
.res summary { font-family: var(--mono); font-size: 0.75rem; cursor: pointer; color: var(--ink); }
.res ol { margin: 0.5rem 0 0; padding-left: 1.2rem; }
.res ol li { margin-bottom: 0.3rem; }

.vh { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

@media (max-width: 640px) {
  .cats div { grid-template-columns: minmax(0, 1fr); gap: 0.2rem; }
  .acct { padding: 0.8rem 0.7rem; }
}
@media (forced-colors: active) { .res.over { outline: 3px solid Highlight; box-shadow: none; } }
