* {
  box-sizing: border-box;
}
body {
  min-width: 300px;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select,
summary,
[tabindex] {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
  opacity: 0.55;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--brand-dark);
  outline-offset: 3px;
}
a {
  color: var(--brand-dark);
  text-underline-offset: 3px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h2 {
  font-size: 20px;
  line-height: 1.3;
  color: var(--ink);
}
#app {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
.mnav {
  padding: 0 40px;
  flex-shrink: 0;
}
.network-strip {
  flex-shrink: 0;
  padding: 0 40px;
}
.nav-brand,
.restricted,
.footer > span,
.nav-controls,
.account,
.nav-control,
.global-search,
.toolbar,
.toolbar-left,
.filter-trigger,
.include-closed,
.pager,
.pager > div,
.square,
.dialog-head,
.dialog-foot,
.drawer-head,
.urgent-mark,
.filter-chip,
.loading {
  display: flex;
  align-items: center;
}
.nav-brand {
  gap: 18px;
  white-space: nowrap;
  line-height: 1;
  color: var(--dark-sub);
  font-size: 14px;
}
.nav-brand img {
  display: block;
  width: auto;
}
.nav-brand > span {
  border-left: 1px solid rgba(255, 255, 255, 0.22);
  padding: 3px 0 3px 18px;
}
.login-nav,
.footer,
.toolbar,
.dialog-head,
.dialog-foot,
.drawer-head,
.pager {
  justify-content: space-between;
}
.restricted {
  color: var(--dark-sub);
  gap: 8px;
  font-size: 12px;
}
.restricted svg {
  color: var(--brand-light);
}
.login-main {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 48px 20px 56px;
  background: var(--ground);
}
.login-card {
  width: min(100%, 492px);
  overflow: hidden;
  border: 1px solid var(--border-mid);
  border-top: 3px solid var(--brand);
  border-radius: var(--rm);
  background: var(--ground);
  box-shadow:
    0 3px 8px rgba(18, 39, 37, 0.025),
    0 14px 38px rgba(18, 39, 37, 0.05);
}
.map-banner {
  height: 122px;
  display: flex;
  align-items: center;
  padding: 0 36px;
  background: #f6f9f8 url('/logos/peninsula-map.png') no-repeat right center;
  background-size: cover;
  border-bottom: 1px solid var(--border);
}
.map-banner img {
  width: 116px;
  height: auto;
}
.login-body {
  padding: 30px 36px 35px;
}
.eyebrow.ruled {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  line-height: 1.3;
}
.eyebrow.ruled:before {
  content: '';
  display: block;
  width: 23px;
  height: 2px;
  background: var(--brand);
}
.login-body .section-title {
  font-size: clamp(30px, 3.2vw, 39px);
  letter-spacing: -0.04em;
  margin: 9px 0 11px;
  line-height: 1.12;
}
.login-body p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 39ch;
}
.login-body form {
  margin-top: 26px;
}
.email-input {
  position: relative;
  color: var(--muted);
}
.email-input svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}
.email-input .field-input {
  height: 44px;
  padding: 10px 13px 10px 42px;
}
.field-input[aria-invalid='true'] {
  border-color: var(--alert);
}
.send {
  display: block;
  width: 100%;
  margin-top: 14px;
  min-height: 43px;
}
.auth-feedback:not(:empty) {
  margin-top: 16px;
}
.auth-feedback > div {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  line-height: 1.45;
  border-radius: var(--r);
  padding: 10px 12px;
}
.auth-feedback svg {
  flex-shrink: 0;
  margin-top: 2px;
}
.auth-feedback.success > div {
  color: var(--brand-dark);
  background: var(--brand-pale);
}
.auth-feedback.error > div {
  color: var(--alert);
  background: var(--alert-bg);
}
.footer {
  display: flex;
  min-height: 47px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--muted);
  padding: 10px 40px;
  gap: 16px;
}
.footer > span {
  gap: 8px;
}
.footer > span:first-child {
  font-weight: 700;
  letter-spacing: 0.015em;
}
.footer i {
  height: 12px;
  width: 1px;
  background: var(--border-mid);
}
.footer time {
  font-variant-numeric: tabular-nums;
}
:root {
  --alert: #ce2e2c;
  --alert-bg: rgba(206, 46, 44, 0.08);
  --amber: #9a6b00;
  --amber-bg: rgba(255, 193, 61, 0.16);
}
.app-nav {
  gap: 20px;
  padding: 0 24px;
}
.global-search {
  margin: 0 auto;
  flex: 1;
  max-width: 440px;
  min-width: 110px;
  gap: 9px;
  border: 1px solid var(--dark-border);
  border-radius: var(--r);
  background: var(--dark-card);
  color: var(--dark-sub);
  padding: 0 10px;
}
.global-search:focus-within {
  border-color: var(--brand);
}
.global-search input {
  color: white;
  background: transparent;
  border: 0;
  min-width: 0;
  width: 100%;
  height: 34px;
  font-size: 13px;
  outline: 0;
}
.global-search input:focus-visible {
  outline: none;
}
.global-search input::placeholder {
  color: var(--dark-sub);
}
.nav-controls,
.account {
  gap: 10px;
  white-space: nowrap;
}
.account {
  padding-left: 10px;
  border-left: 1px solid var(--dark-border);
  font-size: 12px;
  color: var(--dark-sub);
  gap: 4px;
}
.account > span {
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.account .btn {
  padding: 9px;
  font-size: 12px;
  color: var(--brand-light);
}
.nav-control,
.nav-icon,
.nav-controls select {
  color: var(--dark-sub);
  background: transparent;
  border: 1px solid var(--dark-border);
  border-radius: var(--r);
  height: 32px;
  padding: 0 9px;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
}
.nav-control:hover,
.nav-icon:hover {
  color: var(--white);
  border-color: var(--dark-sub);
}
.nav-controls select {
  appearance: none;
  background: var(--dark-card)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='m3 4 3 3 3-3' fill='none' stroke='%23bbb'/%3E%3C/svg%3E")
    no-repeat right 6px center/12px;
  padding-right: 24px;
  color: var(--white);
}
.auto {
  border: 0;
  padding: 0 3px;
}
.switch-track {
  height: 12px;
  width: 20px;
  border-radius: 3px;
  border: 1px solid var(--dark-sub);
  display: inline-flex;
  align-items: center;
  padding: 1px;
}
.switch-track:before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--dark-sub);
}
.auto[aria-pressed='true'] .switch-track {
  border-color: var(--brand);
  justify-content: flex-end;
}
.auto[aria-pressed='true'] .switch-track:before {
  background: var(--brand);
}
.nav-control[aria-busy='true'] svg {
  animation: krg-spin 1s linear infinite;
}
.mobile-menu,
.side-scrim {
  display: none;
}
.shell {
  display: flex;
  flex: 1;
  align-items: stretch;
  min-width: 0;
}
.sidebar {
  width: 220px;
  flex-shrink: 0;
  border-right: 1px solid var(--border-mid);
  padding: 32px 0;
  background: var(--ground);
}
.side-label {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.16em;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0 20px 14px;
}
.side-link {
  display: flex;
  align-items: center;
  gap: 11px;
  border: 0;
  border-left: 3px solid transparent;
  background: transparent;
  color: var(--muted);
  width: 100%;
  padding: 13px 17px;
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.45;
}
.side-link:hover {
  background: var(--ground-tint);
  color: var(--ink);
}
.side-link.active {
  border-left-color: var(--brand);
  background: var(--brand-pale);
  color: var(--ink);
}
.side-link.active svg {
  color: var(--brand-dark);
}
.count {
  margin-left: auto;
  padding: 2px 6px;
  color: var(--brand-dark);
  background: var(--brand-pale);
  border-radius: var(--r);
  font-size: 11px;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}
