.search-label-row { display:flex; align-items:center; justify-content:space-between; gap:16px; margin:0 0 11px; }
.search-label-row > label { font-size:13px; font-weight:600; color:var(--ink); }
.search-type-switch { display:flex; gap:0; border:1px solid var(--line); border-radius:5px; padding:3px; }
.search-type-switch button { background:transparent; border:0; padding:7px 12px; font-size:12px; border-radius:3px; }
.search-type-switch button[aria-pressed=true] { background:var(--action-wash); color:var(--action-hover); font-weight:600; }
.research-toolbar { display:flex; gap:10px; }
.research-toolbar .search-field { flex:1; min-width:0; }
.research-submit { padding:0 16px; min-height:46px; display:flex; align-items:center; gap:12px; border:1px solid var(--action); border-radius:4px; color:white; background:var(--action); font-size:13px; white-space:nowrap; }
.research-submit:not(:disabled):hover { color:white; background:var(--action-hover); }
.research-submit:disabled { opacity:.65; cursor:wait; }
.research-notice { margin:15px 0 25px; border-left:3px solid var(--jurisdiction); background:#f3f6f8; padding:14px 18px; font-size:13px; line-height:1.7; color:var(--ink); }
.research-notice p { margin:4px 0 0; }
.research-hint { display:flex; align-items:baseline; gap:12px; margin:12px 0 25px; font-size:12px; }
.research-hint > span { color:var(--muted); white-space:nowrap; }
.research-hint button { border:0; padding:0; background:transparent; text-align:left; text-decoration:underline; text-underline-offset:3px; }
.research-answer { margin:18px 0 30px; padding:24px; border:1px solid #c7d7ce; border-top:3px solid var(--action); background:#fff; }
.research-answer-heading { display:flex; justify-content:space-between; gap:15px; color:var(--muted); font-size:11px; }
.research-answer h2 { margin:15px 0 24px; font-size:22px; line-height:1.4; letter-spacing:-.4px; }
.research-point { margin:0 0 24px; font-size:14px; line-height:1.8; }
.research-point > p { margin:0 0 10px; }
.research-citation { margin:8px 0; font-size:12px; }
.research-citation > summary { color:var(--action); cursor:pointer; }
.research-citation blockquote { border-left:2px solid var(--line); padding:3px 14px; margin:12px 0; color:var(--muted); white-space:pre-wrap; }
.research-citation > div { display:flex; gap:18px; }
.research-sources { padding-top:16px; border-top:1px solid var(--line); }
.research-sources h3, .research-limitations h3 { font-size:12px; font-weight:600; margin:0 0 10px; }
.research-limitations { margin-top:22px; font-size:12px; color:var(--muted); line-height:1.7; }
.research-limitations ul { padding-left:18px; margin:0; }
.research-footnote { font-size:11px; color:var(--muted); margin:18px 0 0; }
.research-clarification { font-size:14px; line-height:1.8; }
@media(max-width:700px) {
  .search-label-row { flex-wrap:wrap; gap:10px; }
  .research-toolbar { flex-wrap:wrap; }
  .research-toolbar .search-field { flex-basis:100%; }
  .research-submit { min-height:40px; }
  .research-hint { display:block; }
  .research-hint > span { display:block; margin-bottom:7px; }
  .research-answer { padding:18px; }
  .research-answer h2 { font-size:19px; }
}

.research-mode .rail-group:has(#topicFilter),
.research-mode .rail-group:has(#specificFilter),
.research-mode .date-filters { display:none; }
