.trial-toolbar { gap: 12px; }
.trial-filter { display: inline-flex; gap: 8px; align-items: center; color: #536176; font-size: 12px; }
.trial-filter select { min-width: 124px; }
.trial-card-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; align-items: start; }
.trial-card { min-width: 0; padding: 16px 18px; }
.trial-card .panel-head { align-items: flex-start; gap: 9px; }
.trial-card .panel-head p { margin: 5px 0 0; color: var(--muted); font-size: 12px; }
.trial-card-section { border-top: 1px solid var(--line); margin-top: 13px; padding-top: 12px; }
.trial-card-section:first-of-type { margin-top: 10px; }
.trial-card-section h3 { margin: 0 0 8px; font-size: 13px; }
.trial-card-section p { font-size: 12px; color: #536176; margin: 4px 0; line-height: 1.7; overflow-wrap: anywhere; }
.trial-table-wrap { overflow-x: auto; }
.trial-table { width: 100%; border-spacing: 0; font-size: 12px; line-height: 1.55; table-layout: fixed; }
.trial-table th, .trial-table td { text-align: left; vertical-align: top; padding: 7px 8px; overflow-wrap: anywhere; }
.trial-table th { font-weight: 550; background: #f3f6fa; color: #526075; }
.trial-table td { border-bottom: 1px solid #edf0f5; }
.trial-table th:first-child { width: 48%; }
.trial-table th:first-child:nth-last-child(3) { width: 23%; }
.trial-table th:first-child:nth-last-child(4) { width: 16%; }
.trial-card-section .trial-overview { margin-bottom: 8px; }
.trial-handles { margin-top: 8px; font-size: 12px; overflow-wrap: anywhere; }
.trial-handles summary { color: var(--blue); cursor: pointer; }
.trial-handles ul { padding-left: 19px; }
.goal-line { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.goal-line strong { font-size: 15px; color: #1b3559; }
.trial-meter { height: 6px; border-radius: 3px; background: #e8edf5; margin: 10px 0 9px; overflow: hidden; }
.trial-meter span { display: block; height: 100%; background: var(--blue); }
.trial-meter.is-unknown { background: repeating-linear-gradient(135deg,#eef1f6,#eef1f6 5px,#e4e9f2 5px,#e4e9f2 7px); }
.trial-switch { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.trial-switch button { padding: 5px 11px; }
.trial-switch button[aria-pressed="true"] { border-color: #b3ccf6; color: var(--blue); background: #eef4ff; }
.local-data-center .panel { margin-bottom: 16px; scroll-margin-top: 65px; }
.local-data-center .panel-head { display: block; }
.local-data-center .panel-head p { margin: 5px 0 0; color: var(--muted); font-size: 12px; }
.local-data-center .jump { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; }
.local-data-center .jump button, .local-data-center .filters button, .local-data-center .view-switch button { font-size: 12px; }
.local-data-center .count { color: var(--muted); font-size: 12px; font-weight: 500; margin-left: 5px; }
.local-data-center .issue, .local-data-center .history-row, .local-data-center .delivery-row { padding: 11px 0; border-top: 1px solid var(--line); }
.local-data-center .row-top { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }
.local-data-center .row-title, .local-data-center .source-name { font-weight: 650; overflow-wrap: anywhere; }
.local-data-center .row-copy { color: #495568; margin: 5px 0 0; font-size: 13px; }
.local-data-center .row-meta { color: #647084; margin: 4px 0 0; font-size: 12px; }
.local-data-center .badge.green { background: #e9f5ee; color: #16613b; }
.local-data-center .badge.blue { background: #eaf1fe; color: #174da7; }
.local-data-center .badge.amber { background: #fff2d9; color: #824d03; }
.local-data-center .badge.neutral { background: #eef1f6; color: #536379; }
.local-data-center summary { color: var(--blue); cursor: pointer; font-size: 12px; margin-top: 6px; }
.local-data-center .detail-copy { padding: 8px 11px; background: #f6f8fb; border-left: 2px solid #cbdaf5; color: #41516b; margin: 8px 0 0; }
.local-data-center .view-switch { display: flex; gap: 8px; border-bottom: 1px solid var(--line); padding-bottom: 7px; }
.local-data-center .filters { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0; }
.local-data-center button[aria-pressed="true"] { color: var(--blue); background: #eef4ff; border-color: #b3ccf6; }
.local-data-center .source-header, .local-data-center .source-row { display: grid; grid-template-columns: minmax(135px,1fr) minmax(108px,.7fr) minmax(165px,1.7fr); align-items: start; gap: 10px; padding: 8px; }
.local-data-center .source-header { background: #f3f6fa; color: #526075; font-size: 12px; }
.local-data-center .source-row p { margin: 0; color: #546178; font-size: 12px; }
.local-data-center .source-row p + p { margin-top: 3px; }
.local-data-center .delivery-note { margin: 10px 0; color: #546178; font-size: 13px; }
.local-data-center [hidden] { display: none !important; }
@media(max-width: 1050px) { .trial-card-grid { grid-template-columns: 1fr; } }
@media(max-width: 600px) {
  .trial-card { padding: 14px; }
  .trial-table th, .trial-table td { padding: 6px 5px; }
  .local-data-center .source-header { display: none; }
  .local-data-center .source-row { grid-template-columns: 1fr auto; }
  .local-data-center .source-row > div:last-child { grid-column: 1 / -1; }
}

.scan-plan { margin-bottom: 14px; padding: 14px 17px; }
.scan-plan-top { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; }
.scan-plan-top h2 { margin: 0; font-size: 14px; }
.scan-plan-top p { margin: 3px 0 0; color: var(--muted); font-size: 12px; }
.scan-plan-top > .badge { margin-left: auto; }
.scan-clock { display: flex; gap: 7px; align-items: baseline; }
.scan-clock strong { font-size: 17px; font-variant-numeric: tabular-nums; color: #284977; }
.scan-clock span { color: #535f72; font-size: 12px; }
.scan-rules { margin-top: 7px; }
.scan-rules > summary { cursor: pointer; color: var(--blue); font-size: 12px; }
.scan-rule-columns { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; margin-top: 13px; }
.scan-rule-columns h3 { font-size: 13px; margin: 0 0 8px; }
.scan-rule-columns dl { margin: 0; font-size: 12px; }
.scan-rule-columns dt { font-weight: 650; }
.scan-rule-columns dd { margin: 3px 0 9px; color: #526075; }
.scan-rules-foot { margin: 4px 0 8px; color: #526075; font-size: 12px; }
.scan-rules a, .scan-row .record-link { font-size: 12px; }
.scan-row .row-actions > .record-link { margin-right: auto; }
.record-link { display: inline-block; margin-top: 4px; font-size: 12px; }
.issue-selected { background: #f1f6ff; outline: 2px solid #a1bee9; outline-offset: 2px; padding-inline: 10px !important; }
.issue-activity { margin: 4px 0 0; padding-left: 17px; font-size: 12px; color: #51627d; }

.news-day-options { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-size: 12px; color: #526075; }
.news-day-options button { padding: 4px 10px; font-size: 12px; }
.news-day-options [aria-pressed="true"] { color: var(--blue); background: #eef4ff; border-color: #b3ccf6; }

.report-card-lead { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.2fr); gap: 12px; margin-top: 11px; }
.report-card-lead .trial-card-section { background: #f6f8fc; border: 0; padding: 10px 11px; margin: 0; border-radius: 4px; min-width: 0; }
.report-highlights { margin: 0; font-size: 12px; }
.report-highlights dt { font-size: 11px; color: #536176; }
.report-highlights dd { margin: 3px 0 8px; font-weight: 550; overflow-wrap: anywhere; }
.report-highlights-list { padding-left: 16px; font-size: 12px; margin: 5px 0; }
.report-reminders, .report-replies { list-style: none; margin: 0; padding: 0; }
.report-reminders li + li, .report-replies li { border-top: 1px solid var(--line); padding-top: 6px; margin-top: 6px; }
.report-reminders .badge { font-size: 10px; }
.report-issue-links { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }
.report-issue-links .link, .report-feedback-toolbar .link, .report-replies .link { font-size: 12px; }
.report-feedback-toolbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.report-replies p { white-space: pre-wrap; }
#report-work-fields[hidden], #note-work-fields[hidden], #note-person-fields[hidden], #note-existing-task[hidden] { display: none !important; }
#report-work-fields:not([hidden]), #note-work-fields:not([hidden]) { display: grid; gap: 11px; }
.gmv-summary { display: flex; align-items: baseline; flex-wrap: wrap; justify-content: space-between; gap: 5px; }
.gmv-summary strong { color: #1b3559; font-size: 17px; font-variant-numeric: tabular-nums; }
.gmv-summary span { color: #526075; font-size: 12px; }
.gmv-timeline { position: relative; padding-top: 20px; }
.gmv-timeline .gmv-meter { position: relative; overflow: visible; margin: 4px 0 7px; }
.gmv-meter span { border-radius: 3px; }
.gmv-meter i { position: absolute; left: var(--pace); top: -4px; bottom: -4px; width: 2px; background: #42536e; }
.gmv-marker-label { position: absolute; left: clamp(65px, var(--pace), calc(100% - 65px)); transform: translateX(-50%); top: 2px; white-space: nowrap; color: #40536f; font-size: 11px; }
@media(max-width: 730px) {
  .scan-rule-columns, .report-card-lead { grid-template-columns: 1fr; }
  .scan-plan-top > .badge { margin-left: 0; }
}

.scan-work-goal { margin: 3px 0 9px; font-size: 12px; line-height: 1.5; color: #42516b; }
.scan-work-goal strong { color: #253650; margin-right: 4px; }
.row-actions button[data-action="ignore-options"] svg { width: 12px; height: 12px; vertical-align: middle; }
.memo-foot, .memo-queued { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.memo-queued { padding: 8px 14px 12px; color: #42516b; font-size: 12px; }
.memo-foot small { margin-right: auto; }
.report-focus { margin: 0 0 12px; flex-wrap: wrap; }
.report-empty { padding: 18px; color: #566780; }
.ops-section-head, .ops-inline-actions { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 12px; }
.ops-section-head { justify-content: space-between; }
.ops-inline-actions { font-size: 12px; }
.report-replies .reply-result { background: #f1f7fb; padding: 5px 8px; border-radius: 4px; white-space: pre-wrap; }
.cell-flag { display: block; margin-top: 4px; }
.ops-callout { background: #fff7e9; padding: 7px 9px; border-radius: 4px; }
.ops-source { margin-top: 8px; }

#news-edition-dialog { width: min(900px, calc(100vw - 24px)); max-height: min(92vh, 1000px); padding: 0; border: 1px solid #cbd8ec; border-radius: 10px; color: #243650; overflow: auto; }
#news-edition-dialog::backdrop { background: rgb(19 37 61 / 40%); }
.news-modal-head { position: sticky; top: 0; z-index: 1; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; background: #fff; border-bottom: 1px solid var(--line); padding: 15px clamp(12px,3vw,30px); }
.news-modal-head h2 { margin: 0 0 5px; font-size: 18px; }
.news-modal-head p { margin: 0; color: #566780; font-size: 12px; }
.news-edition-body { padding: 8px clamp(12px,3vw,30px) 28px; line-height: 1.7; font-size: 14px; overflow-wrap: anywhere; }
.news-edition-body h1 { font-size: 22px; }
.news-edition-body h2 { font-size: 17px; border-bottom: 1px solid var(--line); padding-bottom: 5px; }
.news-edition-body h3 { font-size: 15px; }
.news-edition-body .edition-table { overflow-x: auto; }
.news-edition-body table { width: 100%; border-collapse: collapse; }
.news-edition-body td, .news-edition-body th { border: 1px solid var(--line); text-align: left; padding: 6px 8px; min-width: 70px; }
.news-edition-body th { background: #f2f6fc; }
.news-edition-body a { color: #1457a5; text-decoration: underline; }
.edition-paragraph { margin: 12px 0; }
.scan-next-entry { text-align: right; font-size: 13px; margin: -5px 0 10px; }
.next-scan-panel { margin-bottom: 14px; }
.next-scan-actions { display: flex; gap: 8px 12px; align-items: center; margin-top: 8px; }
.current-next-scan { background: #eff5ff; outline: 2px solid #a5c5f8; outline-offset: -2px; }
.management-previews li { background: transparent; margin-block: 0; }
.management-previews li a { font-size: 13px; display: inline-block; line-height: 1.45; }
.follow-filter { margin: 4px 0 8px; }
.issue-review-date { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; font-size: 12px; color: #516682; }
.issue-actions { display: flex; gap: 8px 12px; align-items: center; flex-wrap: wrap; margin-top: 6px; }
.issue-lifecycle { border-left: 2px solid #e0eafb; padding-left: 10px; margin-top: 7px; }
.issue-review-list { margin: 16px 0 0; border-top: 1px solid var(--line); }
.issue-review-list h3 { padding: 0 16px; margin: 12px 0 0; font-size: 14px; }
.panel-explainer { margin: 3px 16px 10px; font-size: 12px; color: #526781; }

.editorial-news { max-width: 990px; margin-inline: auto; }
.editorial-news .page-heading { align-items: center; margin-bottom: 15px; }
.edition-tools { display: flex; align-items: center; gap: 12px; }
.edition-tools .record-link { margin: 0; }
.news-edition-panel { padding: 0; overflow: hidden; }
.edition-controls { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; border-bottom: 1px solid #e3e9f2; padding: 13px clamp(16px,3vw,31px); }
.edition-lines { display: inline-flex; align-items: stretch; padding: 3px; gap: 2px; background: #edf2f8; border-radius: 8px; }
.edition-lines button { min-height: 36px; padding: 6px 13px; border: 1px solid transparent; background: transparent; color: #51637a; font-weight: 590; border-radius: 6px; }
.edition-lines button[aria-pressed="true"] { background: #fff; border-color: #d5e1f3; color: #0346a2; box-shadow: 0 1px 2px #243a6410; }
.edition-dates, .edition-recent { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.edition-recent button { min-height: 35px; border: 1px solid transparent; background: transparent; padding: 4px 7px; color: #51637a; font-size: 12px; }
.edition-recent button[aria-pressed="true"] { color: #0648ac; background: #eaf2ff; }
.edition-dates input { font-size: 12px; min-height: 35px; padding: 3px 6px; width: 124px; max-width: 100%; }
.edition-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 19px clamp(16px,3vw,31px) 17px; background: #f8fbff; border-bottom: 1px solid #e5ebf4; }
.edition-bar h2 { color: #183454; font-size: 20px; margin: 0; letter-spacing: .01em; }
.edition-bar p { color: #52657e; font-size: 12px; margin: 4px 0 0; line-height: 1.45; }
.edition-bar button { flex: none; min-height: 36px; background: #eef5ff; border-color: #d2e3ff; color: #0648ac; font-weight: 625; }
.edition-bar button:disabled { opacity: .52; cursor: default; }
.edition-stories { padding-inline: clamp(16px,3vw,31px); }
.edition-story { display: grid; grid-template-columns: minmax(0,1fr) max-content; align-items: start; column-gap: 26px; row-gap: 8px; border-bottom: 1px solid #e7edf5; padding: 19px 0; }
.edition-story:last-child { border-bottom: 0; }
.edition-story h3 { color: #192d49; font-size: 17px; margin: 0; line-height: 1.5; overflow-wrap: anywhere; }
.story-copy { min-width: 0; }
.story-copy .story-meta { margin: 0 0 6px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 11px; font-size: 11px; color: #586d87; }
.story-meta span:first-child { padding: 2px 6px; border-radius: 4px; background: #edf4fd; color: #285689; }
.story-copy .story-brief { margin: 7px 0 0; color: #415571; line-height: 1.65; font-size: 13px; overflow-wrap: anywhere; }
.story-actions { padding-top: 6px; }
.story-topic { min-height: 35px; color: #0753be; background: white; font-weight: 620; border-color: #d8e3f3; }
.story-topic:hover { background: #edf4ff; }
.story-details { grid-column: 1 / -1; min-width: 0; }
.story-details summary { display: inline-flex; color: #0753be; font-size: 12px; min-height: 28px; align-items: center; gap: 5px; cursor: pointer; }
.story-details summary::-webkit-details-marker { display: none; }
.story-details summary::before { content: ''; display: inline-block; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.story-details[open] summary::before { transform: translateY(1px) rotate(225deg); }
.story-details .story-hide, .story-details[open] .story-show { display: none; }
.story-details[open] .story-hide { display: inline; }
.story-expanded { margin-top: 6px; padding: 11px 14px; border: 1px solid #e4edf8; border-radius: 7px; background: #f8fbff; color: #354d6c; overflow-wrap: anywhere; font-size: 13px; line-height: 1.7; }
.story-expanded p { margin: 0; }
.story-expanded p + p, .story-expanded ul + p, .story-expanded p + ul { margin-top: 8px; }
.story-expanded ul { margin: 0; padding-left: 18px; }
.story-expanded li + li { margin-top: 5px; }
.story-sources { margin-top: 7px; color: #536984; font-size: 12px; }
.edition-empty { color: #536984; padding: 28px; }
.mobile-cell-label { display: none; }

@media (max-width:760px) {
  .editorial-news .page-heading { flex-direction: row; flex-wrap: nowrap; }
  .editorial-news .page-heading h1 { font-size: 20px; }
  .edition-controls { padding: 12px; gap: 8px; }
  .edition-lines { width: 100%; }
  .edition-lines button { flex: 1; min-height: 43px; line-height: 1.4; }
  .edition-dates { width: 100%; justify-content: space-between; gap: 3px; }
  .edition-recent { gap: 2px; }
  .edition-recent button { min-height: 38px; padding: 3px 5px; }
  .edition-dates input { min-height: 38px; width: 118px; }
  .edition-bar, .edition-stories { padding-inline: 13px; }
  .edition-bar { align-items: flex-start; }
  .edition-bar button { min-height: 42px; padding-inline: 9px; }
  .edition-story { grid-template-columns: minmax(0,1fr) auto; gap: 7px 9px; padding-block: 17px; }
  .edition-story h3 { font-size: 16px; }
  .story-copy { grid-column: 1 / -1; }
  .story-copy .story-brief { font-size: 13px; }
  .story-actions { grid-column: 2; grid-row: 2; padding: 0; z-index: 1; }
  .story-topic { min-height: 40px; }
  .story-details { grid-row: 2; align-self: start; }
  .story-details summary { min-height: 40px; }
  #news-edition-dialog { max-height: 94dvh; }
  .page-content :is(.row-actions,.task-controls,.assignment-bottom,.issue-actions,.ops-inline-actions) button { min-height: 40px; }
  .row-actions { align-items: center; }
  .row-actions button:not(.link) { padding-inline: 9px; font-size: 12px; }
  .page-content .tab-count { margin-left: 3px; }
  .direction-tabs button, .tabs button, .flow-drawer .drawer-footer button, .flow-modal .modal-footer button { min-height: 42px; }
  .toolbar select, .toolbar input, .issue-review-date input, .follow-filter select { min-height: 40px; }
  .side-item { min-height: 43px; }
  .flow-modal .modal-footer, .flow-drawer .drawer-footer { flex-wrap: wrap; }
  .flow-modal .modal-footer small { flex-basis: 100%; line-height: 1.45; }
  .detail-grid > div, .task-row .grow, .assignment-header > div { min-width: 0; overflow-wrap: anywhere; }
}

@media (min-width:370px) and (max-width:760px) {
  .edition-dates { display: grid; grid-template-columns: minmax(0,1fr) 118px; }
}

@media (max-width:480px) {
  .trial-table, .trial-table tbody { display: block; }
  .trial-table thead { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .trial-table tr { display: block; padding: 6px 8px; border: 1px solid #e5ebf4; border-radius: 5px; margin-bottom: 6px; }
  .trial-table td { display: grid; grid-template-columns: minmax(72px,0.78fr) minmax(0,1.45fr); gap: 8px; padding: 4px 0; border: 0; font-size: 12px; }
  .mobile-cell-label { display: block; color: #5a6c84; font-size: 11px; }
  .trial-table .cell-value { min-width: 0; }
  .trial-toolbar .filter-group { flex-wrap: wrap; }
  .trial-filter { gap: 5px; }
  .local-data-center .jump button { min-height: 38px; }
  .local-data-center .issue-review-date { margin-top: 8px; }
}
