/* ==================================================================
   Flux — app shell + design tokens
   Light theme: white cards on a light blue plane. Every ink and text
   colour below clears 4.5:1 on both surfaces; the raw status hues are
   reserved for graphics, with a darker *-text step for type.
   ================================================================== */

:root {
  color-scheme: light;

  /* surfaces — white cards on a light blue plane */
  --plane:        #eef4fb;
  --surface-1:    #ffffff;
  --surface-2:    #f4f8fd;
  --surface-3:    #e3edf9;

  /* ink — all four clear 4.5:1 on both white and the plane */
  --ink:          #0b0b0b;
  --ink-2:        #52514e;
  --ink-muted:    #6b6a65;

  /* chrome */
  --grid:         #e1e0d9;
  --baseline:     #c3c2b7;
  --hairline:     rgba(11, 11, 11, 0.12);
  --hairline-2:   rgba(11, 11, 11, 0.07);

  /* blue: the mark step is for graphics (4.4:1), the accent step for
     anything carrying text or white-on-fill (6.6:1) */
  --series-1:     #2a78d6;
  --accent:       #1c5cab;
  --accent-dark:  #184f95;
  --accent-wash:  #dbe9fa;
  --muted-mark:   #7d92aa;

  /* light blue ramp — used for meter and slider tracks */
  --track:        #cde2fb;

  /* status: the raw step paints graphics, the text step paints type */
  --good:         #0ca30c;
  --good-text:    #006300;
  --warning:      #fab219;
  --warning-text: #8a5d00;
  --critical:     #d03b3b;
  --critical-text:#c0271f;

  --radius:    14px;
  --radius-sm: 10px;
  --tap:       44px;
  --header-h:  56px;
  --tabbar-h:  60px;

  --font: system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  overscroll-behavior-y: none;
}

body {
  background: var(--plane);
  color: var(--ink);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

button { font: inherit; color: inherit; }

/* ------------------------------------------------ app frame ------- */

.app {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  max-width: 520px;
  margin: 0 auto;
  background: var(--plane);
}

.appbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 10px;
  height: var(--header-h);
  padding: 0 16px;
  padding-top: env(safe-area-inset-top);
  height: calc(var(--header-h) + env(safe-area-inset-top));
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--hairline-2);
}

.appbar__mark {
  width: 26px;
  height: 26px;
  flex: none;
}

.appbar__title {
  font-size: 16px;
  font-weight: 650;
  letter-spacing: -0.01em;
  margin: 0;
}

.appbar__sub {
  font-size: 11px;
  color: var(--ink-muted);
  margin-left: -6px;
}

.appbar__spacer { flex: 1; }

.appbar__pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 11px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--hairline);
  font-size: 13px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.appbar__pill .tok { color: var(--accent); font-size: 12px; }

/* live dot */
.livedot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--good);
  box-shadow: 0 0 0 0 rgba(12, 163, 12, 0.55);
  animation: pulse 2.4s ease-out infinite;
  flex: none;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(12, 163, 12, 0.5); }
  70%  { box-shadow: 0 0 0 7px rgba(12, 163, 12, 0); }
  100% { box-shadow: 0 0 0 0 rgba(12, 163, 12, 0); }
}

/* ------------------------------------------------ views ----------- */

.views { flex: 1; }

.view {
  display: none;
  padding: 14px 14px calc(var(--tabbar-h) + env(safe-area-inset-bottom) + 22px);
  animation: viewin 0.22s ease both;
}
.view.is-active { display: block; }

@keyframes viewin {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .view, .livedot { animation: none; }
  * { transition-duration: 0.01ms !important; }
}

/* ------------------------------------------------ tab bar --------- */

.tabbar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 520px;
  margin: 0 auto;
  height: calc(var(--tabbar-h) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--hairline-2);
}

.tabbtn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  color: var(--ink-muted);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: color 0.16s ease;
  position: relative;
}
.tabbtn svg { width: 22px; height: 22px; }
.tabbtn[aria-selected='true'] { color: var(--ink); }
.tabbtn[aria-selected='true']::before {
  content: '';
  position: absolute;
  top: 0;
  width: 26px;
  height: 2px;
  border-radius: 0 0 2px 2px;
  background: var(--accent);
}
.tabbtn .badge {
  position: absolute;
  top: 6px;
  right: 50%;
  margin-right: -18px;
  min-width: 15px;
  height: 15px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 9.5px;
  line-height: 15px;
  font-weight: 700;
}

/* ------------------------------------------------ cards ----------- */

.card {
  background: var(--surface-1);
  border: 1px solid var(--hairline-2);
  border-radius: var(--radius);
  padding: 14px;
  margin-bottom: 12px;
}

.card--flush { padding: 14px 0; }
.card--tight { padding: 12px; }

