/* Theories tab */
#tab-theories{line-height:1.55;font-size:1.02rem}
#tab-theories h3{margin:.4rem 0}
.th-disc{font-size:.9rem;color:#555;margin:.4rem 0}
.th-views{display:flex;gap:6px;margin:8px 0}
.th-v{flex:1;min-height:44px;border:2px solid #2f5d3a;border-radius:10px;background:#fff;color:#2f5d3a;font-weight:700;font-size:.95rem}
.th-v.on{background:#2f5d3a;color:#fff}
.th-tools{display:flex;gap:8px;align-items:center;margin:6px 0}
.th-tools input{flex:1;min-width:0;min-height:44px;font-size:1rem;padding:0 10px;border:2px solid #aaa;border-radius:10px}
.th-fs{display:flex;gap:6px;overflow-x:auto;padding:4px 0 8px;-webkit-overflow-scrolling:touch}
.th-f{flex:0 0 auto;min-height:40px;padding:0 12px;border:1.5px solid #888;border-radius:20px;background:#fff;font-size:.9rem;white-space:nowrap;color:#333}
.th-f.on{background:#2f5d3a;color:#fff;border-color:#2f5d3a;font-weight:700}
.th-card{background:#fff;border:1px solid #ccc;border-left:8px solid #888;border-radius:12px;margin:8px 0;padding:0}
.th-card>summary{list-style:none;cursor:pointer;padding:10px 34px 10px 12px;display:block;position:relative}
.th-card>summary::-webkit-details-marker{display:none}
.th-card>summary::after{content:'＋';position:absolute;right:10px;top:8px;font-weight:700;font-size:1.2rem;color:#555}
.th-card[open]>summary::after{content:'－'}
.th-top{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin-bottom:5px}
.th-cat{font-size:.8rem;color:#555}
.th-q{display:block;font-weight:700;font-size:1.05rem}
.th-b{display:inline-block;padding:2px 9px;border-radius:12px;font-size:.8rem;font-weight:700;color:#fff;background:#666}
.th-D{background:#2f6d3a}.th-P{background:#1b6f7a}.th-U{background:#7a6a1b}.th-S{background:#a55a0e}.th-X{background:#a02b2b}.th-F{background:#5b3f94}.th-N{background:#46627a}
.th-c-D{border-left-color:#2f6d3a}.th-c-P{border-left-color:#1b6f7a}.th-c-U{border-left-color:#b59b1b}.th-c-S{border-left-color:#c8700e}.th-c-X{border-left-color:#a02b2b}.th-c-F{border-left-color:#5b3f94}.th-c-N{border-left-color:#46627a}
.th-body{padding:2px 12px 12px}
.th-body h4{margin:.8rem 0 .2rem;font-size:.95rem;color:#2f5d3a}
.th-body p{margin:.2rem 0}
.th-ev{padding-left:1.1rem;margin:.2rem 0}.th-ev li{margin:.3rem 0}
.th-src{list-style:none;padding:0;margin:.4rem 0}.th-src li{margin:4px 0}
.th-src a,.th-ext a{display:inline-block;min-height:34px;line-height:1.35;word-break:break-word}
.th-ext{display:flex;flex-wrap:wrap;gap:6px 14px;margin-top:10px}
.th-ext a{font-weight:700}
.th-rel{display:flex;flex-direction:column;gap:6px}
.th-chip{display:block;text-align:left;border:2px solid #888;border-radius:10px;background:#fafafa;padding:6px 9px;font-size:.88rem;color:#222;min-height:44px}
button.th-chip{width:100%}
.th-chip-t{display:block;font-weight:700}
.th-chip-b{display:block;font-size:.76rem;font-weight:700}
.th-chip-n{display:block;font-size:.8rem;color:#555}
.th-k-d{border-color:#2f6d3a}.th-k-d .th-chip-b{color:#2f6d3a}
.th-k-t{border-color:#888;border-style:solid}.th-k-t .th-chip-b{color:#555}
.th-k-b{border-color:#c8700e;border-style:dashed}.th-k-b .th-chip-b{color:#a55a0e}
.th-legend{background:#fff;border:1px solid #ccc;border-radius:10px;padding:8px 10px;font-size:.9rem}
.th-legend .th-lg{margin:6px 0}.th-legend .th-chip{display:inline-block;min-height:0;margin:0 6px 2px 0;padding:2px 8px}
.th-cl{background:#fff;border:1px solid #ccc;border-radius:12px;margin:10px 0;padding:6px 10px}
.th-cl>summary{font-weight:700;font-size:1.05rem;min-height:40px;display:flex;align-items:center;gap:6px;cursor:pointer}
.th-n{background:#2f5d3a;color:#fff;border-radius:10px;padding:0 8px;font-size:.8rem}
.th-sub{font-weight:700;font-size:.85rem;color:#555;margin:.6rem 0 .2rem}
.th-pills{display:flex;flex-wrap:wrap;gap:6px}
.th-pill{min-height:40px;border:0;border-radius:18px;color:#fff;padding:4px 12px;font-size:.85rem;text-align:left;line-height:1.25}
.th-note{background:#fff7e0;border:1px solid #e0c060;border-radius:8px;padding:6px 8px;font-size:.88rem}
.th-dl{padding-left:1.1rem}.th-dl li{margin:.4rem 0}
.th-a{border:0;background:none;color:#1a56a0;text-decoration:underline;padding:2px 0;font-size:inherit;text-align:left}
.th-empty{padding:16px;text-align:center}
html.rr-night :is(.th-card,.th-cl,.th-legend,.th-f,.th-v,.th-tools input){background:#1b211b;color:#e4e4e0;border-color:#445}
html.rr-night .th-v.on,html.rr-night .th-f.on{background:#3d7a4c;color:#fff}
html.rr-night :is(.th-chip){background:#1b211b;color:#e4e4e0}
html.rr-night :is(.th-chip-n,.th-cat,.th-disc,.th-sub){color:#b8b8b0}
html.rr-night .th-body h4{color:#8fd19e}
html.rr-night .th-note{background:#3a3318;color:#f0e6b0;border-color:#8a7a30}
html.rr-night .th-a{color:#8fb8f0}

.th-mean{margin:.2rem 0 .6rem;padding:8px 10px;border-radius:8px;background:rgba(70,98,122,.12);font-size:.92rem;line-height:1.4}
.th-dl{margin:0}.th-dl dt{font-weight:700;margin-top:.55rem;color:#2f4a63}.th-dl dd{margin:.1rem 0 0;line-height:1.5}
.th-bp li::marker{color:#a55a0e}.th-small{font-size:.8rem;color:#666;margin:.2rem 0}
html.rr-night .th-dl dt{color:#a9c4dd}html.rr-night .th-mean{background:rgba(120,160,200,.15)}html.rr-night .th-small{color:#b8b8b0}
.th-alt{margin:.7rem 0;border:1px solid #9bb0c4;border-radius:10px;padding:.2rem .6rem;background:rgba(70,98,122,.07)}
.th-alt>summary{cursor:pointer;font-weight:700;min-height:44px;display:flex;align-items:center;color:#2f4a63}
.th-ai{border-top:1px solid #cdd8e2;padding:.5rem 0}.th-ai p{margin:.25rem 0;line-height:1.45}.th-solid{font-size:.92rem}.th-an{border-top:1px solid #cdd8e2;padding-top:.5rem;font-size:.95rem}
.th-at{display:inline-block;font-size:.78rem;font-weight:700;border-radius:8px;padding:1px 8px;background:#46627a;color:#fff}
.th-at-courtrecord{background:#2f5d3a}.th-at-declassifiedfoia,.th-at-congressionalrecord,.th-at-governmentreport{background:#2b5d8f}.th-at-witnesswhistleblower,.th-at-witnessinsider{background:#7a4a8a}.th-at-redditforumpost{background:#b34a1f}.th-at-unverifiedrumor{background:#7a2f2f}.th-at-book,.th-at-academic,.th-at-tradepress{background:#6b5b2a}.th-at-independentinvestigator,.th-at-foreignpress,.th-at-newsreport{background:#2a6b66}
html.rr-night .th-alt{background:rgba(120,160,200,.1);border-color:#445}html.rr-night .th-alt>summary{color:#a9c4dd}html.rr-night .th-ai,html.rr-night .th-an{border-color:#445}

/* v1.4.32: key line, quotes, Connects-to chips, Project Censored + Propaganda */
.th-key{background:#eef6ee;border-left:4px solid #2f5d3a;border-radius:6px;padding:6px 10px;margin:.5rem 0;font-weight:600}
.th-qt{margin:.5rem 0;padding:6px 12px;border-left:4px solid #8a6d1d;background:#fbf6e6;font-style:italic;border-radius:0 8px 8px 0}
.th-qt cite{display:block;font-style:normal;font-size:.85rem;color:#555;margin-top:3px}
.th-qt cite a{color:#1a56a0}
.th-chip{display:inline-flex;flex-direction:column;align-items:flex-start;text-align:left;min-height:44px;margin:3px 4px 3px 0;padding:5px 10px;border:1.5px solid #888;border-radius:12px;background:#fff;color:#222;font-size:.88rem;line-height:1.25;text-decoration:none;max-width:100%}
.th-chip-t{font-weight:700}.th-chip-b{font-size:.75rem;color:#555}.th-chip-n{font-size:.8rem;color:#444;margin-top:2px}
.th-k-d{border-color:#2f5d3a;border-width:2.5px}.th-k-b{border-color:#8a6d1d;border-style:dashed}.th-k-t{border-color:#777;border-style:dotted}
.th-pcb,.th-pgb{display:inline-block;margin-left:6px;padding:1px 8px;border-radius:10px;font-size:.75rem;font-weight:700;vertical-align:middle}
.th-pcb{background:#fde8c8;color:#5a3a00}.th-pgb{background:#e3dcf5;color:#35206b}
.th-pcl{list-style:none;padding:0;margin:.3rem 0}.th-pcl li{margin:.6rem 0;padding:6px 8px;border-bottom:1px solid #ddd}
.th-pcq{display:block;font-style:italic;font-size:.9rem;color:#333;margin-top:2px}
.th-hl{outline:3px solid #e0a800;background:#fff8dc}
.th-fls{display:flex;gap:6px;overflow-x:auto;padding:0 0 8px}
.th-disc{margin-top:1rem}
html.rr-night :is(.th-key,.th-qt,.th-pcl li){background:#1b211b;color:#e4e4e0;border-color:#445}
html.rr-night :is(.th-chip-b,.th-chip-n,.th-qt cite,.th-pcq){color:#b8b8b0}
html.rr-night .th-qt cite a{color:#8ab8ff}
html.rr-night :is(.th-pcb,.th-pgb){background:#33302a;color:#f0e0b0}

/* v1.4.38 Illuminati tab + embedded tabs + scrollable bottom bar */
@media (max-width:899px){nav#tabs{overflow-x:auto;overflow-y:hidden;scrollbar-width:none;-webkit-overflow-scrolling:touch}nav#tabs::-webkit-scrollbar{display:none}nav#tabs button{flex:0 0 auto;min-width:66px;padding:0 6px}}
@media (min-width:900px){nav#tabs{overflow-y:auto}}
.il-top h2{margin:.3em 0}#il-q{width:100%;font-size:1.05rem;padding:10px;border-radius:10px;border:1px solid #bbb;box-sizing:border-box}
.il-chips{display:flex;gap:6px;overflow-x:auto;padding:8px 0;scrollbar-width:none}.il-chip{flex:0 0 auto;border:1px solid #9ab;border-radius:16px;padding:6px 10px;background:#f4f7f4;font-size:.95rem;color:#222}.il-chip.on{background:#2f5d3a;color:#fff}
.il-sec h3{margin:1em 0 .4em;font-size:1.15rem}.il-k{line-height:1.5}.il-h{font-weight:700;margin:.6em 0 .2em}.il-e li,.il-src li{margin:.3em 0;line-height:1.5}.il-leg{font-size:.85rem;line-height:2}.il-credit{font-size:.85rem;margin:1.5em 0}
.il-frame iframe{width:100%;height:75vh;border:1px solid #ccc;border-radius:8px}.il-jump{margin:.4em 0;font-weight:700}
.emb-bar{padding:6px 8px;font-weight:700}.emb-bar small{display:block;font-weight:400;color:#666}.emb-frame iframe{width:100%;height:68vh;border:0;display:block}.emb-frame{padding-bottom:22vh}