.workspace {
  width: 0;
  flex: 1;
  padding: 32px 40px 44px;
  min-width: 0;
}
.view-head {
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border-mid);
}
.section-title {
  letter-spacing: -0.035em;
}
.standfirst {
  line-height: 1.5;
}
.toolbar {
  gap: 12px;
  min-height: 60px;
  margin: 8px 0;
}
.toolbar-left,
.chip-list,
.filter-fields,
.chips,
.array-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.refresh-time {
  white-space: nowrap;
  color: var(--muted);
  font-size: 12px;
  margin-left: auto;
}
.filter-trigger,
.filter-chip,
.square {
  border: 1px solid var(--border-mid);
  background: var(--ground);
  border-radius: var(--r);
  color: var(--body-text);
  gap: 7px;
}
.filter-trigger {
  font-size: 13px;
  font-weight: 700;
  padding: 6px 11px;
}
.filter-chip {
  padding: 5px 9px;
  font-size: 12px;
}
.filter-chip.selected {
  background: var(--brand-pale);
  color: var(--ink);
  border-color: var(--brand);
}
.include-closed {
  gap: 6px;
  font-size: 13px;
  padding: 0 4px;
}
.include-closed input {
  accent-color: var(--brand-dark);
}
.table-frame {
  border: 1px solid var(--border-mid);
  border-radius: var(--rm);
  overflow: hidden;
}
.table-scroll {
  overflow: auto;
  max-height: 68vh;
  scrollbar-width: thin;
}
.table-scroll table {
  border-spacing: 0;
  table-layout: fixed;
  min-width: 100%;
}
.table-scroll th {
  position: sticky;
  top: 0;
  z-index: 1;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--ground-tint);
  font-weight: 700;
  text-align: left;
  padding: 11px 12px;
  border-bottom: 1px solid var(--border-mid);
}
.table-scroll td {
  font-size: 13px;
  line-height: 1.45;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  color: var(--body-text);
  vertical-align: top;
  overflow-wrap: anywhere;
}
.table-scroll tr:last-child td {
  border-bottom: 0;
}
.table-scroll tbody tr {
  cursor: pointer;
}
.table-scroll tbody tr:hover,
.table-scroll tbody tr:focus-visible {
  background: var(--brand-pale);
}
.cell-clamp {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.quote {
  white-space: pre-wrap;
}
.table-scroll td.mono,
.mono {
  font:
    12px/1.55 ui-monospace,
    Menlo,
    monospace;
}
.status,
.entity {
  display: inline-block;
  border-radius: var(--r);
  vertical-align: middle;
}
.status {
  padding: 3px 7px;
  background: var(--ground-tint);
  font: 700 10.5px/1.4 var(--font);
  text-transform: uppercase;
  color: var(--muted);
}
.status.red {
  color: var(--alert);
  background: var(--alert-bg);
}
.status.amber {
  color: var(--amber);
  background: var(--amber-bg);
}
.status.teal {
  color: var(--brand-dark);
  background: var(--brand-pale);
}
.status.dim {
  opacity: 0.6;
}
.urgent-mark {
  color: var(--alert);
  gap: 6px;
}
.entity {
  font-size: 11px;
  padding: 2px 5px;
  background: var(--ground-tint);
  border: 1px solid var(--border);
}
.chips {
  gap: 3px;
}
.array-list {
  flex-direction: column;
  align-items: flex-start;
}
.dash,
.muted {
  color: var(--muted);
}
.inline-link {
  color: var(--brand-dark);
  background: none;
  padding: 0;
  border: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
  font: inherit;
  text-align: left;
}
.pager {
  gap: 8px;
  padding: 10px 12px;
  border-top: 1px solid var(--border-mid);
  font-size: 12px;
  color: var(--muted);
}
.pager > div {
  gap: 10px;
}
.square {
  justify-content: center;
  height: 30px;
  width: 30px;
  padding: 0;
}
.square:hover:not(:disabled),
.filter-chip:hover,
.filter-trigger:hover {
  background: var(--brand-pale);
}
.empty,
.loading {
  justify-content: center;
  padding: 50px 16px;
  color: var(--muted);
  text-align: center;
}
.empty {
  border: 1px solid var(--border-mid);
  border-radius: var(--rm);
}
.empty p {
  margin-top: 9px;
}
.empty > .btn {
  margin-top: 6px;
}
.loading {
  min-height: 160px;
  gap: 10px;
}
.spinner.small {
  width: 20px;
  height: 20px;
  border: 2px solid var(--border-mid);
  border-top-color: var(--brand);
  border-radius: 50%;
}
.notice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: var(--alert-bg);
  border: 1px solid var(--alert);
  border-radius: var(--r);
  padding: 9px 14px;
  color: var(--ink);
  font-size: 14px;
  margin-bottom: 12px;
  overflow-wrap: anywhere;
}
.notice .btn {
  color: var(--alert);
  flex-shrink: 0;
}
dialog {
  color: var(--body-text);
  font-family: var(--font);
  border: 1px solid var(--border-mid);
  padding: 0;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.15);
}
dialog::backdrop {
  background: rgba(27, 27, 27, 0.32);
}
.drawer {
  margin: 0 0 0 auto;
  width: min(480px, 100%);
  height: 100dvh;
  max-height: 100dvh;
  max-width: 100vw;
  border-width: 0 0 0 1px;
  overflow: hidden;
}
.drawer[open] {
  display: flex;
  flex-direction: column;
  animation: slide-in var(--tr);
}
@keyframes slide-in {
  from {
    transform: translateX(24px);
    opacity: 0.5;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
.drawer-head,
.dialog-head {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-mid);
  gap: 14px;
}
.drawer-body {
  overflow: auto;
  flex: 1;
  padding: 4px 24px 30px;
}
.fields-list {
  margin: 0;
}
.fields-list > div {
  padding: 13px 0;
  border-bottom: 1px solid var(--border);
}
.fields-list dd {
  margin: 0;
  font-size: 14px;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
  line-height: 1.5;
}
.fields-list dt {
  color: var(--muted);
  margin-bottom: 4px;
}
.fields-list pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  margin: 0;
  font-size: 12px;
}
.filters-dialog {
  width: min(550px, calc(100vw - 32px));
  max-height: 85dvh;
  border-radius: var(--rm);
}
.filter-fields,
.filter-options,
.dialog-foot {
  padding: 16px 24px;
}
.filter-fields {
  border-bottom: 1px solid var(--border);
}
.filter-options {
  min-height: 100px;
  max-height: 38vh;
  overflow: auto;
}
.dialog-foot {
  border-top: 1px solid var(--border-mid);
}
.task-section,
.chart-card,
.stat-strip {
  margin-bottom: 24px;
}
.task-section h2,
.chart-card h2 {
  font-size: 17px;
  margin: 0 0 16px;
}
.task-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(145px, 1fr));
  gap: 8px;
}
.task-card {
  padding: 14px 16px;
  text-align: left;
}
.task-card > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}
.task-card strong {
  font: 700 18px/1 var(--font-d);
  text-transform: uppercase;
  color: var(--ink);
}
.task-card span,
.task-card small {
  font-size: 12px;
  color: var(--muted);
  display: block;
}
.task-card > span {
  margin-top: 8px;
  color: var(--ink);
}
.task-card.red {
  border-top-color: var(--alert);
}
.task-card.amber {
  border-top-color: var(--amber);
}
.task-card.red .task-alert {
  color: var(--alert);
}
.task-card.amber .task-alert {
  color: var(--amber);
}
.chart-card {
  border: 1px solid var(--border-mid);
  border-radius: var(--rm);
  padding: 20px;
  min-width: 0;
}
.view-content > .chart-card {
  margin-top: 22px;
}
.chart-data {
  margin-top: 12px;
  font-size: 12px;
  color: var(--muted);
}
.chart-data summary {
  cursor: pointer;
  width: fit-content;
}
.data-scroll {
  overflow: auto;
  max-height: 300px;
}
.data-scroll table {
  width: 100%;
  border-collapse: collapse;
}
.data-scroll td,
.data-scroll th {
  padding: 4px 8px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.stat-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.canvas-wrap {
  position: relative;
  width: 100%;
}
.startup {
  padding: 60px;
  text-align: center;
  color: var(--muted);
}
@media (min-width: 1440px) {
  .stat-strip {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}
@media (max-width: 1180px) {
  .app-nav {
    gap: 12px;
  }
  .app-nav .nav-brand {
    gap: 10px;
  }
  .app-nav .nav-brand > span {
    padding-left: 10px;
    font-size: 12px;
  }
  .account > span {
    max-width: 108px;
  }
  .workspace {
    padding: 28px;
  }
  .sidebar {
    width: 200px;
  }
  .nav-controls {
    gap: 6px;
  }
}
@media (max-width: 899px) {
  .shell {
    position: relative;
  }
  .sidebar {
    display: none;
  }
  .sidebar.open {
    display: block;
    position: fixed;
    z-index: 220;
    top: 60px;
    bottom: 0;
    left: 0;
    width: 220px;
    overflow: auto;
    box-shadow: 6px 10px 24px rgba(0, 0, 0, 0.1);
  }
  .side-scrim.open {
    display: block;
    position: fixed;
    inset: 60px 0 0;
    background: rgba(0, 0, 0, 0.24);
    border: 0;
    z-index: 215;
  }
  .mobile-menu {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .app-nav .nav-brand > span {
    display: none;
  }
  .account {
    gap: 3px;
    padding-left: 4px;
  }
  .workspace {
    width: 100%;
  }
  .app-nav {
    padding: 0 14px;
  }
  .app-nav .nav-brand img {
    height: 18px;
  }
  .network-strip {
    padding: 0 20px;
    gap: 20px;
  }
}
@media (max-width: 640px) {
  .network-strip {
    height: 28px;
    justify-content: center;
    padding: 0 12px;
    gap: 19px;
  }
  .network-strip a {
    font-size: 9px;
    letter-spacing: 0.13em;
  }
  .login-nav {
    padding: 0 18px;
    height: 54px;
    gap: 6px;
  }
  .login-nav .nav-brand {
    gap: 11px;
  }
  .login-nav .nav-brand > span {
    padding-left: 11px;
    font-size: 12px;
  }
  .login-nav .nav-brand img {
    height: 18px;
  }
  .restricted {
    font-size: 11px;
    gap: 4px;
  }
  .footer {
    padding: 10px 18px;
  }
  .login-main {
    padding: 32px 16px;
  }
  .login-body {
    padding: 24px;
  }
  .map-banner {
    height: 108px;
    padding: 0 24px;
  }
  .app-nav {
    flex-wrap: wrap;
    gap: 7px;
    align-content: center;
    height: 92px;
  }
  .global-search {
    order: 5;
    flex: 1 1 38%;
    max-width: none;
  }
  .nav-controls {
    order: 6;
    margin-left: auto;
  }
  .account {
    margin-left: auto;
    border: 0;
  }
  .account > span {
    max-width: 145px;
  }
  .app-nav .nav-brand {
    flex: 1;
  }
  .nav-controls select,
  .nav-control {
    height: 30px;
    padding-left: 6px;
  }
  .nav-control > span:last-child {
    font-size: 11px;
  }
  .sidebar.open,
  .side-scrim.open {
    top: 92px;
  }
  .workspace {
    padding: 24px 16px;
  }
  .toolbar {
    align-items: flex-start;
    flex-wrap: wrap;
    margin: 12px 0;
    min-height: 28px;
  }
  .standfirst {
    font-size: 15px;
  }
  .view-head {
    padding-bottom: 16px;
  }
  .stat-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .stat {
    padding: 16px;
  }
  .stat-label {
    font-size: 10.5px;
  }
  .task-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .chart-card {
    padding: 14px;
  }
  .filters-dialog .filter-fields,
  .filter-options,
  .dialog-foot {
    padding: 14px;
  }
  .footer {
    font-size: 11px;
  }
}
@media (max-width: 374px) {
  .restricted {
    font-size: 0;
  }
  .login-nav .nav-brand {
    gap: 8px;
  }
  .nav-control:not(.auto) > span {
    display: none;
  }
  .account > span {
    max-width: 108px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
  .drawer[open],
  .nav-control[aria-busy='true'] svg {
    animation: none;
  }
}
.editorial-controls {
  display: grid;
  gap: 14px;
  padding-top: 18px;
}
.source-tabs,
.preset-line,
.preset-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
}
.source-tabs {
  border-bottom: 1px solid var(--border-mid);
  gap: 4px;
}
.editorial-choice {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: transparent;
  border: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
  padding: 9px 11px;
}
.source-tabs .editorial-choice {
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.source-tabs .editorial-choice.selected {
  border-bottom-color: var(--brand);
  color: var(--ink);
  font-weight: 700;
}
.tab-count,
.band-count {
  padding: 2px 5px;
  background: var(--ground-tint);
  border-radius: var(--r);
  color: var(--muted);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}
.selected .tab-count,
.band-count {
  background: var(--brand-pale);
  color: var(--brand-dark);
}
.preset-line {
  justify-content: space-between;
  gap: 12px;
}
.preset-group {
  gap: 6px;
}
.preset-group .editorial-choice {
  border: 1px solid var(--border-mid);
  border-radius: var(--r);
  padding: 6px 12px;
}
.preset-group .selected {
  background: var(--brand-pale);
  border-color: var(--brand);
  color: var(--ink);
  font-weight: 700;
}
.more-filters {
  font-size: 12px;
}
.significance {
  width: fit-content;
}
.editorial-choice:hover,
.source-disclosure:hover {
  background: var(--brand-pale);
}
.briefing {
  display: grid;
  gap: 18px;
}
.brief-band {
  border: 1px solid var(--border-mid);
  border-radius: var(--rm);
  overflow: hidden;
}
.band-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 0;
  background: var(--ground-tint);
  color: var(--ink);
  padding: 13px 16px;
  text-align: left;
  font-size: 17px;
  font-weight: 700;
}
.band-count {
  margin-left: auto;
}
.brief-card {
  padding: 16px 20px;
  border-top: 1px solid var(--border);
}
.brief-record h3 {
  line-height: 1.4;
  margin: 0 0 5px;
}
.story-headline {
  background: transparent;
  border: 0;
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.4;
  font-weight: 700;
  padding: 0;
  text-align: left;
}
.story-headline:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.story-summary,
.story-reason,
.full-cell,
.log-reason {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.story-summary {
  font-size: 14px;
  line-height: 1.6;
}
.story-reason,
.log-reason {
  font-size: 13px;
  color: var(--muted);
  margin-top: 6px;
}
.story-meta {
  display: flex;
  align-items: center;
  gap: 6px 14px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--muted);
  margin-top: 12px;
}
.source-disclosure {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 700;
  background: transparent;
  border: none;
  padding: 4px 0;
  text-align: left;
  margin-top: 5px;
}
.other-reports {
  border-left: 2px solid var(--border-mid);
  margin: 8px 0 0 7px;
  padding-left: 16px;
}
.other-reports .brief-record {
  padding: 10px 0;
}
.band-empty {
  color: var(--muted);
  padding: 14px 20px;
  font-size: 13px;
}
.show-more {
  margin: 6px 20px 14px;
}
.inbox-jump {
  justify-self: start;
  font-size: 14px;
  font-weight: 700;
}
.developments-log table {
  min-width: 1400px;
}
.developments-log th,
.developments-log td {
  border-right: 1px solid var(--border);
}
.developments-log .col-row_number {
  font-variant-numeric: tabular-nums;
  color: var(--muted);
}
.table-scroll .four-lines {
  -webkit-line-clamp: 4;
}
.table-scroll .secondary-row .col-headline {
  padding-left: 24px;
  border-left: 3px solid var(--brand);
}
.brief-record {
  overflow-wrap: anywhere;
}
@media (max-width: 640px) {
  .source-tabs {
    gap: 2px;
  }
  .source-tabs .editorial-choice {
    padding: 7px 5px;
    font-size: 12px;
  }
  .brief-card {
    padding: 13px;
  }
  .preset-line {
    align-items: flex-start;
  }
}
.inbox-visibility {
  display: flex;
  align-items: center;
  gap: 10px 18px;
  flex-wrap: wrap;
}
.report-count {
  display: inline-block;
  margin-top: 5px;
  padding: 2px 6px;
  border: 1px solid var(--border-mid);
  border-radius: var(--r);
  font: 700 11px/1.4 var(--font);
  color: var(--brand-dark);
  background: var(--brand-pale);
}
.report-count:hover,
.report-count[aria-expanded='true'] {
  border-color: var(--brand);
}
.history-empty td {
  color: var(--muted);
}
.story-dek {
  margin: 4px 0 6px;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.5;
  white-space: pre-line;
  overflow-wrap: anywhere;
}
.row-headline,
.followup-headline {
  margin: 0;
  color: var(--ink);
  font: 700 16px/1.4 var(--font);
}
.row-headline a,
.followup-headline a {
  color: inherit;
}
.full-summary,
.coverage-line,
.extra-reports,
.advanced-filters {
  margin-top: 8px;
}
.full-summary > summary,
.more-outlets > summary,
.extra-reports > summary,
.advanced-filters > summary {
  width: fit-content;
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.full-summary p {
  margin: 8px 0 0;
}
.coverage-line {
  line-height: 1.6;
}
.more-outlets {
  display: inline-block;
  margin-left: 5px;
}
.more-outlets[open] {
  display: block;
  margin-left: 0;
}
.related-row td > .other-reports {
  max-width: min(820px, 80vw);
}
.table-scroll .related-row {
  cursor: default;
}
.inbox-filters {
  padding: 14px;
  border: 1px solid var(--border-mid);
  border-radius: var(--rm);
  margin-top: 16px;
  gap: 12px;
}
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 10px 14px;
}
.filter-select {
  display: grid;
  gap: 4px;
  min-width: 105px;
  max-width: 100%;
  font-size: 13px;
  font-weight: 700;
}
.filter-select select {
  background-color: var(--ground);
  color: var(--ink);
  border: 1px solid var(--border-mid);
  border-radius: var(--r);
  padding: 6px 25px 6px 9px;
  min-height: 34px;
  max-width: 100%;
  font: 400 14px/1.3 var(--font);
}
.score-filter {
  display: flex;
  gap: 6px;
  align-items: flex-end;
}
.score-help {
  position: relative;
  margin-bottom: 6px;
}
.score-help > summary {
  display: grid;
  place-items: center;
  cursor: pointer;
  width: 20px;
  height: 20px;
  border: 1px solid var(--border-mid);
  border-radius: 50%;
  font-weight: 700;
  color: var(--muted);
  list-style: none;
}
.score-help > summary::-webkit-details-marker {
  display: none;
}
.score-help p {
  position: absolute;
  z-index: 3;
  right: 0;
  top: 100%;
  width: min(250px, 75vw);
  padding: 10px;
  background: var(--ground);
  border: 1px solid var(--border-mid);
  border-radius: var(--r);
  font-size: 13px;
}
.status-legend {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}
.advanced-filters {
  margin: 0;
}
.advanced-filters .filter-select {
  width: fit-content;
  margin-top: 8px;
}
.followup-tabs {
  margin-top: 18px;
}
.followup-tabs a {
  text-decoration: none;
}
.grade-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 13px 16px;
  font-size: 17px;
  background: var(--ground-tint);
}
.followup-source,
.article-reference {
  margin: 6px 0;
  font-size: 14px;
}
.followup-card .chips {
  margin-top: 9px;
}
@media (max-width: 640px) {
  .filter-bar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }
  .score-help p {
    left: 0;
    right: auto;
    width: min(210px, 55vw);
  }
}
.desk-picker {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--dark-sub);
  font: 700 12px var(--font);
}
.desk-picker select {
  max-width: 170px;
}
.desk-chip {
  margin: 6px 0;
  width: fit-content;
}
.score-help > summary {
  border-radius: var(--r);
}
.primary-tag,
.used-marker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 4px 0;
  color: var(--brand-dark);
  background: var(--brand-pale);
  border-radius: var(--r);
  padding: 2px 6px;
  font: 700 12px/1.4 var(--font);
}
.coverage {
  display: grid;
  gap: 4px;
  margin: 6px 0;
  font-size: 13px;
}
.coverage .chips {
  display: inline-flex;
  margin-left: 6px;
}
.record-expanded {
  margin-top: 8px;
  white-space: normal;
}
.record-expanded p {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.primary-panel {
  padding: 12px;
  border: 1px solid var(--border-mid);
  border-radius: var(--rm);
  background: var(--ground);
}
.primary-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}
.primary-columns h4 {
  font: 700 14px/1.4 var(--font);
  margin: 0 0 8px;
}
.captured-text {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  max-height: 390px;
  overflow: auto;
  line-height: 1.6;
  user-select: text;
}
.capture-meta,
.capture-note,
.copy-feedback {
  color: var(--muted);
  font-size: 12px;
}
.capture-meta,
.source-actions {
  display: flex;
  align-items: center;
  gap: 6px 14px;
  flex-wrap: wrap;
}
.source-actions {
  font-size: 13px;
  margin: 10px 0;
}
.copy-feedback {
  margin-left: 6px;
}
.capture-note {
  margin: 8px 0 0;
}
.open-lead,
.verify-copy {
  font-size: 14px;
  line-height: 1.5;
}
.advanced-filters[open] .inbox-visibility {
  margin-top: 12px;
}
.calendar-view {
  display: grid;
  gap: 16px;
}
.calendar-export {
  display: flex;
  gap: 10px;
  align-items: center;
}
.calendar-row {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 16px;
  padding: 14px 16px;
  border-top: 1px solid var(--border);
}
.calendar-date {
  color: var(--muted);
  font-size: 13px;
}
.calendar-title,
.calendar-month {
  margin: 0;
  font: 700 16px/1.4 var(--font);
}
.calendar-month {
  padding: 12px 16px;
  border-top: 1px solid var(--border);
}
.calendar-row .story-meta {
  margin-top: 5px;
}
.calendar-note {
  margin: 5px 0;
}
.calendar-row.is-today,
.calendar-row.is-soon {
  border-inline-start: 3px solid var(--brand);
}
.calendar-row.is-today {
  background: var(--brand-pale);
}
.date-flag {
  display: block;
  color: var(--brand-dark);
  font-weight: 700;
}
@media (max-width: 850px) {
  .app-nav {
    height: auto;
    flex-wrap: wrap;
  }
  .desk-picker select {
    max-width: 130px;
  }
  .nav-controls {
    flex-wrap: wrap;
  }
}
@media (max-width: 640px) {
  .primary-columns {
    grid-template-columns: minmax(0, 1fr);
  }
  .calendar-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }
  .nav-controls {
    order: 3;
    flex-basis: 100%;
  }
  .app-nav .account {
    margin-left: auto;
  }
  .desk-picker select {
    max-width: 125px;
  }
}

