/* APA 7 integrado en el laboratorio. Todos los estilos se limitan al módulo. */
.apa7-module {
  --ink:#15324a; --muted:#506b7d; --blue:#087fa6; --cyan:#04afca;
  --line:#d9e4eb; --pale:#e9f8fc;
  max-width:1120px; margin:0 auto; color:var(--ink);
  font:16px/1.55 Inter,system-ui,-apple-system,"Segoe UI",sans-serif;
}
.apa7-module h2, .apa7-module h3, .apa7-module p {margin-top:0}
.apa7-module h2 {font-size:clamp(22px,2.5vw,27px);letter-spacing:-.025em}
.apa7-module h3 {font-size:18px}
.apa7-module a {color:#006c91}
.apa7-module a:focus-visible, .apa7-module button:focus-visible,
.apa7-module input:focus-visible, .apa7-module select:focus-visible {outline:3px solid #0baed0;outline-offset:2px}
.apa7-intro {margin-bottom:25px}
.apa7-description {max-width:800px;color:var(--muted);font-size:16px}
.apa7-pills {display:flex;flex-wrap:wrap;gap:9px;margin:12px 0 19px}
.apa7-module .pill {border:1px solid var(--line);border-radius:30px;padding:7px 12px;font-size:12px;font-weight:700;display:inline-block;background:white}
.apa7-module .card {background:white;border:1px solid var(--line);border-radius:14px;padding:25px;box-shadow:0 7px 30px #16374d08}
.apa7-module .card.apa7-spaced {margin-top:24px}
.apa7-module .note {background:var(--pale);border:0;border-left:4px solid var(--cyan);border-radius:4px 9px 9px 4px;padding:17px 20px;margin:20px 0;color:#24465a}
.apa7-module .tabs {display:flex;gap:8px;flex-wrap:wrap;margin-bottom:20px}
.apa7-module .tabs button {background:white;border:1px solid #c8dce6;color:var(--ink);padding:10px 14px;border-radius:8px;font:inherit;font-weight:700;cursor:pointer}
.apa7-module .tabs button[aria-pressed="true"] {background:var(--ink);color:white}
.apa7-module .example {border-top:1px solid var(--line);padding:17px 0}
.apa7-module .example:first-child {border-top:0}
.apa7-module .example b {display:block;margin-bottom:5px}
.apa7-module .example .result {font-family:Georgia,"Times New Roman",serif;background:#f5fafc;padding:12px 14px;border-radius:7px;overflow-wrap:anywhere}
.apa7-module .example small {color:var(--muted)}
.apa7-module .field-grid {display:grid;grid-template-columns:1fr 1fr;gap:14px}
.apa7-module label {display:flex;flex-direction:column;gap:5px;color:var(--ink);font-size:13px;font-weight:740}
.apa7-module input, .apa7-module select {width:100%;font:inherit;font-size:14px;padding:10px 11px;border:1px solid #bbcfdc;border-radius:7px;background:white;color:var(--ink)}
.apa7-module .hint {font-size:12px;color:var(--muted);margin:8px 0 0}
.apa7-module .buttons {display:flex;gap:10px;flex-wrap:wrap;margin-top:17px}
.apa7-module .btn {background:var(--blue);color:white;border:0;border-radius:8px;padding:12px 17px;font-weight:800;cursor:pointer;font-family:inherit;font-size:14px}
.apa7-module .btn.secondary {background:#eaf2f6;color:var(--ink)}
.apa7-module .status {font-size:13px;color:var(--muted);min-height:1.6em}
.apa7-module .output {font:16px/1.7 Georgia,"Times New Roman",serif;overflow-wrap:anywhere;white-space:normal;min-height:50px;background:#f7fbfd;padding:17px;border:1px solid var(--line);border-radius:8px}
.apa7-module .hanging {padding-left:2.5em;text-indent:-2.5em}
.apa7-module .aside {color:var(--muted);font-size:13px}
.apa7-module table {border-collapse:collapse;width:100%;font-size:14px}
.apa7-module td, .apa7-module th {padding:12px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}
.apa7-module th {color:var(--blue);background:#eaf6fa}
.apa7-module .apa7-sources {margin-top:32px;font-size:13px;color:var(--muted)}
.apa7-module .hidden {display:none!important}
@media(max-width:740px) {
  .apa7-module .field-grid {grid-template-columns:1fr}
  .apa7-module .card {padding:19px}
  .apa7-module .tabs button {flex:1}
  .apa7-module .buttons .btn {flex:1}
}
