/* Independent Site SOP Library microsite: additions to ../css/style.css */
.skip-link { position: absolute; left: -9999px; top: 0; background: #381d92; color: #fff; padding: 0.5rem 1rem; z-index: 200; }
.skip-link:focus { left: 1rem; top: 1rem; color: #fff; }
a:focus-visible, button:focus-visible, summary:focus-visible, .table-wrap:focus-visible { outline: 3px solid #8b5cf6; outline-offset: 2px; }
.section--tight { padding: 3rem 0; }
.muted { color: #6b7280; font-size: 0.92rem; }
.lede { font-size: 1.1rem; color: #374151; max-width: 760px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; margin: 1rem 0; }
.sops-hero { padding: 4rem 0 3.5rem; }
.sops-hero p { max-width: 680px; }
.sops-hero-mini { padding: 3rem 0 1.5rem; background: #f9fafb; border-bottom: 1px solid #e5e7eb; }
.sops-hero-mini h1 { font-size: 2.2rem; margin-bottom: 0.5rem; }
.doc-kicker { text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.75rem; font-weight: 700; color: #381d92; margin-bottom: 0.4rem; }
h2[id], h3[id] { scroll-margin-top: 90px; }
.section h2 { margin: 2rem 0 0.9rem; }
.section h2:first-child, .section .container > h2:first-child, .section .container--narrow > h2:first-child { margin-top: 0; }
.section h3 { margin: 1.75rem 0 0.75rem; }

/* breadcrumb */
.sops-breadcrumb { background: #f9fafb; border-bottom: 1px solid #e5e7eb; font-size: 0.85rem; }
.sops-breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.3rem; padding: 0.6rem 0; margin: 0; }
.sops-breadcrumb li { margin: 0; color: #6b7280; }
.sops-breadcrumb li + li::before { content: "/"; margin-right: 0.3rem; color: #9ca3af; }

/* highlights, matching the Word files */
mark.hl-placeholder { background: #ffff00; color: #111; padding: 0 0.15em; border-radius: 2px; }
mark.hl-default { background: #00ff00; color: #111; padding: 0 0.15em; border-radius: 2px; }

/* callouts */
.callout { border: 1px solid #e5e7eb; border-left-width: 5px; border-radius: 6px; padding: 0.9rem 1.1rem; margin: 1.1rem 0; }
.callout p, .doc-body .callout p { margin: 0; }
.callout--site-decision { background: #fff4ce; border-color: #f2d36b; border-left-color: #c79a00; }
.callout--network-note { background: #ddebf7; border-color: #a9c8e8; border-left-color: #1f3864; }
.callout--note { background: #eef3f8; border-left-color: #6b7280; }

/* tables */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 1rem 0 1.5rem; border: 1px solid #e5e7eb; border-radius: 8px; background: #fff; }
.data-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; line-height: 1.5; }
.data-table th, .data-table td { padding: 0.55rem 0.75rem; border-bottom: 1px solid #e5e7eb; text-align: left; vertical-align: top; }
.data-table thead th { background: #eef0fb; color: #1f2937; font-weight: 600; position: sticky; top: 0; }
.data-table tbody tr:last-child td { border-bottom: none; }
.data-table td.num { text-align: right; }
.nowrap { white-space: nowrap; }
.role-matrix th, .role-matrix td { font-size: 0.8rem; min-width: 7rem; }
.role-matrix td:first-child { min-width: 14rem; font-weight: 500; }

/* reading view */
.sops-read { padding-top: 2.5rem; }
.doc-head { margin-bottom: 1.5rem; padding-bottom: 1.25rem; border-bottom: 2px solid #1f3864; }
.doc-head h1 { font-size: 2rem; margin-bottom: 0.75rem; color: #1f3864; }
.doc-facts { display: flex; flex-wrap: wrap; gap: 0.4rem 1.5rem; font-size: 0.85rem; margin: 0 0 0.5rem; }
.doc-facts div { display: flex; gap: 0.35rem; }
.doc-facts dt { color: #6b7280; }
.doc-facts dt::after { content: ":"; }
.doc-facts dd { margin: 0; font-weight: 600; }
.doc-legend { font-size: 0.82rem; color: #6b7280; margin: 0.5rem 0 0; }
.sops-toc { background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 8px; padding: 0.75rem 1.1rem; margin-bottom: 1.5rem; font-size: 0.9rem; }
.sops-toc summary { cursor: pointer; font-weight: 600; }
.sops-toc ul { list-style: none; padding: 0; margin: 0.5rem 0 0; columns: 2; column-gap: 2rem; }
.sops-toc li { margin-bottom: 0.2rem; break-inside: avoid; }
.doc-body h2 { font-size: 1.4rem; color: #1f3864; margin: 2.25rem 0 0.75rem; padding-bottom: 0.3rem; border-bottom: 1px solid #e5e7eb; }
.doc-body h3 { font-size: 1.12rem; color: #1f2937; margin: 1.6rem 0 0.6rem; }
.doc-body p { margin-bottom: 0.8rem; }
.step { display: grid; grid-template-columns: 4.2rem 1fr; column-gap: 0.4rem; margin: 0 0 0.75rem; }
.step--d3 { grid-template-columns: 5rem 1fr; margin-left: 1rem; }
.step--d4 { grid-template-columns: 5.8rem 1fr; margin-left: 2rem; }
.step-num { font-weight: 700; color: #1f3864; font-variant-numeric: tabular-nums; }
.doc-body .in-step { margin-left: 4.6rem; }
.doc-body ul { margin-top: -0.25rem; }
.doc-body ul.in-step { padding-left: 1.2rem; }
.doc-body li { margin-bottom: 0.25rem; }
.prev-next { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 3rem 0 1.5rem; padding-top: 1.5rem; border-top: 1px solid #e5e7eb; }
.pn { display: block; border: 1px solid #e5e7eb; border-radius: 8px; padding: 0.75rem 1rem; }
.pn:hover { border-color: #381d92; }
.pn--next { text-align: right; }
.pn-label { display: block; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; color: #6b7280; }
.pn-title { font-weight: 600; }
.sops-fineprint { font-size: 0.8rem; color: #6b7280; border-top: 1px solid #e5e7eb; padding-top: 1rem; margin-top: 1.5rem; }
.sops-fineprint a { text-decoration: underline; }

/* landing */
.edition-cards .card { display: flex; flex-direction: column; }
.edition-cards .card:hover { transform: none; }
.edition-card .btn-row { margin-top: auto; }
.card a.btn { display: inline-block; }
.card a.btn--primary, .card a.btn--primary:hover { color: #fff; }
.card a.btn--outline { color: #381d92; }
.card a.btn--outline:hover { color: #fff; }
.edition-card--primary { border: 2px solid #381d92; }
.edition-counts { font-size: 0.85rem; color: #374151; font-weight: 500; }
.all-download { text-align: center; margin-top: 1.5rem; }
.start-steps li { margin-bottom: 0.6rem; }
.status-box { border: 2px solid #c79a00; background: #fffbeb; border-radius: 12px; padding: 1.5rem 1.75rem; }
.status-box h2 { margin-top: 0; }
.status-box li { margin-bottom: 0.6rem; }
.status-detail { font-size: 0.88rem; color: #4b5563; margin-bottom: 0; }
.license-box { border: 1px solid #d1d5db; background: #fff; border-radius: 12px; padding: 1.5rem 1.75rem; }
.license-box h2 { margin-top: 0; }
.license-box a { text-decoration: underline; }
blockquote.attribution { font-size: 0.92rem; margin: 0.5rem 0 1rem; }
.guide-list { list-style: none; padding: 0; }
.guide-list li { border: 1px solid #e5e7eb; border-radius: 8px; padding: 1rem 1.25rem; margin-bottom: 0.75rem; }
.guide-title { font-weight: 600; font-size: 1.05rem; }
.guide-list p { margin: 0.25rem 0 0.4rem; color: #4b5563; font-size: 0.92rem; }
.guide-links { font-size: 0.88rem; }

@media (max-width: 768px) {
  .section--tight { padding: 2rem 0; }
  .sops-hero-mini h1, .doc-head h1 { font-size: 1.6rem; }
  .step, .step--d3, .step--d4 { grid-template-columns: 3.4rem 1fr; column-gap: 0.3rem; margin-left: 0; }
  .step-num { font-size: 0.85rem; padding-top: 0.12rem; }
  .doc-body .in-step { margin-left: 3.7rem; }
  .doc-body ul.in-step { padding-left: 1rem; }
  .sops-toc ul { columns: 1; }
  .prev-next { grid-template-columns: 1fr; }
  .pn--next { text-align: left; }
  .status-box, .license-box { padding: 1.25rem; }
  .btn-row .btn { flex: 1 1 auto; text-align: center; }
}
@media print {
  .site-header, .site-footer, .sops-breadcrumb, .prev-next, .btn-row, .sops-toc, #aimr-fb-btn { display: none !important; }
}
