/* Per-view layout for `/app`: the admin panel (users, health, messages,
   maintenance, logs, settings, and the audience and crawler observatories)
   and the password-reset form. The building blocks are `app.css`; the site's
   look over them is at the end of that file. */

.tabs { display: flex; gap: 3px; border-bottom: 1px solid var(--grid);
  margin-bottom: var(--s3); }
.tab {
  background: transparent; border: none; border-radius: var(--r-md) var(--r-md) 0 0;
  padding: 8px 15px; color: var(--fg-muted); font-size: var(--fs-small);
  cursor: pointer;
}
.tab:hover { color: var(--fg-dim); background: rgba(246, 242, 236, 0.05); }
.tab[aria-selected="true"] { color: var(--fg); font-weight: 600;
  background: rgba(246, 242, 236, 0.09); }

.stat-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 200px));
  gap: 10px; }
.stat-tile { padding: 12px 14px; }
.stat-tile .cap { color: var(--fg-muted); font-size: var(--fs-micro);
  font-weight: 600; }
.stat-tile .value { font-size: var(--fs-title); font-weight: 600;
  letter-spacing: -0.4px; }
.stat-tile .note { color: var(--fg-muted); font-size: var(--fs-micro); }

/* =================================================================== admin = */

.log-row { padding: 10px 14px; display: flex; flex-direction: column;
  gap: 3px; }
.log-row > div:last-child { font-size: var(--fs-small); }
.health-h { font-size: var(--fs-small); font-weight: 600; color: var(--fg-muted);
  margin-bottom: -6px; }
.health-head { display: flex; justify-content: space-between; gap: 12px; }
.health-tone { font-size: var(--fs-micro); font-weight: 600; white-space: nowrap; }
.health-row > div:nth-child(2) { font-size: var(--fs-small); overflow-wrap: anywhere; }
.health-runs summary { cursor: pointer; font-size: var(--fs-micro); color: var(--fg-muted); }
.health-table td { cursor: default; white-space: normal; }
.health-table tbody tr { cursor: default; }

#view-admin input[type="checkbox"] { accent-color: var(--accent); width: 15px;
  height: 15px; }
#view-admin input[type="text"] {
  background: var(--bg-sunken); border: 1px solid var(--hairline);
  border-radius: var(--r-sm); color: var(--fg); padding: 7px 10px;
  font-size: var(--fs-small); width: 100%;
}

.dialog.admin-confirm { width: min(380px, 92vw); padding: 20px; gap: 14px; }

