.research { --search-ink:#122f2e; --search-muted:#465f59; --search-border:#c1cec4; }
.research-hero { background:#eaf0e5; border:1px solid var(--search-border); border-radius:1rem; padding:clamp(1.25rem,4vw,3rem); }
.research-hero h1 { margin:0; font-size:clamp(2.5rem,6vw,4.8rem); line-height:1; }
.research-hero form { margin-top:1.5rem; }
.research label { font-weight:700; }
.research-query { display:flex; align-items:stretch; gap:.5rem; margin-top:.35rem; }
.research-query input { flex:1; min-width:0; font-size:1.05rem; }
.research :is(input,select,button) { font:inherit; min-height:44px; border:1px solid #839b8d; border-radius:.45rem; padding:.55rem .7rem; color:var(--search-ink); background:white; }
.research button { cursor:pointer; font-weight:700; }
.research-query button { color:white; background:#244c3d; border-color:#244c3d; padding-inline:1.3rem; }
.research-help, .research-meta, .research-label { color:var(--search-muted); font-size:.9rem; }
.research-filters { display:grid; grid-template-columns:repeat(auto-fit,minmax(11rem,1fr)); gap:.65rem; align-items:end; }
.research-filters label { display:grid; gap:.22rem; min-width:0; font-size:.88rem; }
.research-filters :is(select,input) { width:100%; min-width:0; }
#research-status { margin:1.4rem 0 .8rem; }
#research-groups { display:flex; flex-wrap:wrap; gap:.4rem .6rem; margin-bottom:1.2rem; }
#research-groups[hidden] { display:none; }
#research-groups a { text-decoration:none; color:#214638; border:1px solid var(--search-border); padding:.33rem .6rem; border-radius:.35rem; }
.research-group { margin:2rem 0; scroll-margin-top:1rem; }
.research-group h2 { border-bottom:1px solid var(--search-border); padding-bottom:.45rem; margin-bottom:0; }
.research-list { list-style:none; padding:0; margin:.2rem 0 1rem; }
.research-item { border-bottom:1px solid var(--search-border); padding:1rem 0; overflow-wrap:anywhere; }
.research-item h3 { margin:.2rem 0 .4rem; }
.research-item p { margin:.35rem 0; }
.research-label { font-weight:700; }
.research-item details { margin-top:.5rem; max-width:65ch; }
.research-item summary { cursor:pointer; font-weight:700; }
.research-item details ul { padding-left:1.2rem; }
.research-note-action { display:flex; align-items:center; gap:.8rem; flex-wrap:wrap; border-top:1px solid var(--search-border); margin-top:1.25rem; padding-top:1rem; }
.research-note-action p { margin:0; color:var(--search-muted); }
.research-note-action button { background:#244c3d; color:white; border-color:#244c3d; }
.research-note-action button:disabled { background:#edf1eb; color:#52675c; border-color:#b1c2b4; cursor:default; }
#research-note { background:#fff; border:1px solid var(--search-border); border-radius:.8rem; padding:clamp(1.2rem,3vw,2.5rem); margin:1rem 0 1.5rem; }
#research-note h2 { margin-top:0; scroll-margin-top:1rem; }
.research-note-section { border-top:1px solid var(--search-border); padding-top:1rem; margin-top:1.25rem; }
.research-note-section h3,.research-note-section .research-label { margin:.15rem 0; }
.research-note-finding h4 { margin:.9rem 0 .3rem; }
.research-note-finding p { max-width:76ch; margin:.45rem 0; }
.research-note-citation { font-size:.86em; white-space:normal; }
#research-note > details,#research-note > button { margin-top:1rem; }
#research-note summary { cursor:pointer; }
