:root {
  --roundup-ink: #14213d;
  --roundup-muted: #62708a;
  --roundup-border: #dfe5ee;
  --roundup-soft: #f6f8fb;
  --roundup-blue: #2859d8;
  --roundup-green: #087f5b;
  --roundup-red: #c92a2a;
  --roundup-amber: #b35c00;
}

.weekly-roundup-page {
  background: #f7f9fc;
  color: var(--roundup-ink);
}

.weekly-main {
  background: #f7f9fc !important;
  padding-top: 84px !important;
  padding-bottom: 48px !important;
}

.briefing-shell {
  display: grid;
  gap: 18px;
}

.roundup-header {
  display: grid;
  gap: 14px;
}

.roundup-title-row,
.roundup-title,
.roundup-actions,
.roundup-meta,
.roundup-section-title,
.roundup-panel-heading {
  display: flex;
  align-items: center;
}

.roundup-title-row {
  justify-content: space-between;
  gap: 24px;
}

.roundup-title {
  gap: 12px;
  min-width: 0;
}

.roundup-title-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  border-radius: 8px;
  color: var(--roundup-blue);
  background: #edf2ff;
}

.roundup-title h1 {
  margin: 0;
  color: var(--roundup-ink);
  font-size: 1.55rem;
  line-height: 1.2;
  letter-spacing: 0;
}

.roundup-title p,
.roundup-panel-heading p {
  margin: 3px 0 0;
  color: var(--roundup-muted);
  line-height: 1.45;
}

.roundup-admin-note {
  width: fit-content;
  max-width: 100%;
  margin: -4px 0 0;
  padding: 7px 10px;
  border: 1px solid #f0d28a;
  border-radius: 6px;
  background: #fff9e8;
  color: #765020;
  font-size: .76rem;
  line-height: 1.35;
}

.roundup-admin-note.positive {
  border-color: #a9dbc6;
  background: #ecf9f4;
  color: #126147;
}

.roundup-actions {
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.roundup-button {
  min-height: 44px;
  border: 1px solid #cfd7e5;
  border-radius: 6px;
  background: #fff;
  color: var(--roundup-ink);
  padding: 0 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font: inherit;
  font-size: .82rem;
  font-weight: 650;
  cursor: pointer;
}

.roundup-button:hover { background: #f1f5fb; border-color: #aebbd0; }
.roundup-button:focus-visible,
.roundup-publication-title:focus-visible,
.roundup-open-link:focus-visible { outline: 3px solid rgba(40, 89, 216, .25); outline-offset: 2px; }
.roundup-button:disabled { opacity: .55; cursor: wait; }
.roundup-button.primary { background: var(--roundup-blue); border-color: var(--roundup-blue); color: #fff; }
.roundup-button.primary:hover { background: #1f49ba; }
.roundup-read-button { white-space: nowrap; }

.roundup-meta {
  gap: 8px;
  flex-wrap: wrap;
}

.roundup-meta span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border: 1px solid var(--roundup-border);
  border-radius: 999px;
  background: #fff;
  color: var(--roundup-muted);
  font-size: .78rem;
}

.roundup-meta strong { color: var(--roundup-ink); font-weight: 650; }

.roundup-reader-controls {
  display: grid;
  grid-template-columns: minmax(240px, 320px) minmax(220px, 280px) auto minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 14px;
  border: 1px solid var(--roundup-border);
  border-radius: 7px;
  background: #fff;
}

.roundup-control-group {
  min-width: 0;
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  border: 0;
}

.roundup-control-group--topics {
  grid-column: 1 / -1;
  align-self: stretch;
}

.roundup-control-label,
.roundup-control-group legend {
  color: var(--roundup-muted);
  font-size: .69rem;
  font-weight: 760;
  letter-spacing: .05em;
  line-height: 1.2;
  text-transform: uppercase;
}

.roundup-control-group select {
  width: 100%;
  min-height: 44px;
  border: 1px solid #cfd7e5;
  border-radius: 6px;
  background: #fff;
  color: var(--roundup-ink);
  padding: 8px 11px;
  font: inherit;
  font-size: .82rem;
}

.roundup-segmented,
.roundup-topic-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
}

.roundup-topic-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.roundup-segmented label,
.roundup-topic-grid label {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid #d7dfec;
  border-radius: 6px;
  background: #fbfcfe;
  color: #33435e;
  padding: 8px 11px;
  font-size: .78rem;
  font-weight: 650;
  line-height: 1.2;
  cursor: pointer;
}

.roundup-segmented label.selected,
.roundup-topic-grid label.selected {
  border-color: #8aa4f5;
  background: #edf3ff;
  color: var(--roundup-blue);
  box-shadow: inset 0 0 0 1px rgba(40, 89, 216, .18);
}

.roundup-segmented input,
.roundup-topic-grid input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--roundup-blue);
}

