.teaching-slide.slide-campaign-codex{container-type:size;overflow:hidden;padding:14px 1.8%;background:radial-gradient(ellipse at 20% 35%,#29453e90,transparent 55%),linear-gradient(135deg,#102724,#071719);border:1px solid #9f824b;border-radius:12px;color:#eee3c9;box-shadow:inset 0 0 0 4px #071a1c,inset 0 0 0 5px #866b3b80}
.cq-stage{display:grid;grid-template-columns:minmax(0,45fr) minmax(0,55fr);gap:24px;width:100%;height:100%;min-height:0;padding:12px 5px}
.cq-eyebrow{font:600 14px/1.5 var(--sans);letter-spacing:1.5px;text-transform:uppercase;color:#a68c58}.cq-radar-panel{display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:0;min-height:0;gap:10px;border-right:1px solid #a18a4d36;padding-right:23px}.cq-radar-panel>header{text-align:center}.teaching-slide .cq-radar-panel h3{font:600 clamp(19px,4cqh,27px)/1.3 var(--serif);color:#dfc589;margin:5px 0 0}
.cq-radar-wrap{position:relative;aspect-ratio:1;width:min(100%,66cqh);max-height:66cqh;flex-shrink:1;min-height:0;padding:10px;border:1px solid #a38c4c77;border-radius:50%;background:repeating-conic-gradient(from 0deg,#c6a95b50 0deg 1deg,transparent 1deg 15deg);box-shadow:0 0 35px #92ae7730,inset 0 0 20px #0008}
.cq-radar{display:block;width:100%;height:100%;overflow:visible;border-radius:50%;background:#102321;border:1px solid #bc9b5480}
.cq-piece image{filter:grayscale(1) brightness(.32) contrast(.75);opacity:.55;transition:filter .65s ease,opacity .65s ease}.cq-piece.is-unlocked image{filter:grayscale(0) brightness(1.08) contrast(1.08);opacity:1}
.cq-piece-edge{fill:none;stroke:#172b28;stroke-width:8;transition:stroke .5s ease;pointer-events:none}.cq-piece.is-unlocked .cq-piece-edge{stroke:#8a7443}.cq-piece.is-current .cq-piece-edge{stroke:#ecd28e;filter:drop-shadow(0 0 3px #edcb69)}
.cq-inner-ring{fill:#122d29;stroke:#b39856;stroke-width:2}.cq-core{fill:#1d3930;stroke:#bca76c;stroke-width:1;stroke-dasharray:3 4}.cq-needle{fill:#e4c379;stroke:#f6e3b0;stroke-width:1}.cq-core-star{text-anchor:middle;font:23px serif;fill:#17352d;pointer-events:none}
.cq-compass{position:absolute;inset:0;pointer-events:none;z-index:1}.cq-compass span{position:absolute;font:600 12px/1 var(--sans);color:#d5bd7d;background:#132a25;padding:2px 4px}.cq-compass span:nth-child(1){top:-4px;left:50%;transform:translateX(-50%)}.cq-compass span:nth-child(2){right:-5px;top:50%;transform:translateY(-50%)}.cq-compass span:nth-child(3){bottom:-4px;left:50%;transform:translateX(-50%)}.cq-compass span:nth-child(4){left:-5px;top:50%;transform:translateY(-50%)}
.cq-radar-status{text-align:center}.cq-radar-gems{display:flex;justify-content:center;gap:15px}.cq-radar-gems i{font:16px/1.3 serif;font-style:normal;color:#5c6552;transition:color .4s,text-shadow .4s}.cq-radar-gems .is-lit{color:#efd18a;text-shadow:0 0 9px #d6ad58}.teaching-slide .cq-radar-status p{font:500 14px/1.5 var(--sans);color:#baa878;margin:6px 0 0}.teaching-slide .cq-radar-note{font:400 14px/1.4 var(--sans);color:#8a9c88;margin:0;text-align:center}
.cq-log{min-width:0;min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:14px}.cq-heading{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.teaching-slide .cq-heading p{margin:0}.teaching-slide .cq-heading h2{font:700 clamp(32px,5.8cqh,36px)/1.15 var(--serif);color:#ecd394;margin:6px 0 8px;text-shadow:0 2px 7px #0006}.cq-heading h2 em{font-style:normal;color:#caa85f}.teaching-slide .cq-subtitle{color:#d8dfd5;opacity:.8;font:400 18px/1.4 var(--sans)}
.cq-reset{display:grid;place-items:center;border:1px solid #a78a4c80;border-radius:7px;padding:8px;background:#20372c;color:#d7bd7f;cursor:pointer;flex-shrink:0}.cq-reset svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.cq-quest{position:relative;display:flex;flex-direction:column;min-height:0;border:1px solid #ae905766;border-radius:10px;background:linear-gradient(120deg,#9baa8420,#142b2670);backdrop-filter:blur(8px);box-shadow:inset 0 0 0 3px #c6a45d08,0 7px 18px #0002;padding:14px 17px;overflow:hidden}
.cq-quest-top{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-bottom:9px;margin-bottom:10px;border-bottom:1px solid #a88b4f36;color:#d2b777;font:650 14px/1.3 var(--sans);letter-spacing:1px}.cq-quest-top>span:last-child{font-size:19px}.cq-quest-body{flex:1;min-height:0}.cq-entry{animation:cq-fade .35s ease-out}.teaching-slide .cq-entry h3{font:600 20px/1.35 var(--serif);color:#e9d9b0;margin:0 0 9px}.teaching-slide .cq-entry p{font:400 18px/1.6 var(--sans);margin:0;color:#d8dfcd}.cq-entry strong{font-weight:650;color:#edc878}.cq-quest-corner{position:absolute;bottom:7px;right:10px;color:#b89951;font-size:24px;transform:rotate(180deg);opacity:.5;pointer-events:none}
.cq-timeline{min-width:0}.cq-timeline-label{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:8px}.cq-timeline-label h3{font:600 14px/1.4 var(--sans);color:#b69e68;letter-spacing:1.5px;text-transform:uppercase;margin:0}.cq-timeline-label>span{font:500 14px/1.4 var(--sans);color:#a9b199}
.cq-timeline ol{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px 0;list-style:none;padding:0;margin:0}.cq-timeline li{position:relative;min-width:0}.cq-timeline li:before{content:'';position:absolute;left:0;right:0;top:15px;height:1px;background:linear-gradient(90deg,#6b6841,#c2aa60,#6b6841);box-shadow:0 0 6px #d1b45e44}.cq-timeline li:nth-child(4n+1):before{left:50%}.cq-timeline li:nth-child(4n):before{right:50%}
.cq-timeline button{position:relative;width:100%;display:flex;align-items:center;flex-direction:column;gap:6px;padding:0 2px;border:0;background:transparent;color:#b3b99f;font:500 14px/1.3 var(--sans);cursor:pointer}.cq-node-dot{display:grid;place-items:center;width:31px;height:31px;border:1px solid #a58a4f;border-radius:50%;background:#102a25;color:#a99562;font:600 12px/1 var(--sans);transition:background .25s,box-shadow .25s,border-color .25s}.is-visited .cq-node-dot{background:#61552d;color:#f0dfb0}.cq-timeline button[aria-pressed=true]{color:#ffe1a0}.cq-timeline button[aria-pressed=true] .cq-node-dot{background:#c5a35c;color:#10251e;border-color:#ffdf9c;box-shadow:0 0 12px #d8b56a88;animation:cq-node-pulse .8s ease-in-out 2}.cq-timeline button:hover .cq-node-dot{border-color:#f1d18c;box-shadow:0 0 9px #d6b46c55}
.cq-stage button:focus-visible{outline:2px solid #edcc7d;outline-offset:4px;border-radius:5px}
@container(max-height:520px){.cq-stage{padding:6px 2px;gap:18px}.cq-log{gap:10px}.cq-radar-panel{gap:7px;padding-right:16px}.cq-radar-wrap{width:min(100%,62cqh);max-height:62cqh}.cq-heading h2 br{display:none}.teaching-slide .cq-heading h2{font-size:32px;margin:4px 0 5px}.cq-quest{padding:10px 13px}.cq-quest-top{padding-bottom:6px;margin-bottom:7px}.cq-timeline ol{gap:8px 0}.cq-node-dot{width:27px;height:27px}.cq-timeline li:before{top:13px}.cq-timeline button{gap:4px}.cq-radar-panel>header>.cq-eyebrow{font-size:14px}.teaching-slide .cq-radar-note{font-size:14px}}
@media(max-width:720px){.teaching-slide.slide-campaign-codex{container-type:normal;overflow:auto;padding:17px 13px}.cq-stage{height:auto;flex:0 0 auto;display:flex;flex-direction:column;gap:24px;padding:4px}.cq-stage>*{flex-shrink:0}.cq-radar-panel{border-right:0;border-bottom:1px solid #a18a4d36;padding:0 0 18px;gap:12px}.cq-radar-wrap{width:92%;max-width:340px;max-height:none}.cq-radar-panel>header>.cq-eyebrow{font-size:14px}.teaching-slide .cq-radar-panel h3{font-size:24px}.cq-log{display:flex;flex-direction:column;gap:16px}.teaching-slide .cq-heading h2{font-size:32px}.teaching-slide .cq-subtitle{font-size:18px}.cq-quest{min-height:270px;padding:14px}.cq-quest-body{flex:none}.teaching-slide .cq-entry p{font-size:18px;line-height:1.6}.teaching-slide .cq-entry h3{font-size:20px}.cq-timeline ol{gap:15px 0}.cq-timeline button{font-size:14px}.cq-node-dot{width:31px;height:31px}.cq-timeline li:before{top:15px}}
@keyframes cq-fade{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
@keyframes cq-node-pulse{50%{box-shadow:0 0 19px #f0c865bb}}
@media(prefers-reduced-motion:reduce){.cq-entry,.cq-timeline button[aria-pressed=true] .cq-node-dot{animation:none}.cq-piece image,.cq-piece-edge,.cq-node-dot,.cq-radar-gems i{transition:none}}

/* Keep the specified type scale; reclaim layout space rather than shrinking text. */
.teaching-slide .cq-heading .cq-eyebrow{font-size:14px;letter-spacing:1.5px;text-transform:uppercase}
.cq-heading h2 br{display:none}
.cq-quest{padding:16px 18px}
@media(min-width:721px){
 .cq-timeline ol{grid-template-columns:repeat(8,minmax(0,1fr));gap:0}
 .cq-timeline li:nth-child(n):before{left:0;right:0}
 .cq-timeline li:first-child:before{left:50%}
 .cq-timeline li:last-child:before{right:50%}
 .cq-timeline-label{margin-bottom:9px}
}
@container(max-height:520px){
 .cq-stage{padding:0 2px}
 .cq-log{gap:8px}
 .cq-quest{padding:12px 14px}
 .cq-radar-panel{gap:6px}
 .cq-radar-wrap{width:min(100%,54cqh);max-height:54cqh}
 .cq-quest-top{margin-bottom:4px;padding-bottom:4px}
 .teaching-slide .cq-entry h3{font-size:18px;margin-bottom:4px}
}
