@font-face {
  font-family: Inter;
  src: url("/assets/inter.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --base: #0c0e10;
  --panel: #131619;
  --panel-high: #1b1e21;
  --ink: #f5f3ee;
  --muted: #aaaeb0;
  --dim: #8e9699;
  --line: #2e3337;
  --faint: #24292c;
  --copper: #ff9c70;
  --pulse: #f28554;
  --teal: #8cddc7;
  --rust: #ec9a90;
  --mono: "Cascadia Mono", Consolas, monospace;
  font-family: Inter, "Segoe UI", sans-serif;
  font-size: 14px;
  font-synthesis: none;
}
.cohort-weekly { margin-top: 18px; padding-top: 15px; border-top: 1px solid var(--line); }
.cohort-weekly h3 { margin-bottom: 7px; font-size: 1rem; }
.cohort-weekly p { margin: 5px 0; }
.guard-section { margin-top: 22px; border-top: 1px solid var(--line); padding-top: 16px; }
.guard-section h3, .guard-card header, .guard-card header div, .guard-notice, .guard-meta {
  display: flex; align-items: center; gap: 9px;
}
.guard-section h3 { font-size: 1.05rem; margin: 0 0 12px; }
.account-journal-part { padding: 12px 0; border-top: 1px solid var(--line); }
.account-journal-part h3 { margin: 2px 16px 9px; font-size: 1rem; }
.connection-panel + .connection-panel { margin-top: 16px; }
.guard-card { --signal: var(--muted); border: 1px solid var(--line); background: var(--base); padding: 16px; margin: 10px 0; border-radius: 10px; }
.guard-card.alert { --signal: var(--rust); border-left: 3px solid var(--signal); }
.guard-card.ok { --signal: var(--teal); }
.guard-card header { justify-content: space-between; flex-wrap: wrap; }
.guard-card header strong { font-family: var(--mono); }
.guard-card header b { color: var(--signal); font-size: .91rem; }
.guard-indicator { height: 8px; width: 8px; background: var(--signal); border-radius: 50%; }
.guard-card dl { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; margin: 16px 0 10px; }
.guard-card dt, .guard-meta, .guard-log time { font-size: .8rem; color: var(--muted); }
.guard-card dd { font-family: var(--mono); overflow-wrap: anywhere; margin: 4px 0 0; }
.guard-meta { justify-content: space-between; flex-wrap: wrap; }
.guard-log { list-style: none; padding: 8px 0; margin: 11px 0 0; border-top: 1px solid var(--line); }
.guard-log li { display: grid; grid-template-columns: 95px 1fr; gap: 8px; padding: 5px 0; font-size: .87rem; }
.guard-log time { font-family: var(--mono); }
.guard-card .link { margin-top: 6px; }
.guard-notice { color: var(--ink); border-left: 3px solid var(--rust); padding: 12px 14px; background: var(--panel-high); border-radius: 6px; margin-block: 12px; flex-wrap: wrap; }
.guard-notice > svg { color: var(--rust); }
.guard-notice small { display: block; margin-top: 4px; color: var(--muted); }
.guard-notice a { margin-left: auto; }
.news-sources { margin: 0 16px 12px; padding-top: 9px; color: var(--muted); font-size: .85rem; }
.news-sources summary { cursor: pointer; width: fit-content; }
.news-sources ul { list-style: none; padding: 0; }
.news-sources li { display:flex; justify-content:space-between; flex-wrap:wrap; gap:4px 12px; padding:7px 0; border-bottom:1px solid var(--line); }
.news-sources strong { color: var(--ink); font-weight: 550; }
@media(max-width:650px) { .guard-card dl { grid-template-columns: repeat(2,minmax(0,1fr)); } }
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100vh;
  background: var(--base);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  touch-action: manipulation;
}
button {
  cursor: pointer;
  color: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.44;
}
button:focus-visible,
input:focus-visible,
select:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 3px;
}
svg {
  flex: none;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-weight: 565;
}
button,
select {
  border-radius: 5px;
}
code,
time,
.eyeline,
.legend,
.map-context,
.dialog-label,
.path small,
.room-cap {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
}
.skip {
  position: fixed;
  top: -60px;
  left: 20px;
  padding: 10px 18px;
  z-index: 10;
  background: var(--ink);
  color: var(--base);
}
.skip:focus {
  top: 4px;
}
.skip:not(:focus) {
  clip-path: inset(50%);
}
#mast {
  border-bottom: 1px solid var(--line);
  background: #101214;
}
.mast-inner,
#content {
  width: min(1512px, 100%);
  margin: auto;
  padding-inline: clamp(18px, 4.2vw, 70px);
}
.mast-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  height: 66px;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 22px;
  letter-spacing: -1.35px;
}
.wordmark strong {
  font-weight: 720;
}
.wordmark span {
  font-weight: 435;
}
.wordmark img {
  width: 32px;
  height: 32px;
}
.mast-inner nav {
  display: flex;
  align-items: stretch;
  height: 100%;
  gap: 26px;
}
.mast-inner nav a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 540;
}
.mast-inner nav a[aria-current] {
  color: var(--ink);
}
.mast-inner nav a[aria-current] svg {
  color: var(--copper);
}
.mast-inner nav a[aria-current]:after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--copper);
}
.mast-inner nav a:hover {
  color: var(--ink);
}
.account,
.soft,
.primary,
.button,
.link,
.icon-only {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 36px;
  border: 1px solid transparent;
  text-align: center;
  font-size: 12px;
  font-weight: 570;
  background: transparent;
}
.account {
  color: #d8dddd;
  gap: 9px;
  padding: 0 13px;
  background: #1a1d20;
  border-color: var(--line);
}
.account span {
  max-width: 170px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.primary {
  min-height: 42px;
  padding: 0 19px;
  font-weight: 650;
  background: #fb9768;
  color: #24160e;
  border-color: #ffac86;
  border-radius: 6px;
  box-shadow:
    inset 0 1px #ffc3a73b,
    0 2px 5px #0003;
}
.primary:hover:enabled {
  background: #ffac86;
}
.soft,
.button,
.icon-only {
  padding: 0 13px;
  background: #1c2023;
  border-color: #383e41;
}
.soft:hover:enabled,
.button:hover:enabled,
.account:hover,
.icon-only:hover {
  background: #292d30;
}
.link {
  min-height: 30px;
  padding: 0;
  color: #c7cdcf;
  font-size: 11.5px;
}
.link:hover:enabled,
.history-link:hover {
  color: var(--copper);
}
.icon-only {
  width: 34px;
  padding: 0;
}
#content {
  padding-bottom: 65px;
  min-width: 0;
}
#content:focus {
  outline: 0;
}
.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 26px;
  padding: clamp(29px, 3.1vw, 49px) 0 25px;
}
.eyeline {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #c4c7c7;
  letter-spacing: 0.35px;
  font-size: 11px;
}
.eyeline > i,
.tag i,
.legend i,
.agent i,
.candidate-tabs i {
  background: var(--dim);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
  flex: none;
}
.eyeline > i {
  background: var(--copper);
  width: 7px;
  height: 7px;
  box-shadow: 0 0 0 3px #ff9c7014;
}
.eyeline > span {
  color: #5b6164;
}
.hero h1 {
  margin: 11px 0 7px;
  font-size: clamp(39px, 4.1vw, 62px);
  line-height: 1.03;
  letter-spacing: -0.065em;
  font-weight: 515;
}
.hero h1 span {
  color: var(--copper);
}
.hero p {
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
}
.hero-actions {
  display: grid;
  justify-items: center;
  gap: 9px;
}
.history-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--dim);
  font-size: 11px;
}
.market-strip {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.3vw, 42px);
  padding: 16px 21px;
  margin: 0 0 19px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(96deg, #1a1d1e, #141719 65%);
  min-height: 84px;
}
.market-instrument {
  display: flex;
  align-items: center;
  gap: 12px;
}
.market-instrument strong {
  display: block;
  font-size: 19px;
  letter-spacing: -0.7px;
}
.market-instrument small,
.quote-stats small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  margin-top: 4px;
}
.market-badge {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  border: 1px solid #544235;
  color: #ffc49a;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 25%, #48352a, #24201c 80%);
}
.market-chart {
  flex: 1;
  width: 12%;
  min-width: 75px;
  max-width: 245px;
  height: 47px;
  overflow: visible;
}
.grid-line {
  stroke: #353934;
  fill: none;
  stroke-dasharray: 1 6;
}
.c-up {
  color: var(--teal);
}
.c-down {
  color: #dd976e;
}
.c-up path,
.c-down path {
  stroke: currentColor;
  stroke-width: 0.9;
}
.c-up rect,
.c-down rect {
  fill: currentColor;
}
.no-chart {
  flex: 1;
  color: var(--dim);
  font: 10px var(--mono);
}
.quote-stats {
  display: flex;
  justify-content: space-between;
  gap: clamp(12px, 2vw, 34px);
  flex: 2;
}
.quote-stats small {
  margin: 0 0 7px;
}
.quote-stats b {
  font: 560 13px var(--mono);
  color: #e6e8e6;
  white-space: nowrap;
}
.quote-stats .positive {
  color: var(--teal);
}
.quote-stats .negative {
  color: var(--rust);
}
.interval .soft {
  font: 12px var(--mono);
  white-space: nowrap;
  min-height: 33px;
}
.work-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.55fr) minmax(272px, 1fr);
  gap: 17px;
  margin-bottom: 17px;
  align-items: stretch;
}
.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  min-width: 0;
}
.section-title {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 17px;
  border-bottom: 1px solid var(--faint);
}
.section-title h2 {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 16px;
  line-height: 1.25;
  letter-spacing: -0.48px;
}
.section-title h2 svg {
  color: #b3bcbd;
}
.tag {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  font: 10px var(--mono);
  line-height: 1.35;
  padding: 4px 7px;
  border: 1px solid #363d40;
  border-radius: 4px;
  color: #c5c9c9;
  background: #202427;
}
.tag i {
  width: 5px;
  height: 5px;
  background: currentColor;
}
.tag.green {
  color: var(--teal);
  background: #142724;
  border-color: #2a4941;
}
.tag.amber {
  color: var(--copper);
  background: #2f221b;
  border-color: #53392a;
}
.tag.red {
  color: #f4aaa3;
  background: #2c1c1e;
  border-color: #553539;
}
.map-context,
.map-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 17px;
  font-size: 10px;
  color: #c6cccb;
}
.map-context {
  min-height: 37px;
  border-bottom: 1px solid #2d303146;
  background: #16191b;
}
.map-context > span {
  display: flex;
  align-items: center;
  gap: 7px;
}
.map-context svg {
  color: var(--copper);
}
.map-quiet {
  color: #9aa0a1;
}
.candidate-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.candidate-tabs button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font: 10px var(--mono);
  border: 1px solid transparent;
  background: transparent;
  padding: 4px 7px;
  color: #a5aaa9;
}
.candidate-tabs button[aria-pressed="true"] {
  background: #2b2c2a;
  border-color: #524438;
  color: #f6dfd1;
}
.candidate-tabs i {
  width: 5px;
  height: 5px;
}
.candidate-tabs .amber,
.legend .working {
  background: var(--copper);
}
.candidate-tabs .green,
.legend .sealed {
  background: var(--teal);
}
.candidate-tabs .red,
.legend .gated {
  background: var(--rust);
}
.network {
  height: clamp(282px, 20vw, 323px);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: #101315;
  background-image:
    radial-gradient(ellipse at 8% 24%, #9a5c3028, transparent 38%),
    radial-gradient(ellipse at 93% 66%, #3b7c6c18, transparent 38%),
    radial-gradient(#62676155 0.8px, transparent 0.9px);
  background-size:
    auto,
    auto,
    14px 14px;
}
.network:before,
.network:after {
  content: "";
  position: absolute;
  inset: 6px;
  pointer-events: none;
  border: 1px solid #83888744;
  clip-path: polygon(
    0 0,
    10px 0,
    10px 1px,
    1px 1px,
    1px 10px,
    0 10px,
    0 0,
    100% 0,
    100% 10px,
    calc(100% - 1px) 10px,
    calc(100% - 1px) 1px,
    calc(100% - 10px) 1px,
    calc(100% - 10px) 0,
    100% 0
  );
}
.network:after {
  transform: rotate(180deg);
}
.wires {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.wire,
.shadowwire {
  fill: none;
  stroke: #667170;
  stroke-width: 1.2;
}
.wire.sealed {
  stroke: #6c9d8b;
}
.wire.gated {
  stroke: #aa726b;
}
.wire.working {
  stroke: #f6915d;
  stroke-dasharray: 7 5;
  stroke-width: 1.7;
  animation: transfer 1.5s linear infinite;
}
.shadowwire {
  stroke: #68696d;
  stroke-dasharray: 2 4;
}
.station-room {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 20%;
  height: 22%;
  min-height: 62px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6px clamp(6px, 0.65vw, 12px);
  background: linear-gradient(114deg, #22272a, #1a1d1f);
  border: 1px solid #464e50;
  border-radius: 6px;
  box-shadow: 0 3px 8px #0005;
}
.station-room::before {
  content: "";
  position: absolute;
  top: 52%;
  left: -3px;
  width: 4px;
  height: 4px;
  background: #141819;
  border: 1px solid #717c7d;
  border-radius: 50%;
}
.station-room::after {
  content: "";
  position: absolute;
  top: 52%;
  right: -3px;
  width: 4px;
  height: 4px;
  background: #151819;
  border: 1px solid #717c7d;
  border-radius: 50%;
}
.room-cap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #a0a8a7;
  font-size: 8.5px;
  line-height: 1.1;
}
.room-cap svg {
  height: 11px;
  width: 11px;
  color: #b4bebb;
}
.station-room h3 {
  font-size: clamp(10.5px, 0.92vw, 14px);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.03em;
  margin: 3px 0 5px;
}
.agents {
  display: flex;
  gap: 4px;
}
.agent {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 3px;
  min-width: 0;
  background: #14181a;
  color: #c5cdcb;
  border: 1px solid #41494b;
  border-radius: 3px;
  padding: 2px 4px;
  font: 9px var(--mono);
  line-height: 1.1;
}
.agent i {
  width: 4px;
  height: 4px;
  background: #747d7d;
}
.agent:hover {
  color: white;
  background: #333a3b;
  border-color: #7d8581;
}
.agent.sealed i {
  background: var(--teal);
}
.agent.gated i {
  background: var(--rust);
}
.agent.working {
  color: var(--copper);
  border-color: #a56846;
}
.agent.working i {
  background: var(--copper);
  animation: lamp 1.35s ease-in-out infinite;
}
.agent.skipped {
  color: #9aa4a4;
}
.station-room.working {
  border-color: #d4885e;
  background: linear-gradient(110deg, #443125, #251f1b);
  box-shadow: 0 0 18px #d181451f;
}
.station-room.sealed {
  border-color: #4b7266;
  background: linear-gradient(110deg, #26322e, #1b2321);
}
.station-room.gated {
  border-color: #a36c65;
  background: linear-gradient(110deg, #382b2b, #282122);
}
.shadow-label {
  position: absolute;
  left: 2%;
  top: 63%;
  font: 9px var(--mono);
  color: #9ba3a1;
  display: flex;
  align-items: center;
  gap: 5px;
}
.map-footer {
  border-top: 1px solid var(--line);
  min-height: 36px;
  color: var(--dim);
  font: 9px var(--mono);
}
.legend {
  display: flex;
  align-items: center;
  gap: 12px;
}
.legend span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.legend i {
  width: 5px;
  height: 5px;
}
.route-panel {
  display: flex;
  flex-direction: column;
}
.path {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: space-between;
  list-style: none;
  margin: 0;
  padding: 12px 18px 14px;
}
.path li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 40px;
}
.path li > i {
  display: grid;
  place-items: center;
  position: relative;
  z-index: 1;
  width: 12px;
  height: 12px;
  flex: none;
  border: 1px solid #485154;
  border-radius: 50%;
  background: var(--panel);
}
.path li:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 5.5px;
  top: 55%;
  height: 110%;
  border-left: 1px solid #394144;
}
.path li > div {
  display: grid;
  grid-template-columns: 18px 1fr auto;
  align-items: center;
  gap: 5px;
  flex: 1;
}
.path small {
  color: #899391;
  font-size: 9px;
}
.path strong {
  font-weight: 570;
  font-size: 12px;
}
.path li span {
  font-size: 10px;
  color: var(--dim);
  text-align: right;
}
.path li.green i {
  background: #28453b;
  border-color: #598573;
  color: #a4eacd;
}
.path li.red i {
  background: #a66a61;
  border-color: #d99083;
}
.path li.amber i {
  background: #976342;
  border-color: #d38b57;
}
.path .red span {
  color: var(--rust);
}
.path .green span {
  color: var(--teal);
}
.route-panel > .link,
.route-panel .foot-info {
  margin: auto 17px 11px;
}
.foot-info {
  display: flex;
  gap: 12px;
  font-size: 11px;
  color: var(--dim);
}
.subtabs {
  display: flex;
  gap: 14px;
  padding: 0 17px;
  border-bottom: 1px solid var(--faint);
}
.subtabs button {
  padding: 9px 0;
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  color: var(--dim);
  font-size: 12px;
}
.subtabs button[aria-pressed="true"] {
  border-color: var(--copper);
  color: var(--ink);
}
.post-list,
.news-list {
  padding: 0 17px;
}
.post {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 15px 0;
}
.post + .post,
.news-item + .news-item {
  border-top: 1px solid var(--faint);
}
.avatar-code {
  flex: none;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid #5b594a;
  border-radius: 6px;
  color: #ebc596;
  background: #2c2b25;
  font: 11px var(--mono);
}
.post > div {
  min-width: 0;
}
.post header,
.news-item header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.post header b {
  font-size: 12px;
}
.post p,
.dialog-body p {
  color: #c5cbca;
  line-height: 1.6;
  margin: 8px 0;
  overflow-wrap: anywhere;
}
.findings {
  padding-left: 18px;
  color: #ddb3a9;
  font-size: 11px;
  line-height: 1.5;
}
.findings:empty {
  display: none;
}
.findings span {
  display: block;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.quiet-box,
.blank {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  padding: 28px 12px;
  text-align: center;
  color: var(--dim);
  line-height: 1.6;
  font-size: 12px;
}
.quiet-box svg,
.blank svg {
  color: #929a98;
}
.news-item {
  padding: 13px 0;
}
.news-item header {
  font-size: 10px;
  color: #b4bab8;
}
.news-item header span {
  font-weight: 560;
  color: #e3b396;
}
.news-item a,
.news-item > strong {
  display: block;
  margin-top: 5px;
  line-height: 1.45;
  font-size: 12px;
  font-weight: 520;
  overflow-wrap: anywhere;
}
.news-item a:hover {
  color: var(--copper);
}
.news-item a svg {
  vertical-align: middle;
  color: var(--dim);
}
.news-item > small {
  font-size: 9px;
  color: var(--dim);
  display: block;
  margin-top: 4px;
}
.snapshot-button {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 12px 16px;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: #191d1f;
  color: var(--muted);
  font-size: 11px;
}
.snapshot-button code {
  margin-left: auto;
  color: #c6cec9;
}
.error,
.readout {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #e8a6a0;
  line-height: 1.5;
  font-size: 12px;
  padding: 9px 0;
  margin-bottom: 12px;
}
.list-panel .error,
.connection-panel > .error {
  padding-inline: 18px;
}
.blank {
  padding: 50px 16px;
}
.blank h3 {
  font-size: 16px;
  color: var(--ink);
}
.run-row {
  display: grid;
  grid-template-columns: 34px minmax(135px, 1fr) minmax(70px, auto) minmax(90px, 150px) 18px;
  gap: 15px;
  align-items: center;
  text-align: left;
  background: transparent;
  border: 0;
  border-radius: 0;
  border-top: 1px solid var(--faint);
  width: 100%;
  padding: 15px 18px;
}
.run-row:hover {
  background: #1d2123;
}
.history-entry {
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  border-top:1px solid var(--faint);
}
.history-entry .run-row { border-top:0; }
.history-remove {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  margin-right:14px;
  padding:7px 10px;
  min-height:36px;
  color:var(--muted);
  background:transparent;
  border:1px solid var(--line);
  border-radius:4px;
  font-size:12px;
}
.history-remove:enabled:hover, .history-remove:enabled:focus-visible { color:#ffb6a4; border-color:#aa7669; }
.history-remove:disabled { opacity:.55; }
.history-remove-reason { grid-column:1/-1; padding:0 16px 9px; color:var(--muted); font-size:12px; }
.remove-run-actions { display:flex; gap:8px; justify-content:flex-end; flex-wrap:wrap; }
.remove-run-actions .confirm-remove { background:#713e34; color:#fff3eb; border:1px solid #a56859; }
.remove-run-actions .confirm-remove:hover { background:#834438; }
.run-row .tag {
  justify-self: start;
}
.row-icon {
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 5px;
  display: grid;
  place-items: center;
  color: var(--copper);
  background: #23201c;
}
.run-who strong,
.run-who small {
  display: block;
}
.run-who strong {
  font-size: 13px;
}
.run-who small,
.run-row time {
  font-size: 10px;
  color: var(--dim);
  margin-top: 4px;
  overflow-wrap: anywhere;
}
.connection-panel {
  max-width: 750px;
}
.connection-content {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 23px 20px 8px;
}
.connection-logo {
  display: grid;
  place-items: center;
  width: 61px;
  height: 61px;
  flex: none;
  border-radius: 12px;
  background: #2f251e;
  border: 1px solid #574133;
  color: var(--copper);
}
.connection-content h3 {
  font-size: 20px;
  letter-spacing: -0.6px;
}
.connection-content p {
  line-height: 1.6;
  color: var(--muted);
  font-size: 12px;
  margin: 6px 0 4px;
}
.detail-rows {
  margin: 12px 0;
  font-size: 12px;
}
.detail-rows div {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 15px;
  padding: 9px 0;
  border-top: 1px solid var(--faint);
}
.detail-rows dt {
  color: var(--muted);
}
.detail-rows dd {
  margin: 0;
  text-align: right;
  overflow-wrap: anywhere;
}
.connection-panel > .detail-rows,
.connection-panel > .controls,
.connection-panel > .access-note {
  margin: 12px 20px 18px;
}
.controls {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
}
dialog {
  width: min(560px, calc(100vw - 28px));
  max-height: 86vh;
  padding: 20px 23px 24px;
  border: 1px solid #515456;
  border-radius: 10px;
  background: #181b1d;
  color: var(--ink);
  box-shadow: 0 28px 120px #0009;
  scrollbar-width: thin;
}
dialog::backdrop {
  background: #060709b8;
  backdrop-filter: blur(4px);
}
dialog > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.dialog-label {
  font-size: 11px;
  color: var(--copper);
}
dialog h2 {
  margin: 7px 0 18px;
  font-size: 28px;
  letter-spacing: -1.2px;
  line-height: 1.15;
}
.dialog-body h3 {
  margin: 19px 0 8px;
  font-size: 14px;
}
.dialog-body form {
  display: grid;
  gap: 12px;
}
.dialog-body form label {
  display: grid;
  gap: 6px;
  color: #dce0df;
  font-size: 12px;
}
.dialog-body input,
.dialog-body select {
  display: block;
  min-width: 0;
  width: 100%;
  height: 38px;
  padding: 0 10px;
  background: #111416;
  border: 1px solid #3a4143;
  border-radius: 4px;
  color: #eceeea;
}
.dialog-body input:disabled {
  opacity: 0.63;
}
.dialog-body form .primary {
  justify-self: start;
}
.dialog-body form > .link {
  justify-self: start;
}
.dialog-body .field-note,
.dialog-body form small {
  color: var(--dim);
  font-size: 11px;
  line-height: 1.5;
}
.two-input {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.dialog-body .candle-settings label {
  color: var(--ink);
  font-weight: 600;
  display: grid;
  grid-template-rows: 1fr auto;
}
.dialog-body .candle-settings .field-note {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.mode {
  margin: 0;
  border: 0;
  padding: 0;
  display: grid;
  gap: 7px;
}
.mode legend {
  font-size: 12px;
  margin-bottom: 8px;
}
.launch-frequency { display:flex; flex-wrap:wrap; gap:6px; margin:0; padding:0; border:0; }
.launch-frequency legend { margin-bottom:6px; font-size:.82rem; color:var(--muted); }
.news-feed-section h3 { font-size:.94rem; margin:12px 16px 5px; }
.news-feed-empty { color:var(--muted); font-size:.87rem; }
.dialog-body .launch-frequency label { display:flex; flex-direction:row; align-items:center; gap:7px; border:1px solid var(--line); border-radius:4px; padding:8px 11px; cursor:pointer; }
.launch-frequency label:has(:checked) { color:var(--ink); background:#30271f; border-color:#b78461; }
.dialog-body .launch-frequency input { width:15px; height:15px; padding:0; margin:0; accent-color:var(--copper); }
.mode label {
  display: flex !important;
  align-items: flex-start;
  gap: 9px !important;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 5px;
}
.mode label:has(:checked) {
  border-color: #9f6b4e;
  background: #2c221e;
}
.mode input {
  width: 16px;
  height: 16px;
  padding: 0;
  margin: 1px 0 0;
  flex: none;
  accent-color: var(--copper);
}
.mode strong,
.mode small {
  display: block;
}
.mode small {
  margin-top: 4px;
}
.form-error:empty,
.access-note:empty {
  display: none;
}
.dialog-body .form-error {
  color: var(--rust);
  margin: 0;
}
.dialog-body .access-note {
  color: #d3c1ac;
  font-size: 12px;
  margin: 0;
}
.access-note a {
  color: var(--copper);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.report-head {
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--muted);
  font-size: 12px;
}
.raw {
  margin: 12px 0;
  color: #bdc6c3;
  border: 1px solid var(--line);
  border-radius: 5px;
  font-size: 12px;
}
.raw summary {
  padding: 10px;
  cursor: pointer;
}
.raw pre {
  padding: 12px;
  margin: 0;
  max-height: 320px;
  overflow: auto;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  background: #101315;
  border-top: 1px solid var(--line);
  font: 11px/1.5 var(--mono);
}
.event-list {
  list-style: none;
  padding: 0;
}
.event-list li {
  display: grid;
  grid-template-columns: 61px minmax(60px, 0.8fr) minmax(100px, 1.4fr);
  gap: 10px;
  align-items: baseline;
  padding: 6px 0;
  border-bottom: 1px solid var(--faint);
  font-size: 11px;
}
.event-list time {
  color: var(--dim);
}
.event-list b {
  font-weight: 550;
  overflow-wrap: anywhere;
}
.event-list span {
  color: #c0c7c5;
  overflow-wrap: anywhere;
}
#toast {
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translate(-50%, 12px);
  opacity: 0;
  pointer-events: none;
  transition: 0.15s;
  background: #282d2d;
  color: #f2f3ed;
  border: 1px solid #6a6d64;
  border-radius: 6px;
  box-shadow: 0 4px 25px #0006;
  padding: 11px 15px;
  font-size: 12px;
  z-index: 10;
  text-align: center;
  max-width: 92vw;
}
#toast:empty {
  display: none;
}
#toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
@keyframes transfer {
  to {
    stroke-dashoffset: -24;
  }
}
@keyframes lamp {
  50% {
    box-shadow: 0 0 8px 2px #f88d5755;
  }
}
@media (max-width: 1120px) {
  .work-grid {
    grid-template-columns: minmax(0, 2.2fr) minmax(240px, 1fr);
    gap: 12px;
  }
  .mast-inner,
  #content {
    padding-inline: 23px;
  }
  .network {
    height: 278px;
  }
  .station-room {
    padding: 5px 6px;
  }
  .room-cap {
    font-size: 8px;
  }
  .agent {
    font-size: 8px;
    padding: 2px 3px;
  }
  .agents {
    gap: 2px;
  }
  .market-strip {
    gap: 17px;
  }
  .path {
    padding-inline: 12px;
  }
  .path li {
    gap: 7px;
  }
  .path li > div {
    grid-template-columns: 14px 1fr auto;
  }
  .path strong {
    font-size: 11px;
  }
  .path li span {
    font-size: 9px;
  }
}
@media (max-width: 900px) {
  .work-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .network {
    height: 290px;
  }
  .station-room {
    padding: 6px 9px;
  }
  .room-cap {
    font-size: 9px;
  }
  .station-room h3 {
    font-size: 12px;
  }
  .agent {
    font-size: 9px;
  }
  .path {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 7px 18px;
  }
  .path li > div {
    grid-template-columns: 1fr;
  }
  .path small {
    display: none;
  }
  .path li span {
    text-align: left;
  }
  .path li:not(:last-child)::before {
    display: none;
  }
  .route-panel > .link {
    margin-left: 15px;
  }
  .market-chart {
    max-width: 110px;
  }
  .quote-stats {
    gap: 14px;
  }
  .news .news-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
  }
  .news-item + .news-item {
    border: none;
  }
  .news-item header {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }
}
@media (max-width: 665px) {
  .mast-inner,
  #content {
    padding-inline: 14px;
  }
  .mast-inner {
    height: auto;
    display: grid;
    gap: 0;
    grid-template-columns: 1fr auto;
    padding-top: 11px;
  }
  .wordmark {
    font-size: 20px;
  }
  .wordmark img {
    width: 28px;
    height: 28px;
  }
  .account {
    min-height: 30px;
    padding: 0 9px;
  }
  .mast-inner nav {
    grid-column: 1/-1;
    grid-row: 2;
    justify-content: space-between;
    gap: 6px;
    min-height: 42px;
    margin-top: 4px;
  }
  .mast-inner nav a {
    font-size: 12px;
  }
  .hero {
    padding: 25px 0 16px;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 14px;
  }
  .hero h1 {
    font-size: 41px;
  }
  .hero p {
    font-size: 12px;
  }
  .hero-actions {
    display: flex;
    align-items: center;
    gap: 13px;
  }
  .eyeline {
    font-size: 10px;
  }
  .primary {
    min-height: 38px;
    padding: 0 13px;
  }
  .market-strip {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(85px, 0.7fr) auto;
    gap: 10px 8px;
    padding: 13px;
    margin-bottom: 12px;
  }
  .market-instrument {
    gap: 7px;
  }
  .market-badge {
    height: 30px;
    width: 30px;
  }
  .market-badge svg {
    width: 17px;
  }
  .market-instrument strong {
    font-size: 15px;
  }
  .market-instrument small {
    font-size: 9px;
  }
  .market-chart {
    max-width: none;
    width: 100%;
    height: 37px;
  }
  .interval {
    grid-column: 3;
    grid-row: 1;
  }
  .interval .soft {
    padding: 0 6px;
    font-size: 10px;
  }
  .quote-stats {
    grid-column: 1/-1;
    grid-row: 2;
    gap: 9px;
    padding-top: 9px;
    border-top: 1px solid var(--faint);
    flex-wrap: wrap;
  }
  .quote-stats b {
    font-size: 10px;
  }
  .quote-stats small {
    font-size: 9px;
    margin-bottom: 4px;
  }
  .work-grid {
    gap: 12px;
    margin-bottom: 12px;
  }
  .section-title {
    padding: 9px 12px;
    min-height: 45px;
  }
  .section-title h2 {
    font-size: 15px;
  }
  .map-context,
  .map-footer {
    padding: 7px 12px;
  }
  .map-context {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .map-footer {
    flex-wrap: wrap;
  }
  .map-context .map-quiet {
    font-size: 9px;
  }
  .legend {
    gap: 7px;
  }
  .network {
    height: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 22px;
    padding: 15px 13px;
  }
  .station-room {
    position: relative;
    inset: auto;
    width: auto;
    height: auto;
    min-height: 64px;
  }
  .station-room:nth-of-type(odd):not(:last-child):after {
    right: -23px;
    top: 50%;
    width: 22px;
    height: 0;
    border: 0;
    border-top: 1px solid #65716c;
    border-radius: 0;
  }
  .station-room.gated:after {
    border-color: var(--rust);
  }
  .station-room h3 {
    font-size: 13px;
  }
  .station-room:last-child {
    grid-column: 1/-1;
  }
  .wires,
  .shadow-label {
    display: none;
  }
  .agent {
    padding: 4px 6px;
    font-size: 10px;
  }
  .agents {
    gap: 4px;
  }
  .path {
    grid-template-columns: repeat(2, 1fr);
    gap: 2px 13px;
  }
  .news .news-list {
    display: block;
  }
  .news-item + .news-item {
    border-top: 1px solid var(--line);
  }
  .news-item header {
    flex-direction: row;
  }
  .run-row {
    grid-template-columns: 26px minmax(0, 1fr) auto;
    gap: 5px 10px;
    padding: 12px;
  }
  .run-who {
    grid-column: 2;
  }
  .run-row time {
    grid-column: 2;
    grid-row: auto;
    font-size: 9px;
  }
  .run-row .tag {
    grid-column: 3;
    grid-row: 1;
  }
  .run-row > svg {
    display: none;
  }
  .history-remove { min-width:42px; min-height:42px; padding:8px; margin-right:6px; }
  .history-remove span { display:none; }
  .row-icon {
    width: 26px;
    height: 26px;
  }
  .connection-content {
    padding: 15px 13px;
    gap: 10px;
  }
  .connection-logo {
    width: 36px;
    height: 36px;
    border-radius: 6px;
  }
  .connection-logo svg {
    width: 23px;
  }
  .connection-content code {
    overflow-wrap: anywhere;
  }
  .snapshot-button {
    flex-wrap: wrap;
  }
  .snapshot-button code {
    margin-left: 0;
  }
  .dialog-body .controls {
    flex-wrap: wrap;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
.ticker-chart {
  flex: 1;
  max-width: 210px;
  min-width: 80px;
}
.ticker-chart .market-chart {
  display: block;
  width: 100%;
  max-width: none;
  height: 36px;
  min-width: 0;
}
.ticker-chart > small {
  display: block;
  font: 8px var(--mono);
  color: var(--dim);
  text-align: right;
}
.cohort-panel {
  margin-top: 16px;
}
.cohort-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 51px;
  padding: 12px 17px;
  color: var(--ink);
  border: 0;
  background: transparent;
  text-align: left;
}
.cohort-toggle span {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 560;
}
.cohort-toggle small {
  margin-left: auto;
  color: var(--dim);
}
.cohort-toggle[aria-expanded="true"] > svg {
  transform: rotate(90deg);
}
.cohort-body {
  border-top: 1px solid var(--line);
  padding: 13px 17px;
}
.cohort-body p {
  color: var(--muted);
  font-size: 12px;
  margin: 1px 0 12px;
}
.review-note {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  color: var(--dim);
  font: 10px var(--mono);
}
.cohort-rooms {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.cohort-rooms > div {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 5px;
}
.cohort-rooms b,
.cohort-rooms span {
  display: block;
  font-size: 11px;
  margin: 6px 0;
}
.cohort-rooms code {
  color: var(--copper);
}
.cohort-rooms span {
  color: var(--muted);
}
@media (max-width: 665px) {
  .ticker-chart {
    width: 100%;
    min-width: 0;
  }
  .cohort-rooms {
    grid-template-columns: 1fr 1fr;
  }
  .quote-stats b {
    white-space: normal;
    word-break: break-word;
  }
}

.trades-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  color: #e3d3c8;
  font-size: 12px;
  font-weight: 530;
  padding: 5px 1px;
}
.trades-link:hover {
  color: var(--copper);
}
.handoff-map {
  --busline: #424b50;
  --gate: #b5c5c6;
  --map-ink: #dedfda;
  background: radial-gradient(ellipse at 90% 0, #23313638, transparent 63%), #14191c;
}
.handoff-head,
.handoff-row {
  display: grid;
  grid-template-columns: minmax(0, 1.48fr) minmax(134px, 0.78fr) minmax(115px, 0.68fr);
  gap: 16px;
}
.handoff-head {
  color: #b6c1c2;
  background: #192125;
  font: 10px/1.35 var(--mono);
  padding: 11px 16px;
  border-bottom: 1px solid #394044;
}
.handoff-head span:nth-child(2) {
  padding-left: 17px;
}
.handoff-row {
  position: relative;
  padding: 13px 16px;
  align-items: center;
  border-bottom: 1px solid #2b3236;
}
.handoff-row:last-child {
  border-bottom: 0;
}
.handoff-row.working {
  background: linear-gradient(92deg, #362720aa, #1b1c1e 60%, transparent);
  box-shadow: inset 3px 0 var(--copper);
}
.handoff-row.gated {
  box-shadow: inset 3px 0 #e18d87;
}
.dept-heading {
  display: flex;
  align-items: center;
  gap: 9px;
}
.dept-icon {
  height: 31px;
  width: 31px;
  display: grid;
  place-items: center;
  flex: none;
  border: 1px solid #334247;
  border-radius: 6px;
  color: #bdd1d1;
  background: #1c282c;
}
.dept-heading h3 {
  font-size: 15px;
  font-weight: 580;
  letter-spacing: -0.4px;
  color: var(--ink);
  line-height: 1.18;
}
.dept-heading small,
.next-cell span {
  display: block;
  margin-bottom: 3px;
  color: #a0acad;
  font-size: 10px;
  line-height: 1.22;
}
.author-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 7px;
}
.actor-chip.agent {
  position: static;
  min-height: 23px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 5px;
  background: #20272a;
  border: 1px solid #384146;
  border-radius: 4px;
  color: #d1d8d7;
  font-size: 10px;
  font-weight: 450;
  line-height: 1.15;
}
.actor-chip.agent code {
  font-weight: 600;
  font-size: 10px;
  color: #e6eeeb;
}
.actor-chip.agent span {
  font-size: 10px;
}
.actor-chip.agent i {
  width: 4px;
  height: 4px;
  background: #819192;
}
.actor-chip.agent.working i,
.reviewer.working i {
  background: #f6a778;
  animation: lamp 1.4s infinite;
}
.actor-chip.agent.sealed i {
  background: var(--teal);
}
.actor-chip.agent.gated i {
  background: var(--rust);
}
.actor-chip.agent:hover,
.reviewer.agent:hover {
  background: #2e393b;
  border-color: #829695;
}
.audit-cell {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
.transfer-arrow {
  color: #63777b;
  display: flex;
}
.reviewer.agent {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: start;
  min-width: 0;
  width: 100%;
  padding: 7px 8px;
  gap: 3px;
  border: 1px solid #3d4b4e;
  border-radius: 5px;
  color: #e6efec;
  background: linear-gradient(115deg, #223034, #20272a);
  font-family: inherit;
  text-align: left;
}
.reviewer .reviewer-code {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #cee1df;
  font: 650 11px/1.14 var(--mono);
}
.reviewer > span:nth-child(2) {
  font-size: 11px;
  font-weight: 545;
}
.reviewer.agent small {
  color: #b4bfc1;
  font-size: 9.5px;
  font-weight: 400;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.reviewer.agent i {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #819192;
}
.reviewer.sealed {
  border-color: #34524e;
}
.reviewer.sealed small,
.next-cell.sealed span {
  color: #9bdbc5;
}
.reviewer.sealed i {
  background: var(--teal);
}
.reviewer.gated {
  border-color: #6b4342;
  background: #302123;
}
.reviewer.gated small,
.next-cell.gated span {
  color: #f1ada7;
}
.reviewer.gated i {
  background: var(--rust);
}
.reviewer.working small {
  color: #ffc29f;
}
.next-cell {
  display: flex;
  align-items: center;
  gap: 7px;
}
.next-cell > svg {
  color: #899b9a;
}
.next-cell strong {
  font-size: 11px;
  font-weight: 550;
  color: #d8deda;
  line-height: 1.35;
}
.next-cell span {
  font-size: 9px;
}
.shadow-branch {
  font: 10px/1.4 var(--mono);
  color: #acb7c3;
  padding: 6px 16px;
  background: #192026;
  border-top: 1px dashed #3c464d;
  border-bottom: 1px dashed #3c464d;
}
.shadow-branch + .handoff-row {
  background: #151a1f;
}
.route-panel {
  display: flex;
  flex-direction: column;
}
.route-panel .path {
  display: grid;
  align-content: space-around;
  flex: 1;
  min-height: 300px;
}
.path li {
  min-height: 42px;
}
.path strong {
  font-size: 13px;
}
.path li span {
  font-size: 10px;
}
.route-panel .foot-info {
  margin: 2px 17px 15px;
}
.route-panel > .link {
  margin-bottom: 10px;
}
.dispatch-list {
  max-height: 520px;
  overflow: auto;
  scrollbar-color: #42494c transparent;
}
.dispatch {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  gap: 13px;
  padding: 14px 16px;
}
.dispatch + .dispatch {
  border-top: 1px solid var(--faint);
}
.dispatch-id {
  align-self: start;
  display: grid;
  justify-items: center;
  gap: 4px;
  padding: 8px 3px;
  color: #c8d0c7;
  background: #252b26;
  border: 1px solid #444c43;
  border-radius: 5px;
}
.dispatch-id code {
  font-size: 11px;
  font-weight: 650;
}
.dispatch.audits .dispatch-id {
  background: #1e302d;
  color: #abd8c9;
  border-color: #36564b;
}
.dispatch.discussion .dispatch-id {
  background: #302720;
  color: #ecc9aa;
  border-color: #534235;
}
.dispatch-body header {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.dispatch-body header b {
  font-size: 13px;
}
.dispatch-body header > span {
  color: #bfc9c6;
  font-size: 10px;
  border: 1px solid #394145;
  padding: 2px 5px;
  border-radius: 3px;
}
.dispatch-body time {
  margin-left: auto;
  color: var(--dim);
  font-size: 10px;
}
.dispatch-body p {
  font-size: 13px;
  line-height: 1.55;
  margin: 6px 0;
  color: #d9dedb;
}
.dispatch-body > small {
  display: block;
  color: #a9b4b3;
  font-size: 10px;
}
.dispatch-body .link {
  min-height: 24px;
  color: #cfbaa7;
}
.activity-panel {
  margin-bottom: 16px;
}
.activity-panel:focus {
  outline: none;
}
.activity-panel .section-title h2 svg {
  color: var(--copper);
}
.activity-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 17px;
  color: #b3c1c0;
  background: #192124;
  font-size: 11px;
}
.activity-empty {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 18px 16px;
}
.activity-empty > svg {
  color: var(--copper);
}
.activity-empty b {
  font-weight: 560;
}
.activity-empty p,
.trade-empty {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}
.activity-empty p {
  margin: 5px 0;
}
.activity-empty .soft {
  margin-left: auto;
}
.trade-empty {
  padding: 17px;
}
.trade-table-wrap {
  overflow: auto;
}
.trade-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}
.trade-table th,
.trade-table td {
  text-align: left;
  padding: 11px 16px;
  border-bottom: 1px solid var(--faint);
  font-variant-numeric: tabular-nums;
}
.trade-table thead th {
  font-weight: 500;
  font-size: 10px;
  color: #adb8b8;
}
.trade-table tbody small {
  display: block;
  font-size: 10px;
  font-weight: 400;
  color: #9ba8a7;
  margin-top: 3px;
}
.trade-table tbody tr:last-child > * {
  border: 0;
}
@media (max-width: 1120px) {
  .handoff-head,
  .handoff-row {
    gap: 10px;
    grid-template-columns: minmax(0, 1.4fr) minmax(120px, 0.8fr) minmax(96px, 0.6fr);
  }
  .handoff-row {
    padding: 11px 12px;
  }
  .handoff-map .actor-chip span {
    font-size: 9px;
  }
}
@media (max-width: 900px) {
  .route-panel .path {
    grid-template-columns: repeat(3, 1fr);
    min-height: 0;
  }
  .handoff-row,
  .handoff-head {
    grid-template-columns: minmax(0, 1.35fr) minmax(145px, 0.75fr) minmax(130px, 0.7fr);
  }
  .reviewer.agent {
    grid-template-columns: auto 1fr;
    align-items: center;
    column-gap: 6px;
  }
  .reviewer.agent small {
    grid-column: 2;
  }
  .actor-chip.agent,
  .actor-chip.agent span {
    font-size: 11px;
  }
}
@media (max-width: 665px) {
  .hero-actions {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .trades-link {
    font-size: 11px;
    min-height: 38px;
  }
  .handoff-head {
    display: none;
  }
  .handoff-row {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(118px, 0.85fr);
    gap: 6px 8px;
    padding: 13px 12px;
  }
  .dept-heading {
    gap: 6px;
  }
  .dept-heading h3 {
    font-size: 14px;
  }
  .dept-icon {
    width: 26px;
    height: 26px;
  }
  .dept-heading small {
    font-size: 9px;
  }
  .actor-chip.agent {
    min-height: 23px;
  }
  .author-list {
    gap: 3px;
  }
  .reviewer.agent {
    grid-template-columns: auto;
    column-gap: 0;
  }
  .reviewer.agent small {
    grid-column: 1;
  }
  .next-cell {
    grid-column: 2;
    margin-left: 18px;
    align-items: baseline;
    gap: 3px;
  }
  .next-cell > svg {
    width: 10px;
    height: 10px;
    transform: rotate(25deg);
  }
  .next-cell strong {
    font-size: 10px;
  }
  .next-cell span {
    font-size: 8px;
  }
  .shadow-branch {
    padding: 6px 12px;
    font-size: 9px;
  }
  .route-panel .path {
    grid-template-columns: repeat(2, 1fr);
  }
  .dispatch {
    padding: 12px 10px;
    grid-template-columns: 38px 1fr;
    gap: 9px;
  }
  .dispatch-body time {
    width: 100%;
    margin: 0;
  }
  .subtabs {
    overflow: auto;
  }
  .subtabs button {
    white-space: nowrap;
  }
  .activity-caption {
    padding: 9px 12px;
  }
  .activity-empty {
    flex-wrap: wrap;
    align-items: flex-start;
  }
  .activity-empty > div {
    flex: 1;
    min-width: 170px;
  }
  .activity-empty .soft {
    margin-left: 32px;
  }
  .trade-table,
  .trade-table tbody,
  .trade-table tr {
    display: block;
  }
  .trade-table thead {
    display: none;
  }
  .trade-table tr {
    padding: 8px 12px;
    border-top: 1px solid var(--line);
  }
  .trade-table tbody tr > * {
    display: flex;
    align-items: baseline;
    gap: 8px;
    border: 0;
    padding: 4px 0;
  }
  .trade-table tbody td {
    justify-content: space-between;
  }
  .trade-table tbody td:before {
    content: attr(data-label);
    color: var(--muted);
    font-size: 10px;
  }
  .trade-table tbody small {
    margin: 0;
  }
}

.reviewer-code em {
  font: 9px var(--mono);
  color: #9bb1b2;
  font-style: normal;
}

.market-trace {
  margin: 0;
  width: clamp(250px, 25vw, 355px);
  min-width: 0;
  flex: none;
}
.market-trace figcaption,
.market-trace > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  font: 10px/1.4 var(--mono);
  color: #a2aeaa;
}
.market-trace figcaption b {
  color: #c2ccc7;
  font-weight: 600;
}
.market-trace svg {
  display: block;
  width: 100%;
  height: 70px;
  overflow: visible;
}
.market-trace > div {
  font-size: 9px;
}
.market-trace circle {
  fill: #ffc4a5;
  stroke: #242c29;
  stroke-width: 1.1;
}
.trace-grid {
  fill: none;
  stroke: #2b3232;
  stroke-dasharray: 2 4;
  stroke-width: 0.7;
}
.trace-range {
  fill: #638b8710;
  stroke: #839c8e55;
  stroke-width: 0.6;
}
.trace-line {
  fill: none;
  stroke: #b6c7bb;
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.trace-fill {
  fill: url(#tape-fill);
}
.ticker-chart {
  flex: 1;
  max-width: 175px;
}
.ticker-chart .last-close {
  display: block;
  font: 550 13px var(--mono);
  color: #d5ded9;
}
.ticker-chart > small {
  text-align: left;
  margin-top: 6px;
  color: #a2afaa;
}
.path strong em {
  display: block;
  color: #a6adaa;
  font:
    normal 10px/1.3 Inter,
    sans-serif;
  margin-top: 5px;
}
.route-panel .path {
  gap: 0;
}
.route-panel .path li {
  align-items: center;
}
.route-panel .path li::before {
  top: 55%;
  height: 100%;
}
.route-panel .path li > div {
  grid-template-columns: 16px 1fr auto;
  width: 100%;
  align-items: center;
}
.route-trades {
  margin: 0 16px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 580;
  background: #212622;
  color: #ddd6c7;
  padding: 9px 10px;
  border-radius: 5px;
  border: 1px solid #3b453d;
}
.route-trades svg:last-child {
  margin-left: auto;
}
.route-trades:hover {
  border-color: #7b7468;
}
@media (min-width: 1001px) {
  .dept-heading h3 {
    font-size: 16px;
  }
  .actor-chip.agent,
  .actor-chip.agent code,
  .actor-chip.agent span {
    font-size: 11px;
  }
  .actor-chip.agent {
    padding: 4px 7px;
    min-height: 25px;
  }
  .reviewer.agent {
    padding: 8px 10px;
  }
  .reviewer .reviewer-code {
    font-size: 12px;
  }
  .reviewer > span:nth-child(2) {
    font-size: 12px;
  }
  .reviewer.agent small,
  .next-cell span {
    font-size: 10px;
  }
  .next-cell strong {
    font-size: 12px;
  }
  .handoff-head {
    font-size: 11px;
  }
}
@media (max-width: 900px) {
  .market-trace {
    width: 25%;
    min-width: 170px;
  }
  .market-trace figcaption span {
    display: none;
  }
  .market-trace > div {
    font-size: 8px;
  }
  .route-panel .path li > div {
    grid-template-columns: 1fr;
  }
  .route-panel .path em {
    font-size: 9px;
  }
}
@media (max-width: 665px) {
  .hero:has(.market-trace) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(72px, 0.55fr);
    gap: 13px 7px;
    align-items: center;
  }
  .hero:has(.market-trace) h1 {
    font-size: clamp(28px, 7.7vw, 41px);
    white-space: nowrap;
  }
  .hero:has(.market-trace) p {
    font-size: 11px;
    max-width: 200px;
  }
  .hero:has(.market-trace) .hero-actions {
    grid-column: 1/-1;
  }
  .market-trace {
    min-width: 0;
    width: auto;
  }
  .market-trace figcaption {
    font-size: 8px;
  }
  .market-trace svg {
    height: 42px;
  }
  .market-trace > div {
    display: none;
  }
  .ticker-chart .last-close {
    font-size: 11px;
  }
  .ticker-chart > small {
    font-size: 7px;
  }
  .path strong em {
    display: none;
  }
  .route-panel .path li > div {
    grid-template-columns: 1fr;
  }
  .route-trades {
    margin-bottom: 11px;
  }
}
.decision-note {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  background: #211f1a;
  border: 1px solid #534936;
  border-left: 3px solid #b99461;
  border-radius: 7px;
  padding: 15px 18px;
  margin: 0 0 16px;
  color: #eddfbb;
}
.decision-note.negative {
  background: linear-gradient(105deg, #2d2122, #1b191b);
  border-color: #684044;
  border-left-color: #df978c;
  color: #f0beb7;
}
.office-panel .decision-note {
  margin: 0 12px 12px;
}
.decision-note .verdict-quote {
  border-left: 1px solid currentColor;
  margin: 10px 0;
  padding-left: 12px;
  overflow-wrap: anywhere;
}
.verdict-quote .link { font-size: 12px; }
.decision-note > div {
  min-width: 0;
}
.decision-note > svg {
  margin-top: 3px;
}
.decision-note strong {
  font-size: 15px;
  font-weight: 640;
}
.decision-note p {
  color: #ded7d3;
  margin-top: 5px;
  line-height: 1.5;
  font-size: 13px;
}
.reason-line {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 3px;
}
.reason-line .link {
  color: #e9c5b5;
  font-size: 12px;
}
.reason-line > span {
  color: #d1cbc6;
  font-size: 12px;
  line-height: 1.5;
}
.reviewer .reviewer-code {
  flex-wrap: wrap;
}
.reviewer .reviewer-code em {
  font-size: 9px;
  color: #afc0bf;
}
.findings strong {
  font-weight: 530;
}
.findings > li {
  flex-wrap: wrap;
}
.office-panel { margin-bottom: 18px; }
.office-panel [hidden], [data-office-final][hidden], [data-office-history][hidden] { display: none; }
[data-office-history]:not([hidden]) { margin-bottom: 18px; }
.office-panel .map-context { flex-wrap: wrap; }
.office-player {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 20px;
  background: #171e21;
  border-block: 1px solid #344043;
}
.office-now { display: flex; align-items: center; gap: 11px; min-width: 0; }
.office-now > i { width: 7px; height: 7px; flex: none; border-radius: 50%; background: #91a19f; }
.office-player[data-mode="live"] .office-now > i { background: #9ad4c0; }
.office-player[data-mode="replay"] .office-now > i { background: #ffb47c; }
.office-now strong, .office-now span { display: block; }
.office-now strong { color: #f4f4ed; font-size: 13px; font-weight: 650; }
.office-now span { margin-top: 3px; color: #b9c6c7; font-size: 12px; line-height: 1.4; }
.office-transport, .office-steps { display: flex; align-items: center; gap: 6px; }
.office-transport button {
  padding: 7px 12px; min-height: 34px; white-space: nowrap;
  color: #e9eeeb; background: #222c2f; border: 1px solid #455456; border-radius: 6px;
}
.office-transport [data-action="office-play"] { border-color: #757268; color: #ffe1bf; }
.office-transport button:hover:enabled { background: #364144; }
.office-transport button:disabled { opacity: .46; }
.office-transport [hidden] { display: none; }
.office-steps input { width: clamp(75px, 10vw, 160px); accent-color: #ffc08d; }
.office-review-grid { align-items: start; }
.office-review-grid .route-panel { min-height: 420px; }
.office-review-grid .publications { min-width: 0; }
@media (max-width: 760px) {
  .office-player { align-items: flex-start; flex-direction: column; gap: 10px; padding: 12px; }
  .office-transport { flex-wrap: wrap; width: 100%; }
  .office-transport:has([data-action="office-play"][hidden]) { display: none; }
  .office-review-grid .route-panel { min-height: 0; }
  .office-steps input { width: min(28vw, 120px); }
}
