/* css/ia-tools.css — shared layout for the IA tools (feedback, planner,
   criteria checklist, topic explorer, teacher launch pack). Uses the brand
   tokens from /css/tokens.css (via /ibmath.css). */
.ia-wrap { max-width: 1120px; margin: 0 auto; padding: 22px 16px 56px; box-sizing: border-box; }
.ia-wrap *, .ia-wrap *::before, .ia-wrap *::after { box-sizing: border-box; }
.ia-narrow { max-width: 860px; }
.ia-crumbs { font-size: .84rem; color: var(--ibm-muted, #6b7a99); margin: 0 0 10px; }
.ia-crumbs a { color: var(--ibm-primary, #0d3d8f); }
.ia-wrap h1 { margin: 0 0 8px; color: var(--ibm-dark, #062559); font-size: clamp(1.6rem, 4vw, 2.2rem); letter-spacing: -.4px; line-height: 1.18; }
.ia-wrap h2 { color: var(--ibm-dark, #062559); font-size: 1.25rem; margin: 26px 0 8px; }
.ia-wrap h3 { color: var(--ibm-dark, #062559); font-size: 1.02rem; margin: 14px 0 6px; }
.ia-lede { color: var(--ibm-ink-2, #3a4a68); font-size: 1.02rem; max-width: 780px; margin: 0 0 16px; line-height: 1.55; }
.ia-card { background: #fff; border: 1px solid var(--ibm-line, #dfe6f1); border-radius: 12px; padding: 16px 18px; }
.ia-card + .ia-card { margin-top: 12px; }
.ia-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ia-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ia-notice { border-radius: 10px; padding: 12px 14px; font-size: .9rem; line-height: 1.5; margin: 0 0 14px; }
.ia-notice.integrity { background: #fff8ec; border: 1px solid #f5d49a; color: #5c3b00; }
.ia-notice.info { background: var(--ibm-primary-soft, #e8eef9); border: 1px solid var(--ibm-line-strong, #c5d1e4); color: var(--ibm-ink, #0f1f3d); }
.ia-notice.ok { background: var(--ibm-green-soft, #e7f7ee); border: 1px solid #a7e3c0; color: #14532d; }
.ia-notice.warn { background: var(--ibm-red-soft, #fdecec); border: 1px solid #f5b5b5; color: #7f1d1d; }
.ia-btn { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--ibm-primary, #0d3d8f); background: #fff; color: var(--ibm-primary, #0d3d8f); font: inherit; font-weight: 700; font-size: .9rem; border-radius: 9px; padding: 9px 14px; cursor: pointer; text-decoration: none; }
.ia-btn.primary { background: var(--ibm-primary, #0d3d8f); color: #fff; }
.ia-btn.small { padding: 5px 9px; font-size: .8rem; }
.ia-btn:disabled { opacity: .55; cursor: not-allowed; }
.ia-wrap :is(a, button, select, input, textarea, summary):focus-visible { outline: none; box-shadow: var(--ibm-focus, 0 0 0 3px rgba(13,61,143,.3)); }
.ia-wrap label.fl { display: block; font-weight: 700; font-size: .84rem; color: var(--ibm-dark, #062559); margin: 12px 0 5px; }
.ia-wrap input[type=text], .ia-wrap input[type=date], .ia-wrap select, .ia-wrap textarea { width: 100%; min-width: 0; padding: 9px 11px; border: 1px solid var(--ibm-line-strong, #c5d1e4); border-radius: 8px; font: inherit; font-size: .93rem; color: var(--ibm-ink, #0f1f3d); background: #fff; }
.ia-wrap textarea { line-height: 1.5; resize: vertical; }
.ia-hint { color: var(--ibm-muted, #6b7a99); font-size: .8rem; margin: 4px 0 0; }
.ia-tabs { display: flex; flex-wrap: wrap; gap: 6px; border-bottom: 1px solid var(--ibm-line, #dfe6f1); margin: 18px 0 14px; }
.ia-tabs button { border: 0; background: none; font: inherit; font-weight: 700; color: var(--ibm-ink-2, #3a4a68); padding: 9px 12px; border-bottom: 3px solid transparent; cursor: pointer; }
.ia-tabs button[aria-selected=true] { color: var(--ibm-primary, #0d3d8f); border-bottom-color: var(--ibm-primary, #0d3d8f); }
.ia-pill { display: inline-block; font-size: .72rem; font-weight: 800; padding: 2px 8px; border-radius: 99px; background: var(--ibm-primary-soft, #e8eef9); color: var(--ibm-dark, #062559); }
.ia-muted { color: var(--ibm-muted, #6b7a99); }
.ia-table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.ia-table th, .ia-table td { padding: 7px 8px; border-top: 1px solid #eef2f9; text-align: left; vertical-align: top; }
.ia-table th { font-size: .74rem; text-transform: uppercase; color: var(--ibm-muted, #6b7a99); }
.ia-scroll-x { overflow-x: auto; }
.ia-print-only { display: none; }
@media (max-width: 760px) {
  .ia-grid-3, .ia-grid-2 { grid-template-columns: minmax(0, 1fr); }
}
@media print {
  nav, footer, .no-print, #related-content-mount, .skip-to-content { display: none !important; }
  .ia-print-only { display: block; }
  .ia-wrap { padding: 0; max-width: none; }
  .ia-card { border: 1px solid #999; break-inside: avoid; }
  body { background: #fff; }
}
