/* Club FisioTeck — Atlas muscular: fichas de músculos */
.at-barra { margin-bottom: 14px; } .at-sec { padding: 9px 16px; border-radius: 10px; border: 1px solid var(--border-2, var(--border)); background: transparent; color: var(--text); font: inherit; font-weight: 700; font-size: .84rem; cursor: pointer; }
.at-esp { margin-top: 20px; padding-top: 16px; border-top: 1px dashed var(--border); } .at-esp h4 { margin: 0 0 2px; font-size: .95rem; } .at-sub { font-size: .8rem; color: var(--text-muted); margin: 0 0 10px; }
.at-chips { display: flex; gap: 6px; flex-wrap: wrap; } .at-chips button { padding: 6px 12px; border: 1px solid var(--border); border-radius: 999px; background: transparent; color: var(--text); font: inherit; font-size: .8rem; cursor: pointer; } .at-chips button:hover { border-color: var(--accent, var(--primary)); }
.at-ficha { margin-top: 14px; padding: 16px; border: 1px solid var(--accent, var(--primary)); border-radius: 14px; background: var(--bg); } .at-cab { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; } .at-cab h4 { margin: 0; font-size: 1.05rem; } .at-cab span { font-size: .7rem; padding: 2px 9px; border-radius: 10px; background: var(--accent-ghost, rgba(13,95,160,.12)); color: var(--primary, var(--accent)); font-weight: 600; }
.at-ficha dl { margin: 0; display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 6px 12px; font-size: .86rem; } .at-ficha dt { font-weight: 700; color: var(--text-light, var(--text-muted)); } .at-ficha dd { margin: 0; line-height: 1.5; }
.at-ficha h5 { margin: 14px 0 4px; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--primary, var(--accent)); } .at-ficha ul { margin: 0; padding-left: 18px; font-size: .85rem; line-height: 1.55; }
.at-fuentes { margin: 14px 0 0; font-size: .74rem; color: var(--text-muted); line-height: 1.5; } .at-aviso { margin: 6px 0 0; font-size: .72rem; color: var(--text-muted); font-style: italic; }
.at-res { display: grid; gap: 6px; margin-bottom: 8px; } .at-res small { font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: var(--text-muted); font-weight: 700; } .at-res button { text-align: left; padding: 10px 14px; border: 1px solid var(--border); border-radius: 10px; background: var(--bg-card, var(--surface, #fff)); color: var(--text); font: inherit; cursor: pointer; } .at-res b { display: block; font-size: .88rem; } .at-res span { font-size: .74rem; color: var(--text-muted); }
.at-quiz small { display: block; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 800; color: var(--accent, var(--primary)); margin-bottom: 4px; } .at-quiz h4 { margin: 0 0 12px; font-size: 1.05rem; }
.at-op { display: block; width: 100%; text-align: left; margin-bottom: 8px; padding: 11px 14px; border: 1px solid var(--border-2, var(--border)); border-radius: 10px; background: transparent; color: var(--text); font: inherit; font-size: .88rem; cursor: pointer; } .at-op.bien { border-color: #2F8B63; background: rgba(47,139,99,.12); } .at-op.mal { border-color: #C0392B; background: rgba(192,57,43,.1); } .at-op:disabled { cursor: default; }
.at-ok { color: #2F8B63; font-weight: 700; } .at-err { color: #C0392B; font-weight: 700; } .at-cta { padding: 10px 18px; border-radius: 10px; border: 0; background: var(--accent, var(--primary)); color: var(--on-accent, #fff); font: inherit; font-weight: 700; cursor: pointer; }
@media (max-width: 520px) { .at-ficha dl { grid-template-columns: 1fr; gap: 0; } .at-ficha dt { margin-top: 8px; } }
.at-nota { margin: 12px 0 0; font-size: .8rem; color: var(--text-light, var(--text-muted)); line-height: 1.5; padding: 8px 10px; border-left: 3px solid #E0A800; background: rgba(224,168,0,.08); border-radius: 0 8px 8px 0; }
.at-fuentes { margin: 12px 0 0; font-size: .76rem; color: var(--text-muted); } .at-fuentes summary { cursor: pointer; font-weight: 600; } .at-fuentes ul { margin: 6px 0 0; padding-left: 18px; line-height: 1.5; }

/* Visor anatómico integrado y biblioteca de fichas conservada. */
#page-atlas .atlas-3d-shell{min-width:0;margin-bottom:20px;}
#page-atlas .atlas-study{padding:16px;border:1px solid var(--border);border-radius:var(--radius);background:var(--bg-card);}
#page-atlas .atlas-study>summary{font-weight:700;cursor:pointer;color:var(--text);}
#page-atlas .atlas-study[open]>summary{margin-bottom:18px;}
#page-atlas #atlasInfo,#page-atlas .atlas-study{scroll-margin-top:96px;}

/* Guía clínica de la zona */
.at-guia { margin-top: 20px; padding: 16px; border: 1px solid var(--border); border-radius: 14px; background: var(--accent-ghost, rgba(13,95,160,.07)); }
.at-guia h4 { margin: 0 0 10px; font-size: .95rem; }
.at-g { margin-bottom: 8px; border: 1px solid var(--border); border-radius: 10px; background: var(--bg-card, var(--surface, #fff)); }
.at-g summary { padding: 10px 13px; cursor: pointer; font-size: .86rem; font-weight: 700; color: var(--text); list-style-position: inside; }
.at-g[open] summary { color: var(--accent, var(--primary)); }
.at-g ul { margin: 0; padding: 0 16px 12px 32px; font-size: .84rem; line-height: 1.55; color: var(--text-light, var(--text-muted)); }
.at-g li { margin-bottom: 5px; }
.at-g.alerta { border-color: rgba(220,45,63,.35); }
.at-g.alerta summary { color: var(--danger, #DC2D3F); }
.at-guia .at-nota { margin: 10px 0 0; }

.at-ref { font-size: .68rem; color: var(--accent, var(--primary)); font-weight: 700; white-space: nowrap; }
.at-fuentes-l { margin: 0; padding: 0 16px 12px 36px; font-size: .78rem; line-height: 1.5; color: var(--text-muted); }
.at-fuentes-l li { margin-bottom: 6px; overflow-wrap: anywhere; }
.at-fuentes-l a { color: var(--accent, var(--primary)); font-weight: 600; }
.at-fuentes-l span { display: block; font-size: .72rem; }

.at-desc { margin: 4px 0 8px; font-size: .88rem; line-height: 1.55; color: var(--text); }
.at-esp-estr { margin-top: 16px; } .at-esp-estr h4 { margin: 0 0 6px; font-size: .95rem; }
.at-tipo { margin-bottom: 8px; } .at-tipo small { display: block; margin-bottom: 4px; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 800; color: var(--text-muted); }

details.at-tipo { margin-bottom: 6px; border: 1px solid var(--border); border-radius: 10px; background: var(--bg-card, var(--surface, #fff)); }
details.at-tipo > summary { padding: 9px 12px; cursor: pointer; font-size: .8rem; font-weight: 700; color: var(--text); list-style-position: inside; }
details.at-tipo[open] > summary { color: var(--accent, var(--primary)); }
details.at-tipo > .at-chips { padding: 0 12px 12px; }
