/* Shared protected-research chrome. No data or authentication state in CSS. */
.pr-state, .opt-page { max-width: 1400px; min-width: 0; margin: 0 auto; color: var(--text-primary, #e2e8f0); }
.pr-state { border: 1px solid var(--border-color, #273244); border-radius: 12px; padding: 24px; background: var(--bg-secondary, #101824); }
.pr-state-title, .opt-title { font-size: clamp(20px, 3vw, 28px); font-weight: 650; margin: 0 0 14px; line-height: 1.3; }
.pr-state-body { max-width: 65ch; line-height: 1.65; color: var(--text-secondary, #bac5d5); }
.pr-signin-btn, .pr-refresh-btn { margin-top: 16px; min-height: 44px; padding: 10px 18px; border: 1px solid #40536b; border-radius: 7px; color: #e5f4ff; background: #16334a; cursor: pointer; }
.pr-state button:focus-visible, .bt-run-choice select:focus-visible, .opt-link:focus-visible { outline: 2px solid #52d7eb; outline-offset: 3px; }
.opt-header { margin-bottom: 20px; }
.opt-summary { line-height: 1.65; border-left: 3px solid #e0b65d; background: #171c25; padding: 14px 18px; border-radius: 5px; }
.opt-summary p + p { margin-top: 10px; }
.opt-provenance, .opt-qual { color: var(--text-secondary, #bac5d5); font-size: 13px; line-height: 1.7; overflow-wrap: anywhere; }
.opt-link { color: #70d8ed; }
.opt-section { margin-top: 24px; padding: 18px; border: 1px solid var(--border-color, #273244); border-radius: 10px; background: var(--bg-secondary, #101824); overflow-x: auto; }
.opt-subtitle { font-size: 17px; margin: 0 0 12px; font-weight: 650; }
.opt-stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 18px 0; }
.opt-stat { min-width: 0; padding: 14px; background: #0c1420; border: 1px solid #263347; border-radius: 8px; }
.opt-stat-label { font-size: 12px; color: #b6c2d3; margin-bottom: 8px; }
.opt-stat-value { font-size: 21px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.opt-blocked, .opt-archived, .opt-empty { color: #cbd5e1; line-height: 1.6; padding: 12px 0; }
.opt-archived { color: #e5bf76; }
.opt-page .opt-table { width: 100%; border-collapse: collapse; font-size: 13px; margin-top: 14px; }
.opt-page .opt-table th { text-align: left; color: #bdcbdc; font-size: 12px; font-weight: 600; }
.opt-page .opt-table th, .opt-page .opt-table td { padding: 12px 10px; border-bottom: 1px solid #263347; vertical-align: top; }
.opt-page .opt-table td { max-width: 32ch; overflow-wrap: anywhere; }
.opt-table-wrap { overflow-x: auto; max-width: 100%; }
.opt-table-wrap:focus-visible { outline: 2px solid #52d7eb; outline-offset: 2px; }
.opt-page .opt-table .opt-legs, .opt-page .opt-table td:nth-child(2) { white-space: nowrap; }
.opt-table-hint { display: none; color: #bdcbdc; font-size: 12px; margin-top: 10px; }
.bt-run-choice { display: grid; gap: 8px; margin-bottom: 20px; min-width: 0; }
.bt-run-choice label { font-size: 13px; color: #bccada; }
.bt-run-choice select { width: 100%; min-width: 0; max-width: 100%; min-height: 44px; background: #101a28; color: #e5edf7; border: 1px solid #40536b; padding: 10px; border-radius: 7px; font: inherit; }
.bt-run-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; line-height: 1.7; font-size: 13px; margin-bottom: 10px; }
.bt-run-meta span, .bt-run-window, .bt-run-qualification { overflow-wrap: anywhere; min-width: 0; }
.bt-run-window, .bt-run-qualification { color: #bdcada; font-size: 13px; line-height: 1.65; margin-bottom: 12px; }
.bt-run-report { margin-top: 22px; }
.bt-evidence { margin: 0 0 20px; padding: 16px 18px; border: 1px solid #334a62; border-radius: 8px; background: #101b29; color: #c9d6e5; font-size: 14px; line-height: 1.65; overflow-wrap: anywhere; }
.bt-evidence strong { color: #e7eff9; }
.bt-evidence p { margin: 8px 0; }
.bt-evidence summary { display: list-item; min-height: 44px; padding: 10px 0; color: #83d6eb; cursor: pointer; }
.bt-evidence summary:focus-visible { outline: 2px solid #52d7eb; outline-offset: 3px; }
.bt-evidence ul { margin: 8px 0 16px; padding-left: 20px; list-style: disc; }
.bt-evidence li { margin: 6px 0; }
.bt-evidence h4 { margin-top: 18px; color: #e7eff9; }
.bt-evidence code { white-space: normal; overflow-wrap: anywhere; font-size: 12px; }
@media (max-width: 650px) {
  .opt-stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .opt-section { padding: 14px; }
  .opt-stat-value { font-size: 18px; }
  .opt-page .opt-table { min-width: 620px; }
  .opt-table-hint { display: block; }
  .pr-state { padding: 20px; }
}
