/* The long-term research panel uses the accepted Observatory palette and rhythm. */
.dow-panel { min-width:0; --dow-deep:#263123; --dow-light:#eef0e7; --dow-warm:#865c2b; --dow-blue:#466879; }
.dow-intro { display:grid; grid-template-columns:minmax(0,1.85fr) minmax(220px,1fr); gap:clamp(18px,4vw,52px); align-items:end; margin:0 0 18px; padding:clamp(20px,4vw,46px); background:var(--dow-light); border:1px solid var(--line); }
.dow-intro .eyebrow,.dow-section-head .eyebrow { margin-bottom:7px; }
.dow-intro p:not(.eyebrow) { max-width:62ch; margin-top:12px; text-wrap:pretty; }
.dow-intro h2 { font-size:clamp(2rem,4.1vw,3.55rem); color:var(--dow-deep); }
.dow-start { border-left:1px solid #a6ad96; padding:3px 0 3px 18px; }
.dow-start span,.dow-start strong,.dow-start small { display:block; }
.dow-start span,.dow-start small { color:var(--muted); }
.dow-start strong { font-size:clamp(1.15rem,2vw,1.55rem); }
.dow-jump { display:flex; flex-wrap:wrap; gap:0 18px; margin-bottom:12px; }
.dow-jump button { min-height:44px; }
.dow-provenance { border-left:4px solid var(--green); background:#e8ebdf; padding:10px 14px; margin:8px 0 24px; font-size:.9375rem; }
.dow-provenance[data-state="synthetic"] { border-color:var(--dow-warm); background:#f5ebd7; }
.dow-preview-banner { position:relative; z-index:21; margin:0; padding:10px 18px; text-align:center; background:#eee3c8; color:#462f15; border-bottom:1px solid #d5bf8c; font-weight:700; }
.dow-section { border-top:1px solid var(--line); padding:clamp(20px,4vw,36px) 0; }
.dow-section > h3,.dow-section-head h3 { font-size:clamp(1.5rem,3.1vw,2.2rem); line-height:1.15; }
.dow-section > p,.dow-section-head > p:not(.eyebrow) { max-width:80ch; margin:9px 0 18px; }
.dow-filters { display:flex; flex-wrap:wrap; gap:10px 16px; margin:17px 0; align-items:end; }
.dow-filters label { display:grid; gap:4px; min-width:0; font-size:.9rem; font-weight:700; }
.dow-filters select { min-height:44px; padding:8px 34px 8px 10px; width:100%; appearance:none; background:white url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23374031' stroke-width='1.6'/%3E%3C/svg%3E") right 9px center no-repeat; border:1px solid #b5b9ab; border-radius:2px; color:var(--ink); }
.dow-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; margin:10px 0 14px; }
.dow-card { min-width:0; border:1px solid var(--line); padding:clamp(13px,2vw,22px); background:#fbfaf7; }
.dow-card h4 { font-size:1.05rem; line-height:1.25; margin-bottom:8px; }
.dow-note { color:var(--muted); font-size:.91rem; margin-top:7px; }
.dow-stats { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:8px; margin:14px 0; }
.dow-stat { min-width:0; min-height:105px; padding:12px; border-top:3px solid #aab695; background:var(--dow-light); }
.dow-stat span,.dow-stat small { display:block; color:#4e5745; }
.dow-stat strong { display:block; margin:.15em 0; font-size:clamp(1rem,2vw,1.4rem); line-height:1.24; overflow-wrap:anywhere; }
.dow-stat small { font-size:.85rem; line-height:1.35; }
.dow-empty { border:1px dashed #adb3a3; padding:14px; margin:10px 0; background:#f0f0e9; color:#3f4937; }
.dow-timeline { list-style:none; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; padding:0; margin:12px 0 10px; }
.dow-timeline li { padding:10px 12px; border-top:2px solid var(--green); background:#f0f1e9; line-height:1.4; min-width:0; }
.dow-timeline li[data-state="planned"] { border-top-style:dashed; border-color:#81897c; }
.dow-timeline strong,.dow-timeline time,.dow-timeline small { display:block; }
.dow-timeline time,.dow-timeline small { font-size:.86rem; color:#4e5745; }
.dow-chart { display:block; width:100%; height:auto; min-height:130px; }
.dow-key { display:flex; flex-wrap:wrap; gap:4px 12px; align-items:center; padding:0; margin:6px 0 0; list-style:none; font-size:.875rem; }
.dow-key li::before { content:""; display:inline-block; width:18px; border-top:3px solid var(--green); margin-right:6px; vertical-align:middle; }
.dow-key li:nth-child(2)::before { border-top:3px dashed var(--dow-blue); }
.dow-key li:nth-child(3)::before { border-top:3px dotted var(--dow-warm); }
.dow-bars { list-style:none; margin:0; padding:0; }
.dow-bars li { display:grid; grid-template-columns:minmax(0,1.35fr) minmax(18px,1fr) minmax(2.7rem,auto); gap:7px; align-items:center; margin-top:7px; font-size:.9rem; }
.dow-bars-meter { background:#e5e8db; height:.7em; overflow:hidden; }
.dow-bars-meter span { display:block; background:#687d49; height:100%; }
.dow-bars li:nth-child(even) .dow-bars-meter span { background:var(--dow-blue); }
.dow-bars li[data-missing] .dow-bars-meter { background:repeating-linear-gradient(125deg,#f3f2ed,#f3f2ed 3px,#d5d8cd 3px,#d5d8cd 4px); }
.dow-bars strong { font-size:.86rem; text-align:right; overflow-wrap:anywhere; }
.dow-bar-coverage { display:block; color:var(--muted, #62655d); }
.dow-table { width:100%; border-collapse:collapse; font-size:.9rem; margin-top:12px; }
.dow-table th,.dow-table td { text-align:right; border-bottom:1px solid var(--line); padding:6px; }
.dow-table :is(th,td):first-child { text-align:left; }
.dow-panel details { margin-top:12px; }
.dow-count-meta { display:flex; flex-wrap:wrap; gap:8px 18px; padding:10px 0 0; color:#4e5745; font-size:.9rem; }
@media(max-width:700px) {
  .dow-intro { grid-template-columns:1fr; align-items:start; }
  .dow-filters label { flex:1 1 40%; }
  .dow-grid,.dow-timeline { grid-template-columns:1fr; }
  .dow-stats { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .dow-jump { gap:0 12px; }
}
body[data-dow-preview] #feed-alert { display:none; }
body[data-dow-preview] #connection-state { visibility:hidden; }
body[data-dow-preview] .dow-section-head h3::after,
body[data-dow-preview] .dow-confidence > h3::after { content:"Synthetic examples"; display:block; color:#865c2b; font-size:.85rem; font-weight:700; letter-spacing:0; margin-top:6px; }
@media(max-width:700px) {
  .dow-table { table-layout:fixed; font-size:.79rem; }
  .dow-table :is(th,td) { padding:5px 2px; overflow-wrap:anywhere; }
  .dow-table :is(th,td):first-child { width:34%; }
}