.roundup-control-actions {
  grid-column: 3 / 4;
  grid-row: 1;
  align-self: end;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
}

.roundup-control-actions .roundup-button {
  white-space: nowrap;
}

.roundup-control-note {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--roundup-muted);
  font-size: .74rem;
  line-height: 1.45;
}

.roundup-control-group select:focus-visible,
.roundup-segmented label:has(input:focus-visible),
.roundup-topic-grid label:has(input:focus-visible),
.roundup-control-actions .roundup-button:focus-visible {
  outline: 3px solid rgba(40, 89, 216, .25);
  outline-offset: 2px;
}

.roundup-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(270px, 310px);
  gap: 18px;
  align-items: start;
}

.roundup-primary,
.roundup-rail {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.roundup-panel,
.roundup-rail-section {
  border: 1px solid var(--roundup-border);
  background: #fff;
  border-radius: 7px;
}

.roundup-executive,
.roundup-briefing {
  display: block;
  min-height: 0;
  overflow: hidden;
}

.roundup-summary,
.roundup-briefing-body,
.roundup-trend {
  padding: 22px;
}

.roundup-summary { border-right: 1px solid var(--roundup-border); }
.roundup-briefing-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .85fr);
  min-width: 0;
}
.roundup-briefing-body { min-width: 0; }
.roundup-briefing-action {
  min-width: 0;
  border-left: 1px solid var(--roundup-border);
}
.roundup-briefing-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.roundup-eyebrow {
  margin: 0 0 5px;
  color: var(--roundup-blue);
  font-size: .68rem;
  font-weight: 760;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.roundup-section-title { align-items: center; gap: 8px; color: var(--roundup-blue); }
.roundup-section-title h2,
.roundup-panel-heading h2,
.roundup-rail-section h2,
.roundup-empty h2 {
  margin: 0;
  color: var(--roundup-ink);
  font-size: .98rem;
  line-height: 1.3;
  letter-spacing: 0;
}

.roundup-summary ul {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: grid;
  gap: 16px;
}

.roundup-summary li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; }
.roundup-summary li > span {
  width: 20px; height: 20px; border: 1px solid #a8baf3; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center; color: var(--roundup-blue); font-size: .7rem;
}
.roundup-summary li p { margin: 0; color: #35425a; line-height: 1.5; font-size: .84rem; }

.roundup-artifact {
  padding: 18px 20px 20px;
}

.roundup-artifact--one-pager {
  position: relative;
  max-height: 460px;
  overflow: hidden;
}

.roundup-artifact--one-pager::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 64px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,0), #fff 78%);
}

.roundup-briefing-body .roundup-artifact {
  padding: 18px 0 0;
}

.roundup-artifact .briefing-rich-text,
.roundup-artifact .one-pager,
.roundup-artifact .team-briefing {
  color: #24324a;
  font-size: .88rem;
  line-height: 1.58;
  max-width: 860px;
}

.roundup-artifact .reading-brief {
  max-width: 760px;
}

.roundup-artifact h3,
.roundup-artifact h4 {
  margin: 18px 0 8px;
  color: var(--roundup-ink);
  font-size: .96rem;
  line-height: 1.32;
  letter-spacing: 0;
}

.roundup-artifact h3:first-child,
.roundup-artifact h4:first-child {
  margin-top: 0;
}

.roundup-artifact p {
  margin: 0 0 12px;
}

.roundup-artifact ul,
.roundup-artifact ol {
  margin: 8px 0 0;
  padding-left: 20px;
}

.roundup-artifact li {
  margin: 7px 0;
}

.roundup-artifact .reading-brief h4 {
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid #edf1f6;
}

.roundup-artifact .reading-brief h4:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.roundup-artifact .reading-brief p {
  color: #36465f;
  font-size: .91rem;
}