/* Member intelligence shares the admin's warm, restrained material. */
.mi { line-height: 1.55; min-width: 0; font-variant-numeric: tabular-nums; }
.mi h2 { margin: 4px 0; font: 500 clamp(24px, 3vw, 34px)/1.2 var(--display); }
.mi h3 { margin: 0; font-size: 16px; }
.mi p { margin: 6px 0; }
.mi-head { display: flex; justify-content: space-between; align-items: start; gap: 16px; padding: 12px 0; }
.mi-head p { max-width: 72ch; }
.mi-kicker { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--gilt); }
.mi .mi-kpis { grid-template-columns: repeat(4, minmax(0,1fr)); }
.mi-kpis .value { overflow-wrap: anywhere; }
.mi-kpis .stat-tile:first-child .value { font-size: clamp(18px,2vw,27px); }
.mi-notice, .mi-context { padding: 14px 18px; border-left: 2px solid var(--gilt); background: var(--bg-sunken); }
.mi-adoption { padding: 20px 0; border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.mi-tools { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 18px; padding: 16px 0; }
.mi-tools > div { display: grid; align-content: start; gap: 4px; }
.mi-tools b { font-size: 24px; font-weight: 500; }
.mi-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.mi-filters input { flex: 1 1 200px; min-width: 140px; }
.mi-filters select { max-width: 100%; color: var(--fg); background: var(--bg-sunken); border: 1px solid var(--hairline); border-radius: 6px; padding: 10px; }
.mi .mi-table td { vertical-align: top; white-space: normal; height: auto; width: auto; max-width: none; overflow: visible; padding: 12px 14px; }
.mi-table small { display: block; margin-top: 5px; }
.mi-member { display: grid; gap: 5px; text-align: left; font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; overflow-wrap: anywhere; }
.mi-member b { color: var(--gilt); }
.mi-member span { font-size: 12px; }
.mi-member:hover b { text-decoration: underline; }
.mi-badge { display: inline-block; padding: 4px 8px; border: 1px solid var(--hairline); border-radius: 5px; font-size: 11px; }
.mi-badge.regular, .mi-badge.returning { color: var(--gilt); border-color: var(--gilt); }
.mi-badge.restricted, .mi-badge.excluded, .mi-badge.not_observed { color: var(--fg-muted); }
.mi-pager { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; font-size: 12px; }
.mi-definitions { font-size: 13px; color: var(--fg-muted); padding: 16px 0; }
.mi-definitions summary { cursor: pointer; color: var(--fg); }
.mi-definitions p { max-width: 100ch; margin-top: 12px; }
.mi-trend { margin: 0; padding: 16px 0; }
.mi-trend figcaption { font-size: 13px; margin-bottom: 12px; }
.mi-bars { height: 80px; display: flex; gap: 4px; align-items: end; border-bottom: 1px solid var(--hairline); }
.mi-bars span { height: var(--height); flex: 1; background: var(--gilt); border-radius: 2px 2px 0 0; }
.mi-bars span[data-empty="true"] { background: var(--hairline); }
.mi-axis { display: flex; justify-content: space-between; font-size: 11px; color: var(--fg-muted); margin-top: 6px; }
.mi-profile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mi-profile-grid section { padding: 20px; }
.mi-timeline { list-style: none; margin: 0; padding: 0; }
.mi-feature-days { display: flex; flex-wrap: wrap; gap: 8px; }
.mi-timeline li { display: grid; gap: 5px; padding: 14px 0; border-bottom: 1px solid var(--hairline); }
@media (max-width: 900px) {
  .mi .mi-kpis { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .mi-tools { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 600px) {
  .mi-head { flex-wrap: wrap; }
  .mi-profile-grid { grid-template-columns: 1fr; }
  .mi-tools { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .mi-filters select { flex: 1 1 100%; }
  .mi-table, .mi-table tbody { display: block; width: 100%; min-width: 0; }
  .mi-table thead { display: none; }
  .mi-table tbody tr { display: grid; grid-template-columns: 1fr 1fr; padding: 12px 0; border-bottom: 1px solid var(--hairline); }
  .mi-table td { display: block; border: 0; padding: 10px 14px; min-width: 0; }
  .mi-table td:nth-child(-n+3) { grid-column: 1 / -1; }
  .mi-table td::before { content: attr(data-label); display: block; margin-bottom: 6px; font-size: 10px; color: var(--fg-muted); text-transform: uppercase; letter-spacing: .08em; }
}

/* Audience observatory: one material and colour system with the crawler instrument.
   Bars show measured counts; ambient motion belongs only to the live presence light. */
.an { display: grid; gap: 20px; font-size: 15px; line-height: 1.55; font-variant-numeric: tabular-nums; min-width: 0; }
.an [hidden] { display: none !important; }
.an-head { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 12px 0 6px; }
.an-eyebrow { display: block; margin: 0 0 9px; color: var(--gilt); font: 600 12px/1.5 var(--display); letter-spacing: .2em; text-transform: uppercase; }
.an-title { margin: 0; color: var(--parchment); font: 500 clamp(26px, 3vw, 36px)/1.2 var(--display); letter-spacing: -.045em; }
.an-sub { max-width: 65ch; margin: 11px 0 0; color: #bdb4a6; font-size: 15px; line-height: 1.75; }
.an-controls { display: grid; justify-items: end; flex: none; gap: 12px; }
.an-status { font-size: 12px; color: #b8afa1; white-space: nowrap; }
.an-status::before { content: ""; display: inline-block; width: 4px; height: 4px; margin: 0 7px 2px 0; border-radius: 50%; background: currentColor; }
.an-stale .an-status { color: #dab680; }
.an-live-status { display: grid; justify-items: end; gap: 6px; }
.an-live { display: inline-flex; align-items: center; gap: 10px; padding: 8px 13px; border: 1px solid #ffffff12; border-radius: 22px; color: #a9a195; background: #ffffff02; white-space: nowrap; }
.an-live b { font-size: 14px; font-weight: 500; }
.an-live-dot { position: relative; width: 7px; height: 7px; border-radius: 50%; background: #67635c; flex: none; }
.an-live.is-active { color: #c0ead5; border-color: #71d6c138; background: #71d6c108; }
.an-live.is-active .an-live-dot { background: #9ad6bb; box-shadow: 0 0 13px #71d6c166; }
.an-live.is-active .an-live-dot::after { content: ""; position: absolute; inset: -6px; border: 1px solid #9ad6bb66; border-radius: 50%; opacity: .35; }
.an-motion .an-live.is-active .an-live-dot::after { animation: an-presence 5s ease-out infinite; animation-duration: 5s !important; }
.an-motion-button { border: 1px solid #ffffff16; background: #ffffff04; color: #b4ada1; border-radius: 20px; padding: 7px 12px; cursor: pointer; font: 14px var(--sans); }
.an-motion-button:hover { color: var(--parchment); border-color: var(--gilt-soft); }
.an :is(button, summary, [tabindex]):focus-visible { outline: 2px solid #83b6f4; outline-offset: 4px; }
.an-panel, .an-stat { min-width: 0; border: 1px solid #c8aa6e30; border-radius: 20px;
  background: radial-gradient(ellipse at 0 0, #c8aa6e0c, transparent 65%), #171614;
  box-shadow: inset 0 1px 0 #ffffff08, 0 24px 50px -35px #000; }
.an-panel { padding: 25px 28px 19px; display: flex; flex-direction: column; }
.an-panel-head { margin-bottom: 24px; }
.an-panel-head h3 { margin: 0; font: 500 23px/1.35 var(--display); color: var(--parchment); letter-spacing: -.035em; }
.an-audience { position: relative; overflow: hidden;
  background: radial-gradient(ellipse at 78% 15%, #83b6f40d, transparent 60%), radial-gradient(ellipse at 0 0, #c8aa6e10, transparent 50%), #171614; }
.an-audience::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .16;
  background-image: radial-gradient(#afc3df55 .6px, transparent .6px); background-size: 22px 22px;
  mask-image: linear-gradient(90deg, transparent 28%, black 65%, transparent); }
.an-audience > * { position: relative; z-index: 1; }
.an-audience .an-panel-head { margin-bottom: 27px; }
.an-audience-body { display: grid; grid-template-columns: minmax(215px, .65fr) minmax(0, 1.5fr); gap: 36px; }
.an-audience-main { display: flex; flex-direction: column; align-items: flex-start; padding: 5px 0 20px; }
.an-today-label { color: #b5ad9f; font-size: 15px; }
.an-today-number { display: block; font: 500 clamp(68px, 7.5vw, 94px)/1.15 var(--display); letter-spacing: -.065em; color: var(--parchment); margin: 6px 0 8px; }
.an-delta { font-size: 14px; color: #ada494; line-height: 1.75; }
.an-now { margin-top: auto; padding-top: 28px; display: flex; align-items: center; gap: 12px; color: #bdb5a7; font-size: 14px; }
.an-now b { color: #c0decf; font-weight: 500; }
.an-presence { width: 7px; height: 7px; position: relative; flex: none; }
.an-presence i { display: block; width: 100%; height: 100%; border-radius: 50%; background: #67635c; }
.an-presence.is-active i { background: #9ad6bb; box-shadow: 0 0 14px #71d6c166; }
.an-presence.is-active::after { content: ""; position: absolute; inset: -6px; border: 1px solid #9ad6bb66; border-radius: 50%; opacity: .35; }
.an-last-hour { margin: 7px 0 0 19px; font-size: 13px; color: #b8afa1; }
.an-last-hour b { font-weight: 400; }
.an-rhythm { min-width: 0; }
.an-rhythm-head, .an-period { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.an-rhythm-head > b { font: 500 15px var(--display); color: #bdb5a7; }
.an-chart-modes { display: flex; gap: 3px; padding: 3px; background: #00000024; border: 1px solid #ffffff0e; border-radius: 20px; }
.an-chart-modes button { padding: 5px 10px; font: 13px var(--sans); color: #b8afa1; background: transparent; border: 0; border-radius: 16px; cursor: pointer; white-space: nowrap; }
.an-chart-modes button[aria-pressed="true"] { color: #e6e0d4; background: #ffffff0b; box-shadow: 0 1px 4px #0003; }
.an-chart-signals { display: inline-flex; gap: 16px; margin-top: 9px; }
.an-chart-signals button { padding: 3px 0 5px; border: 0; border-bottom: 1px solid transparent; background: none; color: #aaa193; font: 13px var(--sans); cursor: pointer; }
.an-chart-signals button[aria-pressed="true"] { color: #c6d9f1; border-bottom-color: #83b6f480; }
.an-rhythm.is-browser-loads .an-chart-signals button[aria-pressed="true"] { color: #c7bb9f; border-bottom-color: #c7bb9f80; }
.an-rhythm.is-browser-loads .an-hour-fill { background: linear-gradient(0deg, #c7bb9f06, #c7bb9f25); }
.an-rhythm.is-browser-loads .an-hour-cap { background: none; border-top: 1px dashed #c7bb9f; box-shadow: none; }
.an-rhythm.is-browser-loads .an-hour.is-selected { background: #c7bb9f06; border-bottom-color: #c7bb9f80; }
.an-rhythm.is-browser-loads .an-hour.is-selected .an-hour-fill { background: linear-gradient(0deg, #c7bb9f0a, #c7bb9f3a); }
.an-rhythm.is-browser-loads .an-hour-value, .an-rhythm.is-browser-loads .an-readout > span { color: #c7bb9f; }
.an-rhythm.is-browser-loads .an-readout b { flex-shrink: 0; white-space: nowrap; }
.an-rhythm-plot { position: relative; height: 166px; margin-top: 19px; border-bottom: 1px solid #ffffff1a; border-radius: 2px; cursor: crosshair;
  background: linear-gradient(to bottom, #ffffff08 1px, transparent 1px) 0 0 / 100% 50%; }
.an-axis-top { position: absolute; top: -6px; left: 0; color: #b8afa1; font-size: 12px; background: #191b1c; padding-right: 6px; z-index: 1; }
.an-rhythm-columns { position: absolute; inset: 0 0 0 23px; display: flex; justify-content: space-around; gap: clamp(2px, .65vw, 8px); align-items: flex-end; }
.an-hour { flex: 1; max-width: 46px; height: 100%; position: relative; border-bottom: 2px solid #ffffff19; }
.an-hour-fill { position: absolute; bottom: 0; width: 100%; height: var(--height); background: linear-gradient(0deg, #83b6f409, #83b6f430); border-radius: 3px 3px 0 0; }
.an-hour-cap { position: absolute; bottom: var(--height); width: 100%; height: 2px; background: #83b6f4; border-radius: 3px; opacity: 0; box-shadow: 0 0 10px #83b6f424; }
.an-hour.has-people .an-hour-cap { opacity: .8; }
.an-hour.is-selected { background: #83b6f408; border-bottom-color: #83b6f499; }
.an-hour.is-selected .an-hour-fill { background: linear-gradient(0deg, #83b6f40e, #83b6f44f); }
.an-hour-value { position: absolute; bottom: var(--height); left: 50%; transform: translate(-50%, -6px); color: #c2d6f1; font-size: 13px; opacity: 0; pointer-events: none; }
.an-hour.is-selected .an-hour-value { opacity: 1; }
.an-hour.is-unmeasured { border-bottom: 1px dotted #ffffff26; }
.an-hour.is-unmeasured .an-hour-value { display: none; }
.an-axis { display: flex; justify-content: space-between; padding: 9px 0 0 23px; color: #b8afa1; font-size: 12px; }
.an-axis > :only-child { margin: 0 auto; }
.an-readout { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border-top: 1px solid #ffffff0c; margin-top: 15px; padding-top: 12px; font-size: 14px; }
.an-readout b { color: #c3bbad; font-weight: 500; }
.an-readout > span { color: #aac6e8; text-align: right; }
.an-chart-note { font-size: 12px; color: #b8afa1; margin: 9px 0 0; line-height: 1.6; }
.an-period { padding: 14px 1px 0; }
.an-period > div:first-child { display: grid; gap: 6px; }
.an-period b { font: 500 17px var(--display); color: #d8d0c3; letter-spacing: -.02em; }
.an-period span { color: #b8afa1; font-size: 13px; }
.an-windows { display: inline-flex; gap: 3px; padding: 4px; border: 1px solid #c8aa6e30; border-radius: 24px; background: #ffffff03; flex: none; }
.an-windows button { background: none; border: none; border-radius: 20px; padding: 7px 15px; font: 500 14px var(--display); color: #a49b8b; cursor: pointer; }
.an-windows button[aria-pressed="true"] { color: #eee4cf; background: #c8aa6e16; box-shadow: inset 0 0 0 1px #c8aa6e35; }
.an-vitals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.an-stat { padding: 20px 22px 17px; }
.an-stat .an-eyebrow { font-size: 12px; letter-spacing: .18em; }
.an-stat-body { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 7px 0 16px; }
.an-stat-body > div:first-child { min-width: 0; }
.an-stat-number { display: block; font: 500 39px/1.15 var(--display); letter-spacing: -.055em; color: var(--parchment); }
.an-stat-note { display: block; color: #a79e90; font-size: 13px; margin-top: 8px; line-height: 1.6; }
.an-stat-description { border-top: 1px solid #ffffff0c; padding-top: 12px; margin: 0; color: #b8afa1; font-size: 13px; line-height: 1.75; }
.an-marketplace-breakdown { display: flex; flex-wrap: wrap; column-gap: 22px; row-gap: 4px; }
.an-marketplace-breakdown[hidden] { display: none; }
.an-marketplace-breakdown > div { display: flex; align-items: baseline; gap: 8px; }
.an-marketplace-breakdown dt { color: #a79e90; }
.an-marketplace-breakdown dd { margin: 0; color: #d8d0c3; font-weight: 500; font-variant-numeric: tabular-nums; }
.an-gauge { width: 61px; height: 61px; flex: none; position: relative; }
.an-gauge svg { width: 100%; height: 100%; transform: rotate(0deg); }
.an-gauge circle { fill: none; stroke: #ffffff0c; stroke-width: 2.5; }
.an-gauge .an-gauge-value { stroke: var(--c); stroke-linecap: butt; }
.an-gauge span { position: absolute; inset: 0; display: grid; place-items: center; color: var(--c); font: 500 14px var(--display); }
.an-click-history { flex: none; width: 64px; height: 42px; display: flex; gap: 2px; align-items: flex-end; border-bottom: 1px solid #e4bd7933; }
.an-click-history i { flex: 1; max-width: 12px; background: linear-gradient(#e4bd7980, #e4bd791a); border-radius: 2px 2px 0 0; }
.an-footnote { margin: auto 0 0; padding-top: 14px; border-top: 1px solid #ffffff0c; color: #b8afa1; font-size: 12px; line-height: 1.75; }
.an-empty { color: #aaa193; font-size: 15px; line-height: 1.8; margin: 16px 0 30px; }
.an-landings { list-style: none; padding: 0; margin: 0; }
.an-landings { margin-bottom: 18px; }
.an-landings li { display: grid; grid-template-columns: 19px 30px minmax(0, 1fr) 37px; gap: 12px; align-items: center; padding: 14px 0; }
.an-landings li + li { border-top: 1px solid #ffffff0a; }
.an-rank { color: #b8afa1; font: 13px var(--display); }
.an-thumb { display: grid; place-items: center; width: 30px; height: 42px; border-radius: 4px; overflow: hidden; background: #0d0c0b; box-shadow: 0 4px 10px -4px #000; }
.an-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.an-thumb-page img { width: 18px; height: 18px; object-fit: contain; opacity: .8; }
.an-landing-text { display: grid; gap: 5px; min-width: 0; }
.an-landing-text b { font-size: 15px; font-weight: 500; color: #e2dbcf; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.an-landing-text > span:not(.an-landing-track) { font-size: 13px; color: #b8afa1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.an-landing-track { display: block; height: 2px; background: #ffffff09; margin-top: 4px; }
.an-landing-track i { height: 100%; display: block; background: #83b6f48c; }
.an-landing-count { display: grid; justify-items: end; gap: 4px; }
.an-landing-count b { font: 500 20px var(--display); color: #c2d3e9; }
.an-landing-count span { font-size: 12px; color: #b8afa1; }

.an-goal-track { position: relative; height: 9px; border-radius: 2px; overflow: hidden; background: #ffffff09; }
.an-goal-track i { display: block; height: 100%; background: linear-gradient(90deg, #a8864d77, #e4bd79); border-radius: inherit; }
.an-goal-track::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, transparent 0, transparent calc(10% - 2px), #171614 calc(10% - 2px), #171614 10%); }
.an-counting-note { margin: 0; padding: 1px 3px; color: #b8afa1; font-size: 13px; line-height: 1.8; }
.an-more { padding: 16px 20px; border: 1px solid #ffffff10; border-radius: 14px; background: #ffffff02; min-width: 0; }
.an-more > summary { cursor: pointer; font: 500 14px var(--display); color: #afa596; }
.an-more[open] > summary { margin-bottom: 20px; }
.an-raw-body { min-width: 0; overflow-x: auto; }
.an-attribution > summary { display: list-item; color: #d4c7b2; }
.an-attribution-count { float: right; margin-left: 12px; color: #b8afa1; font: 400 13px var(--sans); }
.an-attribution-body { display: grid; gap: 20px; }
.an-attribution-body .an-footnote { margin: 0; }
.an-attribution-body h4 { margin: 0 0 12px; color: #c9bda9; font: 500 13px var(--display); }
.an-attribution-sources { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.an-attribution-top, .an-attribution-recent { padding: 0; margin: 0; list-style: none; }
.an-attribution-top li { display: flex; justify-content: space-between; align-items: start; gap: 16px; padding: 9px 0; border-top: 1px solid #ffffff09; }
.an-attribution-top li > span { min-width: 0; display: grid; gap: 2px; }
.an-attribution-body a { color: #d6cec0; text-decoration: none; overflow-wrap: anywhere; }
.an-attribution-body a:hover { color: var(--gilt); text-decoration: underline; }
.an-attribution-top b { font-weight: 500; }
.an-attribution-top small { color: #a69e91; font-size: 12px; overflow-wrap: anywhere; }
.an-attribution-value { color: #e0c08a; }
.an-attribution-recent { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
.an-attribution-recent li { padding: 12px 0; border-top: 1px solid #ffffff09; display: grid; gap: 5px; min-width: 0; }
.an-attribution-recent-head { display: flex; gap: 16px; justify-content: space-between; }
.an-attribution-recent-head b { color: #ddc79f; font-size: 13px; font-weight: 500; }
.an-attribution-recent-head time, .an-attribution-context, .an-attribution-item { font-size: 12px; color: #aaa194; }
.an-attribution-context { display: grid; gap: 2px; overflow-wrap: anywhere; }
.an-attribution-context > span { color: #b8afa1; }
/* Explicit opt-in overrides the site's reduced-motion reset only inside this instrument. */
.an-motion .an-inview .an-presence.is-active::after { animation: an-presence 5s ease-out infinite; animation-duration: 5s !important; }
.an-motion .an-inview .an-goal-track i { transition: width 1.3s cubic-bezier(.2,.7,.2,1); transition-duration: 1.3s !important; }
.an-motion .an-inview .an-gauge-value { transition: stroke-dasharray 1.3s ease; transition-duration: 1.3s !important; }
.an-motion .an-inview .an-hour-fill { transition: height 1.2s ease; transition-duration: 1.2s !important; }
.an-motion .an-inview .an-hour-cap { transition: bottom 1.2s ease; transition-duration: 1.2s !important; }
@keyframes an-presence { 0%, 15% { transform: scale(.8); opacity: .55; } 75%, 100% { transform: scale(1.8); opacity: 0; } }
@media (max-width: 980px) {
  .an-audience-body { grid-template-columns: minmax(180px, .7fr) minmax(0, 1.4fr); gap: 24px; }
  .an-panel { padding: 23px 22px 18px; }
  .an-stat { padding: 18px; }
  .an-stat-body { gap: 6px; }
  .an-gauge { width: 48px; height: 48px; }
  .an-click-history { width: 48px; }
}
@media (max-width: 700px) {
  .an-head { align-items: flex-start; flex-direction: column; gap: 15px; }
  .an-controls { width: 100%; display: flex; justify-content: space-between; align-items: center; }
  .an-live-status { justify-items: start; }
  .an-attribution-sources, .an-attribution-recent { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .an-attribution-count { float: none; display: block; margin: 4px 0 0 15px; }
  .an-audience-body { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .an-audience-main { padding: 0 0 8px; display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 18px; }
  .an-today-number { grid-row: 2/4; font-size: 70px; }
  .an-today-label { grid-column: 1/-1; }
  .an-now { grid-column: 2; grid-row: 2; margin-top: 16px; padding: 0; align-self: end; }
  .an-last-hour { grid-column: 2; grid-row: 3; align-self: start; }
  .an-delta { grid-column: 1/-1; grid-row: 4; }
  .an-vitals { gap: 12px; }
  .an-stat { padding: 16px 13px; border-radius: 16px; }
  .an-stat-body { flex-wrap: wrap; }
  .an-stat-number { font-size: 33px; }
  .an-stat-note { min-height: 32px; }
  .an-gauge, .an-click-history { display: none; }
  
}
@media (max-width: 450px) {
  .an { gap: 14px; }
  .an-panel { padding: 22px 18px 17px; }
  .an-panel-head h3 { font-size: 22px; }
  .an-period { align-items: flex-start; flex-direction: column; gap: 14px; }
  .an-windows { width: 100%; }
  .an-windows button { flex: 1; }
  .an-vitals { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .an-stat { padding: 17px 18px; }
  .an-stat-body { padding: 3px 0 10px; }
  .an-stat-note { min-height: 0; }
  .an-gauge, .an-click-history { display: flex; width: 54px; }
  .an-gauge { height: 54px; }
  .an-gauge span { width: 54px; }
  .an-stat-description { padding-top: 10px; }
  .an-rhythm-head { gap: 6px; }
  .an-rhythm-head > b { font-size: 14px; }
  .an-rhythm-plot { height: 140px; }
  .an-readout { font-size: 13px; gap: 6px; }
  .an-chart-note { font-size: 12px; }
  .an-landings li { grid-template-columns: 16px 27px minmax(0, 1fr) 30px; gap: 8px; }
  .an-landing-text b { font-size: 14px; }
}

/* The crawler observatory. Slow ambient orbits keep the instrument alive;
   request trails are finite Web Animations, started only by new arrivals.
   The explicit motion control may opt in on a reduced-motion device. */
.cr-observatory {
  position: relative; isolation: isolate; min-width: 0; overflow: hidden;
  padding: 26px 28px 18px; border: 1px solid rgba(200,170,110,.23); border-radius: 20px;
  background: radial-gradient(ellipse at 47% 46%, rgba(81,105,145,.10), transparent 45%),
    radial-gradient(ellipse at 0 0, rgba(200,170,110,.08), transparent 50%), #171614;
  box-shadow: inset 0 1px 0 #ffffff09, 0 24px 50px -35px #000;
  font-variant-numeric: tabular-nums;
}
.cr-observatory::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .2;
  background-image: radial-gradient(#afc3df55 .6px, transparent .6px); background-size: 22px 22px;
  mask-image: linear-gradient(90deg, transparent 10%, black 55%, transparent 90%);
}
.cr-head, .cr-metrics, .cr-history-head, .cr-history-axis, .cr-footer {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.cr-eyebrow { color: var(--gilt); font: 600 12px var(--display); letter-spacing: .22em; text-transform: uppercase; margin-bottom: 8px; }
.cr-head h3 { margin: 0; font: 600 25px/1.3 var(--display); color: var(--parchment); letter-spacing: -.035em; }
.cr-status { display: inline-flex; align-items: center; gap: 7px; color: #abd6bd; font-size: 14px; white-space: nowrap; }
.cr-status::before, .cr-sync-dot { content: ""; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: #8ac9a5; box-shadow: 0 0 9px #8ac9a550; }

.cr-motion-button { border: 1px solid #ffffff16; border-radius: 20px; background: #ffffff04; padding: 6px 10px; color: #b4ada1; font: 14px var(--sans); cursor: pointer; }
.cr-motion-button:hover { border-color: var(--gilt-soft); color: var(--parchment); }
.cr-motion-button:focus-visible { outline: 2px solid var(--gilt); outline-offset: 3px; }
.cr-metrics { justify-content: flex-start; align-items: flex-end; gap: 38px; padding: 27px 0 24px; border-bottom: 1px solid #ffffff0c; }
.cr-metric { display: grid; gap: 9px; }
.cr-metric b { font: 500 28px/1 var(--display); color: #d9d2c6; letter-spacing: -.045em; }

.cr-metric span { font-size: 14px; color: #a29889; }

.cr-network { min-width: 0; position: relative; height: calc(30px + var(--cr-route-height)); }

.cr-lanes { position: relative; z-index: 2; width: calc(100% - 326px); }
.cr-lane { display: grid; grid-template-columns: 6px minmax(0,1fr) auto; gap: 10px; height: var(--cr-lane-height); align-items: center; border-radius: 7px; }
.cr-beacon { width: 5px; height: 5px; border-radius: 50%; background: var(--cr-color); opacity: .35; }
.cr-lane.is-active .cr-beacon { opacity: 1; box-shadow: 0 0 10px var(--cr-color); }
.cr-family, .cr-lane-count { display: grid; gap: 3px; }
.cr-family b { color: #ded9cf; font-size: 15px; font-weight: 500; }
.cr-family > span { color: #b8afa1; font-size: 12px; white-space: nowrap; }
.cr-lane-count { text-align: right; }
.cr-lane-count b { color: var(--cr-color); font: 500 16px var(--display); }
.cr-lane-recent { color: #b8afa1; font-size: 12px; white-space: nowrap; }
.cr-lane.is-active .cr-lane-recent { color: var(--cr-color); }

.cr-mote { position: absolute; top: 0; left: 0; width: 7px; height: 2px; border-radius: 50%;
  background: linear-gradient(90deg, transparent, #e1e9e5 75%, #edf0e9);
  box-shadow: 0 0 6px color-mix(in srgb, var(--cr-color) 65%, transparent); }
.cr-hub { position: absolute; right: 4px; top: calc(30px + var(--cr-route-height) / 2 - 100px); width: 200px; height: 200px; display: grid; place-items: center; }
.cr-hub::before { content: ""; position: absolute; inset: -50px; border-radius: 50%;
  background: radial-gradient(ellipse at 42% 46%, #8fafbc19, #96a7b008 40%, transparent 67%); }
.cr-orbit { position: absolute; inset: 0; border: 1px solid #bccee919; border-radius: 50%; }
.cr-orbit::before { content: ""; position: absolute; inset: -1px; border-radius: inherit;
  background: conic-gradient(from 0deg, transparent 265deg, #b5c6e63b 355deg, transparent 360deg);
  mask-image: radial-gradient(circle, transparent 68%, black 69%, black 71%, transparent 72%); }
.cr-orbit::after { content: ""; position: absolute; left: 49%; top: -2px; width: 3px; height: 3px; border-radius: 50%; background: #b5c6e6; box-shadow: 0 0 9px #b5c6e680; opacity: .6; }
.cr-orbit-inner { inset: 18px; border-style: dashed; opacity: .45; }
.cr-orbit-inner::after { background: #e5c893; }
.cr-core { position: relative; isolation: isolate; overflow: hidden; width: 104px; height: 104px;
  display: grid; place-items: center; border: 1px solid #bdc5bc35; border-radius: 50%;
  background: radial-gradient(ellipse at 32% 24%, #303737, #1c2225 56%, #14191c);
  box-shadow: 0 0 38px #97b8c312, inset 0 0 20px #0b121844; }
.cr-core::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; pointer-events: none;
  background: radial-gradient(ellipse at 44% 42%, transparent 35%, #0d151b55 100%); }
.cr-core img { position: relative; z-index: 2; width: 74px; height: 74px; filter: drop-shadow(0 0 7px #d8c09730); }
.cr-core-atmosphere { position: absolute; inset: -30%; pointer-events: none;
  background: radial-gradient(ellipse at 29% 37%, #8fa9b025, transparent 38%),
    radial-gradient(ellipse at 67% 64%, #0a141acc, transparent 48%),
    radial-gradient(ellipse at 70% 22%, #c0b29515, transparent 34%); }
.cr-absorb { --cr-charge: color-mix(in srgb, var(--cr-color) 42%, #a6bec9);
  position: absolute; inset: -16%; pointer-events: none; opacity: 0; filter: blur(5px);
  background: radial-gradient(ellipse at 18% 46%, var(--cr-charge), transparent 34%),
    radial-gradient(ellipse at 41% 27%, color-mix(in srgb, var(--cr-charge) 65%, transparent), transparent 33%),
    radial-gradient(ellipse at 57% 68%, color-mix(in srgb, var(--cr-charge) 45%, transparent), transparent 40%); }
.cr-absorb::before { content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 25% 14%, #132029bb, transparent 32%),
    radial-gradient(ellipse at 43% 53%, #111c25dd, transparent 30%),
    radial-gradient(ellipse at 75% 81%, #111923aa, transparent 38%); }
.cr-hub-name { position: absolute; top: 221px; color: #d6c29b; font: 500 15px var(--display); letter-spacing: .15em; }
.cr-hub-note { position: absolute; top: 246px; color: #b8afa1; font-size: 13px; white-space: nowrap; }

.cr-feed-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.cr-feed-head h4 { margin: 0; color: #d7cfc0; font: 500 15px var(--display); }
.cr-feed-head > span { color: #b8afa1; font-size: 13px; }
.cr-feed { list-style: none; margin: 0; padding: 0; }
.cr-feed li { position: relative; display: grid; grid-template-columns: 5px minmax(0,1fr); gap: 12px; align-items: start; padding: 10px 0; }
.cr-feed li + li { border-top: 1px solid #ffffff09; }
.cr-feed-mark { width: 4px; height: 4px; margin-top: 5px; border-radius: 50%; background: var(--cr-color); box-shadow: 0 0 8px color-mix(in srgb, var(--cr-color) 40%, transparent); }
.cr-feed-meta { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.cr-feed-meta b { color: var(--cr-color); font-size: 14px; font-weight: 500; }
.cr-feed-meta time { color: #b8afa1; font-size: 13px; white-space: nowrap; }
.cr-feed-page { display: block; max-width: 100%; margin-top: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #bdb5a7; font-size: 14px; }
.cr-feed .cr-empty { display: block; color: #a29889; font-size: 15px; line-height: 1.8; }
.cr-history { border-top: 1px solid #ffffff0d; padding-top: 16px; }
.cr-history-head { font-size: 14px; color: #a29889; }
.cr-history-head b { font-weight: 500; color: #c8bfaf; }
.cr-history-bars { display: flex; gap: 4px; height: 49px; padding-top: 12px; }
.cr-history-bars > span { flex: 1; height: 100%; min-width: 0; position: relative; border-bottom: 1px solid #ffffff13; }
.cr-history-bars i { position: absolute; bottom: 0; width: 100%; border-radius: 2px 2px 0 0; background: linear-gradient(#bcac8b, #665e4f); opacity: .65; }
.cr-motion .cr-history-bars i { transition: height 1.4s ease; transition-duration: 1.4s !important; }
.cr-history-bars > span:last-child i { background: #b8cde6; opacity: 1; box-shadow: 0 0 10px #b8cde61a; }
.cr-history-bars > span:hover i { background: #e2c893; opacity: 1; }
.cr-history-axis { padding-top: 8px; color: #b8afa1; font-size: 12px; }
.cr-footer { margin-top: 23px; font-size: 13px; color: #a59b8b; flex-wrap: wrap; }
.cr-sync-dot { width: 4px; height: 4px; margin-right: 7px; vertical-align: 2px; }
.cr-explainer { color: #b8afa1; font-size: 13px; line-height: 1.75; margin: 8px 0 0; }
.cr-filtered { margin: 14px 0 0; border-top: 1px solid #ffffff0d; padding-top: 12px; color: #a29889; font-size: 14px; line-height: 1.6; }
.cr-motion .cr-orbit { animation: cr-orbit 64s linear infinite; animation-duration: 64s !important; }
.cr-motion .cr-orbit-inner { animation-direction: reverse; animation-duration: 96s !important; }
.cr-motion .cr-core-atmosphere { animation: cr-cloud-drift 28s ease-in-out infinite alternate; animation-duration: 28s !important; }
.cr-motion .cr-hub::before { animation: cr-cloud-drift 36s ease-in-out infinite alternate; animation-duration: 36s !important; }
.cr-motion .cr-lane.is-active .cr-beacon { animation: cr-breathe 5s ease-in-out infinite;
  animation-duration: 5s !important; animation-delay: var(--cr-delay); }
.cr-motion .cr-fresh { animation: cr-arrive 2s ease-out both; animation-duration: 2s !important; }
@keyframes cr-orbit { to { transform: rotate(360deg); } }
@keyframes cr-cloud-drift { from { transform: translate(-3px, 2px) rotate(-6deg); } to { transform: translate(4px, -3px) rotate(7deg); } }
@keyframes cr-breathe { 50% { opacity: .65; transform: scale(.94); } }
@keyframes cr-arrive { from { opacity: .25; transform: translateY(-5px); } }
@media (max-width: 980px) {
  
  .cr-network { max-width: 700px; width: 100%; }
  .cr-hub { right: 4px; }
  
  .cr-lanes { width: calc(100% - 326px); }
  
  .cr-feed { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); column-gap: 26px; }
  .cr-feed li { padding: 10px 0; }
}
@media (max-width: 700px) {
  #view-admin .tabs { overflow-x: auto; max-width: 100%; }
  .cr-observatory { padding: 21px 18px 16px; }
  .cr-head { align-items: flex-start; flex-direction: column; gap: 14px; }
  
  .cr-head h3 { font-size: 24px; }
  .cr-metrics { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 22px 18px; }
  
  
  .cr-metric span { font-size: 13px; line-height: 1.6; }
   .cr-hub { display: none; }
  .cr-lanes { width: 100%; }
  .cr-family b { font-size: 15px; }
  .cr-family > span, .cr-lane-recent { font-size: 13px; }
  .cr-feed { grid-template-columns: minmax(0,1fr); }
  .cr-history-bars { gap: 2px; }
}
.boot {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center; padding: var(--s5);
  background: var(--bg-app);
  text-align: center;
  transition: opacity 200ms var(--ease);
}
.boot.is-leaving { opacity: 0; pointer-events: none; }
.boot.hidden { display: none; }

@media (max-width: 760px) {
  .stat-tiles { grid-template-columns: minmax(0, 1fr); }
}

/* Discovery network: two true data sources surrounding one shared site. */
.cr-observatory {
  padding: 31px clamp(18px, 3vw, 38px) 22px;
  background:
    radial-gradient(ellipse at 50% 37%, #688d9f13, transparent 33%),
    radial-gradient(ellipse at 0 0, #c8aa6e0d, transparent 46%), #171614;
}
.cr-observatory::before {
  opacity: .16;
  mask-image: linear-gradient(90deg, transparent 4%, black 45%, black 55%, transparent 96%);
}
.cr-head { align-items: flex-start; gap: 24px; }
.cr-head h3 { font: 500 clamp(27px, 2.8vw, 36px)/1.15 var(--display); letter-spacing: -.045em; }
.cr-intro { max-width: 59ch; margin: 10px 0 0; color: #bdb4a6; font-size: 14px; line-height: 1.7; }
.cr-motion-button { flex: none; margin-top: 3px; padding: 7px 13px; }
.cr-metrics {
  display: grid; grid-template-columns: minmax(0,1fr) minmax(160px,.72fr) minmax(0,1fr);
  gap: clamp(14px, 2.2vw, 34px); align-items: center; padding: 30px 0 28px;
  border-bottom: 1px solid #ffffff12;
}
.cr-metric { min-width: 0; display: grid; gap: 7px; }
.cr-metric-human { text-align: right; }
.cr-metric-kicker { color: #b9a77e !important; font: 600 11px var(--display) !important;
  letter-spacing: .17em; }
.cr-metric-number { display: flex; align-items: baseline; gap: 11px; min-width: 0; }
.cr-metric-human .cr-metric-number { justify-content: flex-end; }
.cr-metric-number b { color: var(--parchment); font: 500 clamp(34px, 3.4vw, 48px)/1 var(--display); letter-spacing: -.06em; }
.cr-metric-number span { color: #a99f91; font-size: 12px; white-space: normal; line-height: 1.4; }
.cr-metric-live { color: #b7afa2; font-size: 12px; }
.cr-metric-live b { color: #a9cfcc; font: 500 14px var(--display); }
.cr-metric-separator { display: inline-block; padding: 0 7px; color: #665d51; }
.cr-metric-bridge { display: flex; align-items: center; justify-content: center; gap: 7px;
  color: #8f8981; font: 600 9px var(--display); letter-spacing: .07em; white-space: nowrap; }
.cr-metric-bridge i { width: 12px; height: 1px; background: #7faea683; flex: none; }
.cr-bridge-center { color: #d1b982; font-size: 10px; }
.cr-network {
  position: relative; display: grid; grid-template-columns: minmax(0,1fr) 320px minmax(0,1fr);
  align-items: center; min-height: 516px; height: auto; margin: 0;
  padding: 31px 0 34px; border-bottom: 1px solid #ffffff12;
}
.cr-network::before { content: ""; position: absolute; inset: 18px 13%; pointer-events: none;
  background: radial-gradient(ellipse at center, #8ca5aa0d, transparent 61%);
  border-radius: 50%; }
.cr-connections { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible;
  z-index: 0; pointer-events: none; }
.cr-connections path { fill: none; stroke-width: 1.15; opacity: .23; vector-effect: non-scaling-stroke; }
.cr-connections path.is-active { opacity: .48; }
.cr-side { position: relative; z-index: 2; min-width: 0; }
.cr-machines { grid-column: 1; }
.cr-people { grid-column: 3; }
.cr-side-head { display: flex; justify-content: space-between; gap: 8px;
  padding: 0 8px 13px; color: #bfb3a2; font: 600 11px var(--display); letter-spacing: .14em; }
.cr-side-head span + span { color: #89867f; font: 12px var(--sans); letter-spacing: 0; }
.cr-lanes { width: 100%; }
.cr-lane { position: relative; height: 58px; margin: 2px 0; padding: 0 11px;
  border: 1px solid #ffffff0b; border-radius: 9px; background: #1c1d1cad;
  box-shadow: inset 0 1px 0 #ffffff05; }
.cr-machine-lanes .cr-lane { grid-template-columns: minmax(0,1fr) auto 5px; }
.cr-human-lanes .cr-lane { grid-template-columns: 5px minmax(0,1fr) auto; height: 70px; }
/* A broad, soft light travels around the card's perimeter without moving it. */
@property --cr-light-angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.cr-lane::after { content: ""; position: absolute; inset: -1px; padding: 2px;
  border-radius: inherit; pointer-events: none; opacity: 0; filter: blur(.6px);
  background: conic-gradient(from var(--cr-light-angle),
    transparent 0deg 45deg, color-mix(in srgb, var(--cr-color) 48%, transparent) 110deg,
    transparent 175deg 225deg, color-mix(in srgb, var(--cr-color) 24%, transparent) 290deg,
    transparent 350deg);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude; }
.cr-lane.is-active::after { opacity: .75; }
.cr-motion .cr-lane::after { transition: opacity 1.8s ease; transition-duration: 1.8s !important; }
.cr-motion .cr-lane.is-active::after { animation: cr-card-light 14s linear infinite;
  animation-duration: 14s !important; animation-delay: var(--cr-delay); }
.cr-machine-stale .cr-machine-lanes .cr-lane::after,
.cr-human-stale .cr-human-lanes .cr-lane::after { animation: none; opacity: 0; }
@keyframes cr-card-light { to { --cr-light-angle: 360deg; } }
.cr-lane.is-active { border-color: color-mix(in srgb, var(--cr-color) 31%, transparent);
  background: linear-gradient(90deg, color-mix(in srgb, var(--cr-color) 8%, transparent), #1c1d1cad 57%); }
.cr-human-lanes .cr-lane.is-active { background: linear-gradient(270deg, color-mix(in srgb, var(--cr-color) 8%, transparent), #1c1d1cad 57%); }
.cr-beacon { width: 5px; height: 5px; }
.cr-family { min-width: 0; }
.cr-family b { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cr-family > span { display: block; color: #aaa397; font-size: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cr-lane-count { min-width: 0; }
.cr-lane-count b { font-size: 16px; }
.cr-lane-count > span { font-size: 11px; color: #aaa397; }
.cr-human-lanes .cr-lane-count b { font-size: 18px; }
.cr-hub { position: relative; z-index: 3; grid-column: 2; right: auto; top: auto;
  justify-self: center; width: 238px; height: 260px; }
.cr-hub::before { inset: -35px; }
.cr-orbit { inset: 13px 13px 35px; }
.cr-orbit-inner { inset: 32px 32px 54px; }
.cr-core { width: 108px; height: 108px; margin-top: -19px; }
.cr-core img { width: 76px; height: 76px; }
.cr-hub-name { top: 206px; font-size: 14px; }
.cr-hub-note { top: 231px; font-size: 12px; }
.cr-mote { z-index: 2; top: 0; left: 0; offset-rotate: 0deg; offset-anchor: center; }
.cr-streams { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 28px;
  padding: 25px 0 26px; }
.cr-stream { min-width: 0; padding: 3px 19px 8px 0; }
.cr-stream + .cr-stream { border-left: 1px solid #ffffff12; padding: 3px 0 8px 28px; }
.cr-feed-head { align-items: center; padding-bottom: 11px; margin-bottom: 0; border-bottom: 1px solid #ffffff13; }
.cr-stream-kicker { display: block; margin-bottom: 3px; color: #b9a77e; font: 600 10px var(--display); letter-spacing: .17em; }
.cr-feed-head h4 { color: #e6ddce; font: 500 20px var(--display); letter-spacing: -.025em; }
.cr-feed { display: block; }
.cr-status { color: #a8c9bb; font-size: 12px; }
.cr-machine-stale .cr-stream:first-child .cr-status,
.cr-human-stale .cr-stream:last-child .cr-status { color: #dab680; }
.cr-machine-stale .cr-stream:first-child .cr-status::before,
.cr-human-stale .cr-stream:last-child .cr-status::before { background: #dab680; box-shadow: none; }
.cr-feed li { padding: 11px 1px; grid-template-columns: 5px minmax(0,1fr); gap: 12px; }
.cr-feed li + li { border-top-color: #ffffff0d; }
.cr-feed-body { min-width: 0; display: block; }
.cr-feed-meta b { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cr-feed-meta .cr-agent-name { color: #b8b2a8; font-size: 13px; font-weight: 400; }
.cr-feed-page { color: #b8b2a8; font-size: 13px; margin-top: 3px; }
.cr-human-arrival { grid-template-columns: 5px 30px minmax(0,1fr) !important; align-items: center !important; }
.cr-human-arrival .cr-feed-mark { align-self: center; margin: 0; }
.cr-human-arrival .an-thumb { width: 30px; height: 42px; }
.cr-human-arrival .cr-feed-meta b { color: #ded8cf; }
.cr-arrival-source { display: inline-flex; align-items: center; gap: 6px; max-width: 100%;
  color: #ada799; font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cr-arrival-source i { width: 4px; height: 4px; flex: none; border-radius: 50%; background: var(--cr-color); }
.cr-reveal { margin-top: 10px; border: 1px solid #ffffff16; border-radius: 18px;
  padding: 7px 13px; background: #ffffff04; color: #c5bbab; cursor: pointer; font: 13px var(--sans); }
.cr-reveal:hover { color: var(--parchment); border-color: var(--gilt-soft); }
.cr-reveal:focus-visible { outline: 2px solid #83b6f4; outline-offset: 3px; }
.cr-history { padding-top: 18px; }
.cr-history-bars { height: 57px; }
.cr-footer { margin-top: 17px; }
.cr-explainer { margin-top: 8px; max-width: 95ch; }
.cr-motion .cr-lane.is-active .cr-beacon { animation: cr-breathe 5s ease-in-out infinite;
  animation-duration: 5s !important; animation-delay: var(--cr-delay); }

/* Optional reader detail leaves the network geometry and motion untouched. */
.cr-machine-details { margin-top: 20px; border-top: 1px solid #ffffff12; padding-top: 13px; }
.cr-machine-details > summary, .cr-reader-group > summary { cursor: pointer; color: #c5bbab; font-size: 13px; }
.cr-machine-details > summary::marker { color: #95836a; }
.cr-detail-status { margin-left: 15px; color: #928c82; font-size: 11px; }
.cr-detail-note { max-width: 90ch; margin: 12px 0 16px; color: #a69e91; font-size: 12px; line-height: 1.7; }
.cr-reader-group { border-top: 1px solid #ffffff0d; }
.cr-reader-group > summary { padding: 12px 3px; }
.cr-reader-group > summary::marker { color: var(--cr-color); }
.cr-reader-group > summary b { color: var(--cr-color); font-weight: 500; }
.cr-reader-group > summary span { float: right; color: #aaa397; font-size: 12px; }
.cr-reader-row { padding: 12px 10px 14px; border-top: 1px solid #ffffff0b; }
.cr-reader-head { display: flex; gap: 15px; flex-wrap: wrap; align-items: baseline; }
.cr-reader-head b { color: #ded8cf; font-size: 14px; font-weight: 500; }
.cr-reader-stats { color: #b8b2a8; font-size: 12px; }
.cr-reader-head time { margin-left: auto; color: #aaa397; font-size: 12px; }
.cr-reader-routes, .cr-reader-latest, .cr-reader-path { display: block; margin-top: 5px; font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; }
.cr-reader-path { color: #a29889; }
.cr-reader-routes { color: #aaa397; }
.cr-reader-latest { color: #b9a77e; text-decoration: none; }
.cr-reader-latest:hover { color: var(--parchment); text-decoration: underline; }
.cr-reader-row > summary { cursor: pointer; list-style: none; }
.cr-reader-row > summary::before { content: "+"; color: #a99b84; width: 10px; }
.cr-reader-row[open] > summary::before { content: "−"; }
.cr-reader-purpose { display: block; margin-top: 9px; color: #c6a4ed; font-size: 12px; }
.cr-agent-purpose { display: block; margin-top: 2px; color: #a99eaf; font-size: 11px; }
.cr-purpose-details { margin-top: 16px; color: #c5bbab; font-size: 13px; }
.cr-purpose-details > summary { cursor: pointer; }
.cr-purpose-details > summary > span + span { float: right; color: #aaa397; font-size: 12px; }
.cr-purpose-body { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px 32px; padding: 16px 0 4px; }
.cr-purpose-item { display: flex; justify-content: space-between; gap: 12px; color: #b8b2a8; font-size: 12px; }
.cr-purpose-item b { color: #ded8cf; font-weight: 500; }
.an-accounting-values { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 9px 16px; max-width: 680px; font-size: 13px; }
.an-accounting-values dt { color: #b8b2a8; }
.an-accounting-values dd { margin: 0; font-variant-numeric: tabular-nums; }
@media (max-width: 600px) {
  .cr-purpose-details > summary > span + span { float: none; display: block; margin: 7px 0 0 18px; }
  .cr-purpose-body { grid-template-columns: minmax(0,1fr); }
}
.cr-machine-details summary:focus-visible, .cr-reader-latest:focus-visible { outline: 2px solid #83b6f4; outline-offset: 3px; }
@media (max-width: 450px) {
  .cr-reader-head { gap: 4px 12px; }
  .cr-reader-stats { flex-basis: 100%; order: 1; }
  .cr-detail-status { display: block; margin: 5px 0 0 16px; }
}

@media (max-width: 1060px) {
  .cr-metric-bridge { display: none; }
  .cr-metrics { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .cr-network { grid-template-columns: minmax(0,1fr) 240px minmax(0,1fr); }
  .cr-hub { width: 205px; height: 242px; }
  .cr-orbit { inset: 10px 10px 28px; }
  .cr-orbit-inner { inset: 28px 28px 46px; }
  .cr-hub-name { top: 197px; }
  .cr-hub-note { top: 219px; }
  .cr-family > span { font-size: 11px; }
  .cr-side-head span + span { display: none; }
}
@media (max-width: 760px) {
  .cr-head { flex-direction: column; gap: 15px; }
  .cr-metrics { gap: 20px; padding: 22px 0; }
  .cr-metric-number { flex-direction: column; gap: 3px; }
  .cr-metric-human .cr-metric-number { align-items: flex-end; }
  .cr-metric-number b { font-size: 38px; }
  .cr-metric-live { line-height: 1.7; }
  .cr-metric-separator { display: none; }
  .cr-metric-live b:nth-of-type(2) { margin-left: 6px; }
  .cr-network { display: flex; flex-direction: column; align-items: stretch;
    min-height: 0; padding: 22px 0 27px; }
  .cr-network::after { content: ""; position: absolute; top: 15%; bottom: 11%; left: 50%;
    border-left: 1px solid #a8b9b51c; pointer-events: none; }
  .cr-connections { display: none; }
  .cr-side { width: 100%; }
  .cr-side-head span + span { display: inline; }
  .cr-hub { display: grid; order: 0; align-self: center; width: 210px; height: 235px; margin: 11px 0; }
  .cr-machines { order: -1; }
  .cr-people { order: 1; }
  .cr-hub-name { top: 195px; }
  .cr-hub-note { top: 216px; }
  .cr-family > span { font-size: 11px; }
  .cr-streams { grid-template-columns: minmax(0,1fr); gap: 15px; }
  .cr-stream, .cr-stream + .cr-stream { border-left: 0; padding: 0; }
  .cr-stream + .cr-stream { border-top: 1px solid #ffffff12; padding-top: 20px; }
  .cr-feed { display: block; }
}
@media (max-width: 450px) {
  .cr-observatory { padding: 22px 15px 18px; }
  .cr-metrics { gap: 10px; }
  .cr-metric-number b { font-size: 34px; }
  .cr-metric-number span, .cr-metric-live { font-size: 11px; }
  .cr-side-head { padding-left: 4px; padding-right: 4px; }
  .cr-lane { padding: 0 9px; }
  .cr-family b { font-size: 13px; }
  .cr-family > span { font-size: 10px; }
  .cr-lane-count b { font-size: 14px; }
  .cr-history-axis span:nth-child(2) { display: none; }
}
