/* Scoped pilot: the first lesson keeps video and graph aligned. The ficha
   floats over the graph instead of creating a third row under the video. */
.climate-with-map .jc-has-network .jc-media-pair.jc-pilot-pair:not(.cm-expanded){display:grid;grid-template-columns:minmax(0,.94fr) minmax(0,1.06fr);grid-template-rows:auto auto;gap:14px 22px;align-items:start}
.climate-with-map .jc-pilot-pair .jc-video-column{display:contents}
.climate-with-map .jc-pilot-pair .jc-lesson-heading{grid-column:1;grid-row:1}
.climate-with-map .jc-pilot-pair .jc-player-side{grid-column:1;grid-row:2}
.climate-with-map .jc-pilot-pair .jc-network-heading{grid-column:2;grid-row:1;min-width:0;align-self:start}
.climate-with-map .jc-pilot-pair .jc-network{grid-column:2;grid-row:2;min-width:0;width:100%}
.climate-with-map .jc-pilot-pair .cmp-dock{position:absolute;right:12px;top:12px;width:min(340px,58%);max-height:calc(100% - 24px);box-sizing:border-box;border:1px solid #aabfd4;border-radius:15px;background:#fff;box-shadow:0 16px 42px #0f2c4750;overflow:hidden;display:flex;flex-direction:column;z-index:8}
.climate-with-map .jc-pilot-pair .cmp-dock[hidden]{display:none!important}
.cmp-dock [hidden],.cm-pilot-heading [hidden]{display:none!important}
.cmp-reading-bar{display:flex;align-items:center;gap:10px;justify-content:space-between;padding:10px 13px;border-bottom:1px solid #d5e2e5;min-height:48px;box-sizing:border-box}
.cmp-reading-status{color:#24465b;font-size:13px;line-height:1.4;font-weight:600;min-width:0}
.climate-with-map .cmp-follow{flex:none;min-height:36px;border:1px solid #adcad1;border-radius:5px;padding:6px 10px;color:#173858;background:#fff;font:600 13px/1.3 var(--body-font,'DM Sans',sans-serif);cursor:pointer}
.cmp-follow:focus-visible{outline:3px solid #245fe2;outline-offset:-4px}
.cmp-dock .cm-detail-panel{position:static;inset:auto;display:flex;flex:1;min-height:0;max-height:none;padding:0 14px 10px;background:transparent;z-index:auto}
.cmp-dock .cm-detail-bar{flex:none;padding:5px 0;border:0;justify-content:flex-end}
.climate-with-map .cmp-dock .cm-detail-bar .cm-seek{min-height:32px;padding:4px 8px;border:0;background:transparent;font-size:13px;color:#2454ae}
.cmp-dock .cm-detail{padding-top:0;overflow:auto;min-height:0;scrollbar-gutter:stable;overscroll-behavior:contain}
.climate-with-map .cmp-dock .cm-detail h4{font-size:22px;line-height:1.15;margin:7px 0 10px}
.cmp-dock .cm-detail p{font-size:16px;line-height:1.5}
.cmp-dock .cm-detail .cm-detail-meta,.cmp-dock .cm-detail .cm-evidence,.cmp-dock .cm-detail .cm-date{font-size:13px;line-height:1.45}
.cmp-dock .cm-detail a{font-size:14px;line-height:1.4;overflow-wrap:anywhere}
.jci-essential .cm-node-research{margin:12px 0 15px;padding:12px 14px;border-left:3px solid #7bc5c1;border-radius:0 6px 6px 0;background:#f1f8f7}
.jci-essential .cm-node-research h5{margin:0 0 7px;font-size:14px;line-height:1.4;color:#173b54}
.jci-essential .cm-node-research p{margin:0 0 8px;font-size:14px;line-height:1.5}
.jci-essential .cm-node-research .cm-node-research-scope{font-size:12px;color:#526681}
.jci-essential .cm-node-research a{display:inline-block;min-height:0;font-size:13px;line-height:1.45;overflow-wrap:anywhere}
.cmp-dock .cmp-connections{margin-top:14px;border-top:1px solid #d5e2e5;padding-top:8px}
.cmp-dock .cmp-connections summary{min-height:36px;box-sizing:border-box;padding:7px 0;color:#24465b;font-size:14px;line-height:1.4;font-weight:600;cursor:pointer}
.cmp-dock .cmp-connections summary:focus-visible{outline:2px solid #245fe2;outline-offset:2px}
.cmp-dock .cmp-connections ul{margin:6px 0 0;padding-left:19px}
.cmp-dock .cmp-connections li{margin:0 0 12px;color:#24465b;font-size:14px;line-height:1.5}
.cmp-dock .cmp-connections li strong,.cmp-dock .cmp-connections li span,.cmp-dock .cmp-connections li small{display:block}
.cmp-dock .cmp-connections li small{font-size:12px;color:#536b79}
.cm-pilot .cm-selection{display:none!important}
.cm-pilot .cm-stage{overflow:hidden;border:1px solid #d5dfe9;border-radius:8px;background:#fafcfd}
.cm-pilot .cm-graph{height:100%;width:100%}
.cm-pilot .cm-empty{position:absolute;inset:auto 18px 18px;background:#fffffff2;padding:12px 14px;border:1px solid #d7e2e6;border-radius:5px;max-width:300px;margin:auto;pointer-events:none}
.cm-pilot .cm-empty strong{font-size:16px}
.cm-pilot .cm-empty p{font-size:14px;line-height:1.4;margin:5px 0 0}
.climate-with-map .jc-pilot-pair .cm-heading{display:flex;align-items:center;gap:7px;flex-wrap:wrap;padding:0}
.climate-with-map .jc-pilot-pair .cm-heading h3{flex:1 1 180px;font-size:23px;line-height:1.16;margin:0}
.climate-with-map .jc-pilot-pair .cm-heading .cm-view-toggle{font-size:13px;min-height:36px;padding:6px 8px}
.cm-pilot-heading .cm-category-key{margin:8px 0 0}
.cm-pilot-heading .cm-category-title{display:none}
.cm-pilot-heading .cm-legend{gap:5px 10px;font-size:12px;line-height:1.4;flex-wrap:wrap}
.cm-pilot-heading .cm-legend .cmp-category-glyph,.cm-pilot .cmp-category-glyph{display:inline-flex;align-items:center;justify-content:center;flex:none;width:16px;height:18px;border:0;border-radius:0;background:none;clip-path:none;transform:none;color:var(--node-color);font:700 16px/1 sans-serif}
.cm-pilot-heading .cm-visualizations{display:flex;gap:7px;align-items:center;flex-wrap:wrap;margin:8px 0 0}
.cm-pilot-heading .cm-lenses{display:flex;gap:4px;flex-wrap:wrap}
.cm-pilot-heading .cm-lenses button{min-height:36px;padding:6px 12px;font-size:13px}
.cm-pilot-heading .cm-lenses button[aria-pressed=true]{background:#1c5261;color:#fff;border-color:#1c5261}
.cm-pilot-heading .cm-gesture-start{font-size:13px;min-height:36px;padding:6px 9px}
.cm-pilot-heading .cm-lesson-spread{font-size:13px;min-height:36px;padding:6px 11px;border:1px solid #cbd8e7;border-radius:20px;background:#fff;color:#193c58;cursor:pointer}
.cm-pilot-heading .cm-lesson-spread[aria-pressed=true]{background:#d9eeee;border-color:#9bc9d0}
.cm-pilot-heading .cm-lesson-spread[hidden]{display:none!important}
.cm-pilot-heading .cm-lesson-spread:focus-visible{outline:3px solid #dca735;outline-offset:2px}
.cm-pilot .cm-lesson-force-canvas{position:absolute;inset:0}
.cm-pilot .cm-lesson-force-labels{z-index:2}
.cm-pilot .cm-lesson-force-labels button{border:1px solid #718fac80!important;border-radius:5px!important;background:#0b172be8!important;color:#f2f6ff!important;text-shadow:none!important;font-size:12px!important;line-height:1.3!important;max-width:165px;box-shadow:0 1px 7px #02071170}
.cm-pilot .cm-lesson-force-labels button[aria-pressed=true]{border-color:#9ce6ed!important;background:#214d63!important}
.cm-pilot .cm-lesson-force-pointer{z-index:3;border-color:#eeef87}
.cm-pilot .cm-lesson-force-pointer.is-target{background:#eeef8755}
.cm-pilot .cm-lesson-force-labels [hidden]{display:none!important}
.cm-pilot .cm-space-label{font-size:14px;line-height:1.3;max-width:190px}
.cm-pilot .cm-category-list{background:#fff}
.cm-pilot .cm-category-tabs button,.cm-pilot .cm-list-results button{font-size:14px}
.cm-pilot .cm-reset-view{display:none!important}
.cm-pilot .cm-space-home{display:none!important}
@media(max-width:1100px){
 .climate-with-map .jc-has-network .jc-media-pair.jc-pilot-pair:not(.cm-expanded){grid-template-columns:minmax(0,1fr);grid-template-rows:auto;gap:12px}
 .climate-with-map .jc-pilot-pair .jc-lesson-heading{grid-column:1;grid-row:1}
 .climate-with-map .jc-pilot-pair .jc-player-side{grid-column:1;grid-row:2}
 .climate-with-map .jc-pilot-pair .jc-network-heading{grid-column:1;grid-row:3;padding-top:8px}
 .climate-with-map .jc-pilot-pair .jc-network{grid-column:1;grid-row:4}
 .cm-pilot-heading .cm-lenses button,.cm-pilot-heading .cm-gesture-start,.cm-pilot-heading .cm-lesson-spread,.climate-with-map .cmp-follow{min-height:44px}
 .cmp-dock .cmp-connections summary{min-height:44px;padding-block:11px}
}
@media(max-width:520px){
 .climate-with-map .jc-pilot-pair .cm-heading h3{font-size:22px}
 .cm-pilot-heading .cm-legend{font-size:12px}
 .cmp-reading-bar{padding:8px 11px}
 .cmp-reading-status{font-size:13px}
 .climate-with-map .jc-pilot-pair .cmp-dock{inset:auto 8px 8px;width:calc(100% - 16px);max-height:68%}
 .cmp-dock .cm-detail-panel{padding-inline:12px}
}
