/* The current-affairs exercise is isolated from the saved mandate and its styles. */
.ca-view { --ca-forest:#064632; --ca-ink:#103c2e; --ca-paper:#fff7e5; --ca-gold:#e9bc58; --ca-raspberry:#ac2868; color:var(--ca-ink); max-width:1500px; margin:0 auto; }
.ca-view * { box-sizing:border-box; }
.ca-hero { position:relative; display:grid; grid-template-columns:1.05fr .85fr; overflow:hidden; min-height:290px; background:var(--ca-forest); color:var(--ca-paper); border:1px solid #bb9b55; border-radius:25px; box-shadow:0 6px 0 #15382d; }
.ca-hero>div { z-index:1; padding:34px 38px; background:linear-gradient(100deg,#064632 86%,#064632dd); }
.ca-view .ca-kicker { font:750 12px/1.5 system-ui,sans-serif; letter-spacing:.12em; text-transform:uppercase; color:#956421; margin:0 0 12px; }
.ca-hero .ca-kicker { color:#f1cb79; }
.ca-hero h1 { font-family:Georgia,'Times New Roman',serif; font-size:clamp(30px,3.2vw,51px); line-height:1.07; color:var(--ca-paper); margin:8px 0 18px; text-shadow:1px 2px 0 #8a642b; letter-spacing:-.02em; }
.ca-hero p { line-height:1.55; max-width:590px; color:#f3e7ce; margin:0 0 20px; }
.ca-hero-note { display:inline-block; padding:7px 12px; border:1px solid #f2cf7955; border-radius:6px; font-size:12px; letter-spacing:.04em; color:#ffe4a3; }
.ca-hero>img { width:100%; height:100%; min-height:290px; object-fit:cover; object-position:50% 45%; }
.ca-toolbar { display:flex; justify-content:space-between; align-items:center; gap:15px; margin:26px 0 22px; }
.ca-toolbar p { font-size:13px; color:#526959; margin:0; }
.ca-button { appearance:none; font:700 14px/1.35 system-ui,sans-serif; border:1.5px solid #2c5941; padding:11px 16px; border-radius:9px; color:var(--ca-ink); background:#fffaf0; cursor:pointer; text-align:center; }
.ca-button:hover:not(:disabled) { background:#f7e5ba; }
.ca-button-primary { background:var(--ca-forest); color:var(--ca-paper); border-color:var(--ca-forest); box-shadow:0 3px 0 #b88c3e; }
.ca-button-primary:hover:not(:disabled) { color:var(--ca-paper); background:#0d6247; }
.ca-button:focus-visible,.ca-choice:focus-visible,.ca-view summary:focus-visible,.ca-view a:focus-visible { outline:3px solid #bd2f78; outline-offset:4px; }
.ca-button:disabled { opacity:.58; cursor:wait; }
.ca-message { margin:14px 0; padding:16px 19px; border-radius:12px; background:#e7eddf; color:#254c39; line-height:1.55; }
.ca-warning { border-left:4px solid #bd8b30; background:#fff0cd; color:#6e491c; }
.ca-message p { margin-top:0; }
.ca-section-heading { display:flex; justify-content:space-between; gap:15px; align-items:center; margin-top:30px; }
.ca-section-heading h2,.ca-case h2,.ca-case h3,.ca-explanation h3 { font-family:Georgia,'Times New Roman',serif; color:var(--ca-ink); }
.ca-section-heading h2 { font-size:29px; margin:0 0 12px; }
.ca-section-heading>span { font-size:13px; color:#58705e; }
.ca-filters { display:flex; flex-wrap:wrap; gap:7px; margin:5px 0 22px; }
.ca-filters .ca-button { padding:7px 12px; font-size:12px; border-color:#a4b9a3; }
.ca-filters .ca-button[aria-pressed=true] { background:#f3d890; border-color:#a0742e; box-shadow:inset 0 -2px #bb944544; }
.ca-case-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:19px; margin-bottom:19px; }
.ca-case { border:1px solid #b8baa1; border-top:4px solid var(--ca-gold); border-radius:16px; background:var(--ca-paper); padding:25px; box-shadow:0 4px 0 #33544317; min-width:0; }
.ca-case:nth-child(even) { border-top-color:#bb367a; }
.ca-case h3 { font-size:25px; line-height:1.2; margin:16px 0 12px; }
.ca-case>p { line-height:1.55; }
.ca-case>.ca-kicker { margin-top:18px; font-size:10px; }
.ca-tag { display:inline-block; font:700 11px/1.4 system-ui,sans-serif; color:#2a5944; padding:6px 9px; border-radius:6px; background:#e3ebd6; }
.ca-tag-new { background:#f3dce9; color:#8f2457; }
.ca-tag-stale { background:#ffe4b5; color:#81501e; }
.ca-meta,.ca-dates,.ca-small { font-size:12px; line-height:1.6; color:#5a6d5d; }
.ca-case-open { margin:24px auto; max-width:1020px; padding:clamp(20px,3vw,40px); border-top-width:5px; }
.ca-case-top { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:15px; margin-bottom:26px; }
.ca-case-open h2 { font-size:clamp(28px,3vw,39px); line-height:1.14; margin:8px 0 18px; }
.ca-case-body { font-size:17px; white-space:pre-line; }
.ca-dates { display:flex; flex-wrap:wrap; gap:6px 22px; margin:17px 0; }
.ca-simulation { padding:12px 16px; border-left:3px solid #c29644; background:#f4ebd6; font-size:12px; color:#5e603f; }
.ca-simulation>p { line-height:1.6; margin:12px 0 0; }
.ca-task-details { margin:12px 0 18px; padding:13px 17px; background:#f3eddc; border:1px solid #d5cdb2; border-radius:9px; }
.ca-task-details .ca-case-body { font-size:15px; margin-bottom:4px; }
.ca-choices { margin:28px 0 20px; padding:0; border:0; min-width:0; }
.ca-choices legend { font-weight:750; margin-bottom:14px; padding:0; font-size:18px; }
.ca-choice { display:flex; align-items:flex-start; gap:15px; width:100%; margin:10px 0; padding:19px; border:1.5px solid #9db397; border-radius:13px; background:#fffcf3; color:var(--ca-ink); cursor:pointer; font:inherit; text-align:left; line-height:1.5; transition:background-color .16s,border-color .16s; }
.ca-choice:hover:not(:disabled) { background:#f4e5bd; border-color:#a6823f; }
.ca-choice>span:nth-child(2) { flex:1; min-width:0; }
.ca-choice strong,.ca-choice>span:nth-child(2)>span { display:block; }
.ca-choice strong { font-size:16px; margin:1px 0 5px; }
.ca-choice>span:nth-child(2)>span { font-size:14px; color:#4c6453; }
.ca-choice-letter { display:grid; place-items:center; flex:0 0 34px; height:34px; color:#805925; background:#f4e3b3; border-radius:50%; font-weight:800; }
.ca-choice-selected { border:2px solid #286647; background:#e8f0dc; }
.ca-choice:disabled { cursor:default; opacity:1; }
.ca-choice:disabled:not(.ca-choice-selected) { color:#617467; background:#f6f2e7; border-color:#c7cebc; }
.ca-choice-check { color:#205b3a; font-weight:900; }
.ca-choice-saved { font-size:14px; font-weight:700; color:#31573c; }
.ca-explanation { padding:24px; background:#fffaf0; border:1px solid #d0c69d; border-radius:14px; margin:20px 0; }
.ca-explanation h3 { font-size:25px; margin:5px 0 15px; }
.ca-explanation p { font-size:15px; line-height:1.65; white-space:pre-line; }
.ca-explanation .ca-evidence-summary { font-size:14px; }
.ca-review-details { margin-top:18px; border-top:1px solid #d0c69d; padding-top:15px; }
.ca-review-details>p { font-size:13px; }
.ca-view a { color:#236143; text-underline-offset:3px; overflow-wrap:anywhere; }
.ca-explanation blockquote { margin:15px 0; border-left:3px solid #c3a04a; padding:6px 17px; font:italic 15px/1.7 Georgia,serif; color:#4b5f4c; }
.ca-explanation cite { display:block; margin-top:8px; font:12px/1.4 system-ui,sans-serif; }
.ca-view summary { cursor:pointer; line-height:1.5; font-weight:750; }
.ca-evaluate-prompt { display:flex; align-items:flex-start; flex-direction:column; gap:14px; border:1px solid #9a326b44; border-radius:14px; background:#f4e5ed; padding:24px; }
.ca-evaluate-prompt p { margin:0; line-height:1.6; }
.ca-evaluate-prompt small { color:#695865; font-size:12px; }
.ca-evaluation { border-top:2px solid #caab61; padding-top:24px; margin-top:25px; }
.ca-inbox,.ca-method { border:1px solid #bdc4ad; border-radius:13px; margin:25px 0; padding:20px 23px; background:#f5f0e3; }
.ca-source-readiness { border:1px solid #bdc4ad; border-radius:11px; margin:15px 0 22px; padding:15px 19px; background:#f5f0e3; font-size:13px; }
.ca-source-readiness>summary>small { font-weight:500; margin-left:12px; color:#526959; }
.ca-source-readiness>p { line-height:1.6; }
.ca-readiness-list { padding:0; list-style:none; margin:15px 0; }
.ca-readiness-list>li { padding:12px 0; border-top:1px solid #c6cbb7; }
.ca-readiness-list>li>div { display:flex; align-items:center; flex-wrap:wrap; gap:8px 12px; }
.ca-readiness-list strong { margin-right:auto; }
.ca-readiness-list small { color:#627560; }
.ca-readiness-list p { margin:10px 0 0; color:#79562a; line-height:1.6; }
.ca-readiness-list code { font-size:11px; color:#65715e; overflow-wrap:anywhere; }
.ca-inbox>summary>small { margin-left:14px; font-weight:500; color:#6b7765; }
.ca-inbox>p,.ca-method>p { color:#566951; font-size:14px; line-height:1.65; }
.ca-source { display:flex; justify-content:space-between; gap:20px; padding:22px 0; border-top:1px solid #bfc4ad; }
.ca-source>div { flex:1; min-width:0; }
.ca-source h3 { font-size:16px; line-height:1.4; margin:12px 0 8px; }
.ca-source p { font-size:14px; line-height:1.55; }
.ca-source>a,.ca-source>span { align-self:center; font-size:12px; max-width:180px; }
.ca-empty { grid-column:1/-1; padding:25px; background:#eceddf; border-radius:14px; line-height:1.6; }
@media(max-width:850px) { .ca-hero { grid-template-columns:1fr; } .ca-hero>div { padding:27px; } .ca-hero>img { height:175px; min-height:175px; } .ca-case-grid { grid-template-columns:1fr; } .ca-toolbar { align-items:flex-start; flex-direction:column; } }
@media(max-width:520px) { .ca-hero h1 { font-size:32px; } .ca-case { padding:20px; } .ca-choice { padding:14px; gap:10px; } .ca-source { flex-direction:column; } .ca-source>a { align-self:flex-start; } .ca-section-heading { align-items:flex-start; flex-direction:column; gap:0; margin-bottom:15px; } .ca-inbox>summary>small,.ca-source-readiness>summary>small { display:block; margin:5px 0 0; } }
@media(prefers-reduced-motion:reduce) { .ca-choice { transition:none; } }
