/* Phase 2B: presentation-only. Scoped to five working views; Overview, Roadmap and Rankings untouched. */
.re317-scope { --re317-border:var(--border,#dce5eb); --re317-panel:var(--card,#fff); --re317-muted:var(--muted,#667888); }
.re317-scope .re317-head,.re317-scope .re56-analytics-intro,.re317-scope .re309-header {display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 12px;padding:0;border:0;background:transparent;}
.re317-scope .re317-head h2,.re317-scope .re56-analytics-intro h2,.re317-scope .re309-header h2 {font-size:clamp(21px,2.2vw,26px);line-height:1.2;font-weight:750;margin:0;}
.re317-scope .re317-head p,.re317-scope .re56-analytics-intro p,.re317-scope .re309-header p {font-size:12px;line-height:1.35;margin:3px 0 0;opacity:.74;}
.re317-scope .v09-kpi-row,.re317-scope .google-metrics,.re317-scope .re309-controls {gap:10px;margin-bottom:12px;}
.re317-scope .v09-kpi,.re317-scope .google-metrics article {min-height:78px;padding:12px 14px;border-radius:10px;}
.re317-scope .v09-kpi strong,.re317-scope .google-metrics strong {font-size:clamp(22px,2vw,29px);font-variant-numeric:tabular-nums;line-height:1.2;}
.re317-scope .v09-kpi small,.re317-scope .google-metrics small {font-size:11px;letter-spacing:.02em;}
.re317-scope .section-head {gap:12px;margin-bottom:10px;}
.re317-scope .section-head h2,.re317-scope .section-head h3 {font-size:17px;line-height:1.25;margin:0;}
.re317-scope .section-head p {font-size:12px;margin:3px 0 0;line-height:1.35;}
.re317-scope .history-controls,.re317-scope .re309-controls,.re317-scope .release-tools {display:flex;flex-wrap:wrap;align-items:end;gap:8px;}
.re317-scope .history-control,.re317-scope .re309-controls label {font-size:12px;gap:3px;}
.re317-scope select,.re317-scope input[type="search"] {min-height:34px;}
.re317-scope .activity-grid.history-layout {display:grid;grid-template-columns:minmax(0,1fr) minmax(275px,350px);gap:12px;align-items:start;}
.re317-scope .history-layout>.panel {min-width:0;}
.re317-scope .history-layout .detail-panel {position:sticky;top:14px;max-height:calc(100vh - 110px);overflow:auto;}
.re317-scope .change-list .change-item,.re317-scope .change-list button,.re317-scope #historyList [role="button"] {min-height:36px;}
.re317-scope .release-columns {display:grid;grid-template-columns:minmax(260px,1fr) minmax(300px,1.5fr);gap:12px;align-items:start;}
.re317-scope .release-panel {padding:14px;border-radius:11px;min-width:0;}
.re317-scope .release-panel h2 {font-size:16px;line-height:1.3;margin:0 0 10px;}
.re317-scope .release-panel p {font-size:12px;line-height:1.4;}
.re317-scope .re317-disclosure summary {display:flex;justify-content:space-between;align-items:center;gap:8px;cursor:pointer;font-size:14px;font-weight:700;list-style:none;}
.re317-scope .re317-disclosure summary::-webkit-details-marker{display:none;}
.re317-scope .re317-disclosure summary span {font-size:20px;opacity:.6;}
.re317-scope .re317-disclosure[open] summary {margin-bottom:12px;}
.re317-scope #releaseList {max-height:440px;overflow:auto;}
.re317-scope #releaseDetail {margin-top:12px;}
.re317-scope .re309-grid {display:grid;grid-template-columns:minmax(210px,310px) minmax(0,1fr);gap:12px;align-items:start;}
.re317-scope .re309-grid>.re309-panel:first-child {position:sticky;top:14px;max-height:calc(100vh - 110px);overflow:auto;}
.re317-scope .re309-panel {padding:13px;border-radius:10px;}
.re317-scope .re309-panel h3 {font-size:15px;margin:0 0 8px;}
.re317-scope .re309-muted,.re317-scope .re309-caution {font-size:11px;line-height:1.35;}
.re317-scope .re309-caution {margin-top:8px;opacity:.65;}
.re317-scope .re56-expanded-timeline {margin:0 0 12px;}
.re317-scope .google-data-panel {padding:15px;}
.re317-scope .analytics-chart-gallery {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
.re317-scope .analytics-chart-card {min-width:0;padding:12px;}
.re317-scope .business-shell {display:grid;gap:12px;}
.re317-scope .business-shell>.panel {padding:14px!important;}
.re317-scope .business-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}
.re317-scope .business-card {padding:14px;border-radius:10px;min-width:0;margin-bottom:0;}
.re317-scope .business-card h2 {font-size:16px;line-height:1.3;margin:0 0 8px;}
.re317-scope .business-card>p {font-size:12px;line-height:1.35;margin:4px 0 10px;}
.re317-scope table {width:100%;border-collapse:collapse;}
.re317-scope table th,.re317-scope table td {padding:8px 10px;font-size:12px;border-bottom:1px solid var(--re317-border);vertical-align:middle;}
.re317-scope table th {font-weight:700;text-align:left;}
.re317-scope :is(button,summary,input,select):focus-visible {outline:2px solid #069fc3;outline-offset:2px;}
@media(max-width:1000px){.re317-scope .activity-grid.history-layout,.re317-scope .re309-grid {grid-template-columns:1fr;}.re317-scope .history-layout .detail-panel,.re317-scope .re309-grid>.re309-panel:first-child{position:static;max-height:none;}}
@media(max-width:760px){.re317-scope .release-columns,.re317-scope .business-grid,.re317-scope .analytics-chart-gallery {grid-template-columns:1fr;}.re317-scope .google-metrics {grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(prefers-reduced-motion:reduce){.re317-scope * {scroll-behavior:auto;}}