.calendar-export a[aria-disabled='true'] {
  opacity: 0.55;
  cursor: default;
}
.google-signin {
  display: flex;
  width: 100%;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 9px 16px;
  margin: 18px 0 12px;
  border: 1px solid #747775;
  border-radius: var(--r);
  background: #fff;
  color: #1f1f1f;
  font: 700 14px/1.4 var(--font);
  cursor: pointer;
}
.google-signin:hover {background: var(--ground-tint);}
.email-signin > summary {width: fit-content; color: var(--brand-dark); font-size: 13px; cursor: pointer;}

.original-title {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--muted);
  font-size: .8125rem;
  margin: 4px 0 6px;
}
.dev-explainer {
  margin: 14px 0;
  padding: 12px 16px;
  border: 1px solid var(--border-mid);
  border-radius: 6px;
  background: var(--ground-tint);
  max-width: 90ch;
}
.dev-explainer summary, .followup-reports summary { cursor: pointer; }
.dev-explainer summary, .idea-card h3 {font-weight: 700;}
.dev-explainer p { margin: 10px 0 0; }
.filter-search input { font: inherit; padding: 6px 9px; border: 1px solid var(--border-mid); border-radius: 3px; }
.followup-tag { margin-inline-start: 6px; }
.idea-card h3 { margin: 0; font-size: 1rem; }
.idea-card h4 { margin: 12px 0 6px; }
.followup-reports {margin: 8px 0; font-size:.875rem;}