.card__head {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 12px;
}
.card--flush .card__head { padding: 0 14px; }

.card__title {
  margin: 0;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.01em;
}
.card__sub {
  font-size: 11.5px;
  color: var(--ink-muted);
  margin-left: auto;
  text-align: right;
}

.sectionlabel {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin: 20px 2px 8px;
}
.sectionlabel:first-child { margin-top: 4px; }

/* ------------------------------------------------ figures --------- */

.hero {
  display: flex;
  align-items: flex-end;
  gap: 8px;
}
.hero__value {
  font-size: 52px;
  line-height: 1;
  font-weight: 620;
  letter-spacing: -0.03em;
}
.hero__unit {
  font-size: 15px;
  color: var(--ink-2);
  padding-bottom: 6px;
  font-weight: 550;
}

.statgrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.statgrid--3 { grid-template-columns: repeat(3, 1fr); }

.stat {
  background: var(--surface-2);
  border: 1px solid var(--hairline-2);
  border-radius: var(--radius-sm);
  padding: 11px 12px;
}
.stat__label {
  font-size: 11px;
  color: var(--ink-muted);
  font-weight: 550;
  margin-bottom: 3px;
}
.stat__value {
  font-size: 21px;
  font-weight: 620;
  letter-spacing: -0.02em;
}
.stat__value small { font-size: 12px; font-weight: 550; color: var(--ink-2); }
.stat__delta { font-size: 11.5px; font-weight: 600; margin-top: 2px; }
.stat__delta.up   { color: var(--good-text); }
.stat__delta.down { color: var(--critical-text); }
.stat__delta.flat { color: var(--ink-muted); }

/* meter */
.meter {
  height: 8px;
  border-radius: 999px;
  background: var(--track);
  overflow: hidden;
}
.meter__fill {
  height: 100%;
  border-radius: 999px;
  background: var(--accent);
  transition: width 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.meter__fill.warn { background: var(--warning); }
.meter__fill.crit { background: var(--critical); }

.meterrow {
  display: flex;
  justify-content: space-between;
  font-size: 11.5px;
  color: var(--ink-muted);
  margin-top: 7px;
}

/* ------------------------------------------------ chart bits ------ */

.chart { width: 100%; display: block; overflow: visible; }

.axis-label { font-size: 9.5px; fill: var(--ink-muted); }
.grid-line  { stroke: var(--grid); stroke-width: 1; }
.base-line  { stroke: var(--baseline); stroke-width: 1; }

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-top: 12px;
}
.legend__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: var(--ink-2);
}
.legend__swatch {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  flex: none;
}

/* row list (top sites, devices, ledger) */
.rows { display: flex; flex-direction: column; }

