
/* Research showcase — shared appearance controls and documented error styling. */
.theme-select,.research-theme{appearance:none;min-width:102px;cursor:pointer;border:1px solid #567380;background:#132a39;color:#e6f3f5;border-radius:10px;padding:9px 28px 9px 11px;font:700 12px/1.4 system-ui,sans-serif}
.theme-select:focus-visible,.research-theme:focus-visible{outline:2px solid #7be1c4;outline-offset:3px}
.scene-svg{display:block;width:min(100%,250px);height:105px;object-fit:contain}
.graphic-landscape{width:100%;height:105px;margin-top:0;margin-bottom:-7px}
.graphic-landscape:before{content:none!important}.graphic-landscape i,.graphic-landscape b{display:none}
.category-warning{display:inline-flex;margin:7px 0 0;padding:2px 7px;border:1px solid #ddac7b;border-radius:6px;color:#ffd7ac;background:#4e352e;font-size:10px;font-weight:740}
.finding-row-link{color:inherit;text-decoration:none;transition:background .16s,box-shadow .16s}
.finding-row-link:hover{background:#1c323b;box-shadow:inset 3px 0 #ffb879}
.finding-row-link .finding-chevron{color:#ffbd85}
.footer-credit,.research-credit{display:flex;align-items:center;gap:5px;color:#bed1d9;font-size:12px;flex-wrap:wrap}
.footer-credit a,.research-credit a{text-decoration:underline;text-underline-offset:3px}
.footer-credit a:hover,.research-credit a:hover{color:#9feccc}
.research-theme{min-width:97px;padding:7px 9px;background:#203844;font-size:11px}
.research-theme-label{font-size:11px;color:#a4beca;white-space:nowrap}
.research-theme-wrap{display:flex;align-items:center;gap:7px}
.research-credit{padding-top:13px;border-top:1px solid rgba(131,170,188,.25);margin-top:10px}
.finding-quick-filter{background:#4b3229;color:#ffdaae;border:1px solid #a86a45;padding:8px 12px;border-radius:10px;font-size:12px;font-weight:760;cursor:pointer}
.finding-quick-filter:hover{background:#654032}
.verified-issue.case-tile{border-color:#956345;background:#392c2c}
.verified-issue.case-tile[aria-current=true]{border-color:#f3ab74;background:#4b3430}
.tiny-status.verified_issue{color:#ffc595;font-weight:800}
.badge.verified_issue{color:#ffcfaa;border-color:#d69764;background:#51352e}
.verified-issue-banner{background:#372b2c;border:1px solid #a97858;border-left:4px solid #ffb474;border-radius:12px;padding:18px 20px;margin:0 0 20px;color:#f9e3d0}
.verified-issue-banner h3{margin:0 0 7px;color:#ffe0b4;font-size:16px}
.verified-issue-banner p{margin:7px 0;color:#f0d9cb;font-size:13px;line-height:1.7}
.verified-issue-banner .issue-reference{color:#e7bc97;font-size:12px}
.response.response-flagged{border-color:#b98560;box-shadow:inset 3px 0 #f2aa6e}
@media(max-width:1110px){.footer-inner{flex-wrap:wrap}.footer-credit{width:100%;order:3}.research-theme-label{display:none}}
@media(max-width:750px){.research-theme{max-width:95px}.research-nav-inner{gap:5px}.research-links{max-width:100%}.footer-credit{white-space:normal}.scene-svg{height:90px}.graphic-landscape{height:90px}}
/* Light theme for the research landing. The orbital illustration intentionally remains dark. */
html[data-theme=light]{color-scheme:light;--bg:#f4f8fa;--surface:#fff;--surface-2:#edf4f5;--line:rgba(30,69,81,.18);--text:#183246;--muted:#526a7b;--mint:#087b68;--orange:#96531c;--blue:#226899}
html[data-theme=light] body{background:#f4f8fa;color:#183246}
html[data-theme=light] .ambient-a{background:radial-gradient(circle,#80c6bd33,transparent 68%)}
html[data-theme=light] .ambient-b{background:radial-gradient(circle,#8db3d633,transparent 70%)}
html[data-theme=light] .site-header{border-bottom-color:#d5e1e6}
html[data-theme=light] .brand small{color:#5e7785}
html[data-theme=light] .nav-links,html[data-theme=light] .footer-links{color:#436173}
html[data-theme=light] .language-toggle,html[data-theme=light] .theme-select{background-color:#fff;border-color:#bfd1d7;color:#234457}
html[data-theme=light] .header-github,html[data-theme=light] .btn-ghost{background:#fff;border-color:#abc9cb;color:#23505b}
html[data-theme=light] .hero h1 em{background:linear-gradient(90deg,#047d68,#245d9c);-webkit-background-clip:text;background-clip:text;color:transparent}
html[data-theme=light] .hero-lede{color:#466171}
html[data-theme=light] .eyebrow,html[data-theme=light] .overline{color:#086f61}
html[data-theme=light] .signal{background:#0c937b;box-shadow:0 0 13px #a3dad0}
html[data-theme=light] .dot{color:#8b9da5}
html[data-theme=light] .btn-primary{background:#086f61;color:#fff}
html[data-theme=light] .btn-primary:hover{background:#045748}
html[data-theme=light] .hero-footnote{color:#53717c}
html[data-theme=light] .footnote-tick{color:#fff;background:#0b8570}
html[data-theme=light] .numbers-wrap{background:#eaf2f4}
html[data-theme=light] .number>span{color:#4f6977}
html[data-theme=light] .number .fraction{color:#087964}
html[data-theme=light] .section-heading h2 span{color:#638090}
html[data-theme=light] .pipeline{background:#fff;border-color:#d5e1e5}
html[data-theme=light] .pipe-step:not(:last-child):after{background:#fff;color:#087964}
html[data-theme=light] .pipe-index,html[data-theme=light] .cat-number{color:#4e7180}
html[data-theme=light] .pipe-icon{color:#0a7a68}
html[data-theme=light] .section-gallery{background:linear-gradient(180deg,#eaf3f5,#f4f8fa)}
html[data-theme=light] .category-card{background:#fff;border-color:#c4d7dc;box-shadow:0 8px 26px #1839490a}
html[data-theme=light] .category-card:hover{border-color:#198a79;box-shadow:0 17px 35px #143d4e1d}
html[data-theme=light] .category-icon{background:#e0f4ec;border-color:#aed4c7;color:#0b705f}
html[data-theme=light] .category-card p{color:#55707b}
html[data-theme=light] .category-warning{color:#8d431c;background:#fff2e6;border-color:#d4a077}
html[data-theme=light] .card-arrow,html[data-theme=light] .gallery-cta a{color:#0a7763}
html[data-theme=light] .gallery-cta{color:#4f6878}
html[data-theme=light] .finding-list{background:#fff;border-color:#c4d7dc}
html[data-theme=light] .finding-row p{color:#586d78}
html[data-theme=light] .finding-number,html[data-theme=light] .finding-chevron{color:#96601c}
html[data-theme=light] .finding-row-link:hover{background:#fff5eb}
html[data-theme=light] .resources-section{background:#eaf2f4}
html[data-theme=light] .resource-card{background:#fff;border-color:#c6d8de}
html[data-theme=light] .resource-card-accent{background:linear-gradient(140deg,#e0f5ef,#f8fffe)}
html[data-theme=light] .resource-card p{color:#526c7a}
html[data-theme=light] .resource-icon{color:#0a7665;background:#d8f1ea}
html[data-theme=light] .resource-kind{color:#577787}
html[data-theme=light] .resource-link,html[data-theme=light] .resource-arrow{color:#087964}
html[data-theme=light] .release-strip{background:#dff2ed;border-color:#a6d0c6}
html[data-theme=light] .release-glyph,html[data-theme=light] .release-strip>a{color:#076a59}
html[data-theme=light] .release-left p{color:#486b68}
html[data-theme=light] .sha-cards>div{background:#fff;border-color:#c6d9dc}
html[data-theme=light] .sha-cards span{color:#527583}
html[data-theme=light] .sha-cards code{color:#175c4e}
html[data-theme=light] .site-footer{background:#e6f0f3}
html[data-theme=light] .footer-brand span{color:#546f7d}
html[data-theme=light] .footer-credit{color:#2f5563}
/* Light theme for Gallery: all raw outputs remain untouched. */
html[data-theme=light] .research-nav{background:#f9fdfd;border-color:#c5d9dc}
html[data-theme=light] .research-brand{color:#153a49}
html[data-theme=light] .research-brand-tag,html[data-theme=light] .research-links a,html[data-theme=light] .research-theme-label{color:#42697a}
html[data-theme=light] .research-theme{background:#fff;color:#1a4556;border-color:#a8c6cc}
html[data-theme=light] .header{background:linear-gradient(135deg,#e2f3ef,#f5f9fc);border-color:#b7d8d0}
html[data-theme=light] .subtitle,html[data-theme=light] .control-note,html[data-theme=light] .section-count{color:#4b6574}
html[data-theme=light] .counter{background:#fff;border-color:#c2d9d8}
html[data-theme=light] .notice{background:#deefe9;color:#1d584d;border-left-color:#16836c}
html[data-theme=light] .lang-button,html[data-theme=light] .small-button{background:#fff;color:#194a54;border-color:#aac6c9}
html[data-theme=light] .search,html[data-theme=light] select{background:#fff;color:#203f52;border-color:#adc6ce}
html[data-theme=light] .group-tab{background:#fff;border-color:#bfd1d8;color:#25485a}
html[data-theme=light] .group-tab:hover:not(:disabled){background:#e8f4f0}
html[data-theme=light] .group-tab[aria-selected=true]{background:#d7eee5;color:#145c4d;border-color:#378c77}
html[data-theme=light] .group-tab .count{background:#e8eff1;color:#345e6e}
html[data-theme=light] .case-list,html[data-theme=light] .case-detail{background:#fff;border-color:#cadde1;box-shadow:0 8px 28px #1734460b}
html[data-theme=light] .case-tile{color:#223f4c}
html[data-theme=light] .case-tile:hover{background:#eff6f5}
html[data-theme=light] .case-tile[aria-current=true]{background:#e1f3e8;border-color:#439884}
html[data-theme=light] .tile-id,html[data-theme=light] .tiny-status:not(.verified_issue){color:#597483}
html[data-theme=light] .detail-heading{background:#f0f6f8;border-color:#c7d9e1}
html[data-theme=light] .badge{background:#ecf3f5;color:#345263;border-color:#b2cad3}
html[data-theme=light] .detail-overview,html[data-theme=light] .detail-media{background:#e7f0f3}
html[data-theme=light] .detail-media img{border-color:#c7dadd;box-shadow:none}
html[data-theme=light] .detail-media figcaption{color:#4c6877}
html[data-theme=light] .response{background:#f6fafb;border-color:#c7dbe0}
html[data-theme=light] .response-body{color:#213d50}
html[data-theme=light] .response-title{border-color:#c7dce0}
html[data-theme=light] .prompt-disclosure pre{background:#eaf1f4;color:#355265}
html[data-theme=light] .meta-footer{color:#547481}
html[data-theme=light] .review-panel{background:#e0f4eb;border-color:#9fc8b9}
html[data-theme=light] .review-panel p,html[data-theme=light] .review-panel strong{color:#275248}
html[data-theme=light] .footer{background:#eef4f6}
html[data-theme=light] .research-credit{color:#3c6270}
html[data-theme=light] .verified-issue.case-tile{background:#fff1e7;border-color:#cc8757}
html[data-theme=light] .verified-issue.case-tile[aria-current=true]{background:#ffe8d6;border-color:#bc6a35}
html[data-theme=light] .tiny-status.verified_issue{color:#9e4c1d}
html[data-theme=light] .badge.verified_issue{background:#fff0e3;color:#8a3f1c;border-color:#c97e4d}
html[data-theme=light] .verified-issue-banner{background:#fff3e9;color:#68381e;border-color:#da9d70;border-left-color:#ad5d26}
html[data-theme=light] .verified-issue-banner h3{color:#87471c}
html[data-theme=light] .verified-issue-banner p,html[data-theme=light] .verified-issue-banner .issue-reference{color:#75451f}
html[data-theme=light] .response.response-flagged{border-color:#cf9167;box-shadow:inset 3px 0 #b96b30}