.article-byline, .person-affiliation, .contact-footnote, .contact-feedback {
  color: var(--muted);
  font-size: .875rem;
}
.article-byline { margin: 2px 0 8px; }
.sweep-tag { margin: 2px 6px 4px 0; }
.idea-person-list { margin: 6px 0 0; padding: 0; list-style: none; }
.idea-person { padding: 10px 0; border-top: 1px solid var(--border); }
.idea-person .person-name { display: block; font-weight: 700; }
.idea-person p { margin: 2px 0; }
.person-contact { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; margin-top: 3px; }
.person-contact a { overflow-wrap: anywhere; }
.contact-copy {
  font: inherit;
  font-size: .8125rem;
  line-height: 1.25;
  color: var(--body-text);
  background: var(--ground);
  border: 1px solid var(--border-mid);
  border-radius: var(--r);
  padding: 3px 7px;
  cursor: pointer;
}
.contact-copy:hover, .contact-copy:focus-visible { background: var(--ground-tint); }
.contact-footnote { margin: 4px 0 12px; }

.system-label {margin-top: 18px;}
.fact-card h3 {margin: 0; font-size: 1rem;}
.agent-credit, .still-to-check {color: var(--muted);}
.agent-credit {display: inline-block; font-size: .8125rem; margin: 4px 8px 4px 0;}
.still-to-check {font-size: .875rem; margin: 5px 0 0;}
.fact-card .story-meta {margin: 5px 0;}
.firehose-list {border-top: 1px solid var(--border-mid);}
.arrival-slot {min-height: 36px;}
.arrival-bar {font: inherit; font-weight: 700; color: var(--body-text); background: var(--brand-pale); border: 1px solid var(--border-mid); border-radius: var(--r); padding: 4px 12px; margin: 2px 0; cursor: pointer;}
.firehose-row {border-bottom: 1px solid var(--border);}
.firehose-line {
  display: grid; grid-template-columns: minmax(68px,.65fr) minmax(210px,4fr) minmax(85px,1.2fr) minmax(80px,1fr) auto auto;
  align-items: start; gap: 10px; padding: 10px 6px; cursor: pointer; list-style: none;
}
.firehose-line::-webkit-details-marker {display: none;}
.firehose-line:hover, .firehose-row[open] > summary {background: var(--ground-tint);}
.firehose-line time, .firehose-topic, .firehose-source {color: var(--muted); font-size: .875rem;}
.firehose-copy strong {font-size: 1rem; line-height: 1.35; overflow-wrap: anywhere;}
.firehose-markers {display: flex; gap: 4px; flex-wrap: wrap; margin-top: 3px;}
.firehose-markers .status {margin: 0;}
.firehose-line > .status {justify-self: start;}
.firehose-expanded {padding: 0 12px 12px;}
@media (max-width: 850px) {
  .firehose-line {grid-template-columns: 70px minmax(0,1fr) auto auto; gap: 4px 8px;}
  .firehose-copy {grid-column: 2 / -1;}
  .firehose-source {grid-column: 2;}
  .firehose-topic {grid-column: 2;}
  .firehose-score {grid-column: 3;}
}