.row {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border: 0;
  background: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
}
.row:active { background: var(--surface-2); }
.row__rank {
  font-size: 11px;
  color: var(--ink-muted);
  font-variant-numeric: tabular-nums;
  text-align: right;
}
.row__name {
  font-size: 13.5px;
  font-weight: 550;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.row__bar {
  height: 6px;
  border-radius: 0 3px 3px 0;
  margin-top: 5px;
  min-width: 2px;
  transition: width 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.row__meta { font-size: 10.5px; color: var(--ink-muted); margin-top: 3px; }
.row__value {
  font-size: 13px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.row__value small { color: var(--ink-muted); font-weight: 500; font-size: 11px; }

/* table view twin */
.tableview { display: none; padding: 0 14px; }
.tableview.is-on { display: block; }
.tableview table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.tableview th, .tableview td {
  text-align: right;
  padding: 6px 4px;
  border-bottom: 1px solid var(--hairline-2);
  font-variant-numeric: tabular-nums;
}
.tableview th {
  color: var(--ink-muted);
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.tableview th:first-child, .tableview td:first-child {
  text-align: left;
  font-variant-numeric: normal;
}

/* ------------------------------------------------ controls -------- */

.chips {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding: 2px 0 10px;
  scrollbar-width: none;
}
.chips::-webkit-scrollbar { display: none; }

.chip {
  flex: none;
  height: 32px;
  padding: 0 13px;
  border-radius: 999px;
  border: 1px solid var(--hairline);
  background: var(--surface-1);
  color: var(--ink-2);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.14s ease, color 0.14s ease, border-color 0.14s ease;
}
.chip[aria-pressed='true'] {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.toggle {
  margin-left: auto;
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid var(--hairline);
  background: transparent;
  color: var(--ink-muted);
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
}
.toggle[aria-pressed='true'] { color: var(--ink); border-color: var(--ink-2); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: var(--tap);
  padding: 0 18px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 650;
  cursor: pointer;
  transition: transform 0.12s ease, opacity 0.12s ease;
}
.btn:active { transform: scale(0.975); }
.btn--ghost {
  background: transparent;
  border-color: var(--hairline);
  color: var(--ink);
}
.btn--full { width: 100%; }
.btn:disabled { opacity: 0.42; cursor: not-allowed; }

/* ------------------------------------------------ misc ------------ */

.notice {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  padding: 11px 12px;
  border-radius: var(--radius-sm);
  background: var(--surface-1);
  border: 1px solid var(--hairline-2);
  font-size: 12px;
  color: var(--ink-2);
  margin-bottom: 12px;
}
.notice__icon { flex: none; font-size: 14px; line-height: 1.2; }

.empty {
  padding: 22px 14px;
  text-align: center;
  color: var(--ink-muted);
  font-size: 12.5px;
}

/* toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom) + 16px);
  transform: translate(-50%, 20px);
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 9px;
  max-width: 92vw;
  padding: 11px 15px;
  border-radius: 12px;
  background: #1f2933;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 12px 32px rgba(11, 11, 11, 0.28);
  font-size: 13px;
  font-weight: 550;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* bottom sheet */
.sheet-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(11, 11, 11, 0.38);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.sheet-backdrop.is-on { opacity: 1; pointer-events: auto; }

.sheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 51;
  max-width: 520px;
  margin: 0 auto;
  background: var(--surface-1);
  border-radius: 20px 20px 0 0;
  border-top: 1px solid var(--hairline);
  padding: 8px 16px calc(20px + env(safe-area-inset-bottom));
  transform: translateY(102%);
  transition: transform 0.26s cubic-bezier(0.22, 1, 0.36, 1);
  max-height: 82dvh;
  overflow-y: auto;
}
.sheet.is-on { transform: none; }
.sheet__grab {
  width: 36px;
  height: 4px;
  border-radius: 999px;
  background: var(--surface-3);
  margin: 4px auto 14px;
}

/* ------------------------------------------------ shop ------------ */

.shopitem {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  background: var(--surface-1);
  border: 1px solid var(--hairline-2);
  border-radius: var(--radius);
  padding: 13px;
  margin-bottom: 10px;
}
.shopitem.is-active {
  border-color: rgba(28, 92, 171, 0.45);
  background: var(--surface-2);
  box-shadow: inset 0 0 0 1px rgba(28, 92, 171, 0.16);
}

.shopitem__icon {
  font-size: 26px;
  line-height: 1.1;
  text-align: center;
}

.shopitem__body { min-width: 0; }

.shopitem__top {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}
.shopitem__name { font-size: 15px; font-weight: 650; letter-spacing: -0.01em; }
.shopitem__tag {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 5px;
  background: var(--surface-3);
  color: var(--ink-2);
}
.shopitem__blurb {
  font-size: 12.5px;
  color: var(--ink-2);
  margin-top: 3px;
  line-height: 1.4;
}
.shopitem__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  font-size: 11.5px;
  color: var(--ink-muted);
  margin-top: 7px;
}
.shopitem__effect { color: var(--ink-2); font-weight: 600; }
.shopitem__live { color: var(--good-text); font-weight: 600; }

.shopitem__buy {
  grid-column: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 11px;
}
.shopitem__price {
  font-size: 19px;
  font-weight: 650;
  letter-spacing: -0.02em;
}
.shopitem__price small { font-size: 11.5px; color: var(--ink-muted); font-weight: 550; }
.shopitem__btn {
  margin-left: auto;
  min-height: 38px;
  padding: 0 20px;
  font-size: 13.5px;
}

.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;
}

.chart-slot { min-height: 1px; }

/* ------------------------------------------------ feed ------------ */

.feedcard {
  position: relative;
  background: var(--surface-1);
  border: 1px solid var(--hairline-2);
  border-radius: var(--radius);
  padding: 14px;
  margin-bottom: 12px;
  overflow: hidden;
}

/* A 3px spine carries the card's tone without tinting the whole card. */
.feedcard::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--accent);
}
.feedcard--critical::before { background: var(--critical); }
.feedcard--warning::before  { background: var(--warning); }
.feedcard--good::before     { background: var(--good); }
.feedcard--info::before     { background: var(--accent); }

.feedcard--critical { border-color: rgba(192, 39, 31, 0.30); }
.feedcard--warning  { border-color: rgba(138, 93, 0, 0.24); }

.feedcard__head {
  display: flex;
  align-items: flex-start;
  gap: 11px;
}

.feedcard__icon {
  font-size: 22px;
  line-height: 1.15;
  flex: none;
}

