:root{--navy:#0c2134;--navy2:#17344c;--teal:#0a8f8b;--teal2:#d8f4f0;--ink:#172c41;--muted:#52677c;--line:#cfdae3;--pale:#f2f6fa;--white:#fff;--green:#087b64;--red:#c3394c;--amber:#b77d16;--shadow:0 8px 28px rgba(16,40,60,.08)}
*{box-sizing:border-box}body{margin:0;background:var(--pale);color:var(--ink);font:15px/1.45 system-ui,-apple-system,"Segoe UI",sans-serif}button,input,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.38;cursor:not-allowed}button:focus-visible,a:focus-visible{outline:3px solid #ffb342;outline-offset:2px}a{color:inherit;text-decoration:none}[hidden]{display:none!important}
.shell{max-width:1860px;margin:0 auto;padding:16px clamp(14px,2.2vw,40px) 30px}.masthead{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:5px 0 18px;border-bottom:2px solid var(--navy)}.brand{display:flex;align-items:center;gap:13px}.brand-icon{height:52px;width:52px;border-radius:13px;background:var(--navy);color:white;display:grid;place-items:center;font-size:32px}.eyebrow,.section-label,.small-label{font-size:10px;letter-spacing:.11em;font-weight:800;color:var(--muted);margin:0}.eyebrow span{color:var(--teal);margin-left:8px}h1{font-size:clamp(24px,2.2vw,34px);line-height:1.03;letter-spacing:-.04em;margin:3px 0;font-weight:900;color:var(--navy)}h1 span{color:var(--teal)}.header-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}.header-btn,.admin-link,.phase-pill,.demo-pill{display:inline-flex;align-items:center;gap:7px;border:1px solid #b6c9d4;background:#fff;border-radius:7px;padding:9px 12px;font-size:12px;font-weight:800;color:var(--navy);white-space:nowrap}.header-btn:hover{background:#e5f2f4}.phase-pill{background:var(--navy);color:#fff;border-color:var(--navy)}.demo-pill{background:#ffe8ae}.admin-link{border-color:transparent;text-decoration:underline}
.kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:18px 0}.kpi{background:white;border:1px solid var(--line);border-radius:10px;padding:13px 16px;display:flex;flex-direction:column;gap:2px;box-shadow:var(--shadow)}.kpi>span{font-size:10px;letter-spacing:.12em;color:var(--muted);font-weight:800}.kpi strong{font-size:clamp(18px,2.15vw,29px);font-weight:900;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;color:var(--navy)}.kpi small{color:var(--muted);font-size:11px}
.arena-stage{display:grid;grid-template-columns:minmax(0,1fr) minmax(310px,1.28fr) minmax(0,1fr);gap:12px;align-items:stretch}.team-wing{display:flex;flex-direction:column;gap:10px;min-width:0}.team-card,.challenge-card,.chart-panel,.status-panel{background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow);min-width:0}.team-card{padding:12px 14px;display:flex;flex-direction:column;gap:10px;flex:1;min-height:178px;border-left:5px solid #a4b8c5}.team-card.leading{border-left-color:var(--teal)}.team-heading{display:flex;justify-content:space-between;gap:5px;align-items:flex-start}.team-info{min-width:0}.team-info h3{font-size:clamp(13px,1.12vw,19px);margin:3px 0;line-height:1.2;overflow-wrap:anywhere}.team-name{color:var(--navy);background:none;border:0;font-weight:800;padding:0;text-align:left}.team-name:hover{text-decoration:underline}.points{font-size:clamp(19px,1.65vw,25px);font-weight:900;white-space:nowrap;display:flex;flex-direction:column;align-items:flex-end;line-height:1.07}.points small{font-size:9px;color:var(--muted);letter-spacing:.08em}.checks{display:flex;justify-content:space-between;align-items:center;gap:4px;font-size:11px;color:var(--muted)}.checks strong{color:var(--ink);font-size:15px}.dot-row{display:flex;gap:3px}.status-dot{height:21px;width:21px;border-radius:50%;font-size:12px;font-weight:900;border:1px solid #bccbd7;background:#e5eaf0;color:#7d8a96;display:grid;place-items:center;padding:0}.status-dot.pass{background:#087b64;color:white;border-color:#087b64}.status-dot.fail{background:#c3394c;color:white;border-color:#c3394c}.status-dot.review{background:#c78b1f;color:white;border-color:#c78b1f}.status-dot.pending{background:#d9e2e9;color:#536579}.status-dot.manual{box-shadow:0 0 0 2px #fdc655}.answer-area{background:#f3f7f9;border:1px solid #e3ebf0;border-radius:8px;padding:9px 10px;min-height:66px;flex:1}.answer-area p{font-size:12px;line-height:1.42;margin:5px 0 0;overflow-wrap:anywhere}.answer-more{border:0;background:none;padding:5px 0 0;color:#006f79;font-size:11px;font-weight:800}.full-answer{padding-top:8px;margin-top:8px;border-top:1px solid var(--line);max-height:260px;overflow:auto}.result-inline{font-size:11px;font-weight:800}.result-inline.pass{color:var(--green)}.result-inline.fail{color:var(--red)}.tokens{display:flex;gap:8px;border-top:1px solid var(--line);padding-top:8px;justify-content:space-between;font-size:12px;font-weight:800}.tokens span{display:flex;flex-direction:column}.tokens small{font-size:9px;letter-spacing:.05em;color:var(--muted)}
.challenge-card{background:var(--navy);color:#fff;padding:clamp(16px,2.1vw,30px);display:flex;flex-direction:column;justify-content:space-between;min-height:460px}.challenge-card .section-label,.challenge-card .small-label{color:#bed5e1}.challenge-top,.challenge-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px}.challenge-top b{background:#31506b;color:#fff;padding:4px 7px;border-radius:6px;margin-left:5px}.challenge-nav{display:flex;gap:9px;align-items:center}.challenge-nav button{border:1px solid #7693aa;border-radius:6px;background:#204159;color:white;padding:4px 11px;font-size:19px}.challenge-nav span{font-size:9px;letter-spacing:.07em;color:#c0d5e2;font-weight:800;white-space:nowrap}.topic{display:inline-block;color:#9ef4e4;background:#174a52;border-radius:100px;padding:5px 11px;font-size:11px;letter-spacing:.03em;font-weight:800}.challenge-content h2{font-size:clamp(24px,2.5vw,40px);line-height:1.08;margin:13px 0 8px;letter-spacing:-.045em}.challenge-lesson{color:#bdcfdc;font-size:13px;margin:0 0 20px}.question-box,.expected-box{background:#193a50;border:1px solid #446074;border-radius:9px;padding:13px 14px;margin-top:10px}.question-box p,.expected-box p{font-size:clamp(13px,1.16vw,17px);line-height:1.47;margin:7px 0 0;font-weight:650}.expected-box{background:#144a4d;border-color:#2d7b77}.expected-box p{font-size:clamp(12px,1vw,14px);font-weight:500}.challenge-bottom{padding-top:18px;margin-top:14px;border-top:1px solid #37566b}.timer{display:flex;flex-direction:column}.timer b{font-size:26px;line-height:1.15}.timer small,.round-note{font-size:10px;letter-spacing:.08em;color:#aec8d8;font-weight:800}.round-note{text-align:right}
.status-panel{margin:13px 0;padding:12px 17px}.progress-top,.progress-foot{display:flex;align-items:center;justify-content:space-between;font-size:12px;gap:8px}.progress-top b{font-size:15px}.progress-foot{color:var(--muted);margin-top:6px}.bar{height:12px;background:#dce6eb;border-radius:15px;overflow:hidden;margin:9px 0 6px}.bar>div{background:var(--teal);height:100%;transition:width .35s}.progress-idle{display:flex;align-items:center;gap:10px;color:var(--muted);font-size:13px}.status-indicator{height:8px;width:8px;background:var(--teal);border-radius:50%}.chart-panel{padding:16px 20px}.chart-heading{display:flex;justify-content:space-between;align-items:center;gap:15px}.chart-heading h2{font-size:19px;margin:4px 0}.legend{display:flex;gap:13px;flex-wrap:wrap;font-size:12px;color:var(--muted)}.legend-mark{display:inline-block;height:9px;width:9px;margin-right:4px;border-radius:2px}.legend-mark.pass{background:var(--green)}.legend-mark.fail{background:var(--red)}.legend-mark.review{background:var(--amber)}#historyChart{min-height:125px}#historyChart svg{width:100%;height:132px}.no-history{display:grid;place-items:center;min-height:125px;color:var(--muted)}.footer{display:flex;flex-wrap:wrap;justify-content:space-between;gap:10px;font-size:11px;color:var(--muted);padding:15px 1px}
.admin-zone{border-top:3px solid var(--navy);margin-top:22px;padding-top:20px}.admin-heading{display:flex;justify-content:space-between;align-items:center}.admin-heading h2{margin:3px 0;font-size:25px}.admin-chip{border-radius:6px;color:#fff;background:var(--navy);font-size:10px;letter-spacing:.08em;padding:8px 12px;font-weight:800}.admin-buttons{display:flex;gap:8px;flex-wrap:wrap;margin:15px 0}.btn{background:#fff;color:var(--navy);border:1px solid #a9c1d0;border-radius:7px;padding:10px 14px;font-weight:800;font-size:12px;display:inline-flex;justify-content:center;align-items:center;gap:5px}.btn:hover:not(:disabled){background:#e4edf2}.btn.primary{background:var(--teal);color:white;border-color:var(--teal)}.btn.trophy{background:#11416b;color:white;border-color:#11416b}.btn.danger{color:var(--red);border-color:#e4a5ad}.btn.small{padding:7px 10px}.help-copy{font-size:12px;color:var(--muted);line-height:1.65}.admin-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.settings-card{background:white;border:1px solid var(--line);border-radius:10px;padding:18px;min-width:0}.settings-card h3{font-size:16px;margin:0 0 10px}.settings-header{display:flex;align-items:center;justify-content:space-between;gap:10px}.setting-form{margin:12px 0}.setting-form label{display:block;font-size:12px;font-weight:800;margin-bottom:6px}.input-row{display:flex;gap:8px}.input-row input,.input-row select{min-width:0;flex:1;padding:9px 10px;background:#fff;border:1px solid #abbecb;border-radius:6px}.team-list-item{padding:9px 0;border-bottom:1px solid var(--line);display:flex;flex-direction:column;gap:2px;overflow-wrap:anywhere}.team-list-item small{color:var(--muted)}.diagnostics{display:flex;flex-direction:column;gap:7px;font-size:12px;overflow-wrap:anywhere}.error-text{color:var(--red)}
.podium-view{background:var(--navy);color:white;border-radius:15px;padding:clamp(22px,3vw,48px);margin-top:15px;min-height:520px;text-align:center;box-shadow:var(--shadow)}.podium-header .section-label{color:#8fdcd3}.podium-header h2{font-size:clamp(32px,4vw,56px);letter-spacing:-.05em;margin:7px}.podium-header h2 span{color:#55d6c7}.podium-header p{color:#bfd0e1;margin:0 auto;max-width:620px}.podium-places{display:flex;align-items:end;justify-content:center;gap:15px;max-width:940px;margin:45px auto 0}.podium-place{flex:1;min-width:0}.podium-place h3{font-size:clamp(15px,2vw,24px);margin:9px 0 2px;overflow-wrap:anywhere}.podium-place .medal{font-size:30px;color:#d5aa43}.podium-place.silver .medal{color:#b4c3d3}.podium-place.bronze .medal{color:#cb9468}.podium-points{font-size:24px;font-weight:900}.podium-points small{font-size:10px}.podium-place p{font-size:12px;color:#cad7e3}.podium-block{display:grid;place-items:center;border-radius:10px 10px 0 0;margin-top:14px}.podium-block span{font-size:60px;font-weight:900;color:#fff}.podium-place.gold .podium-block{background:#c79a35}.podium-place.silver .podium-block{background:#718aa3}.podium-place.bronze .podium-block{background:#9c7257}.podium-note{font-size:12px;color:#c5d4e1;margin-top:25px}
.dialog{width:min(890px,calc(100vw - 30px));max-height:90vh;overflow:auto;border:1px solid var(--line);border-radius:14px;box-shadow:0 20px 70px rgba(0,0,0,.28);padding:27px;background:white;color:var(--ink)}.dialog::backdrop{background:#041928aa}.dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:15px}.icon-close{border:0;background:#edf3f6;border-radius:6px;padding:6px 10px}.dialog h2{font-size:29px;letter-spacing:-.04em;margin:10px 0}.rules-grid{display:grid;grid-template-columns:1fr 1fr;gap:25px}.rules-grid h3{margin-bottom:8px}.rules-grid p,.rules-grid li{font-size:13px;line-height:1.6;color:#43586c}.rules-grid ol{padding-left:22px}.rules-grid li{margin:5px 0}.rag-flow{display:flex;align-items:center;gap:8px;justify-content:center;margin:15px 0}.rag-flow span:nth-child(odd){padding:9px 7px;border-radius:6px;background:#e5f4f4;font-size:11px;font-weight:800}.rules-foot{font-size:12px;color:var(--muted)}.dialog-actions{display:flex;justify-content:flex-end;gap:9px;flex-wrap:wrap;margin-top:17px}.detail-entry{padding:12px 0;border-bottom:1px solid var(--line);overflow-wrap:anywhere}.detail-entry p{font-size:13px}.toast{position:fixed;z-index:50;right:18px;bottom:18px;max-width:440px;background:var(--navy);color:white;border-radius:8px;padding:13px 18px;box-shadow:var(--shadow);transform:translateY(100px);opacity:0;transition:.2s;pointer-events:none}.toast.visible{transform:translateY(0);opacity:1}.toast.error{background:#a3273c}
@media(max-width:1150px){.masthead{align-items:flex-start}.header-actions{max-width:55%}.arena-stage{grid-template-columns:1fr 1.32fr 1fr;gap:8px}.team-card{padding:9px}.answer-area p{font-size:11px}.tokens{font-size:11px;gap:3px}.challenge-card{padding:16px}}
@media(max-width:860px){.masthead{flex-direction:column}.header-actions{max-width:100%;justify-content:flex-start}.arena-stage{grid-template-columns:repeat(2,minmax(0,1fr))}.challenge-card{grid-column:1/-1;grid-row:1;min-height:370px}.team-wing{gap:9px}.kpis{grid-template-columns:repeat(2,1fr)}.team-card{min-height:188px}.admin-grid{grid-template-columns:1fr}.rules-grid{grid-template-columns:1fr}}
@media(max-width:550px){.shell{padding:12px}.kpis{gap:7px}.kpi{padding:9px}.arena-stage{grid-template-columns:1fr}.challenge-card{grid-column:auto;grid-row:auto}.team-wing{gap:8px}.team-card{min-height:145px}.chart-heading{align-items:flex-start;flex-direction:column}.progress-top,.progress-foot{flex-wrap:wrap}.header-btn{font-size:11px}.podium-places{gap:6px}.podium-place p{font-size:10px}.podium-view{padding:14px}.podium-block span{font-size:35px}}

/* v1.0.2 admin access and stronger technology-dashboard identity */
.login-dialog{width:min(450px,calc(100vw - 32px));border-top:6px solid #0a8f8b}
.login-dialog label{display:block;font-weight:750;margin:16px 0 6px}
.login-dialog input{display:block;width:100%;padding:13px;border:1px solid #8da9bb;border-radius:8px;font-size:16px}
.login-error{min-height:22px;color:#b52838;font-weight:700}
body{background:linear-gradient(180deg,#edf4f8 0,#f9fbfd 250px)}
.masthead{background:#102d46;border-radius:12px;padding:16px 20px;border:0;margin-bottom:17px}
.masthead h1{color:#fff}.masthead .eyebrow{color:#bad0dd}.masthead .brand-icon{background:#126b76;color:#fff}
.masthead .header-btn,.masthead .admin-link{border-color:#aac7d2;color:#12324d}
.masthead .phase-pill{background:#0b8992;border-color:#0b8992}
.masthead .admin-link{background:white;border-radius:7px;padding:9px 12px;text-decoration:none}

/* v1.0.2: visible live bot progress and full-length answers in a modal */
.bar.bar-active {position:relative}
.bar.bar-active::after {content:"";position:absolute;inset:0;background:linear-gradient(100deg,transparent 35%,rgba(255,255,255,.48) 49%,transparent 65%);animation:arena-working 2s linear infinite;pointer-events:none}
@keyframes arena-working{from{transform:translateX(-80%)}to{transform:translateX(80%)}}
.progress-current {margin-top:9px;color:var(--navy);font-size:12px;font-weight:700;overflow-wrap:anywhere}
.answer-dialog{width:min(840px,calc(100vw - 30px));max-height:min(86vh,920px)}
.answer-dialog .dialog-heading{position:sticky;top:-27px;background:white;padding:10px 0;z-index:1;border-bottom:1px solid var(--line)}
.answer-body{white-space:pre-wrap;overflow-wrap:anywhere;background:#f3f7f9;border:1px solid var(--line);padding:15px;border-radius:8px;max-height:58vh;overflow-y:auto;font-size:13px;line-height:1.65}

/* v1.0.3 — guided, screenshot-backed first-visit workshop instructions */
.rules-dialog{width:min(1190px,calc(100vw - 32px));max-height:min(94vh,1050px);padding:0;overflow:auto}
.rules-dialog .guide-heading{display:flex;align-items:flex-start;gap:20px;justify-content:space-between;padding:24px 28px 12px;background:#f8fbfc}
.guide-heading h2{margin:6px 0 7px;font-size:clamp(22px,2.4vw,31px)}
.guide-heading p{margin:0;color:#52677a;font-size:13px;line-height:1.55;max-width:850px}
.guide-heading .icon-close{flex-shrink:0}
.guide-quicklinks{padding:12px 28px 14px;display:flex;gap:10px;align-items:center;flex-wrap:wrap;border-bottom:1px solid var(--line);background:#f8fbfc}
.guide-quicklinks .btn{font-size:13px;padding:11px 14px}
.guide-link-hint{font-size:11px;color:#64798a}
.guide-link-unavailable{font-size:12px;color:#ae4a35;padding:8px;background:#fff4ed;border-radius:5px}
.guide-steps{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:0;padding:0 12px;border-bottom:1px solid var(--line);background:white}
.guide-step-tab{border:0;border-bottom:3px solid transparent;background:transparent;color:#62778a;display:flex;gap:7px;align-items:center;justify-content:center;white-space:nowrap;padding:13px 5px;font-size:12px;font-weight:800;cursor:pointer}
.guide-step-tab span{width:22px;height:22px;border-radius:50%;display:inline-grid;place-items:center;background:#e6edf3;color:#486075}
.guide-step-tab.active{border-bottom-color:var(--teal);color:#084b5c;background:#f0f9f9}
.guide-step-tab.active span{background:var(--teal);color:white}
.guide-step-tab:focus-visible,.guide-nav-actions button:focus-visible{outline:3px solid #149bbd;outline-offset:2px}
.guide-pages{padding:24px 28px 12px;min-height:350px}
.guide-page{display:grid;grid-template-columns:minmax(235px,.85fr) minmax(0,1.5fr);align-items:start;gap:25px}
.guide-page[hidden]{display:none!important}
.guide-page-copy{min-width:0}
.guide-kicker{font-weight:900;font-size:11px;color:#0c8580;letter-spacing:.12em}
.guide-page h3{font-size:clamp(21px,2.1vw,27px);line-height:1.13;letter-spacing:-.035em;margin:9px 0 16px;color:#15314b}
.guide-page p{color:#435b6e;font-size:14px;line-height:1.65;margin:0 0 12px}
.guide-key{display:flex;align-items:center;gap:6px 9px;flex-wrap:wrap;color:#1e5268;font-weight:750;font-size:12px;margin:16px 0}
.guide-key span{width:24px;height:24px;display:inline-grid;place-items:center;flex-shrink:0;color:white;background:#db7140;border-radius:50%;font-weight:900}
.guide-page .guide-tip{border-left:4px solid #219f9b;padding:10px 12px;margin:18px 0 4px;font-size:12px;color:#2a6471;background:#eef9f7;border-radius:0 7px 7px 0}
.guide-visual{min-width:0;margin:0;align-self:center}
.guide-image-frame{position:relative;overflow:hidden;border:2px solid #1a3349;border-radius:10px;background:#141414;line-height:0;box-shadow:0 9px 22px #152c4722}
.guide-image-frame img{width:100%;height:auto;display:block}
.guide-spot{position:absolute;left:var(--x);top:var(--y);width:var(--w);height:var(--h);border:3px solid #ff9258;background:#ff895515;border-radius:6px;pointer-events:none;box-shadow:0 0 0 1px #0007}
.guide-spot i{position:absolute;top:-12px;left:-10px;display:grid;place-items:center;background:#ff9258;color:#1a2430;font:900 12px/1 system-ui,sans-serif;width:22px;height:22px;border-radius:50%;box-shadow:0 1px 6px #0005}
.guide-visual figcaption{color:#677b89;font-size:11px;margin:9px 0 0;line-height:1.45}
.guide-footer{border-top:1px solid var(--line);padding:14px 28px 22px;display:flex;align-items:center;gap:20px;justify-content:space-between;flex-wrap:wrap;background:#f8fbfc}
.guide-note{color:#597085;font-size:12px;line-height:1.5;margin:0;max-width:620px}
.guide-nav-actions{display:flex;align-items:center;gap:8px;margin-left:auto}
.guide-nav-actions>span{font-weight:750;font-size:12px;color:#4a6377;margin-right:7px;white-space:nowrap}
.guide-nav-actions [hidden],.guide-quicklinks [hidden]{display:none!important}
@media(max-width:1000px){.guide-page{grid-template-columns:1fr}.guide-visual{width:100%}.guide-page-copy{max-width:unset}.guide-steps{grid-template-columns:repeat(3,minmax(0,1fr))}.guide-pages{min-height:0}}
@media(max-width:600px){.rules-dialog{width:calc(100vw - 14px);max-height:96vh}.rules-dialog .guide-heading{padding:16px 15px 10px}.guide-quicklinks{padding:10px 15px}.guide-steps{padding:0 4px}.guide-step-tab{font-size:10px;padding:9px 1px;gap:4px}.guide-step-tab span{width:17px;height:17px;font-size:10px}.guide-pages{padding:16px 15px}.guide-page h3{font-size:23px}.guide-page p{font-size:13px}.guide-spot{border-width:2px}.guide-spot i{width:18px;height:18px;font-size:10px}.guide-footer{padding:12px 15px;gap:12px}.guide-nav-actions{width:100%;justify-content:flex-end}.guide-nav-actions .btn{padding:9px 10px}}

/* Keep tall images within the first-visit guide on common laptop screens. */
.guide-page[data-guide-page="1"] .guide-visual{max-width:640px;justify-self:center}
.guide-page[data-guide-page="3"] .guide-visual{max-width:490px;justify-self:center}


/* v1.0.4 — optional RAG learning cards alongside the unchanged six-step guide */
.guide-quicklinks-divider{display:block;width:1px;height:24px;background:#cbd9df;margin:0 3px}
.guide-quicklinks .guide-study-btn{background:#e8f3f5;color:#144d5e;border:1px solid #b7d5dc}
.guide-learning{padding:6px 28px 22px;background:#f8fbfc;border-top:1px solid var(--line)}
.guide-learning-header{padding:13px 0 14px}
.guide-learning-header h3{margin:5px 0;font-size:21px;letter-spacing:-.025em;color:#15314b}
.guide-learning-header p{font-size:12px;color:#60778a;margin:2px 0}
.guide-study-card{margin:11px 0;border:1px solid #cbdce4;background:#fff;border-radius:10px;overflow:hidden}
.guide-study-card>summary{cursor:pointer;display:flex;align-items:center;gap:13px;padding:15px 17px;list-style:none}
.guide-study-card>summary::-webkit-details-marker{display:none}
.guide-study-card>summary:focus-visible{outline:3px solid #149bbd;outline-offset:-3px}
.guide-study-card>summary strong{display:block;color:#18384e;font-size:16px}
.guide-study-card>summary small{display:block;font-size:12px;color:#687e8d;margin-top:3px}
.guide-study-icon{height:34px;width:34px;display:grid;place-items:center;border-radius:8px;background:#126b76;color:#fff;font-size:12px;font-weight:900;flex-shrink:0}
.guide-study-chevron{margin-left:auto;font-size:24px;color:#43707e;transition:transform .2s}
.guide-study-card[open] .guide-study-chevron{transform:rotate(180deg)}
.guide-study-body{padding:3px 18px 19px;border-top:1px solid #e4edf2;color:#334c5f}
.guide-study-body>p{font-size:13px;line-height:1.65;margin:12px 0}
.rag-pipeline{display:flex;align-items:stretch;gap:10px;margin:21px 0;flex-wrap:wrap}
.rag-pipeline>div{flex:1;min-width:124px;background:#eaf5f7;border:1px solid #cee3e7;border-radius:9px;padding:12px;display:flex;flex-direction:column;gap:5px}
.rag-pipeline>div span{color:#126b76;font-size:11px;font-weight:900}
.rag-pipeline>div b{color:#183e51;font-size:15px}
.rag-pipeline>div small{color:#55727f;line-height:1.35;font-size:11px}
.rag-pipeline>i{display:grid;align-items:center;font-style:normal;font-size:20px;color:#6d9aa7}
.rag-failure-group{margin:20px 0 9px}
.rag-failure-group h4{margin:0 0 9px;color:#126b76;font-size:13px;text-transform:uppercase;letter-spacing:.05em}
.rag-failure-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.rag-failure-grid>div{border:1px solid #e0e9ef;background:#f9fbfd;border-radius:8px;padding:11px 12px}
.rag-failure-grid b{display:block;font-size:13px;color:#163950}
.rag-failure-grid p{margin:5px 0 0;font-size:12px;line-height:1.45;color:#587084}
.guide-study-body .rag-reference-note{margin-top:22px;background:#f0f6f9;border-left:3px solid #248e9c;border-radius:0 5px 5px 0;padding:11px}
@media(max-width:600px){.guide-learning{padding:5px 15px 16px}.guide-quicklinks-divider{display:none}.guide-study-card>summary{padding:11px}.rag-pipeline>i{display:none}.rag-failure-grid{grid-template-columns:1fr}}