.roundup-action-lens {
  height: 100%;
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 22px;
  background: linear-gradient(180deg, #fbfdff, #ffffff);
}

.roundup-action-lens h2 {
  margin: 0;
  color: var(--roundup-ink);
  font-size: 1.02rem;
  line-height: 1.3;
}

.roundup-action-summary {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  list-style: none;
}

.roundup-action-summary li {
  position: relative;
  padding-left: 18px;
  color: #31405a;
  font-size: .8rem;
  line-height: 1.48;
}

.roundup-action-summary li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--roundup-blue);
}

.roundup-action-bars {
  display: grid;
  gap: 11px;
}

.roundup-action-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 7px 10px;
  align-items: center;
}

.roundup-action-row strong {
  display: block;
  color: var(--roundup-ink);
  font-size: .78rem;
  line-height: 1.25;
}

.roundup-action-row span {
  display: block;
  margin-top: 2px;
  color: var(--roundup-muted);
  font-size: .7rem;
  line-height: 1.35;
}

.roundup-action-row b {
  color: var(--roundup-ink);
  font-size: .9rem;
}

.roundup-action-track {
  grid-column: 1 / -1;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #e9eef6;
}

.roundup-action-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--roundup-blue);
}

.roundup-action-track span.applicability { background: #2859d8; }
.roundup-action-track span.consultation { background: #805ad5; }
.roundup-action-track span.controls { background: #c92a2a; }
.roundup-action-track span.verify { background: #b35c00; }
.roundup-action-track span.monitor { background: #087f5b; }

.roundup-trend { margin: 0; display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.roundup-trend-panel .roundup-trend { padding: 18px 20px 16px; }
.roundup-trend-panel .roundup-trend svg { max-height: 220px; }
.roundup-trend figcaption { color: var(--roundup-ink); font-size: .82rem; font-weight: 650; margin-bottom: 10px; }
.roundup-trend svg { width: 100%; height: auto; overflow: visible; }
.chart-axis { stroke: #d9e0ea; stroke-width: 1; }
.chart-line { fill: none; stroke: var(--roundup-blue); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.chart-point { fill: var(--roundup-blue); stroke: #fff; stroke-width: 2; }
.chart-count { fill: var(--roundup-ink); font-size: 11px; font-weight: 700; }
.chart-label { fill: var(--roundup-muted); font-size: 10px; }

.roundup-metrics {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border: 1px solid var(--roundup-border);
  border-radius: 7px;
  overflow: hidden;
  background: #fff;
}

.roundup-metric { min-height: 86px; padding: 16px; display: flex; flex-direction: column; justify-content: center; border-right: 1px solid var(--roundup-border); }
.roundup-metric:last-child { border-right: 0; }
.roundup-metric strong { font-size: 1.35rem; line-height: 1.1; color: var(--roundup-ink); }
.roundup-metric span { margin-top: 6px; color: var(--roundup-muted); font-size: .75rem; line-height: 1.3; }
.roundup-metric.danger strong { color: var(--roundup-red); }
.roundup-metric.warning strong { color: var(--roundup-amber); }
.roundup-metric.positive strong { color: var(--roundup-green); }
.roundup-metric.attention strong { color: var(--roundup-amber); }

.roundup-visuals {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.roundup-visual-card {
  min-width: 0;
  min-height: 210px;
  padding: 18px;
  border: 1px solid var(--roundup-border);
  border-radius: 7px;
  background: #fff;
}

.roundup-visual-card h2 {
  margin: 0 0 14px;
  color: var(--roundup-ink);
  font-size: .92rem;
  line-height: 1.3;
}

.roundup-visual-card .roundup-trend {
  padding: 0;
  height: 100%;
}

.roundup-visual-card .roundup-trend svg {
  max-height: 180px;
}

.roundup-stack {
  height: 16px;
  display: flex;
  overflow: hidden;
  border-radius: 999px;
  background: #edf1f7;
}

.roundup-stack-segment {
  min-width: 0;
}

.roundup-stack-segment.verified { background: var(--roundup-green); }
.roundup-stack-segment.pending { background: var(--roundup-amber); }

.roundup-visual-dl {
  margin: 16px 0 0;
  display: grid;
  gap: 8px;
}

.roundup-visual-dl > div {
  min-height: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid #eef2f7;
}

.roundup-visual-dl > div:last-child { border-bottom: 0; }
.roundup-visual-dl dt { color: var(--roundup-muted); font-size: .74rem; }
.roundup-visual-dl dd { margin: 0; color: var(--roundup-ink); font-weight: 760; }

.roundup-visual-note,
.roundup-visual-empty {
  margin: 14px 0 0;
  color: var(--roundup-muted);
  font-size: .74rem;
  line-height: 1.45;
}

.roundup-bars {
  display: grid;
  gap: 12px;
}

.roundup-bar-row {
  display: grid;
  gap: 6px;
}

.roundup-bar-label {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--roundup-muted);
  font-size: .74rem;
}

.roundup-bar-label span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.roundup-bar-label strong {
  color: var(--roundup-ink);
}

.roundup-bar-track {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #edf1f7;
}

.roundup-bar-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #2859d8, #46b0f2);
}

.roundup-panel-heading { justify-content: space-between; gap: 16px; padding: 16px 18px; border-bottom: 1px solid var(--roundup-border); }
.roundup-panel-heading p { font-size: .76rem; }
.roundup-panel-heading > a { color: var(--roundup-blue); font-size: .78rem; font-weight: 650; text-decoration: none; }

.roundup-table-wrap { width: 100%; overflow-x: auto; }
.roundup-priorities table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.roundup-priorities th { padding: 9px 12px; color: var(--roundup-muted); background: #f8fafc; border-bottom: 1px solid var(--roundup-border); font-size: .68rem; text-align: left; text-transform: uppercase; letter-spacing: .04em; }
.roundup-priorities td { padding: 12px; border-bottom: 1px solid #e8edf4; vertical-align: top; font-size: .77rem; color: #40506a; }
.roundup-priorities tr:last-child td { border-bottom: 0; }
.roundup-priorities th:nth-child(1) { width: 125px; }
.roundup-priorities th:nth-child(2) { width: 120px; }
.roundup-priorities th:nth-child(4) { width: 145px; }
.roundup-priorities th:nth-child(5) { width: 105px; }
.roundup-priorities th:nth-child(6) { width: 54px; }
.roundup-priorities td > strong { color: var(--roundup-ink); font-weight: 700; }
.roundup-publication-title { color: var(--roundup-ink); font-weight: 680; line-height: 1.35; text-decoration: none; }
.roundup-publication-title:hover { color: var(--roundup-blue); text-decoration: underline; }
.roundup-priorities td p { margin: 5px 0 0; color: var(--roundup-muted); font-size: .73rem; line-height: 1.4; max-width: 720px; }
.roundup-status, .roundup-theme-tag { display: inline-flex; align-items: center; min-height: 26px; padding: 3px 8px; border-radius: 4px; font-size: .67rem; line-height: 1.2; font-weight: 700; }
.roundup-status.verified { color: #086c4c; background: #e6f7f0; }
.roundup-status.needs-verification { color: #8a4b00; background: #fff3d6; }
.roundup-theme-tag { color: #284a91; background: #edf2ff; font-weight: 600; }
.roundup-open-link { color: var(--roundup-blue); font-weight: 650; text-decoration: none; }
.roundup-mobile-date { display: none; }

.roundup-themes { overflow: hidden; }
.roundup-theme-list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.roundup-theme-list > div { min-height: 88px; padding: 15px; border-right: 1px solid var(--roundup-border); display: flex; flex-direction: column; justify-content: center; gap: 5px; }
.roundup-theme-list > div:last-child { border-right: 0; }
.roundup-theme-list strong { color: var(--roundup-ink); font-size: .78rem; line-height: 1.3; }
.roundup-theme-list span { color: var(--roundup-muted); font-size: .72rem; }

.roundup-rail-section { padding: 18px; }
.roundup-rail-section h2 { margin-bottom: 14px; }
.roundup-rail-section dl { margin: 0; display: grid; }
.roundup-rail-section dl > div { min-height: 42px; border-top: 1px solid #e9edf3; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.roundup-rail-section dt { color: var(--roundup-muted); font-size: .76rem; }
.roundup-rail-section dd { margin: 0; color: var(--roundup-ink); font-weight: 720; }
.roundup-coverage-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.roundup-coverage-list li { color: #40506a; font-size: .76rem; line-height: 1.45; }
.roundup-exception, .roundup-assurance-ok { margin: 14px 0 0; padding: 11px; border-left: 3px solid #e39a1a; background: #fff9e9; color: #765020; font-size: .73rem; line-height: 1.45; }
.roundup-exception strong { display: block; color: #6a4200; margin-bottom: 2px; }
.roundup-assurance-ok { border-color: #2aa779; background: #ecf9f4; color: #126147; }
.roundup-recent { display: grid; }
.roundup-recent a { min-height: 52px; padding: 9px 0; border-top: 1px solid #e9edf3; display: flex; flex-direction: column; justify-content: center; text-decoration: none; }
.roundup-recent span { color: var(--roundup-muted); font-size: .68rem; }
.roundup-recent strong { color: var(--roundup-ink); font-size: .76rem; font-weight: 650; }
.roundup-recent a:hover strong { color: var(--roundup-blue); }
.roundup-muted, .roundup-empty p { color: var(--roundup-muted); font-size: .8rem; }
.roundup-empty { padding: 20px; }

.roundup-run-status { padding: 12px 14px; border: 1px solid #a9c0ff; border-radius: 6px; background: #eff4ff; color: #234586; }
.roundup-run-status > div:first-child { display: flex; justify-content: space-between; gap: 12px; font-size: .78rem; }
.roundup-run-status span { color: #53688f; }
.roundup-progress { height: 5px; margin-top: 9px; background: #dbe5ff; overflow: hidden; }
.roundup-progress span { display: block; width: 0; height: 100%; background: var(--roundup-blue); transition: width .2s ease; }

.roundup-dialog { width: min(560px, calc(100vw - 32px)); border: 0; border-radius: 8px; padding: 0; color: var(--roundup-ink); box-shadow: 0 24px 80px rgba(20, 33, 61, .25); }
.roundup-dialog::backdrop { background: rgba(20, 33, 61, .48); }
.roundup-dialog form { padding: 22px; }
.roundup-dialog-head { display: flex; justify-content: space-between; gap: 20px; align-items: start; }
.roundup-dialog-head span { color: var(--roundup-blue); text-transform: uppercase; font-size: .68rem; font-weight: 700; letter-spacing: .06em; }
.roundup-dialog-head h2 { margin: 3px 0 0; font-size: 1.15rem; }
.roundup-dialog-head > button { width: 44px; height: 44px; border: 0; background: transparent; font-size: 1.5rem; cursor: pointer; }
.roundup-dialog > form > p { color: var(--roundup-muted); font-size: .82rem; margin: 14px 0 18px; }
.roundup-dialog-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.roundup-dialog label { color: #40506a; font-size: .76rem; font-weight: 650; }
.roundup-dialog input[type="date"] { display: block; width: 100%; min-height: 44px; margin-top: 6px; border: 1px solid #cfd7e5; border-radius: 5px; padding: 8px 10px; font: inherit; }
.roundup-check { display: flex; align-items: center; gap: 8px; margin: 16px 0; }
.roundup-check input { width: 18px; height: 18px; }
.roundup-dialog-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 18px; }
.roundup-dialog-feedback { min-height: 20px; color: var(--roundup-red); font-size: .76rem; }
.roundup-toast { position: fixed; right: 20px; bottom: 20px; z-index: 13000; max-width: min(360px, calc(100vw - 32px)); padding: 12px 14px; border-radius: 6px; background: var(--roundup-ink); color: #fff; box-shadow: 0 10px 30px rgba(20, 33, 61, .22); font-size: .8rem; }
.briefing-reader-open { overflow: hidden; }
.briefing-reader-backdrop {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(17, 28, 52, .54);
  backdrop-filter: blur(5px);
}
.briefing-reader-backdrop[hidden] { display: none !important; }
.briefing-reader {
  width: min(1120px, calc(100vw - 56px));
  max-height: calc(100vh - 56px);
  display: grid;
  grid-template-rows: auto auto auto minmax(0, 1fr) auto;
  overflow: hidden;
  border: 1px solid #d7dfec;
  border-radius: 8px;
  background: #fff;
  color: var(--roundup-ink);
  box-shadow: 0 30px 100px rgba(12, 25, 48, .36);
}
.briefing-reader-head,
.briefing-reader-meta,
.briefing-reader-tabs,
.briefing-reader-footer {
  padding-left: 24px;
  padding-right: 24px;
}
.briefing-reader-head {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--roundup-border);
}
.briefing-reader-title {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.briefing-reader-icon {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  color: var(--roundup-blue);
  background: #edf2ff;
}
.briefing-reader-title h2 {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.2;
  letter-spacing: 0;
}
.briefing-reader-title p {
  margin: 3px 0 0;
  color: var(--roundup-muted);
  font-size: .78rem;
}
.briefing-reader-close {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--roundup-ink);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}
.briefing-reader-close:hover { background: #f1f5fb; }
.briefing-reader-meta {
  min-height: 54px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--roundup-border);
}
.briefing-reader-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--roundup-muted);
  font-size: .78rem;
}
.briefing-reader-meta strong { color: var(--roundup-ink); }
.briefing-reader-tabs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(128px, 1fr));
  gap: 0;
  padding-top: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--roundup-border);
  background: #fbfcfe;
}
.briefing-reader-tab {
  min-height: 44px;
  border: 1px solid #d7dfec;
  border-right: 0;
  background: #fff;
  color: #31405a;
  font: inherit;
  font-size: .78rem;
  font-weight: 700;
  cursor: pointer;
}
.briefing-reader-tab:first-child { border-radius: 6px 0 0 6px; }
.briefing-reader-tab:last-child { border-right: 1px solid #d7dfec; border-radius: 0 6px 6px 0; }
.briefing-reader-tab.active {
  position: relative;
  z-index: 1;
  border-color: #87a5ff;
  background: #eef4ff;
  color: var(--roundup-blue);
  box-shadow: inset 0 0 0 1px #87a5ff;
}
.briefing-reader-tab:focus-visible,
.briefing-reader-close:focus-visible { outline: 3px solid rgba(40, 89, 216, .25); outline-offset: 2px; }
.briefing-reader-body {
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 24px;
  padding: 24px;
  overflow: auto;
}
.briefing-reader-content {
  min-width: 0;
  max-width: 760px;
}
.briefing-reader-panel[hidden] { display: none; }
.briefing-reader-panel .briefing-rich-text,
.briefing-reader-panel .one-pager {
  color: #233149;
  font-size: .91rem;
  line-height: 1.68;
}
.briefing-reader-panel h3,
.briefing-reader-panel h4 {
  margin: 0 0 12px;
  color: var(--roundup-ink);
  font-size: 1.06rem;
  letter-spacing: 0;
}
.briefing-reader-panel p {
  margin: 0 0 15px;
  color: #33435e;
}
.briefing-reader-panel ul,
.briefing-reader-panel ol {
  margin: 0 0 18px;
  padding-left: 20px;
}
.briefing-reader-panel li { margin: 8px 0; }
.briefing-reader-rail {
  display: grid;
  align-content: start;
  gap: 14px;
  min-width: 0;
}
.briefing-reader-rail section {
  border: 1px solid var(--roundup-border);
  border-radius: 7px;
  padding: 16px;
  background: #fff;
}
.briefing-reader-rail h3 {
  margin: 0 0 12px;
  font-size: .9rem;
  line-height: 1.3;
}
.briefing-reader-rail dl {
  margin: 0;
  display: grid;
  gap: 8px;
}
.briefing-reader-rail dl > div {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid #eef2f7;
}
.briefing-reader-rail dl > div:last-child { border-bottom: 0; }
.briefing-reader-rail dt {
  color: var(--roundup-muted);
  font-size: .75rem;
}
.briefing-reader-rail dd {
  margin: 0;
  color: var(--roundup-ink);
  font-weight: 760;
}
.briefing-reader-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.briefing-reader-tags span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  border: 1px solid #d9e4ff;
  border-radius: 5px;
  background: #f3f6ff;
  color: #284a91;
  padding: 4px 9px;
  font-size: .72rem;
  font-weight: 650;
}
.briefing-reader-action ul {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  list-style: none;
}
.briefing-reader-action li {
  display: grid;
  gap: 3px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eef2f7;
}
.briefing-reader-action li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}
.briefing-reader-action strong {
  color: var(--roundup-ink);
  font-size: .78rem;
  line-height: 1.3;
}
.briefing-reader-action span {
  color: var(--roundup-blue);
  font-size: .7rem;
  font-weight: 720;
}
.briefing-reader-action p {
  margin: 0;
  color: var(--roundup-muted);
  font-size: .74rem;
  line-height: 1.45;
}
.briefing-reader-meaning {
  border-color: #ccebdd !important;
  background: #f2fbf7 !important;
}
.briefing-reader-meaning p {
  margin: 0;
  color: #1c5a43;
  font-size: .8rem;
  line-height: 1.55;
}
.briefing-reader-footer {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--roundup-border);
  background: #fbfcfe;
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@media (max-width: 1280px) {
  .roundup-reader-controls { grid-template-columns: minmax(260px, 1fr) minmax(220px, .8fr); }
  .roundup-control-group--topics,
  .roundup-control-actions,
  .roundup-control-note { grid-column: 1 / -1; }
  .roundup-control-actions { grid-row: auto; justify-content: flex-start; }
  .roundup-topic-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .roundup-layout { grid-template-columns: minmax(0, 1fr) 270px; }
  .roundup-summary { border-right: 0; border-bottom: 1px solid var(--roundup-border); }
  .roundup-briefing-grid { grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr); }
  .roundup-visuals { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .roundup-theme-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .roundup-theme-list > div:nth-child(3) { border-right: 0; }
  .roundup-theme-list > div:nth-child(n+4) { border-top: 1px solid var(--roundup-border); }
}

@media (max-width: 1024px) {
  .weekly-main { padding-top: 76px !important; }
  .roundup-title-row { align-items: flex-start; }
  .roundup-layout { grid-template-columns: 1fr; }
  .roundup-rail { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .roundup-metrics { grid-template-columns: repeat(5, minmax(130px, 1fr)); overflow-x: auto; }
  .roundup-visuals { grid-template-columns: repeat(3, minmax(230px, 1fr)); overflow-x: auto; }
  .roundup-briefing-grid { grid-template-columns: 1fr; }
  .roundup-briefing-action { border-left: 0; border-top: 1px solid var(--roundup-border); }
}

@media (max-width: 760px) {
  .weekly-main { padding: 72px 14px 88px !important; }
  .briefing-shell { gap: 14px; }
  .roundup-title-row { display: grid; gap: 12px; }
  .roundup-admin-note { width: 100%; }
  .roundup-title h1 { font-size: 1.3rem; }
  .roundup-title p { font-size: .78rem; }
  .roundup-actions { justify-content: stretch; display: grid; grid-template-columns: repeat(3, 1fr); }
  .roundup-actions .primary { grid-column: span 2; }
  .roundup-button { min-width: 0; padding: 0 9px; }
  .roundup-reader-controls {
    grid-template-columns: 1fr;
    padding: 12px;
  }
  .roundup-control-group,
  .roundup-control-group--topics,
  .roundup-control-actions,
  .roundup-control-note {
    grid-column: auto;
  }
  .roundup-segmented {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .roundup-segmented label,
  .roundup-topic-grid label {
    min-width: 0;
    padding-left: 8px;
    padding-right: 8px;
  }
  .roundup-topic-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .roundup-control-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .roundup-control-actions .roundup-button {
    width: 100%;
  }
  .roundup-briefing-head { display: grid; align-items: stretch; }
  .roundup-read-button { width: 100%; }
  .roundup-meta { display: grid; grid-template-columns: 1fr 1fr; }
  .roundup-meta span { border-radius: 5px; align-items: flex-start; line-height: 1.3; }
  .roundup-executive, .roundup-briefing { min-height: 0; }
  .roundup-summary, .roundup-briefing-body, .roundup-trend, .roundup-action-lens { padding: 16px; }
  .roundup-artifact { padding: 14px 16px 16px; }
  .roundup-artifact--one-pager { max-height: 380px; }
  .roundup-briefing-body .roundup-artifact { padding-top: 14px; }
  .roundup-artifact .briefing-rich-text,
  .roundup-artifact .one-pager,
  .roundup-artifact .team-briefing { font-size: .82rem; }
  .roundup-visuals { grid-template-columns: 1fr; overflow: visible; }
  .roundup-visual-card { min-height: 0; padding: 16px; }
  .roundup-summary ul { gap: 13px; margin-top: 16px; }
  .roundup-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: visible; }
  .roundup-metric { min-height: 80px; border-right: 1px solid var(--roundup-border); border-bottom: 1px solid var(--roundup-border); }
  .roundup-metric:nth-child(2n) { border-right: 0; }
  .roundup-metric:last-child { grid-column: 1 / -1; border-bottom: 0; }
  .roundup-panel-heading { align-items: flex-start; }
  .roundup-panel-heading > a { display: none; }
  .roundup-table-wrap { overflow: visible; }
  .roundup-priorities table, .roundup-priorities tbody, .roundup-priorities tr, .roundup-priorities td { display: block; width: 100%; }
  .roundup-priorities thead { display: none; }
  .roundup-priorities tr { padding: 15px; border-bottom: 1px solid var(--roundup-border); }
  .roundup-priorities tr:last-child { border-bottom: 0; }
  .roundup-priorities td { padding: 0; border: 0; }
  .roundup-priorities td:nth-child(1) { margin-bottom: 9px; }
  .roundup-priorities td:nth-child(2) { display: flex; align-items: center; justify-content: space-between; margin-bottom: 7px; }
  .roundup-priorities td:nth-child(3) { margin-bottom: 9px; }
  .roundup-priorities td:nth-child(4) { display: inline-block; }
  .roundup-priorities td:nth-child(5) { display: none; }
  .roundup-priorities td:nth-child(6) { float: right; min-height: 32px; display: flex; align-items: center; }
  .roundup-mobile-date { display: inline; color: var(--roundup-muted); font-size: .72rem; font-weight: 400; }
  .roundup-publication-title { font-size: .86rem; }
  .roundup-priorities td p { font-size: .75rem; }
  .roundup-theme-list { grid-template-columns: 1fr 1fr; }
  .roundup-theme-list > div { border-right: 1px solid var(--roundup-border) !important; border-top: 1px solid var(--roundup-border); }
  .roundup-theme-list > div:nth-child(even) { border-right: 0 !important; }
  .roundup-rail { grid-template-columns: 1fr; }
  .roundup-dialog-fields { grid-template-columns: 1fr; }
  .briefing-reader-backdrop {
    align-items: stretch;
    justify-content: stretch;
    padding: 0;
  }
  .briefing-reader {
    width: 100vw;
    max-height: 100vh;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
  }
  .briefing-reader-head,
  .briefing-reader-meta,
  .briefing-reader-tabs,
  .briefing-reader-footer {
    padding-left: 14px;
    padding-right: 14px;
  }
  .briefing-reader-head { min-height: 66px; }
  .briefing-reader-title p { display: none; }
  .briefing-reader-meta { display: grid; grid-template-columns: 1fr 1fr; padding-top: 10px; padding-bottom: 10px; }
  .briefing-reader-meta span { font-size: .72rem; }
  .briefing-reader-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    overflow: visible;
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .briefing-reader-tab {
    min-width: 0;
    border-right: 1px solid #d7dfec;
    border-radius: 6px;
  }
  .briefing-reader-tab:first-child,
  .briefing-reader-tab:last-child { border-radius: 6px; }
  .briefing-reader-body {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 18px 14px;
  }
  .briefing-reader-content { max-width: none; }
  .briefing-reader-panel .briefing-rich-text,
  .briefing-reader-panel .one-pager { font-size: .88rem; line-height: 1.62; }
  .briefing-reader-footer {
    min-height: 66px;
    justify-content: stretch;
  }
  .briefing-reader-footer .roundup-button { flex: 1 1 0; }
}

@media (max-width: 430px) {
  .roundup-actions { grid-template-columns: 1fr 1fr; }
  .roundup-actions .primary { grid-column: auto; }
  .roundup-meta { grid-template-columns: 1fr; }
  .roundup-segmented,
  .roundup-topic-grid { grid-template-columns: 1fr; }
}

@media print {
  .sidebar, .topbar, .sidebar-backdrop, .roundup-actions, .roundup-run-status, .roundup-toast, #backToTopBtn { display: none !important; }
  .weekly-main { width: 100% !important; max-width: none !important; margin: 0 !important; padding: 12mm !important; background: #fff !important; }
  .roundup-layout { grid-template-columns: 1fr; }
  .roundup-rail { grid-template-columns: repeat(3, 1fr); }
  .roundup-panel, .roundup-rail-section, .roundup-metrics { break-inside: avoid; box-shadow: none; }
  .roundup-publication-title { color: #000; }
}
