/* Panel 03 · lectura integrada. Adaptación local; identidad original. */
.jci-prototype .jcm-categories{--jcm-ink:#173755;--jcm-muted:#455570}
.jci-prototype .jcm-categories .jcm-shell{display:grid;grid-template-columns:248px minmax(0,1fr);grid-template-rows:minmax(0,1fr);height:580px;box-sizing:border-box}
.jcm-categories .jcm-sidebar{padding:12px 8px;background:#f0f4fc;min-height:0;overflow:auto}
.jcm-categories .jcm-nav-label{display:flex;justify-content:space-between;align-items:center;margin:0 10px 10px;color:#455570;font:700 11px/1.4 var(--body-font);text-transform:uppercase;letter-spacing:.05em}
.jcm-nav-label span{font-weight:500}
.jci-prototype .jcm-categories .jcm-nav{display:block;padding:0}
.jci-prototype .jcm-categories .jcm-nav button{display:grid;grid-template-columns:20px 1fr 20px;gap:8px;min-height:44px;margin:1px 0;padding:6px 9px;font-size:14px;line-height:1.3}
.jcm-categories .jcm-nav button i{color:var(--category-color);font:700 19px/1 sans-serif;text-align:center;font-style:normal}
.jcm-categories .jcm-nav button small{font-size:12px;text-align:right}
.jci-prototype .jcm-categories .jcm-nav button[aria-selected=true]{background:#d9efef;border-color:transparent;color:#132951;box-shadow:inset 3px 0 var(--category-color)}
.jcm-categories .jcm-nav button[aria-selected=true] small{color:#132951}
.jcm-categories .jcm-mobile-label{display:none}
.jci-prototype .jcm-categories .jcm-surface{padding:14px 18px;min-width:0;min-height:0;display:flex;flex-direction:column;overflow:hidden}
.jcm-categories .jcm-view-heading{border-top:3px solid var(--category-color);border-bottom:0;padding:9px 0 8px;gap:10px;min-height:78px;flex:none;box-sizing:border-box;margin:0}
.jci-prototype .jcm-categories .jcm-view-heading h3{font-size:27px}
.jcm-categories .jcm-view-heading p{font-size:14px;line-height:1.4}
.jcm-categories .jcm-count{font-size:12px;background:none;padding:5px 0;white-space:nowrap}
.jcm-categories .jcm-body{flex:1;min-height:0;min-width:0;overflow:auto;scrollbar-gutter:stable;padding:4px 5px 4px 0;overflow-anchor:none}
.jci-prototype .jcm-categories .jcm-body>[id^=jc-panel-]{height:auto;max-height:none;min-width:0;overflow:visible;padding:0;scrollbar-gutter:auto}
.jcm-categories .jcm-body:focus-visible{outline:2px solid #245fe2;outline-offset:-2px}
.jcm-categories .jcm-source-types{display:flex;flex-wrap:wrap;gap:16px;margin:0 0 12px;border-bottom:1px solid #d4dce8}
.jcm-categories .jcm-source-types button{border:0;border-bottom:3px solid transparent;border-radius:0;background:transparent;color:#455570;padding:8px 0;font:600 14px/1.4 var(--body-font);cursor:pointer;min-height:44px}
.jcm-categories .jcm-source-types button[aria-pressed=true]{color:#132951;border-bottom-color:#245fe2}
.jcm-source-types small{margin-left:6px;font-weight:400}
.jcm-categories :is(.jcm-record-picker,.jcm-passage-picker){display:block;margin:0 0 14px;color:#455570;font:500 13px/1.4 var(--body-font)}
.jcm-categories select{display:block;width:100%;max-width:100%;min-width:0;margin-top:4px;padding:9px 32px 9px 10px;border:1px solid #aab9cc;border-radius:4px;color:#132951;background:#fff;font:500 15px/1.4 var(--body-font);min-height:44px;text-overflow:ellipsis}
.jcm-categories .jcm-record{border:0;padding:2px 0;background:none}
.jcm-categories .jcm-record-meta{display:flex;flex-wrap:wrap;gap:4px 12px;color:#455570;font:600 12px/1.4 var(--body-font)}
.jcm-categories .jcm-record-meta span{font-weight:400}
.jci-prototype .jcm-categories :is(.jcm-record,.jcm-place,.jcm-empirical) h4{font:600 27px/1.2 var(--display-font);color:#173755;margin:8px 0 12px}
.jcm-categories .jcm-record-summary,.jcm-categories .jcm-place p,.jcm-categories .jcm-empirical p{font-size:15px;line-height:1.55;margin:0 0 12px}
.jcm-categories .jcm-provenance{display:flex;flex-wrap:wrap;align-items:center;gap:7px 14px;border-top:1px solid #d4dce8;padding-top:10px;font:400 13px/1.5 var(--body-font)}
.jcm-categories a{color:#2454a3;text-underline-offset:3px;overflow-wrap:anywhere}
.jcm-categories .jcm-provenance strong{font-weight:600}
.jcm-categories .jcm-evidence-note{margin:12px 0 0;border:0;padding:0;font-size:13px;color:#455570}
.jcm-categories .jcm-evidence-note summary{font:600 13px/1.5 var(--body-font);padding:6px 0;cursor:pointer}
.jcm-categories .jcm-evidence-note p{font:400 13px/1.5 var(--body-font);margin:6px 0 0}
.jcm-categories .jcm-evidence-note a{display:block;font:400 13px/1.5 var(--body-font);margin-top:6px}
.jcm-categories .jcm-passage-picker{margin:10px 0;max-width:290px}
.jcm-categories .jcm-incomplete{color:#455570;font:400 13px/1.5 var(--body-font);margin:10px 0 0}
.jcm-categories .jcm-place{display:block;padding:0;border:0}
.jcm-categories .jcm-place-country{font-size:13px!important;color:#455570}
.jcm-categories .jcm-place-people strong{font-size:13px;display:block;margin-bottom:3px}
.jcm-categories .jcm-scope{color:#455570;font-size:13px!important;line-height:1.5;margin-top:12px!important}
.jcm-categories .jcm-open-globe,.jcm-categories .jcm-open-territory{display:inline-flex;align-items:center;min-height:44px;background:#d9efef;color:#173755;border:0;border-radius:4px;padding:8px 12px;font:600 14px/1.4 var(--body-font);cursor:pointer}
.jci-prototype .jcm-categories :is(select,summary,button,a):focus-visible{outline:3px solid #245fe2;outline-offset:2px}
.jci-prototype .jcm-categories .jc-mirada-intro{display:none}
.jci-prototype .jcm-categories .jc-elementary-card{grid-template-columns:minmax(0,.36fr) minmax(0,.64fr);border:0;border-radius:0;gap:20px;align-items:start}
.jci-prototype .jcm-categories .jc-elementary-card figure{background:#f2eefb;border-radius:5px;overflow:hidden}
.jci-prototype .jcm-categories .jc-elementary-art img{height:230px;max-height:230px;object-fit:contain}
.jci-prototype .jcm-categories .jc-elementary-card figcaption{font-size:12px;line-height:1.45;padding:10px 12px}
.jci-prototype .jcm-categories .jc-elementary-art-label{font-size:11px;margin-bottom:3px}
.jci-prototype .jcm-categories .jc-elementary-reading{padding:0}
.jci-prototype .jcm-categories .jc-elementary-reading h3{font-size:28px;margin:2px 0 10px}
.jci-prototype .jcm-categories .jc-elementary-reading>p{font-size:15px;line-height:1.5;margin:0 0 10px}
.jci-prototype .jcm-categories .jc-elementary-reading .jc-elementary-tag{font-size:13px;color:#455570;margin-bottom:5px}
.jci-prototype .jcm-categories .jc-elementary-example{padding:9px 12px;margin:10px 0;background:#edf8f7;border-left:2px solid #80bfc3}
.jci-prototype .jcm-categories .jc-elementary-example h4{font:600 13px/1.4 var(--body-font);margin:0 0 4px}
.jci-prototype .jcm-categories .jc-elementary-example p{font-size:14px;line-height:1.5;margin:0}
.jci-prototype .jcm-categories .jc-elementary-reading .jc-elementary-distinction{font-size:14px;color:#455570}
.jci-prototype .jcm-categories .jc-elementary-reading>a{font-size:13px;margin:0}
.jci-prototype .jcm-categories .jcm-theory{border:0;background:none;overflow:visible}
.jci-prototype .jcm-categories .jc-theory-shelf{display:block;overflow:visible;padding:0}
.jci-prototype .jcm-categories .jc-theory-card{display:grid;grid-template-columns:minmax(140px,.3fr) minmax(0,.7fr);gap:20px;border:0;overflow:visible}
.jci-prototype .jcm-categories .jc-theory-cover{height:270px;border-radius:5px}
.jci-prototype .jcm-categories .jc-theory-card-text{padding:0}
.jci-prototype .jcm-categories .jc-theory-origin{font-size:12px;line-height:1.5;color:#455570;margin:0 0 6px}
.jci-prototype .jcm-categories .jc-theory-card h3{font:600 28px/1.2 var(--display-font);margin:0 0 10px}
.jci-prototype .jcm-categories .jcm-theory-summary{font-size:15px;line-height:1.55;margin:0 0 10px}
.jci-prototype .jcm-categories .jc-theory-connection{font-size:14px;line-height:1.5;margin:0 0 12px;color:#455570}
.jcm-categories .jcm-bibliography{display:flex;flex-wrap:wrap;gap:5px 16px;padding-top:10px;border-top:1px solid #d4dce8;font:400 13px/1.45 var(--body-font)}
.jcm-categories .jcm-bibliography :is(strong,span){flex-basis:100%}
.jci-prototype .jcm-categories .jc-theory-credit{font-size:12px;color:#455570;line-height:1.5;margin:14px 0 0}
.jci-prototype .jcm-categories .jc-figure-grid,.jci-prototype .jcm-categories .jc-policy-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.jci-prototype .jcm-categories .jc-figure-card,.jci-prototype .jcm-categories .jc-policy-card{border:0;border-radius:0;background:#fff}
.jci-prototype .jcm-categories .jc-figure-number{min-height:100px;padding:14px 10px;border-radius:5px}
.jci-prototype .jcm-categories .jc-figure-number strong{font-size:34px}
.jci-prototype .jcm-categories .jc-figure-number span{font-size:13px;line-height:1.4}
.jci-prototype .jcm-categories .jc-figure-content{padding:12px 0}
.jci-prototype .jcm-categories :is(.jc-figure-content,.jc-policy-body,.jc-policy-head,.jc-history-detail,.jc-art-reading) h3{font-size:24px;line-height:1.2;margin:0 0 10px}
.jci-prototype .jcm-categories :is(.jc-figure-content>p,.jc-policy-body>p,.jc-history-detail p,.jc-art-reading p){font-size:15px;line-height:1.5;margin-bottom:10px}
.jci-prototype .jcm-categories :is(.jc-figure-content,.jc-policy-body,.jc-history-detail,.jc-art-reading)>a{font-size:13px;line-height:1.5}
.jci-prototype .jcm-categories :is(.jc-mirada-meta,.jc-mirada-note){font-size:13px!important;color:#455570}
.jci-prototype .jcm-categories .jc-policy-head{padding:12px;border-radius:5px}
.jci-prototype .jcm-categories .jc-policy-body{padding:12px 0}
.jci-prototype .jcm-categories .jc-policy-body :is(dt,dd){font-size:14px;line-height:1.5}
.jci-prototype .jcm-categories .jc-history-detail{grid-template-columns:95px minmax(0,1fr);padding:8px 0;border:0;background:transparent;gap:20px}
.jci-prototype .jcm-categories .jc-history-year{font-size:40px;color:#876034;background:#f7f2eb;padding:12px 8px;border-radius:5px;align-self:start}
.jci-prototype .jcm-categories .jc-question-grid{grid-template-columns:1fr;gap:0}
.jci-prototype .jcm-categories .jc-mirada-question{border:0;border-bottom:1px solid #d4dce8;border-radius:0;background:none}
.jci-prototype .jcm-categories .jc-mirada-question summary{font-size:15px;line-height:1.4;padding:12px 0;min-height:44px;box-sizing:border-box}
.jci-prototype .jcm-categories .jc-mirada-question p{font-size:15px;line-height:1.5;margin:0;padding:0 12px 14px 38px}
.jci-prototype .jcm-categories .jc-mirada-credit{font-size:13px;color:#455570;line-height:1.45;margin:12px 0 0}
.jci-prototype .jcm-categories .jc-art-card{grid-template-columns:minmax(0,.46fr) minmax(0,.54fr);gap:20px;align-items:start;border:0;border-radius:0}
.jci-prototype .jcm-categories .jc-art-card figure>a{height:245px;min-height:245px;aspect-ratio:auto;background:#f5f1f5}
.jci-prototype .jcm-categories .jc-art-card img{height:100%;max-height:245px;object-fit:contain}
.jci-prototype .jcm-categories .jc-art-card figcaption{padding:9px 0;font-size:13px;background:white;line-height:1.45}
.jci-prototype .jcm-categories .jc-art-card figcaption span{font-size:12px;line-height:1.45;color:#455570}
.jci-prototype .jcm-categories .jc-art-reading{padding:0}
.jci-prototype .jcm-categories .jc-art-reading h4{font-size:15px;line-height:1.5;margin:0 0 8px}
.jci-prototype .jcm-categories .jc-art-reading .jcm-art-kind{font-size:12px;color:#765469;margin:0 0 8px}
.jcm-categories .jcm-application{border-left:3px solid #80bfc3;padding:9px 14px;margin:15px 0;background:#edf8f7}
.jcm-categories .jcm-application h5{font:600 15px/1.4 var(--body-font);margin:0 0 8px}
.jcm-categories .jcm-application ol{margin:0;padding-left:21px;font:400 14px/1.5 var(--body-font)}
.jcm-categories .jcm-application>p{font:400 13px/1.5 var(--body-font);margin:8px 0 0;color:#455570}
.jcm-categories .jcm-application small{display:block;margin:0 0 5px;font:400 12px/1.4 var(--body-font);color:#455570}
.jcm-categories .jcm-empirical{display:grid;grid-template-columns:minmax(0,.36fr) minmax(0,.64fr);gap:20px}
.jcm-categories .jcm-empirical figure{margin:0;min-width:0}
.jcm-categories .jcm-empirical img{display:block;width:100%;height:215px;object-fit:contain;background:#edf2f6;border-radius:5px}
.jcm-categories .jcm-empirical figcaption{font:400 12px/1.5 var(--body-font);margin-top:8px;color:#455570}
.jcm-categories .jcm-empirical figcaption a{display:block}
.jcm-categories .jcm-empirical h4{margin-top:0}
@media(max-width:1250px){
 .jci-prototype .jcm-categories .jcm-shell{grid-template-columns:232px minmax(0,1fr)}
 .jci-prototype .jcm-categories .jcm-surface{padding:12px}
 .jci-prototype .jcm-categories .jc-figure-grid,.jci-prototype .jcm-categories .jc-policy-grid{grid-template-columns:1fr}
 .jci-prototype .jcm-categories .jc-figure-card{display:grid;grid-template-columns:160px minmax(0,1fr);gap:16px;align-items:start}
 .jci-prototype .jcm-categories .jc-figure-content{padding:0}
 .jci-prototype .jcm-categories .jc-policy-card{display:grid;grid-template-columns:190px minmax(0,1fr);gap:16px;align-items:start}
 .jci-prototype .jcm-categories .jc-policy-body{padding:0}
 .jci-prototype .jcm-categories .jc-elementary-card,.jci-prototype .jcm-categories .jc-art-card,.jcm-categories .jcm-empirical{gap:14px}
}
@media(max-width:980px){
 .jci-prototype .jcm-categories .jcm-shell{grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);height:650px}
 .jcm-categories .jcm-sidebar{padding:10px 14px;border-right:0;border-bottom:1px solid #d4dce8;overflow:visible}
 .jci-prototype .jcm-categories .jcm-nav,.jcm-categories .jcm-nav-label{display:none}
 .jcm-categories .jcm-mobile-label{display:block;font:500 13px/1.4 var(--body-font);color:#455570}
 .jci-prototype .jcm-categories .jcm-view-heading{min-height:0;padding-top:8px}
 .jci-prototype .jcm-categories .jcm-view-heading h3{font-size:25px}
 .jci-prototype .jcm-categories .jc-elementary-card{grid-template-columns:minmax(0,.36fr) minmax(0,.64fr)}
 .jci-prototype .jcm-categories .jc-art-card{grid-template-columns:minmax(0,.46fr) minmax(0,.54fr)}
}
@media(max-width:560px){
 .jci-prototype .jcm-categories .jcm-shell{height:690px;max-height:calc(100svh - 70px);min-height:490px}
 .jci-prototype .jcm-categories .jcm-view-heading h3{font-size:23px}
 .jci-prototype .jcm-categories .jcm-view-heading p{font-size:13px}
 .jci-prototype .jcm-categories .jcm-count{display:none}
 .jci-prototype .jcm-categories .jcm-surface{padding:10px 12px}
 .jcm-categories .jcm-record-picker{margin-bottom:12px}
 .jcm-categories select{font-size:16px}
 .jci-prototype .jcm-categories .jc-elementary-card,.jci-prototype .jcm-categories .jc-art-card,.jcm-categories .jcm-empirical{grid-template-columns:1fr;gap:12px}
 .jci-prototype .jcm-categories .jc-elementary-art img{height:165px;max-height:165px}
 .jci-prototype .jcm-categories .jc-elementary-card figcaption{padding:6px 10px;font-size:11px}
 .jci-prototype .jcm-categories .jc-elementary-art-label{display:inline;letter-spacing:0;text-transform:none;margin-right:5px;font-size:11px}
 .jci-prototype .jcm-categories .jc-elementary-reading h3{font-size:26px}
 .jci-prototype .jcm-categories .jc-theory-card{grid-template-columns:1fr;gap:12px}
 .jci-prototype .jcm-categories .jc-theory-cover{height:155px}
 .jci-prototype .jcm-categories .jc-theory-cover-fallback{max-width:260px}
 .jci-prototype .jcm-categories .jc-theory-cover-fallback>strong{font-size:22px}
 .jci-prototype .jcm-categories .jc-figure-card,.jci-prototype .jcm-categories .jc-policy-card{grid-template-columns:1fr;gap:10px}
 .jci-prototype .jcm-categories .jc-figure-number{min-height:82px}
 .jci-prototype .jcm-categories .jc-history-detail{grid-template-columns:1fr;gap:8px}
 .jci-prototype .jcm-categories .jc-history-year{display:none}
 .jci-prototype .jcm-categories .jc-art-card figure>a{height:180px;min-height:180px}
 .jci-prototype .jcm-categories .jc-art-card img{max-height:180px}
 .jcm-categories .jcm-empirical img{height:165px}
}
@media(prefers-reduced-motion:reduce){.jcm-categories *{scroll-behavior:auto!important}}

.jcm-categories .jcm-open-territory,.jcm-categories .jcm-open-globe{margin-top:12px}
.jci-prototype .jcm-categories .jc-elementary-reading>a{display:block;margin-top:6px}

/* Gráficas académicas: misma lectura y scroll normal, escalas independientes. */
.jci-prototype .jcm-categories .jcm-stat-card{display:block;min-width:0}
.jci-prototype .jcm-categories .jcm-stat-card[hidden]{display:none}
.jcm-stat-card header h3{font:600 25px/1.2 var(--display-font);color:#173755;margin:0 0 4px}
.jcm-stat-card header>p{font:400 13px/1.45 var(--body-font);color:#455570;margin:0 0 10px}
.jcm-stat-layout{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(220px,1fr);gap:24px;align-items:start}
.jcm-stat-layout figure{margin:0;min-width:0}
.jcm-stat-plot{width:100%;min-width:0}
.jcm-stat-plot svg{display:block;width:100%;height:230px;overflow:visible;font:400 14px var(--body-font);fill:#173755}
.jcm-stat-plot .jcm-stat-grid{stroke:#d6dfea;stroke-width:1;stroke-dasharray:2 4}
.jcm-stat-plot .jcm-stat-axis{stroke:#8292a8;stroke-width:1}
.jcm-stat-plot .jcm-stat-interval{stroke:#2454a3;stroke-width:5}
.jcm-stat-plot .jcm-stat-cap{stroke:#2454a3;stroke-width:2}
.jcm-stat-plot .jcm-stat-point{fill:#173755;stroke:#fff;stroke-width:1}
.jcm-stat-plot .jcm-stat-bar{fill:#2454a3;stroke:#2454a3;stroke-width:1}
.jcm-stat-plot .jcm-stat-reference{fill:#fff}
.jcm-stat-plot .jcm-stat-value{font-weight:600}
.jcm-stat-layout figcaption{font:500 13px/1.4 var(--body-font);color:#455570;margin:0 0 6px;text-align:center}
.jcm-stat-reading>p{font:400 14px/1.5 var(--body-font);margin:0 0 10px}
.jcm-stat-reading .jcm-stat-headline{margin:0 0 10px}
.jcm-stat-headline strong{display:block;font:600 31px/1.2 var(--display-font);color:#173755}
.jcm-stat-headline span{display:block;font:400 13px/1.4 var(--body-font);color:#455570;margin-top:3px}
.jcm-stat-reading .jcm-stat-limit{font-size:13px;color:#455570}
.jcm-stat-card .jcm-stat-question{font:500 14px/1.45 var(--body-font);margin:12px 0;padding:9px 12px;background:#edf8f7;border-left:2px solid #80bfc3}
.jcm-stat-footer{font:400 13px/1.45 var(--body-font);border-top:1px solid #d4dce8;padding-top:9px}
.jcm-stat-footer>details{margin-top:6px}
.jcm-stat-footer summary{cursor:pointer;min-height:36px;padding:8px 0;box-sizing:border-box;font-weight:600}
.jcm-stat-footer table{border-collapse:collapse;width:100%;margin:0 0 10px;font-size:13px;text-align:left}
.jcm-stat-footer caption{text-align:left;font-weight:600;padding-bottom:7px}
.jcm-stat-footer :is(th,td){border-bottom:1px solid #d4dce8;padding:6px 8px 6px 0}
.jcm-stat-footer tbody th{font-weight:400}
.jcm-stat-footer p{margin:6px 0}
@media(max-width:1150px){.jcm-stat-layout{grid-template-columns:minmax(0,1fr);gap:10px}.jcm-stat-reading .jcm-stat-headline{display:none}}
@media(max-width:980px) and (min-width:700px){.jcm-stat-layout{grid-template-columns:minmax(0,1.4fr) minmax(210px,1fr);gap:16px}.jcm-stat-reading .jcm-stat-headline{display:block}}
@media(max-width:560px){.jcm-stat-card header h3{font-size:23px}.jcm-stat-card .jcm-stat-question{font-size:14px}}
