/* Local Threat Library refinements; carrier styles and source originals remain separate. */
.aw-threat-pilot .tl-article .tl-faq p { max-width:none; }
.aw-threat-pilot .tl-impact-label { color:#4d78a6; font-family:var(--aw-font-head); font-weight:700; text-transform:uppercase; letter-spacing:.08em; }
@media screen {
  .aw-threat-pilot:not(.tl-study) .tl-topic-card { background:#f3f7fc; }
  .aw-threat-pilot .tl-article-rail nav>a { border-left:3px solid transparent; padding-left:12px; border-radius:0 4px 4px 0; }
  .aw-threat-pilot .tl-article-rail nav>a[aria-current="location"] { border-left-color:var(--tl-blue); background:#eaf0fa; color:#0a1f44; font-weight:700; }
  .aw-threat-pilot .tl-short-version { border-top:0; border-radius:8px; }
  .aw-threat-pilot .tl-step { border-bottom:0; }
  .aw-threat-pilot .tl-impact-grid>div { border-top:0; padding-top:0; }
  .aw-threat-pilot .tl-question-grid>div { border-top:0; padding-top:0; }

  .aw-threat-pilot .tl-study-nav { background:#f0f3f7; border-bottom:1px solid #ccd5e1; padding:12px 0; }
  .aw-threat-pilot .tl-study-nav .tl-container { display:flex; align-items:center; gap:10px 24px; flex-wrap:wrap; }
  .aw-threat-pilot .tl-study-nav span { color:#56677d; font-size:.76rem; }
  .aw-threat-pilot .tl-study-nav a { color:#204c88; font-size:.8rem; text-underline-offset:5px; padding-block:4px; }
  .aw-threat-pilot .tl-study-nav a[aria-current] { font-weight:750; text-decoration-thickness:2px; color:#0a1f44; }
  .aw-threat-pilot.tl-study .tl-starting-points>a { grid-template-columns:1fr 16px; }
  .aw-threat-pilot.tl-study .tl-feature { grid-template-columns:minmax(0,1.2fr) minmax(0,1fr); gap:52px; }
  .aw-threat-pilot.tl-study .tl-library-surface { padding-block:24px; }
  .aw-threat-pilot.tl-study .tl-topic-card { border-color:#c0cee0; box-shadow:0 2px 3px #0a1f4405; }
  .aw-threat-pilot.tl-study .tl-topic-card:hover { border-color:#3f68a1; box-shadow:0 4px 12px #0a1f4412; }
  .aw-threat-pilot.tl-study .tl-group-heading h3 { font-size:1.12rem; }
  .aw-threat-pilot.tl-study .tl-topic-group { margin-bottom:42px; }
  .aw-threat-pilot.tl-study .tl-topic-group[data-topic-group="basics"] .tl-topic-card>span { display:inline-flex; align-items:center; gap:12px; }

  /* A: a blue canvas separates the white cards; dots stay outside the cards. */
  .aw-threat-pilot.tl-study-soft-blue .tl-library-surface { background-color:#eaf1f9; background-image:radial-gradient(#a2b6cf55 .65px,transparent .8px); background-size:13px 13px; }
  .aw-threat-pilot.tl-study-soft-blue .tl-toolbar { background:#dce7f5; border-color:#b6c9e2; }
  .aw-threat-pilot.tl-study-soft-blue .tl-topic-card { background:#fff; }

  /* B: a quiet warm canvas, with the established navy and blue typography. */
  .aw-threat-pilot.tl-study-warm-paper .tl-library-surface { background-color:#f1eee6; background-image:radial-gradient(#998d7840 .55px,transparent .8px); background-size:7px 9px; }
  .aw-threat-pilot.tl-study-warm-paper .tl-toolbar { background:#e7e3d8; border-color:#c9c3b5; }
  .aw-threat-pilot.tl-study-warm-paper .tl-topic-card { background:#fffefa; border-color:#c9c3b5; }
  .aw-threat-pilot.tl-study-warm-paper .tl-topic-card:hover { border-color:#6a7f9d; }
  .aw-threat-pilot.tl-study-warm-paper .tl-insurance-band { background:#f5f2eb; }

  /* C: color marks each category; the cards remain calm and easy to read. */
  .aw-threat-pilot.tl-study-blue-headings .tl-library-surface { background:#eef2f7; }
  .aw-threat-pilot.tl-study-blue-headings .tl-toolbar { background:#e0e8f4; border-color:#bdcce0; }
  .aw-threat-pilot.tl-study-blue-headings .tl-topic-group { background:#e2eaf5; padding:0 18px 18px; border-radius:8px; overflow:hidden; }
  .aw-threat-pilot.tl-study-blue-headings .tl-group-heading { background:#173a66; padding:18px; margin:0 -18px 18px; gap:18px; justify-content:space-between; }
  .aw-threat-pilot.tl-study-blue-headings .tl-group-heading h3 { color:#fff; }
  .aw-threat-pilot.tl-study-blue-headings .tl-group-heading span { color:#e0eafb; }
  .aw-threat-pilot.tl-study-blue-headings .tl-topic-card { border-color:#c4d1e2; }
  .aw-threat-pilot.tl-study-blue-headings .tl-topic-group[data-topic-group="basics"] .tl-topic-card { grid-template-columns:220px 1fr auto; }

  @media(max-width:760px) {
    .aw-threat-pilot .tl-article-rail nav>a { border-left:0; border-bottom:3px solid transparent; border-radius:4px 4px 0 0; padding:6px 8px; margin-left:-8px; text-decoration:none; }
    .aw-threat-pilot .tl-article-rail nav>a[aria-current="location"] { border-bottom-color:var(--tl-blue); }
    .aw-threat-pilot.tl-study .tl-feature { grid-template-columns:1fr; gap:22px; }
    .aw-threat-pilot.tl-study .tl-feature-next { grid-template-columns:1fr 1fr; }
    .aw-threat-pilot.tl-study .tl-library-surface { padding-block:8px; }
    .aw-threat-pilot .tl-study-nav .tl-container { gap:6px 18px; }
    .aw-threat-pilot .tl-study-nav span { flex-basis:100%; }
  }
  @media(max-width:520px) {
    .aw-threat-pilot.tl-study .tl-feature-next { grid-template-columns:1fr; }
    .aw-threat-pilot.tl-study-blue-headings .tl-topic-group { padding:0 12px 12px; }
    .aw-threat-pilot.tl-study-blue-headings .tl-group-heading { margin:0 -12px 12px; padding:16px 14px; }
  }
}
@media print { .aw-threat-pilot .tl-study-nav { display:none; } }
