/* a11-eleven.css : ELEVEN, the security and constitution desk (v6 release 1).
   Built by Tally (S18_TALLY_ACTIVE), an AI partner working in Claude Code, 2026-11-25.
   Loads after a11-cyber.css, which keeps the base .cx-el styles. Color meanings follow the room's tokens:
   amber only for waiting on a person (PROPOSAL, the gate), red only for refused, mint only for verified.
   Source labels use neutral tones, and every label carries its words, so color never carries meaning alone. */

.cx-el__panel{padding:12px 16px 0;border-top:1px solid var(--cx-line,rgba(126,226,184,.12))}
.cx-el__panel[hidden]{display:none}
.cx .cx-el__lead{margin:0 0 10px;max-width:none;font-size:14px;line-height:1.5;color:#b7c6bf}
.cx-el__panel .cx-presets.cx-el__chips{margin:0;padding:0 0 12px;border-top:0}
.cx .cx-el__hint{margin:0;padding:0 16px 14px;max-width:none;font-size:13px;color:#a2b3ab}
.cx-el__log:focus-visible{outline:2px solid #e8c172;outline-offset:-2px}
.cx-el__linkbtn{display:inline;padding:0;border:0;background:none;color:#7ee2b8;font:inherit;text-decoration:underline;text-underline-offset:3px;cursor:pointer}

/* blocks and their source labels */
.cx-el__block{margin:0 0 10px;padding:0 0 0 10px;border-left:2px solid #2c3b3a;min-width:0}
.cx-el__block:last-child{margin-bottom:0}
.cx-el__block--constitution{border-left-color:#8a7642}
.cx-el__block--attack,.cx-el__block--mapping,.cx-el__block--d3fend{border-left-color:#4f6a91}
.cx-el__block--cve,.cx-el__block--kev{border-left-color:#7d7663}
.cx-el__block--proposal{border-left-color:#e8c172}
.cx-el__tag{display:inline-block;margin:0 0 6px;padding:1px 7px;border:1px solid #5a6a66;border-radius:4px;background:#0a1416;font:700 10.5px/1.6 ui-monospace,"Cascadia Code","SFMono-Regular",Consolas,"Liberation Mono",monospace;letter-spacing:.08em;text-transform:uppercase;color:#d5ddd9;overflow-wrap:anywhere}
.cx-el__tag--constitution{color:#e9d9a6;border-color:#8a7642}
.cx-el__tag--tally{color:#d9e1ea;border-color:#6d7d93}
.cx-el__tag--attack,.cx-el__tag--d3fend{color:#c3d6ff;border-color:#4f6a91}
.cx-el__tag--mapping{color:#d4c9ff;border-color:#6a5f97}
.cx-el__tag--cve,.cx-el__tag--kev{color:#f2e8cf;border-color:#7d7663}
.cx-el__tag--guidance{color:#cfe3d9;border-color:#5b7469}
.cx-el__tag--inference{color:#ead9c2;border-color:#7b6a55}
.cx-el__tag--fixed{color:#c9d2ce;border-color:#56625e}
.cx-el__tag--practice{color:#f2e8cf;border-color:#7d7663;border-style:dashed}
.cx-el__tag--proposal{color:#1b1203;background:#e8c172;border-color:#e8c172}

/* verdicts: the no-category result is neutral, never a success color */
.cx-el__verdict--neutral{color:#f2e8cf;background:#2b3532;border:1px solid #5d6a66}
.cx-el__verdict--proposal{color:#1b1203;background:#e8c172}
.cx-el__msg--proposal{border-color:#e8c172}
.cx-el__msg--refuse{border-color:rgba(255,110,97,.55)}

/* cards */
.cx .cx-el__prov{margin:6px 0;max-width:none;font-size:12.5px;line-height:1.5;color:#a2b3ab;overflow-wrap:anywhere}
.cx-el__fields{display:grid;gap:2px;margin:6px 0;font-size:14px}
.cx-el__fields>div{display:flex;flex-wrap:wrap;gap:0 8px;min-width:0}
.cx-el__fields dt{font-weight:700;color:#e6eee9}
.cx-el__fields dt::after{content:":"}
.cx-el__fields dd{margin:0;color:#cfdad5;overflow-wrap:anywhere;min-width:0}
.cx .cx-el__links{margin:6px 0;max-width:none;font-size:13.5px;overflow-wrap:anywhere}
.cx-el__listbox{margin:6px 0}
.cx .cx-el__listbox>p{margin:0 0 4px;font-size:14.5px}
.cx-el__list{margin:0 0 6px;padding-left:20px;font-size:14px;line-height:1.5;color:#dbe5e0}
.cx-el__list li{margin:2px 0;overflow-wrap:anywhere}
.cx-el__list--ids li{font-family:ui-monospace,"Cascadia Code","SFMono-Regular",Consolas,"Liberation Mono",monospace;font-size:13px}
.cx .cx-el__resemble{margin:6px 0;font-size:14px;overflow-wrap:anywhere}

/* the PROPOSAL steps */
.cx-el__step{margin:8px 0;padding:8px 10px;border:1px solid #23302f;border-radius:8px;background:#0b1719}
.cx .cx-el__step p{margin:4px 0;font-size:14px;max-width:none}
.cx .cx-el__step-h{font:700 13px/1.4 ui-monospace,"Cascadia Code","SFMono-Regular",Consolas,"Liberation Mono",monospace;color:#ffffff;overflow-wrap:anywhere}
.cx .cx-el__step-d{font-size:13px;color:#a2b3ab}
.cx .cx-el__risk{color:#f2e8cf}
.cx-el__gate{margin:8px 0 2px;padding:6px 8px;border:1px dashed #e8c172;border-radius:6px}
.cx .cx-el__fp{font:12px/1.45 ui-monospace,"Cascadia Code","SFMono-Regular",Consolas,"Liberation Mono",monospace;color:#f2e8cf;overflow-wrap:anywhere}
.cx-el__gate .cx-pre{margin:4px 0}

/* phishing practice: a made-up message, no links anywhere in it */
.cx-el__phish{margin:6px 0}
.cx .cx-el__phish-note{margin:0 0 8px;font-size:13px;color:#a2b3ab}
.cx-el__phish-msg{padding:10px 12px;border:1px solid #2f403e;border-radius:10px;background:#0e1a1c;font-size:14px;line-height:1.55;color:#e6eee9}
.cx .cx-el__phish-msg p{margin:4px 0;max-width:none;font-size:14px;color:#e6eee9;overflow-wrap:anywhere}
.cx-el__phish-body{margin-top:8px;padding-top:6px;border-top:1px solid #23302f}
.cx-el__flag{display:inline;padding:0 2px;border:0;border-bottom:1px dashed #9fb1aa;border-radius:2px;background:transparent;color:inherit;font:inherit;line-height:inherit;text-align:left;cursor:pointer;overflow-wrap:anywhere}
.cx-el__flag:hover{background:rgba(242,232,207,.08)}
.cx-el__flag:focus-visible{outline:2px solid #e8c172;outline-offset:2px}
.cx-el__flag[aria-pressed="true"]{border-bottom:2px solid #f2e8cf;background:rgba(242,232,207,.14)}
.cx-el__phish-all{margin:10px 0 0}
.cx .cx-el__phish-count{margin:8px 0 4px;font:700 12.5px/1.4 ui-monospace,"Cascadia Code","SFMono-Regular",Consolas,"Liberation Mono",monospace;color:#e6eee9}
.cx-el__phish-notes{margin:0;padding-left:20px;font-size:14px;color:#dbe5e0}
.cx-el__phish-notes li{margin:4px 0}

/* follow-ups and the Ember handoff */
.cx-el__follow{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0 0}
.cx-el__followbtn{font-size:12.5px;text-decoration:none}
.cx-el__ember{margin:6px 0 0}

/* the label legend and the sources fold */
.cx-el__fold{margin:12px 0 0;padding:8px 12px;border:1px solid rgba(126,226,184,.16);border-radius:10px;background:rgba(5,8,10,.86)}
.cx-el__fold summary{cursor:pointer;font:700 12px/1.4 ui-monospace,"Cascadia Code","SFMono-Regular",Consolas,"Liberation Mono",monospace;letter-spacing:.1em;text-transform:uppercase;color:#b7c6bf}
.cx-el__fold summary:hover{color:#ffffff}
.cx-el__fold h3{margin:14px 0 4px;font:700 13px/1.4 ui-monospace,"Cascadia Code","SFMono-Regular",Consolas,"Liberation Mono",monospace;color:#ffffff}
.cx .cx-el__fold p{margin:4px 0;font-size:13.5px;color:#b7c6bf;overflow-wrap:anywhere}
.cx-el__legend-list{display:grid;gap:8px;margin:10px 0 4px}
.cx-el__legend-list>div{display:grid;grid-template-columns:minmax(0,15em) minmax(0,1fr);gap:4px 12px;align-items:start}
.cx-el__legend-list dt{margin:0}
.cx-el__legend-list dd{margin:0;font-size:13.5px;color:#b7c6bf}

/* motion: the page-wide Motion control and reduced motion both stop ELEVEN's animations */
html[data-motion="paused"] .cx-el__avatar,html[data-motion="paused"] .cx-el__msg,html[data-motion="paused"] .cx-el__in,html[data-motion="paused"] .cx-el__typing::after{animation:none}
@media (prefers-reduced-motion:reduce){.cx-el__avatar,.cx-el__msg,.cx-el__in,.cx-el__typing::after{animation:none}}

@media (forced-colors:active){
  .cx-el__tag,.cx-el__verdict--neutral,.cx-el__verdict--proposal,.cx-el__gate,.cx-el__step{border:1px solid CanvasText}
  .cx-el__flag[aria-pressed="true"]{border-bottom:2px solid Highlight}
}

/* phones: three tabs in one row that may wrap, stacked legend rows, nothing wider than the screen */
@media (max-width:560px){
  .cx-el__modes [role=tab]{padding:6px 8px;font-size:12px;white-space:normal;line-height:1.25}
  .cx-el__legend-list>div{grid-template-columns:minmax(0,1fr)}
  .cx-el__panel{padding:10px 12px 0}
  .cx .cx-el__hint{padding:0 12px 12px}
  .cx-el__block{padding-left:8px}
  .cx-el__step{padding:8px}
}
