/* A compact reading workspace: gate, query, captured evidence, measured outcome. */
.source-favicon{display:block;width:20px;height:20px;object-fit:contain;flex:0 0 20px;border-radius:3px}
.source-initial{display:grid;place-items:center;background:#edf2f8;color:#536c91;font-size:14px;line-height:20px}
.card-evidence{display:flex;align-items:center;gap:10px;margin-top:13px;color:var(--muted);font-size:13px}
.favicon-group{display:flex;align-items:center;gap:5px}.favicon-group .source-favicon{width:17px;height:17px;flex-basis:17px}
.card-footer{padding-top:12px}.card-content{padding:14px 16px}.gallery-bar{padding:15px 0 13px}
.research-page .record-description{font-size:16px;line-height:1.55;max-width:950px}
.research-page .record-hero{padding:20px 0 15px}.record-topline{margin-bottom:11px}.run-meta{margin-top:9px}
.history-scroll{overflow-x:auto;scrollbar-width:thin}.history-scroll .full-chart{min-width:650px}
.gate-rail-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:1px 0 7px;font-size:13px;color:var(--muted)}
.gate-rail-heading>span:first-child{font-weight:600;color:var(--body)}
.gate-rail{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:3px;width:100%;height:17px;margin-bottom:8px}
.gate-tick{border-radius:2px;background:#dbe2ec;position:relative}.gate-tick.retrieve{background:#80a8d6}.gate-tick.lookup{background:#d9b262}.gate-tick.noop{background:#ab96cf}
.gate-tick.is-recorded{outline:1px solid #2c3c53;outline-offset:2px}.gate-tick[aria-current=step]{background:var(--ink);outline:2px solid var(--ink)}
.moments-title{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin:21px 0 12px}.moments-title h2{font-size:21px}.moments-title>span{font-size:13px;color:var(--muted)}
#moments{scroll-margin-top:74px}.step-navigation{gap:7px;margin-bottom:12px}.step-link{padding:7px 11px;min-height:47px;gap:7px}.step-link small{font-size:12px;margin-top:2px}.step-link[aria-current=step]{border-color:#739bc9}
.rich-step{border-radius:6px}.rich-step .step-header{padding:12px 16px}.rich-step .step-header h3{font-size:22px;letter-spacing:-.035em}
.rich-step .step-outcome{font-size:14px}.rich-step .step-outcome.improved{color:#26725c}.rich-step .gate-badge{font-size:13px;padding:3px 8px}
.iteration-flow{display:grid;grid-template-columns:1fr auto 1fr auto 1.5fr auto 1.15fr;gap:14px;align-items:center;border-bottom:1px solid var(--line);padding:12px 16px;background:#fafbfd}
.iteration-flow>div{min-width:0}.iteration-flow small{display:block;font-size:12px;line-height:1.3;color:var(--muted);margin-bottom:5px}.iteration-flow strong{display:block;font-size:16px;font-weight:600;line-height:1.3;overflow-wrap:anywhere}
.iteration-flow>span{color:#a6b2c3;font-size:18px}.iteration-flow>div:last-child strong{color:var(--blue-deep);font-variant-numeric:tabular-nums}
.gate-context{display:grid;grid-template-columns:145px minmax(0,1fr);gap:20px;border-bottom:1px solid var(--line);padding:15px 16px 10px}
.context-label h4{font-size:16px;font-weight:600;margin-bottom:8px}.context-label .gate-badge{display:inline-block}
.gate-logs{min-width:0;display:grid;grid-template-columns:1fr 1fr;column-gap:20px;align-items:start}.gate-logs .evidence-log:last-child:nth-child(odd){grid-column:1/-1}
.evidence-log{min-width:0;margin-bottom:9px;border:0}.evidence-log summary{display:block;padding:0;cursor:pointer;font-size:14px;font-weight:400;line-height:1.6;color:var(--body)}
.evidence-log summary>strong{font-size:13px;font-weight:600;display:inline;color:var(--muted)}.evidence-log summary>strong:after{content:' +';font-size:15px;color:#8a9bb3}
.evidence-log[open] summary>strong:after{content:' −'}.evidence-log summary>span{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;line-height:1.65;margin-top:3px}
.evidence-log[open] summary>span{display:none}.log-body{margin-top:7px;font-size:15px;line-height:1.65;color:var(--body);overflow-wrap:anywhere}
.log-body p+p{margin-top:9px}.log-body strong{font-weight:600}.gate-logs .log-body{font-size:14px}
.evidence-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:11px 16px;border-bottom:1px solid var(--line)}
.evidence-toolbar h4{font-size:16px;font-weight:600;white-space:nowrap}.round-tabs{display:flex;gap:4px;flex-wrap:wrap}
.round-tabs button{display:flex;align-items:center;gap:6px;font-size:14px;padding:7px 9px;border:1px solid transparent;border-radius:4px;background:transparent;color:var(--body);min-height:37px}
.round-tabs button>span{font-size:12px;color:var(--muted)}.round-tabs button[aria-pressed=true]{background:#eef4fc;border-color:#c6d6ed;color:var(--blue-deep)}
.evidence-workspace{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.35fr);min-width:0;align-items:start}
.query-workspace{padding:16px;border-right:1px solid var(--line);min-width:0}.source-workspace{padding:16px;min-width:0}
.js .query-workspace,.js .source-workspace{max-height:610px;overflow:auto;scrollbar-width:thin;scrollbar-color:#c6d2e2 transparent}
.evidence-view-switch{display:none}
.search-round h4{font-size:14px;color:var(--muted);font-weight:500;margin-bottom:10px}.search-round+.search-round{margin-top:20px}.js .search-round{margin-top:0}
.recorded-query{font-size:17px;font-weight:550;letter-spacing:-.015em;line-height:1.55;color:#2b4e7a;overflow-wrap:anywhere;border-left:3px solid #7c9fc9;padding-left:11px;margin-bottom:14px}
.query-purpose{font-size:15px;line-height:1.65;color:var(--body);margin-bottom:11px;overflow-wrap:anywhere}.query-purpose>span{display:block;font-size:13px;color:var(--muted);margin-bottom:5px}
.query-keywords{display:flex;flex-wrap:wrap;gap:5px;margin-bottom:13px}.query-keywords>span{font-size:12px;line-height:1.45;padding:3px 6px;border-radius:3px;background:#f2f5f9;color:#5b6f89}
.round-counts{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 0;margin:9px 0 12px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);color:var(--muted);font-size:13px}
.round-counts strong{font-size:17px;margin-right:3px;font-weight:600}.round-mean{font-size:13px;color:var(--muted);margin-top:12px;display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}.round-mean strong{font-variant-numeric:tabular-nums;color:var(--blue-deep)}
.query-recap{display:flex;flex-direction:column;gap:13px;margin-bottom:16px}.query-recap>div{display:flex;align-items:flex-start;gap:9px}.query-recap span{font-size:12px;line-height:1.6;color:var(--muted);padding:2px 5px;background:#f2f5f9;border-radius:3px;flex-shrink:0}.query-recap p{font-size:15px;line-height:1.55;overflow-wrap:anywhere;color:#385d88}
.search-stop{font-size:13px;line-height:1.6;color:var(--muted);margin-top:12px}.source-workspace-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:5px}.source-workspace-heading h4{font-size:16px;font-weight:600}.source-workspace-heading h4>span{font-size:13px;color:var(--muted);font-weight:400;margin-left:5px;white-space:nowrap}
.source-filters{display:flex;gap:3px}.source-filters button{font-size:12px;padding:4px 7px;min-height:31px;border:0;border-bottom:2px solid transparent;background:transparent;color:var(--muted);white-space:nowrap}.source-filters button[aria-pressed=true]{border-color:#5d799e;color:#345b8a}
.source-help{font-size:12px;color:var(--muted);line-height:1.5;margin-bottom:10px}.evidence-source-list{display:flex;flex-direction:column;gap:7px}
.evidence-source{border:1px solid #e1e6ed;border-radius:5px;background:#fff;overflow:hidden;min-width:0}.evidence-source.is-kept{border-color:#ccd9e9}
.evidence-source>summary{display:flex;align-items:flex-start;gap:9px;padding:11px 12px;list-style:none;min-width:0}.evidence-source>summary::-webkit-details-marker{display:none}.evidence-source[open]>summary{border-bottom:1px solid #e9edf2;background:#fbfcfe}
.source-identity{display:flex;align-items:flex-start;gap:9px;flex:1;min-width:0}.source-identity>.source-favicon{margin-top:3px}.source-identity>span{min-width:0}.source-domain{display:block;font-size:12px;font-weight:400;color:var(--muted);line-height:1.5;overflow-wrap:anywhere;margin-bottom:2px}
.source-identity strong{display:block;font-size:15px;font-weight:550;line-height:1.45;overflow-wrap:anywhere}.source-choice{flex-shrink:0;font-size:11px;font-weight:500;padding:2px 5px;border-radius:3px;background:#f1f3f6;color:#788495;white-space:nowrap;margin-top:1px}.is-kept .source-choice{background:#edf5f0;color:#387156}
.source-expander{font-size:17px;font-weight:400;color:#8d9cb1;line-height:1.1;margin-top:3px}.evidence-source[open] .source-expander{font-size:0}.evidence-source[open] .source-expander:after{content:'−';font-size:17px}
.source-summary-meta{display:flex;flex-direction:column;align-items:flex-end;gap:4px;flex-shrink:0}.source-score{font-size:13px;font-weight:500;color:#426693;font-variant-numeric:tabular-nums;white-space:nowrap}
.source-reader{padding:11px 12px 12px}.document-meta{display:flex;justify-content:space-between;gap:8px;font-size:12px;color:var(--muted);margin-bottom:10px;flex-wrap:wrap}.document-meta a{white-space:nowrap}
.document-metrics{display:flex;gap:9px 17px;flex-wrap:wrap;font-size:12px;color:var(--muted);padding:9px 0;margin-bottom:11px;border-block:1px solid var(--line)}.document-metrics>span{display:flex;align-items:baseline;gap:6px}.document-metrics strong{font-size:14px;font-weight:600;color:#345c89;font-variant-numeric:tabular-nums}
.web-content-heading{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:6px;margin-bottom:5px}.web-content-heading>span{font-size:13px;font-weight:550;color:var(--body)}.web-content-heading>small{font-size:11px;color:var(--muted)}
.web-excerpt{font-size:15px;line-height:1.65;color:#43505f;overflow-wrap:anywhere;margin:0;padding:0 0 0 11px;border-left:2px solid #dce6f2;white-space:pre-wrap}
.document-history{font-size:12px;display:flex;gap:7px 15px;flex-wrap:wrap;color:var(--muted);margin-top:10px}.record-empty{font-size:14px;line-height:1.65;color:var(--muted);padding:10px 0}
.no-search-state{display:flex;gap:12px;align-items:flex-start;padding:15px 16px;border-bottom:1px solid var(--line)}.no-search-state>p{font-size:15px;line-height:1.6;color:var(--body)}
.iteration-result{border-top:1px solid var(--line);padding:14px 16px 16px}.result-heading{display:flex;justify-content:space-between;align-items:baseline;gap:14px;margin-bottom:13px}.result-heading h4{font-size:17px;font-weight:600}.result-heading>span{font-size:13px;color:var(--muted)}
.result-score-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;padding:12px 14px;background:#f7f9fc;border:1px solid #e8ecf2;border-radius:4px;margin-bottom:12px}.result-score-grid>div{min-width:0}.result-score-grid>div>span{font-size:13px;color:var(--muted);display:block;margin-bottom:4px}.result-score-grid strong{font-size:21px;letter-spacing:-.025em;line-height:1.4;color:#345f95;display:block;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.result-score-grid i{font-size:16px;color:#9caabd;font-style:normal;margin-inline:4px}.result-score-grid strong.regressed{color:#a45761}.result-score-grid small{display:block;font-size:12px;color:var(--muted);line-height:1.5;margin-top:3px}
.recorded-change{font-size:15px;line-height:1.65;color:var(--body);margin-bottom:10px;overflow-wrap:anywhere}.runtime-retrieval{font-size:13px;line-height:1.6;color:#8b682a;margin-bottom:10px}
.rich-step .change-panel{margin-top:10px}.rich-step .change-heading{font-size:14px;cursor:pointer;min-height:39px;padding:8px 11px}.rich-step .change-heading small{font-size:12px;margin-left:7px}.rich-step .change-stats{font-size:13px;font-weight:500}.rich-step .diff-code{font-family:var(--font);font-size:14px;line-height:1.7;padding:9px 0;max-height:220px;tab-size:4}
.step-pager{padding-top:4px}.step-position{font-size:13px}
@media(max-width:1000px){.gate-context{grid-template-columns:115px 1fr;gap:14px}.evidence-workspace{grid-template-columns:minmax(0,.95fr) minmax(0,1.2fr)}.source-identity strong{font-size:14px}.source-choice{font-size:10px}.round-tabs button{gap:4px;padding-inline:7px}.iteration-flow{gap:10px}.iteration-flow strong{font-size:15px}.source-workspace-heading{flex-wrap:wrap}}
@media(max-width:760px){
 .research-page .record-description{font-size:15px}.research-page .record-hero{padding:17px 0 13px}.record-hero h1{font-size:29px}.record-title-row .card-behavior{font-size:14px}.run-meta{font-size:13px;gap:5px 12px}.run-meta>span{padding-left:0;border:0}
 .gate-rail-heading{font-size:12px;align-items:flex-start}.gate-rail-heading>span:last-child{max-width:60%;text-align:right;font-size:11px}.gate-rail{gap:2px;height:14px}.gate-tick.is-recorded{outline-offset:1px}
 .moments-title{margin-top:18px;gap:8px;flex-wrap:wrap}.moments-title h2{font-size:20px}.moments-title>span{font-size:12px}.step-navigation{flex-wrap:nowrap;overflow-x:auto;padding:3px;margin-inline:-3px;scrollbar-width:thin}.step-link{flex-shrink:0;font-size:14px}.step-link small{font-size:12px}.step-dot{width:5px;height:5px}
 .rich-step .step-header{padding:12px}.rich-step .step-header h3{font-size:21px}.rich-step .gate-badge{font-size:12px}.rich-step .step-outcome{font-size:12px}.step-heading-group{gap:8px}
 .iteration-flow{grid-template-columns:1fr auto 1fr;gap:10px;padding:12px}.iteration-flow>span:nth-child(4){display:none}.iteration-flow small{font-size:12px;margin-bottom:3px}.iteration-flow strong{font-size:15px}.iteration-flow>span:nth-child(6){grid-column:2;grid-row:2}.iteration-flow>div:nth-child(5){grid-column:1;grid-row:2}.iteration-flow>div:nth-child(7){grid-column:3;grid-row:2}
 .gate-context{display:block;padding:13px 12px 6px}.context-label{display:flex;gap:8px;align-items:center;margin-bottom:11px}.context-label h4{margin:0;font-size:16px}.gate-logs{grid-template-columns:1fr;gap:0}.gate-logs .evidence-log{margin-bottom:11px}.gate-logs .evidence-log summary>span{-webkit-line-clamp:2}.gate-logs .log-body{font-size:15px}
 .evidence-toolbar{padding:11px 12px;display:block}.evidence-toolbar h4{font-size:17px;margin-bottom:8px}.round-tabs{gap:2px;justify-content:space-between}.round-tabs button{font-size:14px;min-height:39px;display:block;padding:5px 9px}.round-tabs button>span{display:block;font-size:11px;line-height:1.5}
 .evidence-workspace{grid-template-columns:1fr}.query-workspace{border-right:0;padding:14px 12px}.source-workspace{padding:14px 12px}.recorded-query{font-size:17px;line-height:1.5}.query-purpose,.log-body{font-size:15px}.query-keywords>span{font-size:12px}.round-counts{padding:9px 0}.source-workspace-heading{flex-wrap:nowrap}.source-workspace-heading h4{font-size:16px}.source-workspace-heading h4>span{font-size:12px}.source-filters button{font-size:12px;padding:4px 6px}
 .evidence-view-switch{display:flex;padding:8px 12px;gap:4px;border-bottom:1px solid var(--line);background:#fafbfd}.evidence-view-switch button{flex:1;font-size:14px;padding:7px 5px;background:transparent;color:var(--muted);border:1px solid transparent;border-radius:4px}.evidence-view-switch button[aria-pressed=true]{background:#fff;border-color:#dce4ef;color:#345b8a}
 .js .evidence-workspace[data-mobile-view=query] .source-workspace,.js .evidence-workspace[data-mobile-view=sources] .query-workspace{display:none}.js .query-workspace,.js .source-workspace{max-height:610px}
 .source-identity strong{font-size:15px}.source-choice{font-size:10px}.source-domain{font-size:12px}.evidence-source>summary{padding:10px;gap:6px}.source-identity{gap:8px}.source-reader{padding:10px}.document-metrics{gap:6px 12px}.document-meta,.document-metrics{font-size:12px}.web-excerpt{font-size:15px}.web-content-heading small{font-size:11px}.document-history{font-size:11px}
 .iteration-result{padding:14px 12px}.result-heading{gap:8px;flex-wrap:wrap}.result-heading h4{font-size:17px}.result-heading>span{font-size:12px}.result-score-grid{gap:13px;grid-template-columns:1fr;padding:11px 12px}.result-score-grid>div+div{padding-top:11px;border-top:1px solid var(--line)}.result-score-grid strong{font-size:22px}.result-score-grid>div>span{font-size:13px}.rich-step .diff-code{font-size:13px;max-height:240px}.rich-step .change-heading small{font-size:11px}.rich-step .change-heading{font-size:13px}.rich-step .change-stats{font-size:12px}.recorded-change{font-size:15px}
 .no-search-state{padding:13px 12px}.no-search-state p{font-size:15px}.card-evidence{font-size:13px}.gallery-grid{gap:16px}.card-content{padding:14px}.card-footer{font-size:13px}.card-detail{font-size:15px}
}
@media(max-width:370px){.source-workspace-heading{flex-wrap:wrap}.source-choice{max-width:53px;white-space:normal;text-align:center}.source-identity>.source-favicon{width:17px;height:17px;flex-basis:17px}.source-identity strong{font-size:14px}.round-tabs button{padding-inline:7px}.rich-step .step-outcome{font-size:11px}.card-evidence{gap:8px}}
@media print{.round-tabs,.source-filters,.step-pager{display:none!important}.search-round[hidden],.evidence-source[hidden]{display:block!important}.evidence-workspace{display:block}.web-excerpt,.diff-code{max-height:none}.history-scroll{overflow:visible}.history-scroll .full-chart{min-width:0}.gate-logs{display:block}}
