.atlas-page-links { display:flex; gap:.75rem; flex-wrap:wrap; margin-top:1.5rem; }
.atlas-page-links a { padding:.75rem 1rem; border:1px solid #c2d1c6; border-radius:10px; color:#24584b; }
.atlas-page-links .is-active { background:#e9f1e9; font-weight:600; }
.atlas-filters { display:grid; grid-template-columns:1.3fr .9fr 1fr .8fr 1.3fr; gap:1rem; }
.atlas-filters label { display:grid; gap:.4rem; font-size:.88rem; color:#45574c; min-width:0; }
.atlas-filters input,.atlas-filters select { width:100%; min-width:0; padding:.75rem; font:inherit; border:1px solid #bacac0; border-radius:9px; background:#fff; color:#203d32; }
.atlas-stat-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:.8rem; margin:1.3rem 0; }
.atlas-stat { padding:1rem; background:#f3f6ef; border-radius:12px; }
.atlas-stat strong { display:block; font-size:1.5rem; color:#254c3c; }.atlas-stat span { font-size:.85rem; color:#566359; }
.atlas-legend { display:flex; align-items:center; flex-wrap:wrap; gap:.9rem; font-size:.8rem; color:#53655a; margin:1.25rem 0; }
.atlas-legend span { display:flex; align-items:center; gap:.35rem; }.atlas-legend i { width:.8rem; height:.8rem; border-radius:3px; display:inline-block; }
.atlas-low { --atlas-color:#29675b; --atlas-fill:#edf5ef; }.atlas-medium { --atlas-color:#a77821; --atlas-fill:#fbf4e2; }
.atlas-high { --atlas-color:#a8492e; --atlas-fill:#fbece4; }.atlas-unknown { --atlas-color:#79817b; --atlas-fill:#f0f2ef; }
.atlas-legend i { background:var(--atlas-color); }.atlas-note { font-size:.84rem; color:#5b665f; line-height:1.65; overflow-wrap:anywhere; }
.atlas-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:.9rem; margin:1.2rem 0; }
.atlas-tile { display:flex; flex-direction:column; gap:.65rem; text-align:left; min-width:0; padding:1.2rem; font:inherit; border:1px solid #d2dcd1; border-top:4px solid var(--atlas-color); border-radius:13px; background:var(--atlas-fill); cursor:pointer; color:#263c30; transition:transform .15s, box-shadow .15s; }
.atlas-tile:hover { transform:translateY(-2px); box-shadow:0 5px 16px #213d3214; }.atlas-tile[aria-pressed="true"] { outline:2px solid #345b47; outline-offset:2px; }
.atlas-tile h3 { font-size:1.03rem; line-height:1.4; margin:0; min-height:2.8em; }.atlas-value { font-size:1.8rem; font-weight:600; letter-spacing:-.04em; }
.atlas-tile small { font-size:.8rem; color:#536159; }.atlas-meter { height:6px; background:#ffffffa8; border-radius:4px; overflow:hidden; }
.atlas-trial-label.is-unknown { padding:.4rem .5rem; border-radius:6px; background:#e8ece7; color:#58615b; }
.atlas-meter span { display:block; height:100%; background:var(--atlas-color); }.atlas-trial-label { margin-top:auto; font-size:.82rem; line-height:1.5; }
#atlas-detail { scroll-margin-top:1rem; }.atlas-members { display:flex; flex-wrap:wrap; gap:.5rem; margin:1rem 0; }
.atlas-members button { text-align:left; white-space:normal; max-width:100%; padding:.6rem .85rem; border:1px solid #bacfc2; border-radius:9px; background:#f1f6ee; color:#235749; cursor:pointer; font:inherit; font-size:.85rem; }
.atlas-chain { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:.8rem; }.atlas-chain article { min-width:0; padding:1rem; border:1px solid #d6e0d3; border-radius:12px; background:#f8faf5; overflow-wrap:anywhere; }
.atlas-chain h4 { margin:0 0 .6rem; }.atlas-chain p { font-size:.87rem; line-height:1.5; margin:.5rem 0; }
.atlas-study { padding:1rem 0; border-bottom:1px solid #dce4d7; overflow-wrap:anywhere; }
.atlas-study p { font-size:.87rem; color:#536159; margin: 0.35rem 0; }
.atlas-study-head { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 0.4rem; }
.atlas-study-head a { font-weight: 600; font-size: 0.95rem; color: #1e4537; }
.badge-endpoint { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.75rem; font-weight: 700; font-family: var(--font-mono, "JetBrains Mono", monospace); padding: 0.2rem 0.55rem; border-radius: 4px; letter-spacing: 0.02em; white-space: nowrap; }
.badge-endpoint-hard { background: #e8f5e9; color: #1b5e20; border: 1px solid #81c784; }
.badge-endpoint-validated { background: #fffde7; color: #f57f17; border: 1px solid #fff176; }
.badge-endpoint-unvalidated { background: #f5f5f5; color: #616161; border: 1px solid #e0e0e0; }
.badge-endpoint-paradox { background: #ffebee; color: #b71c1c; border: 1px solid #ef9a9a; }
.atlas-study-endpoint-note { font-size: 0.8rem; color: #6f6458; font-style: italic; }
.atlas-error { padding:1rem; background:#f7eee0; border-radius:10px; }button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible { outline:3px solid #b27535; outline-offset:3px; }
@media(max-width:900px) { .atlas-filters,.atlas-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:620px) { .atlas-filters,.atlas-grid,.atlas-chain { grid-template-columns:1fr; }.atlas-stat-grid { gap:.4rem; }.atlas-stat { padding:.7rem; }.atlas-stat strong { font-size:1.2rem; }.atlas-stat span { font-size:.72rem; } }

.atlas-modes { display:flex; flex-wrap:wrap; gap:.7rem; margin-bottom:.7rem; }
.atlas-modes button,.atlas-availability button { padding:.7rem 1rem; font:inherit; border:1px solid #a9c2b5; border-radius:10px; background:#f4f8f1; color:#24584b; cursor:pointer; }
.atlas-modes button[aria-pressed="true"] { background:#24584b; color:#fff; }
.atlas-availability:not(:empty) { padding:1rem; border:1px solid #d8c9a7; border-radius:12px; background:#fbf4e2; margin:1rem 0; }
.atlas-availability button { margin:.75rem .5rem 0 0; background:white; }
.atlas-impact-formula { font-size:clamp(1rem,2vw,1.3rem); margin:.8rem 0; color:#24584b; overflow-wrap:anywhere; }
#atlas-mortality-context:not(:empty) { margin:1.2rem 0; padding:1rem; border:1px solid #c7d7cd; border-radius:12px; background:#f4f8f1; }
.atlas-age-table { width:100%; table-layout:fixed; border-collapse:collapse; font-size:.84rem; margin:1rem 0; }
.atlas-age-table caption { text-align:left; margin-bottom:.7rem; color:#536159; }
.atlas-age-table th,.atlas-age-table td { text-align:left; padding:.65rem .4rem; border-bottom:1px solid #d2dcd1; overflow-wrap:anywhere; vertical-align:top; }
.atlas-age-table th:first-child { width:34%; }
@media(max-width:620px) { .atlas-age-table { font-size:.72rem; }.atlas-age-table th,.atlas-age-table td { padding:.55rem .2rem; } }