.task-card.ok { border-top: 3px solid var(--brand); }
.task-card.waiting { border-top: 3px solid var(--border-mid); }
.task-card.red { border-top: 3px solid var(--alert); }
.list-skeleton { display: grid; gap: 14px; padding: 20px 12px; }
.list-skeleton span { height: 12px; max-width: 620px; background: var(--border-mid); opacity: .45; border-radius: 3px; }
.list-skeleton span:nth-child(even) { width: 54%; margin-bottom: 12px; }

.clues-mode .view-head { padding-bottom:0; border:0; }
.clues-mode .toolbar, .clues-mode .global-search { display:none; }
.clues-mode .nav-controls { margin-left:auto; }
.clues-mode .workspace { padding-top:18px; }
.clue-title-line, .clue-tool-line, .clue-sort, .clue-search, .clue-picked { display:flex; align-items:center; }
.clue-title-line { gap:8px; }
.clue-title-line h1 { margin:0 auto 0 0; }
.clue-title-line button, .clue-tools button { font-family:var(--font); cursor:pointer; }
.clue-sort { border:1px solid var(--border-mid); border-radius:6px; overflow:hidden; }
.clue-sort button { padding:4px 9px; font-size:12px; border:0; border-radius:0; background:white; color:var(--muted); }
.clue-sort button[aria-pressed=true], .clue-option[aria-pressed=true] { background:var(--brand-pale); color:var(--brand-deep,var(--ink)); font-weight:700; }
.clue-banner { margin:7px 0 0; padding:5px 9px; font-size:13px; line-height:1.35; color:var(--body-text); background:var(--ground-tint); border-left:2px solid var(--border-mid); }
.clue-tools { border-bottom:1px solid var(--border-mid); margin-bottom:4px; }
.clue-tool-line { flex-wrap:wrap; gap:5px; padding:7px 0; }
.clue-search { flex:1 1 104px; max-width:220px; min-width:100px; gap:5px; height:27px; padding:0 7px; border:1px solid var(--border-mid); border-radius:3px; color:var(--muted); background:white; }
.clue-search:focus-within { outline:2px solid var(--brand); outline-offset:1px; }
.clue-search input { font:400 13px var(--font); border:0; outline:none; background:none; width:100%; min-width:0; }
.clue-chip { display:block; max-width:175px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; border:1px solid var(--border-mid); border-radius:6px; font-size:12px; padding:4px 8px; color:var(--body-text); background:white; }
.clue-chip:hover, .clue-chip[data-active=true], .clue-chip[aria-expanded=true] { border-color:var(--brand); background:var(--brand-pale); }
.clue-menu { min-width:0; }
.clue-tools .clue-chip::after { content:'⌄'; margin-left:4px; color:var(--muted); }
.clue-picked { white-space:nowrap; gap:4px; font-size:12px; color:var(--body-text); }
.clue-picked input { margin:0; accent-color:var(--brand); }
.clue-tool-line .refresh-time { margin-left:auto; text-align:right; }
.clue-feedback { font-size:12px; margin:0 0 4px; }
.clue-feedback:empty, .clue-edit-feedback:empty { display:none; }
.clue-popup { position:fixed; inset:auto; margin:0; padding:4px; min-width:142px; max-width:min(275px,95vw); color:var(--ink); background:white; border:1px solid var(--border-mid); border-radius:6px; box-shadow:0 4px 18px #0002; overflow:auto; }
.clue-option { display:block; width:100%; font:400 13px var(--font); text-align:left; border:0; background:white; color:var(--body-text); padding:6px 8px; border-radius:3px; }
.clue-option:hover, .clue-option:focus-visible { background:var(--ground-tint); }
.clue-keys { display:grid; grid-template-columns:auto 1fr; gap:5px 9px; padding:6px; margin:0; font-size:13px; }
.clue-keys dd { margin:0; }
.clue-keys kbd { font:inherit; border:1px solid var(--border-mid); padding:0 3px; border-radius:3px; }
.clues-feed { width:100%; max-width:720px; margin-inline:auto; }
.clue-row { position:relative; padding:5px 2px; border-bottom:1px solid var(--border-mid); cursor:pointer; }
.clue-row:focus-visible { outline:2px solid var(--brand); outline-offset:-1px; }
.clue-row.clue-child { margin-left:18px; padding-left:9px; border-left:2px solid var(--border); }
.clue-meta, .clue-signals, .clue-row-state, .clue-actions, .clue-meter, .clue-corroboration { display:flex; align-items:center; }
.clue-meta { gap:5px; min-height:16px; color:var(--muted); font-size:11.5px; line-height:1.2; }
.clue-platform { display:inline-flex; flex:none; align-items:center; }
.clue-type, .clue-entity { overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
.clue-meta time, .clue-lang { flex:none; }
.clue-lang { padding:0 4px; border-left:1px solid var(--border-mid); }
.clue-row-state { margin-left:auto; gap:6px; flex:none; }
.clue-pill, .clue-entity { font:400 10.5px/1.32 var(--font); padding:0 4px; background:var(--ground-tint); border-radius:3px; color:var(--body-text); }
.clue-pill { white-space:nowrap; border:1px solid var(--border-mid); }
.clue-claim { display:block; white-space:pre-wrap; margin:1px 0; padding:0; width:100%; font:400 15px/1.25 var(--font); text-align:left; color:var(--ink); background:transparent; border:0; cursor:pointer; overflow-wrap:anywhere; }
.clue-signals { gap:6px; min-height:20px; color:var(--muted); font-size:11px; line-height:1.25; }
.clue-corroboration, .clue-meter { gap:3px; flex:none; white-space:nowrap; }
.clue-corroboration i, .clue-meter i { display:block; border-radius:50%; width:6px; height:6px; background:#888; }
.clue-corroboration.thin i { background:#bb7914; }
.clue-corroboration.confirmed i { background:#138b87; }
.clue-corroboration.covered i { background:#367bb4; }
.clue-meter { gap:2px; }
.clue-meter i { width:4px; height:4px; background:#d7d7d7; }
.clue-meter .filled { background:#656565; }
.clue-actions { flex:none; margin-left:auto; opacity:0; transition:opacity .12s; }
.clue-action { display:inline-grid; place-items:center; width:23px; height:21px; padding:0; border:0; background:transparent; border-radius:3px; color:var(--muted); cursor:pointer; }
.clue-action:hover, .clue-action:focus-visible, .clue-action[aria-pressed=true] { color:var(--ink); background:var(--ground-tint); }
.clue-action:disabled { cursor:default; }
.clue-row:hover .clue-actions, .clue-row:focus-within .clue-actions { opacity:1; }
.clue-entity { max-width:104px; }
.clue-undo, .clue-group-toggle { border:0; background:none; color:var(--brand-deep,var(--ink)); font:inherit; text-decoration:underline; padding:0; cursor:pointer; }
.clue-group-toggle { font-size:11.5px; display:block; margin-top:2px; }
.clue-row.is-dismissing > :not(.clue-signals), .clue-row.is-dismissing .clue-signals > :not(.clue-row-state) { opacity:.4; transition:opacity .2s; }
.clue-expanded { display:grid; gap:10px; padding:9px 0 6px; font-size:13px; cursor:default; }
.clue-expanded h3 { font:700 13px/1.35 var(--font); margin:0 0 2px; }
.clue-expanded p { margin:0; white-space:pre-wrap; overflow-wrap:anywhere; }
.clue-verify { padding:7px 10px; background:var(--brand-pale); border-left:2px solid var(--brand); border-radius:3px; }
.clue-detail-meta { display:flex; flex-wrap:wrap; gap:4px 10px; color:var(--muted); }
.clue-pickup-note { color:var(--muted); }
.clue-note-form { display:grid; grid-template-columns:2fr 1fr auto; align-items:start; gap:8px; }
.clue-note-form label { display:grid; gap:4px; color:var(--muted); }
.clue-note-form textarea, .clue-note-form input { width:100%; min-width:0; border:1px solid var(--border-mid); border-radius:3px; padding:4px 6px; font:inherit; color:var(--ink); }
.clue-note-form textarea { resize:vertical; }
.clue-note-form > div { padding-top:18px; }
.clue-edit-feedback { display:block; font-size:12px; color:var(--muted); }
.clue-related-line { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.clue-related-line a { color:var(--brand-deep,var(--ink)); text-decoration:underline; }
.clues-feed > .show-more { display:block; margin:12px auto; }
@media (hover:none), (pointer:coarse) {
  .clue-actions { opacity:1; }
  .clue-action { width:30px; height:30px; }
}
@media (max-width:720px) {
  .clue-search { max-width:none; }
  .clue-signals { flex-wrap:wrap; gap:3px 5px; }
  .clue-entity { max-width:88px; }
  .clue-note-form { grid-template-columns:1fr 1fr; }
  .clue-note-form > div { padding-top:0; }
}
@media (prefers-reduced-motion:reduce) {
  .clue-actions, .clue-row.is-dismissing * { transition:none; }
}


.feedback-flag {
  display:inline-flex; flex:none; align-items:center; justify-content:center; vertical-align:middle;
  height:26px; width:26px; border:0; border-radius:3px; padding:0;
  color:var(--muted); cursor:pointer; background:transparent;
}
.feedback-flag:hover, .feedback-flag:focus-visible { background:var(--ground-tint); color:var(--ink); }
.feedback-flag.flagged { color:var(--brand-dark); }
.feedback-flag.flagged svg path:first-child { fill:currentColor; }
.feedback-why, .firehose-actions, .feedback-controls, .feedback-meta, .idea-heading { display:flex; align-items:center; gap:8px; }
.feedback-why { margin:4px 0; color:var(--muted); font-size:14px; }
.feedback-why strong { color:var(--body-text); }
.firehose-actions { justify-content:flex-end; }
.followup-source .feedback-flag { margin-inline-start:5px; }
.idea-heading { justify-content:space-between; }
.clue-signals .clue-row-state:empty { display:none; }
.clue-row-state + .clue-actions { margin-left:4px; }
.clue-row-state:empty + .clue-actions { margin-left:auto; }
.clue-signals:has(.clue-lang), .clue-signals:has(.clue-pill + .clue-entity) { flex-wrap:wrap; }
.clue-actions .feedback-flag { height:21px; width:23px; }
.clue-related-line { display:flex; align-items:center; justify-content:space-between; gap:5px; }
.clue-related-line a { overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
.feedback-mode .global-search, .feedback-mode .desk-picker, .feedback-mode [aria-label="Time window"] { display:none; }
.feedback-mode .nav-controls { margin-left:auto; }
.feedback-pop {
  position:fixed; inset:auto; width:min(330px,calc(100vw - 12px)); max-height:calc(100dvh - 12px);
  overflow:auto; box-sizing:border-box; margin:0; padding:14px; border:1px solid var(--border-mid);
  border-radius:6px; background:var(--white); color:var(--ink); box-shadow:0 5px 22px #0002;
}
.feedback-form { display:grid; gap:7px; font:400 14px/1.35 var(--font); }
.feedback-pop-head, .feedback-send { display:flex; align-items:center; justify-content:space-between; gap:10px; }
.feedback-pop-head strong { font-size:16px; }
.feedback-pop-head .square { width:24px; height:24px; }
.feedback-reasons { display:flex; flex-wrap:wrap; gap:4px; }
.feedback-chip { border:1px solid var(--border-mid); border-radius:6px; background:white; padding:4px 7px; font:inherit; font-size:13px; cursor:pointer; }
.feedback-chip[aria-pressed="true"] { border-color:var(--brand); background:var(--brand-pale); color:var(--brand-dark); }
.feedback-form label { display:grid; gap:4px; margin-top:4px; }
.feedback-form input,.feedback-form textarea,.feedback-form select { font:inherit; width:100%; border:1px solid var(--border-mid); border-radius:3px; padding:6px; background:white; }
.feedback-error { color:var(--alert); font-size:13px; }
.feedback-toast { position:fixed; inset:auto 14px 14px auto; margin:0; border:0; border-radius:6px; padding:8px 12px; background:var(--ink); color:white; font:400 14px var(--font); }
.feedback-controls { flex-wrap:wrap; padding-top:10px; }
.feedback-controls label { display:flex; gap:5px; align-items:center; }
.feedback-queue, .feedback-target { max-width:720px; margin-inline:auto; }
.feedback-entry { padding:10px 0; border-bottom:1px solid var(--border-mid); }
.feedback-meta { flex-wrap:wrap; font-size:13px; color:var(--muted); }
.feedback-meta strong { color:var(--ink); }
.feedback-title { display:inline-block; margin-top:4px; }
.feedback-entry p,.feedback-target p { margin:4px 0; white-space:pre-wrap; overflow-wrap:anywhere; }
.feedback-target h2 { font:700 18px var(--font); margin:12px 0 5px; }
.feedback-queue .btn { margin-top:10px; }
@media (hover:none), (pointer:coarse) {
  .feedback-flag, .clue-actions .feedback-flag { width:32px; height:32px; opacity:1; }
}

.claim-tools, .claim-choices { display:inline-flex; align-items:center; flex-wrap:wrap; gap:5px; }
.claim-take { padding:2px 7px; border:1px solid var(--border-mid); border-radius:3px; background:var(--white);
  color:var(--ink); font:500 12px/1.4 var(--font); cursor:pointer; }
.claim-take:hover, .claim-take:focus-visible { border-color:var(--brand); color:var(--brand-dark); }
.claim-take:disabled { opacity:.55; cursor:default; }
.claim-marker:empty, .claim-pop [hidden] { display:none; }
.claim-badge { display:inline-block; padding:2px 5px; border-radius:3px; font:500 12px/1.35 var(--font); overflow-wrap:anywhere; }
.claim-writing { color:var(--amber); background:var(--amber-bg); }
.claim-published { color:var(--brand-dark); background:var(--brand-pale); }
a.claim-published { text-decoration:underline; text-underline-offset:2px; }
.claim-passing { color:var(--muted); background:var(--ground-tint); }
.claim-unavailable { font:400 12px var(--font); color:var(--muted); }
.firehose-actions { flex-wrap:wrap; max-width:175px; }
.firehose-actions .claim-tools { justify-content:flex-end; }
@media (max-width:600px) {
  .firehose-actions { max-width:110px; }
}
@media (hover:none), (pointer:coarse) {
  .claim-take { min-height:32px; }
}

.news-share-dialog { width:min(30rem,calc(100vw - 2rem)); padding:1.25rem; }
.news-share-dialog h2 { margin:0 0 .85rem; }
.news-share-dialog .share-preview { padding:.85rem 1rem; border-left:3px solid var(--teal,#22b6b7); background:#f6f6f5; }
.news-share-dialog .share-preview:empty { display:none; }
.news-share-dialog .share-preview strong,.news-share-dialog .privileged-label { display:block; }
.news-share-dialog .share-preview p { margin:.4rem 0; }
.news-share-dialog .desk-card-actions { justify-content:flex-end; }
