/* Insurance Mis-selling Decoder — scoped styles. */

.ins { max-width: 820px; }

.ins-notice {
  background: var(--warn-bg); border: 1px solid var(--warn-line); border-radius: var(--radius);
  padding: 14px 16px; color: var(--muted); font-size: 0.95rem; margin-bottom: 22px;
}

.ins-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px 20px; align-items: end; }
.ins-field label { display: block; font-weight: 600; margin-bottom: 2px; }
.ins-hint { display: block; font-weight: 400; font-size: 0.82rem; color: var(--muted-light); }
.ins-actions { display: flex; gap: 10px; flex-wrap: wrap; grid-column: 1 / -1; }

.ins-result { margin-top: 24px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--bg-soft); box-shadow: var(--shadow-sm); }
.ins-result.is-warn { background: var(--warn-bg); border-color: var(--warn-line); }
.ins-result-head { margin: 0 0 8px; font-size: 1.25rem; }
.ins-big { color: #1b7a43; white-space: nowrap; }
.ins-big-low { color: #c0392b; white-space: nowrap; }
.ins-result-sub { color: var(--muted); margin: 0 0 16px; }

.ins-table { width: 100%; border-collapse: collapse; }
.ins-table th, .ins-table td { text-align: left; padding: 9px 0; border-bottom: 1px solid var(--line); font-weight: 400; }
.ins-table th { color: var(--muted); background: none; }
.ins-table td { text-align: right; font-variant-numeric: tabular-nums; }
.ins-table .ins-sub th, .ins-table .ins-sub td { font-weight: 600; color: var(--ink); }
.ins-table .ins-total th, .ins-table .ins-total td { font-weight: 700; color: var(--ink); font-size: 1.05rem; border-top: 2px solid var(--line); }

.ins-foot-note { color: var(--muted-light); font-size: 0.85rem; margin-top: 16px; }

.ins-know { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.ins-know h2 { font-size: 1.3rem; margin: 0 0 12px; }
.ins-know p { color: var(--muted); }
