/* Cybersecurity series (V5.89 draft): citations, Part 1 cost bar, Part 2 self-check, Part 3 animated figure. */
.prose sup.cite{font-size:.68em;line-height:0;margin-left:1px}
.prose sup.cite a{text-decoration:none;color:var(--blue);font-weight:600}
.prose ol.cy-src{font-size:14.5px}
.prose ol.cy-src li{margin-bottom:4px;word-break:break-word}
.prose ol.cy-series li{padding:6px 0;border-bottom:1px solid var(--line)}
/* Part 1 */
.c1-bar{display:flex;height:22px;border-radius:6px;overflow:hidden;background:var(--sand)}
.c1-bar span{display:block;height:100%;transition:width .25s}
/* Part 2 self-check */
.cy2-list{display:flex;flex-direction:column;border-top:1px solid var(--line)}
.cy2-row{display:grid;grid-template-columns:30px 1fr auto;align-items:center;gap:10px;padding:8px 6px;border-bottom:1px solid var(--line);border-left:3px solid transparent}
.cy2-row.ok{border-left-color:var(--green-dark)}
.cy2-row.part{border-left-color:#C27712}
.cy2-row.gap{border-left-color:#B43E3E}
.cy2-n{font-family:var(--font-head);font-weight:600;color:var(--muted);text-align:right}
.cy2-t{font-weight:500;color:var(--ink);font-size:15px}
.cy2-opts{display:flex;gap:4px}
.cy2-opts label{position:relative;cursor:pointer}
.cy2-opts input{position:absolute;opacity:0;inset:0;margin:0;cursor:pointer}
.cy2-opts span{display:inline-block;min-width:58px;text-align:center;padding:5px 8px;border:1px solid var(--line-2);border-radius:999px;font-size:13.5px;background:var(--white);color:var(--body)}
.cy2-opts input:focus-visible+span{outline:3px solid var(--blue-bright);outline-offset:2px}
.cy2-opts input[value="2"]:checked+span{background:var(--green-dark);border-color:var(--green-dark);color:#fff}
.cy2-opts input[value="1"]:checked+span{background:#C27712;border-color:#C27712;color:#fff}
.cy2-opts input[value="0"]:checked+span{background:#B43E3E;border-color:#B43E3E;color:#fff}
.prose .cy2-h{margin:0 0 4px}
.prose ol.cy2-todo{margin:0;font-size:15px}
@media (max-width:600px){.cy2-row{grid-template-columns:24px 1fr}.cy2-row .cy2-opts{grid-column:2}.cy2-opts span{min-width:64px}}
/* Part 3 animated figure */
.cy3-fig{margin:1.6em 0}
.cy3-chips{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:8px}
.cy3-chips button{font:inherit;font-size:13.5px;padding:6px 12px;border-radius:999px;border:1px solid var(--line-2);background:var(--white);color:var(--body);cursor:pointer}
.cy3-chips button[aria-selected="true"]{background:var(--ink);border-color:var(--ink);color:#fff}
.cy3-bar{height:3px;background:var(--line);border-radius:3px;overflow:hidden;margin-bottom:10px}
.cy3-bar span{display:block;height:100%;width:0;background:var(--blue)}
.cy3-stage{background:var(--white);border:1px solid var(--line-2);border-radius:var(--radius);padding:10px}
.prose .cy3-cap{min-height:4.8em;font-size:15px;margin:10px 0 4px;color:var(--body)}
.cy3-flow{animation:cy3dash 1.1s linear infinite}
@keyframes cy3dash{to{stroke-dashoffset:-18}}
@media (prefers-reduced-motion:reduce){.cy3-flow{animation:none}}
/* Part 4 example email */
.prose .cy4{background:var(--white);border:1px solid var(--line-2);border-radius:var(--radius);padding:22px;display:flex;flex-direction:column;gap:14px}
.prose .cy4 h3{margin:0;font-size:20px}
.cy4-mail{border:1px solid var(--line-2);border-radius:8px;background:#FBFBF9;font-size:15px;overflow:hidden}
.prose .cy4-hd{margin:0;padding:6px 14px;border-bottom:1px solid var(--line);word-break:break-word}
.cy4-hd span{display:inline-block;min-width:74px;color:var(--muted)}
.cy4-bd{padding:6px 14px 10px}
.prose .cy4-bd p{margin:8px 0}
.cy4-mail b{font-weight:inherit;border-radius:3px;transition:background .2s}
.cy4.show .cy4-mail b{background:#FBE3C8;box-shadow:0 0 0 1px #C27712}
.cy4.show .cy4-mail b::after{content:attr(data-f);display:inline-block;margin-left:4px;min-width:18px;height:18px;line-height:18px;border-radius:50%;background:#B43E3E;color:#fff;font-size:11px;font-weight:700;text-align:center;vertical-align:1px}
.prose .cy4-att{display:inline-block;margin:6px 0 0;padding:4px 10px;border:1px solid var(--line-2);border-radius:6px;background:#fff;font-size:14px}
.prose ol.cy4-ans{margin:0;font-size:15px}
/* Part 5 coverage check (reuses .cy2-opts) */
.cy5-list{display:flex;flex-direction:column;border-top:1px solid var(--line)}
.cy5-row{display:grid;grid-template-columns:1fr auto;align-items:center;gap:10px;padding:8px 6px;border-bottom:1px solid var(--line);border-left:3px solid transparent}
.cy5-row.ok{border-left-color:var(--green-dark)}.cy5-row.part{border-left-color:#C27712}.cy5-row.gap{border-left-color:#B43E3E}
.cy5-t{font-weight:500;color:var(--ink);font-size:15px}
.cy5 .cy2-opts{flex-wrap:wrap;justify-content:flex-end}
.cy5 .cy2-opts span{min-width:0;padding:5px 9px;font-size:13px}
.cy5 .cy2-opts input[value="3"]:checked+span{background:var(--green-dark);border-color:var(--green-dark);color:#fff}
.cy5 .cy2-opts input[value="2"]:checked+span{background:#0B6FA4;border-color:#0B6FA4;color:#fff}
.cy5 .cy2-opts input[value="1"]:checked+span{background:#C27712;border-color:#C27712;color:#fff}
.cy5 .cy2-opts input[value="0"]:checked+span{background:#B43E3E;border-color:#B43E3E;color:#fff}
.cy5 .cy2-opts input[value="na"]:checked+span{background:#8794A1;border-color:#8794A1;color:#fff}
@media (max-width:760px){.cy5-row{grid-template-columns:1fr}.cy5 .cy2-opts{justify-content:flex-start}}
/* Part 6 plan builder */
.cy6-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 18px}
.cy6-f{display:flex;flex-direction:column;gap:4px}
.cy6-f label{font-size:14px;font-weight:600;color:var(--ink)}
.cy6-f input{font:inherit;font-size:15px;padding:9px 11px;border:1px solid var(--line-2);border-radius:8px;background:#fff}
@media (max-width:640px){.cy6-grid{grid-template-columns:1fr}}
.cy6-sheet{display:none}
@media print{
  body.cy6-printing>*:not(.cy6-sheet){display:none!important}
  body.cy6-printing{background:#fff}
  body.cy6-printing .cy6-sheet{display:block;padding:0 6mm;font:11pt/1.4 Arial,Helvetica,sans-serif;color:#000}
  .cy6-sheet h2{font-size:18pt;margin:0 0 2mm}.cy6-sheet h3{font-size:13pt;margin:4mm 0 1mm}
  .cy6-sheet table{width:100%;border-collapse:collapse}.cy6-sheet th,.cy6-sheet td{border:1px solid #999;padding:2mm;text-align:left;vertical-align:top}
  .cy6-sheet th{width:42%;background:#eee}.cy6-sheet .blank{display:inline-block;min-width:60mm}
  .cy6-sheet ol{margin:0;padding-left:6mm}.cy6-sheet .sub{font-size:9.5pt;margin:1mm 0}.cy6-sheet .foot{font-size:8pt;color:#555;margin-top:3mm}
}
/* Part 7 checklist */
.cy7-list{display:flex;flex-direction:column;border-top:1px solid var(--line)}
.cy7-row{display:flex;gap:12px;align-items:flex-start;padding:9px 6px;border-bottom:1px solid var(--line);cursor:pointer;font-size:15px;color:var(--ink)}
.cy7-row input{width:19px;height:19px;margin-top:2px;flex:0 0 auto;accent-color:var(--green-dark)}
.cy7-row small{display:block;color:var(--muted);font-size:12.5px}
.cy7-row:has(input:checked){background:#F1F7E8}
/* Part 8 decision guide (reuses .cy2-opts) */
.cy8-q{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:center;padding:8px 0;border-bottom:1px solid var(--line)}
.prose .cy8-q p{margin:0;font-weight:500;color:var(--ink);font-size:15px}
.cy8 .cy2-opts input:checked+span{background:var(--ink);border-color:var(--ink);color:#fff}
@media (max-width:640px){.cy8-q{grid-template-columns:1fr}}
/* phones: say that wide figures scroll sideways */
@media (max-width:640px){.prose figure figcaption::before{content:"Swipe the figure sideways to see all of it. ";font-style:italic}}
@media (max-width:640px){.prose td.nw,.prose th.nw{white-space:normal}}