.feedcard__kind {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.feedcard__title {
  margin: 0;
  font-size: 15.5px;
  font-weight: 650;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.feedcard__sub {
  font-size: 12px;
  color: var(--ink-2);
  margin-top: 2px;
}

.feedcard__when {
  flex: none;
  font-size: 10.5px;
  color: var(--ink-muted);
  white-space: nowrap;
  padding-top: 2px;
}

.feedcard__body {
  margin: 11px 0 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink-2);
}

/* inline fact strip */
.feedcard__strip {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  font-size: 13px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.feedcard__stripk {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 1px;
  font-variant-numeric: normal;
}

.feedcard__list {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.feedcard__list li {
  position: relative;
  padding-left: 16px;
  font-size: 12.5px;
  color: var(--ink-2);
}
.feedcard__list li::before {
  content: '';
  position: absolute;
  left: 3px;
  top: 7px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.fieldnote {
  display: flex;
  gap: 7px;
  align-items: flex-start;
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--ink-muted);
}
.fieldnote span[aria-hidden] { color: var(--accent); }

.feedcard__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 13px;
}
.feedcard__actions .btn {
  flex: 1 1 auto;
  min-height: 40px;
  padding: 0 14px;
  font-size: 13.5px;
}
.feedcard__more { flex: 0 0 auto !important; }

.btn--danger {
  background: transparent;
  border-color: rgba(192, 39, 31, 0.5);
  color: var(--critical-text);
}
.btn--danger:not(.btn--ghost) { background: transparent; }

.badge--urgent { background: var(--critical); }

/* ------------------------------------------------ travel ---------- */

.fieldlabel {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-2);
  margin: 4px 0 8px;
}
.fieldlabel span {
  font-size: 13px;
  font-weight: 650;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 28px;
  background: transparent;
  margin: 0;
  cursor: pointer;
}
.slider::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 999px;
  background: var(--track);
}
.slider::-moz-range-track {
  height: 6px;
  border-radius: 999px;
  background: var(--track);
}
.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  margin-top: -8px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--surface-1);
  box-shadow: 0 1px 4px rgba(11, 11, 11, 0.25);
}
.slider::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--surface-1);
}
.slider:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.tip {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  background: var(--surface-1);
  border: 1px solid var(--hairline-2);
  border-radius: var(--radius-sm);
  padding: 12px;
  margin-bottom: 9px;
}
.tip__icon { font-size: 18px; line-height: 1.2; flex: none; }
.tip__title {
  display: block;
  font-size: 13.5px;
  font-weight: 650;
  margin-bottom: 3px;
}
.tip__body {
  display: block;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--ink-2);
}

/* ------------------------------------------------ remedies -------- */
/* Every warning carries its fixes inline, so the app never only sells. */

.fixes {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--hairline-2);
}

.fixes__label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 10px;
}

.fix {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 10px;
  align-items: start;
  padding: 10px 11px;
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  margin-bottom: 8px;
}
.fix:last-child { margin-bottom: 0; }
.fix.is-on {
  background: var(--surface-1);
  box-shadow: inset 0 0 0 1px rgba(12, 163, 12, 0.35);
}

.fix__icon { font-size: 17px; line-height: 1.25; text-align: center; }
.fix__body { min-width: 0; }
.fix__title {
  display: block;
  font-size: 13.5px;
  font-weight: 650;
  line-height: 1.3;
}
.fix__text {
  display: block;
  font-size: 12px;
  line-height: 1.45;
  color: var(--ink-2);
  margin-top: 3px;
}
.fix__btn {
  grid-column: 2;
  justify-self: start;
  min-height: 34px;
  padding: 0 15px;
  font-size: 12.5px;
  margin-top: 9px;
}
.fix__btn:disabled {
  opacity: 1;
  color: var(--good-text);
  border-color: rgba(12, 163, 12, 0.4);
  background: transparent;
}
.fix.is-on .fix__btn::before { content: '✓ '; }

/* who has been asking about the line */
.consents { margin-top: 12px; }

.consent {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 11px;
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  margin-bottom: 8px;
}
.consent.is-off { opacity: 0.55; }
.consent__body { flex: 1; min-width: 0; }
.consent__name { display: block; font-size: 13.5px; font-weight: 650; }
.consent__what {
  display: block;
  font-size: 12px;
  color: var(--ink-2);
  line-height: 1.4;
  margin-top: 2px;
}
.consent__meta {
  display: block;
  font-size: 11px;
  color: var(--ink-muted);
  margin-top: 3px;
  font-variant-numeric: tabular-nums;
}
.consent__btn { flex: none; min-height: 34px; padding: 0 13px; font-size: 12.5px; }
.consent__btn:disabled { opacity: 1; color: var(--ink-muted); }

/* the network-verified marker */
.feedcard__vfd {
  margin-left: 7px;
  padding: 1px 6px;
  border-radius: 4px;
  background: var(--accent-wash);
  color: var(--accent);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.feedcard__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 12px;
}
.feedcard__foot .btn {
  min-height: 34px;
  padding: 0 13px;
  font-size: 12.5px;
  color: var(--ink-muted);
}
